@burdenoff/microfe-ecoimpacthub 2026.720.3 → 2026.720.5

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 (496) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +1 -1
  2. package/dist/ecoimpacthub/EcoImpactHubRoot.js.map +1 -1
  3. package/dist/ecoimpacthub/EcoImpactHubRoutes.js.map +1 -1
  4. package/dist/ecoimpacthub/components/DashboardCustomizerDialog.d.ts +11 -0
  5. package/dist/ecoimpacthub/components/DashboardCustomizerDialog.d.ts.map +1 -0
  6. package/dist/ecoimpacthub/components/DashboardCustomizerDialog.js +182 -0
  7. package/dist/ecoimpacthub/components/DashboardCustomizerDialog.js.map +1 -0
  8. package/dist/ecoimpacthub/components/DataTable.js.map +1 -1
  9. package/dist/ecoimpacthub/components/EcoDiscussion.js.map +1 -1
  10. package/dist/ecoimpacthub/components/EcoTags.js.map +1 -1
  11. package/dist/ecoimpacthub/components/EmptyState.js.map +1 -1
  12. package/dist/ecoimpacthub/components/EvidenceUpload.js.map +1 -1
  13. package/dist/ecoimpacthub/components/FeatureFlagGate.js.map +1 -1
  14. package/dist/ecoimpacthub/components/FileLink.js.map +1 -1
  15. package/dist/ecoimpacthub/components/FilterTabs.js.map +1 -1
  16. package/dist/ecoimpacthub/components/MetricsCard.js.map +1 -1
  17. package/dist/ecoimpacthub/components/MiniBar.js.map +1 -1
  18. package/dist/ecoimpacthub/components/PageLayout.js.map +1 -1
  19. package/dist/ecoimpacthub/components/Pagination.js.map +1 -1
  20. package/dist/ecoimpacthub/components/StateViews.js.map +1 -1
  21. package/dist/ecoimpacthub/components/StatusBadge.js.map +1 -1
  22. package/dist/ecoimpacthub/components/Tabs.js.map +1 -1
  23. package/dist/ecoimpacthub/context/EcoImpactHubContext.js.map +1 -1
  24. package/dist/ecoimpacthub/hooks/index.d.ts +1 -0
  25. package/dist/ecoimpacthub/hooks/index.d.ts.map +1 -1
  26. package/dist/ecoimpacthub/hooks/index.js +1 -0
  27. package/dist/ecoimpacthub/hooks/useCursorPager.js.map +1 -1
  28. package/dist/ecoimpacthub/hooks/useDashboardLayout.d.ts +29 -0
  29. package/dist/ecoimpacthub/hooks/useDashboardLayout.d.ts.map +1 -0
  30. package/dist/ecoimpacthub/hooks/useDashboardLayout.js +95 -0
  31. package/dist/ecoimpacthub/hooks/useDashboardLayout.js.map +1 -0
  32. package/dist/ecoimpacthub/hooks/useEcoComments.js.map +1 -1
  33. package/dist/ecoimpacthub/hooks/useEcoFiles.js.map +1 -1
  34. package/dist/ecoimpacthub/hooks/useEcoImpactHubApi.js.map +1 -1
  35. package/dist/ecoimpacthub/hooks/useEcoTags.js.map +1 -1
  36. package/dist/ecoimpacthub/pages/DashboardPage.d.ts +7 -0
  37. package/dist/ecoimpacthub/pages/DashboardPage.d.ts.map +1 -1
  38. package/dist/ecoimpacthub/pages/DashboardPage.js +505 -447
  39. package/dist/ecoimpacthub/pages/DashboardPage.js.map +1 -1
  40. package/dist/ecoimpacthub/pages/_shared/ConservationBadge.js.map +1 -1
  41. package/dist/ecoimpacthub/pages/_shared/EvidenceThumb.js.map +1 -1
  42. package/dist/ecoimpacthub/pages/_shared/MethodBadge.js.map +1 -1
  43. package/dist/ecoimpacthub/pages/_shared/TaxonChip.js.map +1 -1
  44. package/dist/ecoimpacthub/pages/badges.js.map +1 -1
  45. package/dist/ecoimpacthub/pages/carbon/CarbonPage.js.map +1 -1
  46. package/dist/ecoimpacthub/pages/carbonVisuals.js.map +1 -1
  47. package/dist/ecoimpacthub/pages/habitat/HabitatProjectDetailPage.js.map +1 -1
  48. package/dist/ecoimpacthub/pages/habitat/HabitatProjectsPage.js.map +1 -1
  49. package/dist/ecoimpacthub/pages/habitat/LifecycleProgress.js.map +1 -1
  50. package/dist/ecoimpacthub/pages/monitoring/MonitoringPage.js.map +1 -1
  51. package/dist/ecoimpacthub/pages/observations/ObservationsPage.js.map +1 -1
  52. package/dist/ecoimpacthub/pages/reports/ReportDetailPage.js.map +1 -1
  53. package/dist/ecoimpacthub/pages/reports/ReportsPage.js.map +1 -1
  54. package/dist/ecoimpacthub/pages/sites/SiteDetailPage.js.map +1 -1
  55. package/dist/ecoimpacthub/pages/sites/SitesPage.js.map +1 -1
  56. package/dist/ecoimpacthub/pages/sites/siteTypeVisuals.js.map +1 -1
  57. package/dist/ecoimpacthub/pages/species/SpeciesDetailPage.js.map +1 -1
  58. package/dist/ecoimpacthub/pages/species/SpeciesPage.js.map +1 -1
  59. package/dist/ecoimpacthub/services/createSandboxAssistantTransport.d.ts.map +1 -1
  60. package/dist/ecoimpacthub/services/createSandboxAssistantTransport.js.map +1 -1
  61. package/dist/ecoimpacthub/types/index.d.ts.map +1 -1
  62. package/dist/ecoimpacthub/utils/cn.js.map +1 -1
  63. package/dist/ecoimpacthub/utils/formatters.js.map +1 -1
  64. package/dist/ecoimpacthub/utils/navigation.js.map +1 -1
  65. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  66. package/dist/node_modules/d3-array/src/ascending.js.map +1 -1
  67. package/dist/node_modules/d3-array/src/bisect.js.map +1 -1
  68. package/dist/node_modules/d3-array/src/bisector.js.map +1 -1
  69. package/dist/node_modules/d3-array/src/descending.js.map +1 -1
  70. package/dist/node_modules/d3-array/src/max.js.map +1 -1
  71. package/dist/node_modules/d3-array/src/min.js.map +1 -1
  72. package/dist/node_modules/d3-array/src/number.js.map +1 -1
  73. package/dist/node_modules/d3-array/src/quantile.js.map +1 -1
  74. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -1
  75. package/dist/node_modules/d3-array/src/range.js.map +1 -1
  76. package/dist/node_modules/d3-array/src/sort.js.map +1 -1
  77. package/dist/node_modules/d3-array/src/ticks.js.map +1 -1
  78. package/dist/node_modules/d3-color/src/color.js.map +1 -1
  79. package/dist/node_modules/d3-color/src/define.js.map +1 -1
  80. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -1
  81. package/dist/node_modules/d3-format/src/exponent.js.map +1 -1
  82. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -1
  83. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -1
  84. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -1
  85. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -1
  86. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -1
  87. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -1
  88. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -1
  89. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -1
  90. package/dist/node_modules/d3-format/src/identity.js.map +1 -1
  91. package/dist/node_modules/d3-format/src/locale.js.map +1 -1
  92. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -1
  93. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -1
  94. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -1
  95. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -1
  96. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -1
  97. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -1
  98. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -1
  99. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -1
  100. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -1
  101. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -1
  102. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -1
  103. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -1
  104. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -1
  105. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -1
  106. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -1
  107. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -1
  108. package/dist/node_modules/d3-path/src/path.js.map +1 -1
  109. package/dist/node_modules/d3-scale/src/band.js.map +1 -1
  110. package/dist/node_modules/d3-scale/src/constant.js.map +1 -1
  111. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -1
  112. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -1
  113. package/dist/node_modules/d3-scale/src/identity.js.map +1 -1
  114. package/dist/node_modules/d3-scale/src/init.js.map +1 -1
  115. package/dist/node_modules/d3-scale/src/linear.js.map +1 -1
  116. package/dist/node_modules/d3-scale/src/log.js.map +1 -1
  117. package/dist/node_modules/d3-scale/src/nice.js.map +1 -1
  118. package/dist/node_modules/d3-scale/src/number.js.map +1 -1
  119. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -1
  120. package/dist/node_modules/d3-scale/src/pow.js.map +1 -1
  121. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -1
  122. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -1
  123. package/dist/node_modules/d3-scale/src/radial.js.map +1 -1
  124. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -1
  125. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -1
  126. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -1
  127. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -1
  128. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -1
  129. package/dist/node_modules/d3-scale/src/time.js.map +1 -1
  130. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -1
  131. package/dist/node_modules/d3-shape/src/area.js.map +1 -1
  132. package/dist/node_modules/d3-shape/src/array.js.map +1 -1
  133. package/dist/node_modules/d3-shape/src/constant.js.map +1 -1
  134. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -1
  135. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -1
  136. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -1
  137. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -1
  138. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -1
  139. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -1
  140. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -1
  141. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -1
  142. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -1
  143. package/dist/node_modules/d3-shape/src/line.js.map +1 -1
  144. package/dist/node_modules/d3-shape/src/noop.js.map +1 -1
  145. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -1
  146. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -1
  147. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -1
  148. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -1
  149. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -1
  150. package/dist/node_modules/d3-shape/src/path.js.map +1 -1
  151. package/dist/node_modules/d3-shape/src/point.js.map +1 -1
  152. package/dist/node_modules/d3-shape/src/stack.js.map +1 -1
  153. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -1
  154. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -1
  155. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -1
  156. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -1
  157. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -1
  158. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -1
  159. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -1
  160. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -1
  161. package/dist/node_modules/d3-time/src/day.js.map +1 -1
  162. package/dist/node_modules/d3-time/src/hour.js.map +1 -1
  163. package/dist/node_modules/d3-time/src/interval.js.map +1 -1
  164. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -1
  165. package/dist/node_modules/d3-time/src/minute.js.map +1 -1
  166. package/dist/node_modules/d3-time/src/month.js.map +1 -1
  167. package/dist/node_modules/d3-time/src/second.js.map +1 -1
  168. package/dist/node_modules/d3-time/src/ticks.js.map +1 -1
  169. package/dist/node_modules/d3-time/src/week.js.map +1 -1
  170. package/dist/node_modules/d3-time/src/year.js.map +1 -1
  171. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -1
  172. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -1
  173. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
  174. package/dist/node_modules/eventemitter3/index.js.map +1 -1
  175. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
  176. package/dist/node_modules/internmap/src/index.js.map +1 -1
  177. package/dist/node_modules/lodash/_DataView.js.map +1 -1
  178. package/dist/node_modules/lodash/_Hash.js.map +1 -1
  179. package/dist/node_modules/lodash/_ListCache.js.map +1 -1
  180. package/dist/node_modules/lodash/_Map.js.map +1 -1
  181. package/dist/node_modules/lodash/_MapCache.js.map +1 -1
  182. package/dist/node_modules/lodash/_Promise.js.map +1 -1
  183. package/dist/node_modules/lodash/_Set.js.map +1 -1
  184. package/dist/node_modules/lodash/_SetCache.js.map +1 -1
  185. package/dist/node_modules/lodash/_Stack.js +2 -1
  186. package/dist/node_modules/lodash/_Stack.js.map +1 -1
  187. package/dist/node_modules/lodash/_Symbol.js.map +1 -1
  188. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
  189. package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
  190. package/dist/node_modules/lodash/_apply.js.map +1 -1
  191. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
  192. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
  193. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
  194. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
  195. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
  196. package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
  197. package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
  198. package/dist/node_modules/lodash/_arraySome.js.map +1 -1
  199. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
  200. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
  201. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
  202. package/dist/node_modules/lodash/_baseEach.js.map +1 -1
  203. package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
  204. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
  205. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
  206. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
  207. package/dist/node_modules/lodash/_baseFor.js.map +1 -1
  208. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
  209. package/dist/node_modules/lodash/_baseGet.js.map +1 -1
  210. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
  211. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
  212. package/dist/node_modules/lodash/_baseGt.js.map +1 -1
  213. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
  214. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
  215. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
  216. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
  217. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
  218. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
  219. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
  220. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
  221. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
  222. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
  223. package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
  224. package/dist/node_modules/lodash/_baseLt.js.map +1 -1
  225. package/dist/node_modules/lodash/_baseMap.js.map +1 -1
  226. package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
  227. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
  228. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
  229. package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
  230. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
  231. package/dist/node_modules/lodash/_baseRange.js.map +1 -1
  232. package/dist/node_modules/lodash/_baseRest.js.map +1 -1
  233. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
  234. package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
  235. package/dist/node_modules/lodash/_baseSome.js.map +1 -1
  236. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
  237. package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
  238. package/dist/node_modules/lodash/_baseToString.js.map +1 -1
  239. package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
  240. package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
  241. package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
  242. package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
  243. package/dist/node_modules/lodash/_castPath.js.map +1 -1
  244. package/dist/node_modules/lodash/_castSlice.js.map +1 -1
  245. package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
  246. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
  247. package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
  248. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
  249. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
  250. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
  251. package/dist/node_modules/lodash/_createFind.js.map +1 -1
  252. package/dist/node_modules/lodash/_createRange.js.map +1 -1
  253. package/dist/node_modules/lodash/_createSet.js.map +1 -1
  254. package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
  255. package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
  256. package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
  257. package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
  258. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
  259. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
  260. package/dist/node_modules/lodash/_getMapData.js.map +1 -1
  261. package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
  262. package/dist/node_modules/lodash/_getNative.js.map +1 -1
  263. package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
  264. package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
  265. package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
  266. package/dist/node_modules/lodash/_getTag.js.map +1 -1
  267. package/dist/node_modules/lodash/_getValue.js.map +1 -1
  268. package/dist/node_modules/lodash/_hasPath.js.map +1 -1
  269. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
  270. package/dist/node_modules/lodash/_hashClear.js.map +1 -1
  271. package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
  272. package/dist/node_modules/lodash/_hashGet.js.map +1 -1
  273. package/dist/node_modules/lodash/_hashHas.js.map +1 -1
  274. package/dist/node_modules/lodash/_hashSet.js.map +1 -1
  275. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
  276. package/dist/node_modules/lodash/_isIndex.js.map +1 -1
  277. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
  278. package/dist/node_modules/lodash/_isKey.js.map +1 -1
  279. package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
  280. package/dist/node_modules/lodash/_isMasked.js.map +1 -1
  281. package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
  282. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
  283. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
  284. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
  285. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
  286. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
  287. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
  288. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
  289. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
  290. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
  291. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
  292. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
  293. package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
  294. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
  295. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
  296. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
  297. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
  298. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
  299. package/dist/node_modules/lodash/_objectToString.js.map +1 -1
  300. package/dist/node_modules/lodash/_overArg.js.map +1 -1
  301. package/dist/node_modules/lodash/_overRest.js.map +1 -1
  302. package/dist/node_modules/lodash/_root.js.map +1 -1
  303. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
  304. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
  305. package/dist/node_modules/lodash/_setToArray.js.map +1 -1
  306. package/dist/node_modules/lodash/_setToString.js.map +1 -1
  307. package/dist/node_modules/lodash/_shortOut.js.map +1 -1
  308. package/dist/node_modules/lodash/_stackClear.js.map +1 -1
  309. package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
  310. package/dist/node_modules/lodash/_stackGet.js.map +1 -1
  311. package/dist/node_modules/lodash/_stackHas.js.map +1 -1
  312. package/dist/node_modules/lodash/_stackSet.js.map +1 -1
  313. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
  314. package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
  315. package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
  316. package/dist/node_modules/lodash/_toKey.js.map +1 -1
  317. package/dist/node_modules/lodash/_toSource.js.map +1 -1
  318. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
  319. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
  320. package/dist/node_modules/lodash/constant.js.map +1 -1
  321. package/dist/node_modules/lodash/debounce.js.map +1 -1
  322. package/dist/node_modules/lodash/eq.js.map +1 -1
  323. package/dist/node_modules/lodash/every.js.map +1 -1
  324. package/dist/node_modules/lodash/find.js.map +1 -1
  325. package/dist/node_modules/lodash/findIndex.js.map +1 -1
  326. package/dist/node_modules/lodash/flatMap.js.map +1 -1
  327. package/dist/node_modules/lodash/get.js.map +1 -1
  328. package/dist/node_modules/lodash/hasIn.js.map +1 -1
  329. package/dist/node_modules/lodash/identity.js.map +1 -1
  330. package/dist/node_modules/lodash/isArguments.js.map +1 -1
  331. package/dist/node_modules/lodash/isArray.js.map +1 -1
  332. package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
  333. package/dist/node_modules/lodash/isBoolean.js.map +1 -1
  334. package/dist/node_modules/lodash/isBuffer.js.map +1 -1
  335. package/dist/node_modules/lodash/isEqual.js.map +1 -1
  336. package/dist/node_modules/lodash/isFunction.js.map +1 -1
  337. package/dist/node_modules/lodash/isLength.js.map +1 -1
  338. package/dist/node_modules/lodash/isNaN.js.map +1 -1
  339. package/dist/node_modules/lodash/isNil.js.map +1 -1
  340. package/dist/node_modules/lodash/isNumber.js.map +1 -1
  341. package/dist/node_modules/lodash/isObject.js.map +1 -1
  342. package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
  343. package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
  344. package/dist/node_modules/lodash/isString.js.map +1 -1
  345. package/dist/node_modules/lodash/isSymbol.js.map +1 -1
  346. package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
  347. package/dist/node_modules/lodash/keys.js.map +1 -1
  348. package/dist/node_modules/lodash/last.js.map +1 -1
  349. package/dist/node_modules/lodash/map.js.map +1 -1
  350. package/dist/node_modules/lodash/mapValues.js.map +1 -1
  351. package/dist/node_modules/lodash/max.js.map +1 -1
  352. package/dist/node_modules/lodash/memoize.js.map +1 -1
  353. package/dist/node_modules/lodash/min.js.map +1 -1
  354. package/dist/node_modules/lodash/noop.js.map +1 -1
  355. package/dist/node_modules/lodash/now.js.map +1 -1
  356. package/dist/node_modules/lodash/property.js.map +1 -1
  357. package/dist/node_modules/lodash/range.js.map +1 -1
  358. package/dist/node_modules/lodash/some.js.map +1 -1
  359. package/dist/node_modules/lodash/sortBy.js.map +1 -1
  360. package/dist/node_modules/lodash/stubArray.js.map +1 -1
  361. package/dist/node_modules/lodash/stubFalse.js.map +1 -1
  362. package/dist/node_modules/lodash/throttle.js.map +1 -1
  363. package/dist/node_modules/lodash/toFinite.js.map +1 -1
  364. package/dist/node_modules/lodash/toInteger.js.map +1 -1
  365. package/dist/node_modules/lodash/toNumber.js.map +1 -1
  366. package/dist/node_modules/lodash/toString.js.map +1 -1
  367. package/dist/node_modules/lodash/uniqBy.js.map +1 -1
  368. package/dist/node_modules/lodash/upperFirst.js.map +1 -1
  369. package/dist/node_modules/object-assign/index.js.map +1 -1
  370. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
  371. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
  372. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
  373. package/dist/node_modules/prop-types/index.js.map +1 -1
  374. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
  375. package/dist/node_modules/prop-types/lib/has.js.map +1 -1
  376. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  377. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  378. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
  379. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  380. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  381. package/dist/node_modules/react-is/index.js.map +1 -1
  382. package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
  383. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
  384. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
  385. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
  386. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
  387. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
  388. package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
  389. package/dist/node_modules/recharts/es6/cartesian/Bar.js +9 -9
  390. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
  391. package/dist/node_modules/recharts/es6/cartesian/Brush.js +12 -12
  392. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  393. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +7 -7
  394. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
  395. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +13 -13
  396. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -1
  397. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +4 -4
  398. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
  399. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +3 -3
  400. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
  401. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +3 -3
  402. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
  403. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +4 -4
  404. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
  405. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +3 -3
  406. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
  407. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +3 -3
  408. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
  409. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
  410. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
  411. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -1
  412. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
  413. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
  414. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +22 -22
  415. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
  416. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
  417. package/dist/node_modules/recharts/es6/component/Cursor.js +1 -1
  418. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
  419. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +11 -11
  420. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
  421. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +6 -6
  422. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
  423. package/dist/node_modules/recharts/es6/component/Label.js +14 -14
  424. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
  425. package/dist/node_modules/recharts/es6/component/LabelList.js +6 -6
  426. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
  427. package/dist/node_modules/recharts/es6/component/Legend.js +5 -5
  428. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
  429. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +3 -3
  430. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
  431. package/dist/node_modules/recharts/es6/component/Text.js +2 -2
  432. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
  433. package/dist/node_modules/recharts/es6/component/Tooltip.js +3 -3
  434. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
  435. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +2 -2
  436. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
  437. package/dist/node_modules/recharts/es6/container/Layer.js +2 -2
  438. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
  439. package/dist/node_modules/recharts/es6/container/Surface.js +2 -2
  440. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
  441. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +2 -2
  442. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
  443. package/dist/node_modules/recharts/es6/shape/Cross.js +1 -1
  444. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
  445. package/dist/node_modules/recharts/es6/shape/Curve.js +1 -1
  446. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
  447. package/dist/node_modules/recharts/es6/shape/Dot.js +1 -1
  448. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
  449. package/dist/node_modules/recharts/es6/shape/Rectangle.js +4 -4
  450. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
  451. package/dist/node_modules/recharts/es6/shape/Sector.js +1 -1
  452. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
  453. package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -1
  454. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
  455. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +4 -4
  456. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
  457. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +9 -9
  458. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
  459. package/dist/node_modules/recharts/es6/util/BarUtils.js +1 -1
  460. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
  461. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +1 -1
  462. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
  463. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
  464. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
  465. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
  466. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
  467. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
  468. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
  469. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
  470. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
  471. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
  472. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
  473. package/dist/node_modules/recharts/es6/util/ReactUtils.js +1 -1
  474. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
  475. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +1 -1
  476. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
  477. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
  478. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
  479. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
  480. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
  481. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
  482. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
  483. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
  484. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
  485. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
  486. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
  487. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
  488. package/dist/node_modules/recharts/es6/util/types.js +1 -1
  489. package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
  490. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
  491. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
  492. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
  493. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -1
  494. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  495. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
  496. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"CartesianGrid.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/CartesianGrid.js"],"sourcesContent":["var _excluded = [\"x1\", \"y1\", \"x2\", \"y2\", \"key\"],\n _excluded2 = [\"offset\"];\nfunction _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 _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; }\n/**\n * @fileOverview Cartesian Grid\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport { warn } from '../util/LogUtils';\nimport { isNumber } from '../util/DataUtils';\nimport { filterProps } from '../util/ReactUtils';\nimport { getCoordinatesOfGrid, getTicksOfAxis } from '../util/ChartUtils';\nimport { getTicks } from './getTicks';\nimport { CartesianAxis } from './CartesianAxis';\nimport { useArbitraryXAxis, useChartHeight, useChartWidth, useOffset, useYAxisWithFiniteDomainOrRandom } from '../context/chartLayoutContext';\n\n/**\n * The <CartesianGrid horizontal\n */\n\nvar Background = function Background(props) {\n var fill = props.fill;\n if (!fill || fill === 'none') {\n return null;\n }\n var fillOpacity = props.fillOpacity,\n x = props.x,\n y = props.y,\n width = props.width,\n height = props.height,\n ry = props.ry;\n return /*#__PURE__*/React.createElement(\"rect\", {\n x: x,\n y: y,\n ry: ry,\n width: width,\n height: height,\n stroke: \"none\",\n fill: fill,\n fillOpacity: fillOpacity,\n className: \"recharts-cartesian-grid-bg\"\n });\n};\nfunction renderLineItem(option, props) {\n var lineItem;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n // @ts-expect-error typescript does not see the props type when cloning an element\n lineItem = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n lineItem = option(props);\n } else {\n var x1 = props.x1,\n y1 = props.y1,\n x2 = props.x2,\n y2 = props.y2,\n key = props.key,\n others = _objectWithoutProperties(props, _excluded);\n var _filterProps = filterProps(others, false),\n __ = _filterProps.offset,\n restOfFilteredProps = _objectWithoutProperties(_filterProps, _excluded2);\n lineItem = /*#__PURE__*/React.createElement(\"line\", _extends({}, restOfFilteredProps, {\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2,\n fill: \"none\",\n key: key\n }));\n }\n return lineItem;\n}\nfunction HorizontalGridLines(props) {\n var x = props.x,\n width = props.width,\n _props$horizontal = props.horizontal,\n horizontal = _props$horizontal === void 0 ? true : _props$horizontal,\n horizontalPoints = props.horizontalPoints;\n if (!horizontal || !horizontalPoints || !horizontalPoints.length) {\n return null;\n }\n var items = horizontalPoints.map(function (entry, i) {\n var lineItemProps = _objectSpread(_objectSpread({}, props), {}, {\n x1: x,\n y1: entry,\n x2: x + width,\n y2: entry,\n key: \"line-\".concat(i),\n index: i\n });\n return renderLineItem(horizontal, lineItemProps);\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-grid-horizontal\"\n }, items);\n}\nfunction VerticalGridLines(props) {\n var y = props.y,\n height = props.height,\n _props$vertical = props.vertical,\n vertical = _props$vertical === void 0 ? true : _props$vertical,\n verticalPoints = props.verticalPoints;\n if (!vertical || !verticalPoints || !verticalPoints.length) {\n return null;\n }\n var items = verticalPoints.map(function (entry, i) {\n var lineItemProps = _objectSpread(_objectSpread({}, props), {}, {\n x1: entry,\n y1: y,\n x2: entry,\n y2: y + height,\n key: \"line-\".concat(i),\n index: i\n });\n return renderLineItem(vertical, lineItemProps);\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-grid-vertical\"\n }, items);\n}\nfunction HorizontalStripes(props) {\n var horizontalFill = props.horizontalFill,\n fillOpacity = props.fillOpacity,\n x = props.x,\n y = props.y,\n width = props.width,\n height = props.height,\n horizontalPoints = props.horizontalPoints,\n _props$horizontal2 = props.horizontal,\n horizontal = _props$horizontal2 === void 0 ? true : _props$horizontal2;\n if (!horizontal || !horizontalFill || !horizontalFill.length) {\n return null;\n }\n\n // Why =y -y? I was trying to find any difference that this makes, with floating point numbers and edge cases but ... nothing.\n var roundedSortedHorizontalPoints = horizontalPoints.map(function (e) {\n return Math.round(e + y - y);\n }).sort(function (a, b) {\n return a - b;\n });\n // Why is this condition `!==` instead of `<=` ?\n if (y !== roundedSortedHorizontalPoints[0]) {\n roundedSortedHorizontalPoints.unshift(0);\n }\n var items = roundedSortedHorizontalPoints.map(function (entry, i) {\n // Why do we strip only the last stripe if it is invisible, and not all invisible stripes?\n var lastStripe = !roundedSortedHorizontalPoints[i + 1];\n var lineHeight = lastStripe ? y + height - entry : roundedSortedHorizontalPoints[i + 1] - entry;\n if (lineHeight <= 0) {\n return null;\n }\n var colorIndex = i % horizontalFill.length;\n return /*#__PURE__*/React.createElement(\"rect\", {\n key: \"react-\".concat(i) // eslint-disable-line react/no-array-index-key\n ,\n y: entry,\n x: x,\n height: lineHeight,\n width: width,\n stroke: \"none\",\n fill: horizontalFill[colorIndex],\n fillOpacity: fillOpacity,\n className: \"recharts-cartesian-grid-bg\"\n });\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-gridstripes-horizontal\"\n }, items);\n}\nfunction VerticalStripes(props) {\n var _props$vertical2 = props.vertical,\n vertical = _props$vertical2 === void 0 ? true : _props$vertical2,\n verticalFill = props.verticalFill,\n fillOpacity = props.fillOpacity,\n x = props.x,\n y = props.y,\n width = props.width,\n height = props.height,\n verticalPoints = props.verticalPoints;\n if (!vertical || !verticalFill || !verticalFill.length) {\n return null;\n }\n var roundedSortedVerticalPoints = verticalPoints.map(function (e) {\n return Math.round(e + x - x);\n }).sort(function (a, b) {\n return a - b;\n });\n if (x !== roundedSortedVerticalPoints[0]) {\n roundedSortedVerticalPoints.unshift(0);\n }\n var items = roundedSortedVerticalPoints.map(function (entry, i) {\n var lastStripe = !roundedSortedVerticalPoints[i + 1];\n var lineWidth = lastStripe ? x + width - entry : roundedSortedVerticalPoints[i + 1] - entry;\n if (lineWidth <= 0) {\n return null;\n }\n var colorIndex = i % verticalFill.length;\n return /*#__PURE__*/React.createElement(\"rect\", {\n key: \"react-\".concat(i) // eslint-disable-line react/no-array-index-key\n ,\n x: entry,\n y: y,\n width: lineWidth,\n height: height,\n stroke: \"none\",\n fill: verticalFill[colorIndex],\n fillOpacity: fillOpacity,\n className: \"recharts-cartesian-grid-bg\"\n });\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-gridstripes-vertical\"\n }, items);\n}\nvar defaultVerticalCoordinatesGenerator = function defaultVerticalCoordinatesGenerator(_ref, syncWithTicks) {\n var xAxis = _ref.xAxis,\n width = _ref.width,\n height = _ref.height,\n offset = _ref.offset;\n return getCoordinatesOfGrid(getTicks(_objectSpread(_objectSpread(_objectSpread({}, CartesianAxis.defaultProps), xAxis), {}, {\n ticks: getTicksOfAxis(xAxis, true),\n viewBox: {\n x: 0,\n y: 0,\n width: width,\n height: height\n }\n })), offset.left, offset.left + offset.width, syncWithTicks);\n};\nvar defaultHorizontalCoordinatesGenerator = function defaultHorizontalCoordinatesGenerator(_ref2, syncWithTicks) {\n var yAxis = _ref2.yAxis,\n width = _ref2.width,\n height = _ref2.height,\n offset = _ref2.offset;\n return getCoordinatesOfGrid(getTicks(_objectSpread(_objectSpread(_objectSpread({}, CartesianAxis.defaultProps), yAxis), {}, {\n ticks: getTicksOfAxis(yAxis, true),\n viewBox: {\n x: 0,\n y: 0,\n width: width,\n height: height\n }\n })), offset.top, offset.top + offset.height, syncWithTicks);\n};\nvar defaultProps = {\n horizontal: true,\n vertical: true,\n // The ordinates of horizontal grid lines\n horizontalPoints: [],\n // The abscissas of vertical grid lines\n verticalPoints: [],\n stroke: '#ccc',\n fill: 'none',\n // The fill of colors of grid lines\n verticalFill: [],\n horizontalFill: []\n};\nexport function CartesianGrid(props) {\n var _props$stroke, _props$fill, _props$horizontal3, _props$horizontalFill, _props$vertical3, _props$verticalFill;\n var chartWidth = useChartWidth();\n var chartHeight = useChartHeight();\n var offset = useOffset();\n var propsIncludingDefaults = _objectSpread(_objectSpread({}, props), {}, {\n stroke: (_props$stroke = props.stroke) !== null && _props$stroke !== void 0 ? _props$stroke : defaultProps.stroke,\n fill: (_props$fill = props.fill) !== null && _props$fill !== void 0 ? _props$fill : defaultProps.fill,\n horizontal: (_props$horizontal3 = props.horizontal) !== null && _props$horizontal3 !== void 0 ? _props$horizontal3 : defaultProps.horizontal,\n horizontalFill: (_props$horizontalFill = props.horizontalFill) !== null && _props$horizontalFill !== void 0 ? _props$horizontalFill : defaultProps.horizontalFill,\n vertical: (_props$vertical3 = props.vertical) !== null && _props$vertical3 !== void 0 ? _props$vertical3 : defaultProps.vertical,\n verticalFill: (_props$verticalFill = props.verticalFill) !== null && _props$verticalFill !== void 0 ? _props$verticalFill : defaultProps.verticalFill,\n x: isNumber(props.x) ? props.x : offset.left,\n y: isNumber(props.y) ? props.y : offset.top,\n width: isNumber(props.width) ? props.width : offset.width,\n height: isNumber(props.height) ? props.height : offset.height\n });\n var x = propsIncludingDefaults.x,\n y = propsIncludingDefaults.y,\n width = propsIncludingDefaults.width,\n height = propsIncludingDefaults.height,\n syncWithTicks = propsIncludingDefaults.syncWithTicks,\n horizontalValues = propsIncludingDefaults.horizontalValues,\n verticalValues = propsIncludingDefaults.verticalValues;\n\n // @ts-expect-error the scale prop is mixed up - we need to untagle this at some point\n var xAxis = useArbitraryXAxis();\n // @ts-expect-error the scale prop is mixed up - we need to untagle this at some point\n var yAxis = useYAxisWithFiniteDomainOrRandom();\n if (!isNumber(width) || width <= 0 || !isNumber(height) || height <= 0 || !isNumber(x) || x !== +x || !isNumber(y) || y !== +y) {\n return null;\n }\n\n /*\n * verticalCoordinatesGenerator and horizontalCoordinatesGenerator are defined\n * outside of the propsIncludingDefaults because they were never part of the original props\n * and they were never passed as a prop down to horizontal/vertical custom elements.\n * If we add these two to propsIncludingDefaults then we are changing public API.\n * Not a bad thing per se but also not necessary.\n */\n var verticalCoordinatesGenerator = propsIncludingDefaults.verticalCoordinatesGenerator || defaultVerticalCoordinatesGenerator;\n var horizontalCoordinatesGenerator = propsIncludingDefaults.horizontalCoordinatesGenerator || defaultHorizontalCoordinatesGenerator;\n var horizontalPoints = propsIncludingDefaults.horizontalPoints,\n verticalPoints = propsIncludingDefaults.verticalPoints;\n\n // No horizontal points are specified\n if ((!horizontalPoints || !horizontalPoints.length) && isFunction(horizontalCoordinatesGenerator)) {\n var isHorizontalValues = horizontalValues && horizontalValues.length;\n var generatorResult = horizontalCoordinatesGenerator({\n yAxis: yAxis ? _objectSpread(_objectSpread({}, yAxis), {}, {\n ticks: isHorizontalValues ? horizontalValues : yAxis.ticks\n }) : undefined,\n width: chartWidth,\n height: chartHeight,\n offset: offset\n }, isHorizontalValues ? true : syncWithTicks);\n warn(Array.isArray(generatorResult), \"horizontalCoordinatesGenerator should return Array but instead it returned [\".concat(_typeof(generatorResult), \"]\"));\n if (Array.isArray(generatorResult)) {\n horizontalPoints = generatorResult;\n }\n }\n\n // No vertical points are specified\n if ((!verticalPoints || !verticalPoints.length) && isFunction(verticalCoordinatesGenerator)) {\n var isVerticalValues = verticalValues && verticalValues.length;\n var _generatorResult = verticalCoordinatesGenerator({\n xAxis: xAxis ? _objectSpread(_objectSpread({}, xAxis), {}, {\n ticks: isVerticalValues ? verticalValues : xAxis.ticks\n }) : undefined,\n width: chartWidth,\n height: chartHeight,\n offset: offset\n }, isVerticalValues ? true : syncWithTicks);\n warn(Array.isArray(_generatorResult), \"verticalCoordinatesGenerator should return Array but instead it returned [\".concat(_typeof(_generatorResult), \"]\"));\n if (Array.isArray(_generatorResult)) {\n verticalPoints = _generatorResult;\n }\n }\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-grid\"\n }, /*#__PURE__*/React.createElement(Background, {\n fill: propsIncludingDefaults.fill,\n fillOpacity: propsIncludingDefaults.fillOpacity,\n x: propsIncludingDefaults.x,\n y: propsIncludingDefaults.y,\n width: propsIncludingDefaults.width,\n height: propsIncludingDefaults.height,\n ry: propsIncludingDefaults.ry\n }), /*#__PURE__*/React.createElement(HorizontalGridLines, _extends({}, propsIncludingDefaults, {\n offset: offset,\n horizontalPoints: horizontalPoints,\n xAxis: xAxis,\n yAxis: yAxis\n })), /*#__PURE__*/React.createElement(VerticalGridLines, _extends({}, propsIncludingDefaults, {\n offset: offset,\n verticalPoints: verticalPoints,\n xAxis: xAxis,\n yAxis: yAxis\n })), /*#__PURE__*/React.createElement(HorizontalStripes, _extends({}, propsIncludingDefaults, {\n horizontalPoints: horizontalPoints\n })), /*#__PURE__*/React.createElement(VerticalStripes, _extends({}, propsIncludingDefaults, {\n verticalPoints: verticalPoints\n })));\n}\nCartesianGrid.displayName = 'CartesianGrid';"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;gCAAI,IAAY;CAAC;CAAM;CAAM;CAAM;CAAM;CAAM,EAC7C,IAAa,CAAC,SAAS;AACzB,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,G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,EAAe,kBAAM,cAAc,GAAmB,EAAS,EAAE,EAAE,GAAwB;EACpF;EACQ;EACT;EACA;EACR,CAAC,CAAC,EAAe,kBAAM,cAAc,GAAmB,EAAS,EAAE,EAAE,GAAwB,EAC1E,qBACnB,CAAC,CAAC,EAAe,kBAAM,cAAc,GAAiB,EAAS,EAAE,EAAE,GAAwB,EAC1E,mBACjB,CAAC,CAAC,CAAC;;AAEN,EAAc,cAAc"}
1
+ {"version":3,"file":"CartesianGrid.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/CartesianGrid.js"],"sourcesContent":["var _excluded = [\"x1\", \"y1\", \"x2\", \"y2\", \"key\"],\n _excluded2 = [\"offset\"];\nfunction _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 _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; }\n/**\n * @fileOverview Cartesian Grid\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport { warn } from '../util/LogUtils';\nimport { isNumber } from '../util/DataUtils';\nimport { filterProps } from '../util/ReactUtils';\nimport { getCoordinatesOfGrid, getTicksOfAxis } from '../util/ChartUtils';\nimport { getTicks } from './getTicks';\nimport { CartesianAxis } from './CartesianAxis';\nimport { useArbitraryXAxis, useChartHeight, useChartWidth, useOffset, useYAxisWithFiniteDomainOrRandom } from '../context/chartLayoutContext';\n\n/**\n * The <CartesianGrid horizontal\n */\n\nvar Background = function Background(props) {\n var fill = props.fill;\n if (!fill || fill === 'none') {\n return null;\n }\n var fillOpacity = props.fillOpacity,\n x = props.x,\n y = props.y,\n width = props.width,\n height = props.height,\n ry = props.ry;\n return /*#__PURE__*/React.createElement(\"rect\", {\n x: x,\n y: y,\n ry: ry,\n width: width,\n height: height,\n stroke: \"none\",\n fill: fill,\n fillOpacity: fillOpacity,\n className: \"recharts-cartesian-grid-bg\"\n });\n};\nfunction renderLineItem(option, props) {\n var lineItem;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n // @ts-expect-error typescript does not see the props type when cloning an element\n lineItem = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n lineItem = option(props);\n } else {\n var x1 = props.x1,\n y1 = props.y1,\n x2 = props.x2,\n y2 = props.y2,\n key = props.key,\n others = _objectWithoutProperties(props, _excluded);\n var _filterProps = filterProps(others, false),\n __ = _filterProps.offset,\n restOfFilteredProps = _objectWithoutProperties(_filterProps, _excluded2);\n lineItem = /*#__PURE__*/React.createElement(\"line\", _extends({}, restOfFilteredProps, {\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2,\n fill: \"none\",\n key: key\n }));\n }\n return lineItem;\n}\nfunction HorizontalGridLines(props) {\n var x = props.x,\n width = props.width,\n _props$horizontal = props.horizontal,\n horizontal = _props$horizontal === void 0 ? true : _props$horizontal,\n horizontalPoints = props.horizontalPoints;\n if (!horizontal || !horizontalPoints || !horizontalPoints.length) {\n return null;\n }\n var items = horizontalPoints.map(function (entry, i) {\n var lineItemProps = _objectSpread(_objectSpread({}, props), {}, {\n x1: x,\n y1: entry,\n x2: x + width,\n y2: entry,\n key: \"line-\".concat(i),\n index: i\n });\n return renderLineItem(horizontal, lineItemProps);\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-grid-horizontal\"\n }, items);\n}\nfunction VerticalGridLines(props) {\n var y = props.y,\n height = props.height,\n _props$vertical = props.vertical,\n vertical = _props$vertical === void 0 ? true : _props$vertical,\n verticalPoints = props.verticalPoints;\n if (!vertical || !verticalPoints || !verticalPoints.length) {\n return null;\n }\n var items = verticalPoints.map(function (entry, i) {\n var lineItemProps = _objectSpread(_objectSpread({}, props), {}, {\n x1: entry,\n y1: y,\n x2: entry,\n y2: y + height,\n key: \"line-\".concat(i),\n index: i\n });\n return renderLineItem(vertical, lineItemProps);\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-grid-vertical\"\n }, items);\n}\nfunction HorizontalStripes(props) {\n var horizontalFill = props.horizontalFill,\n fillOpacity = props.fillOpacity,\n x = props.x,\n y = props.y,\n width = props.width,\n height = props.height,\n horizontalPoints = props.horizontalPoints,\n _props$horizontal2 = props.horizontal,\n horizontal = _props$horizontal2 === void 0 ? true : _props$horizontal2;\n if (!horizontal || !horizontalFill || !horizontalFill.length) {\n return null;\n }\n\n // Why =y -y? I was trying to find any difference that this makes, with floating point numbers and edge cases but ... nothing.\n var roundedSortedHorizontalPoints = horizontalPoints.map(function (e) {\n return Math.round(e + y - y);\n }).sort(function (a, b) {\n return a - b;\n });\n // Why is this condition `!==` instead of `<=` ?\n if (y !== roundedSortedHorizontalPoints[0]) {\n roundedSortedHorizontalPoints.unshift(0);\n }\n var items = roundedSortedHorizontalPoints.map(function (entry, i) {\n // Why do we strip only the last stripe if it is invisible, and not all invisible stripes?\n var lastStripe = !roundedSortedHorizontalPoints[i + 1];\n var lineHeight = lastStripe ? y + height - entry : roundedSortedHorizontalPoints[i + 1] - entry;\n if (lineHeight <= 0) {\n return null;\n }\n var colorIndex = i % horizontalFill.length;\n return /*#__PURE__*/React.createElement(\"rect\", {\n key: \"react-\".concat(i) // eslint-disable-line react/no-array-index-key\n ,\n y: entry,\n x: x,\n height: lineHeight,\n width: width,\n stroke: \"none\",\n fill: horizontalFill[colorIndex],\n fillOpacity: fillOpacity,\n className: \"recharts-cartesian-grid-bg\"\n });\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-gridstripes-horizontal\"\n }, items);\n}\nfunction VerticalStripes(props) {\n var _props$vertical2 = props.vertical,\n vertical = _props$vertical2 === void 0 ? true : _props$vertical2,\n verticalFill = props.verticalFill,\n fillOpacity = props.fillOpacity,\n x = props.x,\n y = props.y,\n width = props.width,\n height = props.height,\n verticalPoints = props.verticalPoints;\n if (!vertical || !verticalFill || !verticalFill.length) {\n return null;\n }\n var roundedSortedVerticalPoints = verticalPoints.map(function (e) {\n return Math.round(e + x - x);\n }).sort(function (a, b) {\n return a - b;\n });\n if (x !== roundedSortedVerticalPoints[0]) {\n roundedSortedVerticalPoints.unshift(0);\n }\n var items = roundedSortedVerticalPoints.map(function (entry, i) {\n var lastStripe = !roundedSortedVerticalPoints[i + 1];\n var lineWidth = lastStripe ? x + width - entry : roundedSortedVerticalPoints[i + 1] - entry;\n if (lineWidth <= 0) {\n return null;\n }\n var colorIndex = i % verticalFill.length;\n return /*#__PURE__*/React.createElement(\"rect\", {\n key: \"react-\".concat(i) // eslint-disable-line react/no-array-index-key\n ,\n x: entry,\n y: y,\n width: lineWidth,\n height: height,\n stroke: \"none\",\n fill: verticalFill[colorIndex],\n fillOpacity: fillOpacity,\n className: \"recharts-cartesian-grid-bg\"\n });\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-gridstripes-vertical\"\n }, items);\n}\nvar defaultVerticalCoordinatesGenerator = function defaultVerticalCoordinatesGenerator(_ref, syncWithTicks) {\n var xAxis = _ref.xAxis,\n width = _ref.width,\n height = _ref.height,\n offset = _ref.offset;\n return getCoordinatesOfGrid(getTicks(_objectSpread(_objectSpread(_objectSpread({}, CartesianAxis.defaultProps), xAxis), {}, {\n ticks: getTicksOfAxis(xAxis, true),\n viewBox: {\n x: 0,\n y: 0,\n width: width,\n height: height\n }\n })), offset.left, offset.left + offset.width, syncWithTicks);\n};\nvar defaultHorizontalCoordinatesGenerator = function defaultHorizontalCoordinatesGenerator(_ref2, syncWithTicks) {\n var yAxis = _ref2.yAxis,\n width = _ref2.width,\n height = _ref2.height,\n offset = _ref2.offset;\n return getCoordinatesOfGrid(getTicks(_objectSpread(_objectSpread(_objectSpread({}, CartesianAxis.defaultProps), yAxis), {}, {\n ticks: getTicksOfAxis(yAxis, true),\n viewBox: {\n x: 0,\n y: 0,\n width: width,\n height: height\n }\n })), offset.top, offset.top + offset.height, syncWithTicks);\n};\nvar defaultProps = {\n horizontal: true,\n vertical: true,\n // The ordinates of horizontal grid lines\n horizontalPoints: [],\n // The abscissas of vertical grid lines\n verticalPoints: [],\n stroke: '#ccc',\n fill: 'none',\n // The fill of colors of grid lines\n verticalFill: [],\n horizontalFill: []\n};\nexport function CartesianGrid(props) {\n var _props$stroke, _props$fill, _props$horizontal3, _props$horizontalFill, _props$vertical3, _props$verticalFill;\n var chartWidth = useChartWidth();\n var chartHeight = useChartHeight();\n var offset = useOffset();\n var propsIncludingDefaults = _objectSpread(_objectSpread({}, props), {}, {\n stroke: (_props$stroke = props.stroke) !== null && _props$stroke !== void 0 ? _props$stroke : defaultProps.stroke,\n fill: (_props$fill = props.fill) !== null && _props$fill !== void 0 ? _props$fill : defaultProps.fill,\n horizontal: (_props$horizontal3 = props.horizontal) !== null && _props$horizontal3 !== void 0 ? _props$horizontal3 : defaultProps.horizontal,\n horizontalFill: (_props$horizontalFill = props.horizontalFill) !== null && _props$horizontalFill !== void 0 ? _props$horizontalFill : defaultProps.horizontalFill,\n vertical: (_props$vertical3 = props.vertical) !== null && _props$vertical3 !== void 0 ? _props$vertical3 : defaultProps.vertical,\n verticalFill: (_props$verticalFill = props.verticalFill) !== null && _props$verticalFill !== void 0 ? _props$verticalFill : defaultProps.verticalFill,\n x: isNumber(props.x) ? props.x : offset.left,\n y: isNumber(props.y) ? props.y : offset.top,\n width: isNumber(props.width) ? props.width : offset.width,\n height: isNumber(props.height) ? props.height : offset.height\n });\n var x = propsIncludingDefaults.x,\n y = propsIncludingDefaults.y,\n width = propsIncludingDefaults.width,\n height = propsIncludingDefaults.height,\n syncWithTicks = propsIncludingDefaults.syncWithTicks,\n horizontalValues = propsIncludingDefaults.horizontalValues,\n verticalValues = propsIncludingDefaults.verticalValues;\n\n // @ts-expect-error the scale prop is mixed up - we need to untagle this at some point\n var xAxis = useArbitraryXAxis();\n // @ts-expect-error the scale prop is mixed up - we need to untagle this at some point\n var yAxis = useYAxisWithFiniteDomainOrRandom();\n if (!isNumber(width) || width <= 0 || !isNumber(height) || height <= 0 || !isNumber(x) || x !== +x || !isNumber(y) || y !== +y) {\n return null;\n }\n\n /*\n * verticalCoordinatesGenerator and horizontalCoordinatesGenerator are defined\n * outside of the propsIncludingDefaults because they were never part of the original props\n * and they were never passed as a prop down to horizontal/vertical custom elements.\n * If we add these two to propsIncludingDefaults then we are changing public API.\n * Not a bad thing per se but also not necessary.\n */\n var verticalCoordinatesGenerator = propsIncludingDefaults.verticalCoordinatesGenerator || defaultVerticalCoordinatesGenerator;\n var horizontalCoordinatesGenerator = propsIncludingDefaults.horizontalCoordinatesGenerator || defaultHorizontalCoordinatesGenerator;\n var horizontalPoints = propsIncludingDefaults.horizontalPoints,\n verticalPoints = propsIncludingDefaults.verticalPoints;\n\n // No horizontal points are specified\n if ((!horizontalPoints || !horizontalPoints.length) && isFunction(horizontalCoordinatesGenerator)) {\n var isHorizontalValues = horizontalValues && horizontalValues.length;\n var generatorResult = horizontalCoordinatesGenerator({\n yAxis: yAxis ? _objectSpread(_objectSpread({}, yAxis), {}, {\n ticks: isHorizontalValues ? horizontalValues : yAxis.ticks\n }) : undefined,\n width: chartWidth,\n height: chartHeight,\n offset: offset\n }, isHorizontalValues ? true : syncWithTicks);\n warn(Array.isArray(generatorResult), \"horizontalCoordinatesGenerator should return Array but instead it returned [\".concat(_typeof(generatorResult), \"]\"));\n if (Array.isArray(generatorResult)) {\n horizontalPoints = generatorResult;\n }\n }\n\n // No vertical points are specified\n if ((!verticalPoints || !verticalPoints.length) && isFunction(verticalCoordinatesGenerator)) {\n var isVerticalValues = verticalValues && verticalValues.length;\n var _generatorResult = verticalCoordinatesGenerator({\n xAxis: xAxis ? _objectSpread(_objectSpread({}, xAxis), {}, {\n ticks: isVerticalValues ? verticalValues : xAxis.ticks\n }) : undefined,\n width: chartWidth,\n height: chartHeight,\n offset: offset\n }, isVerticalValues ? true : syncWithTicks);\n warn(Array.isArray(_generatorResult), \"verticalCoordinatesGenerator should return Array but instead it returned [\".concat(_typeof(_generatorResult), \"]\"));\n if (Array.isArray(_generatorResult)) {\n verticalPoints = _generatorResult;\n }\n }\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-grid\"\n }, /*#__PURE__*/React.createElement(Background, {\n fill: propsIncludingDefaults.fill,\n fillOpacity: propsIncludingDefaults.fillOpacity,\n x: propsIncludingDefaults.x,\n y: propsIncludingDefaults.y,\n width: propsIncludingDefaults.width,\n height: propsIncludingDefaults.height,\n ry: propsIncludingDefaults.ry\n }), /*#__PURE__*/React.createElement(HorizontalGridLines, _extends({}, propsIncludingDefaults, {\n offset: offset,\n horizontalPoints: horizontalPoints,\n xAxis: xAxis,\n yAxis: yAxis\n })), /*#__PURE__*/React.createElement(VerticalGridLines, _extends({}, propsIncludingDefaults, {\n offset: offset,\n verticalPoints: verticalPoints,\n xAxis: xAxis,\n yAxis: yAxis\n })), /*#__PURE__*/React.createElement(HorizontalStripes, _extends({}, propsIncludingDefaults, {\n horizontalPoints: horizontalPoints\n })), /*#__PURE__*/React.createElement(VerticalStripes, _extends({}, propsIncludingDefaults, {\n verticalPoints: verticalPoints\n })));\n}\nCartesianGrid.displayName = 'CartesianGrid';"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;gCAAI,IAAY;CAAC;CAAM;CAAM;CAAM;CAAM;AAAK,GAC5C,IAAa,CAAC,QAAQ;AACxB,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,E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;EACV,GAAG,IAAmB,KAAO,CAAa;EAE1C,AADA,EAAK,MAAM,QAAQ,CAAgB,GAAG,6EAAoF,EAAQ,CAAgB,IAAO,GACrJ,MAAM,QAAQ,CAAgB,MAChC,IAAiB;CAErB;CACA,OAAoB,gBAAM,cAAc,KAAK,EAC3C,WAAW,0BACb,GAAgB,gBAAM,cAAc,GAAY;EAC9C,MAAM,EAAuB;EAC7B,aAAa,EAAuB;EACpC,GAAG,EAAuB;EAC1B,GAAG,EAAuB;EAC1B,OAAO,EAAuB;EAC9B,QAAQ,EAAuB;EAC/B,IAAI,EAAuB;CAC7B,CAAC,GAAgB,gBAAM,cAAc,GAAqB,EAAS,CAAC,GAAG,GAAwB;EACrF;EACU;EACX;EACA;CACT,CAAC,CAAC,GAAgB,gBAAM,cAAc,GAAmB,EAAS,CAAC,GAAG,GAAwB;EACpF;EACQ;EACT;EACA;CACT,CAAC,CAAC,GAAgB,gBAAM,cAAc,GAAmB,EAAS,CAAC,GAAG,GAAwB,EAC1E,oBACpB,CAAC,CAAC,GAAgB,gBAAM,cAAc,GAAiB,EAAS,CAAC,GAAG,GAAwB,EAC1E,kBAClB,CAAC,CAAC,CAAC;AACL;AACA,EAAc,cAAc"}
@@ -163,7 +163,7 @@ function D(e, t) {
163
163
  }
164
164
  return (t === "string" ? String : Number)(e);
165
165
  }
166
- var O = /* @__PURE__ */ function(a) {
166
+ var O = /*#__PURE__*/ function(a) {
167
167
  function c() {
168
168
  return h(this, c), v(this, c, arguments);
169
169
  }
@@ -217,16 +217,16 @@ var O = /* @__PURE__ */ function(a) {
217
217
  y2: M
218
218
  });
219
219
  }
220
- return /* @__PURE__ */ r.createElement(t, o({
220
+ return /*#__PURE__*/ r.createElement(t, o({
221
221
  className: "recharts-errorBar",
222
222
  key: `bar-${v.map(function(e) {
223
223
  return `${e.x1}-${e.x2}-${e.y1}-${e.y2}`;
224
224
  })}`
225
225
  }, _), v.map(function(e) {
226
- return /* @__PURE__ */ r.createElement("line", o({}, e, { key: `line-${e.x1}-${e.x2}-${e.y1}-${e.y2}` }));
226
+ return /*#__PURE__*/ r.createElement("line", o({}, e, { key: `line-${e.x1}-${e.x2}-${e.y1}-${e.y2}` }));
227
227
  }));
228
228
  });
229
- return /* @__PURE__ */ r.createElement(t, { className: "recharts-errorBars" }, v);
229
+ return /*#__PURE__*/ r.createElement(t, { className: "recharts-errorBars" }, v);
230
230
  }
231
231
  }]);
