@burdenoff/microfe-assethandler 2026.826.2 → 2026.826.4

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 (571) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +1 -1
  2. package/dist/assethandler/AssetHandlerRoot.js.map +1 -1
  3. package/dist/assethandler/AssetHandlerRoutes.js.map +1 -1
  4. package/dist/assethandler/components/ActivityTimeline.js.map +1 -1
  5. package/dist/assethandler/components/AttachmentsPanel.js.map +1 -1
  6. package/dist/assethandler/components/ChartCard.js.map +1 -1
  7. package/dist/assethandler/components/CommentsPanel.js.map +1 -1
  8. package/dist/assethandler/components/NotFoundState.js.map +1 -1
  9. package/dist/assethandler/components/Pagination.js.map +1 -1
  10. package/dist/assethandler/components/SectionHeader.js.map +1 -1
  11. package/dist/assethandler/components/StatTile.js.map +1 -1
  12. package/dist/assethandler/components/charts/BarsChart.js.map +1 -1
  13. package/dist/assethandler/components/charts/ChartParts.js.map +1 -1
  14. package/dist/assethandler/components/charts/DonutChart.js.map +1 -1
  15. package/dist/assethandler/components/charts/ProgressMeter.js.map +1 -1
  16. package/dist/assethandler/components/charts/RadialGauge.js.map +1 -1
  17. package/dist/assethandler/components/charts/Sparkline.js.map +1 -1
  18. package/dist/assethandler/components/charts/TrendChart.js.map +1 -1
  19. package/dist/assethandler/components/charts/chartTheme.js.map +1 -1
  20. package/dist/assethandler/hooks/useAssetHandlerNavigate.js.map +1 -1
  21. package/dist/assethandler/hooks/useCopy.js.map +1 -1
  22. package/dist/assethandler/hooks/useMaintenancePlans.js.map +1 -1
  23. package/dist/assethandler/ops/MaintenancePlanDialog.js.map +1 -1
  24. package/dist/assethandler/ops/NewWorkOrderDialog.js.map +1 -1
  25. package/dist/assethandler/ops/ScheduleMaintenanceDialog.js.map +1 -1
  26. package/dist/assethandler/pages/AiPredictionsPage.js.map +1 -1
  27. package/dist/assethandler/pages/AnalyticsPage.js.map +1 -1
  28. package/dist/assethandler/pages/AssetsAssetCategoriesPage.js.map +1 -1
  29. package/dist/assethandler/pages/AssetsAssetCheckInOutPage.js.map +1 -1
  30. package/dist/assethandler/pages/AssetsAssetCreatePage.js.map +1 -1
  31. package/dist/assethandler/pages/AssetsAssetDetailPage.js.map +1 -1
  32. package/dist/assethandler/pages/AssetsAssetListPage.js.map +1 -1
  33. package/dist/assethandler/pages/AssetsAssetTrackingPage.js.map +1 -1
  34. package/dist/assethandler/pages/CmdbBrowserPage.js.map +1 -1
  35. package/dist/assethandler/pages/DashboardPage.js.map +1 -1
  36. package/dist/assethandler/pages/DigitalTwinPage.js.map +1 -1
  37. package/dist/assethandler/pages/DiscoveryJobsPage.js.map +1 -1
  38. package/dist/assethandler/pages/EsgDashboardPage.js.map +1 -1
  39. package/dist/assethandler/pages/FinanceBudgetDetailPage.js.map +1 -1
  40. package/dist/assethandler/pages/FinanceFinanceHubPage.js.map +1 -1
  41. package/dist/assethandler/pages/FinanceInvoiceDetailPage.js.map +1 -1
  42. package/dist/assethandler/pages/IotDevicesPage.js.map +1 -1
  43. package/dist/assethandler/pages/ItilChangeDetailPage.js.map +1 -1
  44. package/dist/assethandler/pages/ItilChangeManagementPage.js.map +1 -1
  45. package/dist/assethandler/pages/ItilDialogs.js.map +1 -1
  46. package/dist/assethandler/pages/ItilIncidentDetailPage.js.map +1 -1
  47. package/dist/assethandler/pages/ItilIncidentManagementPage.js.map +1 -1
  48. package/dist/assethandler/pages/ItilItilhubPage.js.map +1 -1
  49. package/dist/assethandler/pages/ItilProblemDetailPage.js.map +1 -1
  50. package/dist/assethandler/pages/ItilProblemManagementPage.js.map +1 -1
  51. package/dist/assethandler/pages/KnowledgeBasePage.js.map +1 -1
  52. package/dist/assethandler/pages/MaintenanceMaintenanceCalendarPage.js.map +1 -1
  53. package/dist/assethandler/pages/MaintenanceMaintenancePlansPage.d.ts.map +1 -1
  54. package/dist/assethandler/pages/MaintenanceMaintenancePlansPage.js +1 -1
  55. package/dist/assethandler/pages/MaintenanceMaintenancePlansPage.js.map +1 -1
  56. package/dist/assethandler/pages/MaintenanceMaintenanceSchedulerPage.js.map +1 -1
  57. package/dist/assethandler/pages/OperationsMaintenanceDetailPage.js.map +1 -1
  58. package/dist/assethandler/pages/OperationsOperationsHubPage.js.map +1 -1
  59. package/dist/assethandler/pages/OperationsWorkOrderDetailPage.js.map +1 -1
  60. package/dist/assethandler/pages/PortfolioPortfolioOverviewPage.js.map +1 -1
  61. package/dist/assethandler/pages/ProvenancePage.js.map +1 -1
  62. package/dist/assethandler/pages/ReportsDashboardPage.js.map +1 -1
  63. package/dist/assethandler/pages/SamLicensesPage.js.map +1 -1
  64. package/dist/assethandler/pages/SecurityComplianceDetailPage.js.map +1 -1
  65. package/dist/assethandler/pages/SecurityPolicyDetailPage.js.map +1 -1
  66. package/dist/assethandler/pages/SecuritySecurityEventDetailPage.js.map +1 -1
  67. package/dist/assethandler/pages/SecuritySecurityHubPage.js.map +1 -1
  68. package/dist/assethandler/pages/TransactionsTransactionDetailPage.js.map +1 -1
  69. package/dist/assethandler/pages/TransactionsTransactionListPage.js.map +1 -1
  70. package/dist/assethandler/providers/AssetHandlerProvider.js.map +1 -1
  71. package/dist/assethandler/store/assethandlerStore.js.map +1 -1
  72. package/dist/assethandler/utils/categoryPresentation.js.map +1 -1
  73. package/dist/assethandler/utils/cn.js.map +1 -1
  74. package/dist/assethandler/utils/csv.js.map +1 -1
  75. package/dist/assethandler/utils/i18n.js.map +1 -1
  76. package/dist/assethandler/utils/knowledgeBase.js.map +1 -1
  77. package/dist/assethandler/utils/meter.js.map +1 -1
  78. package/dist/assethandler/utils/money.js.map +1 -1
  79. package/dist/assethandler/utils/navigation.js.map +1 -1
  80. package/dist/assethandler/utils/printAssetTag.js.map +1 -1
  81. package/dist/assethandler/utils/toast.js.map +1 -1
  82. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  83. package/dist/node_modules/d3-array/src/ascending.js.map +1 -1
  84. package/dist/node_modules/d3-array/src/bisect.js.map +1 -1
  85. package/dist/node_modules/d3-array/src/bisector.js.map +1 -1
  86. package/dist/node_modules/d3-array/src/descending.js.map +1 -1
  87. package/dist/node_modules/d3-array/src/max.js.map +1 -1
  88. package/dist/node_modules/d3-array/src/min.js.map +1 -1
  89. package/dist/node_modules/d3-array/src/number.js.map +1 -1
  90. package/dist/node_modules/d3-array/src/quantile.js.map +1 -1
  91. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -1
  92. package/dist/node_modules/d3-array/src/range.js.map +1 -1
  93. package/dist/node_modules/d3-array/src/sort.js.map +1 -1
  94. package/dist/node_modules/d3-array/src/ticks.js.map +1 -1
  95. package/dist/node_modules/d3-color/src/color.js.map +1 -1
  96. package/dist/node_modules/d3-color/src/define.js.map +1 -1
  97. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -1
  98. package/dist/node_modules/d3-format/src/exponent.js.map +1 -1
  99. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -1
  100. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -1
  101. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -1
  102. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -1
  103. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -1
  104. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -1
  105. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -1
  106. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -1
  107. package/dist/node_modules/d3-format/src/identity.js.map +1 -1
  108. package/dist/node_modules/d3-format/src/locale.js.map +1 -1
  109. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -1
  110. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -1
  111. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -1
  112. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -1
  113. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -1
  114. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -1
  115. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -1
  116. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -1
  117. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -1
  118. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -1
  119. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -1
  120. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -1
  121. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -1
  122. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -1
  123. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -1
  124. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -1
  125. package/dist/node_modules/d3-path/src/path.js.map +1 -1
  126. package/dist/node_modules/d3-scale/src/band.js.map +1 -1
  127. package/dist/node_modules/d3-scale/src/constant.js.map +1 -1
  128. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -1
  129. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -1
  130. package/dist/node_modules/d3-scale/src/identity.js.map +1 -1
  131. package/dist/node_modules/d3-scale/src/init.js.map +1 -1
  132. package/dist/node_modules/d3-scale/src/linear.js.map +1 -1
  133. package/dist/node_modules/d3-scale/src/log.js.map +1 -1
  134. package/dist/node_modules/d3-scale/src/nice.js.map +1 -1
  135. package/dist/node_modules/d3-scale/src/number.js.map +1 -1
  136. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -1
  137. package/dist/node_modules/d3-scale/src/pow.js.map +1 -1
  138. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -1
  139. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -1
  140. package/dist/node_modules/d3-scale/src/radial.js.map +1 -1
  141. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -1
  142. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -1
  143. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -1
  144. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -1
  145. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -1
  146. package/dist/node_modules/d3-scale/src/time.js.map +1 -1
  147. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -1
  148. package/dist/node_modules/d3-shape/src/area.js.map +1 -1
  149. package/dist/node_modules/d3-shape/src/array.js.map +1 -1
  150. package/dist/node_modules/d3-shape/src/constant.js.map +1 -1
  151. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -1
  152. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -1
  153. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -1
  154. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -1
  155. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -1
  156. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -1
  157. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -1
  158. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -1
  159. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -1
  160. package/dist/node_modules/d3-shape/src/line.js.map +1 -1
  161. package/dist/node_modules/d3-shape/src/noop.js.map +1 -1
  162. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -1
  163. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -1
  164. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -1
  165. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -1
  166. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -1
  167. package/dist/node_modules/d3-shape/src/path.js.map +1 -1
  168. package/dist/node_modules/d3-shape/src/point.js.map +1 -1
  169. package/dist/node_modules/d3-shape/src/stack.js.map +1 -1
  170. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -1
  171. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -1
  172. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -1
  173. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -1
  174. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -1
  175. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -1
  176. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -1
  177. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -1
  178. package/dist/node_modules/d3-time/src/day.js.map +1 -1
  179. package/dist/node_modules/d3-time/src/hour.js.map +1 -1
  180. package/dist/node_modules/d3-time/src/interval.js.map +1 -1
  181. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -1
  182. package/dist/node_modules/d3-time/src/minute.js.map +1 -1
  183. package/dist/node_modules/d3-time/src/month.js.map +1 -1
  184. package/dist/node_modules/d3-time/src/second.js.map +1 -1
  185. package/dist/node_modules/d3-time/src/ticks.js.map +1 -1
  186. package/dist/node_modules/d3-time/src/week.js.map +1 -1
  187. package/dist/node_modules/d3-time/src/year.js.map +1 -1
  188. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -1
  189. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -1
  190. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
  191. package/dist/node_modules/dijkstrajs/dijkstra.js.map +1 -1
  192. package/dist/node_modules/eventemitter3/index.js.map +1 -1
  193. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
  194. package/dist/node_modules/internmap/src/index.js.map +1 -1
  195. package/dist/node_modules/lodash/_DataView.js.map +1 -1
  196. package/dist/node_modules/lodash/_Hash.js.map +1 -1
  197. package/dist/node_modules/lodash/_ListCache.js.map +1 -1
  198. package/dist/node_modules/lodash/_Map.js.map +1 -1
  199. package/dist/node_modules/lodash/_MapCache.js.map +1 -1
  200. package/dist/node_modules/lodash/_Promise.js.map +1 -1
  201. package/dist/node_modules/lodash/_Set.js.map +1 -1
  202. package/dist/node_modules/lodash/_SetCache.js.map +1 -1
  203. package/dist/node_modules/lodash/_Stack.js +2 -1
  204. package/dist/node_modules/lodash/_Stack.js.map +1 -1
  205. package/dist/node_modules/lodash/_Symbol.js.map +1 -1
  206. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
  207. package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
  208. package/dist/node_modules/lodash/_apply.js.map +1 -1
  209. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
  210. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
  211. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
  212. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
  213. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
  214. package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
  215. package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
  216. package/dist/node_modules/lodash/_arraySome.js.map +1 -1
  217. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
  218. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
  219. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
  220. package/dist/node_modules/lodash/_baseEach.js.map +1 -1
  221. package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
  222. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
  223. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
  224. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
  225. package/dist/node_modules/lodash/_baseFor.js.map +1 -1
  226. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
  227. package/dist/node_modules/lodash/_baseGet.js.map +1 -1
  228. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
  229. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
  230. package/dist/node_modules/lodash/_baseGt.js.map +1 -1
  231. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
  232. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
  233. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
  234. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
  235. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
  236. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
  237. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
  238. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
  239. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
  240. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
  241. package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
  242. package/dist/node_modules/lodash/_baseLt.js.map +1 -1
  243. package/dist/node_modules/lodash/_baseMap.js.map +1 -1
  244. package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
  245. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
  246. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
  247. package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
  248. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
  249. package/dist/node_modules/lodash/_baseRange.js.map +1 -1
  250. package/dist/node_modules/lodash/_baseRest.js.map +1 -1
  251. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
  252. package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
  253. package/dist/node_modules/lodash/_baseSome.js.map +1 -1
  254. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
  255. package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
  256. package/dist/node_modules/lodash/_baseToString.js.map +1 -1
  257. package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
  258. package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
  259. package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
  260. package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
  261. package/dist/node_modules/lodash/_castPath.js.map +1 -1
  262. package/dist/node_modules/lodash/_castSlice.js.map +1 -1
  263. package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
  264. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
  265. package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
  266. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
  267. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
  268. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
  269. package/dist/node_modules/lodash/_createFind.js.map +1 -1
  270. package/dist/node_modules/lodash/_createRange.js.map +1 -1
  271. package/dist/node_modules/lodash/_createSet.js.map +1 -1
  272. package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
  273. package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
  274. package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
  275. package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
  276. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
  277. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
  278. package/dist/node_modules/lodash/_getMapData.js.map +1 -1
  279. package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
  280. package/dist/node_modules/lodash/_getNative.js.map +1 -1
  281. package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
  282. package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
  283. package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
  284. package/dist/node_modules/lodash/_getTag.js.map +1 -1
  285. package/dist/node_modules/lodash/_getValue.js.map +1 -1
  286. package/dist/node_modules/lodash/_hasPath.js.map +1 -1
  287. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
  288. package/dist/node_modules/lodash/_hashClear.js.map +1 -1
  289. package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
  290. package/dist/node_modules/lodash/_hashGet.js.map +1 -1
  291. package/dist/node_modules/lodash/_hashHas.js.map +1 -1
  292. package/dist/node_modules/lodash/_hashSet.js.map +1 -1
  293. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
  294. package/dist/node_modules/lodash/_isIndex.js.map +1 -1
  295. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
  296. package/dist/node_modules/lodash/_isKey.js.map +1 -1
  297. package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
  298. package/dist/node_modules/lodash/_isMasked.js.map +1 -1
  299. package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
  300. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
  301. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
  302. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
  303. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
  304. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
  305. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
  306. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
  307. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
  308. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
  309. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
  310. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
  311. package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
  312. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
  313. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
  314. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
  315. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
  316. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
  317. package/dist/node_modules/lodash/_objectToString.js.map +1 -1
  318. package/dist/node_modules/lodash/_overArg.js.map +1 -1
  319. package/dist/node_modules/lodash/_overRest.js.map +1 -1
  320. package/dist/node_modules/lodash/_root.js.map +1 -1
  321. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
  322. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
  323. package/dist/node_modules/lodash/_setToArray.js.map +1 -1
  324. package/dist/node_modules/lodash/_setToString.js.map +1 -1
  325. package/dist/node_modules/lodash/_shortOut.js.map +1 -1
  326. package/dist/node_modules/lodash/_stackClear.js.map +1 -1
  327. package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
  328. package/dist/node_modules/lodash/_stackGet.js.map +1 -1
  329. package/dist/node_modules/lodash/_stackHas.js.map +1 -1
  330. package/dist/node_modules/lodash/_stackSet.js.map +1 -1
  331. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
  332. package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
  333. package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
  334. package/dist/node_modules/lodash/_toKey.js.map +1 -1
  335. package/dist/node_modules/lodash/_toSource.js.map +1 -1
  336. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
  337. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
  338. package/dist/node_modules/lodash/constant.js.map +1 -1
  339. package/dist/node_modules/lodash/debounce.js.map +1 -1
  340. package/dist/node_modules/lodash/eq.js.map +1 -1
  341. package/dist/node_modules/lodash/every.js.map +1 -1
  342. package/dist/node_modules/lodash/find.js.map +1 -1
  343. package/dist/node_modules/lodash/findIndex.js.map +1 -1
  344. package/dist/node_modules/lodash/flatMap.js.map +1 -1
  345. package/dist/node_modules/lodash/get.js.map +1 -1
  346. package/dist/node_modules/lodash/hasIn.js.map +1 -1
  347. package/dist/node_modules/lodash/identity.js.map +1 -1
  348. package/dist/node_modules/lodash/isArguments.js.map +1 -1
  349. package/dist/node_modules/lodash/isArray.js.map +1 -1
  350. package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
  351. package/dist/node_modules/lodash/isBoolean.js.map +1 -1
  352. package/dist/node_modules/lodash/isBuffer.js.map +1 -1
  353. package/dist/node_modules/lodash/isEqual.js.map +1 -1
  354. package/dist/node_modules/lodash/isFunction.js.map +1 -1
  355. package/dist/node_modules/lodash/isLength.js.map +1 -1
  356. package/dist/node_modules/lodash/isNaN.js.map +1 -1
  357. package/dist/node_modules/lodash/isNil.js.map +1 -1
  358. package/dist/node_modules/lodash/isNumber.js.map +1 -1
  359. package/dist/node_modules/lodash/isObject.js.map +1 -1
  360. package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
  361. package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
  362. package/dist/node_modules/lodash/isString.js.map +1 -1
  363. package/dist/node_modules/lodash/isSymbol.js.map +1 -1
  364. package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
  365. package/dist/node_modules/lodash/keys.js.map +1 -1
  366. package/dist/node_modules/lodash/last.js.map +1 -1
  367. package/dist/node_modules/lodash/map.js.map +1 -1
  368. package/dist/node_modules/lodash/mapValues.js.map +1 -1
  369. package/dist/node_modules/lodash/max.js.map +1 -1
  370. package/dist/node_modules/lodash/maxBy.js.map +1 -1
  371. package/dist/node_modules/lodash/memoize.js.map +1 -1
  372. package/dist/node_modules/lodash/min.js.map +1 -1
  373. package/dist/node_modules/lodash/minBy.js.map +1 -1
  374. package/dist/node_modules/lodash/noop.js.map +1 -1
  375. package/dist/node_modules/lodash/now.js.map +1 -1
  376. package/dist/node_modules/lodash/property.js.map +1 -1
  377. package/dist/node_modules/lodash/range.js.map +1 -1
  378. package/dist/node_modules/lodash/some.js.map +1 -1
  379. package/dist/node_modules/lodash/sortBy.js.map +1 -1
  380. package/dist/node_modules/lodash/stubArray.js.map +1 -1
  381. package/dist/node_modules/lodash/stubFalse.js.map +1 -1
  382. package/dist/node_modules/lodash/throttle.js.map +1 -1
  383. package/dist/node_modules/lodash/toFinite.js.map +1 -1
  384. package/dist/node_modules/lodash/toInteger.js.map +1 -1
  385. package/dist/node_modules/lodash/toNumber.js.map +1 -1
  386. package/dist/node_modules/lodash/toString.js.map +1 -1
  387. package/dist/node_modules/lodash/uniqBy.js.map +1 -1
  388. package/dist/node_modules/lodash/upperFirst.js.map +1 -1
  389. package/dist/node_modules/object-assign/index.js.map +1 -1
  390. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
  391. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
  392. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
  393. package/dist/node_modules/prop-types/index.js.map +1 -1
  394. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
  395. package/dist/node_modules/prop-types/lib/has.js.map +1 -1
  396. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  397. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  398. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
  399. package/dist/node_modules/qrcode/lib/browser.js.map +1 -1
  400. package/dist/node_modules/qrcode/lib/can-promise.js.map +1 -1
  401. package/dist/node_modules/qrcode/lib/core/alignment-pattern.js.map +1 -1
  402. package/dist/node_modules/qrcode/lib/core/alphanumeric-data.js.map +1 -1
  403. package/dist/node_modules/qrcode/lib/core/bit-buffer.js.map +1 -1
  404. package/dist/node_modules/qrcode/lib/core/bit-matrix.js.map +1 -1
  405. package/dist/node_modules/qrcode/lib/core/byte-data.js.map +1 -1
  406. package/dist/node_modules/qrcode/lib/core/error-correction-code.js.map +1 -1
  407. package/dist/node_modules/qrcode/lib/core/error-correction-level.js.map +1 -1
  408. package/dist/node_modules/qrcode/lib/core/finder-pattern.js.map +1 -1
  409. package/dist/node_modules/qrcode/lib/core/format-info.js.map +1 -1
  410. package/dist/node_modules/qrcode/lib/core/galois-field.js.map +1 -1
  411. package/dist/node_modules/qrcode/lib/core/kanji-data.js.map +1 -1
  412. package/dist/node_modules/qrcode/lib/core/mask-pattern.js.map +1 -1
  413. package/dist/node_modules/qrcode/lib/core/mode.js.map +1 -1
  414. package/dist/node_modules/qrcode/lib/core/numeric-data.js.map +1 -1
  415. package/dist/node_modules/qrcode/lib/core/polynomial.js.map +1 -1
  416. package/dist/node_modules/qrcode/lib/core/qrcode.js.map +1 -1
  417. package/dist/node_modules/qrcode/lib/core/reed-solomon-encoder.js.map +1 -1
  418. package/dist/node_modules/qrcode/lib/core/regex.js +1 -1
  419. package/dist/node_modules/qrcode/lib/core/regex.js.map +1 -1
  420. package/dist/node_modules/qrcode/lib/core/segments.js.map +1 -1
  421. package/dist/node_modules/qrcode/lib/core/utils.js.map +1 -1
  422. package/dist/node_modules/qrcode/lib/core/version-check.js.map +1 -1
  423. package/dist/node_modules/qrcode/lib/core/version.js.map +1 -1
  424. package/dist/node_modules/qrcode/lib/renderer/canvas.js.map +1 -1
  425. package/dist/node_modules/qrcode/lib/renderer/svg-tag.js.map +1 -1
  426. package/dist/node_modules/qrcode/lib/renderer/utils.js.map +1 -1
  427. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  428. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  429. package/dist/node_modules/react-is/index.js.map +1 -1
  430. package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
  431. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
  432. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
  433. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
  434. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
  435. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
  436. package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
  437. package/dist/node_modules/recharts/es6/cartesian/Area.js +13 -13
  438. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -1
  439. package/dist/node_modules/recharts/es6/cartesian/Bar.js +9 -9
  440. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
  441. package/dist/node_modules/recharts/es6/cartesian/Brush.js +12 -12
  442. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  443. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +7 -7
  444. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
  445. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +13 -13
  446. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -1
  447. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +4 -4
  448. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
  449. package/dist/node_modules/recharts/es6/cartesian/Line.js +10 -10
  450. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -1
  451. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +3 -3
  452. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
  453. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +3 -3
  454. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
  455. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +4 -4
  456. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
  457. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +3 -3
  458. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
  459. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +3 -3
  460. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
  461. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
  462. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
  463. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -1
  464. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
  465. package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -1
  466. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
  467. package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -1
  468. package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -1
  469. package/dist/node_modules/recharts/es6/chart/RadialBarChart.js.map +1 -1
  470. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +22 -22
  471. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
  472. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
  473. package/dist/node_modules/recharts/es6/component/Cursor.js +1 -1
  474. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
  475. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +11 -11
  476. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
  477. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +6 -6
  478. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
  479. package/dist/node_modules/recharts/es6/component/Label.js +14 -14
  480. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
  481. package/dist/node_modules/recharts/es6/component/LabelList.js +6 -6
  482. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
  483. package/dist/node_modules/recharts/es6/component/Legend.js +5 -5
  484. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
  485. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +3 -3
  486. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
  487. package/dist/node_modules/recharts/es6/component/Text.js +2 -2
  488. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
  489. package/dist/node_modules/recharts/es6/component/Tooltip.js +3 -3
  490. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
  491. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +2 -2
  492. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
  493. package/dist/node_modules/recharts/es6/container/Layer.js +2 -2
  494. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
  495. package/dist/node_modules/recharts/es6/container/Surface.js +2 -2
  496. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
  497. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +2 -2
  498. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
  499. package/dist/node_modules/recharts/es6/polar/Pie.js +13 -13
  500. package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -1
  501. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +8 -8
  502. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +1 -1
  503. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +6 -6
  504. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +1 -1
  505. package/dist/node_modules/recharts/es6/polar/RadialBar.js +6 -6
  506. package/dist/node_modules/recharts/es6/polar/RadialBar.js.map +1 -1
  507. package/dist/node_modules/recharts/es6/shape/Cross.js +1 -1
  508. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
  509. package/dist/node_modules/recharts/es6/shape/Curve.js +1 -1
  510. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
  511. package/dist/node_modules/recharts/es6/shape/Dot.js +1 -1
  512. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
  513. package/dist/node_modules/recharts/es6/shape/Polygon.js +4 -4
  514. package/dist/node_modules/recharts/es6/shape/Polygon.js.map +1 -1
  515. package/dist/node_modules/recharts/es6/shape/Rectangle.js +4 -4
  516. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
  517. package/dist/node_modules/recharts/es6/shape/Sector.js +1 -1
  518. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
  519. package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -1
  520. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
  521. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +4 -4
  522. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
  523. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +9 -9
  524. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
  525. package/dist/node_modules/recharts/es6/util/BarUtils.js +1 -1
  526. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
  527. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +1 -1
  528. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
  529. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
  530. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
  531. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
  532. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
  533. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
  534. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
  535. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
  536. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
  537. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
  538. package/dist/node_modules/recharts/es6/util/PolarUtils.js +1 -1
  539. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
  540. package/dist/node_modules/recharts/es6/util/RadialBarUtils.js +1 -1
  541. package/dist/node_modules/recharts/es6/util/RadialBarUtils.js.map +1 -1
  542. package/dist/node_modules/recharts/es6/util/ReactUtils.js +1 -1
  543. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
  544. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +1 -1
  545. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
  546. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
  547. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
  548. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
  549. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
  550. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
  551. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
  552. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
  553. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
  554. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
  555. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
  556. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
  557. package/dist/node_modules/recharts/es6/util/types.js +1 -1
  558. package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
  559. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
  560. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
  561. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
  562. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -1
  563. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  564. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
  565. package/dist/services/createSandboxAssistantTransport.js.map +1 -1
  566. package/dist/utils/pageContext.js.map +1 -1
  567. package/package.json +4 -4
  568. package/dist/generated/global-operations.d.ts +0 -2
  569. package/dist/generated/global-operations.d.ts.map +0 -1
  570. package/dist/generated/global-types.d.ts +0 -23527
  571. package/dist/generated/global-types.d.ts.map +0 -1
