@burdenoff/microfe-brainyrich 2026.805.1 → 2026.825.1

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 (504) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +1 -1
  2. package/dist/brainyrich/BrainyRichRoot.d.ts +0 -1
  3. package/dist/brainyrich/BrainyRichRoot.js.map +1 -1
  4. package/dist/brainyrich/BrainyRichRoutes.d.ts.map +1 -1
  5. package/dist/brainyrich/BrainyRichRoutes.js +21 -17
  6. package/dist/brainyrich/BrainyRichRoutes.js.map +1 -1
  7. package/dist/brainyrich/components/ActorName.js.map +1 -1
  8. package/dist/brainyrich/components/ConfirmDialog.d.ts +0 -1
  9. package/dist/brainyrich/components/ConfirmDialog.js.map +1 -1
  10. package/dist/brainyrich/components/LoadMore.js.map +1 -1
  11. package/dist/brainyrich/components/notify.js.map +1 -1
  12. package/dist/brainyrich/components/pickers.js.map +1 -1
  13. package/dist/brainyrich/components/reuse/CommentThread.js.map +1 -1
  14. package/dist/brainyrich/components/reuse/DocumentsPanel.js.map +1 -1
  15. package/dist/brainyrich/components/reuse/TagField.js.map +1 -1
  16. package/dist/brainyrich/components/reuse/transport.js.map +1 -1
  17. package/dist/brainyrich/components/viz.d.ts +0 -1
  18. package/dist/brainyrich/components/viz.js.map +1 -1
  19. package/dist/brainyrich/hooks/useBrainyRichAnalytics.js.map +1 -1
  20. package/dist/brainyrich/hooks/useBrainyRichApi.d.ts +3 -2
  21. package/dist/brainyrich/hooks/useBrainyRichApi.d.ts.map +1 -1
  22. package/dist/brainyrich/hooks/useBrainyRichApi.js +20 -12
  23. package/dist/brainyrich/hooks/useBrainyRichApi.js.map +1 -1
  24. package/dist/brainyrich/pages/AccountsPage.d.ts.map +1 -1
  25. package/dist/brainyrich/pages/AccountsPage.js +367 -363
  26. package/dist/brainyrich/pages/AccountsPage.js.map +1 -1
  27. package/dist/brainyrich/pages/AdminFirmPage.d.ts +2 -0
  28. package/dist/brainyrich/pages/AdminFirmPage.d.ts.map +1 -0
  29. package/dist/brainyrich/pages/AdminFirmPage.js +137 -0
  30. package/dist/brainyrich/pages/AdminFirmPage.js.map +1 -0
  31. package/dist/brainyrich/pages/AiAssistantPage.js.map +1 -1
  32. package/dist/brainyrich/pages/AnalyticsPage.js.map +1 -1
  33. package/dist/brainyrich/pages/DashboardPage.js.map +1 -1
  34. package/dist/brainyrich/pages/FamilyPage.js.map +1 -1
  35. package/dist/brainyrich/pages/FirmPage.js.map +1 -1
  36. package/dist/brainyrich/pages/GoalsPage.js.map +1 -1
  37. package/dist/brainyrich/pages/InvestmentsPage.js.map +1 -1
  38. package/dist/brainyrich/pages/PortfoliosPage.js.map +1 -1
  39. package/dist/brainyrich/pages/ReportsPage.js.map +1 -1
  40. package/dist/brainyrich/pages/RiskPage.js.map +1 -1
  41. package/dist/brainyrich/pages/TaxPage.js.map +1 -1
  42. package/dist/brainyrich/pages/_shared.d.ts +0 -1
  43. package/dist/brainyrich/pages/_shared.js.map +1 -1
  44. package/dist/brainyrich/providers/BrainyRichProvider.d.ts +0 -1
  45. package/dist/brainyrich/providers/BrainyRichProvider.js.map +1 -1
  46. package/dist/brainyrich/services/createSandboxAssistantTransport.js.map +1 -1
  47. package/dist/brainyrich/types/bra.d.ts +15 -0
  48. package/dist/brainyrich/types/bra.d.ts.map +1 -1
  49. package/dist/brainyrich/types/index.d.ts +0 -1
  50. package/dist/brainyrich/utils/cn.d.ts +0 -1
  51. package/dist/brainyrich/utils/i18n.d.ts +0 -1
  52. package/dist/brainyrich/utils/i18n.js.map +1 -1
  53. package/dist/brainyrich/utils/nativeControls.d.ts +0 -1
  54. package/dist/brainyrich/utils/nativeControls.js.map +1 -1
  55. package/dist/brainyrich/utils/navigation.js.map +1 -1
  56. package/dist/brainyrich/utils/pageContext.js.map +1 -1
  57. package/dist/dev/main.d.ts +0 -1
  58. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  59. package/dist/node_modules/d3-array/src/ascending.js.map +1 -1
  60. package/dist/node_modules/d3-array/src/bisect.js.map +1 -1
  61. package/dist/node_modules/d3-array/src/bisector.js.map +1 -1
  62. package/dist/node_modules/d3-array/src/descending.js.map +1 -1
  63. package/dist/node_modules/d3-array/src/max.js.map +1 -1
  64. package/dist/node_modules/d3-array/src/min.js.map +1 -1
  65. package/dist/node_modules/d3-array/src/number.js.map +1 -1
  66. package/dist/node_modules/d3-array/src/quantile.js.map +1 -1
  67. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -1
  68. package/dist/node_modules/d3-array/src/range.js.map +1 -1
  69. package/dist/node_modules/d3-array/src/sort.js.map +1 -1
  70. package/dist/node_modules/d3-array/src/ticks.js.map +1 -1
  71. package/dist/node_modules/d3-color/src/color.js.map +1 -1
  72. package/dist/node_modules/d3-color/src/define.js.map +1 -1
  73. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -1
  74. package/dist/node_modules/d3-format/src/exponent.js.map +1 -1
  75. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -1
  76. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -1
  77. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -1
  78. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -1
  79. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -1
  80. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -1
  81. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -1
  82. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -1
  83. package/dist/node_modules/d3-format/src/identity.js.map +1 -1
  84. package/dist/node_modules/d3-format/src/locale.js.map +1 -1
  85. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -1
  86. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -1
  87. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -1
  88. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -1
  89. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -1
  90. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -1
  91. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -1
  92. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -1
  93. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -1
  94. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -1
  95. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -1
  96. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -1
  97. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -1
  98. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -1
  99. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -1
  100. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -1
  101. package/dist/node_modules/d3-path/src/path.js.map +1 -1
  102. package/dist/node_modules/d3-scale/src/band.js.map +1 -1
  103. package/dist/node_modules/d3-scale/src/constant.js.map +1 -1
  104. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -1
  105. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -1
  106. package/dist/node_modules/d3-scale/src/identity.js.map +1 -1
  107. package/dist/node_modules/d3-scale/src/init.js.map +1 -1
  108. package/dist/node_modules/d3-scale/src/linear.js.map +1 -1
  109. package/dist/node_modules/d3-scale/src/log.js.map +1 -1
  110. package/dist/node_modules/d3-scale/src/nice.js.map +1 -1
  111. package/dist/node_modules/d3-scale/src/number.js.map +1 -1
  112. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -1
  113. package/dist/node_modules/d3-scale/src/pow.js.map +1 -1
  114. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -1
  115. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -1
  116. package/dist/node_modules/d3-scale/src/radial.js.map +1 -1
  117. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -1
  118. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -1
  119. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -1
  120. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -1
  121. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -1
  122. package/dist/node_modules/d3-scale/src/time.js.map +1 -1
  123. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -1
  124. package/dist/node_modules/d3-shape/src/area.js.map +1 -1
  125. package/dist/node_modules/d3-shape/src/array.js.map +1 -1
  126. package/dist/node_modules/d3-shape/src/constant.js.map +1 -1
  127. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -1
  128. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -1
  129. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -1
  130. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -1
  131. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -1
  132. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -1
  133. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -1
  134. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -1
  135. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -1
  136. package/dist/node_modules/d3-shape/src/line.js.map +1 -1
  137. package/dist/node_modules/d3-shape/src/noop.js.map +1 -1
  138. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -1
  139. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -1
  140. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -1
  141. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -1
  142. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -1
  143. package/dist/node_modules/d3-shape/src/path.js.map +1 -1
  144. package/dist/node_modules/d3-shape/src/point.js.map +1 -1
  145. package/dist/node_modules/d3-shape/src/stack.js.map +1 -1
  146. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -1
  147. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -1
  148. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -1
  149. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -1
  150. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -1
  151. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -1
  152. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -1
  153. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -1
  154. package/dist/node_modules/d3-time/src/day.js.map +1 -1
  155. package/dist/node_modules/d3-time/src/hour.js.map +1 -1
  156. package/dist/node_modules/d3-time/src/interval.js.map +1 -1
  157. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -1
  158. package/dist/node_modules/d3-time/src/minute.js.map +1 -1
  159. package/dist/node_modules/d3-time/src/month.js.map +1 -1
  160. package/dist/node_modules/d3-time/src/second.js.map +1 -1
  161. package/dist/node_modules/d3-time/src/ticks.js.map +1 -1
  162. package/dist/node_modules/d3-time/src/week.js.map +1 -1
  163. package/dist/node_modules/d3-time/src/year.js.map +1 -1
  164. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -1
  165. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -1
  166. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
  167. package/dist/node_modules/eventemitter3/index.js.map +1 -1
  168. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
  169. package/dist/node_modules/internmap/src/index.js.map +1 -1
  170. package/dist/node_modules/lodash/_DataView.js.map +1 -1
  171. package/dist/node_modules/lodash/_Hash.js.map +1 -1
  172. package/dist/node_modules/lodash/_ListCache.js.map +1 -1
  173. package/dist/node_modules/lodash/_Map.js.map +1 -1
  174. package/dist/node_modules/lodash/_MapCache.js.map +1 -1
  175. package/dist/node_modules/lodash/_Promise.js.map +1 -1
  176. package/dist/node_modules/lodash/_Set.js.map +1 -1
  177. package/dist/node_modules/lodash/_SetCache.js.map +1 -1
  178. package/dist/node_modules/lodash/_Stack.js +2 -1
  179. package/dist/node_modules/lodash/_Stack.js.map +1 -1
  180. package/dist/node_modules/lodash/_Symbol.js.map +1 -1
  181. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
  182. package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
  183. package/dist/node_modules/lodash/_apply.js.map +1 -1
  184. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
  185. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
  186. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
  187. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
  188. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
  189. package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
  190. package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
  191. package/dist/node_modules/lodash/_arraySome.js.map +1 -1
  192. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
  193. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
  194. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
  195. package/dist/node_modules/lodash/_baseEach.js.map +1 -1
  196. package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
  197. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
  198. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
  199. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
  200. package/dist/node_modules/lodash/_baseFor.js.map +1 -1
  201. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
  202. package/dist/node_modules/lodash/_baseGet.js.map +1 -1
  203. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
  204. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
  205. package/dist/node_modules/lodash/_baseGt.js.map +1 -1
  206. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
  207. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
  208. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
  209. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
  210. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
  211. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
  212. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
  213. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
  214. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
  215. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
  216. package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
  217. package/dist/node_modules/lodash/_baseLt.js.map +1 -1
  218. package/dist/node_modules/lodash/_baseMap.js.map +1 -1
  219. package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
  220. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
  221. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
  222. package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
  223. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
  224. package/dist/node_modules/lodash/_baseRange.js.map +1 -1
  225. package/dist/node_modules/lodash/_baseRest.js.map +1 -1
  226. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
  227. package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
  228. package/dist/node_modules/lodash/_baseSome.js.map +1 -1
  229. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
  230. package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
  231. package/dist/node_modules/lodash/_baseToString.js.map +1 -1
  232. package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
  233. package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
  234. package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
  235. package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
  236. package/dist/node_modules/lodash/_castPath.js.map +1 -1
  237. package/dist/node_modules/lodash/_castSlice.js.map +1 -1
  238. package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
  239. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
  240. package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
  241. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
  242. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
  243. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
  244. package/dist/node_modules/lodash/_createFind.js.map +1 -1
  245. package/dist/node_modules/lodash/_createRange.js.map +1 -1
  246. package/dist/node_modules/lodash/_createSet.js.map +1 -1
  247. package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
  248. package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
  249. package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
  250. package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
  251. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
  252. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
  253. package/dist/node_modules/lodash/_getMapData.js.map +1 -1
  254. package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
  255. package/dist/node_modules/lodash/_getNative.js.map +1 -1
  256. package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
  257. package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
  258. package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
  259. package/dist/node_modules/lodash/_getTag.js.map +1 -1
  260. package/dist/node_modules/lodash/_getValue.js.map +1 -1
  261. package/dist/node_modules/lodash/_hasPath.js.map +1 -1
  262. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
  263. package/dist/node_modules/lodash/_hashClear.js.map +1 -1
  264. package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
  265. package/dist/node_modules/lodash/_hashGet.js.map +1 -1
  266. package/dist/node_modules/lodash/_hashHas.js.map +1 -1
  267. package/dist/node_modules/lodash/_hashSet.js.map +1 -1
  268. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
  269. package/dist/node_modules/lodash/_isIndex.js.map +1 -1
  270. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
  271. package/dist/node_modules/lodash/_isKey.js.map +1 -1
  272. package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
  273. package/dist/node_modules/lodash/_isMasked.js.map +1 -1
  274. package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
  275. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
  276. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
  277. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
  278. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
  279. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
  280. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
  281. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
  282. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
  283. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
  284. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
  285. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
  286. package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
  287. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
  288. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
  289. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
  290. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
  291. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
  292. package/dist/node_modules/lodash/_objectToString.js.map +1 -1
  293. package/dist/node_modules/lodash/_overArg.js.map +1 -1
  294. package/dist/node_modules/lodash/_overRest.js.map +1 -1
  295. package/dist/node_modules/lodash/_root.js.map +1 -1
  296. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
  297. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
  298. package/dist/node_modules/lodash/_setToArray.js.map +1 -1
  299. package/dist/node_modules/lodash/_setToString.js.map +1 -1
  300. package/dist/node_modules/lodash/_shortOut.js.map +1 -1
  301. package/dist/node_modules/lodash/_stackClear.js.map +1 -1
  302. package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
  303. package/dist/node_modules/lodash/_stackGet.js.map +1 -1
  304. package/dist/node_modules/lodash/_stackHas.js.map +1 -1
  305. package/dist/node_modules/lodash/_stackSet.js.map +1 -1
  306. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
  307. package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
  308. package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
  309. package/dist/node_modules/lodash/_toKey.js.map +1 -1
  310. package/dist/node_modules/lodash/_toSource.js.map +1 -1
  311. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
  312. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
  313. package/dist/node_modules/lodash/constant.js.map +1 -1
  314. package/dist/node_modules/lodash/debounce.js.map +1 -1
  315. package/dist/node_modules/lodash/eq.js.map +1 -1
  316. package/dist/node_modules/lodash/every.js.map +1 -1
  317. package/dist/node_modules/lodash/find.js.map +1 -1
  318. package/dist/node_modules/lodash/findIndex.js.map +1 -1
  319. package/dist/node_modules/lodash/flatMap.js.map +1 -1
  320. package/dist/node_modules/lodash/get.js.map +1 -1
  321. package/dist/node_modules/lodash/hasIn.js.map +1 -1
  322. package/dist/node_modules/lodash/identity.js.map +1 -1
  323. package/dist/node_modules/lodash/isArguments.js.map +1 -1
  324. package/dist/node_modules/lodash/isArray.js.map +1 -1
  325. package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
  326. package/dist/node_modules/lodash/isBoolean.js.map +1 -1
  327. package/dist/node_modules/lodash/isBuffer.js.map +1 -1
  328. package/dist/node_modules/lodash/isEqual.js.map +1 -1
  329. package/dist/node_modules/lodash/isFunction.js.map +1 -1
  330. package/dist/node_modules/lodash/isLength.js.map +1 -1
  331. package/dist/node_modules/lodash/isNaN.js.map +1 -1
  332. package/dist/node_modules/lodash/isNil.js.map +1 -1
  333. package/dist/node_modules/lodash/isNumber.js.map +1 -1
  334. package/dist/node_modules/lodash/isObject.js.map +1 -1
  335. package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
  336. package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
  337. package/dist/node_modules/lodash/isString.js.map +1 -1
  338. package/dist/node_modules/lodash/isSymbol.js.map +1 -1
  339. package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
  340. package/dist/node_modules/lodash/keys.js.map +1 -1
  341. package/dist/node_modules/lodash/last.js.map +1 -1
  342. package/dist/node_modules/lodash/map.js.map +1 -1
  343. package/dist/node_modules/lodash/mapValues.js.map +1 -1
  344. package/dist/node_modules/lodash/max.js.map +1 -1
  345. package/dist/node_modules/lodash/maxBy.js.map +1 -1
  346. package/dist/node_modules/lodash/memoize.js.map +1 -1
  347. package/dist/node_modules/lodash/min.js.map +1 -1
  348. package/dist/node_modules/lodash/minBy.js.map +1 -1
  349. package/dist/node_modules/lodash/noop.js.map +1 -1
  350. package/dist/node_modules/lodash/now.js.map +1 -1
  351. package/dist/node_modules/lodash/property.js.map +1 -1
  352. package/dist/node_modules/lodash/range.js.map +1 -1
  353. package/dist/node_modules/lodash/some.js.map +1 -1
  354. package/dist/node_modules/lodash/sortBy.js.map +1 -1
  355. package/dist/node_modules/lodash/stubArray.js.map +1 -1
  356. package/dist/node_modules/lodash/stubFalse.js.map +1 -1
  357. package/dist/node_modules/lodash/throttle.js.map +1 -1
  358. package/dist/node_modules/lodash/toFinite.js.map +1 -1
  359. package/dist/node_modules/lodash/toInteger.js.map +1 -1
  360. package/dist/node_modules/lodash/toNumber.js.map +1 -1
  361. package/dist/node_modules/lodash/toString.js.map +1 -1
  362. package/dist/node_modules/lodash/uniqBy.js.map +1 -1
  363. package/dist/node_modules/lodash/upperFirst.js.map +1 -1
  364. package/dist/node_modules/object-assign/index.js.map +1 -1
  365. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
  366. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
  367. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
  368. package/dist/node_modules/prop-types/index.js.map +1 -1
  369. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
  370. package/dist/node_modules/prop-types/lib/has.js.map +1 -1
  371. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  372. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  373. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
  374. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  375. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  376. package/dist/node_modules/react-is/index.js.map +1 -1
  377. package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
  378. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
  379. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
  380. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
  381. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
  382. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
  383. package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
  384. package/dist/node_modules/recharts/es6/cartesian/Area.js +13 -13
  385. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -1
  386. package/dist/node_modules/recharts/es6/cartesian/Bar.js +9 -9
  387. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
  388. package/dist/node_modules/recharts/es6/cartesian/Brush.js +12 -12
  389. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  390. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +7 -7
  391. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
  392. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +4 -4
  393. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
  394. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +3 -3
  395. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
  396. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +3 -3
  397. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
  398. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +4 -4
  399. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
  400. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +3 -3
  401. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
  402. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +3 -3
  403. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
  404. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
  405. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
  406. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -1
  407. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
  408. package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -1
  409. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
  410. package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -1
  411. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +22 -22
  412. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
  413. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
  414. package/dist/node_modules/recharts/es6/component/Cursor.js +1 -1
  415. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
  416. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +11 -11
  417. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
  418. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +6 -6
  419. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
  420. package/dist/node_modules/recharts/es6/component/Label.js +14 -14
  421. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
  422. package/dist/node_modules/recharts/es6/component/LabelList.js +6 -6
  423. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
  424. package/dist/node_modules/recharts/es6/component/Legend.js +5 -5
  425. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
  426. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +3 -3
  427. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
  428. package/dist/node_modules/recharts/es6/component/Text.js +2 -2
  429. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
  430. package/dist/node_modules/recharts/es6/component/Tooltip.js +3 -3
  431. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
  432. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +2 -2
  433. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
  434. package/dist/node_modules/recharts/es6/container/Layer.js +2 -2
  435. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
  436. package/dist/node_modules/recharts/es6/container/Surface.js +2 -2
  437. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
  438. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +2 -2
  439. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
  440. package/dist/node_modules/recharts/es6/polar/Pie.js +13 -13
  441. package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -1
  442. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +8 -8
  443. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +1 -1
  444. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +6 -6
  445. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +1 -1
  446. package/dist/node_modules/recharts/es6/shape/Cross.js +1 -1
  447. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
  448. package/dist/node_modules/recharts/es6/shape/Curve.js +1 -1
  449. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
  450. package/dist/node_modules/recharts/es6/shape/Dot.js +1 -1
  451. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
  452. package/dist/node_modules/recharts/es6/shape/Polygon.js +4 -4
  453. package/dist/node_modules/recharts/es6/shape/Polygon.js.map +1 -1
  454. package/dist/node_modules/recharts/es6/shape/Rectangle.js +4 -4
  455. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
  456. package/dist/node_modules/recharts/es6/shape/Sector.js +1 -1
  457. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
  458. package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -1
  459. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
  460. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +4 -4
  461. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
  462. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +9 -9
  463. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
  464. package/dist/node_modules/recharts/es6/util/BarUtils.js +1 -1
  465. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
  466. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +1 -1
  467. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
  468. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
  469. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
  470. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
  471. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
  472. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
  473. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
  474. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
  475. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
  476. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
  477. package/dist/node_modules/recharts/es6/util/PolarUtils.js +1 -1
  478. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
  479. package/dist/node_modules/recharts/es6/util/ReactUtils.js +1 -1
  480. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
  481. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +1 -1
  482. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
  483. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
  484. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
  485. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
  486. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
  487. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
  488. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
  489. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
  490. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
  491. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
  492. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
  493. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
  494. package/dist/node_modules/recharts/es6/util/types.js +1 -1
  495. package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
  496. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
  497. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
  498. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
  499. package/dist/node_modules/sonner/dist/index.js.map +1 -1
  500. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -1
  501. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  502. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
  503. package/dist/stories/LoadMore.stories.d.ts +0 -1
  504. package/package.json +15 -7