232
232
  }(r.Component);
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorBar.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/ErrorBar.js"],"sourcesContent":["var _excluded = [\"offset\", \"layout\", \"width\", \"dataKey\", \"data\", \"dataPointFormatter\", \"xAxis\", \"yAxis\"];\nfunction _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 _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 _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; }\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 _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 Render a group of error bar\n */\nimport React from 'react';\nimport invariant from 'tiny-invariant';\nimport { Layer } from '../container/Layer';\nimport { filterProps } from '../util/ReactUtils';\n// eslint-disable-next-line react/prefer-stateless-function -- requires static defaultProps\nexport var ErrorBar = /*#__PURE__*/function (_React$Component) {\n function ErrorBar() {\n _classCallCheck(this, ErrorBar);\n return _callSuper(this, ErrorBar, arguments);\n }\n _inherits(ErrorBar, _React$Component);\n return _createClass(ErrorBar, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n offset = _this$props.offset,\n layout = _this$props.layout,\n width = _this$props.width,\n dataKey = _this$props.dataKey,\n data = _this$props.data,\n dataPointFormatter = _this$props.dataPointFormatter,\n xAxis = _this$props.xAxis,\n yAxis = _this$props.yAxis,\n others = _objectWithoutProperties(_this$props, _excluded);\n var svgProps = filterProps(others, false);\n !!(this.props.direction === 'x' && xAxis.type !== 'number') ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'ErrorBar requires Axis type property to be \"number\".') : invariant(false) : void 0;\n var errorBars = data.map(function (entry) {\n var _dataPointFormatter = dataPointFormatter(entry, dataKey),\n x = _dataPointFormatter.x,\n y = _dataPointFormatter.y,\n value = _dataPointFormatter.value,\n errorVal = _dataPointFormatter.errorVal;\n if (!errorVal) {\n return null;\n }\n var lineCoordinates = [];\n var lowBound, highBound;\n if (Array.isArray(errorVal)) {\n var _errorVal = _slicedToArray(errorVal, 2);\n lowBound = _errorVal[0];\n highBound = _errorVal[1];\n } else {\n lowBound = highBound = errorVal;\n }\n if (layout === 'vertical') {\n // error bar for horizontal charts, the y is fixed, x is a range value\n var scale = xAxis.scale;\n var yMid = y + offset;\n var yMin = yMid + width;\n var yMax = yMid - width;\n var xMin = scale(value - lowBound);\n var xMax = scale(value + highBound);\n\n // the right line of |--|\n lineCoordinates.push({\n x1: xMax,\n y1: yMin,\n x2: xMax,\n y2: yMax\n });\n // the middle line of |--|\n lineCoordinates.push({\n x1: xMin,\n y1: yMid,\n x2: xMax,\n y2: yMid\n });\n // the left line of |--|\n lineCoordinates.push({\n x1: xMin,\n y1: yMin,\n x2: xMin,\n y2: yMax\n });\n } else if (layout === 'horizontal') {\n // error bar for horizontal charts, the x is fixed, y is a range value\n var _scale = yAxis.scale;\n var xMid = x + offset;\n var _xMin = xMid - width;\n var _xMax = xMid + width;\n var _yMin = _scale(value - lowBound);\n var _yMax = _scale(value + highBound);\n\n // the top line\n lineCoordinates.push({\n x1: _xMin,\n y1: _yMax,\n x2: _xMax,\n y2: _yMax\n });\n // the middle line\n lineCoordinates.push({\n x1: xMid,\n y1: _yMin,\n x2: xMid,\n y2: _yMax\n });\n // the bottom line\n lineCoordinates.push({\n x1: _xMin,\n y1: _yMin,\n x2: _xMax,\n y2: _yMin\n });\n }\n return /*#__PURE__*/React.createElement(Layer, _extends({\n className: \"recharts-errorBar\",\n key: \"bar-\".concat(lineCoordinates.map(function (c) {\n return \"\".concat(c.x1, \"-\").concat(c.x2, \"-\").concat(c.y1, \"-\").concat(c.y2);\n }))\n }, svgProps), lineCoordinates.map(function (coordinates) {\n return /*#__PURE__*/React.createElement(\"line\", _extends({}, coordinates, {\n key: \"line-\".concat(coordinates.x1, \"-\").concat(coordinates.x2, \"-\").concat(coordinates.y1, \"-\").concat(coordinates.y2)\n }));\n }));\n });\n return /*#__PURE__*/React.createElement(Layer, {\n className: \"recharts-errorBars\"\n }, errorBars);\n }\n }]);\n}(React.Component);\n_defineProperty(ErrorBar, \"defaultProps\", {\n stroke: 'black',\n strokeWidth: 1.5,\n width: 5,\n offset: 0,\n layout: 'horizontal'\n});\n_defineProperty(ErrorBar, \"displayName\", 'ErrorBar');"],"x_google_ignoreList":[0],"mappings":";;;;;AAAA,IAAI,IAAY;CAAC;CAAU;CAAU;CAAS;CAAW;CAAQ;C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ACF,EAAgB,GAAU,eAAe,WAAW"}
1
+ {"version":3,"file":"ErrorBar.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/ErrorBar.js"],"sourcesContent":["var _excluded = [\"offset\", \"layout\", \"width\", \"dataKey\", \"data\", \"dataPointFormatter\", \"xAxis\", \"yAxis\"];\nfunction _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 _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 _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; }\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 _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 Render a group of error bar\n */\nimport React from 'react';\nimport invariant from 'tiny-invariant';\nimport { Layer } from '../container/Layer';\nimport { filterProps } from '../util/ReactUtils';\n// eslint-disable-next-line react/prefer-stateless-function -- requires static defaultProps\nexport var ErrorBar = /*#__PURE__*/function (_React$Component) {\n function ErrorBar() {\n _classCallCheck(this, ErrorBar);\n return _callSuper(this, ErrorBar, arguments);\n }\n _inherits(ErrorBar, _React$Component);\n return _createClass(ErrorBar, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n offset = _this$props.offset,\n layout = _this$props.layout,\n width = _this$props.width,\n dataKey = _this$props.dataKey,\n data = _this$props.data,\n dataPointFormatter = _this$props.dataPointFormatter,\n xAxis = _this$props.xAxis,\n yAxis = _this$props.yAxis,\n others = _objectWithoutProperties(_this$props, _excluded);\n var svgProps = filterProps(others, false);\n !!(this.props.direction === 'x' && xAxis.type !== 'number') ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'ErrorBar requires Axis type property to be \"number\".') : invariant(false) : void 0;\n var errorBars = data.map(function (entry) {\n var _dataPointFormatter = dataPointFormatter(entry, dataKey),\n x = _dataPointFormatter.x,\n y = _dataPointFormatter.y,\n value = _dataPointFormatter.value,\n errorVal = _dataPointFormatter.errorVal;\n if (!errorVal) {\n return null;\n }\n var lineCoordinates = [];\n var lowBound, highBound;\n if (Array.isArray(errorVal)) {\n var _errorVal = _slicedToArray(errorVal, 2);\n lowBound = _errorVal[0];\n highBound = _errorVal[1];\n } else {\n lowBound = highBound = errorVal;\n }\n if (layout === 'vertical') {\n // error bar for horizontal charts, the y is fixed, x is a range value\n var scale = xAxis.scale;\n var yMid = y + offset;\n var yMin = yMid + width;\n var yMax = yMid - width;\n var xMin = scale(value - lowBound);\n var xMax = scale(value + highBound);\n\n // the right line of |--|\n lineCoordinates.push({\n x1: xMax,\n y1: yMin,\n x2: xMax,\n y2: yMax\n });\n // the middle line of |--|\n lineCoordinates.push({\n x1: xMin,\n y1: yMid,\n x2: xMax,\n y2: yMid\n });\n // the left line of |--|\n lineCoordinates.push({\n x1: xMin,\n y1: yMin,\n x2: xMin,\n y2: yMax\n });\n } else if (layout === 'horizontal') {\n // error bar for horizontal charts, the x is fixed, y is a range value\n var _scale = yAxis.scale;\n var xMid = x + offset;\n var _xMin = xMid - width;\n var _xMax = xMid + width;\n var _yMin = _scale(value - lowBound);\n var _yMax = _scale(value + highBound);\n\n // the top line\n lineCoordinates.push({\n x1: _xMin,\n y1: _yMax,\n x2: _xMax,\n y2: _yMax\n });\n // the middle line\n lineCoordinates.push({\n x1: xMid,\n y1: _yMin,\n x2: xMid,\n y2: _yMax\n });\n // the bottom line\n lineCoordinates.push({\n x1: _xMin,\n y1: _yMin,\n x2: _xMax,\n y2: _yMin\n });\n }\n return /*#__PURE__*/React.createElement(Layer, _extends({\n className: \"recharts-errorBar\",\n key: \"bar-\".concat(lineCoordinates.map(function (c) {\n return \"\".concat(c.x1, \"-\").concat(c.x2, \"-\").concat(c.y1, \"-\").concat(c.y2);\n }))\n }, svgProps), lineCoordinates.map(function (coordinates) {\n return /*#__PURE__*/React.createElement(\"line\", _extends({}, coordinates, {\n key: \"line-\".concat(coordinates.x1, \"-\").concat(coordinates.x2, \"-\").concat(coordinates.y1, \"-\").concat(coordinates.y2)\n }));\n }));\n });\n return /*#__PURE__*/React.createElement(Layer, {\n className: \"recharts-errorBars\"\n }, errorBars);\n }\n }]);\n}(React.Component);\n_defineProperty(ErrorBar, \"defaultProps\", {\n stroke: 'black',\n strokeWidth: 1.5,\n width: 5,\n offset: 0,\n layout: 'horizontal'\n});\n_defineProperty(ErrorBar, \"displayName\", 'ErrorBar');"],"x_google_ignoreList":[0],"mappings":";;;;;AAAA,IAAI,IAAY;CAAC;CAAU;CAAU;CAAS;CAAW;CAAQ;CAAsB;CAAS;AAAO;AACvG,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;C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P,QAAQ;CACR,QAAQ;AACV,CAAC,GACD,EAAgB,GAAU,eAAe,UAAU"}
@@ -136,7 +136,7 @@ var j = function(e, t, n, r, i) {
136
136
  y: r ? m.y.apply(c, { position: "end" }) : m.y.rangeMax
137
137
  };
