@performant-software/visualize 2.2.24-beta.10 → 2.2.24-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1045) hide show
  1. package/build/index.js +2 -0
  2. package/build/index.js.map +1 -0
  3. package/build/main.css +46 -0
  4. package/dist/index.cjs10.js.map +1 -1
  5. package/dist/index.cjs100.js +1 -1
  6. package/dist/index.cjs100.js.map +1 -1
  7. package/dist/index.cjs101.js +1 -1
  8. package/dist/index.cjs101.js.map +1 -1
  9. package/dist/index.cjs102.js +1 -1
  10. package/dist/index.cjs102.js.map +1 -1
  11. package/dist/index.cjs103.js +1 -1
  12. package/dist/index.cjs103.js.map +1 -1
  13. package/dist/index.cjs104.js +1 -1
  14. package/dist/index.cjs104.js.map +1 -1
  15. package/dist/index.cjs105.js +1 -1
  16. package/dist/index.cjs105.js.map +1 -1
  17. package/dist/index.cjs106.js +1 -1
  18. package/dist/index.cjs106.js.map +1 -1
  19. package/dist/index.cjs107.js +1 -1
  20. package/dist/index.cjs107.js.map +1 -1
  21. package/dist/index.cjs108.js +1 -1
  22. package/dist/index.cjs108.js.map +1 -1
  23. package/dist/index.cjs109.js +1 -1
  24. package/dist/index.cjs109.js.map +1 -1
  25. package/dist/index.cjs11.js +1 -1
  26. package/dist/index.cjs110.js +1 -1
  27. package/dist/index.cjs110.js.map +1 -1
  28. package/dist/index.cjs111.js +1 -1
  29. package/dist/index.cjs111.js.map +1 -1
  30. package/dist/index.cjs112.js +1 -1
  31. package/dist/index.cjs112.js.map +1 -1
  32. package/dist/index.cjs113.js +1 -1
  33. package/dist/index.cjs113.js.map +1 -1
  34. package/dist/index.cjs114.js +1 -1
  35. package/dist/index.cjs114.js.map +1 -1
  36. package/dist/index.cjs115.js +1 -1
  37. package/dist/index.cjs115.js.map +1 -1
  38. package/dist/index.cjs116.js +1 -1
  39. package/dist/index.cjs116.js.map +1 -1
  40. package/dist/index.cjs117.js +1 -1
  41. package/dist/index.cjs117.js.map +1 -1
  42. package/dist/index.cjs118.js +1 -1
  43. package/dist/index.cjs118.js.map +1 -1
  44. package/dist/index.cjs119.js +1 -1
  45. package/dist/index.cjs119.js.map +1 -1
  46. package/dist/index.cjs12.js +1 -1
  47. package/dist/index.cjs120.js +1 -1
  48. package/dist/index.cjs120.js.map +1 -1
  49. package/dist/index.cjs121.js +1 -1
  50. package/dist/index.cjs121.js.map +1 -1
  51. package/dist/index.cjs122.js +1 -1
  52. package/dist/index.cjs122.js.map +1 -1
  53. package/dist/index.cjs123.js +1 -13
  54. package/dist/index.cjs123.js.map +1 -1
  55. package/dist/index.cjs124.js +1 -1
  56. package/dist/index.cjs124.js.map +1 -1
  57. package/dist/index.cjs125.js +1 -1
  58. package/dist/index.cjs125.js.map +1 -1
  59. package/dist/index.cjs126.js +1 -1
  60. package/dist/index.cjs126.js.map +1 -1
  61. package/dist/index.cjs127.js +1 -1
  62. package/dist/index.cjs127.js.map +1 -1
  63. package/dist/index.cjs128.js +1 -1
  64. package/dist/index.cjs128.js.map +1 -1
  65. package/dist/index.cjs129.js +1 -1
  66. package/dist/index.cjs129.js.map +1 -1
  67. package/dist/index.cjs13.js +1 -1
  68. package/dist/index.cjs130.js +1 -1
  69. package/dist/index.cjs130.js.map +1 -1
  70. package/dist/index.cjs131.js +13 -1
  71. package/dist/index.cjs131.js.map +1 -1
  72. package/dist/index.cjs132.js +1 -1
  73. package/dist/index.cjs132.js.map +1 -1
  74. package/dist/index.cjs133.js +1 -1
  75. package/dist/index.cjs133.js.map +1 -1
  76. package/dist/index.cjs134.js +1 -1
  77. package/dist/index.cjs134.js.map +1 -1
  78. package/dist/index.cjs135.js +1 -1
  79. package/dist/index.cjs135.js.map +1 -1
  80. package/dist/index.cjs136.js +1 -1
  81. package/dist/index.cjs136.js.map +1 -1
  82. package/dist/index.cjs137.js +1 -1
  83. package/dist/index.cjs137.js.map +1 -1
  84. package/dist/index.cjs138.js +1 -1
  85. package/dist/index.cjs138.js.map +1 -1
  86. package/dist/index.cjs139.js +1 -1
  87. package/dist/index.cjs139.js.map +1 -1
  88. package/dist/index.cjs14.js +1 -1
  89. package/dist/index.cjs140.js +1 -1
  90. package/dist/index.cjs140.js.map +1 -1
  91. package/dist/index.cjs141.js +1 -1
  92. package/dist/index.cjs141.js.map +1 -1
  93. package/dist/index.cjs142.js +1 -1
  94. package/dist/index.cjs142.js.map +1 -1
  95. package/dist/index.cjs143.js +1 -1
  96. package/dist/index.cjs143.js.map +1 -1
  97. package/dist/index.cjs144.js +1 -1
  98. package/dist/index.cjs144.js.map +1 -1
  99. package/dist/index.cjs145.js +1 -1
  100. package/dist/index.cjs145.js.map +1 -1
  101. package/dist/index.cjs146.js +1 -1
  102. package/dist/index.cjs146.js.map +1 -1
  103. package/dist/index.cjs147.js +1 -1
  104. package/dist/index.cjs147.js.map +1 -1
  105. package/dist/index.cjs148.js +1 -1
  106. package/dist/index.cjs148.js.map +1 -1
  107. package/dist/index.cjs149.js +1 -1
  108. package/dist/index.cjs149.js.map +1 -1
  109. package/dist/index.cjs15.js +1 -1
  110. package/dist/index.cjs150.js +1 -1
  111. package/dist/index.cjs150.js.map +1 -1
  112. package/dist/index.cjs151.js +1 -1
  113. package/dist/index.cjs151.js.map +1 -1
  114. package/dist/index.cjs152.js +1 -1
  115. package/dist/index.cjs152.js.map +1 -1
  116. package/dist/index.cjs153.js +1 -1
  117. package/dist/index.cjs153.js.map +1 -1
  118. package/dist/index.cjs154.js +1 -1
  119. package/dist/index.cjs154.js.map +1 -1
  120. package/dist/index.cjs155.js +1 -1
  121. package/dist/index.cjs155.js.map +1 -1
  122. package/dist/index.cjs156.js +1 -1
  123. package/dist/index.cjs156.js.map +1 -1
  124. package/dist/index.cjs157.js +1 -1
  125. package/dist/index.cjs157.js.map +1 -1
  126. package/dist/index.cjs158.js +1 -1
  127. package/dist/index.cjs158.js.map +1 -1
  128. package/dist/index.cjs159.js +1 -1
  129. package/dist/index.cjs159.js.map +1 -1
  130. package/dist/index.cjs16.js +1 -1
  131. package/dist/index.cjs160.js +1 -1
  132. package/dist/index.cjs160.js.map +1 -1
  133. package/dist/index.cjs161.js +1 -1
  134. package/dist/index.cjs161.js.map +1 -1
  135. package/dist/index.cjs162.js +1 -1
  136. package/dist/index.cjs162.js.map +1 -1
  137. package/dist/index.cjs163.js +1 -1
  138. package/dist/index.cjs163.js.map +1 -1
  139. package/dist/index.cjs164.js +1 -1
  140. package/dist/index.cjs164.js.map +1 -1
  141. package/dist/index.cjs165.js +1 -1
  142. package/dist/index.cjs165.js.map +1 -1
  143. package/dist/index.cjs166.js +1 -1
  144. package/dist/index.cjs166.js.map +1 -1
  145. package/dist/index.cjs167.js +1 -1
  146. package/dist/index.cjs167.js.map +1 -1
  147. package/dist/index.cjs168.js +1 -1
  148. package/dist/index.cjs168.js.map +1 -1
  149. package/dist/index.cjs169.js +1 -1
  150. package/dist/index.cjs169.js.map +1 -1
  151. package/dist/index.cjs17.js +1 -1
  152. package/dist/index.cjs170.js +1 -1
  153. package/dist/index.cjs170.js.map +1 -1
  154. package/dist/index.cjs171.js +1 -1
  155. package/dist/index.cjs171.js.map +1 -1
  156. package/dist/index.cjs172.js +1 -1
  157. package/dist/index.cjs172.js.map +1 -1
  158. package/dist/index.cjs173.js +1 -1
  159. package/dist/index.cjs173.js.map +1 -1
  160. package/dist/index.cjs174.js +1 -1
  161. package/dist/index.cjs174.js.map +1 -1
  162. package/dist/index.cjs175.js +1 -1
  163. package/dist/index.cjs175.js.map +1 -1
  164. package/dist/index.cjs176.js +1 -1
  165. package/dist/index.cjs176.js.map +1 -1
  166. package/dist/index.cjs177.js +1 -1
  167. package/dist/index.cjs177.js.map +1 -1
  168. package/dist/index.cjs178.js +1 -1
  169. package/dist/index.cjs178.js.map +1 -1
  170. package/dist/index.cjs179.js +1 -1
  171. package/dist/index.cjs179.js.map +1 -1
  172. package/dist/index.cjs180.js +1 -1
  173. package/dist/index.cjs180.js.map +1 -1
  174. package/dist/index.cjs181.js +1 -1
  175. package/dist/index.cjs181.js.map +1 -1
  176. package/dist/index.cjs182.js +1 -1
  177. package/dist/index.cjs182.js.map +1 -1
  178. package/dist/index.cjs183.js +1 -1
  179. package/dist/index.cjs183.js.map +1 -1
  180. package/dist/index.cjs184.js +1 -1
  181. package/dist/index.cjs184.js.map +1 -1
  182. package/dist/index.cjs185.js +1 -1
  183. package/dist/index.cjs185.js.map +1 -1
  184. package/dist/index.cjs186.js +1 -1
  185. package/dist/index.cjs186.js.map +1 -1
  186. package/dist/index.cjs187.js +1 -1
  187. package/dist/index.cjs187.js.map +1 -1
  188. package/dist/index.cjs188.js +1 -1
  189. package/dist/index.cjs188.js.map +1 -1
  190. package/dist/index.cjs189.js +1 -1
  191. package/dist/index.cjs189.js.map +1 -1
  192. package/dist/index.cjs19.js +1 -1
  193. package/dist/index.cjs19.js.map +1 -1
  194. package/dist/index.cjs190.js +2 -1
  195. package/dist/index.cjs190.js.map +1 -1
  196. package/dist/index.cjs191.js +1 -1
  197. package/dist/index.cjs191.js.map +1 -1
  198. package/dist/index.cjs192.js +1 -1
  199. package/dist/index.cjs192.js.map +1 -1
  200. package/dist/index.cjs193.js +1 -2
  201. package/dist/index.cjs193.js.map +1 -1
  202. package/dist/index.cjs194.js +1 -1
  203. package/dist/index.cjs194.js.map +1 -1
  204. package/dist/index.cjs195.js +1 -1
  205. package/dist/index.cjs195.js.map +1 -1
  206. package/dist/index.cjs196.js.map +1 -1
  207. package/dist/index.cjs197.js.map +1 -1
  208. package/dist/index.cjs198.js.map +1 -1
  209. package/dist/index.cjs199.js.map +1 -1
  210. package/dist/index.cjs2.js +1 -1
  211. package/dist/index.cjs2.js.map +1 -1
  212. package/dist/index.cjs20.js +1 -1
  213. package/dist/index.cjs20.js.map +1 -1
  214. package/dist/index.cjs202.js.map +1 -1
  215. package/dist/index.cjs204.js.map +1 -1
  216. package/dist/index.cjs205.js.map +1 -1
  217. package/dist/index.cjs206.js.map +1 -1
  218. package/dist/index.cjs207.js +1 -1
  219. package/dist/index.cjs207.js.map +1 -1
  220. package/dist/index.cjs208.js +1 -1
  221. package/dist/index.cjs208.js.map +1 -1
  222. package/dist/index.cjs209.js +1 -1
  223. package/dist/index.cjs209.js.map +1 -1
  224. package/dist/index.cjs21.js +1 -1
  225. package/dist/index.cjs21.js.map +1 -1
  226. package/dist/index.cjs210.js +3 -1
  227. package/dist/index.cjs210.js.map +1 -1
  228. package/dist/index.cjs211.js +1 -1
  229. package/dist/index.cjs211.js.map +1 -1
  230. package/dist/index.cjs212.js +1 -1
  231. package/dist/index.cjs212.js.map +1 -1
  232. package/dist/index.cjs213.js +1 -1
  233. package/dist/index.cjs213.js.map +1 -1
  234. package/dist/index.cjs214.js +1 -1
  235. package/dist/index.cjs214.js.map +1 -1
  236. package/dist/index.cjs215.js +1 -1
  237. package/dist/index.cjs215.js.map +1 -1
  238. package/dist/index.cjs216.js +1 -1
  239. package/dist/index.cjs216.js.map +1 -1
  240. package/dist/index.cjs217.js +1 -1
  241. package/dist/index.cjs217.js.map +1 -1
  242. package/dist/index.cjs218.js +1 -1
  243. package/dist/index.cjs218.js.map +1 -1
  244. package/dist/index.cjs219.js +1 -1
  245. package/dist/index.cjs219.js.map +1 -1
  246. package/dist/index.cjs22.js +1 -1
  247. package/dist/index.cjs220.js +1 -1
  248. package/dist/index.cjs220.js.map +1 -1
  249. package/dist/index.cjs221.js +1 -1
  250. package/dist/index.cjs221.js.map +1 -1
  251. package/dist/index.cjs222.js +1 -1
  252. package/dist/index.cjs222.js.map +1 -1
  253. package/dist/index.cjs223.js +1 -1
  254. package/dist/index.cjs223.js.map +1 -1
  255. package/dist/index.cjs224.js +1 -1
  256. package/dist/index.cjs224.js.map +1 -1
  257. package/dist/index.cjs225.js +1 -1
  258. package/dist/index.cjs225.js.map +1 -1
  259. package/dist/index.cjs226.js +1 -1
  260. package/dist/index.cjs226.js.map +1 -1
  261. package/dist/index.cjs227.js +1 -1
  262. package/dist/index.cjs227.js.map +1 -1
  263. package/dist/index.cjs228.js +1 -1
  264. package/dist/index.cjs228.js.map +1 -1
  265. package/dist/index.cjs229.js +1 -1
  266. package/dist/index.cjs229.js.map +1 -1
  267. package/dist/index.cjs230.js +1 -1
  268. package/dist/index.cjs230.js.map +1 -1
  269. package/dist/index.cjs231.js +1 -1
  270. package/dist/index.cjs231.js.map +1 -1
  271. package/dist/index.cjs232.js +1 -1
  272. package/dist/index.cjs232.js.map +1 -1
  273. package/dist/index.cjs233.js +1 -1
  274. package/dist/index.cjs233.js.map +1 -1
  275. package/dist/index.cjs234.js +1 -1
  276. package/dist/index.cjs234.js.map +1 -1
  277. package/dist/index.cjs235.js +1 -1
  278. package/dist/index.cjs235.js.map +1 -1
  279. package/dist/index.cjs236.js +1 -1
  280. package/dist/index.cjs236.js.map +1 -1
  281. package/dist/index.cjs237.js +1 -1
  282. package/dist/index.cjs237.js.map +1 -1
  283. package/dist/index.cjs238.js +1 -1
  284. package/dist/index.cjs238.js.map +1 -1
  285. package/dist/index.cjs239.js +1 -2
  286. package/dist/index.cjs239.js.map +1 -1
  287. package/dist/index.cjs24.js +1 -1
  288. package/dist/index.cjs240.js +1 -1
  289. package/dist/index.cjs240.js.map +1 -1
  290. package/dist/index.cjs241.js +1 -1
  291. package/dist/index.cjs241.js.map +1 -1
  292. package/dist/index.cjs242.js +1 -1
  293. package/dist/index.cjs242.js.map +1 -1
  294. package/dist/index.cjs243.js +1 -3
  295. package/dist/index.cjs243.js.map +1 -1
  296. package/dist/index.cjs244.js +2 -1
  297. package/dist/index.cjs244.js.map +1 -1
  298. package/dist/index.cjs246.js +1 -1
  299. package/dist/index.cjs246.js.map +1 -1
  300. package/dist/index.cjs247.js +1 -1
  301. package/dist/index.cjs247.js.map +1 -1
  302. package/dist/index.cjs248.js.map +1 -1
  303. package/dist/index.cjs25.js +1 -1
  304. package/dist/index.cjs25.js.map +1 -1
  305. package/dist/index.cjs251.js.map +1 -1
  306. package/dist/index.cjs252.js +1 -1
  307. package/dist/index.cjs252.js.map +1 -1
  308. package/dist/index.cjs253.js +1 -1
  309. package/dist/index.cjs253.js.map +1 -1
  310. package/dist/index.cjs254.js +1 -1
  311. package/dist/index.cjs254.js.map +1 -1
  312. package/dist/index.cjs255.js +1 -1
  313. package/dist/index.cjs255.js.map +1 -1
  314. package/dist/index.cjs256.js +1 -1
  315. package/dist/index.cjs256.js.map +1 -1
  316. package/dist/index.cjs257.js +1 -1
  317. package/dist/index.cjs257.js.map +1 -1
  318. package/dist/index.cjs258.js +1 -1
  319. package/dist/index.cjs258.js.map +1 -1
  320. package/dist/index.cjs259.js +1 -1
  321. package/dist/index.cjs259.js.map +1 -1
  322. package/dist/index.cjs26.js +1 -1
  323. package/dist/index.cjs26.js.map +1 -1
  324. package/dist/index.cjs260.js +1 -1
  325. package/dist/index.cjs260.js.map +1 -1
  326. package/dist/index.cjs261.js +1 -1
  327. package/dist/index.cjs261.js.map +1 -1
  328. package/dist/index.cjs262.js +1 -1
  329. package/dist/index.cjs262.js.map +1 -1
  330. package/dist/index.cjs263.js +1 -1
  331. package/dist/index.cjs263.js.map +1 -1
  332. package/dist/index.cjs264.js +1 -1
  333. package/dist/index.cjs264.js.map +1 -1
  334. package/dist/index.cjs265.js +1 -1
  335. package/dist/index.cjs265.js.map +1 -1
  336. package/dist/index.cjs266.js +1 -1
  337. package/dist/index.cjs266.js.map +1 -1
  338. package/dist/index.cjs267.js +1 -1
  339. package/dist/index.cjs267.js.map +1 -1
  340. package/dist/index.cjs268.js +1 -1
  341. package/dist/index.cjs268.js.map +1 -1
  342. package/dist/index.cjs269.js +1 -1
  343. package/dist/index.cjs269.js.map +1 -1
  344. package/dist/index.cjs27.js +1 -1
  345. package/dist/index.cjs27.js.map +1 -1
  346. package/dist/index.cjs270.js +1 -1
  347. package/dist/index.cjs270.js.map +1 -1
  348. package/dist/index.cjs271.js +1 -1
  349. package/dist/index.cjs271.js.map +1 -1
  350. package/dist/index.cjs272.js +1 -1
  351. package/dist/index.cjs272.js.map +1 -1
  352. package/dist/index.cjs273.js +1 -1
  353. package/dist/index.cjs273.js.map +1 -1
  354. package/dist/index.cjs274.js +1 -1
  355. package/dist/index.cjs274.js.map +1 -1
  356. package/dist/index.cjs275.js +1 -1
  357. package/dist/index.cjs275.js.map +1 -1
  358. package/dist/index.cjs276.js +1 -1
  359. package/dist/index.cjs276.js.map +1 -1
  360. package/dist/index.cjs277.js +1 -1
  361. package/dist/index.cjs277.js.map +1 -1
  362. package/dist/index.cjs278.js +1 -1
  363. package/dist/index.cjs278.js.map +1 -1
  364. package/dist/index.cjs279.js +1 -1
  365. package/dist/index.cjs279.js.map +1 -1
  366. package/dist/index.cjs28.js +1 -1
  367. package/dist/index.cjs280.js +1 -1
  368. package/dist/index.cjs280.js.map +1 -1
  369. package/dist/index.cjs281.js +1 -1
  370. package/dist/index.cjs281.js.map +1 -1
  371. package/dist/index.cjs282.js +1 -1
  372. package/dist/index.cjs282.js.map +1 -1
  373. package/dist/index.cjs283.js +1 -1
  374. package/dist/index.cjs283.js.map +1 -1
  375. package/dist/index.cjs284.js.map +1 -1
  376. package/dist/index.cjs286.js.map +1 -1
  377. package/dist/index.cjs288.js +1 -1
  378. package/dist/index.cjs289.js +1 -1
  379. package/dist/index.cjs29.js +1 -1
  380. package/dist/index.cjs291.js +1 -1
  381. package/dist/index.cjs291.js.map +1 -1
  382. package/dist/index.cjs292.js +1 -1
  383. package/dist/index.cjs293.js.map +1 -1
  384. package/dist/index.cjs294.js +1 -1
  385. package/dist/index.cjs3.js +1 -1
  386. package/dist/index.cjs3.js.map +1 -1
  387. package/dist/index.cjs30.js +1 -1
  388. package/dist/index.cjs31.js +1 -1
  389. package/dist/index.cjs32.js +1 -1
  390. package/dist/index.cjs32.js.map +1 -1
  391. package/dist/index.cjs33.js +2 -0
  392. package/dist/index.cjs33.js.map +1 -0
  393. package/dist/index.cjs34.js +1 -1
  394. package/dist/index.cjs34.js.map +1 -1
  395. package/dist/index.cjs35.js +1 -1
  396. package/dist/index.cjs35.js.map +1 -1
  397. package/dist/index.cjs36.js +1 -1
  398. package/dist/index.cjs36.js.map +1 -1
  399. package/dist/index.cjs37.js.map +1 -1
  400. package/dist/index.cjs38.js +5 -1
  401. package/dist/index.cjs38.js.map +1 -1
  402. package/dist/index.cjs39.js +1 -5
  403. package/dist/index.cjs39.js.map +1 -1
  404. package/dist/index.cjs4.js.map +1 -1
  405. package/dist/index.cjs40.js +1 -1
  406. package/dist/index.cjs40.js.map +1 -1
  407. package/dist/index.cjs41.js +1 -1
  408. package/dist/index.cjs41.js.map +1 -1
  409. package/dist/index.cjs42.js +1 -1
  410. package/dist/index.cjs42.js.map +1 -1
  411. package/dist/index.cjs43.js +1 -1
  412. package/dist/index.cjs43.js.map +1 -1
  413. package/dist/index.cjs44.js +1 -1
  414. package/dist/index.cjs44.js.map +1 -1
  415. package/dist/index.cjs45.js +1 -1
  416. package/dist/index.cjs45.js.map +1 -1
  417. package/dist/index.cjs46.js +1 -1
  418. package/dist/index.cjs46.js.map +1 -1
  419. package/dist/index.cjs47.js +1 -1
  420. package/dist/index.cjs47.js.map +1 -1
  421. package/dist/index.cjs48.js +1 -1
  422. package/dist/index.cjs48.js.map +1 -1
  423. package/dist/index.cjs49.js +1 -1
  424. package/dist/index.cjs49.js.map +1 -1
  425. package/dist/index.cjs5.js +1 -1
  426. package/dist/index.cjs50.js +1 -1
  427. package/dist/index.cjs50.js.map +1 -1
  428. package/dist/index.cjs51.js.map +1 -1
  429. package/dist/index.cjs52.js +2 -0
  430. package/dist/index.cjs52.js.map +1 -0
  431. package/dist/index.cjs53.js.map +1 -1
  432. package/dist/index.cjs54.js +1 -1
  433. package/dist/index.cjs54.js.map +1 -1
  434. package/dist/index.cjs56.js.map +1 -1
  435. package/dist/index.cjs57.js +10 -13
  436. package/dist/index.cjs57.js.map +1 -1
  437. package/dist/index.cjs58.js +1 -1
  438. package/dist/index.cjs58.js.map +1 -1
  439. package/dist/index.cjs6.js +1 -1
  440. package/dist/index.cjs6.js.map +1 -1
  441. package/dist/index.cjs62.js.map +1 -1
  442. package/dist/index.cjs63.js.map +1 -1
  443. package/dist/index.cjs64.js +1 -1
  444. package/dist/index.cjs64.js.map +1 -1
  445. package/dist/index.cjs65.js.map +1 -1
  446. package/dist/index.cjs66.js +1 -1
  447. package/dist/index.cjs66.js.map +1 -1
  448. package/dist/index.cjs67.js +1 -1
  449. package/dist/index.cjs67.js.map +1 -1
  450. package/dist/index.cjs68.js.map +1 -1
  451. package/dist/index.cjs69.js +1 -1
  452. package/dist/index.cjs69.js.map +1 -1
  453. package/dist/index.cjs7.js +1 -1
  454. package/dist/index.cjs7.js.map +1 -1
  455. package/dist/index.cjs70.js +1 -1
  456. package/dist/index.cjs70.js.map +1 -1
  457. package/dist/index.cjs71.js +1 -1
  458. package/dist/index.cjs71.js.map +1 -1
  459. package/dist/index.cjs73.js +1 -1
  460. package/dist/index.cjs73.js.map +1 -1
  461. package/dist/index.cjs74.js +1 -5
  462. package/dist/index.cjs74.js.map +1 -1
  463. package/dist/index.cjs75.js +1 -1
  464. package/dist/index.cjs75.js.map +1 -1
  465. package/dist/index.cjs76.js +5 -1
  466. package/dist/index.cjs76.js.map +1 -1
  467. package/dist/index.cjs77.js +1 -1
  468. package/dist/index.cjs77.js.map +1 -1
  469. package/dist/index.cjs78.js +1 -1
  470. package/dist/index.cjs78.js.map +1 -1
  471. package/dist/index.cjs79.js +1 -1
  472. package/dist/index.cjs79.js.map +1 -1
  473. package/dist/index.cjs8.js +1 -1
  474. package/dist/index.cjs8.js.map +1 -1
  475. package/dist/index.cjs80.js +1 -1
  476. package/dist/index.cjs80.js.map +1 -1
  477. package/dist/index.cjs81.js +1 -1
  478. package/dist/index.cjs81.js.map +1 -1
  479. package/dist/index.cjs82.js +1 -1
  480. package/dist/index.cjs82.js.map +1 -1
  481. package/dist/index.cjs83.js +1 -1
  482. package/dist/index.cjs83.js.map +1 -1
  483. package/dist/index.cjs84.js +1 -1
  484. package/dist/index.cjs84.js.map +1 -1
  485. package/dist/index.cjs85.js +1 -1
  486. package/dist/index.cjs85.js.map +1 -1
  487. package/dist/index.cjs86.js +1 -1
  488. package/dist/index.cjs86.js.map +1 -1
  489. package/dist/index.cjs87.js +1 -1
  490. package/dist/index.cjs87.js.map +1 -1
  491. package/dist/index.cjs88.js +1 -1
  492. package/dist/index.cjs88.js.map +1 -1
  493. package/dist/index.cjs89.js +1 -1
  494. package/dist/index.cjs89.js.map +1 -1
  495. package/dist/index.cjs9.js +1 -1
  496. package/dist/index.cjs9.js.map +1 -1
  497. package/dist/index.cjs90.js +1 -1
  498. package/dist/index.cjs90.js.map +1 -1
  499. package/dist/index.cjs91.js +1 -1
  500. package/dist/index.cjs91.js.map +1 -1
  501. package/dist/index.cjs92.js +1 -1
  502. package/dist/index.cjs92.js.map +1 -1
  503. package/dist/index.cjs93.js +1 -1
  504. package/dist/index.cjs93.js.map +1 -1
  505. package/dist/index.cjs94.js +1 -1
  506. package/dist/index.cjs94.js.map +1 -1
  507. package/dist/index.cjs95.js +1 -1
  508. package/dist/index.cjs95.js.map +1 -1
  509. package/dist/index.cjs96.js +1 -1
  510. package/dist/index.cjs96.js.map +1 -1
  511. package/dist/index.cjs97.js +1 -1
  512. package/dist/index.cjs97.js.map +1 -1
  513. package/dist/index.cjs98.js +1 -1
  514. package/dist/index.cjs98.js.map +1 -1
  515. package/dist/index.cjs99.js +1 -1
  516. package/dist/index.cjs99.js.map +1 -1
  517. package/dist/index.es10.js +4 -2
  518. package/dist/index.es10.js.map +1 -1
  519. package/dist/index.es100.js +4 -8
  520. package/dist/index.es100.js.map +1 -1
  521. package/dist/index.es101.js +5 -6
  522. package/dist/index.es101.js.map +1 -1
  523. package/dist/index.es102.js +9 -6
  524. package/dist/index.es102.js.map +1 -1
  525. package/dist/index.es103.js +11 -6
  526. package/dist/index.es103.js.map +1 -1
  527. package/dist/index.es104.js +12 -7
  528. package/dist/index.es104.js.map +1 -1
  529. package/dist/index.es105.js +86 -4
  530. package/dist/index.es105.js.map +1 -1
  531. package/dist/index.es106.js +3 -4
  532. package/dist/index.es106.js.map +1 -1
  533. package/dist/index.es107.js +15 -4
  534. package/dist/index.es107.js.map +1 -1
  535. package/dist/index.es108.js +11 -6
  536. package/dist/index.es108.js.map +1 -1
  537. package/dist/index.es109.js +6 -6
  538. package/dist/index.es109.js.map +1 -1
  539. package/dist/index.es11.js +2 -2
  540. package/dist/index.es110.js +6 -3
  541. package/dist/index.es110.js.map +1 -1
  542. package/dist/index.es111.js +6 -7
  543. package/dist/index.es111.js.map +1 -1
  544. package/dist/index.es112.js +7 -11
  545. package/dist/index.es112.js.map +1 -1
  546. package/dist/index.es113.js +4 -11
  547. package/dist/index.es113.js.map +1 -1
  548. package/dist/index.es114.js +4 -4
  549. package/dist/index.es114.js.map +1 -1
  550. package/dist/index.es115.js +4 -6
  551. package/dist/index.es115.js.map +1 -1
  552. package/dist/index.es116.js +6 -2
  553. package/dist/index.es116.js.map +1 -1
  554. package/dist/index.es117.js +6 -7
  555. package/dist/index.es117.js.map +1 -1
  556. package/dist/index.es118.js +3 -7
  557. package/dist/index.es118.js.map +1 -1
  558. package/dist/index.es119.js +7 -7
  559. package/dist/index.es119.js.map +1 -1
  560. package/dist/index.es12.js +2 -2
  561. package/dist/index.es120.js +12 -7
  562. package/dist/index.es120.js.map +1 -1
  563. package/dist/index.es121.js +10 -3
  564. package/dist/index.es121.js.map +1 -1
  565. package/dist/index.es122.js +3 -3
  566. package/dist/index.es122.js.map +1 -1
  567. package/dist/index.es123.js +4 -55
  568. package/dist/index.es123.js.map +1 -1
  569. package/dist/index.es124.js +2 -13
  570. package/dist/index.es124.js.map +1 -1
  571. package/dist/index.es125.js +7 -5
  572. package/dist/index.es125.js.map +1 -1
  573. package/dist/index.es126.js +7 -5
  574. package/dist/index.es126.js.map +1 -1
  575. package/dist/index.es127.js +6 -7
  576. package/dist/index.es127.js.map +1 -1
  577. package/dist/index.es128.js +8 -16
  578. package/dist/index.es128.js.map +1 -1
  579. package/dist/index.es129.js +3 -13
  580. package/dist/index.es129.js.map +1 -1
  581. package/dist/index.es13.js +2 -2
  582. package/dist/index.es130.js +4 -5
  583. package/dist/index.es130.js.map +1 -1
  584. package/dist/index.es131.js +56 -4
  585. package/dist/index.es131.js.map +1 -1
  586. package/dist/index.es132.js +13 -7
  587. package/dist/index.es132.js.map +1 -1
  588. package/dist/index.es133.js +5 -6
  589. package/dist/index.es133.js.map +1 -1
  590. package/dist/index.es134.js +5 -6
  591. package/dist/index.es134.js.map +1 -1
  592. package/dist/index.es135.js +8 -7
  593. package/dist/index.es135.js.map +1 -1
  594. package/dist/index.es136.js +17 -3
  595. package/dist/index.es136.js.map +1 -1
  596. package/dist/index.es137.js +13 -2
  597. package/dist/index.es137.js.map +1 -1
  598. package/dist/index.es138.js +4 -10
  599. package/dist/index.es138.js.map +1 -1
  600. package/dist/index.es139.js +6 -5
  601. package/dist/index.es139.js.map +1 -1
  602. package/dist/index.es14.js +1 -1
  603. package/dist/index.es140.js +8 -3
  604. package/dist/index.es140.js.map +1 -1
  605. package/dist/index.es141.js +6 -7
  606. package/dist/index.es141.js.map +1 -1
  607. package/dist/index.es142.js +6 -5
  608. package/dist/index.es142.js.map +1 -1
  609. package/dist/index.es143.js +8 -16
  610. package/dist/index.es143.js.map +1 -1
  611. package/dist/index.es144.js +3 -12
  612. package/dist/index.es144.js.map +1 -1
  613. package/dist/index.es145.js +3 -3
  614. package/dist/index.es145.js.map +1 -1
  615. package/dist/index.es146.js +11 -3
  616. package/dist/index.es146.js.map +1 -1
  617. package/dist/index.es147.js +5 -9
  618. package/dist/index.es147.js.map +1 -1
  619. package/dist/index.es148.js +4 -7
  620. package/dist/index.es148.js.map +1 -1
  621. package/dist/index.es149.js +8 -11
  622. package/dist/index.es149.js.map +1 -1
  623. package/dist/index.es15.js +1 -1
  624. package/dist/index.es150.js +5 -11
  625. package/dist/index.es150.js.map +1 -1
  626. package/dist/index.es151.js +15 -5
  627. package/dist/index.es151.js.map +1 -1
  628. package/dist/index.es152.js +11 -5
  629. package/dist/index.es152.js.map +1 -1
  630. package/dist/index.es153.js +3 -6
  631. package/dist/index.es153.js.map +1 -1
  632. package/dist/index.es154.js +3 -17
  633. package/dist/index.es154.js.map +1 -1
  634. package/dist/index.es155.js +8 -16
  635. package/dist/index.es155.js.map +1 -1
  636. package/dist/index.es156.js +6 -4
  637. package/dist/index.es156.js.map +1 -1
  638. package/dist/index.es157.js +11 -15
  639. package/dist/index.es157.js.map +1 -1
  640. package/dist/index.es158.js +12 -20
  641. package/dist/index.es158.js.map +1 -1
  642. package/dist/index.es159.js +7 -6
  643. package/dist/index.es159.js.map +1 -1
  644. package/dist/index.es16.js +2 -2
  645. package/dist/index.es160.js +5 -4
  646. package/dist/index.es160.js.map +1 -1
  647. package/dist/index.es161.js +6 -6
  648. package/dist/index.es161.js.map +1 -1
  649. package/dist/index.es162.js +17 -5
  650. package/dist/index.es162.js.map +1 -1
  651. package/dist/index.es163.js +16 -11
  652. package/dist/index.es163.js.map +1 -1
  653. package/dist/index.es164.js +4 -5
  654. package/dist/index.es164.js.map +1 -1
  655. package/dist/index.es165.js +16 -4
  656. package/dist/index.es165.js.map +1 -1
  657. package/dist/index.es166.js +22 -4
  658. package/dist/index.es166.js.map +1 -1
  659. package/dist/index.es167.js +6 -5
  660. package/dist/index.es167.js.map +1 -1
  661. package/dist/index.es168.js +5 -5
  662. package/dist/index.es168.js.map +1 -1
  663. package/dist/index.es169.js +6 -5
  664. package/dist/index.es169.js.map +1 -1
  665. package/dist/index.es17.js +2 -2
  666. package/dist/index.es170.js +5 -5
  667. package/dist/index.es170.js.map +1 -1
  668. package/dist/index.es171.js +11 -12
  669. package/dist/index.es171.js.map +1 -1
  670. package/dist/index.es172.js +5 -14
  671. package/dist/index.es172.js.map +1 -1
  672. package/dist/index.es173.js +4 -8
  673. package/dist/index.es173.js.map +1 -1
  674. package/dist/index.es174.js +4 -6
  675. package/dist/index.es174.js.map +1 -1
  676. package/dist/index.es175.js +4 -6
  677. package/dist/index.es175.js.map +1 -1
  678. package/dist/index.es176.js +4 -7
  679. package/dist/index.es176.js.map +1 -1
  680. package/dist/index.es177.js +4 -36
  681. package/dist/index.es177.js.map +1 -1
  682. package/dist/index.es178.js +4 -22
  683. package/dist/index.es178.js.map +1 -1
  684. package/dist/index.es179.js +11 -81
  685. package/dist/index.es179.js.map +1 -1
  686. package/dist/index.es180.js +14 -15
  687. package/dist/index.es180.js.map +1 -1
  688. package/dist/index.es181.js +8 -51
  689. package/dist/index.es181.js.map +1 -1
  690. package/dist/index.es182.js +6 -51
  691. package/dist/index.es182.js.map +1 -1
  692. package/dist/index.es183.js +6 -54
  693. package/dist/index.es183.js.map +1 -1
  694. package/dist/index.es184.js +9 -29
  695. package/dist/index.es184.js.map +1 -1
  696. package/dist/index.es185.js +34 -39
  697. package/dist/index.es185.js.map +1 -1
  698. package/dist/index.es186.js +16 -33
  699. package/dist/index.es186.js.map +1 -1
  700. package/dist/index.es187.js +5 -94
  701. package/dist/index.es187.js.map +1 -1
  702. package/dist/index.es188.js +2 -34
  703. package/dist/index.es188.js.map +1 -1
  704. package/dist/index.es189.js +8 -16
  705. package/dist/index.es189.js.map +1 -1
  706. package/dist/index.es19.js +4 -3
  707. package/dist/index.es19.js.map +1 -1
  708. package/dist/index.es190.js +327 -5
  709. package/dist/index.es190.js.map +1 -1
  710. package/dist/index.es191.js +51 -2
  711. package/dist/index.es191.js.map +1 -1
  712. package/dist/index.es192.js +2 -8
  713. package/dist/index.es192.js.map +1 -1
  714. package/dist/index.es193.js +15 -326
  715. package/dist/index.es193.js.map +1 -1
  716. package/dist/index.es194.js +51 -48
  717. package/dist/index.es194.js.map +1 -1
  718. package/dist/index.es195.js +55 -2
  719. package/dist/index.es195.js.map +1 -1
  720. package/dist/index.es196.js +5 -2
  721. package/dist/index.es196.js.map +1 -1
  722. package/dist/index.es197.js +3 -2
  723. package/dist/index.es197.js.map +1 -1
  724. package/dist/index.es198.js +3 -2
  725. package/dist/index.es198.js.map +1 -1
  726. package/dist/index.es199.js +3 -2
  727. package/dist/index.es199.js.map +1 -1
  728. package/dist/index.es2.js +5 -4
  729. package/dist/index.es2.js.map +1 -1
  730. package/dist/index.es20.js +4 -3
  731. package/dist/index.es20.js.map +1 -1
  732. package/dist/index.es200.js +2 -1
  733. package/dist/index.es200.js.map +1 -1
  734. package/dist/index.es202.js +2 -1
  735. package/dist/index.es202.js.map +1 -1
  736. package/dist/index.es204.js.map +1 -1
  737. package/dist/index.es205.js.map +1 -1
  738. package/dist/index.es206.js.map +1 -1
  739. package/dist/index.es207.js +5 -7
  740. package/dist/index.es207.js.map +1 -1
  741. package/dist/index.es208.js +5 -5
  742. package/dist/index.es208.js.map +1 -1
  743. package/dist/index.es209.js +21 -4
  744. package/dist/index.es209.js.map +1 -1
  745. package/dist/index.es21.js +4 -3
  746. package/dist/index.es21.js.map +1 -1
  747. package/dist/index.es210.js +240 -3
  748. package/dist/index.es210.js.map +1 -1
  749. package/dist/index.es211.js +1018 -3
  750. package/dist/index.es211.js.map +1 -1
  751. package/dist/index.es212.js +7 -8
  752. package/dist/index.es212.js.map +1 -1
  753. package/dist/index.es213.js +4 -18
  754. package/dist/index.es213.js.map +1 -1
  755. package/dist/index.es214.js +4 -21
  756. package/dist/index.es214.js.map +1 -1
  757. package/dist/index.es215.js +3 -13
  758. package/dist/index.es215.js.map +1 -1
  759. package/dist/index.es216.js +3 -15
  760. package/dist/index.es216.js.map +1 -1
  761. package/dist/index.es217.js +8 -5
  762. package/dist/index.es217.js.map +1 -1
  763. package/dist/index.es218.js +21 -7
  764. package/dist/index.es218.js.map +1 -1
  765. package/dist/index.es219.js +21 -6
  766. package/dist/index.es219.js.map +1 -1
  767. package/dist/index.es22.js +1 -1
  768. package/dist/index.es220.js +12 -19
  769. package/dist/index.es220.js.map +1 -1
  770. package/dist/index.es221.js +15 -8
  771. package/dist/index.es221.js.map +1 -1
  772. package/dist/index.es222.js +6 -9
  773. package/dist/index.es222.js.map +1 -1
  774. package/dist/index.es223.js +9 -4
  775. package/dist/index.es223.js.map +1 -1
  776. package/dist/index.es224.js +6 -10
  777. package/dist/index.es224.js.map +1 -1
  778. package/dist/index.es225.js +21 -7
  779. package/dist/index.es225.js.map +1 -1
  780. package/dist/index.es226.js +9 -20
  781. package/dist/index.es226.js.map +1 -1
  782. package/dist/index.es227.js +9 -11
  783. package/dist/index.es227.js.map +1 -1
  784. package/dist/index.es228.js +4 -18
  785. package/dist/index.es228.js.map +1 -1
  786. package/dist/index.es229.js +11 -4
  787. package/dist/index.es229.js.map +1 -1
  788. package/dist/index.es230.js +8 -17
  789. package/dist/index.es230.js.map +1 -1
  790. package/dist/index.es231.js +22 -11
  791. package/dist/index.es231.js.map +1 -1
  792. package/dist/index.es232.js +11 -3
  793. package/dist/index.es232.js.map +1 -1
  794. package/dist/index.es233.js +18 -4
  795. package/dist/index.es233.js.map +1 -1
  796. package/dist/index.es234.js +4 -7
  797. package/dist/index.es234.js.map +1 -1
  798. package/dist/index.es235.js +17 -5
  799. package/dist/index.es235.js.map +1 -1
  800. package/dist/index.es236.js +11 -3
  801. package/dist/index.es236.js.map +1 -1
  802. package/dist/index.es237.js +3 -3
  803. package/dist/index.es237.js.map +1 -1
  804. package/dist/index.es238.js +4 -8
  805. package/dist/index.es238.js.map +1 -1
  806. package/dist/index.es239.js +6 -4
  807. package/dist/index.es239.js.map +1 -1
  808. package/dist/index.es24.js +1 -1
  809. package/dist/index.es240.js +5 -5
  810. package/dist/index.es240.js.map +1 -1
  811. package/dist/index.es241.js +5 -5
  812. package/dist/index.es241.js.map +1 -1
  813. package/dist/index.es242.js +4 -20
  814. package/dist/index.es242.js.map +1 -1
  815. package/dist/index.es243.js +11 -234
  816. package/dist/index.es243.js.map +1 -1
  817. package/dist/index.es244.js +4 -992
  818. package/dist/index.es244.js.map +1 -1
  819. package/dist/index.es246.js +3 -2
  820. package/dist/index.es246.js.map +1 -1
  821. package/dist/index.es247.js +3 -2
  822. package/dist/index.es247.js.map +1 -1
  823. package/dist/index.es248.js +2 -1
  824. package/dist/index.es248.js.map +1 -1
  825. package/dist/index.es249.js +2 -1
  826. package/dist/index.es249.js.map +1 -1
  827. package/dist/index.es25.js +6 -5
  828. package/dist/index.es25.js.map +1 -1
  829. package/dist/index.es251.js +2 -1
  830. package/dist/index.es251.js.map +1 -1
  831. package/dist/index.es252.js +3 -3
  832. package/dist/index.es252.js.map +1 -1
  833. package/dist/index.es253.js +6 -5
  834. package/dist/index.es253.js.map +1 -1
  835. package/dist/index.es254.js +7 -7
  836. package/dist/index.es254.js.map +1 -1
  837. package/dist/index.es255.js +28 -11
  838. package/dist/index.es255.js.map +1 -1
  839. package/dist/index.es256.js +35 -6
  840. package/dist/index.es256.js.map +1 -1
  841. package/dist/index.es257.js +10 -4
  842. package/dist/index.es257.js.map +1 -1
  843. package/dist/index.es258.js +4 -2
  844. package/dist/index.es258.js.map +1 -1
  845. package/dist/index.es259.js +8 -6
  846. package/dist/index.es259.js.map +1 -1
  847. package/dist/index.es26.js +7 -6
  848. package/dist/index.es26.js.map +1 -1
  849. package/dist/index.es260.js +3 -8
  850. package/dist/index.es260.js.map +1 -1
  851. package/dist/index.es261.js +6 -29
  852. package/dist/index.es261.js.map +1 -1
  853. package/dist/index.es262.js +8 -35
  854. package/dist/index.es262.js.map +1 -1
  855. package/dist/index.es263.js +13 -9
  856. package/dist/index.es263.js.map +1 -1
  857. package/dist/index.es264.js +2 -4
  858. package/dist/index.es264.js.map +1 -1
  859. package/dist/index.es265.js +2 -8
  860. package/dist/index.es265.js.map +1 -1
  861. package/dist/index.es266.js +7 -3
  862. package/dist/index.es266.js.map +1 -1
  863. package/dist/index.es267.js +3 -6
  864. package/dist/index.es267.js.map +1 -1
  865. package/dist/index.es268.js +2 -8
  866. package/dist/index.es268.js.map +1 -1
  867. package/dist/index.es269.js +6 -2
  868. package/dist/index.es269.js.map +1 -1
  869. package/dist/index.es27.js +5 -5
  870. package/dist/index.es27.js.map +1 -1
  871. package/dist/index.es270.js +8 -2
  872. package/dist/index.es270.js.map +1 -1
  873. package/dist/index.es271.js +8 -5
  874. package/dist/index.es271.js.map +1 -1
  875. package/dist/index.es272.js +9 -13
  876. package/dist/index.es272.js.map +1 -1
  877. package/dist/index.es273.js +5 -2
  878. package/dist/index.es273.js.map +1 -1
  879. package/dist/index.es274.js +3 -68
  880. package/dist/index.es274.js.map +1 -1
  881. package/dist/index.es275.js +32 -17
  882. package/dist/index.es275.js.map +1 -1
  883. package/dist/index.es276.js +5 -7
  884. package/dist/index.es276.js.map +1 -1
  885. package/dist/index.es277.js +13 -2
  886. package/dist/index.es277.js.map +1 -1
  887. package/dist/index.es278.js +2 -8
  888. package/dist/index.es278.js.map +1 -1
  889. package/dist/index.es279.js +68 -9
  890. package/dist/index.es279.js.map +1 -1
  891. package/dist/index.es28.js +1 -1
  892. package/dist/index.es280.js +18 -5
  893. package/dist/index.es280.js.map +1 -1
  894. package/dist/index.es281.js +7 -3
  895. package/dist/index.es281.js.map +1 -1
  896. package/dist/index.es282.js +2 -33
  897. package/dist/index.es282.js.map +1 -1
  898. package/dist/index.es283.js +1 -1
  899. package/dist/index.es284.js.map +1 -1
  900. package/dist/index.es286.js.map +1 -1
  901. package/dist/index.es288.js +1 -1
  902. package/dist/index.es289.js +1 -1
  903. package/dist/index.es29.js +3 -3
  904. package/dist/index.es291.js +3 -3
  905. package/dist/index.es291.js.map +1 -1
  906. package/dist/index.es292.js +1 -1
  907. package/dist/index.es293.js.map +1 -1
  908. package/dist/index.es294.js +1 -1
  909. package/dist/index.es3.js +1 -1
  910. package/dist/index.es3.js.map +1 -1
  911. package/dist/index.es30.js +4 -4
  912. package/dist/index.es31.js +2 -2
  913. package/dist/index.es32.js +2 -2
  914. package/dist/index.es32.js.map +1 -1
  915. package/dist/index.es33.js +2 -0
  916. package/dist/index.es33.js.map +1 -0
  917. package/dist/index.es34.js +3 -3
  918. package/dist/index.es34.js.map +1 -1
  919. package/dist/index.es35.js +3 -2
  920. package/dist/index.es35.js.map +1 -1
  921. package/dist/index.es36.js +4 -4
  922. package/dist/index.es36.js.map +1 -1
  923. package/dist/index.es37.js.map +1 -1
  924. package/dist/index.es38.js +49 -3
  925. package/dist/index.es38.js.map +1 -1
  926. package/dist/index.es39.js +35 -36
  927. package/dist/index.es39.js.map +1 -1
  928. package/dist/index.es4.js.map +1 -1
  929. package/dist/index.es40.js +36 -36
  930. package/dist/index.es40.js.map +1 -1
  931. package/dist/index.es41.js +40 -39
  932. package/dist/index.es41.js.map +1 -1
  933. package/dist/index.es42.js +40 -38
  934. package/dist/index.es42.js.map +1 -1
  935. package/dist/index.es43.js +40 -39
  936. package/dist/index.es43.js.map +1 -1
  937. package/dist/index.es44.js +39 -39
  938. package/dist/index.es44.js.map +1 -1
  939. package/dist/index.es45.js +39 -38
  940. package/dist/index.es45.js.map +1 -1
  941. package/dist/index.es46.js +39 -37
  942. package/dist/index.es46.js.map +1 -1
  943. package/dist/index.es47.js +35 -34
  944. package/dist/index.es47.js.map +1 -1
  945. package/dist/index.es48.js +31 -31
  946. package/dist/index.es48.js.map +1 -1
  947. package/dist/index.es49.js +26 -25
  948. package/dist/index.es49.js.map +1 -1
  949. package/dist/index.es5.js +2 -2
  950. package/dist/index.es50.js +3 -45
  951. package/dist/index.es50.js.map +1 -1
  952. package/dist/index.es51.js.map +1 -1
  953. package/dist/index.es52.js +2 -0
  954. package/dist/index.es52.js.map +1 -0
  955. package/dist/index.es53.js +5 -4
  956. package/dist/index.es53.js.map +1 -1
  957. package/dist/index.es54.js +4 -3
  958. package/dist/index.es54.js.map +1 -1
  959. package/dist/index.es56.js +7 -3
  960. package/dist/index.es56.js.map +1 -1
  961. package/dist/index.es57.js +172 -174
  962. package/dist/index.es57.js.map +1 -1
  963. package/dist/index.es58.js +73 -37
  964. package/dist/index.es58.js.map +1 -1
  965. package/dist/index.es6.js +1 -1
  966. package/dist/index.es6.js.map +1 -1
  967. package/dist/index.es62.js.map +1 -1
  968. package/dist/index.es63.js +2 -1
  969. package/dist/index.es63.js.map +1 -1
  970. package/dist/index.es64.js +9 -9
  971. package/dist/index.es64.js.map +1 -1
  972. package/dist/index.es65.js +2 -1
  973. package/dist/index.es65.js.map +1 -1
  974. package/dist/index.es66.js +6 -5
  975. package/dist/index.es66.js.map +1 -1
  976. package/dist/index.es67.js +8 -6
  977. package/dist/index.es67.js.map +1 -1
  978. package/dist/index.es68.js.map +1 -1
  979. package/dist/index.es69.js +5 -5
  980. package/dist/index.es69.js.map +1 -1
  981. package/dist/index.es7.js +1 -1
  982. package/dist/index.es7.js.map +1 -1
  983. package/dist/index.es70.js +4 -4
  984. package/dist/index.es70.js.map +1 -1
  985. package/dist/index.es71.js +4 -3
  986. package/dist/index.es71.js.map +1 -1
  987. package/dist/index.es73.js +5 -5
  988. package/dist/index.es73.js.map +1 -1
  989. package/dist/index.es74.js +33 -40
  990. package/dist/index.es74.js.map +1 -1
  991. package/dist/index.es75.js +95 -273
  992. package/dist/index.es75.js.map +1 -1
  993. package/dist/index.es76.js +40 -15
  994. package/dist/index.es76.js.map +1 -1
  995. package/dist/index.es77.js +36 -18
  996. package/dist/index.es77.js.map +1 -1
  997. package/dist/index.es78.js +22 -4
  998. package/dist/index.es78.js.map +1 -1
  999. package/dist/index.es79.js +84 -3
  1000. package/dist/index.es79.js.map +1 -1
  1001. package/dist/index.es8.js +4 -4
  1002. package/dist/index.es8.js.map +1 -1
  1003. package/dist/index.es80.js +54 -3
  1004. package/dist/index.es80.js.map +1 -1
  1005. package/dist/index.es81.js +29 -5
  1006. package/dist/index.es81.js.map +1 -1
  1007. package/dist/index.es82.js +40 -4
  1008. package/dist/index.es82.js.map +1 -1
  1009. package/dist/index.es83.js +273 -3
  1010. package/dist/index.es83.js.map +1 -1
  1011. package/dist/index.es84.js +15 -3
  1012. package/dist/index.es84.js.map +1 -1
  1013. package/dist/index.es85.js +19 -3
  1014. package/dist/index.es85.js.map +1 -1
  1015. package/dist/index.es86.js +5 -3
  1016. package/dist/index.es86.js.map +1 -1
  1017. package/dist/index.es87.js +4 -3
  1018. package/dist/index.es87.js.map +1 -1
  1019. package/dist/index.es88.js +4 -3
  1020. package/dist/index.es88.js.map +1 -1
  1021. package/dist/index.es89.js +5 -3
  1022. package/dist/index.es89.js.map +1 -1
  1023. package/dist/index.es9.js +2 -2
  1024. package/dist/index.es9.js.map +1 -1
  1025. package/dist/index.es90.js +3 -9
  1026. package/dist/index.es90.js.map +1 -1
  1027. package/dist/index.es91.js +2 -3
  1028. package/dist/index.es91.js.map +1 -1
  1029. package/dist/index.es92.js +3 -6
  1030. package/dist/index.es92.js.map +1 -1
  1031. package/dist/index.es93.js +3 -6
  1032. package/dist/index.es93.js.map +1 -1
  1033. package/dist/index.es94.js +3 -10
  1034. package/dist/index.es94.js.map +1 -1
  1035. package/dist/index.es95.js +3 -11
  1036. package/dist/index.es95.js.map +1 -1
  1037. package/dist/index.es96.js +3 -11
  1038. package/dist/index.es96.js.map +1 -1
  1039. package/dist/index.es97.js +3 -73
  1040. package/dist/index.es97.js.map +1 -1
  1041. package/dist/index.es98.js +10 -3
  1042. package/dist/index.es98.js.map +1 -1
  1043. package/dist/index.es99.js +4 -12
  1044. package/dist/index.es99.js.map +1 -1
  1045. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs193.js","sources":["../../../node_modules/prop-types/factoryWithTypeCheckers.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"],"names":["ReactIs","require$$0","assign","require$$1","ReactPropTypesSecret","require$$2","has","require$$3","checkPropTypes","require$$4","printWarning","text","message","emptyFunctionThatReturnsNull","factoryWithTypeCheckers","isValidElement","throwOnDirectAccess","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","iteratorFn","ANONYMOUS","ReactPropTypes","createPrimitiveTypeChecker","createAnyTypeChecker","createArrayOfTypeChecker","createElementTypeChecker","createElementTypeTypeChecker","createInstanceTypeChecker","createNodeChecker","createObjectOfTypeChecker","createEnumTypeChecker","createUnionTypeChecker","createShapeTypeChecker","createStrictShapeTypeChecker","is","x","y","PropTypeError","data","createChainableTypeChecker","validate","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","props","propName","componentName","location","propFullName","secret","err","cacheKey","chainedCheckType","expectedType","propValue","propType","getPropType","preciseType","getPreciseType","typeChecker","i","error","expectedClass","expectedClassName","actualClassName","getClassName","expectedValues","valuesString","key","value","type","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","expectedTypes","checkerResult","expectedTypesMessage","isNode","invalidValidatorError","shapeTypes","allKeys","iterator","step","entry","isSymbol"],"mappings":"4RASA,IAAIA,EAAUC,EAAAA,UAAkB,EAC5BC,EAASC,EAAAA,UAAuB,EAEhCC,EAAuBC,GAAAA,UAAoC,EAC3DC,EAAMC,GAAAA,UAAmB,EACzBC,EAAiBC,GAAAA,UAA0B,EAE3CC,EAAe,UAAW,CAAC,EAE3B,QAAQ,IAAI,WAAa,eAC3BA,EAAe,SAASC,EAAM,CAC5B,IAAIC,EAAU,YAAcD,EACxB,OAAO,QAAY,KACrB,QAAQ,MAAMC,CAAO,EAEnB,GAAA,CAII,MAAA,IAAI,MAAMA,CAAO,OACb,EAC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D,EAAS,KAAA,GAAQ,MAAM,CACrC,IAAIE,EAAQD,EAAK,MACjB,GAAIC,GACE,CAACN,EAAOM,EAAM,CAAC,CAAC,EACX,MAAA,GAIf,KAEO,OAAA,GAGF,MAAA,GACT,QACS,MAAA,IAIJ,SAAAC,EAAS7B,EAAUD,EAAW,CAErC,OAAIC,IAAa,SACR,GAIJD,EAKDA,EAAU,eAAe,IAAM,UAK/B,OAAO,QAAW,YAAcA,aAAqB,OAThD,GAiBX,SAASE,EAAYF,EAAW,CAC9B,IAAIC,EAAW,OAAOD,EAClB,OAAA,MAAM,QAAQA,CAAS,EAClB,QAELA,aAAqB,OAIhB,SAEL8B,EAAS7B,EAAUD,CAAS,EACvB,SAEFC,EAKT,SAASG,EAAeJ,EAAW,CACjC,GAAI,OAAOA,EAAc,KAAeA,IAAc,KACpD,MAAO,GAAKA,EAEV,IAAAC,EAAWC,EAAYF,CAAS,EACpC,GAAIC,IAAa,SAAU,CACzB,GAAID,aAAqB,KAChB,MAAA,OACT,GAAWA,aAAqB,OACvB,MAAA,SAGJ,OAAAC,EAKT,SAASkB,EAAyBJ,EAAO,CACnC,IAAAC,EAAOZ,EAAeW,CAAK,EAC/B,OAAQC,EAAM,CACZ,IAAK,QACL,IAAK,SACH,MAAO,MAAQA,EACjB,IAAK,UACL,IAAK,OACL,IAAK,SACH,MAAO,KAAOA,EAChB,QACS,OAAAA,GAKb,SAASL,EAAaX,EAAW,CAC/B,MAAI,CAACA,EAAU,aAAe,CAACA,EAAU,YAAY,KAC5CnC,EAEFmC,EAAU,YAAY,KAG/B,OAAAlC,EAAe,eAAiBf,EAChCe,EAAe,kBAAoBf,EAAe,kBAClDe,EAAe,UAAYA,EAEpBA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs193.js","sources":["../../../node_modules/@visx/shape/esm/util/accessors.js"],"sourcesContent":["export function getX(l) {\n return typeof (l == null ? void 0 : l.x) === 'number' ? l == null ? void 0 : l.x : 0;\n}\nexport function getY(l) {\n return typeof (l == null ? void 0 : l.y) === 'number' ? l == null ? void 0 : l.y : 0;\n}\nexport function getSource(l) {\n return l == null ? void 0 : l.source;\n}\nexport function getTarget(l) {\n return l == null ? void 0 : l.target;\n}\nexport function getFirstItem(d) {\n return d == null ? void 0 : d[0];\n}\nexport function getSecondItem(d) {\n return d == null ? void 0 : d[1];\n}"],"names":["getX","l","getY","getSource","getTarget"],"mappings":"gFAAO,SAASA,EAAKC,EAAG,CACf,OAAA,OAAQA,GAAK,KAAO,OAASA,EAAE,IAAO,SAAWA,GAAK,KAAO,OAASA,EAAE,EAAI,CACrF,CACO,SAASC,EAAKD,EAAG,CACf,OAAA,OAAQA,GAAK,KAAO,OAASA,EAAE,IAAO,SAAWA,GAAK,KAAO,OAASA,EAAE,EAAI,CACrF,CACO,SAASE,EAAUF,EAAG,CACpB,OAAAA,GAAK,KAAO,OAASA,EAAE,MAChC,CACO,SAASG,EAAUH,EAAG,CACpB,OAAAA,GAAK,KAAO,OAASA,EAAE,MAChC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs249.js");var n,p;function y(){if(p)return n;p=1;var c=u.__require();function o(){}function i(){}return i.resetWarningCache=o,n=function(){function e(h,m,f,l,T,s){if(s!==c){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t},n}exports.__require=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs268.js"),f=require("./index.cjs269.js"),p=require("./index.cjs270.js"),c=require("./index.cjs267.js"),k=require("./index.cjs195.js");function m(n){return n.source}function d(n){return n.target}function s(n){var r=m,e=d,u=p.x,l=p.y,a=null;function i(){var t,o=h.slice.call(arguments),g=r.apply(this,o),v=e.apply(this,o);if(a||(a=t=k()),n(a,+u.apply(this,(o[0]=g,o)),+l.apply(this,o),+u.apply(this,(o[0]=v,o)),+l.apply(this,o)),t)return a=null,t+""||null}return i.source=function(t){return arguments.length?(r=t,i):r},i.target=function(t){return arguments.length?(e=t,i):e},i.x=function(t){return arguments.length?(u=typeof t=="function"?t:f(+t),i):u},i.y=function(t){return arguments.length?(l=typeof t=="function"?t:f(+t),i):l},i.context=function(t){return arguments.length?(a=t??null,i):a},i}function T(n,r,e,u,l){n.moveTo(r,e),n.bezierCurveTo(r=(r+u)/2,e,r,l,u,l)}function b(n,r,e,u,l){n.moveTo(r,e),n.bezierCurveTo(r,e=(e+l)/2,u,e,u,l)}function y(n,r,e,u,l){var a=c(r,e),i=c(r,e=(e+l)/2),t=c(u,e),o=c(u,l);n.moveTo(a[0],a[1]),n.bezierCurveTo(i[0],i[1],t[0],t[1],o[0],o[1])}function z(){return s(T)}function q(){return s(b)}function R(){var n=s(y);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}exports.linkHorizontal=z;exports.linkRadial=R;exports.linkVertical=q;