@@ -1 +1 @@
1
- {"version":3,"file":"LabelList.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/LabelList.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar _excluded = [\"valueAccessor\"],\n _excluded2 = [\"data\", \"dataKey\", \"clockWise\", \"id\", \"textBreakAll\"];\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }\nimport React, { cloneElement } from 'react';\nimport isNil from 'lodash/isNil';\nimport isObject from 'lodash/isObject';\nimport isFunction from 'lodash/isFunction';\nimport last from 'lodash/last';\nimport { Label } from './Label';\nimport { Layer } from '../container/Layer';\nimport { findAllByType, filterProps } from '../util/ReactUtils';\nimport { getValueByDataKey } from '../util/ChartUtils';\nvar defaultAccessor = function defaultAccessor(entry) {\n return Array.isArray(entry.value) ? last(entry.value) : entry.value;\n};\nexport function LabelList(_ref) {\n var _ref$valueAccessor = _ref.valueAccessor,\n valueAccessor = _ref$valueAccessor === void 0 ? defaultAccessor : _ref$valueAccessor,\n restProps = _objectWithoutProperties(_ref, _excluded);\n var data = restProps.data,\n dataKey = restProps.dataKey,\n clockWise = restProps.clockWise,\n id = restProps.id,\n textBreakAll = restProps.textBreakAll,\n others = _objectWithoutProperties(restProps, _excluded2);\n if (!data || !data.length) {\n return null;\n }\n return /*#__PURE__*/React.createElement(Layer, {\n className: \"recharts-label-list\"\n }, data.map(function (entry, index) {\n var value = isNil(dataKey) ? valueAccessor(entry, index) : getValueByDataKey(entry && entry.payload, dataKey);\n var idProps = isNil(id) ? {} : {\n id: \"\".concat(id, \"-\").concat(index)\n };\n return /*#__PURE__*/React.createElement(Label, _extends({}, filterProps(entry, true), others, idProps, {\n parentViewBox: entry.parentViewBox,\n value: value,\n textBreakAll: textBreakAll,\n viewBox: Label.parseViewBox(isNil(clockWise) ? entry : _objectSpread(_objectSpread({}, entry), {}, {\n clockWise: clockWise\n })),\n key: \"label-\".concat(index) // eslint-disable-line react/no-array-index-key\n ,\n index: index\n }));\n }));\n}\nLabelList.displayName = 'LabelList';\nfunction parseLabelList(label, data) {\n if (!label) {\n return null;\n }\n if (label === true) {\n return /*#__PURE__*/React.createElement(LabelList, {\n key: \"labelList-implicit\",\n data: data\n });\n }\n if ( /*#__PURE__*/React.isValidElement(label) || isFunction(label)) {\n return /*#__PURE__*/React.createElement(LabelList, {\n key: \"labelList-implicit\",\n data: data,\n content: label\n });\n }\n if (isObject(label)) {\n return /*#__PURE__*/React.createElement(LabelList, _extends({\n data: data\n }, label, {\n key: \"labelList-implicit\"\n }));\n }\n return null;\n}\nfunction renderCallByParent(parentProps, data) {\n var checkPropsLabel = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n if (!parentProps || !parentProps.children && checkPropsLabel && !parentProps.label) {\n return null;\n }\n var children = parentProps.children;\n var explicitChildren = findAllByType(children, LabelList).map(function (child, index) {\n return /*#__PURE__*/cloneElement(child, {\n data: data,\n // eslint-disable-next-line react/no-array-index-key\n key: \"labelList-\".concat(index)\n });\n });\n if (!checkPropsLabel) {\n return explicitChildren;\n }\n var implicitLabelList = parseLabelList(parentProps.label, data);\n return [implicitLabelList].concat(_toConsumableArray(explicitChildren));\n}\nLabelList.renderCallByParent = renderCallByParent;"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAAA,SAAS,EAAQ,GAAG;AAAE;AAA2B,QAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;AAAE,SAAO,OAAO;KAAO,SAAU,GAAG;AAAE,SAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAAO;IAAM,EAAQ,EAAE;;AAC3T,IAAI,IAAY,CAAC,gBAAgB,EAC/B,IAAa;CAAC;CAAQ;CAAW;CAAa;CAAM;CAAe;AACrE,SAAS,EAAmB,GAAK;AAAE,QAAO,EAAmB,EAAI,IAAI,EAAiB,EAAI,IAAI,EAA4B,EAAI,IAAI,GAAoB;;AACtJ,SAAS,IAAqB;AAAE,OAAU,UAAU,uIAAuI;;AAC3L,SAAS,EAA4B,GAAG,GAAQ;AAAO,QAAW;MAAI,OAAO,KAAM,SAAU,QAAO,EAAkB,GAAG,EAAO;EAAE,IAAI,IAAI,OAAO,UAAU,SAAS,KAAK,EAAE,CAAC,MAAM,GAAG,GAAG;AAA+D,MAAzD,MAAM,YAAY,EAAE,gBAAa,IAAI,EAAE,YAAY,OAAU,MAAM,SAAS,MA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AE,EAAE,EAAM,EAAE,EAAE,EAAE,EACtF,cACZ,CAAC,CAAC;GACH,KAAK,SAAgB;GAEd;GACR,CAAC,CAAC;GACH,CAAC;;AAEL,EAAU,cAAc;AACxB,SAAS,EAAe,GAAO,GAAM;AAwBnC,QAvBK,IAGD,MAAU,KACQ,kBAAM,cAAc,GAAW;EACjD,KAAK;EACC;EACP,CAAC,GAEc,kBAAM,eAAe,EAAM,KAAA,GAAA,EAAA,SAAe,EAAM,GAC5C,kBAAM,cAAc,GAAW;EACjD,KAAK;EACC;EACN,SAAS;EACV,CAAC,IAEJ,GAAA,EAAA,SAAa,EAAM,GACG,kBAAM,cAAc,GAAW,EAAS,EACpD,SACP,EAAE,GAAO,EACR,KAAK,sBACN,CAAC,CAAC,GAEE,OAtBE;;AAwBX,SAAS,EAAmB,GAAa,GAAM;CAC7C,IAAI,IAAkB,UAAU,SAAS,KAAK,UAAU,OAAO,KAAA,IAAY,UAAU,KAAK;AAC1F,KAAI,CAAC,KAAe,CAAC,EAAY,YAAY,KAAmB,CAAC,EAAY,MAC3E,QAAO;CAET,IAAI,IAAW,EAAY,UACvB,IAAmB,EAAc,GAAU,EAAU,CAAC,IAAI,SAAU,GAAO,GAAO;AACpF,SAAoB,kBAAa,GAAO;GAChC;GAEN,KAAK,aAAoB;GAC1B,CAAC;GACF;AAKF,QAJK,IAIE,CADiB,EAAe,EAAY,OAAO,EAAK,CACrC,CAAC,OAAO,EAAmB,EAAiB,CAAC,GAH9D;;AAKX,EAAU,qBAAqB"}
1
+ {"version":3,"file":"LabelList.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/LabelList.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar _excluded = [\"valueAccessor\"],\n _excluded2 = [\"data\", \"dataKey\", \"clockWise\", \"id\", \"textBreakAll\"];\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }\nimport React, { cloneElement } from 'react';\nimport isNil from 'lodash/isNil';\nimport isObject from 'lodash/isObject';\nimport isFunction from 'lodash/isFunction';\nimport last from 'lodash/last';\nimport { Label } from './Label';\nimport { Layer } from '../container/Layer';\nimport { findAllByType, filterProps } from '../util/ReactUtils';\nimport { getValueByDataKey } from '../util/ChartUtils';\nvar defaultAccessor = function defaultAccessor(entry) {\n return Array.isArray(entry.value) ? last(entry.value) : entry.value;\n};\nexport function LabelList(_ref) {\n var _ref$valueAccessor = _ref.valueAccessor,\n valueAccessor = _ref$valueAccessor === void 0 ? defaultAccessor : _ref$valueAccessor,\n restProps = _objectWithoutProperties(_ref, _excluded);\n var data = restProps.data,\n dataKey = restProps.dataKey,\n clockWise = restProps.clockWise,\n id = restProps.id,\n textBreakAll = restProps.textBreakAll,\n others = _objectWithoutProperties(restProps, _excluded2);\n if (!data || !data.length) {\n return null;\n }\n return /*#__PURE__*/React.createElement(Layer, {\n className: \"recharts-label-list\"\n }, data.map(function (entry, index) {\n var value = isNil(dataKey) ? valueAccessor(entry, index) : getValueByDataKey(entry && entry.payload, dataKey);\n var idProps = isNil(id) ? {} : {\n id: \"\".concat(id, \"-\").concat(index)\n };\n return /*#__PURE__*/React.createElement(Label, _extends({}, filterProps(entry, true), others, idProps, {\n parentViewBox: entry.parentViewBox,\n value: value,\n textBreakAll: textBreakAll,\n viewBox: Label.parseViewBox(isNil(clockWise) ? entry : _objectSpread(_objectSpread({}, entry), {}, {\n clockWise: clockWise\n })),\n key: \"label-\".concat(index) // eslint-disable-line react/no-array-index-key\n ,\n index: index\n }));\n }));\n}\nLabelList.displayName = 'LabelList';\nfunction parseLabelList(label, data) {\n if (!label) {\n return null;\n }\n if (label === true) {\n return /*#__PURE__*/React.createElement(LabelList, {\n key: \"labelList-implicit\",\n data: data\n });\n }\n if ( /*#__PURE__*/React.isValidElement(label) || isFunction(label)) {\n return /*#__PURE__*/React.createElement(LabelList, {\n key: \"labelList-implicit\",\n data: data,\n content: label\n });\n }\n if (isObject(label)) {\n return /*#__PURE__*/React.createElement(LabelList, _extends({\n data: data\n }, label, {\n key: \"labelList-implicit\"\n }));\n }\n return null;\n}\nfunction renderCallByParent(parentProps, data) {\n var checkPropsLabel = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n if (!parentProps || !parentProps.children && checkPropsLabel && !parentProps.label) {\n return null;\n }\n var children = parentProps.children;\n var explicitChildren = findAllByType(children, LabelList).map(function (child, index) {\n return /*#__PURE__*/cloneElement(child, {\n data: data,\n // eslint-disable-next-line react/no-array-index-key\n key: \"labelList-\".concat(index)\n });\n });\n if (!checkPropsLabel) {\n return explicitChildren;\n }\n var implicitLabelList = parseLabelList(parentProps.label, data);\n return [implicitLabelList].concat(_toConsumableArray(explicitChildren));\n}\nLabelList.renderCallByParent = renderCallByParent;"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAAA,SAAS,EAAQ,GAAG;CAAE;CAA2B,OAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;EAAE,OAAO,OAAO;CAAG,IAAI,SAAU,GAAG;EAAE,OAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAAO;CAAG,GAAG,EAAQ,CAAC;AAAG;AAC7T,IAAI,IAAY,CAAC,eAAe,GAC9B,IAAa;CAAC;CAAQ;CAAW;CAAa;CAAM;AAAc;AACpE,SAAS,EAAmB,GAAK;CAAE,OAAO,EAAmB,CAAG,KAAK,EAAiB,CAAG,KAAK,EAA4B,CAAG,KAAK,EAAmB;AAAG;AACxJ,SAAS,IAAqB;CAAE,MAAU,UAAU,sIAAsI;AAAG;AAC7L,SAAS,EAA4B,GAAG,GAAQ;CAAO,OAAW;MAAI,OAAO,KAAM,UAAU,OAAO,EAAkB,GAAG,CAAM;EAAG,IAAI,IAAI,OAAO,UAAU,SAAS,KAAK,CAAC,EAAE,MAAM,GAAG,EAAE;EAAgE,IAAzD,MAAM,YAAY,EAAE,gBAAa,IAAI,EAAE,YAAY,OAAU,MAAM,SAAS,MAAM,OAAO,OAAO,MAAM,KAAK,CAAC;EAAG,IAAI,MAAM,eAAe,2CAA2C,KAAK,CAAC,GAAG,OAAO,EAAkB,GAAG,CAAM;CAA7R;AAAgS;AAC/Z,SAAS,EAAiB,GAAM;CAAE,IAAI,OAAO,SAAW,OAAe,EAAK,OAAO,aAAa,QAAQ,EAAK,iBAAiB,MAAM,OAAO,MAAM,KAAK,CAAI;AAAG;AAC7J,SAAS,EAAmB,GA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AO,GAAM;CAwBnC,OAvBK,IAGD,MAAU,KACQ,gBAAM,cAAc,GAAW;EACjD,KAAK;EACC;CACR,CAAC,IAEe,gBAAM,eAAe,CAAK,MAAA,GAAA,EAAA,SAAgB,CAAK,IAC3C,gBAAM,cAAc,GAAW;EACjD,KAAK;EACC;EACN,SAAS;CACX,CAAC,KAEH,GAAA,EAAA,SAAa,CAAK,IACI,gBAAM,cAAc,GAAW,EAAS,EACpD,QACR,GAAG,GAAO,EACR,KAAK,qBACP,CAAC,CAAC,IAEG,OAtBE;AAuBX;AACA,SAAS,EAAmB,GAAa,GAAM;CAC7C,IAAI,IAAkB,UAAU,SAAS,KAAK,UAAU,OAAO,KAAA,IAAY,UAAU,KAAK;CAC1F,IAAI,CAAC,KAAe,CAAC,EAAY,YAAY,KAAmB,CAAC,EAAY,OAC3E,OAAO;CAET,IAAI,IAAW,EAAY,UACvB,IAAmB,EAAc,GAAU,CAAS,EAAE,IAAI,SAAU,GAAO,GAAO;EACpF,OAAoB,gBAAa,GAAO;GAChC;GAEN,KAAK,aAAoB;EAC3B,CAAC;CACH,CAAC;CAKD,OAJK,IAIE,CADiB,EAAe,EAAY,OAAO,CAClC,CAAC,EAAE,OAAO,EAAmB,CAAgB,CAAC,IAH7D;AAIX;AACA,EAAU,qBAAqB"}
@@ -127,13 +127,13 @@ function w(e) {
127
127
  return e.value;
128
128
  }
129
129
  function T(e, n) {
130
- if (/* @__PURE__ */ r.isValidElement(e)) return /* @__PURE__ */ r.cloneElement(e, n);
131
- if (typeof e == "function") return /* @__PURE__ */ r.createElement(e, n);
130
+ if (/*#__PURE__*/ r.isValidElement(e)) return /*#__PURE__*/ r.cloneElement(e, n);
131
+ if (typeof e == "function") return /*#__PURE__*/ r.createElement(e, n);
132
132
  n.ref;
133
133
  var i = S(n, o);
134
- return /* @__PURE__ */ r.createElement(t, i);
134
+ return /*#__PURE__*/ r.createElement(t, i);
135
135
  }
136
- var E = 1, D = /* @__PURE__ */ function(t) {
136
+ var E = 1, D = /*#__PURE__*/ function(t) {
137
137
  function i() {
138
138
  var e;
139
139
  l(this, i);
@@ -205,7 +205,7 @@ var E = 1, D = /* @__PURE__ */ function(t) {
205
205
  width: a || "auto",
206
206
  height: o || "auto"
207
207
  }, this.getDefaultPosition(s)), s);
208
- return /* @__PURE__ */ r.createElement("div", {
208
+ return /*#__PURE__*/ r.createElement("div", {
209
209
  className: "recharts-legend-wrapper",
210
210
  style: d,
211
211
  ref: function(t) {
@@ -1 +1 @@
1
- {"version":3,"file":"Legend.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/Legend.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar _excluded = [\"ref\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }\n/**\n * @fileOverview Legend\n */\nimport React, { PureComponent } from 'react';\nimport { DefaultLegendContent } from './DefaultLegendContent';\nimport { isNumber } from '../util/DataUtils';\nimport { getUniqPayload } from '../util/payload/getUniqPayload';\nfunction defaultUniqBy(entry) {\n return entry.value;\n}\nfunction renderContent(content, props) {\n if ( /*#__PURE__*/React.isValidElement(content)) {\n return /*#__PURE__*/React.cloneElement(content, props);\n }\n if (typeof content === 'function') {\n return /*#__PURE__*/React.createElement(content, props);\n }\n var ref = props.ref,\n otherProps = _objectWithoutProperties(props, _excluded);\n return /*#__PURE__*/React.createElement(DefaultLegendContent, otherProps);\n}\nvar EPS = 1;\nexport var Legend = /*#__PURE__*/function (_PureComponent) {\n function Legend() {\n var _this;\n _classCallCheck(this, Legend);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, Legend, [].concat(args));\n _defineProperty(_this, \"lastBoundingBox\", {\n width: -1,\n height: -1\n });\n return _this;\n }\n _inherits(Legend, _PureComponent);\n return _createClass(Legend, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.updateBBox();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.updateBBox();\n }\n }, {\n key: \"getBBox\",\n value: function getBBox() {\n if (this.wrapperNode && this.wrapperNode.getBoundingClientRect) {\n var box = this.wrapperNode.getBoundingClientRect();\n box.height = this.wrapperNode.offsetHeight;\n box.width = this.wrapperNode.offsetWidth;\n return box;\n }\n return null;\n }\n }, {\n key: \"updateBBox\",\n value: function updateBBox() {\n var onBBoxUpdate = this.props.onBBoxUpdate;\n var box = this.getBBox();\n if (box) {\n if (Math.abs(box.width - this.lastBoundingBox.width) > EPS || Math.abs(box.height - this.lastBoundingBox.height) > EPS) {\n this.lastBoundingBox.width = box.width;\n this.lastBoundingBox.height = box.height;\n if (onBBoxUpdate) {\n onBBoxUpdate(box);\n }\n }\n } else if (this.lastBoundingBox.width !== -1 || this.lastBoundingBox.height !== -1) {\n this.lastBoundingBox.width = -1;\n this.lastBoundingBox.height = -1;\n if (onBBoxUpdate) {\n onBBoxUpdate(null);\n }\n }\n }\n }, {\n key: \"getBBoxSnapshot\",\n value: function getBBoxSnapshot() {\n if (this.lastBoundingBox.width >= 0 && this.lastBoundingBox.height >= 0) {\n return _objectSpread({}, this.lastBoundingBox);\n }\n return {\n width: 0,\n height: 0\n };\n }\n }, {\n key: \"getDefaultPosition\",\n value: function getDefaultPosition(style) {\n var _this$props = this.props,\n layout = _this$props.layout,\n align = _this$props.align,\n verticalAlign = _this$props.verticalAlign,\n margin = _this$props.margin,\n chartWidth = _this$props.chartWidth,\n chartHeight = _this$props.chartHeight;\n var hPos, vPos;\n if (!style || (style.left === undefined || style.left === null) && (style.right === undefined || style.right === null)) {\n if (align === 'center' && layout === 'vertical') {\n var box = this.getBBoxSnapshot();\n hPos = {\n left: ((chartWidth || 0) - box.width) / 2\n };\n } else {\n hPos = align === 'right' ? {\n right: margin && margin.right || 0\n } : {\n left: margin && margin.left || 0\n };\n }\n }\n if (!style || (style.top === undefined || style.top === null) && (style.bottom === undefined || style.bottom === null)) {\n if (verticalAlign === 'middle') {\n var _box = this.getBBoxSnapshot();\n vPos = {\n top: ((chartHeight || 0) - _box.height) / 2\n };\n } else {\n vPos = verticalAlign === 'bottom' ? {\n bottom: margin && margin.bottom || 0\n } : {\n top: margin && margin.top || 0\n };\n }\n }\n return _objectSpread(_objectSpread({}, hPos), vPos);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props2 = this.props,\n content = _this$props2.content,\n width = _this$props2.width,\n height = _this$props2.height,\n wrapperStyle = _this$props2.wrapperStyle,\n payloadUniqBy = _this$props2.payloadUniqBy,\n payload = _this$props2.payload;\n var outerStyle = _objectSpread(_objectSpread({\n position: 'absolute',\n width: width || 'auto',\n height: height || 'auto'\n }, this.getDefaultPosition(wrapperStyle)), wrapperStyle);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"recharts-legend-wrapper\",\n style: outerStyle,\n ref: function ref(node) {\n _this2.wrapperNode = node;\n }\n }, renderContent(content, _objectSpread(_objectSpread({}, this.props), {}, {\n payload: getUniqPayload(payload, payloadUniqBy, defaultUniqBy)\n })));\n }\n }], [{\n key: \"getWithHeight\",\n value: function getWithHeight(item, chartWidth) {\n var _this$defaultProps$it = _objectSpread(_objectSpread({}, this.defaultProps), item.props),\n layout = _this$defaultProps$it.layout;\n if (layout === 'vertical' && isNumber(item.props.height)) {\n return {\n height: item.props.height\n };\n }\n if (layout === 'horizontal') {\n return {\n width: item.props.width || chartWidth\n };\n }\n return null;\n }\n }]);\n}(PureComponent);\n_defineProperty(Legend, \"displayName\", 'Legend');\n_defineProperty(Legend, \"defaultProps\", {\n iconSize: 14,\n layout: 'horizontal',\n align: 'center',\n verticalAlign: 'bottom'\n});"],"x_google_ignoreList":[0],"mappings":";;;;;AAAA,SAAS,EAAQ,GAAG;AAAE;AAA2B,Q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AAc;AAChB,EAAgB,GAAQ,eAAe,SAAS,EAChD,EAAgB,GAAQ,gBAAgB;CACtC,UAAU;CACV,QAAQ;CACR,OAAO;CACP,eAAe;CAChB,CAAC"}
1
+ {"version":3,"file":"Legend.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/Legend.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar _excluded = [\"ref\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }\n/**\n * @fileOverview Legend\n */\nimport React, { PureComponent } from 'react';\nimport { DefaultLegendContent } from './DefaultLegendContent';\nimport { isNumber } from '../util/DataUtils';\nimport { getUniqPayload } from '../util/payload/getUniqPayload';\nfunction defaultUniqBy(entry) {\n return entry.value;\n}\nfunction renderContent(content, props) {\n if ( /*#__PURE__*/React.isValidElement(content)) {\n return /*#__PURE__*/React.cloneElement(content, props);\n }\n if (typeof content === 'function') {\n return /*#__PURE__*/React.createElement(content, props);\n }\n var ref = props.ref,\n otherProps = _objectWithoutProperties(props, _excluded);\n return /*#__PURE__*/React.createElement(DefaultLegendContent, otherProps);\n}\nvar EPS = 1;\nexport var Legend = /*#__PURE__*/function (_PureComponent) {\n function Legend() {\n var _this;\n _classCallCheck(this, Legend);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, Legend, [].concat(args));\n _defineProperty(_this, \"lastBoundingBox\", {\n width: -1,\n height: -1\n });\n return _this;\n }\n _inherits(Legend, _PureComponent);\n return _createClass(Legend, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.updateBBox();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.updateBBox();\n }\n }, {\n key: \"getBBox\",\n value: function getBBox() {\n if (this.wrapperNode && this.wrapperNode.getBoundingClientRect) {\n var box = this.wrapperNode.getBoundingClientRect();\n box.height = this.wrapperNode.offsetHeight;\n box.width = this.wrapperNode.offsetWidth;\n return box;\n }\n return null;\n }\n }, {\n key: \"updateBBox\",\n value: function updateBBox() {\n var onBBoxUpdate = this.props.onBBoxUpdate;\n var box = this.getBBox();\n if (box) {\n if (Math.abs(box.width - this.lastBoundingBox.width) > EPS || Math.abs(box.height - this.lastBoundingBox.height) > EPS) {\n this.lastBoundingBox.width = box.width;\n this.lastBoundingBox.height = box.height;\n if (onBBoxUpdate) {\n onBBoxUpdate(box);\n }\n }\n } else if (this.lastBoundingBox.width !== -1 || this.lastBoundingBox.height !== -1) {\n this.lastBoundingBox.width = -1;\n this.lastBoundingBox.height = -1;\n if (onBBoxUpdate) {\n onBBoxUpdate(null);\n }\n }\n }\n }, {\n key: \"getBBoxSnapshot\",\n value: function getBBoxSnapshot() {\n if (this.lastBoundingBox.width >= 0 && this.lastBoundingBox.height >= 0) {\n return _objectSpread({}, this.lastBoundingBox);\n }\n return {\n width: 0,\n height: 0\n };\n }\n }, {\n key: \"getDefaultPosition\",\n value: function getDefaultPosition(style) {\n var _this$props = this.props,\n layout = _this$props.layout,\n align = _this$props.align,\n verticalAlign = _this$props.verticalAlign,\n margin = _this$props.margin,\n chartWidth = _this$props.chartWidth,\n chartHeight = _this$props.chartHeight;\n var hPos, vPos;\n if (!style || (style.left === undefined || style.left === null) && (style.right === undefined || style.right === null)) {\n if (align === 'center' && layout === 'vertical') {\n var box = this.getBBoxSnapshot();\n hPos = {\n left: ((chartWidth || 0) - box.width) / 2\n };\n } else {\n hPos = align === 'right' ? {\n right: margin && margin.right || 0\n } : {\n left: margin && margin.left || 0\n };\n }\n }\n if (!style || (style.top === undefined || style.top === null) && (style.bottom === undefined || style.bottom === null)) {\n if (verticalAlign === 'middle') {\n var _box = this.getBBoxSnapshot();\n vPos = {\n top: ((chartHeight || 0) - _box.height) / 2\n };\n } else {\n vPos = verticalAlign === 'bottom' ? {\n bottom: margin && margin.bottom || 0\n } : {\n top: margin && margin.top || 0\n };\n }\n }\n return _objectSpread(_objectSpread({}, hPos), vPos);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props2 = this.props,\n content = _this$props2.content,\n width = _this$props2.width,\n height = _this$props2.height,\n wrapperStyle = _this$props2.wrapperStyle,\n payloadUniqBy = _this$props2.payloadUniqBy,\n payload = _this$props2.payload;\n var outerStyle = _objectSpread(_objectSpread({\n position: 'absolute',\n width: width || 'auto',\n height: height || 'auto'\n }, this.getDefaultPosition(wrapperStyle)), wrapperStyle);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"recharts-legend-wrapper\",\n style: outerStyle,\n ref: function ref(node) {\n _this2.wrapperNode = node;\n }\n }, renderContent(content, _objectSpread(_objectSpread({}, this.props), {}, {\n payload: getUniqPayload(payload, payloadUniqBy, defaultUniqBy)\n })));\n }\n }], [{\n key: \"getWithHeight\",\n value: function getWithHeight(item, chartWidth) {\n var _this$defaultProps$it = _objectSpread(_objectSpread({}, this.defaultProps), item.props),\n layout = _this$defaultProps$it.layout;\n if (layout === 'vertical' && isNumber(item.props.height)) {\n return {\n height: item.props.height\n };\n }\n if (layout === 'horizontal') {\n return {\n width: item.props.width || chartWidth\n };\n }\n return null;\n }\n }]);\n}(PureComponent);\n_defineProperty(Legend, \"displayName\", 'Legend');\n_defineProperty(Legend, \"defaultProps\", {\n iconSize: 14,\n layout: 'horizontal',\n align: 'center',\n verticalAlign: 'bottom'\n});"],"x_google_ignoreList":[0],"mappings":";;;;;AAAA,SAAS,EAAQ,GAAG;CAAE;CAA2B,OAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;EAAE,OAAO,OAAO;CAAG,IAAI,SAAU,GAAG;EAAE,OAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,O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EAAK,MAAM,SAAS,EAC7B,IAEK;EACT;CACF,CAAC,CAAC;AACJ,EAAE,CAAa;AACf,EAAgB,GAAQ,eAAe,QAAQ,GAC/C,EAAgB,GAAQ,gBAAgB;CACtC,UAAU;CACV,QAAQ;CACR,OAAO;CACP,eAAe;AACjB,CAAC"}
@@ -101,7 +101,7 @@ function E(e, t) {
101
101
  function D(e) {
102
102
  if (Array.isArray(e)) return e;
103
103
  }
104
- var O = /* @__PURE__ */ c(function(e, a) {
104
+ var O = /*#__PURE__*/ c(function(e, a) {
105
105
  var c = e.aspect, g = e.initialDimension, _ = g === void 0 ? {
106
106
  width: -1,
107
107
  height: -1
@@ -148,7 +148,7 @@ var O = /* @__PURE__ */ c(function(e, a) {
148
148
  c && c > 0 && (a ? l = a / c : l && (a = l * c), D && l > D && (l = D)), i(a > 0 || l > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", a, l, b, C, T, E, c);
149
149
  var u = !Array.isArray(O) && r(O.type).endsWith("Chart");
150
150
  return o.Children.map(O, function(e) {
151
- return /* @__PURE__ */ o.isValidElement(e) ? /* @__PURE__ */ s(e, v({
151
+ return /*#__PURE__*/ o.isValidElement(e) ? /*#__PURE__*/ s(e, v({
152
152
  width: a,
153
153
  height: l
154
154
  }, u ? { style: v({
@@ -168,7 +168,7 @@ var O = /* @__PURE__ */ c(function(e, a) {
168
168
  z,
169
169
  b
170
170
  ]);
171
- return /* @__PURE__ */ o.createElement("div", {
171
+ return /*#__PURE__*/ o.createElement("div", {
172
172
  id: j ? `${j}` : void 0,
173
173
  className: t("recharts-responsive-container", M),
174
174
  style: v(v({}, F), {}, {
@@ -1 +1 @@
1
- {"version":3,"file":"ResponsiveContainer.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/ResponsiveContainer.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n/**\n * @fileOverview Wrapper component to make charts adapt to the size of parent * DOM\n */\nimport clsx from 'clsx';\nimport React, { forwardRef, cloneElement, useState, useImperativeHandle, useRef, useEffect, useMemo, useCallback } from 'react';\nimport throttle from 'lodash/throttle';\nimport { isPercent } from '../util/DataUtils';\nimport { warn } from '../util/LogUtils';\nimport { getDisplayName } from '../util/ReactUtils';\nexport var ResponsiveContainer = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var aspect = _ref.aspect,\n _ref$initialDimension = _ref.initialDimension,\n initialDimension = _ref$initialDimension === void 0 ? {\n width: -1,\n height: -1\n } : _ref$initialDimension,\n _ref$width = _ref.width,\n width = _ref$width === void 0 ? '100%' : _ref$width,\n _ref$height = _ref.height,\n height = _ref$height === void 0 ? '100%' : _ref$height,\n _ref$minWidth = _ref.minWidth,\n minWidth = _ref$minWidth === void 0 ? 0 : _ref$minWidth,\n minHeight = _ref.minHeight,\n maxHeight = _ref.maxHeight,\n children = _ref.children,\n _ref$debounce = _ref.debounce,\n debounce = _ref$debounce === void 0 ? 0 : _ref$debounce,\n id = _ref.id,\n className = _ref.className,\n onResize = _ref.onResize,\n _ref$style = _ref.style,\n style = _ref$style === void 0 ? {} : _ref$style;\n var containerRef = useRef(null);\n var onResizeRef = useRef();\n onResizeRef.current = onResize;\n useImperativeHandle(ref, function () {\n return Object.defineProperty(containerRef.current, 'current', {\n get: function get() {\n // eslint-disable-next-line no-console\n console.warn('The usage of ref.current.current is deprecated and will no longer be supported.');\n return containerRef.current;\n },\n configurable: true\n });\n });\n var _useState = useState({\n containerWidth: initialDimension.width,\n containerHeight: initialDimension.height\n }),\n _useState2 = _slicedToArray(_useState, 2),\n sizes = _useState2[0],\n setSizes = _useState2[1];\n var setContainerSize = useCallback(function (newWidth, newHeight) {\n setSizes(function (prevState) {\n var roundedWidth = Math.round(newWidth);\n var roundedHeight = Math.round(newHeight);\n if (prevState.containerWidth === roundedWidth && prevState.containerHeight === roundedHeight) {\n return prevState;\n }\n return {\n containerWidth: roundedWidth,\n containerHeight: roundedHeight\n };\n });\n }, []);\n useEffect(function () {\n var callback = function callback(entries) {\n var _onResizeRef$current;\n var _entries$0$contentRec = entries[0].contentRect,\n containerWidth = _entries$0$contentRec.width,\n containerHeight = _entries$0$contentRec.height;\n setContainerSize(containerWidth, containerHeight);\n (_onResizeRef$current = onResizeRef.current) === null || _onResizeRef$current === void 0 || _onResizeRef$current.call(onResizeRef, containerWidth, containerHeight);\n };\n if (debounce > 0) {\n callback = throttle(callback, debounce, {\n trailing: true,\n leading: false\n });\n }\n var observer = new ResizeObserver(callback);\n var _containerRef$current = containerRef.current.getBoundingClientRect(),\n containerWidth = _containerRef$current.width,\n containerHeight = _containerRef$current.height;\n setContainerSize(containerWidth, containerHeight);\n observer.observe(containerRef.current);\n return function () {\n observer.disconnect();\n };\n }, [setContainerSize, debounce]);\n var chartContent = useMemo(function () {\n var containerWidth = sizes.containerWidth,\n containerHeight = sizes.containerHeight;\n if (containerWidth < 0 || containerHeight < 0) {\n return null;\n }\n warn(isPercent(width) || isPercent(height), \"The width(%s) and height(%s) are both fixed numbers,\\n maybe you don't need to use a ResponsiveContainer.\", width, height);\n warn(!aspect || aspect > 0, 'The aspect(%s) must be greater than zero.', aspect);\n var calculatedWidth = isPercent(width) ? containerWidth : width;\n var calculatedHeight = isPercent(height) ? containerHeight : height;\n if (aspect && aspect > 0) {\n // Preserve the desired aspect ratio\n if (calculatedWidth) {\n // Will default to using width for aspect ratio\n calculatedHeight = calculatedWidth / aspect;\n } else if (calculatedHeight) {\n // But we should also take height into consideration\n calculatedWidth = calculatedHeight * aspect;\n }\n\n // if maxHeight is set, overwrite if calculatedHeight is greater than maxHeight\n if (maxHeight && calculatedHeight > maxHeight) {\n calculatedHeight = maxHeight;\n }\n }\n warn(calculatedWidth > 0 || calculatedHeight > 0, \"The width(%s) and height(%s) of chart should be greater than 0,\\n please check the style of container, or the props width(%s) and height(%s),\\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\\n height and width.\", calculatedWidth, calculatedHeight, width, height, minWidth, minHeight, aspect);\n var isCharts = !Array.isArray(children) && getDisplayName(children.type).endsWith('Chart');\n return React.Children.map(children, function (child) {\n if ( /*#__PURE__*/React.isValidElement(child)) {\n return /*#__PURE__*/cloneElement(child, _objectSpread({\n width: calculatedWidth,\n height: calculatedHeight\n }, isCharts ? {\n style: _objectSpread({\n height: '100%',\n width: '100%',\n maxHeight: calculatedHeight,\n maxWidth: calculatedWidth\n }, child.props.style)\n } : {}));\n }\n return child;\n });\n }, [aspect, children, height, maxHeight, minHeight, minWidth, sizes, width]);\n return /*#__PURE__*/React.createElement(\"div\", {\n id: id ? \"\".concat(id) : undefined,\n className: clsx('recharts-responsive-container', className),\n style: _objectSpread(_objectSpread({}, style), {}, {\n width: width,\n height: height,\n minWidth: minWidth,\n minHeight: minHeight,\n maxHeight: maxHeight\n }),\n ref: containerRef\n }, chartContent);\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AAA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AAkB,EAC1C,QAAO;AAGT,EADA,EAAK,EAAU,EAAM,IAAI,EAAU,EAAO,EAAE,mHAAmH,GAAO,EAAO,EAC7K,EAAK,CAAC,KAAU,IAAS,GAAG,6CAA6C,EAAO;EAChF,IAAI,IAAkB,EAAU,EAAM,GAAG,IAAiB,GACtD,IAAmB,EAAU,EAAO,GAAG,IAAkB;AAgB7D,EAfI,KAAU,IAAS,MAEjB,IAEF,IAAmB,IAAkB,IAC5B,MAET,IAAkB,IAAmB,IAInC,KAAa,IAAmB,MAClC,IAAmB,KAGvB,EAAK,IAAkB,KAAK,IAAmB,GAAG,iQAAiQ,GAAiB,GAAkB,GAAO,GAAQ,GAAU,GAAW,EAAO;EACjY,IAAI,IAAW,CAAC,MAAM,QAAQ,EAAS,IAAI,EAAe,EAAS,KAAK,CAAC,SAAS,QAAQ;AAC1F,SAAO,EAAM,SAAS,IAAI,GAAU,SAAU,GAAO;AAcnD,UAbkB,kBAAM,eAAe,EAAM,GACvB,kBAAa,GAAO,EAAc;IACpD,OAAO;IACP,QAAQ;IACT,EAAE,IAAW,EACZ,OAAO,EAAc;IACnB,QAAQ;IACR,OAAO;IACP,WAAW;IACX,UAAU;IACX,EAAE,EAAM,MAAM,MAAM,EACtB,GAAG,EAAE,CAAC,CAAC,GAEH;IACP;IACD;EAAC;EAAQ;EAAU;EAAQ;EAAW;EAAW;EAAU;EAAO;EAAM,CAAC;AAC5E,QAAoB,kBAAM,cAAc,OAAO;EAC7C,IAAI,IAAK,GAAU,MAAM,KAAA;EACzB,WAAW,EAAK,iCAAiC,EAAU;EAC3D,OAAO,EAAc,EAAc,EAAE,EAAE,EAAM,EAAE,EAAE,EAAE;GAC1C;GACC;GACE;GACC;GACA;GACZ,CAAC;EACF,KAAK;EACN,EAAE,EAAa;EAChB"}
1
+ {"version":3,"file":"ResponsiveContainer.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/ResponsiveContainer.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n/**\n * @fileOverview Wrapper component to make charts adapt to the size of parent * DOM\n */\nimport clsx from 'clsx';\nimport React, { forwardRef, cloneElement, useState, useImperativeHandle, useRef, useEffect, useMemo, useCallback } from 'react';\nimport throttle from 'lodash/throttle';\nimport { isPercent } from '../util/DataUtils';\nimport { warn } from '../util/LogUtils';\nimport { getDisplayName } from '../util/ReactUtils';\nexport var ResponsiveContainer = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var aspect = _ref.aspect,\n _ref$initialDimension = _ref.initialDimension,\n initialDimension = _ref$initialDimension === void 0 ? {\n width: -1,\n height: -1\n } : _ref$initialDimension,\n _ref$width = _ref.width,\n width = _ref$width === void 0 ? '100%' : _ref$width,\n _ref$height = _ref.height,\n height = _ref$height === void 0 ? '100%' : _ref$height,\n _ref$minWidth = _ref.minWidth,\n minWidth = _ref$minWidth === void 0 ? 0 : _ref$minWidth,\n minHeight = _ref.minHeight,\n maxHeight = _ref.maxHeight,\n children = _ref.children,\n _ref$debounce = _ref.debounce,\n debounce = _ref$debounce === void 0 ? 0 : _ref$debounce,\n id = _ref.id,\n className = _ref.className,\n onResize = _ref.onResize,\n _ref$style = _ref.style,\n style = _ref$style === void 0 ? {} : _ref$style;\n var containerRef = useRef(null);\n var onResizeRef = useRef();\n onResizeRef.current = onResize;\n useImperativeHandle(ref, function () {\n return Object.defineProperty(containerRef.current, 'current', {\n get: function get() {\n // eslint-disable-next-line no-console\n console.warn('The usage of ref.current.current is deprecated and will no longer be supported.');\n return containerRef.current;\n },\n configurable: true\n });\n });\n var _useState = useState({\n containerWidth: initialDimension.width,\n containerHeight: initialDimension.height\n }),\n _useState2 = _slicedToArray(_useState, 2),\n sizes = _useState2[0],\n setSizes = _useState2[1];\n var setContainerSize = useCallback(function (newWidth, newHeight) {\n setSizes(function (prevState) {\n var roundedWidth = Math.round(newWidth);\n var roundedHeight = Math.round(newHeight);\n if (prevState.containerWidth === roundedWidth && prevState.containerHeight === roundedHeight) {\n return prevState;\n }\n return {\n containerWidth: roundedWidth,\n containerHeight: roundedHeight\n };\n });\n }, []);\n useEffect(function () {\n var callback = function callback(entries) {\n var _onResizeRef$current;\n var _entries$0$contentRec = entries[0].contentRect,\n containerWidth = _entries$0$contentRec.width,\n containerHeight = _entries$0$contentRec.height;\n setContainerSize(containerWidth, containerHeight);\n (_onResizeRef$current = onResizeRef.current) === null || _onResizeRef$current === void 0 || _onResizeRef$current.call(onResizeRef, containerWidth, containerHeight);\n };\n if (debounce > 0) {\n callback = throttle(callback, debounce, {\n trailing: true,\n leading: false\n });\n }\n var observer = new ResizeObserver(callback);\n var _containerRef$current = containerRef.current.getBoundingClientRect(),\n containerWidth = _containerRef$current.width,\n containerHeight = _containerRef$current.height;\n setContainerSize(containerWidth, containerHeight);\n observer.observe(containerRef.current);\n return function () {\n observer.disconnect();\n };\n }, [setContainerSize, debounce]);\n var chartContent = useMemo(function () {\n var containerWidth = sizes.containerWidth,\n containerHeight = sizes.containerHeight;\n if (containerWidth < 0 || containerHeight < 0) {\n return null;\n }\n warn(isPercent(width) || isPercent(height), \"The width(%s) and height(%s) are both fixed numbers,\\n maybe you don't need to use a ResponsiveContainer.\", width, height);\n warn(!aspect || aspect > 0, 'The aspect(%s) must be greater than zero.', aspect);\n var calculatedWidth = isPercent(width) ? containerWidth : width;\n var calculatedHeight = isPercent(height) ? containerHeight : height;\n if (aspect && aspect > 0) {\n // Preserve the desired aspect ratio\n if (calculatedWidth) {\n // Will default to using width for aspect ratio\n calculatedHeight = calculatedWidth / aspect;\n } else if (calculatedHeight) {\n // But we should also take height into consideration\n calculatedWidth = calculatedHeight * aspect;\n }\n\n // if maxHeight is set, overwrite if calculatedHeight is greater than maxHeight\n if (maxHeight && calculatedHeight > maxHeight) {\n calculatedHeight = maxHeight;\n }\n }\n warn(calculatedWidth > 0 || calculatedHeight > 0, \"The width(%s) and height(%s) of chart should be greater than 0,\\n please check the style of container, or the props width(%s) and height(%s),\\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\\n height and width.\", calculatedWidth, calculatedHeight, width, height, minWidth, minHeight, aspect);\n var isCharts = !Array.isArray(children) && getDisplayName(children.type).endsWith('Chart');\n return React.Children.map(children, function (child) {\n if ( /*#__PURE__*/React.isValidElement(child)) {\n return /*#__PURE__*/cloneElement(child, _objectSpread({\n width: calculatedWidth,\n height: calculatedHeight\n }, isCharts ? {\n style: _objectSpread({\n height: '100%',\n width: '100%',\n maxHeight: calculatedHeight,\n maxWidth: calculatedWidth\n }, child.props.style)\n } : {}));\n }\n return child;\n });\n }, [aspect, children, height, maxHeight, minHeight, minWidth, sizes, width]);\n return /*#__PURE__*/React.createElement(\"div\", {\n id: id ? \"\".concat(id) : undefined,\n className: clsx('recharts-responsive-container', className),\n style: _objectSpread(_objectSpread({}, style), {}, {\n width: width,\n height: height,\n minWidth: minWidth,\n minHeight: minHeight,\n maxHeight: maxHeight\n }),\n ref: containerRef\n }, chartContent);\n});"],"x_google_ignoreList":[0],"mapp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AG,CAAC,GAAG;GAC1C;GACC;GACE;GACC;GACA;EACb,CAAC;EACD,KAAK;CACP,GAAG,CAAY;AACjB,CAAC"}
@@ -204,7 +204,7 @@ var C = /[ \f\n\r\t\v\u2028\u2029]+/, w = function(e) {
204
204
  var H = j[0].width, U = A.width;
205
205
  V.push(`scale(${(i(U) ? U / H : 1) / H})`);
206
206
  }
207
- return P && V.push(`rotate(${P}, ${R}, ${z})`), V.length && (L.transform = V.join(" ")), /* @__PURE__ */ l.createElement("text", m({}, a(L, !0), {
207
+ return P && V.push(`rotate(${P}, ${R}, ${z})`), V.length && (L.transform = V.join(" ")), /*#__PURE__*/ l.createElement("text", m({}, a(L, !0), {
208
208
  x: R,
209
209
  y: z,
210
210
  className: t("recharts-text", F),
@@ -212,7 +212,7 @@ var C = /[ \f\n\r\t\v\u2028\u2029]+/, w = function(e) {
212
212
  fill: k.includes("url") ? O : k
213
213
  }), j.map(function(e, t) {
214
214
  var n = e.words.join(I ? "" : " ");
215
- return /* @__PURE__ */ l.createElement("tspan", {
215
+ return /*#__PURE__*/ l.createElement("tspan", {
216
216
  x: R,
217
217
  dy: t === 0 ? B : _,
218
218
  key: `${n}-${t}`
@@ -1 +1 @@
1
- {"version":3,"file":"Text.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/Text.js"],"sourcesContent":["var _excluded = [\"x\", \"y\", \"lineHeight\", \"capHeight\", \"scaleToFit\", \"textAnchor\", \"verticalAnchor\", \"fill\"],\n _excluded2 = [\"dx\", \"dy\", \"angle\", \"className\", \"breakAll\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nimport React, { useMemo } from 'react';\nimport isNil from 'lodash/isNil';\nimport clsx from 'clsx';\nimport { isNumber, isNumOrStr } from '../util/DataUtils';\nimport { Global } from '../util/Global';\nimport { filterProps } from '../util/ReactUtils';\nimport { getStringSize } from '../util/DOMUtils';\nimport { reduceCSSCalc } from '../util/ReduceCSSCalc';\nvar BREAKING_SPACES = /[ \\f\\n\\r\\t\\v\\u2028\\u2029]+/;\nvar calculateWordWidths = function calculateWordWidths(_ref) {\n var children = _ref.children,\n breakAll = _ref.breakAll,\n style = _ref.style;\n try {\n var words = [];\n if (!isNil(children)) {\n if (breakAll) {\n words = children.toString().split('');\n } else {\n words = children.toString().split(BREAKING_SPACES);\n }\n }\n var wordsWithComputedWidth = words.map(function (word) {\n return {\n word: word,\n width: getStringSize(word, style).width\n };\n });\n var spaceWidth = breakAll ? 0 : getStringSize(\"\\xA0\", style).width;\n return {\n wordsWithComputedWidth: wordsWithComputedWidth,\n spaceWidth: spaceWidth\n };\n } catch (e) {\n return null;\n }\n};\nvar calculateWordsByLines = function calculateWordsByLines(_ref2, initialWordsWithComputedWith, spaceWidth, lineWidth, scaleToFit) {\n var maxLines = _ref2.maxLines,\n children = _ref2.children,\n style = _ref2.style,\n breakAll = _ref2.breakAll;\n var shouldLimitLines = isNumber(maxLines);\n var text = children;\n var calculate = function calculate() {\n var words = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n return words.reduce(function (result, _ref3) {\n var word = _ref3.word,\n width = _ref3.width;\n var currentLine = result[result.length - 1];\n if (currentLine && (lineWidth == null || scaleToFit || currentLine.width + width + spaceWidth < Number(lineWidth))) {\n // Word can be added to an existing line\n currentLine.words.push(word);\n currentLine.width += width + spaceWidth;\n } else {\n // Add first word to line or word is too long to scaleToFit on existing line\n var newLine = {\n words: [word],\n width: width\n };\n result.push(newLine);\n }\n return result;\n }, []);\n };\n var originalResult = calculate(initialWordsWithComputedWith);\n var findLongestLine = function findLongestLine(words) {\n return words.reduce(function (a, b) {\n return a.width > b.width ? a : b;\n });\n };\n if (!shouldLimitLines) {\n return originalResult;\n }\n var suffix = '…';\n var checkOverflow = function checkOverflow(index) {\n var tempText = text.slice(0, index);\n var words = calculateWordWidths({\n breakAll: breakAll,\n style: style,\n children: tempText + suffix\n }).wordsWithComputedWidth;\n var result = calculate(words);\n var doesOverflow = result.length > maxLines || findLongestLine(result).width > Number(lineWidth);\n return [doesOverflow, result];\n };\n var start = 0;\n var end = text.length - 1;\n var iterations = 0;\n var trimmedResult;\n while (start <= end && iterations <= text.length - 1) {\n var middle = Math.floor((start + end) / 2);\n var prev = middle - 1;\n var _checkOverflow = checkOverflow(prev),\n _checkOverflow2 = _slicedToArray(_checkOverflow, 2),\n doesPrevOverflow = _checkOverflow2[0],\n result = _checkOverflow2[1];\n var _checkOverflow3 = checkOverflow(middle),\n _checkOverflow4 = _slicedToArray(_checkOverflow3, 1),\n doesMiddleOverflow = _checkOverflow4[0];\n if (!doesPrevOverflow && !doesMiddleOverflow) {\n start = middle + 1;\n }\n if (doesPrevOverflow && doesMiddleOverflow) {\n end = middle - 1;\n }\n if (!doesPrevOverflow && doesMiddleOverflow) {\n trimmedResult = result;\n break;\n }\n iterations++;\n }\n\n // Fallback to originalResult (result without trimming) if we cannot find the\n // where to trim. This should not happen :tm:\n return trimmedResult || originalResult;\n};\nvar getWordsWithoutCalculate = function getWordsWithoutCalculate(children) {\n var words = !isNil(children) ? children.toString().split(BREAKING_SPACES) : [];\n return [{\n words: words\n }];\n};\nvar getWordsByLines = function getWordsByLines(_ref4) {\n var width = _ref4.width,\n scaleToFit = _ref4.scaleToFit,\n children = _ref4.children,\n style = _ref4.style,\n breakAll = _ref4.breakAll,\n maxLines = _ref4.maxLines;\n // Only perform calculations if using features that require them (multiline, scaleToFit)\n if ((width || scaleToFit) && !Global.isSsr) {\n var wordsWithComputedWidth, spaceWidth;\n var wordWidths = calculateWordWidths({\n breakAll: breakAll,\n children: children,\n style: style\n });\n if (wordWidths) {\n var wcw = wordWidths.wordsWithComputedWidth,\n sw = wordWidths.spaceWidth;\n wordsWithComputedWidth = wcw;\n spaceWidth = sw;\n } else {\n return getWordsWithoutCalculate(children);\n }\n return calculateWordsByLines({\n breakAll: breakAll,\n children: children,\n maxLines: maxLines,\n style: style\n }, wordsWithComputedWidth, spaceWidth, width, scaleToFit);\n }\n return getWordsWithoutCalculate(children);\n};\nvar DEFAULT_FILL = '#808080';\nexport var Text = function Text(_ref5) {\n var _ref5$x = _ref5.x,\n propsX = _ref5$x === void 0 ? 0 : _ref5$x,\n _ref5$y = _ref5.y,\n propsY = _ref5$y === void 0 ? 0 : _ref5$y,\n _ref5$lineHeight = _ref5.lineHeight,\n lineHeight = _ref5$lineHeight === void 0 ? '1em' : _ref5$lineHeight,\n _ref5$capHeight = _ref5.capHeight,\n capHeight = _ref5$capHeight === void 0 ? '0.71em' : _ref5$capHeight,\n _ref5$scaleToFit = _ref5.scaleToFit,\n scaleToFit = _ref5$scaleToFit === void 0 ? false : _ref5$scaleToFit,\n _ref5$textAnchor = _ref5.textAnchor,\n textAnchor = _ref5$textAnchor === void 0 ? 'start' : _ref5$textAnchor,\n _ref5$verticalAnchor = _ref5.verticalAnchor,\n verticalAnchor = _ref5$verticalAnchor === void 0 ? 'end' : _ref5$verticalAnchor,\n _ref5$fill = _ref5.fill,\n fill = _ref5$fill === void 0 ? DEFAULT_FILL : _ref5$fill,\n props = _objectWithoutProperties(_ref5, _excluded);\n var wordsByLines = useMemo(function () {\n return getWordsByLines({\n breakAll: props.breakAll,\n children: props.children,\n maxLines: props.maxLines,\n scaleToFit: scaleToFit,\n style: props.style,\n width: props.width\n });\n }, [props.breakAll, props.children, props.maxLines, scaleToFit, props.style, props.width]);\n var dx = props.dx,\n dy = props.dy,\n angle = props.angle,\n className = props.className,\n breakAll = props.breakAll,\n textProps = _objectWithoutProperties(props, _excluded2);\n if (!isNumOrStr(propsX) || !isNumOrStr(propsY)) {\n return null;\n }\n var x = propsX + (isNumber(dx) ? dx : 0);\n var y = propsY + (isNumber(dy) ? dy : 0);\n var startDy;\n switch (verticalAnchor) {\n case 'start':\n startDy = reduceCSSCalc(\"calc(\".concat(capHeight, \")\"));\n break;\n case 'middle':\n startDy = reduceCSSCalc(\"calc(\".concat((wordsByLines.length - 1) / 2, \" * -\").concat(lineHeight, \" + (\").concat(capHeight, \" / 2))\"));\n break;\n default:\n startDy = reduceCSSCalc(\"calc(\".concat(wordsByLines.length - 1, \" * -\").concat(lineHeight, \")\"));\n break;\n }\n var transforms = [];\n if (scaleToFit) {\n var lineWidth = wordsByLines[0].width;\n var width = props.width;\n transforms.push(\"scale(\".concat((isNumber(width) ? width / lineWidth : 1) / lineWidth, \")\"));\n }\n if (angle) {\n transforms.push(\"rotate(\".concat(angle, \", \").concat(x, \", \").concat(y, \")\"));\n }\n if (transforms.length) {\n textProps.transform = transforms.join(' ');\n }\n return /*#__PURE__*/React.createElement(\"text\", _extends({}, filterProps(textProps, true), {\n x: x,\n y: y,\n className: clsx('recharts-text', className),\n textAnchor: textAnchor,\n fill: fill.includes('url') ? DEFAULT_FILL : fill\n }), wordsByLines.map(function (line, index) {\n var words = line.words.join(breakAll ? '' : ' ');\n return (\n /*#__PURE__*/\n // duplicate words will cause duplicate keys\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"tspan\", {\n x: x,\n dy: index === 0 ? startDy : lineHeight,\n key: \"\".concat(words, \"-\").concat(index)\n }, words)\n );\n }));\n};"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;gCAAI,IAAY;CAAC;CAAK;CAAK;CAAc;CAAa;CAAc;CAAc;CAAkB;CAAO,EACzG,IAAa;CAAC;CAAM;CAAM;CAAS;CAAa;CAAW;AAC7D,SAAS,IAAW;AAAsR,QAApR,IAAW,OAAO,SAAS,OAAO,OAAO,MAAM,GAAG,SAAU,GAAQ;AAAE,OAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;GAAE,IAAI,IAAS,UAAU;AAAI,QAAK,IAAI,KAAO,EAAU,CAAI,OAAO,UA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;AAQ9F,QANI,KACF,EAAW,KAAK,UAAiB,MAAoB,MAAgB,KAAQ,EAE3E,EAAW,WACb,EAAU,YAAY,EAAW,KAAK,IAAI,GAExB,kBAAM,cAAc,QAAQ,EAAS,EAAE,EAAE,EAAY,GAAW,GAAK,EAAE;EACtF;EACA;EACH,WAAW,EAAK,iBAAiB,EAAU;EAC/B;EACZ,MAAM,EAAK,SAAS,MAAM,GAAG,IAAe;EAC7C,CAAC,EAAE,EAAa,IAAI,SAAU,GAAM,GAAO;EAC1C,IAAI,IAAQ,EAAK,MAAM,KAAK,IAAW,KAAK,IAAI;AAChD,SAIE,kBAAM,cAAc,SAAS;GACxB;GACH,IAAI,MAAU,IAAI,IAAU;GAC5B,KAAK,GAAU,KAAmB;GACnC,EAAE,EAAM;GAEX,CAAC"}
1
+ {"version":3,"file":"Text.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/Text.js"],"sourcesContent":["var _excluded = [\"x\", \"y\", \"lineHeight\", \"capHeight\", \"scaleToFit\", \"textAnchor\", \"verticalAnchor\", \"fill\"],\n _excluded2 = [\"dx\", \"dy\", \"angle\", \"className\", \"breakAll\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nimport React, { useMemo } from 'react';\nimport isNil from 'lodash/isNil';\nimport clsx from 'clsx';\nimport { isNumber, isNumOrStr } from '../util/DataUtils';\nimport { Global } from '../util/Global';\nimport { filterProps } from '../util/ReactUtils';\nimport { getStringSize } from '../util/DOMUtils';\nimport { reduceCSSCalc } from '../util/ReduceCSSCalc';\nvar BREAKING_SPACES = /[ \\f\\n\\r\\t\\v\\u2028\\u2029]+/;\nvar calculateWordWidths = function calculateWordWidths(_ref) {\n var children = _ref.children,\n breakAll = _ref.breakAll,\n style = _ref.style;\n try {\n var words = [];\n if (!isNil(children)) {\n if (breakAll) {\n words = children.toString().split('');\n } else {\n words = children.toString().split(BREAKING_SPACES);\n }\n }\n var wordsWithComputedWidth = words.map(function (word) {\n return {\n word: word,\n width: getStringSize(word, style).width\n };\n });\n var spaceWidth = breakAll ? 0 : getStringSize(\"\\xA0\", style).width;\n return {\n wordsWithComputedWidth: wordsWithComputedWidth,\n spaceWidth: spaceWidth\n };\n } catch (e) {\n return null;\n }\n};\nvar calculateWordsByLines = function calculateWordsByLines(_ref2, initialWordsWithComputedWith, spaceWidth, lineWidth, scaleToFit) {\n var maxLines = _ref2.maxLines,\n children = _ref2.children,\n style = _ref2.style,\n breakAll = _ref2.breakAll;\n var shouldLimitLines = isNumber(maxLines);\n var text = children;\n var calculate = function calculate() {\n var words = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n return words.reduce(function (result, _ref3) {\n var word = _ref3.word,\n width = _ref3.width;\n var currentLine = result[result.length - 1];\n if (currentLine && (lineWidth == null || scaleToFit || currentLine.width + width + spaceWidth < Number(lineWidth))) {\n // Word can be added to an existing line\n currentLine.words.push(word);\n currentLine.width += width + spaceWidth;\n } else {\n // Add first word to line or word is too long to scaleToFit on existing line\n var newLine = {\n words: [word],\n width: width\n };\n result.push(newLine);\n }\n return result;\n }, []);\n };\n var originalResult = calculate(initialWordsWithComputedWith);\n var findLongestLine = function findLongestLine(words) {\n return words.reduce(function (a, b) {\n return a.width > b.width ? a : b;\n });\n };\n if (!shouldLimitLines) {\n return originalResult;\n }\n var suffix = '…';\n var checkOverflow = function checkOverflow(index) {\n var tempText = text.slice(0, index);\n var words = calculateWordWidths({\n breakAll: breakAll,\n style: style,\n children: tempText + suffix\n }).wordsWithComputedWidth;\n var result = calculate(words);\n var doesOverflow = result.length > maxLines || findLongestLine(result).width > Number(lineWidth);\n return [doesOverflow, result];\n };\n var start = 0;\n var end = text.length - 1;\n var iterations = 0;\n var trimmedResult;\n while (start <= end && iterations <= text.length - 1) {\n var middle = Math.floor((start + end) / 2);\n var prev = middle - 1;\n var _checkOverflow = checkOverflow(prev),\n _checkOverflow2 = _slicedToArray(_checkOverflow, 2),\n doesPrevOverflow = _checkOverflow2[0],\n result = _checkOverflow2[1];\n var _checkOverflow3 = checkOverflow(middle),\n _checkOverflow4 = _slicedToArray(_checkOverflow3, 1),\n doesMiddleOverflow = _checkOverflow4[0];\n if (!doesPrevOverflow && !doesMiddleOverflow) {\n start = middle + 1;\n }\n if (doesPrevOverflow && doesMiddleOverflow) {\n end = middle - 1;\n }\n if (!doesPrevOverflow && doesMiddleOverflow) {\n trimmedResult = result;\n break;\n }\n iterations++;\n }\n\n // Fallback to originalResult (result without trimming) if we cannot find the\n // where to trim. This should not happen :tm:\n return trimmedResult || originalResult;\n};\nvar getWordsWithoutCalculate = function getWordsWithoutCalculate(children) {\n var words = !isNil(children) ? children.toString().split(BREAKING_SPACES) : [];\n return [{\n words: words\n }];\n};\nvar getWordsByLines = function getWordsByLines(_ref4) {\n var width = _ref4.width,\n scaleToFit = _ref4.scaleToFit,\n children = _ref4.children,\n style = _ref4.style,\n breakAll = _ref4.breakAll,\n maxLines = _ref4.maxLines;\n // Only perform calculations if using features that require them (multiline, scaleToFit)\n if ((width || scaleToFit) && !Global.isSsr) {\n var wordsWithComputedWidth, spaceWidth;\n var wordWidths = calculateWordWidths({\n breakAll: breakAll,\n children: children,\n style: style\n });\n if (wordWidths) {\n var wcw = wordWidths.wordsWithComputedWidth,\n sw = wordWidths.spaceWidth;\n wordsWithComputedWidth = wcw;\n spaceWidth = sw;\n } else {\n return getWordsWithoutCalculate(children);\n }\n return calculateWordsByLines({\n breakAll: breakAll,\n children: children,\n maxLines: maxLines,\n style: style\n }, wordsWithComputedWidth, spaceWidth, width, scaleToFit);\n }\n return getWordsWithoutCalculate(children);\n};\nvar DEFAULT_FILL = '#808080';\nexport var Text = function Text(_ref5) {\n var _ref5$x = _ref5.x,\n propsX = _ref5$x === void 0 ? 0 : _ref5$x,\n _ref5$y = _ref5.y,\n propsY = _ref5$y === void 0 ? 0 : _ref5$y,\n _ref5$lineHeight = _ref5.lineHeight,\n lineHeight = _ref5$lineHeight === void 0 ? '1em' : _ref5$lineHeight,\n _ref5$capHeight = _ref5.capHeight,\n capHeight = _ref5$capHeight === void 0 ? '0.71em' : _ref5$capHeight,\n _ref5$scaleToFit = _ref5.scaleToFit,\n scaleToFit = _ref5$scaleToFit === void 0 ? false : _ref5$scaleToFit,\n _ref5$textAnchor = _ref5.textAnchor,\n textAnchor = _ref5$textAnchor === void 0 ? 'start' : _ref5$textAnchor,\n _ref5$verticalAnchor = _ref5.verticalAnchor,\n verticalAnchor = _ref5$verticalAnchor === void 0 ? 'end' : _ref5$verticalAnchor,\n _ref5$fill = _ref5.fill,\n fill = _ref5$fill === void 0 ? DEFAULT_FILL : _ref5$fill,\n props = _objectWithoutProperties(_ref5, _excluded);\n var wordsByLines = useMemo(function () {\n return getWordsByLines({\n breakAll: props.breakAll,\n children: props.children,\n maxLines: props.maxLines,\n scaleToFit: scaleToFit,\n style: props.style,\n width: props.width\n });\n }, [props.breakAll, props.children, props.maxLines, scaleToFit, props.style, props.width]);\n var dx = props.dx,\n dy = props.dy,\n angle = props.angle,\n className = props.className,\n breakAll = props.breakAll,\n textProps = _objectWithoutProperties(props, _excluded2);\n if (!isNumOrStr(propsX) || !isNumOrStr(propsY)) {\n return null;\n }\n var x = propsX + (isNumber(dx) ? dx : 0);\n var y = propsY + (isNumber(dy) ? dy : 0);\n var startDy;\n switch (verticalAnchor) {\n case 'start':\n startDy = reduceCSSCalc(\"calc(\".concat(capHeight, \")\"));\n break;\n case 'middle':\n startDy = reduceCSSCalc(\"calc(\".concat((wordsByLines.length - 1) / 2, \" * -\").concat(lineHeight, \" + (\").concat(capHeight, \" / 2))\"));\n break;\n default:\n startDy = reduceCSSCalc(\"calc(\".concat(wordsByLines.length - 1, \" * -\").concat(lineHeight, \")\"));\n break;\n }\n var transforms = [];\n if (scaleToFit) {\n var lineWidth = wordsByLines[0].width;\n var width = props.width;\n transforms.push(\"scale(\".concat((isNumber(width) ? width / lineWidth : 1) / lineWidth, \")\"));\n }\n if (angle) {\n transforms.push(\"rotate(\".concat(angle, \", \").concat(x, \", \").concat(y, \")\"));\n }\n if (transforms.length) {\n textProps.transform = transforms.join(' ');\n }\n return /*#__PURE__*/React.createElement(\"text\", _extends({}, filterProps(textProps, true), {\n x: x,\n y: y,\n className: clsx('recharts-text', className),\n textAnchor: textAnchor,\n fill: fill.includes('url') ? DEFAULT_FILL : fill\n }), wordsByLines.map(function (line, index) {\n var words = line.words.join(breakAll ? '' : ' ');\n return (\n /*#__PURE__*/\n // duplicate words will cause duplicate keys\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"tspan\", {\n x: x,\n dy: index === 0 ? startDy : lineHeight,\n key: \"\".concat(words, \"-\").concat(index)\n }, words)\n );\n }));\n};"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;gCAAI,IAAY;CAAC;CAAK;CAAK;CAAc;CAAa;CAAc;CAAc;CAAkB;AAAM,GACxG,IAAa;CAAC;CAAM;CAAM;CAAS;CAAa;AAAU;AAC5D,SAAS,IAAW;CAAsR,OAApR,IAAW,OAAO,SAAS,OAAO,OAAO,KAAK,IAAI,SAAU,GAAQ;EAAE,KAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;GAAE,IAAI,IAAS,UAAU;GAAI,KAAK,IAAI,KAAO,GAAU,AAAI,OAAO,UAAU,eAAe,KAAK,GAAQ,CAAG,MAAK,EAAO,KAAO,EAAO;EAAU;EAAE,OAAO;CAAQ,GAAU,EAAS,MAAM,MAAM,SAAS;AAAG;AAClV,SAAS,EAAyB,GAAQ,GAAU;CAAE,IAAI,KAAU,MAAM,OAAO,CAAC;CAAG,IAAI,IAAS,EAA8B,GAAQ,CAAQ,GAAO,GAAK;CAAG,IAAI,O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B,IAAO,GAE1E,EAAW,WACb,EAAU,YAAY,EAAW,KAAK,GAAG,IAEvB,gBAAM,cAAc,QAAQ,EAAS,CAAC,GAAG,EAAY,GAAW,EAAI,GAAG;EACtF;EACA;EACH,WAAW,EAAK,iBAAiB,CAAS;EAC9B;EACZ,MAAM,EAAK,SAAS,KAAK,IAAI,IAAe;CAC9C,CAAC,GAAG,EAAa,IAAI,SAAU,GAAM,GAAO;EAC1C,IAAI,IAAQ,EAAK,MAAM,KAAK,IAAW,KAAK,GAAG;EAC/C,OAIE,gBAAM,cAAc,SAAS;GACxB;GACH,IAAI,MAAU,IAAI,IAAU;GAC5B,KAAK,GAAU,KAAmB;EACpC,GAAG,CAAK;CAEZ,CAAC,CAAC;AACJ"}
@@ -109,9 +109,9 @@ function S(e) {
109
109
  return e.dataKey;
110
110
  }
111
111
  function C(e, n) {
112
- return /* @__PURE__ */ i.isValidElement(e) ? /* @__PURE__ */ i.cloneElement(e, n) : typeof e == "function" ? /* @__PURE__ */ i.createElement(e, n) : /* @__PURE__ */ i.createElement(t, n);
112
+ return /*#__PURE__*/ i.isValidElement(e) ? /*#__PURE__*/ i.cloneElement(e, n) : typeof e == "function" ? /*#__PURE__*/ i.createElement(e, n) : /*#__PURE__*/ i.createElement(t, n);
113
113
  }
114
- var w = /* @__PURE__ */ function(t) {
114
+ var w = /*#__PURE__*/ function(t) {
115
115
  function r() {
116
116
  return l(this, r), f(this, r, arguments);
117
117
  }
@@ -123,7 +123,7 @@ var w = /* @__PURE__ */ function(t) {
123
123
  return e.value != null && (e.hide !== !0 || t.props.includeHidden);
124
124
  }), g, S));
125
125
  var T = w.length > 0;
126
- return /* @__PURE__ */ i.createElement(n, {
126
+ return /*#__PURE__*/ i.createElement(n, {
127
127
  allowEscapeViewBox: o,
128
128
  animationDuration: s,
129
129
  animationEasing: l,
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/Tooltip.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * @fileOverview Tooltip\n */\nimport React, { PureComponent } from 'react';\nimport { DefaultTooltipContent } from './DefaultTooltipContent';\nimport { TooltipBoundingBox } from './TooltipBoundingBox';\nimport { Global } from '../util/Global';\nimport { getUniqPayload } from '../util/payload/getUniqPayload';\nfunction defaultUniqBy(entry) {\n return entry.dataKey;\n}\nfunction renderContent(content, props) {\n if ( /*#__PURE__*/React.isValidElement(content)) {\n return /*#__PURE__*/React.cloneElement(content, props);\n }\n if (typeof content === 'function') {\n return /*#__PURE__*/React.createElement(content, props);\n }\n return /*#__PURE__*/React.createElement(DefaultTooltipContent, props);\n}\nexport var Tooltip = /*#__PURE__*/function (_PureComponent) {\n function Tooltip() {\n _classCallCheck(this, Tooltip);\n return _callSuper(this, Tooltip, arguments);\n }\n _inherits(Tooltip, _PureComponent);\n return _createClass(Tooltip, [{\n key: \"render\",\n value: function render() {\n var _this = this;\n var _this$props = this.props,\n active = _this$props.active,\n allowEscapeViewBox = _this$props.allowEscapeViewBox,\n animationDuration = _this$props.animationDuration,\n animationEasing = _this$props.animationEasing,\n content = _this$props.content,\n coordinate = _this$props.coordinate,\n filterNull = _this$props.filterNull,\n isAnimationActive = _this$props.isAnimationActive,\n offset = _this$props.offset,\n payload = _this$props.payload,\n payloadUniqBy = _this$props.payloadUniqBy,\n position = _this$props.position,\n reverseDirection = _this$props.reverseDirection,\n useTranslate3d = _this$props.useTranslate3d,\n viewBox = _this$props.viewBox,\n wrapperStyle = _this$props.wrapperStyle;\n var finalPayload = payload !== null && payload !== void 0 ? payload : [];\n if (filterNull && finalPayload.length) {\n finalPayload = getUniqPayload(payload.filter(function (entry) {\n return entry.value != null && (entry.hide !== true || _this.props.includeHidden);\n }), payloadUniqBy, defaultUniqBy);\n }\n var hasPayload = finalPayload.length > 0;\n return /*#__PURE__*/React.createElement(TooltipBoundingBox, {\n allowEscapeViewBox: allowEscapeViewBox,\n animationDuration: animationDuration,\n animationEasing: animationEasing,\n isAnimationActive: isAnimationActive,\n active: active,\n coordinate: coordinate,\n hasPayload: hasPayload,\n offset: offset,\n position: position,\n reverseDirection: reverseDirection,\n useTranslate3d: useTranslate3d,\n viewBox: viewBox,\n wrapperStyle: wrapperStyle\n }, renderContent(content, _objectSpread(_objectSpread({}, this.props), {}, {\n payload: finalPayload\n })));\n }\n }]);\n}(PureComponent);\n_defineProperty(Tooltip, \"displayName\", 'Tooltip');\n_defineProperty(Tooltip, \"defaultProps\", {\n accessibilityLayer: false,\n allowEscapeViewBox: {\n x: false,\n y: false\n },\n animationDuration: 400,\n animationEasing: 'ease',\n contentStyle: {},\n coordinate: {\n x: 0,\n y: 0\n },\n cursor: true,\n cursorStyle: {},\n filterNull: true,\n isAnimationActive: !Global.isSsr,\n itemStyle: {},\n labelStyle: {},\n offset: 10,\n reverseDirection: {\n x: false,\n y: false\n },\n separator: ' : ',\n trigger: 'hover',\n useTranslate3d: false,\n viewBox: {\n x: 0,\n y: 0,\n height: 0,\n width: 0\n },\n wrapperStyle: {}\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;AAAA,SAAS,EAAQ,GAAG;AAAE;AAA2B,QAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;AAAE,SAAO,OAAO;KAAO,SAAU,GAAG;AAAE,SAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAAO;IAAM,EAAQ,EAAE;;AAC3T,SAAS,EAAQ,GAAG,GAAG;CAAE,IAAI,IAAI,OAAO,KAAK,EAAE;AAAE,KAAI,OAAO,uBAAuB;EAAE,IAAI,IAAI,OAAO,sBAAsB,EAAE;AAAE,QAAM,IAAI,EAAE,OAAO,SAAU,GAAG;AAAE,UAAO,OAAO,yBAAyB,GAAG,EAAE,CAAC;IAAc,GAAG,EAAE,KAAK,MAAM,GAAG,EAAE;;AAAI,QAAO;;AAC3P,SAAS,EAAc,GAAG;AAAE,MAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;EAAE,IAAI,IAAY,UAAU,MAAlB,OAAsC,EAAE,GAAjB,UAAU;AAAS,MAAI,IAAI,EAAQ,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,SAAU,GAAG;AAAE,KAAgB,GAAG,G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IACF;IACE;IACX;IACI;IACA;IACJ;IACE;IACQ;IACF;IACP;IACK;IACf,EAAE,EAAc,GAAS,EAAc,EAAc,EAAE,EAAE,KAAK,MAAM,EAAE,EAAE,EAAE,EACzE,SAAS,GACV,CAAC,CAAC,CAAC;;EAEP,CAAC,CAAC;EACH,EAAc;AAChB,EAAgB,GAAS,eAAe,UAAU,EAClD,EAAgB,GAAS,gBAAgB;CACvC,oBAAoB;CACpB,oBAAoB;EAClB,GAAG;EACH,GAAG;EACJ;CACD,mBAAmB;CACnB,iBAAiB;CACjB,cAAc,EAAE;CAChB,YAAY;EACV,GAAG;EACH,GAAG;EACJ;CACD,QAAQ;CACR,aAAa,EAAE;CACf,YAAY;CACZ,mBAAmB,CAAC,EAAO;CAC3B,WAAW,EAAE;CACb,YAAY,EAAE;CACd,QAAQ;CACR,kBAAkB;EAChB,GAAG;EACH,GAAG;EACJ;CACD,WAAW;CACX,SAAS;CACT,gBAAgB;CAChB,SAAS;EACP,GAAG;EACH,GAAG;EACH,QAAQ;EACR,OAAO;EACR;CACD,cAAc,EAAE;CACjB,CAAC"}
1
+ {"version":3,"file":"Tooltip.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/Tooltip.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * @fileOverview Tooltip\n */\nimport React, { PureComponent } from 'react';\nimport { DefaultTooltipContent } from './DefaultTooltipContent';\nimport { TooltipBoundingBox } from './TooltipBoundingBox';\nimport { Global } from '../util/Global';\nimport { getUniqPayload } from '../util/payload/getUniqPayload';\nfunction defaultUniqBy(entry) {\n return entry.dataKey;\n}\nfunction renderContent(content, props) {\n if ( /*#__PURE__*/React.isValidElement(content)) {\n return /*#__PURE__*/React.cloneElement(content, props);\n }\n if (typeof content === 'function') {\n return /*#__PURE__*/React.createElement(content, props);\n }\n return /*#__PURE__*/React.createElement(DefaultTooltipContent, props);\n}\nexport var Tooltip = /*#__PURE__*/function (_PureComponent) {\n function Tooltip() {\n _classCallCheck(this, Tooltip);\n return _callSuper(this, Tooltip, arguments);\n }\n _inherits(Tooltip, _PureComponent);\n return _createClass(Tooltip, [{\n key: \"render\",\n value: function render() {\n var _this = this;\n var _this$props = this.props,\n active = _this$props.active,\n allowEscapeViewBox = _this$props.allowEscapeViewBox,\n animationDuration = _this$props.animationDuration,\n animationEasing = _this$props.animationEasing,\n content = _this$props.content,\n coordinate = _this$props.coordinate,\n filterNull = _this$props.filterNull,\n isAnimationActive = _this$props.isAnimationActive,\n offset = _this$props.offset,\n payload = _this$props.payload,\n payloadUniqBy = _this$props.payloadUniqBy,\n position = _this$props.position,\n reverseDirection = _this$props.reverseDirection,\n useTranslate3d = _this$props.useTranslate3d,\n viewBox = _this$props.viewBox,\n wrapperStyle = _this$props.wrapperStyle;\n var finalPayload = payload !== null && payload !== void 0 ? payload : [];\n if (filterNull && finalPayload.length) {\n finalPayload = getUniqPayload(payload.filter(function (entry) {\n return entry.value != null && (entry.hide !== true || _this.props.includeHidden);\n }), payloadUniqBy, defaultUniqBy);\n }\n var hasPayload = finalPayload.length > 0;\n return /*#__PURE__*/React.createElement(TooltipBoundingBox, {\n allowEscapeViewBox: allowEscapeViewBox,\n animationDuration: animationDuration,\n animationEasing: animationEasing,\n isAnimationActive: isAnimationActive,\n active: active,\n coordinate: coordinate,\n hasPayload: hasPayload,\n offset: offset,\n position: position,\n reverseDirection: reverseDirection,\n useTranslate3d: useTranslate3d,\n viewBox: viewBox,\n wrapperStyle: wrapperStyle\n }, renderContent(content, _objectSpread(_objectSpread({}, this.props), {}, {\n payload: finalPayload\n })));\n }\n }]);\n}(PureComponent);\n_defineProperty(Tooltip, \"displayName\", 'Tooltip');\n_defineProperty(Tooltip, \"defaultProps\", {\n accessibilityLayer: false,\n allowEscapeViewBox: {\n x: false,\n y: false\n },\n animationDuration: 400,\n animationEasing: 'ease',\n contentStyle: {},\n coordinate: {\n x: 0,\n y: 0\n },\n cursor: true,\n cursorStyle: {},\n filterNull: true,\n isAnimationActive: !Global.isSsr,\n itemStyle: {},\n labelStyle: {},\n offset: 10,\n reverseDirection: {\n x: false,\n y: false\n },\n separator: ' : ',\n trigger: 'hover',\n useTranslate3d: false,\n viewBox: {\n x: 0,\n y: 0,\n height: 0,\n width: 0\n },\n wrapperStyle: {}\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;AAAA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B,oBAAoB;EAClB,GAAG;EACH,GAAG;CACL;CACA,mBAAmB;CACnB,iBAAiB;CACjB,cAAc,CAAC;CACf,YAAY;EACV,GAAG;EACH,GAAG;CACL;CACA,QAAQ;CACR,aAAa,CAAC;CACd,YAAY;CACZ,mBAAmB,CAAC,EAAO;CAC3B,WAAW,CAAC;CACZ,YAAY,CAAC;CACb,QAAQ;CACR,kBAAkB;EAChB,GAAG;EACH,GAAG;CACL;CACA,WAAW;CACX,SAAS;CACT,gBAAgB;CAChB,SAAS;EACP,GAAG;EACH,GAAG;EACH,QAAQ;EACR,OAAO;CACT;CACA,cAAc,CAAC;AACjB,CAAC"}
@@ -102,7 +102,7 @@ function v(e, t) {
102
102
  }
103
103
  return (t === "string" ? String : Number)(e);
104
104
  }
105
- var y = 1, b = /* @__PURE__ */ function(n) {
105
+ var y = 1, b = /*#__PURE__*/ function(n) {
106
106
  function r() {
107
107
  var e;
108
108
  o(this, r);
@@ -180,7 +180,7 @@ var y = 1, b = /* @__PURE__ */ function(n) {
180
180
  top: 0,
181
181
  left: 0
182
182
  }, v);
183
- return /* @__PURE__ */ t.createElement("div", {
183
+ return /*#__PURE__*/ t.createElement("div", {
184
184
  tabIndex: -1,
185
185
  className: b,
186
186
  style: S,
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipBoundingBox.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/TooltipBoundingBox.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { PureComponent } from 'react';\nimport { getTooltipTranslate } from '../util/tooltip/translate';\nvar EPSILON = 1;\nexport var TooltipBoundingBox = /*#__PURE__*/function (_PureComponent) {\n function TooltipBoundingBox() {\n var _this;\n _classCallCheck(this, TooltipBoundingBox);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, TooltipBoundingBox, [].concat(args));\n _defineProperty(_this, \"state\", {\n dismissed: false,\n dismissedAtCoordinate: {\n x: 0,\n y: 0\n },\n lastBoundingBox: {\n width: -1,\n height: -1\n }\n });\n _defineProperty(_this, \"handleKeyDown\", function (event) {\n if (event.key === 'Escape') {\n var _this$props$coordinat, _this$props$coordinat2, _this$props$coordinat3, _this$props$coordinat4;\n _this.setState({\n dismissed: true,\n dismissedAtCoordinate: {\n x: (_this$props$coordinat = (_this$props$coordinat2 = _this.props.coordinate) === null || _this$props$coordinat2 === void 0 ? void 0 : _this$props$coordinat2.x) !== null && _this$props$coordinat !== void 0 ? _this$props$coordinat : 0,\n y: (_this$props$coordinat3 = (_this$props$coordinat4 = _this.props.coordinate) === null || _this$props$coordinat4 === void 0 ? void 0 : _this$props$coordinat4.y) !== null && _this$props$coordinat3 !== void 0 ? _this$props$coordinat3 : 0\n }\n });\n }\n });\n return _this;\n }\n _inherits(TooltipBoundingBox, _PureComponent);\n return _createClass(TooltipBoundingBox, [{\n key: \"updateBBox\",\n value: function updateBBox() {\n if (this.wrapperNode && this.wrapperNode.getBoundingClientRect) {\n var box = this.wrapperNode.getBoundingClientRect();\n if (Math.abs(box.width - this.state.lastBoundingBox.width) > EPSILON || Math.abs(box.height - this.state.lastBoundingBox.height) > EPSILON) {\n this.setState({\n lastBoundingBox: {\n width: box.width,\n height: box.height\n }\n });\n }\n } else if (this.state.lastBoundingBox.width !== -1 || this.state.lastBoundingBox.height !== -1) {\n this.setState({\n lastBoundingBox: {\n width: -1,\n height: -1\n }\n });\n }\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n document.addEventListener('keydown', this.handleKeyDown);\n this.updateBBox();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n document.removeEventListener('keydown', this.handleKeyDown);\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n var _this$props$coordinat5, _this$props$coordinat6;\n if (this.props.active) {\n this.updateBBox();\n }\n if (!this.state.dismissed) {\n return;\n }\n if (((_this$props$coordinat5 = this.props.coordinate) === null || _this$props$coordinat5 === void 0 ? void 0 : _this$props$coordinat5.x) !== this.state.dismissedAtCoordinate.x || ((_this$props$coordinat6 = this.props.coordinate) === null || _this$props$coordinat6 === void 0 ? void 0 : _this$props$coordinat6.y) !== this.state.dismissedAtCoordinate.y) {\n this.state.dismissed = false;\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props = this.props,\n active = _this$props.active,\n allowEscapeViewBox = _this$props.allowEscapeViewBox,\n animationDuration = _this$props.animationDuration,\n animationEasing = _this$props.animationEasing,\n children = _this$props.children,\n coordinate = _this$props.coordinate,\n hasPayload = _this$props.hasPayload,\n isAnimationActive = _this$props.isAnimationActive,\n offset = _this$props.offset,\n position = _this$props.position,\n reverseDirection = _this$props.reverseDirection,\n useTranslate3d = _this$props.useTranslate3d,\n viewBox = _this$props.viewBox,\n wrapperStyle = _this$props.wrapperStyle;\n var _getTooltipTranslate = getTooltipTranslate({\n allowEscapeViewBox: allowEscapeViewBox,\n coordinate: coordinate,\n offsetTopLeft: offset,\n position: position,\n reverseDirection: reverseDirection,\n tooltipBox: this.state.lastBoundingBox,\n useTranslate3d: useTranslate3d,\n viewBox: viewBox\n }),\n cssClasses = _getTooltipTranslate.cssClasses,\n cssProperties = _getTooltipTranslate.cssProperties;\n var outerStyle = _objectSpread(_objectSpread({\n transition: isAnimationActive && active ? \"transform \".concat(animationDuration, \"ms \").concat(animationEasing) : undefined\n }, cssProperties), {}, {\n pointerEvents: 'none',\n visibility: !this.state.dismissed && active && hasPayload ? 'visible' : 'hidden',\n position: 'absolute',\n top: 0,\n left: 0\n }, wrapperStyle);\n return (\n /*#__PURE__*/\n // This element allow listening to the `Escape` key.\n // See https://github.com/recharts/recharts/pull/2925\n React.createElement(\"div\", {\n tabIndex: -1,\n className: cssClasses,\n style: outerStyle,\n ref: function ref(node) {\n _this2.wrapperNode = node;\n }\n }, children)\n );\n }\n }]);\n}(PureComponent);"],"x_google_ignoreList":[0],"mappings":";;;AAAA,SAAS,EAAQ,GAAG;AAAE;AAA2B,QAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;AAAE,SAAO,OAAO;KAAO,SAAU,GAAG;AAAE,SAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAA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mBAChC,IAAS,EAAY,QACrB,IAAW,EAAY,UACvB,IAAmB,EAAY,kBAC/B,IAAiB,EAAY,gBAC7B,IAAU,EAAY,SACtB,IAAe,EAAY,cACzB,IAAuB,EAAoB;KACvB;KACR;KACZ,eAAe;KACL;KACQ;KAClB,YAAY,KAAK,MAAM;KACP;KACP;KACV,CAAC,EACF,IAAa,EAAqB,YAClC,IAAgB,EAAqB,eACnC,IAAa,EAAc,EAAc,EAC3C,YAAY,KAAqB,IAAS,aAAoB,OAAiC,MAAmB,KAAA,GACnH,EAAE,EAAc,EAAE,EAAE,EAAE;KACrB,eAAe;KACf,YAAY,CAAC,KAAK,MAAM,aAAa,KAAU,IAAa,YAAY;KACxE,UAAU;KACV,KAAK;KACL,MAAM;KACP,EAAE,EAAa;AAChB,WAIE,kBAAM,cAAc,OAAO;KACzB,UAAU;KACV,WAAW;KACX,OAAO;KACP,KAAK,SAAa,GAAM;AACtB,QAAO,cAAc;;KAExB,EAAE,EAAS;;GAGjB;EAAC,CAAC;EACH,EAAc"}
1
+ {"version":3,"file":"TooltipBoundingBox.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/TooltipBoundingBox.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { PureComponent } from 'react';\nimport { getTooltipTranslate } from '../util/tooltip/translate';\nvar EPSILON = 1;\nexport var TooltipBoundingBox = /*#__PURE__*/function (_PureComponent) {\n function TooltipBoundingBox() {\n var _this;\n _classCallCheck(this, TooltipBoundingBox);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, TooltipBoundingBox, [].concat(args));\n _defineProperty(_this, \"state\", {\n dismissed: false,\n dismissedAtCoordinate: {\n x: 0,\n y: 0\n },\n lastBoundingBox: {\n width: -1,\n height: -1\n }\n });\n _defineProperty(_this, \"handleKeyDown\", function (event) {\n if (event.key === 'Escape') {\n var _this$props$coordinat, _this$props$coordinat2, _this$props$coordinat3, _this$props$coordinat4;\n _this.setState({\n dismissed: true,\n dismissedAtCoordinate: {\n x: (_this$props$coordinat = (_this$props$coordinat2 = _this.props.coordinate) === null || _this$props$coordinat2 === void 0 ? void 0 : _this$props$coordinat2.x) !== null && _this$props$coordinat !== void 0 ? _this$props$coordinat : 0,\n y: (_this$props$coordinat3 = (_this$props$coordinat4 = _this.props.coordinate) === null || _this$props$coordinat4 === void 0 ? void 0 : _this$props$coordinat4.y) !== null && _this$props$coordinat3 !== void 0 ? _this$props$coordinat3 : 0\n }\n });\n }\n });\n return _this;\n }\n _inherits(TooltipBoundingBox, _PureComponent);\n return _createClass(TooltipBoundingBox, [{\n key: \"updateBBox\",\n value: function updateBBox() {\n if (this.wrapperNode && this.wrapperNode.getBoundingClientRect) {\n var box = this.wrapperNode.getBoundingClientRect();\n if (Math.abs(box.width - this.state.lastBoundingBox.width) > EPSILON || Math.abs(box.height - this.state.lastBoundingBox.height) > EPSILON) {\n this.setState({\n lastBoundingBox: {\n width: box.width,\n height: box.height\n }\n });\n }\n } else if (this.state.lastBoundingBox.width !== -1 || this.state.lastBoundingBox.height !== -1) {\n this.setState({\n lastBoundingBox: {\n width: -1,\n height: -1\n }\n });\n }\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n document.addEventListener('keydown', this.handleKeyDown);\n this.updateBBox();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n document.removeEventListener('keydown', this.handleKeyDown);\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n var _this$props$coordinat5, _this$props$coordinat6;\n if (this.props.active) {\n this.updateBBox();\n }\n if (!this.state.dismissed) {\n return;\n }\n if (((_this$props$coordinat5 = this.props.coordinate) === null || _this$props$coordinat5 === void 0 ? void 0 : _this$props$coordinat5.x) !== this.state.dismissedAtCoordinate.x || ((_this$props$coordinat6 = this.props.coordinate) === null || _this$props$coordinat6 === void 0 ? void 0 : _this$props$coordinat6.y) !== this.state.dismissedAtCoordinate.y) {\n this.state.dismissed = false;\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props = this.props,\n active = _this$props.active,\n allowEscapeViewBox = _this$props.allowEscapeViewBox,\n animationDuration = _this$props.animationDuration,\n animationEasing = _this$props.animationEasing,\n children = _this$props.children,\n coordinate = _this$props.coordinate,\n hasPayload = _this$props.hasPayload,\n isAnimationActive = _this$props.isAnimationActive,\n offset = _this$props.offset,\n position = _this$props.position,\n reverseDirection = _this$props.reverseDirection,\n useTranslate3d = _this$props.useTranslate3d,\n viewBox = _this$props.viewBox,\n wrapperStyle = _this$props.wrapperStyle;\n var _getTooltipTranslate = getTooltipTranslate({\n allowEscapeViewBox: allowEscapeViewBox,\n coordinate: coordinate,\n offsetTopLeft: offset,\n position: position,\n reverseDirection: reverseDirection,\n tooltipBox: this.state.lastBoundingBox,\n useTranslate3d: useTranslate3d,\n viewBox: viewBox\n }),\n cssClasses = _getTooltipTranslate.cssClasses,\n cssProperties = _getTooltipTranslate.cssProperties;\n var outerStyle = _objectSpread(_objectSpread({\n transition: isAnimationActive && active ? \"transform \".concat(animationDuration, \"ms \").concat(animationEasing) : undefined\n }, cssProperties), {}, {\n pointerEvents: 'none',\n visibility: !this.state.dismissed && active && hasPayload ? 'visible' : 'hidden',\n position: 'absolute',\n top: 0,\n left: 0\n }, wrapperStyle);\n return (\n /*#__PURE__*/\n // This element allow listening to the `Escape` key.\n // See https://github.com/recharts/recharts/pull/2925\n React.createElement(\"div\", {\n tabIndex: -1,\n className: cssClasses,\n style: outerStyle,\n ref: function ref(node) {\n _this2.wrapperNode = node;\n }\n }, children)\n );\n }\n }]);\n}(PureComponent);"],"x_google_ignoreList":[0],"mappings":";;;AAAA,SAAS,EAAQ,GAAG;CAAE;CAA2B,OAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;EAAE,OAAO,OAAO;CAAG,IAAI,SAAU,GAAG;EAAE,OAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAAO;CAAG,GAAG,EAAQ,CAAC;AAAG;AAC7T,SAAS,EAAQ,GAAG,GAAG;CAAE,IAAI,IAAI,OAAO,KAAK,CAAC;CAAG,IAAI,OAAO,uBAAuB;EAAE,IAAI,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vB,IAAa,EAAY,YACzB,IAAa,EAAY,YACzB,IAAoB,EAAY,mBAChC,IAAS,EAAY,QACrB,IAAW,EAAY,UACvB,IAAmB,EAAY,kBAC/B,IAAiB,EAAY,gBAC7B,IAAU,EAAY,SACtB,IAAe,EAAY,cACzB,IAAuB,EAAoB;KACvB;KACR;KACZ,eAAe;KACL;KACQ;KAClB,YAAY,KAAK,MAAM;KACP;KACP;IACX,CAAC,GACD,IAAa,EAAqB,YAClC,IAAgB,EAAqB,eACnC,IAAa,EAAc,EAAc,EAC3C,YAAY,KAAqB,IAAS,aAAoB,OAAiC,MAAmB,KAAA,EACpH,GAAG,CAAa,GAAG,CAAC,GAAG;KACrB,eAAe;KACf,YAAY,CAAC,KAAK,MAAM,aAAa,KAAU,IAAa,YAAY;KACxE,UAAU;KACV,KAAK;KACL,MAAM;IACR,GAAG,CAAY;IACf,OAIE,gBAAM,cAAc,OAAO;KACzB,UAAU;KACV,WAAW;KACX,OAAO;KACP,KAAK,SAAa,GAAM;MACtB,EAAO,cAAc;KACvB;IACF,GAAG,CAAQ;GAEf;EACF;CAAC,CAAC;AACJ,EAAE,CAAa"}
@@ -30,9 +30,9 @@ function o(e, t) {
30
30
  }
31
31
  return n;
32
32
  }
33
- var s = /* @__PURE__ */ n.forwardRef(function(o, s) {
33
+ var s = /*#__PURE__*/ n.forwardRef(function(o, s) {
34
34
  var c = o.children, l = o.className, u = a(o, r), d = e("recharts-layer", l);
35
- return /* @__PURE__ */ n.createElement("g", i({ className: d }, t(u, !0), { ref: s }), c);
35
+ return /*#__PURE__*/ n.createElement("g", i({ className: d }, t(u, !0), { ref: s }), c);
36
36
  });
37
37
  //#endregion
38
38
  export { s as Layer };