138
138
  return l(i, "discard") && (!m.isInRange(h) || !m.isInRange(g)) ? null : d(h, g);
139
- }, M = /* @__PURE__ */ function(e) {
139
+ }, M = /*#__PURE__*/ function(e) {
140
140
  function n() {
141
141
  return v(this, n), x(this, n, arguments);
142
142
  }
@@ -150,7 +150,7 @@ var j = function(e, t, n, r, i) {
150
150
  var C = j(v, y, b, x, this.props);
151
151
  if (!C && !S) return null;
152
152
  var w = l(this.props, "hidden") ? `url(#${g})` : void 0;
153
- return /* @__PURE__ */ f.createElement(a, { className: t("recharts-reference-area", m) }, n.renderRect(S, _(_({ clipPath: w }, i(this.props, !0)), C)), s.renderCallByParent(this.props, C));
153
+ return /*#__PURE__*/ f.createElement(a, { className: t("recharts-reference-area", m) }, n.renderRect(S, _(_({ clipPath: w }, i(this.props, !0)), C)), s.renderCallByParent(this.props, C));
154
154
  }
155
155
  }]);
156
156
  }(f.Component);
@@ -165,7 +165,7 @@ O(M, "displayName", "ReferenceArea"), O(M, "defaultProps", {
165
165
  stroke: "none",
166
166
  strokeWidth: 1
167
167
  }), O(M, "renderRect", function(e, t) {
168
- return /* @__PURE__ */ f.isValidElement(e) ? /* @__PURE__ */ f.cloneElement(e, t) : (0, p.default)(e) ? e(t) : /* @__PURE__ */ f.createElement(c, m({}, t, { className: "recharts-reference-area-rect" }));
168
+ return /*#__PURE__*/ f.isValidElement(e) ? /*#__PURE__*/ f.cloneElement(e, t) : (0, p.default)(e) ? e(t) : /*#__PURE__*/ f.createElement(c, m({}, t, { className: "recharts-reference-area-rect" }));
169
169
  });