2
2
  //# sourceMappingURL=index.cjs194.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs194.js","sources":["../../../node_modules/prop-types/factoryWithThrowingShims.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"],"names":["ReactPropTypesSecret","require$$0","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes"],"mappings":"4JASA,IAAIA,EAAuBC,EAAAA,UAAoC,EAE/D,SAASC,GAAgB,EACzB,SAASC,GAAyB,EAClC,OAAAA,EAAuB,kBAAoBD,EAE3CE,EAAiB,UAAW,CAC1B,SAASC,EAAKC,EAAOC,EAAUC,EAAeC,EAAUC,EAAcC,EAAQ,CAC5E,GAAIA,IAAWX,EAIf,KAAIY,EAAM,IAAI,MACZ,iLAGF,EACA,MAAAA,EAAI,KAAO,sBACLA,GAERP,EAAK,WAAaA,EAClB,SAASQ,GAAU,CACV,OAAAR,EAIT,IAAIS,EAAiB,CACnB,MAAOT,EACP,OAAQA,EACR,KAAMA,EACN,KAAMA,EACN,OAAQA,EACR,OAAQA,EACR,OAAQA,EACR,OAAQA,EAER,IAAKA,EACL,QAASQ,EACT,QAASR,EACT,YAAaA,EACb,WAAYQ,EACZ,KAAMR,EACN,SAAUQ,EACV,MAAOA,EACP,UAAWA,EACX,MAAOA,EACP,MAAOA,EAEP,eAAgBV,EAChB,kBAAmBD,CACrB,EAEA,OAAAY,EAAe,UAAYA,EAEpBA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs194.js","sources":["../../../node_modules/d3-shape/src/link/index.js"],"sourcesContent":["import {path} from \"d3-path\";\nimport {slice} from \"../array.js\";\nimport constant from \"../constant.js\";\nimport {x as pointX, y as pointY} from \"../point.js\";\nimport pointRadial from \"../pointRadial.js\";\n\nfunction linkSource(d) {\n return d.source;\n}\n\nfunction linkTarget(d) {\n return d.target;\n}\n\nfunction link(curve) {\n var source = linkSource,\n target = linkTarget,\n x = pointX,\n y = pointY,\n context = null;\n\n function link() {\n var buffer, argv = slice.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv);\n if (!context) context = buffer = path();\n curve(context, +x.apply(this, (argv[0] = s, argv)), +y.apply(this, argv), +x.apply(this, (argv[0] = t, argv)), +y.apply(this, argv));\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n link.source = function(_) {\n return arguments.length ? (source = _, link) : source;\n };\n\n link.target = function(_) {\n return arguments.length ? (target = _, link) : target;\n };\n\n link.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), link) : x;\n };\n\n link.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), link) : y;\n };\n\n link.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), link) : context;\n };\n\n return link;\n}\n\nfunction curveHorizontal(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);\n}\n\nfunction curveVertical(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);\n}\n\nfunction curveRadial(context, x0, y0, x1, y1) {\n var p0 = pointRadial(x0, y0),\n p1 = pointRadial(x0, y0 = (y0 + y1) / 2),\n p2 = pointRadial(x1, y0),\n p3 = pointRadial(x1, y1);\n context.moveTo(p0[0], p0[1]);\n context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);\n}\n\nexport function linkHorizontal() {\n return link(curveHorizontal);\n}\n\nexport function linkVertical() {\n return link(curveVertical);\n}\n\nexport function linkRadial() {\n var l = link(curveRadial);\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n return l;\n}\n"],"names":["linkSource","d","linkTarget","link","curve","source","target","x","pointX","y","pointY","context","buffer","argv","slice","s","t","path","_","constant","curveHorizontal","x0","y0","x1","y1","curveVertical","curveRadial","p0","pointRadial","p1","p2","p3","linkHorizontal","linkVertical","linkRadial","l"],"mappings":"iPAMA,SAASA,EAAWC,EAAG,CACrB,OAAOA,EAAE,MACX,CAEA,SAASC,EAAWD,EAAG,CACrB,OAAOA,EAAE,MACX,CAEA,SAASE,EAAKC,EAAO,CACf,IAAAC,EAASL,EACTM,EAASJ,EACTK,EAAIC,EACJ,EAAAC,EAAIC,EAAAA,EACJC,EAAU,KAEd,SAASR,GAAO,CACd,IAAIS,EAAQC,EAAOC,EAAA,MAAM,KAAK,SAAS,EAAGC,EAAIV,EAAO,MAAM,KAAMQ,CAAI,EAAGG,EAAIV,EAAO,MAAM,KAAMO,CAAI,EAG/F,GAFCF,IAASA,EAAUC,EAASK,KACjCb,EAAMO,EAAS,CAACJ,EAAE,MAAM,MAAOM,EAAK,CAAC,EAAIE,EAAGF,EAAK,EAAG,CAACJ,EAAE,MAAM,KAAMI,CAAI,EAAG,CAACN,EAAE,MAAM,MAAOM,EAAK,CAAC,EAAIG,EAAGH,EAAK,EAAG,CAACJ,EAAE,MAAM,KAAMI,CAAI,CAAC,EAC/HD,EAAe,OAAAD,EAAU,KAAMC,EAAS,IAAM,IACpD,CAEAT,OAAAA,EAAK,OAAS,SAASe,EAAG,CACxB,OAAO,UAAU,QAAUb,EAASa,EAAGf,GAAQE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,CAEO,SAASC,GAAiB,CAC/B,OAAO7B,EAAKiB,CAAe,CAC7B,CAEO,SAASa,GAAe,CAC7B,OAAO9B,EAAKsB,CAAa,CAC3B,CAEO,SAASS,GAAa,CACvB,IAAAC,EAAIhC,EAAKuB,CAAW,EACxB,OAAAS,EAAE,MAAQA,EAAE,EAAG,OAAOA,EAAE,EACxBA,EAAE,OAASA,EAAE,EAAG,OAAOA,EAAE,EAClBA,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";var v=Math.PI,p=2*v,c=1e-6,C=p-c;function y(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function g(){return new y}y.prototype=g.prototype={constructor:y,moveTo:function(i,s){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+s)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(i,s){this._+="L"+(this._x1=+i)+","+(this._y1=+s)},quadraticCurveTo:function(i,s,t,h){this._+="Q"+ +i+","+ +s+","+(this._x1=+t)+","+(this._y1=+h)},bezierCurveTo:function(i,s,t,h,_,e){this._+="C"+ +i+","+ +s+","+ +t+","+ +h+","+(this._x1=+_)+","+(this._y1=+e)},arcTo:function(i,s,t,h,_){i=+i,s=+s,t=+t,h=+h,_=+_;var e=this._x1,M=this._y1,f=t-i,a=h-s,n=e-i,u=M-s,o=n*n+u*u;if(_<0)throw new Error("negative radius: "+_);if(this._x1===null)this._+="M"+(this._x1=i)+","+(this._y1=s);else if(o>c)if(!(Math.abs(u*f-a*n)>c)||!_)this._+="L"+(this._x1=i)+","+(this._y1=s);else{var r=t-e,l=h-M,d=f*f+a*a,q=r*r+l*l,b=Math.sqrt(d),T=Math.sqrt(o),A=_*Math.tan((v-Math.acos((d+o-q)/(2*b*T)))/2),x=A/T,L=A/b;Math.abs(x-1)>c&&(this._+="L"+(i+x*n)+","+(s+x*u)),this._+="A"+_+","+_+",0,0,"+ +(u*r>n*l)+","+(this._x1=i+L*f)+","+(this._y1=s+L*a)}},arc:function(i,s,t,h,_,e){i=+i,s=+s,t=+t,e=!!e;var M=t*Math.cos(h),f=t*Math.sin(h),a=i+M,n=s+f,u=1^e,o=e?h-_:_-h;if(t<0)throw new Error("negative radius: "+t);this._x1===null?this._+="M"+a+","+n:(Math.abs(this._x1-a)>c||Math.abs(this._y1-n)>c)&&(this._+="L"+a+","+n),t&&(o<0&&(o=o%p+p),o>C?this._+="A"+t+","+t+",0,1,"+u+","+(i-M)+","+(s-f)+"A"+t+","+t+",0,1,"+u+","+(this._x1=a)+","+(this._y1=n):o>c&&(this._+="A"+t+","+t+",0,"+ +(o>=v)+","+u+","+(this._x1=i+t*Math.cos(_))+","+(this._y1=s+t*Math.sin(_))))},rect:function(i,s,t,h){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+s)+"h"+ +t+"v"+ +h+"h"+-t+"Z"},toString:function(){return this._}};module.exports=g;
