@pibit.ai/cure-design-system 0.6.42 → 0.6.44

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 (333) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/index.js +4 -0
  3. package/dist/_virtual/index2.js +5 -0
  4. package/dist/_virtual/index3.js +7 -0
  5. package/dist/_virtual/index4.js +4 -0
  6. package/dist/_virtual/index5.js +4 -0
  7. package/dist/_virtual/react-is.development.js +4 -0
  8. package/dist/_virtual/react-is.production.min.js +4 -0
  9. package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
  10. package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
  11. package/dist/_virtual/use-sync-external-store-with-selector.development.js +4 -0
  12. package/dist/_virtual/use-sync-external-store-with-selector.production.js +4 -0
  13. package/dist/_virtual/with-selector.development.js +4 -0
  14. package/dist/_virtual/with-selector.js +5 -0
  15. package/dist/_virtual/with-selector.production.js +4 -0
  16. package/dist/_virtual/with-selector2.js +4 -0
  17. package/dist/_virtual/with-selector3.js +2 -0
  18. package/dist/_virtual/with-selector4.js +4 -0
  19. package/dist/index.d.ts +1 -0
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +127 -125
  22. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +846 -0
  23. package/dist/node_modules/d3-array/src/ascending.js +6 -0
  24. package/dist/node_modules/d3-array/src/bisect.js +9 -0
  25. package/dist/node_modules/d3-array/src/bisector.js +37 -0
  26. package/dist/node_modules/d3-array/src/descending.js +6 -0
  27. package/dist/node_modules/d3-array/src/max.js +9 -0
  28. package/dist/node_modules/d3-array/src/min.js +9 -0
  29. package/dist/node_modules/d3-array/src/number.js +11 -0
  30. package/dist/node_modules/d3-array/src/quantile.js +24 -0
  31. package/dist/node_modules/d3-array/src/quickselect.js +25 -0
  32. package/dist/node_modules/d3-array/src/range.js +9 -0
  33. package/dist/node_modules/d3-array/src/sort.js +16 -0
  34. package/dist/node_modules/d3-array/src/ticks.js +32 -0
  35. package/dist/node_modules/d3-color/src/color.js +305 -0
  36. package/dist/node_modules/d3-color/src/define.js +12 -0
  37. package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
  38. package/dist/node_modules/d3-format/src/exponent.js +7 -0
  39. package/dist/node_modules/d3-format/src/formatDecimal.js +15 -0
  40. package/dist/node_modules/d3-format/src/formatGroup.js +10 -0
  41. package/dist/node_modules/d3-format/src/formatNumerals.js +10 -0
  42. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +12 -0
  43. package/dist/node_modules/d3-format/src/formatRounded.js +10 -0
  44. package/dist/node_modules/d3-format/src/formatSpecifier.js +28 -0
  45. package/dist/node_modules/d3-format/src/formatTrim.js +19 -0
  46. package/dist/node_modules/d3-format/src/formatTypes.js +21 -0
  47. package/dist/node_modules/d3-format/src/identity.js +6 -0
  48. package/dist/node_modules/d3-format/src/locale.js +68 -0
  49. package/dist/node_modules/d3-format/src/precisionFixed.js +7 -0
  50. package/dist/node_modules/d3-format/src/precisionPrefix.js +7 -0
  51. package/dist/node_modules/d3-format/src/precisionRound.js +7 -0
  52. package/dist/node_modules/d3-interpolate/src/array.js +13 -0
  53. package/dist/node_modules/d3-interpolate/src/color.js +24 -0
  54. package/dist/node_modules/d3-interpolate/src/constant.js +4 -0
  55. package/dist/node_modules/d3-interpolate/src/date.js +9 -0
  56. package/dist/node_modules/d3-interpolate/src/number.js +8 -0
  57. package/dist/node_modules/d3-interpolate/src/numberArray.js +15 -0
  58. package/dist/node_modules/d3-interpolate/src/object.js +14 -0
  59. package/dist/node_modules/d3-interpolate/src/piecewise.js +12 -0
  60. package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
  61. package/dist/node_modules/d3-interpolate/src/round.js +8 -0
  62. package/dist/node_modules/d3-interpolate/src/string.js +24 -0
  63. package/dist/node_modules/d3-interpolate/src/value.js +16 -0
  64. package/dist/node_modules/d3-path/src/path.js +64 -0
  65. package/dist/node_modules/d3-scale/src/band.js +51 -0
  66. package/dist/node_modules/d3-scale/src/constant.js +8 -0
  67. package/dist/node_modules/d3-scale/src/continuous.js +75 -0
  68. package/dist/node_modules/d3-scale/src/diverging.js +68 -0
  69. package/dist/node_modules/d3-scale/src/identity.js +18 -0
  70. package/dist/node_modules/d3-scale/src/init.js +32 -0
  71. package/dist/node_modules/d3-scale/src/linear.js +39 -0
  72. package/dist/node_modules/d3-scale/src/log.js +86 -0
  73. package/dist/node_modules/d3-scale/src/nice.js +8 -0
  74. package/dist/node_modules/d3-scale/src/number.js +6 -0
  75. package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
  76. package/dist/node_modules/d3-scale/src/pow.js +37 -0
  77. package/dist/node_modules/d3-scale/src/quantile.js +38 -0
  78. package/dist/node_modules/d3-scale/src/quantize.js +31 -0
  79. package/dist/node_modules/d3-scale/src/radial.js +37 -0
  80. package/dist/node_modules/d3-scale/src/sequential.js +70 -0
  81. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +28 -0
  82. package/dist/node_modules/d3-scale/src/symlog.js +29 -0
  83. package/dist/node_modules/d3-scale/src/threshold.js +23 -0
  84. package/dist/node_modules/d3-scale/src/tickFormat.js +32 -0
  85. package/dist/node_modules/d3-scale/src/time.js +46 -0
  86. package/dist/node_modules/d3-scale/src/utcTime.js +17 -0
  87. package/dist/node_modules/d3-shape/src/area.js +56 -0
  88. package/dist/node_modules/d3-shape/src/array.js +6 -0
  89. package/dist/node_modules/d3-shape/src/constant.js +8 -0
  90. package/dist/node_modules/d3-shape/src/curve/basis.js +60 -0
  91. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +51 -0
  92. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
  93. package/dist/node_modules/d3-shape/src/curve/bump.js +43 -0
  94. package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
  95. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +23 -0
  96. package/dist/node_modules/d3-shape/src/curve/monotone.js +93 -0
  97. package/dist/node_modules/d3-shape/src/curve/natural.js +41 -0
  98. package/dist/node_modules/d3-shape/src/curve/step.js +51 -0
  99. package/dist/node_modules/d3-shape/src/line.js +29 -0
  100. package/dist/node_modules/d3-shape/src/noop.js +5 -0
  101. package/dist/node_modules/d3-shape/src/offset/expand.js +13 -0
  102. package/dist/node_modules/d3-shape/src/offset/none.js +9 -0
  103. package/dist/node_modules/d3-shape/src/offset/silhouette.js +13 -0
  104. package/dist/node_modules/d3-shape/src/offset/wiggle.js +19 -0
  105. package/dist/node_modules/d3-shape/src/order/none.js +7 -0
  106. package/dist/node_modules/d3-shape/src/path.js +18 -0
  107. package/dist/node_modules/d3-shape/src/point.js +10 -0
  108. package/dist/node_modules/d3-shape/src/stack.js +35 -0
  109. package/dist/node_modules/d3-time/src/day.js +26 -0
  110. package/dist/node_modules/d3-time/src/duration.js +10 -0
  111. package/dist/node_modules/d3-time/src/hour.js +18 -0
  112. package/dist/node_modules/d3-time/src/interval.js +31 -0
  113. package/dist/node_modules/d3-time/src/millisecond.js +14 -0
  114. package/dist/node_modules/d3-time/src/minute.js +18 -0
  115. package/dist/node_modules/d3-time/src/month.js +17 -0
  116. package/dist/node_modules/d3-time/src/second.js +11 -0
  117. package/dist/node_modules/d3-time/src/ticks.js +54 -0
  118. package/dist/node_modules/d3-time/src/week.js +48 -0
  119. package/dist/node_modules/d3-time/src/year.js +27 -0
  120. package/dist/node_modules/d3-time-format/src/defaultLocale.js +20 -0
  121. package/dist/node_modules/d3-time-format/src/locale.js +478 -0
  122. package/dist/node_modules/decimal.js-light/decimal.js +472 -0
  123. package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +6 -0
  124. package/dist/node_modules/es-toolkit/dist/array/flatten.js +12 -0
  125. package/dist/node_modules/es-toolkit/dist/compat/_internal/baseToString.js +16 -0
  126. package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +17 -0
  127. package/dist/node_modules/es-toolkit/dist/compat/_internal/hasOwn.js +7 -0
  128. package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +15 -0
  129. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +14 -0
  130. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +10 -0
  131. package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +8 -0
  132. package/dist/node_modules/es-toolkit/dist/compat/_internal/objectValues.js +8 -0
  133. package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +7 -0
  134. package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js +35 -0
  135. package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js +10 -0
  136. package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +16 -0
  137. package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +12 -0
  138. package/dist/node_modules/es-toolkit/dist/compat/math/range.js +12 -0
  139. package/dist/node_modules/es-toolkit/dist/compat/object/get.js +39 -0
  140. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +7 -0
  141. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +6 -0
  142. package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +6 -0
  143. package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +6 -0
  144. package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +7 -0
  145. package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +7 -0
  146. package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +38 -0
  147. package/dist/node_modules/es-toolkit/dist/compat/util/toString.js +7 -0
  148. package/dist/node_modules/es-toolkit/dist/function/debounce.js +29 -0
  149. package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +6 -0
  150. package/dist/node_modules/eventemitter3/index.js +5 -0
  151. package/dist/node_modules/eventemitter3/index2.js +111 -0
  152. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +5 -5
  153. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +9 -9
  154. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +3 -3
  155. package/dist/node_modules/immer/dist/immer.js +575 -0
  156. package/dist/node_modules/internmap/src/index.js +35 -0
  157. package/dist/node_modules/react-is/cjs/react-is.development.js +98 -0
  158. package/dist/node_modules/react-is/cjs/react-is.production.min.js +81 -0
  159. package/dist/node_modules/react-is/index.js +10 -0
  160. package/dist/node_modules/react-redux/dist/react-redux.js +137 -0
  161. package/dist/node_modules/recharts/es6/animation/AnimatedItems.js +78 -0
  162. package/dist/node_modules/recharts/es6/animation/AnimationControllerImpl.js +21 -0
  163. package/dist/node_modules/recharts/es6/animation/AnimationHandle.js +179 -0
  164. package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js +84 -0
  165. package/dist/node_modules/recharts/es6/animation/easing.js +89 -0
  166. package/dist/node_modules/recharts/es6/animation/matchBy.js +105 -0
  167. package/dist/node_modules/recharts/es6/animation/timeoutController.js +13 -0
  168. package/dist/node_modules/recharts/es6/animation/useAnimationController.js +11 -0
  169. package/dist/node_modules/recharts/es6/animation/useAnimationStartSnapshot.js +20 -0
  170. package/dist/node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js +14 -0
  171. package/dist/node_modules/recharts/es6/cartesian/getCartesianPosition.js +141 -0
  172. package/dist/node_modules/recharts/es6/chart/CategoricalChart.js +62 -0
  173. package/dist/node_modules/recharts/es6/chart/PieChart.js +62 -0
  174. package/dist/node_modules/recharts/es6/chart/PolarChart.js +144 -0
  175. package/dist/node_modules/recharts/es6/chart/RechartsWrapper.js +297 -0
  176. package/dist/node_modules/recharts/es6/component/Cell.js +5 -0
  177. package/dist/node_modules/recharts/es6/component/Label.js +262 -0
  178. package/dist/node_modules/recharts/es6/component/LabelList.js +101 -0
  179. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +219 -0
  180. package/dist/node_modules/recharts/es6/component/Text.js +240 -0
  181. package/dist/node_modules/recharts/es6/component/responsiveContainerUtils.js +43 -0
  182. package/dist/node_modules/recharts/es6/container/ClipPathProvider.js +63 -0
  183. package/dist/node_modules/recharts/es6/container/Layer.js +42 -0
  184. package/dist/node_modules/recharts/es6/container/RootSurface.js +90 -0
  185. package/dist/node_modules/recharts/es6/container/Surface.js +51 -0
  186. package/dist/node_modules/recharts/es6/context/PanoramaContext.js +5 -0
  187. package/dist/node_modules/recharts/es6/context/RegisterGraphicalItemId.js +12 -0
  188. package/dist/node_modules/recharts/es6/context/accessibilityContext.js +8 -0
  189. package/dist/node_modules/recharts/es6/context/chartDataContext.js +14 -0
  190. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +44 -0
  191. package/dist/node_modules/recharts/es6/context/legendPortalContext.js +5 -0
  192. package/dist/node_modules/recharts/es6/context/tooltipContext.js +33 -0
  193. package/dist/node_modules/recharts/es6/context/tooltipPortalContext.js +5 -0
  194. package/dist/node_modules/recharts/es6/hooks.js +6 -0
  195. package/dist/node_modules/recharts/es6/polar/Pie.js +486 -0
  196. package/dist/node_modules/recharts/es6/polar/defaultPolarAngleAxisProps.js +13 -0
  197. package/dist/node_modules/recharts/es6/polar/defaultPolarRadiusAxisProps.js +15 -0
  198. package/dist/node_modules/recharts/es6/shape/Curve.js +128 -0
  199. package/dist/node_modules/recharts/es6/shape/Sector.js +151 -0
  200. package/dist/node_modules/recharts/es6/state/RechartsReduxContext.js +5 -0
  201. package/dist/node_modules/recharts/es6/state/RechartsStoreProvider.js +20 -0
  202. package/dist/node_modules/recharts/es6/state/ReportChartProps.js +12 -0
  203. package/dist/node_modules/recharts/es6/state/ReportEventSettings.js +13 -0
  204. package/dist/node_modules/recharts/es6/state/ReportMainChartProps.js +15 -0
  205. package/dist/node_modules/recharts/es6/state/ReportPolarOptions.js +12 -0
  206. package/dist/node_modules/recharts/es6/state/SetGraphicalItem.js +17 -0
  207. package/dist/node_modules/recharts/es6/state/SetLegendPayload.js +18 -0
  208. package/dist/node_modules/recharts/es6/state/SetTooltipEntrySettings.js +18 -0
  209. package/dist/node_modules/recharts/es6/state/brushSlice.js +27 -0
  210. package/dist/node_modules/recharts/es6/state/cartesianAxisSlice.js +148 -0
  211. package/dist/node_modules/recharts/es6/state/chartDataSlice.js +35 -0
  212. package/dist/node_modules/recharts/es6/state/errorBarSlice.js +26 -0
  213. package/dist/node_modules/recharts/es6/state/eventSettingsSlice.js +19 -0
  214. package/dist/node_modules/recharts/es6/state/externalEventsMiddleware.js +58 -0
  215. package/dist/node_modules/recharts/es6/state/graphicalItemsSlice.js +61 -0
  216. package/dist/node_modules/recharts/es6/state/hooks.js +19 -0
  217. package/dist/node_modules/recharts/es6/state/keyboardEventsMiddleware.js +119 -0
  218. package/dist/node_modules/recharts/es6/state/layoutSlice.js +38 -0
  219. package/dist/node_modules/recharts/es6/state/legendSlice.js +57 -0
  220. package/dist/node_modules/recharts/es6/state/mouseEventsMiddleware.js +52 -0
  221. package/dist/node_modules/recharts/es6/state/optionsSlice.js +28 -0
  222. package/dist/node_modules/recharts/es6/state/polarAxisSlice.js +31 -0
  223. package/dist/node_modules/recharts/es6/state/polarOptionsSlice.js +12 -0
  224. package/dist/node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js +6 -0
  225. package/dist/node_modules/recharts/es6/state/referenceElementsSlice.js +44 -0
  226. package/dist/node_modules/recharts/es6/state/renderedTicksSlice.js +26 -0
  227. package/dist/node_modules/recharts/es6/state/rootPropsSlice.js +28 -0
  228. package/dist/node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js +16 -0
  229. package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js +925 -0
  230. package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js +14 -0
  231. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js +9 -0
  232. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js +41 -0
  233. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAxisRangeWithReverse.js +7 -0
  234. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js +22 -0
  235. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js +27 -0
  236. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCoordinateForDefaultIndex.js +24 -0
  237. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js +20 -0
  238. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js +8 -0
  239. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js +20 -0
  240. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js +78 -0
  241. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js +137 -0
  242. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayloadConfigurations.js +20 -0
  243. package/dist/node_modules/recharts/es6/state/selectors/containerSelectors.js +7 -0
  244. package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js +27 -0
  245. package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js +11 -0
  246. package/dist/node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js +4 -0
  247. package/dist/node_modules/recharts/es6/state/selectors/pickAxisId.js +4 -0
  248. package/dist/node_modules/recharts/es6/state/selectors/pickAxisType.js +4 -0
  249. package/dist/node_modules/recharts/es6/state/selectors/pieSelectors.js +78 -0
  250. package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js +147 -0
  251. package/dist/node_modules/recharts/es6/state/selectors/polarSelectors.js +36 -0
  252. package/dist/node_modules/recharts/es6/state/selectors/rootPropsSelectors.js +10 -0
  253. package/dist/node_modules/recharts/es6/state/selectors/selectActivePropsFromChartPointer.js +11 -0
  254. package/dist/node_modules/recharts/es6/state/selectors/selectAllAxes.js +6 -0
  255. package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js +11 -0
  256. package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js +123 -0
  257. package/dist/node_modules/recharts/es6/state/selectors/selectPlotArea.js +15 -0
  258. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js +4 -0
  259. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js +8 -0
  260. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipEventType.js +17 -0
  261. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipPayloadSearcher.js +4 -0
  262. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipSettings.js +4 -0
  263. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipState.js +4 -0
  264. package/dist/node_modules/recharts/es6/state/selectors/selectors.js +62 -0
  265. package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js +107 -0
  266. package/dist/node_modules/recharts/es6/state/selectors/touchSelectors.js +15 -0
  267. package/dist/node_modules/recharts/es6/state/store.js +79 -0
  268. package/dist/node_modules/recharts/es6/state/tooltipSlice.js +106 -0
  269. package/dist/node_modules/recharts/es6/state/touchEventsMiddleware.js +72 -0
  270. package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js +6 -0
  271. package/dist/node_modules/recharts/es6/state/zIndexSlice.js +102 -0
  272. package/dist/node_modules/recharts/es6/synchronisation/useChartSynchronisation.js +183 -0
  273. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +71 -0
  274. package/dist/node_modules/recharts/es6/util/ChartUtils.js +185 -0
  275. package/dist/node_modules/recharts/es6/util/Constants.js +7 -0
  276. package/dist/node_modules/recharts/es6/util/DOMUtils.js +89 -0
  277. package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
  278. package/dist/node_modules/recharts/es6/util/Events.js +7 -0
  279. package/dist/node_modules/recharts/es6/util/Global.js +6 -0
  280. package/dist/node_modules/recharts/es6/util/LRUCache.js +44 -0
  281. package/dist/node_modules/recharts/es6/util/LogUtils.js +14 -0
  282. package/dist/node_modules/recharts/es6/util/PolarUtils.js +113 -0
  283. package/dist/node_modules/recharts/es6/util/ReactUtils.js +24 -0
  284. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +151 -0
  285. package/dist/node_modules/recharts/es6/util/createEventProxy.js +15 -0
  286. package/dist/node_modules/recharts/es6/util/excludeEventProps.js +10 -0
  287. package/dist/node_modules/recharts/es6/util/getActiveCoordinate.js +141 -0
  288. package/dist/node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js +10 -0
  289. package/dist/node_modules/recharts/es6/util/getClassNameFromUnknown.js +6 -0
  290. package/dist/node_modules/recharts/es6/util/getRelativeCoordinate.js +31 -0
  291. package/dist/node_modules/recharts/es6/util/getSliced.js +6 -0
  292. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +131 -0
  293. package/dist/node_modules/recharts/es6/util/isWellBehavedNumber.js +10 -0
  294. package/dist/node_modules/recharts/es6/util/propsAreEqual.js +43 -0
  295. package/dist/node_modules/recharts/es6/util/resolveDefaultProps.js +45 -0
  296. package/dist/node_modules/recharts/es6/util/round.js +17 -0
  297. package/dist/node_modules/recharts/es6/util/scale/RechartsScale.js +44 -0
  298. package/dist/node_modules/recharts/es6/util/scale/createCategoricalInverse.js +29 -0
  299. package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +119 -0
  300. package/dist/node_modules/recharts/es6/util/scale/util/arithmetic.js +14 -0
  301. package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +6 -0
  302. package/dist/node_modules/recharts/es6/util/svgPropertiesAndEvents.js +12 -0
  303. package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +340 -0
  304. package/dist/node_modules/recharts/es6/util/types.js +25 -0
  305. package/dist/node_modules/recharts/es6/util/useAnimationId.js +9 -0
  306. package/dist/node_modules/recharts/es6/util/useId.js +51 -0
  307. package/dist/node_modules/recharts/es6/util/usePrefersReducedMotion.js +58 -0
  308. package/dist/node_modules/recharts/es6/util/useReportScale.js +57 -0
  309. package/dist/node_modules/recharts/es6/util/useUniqueId.js +8 -0
  310. package/dist/node_modules/recharts/es6/zIndex/DefaultZIndexes.js +70 -0
  311. package/dist/node_modules/recharts/es6/zIndex/ZIndexLayer.js +47 -0
  312. package/dist/node_modules/recharts/es6/zIndex/ZIndexPortal.js +40 -0
  313. package/dist/node_modules/recharts/es6/zIndex/zIndexSelectors.js +21 -0
  314. package/dist/node_modules/redux/dist/redux.js +258 -0
  315. package/dist/node_modules/redux-thunk/dist/redux-thunk.js +8 -0
  316. package/dist/node_modules/reselect/dist/reselect.js +226 -0
  317. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +67 -0
  318. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +66 -0
  319. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +67 -0
  320. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +55 -0
  321. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +66 -0
  322. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +65 -0
  323. package/dist/node_modules/use-sync-external-store/shim/index.js +10 -0
  324. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +10 -0
  325. package/dist/node_modules/use-sync-external-store/with-selector.js +10 -0
  326. package/dist/node_modules/victory-vendor/es/d3-scale.js +47 -0
  327. package/dist/primitives/donut-chart/donut-chart.d.ts +35 -0
  328. package/dist/primitives/donut-chart/donut-chart.d.ts.map +1 -0
  329. package/dist/primitives/donut-chart/donut-chart.js +121 -0
  330. package/dist/primitives/donut-chart/index.d.ts +2 -0
  331. package/dist/primitives/donut-chart/index.d.ts.map +1 -0
  332. package/dist/styles/components.css +1 -1
  333. package/package.json +2 -1