170
170
  //#endregion
171
171
  export { M as ReferenceArea };
@@ -1 +1 @@
1
- {"version":3,"file":"ReferenceArea.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/ReferenceArea.js"],"sourcesContent":["function _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 _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 Reference Line\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport clsx from 'clsx';\nimport { Layer } from '../container/Layer';\nimport { Label } from '../component/Label';\nimport { createLabeledScales, rectWithPoints } from '../util/CartesianUtils';\nimport { ifOverflowMatches } from '../util/IfOverflowMatches';\nimport { isNumOrStr } from '../util/DataUtils';\nimport { warn } from '../util/LogUtils';\nimport { Rectangle } from '../shape/Rectangle';\nimport { filterProps } from '../util/ReactUtils';\nvar getRect = function getRect(hasX1, hasX2, hasY1, hasY2, props) {\n var xValue1 = props.x1,\n xValue2 = props.x2,\n yValue1 = props.y1,\n yValue2 = props.y2,\n xAxis = props.xAxis,\n yAxis = props.yAxis;\n if (!xAxis || !yAxis) return null;\n var scales = createLabeledScales({\n x: xAxis.scale,\n y: yAxis.scale\n });\n var p1 = {\n x: hasX1 ? scales.x.apply(xValue1, {\n position: 'start'\n }) : scales.x.rangeMin,\n y: hasY1 ? scales.y.apply(yValue1, {\n position: 'start'\n }) : scales.y.rangeMin\n };\n var p2 = {\n x: hasX2 ? scales.x.apply(xValue2, {\n position: 'end'\n }) : scales.x.rangeMax,\n y: hasY2 ? scales.y.apply(yValue2, {\n position: 'end'\n }) : scales.y.rangeMax\n };\n if (ifOverflowMatches(props, 'discard') && (!scales.isInRange(p1) || !scales.isInRange(p2))) {\n return null;\n }\n return rectWithPoints(p1, p2);\n};\n\n// eslint-disable-next-line react/prefer-stateless-function -- requires static defaultProps\nexport var ReferenceArea = /*#__PURE__*/function (_React$Component) {\n function ReferenceArea() {\n _classCallCheck(this, ReferenceArea);\n return _callSuper(this, ReferenceArea, arguments);\n }\n _inherits(ReferenceArea, _React$Component);\n return _createClass(ReferenceArea, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n x1 = _this$props.x1,\n x2 = _this$props.x2,\n y1 = _this$props.y1,\n y2 = _this$props.y2,\n className = _this$props.className,\n alwaysShow = _this$props.alwaysShow,\n clipPathId = _this$props.clipPathId;\n warn(alwaysShow === undefined, 'The alwaysShow prop is deprecated. Please use ifOverflow=\"extendDomain\" instead.');\n var hasX1 = isNumOrStr(x1);\n var hasX2 = isNumOrStr(x2);\n var hasY1 = isNumOrStr(y1);\n var hasY2 = isNumOrStr(y2);\n var shape = this.props.shape;\n if (!hasX1 && !hasX2 && !hasY1 && !hasY2 && !shape) {\n return null;\n }\n var rect = getRect(hasX1, hasX2, hasY1, hasY2, this.props);\n if (!rect && !shape) {\n return null;\n }\n var clipPath = ifOverflowMatches(this.props, 'hidden') ? \"url(#\".concat(clipPathId, \")\") : undefined;\n return /*#__PURE__*/React.createElement(Layer, {\n className: clsx('recharts-reference-area', className)\n }, ReferenceArea.renderRect(shape, _objectSpread(_objectSpread({\n clipPath: clipPath\n }, filterProps(this.props, true)), rect)), Label.renderCallByParent(this.props, rect));\n }\n }]);\n}(React.Component);\n_defineProperty(ReferenceArea, \"displayName\", 'ReferenceArea');\n_defineProperty(ReferenceArea, \"defaultProps\", {\n isFront: false,\n ifOverflow: 'discard',\n xAxisId: 0,\n yAxisId: 0,\n r: 10,\n fill: '#ccc',\n fillOpacity: 0.5,\n stroke: 'none',\n strokeWidth: 1\n});\n_defineProperty(ReferenceArea, \"renderRect\", function (option, props) {\n var rect;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n rect = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n rect = option(props);\n } else {\n rect = /*#__PURE__*/React.createElement(Rectangle, _extends({}, props, {\n className: \"recharts-reference-area-rect\"\n }));\n }\n return rect;\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;AAAA,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,UAAU,eAAe,KAAK,GAAQ,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AO,KAAK,MAAM;AAC1D,OAAI,CAAC,KAAQ,CAAC,EACZ,QAAO;GAET,IAAI,IAAW,EAAkB,KAAK,OAAO,SAAS,GAAG,QAAe,OAAmB,KAAA;AAC3F,UAAoB,kBAAM,cAAc,GAAO,EAC7C,WAAW,EAAK,2BAA2B,EAAU,EACtD,EAAE,EAAc,WAAW,GAAO,EAAc,EAAc,EACnD,aACX,EAAE,EAAY,KAAK,OAAO,GAAK,CAAC,EAAE,EAAK,CAAC,EAAE,EAAM,mBAAmB,KAAK,OAAO,EAAK,CAAC;;EAEzF,CAAC,CAAC;EACH,EAAM,UAAU;AAClB,EAAgB,GAAe,eAAe,gBAAgB,EAC9D,EAAgB,GAAe,gBAAgB;CAC7C,SAAS;CACT,YAAY;CACZ,SAAS;CACT,SAAS;CACT,GAAG;CACH,MAAM;CACN,aAAa;CACb,QAAQ;CACR,aAAa;CACd,CAAC,EACF,EAAgB,GAAe,cAAc,SAAU,GAAQ,GAAO;AAWpE,QATkB,kBAAM,eAAe,EAAO,GACxB,kBAAM,aAAa,GAAQ,EAAM,kBACjC,EAAO,GACpB,EAAO,EAAM,GAEA,kBAAM,cAAc,GAAW,EAAS,EAAE,EAAE,GAAO,EACrE,WAAW,gCACZ,CAAC,CAAC;EAGL"}
1
+ {"version":3,"file":"ReferenceArea.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/ReferenceArea.js"],"sourcesContent":["function _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 _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 Reference Line\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport clsx from 'clsx';\nimport { Layer } from '../container/Layer';\nimport { Label } from '../component/Label';\nimport { createLabeledScales, rectWithPoints } from '../util/CartesianUtils';\nimport { ifOverflowMatches } from '../util/IfOverflowMatches';\nimport { isNumOrStr } from '../util/DataUtils';\nimport { warn } from '../util/LogUtils';\nimport { Rectangle } from '../shape/Rectangle';\nimport { filterProps } from '../util/ReactUtils';\nvar getRect = function getRect(hasX1, hasX2, hasY1, hasY2, props) {\n var xValue1 = props.x1,\n xValue2 = props.x2,\n yValue1 = props.y1,\n yValue2 = props.y2,\n xAxis = props.xAxis,\n yAxis = props.yAxis;\n if (!xAxis || !yAxis) return null;\n var scales = createLabeledScales({\n x: xAxis.scale,\n y: yAxis.scale\n });\n var p1 = {\n x: hasX1 ? scales.x.apply(xValue1, {\n position: 'start'\n }) : scales.x.rangeMin,\n y: hasY1 ? scales.y.apply(yValue1, {\n position: 'start'\n }) : scales.y.rangeMin\n };\n var p2 = {\n x: hasX2 ? scales.x.apply(xValue2, {\n position: 'end'\n }) : scales.x.rangeMax,\n y: hasY2 ? scales.y.apply(yValue2, {\n position: 'end'\n }) : scales.y.rangeMax\n };\n if (ifOverflowMatches(props, 'discard') && (!scales.isInRange(p1) || !scales.isInRange(p2))) {\n return null;\n }\n return rectWithPoints(p1, p2);\n};\n\n// eslint-disable-next-line react/prefer-stateless-function -- requires static defaultProps\nexport var ReferenceArea = /*#__PURE__*/function (_React$Component) {\n function ReferenceArea() {\n _classCallCheck(this, ReferenceArea);\n return _callSuper(this, ReferenceArea, arguments);\n }\n _inherits(ReferenceArea, _React$Component);\n return _createClass(ReferenceArea, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n x1 = _this$props.x1,\n x2 = _this$props.x2,\n y1 = _this$props.y1,\n y2 = _this$props.y2,\n className = _this$props.className,\n alwaysShow = _this$props.alwaysShow,\n clipPathId = _this$props.clipPathId;\n warn(alwaysShow === undefined, 'The alwaysShow prop is deprecated. Please use ifOverflow=\"extendDomain\" instead.');\n var hasX1 = isNumOrStr(x1);\n var hasX2 = isNumOrStr(x2);\n var hasY1 = isNumOrStr(y1);\n var hasY2 = isNumOrStr(y2);\n var shape = this.props.shape;\n if (!hasX1 && !hasX2 && !hasY1 && !hasY2 && !shape) {\n return null;\n }\n var rect = getRect(hasX1, hasX2, hasY1, hasY2, this.props);\n if (!rect && !shape) {\n return null;\n }\n var clipPath = ifOverflowMatches(this.props, 'hidden') ? \"url(#\".concat(clipPathId, \")\") : undefined;\n return /*#__PURE__*/React.createElement(Layer, {\n className: clsx('recharts-reference-area', className)\n }, ReferenceArea.renderRect(shape, _objectSpread(_objectSpread({\n clipPath: clipPath\n }, filterProps(this.props, true)), rect)), Label.renderCallByParent(this.props, rect));\n }\n }]);\n}(React.Component);\n_defineProperty(ReferenceArea, \"displayName\", 'ReferenceArea');\n_defineProperty(ReferenceArea, \"defaultProps\", {\n isFront: false,\n ifOverflow: 'discard',\n xAxisId: 0,\n yAxisId: 0,\n r: 10,\n fill: '#ccc',\n fillOpacity: 0.5,\n stroke: 'none',\n strokeWidth: 1\n});\n_defineProperty(ReferenceArea, \"renderRect\", function (option, props) {\n var rect;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n rect = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n rect = option(props);\n } else {\n rect = /*#__PURE__*/React.createElement(Rectangle, _extends({}, props, {\n className: \"recharts-reference-area-rect\"\n }));\n }\n return rect;\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;AAAA,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,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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,EAAK,2BAA2B,CAAS,EACtD,GAAG,EAAc,WAAW,GAAO,EAAc,EAAc,EACnD,YACZ,GAAG,EAAY,KAAK,OAAO,EAAI,CAAC,GAAG,CAAI,CAAC,GAAG,EAAM,mBAAmB,KAAK,OAAO,CAAI,CAAC;EACvF;CACF,CAAC,CAAC;AACJ,EAAE,EAAM,SAAS;AACjB,EAAgB,GAAe,eAAe,eAAe,GAC7D,EAAgB,GAAe,gBAAgB;CAC7C,SAAS;CACT,YAAY;CACZ,SAAS;CACT,SAAS;CACT,GAAG;CACH,MAAM;CACN,aAAa;CACb,QAAQ;CACR,aAAa;AACf,CAAC,GACD,EAAgB,GAAe,cAAc,SAAU,GAAQ,GAAO;CAWpE,OATkB,gBAAM,eAAe,CAAM,IACvB,gBAAM,aAAa,GAAQ,CAAK,KAC/C,GAAA,EAAA,SAAe,CAAM,IACnB,EAAO,CAAK,IAEC,gBAAM,cAAc,GAAW,EAAS,CAAC,GAAG,GAAO,EACrE,WAAW,+BACb,CAAC,CAAC;AAGN,CAAC"}
@@ -131,7 +131,7 @@ var A = function(e) {
131
131
  y: n
132
132
  }, { bandAware: !0 });