2
2
  //# sourceMappingURL=index.cjs195.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs195.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs195.js","sources":["../../../node_modules/d3-path/src/path.js"],"sourcesContent":["var pi = Math.PI,\n tau = 2 * pi,\n epsilon = 1e-6,\n tauEpsilon = tau - epsilon;\n\nfunction Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n}\n\nfunction path() {\n return new Path;\n}\n\nPath.prototype = path.prototype = {\n constructor: Path,\n moveTo: function(x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function() {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function(x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function(x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function(x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1,\n y0 = this._y1,\n x21 = x2 - x1,\n y21 = y2 - y1,\n x01 = x0 - x1,\n y01 = y0 - y1,\n l01_2 = x01 * x01 + y01 * y01;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon));\n\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0,\n y20 = y2 - y0,\n l21_2 = x21 * x21 + y21 * y21,\n l20_2 = x20 * x20 + y20 * y20,\n l21 = Math.sqrt(l21_2),\n l01 = Math.sqrt(l01_2),\n l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),\n t01 = l / l01,\n t21 = l / l21;\n\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function(x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0),\n dy = r * Math.sin(a0),\n x0 = x + dx,\n y0 = y + dy,\n cw = 1 ^ ccw,\n da = ccw ? a0 - a1 : a1 - a0;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n\n // Is this arc empty? We’re done.\n if (!r) return;\n\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0) da = da % tau + tau;\n\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function(x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function() {\n return this._;\n }\n};\n\nexport default path;\n"],"names":["pi","tau","epsilon","tauEpsilon","Path","path","x","y","x1","y1","x2","y2","r","x0","y0","x21","y21","x01","y01","l01_2","x20","y20","l21_2","l20_2","l21","l01","l","t01","t21","a0","a1","ccw","dx","dy","cw","da","w"],"mappings":"aAAA,IAAIA,EAAK,KAAK,GACVC,EAAM,EAAID,EACVE,EAAU,KACVC,EAAaF,EAAMC,EAEvB,SAASE,GAAO,CACd,KAAK,IAAM,KAAK,IAChB,KAAK,IAAM,KAAK,IAAM,KACtB,KAAK,EAAI,EACX,CAEA,SAASC,GAAO,CACd,OAAO,IAAID,CACb,CAEAA,EAAK,UAAYC,EAAK,UAAY,CAChC,YAAaD,EACb,OAAQ,SAASE,EAAGC,EAAG,CACrB,KAAK,GAAK,KAAO,KAAK,IAAM,KAAK,IAAM,CAACD,GAAK,KAAO,KAAK,IAAM,KAAK,IAAM,CAACC,EAC7E,EACA,UAAW,UAAW,CAChB,KAAK,MAAQ,OACf,KAAK,IAAM,KAAK,IAAK,KAAK,IAAM,KAAK,IACrC,KAAK,GAAK,IAEd,EACA,OAAQ,SAASD,EAAGC,EAAG,CAChB,KAAA,GAAK,KAAO,KAAK,IAAM,CAACD,GAAK,KAAO,KAAK,IAAM,CAACC,EACvD,EACA,iBAAkB,SAASC,EAAIC,EAAIH,EAAGC,EAAG,CACvC,KAAK,GAAK,KAAO,CAACC,EAAM,KAAO,CAACC,EAAM,KAAO,KAAK,IAAM,CAACH,GAAK,KAAO,KAAK,IAAM,CAACC,EACnF,EACA,cAAe,SAASC,EAAIC,EAAIC,EAAIC,EAAIL,EAAGC,EAAG,CACvC,KAAA,GAAK,KAAO,CAACC,EAAM,KAAO,CAACC,EAAM,KAAO,CAACC,EAAM,KAAO,CAACC,EAAM,KAAO,KAAK,IAAM,CAACL,GAAK,KAAO,KAAK,IAAM,CAACC,EAC/G,EACA,MAAO,SAASC,EAAIC,EAAIC,EAAIC,EAAIC,EAAG,CACjCJ,EAAK,CAACA,EAAIC,EAAK,CAACA,EAAIC,EAAK,CAACA,EAAIC,EAAK,CAACA,EAAIC,EAAI,CAACA,EACzC,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 @@