@@ -0,0 +1,6 @@
1
+ function u(n, l) {
2
+ return n == null || l == null ? NaN : n < l ? -1 : n > l ? 1 : n >= l ? 0 : NaN;
3
+ }
4
+ export {
5
+ u as default
6
+ };
@@ -0,0 +1,9 @@
1
+ import r from "./ascending.js";
2
+ import t from "./bisector.js";
3
+ import e from "./number.js";
4
+ const i = t(r), s = i.right;
5
+ t(e).center;
6
+ export {
7
+ s as bisectRight,
8
+ s as default
9
+ };
@@ -0,0 +1,37 @@
1
+ import d from "./ascending.js";
2
+ import p from "./descending.js";
3
+ function b(c) {
4
+ let u, o, s;
5
+ c.length !== 2 ? (u = d, o = (n, e) => d(c(n), e), s = (n, e) => c(n) - e) : (u = c === d || c === p ? c : l, o = c, s = c);
6
+ function f(n, e, t = 0, r = n.length) {
7
+ if (t < r) {
8
+ if (u(e, e) !== 0) return r;
9
+ do {
10
+ const i = t + r >>> 1;
11
+ o(n[i], e) < 0 ? t = i + 1 : r = i;
12
+ } while (t < r);
13
+ }
14
+ return t;
15
+ }
16
+ function m(n, e, t = 0, r = n.length) {
17
+ if (t < r) {
18
+ if (u(e, e) !== 0) return r;
19
+ do {
20
+ const i = t + r >>> 1;
21
+ o(n[i], e) <= 0 ? t = i + 1 : r = i;
22
+ } while (t < r);
23
+ }
24
+ return t;
25
+ }
26
+ function g(n, e, t = 0, r = n.length) {
27
+ const i = f(n, e, t, r - 1);
28
+ return i > t && s(n[i - 1], e) > -s(n[i], e) ? i - 1 : i;
29
+ }
30
+ return { left: f, center: g, right: m };
31
+ }
32
+ function l() {
33
+ return 0;
34
+ }
35
+ export {
36
+ b as default
37
+ };
@@ -0,0 +1,6 @@
1
+ function l(n, e) {
2
+ return n == null || e == null ? NaN : e < n ? -1 : e > n ? 1 : e >= n ? 0 : NaN;
3
+ }
4
+ export {
5
+ l as default
6
+ };
@@ -0,0 +1,9 @@
1
+ function a(n, u) {
2
+ let f;
3
+ for (const e of n)
4
+ e != null && (f < e || f === void 0 && e >= e) && (f = e);
5
+ return f;
6
+ }
7
+ export {
8
+ a as default
9
+ };
@@ -0,0 +1,9 @@
1
+ function l(f, u) {
2
+ let e;
3
+ for (const n of f)
4
+ n != null && (e > n || e === void 0 && n >= n) && (e = n);
5
+ return e;
6
+ }
7
+ export {
8
+ l as default
9
+ };
@@ -0,0 +1,11 @@
1
+ function n(e) {
2
+ return e === null ? NaN : +e;
3
+ }
4
+ function* f(e, l) {
5
+ for (let u of e)
6
+ u != null && (u = +u) >= u && (yield u);
7
+ }
8
+ export {
9
+ n as default,
10
+ f as numbers
11
+ };
@@ -0,0 +1,24 @@
1
+ import u from "./max.js";
2
+ import a from "./min.js";
3
+ import b from "./quickselect.js";
4
+ import c, { numbers as h } from "./number.js";
5
+ function g(r, t, o) {
6
+ if (r = Float64Array.from(h(r)), !(!(n = r.length) || isNaN(t = +t))) {
7
+ if (t <= 0 || n < 2) return a(r);
8
+ if (t >= 1) return u(r);
9
+ var n, f = (n - 1) * t, i = Math.floor(f), m = u(b(r, i).subarray(0, i + 1)), e = a(r.subarray(i + 1));
10
+ return m + (e - m) * (f - i);
11
+ }
12
+ }
13
+ function x(r, t, o = c) {
14
+ if (!(!(n = r.length) || isNaN(t = +t))) {
15
+ if (t <= 0 || n < 2) return +o(r[0], 0, r);
16
+ if (t >= 1) return +o(r[n - 1], n - 1, r);
17
+ var n, f = (n - 1) * t, i = Math.floor(f), m = +o(r[i], i, r), e = +o(r[i + 1], i + 1, r);
18
+ return m + (e - m) * (f - i);
19
+ }
20
+ }
21
+ export {
22
+ g as default,
23
+ x as quantileSorted
24
+ };
@@ -0,0 +1,25 @@
1
+ import { ascendingDefined as D, compareDefined as m } from "./sort.js";
2
+ function z(n, s, o = 0, t = 1 / 0, M) {
3
+ if (s = Math.floor(s), o = Math.floor(Math.max(0, o)), t = Math.floor(Math.min(n.length - 1, t)), !(o <= s && s <= t)) return n;
4
+ for (M = M === void 0 ? D : m(M); t > o; ) {
5
+ if (t - o > 600) {
6
+ const c = t - o + 1, u = s - o + 1, w = Math.log(c), h = 0.5 * Math.exp(2 * w / 3), x = 0.5 * Math.sqrt(w * h * (c - h) / c) * (u - c / 2 < 0 ? -1 : 1), l = Math.max(o, Math.floor(s - u * h / c + x)), q = Math.min(t, Math.floor(s + (c - u) * h / c + x));
7
+ z(n, s, l, q, M);
8
+ }
9
+ const f = n[s];
10
+ let d = o, i = t;
11
+ for (e(n, o, s), M(n[t], f) > 0 && e(n, o, t); d < i; ) {
12
+ for (e(n, d, i), ++d, --i; M(n[d], f) < 0; ) ++d;
13
+ for (; M(n[i], f) > 0; ) --i;
14
+ }
15
+ M(n[o], f) === 0 ? e(n, o, i) : (++i, e(n, i, t)), i <= s && (o = i + 1), s <= i && (t = i - 1);
16
+ }
17
+ return n;
18
+ }
19
+ function e(n, s, o) {
20
+ const t = n[s];
21
+ n[s] = n[o], n[o] = t;
22
+ }
23
+ export {
24
+ z as default
25
+ };
@@ -0,0 +1,9 @@
1
+ function l(n, e, a) {
2
+ n = +n, e = +e, a = (g = arguments.length) < 2 ? (e = n, n = 0, 1) : g < 3 ? 1 : +a;
3
+ for (var h = -1, g = Math.max(0, Math.ceil((e - n) / a)) | 0, i = new Array(g); ++h < g; )
4
+ i[h] = n + h * a;
5
+ return i;
6
+ }
7
+ export {
8
+ l as default
9
+ };
@@ -0,0 +1,16 @@
1
+ import i from "./ascending.js";
2
+ function o(n = i) {
3
+ if (n === i) return f;
4
+ if (typeof n != "function") throw new TypeError("compare is not a function");
5
+ return (r, t) => {
6
+ const e = n(r, t);
7
+ return e || e === 0 ? e : (n(t, t) === 0) - (n(r, r) === 0);
8
+ };
9
+ }
10
+ function f(n, r) {
11
+ return (n == null || !(n >= n)) - (r == null || !(r >= r)) || (n < r ? -1 : n > r ? 1 : 0);
12
+ }
13
+ export {
14
+ f as ascendingDefined,
15
+ o as compareDefined
16
+ };
@@ -0,0 +1,32 @@
1
+ const w = Math.sqrt(50), q = Math.sqrt(10), m = Math.sqrt(2);
2
+ function k(i, r, f) {
3
+ const c = (r - i) / Math.max(0, f), M = Math.floor(Math.log10(c)), d = c / Math.pow(10, M), l = d >= w ? 10 : d >= q ? 5 : d >= m ? 2 : 1;
4
+ let n, h, e;
5
+ return M < 0 ? (e = Math.pow(10, -M) / l, n = Math.round(i * e), h = Math.round(r * e), n / e < i && ++n, h / e > r && --h, e = -e) : (e = Math.pow(10, M) * l, n = Math.round(i / e), h = Math.round(r / e), n * e < i && ++n, h * e > r && --h), h < n && 0.5 <= f && f < 2 ? k(i, r, f * 2) : [n, h, e];
6
+ }
7
+ function v(i, r, f) {
8
+ if (r = +r, i = +i, f = +f, !(f > 0)) return [];
9
+ if (i === r) return [i];
10
+ const c = r < i, [M, d, l] = c ? k(r, i, f) : k(i, r, f);
11
+ if (!(d >= M)) return [];
12
+ const n = d - M + 1, h = new Array(n);
13
+ if (c)
14
+ if (l < 0) for (let e = 0; e < n; ++e) h[e] = (d - e) / -l;
15
+ else for (let e = 0; e < n; ++e) h[e] = (d - e) * l;
16
+ else if (l < 0) for (let e = 0; e < n; ++e) h[e] = (M + e) / -l;
17
+ else for (let e = 0; e < n; ++e) h[e] = (M + e) * l;
18
+ return h;
19
+ }
20
+ function u(i, r, f) {
21
+ return r = +r, i = +i, f = +f, k(i, r, f)[2];
22
+ }
23
+ function x(i, r, f) {
24
+ r = +r, i = +i, f = +f;
25
+ const c = r < i, M = c ? u(r, i, f) : u(i, r, f);
26
+ return (c ? -1 : 1) * (M < 0 ? 1 / -M : M);
27
+ }
28
+ export {
29
+ v as default,
30
+ u as tickIncrement,
31
+ x as tickStep
32
+ };
@@ -0,0 +1,305 @@
1
+ import k, { extend as I } from "./define.js";
2
+ function u() {
3
+ }
4
+ var b = 0.7, y = 1 / b, o = "\\s*([+-]?\\d+)\\s*", g = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", n = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", j = /^#([0-9a-f]{3,8})$/, O = new RegExp(`^rgb\\(${o},${o},${o}\\)$`), z = new RegExp(`^rgb\\(${n},${n},${n}\\)$`), L = new RegExp(`^rgba\\(${o},${o},${o},${g}\\)$`), A = new RegExp(`^rgba\\(${n},${n},${n},${g}\\)$`), B = new RegExp(`^hsl\\(${g},${n},${n}\\)$`), D = new RegExp(`^hsla\\(${g},${n},${n},${g}\\)$`), v = {
5
+ aliceblue: 15792383,
6
+ antiquewhite: 16444375,
7
+ aqua: 65535,
8
+ aquamarine: 8388564,
9
+ azure: 15794175,
10
+ beige: 16119260,
11
+ bisque: 16770244,
12
+ black: 0,
13
+ blanchedalmond: 16772045,
14
+ blue: 255,
15
+ blueviolet: 9055202,
16
+ brown: 10824234,
17
+ burlywood: 14596231,
18
+ cadetblue: 6266528,
19
+ chartreuse: 8388352,
20
+ chocolate: 13789470,
21
+ coral: 16744272,
22
+ cornflowerblue: 6591981,
23
+ cornsilk: 16775388,
24
+ crimson: 14423100,
25
+ cyan: 65535,
26
+ darkblue: 139,
27
+ darkcyan: 35723,
28
+ darkgoldenrod: 12092939,
29
+ darkgray: 11119017,
30
+ darkgreen: 25600,
31
+ darkgrey: 11119017,
32
+ darkkhaki: 12433259,
33
+ darkmagenta: 9109643,
34
+ darkolivegreen: 5597999,
35
+ darkorange: 16747520,
36
+ darkorchid: 10040012,
37
+ darkred: 9109504,
38
+ darksalmon: 15308410,
39
+ darkseagreen: 9419919,
40
+ darkslateblue: 4734347,
41
+ darkslategray: 3100495,
42
+ darkslategrey: 3100495,
43
+ darkturquoise: 52945,
44
+ darkviolet: 9699539,
45
+ deeppink: 16716947,
46
+ deepskyblue: 49151,
47
+ dimgray: 6908265,
48
+ dimgrey: 6908265,
49
+ dodgerblue: 2003199,
50
+ firebrick: 11674146,
51
+ floralwhite: 16775920,
52
+ forestgreen: 2263842,
53
+ fuchsia: 16711935,
54
+ gainsboro: 14474460,
55
+ ghostwhite: 16316671,
56
+ gold: 16766720,
57
+ goldenrod: 14329120,
58
+ gray: 8421504,
59
+ green: 32768,
60
+ greenyellow: 11403055,
61
+ grey: 8421504,
62
+ honeydew: 15794160,
63
+ hotpink: 16738740,
64
+ indianred: 13458524,
65
+ indigo: 4915330,
66
+ ivory: 16777200,
67
+ khaki: 15787660,
68
+ lavender: 15132410,
69
+ lavenderblush: 16773365,
70
+ lawngreen: 8190976,
71
+ lemonchiffon: 16775885,
72
+ lightblue: 11393254,
73
+ lightcoral: 15761536,
74
+ lightcyan: 14745599,
75
+ lightgoldenrodyellow: 16448210,
76
+ lightgray: 13882323,
77
+ lightgreen: 9498256,
78
+ lightgrey: 13882323,
79
+ lightpink: 16758465,
80
+ lightsalmon: 16752762,
81
+ lightseagreen: 2142890,
82
+ lightskyblue: 8900346,
83
+ lightslategray: 7833753,
84
+ lightslategrey: 7833753,
85
+ lightsteelblue: 11584734,
86
+ lightyellow: 16777184,
87
+ lime: 65280,
88
+ limegreen: 3329330,
89
+ linen: 16445670,
90
+ magenta: 16711935,
91
+ maroon: 8388608,
92
+ mediumaquamarine: 6737322,
93
+ mediumblue: 205,
94
+ mediumorchid: 12211667,
95
+ mediumpurple: 9662683,
96
+ mediumseagreen: 3978097,
97
+ mediumslateblue: 8087790,
98
+ mediumspringgreen: 64154,
99
+ mediumturquoise: 4772300,
100
+ mediumvioletred: 13047173,
101
+ midnightblue: 1644912,
102
+ mintcream: 16121850,
103
+ mistyrose: 16770273,
104
+ moccasin: 16770229,
105
+ navajowhite: 16768685,
106
+ navy: 128,
107
+ oldlace: 16643558,
108
+ olive: 8421376,
109
+ olivedrab: 7048739,
110
+ orange: 16753920,
111
+ orangered: 16729344,
112
+ orchid: 14315734,
113
+ palegoldenrod: 15657130,
114
+ palegreen: 10025880,
115
+ paleturquoise: 11529966,
116
+ palevioletred: 14381203,
117
+ papayawhip: 16773077,
118
+ peachpuff: 16767673,
119
+ peru: 13468991,
120
+ pink: 16761035,
121
+ plum: 14524637,
122
+ powderblue: 11591910,
123
+ purple: 8388736,
124
+ rebeccapurple: 6697881,
125
+ red: 16711680,
126
+ rosybrown: 12357519,
127
+ royalblue: 4286945,
128
+ saddlebrown: 9127187,
129
+ salmon: 16416882,
130
+ sandybrown: 16032864,
131
+ seagreen: 3050327,
132
+ seashell: 16774638,
133
+ sienna: 10506797,
134
+ silver: 12632256,
135
+ skyblue: 8900331,
136
+ slateblue: 6970061,
137
+ slategray: 7372944,
138
+ slategrey: 7372944,
139
+ snow: 16775930,
140
+ springgreen: 65407,
141
+ steelblue: 4620980,
142
+ tan: 13808780,
143
+ teal: 32896,
144
+ thistle: 14204888,
145
+ tomato: 16737095,
146
+ turquoise: 4251856,
147
+ violet: 15631086,
148
+ wheat: 16113331,
149
+ white: 16777215,
150
+ whitesmoke: 16119285,
151
+ yellow: 16776960,
152
+ yellowgreen: 10145074
153
+ };
154
+ k(u, H, {
155
+ copy(e) {
156
+ return Object.assign(new this.constructor(), this, e);
157
+ },
158
+ displayable() {
159
+ return this.rgb().displayable();
160
+ },
161
+ hex: R,
162
+ // Deprecated! Use color.formatHex.
163
+ formatHex: R,
164
+ formatHex8: F,
165
+ formatHsl: G,
166
+ formatRgb: M,
167
+ toString: M
168
+ });
169
+ function R() {
170
+ return this.rgb().formatHex();
171
+ }
172
+ function F() {
173
+ return this.rgb().formatHex8();
174
+ }
175
+ function G() {
176
+ return S(this).formatHsl();
177
+ }
178
+ function M() {
179
+ return this.rgb().formatRgb();
180
+ }
181
+ function H(e) {
182
+ var r, t;
183
+ return e = (e + "").trim().toLowerCase(), (r = j.exec(e)) ? (t = r[1].length, r = parseInt(r[1], 16), t === 6 ? q(r) : t === 3 ? new a(r >> 8 & 15 | r >> 4 & 240, r >> 4 & 15 | r & 240, (r & 15) << 4 | r & 15, 1) : t === 8 ? m(r >> 24 & 255, r >> 16 & 255, r >> 8 & 255, (r & 255) / 255) : t === 4 ? m(r >> 12 & 15 | r >> 8 & 240, r >> 8 & 15 | r >> 4 & 240, r >> 4 & 15 | r & 240, ((r & 15) << 4 | r & 15) / 255) : null) : (r = O.exec(e)) ? new a(r[1], r[2], r[3], 1) : (r = z.exec(e)) ? new a(r[1] * 255 / 100, r[2] * 255 / 100, r[3] * 255 / 100, 1) : (r = L.exec(e)) ? m(r[1], r[2], r[3], r[4]) : (r = A.exec(e)) ? m(r[1] * 255 / 100, r[2] * 255 / 100, r[3] * 255 / 100, r[4]) : (r = B.exec(e)) ? P(r[1], r[2] / 100, r[3] / 100, 1) : (r = D.exec(e)) ? P(r[1], r[2] / 100, r[3] / 100, r[4]) : v.hasOwnProperty(e) ? q(v[e]) : e === "transparent" ? new a(NaN, NaN, NaN, 0) : null;
184
+ }
185
+ function q(e) {
186
+ return new a(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
187
+ }
188
+ function m(e, r, t, f) {
189
+ return f <= 0 && (e = r = t = NaN), new a(e, r, t, f);
190
+ }
191
+ function J(e) {
192
+ return e instanceof u || (e = H(e)), e ? (e = e.rgb(), new a(e.r, e.g, e.b, e.opacity)) : new a();
193
+ }
194
+ function K(e, r, t, f) {
195
+ return arguments.length === 1 ? J(e) : new a(e, r, t, f ?? 1);
196
+ }
197
+ function a(e, r, t, f) {
198
+ this.r = +e, this.g = +r, this.b = +t, this.opacity = +f;
199
+ }
200
+ k(a, K, I(u, {
201
+ brighter(e) {
202
+ return e = e == null ? y : Math.pow(y, e), new a(this.r * e, this.g * e, this.b * e, this.opacity);
203
+ },
204
+ darker(e) {
205
+ return e = e == null ? b : Math.pow(b, e), new a(this.r * e, this.g * e, this.b * e, this.opacity);
206
+ },
207
+ rgb() {
208
+ return this;
209
+ },
210
+ clamp() {
211
+ return new a(h(this.r), h(this.g), h(this.b), $(this.opacity));
212
+ },
213
+ displayable() {
214
+ return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
215
+ },
216
+ hex: E,
217
+ // Deprecated! Use color.formatHex.
218
+ formatHex: E,
219
+ formatHex8: Q,
220
+ formatRgb: _,
221
+ toString: _
222
+ }));
223
+ function E() {
224
+ return `#${l(this.r)}${l(this.g)}${l(this.b)}`;
225
+ }
226
+ function Q() {
227
+ return `#${l(this.r)}${l(this.g)}${l(this.b)}${l((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
228
+ }
229
+ function _() {
230
+ const e = $(this.opacity);
231
+ return `${e === 1 ? "rgb(" : "rgba("}${h(this.r)}, ${h(this.g)}, ${h(this.b)}${e === 1 ? ")" : `, ${e})`}`;
232
+ }
233
+ function $(e) {
234
+ return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
235
+ }
236
+ function h(e) {
237
+ return Math.max(0, Math.min(255, Math.round(e) || 0));
238
+ }
239
+ function l(e) {
240
+ return e = h(e), (e < 16 ? "0" : "") + e.toString(16);
241
+ }
242
+ function P(e, r, t, f) {
243
+ return f <= 0 ? e = r = t = NaN : t <= 0 || t >= 1 ? e = r = NaN : r <= 0 && (e = NaN), new i(e, r, t, f);
244
+ }
245
+ function S(e) {
246
+ if (e instanceof i) return new i(e.h, e.s, e.l, e.opacity);
247
+ if (e instanceof u || (e = H(e)), !e) return new i();
248
+ if (e instanceof i) return e;
249
+ e = e.rgb();
250
+ var r = e.r / 255, t = e.g / 255, f = e.b / 255, x = Math.min(r, t, f), d = Math.max(r, t, f), c = NaN, s = d - x, p = (d + x) / 2;
251
+ return s ? (r === d ? c = (t - f) / s + (t < f) * 6 : t === d ? c = (f - r) / s + 2 : c = (r - t) / s + 4, s /= p < 0.5 ? d + x : 2 - d - x, c *= 60) : s = p > 0 && p < 1 ? 0 : c, new i(c, s, p, e.opacity);
252
+ }
253
+ function T(e, r, t, f) {
254
+ return arguments.length === 1 ? S(e) : new i(e, r, t, f ?? 1);
255
+ }
256
+ function i(e, r, t, f) {
257
+ this.h = +e, this.s = +r, this.l = +t, this.opacity = +f;
258
+ }
259
+ k(i, T, I(u, {
260
+ brighter(e) {
261
+ return e = e == null ? y : Math.pow(y, e), new i(this.h, this.s, this.l * e, this.opacity);
262
+ },
263
+ darker(e) {
264
+ return e = e == null ? b : Math.pow(b, e), new i(this.h, this.s, this.l * e, this.opacity);
265
+ },
266
+ rgb() {
267
+ var e = this.h % 360 + (this.h < 0) * 360, r = isNaN(e) || isNaN(this.s) ? 0 : this.s, t = this.l, f = t + (t < 0.5 ? t : 1 - t) * r, x = 2 * t - f;
268
+ return new a(
269
+ N(e >= 240 ? e - 240 : e + 120, x, f),
270
+ N(e, x, f),
271
+ N(e < 120 ? e + 240 : e - 120, x, f),
272
+ this.opacity
273
+ );
274
+ },
275
+ clamp() {
276
+ return new i(C(this.h), w(this.s), w(this.l), $(this.opacity));
277
+ },
278
+ displayable() {
279
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
280
+ },
281
+ formatHsl() {
282
+ const e = $(this.opacity);
283
+ return `${e === 1 ? "hsl(" : "hsla("}${C(this.h)}, ${w(this.s) * 100}%, ${w(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
284
+ }
285
+ }));
286
+ function C(e) {
287
+ return e = (e || 0) % 360, e < 0 ? e + 360 : e;
288
+ }
289
+ function w(e) {
290
+ return Math.max(0, Math.min(1, e || 0));
291
+ }
292
+ function N(e, r, t) {
293
+ return (e < 60 ? r + (t - r) * e / 60 : e < 180 ? t : e < 240 ? r + (t - r) * (240 - e) / 60 : r) * 255;
294
+ }
295
+ export {
296
+ u as Color,
297
+ a as Rgb,
298
+ y as brighter,
299
+ b as darker,
300
+ H as default,
301
+ T as hsl,
302
+ S as hslConvert,
303
+ K as rgb,
304
+ J as rgbConvert
305
+ };
@@ -0,0 +1,12 @@
1
+ function p(e, r, t) {
2
+ e.prototype = r.prototype = t, t.constructor = e;
3
+ }
4
+ function n(e, r) {
5
+ var t = Object.create(e.prototype);
6
+ for (var o in r) t[o] = r[o];
7
+ return t;
8
+ }
9
+ export {
10
+ p as default,
11
+ n as extend
12
+ };
@@ -0,0 +1,15 @@
1
+ import o from "./locale.js";
2
+ var r, t, f;
3
+ e({
4
+ thousands: ",",
5
+ grouping: [3],
6
+ currency: ["$", ""]
7
+ });
8
+ function e(a) {
9
+ return r = o(a), t = r.format, f = r.formatPrefix, r;
10
+ }
11
+ export {
12
+ e as default,
13
+ t as format,
14
+ f as formatPrefix
15
+ };
@@ -0,0 +1,7 @@
1
+ import { formatDecimalParts as a } from "./formatDecimal.js";
2
+ function e(t) {
3
+ return t = a(Math.abs(t)), t ? t[1] : NaN;
4
+ }
5
+ export {
6
+ e as default
7
+ };
@@ -0,0 +1,15 @@
1
+ function a(e) {
2
+ return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
3
+ }
4
+ function r(e, n) {
5
+ if (!isFinite(e) || e === 0) return null;
6
+ var i = (e = n ? e.toExponential(n - 1) : e.toExponential()).indexOf("e"), t = e.slice(0, i);
7
+ return [
8
+ t.length > 1 ? t[0] + t.slice(2) : t,
9
+ +e.slice(i + 1)
10
+ ];
11
+ }
12
+ export {
13
+ a as default,
14
+ r as formatDecimalParts
15
+ };
@@ -0,0 +1,10 @@
1
+ function i(t, h) {
2
+ return function(f, r) {
3
+ for (var n = f.length, s = [], u = 0, e = t[0], a = 0; n > 0 && e > 0 && (a + e + 1 > r && (e = Math.max(1, r - a)), s.push(f.substring(n -= e, n + e)), !((a += e + 1) > r)); )
4
+ e = t[u = (u + 1) % t.length];
5
+ return s.reverse().join(h);
6
+ };
7
+ }
8
+ export {
9
+ i as default
10
+ };
@@ -0,0 +1,10 @@
1
+ function e(r) {
2
+ return function(n) {
3
+ return n.replace(/[0-9]/g, function(t) {
4
+ return r[+t];
5
+ });
6
+ };
7
+ }
8
+ export {
9
+ e as default
10
+ };
@@ -0,0 +1,12 @@
1
+ import { formatDecimalParts as f } from "./formatDecimal.js";
2
+ var m;
3
+ function l(n, t) {
4
+ var a = f(n, t);
5
+ if (!a) return m = void 0, n.toPrecision(t);
6
+ var e = a[0], o = a[1], r = o - (m = Math.max(-8, Math.min(8, Math.floor(o / 3))) * 3) + 1, i = e.length;
7
+ return r === i ? e : r > i ? e + new Array(r - i + 1).join("0") : r > 0 ? e.slice(0, r) + "." + e.slice(r) : "0." + new Array(1 - r).join("0") + f(n, Math.max(0, t + r - 1))[0];
8
+ }
9
+ export {
10
+ l as default,
11
+ m as prefixExponent
12
+ };
@@ -0,0 +1,10 @@
1
+ import { formatDecimalParts as a } from "./formatDecimal.js";
2
+ function f(t, o) {
3
+ var n = a(t, o);
4
+ if (!n) return t + "";
5
+ var e = n[0], r = n[1];
6
+ return r < 0 ? "0." + new Array(-r).join("0") + e : e.length > r + 1 ? e.slice(0, r + 1) + "." + e.slice(r + 1) : e + new Array(r - e.length + 2).join("0");
7
+ }
8
+ export {
9
+ f as default
10
+ };
@@ -0,0 +1,28 @@
1
+ var o = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
2
+ function d(t) {
3
+ if (!(n = o.exec(t))) throw new Error("invalid format: " + t);
4
+ var n;
5
+ return new i({
6
+ fill: n[1],
7
+ align: n[2],
8
+ sign: n[3],
9
+ symbol: n[4],
10
+ zero: n[5],
11
+ width: n[6],
12
+ comma: n[7],
13
+ precision: n[8] && n[8].slice(1),
14
+ trim: n[9],
15
+ type: n[10]
16
+ });
17
+ }
18
+ d.prototype = i.prototype;
19
+ function i(t) {
20
+ this.fill = t.fill === void 0 ? " " : t.fill + "", this.align = t.align === void 0 ? ">" : t.align + "", this.sign = t.sign === void 0 ? "-" : t.sign + "", this.symbol = t.symbol === void 0 ? "" : t.symbol + "", this.zero = !!t.zero, this.width = t.width === void 0 ? void 0 : +t.width, this.comma = !!t.comma, this.precision = t.precision === void 0 ? void 0 : +t.precision, this.trim = !!t.trim, this.type = t.type === void 0 ? "" : t.type + "";
21
+ }
22
+ i.prototype.toString = function() {
23
+ return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
24
+ };
25
+ export {
26
+ i as FormatSpecifier,
27
+ d as default
28
+ };
@@ -0,0 +1,19 @@
1
+ function c(r) {
2
+ e: for (var t = r.length, e = 1, a = -1, f; e < t; ++e)
3
+ switch (r[e]) {
4
+ case ".":
5
+ a = f = e;
6
+ break;
7
+ case "0":
8
+ a === 0 && (a = e), f = e;
9
+ break;
10
+ default:
11
+ if (!+r[e]) break e;
12
+ a > 0 && (a = 0);
13
+ break;
14
+ }
15
+ return a > 0 ? r.slice(0, a) + r.slice(f + 1) : r;
16
+ }
17
+ export {
18
+ c as default
19
+ };