133
133
  return l(e, "discard") && !a.isInRange(o) ? null : o;
134
- }, j = /* @__PURE__ */ function(e) {
134
+ }, j = /*#__PURE__*/ function(e) {
135
135
  function n() {
136
136
  return _(this, n), b(this, n, arguments);
137
137
  }
@@ -146,7 +146,7 @@ var A = function(e) {
146
146
  cx: y,
147
147
  cy: b
148
148
  });
149
- return /* @__PURE__ */ d.createElement(a, { className: t("recharts-reference-dot", C) }, n.renderDot(S, w), s.renderCallByParent(this.props, {
149
+ return /*#__PURE__*/ d.createElement(a, { className: t("recharts-reference-dot", C) }, n.renderDot(S, w), s.renderCallByParent(this.props, {
150
150
  x: y - f,
151
151
  y: b - f,
152
152
  width: 2 * f,
@@ -166,7 +166,7 @@ D(j, "displayName", "ReferenceDot"), D(j, "defaultProps", {
166
166
  fillOpacity: 1,
167
167
  strokeWidth: 1
168
168
  }), D(j, "renderDot", function(e, t) {
169
- return /* @__PURE__ */ d.isValidElement(e) ? /* @__PURE__ */ d.cloneElement(e, t) : (0, f.default)(e) ? e(t) : /* @__PURE__ */ d.createElement(c, p({}, t, {
169
+ return /*#__PURE__*/ d.isValidElement(e) ? /*#__PURE__*/ d.cloneElement(e, t) : (0, f.default)(e) ? e(t) : /*#__PURE__*/ d.createElement(c, p({}, t, {
170
170
  cx: t.cx,
171
171
  cy: t.cy,
172
172
  className: "recharts-reference-dot-dot"
@@ -1 +1 @@
1
- {"version":3,"file":"ReferenceDot.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/ReferenceDot.js"],"sourcesContent":["function _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 _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 Reference Dot\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport clsx from 'clsx';\nimport { Layer } from '../container/Layer';\nimport { Dot } from '../shape/Dot';\nimport { Label } from '../component/Label';\nimport { isNumOrStr } from '../util/DataUtils';\nimport { ifOverflowMatches } from '../util/IfOverflowMatches';\nimport { createLabeledScales } from '../util/CartesianUtils';\nimport { warn } from '../util/LogUtils';\nimport { filterProps } from '../util/ReactUtils';\nvar getCoordinate = function getCoordinate(props) {\n var x = props.x,\n y = props.y,\n xAxis = props.xAxis,\n yAxis = props.yAxis;\n var scales = createLabeledScales({\n x: xAxis.scale,\n y: yAxis.scale\n });\n var result = scales.apply({\n x: x,\n y: y\n }, {\n bandAware: true\n });\n if (ifOverflowMatches(props, 'discard') && !scales.isInRange(result)) {\n return null;\n }\n return result;\n};\n\n// eslint-disable-next-line react/prefer-stateless-function -- requires static defaultProps\nexport var ReferenceDot = /*#__PURE__*/function (_React$Component) {\n function ReferenceDot() {\n _classCallCheck(this, ReferenceDot);\n return _callSuper(this, ReferenceDot, arguments);\n }\n _inherits(ReferenceDot, _React$Component);\n return _createClass(ReferenceDot, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n x = _this$props.x,\n y = _this$props.y,\n r = _this$props.r,\n alwaysShow = _this$props.alwaysShow,\n clipPathId = _this$props.clipPathId;\n var isX = isNumOrStr(x);\n var isY = isNumOrStr(y);\n warn(alwaysShow === undefined, 'The alwaysShow prop is deprecated. Please use ifOverflow=\"extendDomain\" instead.');\n if (!isX || !isY) {\n return null;\n }\n var coordinate = getCoordinate(this.props);\n if (!coordinate) {\n return null;\n }\n var cx = coordinate.x,\n cy = coordinate.y;\n var _this$props2 = this.props,\n shape = _this$props2.shape,\n className = _this$props2.className;\n var clipPath = ifOverflowMatches(this.props, 'hidden') ? \"url(#\".concat(clipPathId, \")\") : undefined;\n var dotProps = _objectSpread(_objectSpread({\n clipPath: clipPath\n }, filterProps(this.props, true)), {}, {\n cx: cx,\n cy: cy\n });\n return /*#__PURE__*/React.createElement(Layer, {\n className: clsx('recharts-reference-dot', className)\n }, ReferenceDot.renderDot(shape, dotProps), Label.renderCallByParent(this.props, {\n x: cx - r,\n y: cy - r,\n width: 2 * r,\n height: 2 * r\n }));\n }\n }]);\n}(React.Component);\n_defineProperty(ReferenceDot, \"displayName\", 'ReferenceDot');\n_defineProperty(ReferenceDot, \"defaultProps\", {\n isFront: false,\n ifOverflow: 'discard',\n xAxisId: 0,\n yAxisId: 0,\n r: 10,\n fill: '#fff',\n stroke: '#ccc',\n fillOpacity: 1,\n strokeWidth: 1\n});\n_defineProperty(ReferenceDot, \"renderDot\", function (option, props) {\n var dot;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n dot = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n dot = option(props);\n } else {\n dot = /*#__PURE__*/React.createElement(Dot, _extends({}, props, {\n cx: props.cx,\n cy: props.cy,\n className: \"recharts-reference-dot-dot\"\n }));\n }\n return dot;\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;AAAA,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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,UAAU;AAClB,EAAgB,GAAc,eAAe,eAAe,EAC5D,EAAgB,GAAc,gBAAgB;CAC5C,SAAS;CACT,YAAY;CACZ,SAAS;CACT,SAAS;CACT,GAAG;CACH,MAAM;CACN,QAAQ;CACR,aAAa;CACb,aAAa;CACd,CAAC,EACF,EAAgB,GAAc,aAAa,SAAU,GAAQ,GAAO;AAalE,QAXkB,kBAAM,eAAe,EAAO,GACzB,kBAAM,aAAa,GAAQ,EAAM,kBAChC,EAAO,GACrB,EAAO,EAAM,GAEA,kBAAM,cAAc,GAAK,EAAS,EAAE,EAAE,GAAO;EAC9D,IAAI,EAAM;EACV,IAAI,EAAM;EACV,WAAW;EACZ,CAAC,CAAC;EAGL"}
1
+ {"version":3,"file":"ReferenceDot.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/ReferenceDot.js"],"sourcesContent":["function _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 _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 Reference Dot\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport clsx from 'clsx';\nimport { Layer } from '../container/Layer';\nimport { Dot } from '../shape/Dot';\nimport { Label } from '../component/Label';\nimport { isNumOrStr } from '../util/DataUtils';\nimport { ifOverflowMatches } from '../util/IfOverflowMatches';\nimport { createLabeledScales } from '../util/CartesianUtils';\nimport { warn } from '../util/LogUtils';\nimport { filterProps } from '../util/ReactUtils';\nvar getCoordinate = function getCoordinate(props) {\n var x = props.x,\n y = props.y,\n xAxis = props.xAxis,\n yAxis = props.yAxis;\n var scales = createLabeledScales({\n x: xAxis.scale,\n y: yAxis.scale\n });\n var result = scales.apply({\n x: x,\n y: y\n }, {\n bandAware: true\n });\n if (ifOverflowMatches(props, 'discard') && !scales.isInRange(result)) {\n return null;\n }\n return result;\n};\n\n// eslint-disable-next-line react/prefer-stateless-function -- requires static defaultProps\nexport var ReferenceDot = /*#__PURE__*/function (_React$Component) {\n function ReferenceDot() {\n _classCallCheck(this, ReferenceDot);\n return _callSuper(this, ReferenceDot, arguments);\n }\n _inherits(ReferenceDot, _React$Component);\n return _createClass(ReferenceDot, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n x = _this$props.x,\n y = _this$props.y,\n r = _this$props.r,\n alwaysShow = _this$props.alwaysShow,\n clipPathId = _this$props.clipPathId;\n var isX = isNumOrStr(x);\n var isY = isNumOrStr(y);\n warn(alwaysShow === undefined, 'The alwaysShow prop is deprecated. Please use ifOverflow=\"extendDomain\" instead.');\n if (!isX || !isY) {\n return null;\n }\n var coordinate = getCoordinate(this.props);\n if (!coordinate) {\n return null;\n }\n var cx = coordinate.x,\n cy = coordinate.y;\n var _this$props2 = this.props,\n shape = _this$props2.shape,\n className = _this$props2.className;\n var clipPath = ifOverflowMatches(this.props, 'hidden') ? \"url(#\".concat(clipPathId, \")\") : undefined;\n var dotProps = _objectSpread(_objectSpread({\n clipPath: clipPath\n }, filterProps(this.props, true)), {}, {\n cx: cx,\n cy: cy\n });\n return /*#__PURE__*/React.createElement(Layer, {\n className: clsx('recharts-reference-dot', className)\n }, ReferenceDot.renderDot(shape, dotProps), Label.renderCallByParent(this.props, {\n x: cx - r,\n y: cy - r,\n width: 2 * r,\n height: 2 * r\n }));\n }\n }]);\n}(React.Component);\n_defineProperty(ReferenceDot, \"displayName\", 'ReferenceDot');\n_defineProperty(ReferenceDot, \"defaultProps\", {\n isFront: false,\n ifOverflow: 'discard',\n xAxisId: 0,\n yAxisId: 0,\n r: 10,\n fill: '#fff',\n stroke: '#ccc',\n fillOpacity: 1,\n strokeWidth: 1\n});\n_defineProperty(ReferenceDot, \"renderDot\", function (option, props) {\n var dot;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n dot = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n dot = option(props);\n } else {\n dot = /*#__PURE__*/React.createElement(Dot, _extends({}, props, {\n cx: props.cx,\n cy: props.cy,\n className: \"recharts-reference-dot-dot\"\n }));\n }\n return dot;\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;AAAA,SAAS,IAAW;CAAsR,OAApR,IAAW,OAAO,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O,EAAI,CAAC,GAAG,CAAC,GAAG;IACjC;IACA;GACN,CAAC;GACD,OAAoB,gBAAM,cAAc,GAAO,EAC7C,WAAW,EAAK,0BAA0B,CAAS,EACrD,GAAG,EAAa,UAAU,GAAO,CAAQ,GAAG,EAAM,mBAAmB,KAAK,OAAO;IAC/E,GAAG,IAAK;IACR,GAAG,IAAK;IACR,OAAO,IAAI;IACX,QAAQ,IAAI;GACd,CAAC,CAAC;EACJ;CACF,CAAC,CAAC;AACJ,EAAE,EAAM,SAAS;AACjB,EAAgB,GAAc,eAAe,cAAc,GAC3D,EAAgB,GAAc,gBAAgB;CAC5C,SAAS;CACT,YAAY;CACZ,SAAS;CACT,SAAS;CACT,GAAG;CACH,MAAM;CACN,QAAQ;CACR,aAAa;CACb,aAAa;AACf,CAAC,GACD,EAAgB,GAAc,aAAa,SAAU,GAAQ,GAAO;CAalE,OAXkB,gBAAM,eAAe,CAAM,IACxB,gBAAM,aAAa,GAAQ,CAAK,KAC9C,GAAA,EAAA,SAAe,CAAM,IACpB,EAAO,CAAK,IAEC,gBAAM,cAAc,GAAK,EAAS,CAAC,GAAG,GAAO;EAC9D,IAAI,EAAM;EACV,IAAI,EAAM;EACV,WAAW;CACb,CAAC,CAAC;AAGN,CAAC"}
@@ -167,7 +167,7 @@ function V() {
167
167
  }, V.apply(this, arguments);
168
168
  }
169
169
  var H = function(e, t) {
170
- return /* @__PURE__ */ g.isValidElement(e) ? /* @__PURE__ */ g.cloneElement(e, t) : (0, _.default)(e) ? e(t) : /* @__PURE__ */ g.createElement("line", V({}, t, { className: "recharts-reference-line-line" }));
170
+ return /*#__PURE__*/ g.isValidElement(e) ? /*#__PURE__*/ g.cloneElement(e, t) : (0, _.default)(e) ? e(t) : /*#__PURE__*/ g.createElement("line", V({}, t, { className: "recharts-reference-line-line" }));
171
171
  }, U = function(e, t, n, r, i, a, o, s, c) {
172
172
  var u = i.x, d = i.y, f = i.width, p = i.height;
173
173
  if (n) {
@@ -219,21 +219,21 @@ function W(e) {
219
219
  x2: P,
220
220
  y2: I
221
221
  });
222
- return /* @__PURE__ */ g.createElement(a, { className: t("recharts-reference-line", x) }, H(b, L), s.renderCallByParent(e, d({
222
+ return /*#__PURE__*/ g.createElement(a, { className: t("recharts-reference-line", x) }, H(b, L), s.renderCallByParent(e, d({
223
223
  x1: A,
224
224
  y1: M,
225
225
  x2: P,
226
226
  y2: I
227
227
  })));
228
228
  }
229
- var G = /* @__PURE__ */ function(e) {
229
+ var G = /*#__PURE__*/ function(e) {
230
230
  function t() {
231
231
  return b(this, t), C(this, t, arguments);
232
232
  }
233
233
  return O(t, e), S(t, [{
234
234
  key: "render",
235
235
  value: function() {
236
- return /* @__PURE__ */ g.createElement(W, this.props);
236
+ return /*#__PURE__*/ g.createElement(W, this.props);
237
237
  }
238
238
  }]);
239
239
  }(g.Component);
@@ -1 +1 @@
1
- {"version":3,"file":"ReferenceLine.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/ReferenceLine.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 _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 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; }\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); }\n/**\n * @fileOverview Reference Line\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport some from 'lodash/some';\nimport clsx from 'clsx';\nimport { Layer } from '../container/Layer';\nimport { Label } from '../component/Label';\nimport { ifOverflowMatches } from '../util/IfOverflowMatches';\nimport { isNumOrStr } from '../util/DataUtils';\nimport { createLabeledScales, rectWithCoords } from '../util/CartesianUtils';\nimport { warn } from '../util/LogUtils';\nimport { filterProps } from '../util/ReactUtils';\nimport { useClipPathId, useViewBox, useXAxisOrThrow, useYAxisOrThrow } from '../context/chartLayoutContext';\n\n/**\n * This excludes `viewBox` prop from svg for two reasons:\n * 1. The components wants viewBox of object type, and svg wants string\n * - so there's a conflict, and the component will throw if it gets string\n * 2. Internally the component calls `filterProps` which filters the viewBox away anyway\n */\n\nvar renderLine = function renderLine(option, props) {\n var line;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n line = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n line = option(props);\n } else {\n line = /*#__PURE__*/React.createElement(\"line\", _extends({}, props, {\n className: \"recharts-reference-line-line\"\n }));\n }\n return line;\n};\n// TODO: ScaleHelper\nexport var getEndPoints = function getEndPoints(scales, isFixedX, isFixedY, isSegment, viewBox, position, xAxisOrientation, yAxisOrientation, props) {\n var x = viewBox.x,\n y = viewBox.y,\n width = viewBox.width,\n height = viewBox.height;\n if (isFixedY) {\n var yCoord = props.y;\n var coord = scales.y.apply(yCoord, {\n position: position\n });\n if (ifOverflowMatches(props, 'discard') && !scales.y.isInRange(coord)) {\n return null;\n }\n var points = [{\n x: x + width,\n y: coord\n }, {\n x: x,\n y: coord\n }];\n return yAxisOrientation === 'left' ? points.reverse() : points;\n }\n if (isFixedX) {\n var xCoord = props.x;\n var _coord = scales.x.apply(xCoord, {\n position: position\n });\n if (ifOverflowMatches(props, 'discard') && !scales.x.isInRange(_coord)) {\n return null;\n }\n var _points = [{\n x: _coord,\n y: y + height\n }, {\n x: _coord,\n y: y\n }];\n return xAxisOrientation === 'top' ? _points.reverse() : _points;\n }\n if (isSegment) {\n var segment = props.segment;\n var _points2 = segment.map(function (p) {\n return scales.apply(p, {\n position: position\n });\n });\n if (ifOverflowMatches(props, 'discard') && some(_points2, function (p) {\n return !scales.isInRange(p);\n })) {\n return null;\n }\n return _points2;\n }\n return null;\n};\nfunction ReferenceLineImpl(props) {\n var fixedX = props.x,\n fixedY = props.y,\n segment = props.segment,\n xAxisId = props.xAxisId,\n yAxisId = props.yAxisId,\n shape = props.shape,\n className = props.className,\n alwaysShow = props.alwaysShow;\n var clipPathId = useClipPathId();\n var xAxis = useXAxisOrThrow(xAxisId);\n var yAxis = useYAxisOrThrow(yAxisId);\n var viewBox = useViewBox();\n if (!clipPathId || !viewBox) {\n return null;\n }\n warn(alwaysShow === undefined, 'The alwaysShow prop is deprecated. Please use ifOverflow=\"extendDomain\" instead.');\n var scales = createLabeledScales({\n x: xAxis.scale,\n y: yAxis.scale\n });\n var isX = isNumOrStr(fixedX);\n var isY = isNumOrStr(fixedY);\n var isSegment = segment && segment.length === 2;\n var endPoints = getEndPoints(scales, isX, isY, isSegment, viewBox, props.position, xAxis.orientation, yAxis.orientation, props);\n if (!endPoints) {\n return null;\n }\n var _endPoints = _slicedToArray(endPoints, 2),\n _endPoints$ = _endPoints[0],\n x1 = _endPoints$.x,\n y1 = _endPoints$.y,\n _endPoints$2 = _endPoints[1],\n x2 = _endPoints$2.x,\n y2 = _endPoints$2.y;\n var clipPath = ifOverflowMatches(props, 'hidden') ? \"url(#\".concat(clipPathId, \")\") : undefined;\n var lineProps = _objectSpread(_objectSpread({\n clipPath: clipPath\n }, filterProps(props, true)), {}, {\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2\n });\n return /*#__PURE__*/React.createElement(Layer, {\n className: clsx('recharts-reference-line', className)\n }, renderLine(shape, lineProps), Label.renderCallByParent(props, rectWithCoords({\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2\n })));\n}\n\n// eslint-disable-next-line react/prefer-stateless-function -- requires static defaultProps\nexport var ReferenceLine = /*#__PURE__*/function (_React$Component) {\n function ReferenceLine() {\n _classCallCheck(this, ReferenceLine);\n return _callSuper(this, ReferenceLine, arguments);\n }\n _inherits(ReferenceLine, _React$Component);\n return _createClass(ReferenceLine, [{\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(ReferenceLineImpl, this.props);\n }\n }]);\n}(React.Component);\n_defineProperty(ReferenceLine, \"displayName\", 'ReferenceLine');\n_defineProperty(ReferenceLine, \"defaultProps\", {\n isFront: false,\n ifOverflow: 'discard',\n xAxisId: 0,\n yAxisId: 0,\n fill: 'none',\n stroke: '#ccc',\n fillOpacity: 1,\n strokeWidth: 1,\n position: 'middle'\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,EAAgB,GAAU,GAAa;AAAE,KAAI,EAAE,aAAoB,GAAgB,OAAU,UAAU,oCAAoC;;AACpJ,SAAS,EAAkB,GAAQ,GAAO;AAAE,MAAK,IAAI,IAAI,GAAG,IAAI,EAAM,QAAQ,KAAK;EAAE,IA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e,eAAe,gBAAgB,EAC9D,EAAgB,GAAe,gBAAgB;CAC7C,SAAS;CACT,YAAY;CACZ,SAAS;CACT,SAAS;CACT,MAAM;CACN,QAAQ;CACR,aAAa;CACb,aAAa;CACb,UAAU;CACX,CAAC"}
1
+ {"version":3,"file":"ReferenceLine.js","names":[],"sources":["../../../../../node_modules/recharts/es6/cartesian/ReferenceLine.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 _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 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; }\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); }\n/**\n * @fileOverview Reference Line\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport some from 'lodash/some';\nimport clsx from 'clsx';\nimport { Layer } from '../container/Layer';\nimport { Label } from '../component/Label';\nimport { ifOverflowMatches } from '../util/IfOverflowMatches';\nimport { isNumOrStr } from '../util/DataUtils';\nimport { createLabeledScales, rectWithCoords } from '../util/CartesianUtils';\nimport { warn } from '../util/LogUtils';\nimport { filterProps } from '../util/ReactUtils';\nimport { useClipPathId, useViewBox, useXAxisOrThrow, useYAxisOrThrow } from '../context/chartLayoutContext';\n\n/**\n * This excludes `viewBox` prop from svg for two reasons:\n * 1. The components wants viewBox of object type, and svg wants string\n * - so there's a conflict, and the component will throw if it gets string\n * 2. Internally the component calls `filterProps` which filters the viewBox away anyway\n */\n\nvar renderLine = function renderLine(option, props) {\n var line;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n line = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n line = option(props);\n } else {\n line = /*#__PURE__*/React.createElement(\"line\", _extends({}, props, {\n className: \"recharts-reference-line-line\"\n }));\n }\n return line;\n};\n// TODO: ScaleHelper\nexport var getEndPoints = function getEndPoints(scales, isFixedX, isFixedY, isSegment, viewBox, position, xAxisOrientation, yAxisOrientation, props) {\n var x = viewBox.x,\n y = viewBox.y,\n width = viewBox.width,\n height = viewBox.height;\n if (isFixedY) {\n var yCoord = props.y;\n var coord = scales.y.apply(yCoord, {\n position: position\n });\n if (ifOverflowMatches(props, 'discard') && !scales.y.isInRange(coord)) {\n return null;\n }\n var points = [{\n x: x + width,\n y: coord\n }, {\n x: x,\n y: coord\n }];\n return yAxisOrientation === 'left' ? points.reverse() : points;\n }\n if (isFixedX) {\n var xCoord = props.x;\n var _coord = scales.x.apply(xCoord, {\n position: position\n });\n if (ifOverflowMatches(props, 'discard') && !scales.x.isInRange(_coord)) {\n return null;\n }\n var _points = [{\n x: _coord,\n y: y + height\n }, {\n x: _coord,\n y: y\n }];\n return xAxisOrientation === 'top' ? _points.reverse() : _points;\n }\n if (isSegment) {\n var segment = props.segment;\n var _points2 = segment.map(function (p) {\n return scales.apply(p, {\n position: position\n });\n });\n if (ifOverflowMatches(props, 'discard') && some(_points2, function (p) {\n return !scales.isInRange(p);\n })) {\n return null;\n }\n return _points2;\n }\n return null;\n};\nfunction ReferenceLineImpl(props) {\n var fixedX = props.x,\n fixedY = props.y,\n segment = props.segment,\n xAxisId = props.xAxisId,\n yAxisId = props.yAxisId,\n shape = props.shape,\n className = props.className,\n alwaysShow = props.alwaysShow;\n var clipPathId = useClipPathId();\n var xAxis = useXAxisOrThrow(xAxisId);\n var yAxis = useYAxisOrThrow(yAxisId);\n var viewBox = useViewBox();\n if (!clipPathId || !viewBox) {\n return null;\n }\n warn(alwaysShow === undefined, 'The alwaysShow prop is deprecated. Please use ifOverflow=\"extendDomain\" instead.');\n var scales = createLabeledScales({\n x: xAxis.scale,\n y: yAxis.scale\n });\n var isX = isNumOrStr(fixedX);\n var isY = isNumOrStr(fixedY);\n var isSegment = segment && segment.length === 2;\n var endPoints = getEndPoints(scales, isX, isY, isSegment, viewBox, props.position, xAxis.orientation, yAxis.orientation, props);\n if (!endPoints) {\n return null;\n }\n var _endPoints = _slicedToArray(endPoints, 2),\n _endPoints$ = _endPoints[0],\n x1 = _endPoints$.x,\n y1 = _endPoints$.y,\n _endPoints$2 = _endPoints[1],\n x2 = _endPoints$2.x,\n y2 = _endPoints$2.y;\n var clipPath = ifOverflowMatches(props, 'hidden') ? \"url(#\".concat(clipPathId, \")\") : undefined;\n var lineProps = _objectSpread(_objectSpread({\n clipPath: clipPath\n }, filterProps(props, true)), {}, {\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2\n });\n return /*#__PURE__*/React.createElement(Layer, {\n className: clsx('recharts-reference-line', className)\n }, renderLine(shape, lineProps), Label.renderCallByParent(props, rectWithCoords({\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2\n })));\n}\n\n// eslint-disable-next-line react/prefer-stateless-function -- requires static defaultProps\nexport var ReferenceLine = /*#__PURE__*/function (_React$Component) {\n function ReferenceLine() {\n _classCallCheck(this, ReferenceLine);\n return _callSuper(this, ReferenceLine, arguments);\n }\n _inherits(ReferenceLine, _React$Component);\n return _createClass(ReferenceLine, [{\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(ReferenceLineImpl, this.props);\n }\n }]);\n}(React.Component);\n_defineProperty(ReferenceLine, \"displayName\", 'ReferenceLine');\n_defineProperty(ReferenceLine, \"defaultProps\", {\n isFront: false,\n ifOverflow: 'discard',\n xAxisId: 0,\n yAxisId: 0,\n fill: 'none',\n stroke: '#ccc',\n fillOpacity: 1,\n strokeWidth: 1,\n position: 'middle'\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,OAAO,YAAY,WAAW,OAAO;CAAG,GAAG,EAAQ,CAAC;AAAG;AAC7T,SAAS,EAAgB,GAAU,GAAa;CAAE,IAAI,EAAE,aAAoB,IAAgB,MAAU,UAAU,mCAAmC;AAAK;AACxJ,SAAS,EAAkB,GAAQ,GAAO;CAAE,KAAK,IAAI,IAAI,GAAG,IAAI,EAAM,QAAQ,KAAK;EAAE,IAAI,IAAa,EAAM;EAAmJ,AAA/I,EAAW,aAAa,EAAW,cAAc,IAAO,EAAW,eAAe,IAAU,WAAW,MAAY,EAAW,WAAW,KAAM,OAAO,eAAe,GAAQ,EAAe,EAAW,GAAG,GAAG,CAAU;CAAG;AAAE;AAC5U,SAAS,EAAa,GAAa,GAAY,GAAa;CAA4M,OAAtM,KAAY,EAAkB,EAAY,WAAW,CAAU,GAAO,KAAa,EAAkB,GAAa,CAAW,GAAG,OAAO,eAAe,GAAa,aAAa,EAAE,UAAU,GAAM,CAAC,GAAU;AAAa;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gB;CAC7C,SAAS;CACT,YAAY;CACZ,SAAS;CACT,SAAS;CACT,MAAM;CACN,QAAQ;CACR,aAAa;CACb,aAAa;CACb,UAAU;AACZ,CAAC"}
@@ -95,7 +95,7 @@ function x() {
95
95
  }
96
96
  function S(s) {
97
97
  var c = s.xAxisId, l = r(), u = n(), d = i(c);
98
- return d == null ? null : /* @__PURE__ */ o.createElement(a, x({}, d, {
98
+ return d == null ? null : /*#__PURE__*/ o.createElement(a, x({}, d, {
99
99
  className: e(`recharts-${d.axisType} ${d.axisType}`, d.className),
100
100
  viewBox: {
101
101
  x: 0,
@@ -108,14 +108,14 @@ function S(s) {
108
108
  }
109
109
  }));
110
110
  }
111
- var C = /* @__PURE__ */ function(e) {
111
+ var C = /*#__PURE__*/ function(e) {
112
112
  function t() {
113
113
  return c(this, t), d(this, t, arguments);
114
114
  }
115
115
  return g(t, e), u(t, [{
116
116
  key: "render",
117
117
  value: function() {
118
- return /* @__PURE__ */ o.createElement(S, this.props);
118
+ return /*#__PURE__*/ o.createElement(S, this.props);
119
119
  }
120
120
  }]);
121
121
  }(o.Component);