1
- {"version":3,"file":"index.cjs196.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/count.js"],"sourcesContent":["function count(node) {\n var sum = 0,\n children = node.children,\n i = children && children.length;\n if (!i) sum = 1;\n else while (--i >= 0) sum += children[i].value;\n node.value = sum;\n}\n\nexport default function() {\n return this.eachAfter(count);\n}\n"],"names":["count","node","sum","children","i","node_count"],"mappings":"aAAA,SAASA,EAAMC,EAAM,CACnB,IAAIC,EAAM,EACNC,EAAWF,EAAK,SAChBG,EAAID,GAAYA,EAAS,OACzB,GAAA,CAACC,EAASF,EAAA,YACF,EAAEE,GAAK,GAAUF,GAAAC,EAASC,CAAC,EAAE,MACzCH,EAAK,MAAQC,CACf,CAE0B,SAAAG,GAAA,CACjB,OAAA,KAAK,UAAUL,CAAK,CAC7B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs196.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/count.js"],"sourcesContent":["function count(node) {\n var sum = 0,\n children = node.children,\n i = children && children.length;\n if (!i) sum = 1;\n else while (--i >= 0) sum += children[i].value;\n node.value = sum;\n}\n\nexport default function() {\n return this.eachAfter(count);\n}\n"],"names":["count","node","sum","children","i","node_count"],"mappings":"aAAA,SAASA,EAAMC,EAAM,CACnB,IAAIC,EAAM,EACNC,EAAWF,EAAK,SAChBG,EAAID,GAAYA,EAAS,OAC7B,GAAI,CAACC,EAASF,EAAA,MACT,MAAO,EAAEE,GAAK,GAAUF,GAAAC,EAASC,CAAC,EAAE,MACzCH,EAAK,MAAQC,CACf,CAE0B,SAAAG,GAAA,CACjB,OAAA,KAAK,UAAUL,CAAK,CAC7B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs197.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/each.js"],"sourcesContent":["export default function(callback) {\n var node = this, current, next = [node], children, i, n;\n do {\n current = next.reverse(), next = [];\n while (node = current.pop()) {\n callback(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n next.push(children[i]);\n }\n }\n } while (next.length);\n return this;\n}\n"],"names":["node_each","callback","node","current","next","children","i","n"],"mappings":"aAAA,SAAAA,EAAwBC,EAAU,CAC5B,IAAAC,EAAO,KAAMC,EAASC,EAAO,CAACF,CAAI,EAAGG,EAAUC,EAAGC,EACnD,EAEM,KADPJ,EAAUC,EAAK,QAAW,EAAAA,EAAO,CAAC,EAC3BF,EAAOC,EAAQ,OAEhB,GADKF,EAAAC,CAAI,EAAGG,EAAWH,EAAK,SAC5BG,EAAe,IAAAC,EAAI,EAAGC,EAAIF,EAAS,OAAQC,EAAIC,EAAG,EAAED,EACjDF,EAAA,KAAKC,EAASC,CAAC,CAAC,QAGlBF,EAAK,QACP,OAAA,IACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs197.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/each.js"],"sourcesContent":["export default function(callback) {\n var node = this, current, next = [node], children, i, n;\n do {\n current = next.reverse(), next = [];\n while (node = current.pop()) {\n callback(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n next.push(children[i]);\n }\n }\n } while (next.length);\n return this;\n}\n"],"names":["node_each","callback","node","current","next","children","i","n"],"mappings":"aAAA,SAAAA,EAAwBC,EAAU,CAC5B,IAAAC,EAAO,KAAMC,EAASC,EAAO,CAACF,CAAI,EAAGG,EAAUC,EAAGC,EACnD,EAEM,KADPJ,EAAUC,EAAK,UAAWA,EAAO,CAAA,EAC1BF,EAAOC,EAAQ,OAEhB,GADKF,EAAAC,CAAI,EAAGG,EAAWH,EAAK,SAC5BG,EAAe,IAAAC,EAAI,EAAGC,EAAIF,EAAS,OAAQC,EAAIC,EAAG,EAAED,EACjDF,EAAA,KAAKC,EAASC,CAAC,CAAC,QAGlBF,EAAK,QACP,OAAA,IACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs198.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/eachBefore.js"],"sourcesContent":["export default function(callback) {\n var node = this, nodes = [node], children, i;\n while (node = nodes.pop()) {\n callback(node), children = node.children;\n if (children) for (i = children.length - 1; i >= 0; --i) {\n nodes.push(children[i]);\n }\n }\n return this;\n}\n"],"names":["node_eachBefore","callback","node","nodes","children","i"],"mappings":"aAAA,SAAAA,EAAwBC,EAAU,CAEzB,QADHC,EAAO,KAAMC,EAAQ,CAACD,CAAI,EAAGE,EAAUC,EACpCH,EAAOC,EAAM,OAEd,GADKF,EAAAC,CAAI,EAAGE,EAAWF,EAAK,SAC5BE,MAAeC,EAAID,EAAS,OAAS,EAAGC,GAAK,EAAG,EAAEA,EAC9CF,EAAA,KAAKC,EAASC,CAAC,CAAC,EAGnB,OAAA,IACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs198.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/eachBefore.js"],"sourcesContent":["export default function(callback) {\n var node = this, nodes = [node], children, i;\n while (node = nodes.pop()) {\n callback(node), children = node.children;\n if (children) for (i = children.length - 1; i >= 0; --i) {\n nodes.push(children[i]);\n }\n }\n return this;\n}\n"],"names":["node_eachBefore","callback","node","nodes","children","i"],"mappings":"aAAA,SAAAA,EAAwBC,EAAU,CAEzB,QADHC,EAAO,KAAMC,EAAQ,CAACD,CAAI,EAAGE,EAAUC,EACpCH,EAAOC,EAAM,OAEd,GADKF,EAAAC,CAAI,EAAGE,EAAWF,EAAK,SAC5BE,EAAU,IAAKC,EAAID,EAAS,OAAS,EAAGC,GAAK,EAAG,EAAEA,EAC9CF,EAAA,KAAKC,EAASC,CAAC,CAAC,EAGnB,OAAA,IACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs199.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/eachAfter.js"],"sourcesContent":["export default function(callback) {\n var node = this, nodes = [node], next = [], children, i, n;\n while (node = nodes.pop()) {\n next.push(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n nodes.push(children[i]);\n }\n }\n while (node = next.pop()) {\n callback(node);\n }\n return this;\n}\n"],"names":["node_eachAfter","callback","node","nodes","next","children","i","n"],"mappings":"aAAA,SAAAA,EAAwBC,EAAU,CAEzB,QADHC,EAAO,KAAMC,EAAQ,CAACD,CAAI,EAAGE,EAAO,CAAI,EAAAC,EAAUC,EAAGC,EAClDL,EAAOC,EAAM,OAEd,GADJC,EAAK,KAAKF,CAAI,EAAGG,EAAWH,EAAK,SAC7BG,EAAe,IAAAC,EAAI,EAAGC,EAAIF,EAAS,OAAQC,EAAIC,EAAG,EAAED,EAChDH,EAAA,KAAKE,EAASC,CAAC,CAAC,EAGnB,KAAAJ,EAAOE,EAAK,OACjBH,EAASC,CAAI,EAER,OAAA,IACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs199.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/eachAfter.js"],"sourcesContent":["export default function(callback) {\n var node = this, nodes = [node], next = [], children, i, n;\n while (node = nodes.pop()) {\n next.push(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n nodes.push(children[i]);\n }\n }\n while (node = next.pop()) {\n callback(node);\n }\n return this;\n}\n"],"names":["node_eachAfter","callback","node","nodes","next","children","i","n"],"mappings":"aAAA,SAAAA,EAAwBC,EAAU,CAEzB,QADHC,EAAO,KAAMC,EAAQ,CAACD,CAAI,EAAGE,EAAO,GAAIC,EAAUC,EAAGC,EAClDL,EAAOC,EAAM,OAEd,GADJC,EAAK,KAAKF,CAAI,EAAGG,EAAWH,EAAK,SAC7BG,EAAe,IAAAC,EAAI,EAAGC,EAAIF,EAAS,OAAQC,EAAIC,EAAG,EAAED,EAChDH,EAAA,KAAKE,EAASC,CAAC,CAAC,EAGnB,KAAAJ,EAAOE,EAAK,OACjBH,EAASC,CAAI,EAER,OAAA,IACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs4.js"),o=require("react"),u=require("./index.cjs5.js");require("./index.cjs6.js");require("./index.cjs7.js");require("./index.cjs8.js");require("./index.cjs9.js");require("./index.cjs10.js");require("./index.cjs11.js");require("./index.cjs12.js");require("./index.cjs13.js");require("./index.cjs14.js");require("./index.cjs15.js");require("./index.cjs16.js");require("./index.cjs17.js");require("./index.cjs18.js");require("./index.cjs19.js");require("./index.cjs20.js");require("./index.cjs21.js");require("./index.cjs22.js");require("./index.cjs23.js");require("./index.cjs24.js");require("./index.cjs25.js");require("./index.cjs26.js");require("./index.cjs27.js");require("./index.cjs28.js");require("./index.cjs29.js");require("./index.cjs30.js");require("./index.cjs31.js");require("./index.cjs32.js");const C=require("./index.cjs3.js");;/* empty css */const E=require("./index.cjs34.js"),x=require("./index.cjs35.js"),N=require("./index.cjs36.js"),H=require("./index.cjs37.js"),W=require("./index.cjs38.js"),P=require("./index.cjs39.js"),w=require("./index.cjs40.js"),A=require("./index.cjs41.js"),B=require("./index.cjs42.js"),G=require("./index.cjs43.js"),M=require("./index.cjs44.js"),S=require("./index.cjs45.js"),V=require("./index.cjs46.js"),O=require("./index.cjs47.js"),D=require("./index.cjs48.js"),F=require("./index.cjs49.js"),Z=require("./index.cjs50.js"),q={cartesian:"cartesian",polar:"polar"},a={curve:"curve",line:"line",step:"step"},m={horizontal:"horizontal",vertical:"vertical"},L=e=>{const g=o.useRef(),s=e.parentWidth-e.margin.left-e.margin.right,c=e.parentHeight-e.margin.top-e.margin.bottom,R=o.useMemo(()=>{let t;return e.layout===q.polar?e.linkType===a.step?t=P.default:e.linkType===a.curve?t=w.default:e.linkType===a.line?t=A.default:t=B.default:e.orientation===m.vertical?e.linkType===a.step?t=G.default:e.linkType===a.curve?t=M.default:e.linkType===a.line?t=S.default:t=V.default:e.linkType===a.step?t=O.default:e.linkType===a.curve?t=D.default:e.linkType===a.line?t=F.default:t=Z.default,t},[e.layout,e.linkType,e.orientation]),k=o.useCallback((t,n)=>{let i=n;return t.isExpanded&&(i=u.max(u.map(t.children,r=>k(r,n+1)))),i},[]),v=o.useCallback((t,n)=>{let i,r;if(e.layout===q.polar){const[f,h]=W(t,n);i=h,r=f}else e.orientation===m.vertical?(i=n,r=t):(i=t,r=n);return{top:i,left:r}},[e.layout,e.orientation]),d=o.useMemo(()=>{let t,n,i;const r=k(e.data,1);return e.layout===q.polar?(i={x:s/2,y:c/2},t=2*Math.PI,n=Math.min(s,c)/2*(r/2)):(i={x:0,y:0},e.orientation===m.vertical?(t=s,n=c):(t=c,n=s)),{sizeWidth:t,sizeHeight:n,origin:i}},[k,c,s,e.data,e.layout,e.orientation]),y=o.useCallback(t=>l.jsxRuntimeExports.jsx("foreignObject",{children:e.renderNode(t.data)}),[e.renderNode]),z=o.useCallback((t,n)=>{const{top:i,left:r}=v(t.x,t.y);return l.jsxRuntimeExports.jsx(x,{nodeleft:r,nodetop:i,top:i,left:r,children:y(t)},n)},[y,e.layout,e.orientation,e.linkType]);return o.useEffect(()=>{const{current:t}=g;if(t){const n=t.getElementsByTagName("g");u.each(n,i=>{const r=u.first(i.getElementsByTagName("foreignObject"));if(r&&r.firstChild){const{offsetWidth:f,offsetHeight:h}=r.firstChild;r.setAttribute("width",f),r.setAttribute("height",h);const j=parseFloat(i.getAttribute("nodeleft")),T=parseFloat(i.getAttribute("nodetop"));if(!u.isNaN(j)&&!u.isNaN(T)){const b=`translate(${j-f/2}, ${T-h/2})`;i.setAttribute("transform",b)}}})}},[e.data,e.layout,e.orientation,e.linkType]),l.jsxRuntimeExports.jsx("div",{className:"tree-graph",style:{display:"flex",flexGrow:"1"},children:l.jsxRuntimeExports.jsxs("svg",{width:e.parentWidth,height:e.parentHeight-e.offset,ref:e.zoom.containerRef,children:[e.renderZoomContainer(),l.jsxRuntimeExports.jsx(x,{top:e.margin.top,left:e.margin.left,transform:e.zoom.toString(),children:l.jsxRuntimeExports.jsx(N,{root:H.default(e.data,t=>t.isExpanded?t.children:null),size:[d.sizeWidth,d.sizeHeight],separation:(t,n)=>(t.parent===n.parent?1:2)/t.depth,children:t=>l.jsxRuntimeExports.jsxs(x,{innerRef:g,left:d.origin.x,top:d.origin.y,children:[t.links().map((n,i)=>l.jsxRuntimeExports.jsx(R,{data:n,percent:e.stepPercent,stroke:e.linkColor,strokeWidth:e.linkWidth,fill:"none"},i)),u.map(t.descendants(),z)]})})})]})})};L.defaultProps={layout:q.cartesian,linkColor:"#B2B09B",linkType:a.line,linkWidth:1,margin:{top:30,left:30,right:30,bottom:70},offset:0,orientation:m.horizontal,stepPercent:.5};const $=E(C(L));module.exports=$;
1
+ "use strict";const l=require("./index.cjs4.js"),o=require("react"),u=require("./index.cjs5.js");require("./index.cjs6.js");require("./index.cjs7.js");require("./index.cjs8.js");require("./index.cjs9.js");require("./index.cjs10.js");require("./index.cjs11.js");require("./index.cjs12.js");require("./index.cjs13.js");require("./index.cjs14.js");require("./index.cjs15.js");require("./index.cjs16.js");require("./index.cjs17.js");require("./index.cjs18.js");require("./index.cjs19.js");require("./index.cjs20.js");require("./index.cjs21.js");require("./index.cjs22.js");require("./index.cjs23.js");require("./index.cjs24.js");require("./index.cjs25.js");require("./index.cjs26.js");require("./index.cjs27.js");require("./index.cjs28.js");require("./index.cjs29.js");require("./index.cjs30.js");require("./index.cjs31.js");require("./index.cjs32.js");const C=require("./index.cjs3.js");require("./index.cjs33.js");const E=require("./index.cjs34.js"),x=require("./index.cjs35.js"),N=require("./index.cjs36.js"),H=require("./index.cjs37.js"),W=require("./index.cjs38.js"),P=require("./index.cjs39.js"),w=require("./index.cjs40.js"),A=require("./index.cjs41.js"),B=require("./index.cjs42.js"),G=require("./index.cjs43.js"),M=require("./index.cjs44.js"),S=require("./index.cjs45.js"),V=require("./index.cjs46.js"),O=require("./index.cjs47.js"),D=require("./index.cjs48.js"),F=require("./index.cjs49.js"),Z=require("./index.cjs50.js"),q={cartesian:"cartesian",polar:"polar"},a={curve:"curve",line:"line",step:"step"},m={horizontal:"horizontal",vertical:"vertical"},L=e=>{const g=o.useRef(),s=e.parentWidth-e.margin.left-e.margin.right,c=e.parentHeight-e.margin.top-e.margin.bottom,R=o.useMemo(()=>{let t;return e.layout===q.polar?e.linkType===a.step?t=W.default:e.linkType===a.curve?t=P.default:e.linkType===a.line?t=w.default:t=A.default:e.orientation===m.vertical?e.linkType===a.step?t=B.default:e.linkType===a.curve?t=G.default:e.linkType===a.line?t=M.default:t=S.default:e.linkType===a.step?t=V.default:e.linkType===a.curve?t=O.default:e.linkType===a.line?t=D.default:t=F.default,t},[e.layout,e.linkType,e.orientation]),k=o.useCallback((t,n)=>{let i=n;return t.isExpanded&&(i=u.max(u.map(t.children,r=>k(r,n+1)))),i},[]),v=o.useCallback((t,n)=>{let i,r;if(e.layout===q.polar){const[f,h]=Z(t,n);i=h,r=f}else e.orientation===m.vertical?(i=n,r=t):(i=t,r=n);return{top:i,left:r}},[e.layout,e.orientation]),d=o.useMemo(()=>{let t,n,i;const r=k(e.data,1);return e.layout===q.polar?(i={x:s/2,y:c/2},t=2*Math.PI,n=Math.min(s,c)/2*(r/2)):(i={x:0,y:0},e.orientation===m.vertical?(t=s,n=c):(t=c,n=s)),{sizeWidth:t,sizeHeight:n,origin:i}},[k,c,s,e.data,e.layout,e.orientation]),y=o.useCallback(t=>l.jsxRuntimeExports.jsx("foreignObject",{children:e.renderNode(t.data)}),[e.renderNode]),z=o.useCallback((t,n)=>{const{top:i,left:r}=v(t.x,t.y);return l.jsxRuntimeExports.jsx(x,{nodeleft:r,nodetop:i,top:i,left:r,children:y(t)},n)},[y,e.layout,e.orientation,e.linkType]);return o.useEffect(()=>{const{current:t}=g;if(t){const n=t.getElementsByTagName("g");u.each(n,i=>{const r=u.first(i.getElementsByTagName("foreignObject"));if(r&&r.firstChild){const{offsetWidth:f,offsetHeight:h}=r.firstChild;r.setAttribute("width",f),r.setAttribute("height",h);const j=parseFloat(i.getAttribute("nodeleft")),T=parseFloat(i.getAttribute("nodetop"));if(!u.isNaN(j)&&!u.isNaN(T)){const b=`translate(${j-f/2}, ${T-h/2})`;i.setAttribute("transform",b)}}})}},[e.data,e.layout,e.orientation,e.linkType]),l.jsxRuntimeExports.jsx("div",{className:"tree-graph",style:{display:"flex",flexGrow:"1"},children:l.jsxRuntimeExports.jsxs("svg",{width:e.parentWidth,height:e.parentHeight-e.offset,ref:e.zoom.containerRef,children:[e.renderZoomContainer(),l.jsxRuntimeExports.jsx(x,{top:e.margin.top,left:e.margin.left,transform:e.zoom.toString(),children:l.jsxRuntimeExports.jsx(N,{root:H.default(e.data,t=>t.isExpanded?t.children:null),size:[d.sizeWidth,d.sizeHeight],separation:(t,n)=>(t.parent===n.parent?1:2)/t.depth,children:t=>l.jsxRuntimeExports.jsxs(x,{innerRef:g,left:d.origin.x,top:d.origin.y,children:[t.links().map((n,i)=>l.jsxRuntimeExports.jsx(R,{data:n,percent:e.stepPercent,stroke:e.linkColor,strokeWidth:e.linkWidth,fill:"none"},i)),u.map(t.descendants(),z)]})})})]})})};L.defaultProps={layout:q.cartesian,linkColor:"#B2B09B",linkType:a.line,linkWidth:1,margin:{top:30,left:30,right:30,bottom:70},offset:0,orientation:m.horizontal,stepPercent:.5};const $=E(C(L));module.exports=$;
2
2
  //# sourceMappingURL=index.cjs2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs2.js","sources":["../src/components/TreeGraph.js"],"sourcesContent":["// @flow\n\nimport { Group } from '@visx/group';\nimport { hierarchy, Tree } from '@visx/hierarchy';\nimport { withParentSize } from '@visx/responsive';\nimport {\n LinkHorizontal,\n LinkHorizontalCurve,\n LinkHorizontalLine,\n LinkHorizontalStep,\n LinkRadial,\n LinkRadialCurve,\n LinkRadialLine,\n LinkRadialStep,\n LinkVertical,\n LinkVerticalCurve,\n LinkVerticalLine,\n LinkVerticalStep\n} from '@visx/shape';\nimport { pointRadial } from 'd3-shape';\nimport React, {\n useCallback,\n useEffect,\n useMemo,\n useRef,\n type ComponentType,\n type Element\n} from 'react';\nimport _ from 'underscore';\nimport withZoom, { type ZoomProps } from '../hooks/Zoom';\nimport './TreeGraph.css';\n\ntype Props = ZoomProps & {\n data: any,\n layout: string,\n linkType: string,\n offset: number,\n orientation: string,\n parentHeight: number,\n parentWidth: number,\n linkColor: string,\n linkWidth: number,\n margin: {\n top: number,\n right: number,\n bottom: number,\n left: number\n },\n renderNode?: (data: any) => Element<any>,\n stepPercent: number\n};\n\nconst Layout = {\n cartesian: 'cartesian',\n polar: 'polar'\n};\n\nconst LinkType = {\n curve: 'curve',\n line: 'line',\n step: 'step'\n};\n\nconst Orientation = {\n horizontal: 'horizontal',\n vertical: 'vertical'\n};\n\nconst TreeGraph = (props: Props) => {\n const ref = useRef();\n\n const innerWidth = props.parentWidth - props.margin.left - props.margin.right;\n const innerHeight = props.parentHeight - props.margin.top - props.margin.bottom;\n\n /**\n * Sets the link component based on the layout, linkType, and orientation props.\n *\n * @type {*}\n */\n const LinkComponent = useMemo(() => {\n let value;\n\n if (props.layout === Layout.polar) {\n if (props.linkType === LinkType.step) {\n value = LinkRadialStep;\n } else if (props.linkType === LinkType.curve) {\n value = LinkRadialCurve;\n } else if (props.linkType === LinkType.line) {\n value = LinkRadialLine;\n } else {\n value = LinkRadial;\n }\n } else if (props.orientation === Orientation.vertical) {\n if (props.linkType === LinkType.step) {\n value = LinkVerticalStep;\n } else if (props.linkType === LinkType.curve) {\n value = LinkVerticalCurve;\n } else if (props.linkType === LinkType.line) {\n value = LinkVerticalLine;\n } else {\n value = LinkVertical;\n }\n } else if (props.linkType === LinkType.step) {\n value = LinkHorizontalStep;\n } else if (props.linkType === LinkType.curve) {\n value = LinkHorizontalCurve;\n } else if (props.linkType === LinkType.line) {\n value = LinkHorizontalLine;\n } else {\n value = LinkHorizontal;\n }\n\n return value;\n }, [props.layout, props.linkType, props.orientation]);\n\n /**\n * Returns the depth of the last expanded node.\n *\n * @type {function(*, *): *}\n */\n const getMaxDepth = useCallback((node, depth) => {\n let max = depth;\n\n if (node.isExpanded) {\n max = _.max(_.map(node.children, (child) => getMaxDepth(child, depth + 1)));\n }\n\n return max;\n }, []);\n\n /**\n * Returns the node position for the passed coordinates.\n *\n * @type {function(*, *): {top: *, left: *}}\n */\n const getNodePosition = useCallback((x, y) => {\n let top;\n let left;\n\n if (props.layout === Layout.polar) {\n const [radialX, radialY] = pointRadial(x, y);\n top = radialY;\n left = radialX;\n } else if (props.orientation === Orientation.vertical) {\n top = y;\n left = x;\n } else {\n top = x;\n left = y;\n }\n\n return {\n top,\n left\n };\n }, [props.layout, props.orientation]);\n\n /**\n * Returns the position and size of the root node.\n *\n * @type {{sizeWidth: *, origin: *, sizeHeight: *}}\n */\n const root = useMemo(() => {\n let sizeWidth;\n let sizeHeight;\n let origin;\n\n const depth = getMaxDepth(props.data, 1);\n\n if (props.layout === Layout.polar) {\n origin = {\n x: innerWidth / 2,\n y: innerHeight / 2,\n };\n sizeWidth = 2 * Math.PI;\n sizeHeight = (Math.min(innerWidth, innerHeight) / 2) * (depth / 2);\n } else {\n origin = { x: 0, y: 0 };\n if (props.orientation === Orientation.vertical) {\n sizeWidth = innerWidth;\n sizeHeight = innerHeight;\n } else {\n sizeWidth = innerHeight;\n sizeHeight = innerWidth;\n }\n }\n\n return {\n sizeWidth,\n sizeHeight,\n origin\n };\n }, [getMaxDepth, innerHeight, innerWidth, props.data, props.layout, props.orientation]);\n\n const renderNode = useCallback((node) => (\n <foreignObject>\n { props.renderNode(node.data) }\n </foreignObject>\n ), [props.renderNode]);\n\n /**\n * Renders the group element for the passed node.\n *\n * @type {unknown}\n */\n const renderGroup = useCallback((node, key) => {\n const { top, left } = getNodePosition(node.x, node.y);\n\n return (\n <Group\n nodeleft={left}\n nodetop={top}\n top={top}\n left={left}\n key={key}\n >\n { renderNode(node) }\n </Group>\n );\n }, [renderNode, props.layout, props.orientation, props.linkType]);\n\n /**\n * Resizes the \"circle\" and \"rect\" elements based on the text contained in the group. This effect will also\n * convert text into multiple lines.\n */\n useEffect(() => {\n const { current } = ref;\n if (current) {\n const groups = current.getElementsByTagName('g');\n _.each(groups, (group) => {\n const object = _.first(group.getElementsByTagName('foreignObject'));\n if (object && object.firstChild) {\n const { offsetWidth: width, offsetHeight: height } = object.firstChild;\n\n // Set the width and height of the foreignObject element\n object.setAttribute('width', width);\n object.setAttribute('height', height);\n\n // Transform the position of the group element based on the width and height of the contents\n const leftPosition = parseFloat(group.getAttribute('nodeleft'));\n const topPosition = parseFloat(group.getAttribute('nodetop'));\n\n if (!_.isNaN(leftPosition) && !_.isNaN(topPosition)) {\n const transform = `translate(${leftPosition - (width / 2.0)}, ${topPosition - (height / 2.0)})`;\n group.setAttribute('transform', transform);\n }\n }\n });\n }\n }, [props.data, props.layout, props.orientation, props.linkType]);\n\n return (\n <div\n className='tree-graph'\n style={{\n display: 'flex',\n flexGrow: '1'\n }}\n >\n <svg\n width={props.parentWidth}\n height={props.parentHeight - props.offset}\n ref={props.zoom.containerRef}\n >\n { props.renderZoomContainer() }\n <Group\n top={props.margin.top}\n left={props.margin.left}\n transform={props.zoom.toString()}\n >\n <Tree\n root={hierarchy(props.data, (d) => (d.isExpanded ? d.children : null))}\n size={[root.sizeWidth, root.sizeHeight]}\n separation={(a, b) => (a.parent === b.parent ? 1 : 2) / a.depth}\n >\n { (tree) => (\n <Group\n innerRef={ref}\n left={root.origin.x}\n top={root.origin.y}\n >\n { tree.links().map((link, i) => (\n <LinkComponent\n key={i}\n data={link}\n percent={props.stepPercent}\n stroke={props.linkColor}\n strokeWidth={props.linkWidth}\n fill='none'\n />\n ))}\n { _.map(tree.descendants(), renderGroup) }\n </Group>\n )}\n </Tree>\n </Group>\n </svg>\n </div>\n );\n};\n\nTreeGraph.defaultProps = {\n layout: Layout.cartesian,\n linkColor: '#B2B09B',\n linkType: LinkType.line,\n linkWidth: 1,\n margin: {\n top: 30,\n left: 30,\n right: 30,\n bottom: 70\n },\n offset: 0,\n orientation: Orientation.horizontal,\n stepPercent: 0.5\n};\n\nconst TreeGraphComponent: ComponentType<any> = withParentSize(withZoom(TreeGraph));\nexport default TreeGraphComponent;\n"],"names":["Layout","LinkType","Orientation","TreeGraph","props","ref","useRef","innerWidth","innerHeight","LinkComponent","useMemo","value","LinkRadialStep","LinkRadialCurve","LinkRadialLine","LinkRadial","LinkVerticalStep","LinkVerticalCurve","LinkVerticalLine","LinkVertical","LinkHorizontalStep","LinkHorizontalCurve","LinkHorizontalLine","LinkHorizontal","getMaxDepth","useCallback","node","depth","max","_","child","getNodePosition","x","y","top","left","radialX","radialY","pointRadial","root","sizeWidth","sizeHeight","origin","renderNode","renderGroup","key","jsx","Group","useEffect","current","groups","group","object","width","height","leftPosition","topPosition","transform","jsxs","Tree","hierarchy","d","a","b","tree","link","TreeGraphComponent","withParentSize","withZoom"],"mappings":"m5CAoDMA,EAAS,CACb,UAAW,YACX,MAAO,OACT,EAEMC,EAAW,CACf,MAAO,QACP,KAAM,OACN,KAAM,MACR,EAEMC,EAAc,CAClB,WAAY,aACZ,SAAU,UACZ,EAEMC,EAAaC,GAAiB,CAClC,MAAMC,EAAMC,EAAAA,OAAO,EAEbC,EAAaH,EAAM,YAAcA,EAAM,OAAO,KAAOA,EAAM,OAAO,MAClEI,EAAcJ,EAAM,aAAeA,EAAM,OAAO,IAAMA,EAAM,OAAO,OAOnEK,EAAgBC,EAAAA,QAAQ,IAAM,CAC9B,IAAAC,EAEA,OAAAP,EAAM,SAAWJ,EAAO,MACtBI,EAAM,WAAaH,EAAS,KACtBU,EAAAC,EAAA,QACCR,EAAM,WAAaH,EAAS,MAC7BU,EAAAE,EAAA,QACCT,EAAM,WAAaH,EAAS,KAC7BU,EAAAG,EAAA,QAEAH,EAAAI,EAAA,QAEDX,EAAM,cAAgBF,EAAY,SACvCE,EAAM,WAAaH,EAAS,KACtBU,EAAAK,EAAA,QACCZ,EAAM,WAAaH,EAAS,MAC7BU,EAAAM,EAAA,QACCb,EAAM,WAAaH,EAAS,KAC7BU,EAAAO,EAAA,QAEAP,EAAAQ,EAAA,QAEDf,EAAM,WAAaH,EAAS,KAC7BU,EAAAS,EAAA,QACChB,EAAM,WAAaH,EA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Q,EACV,EACA,OAAQ,EACR,YAAaC,EAAY,WACzB,YAAa,EACf,EAEA,MAAMgE,EAAyCC,EAAeC,EAASjE,CAAS,CAAC"}