@@ -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;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AAQ,EAAc,EAAc,EAAE,EAAE,EAAM,EAAE,EAAE,EAAE,EACzD,OAAO,IAAmB,IAAiB,EAAM,OAClD,CAAC,GAAG,KAAA;GACL,OAAO;GACP,QAAQ;GACA;GACT,EAAE,IAAmB,KAAO,EAAc;AAE3C,EADA,EAAK,MAAM,QAAQ,EAAiB,EAAE,6EAAoF,EAAQ,EAAiB,IAAO,EACtJ,MAAM,QAAQ,EAAiB,KACjC,IAAiB;;AAGrB,QAAoB,kBAAM,cAAc,KAAK,EAC3C,WAAW,2BACZ,EAAe,kBAAM,cAAc,GAAY;EAC9C,MAAM,EAAuB;EAC7B,aAAa,EAAuB;EACpC,GAAG,EAAuB;EAC1B,GAAG,EAAuB;EAC1B,OAAO,EAAuB;EAC9B,QAAQ,EAAuB;EAC/B,IAAI,EAAuB;EAC5B,CAAC,EAAe,kBAAM,cAAc,GAAqB,EAAS,EAAE,EAAE,GAAwB;EACrF;EACU;EACX;EACA;EACR,CAAC,CAAC,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,EAAQ,GAAG,GAAG;CAAE,IAAI,IAAI,OAAO,KAAK,CAAC;CAAG,IAAI,OAAO,uBAAuB;EAAE,IAAI,IAAI,OAAO,sBAAsB,CAAC;EAAG,MAAM,IAAI,EAAE,OAAO,SAAU,GAAG;GAAE,OAAO,OAAO,yBAAyB,GAAG,CAAC,EAAE;EAAY,CAAC,IAAI,EAAE,KAAK,MAAM,GAAG,CAAC;CAAG;CAAE,OAAO;AAAG;AAC9P,SAAS,EAAc,GAAG;CAAE,KAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;EAAE,IAAI,IAAY,UAAU,MAAlB,OAAsC,CAAC,IAAhB,UAAU;EAAS,IAAI,IAAI,EAAQ,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,SAAU,GAAG;GAAE,EAAgB,GAAG,GAAG,EAAE,EAAE;EAAG,CAAC,IAAI,OAAO,4BAA4B,OAAO,iBAAiB,GAAG,OAAO,0BAA0B,CAAC,CAAC,IAAI,EAAQ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E,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;CAAsB;CAAS;CAAQ;AACxG,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,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,EAAI,KAAI,EAAO,KAAO,EAAO;;AAAY,SAAO;IAAkB,EAAS,MAAM,MAAM,UAAU;;AAChV,SAAS,EAAe,GAAK,GAAG;AAAE,QAA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AAI;MACJ,IAAI;MACJ,IAAI;MACL,CAAC;;AAEJ,WAAoB,kBAAM,cAAc,GAAO,EAAS;KACtD,WAAW;KACX,KAAK,OAAc,EAAgB,IAAI,SAAU,GAAG;AAClD,aAAO,GAAU,EAAE,MAAgB,EAAE,MAAgB,EAAE,MAAgB,EAAE;OACzE;KACH,EAAE,EAAS,EAAE,EAAgB,IAAI,SAAU,GAAa;AACvD,YAAoB,kBAAM,cAAc,QAAQ,EAAS,EAAE,EAAE,GAAa,EACxE,KAAK,QAAe,EAAY,MAAgB,EAAY,MAAgB,EAAY,MAAgB,EAAY,MACrH,CAAC,CAAC;MACH,CAAC;KACH;AACF,UAAoB,kBAAM,cAAc,GAAO,EAC7C,WAAW,sBACZ,EAAE,EAAU;;EAEhB,CAAC,CAAC;EACH,EAAM,UAAU;AAClB,EAAgB,GAAU,gBAAgB;CACxC,QAAQ;CACR,aAAa;CACb,OAAO;CACP,QAAQ;CACR,QAAQ;CACT,CAAC,EACF,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;CAAG,GAAG,EAAQ,CAAC;AAAG;AAC7T,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,EAAe,GAAK,GAAG;CAAE,OAAO,EAAgB,CAAG,KAAK,EAAsB,GAAK,CAAC,KAAK,EAA4B,GAAK,CAAC,KAAK,EAAiB;AAAG;AAC7J,SAAS,IAAmB;CAAE,MAAU,UAAU,2IAA2I;AAAG;AAChM,SAAS,EAA4B,GAAG,GAAQ;CAAO,OAAW;MAAI,OAAO,KAAM,UAAU,OAAO,EAAkB,GAAG,CA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,IAAI;MACJ,IAAI;MACJ,IAAI;KACN,CAAC;IACH;IACA,OAAoB,gBAAM,cAAc,GAAO,EAAS;KACtD,WAAW;KACX,KAAK,OAAc,EAAgB,IAAI,SAAU,GAAG;MAClD,OAAO,GAAU,EAAE,MAAgB,EAAE,MAAgB,EAAE,MAAgB,EAAE;KAC3E,CAAC;IACH,GAAG,CAAQ,GAAG,EAAgB,IAAI,SAAU,GAAa;KACvD,OAAoB,gBAAM,cAAc,QAAQ,EAAS,CAAC,GAAG,GAAa,EACxE,KAAK,QAAe,EAAY,MAAgB,EAAY,MAAgB,EAAY,MAAgB,EAAY,KACtH,CAAC,CAAC;IACJ,CAAC,CAAC;GACJ,CAAC;GACD,OAAoB,gBAAM,cAAc,GAAO,EAC7C,WAAW,qBACb,GAAG,CAAS;EACd;CACF,CAAC,CAAC;AACJ,EAAE,EAAM,SAAS;AACjB,EAAgB,GAAU,gBAAgB;CACxC,QAAQ;CACR,aAAa;CACb,OAAO;CACP,QAAQ;CACR,QAAQ;AACV,CAAC,GACD,EAAgB,GAAU,eAAe,UAAU"}
@@ -174,7 +174,7 @@ function X(e, t) {
174
174
  }