1
+ {"version":3,"file":"index.cjs2.js","sources":["../src/components/TreeGraph.js"],"sourcesContent":["// @flow\n\nimport { Group } from '@visx/group';\nimport { hierarchy, Tree } from '@visx/hierarchy';\nimport { withParentSize } from '@visx/responsive';\nimport {\n LinkHorizontal,\n LinkHorizontalCurve,\n LinkHorizontalLine,\n LinkHorizontalStep,\n LinkRadial,\n LinkRadialCurve,\n LinkRadialLine,\n LinkRadialStep,\n LinkVertical,\n LinkVerticalCurve,\n LinkVerticalLine,\n LinkVerticalStep\n} from '@visx/shape';\nimport { pointRadial } from 'd3-shape';\nimport React, {\n useCallback,\n useEffect,\n useMemo,\n useRef,\n type ComponentType,\n type Element\n} from 'react';\nimport _ from 'underscore';\nimport withZoom, { type ZoomProps } from '../hooks/Zoom';\nimport './TreeGraph.css';\n\ntype Props = ZoomProps & {\n data: any,\n layout: string,\n linkType: string,\n offset: number,\n orientation: string,\n parentHeight: number,\n parentWidth: number,\n linkColor: string,\n linkWidth: number,\n margin: {\n top: number,\n right: number,\n bottom: number,\n left: number\n },\n renderNode?: (data: any) => Element<any>,\n stepPercent: number\n};\n\nconst Layout = {\n cartesian: 'cartesian',\n polar: 'polar'\n};\n\nconst LinkType = {\n curve: 'curve',\n line: 'line',\n step: 'step'\n};\n\nconst Orientation = {\n horizontal: 'horizontal',\n vertical: 'vertical'\n};\n\nconst TreeGraph = (props: Props) => {\n const ref = useRef();\n\n const innerWidth = props.parentWidth - props.margin.left - props.margin.right;\n const innerHeight = props.parentHeight - props.margin.top - props.margin.bottom;\n\n /**\n * Sets the link component based on the layout, linkType, and orientation props.\n *\n * @type {*}\n */\n const LinkComponent = useMemo(() => {\n let value;\n\n if (props.layout === Layout.polar) {\n if (props.linkType === LinkType.step) {\n value = LinkRadialStep;\n } else if (props.linkType === LinkType.curve) {\n value = LinkRadialCurve;\n } else if (props.linkType === LinkType.line) {\n value = LinkRadialLine;\n } else {\n value = LinkRadial;\n }\n } else if (props.orientation === Orientation.vertical) {\n if (props.linkType === LinkType.step) {\n value = LinkVerticalStep;\n } else if (props.linkType === LinkType.curve) {\n value = LinkVerticalCurve;\n } else if (props.linkType === LinkType.line) {\n value = LinkVerticalLine;\n } else {\n value = LinkVertical;\n }\n } else if (props.linkType === LinkType.step) {\n value = LinkHorizontalStep;\n } else if (props.linkType === LinkType.curve) {\n value = LinkHorizontalCurve;\n } else if (props.linkType === LinkType.line) {\n value = LinkHorizontalLine;\n } else {\n value = LinkHorizontal;\n }\n\n return value;\n }, [props.layout, props.linkType, props.orientation]);\n\n /**\n * Returns the depth of the last expanded node.\n *\n * @type {function(*, *): *}\n */\n const getMaxDepth = useCallback((node, depth) => {\n let max = depth;\n\n if (node.isExpanded) {\n max = _.max(_.map(node.children, (child) => getMaxDepth(child, depth + 1)));\n }\n\n return max;\n }, []);\n\n /**\n * Returns the node position for the passed coordinates.\n *\n * @type {function(*, *): {top: *, left: *}}\n */\n const getNodePosition = useCallback((x, y) => {\n let top;\n let left;\n\n if (props.layout === Layout.polar) {\n const [radialX, radialY] = pointRadial(x, y);\n top = radialY;\n left = radialX;\n } else if (props.orientation === Orientation.vertical) {\n top = y;\n left = x;\n } else {\n top = x;\n left = y;\n }\n\n return {\n top,\n left\n };\n }, [props.layout, props.orientation]);\n\n /**\n * Returns the position and size of the root node.\n *\n * @type {{sizeWidth: *, origin: *, sizeHeight: *}}\n */\n const root = useMemo(() => {\n let sizeWidth;\n let sizeHeight;\n let origin;\n\n const depth = getMaxDepth(props.data, 1);\n\n if (props.layout === Layout.polar) {\n origin = {\n x: innerWidth / 2,\n y: innerHeight / 2,\n };\n sizeWidth = 2 * Math.PI;\n sizeHeight = (Math.min(innerWidth, innerHeight) / 2) * (depth / 2);\n } else {\n origin = { x: 0, y: 0 };\n if (props.orientation === Orientation.vertical) {\n sizeWidth = innerWidth;\n sizeHeight = innerHeight;\n } else {\n sizeWidth = innerHeight;\n sizeHeight = innerWidth;\n }\n }\n\n return {\n sizeWidth,\n sizeHeight,\n origin\n };\n }, [getMaxDepth, innerHeight, innerWidth, props.data, props.layout, props.orientation]);\n\n const renderNode = useCallback((node) => (\n <foreignObject>\n { props.renderNode(node.data) }\n </foreignObject>\n ), [props.renderNode]);\n\n /**\n * Renders the group element for the passed node.\n *\n * @type {unknown}\n */\n const renderGroup = useCallback((node, key) => {\n const { top, left } = getNodePosition(node.x, node.y);\n\n return (\n <Group\n nodeleft={left}\n nodetop={top}\n top={top}\n left={left}\n key={key}\n >\n { renderNode(node) }\n </Group>\n );\n }, [renderNode, props.layout, props.orientation, props.linkType]);\n\n /**\n * Resizes the \"circle\" and \"rect\" elements based on the text contained in the group. This effect will also\n * convert text into multiple lines.\n */\n useEffect(() => {\n const { current } = ref;\n if (current) {\n const groups = current.getElementsByTagName('g');\n _.each(groups, (group) => {\n const object = _.first(group.getElementsByTagName('foreignObject'));\n if (object && object.firstChild) {\n const { offsetWidth: width, offsetHeight: height } = object.firstChild;\n\n // Set the width and height of the foreignObject element\n object.setAttribute('width', width);\n object.setAttribute('height', height);\n\n // Transform the position of the group element based on the width and height of the contents\n const leftPosition = parseFloat(group.getAttribute('nodeleft'));\n const topPosition = parseFloat(group.getAttribute('nodetop'));\n\n if (!_.isNaN(leftPosition) && !_.isNaN(topPosition)) {\n const transform = `translate(${leftPosition - (width / 2.0)}, ${topPosition - (height / 2.0)})`;\n group.setAttribute('transform', transform);\n }\n }\n });\n }\n }, [props.data, props.layout, props.orientation, props.linkType]);\n\n return (\n <div\n className='tree-graph'\n style={{\n display: 'flex',\n flexGrow: '1'\n }}\n >\n <svg\n width={props.parentWidth}\n height={props.parentHeight - props.offset}\n ref={props.zoom.containerRef}\n >\n { props.renderZoomContainer() }\n <Group\n top={props.margin.top}\n left={props.margin.left}\n transform={props.zoom.toString()}\n >\n <Tree\n root={hierarchy(props.data, (d) => (d.isExpanded ? d.children : null))}\n size={[root.sizeWidth, root.sizeHeight]}\n separation={(a, b) => (a.parent === b.parent ? 1 : 2) / a.depth}\n >\n { (tree) => (\n <Group\n innerRef={ref}\n left={root.origin.x}\n top={root.origin.y}\n >\n { tree.links().map((link, i) => (\n <LinkComponent\n key={i}\n data={link}\n percent={props.stepPercent}\n stroke={props.linkColor}\n strokeWidth={props.linkWidth}\n fill='none'\n />\n ))}\n { _.map(tree.descendants(), renderGroup) }\n </Group>\n )}\n </Tree>\n </Group>\n </svg>\n </div>\n );\n};\n\nTreeGraph.defaultProps = {\n layout: Layout.cartesian,\n linkColor: '#B2B09B',\n linkType: LinkType.line,\n linkWidth: 1,\n margin: {\n top: 30,\n left: 30,\n right: 30,\n bottom: 70\n },\n offset: 0,\n orientation: Orientation.horizontal,\n stepPercent: 0.5\n};\n\nconst TreeGraphComponent: ComponentType<any> = withParentSize(withZoom(TreeGraph));\nexport default TreeGraphComponent;\n"],"names":["Layout","LinkType","Orientation","TreeGraph","props","ref","useRef","innerWidth","innerHeight","LinkComponent","useMemo","value","LinkRadialStep","LinkRadialCurve","LinkRadialLine","LinkRadial","LinkVerticalStep","LinkVerticalCurve","LinkVerticalLine","LinkVertical","LinkHorizontalStep","LinkHorizontalCurve","LinkHorizontalLine","LinkHorizontal","getMaxDepth","useCallback","node","depth","max","_","child","getNodePosition","x","y","top","left","radialX","radialY","pointRadial","root","sizeWidth","sizeHeight","origin","renderNode","renderGroup","key","jsx","Group","useEffect","current","groups","group","object","width","height","leftPosition","topPosition","transform","jsxs","Tree","hierarchy","d","a","b","tree","link","TreeGraphComponent","withParentSize","withZoom"],"mappings":"m5CAoDMA,EAAS,CACb,UAAW,YACX,MAAO,OACT,EAEMC,EAAW,CACf,MAAO,QACP,KAAM,OACN,KAAM,MACR,EAEMC,EAAc,CAClB,WAAY,aACZ,SAAU,UACZ,EAEMC,EAAaC,GAAiB,CAClC,MAAMC,EAAMC,EAAAA,SAENC,EAAaH,EAAM,YAAcA,EAAM,OAAO,KA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EAAGC,KAAOD,EAAE,SAAWC,EAAE,OAAS,EAAI,GAAKD,EAAE,MAExD,SAACE,GACDN,EAAA,kBAAA,KAACX,EAAA,CACC,SAAU1C,EACV,KAAMkC,EAAK,OAAO,EAClB,IAAKA,EAAK,OAAO,EAEf,SAAA,CAAAyB,EAAK,MAAM,EAAE,IAAI,CAACC,EAAM,IACxBnB,EAAA,kBAAA,IAACrC,EAAA,CAEC,KAAMwD,EACN,QAAS7D,EAAM,YACf,OAAQA,EAAM,UACd,YAAaA,EAAM,UACnB,KAAK,MAAA,EALA,CAAA,CAOR,EACCyB,EAAE,IAAImC,EAAK,YAAA,EAAepB,CAAW,CAAA,CAAA,CACzC,CAAA,CAEJ,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CAGN,EAEAzC,EAAU,aAAe,CACvB,OAAQH,EAAO,UACf,UAAW,UACX,SAAUC,EAAS,KACnB,UAAW,EACX,OAAQ,CACN,IAAK,GACL,KAAM,GACN,MAAO,GACP,OAAQ,EACV,EACA,OAAQ,EACR,YAAaC,EAAY,WACzB,YAAa,EACf,EAEA,MAAMgE,EAAyCC,EAAeC,EAASjE,CAAS,CAAC"}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs77.js"),i=require("./index.cjs7.js"),c=require("./index.cjs225.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
1
+ "use strict";const e=require("./index.cjs85.js"),i=require("./index.cjs7.js"),c=require("./index.cjs230.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
2
2
  //# sourceMappingURL=index.cjs20.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs20.js","sources":["../../../node_modules/underscore/modules/bind.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport executeBound from './_executeBound.js';\n\n// Create a function bound to a given object (assigning `this`, and arguments,\n// optionally).\nexport default restArguments(function(func, context, args) {\n if (!isFunction(func)) throw new TypeError('Bind must be called on a function');\n var bound = restArguments(function(callArgs) {\n return executeBound(func, bound, context, this, args.concat(callArgs));\n });\n return bound;\n});\n"],"names":["bind","restArguments","func","context","args","isFunction","bound","callArgs","executeBound"],"mappings":"6GAMeA,EAAAC,EAAc,SAASC,EAAMC,EAASC,EAAM,CACzD,GAAI,CAACC,EAAWH,CAAI,EAAS,MAAA,IAAI,UAAU,mCAAmC,EAC1E,IAAAI,EAAQL,EAAc,SAASM,EAAU,CACpC,OAAAC,EAAaN,EAAMI,EAAOH,EAAS,KAAMC,EAAK,OAAOG,CAAQ,CAAC,CAAA,CACtE,EACM,OAAAD,CACT,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs20.js","sources":["../../../node_modules/underscore/modules/bind.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport executeBound from './_executeBound.js';\n\n// Create a function bound to a given object (assigning `this`, and arguments,\n// optionally).\nexport default restArguments(function(func, context, args) {\n if (!isFunction(func)) throw new TypeError('Bind must be called on a function');\n var bound = restArguments(function(callArgs) {\n return executeBound(func, bound, context, this, args.concat(callArgs));\n });\n return bound;\n});\n"],"names":["bind","restArguments","func","context","args","isFunction","bound","callArgs","executeBound"],"mappings":"6GAMeA,EAAAC,EAAc,SAASC,EAAMC,EAASC,EAAM,CACrD,GAAA,CAACC,EAAWH,CAAI,EAAS,MAAA,IAAI,UAAU,mCAAmC,EAC1E,IAAAI,EAAQL,EAAc,SAASM,EAAU,CACpC,OAAAC,EAAaN,EAAMI,EAAOH,EAAS,KAAMC,EAAK,OAAOG,CAAQ,CAAC,CAAA,CACtE,EACM,OAAAD,CACT,CAAC","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs202.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/path.js"],"sourcesContent":["export default function(end) {\n var start = this,\n ancestor = leastCommonAncestor(start, end),\n nodes = [start];\n while (start !== ancestor) {\n start = start.parent;\n nodes.push(start);\n }\n var k = nodes.length;\n while (end !== ancestor) {\n nodes.splice(k, 0, end);\n end = end.parent;\n }\n return nodes;\n}\n\nfunction leastCommonAncestor(a, b) {\n if (a === b) return a;\n var aNodes = a.ancestors(),\n bNodes = b.ancestors(),\n c = null;\n a = aNodes.pop();\n b = bNodes.pop();\n while (a === b) {\n c = a;\n a = aNodes.pop();\n b = bNodes.pop();\n }\n return c;\n}\n"],"names":["node_path","end","start","ancestor","leastCommonAncestor","nodes","k","a","b","aNodes","bNodes","c"],"mappings":"aAAA,SAAAA,EAAwBC,EAAK,CAI3B,QAHIC,EAAQ,KACRC,EAAWC,EAAoBF,EAAOD,CAAG,EACzCI,EAAQ,CAACH,CAAK,EACXA,IAAUC,GACfD,EAAQA,EAAM,OACdG,EAAM,KAAKH,CAAK,EAGlB,QADII,EAAID,EAAM,OACPJ,IAAQE,GACPE,EAAA,OAAOC,EAAG,EAAGL,CAAG,EACtBA,EAAMA,EAAI,OAEL,OAAAI,CACT,CAEA,SAASD,EAAoBG,EAAGC,EAAG,CAC7B,GAAAD,IAAMC,EAAU,OAAAD,EAChB,IAAAE,EAASF,EAAE,UAAU,EACrBG,EAASF,EAAE,YACXG,EAAI,KAGR,IAFAJ,EAAIE,EAAO,IAAI,EACfD,EAAIE,EAAO,IAAI,EACRH,IAAMC,GACPG,EAAAJ,EACJA,EAAIE,EAAO,IAAI,EACfD,EAAIE,EAAO,IAAI,EAEV,OAAAC,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs202.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/path.js"],"sourcesContent":["export default function(end) {\n var start = this,\n ancestor = leastCommonAncestor(start, end),\n nodes = [start];\n while (start !== ancestor) {\n start = start.parent;\n nodes.push(start);\n }\n var k = nodes.length;\n while (end !== ancestor) {\n nodes.splice(k, 0, end);\n end = end.parent;\n }\n return nodes;\n}\n\nfunction leastCommonAncestor(a, b) {\n if (a === b) return a;\n var aNodes = a.ancestors(),\n bNodes = b.ancestors(),\n c = null;\n a = aNodes.pop();\n b = bNodes.pop();\n while (a === b) {\n c = a;\n a = aNodes.pop();\n b = bNodes.pop();\n }\n return c;\n}\n"],"names":["node_path","end","start","ancestor","leastCommonAncestor","nodes","k","a","b","aNodes","bNodes","c"],"mappings":"aAAA,SAAAA,EAAwBC,EAAK,CAI3B,QAHIC,EAAQ,KACRC,EAAWC,EAAoBF,EAAOD,CAAG,EACzCI,EAAQ,CAACH,CAAK,EACXA,IAAUC,GACfD,EAAQA,EAAM,OACdG,EAAM,KAAKH,CAAK,EAGlB,QADII,EAAID,EAAM,OACPJ,IAAQE,GACPE,EAAA,OAAOC,EAAG,EAAGL,CAAG,EACtBA,EAAMA,EAAI,OAEL,OAAAI,CACT,CAEA,SAASD,EAAoBG,EAAGC,EAAG,CACjC,GAAID,IAAMC,EAAU,OAAAD,EAChB,IAAAE,EAASF,EAAE,YACXG,EAASF,EAAE,UAAA,EACXG,EAAI,KAGR,IAFAJ,EAAIE,EAAO,MACXD,EAAIE,EAAO,MACJH,IAAMC,GACPG,EAAAJ,EACJA,EAAIE,EAAO,MACXD,EAAIE,EAAO,MAEN,OAAAC,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs204.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/descendants.js"],"sourcesContent":["export default function() {\n var nodes = [];\n this.each(function(node) {\n nodes.push(node);\n });\n return nodes;\n}\n"],"names":["node_descendants","nodes","node"],"mappings":"aAA0B,SAAAA,GAAA,CACxB,IAAIC,EAAQ,CAAC,EACR,YAAA,KAAK,SAASC,EAAM,CACvBD,EAAM,KAAKC,CAAI,CAAA,CAChB,EACMD,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs204.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/descendants.js"],"sourcesContent":["export default function() {\n var nodes = [];\n this.each(function(node) {\n nodes.push(node);\n });\n return nodes;\n}\n"],"names":["node_descendants","nodes","node"],"mappings":"aAA0B,SAAAA,GAAA,CACxB,IAAIC,EAAQ,CAAA,EACP,YAAA,KAAK,SAASC,EAAM,CACvBD,EAAM,KAAKC,CAAI,CAAA,CAChB,EACMD,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs205.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/leaves.js"],"sourcesContent":["export default function() {\n var leaves = [];\n this.eachBefore(function(node) {\n if (!node.children) {\n leaves.push(node);\n }\n });\n return leaves;\n}\n"],"names":["node_leaves","leaves","node"],"mappings":"aAA0B,SAAAA,GAAA,CACxB,IAAIC,EAAS,CAAC,EACT,YAAA,WAAW,SAASC,EAAM,CACxBA,EAAK,UACRD,EAAO,KAAKC,CAAI,CAClB,CACD,EACMD,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs205.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/leaves.js"],"sourcesContent":["export default function() {\n var leaves = [];\n this.eachBefore(function(node) {\n if (!node.children) {\n leaves.push(node);\n }\n });\n return leaves;\n}\n"],"names":["node_leaves","leaves","node"],"mappings":"aAA0B,SAAAA,GAAA,CACxB,IAAIC,EAAS,CAAA,EACR,YAAA,WAAW,SAASC,EAAM,CACxBA,EAAK,UACRD,EAAO,KAAKC,CAAI,CAClB,CACD,EACMD,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs206.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/links.js"],"sourcesContent":["export default function() {\n var root = this, links = [];\n root.each(function(node) {\n if (node !== root) { // Don’t include the root’s parent, if any.\n links.push({source: node.parent, target: node});\n }\n });\n return links;\n}\n"],"names":["node_links","root","links","node"],"mappings":"aAA0B,SAAAA,GAAA,CACpB,IAAAC,EAAO,KAAMC,EAAQ,CAAC,EACrB,OAAAD,EAAA,KAAK,SAASE,EAAM,CACnBA,IAASF,GACXC,EAAM,KAAK,CAAC,OAAQC,EAAK,OAAQ,OAAQA,EAAK,CAChD,CACD,EACMD,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs206.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/links.js"],"sourcesContent":["export default function() {\n var root = this, links = [];\n root.each(function(node) {\n if (node !== root) { // Don’t include the root’s parent, if any.\n links.push({source: node.parent, target: node});\n }\n });\n return links;\n}\n"],"names":["node_links","root","links","node"],"mappings":"aAA0B,SAAAA,GAAA,CACpB,IAAAC,EAAO,KAAMC,EAAQ,GACpB,OAAAD,EAAA,KAAK,SAASE,EAAM,CACnBA,IAASF,GACXC,EAAM,KAAK,CAAC,OAAQC,EAAK,OAAQ,OAAQA,EAAK,CAChD,CACD,EACMD,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs6.js");function u(t){var r="[object "+t+"]";return function(e){return n.toString.call(e)===r}}module.exports=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var i=c;exports.isObject_1=i;
2
2
  //# sourceMappingURL=index.cjs207.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/underscore/modules/_tagTester.js"],"sourcesContent":["import { toString } from './_setup.js';\n\n// Internal function for creating a `toString`-based type tester.\nexport default function tagTester(name) {\n var tag = '[object ' + name + ']';\n return function(obj) {\n return toString.call(obj) === tag;\n };\n}\n"],"names":["tagTester","name","tag","obj","toString"],"mappings":"gDAGA,SAAwBA,EAAUC,EAAM,CAClC,IAAAC,EAAM,WAAaD,EAAO,IAC9B,OAAO,SAASE,EAAK,CACZ,OAAAC,WAAS,KAAKD,CAAG,IAAMD,CAChC,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/lodash/isObject.js"],"sourcesContent":["/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n"],"names":["isObject","value","type","isObject_1"],"mappings":"gFAyBA,SAASA,EAASC,EAAO,CACvB,IAAIC,EAAO,OAAOD,EAClB,OAAOA,GAAS,OAASC,GAAQ,UAAYA,GAAQ,WACvD,CAEA,IAAAC,EAAiBH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs6.js");function s(r,t){return r!=null&&e.hasOwnProperty.call(r,t)}module.exports=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs252.js");var r=o._root,t=function(){return r.Date.now()},e=t;exports.now_1=e;
2
2
  //# sourceMappingURL=index.cjs208.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs208.js","sources":["../../../node_modules/underscore/modules/_has.js"],"sourcesContent":["import { hasOwnProperty } from './_setup.js';\n\n// Internal function to check whether `key` is an own property name of `obj`.\nexport default function has(obj, key) {\n return obj != null && hasOwnProperty.call(obj, key);\n}\n"],"names":["has","obj","key","hasOwnProperty"],"mappings":"gDAGwB,SAAAA,EAAIC,EAAKC,EAAK,CACpC,OAAOD,GAAO,MAAQE,EAAAA,eAAe,KAAKF,EAAKC,CAAG,CACpD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs208.js","sources":["../../../node_modules/lodash/now.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n"],"names":["root","require$$0","now","now_1"],"mappings":"qHAAA,IAAIA,EAAOC,EAAAA,MAkBPC,EAAM,UAAW,CACZ,OAAAF,EAAK,KAAK,KACnB,EAEAG,EAAiBD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs254.js"),t=require("./index.cjs211.js"),r=e(t);module.exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs253.js"),o=require("./index.cjs207.js"),b=require("./index.cjs254.js");var f=n._baseTrim,s=o.isObject_1,c=b.isSymbol_1,e=NaN,m=/^[-+]0x[0-9a-f]+$/i,y=/^0b[01]+$/i,O=/^0o[0-7]+$/i,_=parseInt;function a(r){if(typeof r=="number")return r;if(c(r))return e;if(s(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=s(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=f(r);var i=y.test(r);return i||O.test(r)?_(r.slice(2),i?2:8):m.test(r)?e:+r}var p=a;exports.toNumber_1=p;
2
2
  //# sourceMappingURL=index.cjs209.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs209.js","sources":["../../../node_modules/underscore/modules/_isBufferLike.js"],"sourcesContent":["import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getByteLength from './_getByteLength.js';\n\n// Internal helper to determine whether we should spend extensive checks against\n// `ArrayBuffer` et al.\nexport default createSizePropertyCheck(getByteLength);\n"],"names":["createSizePropertyCheck","getByteLength"],"mappings":"iFAKeA,EAAAA,EAAwBC,CAAa","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs209.js","sources":["../../../node_modules/lodash/toNumber.js"],"sourcesContent":["var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n"],"names":["baseTrim","require$$0","isObject","require$$1","isSymbol","require$$2","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","toNumber","value","other","isBinary","toNumber_1"],"mappings":"mLAAA,IAAIA,EAAWC,EAAAA,UACXC,EAAWC,EAAAA,WACXC,EAAWC,EAAAA,WAGXC,EAAM,IAGNC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAe,SAyBnB,SAASC,EAASC,EAAO,CACnB,GAAA,OAAOA,GAAS,SACX,OAAAA,EAEL,GAAAR,EAASQ,CAAK,EACT,OAAAN,EAEL,GAAAJ,EAASU,CAAK,EAAG,CACnB,IAAIC,EAAQ,OAAOD,EAAM,SAAW,WAAaA,EAAM,QAAY,EAAAA,EACnEA,EAAQV,EAASW,CAAK,EAAKA,EAAQ,GAAMA,CAC3C,CACI,GAAA,OAAOD,GAAS,SACX,OAAAA,IAAU,EAAIA,EAAQ,CAACA,EAEhCA,EAAQZ,EAASY,CAAK,EAClB,IAAAE,EAAWN,EAAW,KAAKI,CAAK,EACpC,OAAQE,GAAYL,EAAU,KAAKG,CAAK,EACpCF,EAAaE,EAAM,MAAM,CAAC,EAAGE,EAAW,EAAI,CAAC,EAC5CP,EAAW,KAAKK,CAAK,EAAIN,EAAM,CAACM,CACvC,CAEA,IAAAG,EAAiBJ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs77.js"),s=require("./index.cjs226.js"),l=require("./index.cjs20.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
1
+ "use strict";const i=require("./index.cjs85.js"),s=require("./index.cjs231.js"),l=require("./index.cjs20.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
2
2
  //# sourceMappingURL=index.cjs21.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs21.js","sources":["../../../node_modules/underscore/modules/bindAll.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport flatten from './_flatten.js';\nimport bind from './bind.js';\n\n// Bind a number of an object's methods to that object. Remaining arguments\n// are the method names to be bound. Useful for ensuring that all callbacks\n// defined on an object belong to it.\nexport default restArguments(function(obj, keys) {\n keys = flatten(keys, false, false);\n var index = keys.length;\n if (index < 1) throw new Error('bindAll must be passed function names');\n while (index--) {\n var key = keys[index];\n obj[key] = bind(obj[key], obj);\n }\n return obj;\n});\n"],"names":["bindAll","restArguments","obj","keys","flatten","index","key","bind"],"mappings":"8GAOAA,EAAeC,EAAc,SAASC,EAAKC,EAAM,CACxCA,EAAAC,EAAQD,EAAM,GAAO,EAAK,EACjC,IAAIE,EAAQF,EAAK,OACjB,GAAIE,EAAQ,EAAS,MAAA,IAAI,MAAM,uCAAuC,EACtE,KAAOA,KAAS,CACV,IAAAC,EAAMH,EAAKE,CAAK,EACpBH,EAAII,CAAG,EAAIC,EAAKL,EAAII,CAAG,EAAGJ,CAAG,CAAA,CAExB,OAAAA,CACT,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs21.js","sources":["../../../node_modules/underscore/modules/bindAll.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport flatten from './_flatten.js';\nimport bind from './bind.js';\n\n// Bind a number of an object's methods to that object. Remaining arguments\n// are the method names to be bound. Useful for ensuring that all callbacks\n// defined on an object belong to it.\nexport default restArguments(function(obj, keys) {\n keys = flatten(keys, false, false);\n var index = keys.length;\n if (index < 1) throw new Error('bindAll must be passed function names');\n while (index--) {\n var key = keys[index];\n obj[key] = bind(obj[key], obj);\n }\n return obj;\n});\n"],"names":["bindAll","restArguments","obj","keys","flatten","index","key","bind"],"mappings":"8GAOAA,EAAeC,EAAc,SAASC,EAAKC,EAAM,CACxCA,EAAAC,EAAQD,EAAM,GAAO,EAAK,EACjC,IAAIE,EAAQF,EAAK,OACjB,GAAIE,EAAQ,EAAS,MAAA,IAAI,MAAM,uCAAuC,EACtE,KAAOA,KAAS,CACV,IAAAC,EAAMH,EAAKE,CAAK,EACpBH,EAAII,CAAG,EAAIC,EAAKL,EAAII,CAAG,EAAGJ,CAAG,CAC/B,CACO,OAAAA,CACT,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,4 @@
1
- "use strict";const t=require("./index.cjs253.js"),e=t("length");module.exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs211.js");function b(t,e){if(t==null)return{};var s={},n=Object.keys(t),r,o;for(o=0;o<n.length;o++)r=n[o],!(e.indexOf(r)>=0)&&(s[r]=t[r]);return s}function _(t,e){if(t==null)return{};var s=b(t,e),n,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(s[n]=t[n])}return s}const E={target(t){if(t)return()=>"current"in t?t.current:t},enabled(t=!0){return t},window(t=i.S.isBrowser?window:void 0){return t},eventOptions({passive:t=!0,capture:e=!1}={}){return{passive:t,capture:e}},transform(t){return t}},S=["target","eventOptions","window","enabled","transform"];function w(t={},e){const s={};for(const[n,r]of Object.entries(e))switch(typeof r){case"function":if(process.env.NODE_ENV==="development"){const o=r.call(s,t[n],n,t);Number.isNaN(o)||(s[n]=o)}else s[n]=r.call(s,t[n],n,t);break;case"object":s[n]=w(t[n],r);break;case"boolean":r&&(s[n]=t[n]);break}return s}function y(t,e,s={}){const n=t,{target:r,eventOptions:o,window:a,enabled:h,transform:l}=n,c=_(n,S);if(s.shared=w({target:r,eventOptions:o,window:a,enabled:h,transform:l},E),e){const u=i.C.get(e);s[e]=w(i._({shared:s.shared},c),u)}else for(const u in c){const p=i.C.get(u);if(p)s[u]=w(i._({shared:s.shared},c[u]),p);else if(process.env.NODE_ENV==="development"&&!["drag","pinch","scroll","wheel","move","hover"].includes(u)){if(u==="domTarget")throw Error("[@use-gesture]: `domTarget` option has been renamed to `target`.");console.warn(`[@use-gesture]: Unknown config key \`${u}\` was used. Please read the documentation for further information.`)}}return s}class m{constructor(e,s){i.a(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=s}add(e,s,n,r,o){const a=this._listeners,h=i.t(s,n),l=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},c=i._(i._({},l),o);e.addEventListener(h,r,c);const u=()=>{e.removeEventListener(h,r,c),a.delete(u)};return a.add(u),u}clean(){this._listeners.forEach(e=>e()),this._listeners.clear()}}class O{constructor(){i.a(this,"_timeouts",new Map)}add(e,s,n=140,...r){this.remove(e),this._timeouts.set(e,window.setTimeout(s,n,...r))}remove(e){const s=this._timeouts.get(e);s&&window.clearTimeout(s)}clean(){this._timeouts.forEach(e=>void window.clearTimeout(e)),this._timeouts.clear()}}class P{constructor(e){i.a(this,"gestures",new Set),i.a(this,"_targetEventStore",new m(this)),i.a(this,"gestureEventStores",{}),i.a(this,"gestureTimeoutStores",{}),i.a(this,"handlers",{}),i.a(this,"config",{}),i.a(this,"pointerIds",new Set),i.a(this,"touchIds",new Set),i.a(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),I(this,e)}setEventIds(e){if(i.i(e))return this.touchIds=new Set(i.b(e)),this.touchIds;if("pointerId"in e)return e.type==="pointerup"||e.type==="pointercancel"?this.pointerIds.delete(e.pointerId):e.type==="pointerdown"&&this.pointerIds.add(e.pointerId),this.pointerIds}applyHandlers(e,s){this.handlers=e,this.nativeHandlers=s}applyConfig(e,s){this.config=y(e,s,this.config)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const s=this.config.shared,n={};let r;if(!(s.target&&(r=s.target(),!r))){if(s.enabled){for(const a of this.gestures){const h=this.config[a],l=g(n,h.eventOptions,!!r);if(h.enabled){const c=i.E.get(a);new c(this,e,a).bind(l)}}const o=g(n,s.eventOptions,!!r);for(const a in this.nativeHandlers)o(a,"",h=>this.nativeHandlers[a](i._(i._({},this.state.shared),{},{event:h,args:e})),void 0,!0)}for(const o in n)n[o]=i.c(...n[o]);if(!r)return n;for(const o in n){const{device:a,capture:h,passive:l}=i.p(o);this._targetEventStore.add(r,a,"",n[o],{capture:h,passive:l})}}}}function d(t,e){t.gestures.add(e),t.gestureEventStores[e]=new m(t,e),t.gestureTimeoutStores[e]=new O}function I(t,e){e.drag&&d(t,"drag"),e.wheel&&d(t,"wheel"),e.scroll&&d(t,"scroll"),e.move&&d(t,"move"),e.pinch&&d(t,"pinch"),e.hover&&d(t,"hover")}const g=(t,e,s)=>(n,r,o,a={},h=!1)=>{var l,c;const u=(l=a.capture)!==null&&l!==void 0?l:e.capture,p=(c=a.passive)!==null&&c!==void 0?c:e.passive;let v=h?n:i.d(n,r,u);s&&p&&(v+="Passive"),t[v]=t[v]||[],t[v].push(o)},T=/^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;function N(t){const e={},s={},n=new Set;for(let r in t)T.test(r)?(n.add(RegExp.lastMatch),s[r]=t[r]):e[r]=t[r];return[s,e,n]}function f(t,e,s,n,r,o){if(!t.has(s))return;if(!i.E.has(n)){process.env.NODE_ENV==="development"&&console.warn(`[@use-gesture]: You've created a custom handler that that uses the \`${n}\` gesture but isn't properly configured.
2
+
3
+ Please add \`${n}Action\` when creating your handler.`);return}const a=s+"Start",h=s+"End",l=c=>{let u;return c.first&&a in e&&e[a](c),s in e&&(u=e[s](c)),c.last&&h in e&&e[h](c),u};r[n]=l,o[n]=o[n]||{}}function j(t,e){const[s,n,r]=N(t),o={};return f(r,s,"onDrag","drag",o,e),f(r,s,"onWheel","wheel",o,e),f(r,s,"onScroll","scroll",o,e),f(r,s,"onPinch","pinch",o,e),f(r,s,"onMove","move",o,e),f(r,s,"onHover","hover",o,e),{handlers:o,config:e,nativeHandlers:n}}exports.Controller=P;exports.parseMergedHandlers=j;
2
4
  //# sourceMappingURL=index.cjs210.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs210.js","sources":["../../../node_modules/underscore/modules/_getLength.js"],"sourcesContent":["import shallowProperty from './_shallowProperty.js';\n\n// Internal helper to obtain the `length` property of an object.\nexport default shallowProperty('length');\n"],"names":["shallowProperty"],"mappings":"kDAGeA,EAAAA,EAAgB,QAAQ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs210.js","sources":["../../../node_modules/@use-gesture/core/dist/use-gesture-core.esm.js"],"sourcesContent":["import { S as SUPPORT, C as ConfigResolverMap, _ as _objectSpread2, a as _defineProperty, t as toDomEventType, i as isTouch, b as touchIds, E as EngineMap, c as chain, p as parseProp, d as toHandlerProp } from './actions-fe213e88.esm.js';\nimport './maths-0ab39ae9.esm.js';\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\n\nconst sharedConfigResolver = {\n target(value) {\n if (value) {\n return () => 'current' in value ? value.current : value;\n }\n return undefined;\n },\n enabled(value = true) {\n return value;\n },\n window(value = SUPPORT.isBrowser ? window : undefined) {\n return value;\n },\n eventOptions({\n passive = true,\n capture = false\n } = {}) {\n return {\n passive,\n capture\n };\n },\n transform(value) {\n return value;\n }\n};\n\nconst _excluded = [\"target\", \"eventOptions\", \"window\", \"enabled\", \"transform\"];\nfunction resolveWith(config = {}, resolvers) {\n const result = {};\n for (const [key, resolver] of Object.entries(resolvers)) {\n switch (typeof resolver) {\n case 'function':\n if (process.env.NODE_ENV === 'development') {\n const r = resolver.call(result, config[key], key, config);\n if (!Number.isNaN(r)) result[key] = r;\n } else {\n result[key] = resolver.call(result, config[key], key, config);\n }\n break;\n case 'object':\n result[key] = resolveWith(config[key], resolver);\n break;\n case 'boolean':\n if (resolver) result[key] = config[key];\n break;\n }\n }\n return result;\n}\nfunction parse(newConfig, gestureKey, _config = {}) {\n const _ref = newConfig,\n {\n target,\n eventOptions,\n window,\n enabled,\n transform\n } = _ref,\n rest = _objectWithoutProperties(_ref, _excluded);\n _config.shared = resolveWith({\n target,\n eventOptions,\n window,\n enabled,\n transform\n }, sharedConfigResolver);\n if (gestureKey) {\n const resolver = ConfigResolverMap.get(gestureKey);\n _config[gestureKey] = resolveWith(_objectSpread2({\n shared: _config.shared\n }, rest), resolver);\n } else {\n for (const key in rest) {\n const resolver = ConfigResolverMap.get(key);\n if (resolver) {\n _config[key] = resolveWith(_objectSpread2({\n shared: _config.shared\n }, rest[key]), resolver);\n } else if (process.env.NODE_ENV === 'development') {\n if (!['drag', 'pinch', 'scroll', 'wheel', 'move', 'hover'].includes(key)) {\n if (key === 'domTarget') {\n throw Error(`[@use-gesture]: \\`domTarget\\` option has been renamed to \\`target\\`.`);\n }\n console.warn(`[@use-gesture]: Unknown config key \\`${key}\\` was used. Please read the documentation for further information.`);\n }\n }\n }\n }\n return _config;\n}\n\nclass EventStore {\n constructor(ctrl, gestureKey) {\n _defineProperty(this, \"_listeners\", new Set());\n this._ctrl = ctrl;\n this._gestureKey = gestureKey;\n }\n add(element, device, action, handler, options) {\n const listeners = this._listeners;\n const type = toDomEventType(device, action);\n const _options = this._gestureKey ? this._ctrl.config[this._gestureKey].eventOptions : {};\n const eventOptions = _objectSpread2(_objectSpread2({}, _options), options);\n element.addEventListener(type, handler, eventOptions);\n const remove = () => {\n element.removeEventListener(type, handler, eventOptions);\n listeners.delete(remove);\n };\n listeners.add(remove);\n return remove;\n }\n clean() {\n this._listeners.forEach(remove => remove());\n this._listeners.clear();\n }\n}\n\nclass TimeoutStore {\n constructor() {\n _defineProperty(this, \"_timeouts\", new Map());\n }\n add(key, callback, ms = 140, ...args) {\n this.remove(key);\n this._timeouts.set(key, window.setTimeout(callback, ms, ...args));\n }\n remove(key) {\n const timeout = this._timeouts.get(key);\n if (timeout) window.clearTimeout(timeout);\n }\n clean() {\n this._timeouts.forEach(timeout => void window.clearTimeout(timeout));\n this._timeouts.clear();\n }\n}\n\nclass Controller {\n constructor(handlers) {\n _defineProperty(this, \"gestures\", new Set());\n _defineProperty(this, \"_targetEventStore\", new EventStore(this));\n _defineProperty(this, \"gestureEventStores\", {});\n _defineProperty(this, \"gestureTimeoutStores\", {});\n _defineProperty(this, \"handlers\", {});\n _defineProperty(this, \"config\", {});\n _defineProperty(this, \"pointerIds\", new Set());\n _defineProperty(this, \"touchIds\", new Set());\n _defineProperty(this, \"state\", {\n shared: {\n shiftKey: false,\n metaKey: false,\n ctrlKey: false,\n altKey: false\n }\n });\n resolveGestures(this, handlers);\n }\n setEventIds(event) {\n if (isTouch(event)) {\n this.touchIds = new Set(touchIds(event));\n return this.touchIds;\n } else if ('pointerId' in event) {\n if (event.type === 'pointerup' || event.type === 'pointercancel') this.pointerIds.delete(event.pointerId);else if (event.type === 'pointerdown') this.pointerIds.add(event.pointerId);\n return this.pointerIds;\n }\n }\n applyHandlers(handlers, nativeHandlers) {\n this.handlers = handlers;\n this.nativeHandlers = nativeHandlers;\n }\n applyConfig(config, gestureKey) {\n this.config = parse(config, gestureKey, this.config);\n }\n clean() {\n this._targetEventStore.clean();\n for (const key of this.gestures) {\n this.gestureEventStores[key].clean();\n this.gestureTimeoutStores[key].clean();\n }\n }\n effect() {\n if (this.config.shared.target) this.bind();\n return () => this._targetEventStore.clean();\n }\n bind(...args) {\n const sharedConfig = this.config.shared;\n const props = {};\n let target;\n if (sharedConfig.target) {\n target = sharedConfig.target();\n if (!target) return;\n }\n if (sharedConfig.enabled) {\n for (const gestureKey of this.gestures) {\n const gestureConfig = this.config[gestureKey];\n const bindFunction = bindToProps(props, gestureConfig.eventOptions, !!target);\n if (gestureConfig.enabled) {\n const Engine = EngineMap.get(gestureKey);\n new Engine(this, args, gestureKey).bind(bindFunction);\n }\n }\n const nativeBindFunction = bindToProps(props, sharedConfig.eventOptions, !!target);\n for (const eventKey in this.nativeHandlers) {\n nativeBindFunction(eventKey, '', event => this.nativeHandlers[eventKey](_objectSpread2(_objectSpread2({}, this.state.shared), {}, {\n event,\n args\n })), undefined, true);\n }\n }\n for (const handlerProp in props) {\n props[handlerProp] = chain(...props[handlerProp]);\n }\n if (!target) return props;\n for (const handlerProp in props) {\n const {\n device,\n capture,\n passive\n } = parseProp(handlerProp);\n this._targetEventStore.add(target, device, '', props[handlerProp], {\n capture,\n passive\n });\n }\n }\n}\nfunction setupGesture(ctrl, gestureKey) {\n ctrl.gestures.add(gestureKey);\n ctrl.gestureEventStores[gestureKey] = new EventStore(ctrl, gestureKey);\n ctrl.gestureTimeoutStores[gestureKey] = new TimeoutStore();\n}\nfunction resolveGestures(ctrl, internalHandlers) {\n if (internalHandlers.drag) setupGesture(ctrl, 'drag');\n if (internalHandlers.wheel) setupGesture(ctrl, 'wheel');\n if (internalHandlers.scroll) setupGesture(ctrl, 'scroll');\n if (internalHandlers.move) setupGesture(ctrl, 'move');\n if (internalHandlers.pinch) setupGesture(ctrl, 'pinch');\n if (internalHandlers.hover) setupGesture(ctrl, 'hover');\n}\nconst bindToProps = (props, eventOptions, withPassiveOption) => (device, action, handler, options = {}, isNative = false) => {\n var _options$capture, _options$passive;\n const capture = (_options$capture = options.capture) !== null && _options$capture !== void 0 ? _options$capture : eventOptions.capture;\n const passive = (_options$passive = options.passive) !== null && _options$passive !== void 0 ? _options$passive : eventOptions.passive;\n let handlerProp = isNative ? device : toHandlerProp(device, action, capture);\n if (withPassiveOption && passive) handlerProp += 'Passive';\n props[handlerProp] = props[handlerProp] || [];\n props[handlerProp].push(handler);\n};\n\nconst RE_NOT_NATIVE = /^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;\nfunction sortHandlers(_handlers) {\n const native = {};\n const handlers = {};\n const actions = new Set();\n for (let key in _handlers) {\n if (RE_NOT_NATIVE.test(key)) {\n actions.add(RegExp.lastMatch);\n handlers[key] = _handlers[key];\n } else {\n native[key] = _handlers[key];\n }\n }\n return [handlers, native, actions];\n}\nfunction registerGesture(actions, handlers, handlerKey, key, internalHandlers, config) {\n if (!actions.has(handlerKey)) return;\n if (!EngineMap.has(key)) {\n if (process.env.NODE_ENV === 'development') {\n console.warn(`[@use-gesture]: You've created a custom handler that that uses the \\`${key}\\` gesture but isn't properly configured.\\n\\nPlease add \\`${key}Action\\` when creating your handler.`);\n }\n return;\n }\n const startKey = handlerKey + 'Start';\n const endKey = handlerKey + 'End';\n const fn = state => {\n let memo = undefined;\n if (state.first && startKey in handlers) handlers[startKey](state);\n if (handlerKey in handlers) memo = handlers[handlerKey](state);\n if (state.last && endKey in handlers) handlers[endKey](state);\n return memo;\n };\n internalHandlers[key] = fn;\n config[key] = config[key] || {};\n}\nfunction parseMergedHandlers(mergedHandlers, mergedConfig) {\n const [handlers, nativeHandlers, actions] = sortHandlers(mergedHandlers);\n const internalHandlers = {};\n registerGesture(actions, handlers, 'onDrag', 'drag', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onWheel', 'wheel', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onScroll', 'scroll', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onPinch', 'pinch', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onMove', 'move', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onHover', 'hover', internalHandlers, mergedConfig);\n return {\n handlers: internalHandlers,\n config: mergedConfig,\n nativeHandlers\n };\n}\n\nexport { Controller, parseMergedHandlers };\n"],"names":["_objectWithoutPropertiesLoose","source","excluded","target","sourceKeys","key","i","_objectWithoutProperties","sourceSymbolKeys","sharedConfigResolver","value","SUPPORT","passive","capture","_excluded","resolveWith","config","resolvers","result","resolver","r","parse","newConfig","gestureKey","_config","_ref","eventOptions","window","enabled","transform","rest","ConfigResolverMap","_objectSpread2","EventStore","ctrl","_defineProperty","element","device","action","handler","options","listeners","type","toDomEventType","_options","remove","TimeoutStore","callback","ms","args","timeout","Controller","handlers","resolveGestures","event","isTouch","touchIds","nativeHandlers","sharedConfig","props","gestureConfig","bindFunction","bindToProps","Engine","EngineMap","nativeBindFunction","eventKey","handlerProp","chain","parseProp","setupGesture","internalHandlers","withPassiveOption","isNative","_options$capture","_options$passive","toHandlerProp","RE_NOT_NATIVE","sortHandlers","_handlers","native","actions","registerGesture","handlerKey","startKey","endKey","fn","state","memo","parseMergedHandlers","mergedHandlers","mergedConfig"],"mappings":"qHAGA,SAASA,EAA8BC,EAAQC,EAAU,CACvD,GAAID,GAAU,KAAM,MAAO,GAC3B,IAAIE,EAAS,CAAA,EACTC,EAAa,OAAO,KAAKH,CAAM,EAC/BI,EAAKC,EACT,IAAKA,EAAI,EAAGA,EAAIF,EAAW,OAAQE,IACjCD,EAAMD,EAAWE,CAAC,EACd,EAAAJ,EAAS,QAAQG,CAAG,GAAK,KACtBF,EAAAE,CAAG,EAAIJ,EAAOI,CAAG,GAEnB,OAAAF,CACT,CAEA,SAASI,EAAyBN,EAAQC,EAAU,CAClD,GAAID,GAAU,KAAM,MAAO,GACvB,IAAAE,EAASH,EAA8BC,EAAQC,CAAQ,EACvDG,EAAKC,EACT,GAAI,OAAO,sBAAuB,CAC5B,IAAAE,EAAmB,OAAO,sBAAsBP,CAAM,EAC1D,IAAKK,EAAI,EAAGA,EAAIE,EAAiB,OAAQF,IACvCD,EAAMG,EAAiBF,CAAC,EACpB,EAAAJ,EAAS,QAAQG,CAAG,GAAK,IACxB,OAAO,UAAU,qBAAqB,KAAKJ,EAAQI,CAAG,IACpDF,EAAAE,CAAG,EAAIJ,EAAOI,CAAG,EAE5B,CACO,OAAAF,CACT,CAEA,MAAMM,EAAuB,CAC3B,OAAOC,EAAO,CACZ,GAAIA,EACF,MAAO,IAA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