175
175
  return (t === "string" ? String : Number)(e);
176
176
  }
177
- var Z = /* @__PURE__ */ function(e) {
177
+ var Z = /*#__PURE__*/ function(e) {
178
178
  function n() {
179
179
  var e;
180
180
  R(this, n);
@@ -249,8 +249,8 @@ var Z = /* @__PURE__ */ function(e) {
249
249
  errorVal: m(e.payload, t)
250
250
  };
251
251
  }, p = { clipPath: e ? `url(#clipPath-${t})` : null };
252
- return /* @__PURE__ */ y.createElement(l, p, u.map(function(e) {
253
- return /* @__PURE__ */ y.cloneElement(e, {
252
+ return /*#__PURE__*/ y.createElement(l, p, u.map(function(e) {
253
+ return /*#__PURE__*/ y.cloneElement(e, {
254
254
  key: `bar-${e.props.dataKey}`,
255
255
  data: r,
256
256
  xAxis: i,
@@ -280,7 +280,7 @@ var Z = /* @__PURE__ */ function(e) {
280
280
  });
281
281
  return n.renderDotItem(a, r);
282
282
  }), p = { clipPath: e ? `url(#clipPath-${t ? "" : "dots-"}${r})` : null };
283
- return /* @__PURE__ */ y.createElement(l, k({
283
+ return /*#__PURE__*/ y.createElement(l, k({
284
284
  className: "recharts-line-dots",
285
285
  key: "dots"
286
286
  }, p), f);
@@ -301,14 +301,14 @@ var Z = /* @__PURE__ */ function(e) {
301
301
  layout: s,
302
302
  connectNulls: c
303
303
  });
304
- return /* @__PURE__ */ y.createElement(g, k({}, l, { pathRef: this.pathRef }));
304
+ return /*#__PURE__*/ y.createElement(g, k({}, l, { pathRef: this.pathRef }));
305
305
  }
306
306
  },
307
307
  {
308
308
  key: "renderCurveWithAnimation",
309
309
  value: function(e, t) {
310
310
  var n = this, r = this.props, a = r.points, o = r.strokeDasharray, s = r.isAnimationActive, c = r.animationBegin, l = r.animationDuration, u = r.animationEasing, d = r.animationId, f = r.animateNewValues, p = r.width, m = r.height, h = this.state, g = h.prevPoints, v = h.totalLength;
311
- return /* @__PURE__ */ y.createElement(_, {
311
+ return /*#__PURE__*/ y.createElement(_, {
312
312
  begin: c,
313
313
  duration: l,
314
314
  isActive: s,
@@ -371,12 +371,12 @@ var Z = /* @__PURE__ */ function(e) {
371
371
  r: 3,
372
372
  strokeWidth: 2
373
373
  }, O = D.r, k = O === void 0 ? 3 : O, A = D.strokeWidth, j = A === void 0 ? 2 : A, M = (c(r) ? r : {}).clipDot, N = M === void 0 ? !0 : M, P = k * 2 + j;
374
- return /* @__PURE__ */ y.createElement(l, { className: x }, C || w ? /* @__PURE__ */ y.createElement("defs", null, /* @__PURE__ */ y.createElement("clipPath", { id: `clipPath-${E}` }, /* @__PURE__ */ y.createElement("rect", {
374
+ return /*#__PURE__*/ y.createElement(l, { className: x }, C || w ? /*#__PURE__*/ y.createElement("defs", null, /*#__PURE__*/ y.createElement("clipPath", { id: `clipPath-${E}` }, /*#__PURE__*/ y.createElement("rect", {
375
375
  x: C ? f : f - p / 2,
376
376
  y: w ? d : d - m / 2,
377
377
  width: C ? p : p * 2,
378
378
  height: w ? m : m * 2
379
- })), !N && /* @__PURE__ */ y.createElement("clipPath", { id: `clipPath-dots-${E}` }, /* @__PURE__ */ y.createElement("rect", {
379
+ })), !N && /*#__PURE__*/ y.createElement("clipPath", { id: `clipPath-dots-${E}` }, /*#__PURE__*/ y.createElement("rect", {
380
380
  x: f - P / 2,
381
381
  y: d - P / 2,
382
382
  width: p + P,
@@ -406,11 +406,11 @@ var Z = /* @__PURE__ */ function(e) {
406
406
  key: "renderDotItem",
407
407
  value: function(e, n) {
408
408
  var r;
409
- if (/* @__PURE__ */ y.isValidElement(e)) r = /* @__PURE__ */ y.cloneElement(e, n);
409
+ if (/*#__PURE__*/ y.isValidElement(e)) r = /*#__PURE__*/ y.cloneElement(e, n);
410
410
  else if ((0, x.default)(e)) r = e(n);
411
411
  else {
412
412
  var i = n.key, a = D(n, T), o = t("recharts-line-dot", typeof e == "boolean" ? "" : e.className);
413
- r = /* @__PURE__ */ y.createElement(v, k({ key: i }, a, { className: o }));
413
+ r = /*#__PURE__*/ y.createElement(v, k({ key: i }, a, { className: o }));
414
414
  }
415
415
  return r;
416
416
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Line.js","names":["Animate"],"sources":["../../../../../node_modules/recharts/es6/cartesian/Line.js"],"sourcesContent":["var _excluded = [\"type\", \"layout\", \"connectNulls\", \"ref\"],\n _excluded2 = [\"key\"];\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 _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 _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _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 Line\n */\nimport React, { PureComponent } from 'react';\nimport Animate from 'react-smooth';\nimport isFunction from 'lodash/isFunction';\nimport isNil from 'lodash/isNil';\nimport isEqual from 'lodash/isEqual';\nimport clsx from 'clsx';\nimport { Curve } from '../shape/Curve';\nimport { Dot } from '../shape/Dot';\nimport { Layer } from '../container/Layer';\nimport { LabelList } from '../component/LabelList';\nimport { ErrorBar } from './ErrorBar';\nimport { uniqueId, interpolateNumber } from '../util/DataUtils';\nimport { findAllByType, filterProps, hasClipDot } from '../util/ReactUtils';\nimport { Global } from '../util/Global';\nimport { getCateCoordinateOfLine, getValueByDataKey } from '../util/ChartUtils';\nexport var Line = /*#__PURE__*/function (_PureComponent) {\n function Line() {\n var _this;\n _classCallCheck(this, Line);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, Line, [].concat(args));\n _defineProperty(_this, \"state\", {\n isAnimationFinished: true,\n totalLength: 0\n });\n _defineProperty(_this, \"generateSimpleStrokeDasharray\", function (totalLength, length) {\n return \"\".concat(length, \"px \").concat(totalLength - length, \"px\");\n });\n _defineProperty(_this, \"getStrokeDasharray\", function (length, totalLength, lines) {\n var lineLength = lines.reduce(function (pre, next) {\n return pre + next;\n });\n\n // if lineLength is 0 return the default when no strokeDasharray is provided\n if (!lineLength) {\n return _this.generateSimpleStrokeDasharray(totalLength, length);\n }\n var count = Math.floor(length / lineLength);\n var remainLength = length % lineLength;\n var restLength = totalLength - length;\n var remainLines = [];\n for (var i = 0, sum = 0; i < lines.length; sum += lines[i], ++i) {\n if (sum + lines[i] > remainLength) {\n remainLines = [].concat(_toConsumableArray(lines.slice(0, i)), [remainLength - sum]);\n break;\n }\n }\n var emptyLines = remainLines.length % 2 === 0 ? [0, restLength] : [restLength];\n return [].concat(_toConsumableArray(Line.repeat(lines, count)), _toConsumableArray(remainLines), emptyLines).map(function (line) {\n return \"\".concat(line, \"px\");\n }).join(', ');\n });\n _defineProperty(_this, \"id\", uniqueId('recharts-line-'));\n _defineProperty(_this, \"pathRef\", function (node) {\n _this.mainCurve = node;\n });\n _defineProperty(_this, \"handleAnimationEnd\", function () {\n _this.setState({\n isAnimationFinished: true\n });\n if (_this.props.onAnimationEnd) {\n _this.props.onAnimationEnd();\n }\n });\n _defineProperty(_this, \"handleAnimationStart\", function () {\n _this.setState({\n isAnimationFinished: false\n });\n if (_this.props.onAnimationStart) {\n _this.props.onAnimationStart();\n }\n });\n return _this;\n }\n _inherits(Line, _PureComponent);\n return _createClass(Line, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if (!this.props.isAnimationActive) {\n return;\n }\n var totalLength = this.getTotalLength();\n this.setState({\n totalLength: totalLength\n });\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n if (!this.props.isAnimationActive) {\n return;\n }\n var totalLength = this.getTotalLength();\n if (totalLength !== this.state.totalLength) {\n this.setState({\n totalLength: totalLength\n });\n }\n }\n }, {\n key: \"getTotalLength\",\n value: function getTotalLength() {\n var curveDom = this.mainCurve;\n try {\n return curveDom && curveDom.getTotalLength && curveDom.getTotalLength() || 0;\n } catch (err) {\n return 0;\n }\n }\n }, {\n key: \"renderErrorBar\",\n value: function renderErrorBar(needClip, clipPathId) {\n if (this.props.isAnimationActive && !this.state.isAnimationFinished) {\n return null;\n }\n var _this$props = this.props,\n points = _this$props.points,\n xAxis = _this$props.xAxis,\n yAxis = _this$props.yAxis,\n layout = _this$props.layout,\n children = _this$props.children;\n var errorBarItems = findAllByType(children, ErrorBar);\n if (!errorBarItems) {\n return null;\n }\n var dataPointFormatter = function dataPointFormatter(dataPoint, dataKey) {\n return {\n x: dataPoint.x,\n y: dataPoint.y,\n value: dataPoint.value,\n errorVal: getValueByDataKey(dataPoint.payload, dataKey)\n };\n };\n var errorBarProps = {\n clipPath: needClip ? \"url(#clipPath-\".concat(clipPathId, \")\") : null\n };\n return /*#__PURE__*/React.createElement(Layer, errorBarProps, errorBarItems.map(function (item) {\n return /*#__PURE__*/React.cloneElement(item, {\n key: \"bar-\".concat(item.props.dataKey),\n data: points,\n xAxis: xAxis,\n yAxis: yAxis,\n layout: layout,\n dataPointFormatter: dataPointFormatter\n });\n }));\n }\n }, {\n key: \"renderDots\",\n value: function renderDots(needClip, clipDot, clipPathId) {\n var isAnimationActive = this.props.isAnimationActive;\n if (isAnimationActive && !this.state.isAnimationFinished) {\n return null;\n }\n var _this$props2 = this.props,\n dot = _this$props2.dot,\n points = _this$props2.points,\n dataKey = _this$props2.dataKey;\n var lineProps = filterProps(this.props, false);\n var customDotProps = filterProps(dot, true);\n var dots = points.map(function (entry, i) {\n var dotProps = _objectSpread(_objectSpread(_objectSpread({\n key: \"dot-\".concat(i),\n r: 3\n }, lineProps), customDotProps), {}, {\n index: i,\n cx: entry.x,\n cy: entry.y,\n value: entry.value,\n dataKey: dataKey,\n payload: entry.payload,\n points: points\n });\n return Line.renderDotItem(dot, dotProps);\n });\n var dotsProps = {\n clipPath: needClip ? \"url(#clipPath-\".concat(clipDot ? '' : 'dots-').concat(clipPathId, \")\") : null\n };\n return /*#__PURE__*/React.createElement(Layer, _extends({\n className: \"recharts-line-dots\",\n key: \"dots\"\n }, dotsProps), dots);\n }\n }, {\n key: \"renderCurveStatically\",\n value: function renderCurveStatically(points, needClip, clipPathId, props) {\n var _this$props3 = this.props,\n type = _this$props3.type,\n layout = _this$props3.layout,\n connectNulls = _this$props3.connectNulls,\n ref = _this$props3.ref,\n others = _objectWithoutProperties(_this$props3, _excluded);\n var curveProps = _objectSpread(_objectSpread(_objectSpread({}, filterProps(others, true)), {}, {\n fill: 'none',\n className: 'recharts-line-curve',\n clipPath: needClip ? \"url(#clipPath-\".concat(clipPathId, \")\") : null,\n points: points\n }, props), {}, {\n type: type,\n layout: layout,\n connectNulls: connectNulls\n });\n return /*#__PURE__*/React.createElement(Curve, _extends({}, curveProps, {\n pathRef: this.pathRef\n }));\n }\n }, {\n key: \"renderCurveWithAnimation\",\n value: function renderCurveWithAnimation(needClip, clipPathId) {\n var _this2 = this;\n var _this$props4 = this.props,\n points = _this$props4.points,\n strokeDasharray = _this$props4.strokeDasharray,\n isAnimationActive = _this$props4.isAnimationActive,\n animationBegin = _this$props4.animationBegin,\n animationDuration = _this$props4.animationDuration,\n animationEasing = _this$props4.animationEasing,\n animationId = _this$props4.animationId,\n animateNewValues = _this$props4.animateNewValues,\n width = _this$props4.width,\n height = _this$props4.height;\n var _this$state = this.state,\n prevPoints = _this$state.prevPoints,\n totalLength = _this$state.totalLength;\n return /*#__PURE__*/React.createElement(Animate, {\n begin: animationBegin,\n duration: animationDuration,\n isActive: isAnimationActive,\n easing: animationEasing,\n from: {\n t: 0\n },\n to: {\n t: 1\n },\n key: \"line-\".concat(animationId),\n onAnimationEnd: this.handleAnimationEnd,\n onAnimationStart: this.handleAnimationStart\n }, function (_ref) {\n var t = _ref.t;\n if (prevPoints) {\n var prevPointsDiffFactor = prevPoints.length / points.length;\n var stepData = points.map(function (entry, index) {\n var prevPointIndex = Math.floor(index * prevPointsDiffFactor);\n if (prevPoints[prevPointIndex]) {\n var prev = prevPoints[prevPointIndex];\n var interpolatorX = interpolateNumber(prev.x, entry.x);\n var interpolatorY = interpolateNumber(prev.y, entry.y);\n return _objectSpread(_objectSpread({}, entry), {}, {\n x: interpolatorX(t),\n y: interpolatorY(t)\n });\n }\n\n // magic number of faking previous x and y location\n if (animateNewValues) {\n var _interpolatorX = interpolateNumber(width * 2, entry.x);\n var _interpolatorY = interpolateNumber(height / 2, entry.y);\n return _objectSpread(_objectSpread({}, entry), {}, {\n x: _interpolatorX(t),\n y: _interpolatorY(t)\n });\n }\n return _objectSpread(_objectSpread({}, entry), {}, {\n x: entry.x,\n y: entry.y\n });\n });\n return _this2.renderCurveStatically(stepData, needClip, clipPathId);\n }\n var interpolator = interpolateNumber(0, totalLength);\n var curLength = interpolator(t);\n var currentStrokeDasharray;\n if (strokeDasharray) {\n var lines = \"\".concat(strokeDasharray).split(/[,\\s]+/gim).map(function (num) {\n return parseFloat(num);\n });\n currentStrokeDasharray = _this2.getStrokeDasharray(curLength, totalLength, lines);\n } else {\n currentStrokeDasharray = _this2.generateSimpleStrokeDasharray(totalLength, curLength);\n }\n return _this2.renderCurveStatically(points, needClip, clipPathId, {\n strokeDasharray: currentStrokeDasharray\n });\n });\n }\n }, {\n key: \"renderCurve\",\n value: function renderCurve(needClip, clipPathId) {\n var _this$props5 = this.props,\n points = _this$props5.points,\n isAnimationActive = _this$props5.isAnimationActive;\n var _this$state2 = this.state,\n prevPoints = _this$state2.prevPoints,\n totalLength = _this$state2.totalLength;\n if (isAnimationActive && points && points.length && (!prevPoints && totalLength > 0 || !isEqual(prevPoints, points))) {\n return this.renderCurveWithAnimation(needClip, clipPathId);\n }\n return this.renderCurveStatically(points, needClip, clipPathId);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _filterProps;\n var _this$props6 = this.props,\n hide = _this$props6.hide,\n dot = _this$props6.dot,\n points = _this$props6.points,\n className = _this$props6.className,\n xAxis = _this$props6.xAxis,\n yAxis = _this$props6.yAxis,\n top = _this$props6.top,\n left = _this$props6.left,\n width = _this$props6.width,\n height = _this$props6.height,\n isAnimationActive = _this$props6.isAnimationActive,\n id = _this$props6.id;\n if (hide || !points || !points.length) {\n return null;\n }\n var isAnimationFinished = this.state.isAnimationFinished;\n var hasSinglePoint = points.length === 1;\n var layerClass = clsx('recharts-line', className);\n var needClipX = xAxis && xAxis.allowDataOverflow;\n var needClipY = yAxis && yAxis.allowDataOverflow;\n var needClip = needClipX || needClipY;\n var clipPathId = isNil(id) ? this.id : id;\n var _ref2 = (_filterProps = filterProps(dot, false)) !== null && _filterProps !== void 0 ? _filterProps : {\n r: 3,\n strokeWidth: 2\n },\n _ref2$r = _ref2.r,\n r = _ref2$r === void 0 ? 3 : _ref2$r,\n _ref2$strokeWidth = _ref2.strokeWidth,\n strokeWidth = _ref2$strokeWidth === void 0 ? 2 : _ref2$strokeWidth;\n var _ref3 = hasClipDot(dot) ? dot : {},\n _ref3$clipDot = _ref3.clipDot,\n clipDot = _ref3$clipDot === void 0 ? true : _ref3$clipDot;\n var dotSize = r * 2 + strokeWidth;\n return /*#__PURE__*/React.createElement(Layer, {\n className: layerClass\n }, needClipX || needClipY ? /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clipPath-\".concat(clipPathId)\n }, /*#__PURE__*/React.createElement(\"rect\", {\n x: needClipX ? left : left - width / 2,\n y: needClipY ? top : top - height / 2,\n width: needClipX ? width : width * 2,\n height: needClipY ? height : height * 2\n })), !clipDot && /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clipPath-dots-\".concat(clipPathId)\n }, /*#__PURE__*/React.createElement(\"rect\", {\n x: left - dotSize / 2,\n y: top - dotSize / 2,\n width: width + dotSize,\n height: height + dotSize\n }))) : null, !hasSinglePoint && this.renderCurve(needClip, clipPathId), this.renderErrorBar(needClip, clipPathId), (hasSinglePoint || dot) && this.renderDots(needClip, clipDot, clipPathId), (!isAnimationActive || isAnimationFinished) && LabelList.renderCallByParent(this.props, points));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n if (nextProps.animationId !== prevState.prevAnimationId) {\n return {\n prevAnimationId: nextProps.animationId,\n curPoints: nextProps.points,\n prevPoints: prevState.curPoints\n };\n }\n if (nextProps.points !== prevState.curPoints) {\n return {\n curPoints: nextProps.points\n };\n }\n return null;\n }\n }, {\n key: \"repeat\",\n value: function repeat(lines, count) {\n var linesUnit = lines.length % 2 !== 0 ? [].concat(_toConsumableArray(lines), [0]) : lines;\n var result = [];\n for (var i = 0; i < count; ++i) {\n result = [].concat(_toConsumableArray(result), _toConsumableArray(linesUnit));\n }\n return result;\n }\n }, {\n key: \"renderDotItem\",\n value: function renderDotItem(option, props) {\n var dotItem;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n dotItem = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n dotItem = option(props);\n } else {\n var key = props.key,\n dotProps = _objectWithoutProperties(props, _excluded2);\n var className = clsx('recharts-line-dot', typeof option !== 'boolean' ? option.className : '');\n dotItem = /*#__PURE__*/React.createElement(Dot, _extends({\n key: key\n }, dotProps, {\n className: className\n }));\n }\n return dotItem;\n }\n }]);\n}(PureComponent);\n_defineProperty(Line, \"displayName\", 'Line');\n_defineProperty(Line, \"defaultProps\", {\n xAxisId: 0,\n yAxisId: 0,\n connectNulls: false,\n activeDot: true,\n dot: true,\n legendType: 'line',\n stroke: '#3182bd',\n strokeWidth: 1,\n fill: '#fff',\n points: [],\n isAnimationActive: !Global.isSsr,\n animateNewValues: true,\n animationBegin: 0,\n animationDuration: 1500,\n animationEasing: 'ease',\n hide: false,\n label: false\n});\n/**\n * Compose the data of each group\n * @param {Object} props The props from the component\n * @param {Object} xAxis The configuration of x-axis\n * @param {Object} yAxis The configuration of y-axis\n * @param {String} dataKey The unique key of a group\n * @return {Array} Composed data\n */\n_defineProperty(Line, \"getComposedData\", function (_ref4) {\n var props = _ref4.props,\n xAxis = _ref4.xAxis,\n yAxis = _ref4.yAxis,\n xAxisTicks = _ref4.xAxisTicks,\n yAxisTicks = _ref4.yAxisTicks,\n dataKey = _ref4.dataKey,\n bandSize = _ref4.bandSize,\n displayedData = _ref4.displayedData,\n offset = _ref4.offset;\n var layout = props.layout;\n var points = displayedData.map(function (entry, index) {\n var value = getValueByDataKey(entry, dataKey);\n if (layout === 'horizontal') {\n return {\n x: getCateCoordinateOfLine({\n axis: xAxis,\n ticks: xAxisTicks,\n bandSize: bandSize,\n entry: entry,\n index: index\n }),\n y: isNil(value) ? null : yAxis.scale(value),\n value: value,\n payload: entry\n };\n }\n return {\n x: isNil(value) ? null : xAxis.scale(value),\n y: getCateCoordinateOfLine({\n axis: yAxis,\n ticks: yAxisTicks,\n bandSize: bandSize,\n entry: entry,\n index: index\n }),\n value: value,\n payload: entry\n };\n });\n return _objectSpread({\n points: points,\n layout: layout\n }, offset);\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;wFAAI,IAAY;CAAC;CAAQ;CAAU;CAAgB;CAAM,EACvD,IAAa,CAAC,MAAM;AACtB,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,EAAyB,GAAQ,GAAU;AAAE,KAAI,KAAU,KAAM,QAAO,EAAE;CAAE,IAAI,IAAS,EAA8B,GAAQ,EAAS,EAAM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,EAAO;CAC3B,kBAAkB;CAClB,gBAAgB;CAChB,mBAAmB;CACnB,iBAAiB;CACjB,MAAM;CACN,OAAO;CACR,CAAC,EASF,EAAgB,GAAM,mBAAmB,SAAU,GAAO;CACxD,IAAI,IAAQ,EAAM,OAChB,IAAQ,EAAM,OACd,IAAQ,EAAM,OACd,IAAa,EAAM,YACnB,IAAa,EAAM,YACnB,IAAU,EAAM,SAChB,IAAW,EAAM,UACjB,IAAgB,EAAM,eACtB,IAAS,EAAM,QACb,IAAS,EAAM;AA8BnB,QAAO,EAAc;EACnB,QA9BW,EAAc,IAAI,SAAU,GAAO,GAAO;GACrD,IAAI,IAAQ,EAAkB,GAAO,EAAQ;AAe7C,UAdI,MAAW,eACN;IACL,GAAG,EAAwB;KACzB,MAAM;KACN,OAAO;KACG;KACH;KACA;KACR,CAAC;IACF,IAAA,GAAA,EAAA,SAAS,EAAM,GAAG,OAAO,EAAM,MAAM,EAAM;IACpC;IACP,SAAS;IACV,GAEI;IACL,IAAA,GAAA,EAAA,SAAS,EAAM,GAAG,OAAO,EAAM,MAAM,EAAM;IAC3C,GAAG,EAAwB;KACzB,MAAM;KACN,OAAO;KACG;KACH;KACA;KACR,CAAC;IACK;IACP,SAAS;IACV;IACD;EAGQ;EACT,EAAE,EAAO;EACV"}
1
+ {"version":3,"file":"Line.js","names":["Animate"],"sources":["../../../../../node_modules/recharts/es6/cartesian/Line.js"],"sourcesContent":["var _excluded = [\"type\", \"layout\", \"connectNulls\", \"ref\"],\n _excluded2 = [\"key\"];\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 _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 _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _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 Line\n */\nimport React, { PureComponent } from 'react';\nimport Animate from 'react-smooth';\nimport isFunction from 'lodash/isFunction';\nimport isNil from 'lodash/isNil';\nimport isEqual from 'lodash/isEqual';\nimport clsx from 'clsx';\nimport { Curve } from '../shape/Curve';\nimport { Dot } from '../shape/Dot';\nimport { Layer } from '../container/Layer';\nimport { LabelList } from '../component/LabelList';\nimport { ErrorBar } from './ErrorBar';\nimport { uniqueId, interpolateNumber } from '../util/DataUtils';\nimport { findAllByType, filterProps, hasClipDot } from '../util/ReactUtils';\nimport { Global } from '../util/Global';\nimport { getCateCoordinateOfLine, getValueByDataKey } from '../util/ChartUtils';\nexport var Line = /*#__PURE__*/function (_PureComponent) {\n function Line() {\n var _this;\n _classCallCheck(this, Line);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, Line, [].concat(args));\n _defineProperty(_this, \"state\", {\n isAnimationFinished: true,\n totalLength: 0\n });\n _defineProperty(_this, \"generateSimpleStrokeDasharray\", function (totalLength, length) {\n return \"\".concat(length, \"px \").concat(totalLength - length, \"px\");\n });\n _defineProperty(_this, \"getStrokeDasharray\", function (length, totalLength, lines) {\n var lineLength = lines.reduce(function (pre, next) {\n return pre + next;\n });\n\n // if lineLength is 0 return the default when no strokeDasharray is provided\n if (!lineLength) {\n return _this.generateSimpleStrokeDasharray(totalLength, length);\n }\n var count = Math.floor(length / lineLength);\n var remainLength = length % lineLength;\n var restLength = totalLength - length;\n var remainLines = [];\n for (var i = 0, sum = 0; i < lines.length; sum += lines[i], ++i) {\n if (sum + lines[i] > remainLength) {\n remainLines = [].concat(_toConsumableArray(lines.slice(0, i)), [remainLength - sum]);\n break;\n }\n }\n var emptyLines = remainLines.length % 2 === 0 ? [0, restLength] : [restLength];\n return [].concat(_toConsumableArray(Line.repeat(lines, count)), _toConsumableArray(remainLines), emptyLines).map(function (line) {\n return \"\".concat(line, \"px\");\n }).join(', ');\n });\n _defineProperty(_this, \"id\", uniqueId('recharts-line-'));\n _defineProperty(_this, \"pathRef\", function (node) {\n _this.mainCurve = node;\n });\n _defineProperty(_this, \"handleAnimationEnd\", function () {\n _this.setState({\n isAnimationFinished: true\n });\n if (_this.props.onAnimationEnd) {\n _this.props.onAnimationEnd();\n }\n });\n _defineProperty(_this, \"handleAnimationStart\", function () {\n _this.setState({\n isAnimationFinished: false\n });\n if (_this.props.onAnimationStart) {\n _this.props.onAnimationStart();\n }\n });\n return _this;\n }\n _inherits(Line, _PureComponent);\n return _createClass(Line, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if (!this.props.isAnimationActive) {\n return;\n }\n var totalLength = this.getTotalLength();\n this.setState({\n totalLength: totalLength\n });\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n if (!this.props.isAnimationActive) {\n return;\n }\n var totalLength = this.getTotalLength();\n if (totalLength !== this.state.totalLength) {\n this.setState({\n totalLength: totalLength\n });\n }\n }\n }, {\n key: \"getTotalLength\",\n value: function getTotalLength() {\n var curveDom = this.mainCurve;\n try {\n return curveDom && curveDom.getTotalLength && curveDom.getTotalLength() || 0;\n } catch (err) {\n return 0;\n }\n }\n }, {\n key: \"renderErrorBar\",\n value: function renderErrorBar(needClip, clipPathId) {\n if (this.props.isAnimationActive && !this.state.isAnimationFinished) {\n return null;\n }\n var _this$props = this.props,\n points = _this$props.points,\n xAxis = _this$props.xAxis,\n yAxis = _this$props.yAxis,\n layout = _this$props.layout,\n children = _this$props.children;\n var errorBarItems = findAllByType(children, ErrorBar);\n if (!errorBarItems) {\n return null;\n }\n var dataPointFormatter = function dataPointFormatter(dataPoint, dataKey) {\n return {\n x: dataPoint.x,\n y: dataPoint.y,\n value: dataPoint.value,\n errorVal: getValueByDataKey(dataPoint.payload, dataKey)\n };\n };\n var errorBarProps = {\n clipPath: needClip ? \"url(#clipPath-\".concat(clipPathId, \")\") : null\n };\n return /*#__PURE__*/React.createElement(Layer, errorBarProps, errorBarItems.map(function (item) {\n return /*#__PURE__*/React.cloneElement(item, {\n key: \"bar-\".concat(item.props.dataKey),\n data: points,\n xAxis: xAxis,\n yAxis: yAxis,\n layout: layout,\n dataPointFormatter: dataPointFormatter\n });\n }));\n }\n }, {\n key: \"renderDots\",\n value: function renderDots(needClip, clipDot, clipPathId) {\n var isAnimationActive = this.props.isAnimationActive;\n if (isAnimationActive && !this.state.isAnimationFinished) {\n return null;\n }\n var _this$props2 = this.props,\n dot = _this$props2.dot,\n points = _this$props2.points,\n dataKey = _this$props2.dataKey;\n var lineProps = filterProps(this.props, false);\n var customDotProps = filterProps(dot, true);\n var dots = points.map(function (entry, i) {\n var dotProps = _objectSpread(_objectSpread(_objectSpread({\n key: \"dot-\".concat(i),\n r: 3\n }, lineProps), customDotProps), {}, {\n index: i,\n cx: entry.x,\n cy: entry.y,\n value: entry.value,\n dataKey: dataKey,\n payload: entry.payload,\n points: points\n });\n return Line.renderDotItem(dot, dotProps);\n });\n var dotsProps = {\n clipPath: needClip ? \"url(#clipPath-\".concat(clipDot ? '' : 'dots-').concat(clipPathId, \")\") : null\n };\n return /*#__PURE__*/React.createElement(Layer, _extends({\n className: \"recharts-line-dots\",\n key: \"dots\"\n }, dotsProps), dots);\n }\n }, {\n key: \"renderCurveStatically\",\n value: function renderCurveStatically(points, needClip, clipPathId, props) {\n var _this$props3 = this.props,\n type = _this$props3.type,\n layout = _this$props3.layout,\n connectNulls = _this$props3.connectNulls,\n ref = _this$props3.ref,\n others = _objectWithoutProperties(_this$props3, _excluded);\n var curveProps = _objectSpread(_objectSpread(_objectSpread({}, filterProps(others, true)), {}, {\n fill: 'none',\n className: 'recharts-line-curve',\n clipPath: needClip ? \"url(#clipPath-\".concat(clipPathId, \")\") : null,\n points: points\n }, props), {}, {\n type: type,\n layout: layout,\n connectNulls: connectNulls\n });\n return /*#__PURE__*/React.createElement(Curve, _extends({}, curveProps, {\n pathRef: this.pathRef\n }));\n }\n }, {\n key: \"renderCurveWithAnimation\",\n value: function renderCurveWithAnimation(needClip, clipPathId) {\n var _this2 = this;\n var _this$props4 = this.props,\n points = _this$props4.points,\n strokeDasharray = _this$props4.strokeDasharray,\n isAnimationActive = _this$props4.isAnimationActive,\n animationBegin = _this$props4.animationBegin,\n animationDuration = _this$props4.animationDuration,\n animationEasing = _this$props4.animationEasing,\n animationId = _this$props4.animationId,\n animateNewValues = _this$props4.animateNewValues,\n width = _this$props4.width,\n height = _this$props4.height;\n var _this$state = this.state,\n prevPoints = _this$state.prevPoints,\n totalLength = _this$state.totalLength;\n return /*#__PURE__*/React.createElement(Animate, {\n begin: animationBegin,\n duration: animationDuration,\n isActive: isAnimationActive,\n easing: animationEasing,\n from: {\n t: 0\n },\n to: {\n t: 1\n },\n key: \"line-\".concat(animationId),\n onAnimationEnd: this.handleAnimationEnd,\n onAnimationStart: this.handleAnimationStart\n }, function (_ref) {\n var t = _ref.t;\n if (prevPoints) {\n var prevPointsDiffFactor = prevPoints.length / points.length;\n var stepData = points.map(function (entry, index) {\n var prevPointIndex = Math.floor(index * prevPointsDiffFactor);\n if (prevPoints[prevPointIndex]) {\n var prev = prevPoints[prevPointIndex];\n var interpolatorX = interpolateNumber(prev.x, entry.x);\n var interpolatorY = interpolateNumber(prev.y, entry.y);\n return _objectSpread(_objectSpread({}, entry), {}, {\n x: interpolatorX(t),\n y: interpolatorY(t)\n });\n }\n\n // magic number of faking previous x and y location\n if (animateNewValues) {\n var _interpolatorX = interpolateNumber(width * 2, entry.x);\n var _interpolatorY = interpolateNumber(height / 2, entry.y);\n return _objectSpread(_objectSpread({}, entry), {}, {\n x: _interpolatorX(t),\n y: _interpolatorY(t)\n });\n }\n return _objectSpread(_objectSpread({}, entry), {}, {\n x: entry.x,\n y: entry.y\n });\n });\n return _this2.renderCurveStatically(stepData, needClip, clipPathId);\n }\n var interpolator = interpolateNumber(0, totalLength);\n var curLength = interpolator(t);\n var currentStrokeDasharray;\n if (strokeDasharray) {\n var lines = \"\".concat(strokeDasharray).split(/[,\\s]+/gim).map(function (num) {\n return parseFloat(num);\n });\n currentStrokeDasharray = _this2.getStrokeDasharray(curLength, totalLength, lines);\n } else {\n currentStrokeDasharray = _this2.generateSimpleStrokeDasharray(totalLength, curLength);\n }\n return _this2.renderCurveStatically(points, needClip, clipPathId, {\n strokeDasharray: currentStrokeDasharray\n });\n });\n }\n }, {\n key: \"renderCurve\",\n value: function renderCurve(needClip, clipPathId) {\n var _this$props5 = this.props,\n points = _this$props5.points,\n isAnimationActive = _this$props5.isAnimationActive;\n var _this$state2 = this.state,\n prevPoints = _this$state2.prevPoints,\n totalLength = _this$state2.totalLength;\n if (isAnimationActive && points && points.length && (!prevPoints && totalLength > 0 || !isEqual(prevPoints, points))) {\n return this.renderCurveWithAnimation(needClip, clipPathId);\n }\n return this.renderCurveStatically(points, needClip, clipPathId);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _filterProps;\n var _this$props6 = this.props,\n hide = _this$props6.hide,\n dot = _this$props6.dot,\n points = _this$props6.points,\n className = _this$props6.className,\n xAxis = _this$props6.xAxis,\n yAxis = _this$props6.yAxis,\n top = _this$props6.top,\n left = _this$props6.left,\n width = _this$props6.width,\n height = _this$props6.height,\n isAnimationActive = _this$props6.isAnimationActive,\n id = _this$props6.id;\n if (hide || !points || !points.length) {\n return null;\n }\n var isAnimationFinished = this.state.isAnimationFinished;\n var hasSinglePoint = points.length === 1;\n var layerClass = clsx('recharts-line', className);\n var needClipX = xAxis && xAxis.allowDataOverflow;\n var needClipY = yAxis && yAxis.allowDataOverflow;\n var needClip = needClipX || needClipY;\n var clipPathId = isNil(id) ? this.id : id;\n var _ref2 = (_filterProps = filterProps(dot, false)) !== null && _filterProps !== void 0 ? _filterProps : {\n r: 3,\n strokeWidth: 2\n },\n _ref2$r = _ref2.r,\n r = _ref2$r === void 0 ? 3 : _ref2$r,\n _ref2$strokeWidth = _ref2.strokeWidth,\n strokeWidth = _ref2$strokeWidth === void 0 ? 2 : _ref2$strokeWidth;\n var _ref3 = hasClipDot(dot) ? dot : {},\n _ref3$clipDot = _ref3.clipDot,\n clipDot = _ref3$clipDot === void 0 ? true : _ref3$clipDot;\n var dotSize = r * 2 + strokeWidth;\n return /*#__PURE__*/React.createElement(Layer, {\n className: layerClass\n }, needClipX || needClipY ? /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clipPath-\".concat(clipPathId)\n }, /*#__PURE__*/React.createElement(\"rect\", {\n x: needClipX ? left : left - width / 2,\n y: needClipY ? top : top - height / 2,\n width: needClipX ? width : width * 2,\n height: needClipY ? height : height * 2\n })), !clipDot && /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clipPath-dots-\".concat(clipPathId)\n }, /*#__PURE__*/React.createElement(\"rect\", {\n x: left - dotSize / 2,\n y: top - dotSize / 2,\n width: width + dotSize,\n height: height + dotSize\n }))) : null, !hasSinglePoint && this.renderCurve(needClip, clipPathId), this.renderErrorBar(needClip, clipPathId), (hasSinglePoint || dot) && this.renderDots(needClip, clipDot, clipPathId), (!isAnimationActive || isAnimationFinished) && LabelList.renderCallByParent(this.props, points));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n if (nextProps.animationId !== prevState.prevAnimationId) {\n return {\n prevAnimationId: nextProps.animationId,\n curPoints: nextProps.points,\n prevPoints: prevState.curPoints\n };\n }\n if (nextProps.points !== prevState.curPoints) {\n return {\n curPoints: nextProps.points\n };\n }\n return null;\n }\n }, {\n key: \"repeat\",\n value: function repeat(lines, count) {\n var linesUnit = lines.length % 2 !== 0 ? [].concat(_toConsumableArray(lines), [0]) : lines;\n var result = [];\n for (var i = 0; i < count; ++i) {\n result = [].concat(_toConsumableArray(result), _toConsumableArray(linesUnit));\n }\n return result;\n }\n }, {\n key: \"renderDotItem\",\n value: function renderDotItem(option, props) {\n var dotItem;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n dotItem = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n dotItem = option(props);\n } else {\n var key = props.key,\n dotProps = _objectWithoutProperties(props, _excluded2);\n var className = clsx('recharts-line-dot', typeof option !== 'boolean' ? option.className : '');\n dotItem = /*#__PURE__*/React.createElement(Dot, _extends({\n key: key\n }, dotProps, {\n className: className\n }));\n }\n return dotItem;\n }\n }]);\n}(PureComponent);\n_defineProperty(Line, \"displayName\", 'Line');\n_defineProperty(Line, \"defaultProps\", {\n xAxisId: 0,\n yAxisId: 0,\n connectNulls: false,\n activeDot: true,\n dot: true,\n legendType: 'line',\n stroke: '#3182bd',\n strokeWidth: 1,\n fill: '#fff',\n points: [],\n isAnimationActive: !Global.isSsr,\n animateNewValues: true,\n animationBegin: 0,\n animationDuration: 1500,\n animationEasing: 'ease',\n hide: false,\n label: false\n});\n/**\n * Compose the data of each group\n * @param {Object} props The props from the component\n * @param {Object} xAxis The configuration of x-axis\n * @param {Object} yAxis The configuration of y-axis\n * @param {String} dataKey The unique key of a group\n * @return {Array} Composed data\n */\n_defineProperty(Line, \"getComposedData\", function (_ref4) {\n var props = _ref4.props,\n xAxis = _ref4.xAxis,\n yAxis = _ref4.yAxis,\n xAxisTicks = _ref4.xAxisTicks,\n yAxisTicks = _ref4.yAxisTicks,\n dataKey = _ref4.dataKey,\n bandSize = _ref4.bandSize,\n displayedData = _ref4.displayedData,\n offset = _ref4.offset;\n var layout = props.layout;\n var points = displayedData.map(function (entry, index) {\n var value = getValueByDataKey(entry, dataKey);\n if (layout === 'horizontal') {\n return {\n x: getCateCoordinateOfLine({\n axis: xAxis,\n ticks: xAxisTicks,\n bandSize: bandSize,\n entry: entry,\n index: index\n }),\n y: isNil(value) ? null : yAxis.scale(value),\n value: value,\n payload: entry\n };\n }\n return {\n x: isNil(value) ? null : xAxis.scale(value),\n y: getCateCoordinateOfLine({\n axis: yAxis,\n ticks: yAxisTicks,\n bandSize: bandSize,\n entry: entry,\n index: index\n }),\n value: value,\n payload: entry\n };\n });\n return _objectSpread({\n points: points,\n layout: layout\n }, offset);\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;wFAAI,IAAY;CAAC;CAAQ;CAAU;CAAgB;AAAK,GACtD,IAAa,CAAC,KAAK;AACrB,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,EAAyB,GA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AC;IACM;IACP,SAAS;GACX;EACF,CAEe;EACL;CACV,GAAG,CAAM;AACX,CAAC"}
@@ -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,GA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O,GAAO,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,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