victory-chart 37.3.2 → 37.3.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.
@@ -25,14 +25,14 @@ __webpack_require__.r(__webpack_exports__);
25
25
  /* harmony export */ "getChildComponents": function() { return /* binding */ getChildComponents; },
26
26
  /* harmony export */ "getChildren": function() { return /* binding */ getChildren; }
27
27
  /* harmony export */ });
28
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
29
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
30
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
31
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
28
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
29
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
32
30
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/axis.js");
33
31
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
34
32
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/wrapper.js");
35
33
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/scale.js");
34
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
35
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
36
36
 
37
37
 
38
38
 
@@ -79,7 +79,7 @@ function getBackgroundWithProps(props, calculatedProps) {
79
79
  key: `${parentName}-background`,
80
80
  width
81
81
  };
82
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(backgroundElement, lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, backgroundElement.props, backgroundProps));
82
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(backgroundElement, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundElement.props, backgroundProps));
83
83
  }
84
84
  function getChildProps(child, props, calculatedProps) {
85
85
  const axisChild = victory_core__WEBPACK_IMPORTED_MODULE_2__.findAxisComponents([child]);
@@ -106,7 +106,7 @@ function getChildProps(child, props, calculatedProps) {
106
106
  function getStyles(props) {
107
107
  const styleProps = props.style && props.style.parent;
108
108
  return {
109
- parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, styleProps, {
109
+ parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, styleProps, {
110
110
  height: "100%",
111
111
  width: "100%",
112
112
  userSelect: "none"
@@ -144,7 +144,7 @@ function getCalculatedProps(initialProps, childComponents) {
144
144
  y: baseScale.y.domain(domain.y).range(horizontal ? range.x : range.y)
145
145
  };
146
146
  const origin = polar ? victory_core__WEBPACK_IMPORTED_MODULE_3__.getPolarOrigin(props) : victory_core__WEBPACK_IMPORTED_MODULE_2__.getOrigin(domain);
147
- const padding = victory_core__WEBPACK_IMPORTED_MODULE_3__.getPadding(props);
147
+ const padding = victory_core__WEBPACK_IMPORTED_MODULE_3__.getPadding(props.padding);
148
148
  return {
149
149
  categories,
150
150
  domain,
@@ -172,14 +172,14 @@ function getChildren(props, childComponents, calculatedProps) {
172
172
  horizontal
173
173
  } = newCalculatedProps;
174
174
  const parentName = props.name || "chart";
175
- return children.filter((react__WEBPACK_IMPORTED_MODULE_1___default().isValidElement)).map((child, index) => {
175
+ return children.filter((react__WEBPACK_IMPORTED_MODULE_0___default().isValidElement)).map((child, index) => {
176
176
  const role = child.type && child.type.role;
177
- const style = Array.isArray(child.props.style) ? child.props.style : lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, child.props.style, {
177
+ const style = Array.isArray(child.props.style) ? child.props.style : lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, child.props.style, {
178
178
  parent: baseStyle
179
179
  });
180
180
  const childProps = getChildProps(child, props, newCalculatedProps);
181
181
  const name = child.props.name || `${parentName}-${role}-${index}`;
182
- const newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({
182
+ const newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
183
183
  horizontal,
184
184
  height,
185
185
  polar,
@@ -192,11 +192,11 @@ function getChildren(props, childComponents, calculatedProps) {
192
192
  key: `${name}-key-${index}`,
193
193
  standalone: false
194
194
  }, childProps);
195
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(child, newProps);
195
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, newProps);
196
196
  });
197
197
  }
198
198
  const getChildComponents = (props, defaultAxes) => {
199
- let childComponents = react__WEBPACK_IMPORTED_MODULE_1___default().Children.toArray(props.children);
199
+ let childComponents = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
200
200
  if (childComponents.length === 0) {
201
201
  childComponents.push(defaultAxes.independent, defaultAxes.dependent);
202
202
  } else {
@@ -211,7 +211,7 @@ const getChildComponents = (props, defaultAxes) => {
211
211
  return childComponents;
212
212
  };
213
213
  const getDomain = (props, axis, childComponents) => {
214
- const children = childComponents || react__WEBPACK_IMPORTED_MODULE_1___default().Children.toArray(props.children);
214
+ const children = childComponents || react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
215
215
  const domain = victory_core__WEBPACK_IMPORTED_MODULE_4__.getDomain(props, axis, children);
216
216
  const axisComponent = victory_core__WEBPACK_IMPORTED_MODULE_2__.getAxisComponent(children, axis);
217
217
  const invertDomain = axisComponent && axisComponent.props && axisComponent.props.invertAxis;
@@ -245,12 +245,12 @@ __webpack_require__.r(__webpack_exports__);
245
245
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
246
246
  /* harmony export */ "VictoryChart": function() { return /* binding */ VictoryChart; }
247
247
  /* harmony export */ });
248
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
249
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
248
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
249
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
250
250
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
251
251
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
252
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
253
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
252
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
253
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__);
254
254
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/background.js");
255
255
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-container/victory-container.js");
256
256
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-theme/victory-theme.js");
@@ -280,26 +280,26 @@ const fallbackProps = {
280
280
  padding: 50
281
281
  };
282
282
  const defaultProps = {
283
- backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Background, null),
284
- containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer, null),
283
+ backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Background, null),
284
+ containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer, null),
285
285
  defaultAxes: {
286
- independent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_axis__WEBPACK_IMPORTED_MODULE_6__.VictoryAxis, null),
287
- dependent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_axis__WEBPACK_IMPORTED_MODULE_6__.VictoryAxis, {
286
+ independent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_axis__WEBPACK_IMPORTED_MODULE_6__.VictoryAxis, null),
287
+ dependent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_axis__WEBPACK_IMPORTED_MODULE_6__.VictoryAxis, {
288
288
  dependentAxis: true
289
289
  })
290
290
  },
291
291
  defaultPolarAxes: {
292
- independent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_polar_axis__WEBPACK_IMPORTED_MODULE_7__.VictoryPolarAxis, null),
293
- dependent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_polar_axis__WEBPACK_IMPORTED_MODULE_7__.VictoryPolarAxis, {
292
+ independent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_polar_axis__WEBPACK_IMPORTED_MODULE_7__.VictoryPolarAxis, null),
293
+ dependent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_polar_axis__WEBPACK_IMPORTED_MODULE_7__.VictoryPolarAxis, {
294
294
  dependentAxis: true
295
295
  })
296
296
  },
297
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("g", null),
297
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null),
298
298
  standalone: true,
299
299
  theme: victory_core__WEBPACK_IMPORTED_MODULE_8__.VictoryTheme.grayscale
300
300
  };
301
301
  const VictoryChartImpl = initialProps => {
302
- const propsWithDefaults = react__WEBPACK_IMPORTED_MODULE_2___default().useMemo(() => lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps), [initialProps]);
302
+ const propsWithDefaults = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(() => lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps), [initialProps]);
303
303
  const role = "chart";
304
304
  const {
305
305
  getAnimationProps,
@@ -323,8 +323,8 @@ const VictoryChartImpl = initialProps => {
323
323
  title
324
324
  } = modifiedProps;
325
325
  const axes = props.polar ? modifiedProps.defaultPolarAxes : modifiedProps.defaultAxes;
326
- const childComponents = react__WEBPACK_IMPORTED_MODULE_2___default().useMemo(() => (0,_helper_methods__WEBPACK_IMPORTED_MODULE_11__.getChildComponents)(modifiedProps, axes), [modifiedProps, axes]);
327
- const calculatedProps = react__WEBPACK_IMPORTED_MODULE_2___default().useMemo(() => (0,_helper_methods__WEBPACK_IMPORTED_MODULE_11__.getCalculatedProps)(modifiedProps, childComponents), [modifiedProps, childComponents]);
326
+ const childComponents = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(() => (0,_helper_methods__WEBPACK_IMPORTED_MODULE_11__.getChildComponents)(modifiedProps, axes), [modifiedProps, axes]);
327
+ const calculatedProps = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(() => (0,_helper_methods__WEBPACK_IMPORTED_MODULE_11__.getCalculatedProps)(modifiedProps, childComponents), [modifiedProps, childComponents]);
328
328
  const {
329
329
  domain,
330
330
  scale,
@@ -332,13 +332,13 @@ const VictoryChartImpl = initialProps => {
332
332
  origin,
333
333
  horizontal
334
334
  } = calculatedProps;
335
- const newChildren = react__WEBPACK_IMPORTED_MODULE_2___default().useMemo(() => {
335
+ const newChildren = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(() => {
336
336
  const children = (0,_helper_methods__WEBPACK_IMPORTED_MODULE_11__.getChildren)(props, childComponents, calculatedProps);
337
337
  const mappedChildren = children.map((child, index) => {
338
338
  const childProps = Object.assign({
339
339
  animate: getAnimationProps(props, child, index)
340
340
  }, child.props);
341
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child, childProps);
341
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, childProps);
342
342
  });
343
343
  if (props.style && props.style.background) {
344
344
  const backgroundComponent = (0,_helper_methods__WEBPACK_IMPORTED_MODULE_11__.getBackgroundWithProps)(props, calculatedProps);
@@ -346,7 +346,7 @@ const VictoryChartImpl = initialProps => {
346
346
  }
347
347
  return mappedChildren;
348
348
  }, [getAnimationProps, childComponents, props, calculatedProps]);
349
- const containerProps = react__WEBPACK_IMPORTED_MODULE_2___default().useMemo(() => {
349
+ const containerProps = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(() => {
350
350
  if (standalone) {
351
351
  return {
352
352
  desc,
@@ -366,18 +366,18 @@ const VictoryChartImpl = initialProps => {
366
366
  }
367
367
  return {};
368
368
  }, [desc, domain, height, horizontal, name, origin, polar, scale, standalone, style, title, theme, width]);
369
- const container = react__WEBPACK_IMPORTED_MODULE_2___default().useMemo(() => {
369
+ const container = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(() => {
370
370
  if (standalone) {
371
371
  const defaultContainerProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, containerComponent.props, containerProps, victory_core__WEBPACK_IMPORTED_MODULE_12__.getSafeUserProps(propsWithDefaults));
372
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(containerComponent, defaultContainerProps);
372
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(containerComponent, defaultContainerProps);
373
373
  }
374
374
  return groupComponent;
375
375
  }, [groupComponent, standalone, containerComponent, containerProps, propsWithDefaults]);
376
- const events = react__WEBPACK_IMPORTED_MODULE_2___default().useMemo(() => {
376
+ const events = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(() => {
377
377
  return victory_core__WEBPACK_IMPORTED_MODULE_13__.getAllEvents(props);
378
378
  }, [props]);
379
379
  const previousProps = victory_core__WEBPACK_IMPORTED_MODULE_14__.usePreviousProps(propsWithDefaults);
380
- react__WEBPACK_IMPORTED_MODULE_2___default().useEffect(() => {
380
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
381
381
  // This is called before dismount to keep state in sync
382
382
  return () => {
383
383
  if (propsWithDefaults.animate) {
@@ -385,17 +385,17 @@ const VictoryChartImpl = initialProps => {
385
385
  }
386
386
  };
387
387
  }, [setAnimationState, previousProps, propsWithDefaults]);
388
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events)) {
389
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_shared_events__WEBPACK_IMPORTED_MODULE_15__.VictorySharedEvents, {
388
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(events)) {
389
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_shared_events__WEBPACK_IMPORTED_MODULE_15__.VictorySharedEvents, {
390
390
  container: container,
391
391
  eventKey: eventKey,
392
392
  events: events,
393
393
  externalEventMutations: externalEventMutations
394
394
  }, newChildren);
395
395
  }
396
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(container, container.props, newChildren);
396
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(container, container.props, newChildren);
397
397
  };
398
- const VictoryChart = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().memo(VictoryChartImpl, (react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default()));
398
+ const VictoryChart = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(VictoryChartImpl, (react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default()));
399
399
  VictoryChart.displayName = "VictoryChart";
400
400
  // @ts-expect-error FIXME: Does this "expectedComponents" do anything?
401
401
  VictoryChart.expectedComponents = ["groupComponent", "containerComponent"];
@@ -5589,7 +5589,7 @@ const getOrientation = props => {
5589
5589
  const getCalculatedValues = props => {
5590
5590
  const defaultStyles = getStyleObject(props);
5591
5591
  const style = getStyles(props, defaultStyles);
5592
- const padding = victory_core__WEBPACK_IMPORTED_MODULE_3__.getPadding(props);
5592
+ const padding = victory_core__WEBPACK_IMPORTED_MODULE_3__.getPadding(props.padding);
5593
5593
  const labelPadding = getLabelPadding(props, style);
5594
5594
  const stringTicks = victory_core__WEBPACK_IMPORTED_MODULE_1__.stringTicks(props) ? props.tickValues : undefined;
5595
5595
  const axis = victory_core__WEBPACK_IMPORTED_MODULE_1__.getAxis(props);
@@ -5758,10 +5758,10 @@ __webpack_require__.r(__webpack_exports__);
5758
5758
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5759
5759
  /* harmony export */ "VictoryAxis": function() { return /* binding */ VictoryAxis; }
5760
5760
  /* harmony export */ });
5761
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
5762
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
5763
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
5764
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
5761
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
5762
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
5763
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
5764
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__);
5765
5765
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/line-segment.js");
5766
5766
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-label/victory-label.js");
5767
5767
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-theme/victory-theme.js");
@@ -5801,7 +5801,7 @@ const options = {
5801
5801
 
5802
5802
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
5803
5803
 
5804
- class VictoryAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default().Component) {
5804
+ class VictoryAxisBase extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
5805
5805
  static animationWhitelist = ["style", "domain", "range", "tickCount", "tickValues", "offsetX", "offsetY", "padding", "width", "height"];
5806
5806
  static displayName = "VictoryAxis";
5807
5807
  static role = "axis";
@@ -5814,15 +5814,15 @@ class VictoryAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default().Comp
5814
5814
  }
5815
5815
  };
5816
5816
  static defaultProps = {
5817
- axisComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
5818
- axisLabelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null),
5819
- tickLabelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null),
5820
- tickComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
5821
- gridComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
5817
+ axisComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
5818
+ axisLabelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null),
5819
+ tickLabelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null),
5820
+ tickComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
5821
+ gridComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
5822
5822
  standalone: true,
5823
5823
  theme: victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryTheme.grayscale,
5824
- containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer, null),
5825
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", {
5824
+ containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer, null),
5825
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", {
5826
5826
  role: "presentation"
5827
5827
  }),
5828
5828
  fixLabelOverlap: false
@@ -5841,7 +5841,7 @@ class VictoryAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default().Comp
5841
5841
  axisComponent
5842
5842
  } = props;
5843
5843
  const axisProps = this.getComponentProps(axisComponent, "axis", 0);
5844
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(axisComponent, axisProps);
5844
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(axisComponent, axisProps);
5845
5845
  }
5846
5846
  renderLabel(props) {
5847
5847
  const {
@@ -5852,7 +5852,7 @@ class VictoryAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default().Comp
5852
5852
  return null;
5853
5853
  }
5854
5854
  const axisLabelProps = this.getComponentProps(axisLabelComponent, "axisLabel", 0);
5855
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(axisLabelComponent, axisLabelProps);
5855
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(axisLabelComponent, axisLabelProps);
5856
5856
  }
5857
5857
  renderGridAndTicks(props) {
5858
5858
  const {
@@ -5867,19 +5867,19 @@ class VictoryAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default().Comp
5867
5867
  events = {}
5868
5868
  } = componentProps;
5869
5869
  const visible = style.stroke !== "transparent" && style.stroke !== "none" && style.strokeWidth !== 0;
5870
- return visible || !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events);
5870
+ return visible || !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(events);
5871
5871
  };
5872
5872
  return this.dataKeys.map((key, index) => {
5873
5873
  const tickProps = this.getComponentProps(tickComponent, "ticks", index);
5874
- const BaseTickComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(tickComponent, tickProps);
5874
+ const BaseTickComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(tickComponent, tickProps);
5875
5875
  const TickComponent = shouldRender(BaseTickComponent.props) ? BaseTickComponent : undefined;
5876
5876
  const gridProps = this.getComponentProps(gridComponent, "grid", index);
5877
- const BaseGridComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(gridComponent, gridProps);
5877
+ const BaseGridComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(gridComponent, gridProps);
5878
5878
  const GridComponent = shouldRender(BaseGridComponent.props) ? BaseGridComponent : undefined;
5879
5879
  const tickLabelProps = this.getComponentProps(tickLabelComponent, "tickLabels", index);
5880
- const TickLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(tickLabelComponent, tickLabelProps);
5880
+ const TickLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(tickLabelComponent, tickLabelProps);
5881
5881
  const children = [GridComponent, TickComponent, TickLabel].filter(Boolean);
5882
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.groupComponent, {
5882
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.groupComponent, {
5883
5883
  key: `${name}-tick-group-${key}`
5884
5884
  }, children);
5885
5885
  });
@@ -5935,8 +5935,8 @@ class VictoryAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default().Comp
5935
5935
  const gridAndTicks = this.renderGridAndTicks(props);
5936
5936
  const modifiedGridAndTicks = props.fixLabelOverlap ? this.fixLabelOverlap(gridAndTicks, props) : gridAndTicks;
5937
5937
  const children = [this.renderLine(props), this.renderLabel(props), ...modifiedGridAndTicks];
5938
- const container = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.containerComponent, userProps);
5939
- return props.standalone ? this.renderContainer(container, children) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.groupComponent, userProps, children);
5938
+ const container = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.containerComponent, userProps);
5939
+ return props.standalone ? this.renderContainer(container, children) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.groupComponent, userProps, children);
5940
5940
  }
5941
5941
  }
5942
5942
  const VictoryAxis = (0,victory_core__WEBPACK_IMPORTED_MODULE_10__.addEvents)(VictoryAxisBase, options);
@@ -5959,10 +5959,10 @@ __webpack_require__.r(__webpack_exports__);
5959
5959
  /* harmony export */ "isInterpolatable": function() { return /* binding */ isInterpolatable; },
5960
5960
  /* harmony export */ "victoryInterpolator": function() { return /* binding */ victoryInterpolator; }
5961
5961
  /* harmony export */ });
5962
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
5963
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__);
5964
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
5965
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__);
5962
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
5963
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__);
5964
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
5965
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_1__);
5966
5966
  /* harmony import */ var victory_vendor_d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-vendor/d3-interpolate */ "../../victory-vendor/es/d3-interpolate.js");
5967
5967
 
5968
5968
 
@@ -5988,7 +5988,7 @@ const isInterpolatable = function (obj) {
5988
5988
  return false;
5989
5989
  case "object":
5990
5990
  // Don't try to interpolate class instances (except Date or Array).
5991
- return obj instanceof Date || Array.isArray(obj) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(obj);
5991
+ return obj instanceof Date || Array.isArray(obj) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(obj);
5992
5992
  case "function":
5993
5993
  // Careful! There may be extra properties on function objects that the
5994
5994
  // component expects to access - for instance, it may be a `d3.scale()`
@@ -6074,7 +6074,7 @@ const interpolateObject = function (startValue, endValue) {
6074
6074
  if (typeof x === "function" || typeof y === "function") {
6075
6075
  return interpolateFunction(x, y);
6076
6076
  }
6077
- if (typeof x === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(x) || typeof y === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(y)) {
6077
+ if (typeof x === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(x) || typeof y === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(y)) {
6078
6078
  return interpolateObject(x, y);
6079
6079
  }
6080
6080
  return (0,victory_vendor_d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolate)(x, y);
@@ -6083,7 +6083,7 @@ const interpolateObject = function (startValue, endValue) {
6083
6083
  // When the value is an array, attempt to sort by "key" so that animating nodes may be identified
6084
6084
  // based on "key" instead of index
6085
6085
  const keyData = val => {
6086
- return Array.isArray(val) ? lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default()(val, "key") : val;
6086
+ return Array.isArray(val) ? lodash_orderBy__WEBPACK_IMPORTED_MODULE_1___default()(val, "key") : val;
6087
6087
  };
6088
6088
  const i = {};
6089
6089
  const c = {};
@@ -6150,7 +6150,7 @@ const victoryInterpolator = function (a, b) {
6150
6150
  if (typeof a === "function" || typeof b === "function") {
6151
6151
  return interpolateFunction(a, b);
6152
6152
  }
6153
- if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(a) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(b)) {
6153
+ if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(a) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(b)) {
6154
6154
  // @ts-expect-error These generics are tough, but they work :)
6155
6155
  return interpolateObject(a, b);
6156
6156
  }
@@ -6326,16 +6326,15 @@ __webpack_require__.r(__webpack_exports__);
6326
6326
  /* harmony export */ "VictoryContainer": function() { return /* binding */ VictoryContainer; },
6327
6327
  /* harmony export */ "useVictoryContainer": function() { return /* binding */ useVictoryContainer; }
6328
6328
  /* harmony export */ });
6329
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/uniqueId */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js");
6330
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__);
6331
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
6332
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
6329
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
6330
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
6331
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/uniqueId */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js");
6332
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1__);
6333
6333
  /* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
6334
6334
  /* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
6335
6335
  /* harmony import */ var _victory_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util */ "../../victory-core/es/victory-util/merge-refs.js");
6336
6336
  /* harmony import */ var _victory_portal_portal_outlet__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-portal/portal-outlet */ "../../victory-core/es/victory-portal/portal-outlet.js");
6337
6337
  /* harmony import */ var _victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-portal/portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
6338
-
6339
6338
  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); }
6340
6339
 
6341
6340
 
@@ -6343,9 +6342,10 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
6343
6342
 
6344
6343
 
6345
6344
 
6345
+
6346
6346
  const defaultProps = {
6347
6347
  className: "VictoryContainer",
6348
- portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_2__.Portal, null),
6348
+ portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_2__.Portal, null),
6349
6349
  portalZIndex: 99,
6350
6350
  responsive: true,
6351
6351
  role: "img"
@@ -6362,10 +6362,10 @@ function useVictoryContainer(initialProps) {
6362
6362
  height,
6363
6363
  responsive
6364
6364
  } = props;
6365
- const localContainerRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
6365
+ const localContainerRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
6366
6366
 
6367
6367
  // Generated ID stored in ref because it needs to persist across renders
6368
- const generatedId = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()("victory-container-"));
6368
+ const generatedId = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default()("victory-container-"));
6369
6369
  const containerId = props.containerId ?? generatedId.current;
6370
6370
  const getIdForElement = elName => `${containerId}-${elName}`;
6371
6371
  const userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_3__.getSafeUserProps(props);
@@ -6424,7 +6424,7 @@ const VictoryContainer = initialProps => {
6424
6424
  containerRef,
6425
6425
  localContainerRef
6426
6426
  } = useVictoryContainer(initialProps);
6427
- react__WEBPACK_IMPORTED_MODULE_1___default().useEffect(() => {
6427
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
6428
6428
  if (!events?.onWheel) return;
6429
6429
  const handleWheel = e => e.preventDefault();
6430
6430
  const container = localContainerRef?.current;
@@ -6434,7 +6434,7 @@ const VictoryContainer = initialProps => {
6434
6434
  };
6435
6435
  // eslint-disable-next-line react-hooks/exhaustive-deps
6436
6436
  }, []);
6437
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
6437
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
6438
6438
  className: className,
6439
6439
  style: {
6440
6440
  ...style,
@@ -6448,7 +6448,7 @@ const VictoryContainer = initialProps => {
6448
6448
  "data-ouia-component-type": ouiaType,
6449
6449
  "data-ouia-safe": ouiaSafe,
6450
6450
  ref: (0,_victory_util__WEBPACK_IMPORTED_MODULE_4__.mergeRefs)([localContainerRef, containerRef])
6451
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_5__.PortalProvider, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("svg", _extends({
6451
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_5__.PortalProvider, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", _extends({
6452
6452
  width: width,
6453
6453
  height: height,
6454
6454
  tabIndex: tabIndex,
@@ -6461,11 +6461,11 @@ const VictoryContainer = initialProps => {
6461
6461
  ...dimensions,
6462
6462
  pointerEvents: "all"
6463
6463
  }
6464
- }, userProps, events), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("title", {
6464
+ }, userProps, events), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("title", {
6465
6465
  id: titleId
6466
- }, title) : null, desc ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("desc", {
6466
+ }, title) : null, desc ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", {
6467
6467
  id: descId
6468
- }, desc) : null, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
6468
+ }, desc) : null, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
6469
6469
  style: {
6470
6470
  ...dimensions,
6471
6471
  zIndex: portalZIndex,
@@ -6473,7 +6473,7 @@ const VictoryContainer = initialProps => {
6473
6473
  top: 0,
6474
6474
  left: 0
6475
6475
  }
6476
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_victory_portal_portal_outlet__WEBPACK_IMPORTED_MODULE_6__.PortalOutlet, {
6476
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_portal_outlet__WEBPACK_IMPORTED_MODULE_6__.PortalOutlet, {
6477
6477
  as: portalComponent,
6478
6478
  width: width,
6479
6479
  height: height,
@@ -6500,12 +6500,12 @@ __webpack_require__.r(__webpack_exports__);
6500
6500
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6501
6501
  /* harmony export */ "VictoryLabel": function() { return /* binding */ VictoryLabel; }
6502
6502
  /* harmony export */ });
6503
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
6504
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
6503
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
6504
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
6505
6505
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
6506
6506
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
6507
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
6508
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
6507
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
6508
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__);
6509
6509
  /* harmony import */ var _victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../victory-portal/victory-portal */ "../../victory-core/es/victory-portal/victory-portal.js");
6510
6510
  /* harmony import */ var _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-primitives/rect */ "../../victory-core/es/victory-primitives/rect.js");
6511
6511
  /* harmony import */ var _victory_primitives_text__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-primitives/text */ "../../victory-core/es/victory-primitives/text.js");
@@ -6516,9 +6516,9 @@ __webpack_require__.r(__webpack_exports__);
6516
6516
  /* harmony import */ var _victory_util_style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/style */ "../../victory-core/es/victory-util/style.js");
6517
6517
  /* harmony import */ var _victory_util_textsize__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-util/textsize */ "../../victory-core/es/victory-util/textsize.js");
6518
6518
  /* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
6519
+ /* eslint no-magic-numbers: ["error", { "ignore": [-0.5, 0.5, 0, 1, 2] }]*/
6519
6520
 
6520
6521
 
6521
- /* eslint no-magic-numbers: ["error", { "ignore": [-0.5, 0.5, 0, 1, 2] }]*/
6522
6522
 
6523
6523
 
6524
6524
 
@@ -6570,7 +6570,7 @@ const shouldUseMultilineBackgrounds = props => {
6570
6570
  backgroundStyle,
6571
6571
  backgroundPadding
6572
6572
  } = props;
6573
- return Array.isArray(backgroundStyle) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(backgroundStyle) || Array.isArray(backgroundPadding) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(backgroundPadding);
6573
+ return Array.isArray(backgroundStyle) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(backgroundStyle) || Array.isArray(backgroundPadding) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(backgroundPadding);
6574
6574
  };
6575
6575
  const getStyles = (style, props) => {
6576
6576
  if (props.disableInlineStyles) {
@@ -6586,32 +6586,28 @@ const getStyles = (style, props) => {
6586
6586
  fontSize: getFontSize(baseStyles)
6587
6587
  });
6588
6588
  };
6589
- return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(s => getSingleStyle(s)) : getSingleStyle(style);
6589
+ return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(style) ? style.map(s => getSingleStyle(s)) : getSingleStyle(style);
6590
6590
  };
6591
6591
  const getBackgroundStyles = (style, props) => {
6592
6592
  if (!style) {
6593
6593
  return undefined;
6594
6594
  }
6595
- return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(s => _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(s, props)) : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(style, props);
6595
+ return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(style) ? style.map(s => _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(s, props)) : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(style, props);
6596
6596
  };
6597
6597
  const getBackgroundPadding = props => {
6598
6598
  if (props.backgroundPadding && Array.isArray(props.backgroundPadding)) {
6599
6599
  return props.backgroundPadding.map(backgroundPadding => {
6600
6600
  const padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(backgroundPadding, props);
6601
- return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding({
6602
- padding
6603
- });
6601
+ return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding(padding);
6604
6602
  });
6605
6603
  }
6606
6604
  const padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.backgroundPadding, props);
6607
- return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding({
6608
- padding
6609
- });
6605
+ return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding(padding);
6610
6606
  };
6611
6607
  const getLineHeight = props => {
6612
6608
  const lineHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.lineHeight, props);
6613
6609
  if (Array.isArray(lineHeight)) {
6614
- return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(lineHeight) ? [1] : lineHeight;
6610
+ return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(lineHeight) ? [1] : lineHeight;
6615
6611
  }
6616
6612
  return lineHeight;
6617
6613
  };
@@ -6731,7 +6727,7 @@ const getFullBackground = (calculatedProps, tspanValues) => {
6731
6727
  x: inline ? xCoordinate - backgroundPadding.left : xCoordinate + dx - backgroundPadding.left,
6732
6728
  y: yCoordinate
6733
6729
  };
6734
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
6730
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
6735
6731
  };
6736
6732
  const getInlineXOffset = (calculatedProps, textElements, index) => {
6737
6733
  const {
@@ -6801,7 +6797,7 @@ const getChildBackgrounds = (calculatedProps, tspanValues) => {
6801
6797
  x: xCoord - padding.left,
6802
6798
  y: yCoord
6803
6799
  };
6804
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
6800
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
6805
6801
  });
6806
6802
  };
6807
6803
  const getBackgroundElement = (calculatedProps, tspanValues) => {
@@ -6932,16 +6928,16 @@ const renderLabel = (calculatedProps, tspanValues) => {
6932
6928
  style: currentStyle,
6933
6929
  children: line
6934
6930
  };
6935
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(tspanComponent, tspanProps);
6931
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(tspanComponent, tspanProps);
6936
6932
  });
6937
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(textComponent, textProps, tspans);
6933
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(textComponent, textProps, tspans);
6938
6934
  };
6939
6935
  const defaultProps = {
6940
- backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_8__.Rect, null),
6941
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("g", null),
6936
+ backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_8__.Rect, null),
6937
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null),
6942
6938
  direction: "inherit",
6943
- textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_9__.Text, null),
6944
- tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_10__.TSpan, null),
6939
+ textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_9__.Text, null),
6940
+ tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_10__.TSpan, null),
6945
6941
  capHeight: 0.71,
6946
6942
  // Magic number from d3.
6947
6943
  lineHeight: 1
@@ -6978,10 +6974,10 @@ const VictoryLabel = initialProps => {
6978
6974
  if (props.backgroundStyle) {
6979
6975
  const backgroundElement = getBackgroundElement(calculatedProps, tspanValues);
6980
6976
  const children = [backgroundElement, label];
6981
- const backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(props.groupComponent, {}, children);
6982
- return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, backgroundWithLabel) : backgroundWithLabel;
6977
+ const backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.groupComponent, {}, children);
6978
+ return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, backgroundWithLabel) : backgroundWithLabel;
6983
6979
  }
6984
- return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, label) : label;
6980
+ return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, label) : label;
6985
6981
  };
6986
6982
  VictoryLabel.displayName = "VictoryLabel";
6987
6983
  VictoryLabel.role = "label";
@@ -7107,12 +7103,12 @@ __webpack_require__.r(__webpack_exports__);
7107
7103
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7108
7104
  /* harmony export */ "VictoryPortal": function() { return /* binding */ VictoryPortal; }
7109
7105
  /* harmony export */ });
7110
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/uniqueId */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js");
7111
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__);
7106
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
7107
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7112
7108
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
7113
7109
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
7114
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
7115
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
7110
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/uniqueId */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js");
7111
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2__);
7116
7112
  /* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
7117
7113
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
7118
7114
  /* harmony import */ var _portal_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
@@ -7123,14 +7119,14 @@ __webpack_require__.r(__webpack_exports__);
7123
7119
 
7124
7120
 
7125
7121
  const defaultProps = {
7126
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("g", null)
7122
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null)
7127
7123
  };
7128
7124
  const VictoryPortal = initialProps => {
7129
7125
  const props = {
7130
7126
  ...defaultProps,
7131
7127
  ...initialProps
7132
7128
  };
7133
- const [id] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()());
7129
+ const [id] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default()());
7134
7130
  const portalContext = (0,_portal_context__WEBPACK_IMPORTED_MODULE_3__.usePortalContext)();
7135
7131
  if (!portalContext) {
7136
7132
  const msg = "`renderInPortal` is not supported outside of `VictoryContainer`. " + "Component will be rendered in place";
@@ -7148,12 +7144,12 @@ const VictoryPortal = initialProps => {
7148
7144
  const newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()(standardProps, childProps, _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__.omit(props, ["children", "groupComponent"]), {
7149
7145
  key: childProps.key ?? id
7150
7146
  });
7151
- const child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(children, newProps);
7152
- react__WEBPACK_IMPORTED_MODULE_2___default().useEffect(() => {
7147
+ const child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(children, newProps);
7148
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
7153
7149
  portalContext?.addChild(id, child);
7154
7150
  // eslint-disable-next-line react-hooks/exhaustive-deps
7155
7151
  }, [props.children]);
7156
- react__WEBPACK_IMPORTED_MODULE_2___default().useEffect(() => {
7152
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
7157
7153
  return () => portalContext?.removeChild(id);
7158
7154
  // eslint-disable-next-line react-hooks/exhaustive-deps
7159
7155
  }, []);
@@ -7174,17 +7170,17 @@ __webpack_require__.r(__webpack_exports__);
7174
7170
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7175
7171
  /* harmony export */ "Arc": function() { return /* binding */ Arc; }
7176
7172
  /* harmony export */ });
7177
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
7178
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
7179
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
7180
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
7173
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
7174
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7175
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
7176
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
7181
7177
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
7182
7178
  /* harmony import */ var _path__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./path */ "../../victory-core/es/victory-primitives/path.js");
7183
-
7184
7179
  /* eslint no-magic-numbers: ["error", { "ignore": [0, 1, 2, 180] }]*/
7185
7180
 
7186
7181
 
7187
7182
 
7183
+
7188
7184
  const getArcPath = props => {
7189
7185
  const {
7190
7186
  cx,
@@ -7236,13 +7232,13 @@ const evaluateProps = props => {
7236
7232
  });
7237
7233
  };
7238
7234
  const defaultProps = {
7239
- pathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_path__WEBPACK_IMPORTED_MODULE_3__.Path, null),
7235
+ pathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_path__WEBPACK_IMPORTED_MODULE_3__.Path, null),
7240
7236
  role: "presentation",
7241
7237
  shapeRendering: "auto"
7242
7238
  };
7243
7239
  const Arc = initialProps => {
7244
- const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, initialProps, defaultProps));
7245
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.pathComponent, {
7240
+ const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps));
7241
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.pathComponent, {
7246
7242
  ...props.events,
7247
7243
  "aria-label": props.ariaLabel,
7248
7244
  d: getArcPath(props),
@@ -7270,10 +7266,10 @@ __webpack_require__.r(__webpack_exports__);
7270
7266
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7271
7267
  /* harmony export */ "Background": function() { return /* binding */ Background; }
7272
7268
  /* harmony export */ });
7273
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
7274
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
7275
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
7276
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
7269
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
7270
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7271
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
7272
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
7277
7273
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
7278
7274
  /* harmony import */ var _rect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./rect */ "../../victory-core/es/victory-primitives/rect.js");
7279
7275
  /* harmony import */ var _circle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./circle */ "../../victory-core/es/victory-primitives/circle.js");
@@ -7293,14 +7289,14 @@ const evaluateProps = props => {
7293
7289
  });
7294
7290
  };
7295
7291
  const defaultProps = {
7296
- circleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_circle__WEBPACK_IMPORTED_MODULE_3__.Circle, null),
7297
- rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_4__.Rect, null),
7292
+ circleComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_circle__WEBPACK_IMPORTED_MODULE_3__.Circle, null),
7293
+ rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_4__.Rect, null),
7298
7294
  role: "presentation",
7299
7295
  shapeRendering: "auto"
7300
7296
  };
7301
7297
  const Background = initialProps => {
7302
- const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, initialProps, defaultProps));
7303
- return props.polar ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.circleComponent, {
7298
+ const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps));
7299
+ return props.polar ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.circleComponent, {
7304
7300
  ...props.events,
7305
7301
  style: props.style,
7306
7302
  role: props.role,
@@ -7309,7 +7305,7 @@ const Background = initialProps => {
7309
7305
  cy: props.y,
7310
7306
  r: props.height,
7311
7307
  className: props.className
7312
- }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.rectComponent, {
7308
+ }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.rectComponent, {
7313
7309
  ...props.events,
7314
7310
  style: props.style,
7315
7311
  role: props.role,
@@ -7380,10 +7376,10 @@ __webpack_require__.r(__webpack_exports__);
7380
7376
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7381
7377
  /* harmony export */ "LineSegment": function() { return /* binding */ LineSegment; }
7382
7378
  /* harmony export */ });
7383
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
7384
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
7385
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
7386
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
7379
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
7380
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7381
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
7382
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
7387
7383
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
7388
7384
  /* harmony import */ var _line__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./line */ "../../victory-core/es/victory-primitives/line.js");
7389
7385
 
@@ -7415,13 +7411,13 @@ const evaluateProps = props => {
7415
7411
  });
7416
7412
  };
7417
7413
  const defaultProps = {
7418
- lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_3__.Line, null),
7414
+ lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_line__WEBPACK_IMPORTED_MODULE_3__.Line, null),
7419
7415
  role: "presentation",
7420
7416
  shapeRendering: "auto"
7421
7417
  };
7422
7418
  const LineSegment = initialProps => {
7423
- const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, initialProps, defaultProps));
7424
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.lineComponent, {
7419
+ const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps));
7420
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.lineComponent, {
7425
7421
  ...props.events,
7426
7422
  "aria-label": props.ariaLabel,
7427
7423
  style: props.style,
@@ -8778,22 +8774,22 @@ __webpack_require__.r(__webpack_exports__);
8778
8774
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8779
8775
  /* harmony export */ "VictoryTransition": function() { return /* binding */ VictoryTransition; }
8780
8776
  /* harmony export */ });
8781
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
8782
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
8777
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
8778
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
8783
8779
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
8784
8780
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
8785
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
8786
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
8781
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
8782
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_2__);
8783
+ /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
8784
+ /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_3__);
8787
8785
  /* harmony import */ var _victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-animation/victory-animation */ "../../victory-core/es/victory-animation/victory-animation.js");
8788
8786
  /* harmony import */ var _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/collection */ "../../victory-core/es/victory-util/collection.js");
8789
8787
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
8790
8788
  /* harmony import */ var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/timer-context */ "../../victory-core/es/victory-util/timer-context.js");
8791
8789
  /* harmony import */ var _victory_util_transitions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/transitions */ "../../victory-core/es/victory-util/transitions.js");
8792
- /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
8793
- /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_3__);
8790
+ 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); }
8794
8791
 
8795
8792
 
8796
- 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); }
8797
8793
 
8798
8794
 
8799
8795
 
@@ -8801,7 +8797,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
8801
8797
 
8802
8798
 
8803
8799
 
8804
- class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Component) {
8800
+ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
8805
8801
  static displayName = "VictoryTransition";
8806
8802
  static contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_4__["default"];
8807
8803
  constructor(props, context) {
@@ -8844,8 +8840,8 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
8844
8840
  nextProps
8845
8841
  };
8846
8842
  }
8847
- const oldChildren = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(props.children);
8848
- const nextChildren = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(nextProps.children);
8843
+ const oldChildren = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
8844
+ const nextChildren = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(nextProps.children);
8849
8845
  const {
8850
8846
  nodesWillExit,
8851
8847
  nodesWillEnter,
@@ -8868,12 +8864,12 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
8868
8864
  const childDomain = child.props && child.type.getDomain(child.props, axis);
8869
8865
  return childDomain ? memo.concat(childDomain) : memo;
8870
8866
  } else if (child.props && child.props.children) {
8871
- return memo.concat(getChildDomains(react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(child.props.children)));
8867
+ return memo.concat(getChildDomains(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(child.props.children)));
8872
8868
  }
8873
8869
  return memo;
8874
8870
  }, []);
8875
8871
  };
8876
- const child = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(props.children)[0];
8872
+ const child = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children)[0];
8877
8873
  const childProps = child.props || {};
8878
8874
  const domain = Array.isArray(childProps.domain) ? childProps.domain : childProps.domain && childProps.domain[axis];
8879
8875
  if (!childProps.children && domain) {
@@ -8906,7 +8902,7 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
8906
8902
  render() {
8907
8903
  const props = this.pickProps();
8908
8904
  const getTransitionProps = this.props.animate?.getTransitions ? this.props.animate.getTransitions : _victory_util_transitions__WEBPACK_IMPORTED_MODULE_5__.getTransitionPropsFactory(props, this.state, newState => this.setState(newState));
8909
- const child = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(props.children)[0];
8905
+ const child = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children)[0];
8910
8906
  const transitionProps = getTransitionProps(child);
8911
8907
  this.transitionProps = transitionProps;
8912
8908
  const domain = {
@@ -8920,21 +8916,21 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
8920
8916
  }, transitionProps, child.props);
8921
8917
  const animationWhitelist = props.animationWhitelist || [];
8922
8918
  const whitelist = animationWhitelist.concat(["clipWidth"]);
8923
- const propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(combinedProps, whitelist) : combinedProps;
8924
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_8__.VictoryAnimation, _extends({}, combinedProps.animate, {
8919
+ const propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_2___default()(combinedProps, whitelist) : combinedProps;
8920
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_8__.VictoryAnimation, _extends({}, combinedProps.animate, {
8925
8921
  data: propsToAnimate
8926
8922
  }), newProps => {
8927
8923
  if (child.props.groupComponent) {
8928
- const groupComponent = this.continuous ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child.props.groupComponent, {
8924
+ const groupComponent = this.continuous ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child.props.groupComponent, {
8929
8925
  clipWidth: newProps.clipWidth || 0
8930
8926
  }) : child.props.groupComponent;
8931
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8927
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8932
8928
  animate: null,
8933
8929
  animating: true,
8934
8930
  groupComponent
8935
8931
  }, newProps, combinedProps));
8936
8932
  }
8937
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8933
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8938
8934
  animate: null,
8939
8935
  animating: true
8940
8936
  }, newProps, combinedProps));
@@ -8955,14 +8951,14 @@ __webpack_require__.r(__webpack_exports__);
8955
8951
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8956
8952
  /* harmony export */ "addEvents": function() { return /* binding */ addEvents; }
8957
8953
  /* harmony export */ });
8958
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
8959
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
8960
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
8961
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__);
8962
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
8963
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__);
8964
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
8965
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
8954
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
8955
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
8956
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
8957
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
8958
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
8959
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__);
8960
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
8961
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_3__);
8966
8962
  /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
8967
8963
  /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_4__);
8968
8964
  /* harmony import */ var _victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-transition/victory-transition */ "../../victory-core/es/victory-transition/victory-transition.js");
@@ -9109,8 +9105,8 @@ function addEvents(WrappedComponent, options) {
9109
9105
  return {};
9110
9106
  }
9111
9107
  const getState = (key, type) => {
9112
- const result = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, this.getEventState(key, type), this.getSharedEventState(key, type));
9113
- return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(result) ? undefined : result;
9108
+ const result = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, this.getEventState(key, type), this.getSharedEventState(key, type));
9109
+ return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(result) ? undefined : result;
9114
9110
  };
9115
9111
  const components = options.components || defaultComponents;
9116
9112
  const stateChanges = components.map(component => {
@@ -9123,7 +9119,7 @@ function addEvents(WrappedComponent, options) {
9123
9119
  return stateChanges;
9124
9120
  }
9125
9121
  applyExternalMutations(props, externalMutations) {
9126
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(externalMutations)) {
9122
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalMutations)) {
9127
9123
  const callbacks = props.externalEventMutations.reduce((memo, mutation) => (0,_helpers__WEBPACK_IMPORTED_MODULE_5__.isFunction)(mutation.callback) ? memo.concat(mutation.callback) : memo, []);
9128
9124
  const compiledCallbacks = callbacks.length ? () => {
9129
9125
  callbacks.forEach(c => c());
@@ -9156,7 +9152,7 @@ function addEvents(WrappedComponent, options) {
9156
9152
  sharedEvents,
9157
9153
  externalEventMutations
9158
9154
  } = props;
9159
- return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_6__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
9155
+ return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_6__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
9160
9156
  }
9161
9157
  cacheValues(obj) {
9162
9158
  Object.keys(obj).forEach(key => {
@@ -9167,10 +9163,10 @@ function addEvents(WrappedComponent, options) {
9167
9163
  const getSharedEventStateFunction = getSharedEventState || this.getSharedEventState.bind(this);
9168
9164
  const sharedParentState = getSharedEventStateFunction("parent", "parent");
9169
9165
  const parentState = this.getEventState("parent", "parent");
9170
- const baseParentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parentState, sharedParentState);
9166
+ const baseParentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, parentState, sharedParentState);
9171
9167
  const parentPropsList = baseParentProps.parentControlledProps;
9172
- const parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(baseParentProps, parentPropsList) : {};
9173
- const modifiedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parentProps, props);
9168
+ const parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_3___default()(baseParentProps, parentPropsList) : {};
9169
+ const modifiedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, parentProps, props);
9174
9170
  return typeof WrappedComponent.getBaseProps === "function" ? WrappedComponent.getBaseProps(modifiedProps) : {};
9175
9171
  }
9176
9172
  getAllEvents(props) {
@@ -9190,18 +9186,18 @@ function addEvents(WrappedComponent, options) {
9190
9186
  const currentProps = component && typeof component === "object" && "props" in component ? component.props : undefined;
9191
9187
  if (this.hasEvents) {
9192
9188
  const baseEvents = this.getEvents(this.props, type, key);
9193
- const componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
9189
+ const componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
9194
9190
  index,
9195
9191
  key: id
9196
9192
  }, this.getEventState(key, type), this.getSharedEventState(key, type), currentProps, baseProps, {
9197
9193
  id
9198
9194
  });
9199
- const events = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, _events__WEBPACK_IMPORTED_MODULE_6__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
9195
+ const events = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, _events__WEBPACK_IMPORTED_MODULE_6__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
9200
9196
  return Object.assign({}, componentProps, {
9201
9197
  events
9202
9198
  });
9203
9199
  }
9204
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
9200
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
9205
9201
  index,
9206
9202
  key: id
9207
9203
  }, currentProps, baseProps, {
@@ -9215,15 +9211,15 @@ function addEvents(WrappedComponent, options) {
9215
9211
  this.globalEvents = _events__WEBPACK_IMPORTED_MODULE_6__.getGlobalEvents(parentProps.events);
9216
9212
  parentProps.events = _events__WEBPACK_IMPORTED_MODULE_6__.omitGlobalEvents(parentProps.events);
9217
9213
  }
9218
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(component, parentProps, children);
9214
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(component, parentProps, children);
9219
9215
  }
9220
9216
  animateComponent(props, defaultAnimationWhitelist) {
9221
9217
  const animationWhitelist = typeof props.animate === "object" && props.animate?.animationWhitelist || defaultAnimationWhitelist;
9222
9218
  const Comp = this.constructor;
9223
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_8__.VictoryTransition, {
9219
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_8__.VictoryTransition, {
9224
9220
  animate: props.animate,
9225
9221
  animationWhitelist: animationWhitelist
9226
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(Comp, props));
9222
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Comp, props));
9227
9223
  }
9228
9224
 
9229
9225
  // Used by `VictoryLine` and `VictoryArea`
@@ -9238,12 +9234,12 @@ function addEvents(WrappedComponent, options) {
9238
9234
  let newMemo = memo;
9239
9235
  const labelProps = this.getComponentProps(labelComponent, "labels", key);
9240
9236
  if (labelProps && labelProps.text !== undefined && labelProps.text !== null) {
9241
- newMemo = newMemo.concat( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(labelComponent, labelProps));
9237
+ newMemo = newMemo.concat( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(labelComponent, labelProps));
9242
9238
  }
9243
9239
  return newMemo;
9244
9240
  }, []);
9245
9241
  const dataProps = this.getComponentProps(dataComponent, "data", "all");
9246
- const children = [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(dataComponent, dataProps), ...labelComponents];
9242
+ const children = [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(dataComponent, dataProps), ...labelComponents];
9247
9243
  return this.renderContainer(groupComponent, children);
9248
9244
  }
9249
9245
  renderData(props, shouldRenderDatum) {
@@ -9258,14 +9254,14 @@ function addEvents(WrappedComponent, options) {
9258
9254
  const dataComponents = this.dataKeys.reduce((validDataComponents, _dataKey, index) => {
9259
9255
  const dataProps = this.getComponentProps(dataComponent, "data", index);
9260
9256
  if (shouldRenderDatum(dataProps.datum)) {
9261
- validDataComponents.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(dataComponent, dataProps));
9257
+ validDataComponents.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(dataComponent, dataProps));
9262
9258
  }
9263
9259
  return validDataComponents;
9264
9260
  }, []);
9265
9261
  const labelComponents = this.dataKeys.map((_dataKey, index) => {
9266
9262
  const labelProps = this.getComponentProps(labelComponent, "labels", index);
9267
9263
  if (labelProps.text !== undefined && labelProps.text !== null) {
9268
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(labelComponent, labelProps);
9264
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(labelComponent, labelProps);
9269
9265
  }
9270
9266
  return undefined;
9271
9267
  }).filter(Boolean);
@@ -9301,16 +9297,16 @@ __webpack_require__.r(__webpack_exports__);
9301
9297
  /* harmony export */ "modifyProps": function() { return /* binding */ modifyProps; },
9302
9298
  /* harmony export */ "stringTicks": function() { return /* binding */ stringTicks; }
9303
9299
  /* harmony export */ });
9304
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
9305
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__);
9306
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
9307
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_1__);
9300
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
9301
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
9302
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
9303
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
9308
9304
  /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js");
9309
9305
  /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_2__);
9310
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
9311
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__);
9312
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
9313
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
9306
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
9307
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_3__);
9308
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
9309
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_4__);
9314
9310
  /* harmony import */ var _collection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./collection */ "../../victory-core/es/victory-util/collection.js");
9315
9311
  /* harmony import */ var _domain__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./domain */ "../../victory-core/es/victory-util/domain.js");
9316
9312
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
@@ -9357,7 +9353,7 @@ function findAxisComponents(childComponents, predicate) {
9357
9353
  if (child.type && child.type.role === "axis" && predicateFunction(child)) {
9358
9354
  return memo.concat(child);
9359
9355
  } else if (child.props && child.props.children) {
9360
- return memo.concat(findAxes(react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(child.props.children)));
9356
+ return memo.concat(findAxes(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(child.props.children)));
9361
9357
  }
9362
9358
  return memo;
9363
9359
  }, []);
@@ -9395,7 +9391,7 @@ function getAxisComponentsWithParent(childComponents, type) {
9395
9391
  if (child.type && child.type.role === "axis" && matchesType(child)) {
9396
9392
  return memo.concat(child);
9397
9393
  } else if (child.props && child.props.children) {
9398
- const childAxis = findComponents(react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(child.props.children));
9394
+ const childAxis = findComponents(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(child.props.children));
9399
9395
  return childAxis.length > 0 ? memo.concat(child) : memo;
9400
9396
  }
9401
9397
  return memo;
@@ -9454,7 +9450,7 @@ function getDefaultTickFormat(props) {
9454
9450
  return stringTicks(props) ? (x, index) => tickValues[index] : fallbackFormat;
9455
9451
  }
9456
9452
  const invertedStringMap = stringMap && _helpers__WEBPACK_IMPORTED_MODULE_6__.invert(stringMap);
9457
- const tickValueArray = lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default()(Object.values(stringMap), n => n);
9453
+ const tickValueArray = lodash_orderBy__WEBPACK_IMPORTED_MODULE_4___default()(Object.values(stringMap), n => n);
9458
9454
  const dataNames = tickValueArray.map(tick => invertedStringMap[tick]);
9459
9455
  // string ticks should have one tick of padding at the beginning
9460
9456
  const dataTicks = ["", ...dataNames, ""];
@@ -9491,14 +9487,14 @@ function getTickArray(props) {
9491
9487
  if (tickValues && _collection__WEBPACK_IMPORTED_MODULE_5__.containsStrings(tickValues)) {
9492
9488
  ticks = stringMap ? tickValues.map(tick => stringMap[tick]) : _helpers__WEBPACK_IMPORTED_MODULE_6__.range(1, tickValues.length + 1);
9493
9489
  }
9494
- const tickArray = ticks ? lodash_uniq__WEBPACK_IMPORTED_MODULE_1___default()(ticks) : getTicksFromFormat();
9490
+ const tickArray = ticks ? lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default()(ticks) : getTicksFromFormat();
9495
9491
  const buildTickArray = arr => {
9496
9492
  const newTickArray = [];
9497
9493
  const domain = props.domain && props.domain[axis] || props.domain;
9498
9494
  if (arr) {
9499
9495
  arr.forEach((t, index) => {
9500
9496
  if (Array.isArray(domain)) {
9501
- if (t >= _collection__WEBPACK_IMPORTED_MODULE_5__.getMinValue(domain) && t <= _collection__WEBPACK_IMPORTED_MODULE_5__.getMaxValue(domain)) {
9497
+ if (t >= _collection__WEBPACK_IMPORTED_MODULE_5__.getMinValue(domain).valueOf() && t <= _collection__WEBPACK_IMPORTED_MODULE_5__.getMaxValue(domain).valueOf()) {
9502
9498
  newTickArray.push({
9503
9499
  value: t,
9504
9500
  index
@@ -9650,7 +9646,7 @@ function modifyProps(props, fallbackProps) {
9650
9646
  if (role === "axis") {
9651
9647
  return _helpers__WEBPACK_IMPORTED_MODULE_6__.modifyProps(props, fallbackProps, "axis");
9652
9648
  }
9653
- const axisTheme = lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, props.theme[role], props.theme.axis);
9649
+ const axisTheme = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, props.theme[role], props.theme.axis);
9654
9650
  const theme = Object.assign({}, props.theme, {
9655
9651
  axis: axisTheme
9656
9652
  });
@@ -9754,24 +9750,24 @@ __webpack_require__.r(__webpack_exports__);
9754
9750
  /* harmony export */ "getStringsFromData": function() { return /* binding */ getStringsFromData; },
9755
9751
  /* harmony export */ "isDataComponent": function() { return /* binding */ isDataComponent; }
9756
9752
  /* harmony export */ });
9757
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omitBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/omitBy.js");
9758
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_0__);
9759
- /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isUndefined */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isUndefined.js");
9760
- /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1__);
9753
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
9754
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
9755
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
9756
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__);
9761
9757
  /* harmony import */ var lodash_isEqual__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isEqual */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEqual.js");
9762
9758
  /* harmony import */ var lodash_isEqual__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEqual__WEBPACK_IMPORTED_MODULE_2__);
9763
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
9764
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__);
9765
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
9766
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_4__);
9767
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash/property */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js");
9768
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_5__);
9769
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
9770
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6__);
9771
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
9772
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_7__);
9773
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "react");
9774
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
9759
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
9760
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3__);
9761
+ /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/isUndefined */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isUndefined.js");
9762
+ /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4__);
9763
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash/omitBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/omitBy.js");
9764
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_5__);
9765
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
9766
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_6__);
9767
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash/property */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js");
9768
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_7__);
9769
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
9770
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_8__);
9775
9771
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
9776
9772
  /* harmony import */ var _collection__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./collection */ "../../victory-core/es/victory-util/collection.js");
9777
9773
  /* harmony import */ var _scale__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./scale */ "../../victory-core/es/victory-util/scale.js");
@@ -9805,7 +9801,7 @@ function getLength(data) {
9805
9801
 
9806
9802
  // Returns generated data for a given axis based on domain and sample from props
9807
9803
  function generateDataArray(props, axis) {
9808
- const propsDomain = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6___default()(props.domain) ? props.domain[axis] : props.domain;
9804
+ const propsDomain = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3___default()(props.domain) ? props.domain[axis] : props.domain;
9809
9805
  const domain = propsDomain || _scale__WEBPACK_IMPORTED_MODULE_10__.getBaseScale(props, axis).domain();
9810
9806
  const samples = props.samples || 1;
9811
9807
  const domainMax = Math.max(...domain);
@@ -9830,7 +9826,7 @@ function sortData(dataset, sortKey, sortOrder) {
9830
9826
  formattedSortKey = `_${sortKey}`;
9831
9827
  }
9832
9828
  const order = sortOrder === "ascending" ? "asc" : "desc";
9833
- return lodash_orderBy__WEBPACK_IMPORTED_MODULE_4___default()(dataset, formattedSortKey, order);
9829
+ return lodash_orderBy__WEBPACK_IMPORTED_MODULE_6___default()(dataset, formattedSortKey, order);
9834
9830
  }
9835
9831
 
9836
9832
  // This method will remove data points that break certain scales. (log scale only)
@@ -9874,7 +9870,7 @@ function getEventKey(key) {
9874
9870
  return () => undefined;
9875
9871
  }
9876
9872
  // otherwise, assume it is an array index, property key or path (_.property handles all three)
9877
- return lodash_property__WEBPACK_IMPORTED_MODULE_5___default()(key);
9873
+ return lodash_property__WEBPACK_IMPORTED_MODULE_7___default()(key);
9878
9874
  }
9879
9875
 
9880
9876
  // Returns data with an eventKey prop added to each datum
@@ -9933,12 +9929,12 @@ function formatDataFromDomain(dataset, domain, defaultBaseline) {
9933
9929
  if (isUnderMinY(baseline) && !isUnderMinY(value)) _y0 = minDomainY;
9934
9930
  // baseline and value with only baseline above max, set baseline to maxDomainY
9935
9931
  if (isOverMaxY(baseline) && !isOverMaxY(value)) _y0 = maxDomainY;
9936
- return Object.assign({}, datum, lodash_omitBy__WEBPACK_IMPORTED_MODULE_0___default()({
9932
+ return Object.assign({}, datum, lodash_omitBy__WEBPACK_IMPORTED_MODULE_5___default()({
9937
9933
  _x,
9938
9934
  _y,
9939
9935
  _y0,
9940
9936
  _y1
9941
- }, (lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1___default())));
9937
+ }, (lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4___default())));
9942
9938
  });
9943
9939
  }
9944
9940
 
@@ -9952,7 +9948,7 @@ function createStringMap(props, axis) {
9952
9948
  const stringsFromAxes = getStringsFromAxes(props, axis);
9953
9949
  const stringsFromCategories = getStringsFromCategories(props, axis);
9954
9950
  const stringsFromData = getStringsFromData(props, axis);
9955
- const allStrings = lodash_uniq__WEBPACK_IMPORTED_MODULE_7___default()([...stringsFromAxes, ...stringsFromCategories, ...stringsFromData]);
9951
+ const allStrings = lodash_uniq__WEBPACK_IMPORTED_MODULE_8___default()([...stringsFromAxes, ...stringsFromCategories, ...stringsFromData]);
9956
9952
  return allStrings.length === 0 ? null : allStrings.reduce((memo, string, index) => {
9957
9953
  memo[string] = index + 1;
9958
9954
  return memo;
@@ -10038,7 +10034,7 @@ function formatData(dataset, props, expectedKeys) {
10038
10034
  return memo;
10039
10035
  }, {});
10040
10036
  const formattedDatum = Object.assign({}, processedValues, parsedDatum);
10041
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(formattedDatum)) {
10037
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(formattedDatum)) {
10042
10038
  dataArr.push(formattedDatum);
10043
10039
  }
10044
10040
  return dataArr;
@@ -10165,7 +10161,7 @@ function isDataComponent(component) {
10165
10161
  };
10166
10162
  let role = getRole(component);
10167
10163
  if (role === "portal") {
10168
- const children = react__WEBPACK_IMPORTED_MODULE_8___default().Children.toArray(component.props.children);
10164
+ const children = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(component.props.children);
10169
10165
  role = children.length ? getRole(children[0]) : "";
10170
10166
  }
10171
10167
  const whitelist = ["area", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
@@ -10196,14 +10192,14 @@ __webpack_require__.r(__webpack_exports__);
10196
10192
  /* harmony export */ "getSymmetricDomain": function() { return /* binding */ getSymmetricDomain; },
10197
10193
  /* harmony export */ "isDomainComponent": function() { return /* binding */ isDomainComponent; }
10198
10194
  /* harmony export */ });
10199
- /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isDate */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isDate.js");
10200
- /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isDate__WEBPACK_IMPORTED_MODULE_0__);
10201
- /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/sortedUniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedUniq.js");
10202
- /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1__);
10195
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
10196
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
10197
+ /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isDate */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isDate.js");
10198
+ /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isDate__WEBPACK_IMPORTED_MODULE_1__);
10203
10199
  /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
10204
10200
  /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2__);
10205
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
10206
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
10201
+ /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/sortedUniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedUniq.js");
10202
+ /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3__);
10207
10203
  /* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./data */ "../../victory-core/es/victory-util/data.js");
10208
10204
  /* harmony import */ var _scale__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./scale */ "../../victory-core/es/victory-util/scale.js");
10209
10205
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
@@ -10292,9 +10288,9 @@ function padDomain(domain, props, axis) {
10292
10288
  max: max.valueOf() + simplePadding.right
10293
10289
  };
10294
10290
  const singleQuadrantDomainPadding = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(props.singleQuadrantDomainPadding) ? props.singleQuadrantDomainPadding[axis] : props.singleQuadrantDomainPadding;
10295
- const addsQuadrants = min >= 0 && paddedDomain.min <= 0 || max <= 0 && paddedDomain.max >= 0;
10291
+ const addsQuadrants = min.valueOf() >= 0 && paddedDomain.min <= 0 || max.valueOf() <= 0 && paddedDomain.max >= 0;
10296
10292
  const adjust = (val, type) => {
10297
- const coerce = type === "min" && min >= 0 && val <= 0 || type === "max" && max <= 0 && val >= 0;
10293
+ const coerce = type === "min" && min.valueOf() >= 0 && val <= 0 || type === "max" && max.valueOf() <= 0 && val >= 0;
10298
10294
  return coerce ? 0 : val;
10299
10295
  };
10300
10296
  if (addsQuadrants && singleQuadrantDomainPadding !== false) {
@@ -10517,7 +10513,7 @@ function getMaxFromProps(props, axis) {
10517
10513
  if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(props.maxDomain) && props.maxDomain[axis] !== undefined) {
10518
10514
  return props.maxDomain[axis];
10519
10515
  }
10520
- return typeof props.maxDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default()(props.maxDomain) ? props.maxDomain : undefined;
10516
+ return typeof props.maxDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_1___default()(props.maxDomain) ? props.maxDomain : undefined;
10521
10517
  }
10522
10518
 
10523
10519
  /**
@@ -10530,7 +10526,7 @@ function getMinFromProps(props, axis) {
10530
10526
  if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(props.minDomain) && props.minDomain[axis] !== undefined) {
10531
10527
  return props.minDomain[axis];
10532
10528
  }
10533
- return typeof props.minDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default()(props.minDomain) ? props.minDomain : undefined;
10529
+ return typeof props.minDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_1___default()(props.minDomain) ? props.minDomain : undefined;
10534
10530
  }
10535
10531
 
10536
10532
  /**
@@ -10541,7 +10537,7 @@ function getMinFromProps(props, axis) {
10541
10537
  * @returns {Array} the symmetric domain
10542
10538
  */
10543
10539
  function getSymmetricDomain(domain, values) {
10544
- const processedData = lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1___default()(values.sort((a, b) => a - b));
10540
+ const processedData = lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3___default()(values.sort((a, b) => a - b));
10545
10541
  const step = processedData[1] - processedData[0];
10546
10542
  return [domain[0], domain[1] + step];
10547
10543
  }
@@ -10557,7 +10553,7 @@ function isDomainComponent(component) {
10557
10553
  };
10558
10554
  let role = getRole(component);
10559
10555
  if (role === "portal") {
10560
- const children = react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(component.props.children);
10556
+ const children = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(component.props.children);
10561
10557
  role = children.length ? getRole(children[0]) : "";
10562
10558
  }
10563
10559
  const whitelist = ["area", "axis", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
@@ -10588,14 +10584,14 @@ __webpack_require__.r(__webpack_exports__);
10588
10584
  /* harmony export */ "getScopedEvents": function() { return /* binding */ getScopedEvents; },
10589
10585
  /* harmony export */ "omitGlobalEvents": function() { return /* binding */ omitGlobalEvents; }
10590
10586
  /* harmony export */ });
10591
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
10592
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_0__);
10593
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/omitBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/omitBy.js");
10594
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_1__);
10595
- /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/pickBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pickBy.js");
10596
- /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_pickBy__WEBPACK_IMPORTED_MODULE_2__);
10597
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
10598
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__);
10587
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
10588
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
10589
+ /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/pickBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pickBy.js");
10590
+ /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_pickBy__WEBPACK_IMPORTED_MODULE_1__);
10591
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/omitBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/omitBy.js");
10592
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_2__);
10593
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
10594
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_3__);
10599
10595
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
10600
10596
 
10601
10597
 
@@ -10671,7 +10667,7 @@ getScopedEvents) {
10671
10667
  */
10672
10668
  // eslint-disable-next-line max-params
10673
10669
  function getScopedEvents(events, namespace, childType, baseProps) {
10674
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(events)) {
10670
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events)) {
10675
10671
  return {};
10676
10672
  }
10677
10673
 
@@ -10784,7 +10780,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
10784
10780
  // eslint-disable-next-line max-params
10785
10781
  const onEvent = (evt, childProps, eventKey, eventName) => {
10786
10782
  const eventReturn = events[eventName](evt, childProps, eventKey, this);
10787
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(eventReturn)) {
10783
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(eventReturn)) {
10788
10784
  const callbacks = compileCallbacks(eventReturn);
10789
10785
  this.setState(parseEventReturn(eventReturn, eventKey), callbacks);
10790
10786
  }
@@ -10845,7 +10841,7 @@ function getExternalMutationsWithChildren(mutations, baseProps, baseState, child
10845
10841
  const childState = baseState[childName];
10846
10842
  const mutation = getExternalMutations(mutations, baseProps[childName], baseState[childName], childName);
10847
10843
  memo[childName] = mutation ? mutation : childState;
10848
- return lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(v));
10844
+ return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(v));
10849
10845
  }, {});
10850
10846
  }
10851
10847
 
@@ -10881,7 +10877,7 @@ function getExternalMutations(mutations, baseProps, baseState, childName) {
10881
10877
  } else {
10882
10878
  // use keys from both state and props so that elements not intially included in baseProps
10883
10879
  // will be used. (i.e. labels)
10884
- const targets = lodash_uniq__WEBPACK_IMPORTED_MODULE_0___default()(Object.keys(keyProps).concat(Object.keys(keyState)));
10880
+ const targets = lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default()(Object.keys(keyProps).concat(Object.keys(keyState)));
10885
10881
  memo[eventKey] = targets.reduce((m, target) => {
10886
10882
  const identifier = {
10887
10883
  eventKey,
@@ -10890,10 +10886,10 @@ function getExternalMutations(mutations, baseProps, baseState, childName) {
10890
10886
  };
10891
10887
  const mutation = getExternalMutation(mutations, keyProps[target], keyState[target], identifier);
10892
10888
  m[target] = mutation !== undefined ? Object.assign({}, keyState[target], mutation) : keyState[target];
10893
- return lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(m, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(v));
10889
+ return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(m, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(v));
10894
10890
  }, {});
10895
10891
  }
10896
- return lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(v));
10892
+ return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(v));
10897
10893
  }, {});
10898
10894
  }
10899
10895
 
@@ -10925,11 +10921,11 @@ function getExternalMutation(mutations, baseProps, baseState, identifier) {
10925
10921
  }
10926
10922
  // find any mutation objects that match the target
10927
10923
  const targetMutations = scopedMutations.filter(m => filterMutations(m, "target"));
10928
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(targetMutations)) {
10924
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(targetMutations)) {
10929
10925
  return undefined;
10930
10926
  }
10931
10927
  const keyMutations = targetMutations.filter(m => filterMutations(m, "eventKey"));
10932
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(keyMutations)) {
10928
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(keyMutations)) {
10933
10929
  return undefined;
10934
10930
  }
10935
10931
  return keyMutations.reduce((memo, curr) => {
@@ -10955,8 +10951,8 @@ function getGlobalEventNameFromKey(key) {
10955
10951
  const match = key.match(GLOBAL_EVENT_REGEX);
10956
10952
  return match && match[1] && match[1].toLowerCase();
10957
10953
  }
10958
- const getGlobalEvents = events => lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
10959
- const omitGlobalEvents = events => lodash_omitBy__WEBPACK_IMPORTED_MODULE_1___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
10954
+ const getGlobalEvents = events => lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
10955
+ const omitGlobalEvents = events => lodash_omitBy__WEBPACK_IMPORTED_MODULE_2___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
10960
10956
  const emulateReactEvent = event => Object.assign(event, {
10961
10957
  nativeEvent: event
10962
10958
  });
@@ -10997,40 +10993,45 @@ __webpack_require__.r(__webpack_exports__);
10997
10993
  /* harmony export */ "reduceChildren": function() { return /* binding */ reduceChildren; },
10998
10994
  /* harmony export */ "scalePoint": function() { return /* binding */ scalePoint; }
10999
10995
  /* harmony export */ });
11000
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
11001
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
11002
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/property */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js");
11003
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_1__);
11004
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
11005
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__);
11006
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
11007
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
11008
-
10996
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
10997
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
10998
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
10999
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
11000
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/property */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js");
11001
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_2__);
11002
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
11003
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_3__);
11009
11004
 
11010
11005
 
11011
11006
 
11012
- // Private Functions
11013
11007
 
11014
- function getCartesianRange(props, axis) {
11015
- // determine how to lay the axis and what direction positive and negative are
11016
- const vertical = axis !== "x";
11017
- const padding = getPadding(props);
11008
+ /**
11009
+ * Determine the range of a cartesian axis
11010
+ */
11011
+ function getCartesianRange(options) {
11012
+ const vertical = options.axis !== "x";
11018
11013
  if (vertical) {
11019
- return [props.height - padding.bottom, padding.top];
11014
+ return [options.height - options.padding.bottom, options.padding.top];
11020
11015
  }
11021
- return [padding.left, props.width - padding.right];
11016
+ return [options.padding.left, options.width - options.padding.right];
11022
11017
  }
11023
- function getPolarRange(props, axis) {
11024
- if (axis === "x") {
11025
- const startAngle = degreesToRadians(props.startAngle || 0);
11026
- const endAngle = degreesToRadians(props.endAngle || 360);
11018
+
11019
+ /**
11020
+ * Determine the range of a polar axis in radians
11021
+ */
11022
+ function getPolarRange(options) {
11023
+ if (options.axis === "x") {
11024
+ const startAngle = degreesToRadians(options.startAngle || 0);
11025
+ const endAngle = degreesToRadians(options.endAngle || 360);
11027
11026
  return [startAngle, endAngle];
11028
11027
  }
11029
- return [props.innerRadius || 0, getRadius(props)];
11028
+ return [options.innerRadius || 0, getRadius({
11029
+ height: options.height,
11030
+ width: options.width,
11031
+ padding: options.padding
11032
+ })];
11030
11033
  }
11031
11034
 
11032
- // Exported Functions
11033
-
11034
11035
  /**
11035
11036
  * Creates an object composed of the inverted keys and values of object.
11036
11037
  * If object contains duplicate values, subsequent values overwrite property assignments of previous values.
@@ -11067,8 +11068,11 @@ function omit(originalObject, ks) {
11067
11068
  }
11068
11069
  return newObject;
11069
11070
  }
11071
+
11072
+ /**
11073
+ * Coalesce the x and y values from a data point
11074
+ */
11070
11075
  function getPoint(datum) {
11071
- const exists = val => val !== undefined;
11072
11076
  const {
11073
11077
  _x,
11074
11078
  _x1,
@@ -11079,16 +11083,20 @@ function getPoint(datum) {
11079
11083
  _y0,
11080
11084
  _voronoiY
11081
11085
  } = datum;
11082
- const defaultX = exists(_x1) ? _x1 : _x;
11083
- const defaultY = exists(_y1) ? _y1 : _y;
11086
+ const defaultX = _x1 ?? _x;
11087
+ const defaultY = _y1 ?? _y;
11084
11088
  const point = {
11085
- x: exists(_voronoiX) ? _voronoiX : defaultX,
11086
- x0: exists(_x0) ? _x0 : _x,
11087
- y: exists(_voronoiY) ? _voronoiY : defaultY,
11088
- y0: exists(_y0) ? _y0 : _y
11089
+ x: _voronoiX ?? defaultX,
11090
+ x0: _x0 ?? _x,
11091
+ y: _voronoiY ?? defaultY,
11092
+ y0: _y0 ?? _y
11089
11093
  };
11090
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, point, datum);
11094
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, point, datum);
11091
11095
  }
11096
+
11097
+ /**
11098
+ * Scale a point based on the origin, direction, and given scale function
11099
+ */
11092
11100
  function scalePoint(props, datum) {
11093
11101
  const {
11094
11102
  scale,
@@ -11111,11 +11119,11 @@ function scalePoint(props, datum) {
11111
11119
  y0: polar ? -y0 * Math.sin(x0) + origin.x : y0
11112
11120
  };
11113
11121
  }
11114
- function getPadding(props, name) {
11115
- if (name === void 0) {
11116
- name = "padding";
11117
- }
11118
- const padding = props[name];
11122
+
11123
+ /**
11124
+ * Returns a padding value from a number or partial padding values
11125
+ */
11126
+ function getPadding(padding) {
11119
11127
  const paddingVal = typeof padding === "number" ? padding : 0;
11120
11128
  const paddingObj = typeof padding === "object" ? padding : {};
11121
11129
  return {
@@ -11125,6 +11133,10 @@ function getPadding(props, name) {
11125
11133
  right: paddingObj.right || paddingVal
11126
11134
  };
11127
11135
  }
11136
+
11137
+ /**
11138
+ * Returns true if the component is defined as a tooltip
11139
+ */
11128
11140
  function isTooltip(component) {
11129
11141
  const labelRole = component && component.type && component.type.role;
11130
11142
  return labelRole === "tooltip";
@@ -11139,8 +11151,8 @@ function getDefaultStyles(props, role) {
11139
11151
  return defaultStyles;
11140
11152
  }
11141
11153
  const tooltipStyle = theme.tooltip && theme.tooltip.style || {};
11142
- const labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, tooltipStyle, defaultStyles.labels);
11143
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, {
11154
+ const labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, tooltipStyle, defaultStyles.labels);
11155
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, {
11144
11156
  labels: labelStyle
11145
11157
  }, defaultStyles);
11146
11158
  }
@@ -11148,7 +11160,7 @@ function getStyles(style, defaultStyles) {
11148
11160
  const width = "100%";
11149
11161
  const height = "100%";
11150
11162
  if (!style) {
11151
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
11163
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
11152
11164
  parent: {
11153
11165
  height,
11154
11166
  width
@@ -11164,14 +11176,18 @@ function getStyles(style, defaultStyles) {
11164
11176
  const defaultLabels = defaultStyles && defaultStyles.labels || {};
11165
11177
  const defaultData = defaultStyles && defaultStyles.data || {};
11166
11178
  return {
11167
- parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parent, defaultParent, {
11179
+ parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, parent, defaultParent, {
11168
11180
  width,
11169
11181
  height
11170
11182
  }),
11171
- labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labels, defaultLabels),
11172
- data: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, data, defaultData)
11183
+ labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, labels, defaultLabels),
11184
+ data: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, data, defaultData)
11173
11185
  };
11174
11186
  }
11187
+
11188
+ /**
11189
+ * Returns the value of a prop or accessor function with the given props
11190
+ */
11175
11191
  function evaluateProp(prop, props) {
11176
11192
  return isFunction(prop) ? prop(props) : prop;
11177
11193
  }
@@ -11193,19 +11209,28 @@ function degreesToRadians(degrees) {
11193
11209
  function radiansToDegrees(radians) {
11194
11210
  return typeof radians === "number" ? radians / (Math.PI / 180) : radians;
11195
11211
  }
11196
- function getRadius(props) {
11212
+
11213
+ /**
11214
+ * Get the maximum radius that will fit in the container
11215
+ */
11216
+ function getRadius(options) {
11217
+ const {
11218
+ width,
11219
+ height,
11220
+ padding
11221
+ } = options;
11197
11222
  const {
11198
11223
  left,
11199
11224
  right,
11200
11225
  top,
11201
11226
  bottom
11202
- } = getPadding(props);
11203
- const {
11204
- width,
11205
- height
11206
- } = props;
11227
+ } = padding;
11207
11228
  return Math.min(width - left - right, height - top - bottom) / 2;
11208
11229
  }
11230
+
11231
+ /**
11232
+ * Returns the origin for a polar chart within the padded area
11233
+ */
11209
11234
  function getPolarOrigin(props) {
11210
11235
  const {
11211
11236
  width,
@@ -11216,7 +11241,7 @@ function getPolarOrigin(props) {
11216
11241
  bottom,
11217
11242
  left,
11218
11243
  right
11219
- } = getPadding(props);
11244
+ } = getPadding(props.padding);
11220
11245
  const radius = Math.min(width - left - right, height - top - bottom) / 2;
11221
11246
  const offsetWidth = width / 2 + left - right;
11222
11247
  const offsetHeight = height / 2 + top - bottom;
@@ -11225,13 +11250,30 @@ function getPolarOrigin(props) {
11225
11250
  y: offsetHeight + radius > height ? radius + top - bottom : offsetHeight
11226
11251
  };
11227
11252
  }
11253
+
11254
+ /**
11255
+ * Determine the range of an axis based on the given props
11256
+ */
11228
11257
  function getRange(props, axis) {
11229
11258
  if (props.range && props.range[axis]) {
11230
11259
  return props.range[axis];
11231
11260
  } else if (props.range && Array.isArray(props.range)) {
11232
11261
  return props.range;
11233
11262
  }
11234
- return props.polar ? getPolarRange(props, axis) : getCartesianRange(props, axis);
11263
+ return props.polar ? getPolarRange({
11264
+ axis,
11265
+ innerRadius: props.innerRadius,
11266
+ startAngle: props.startAngle,
11267
+ endAngle: props.endAngle,
11268
+ height: props.height,
11269
+ width: props.width,
11270
+ padding: getPadding(props.padding)
11271
+ }) : getCartesianRange({
11272
+ axis,
11273
+ height: props.height,
11274
+ width: props.width,
11275
+ padding: getPadding(props.padding)
11276
+ });
11235
11277
  }
11236
11278
 
11237
11279
  /**
@@ -11263,7 +11305,7 @@ function createAccessor(key) {
11263
11305
  return x => x;
11264
11306
  }
11265
11307
  // otherwise, assume it is an array index, property key or path (_.property handles all three)
11266
- return lodash_property__WEBPACK_IMPORTED_MODULE_1___default()(key);
11308
+ return lodash_property__WEBPACK_IMPORTED_MODULE_2___default()(key);
11267
11309
  }
11268
11310
  function modifyProps(props, fallbackProps, role) {
11269
11311
  const theme = props.theme && props.theme[role] ? props.theme[role] : {};
@@ -11272,7 +11314,7 @@ function modifyProps(props, fallbackProps, role) {
11272
11314
  const defaultObject = horizontal === undefined ? {} : {
11273
11315
  horizontal
11274
11316
  };
11275
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()(defaultObject, props, themeProps, fallbackProps);
11317
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()(defaultObject, props, themeProps, fallbackProps);
11276
11318
  }
11277
11319
 
11278
11320
  /**
@@ -11359,10 +11401,10 @@ initialMemo, combine) {
11359
11401
  const childRole = child.type && child.type.role;
11360
11402
  const childName = child.props.name || `${childRole}-${names[index]}`;
11361
11403
  if (child.props && child.props.children) {
11362
- const childProps = Object.assign({}, child.props, lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(parentProps, sharedProps));
11363
- const nestedChildren = child.type && child.type.role === "stack" && isFunction(child.type.getChildren) ? child.type.getChildren(childProps) : react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(child.props.children).map(c => {
11364
- const nestedChildProps = Object.assign({}, c.props, lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(childProps, sharedProps));
11365
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(c, nestedChildProps);
11404
+ const childProps = Object.assign({}, child.props, lodash_pick__WEBPACK_IMPORTED_MODULE_3___default()(parentProps, sharedProps));
11405
+ const nestedChildren = child.type && child.type.role === "stack" && isFunction(child.type.getChildren) ? child.type.getChildren(childProps) : react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(child.props.children).map(c => {
11406
+ const nestedChildProps = Object.assign({}, c.props, lodash_pick__WEBPACK_IMPORTED_MODULE_3___default()(childProps, sharedProps));
11407
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(c, nestedChildProps);
11366
11408
  });
11367
11409
  const childNames = nestedChildren.map((c, i) => `${childName}-${i}`);
11368
11410
  const nestedResults = traverseChildren(nestedChildren, childNames, child);
@@ -11376,7 +11418,7 @@ initialMemo, combine) {
11376
11418
  return newMemo;
11377
11419
  }, initialMemo);
11378
11420
  };
11379
- const validChildren = children.filter(react__WEBPACK_IMPORTED_MODULE_3__.isValidElement);
11421
+ const validChildren = children.filter(react__WEBPACK_IMPORTED_MODULE_0__.isValidElement);
11380
11422
  const childNames = validChildren.map((c, i) => i);
11381
11423
  return traverseChildren(validChildren, childNames);
11382
11424
  }
@@ -11396,10 +11438,10 @@ function isHorizontal(props) {
11396
11438
  if (memo || childProps.horizontal || !childProps.children) {
11397
11439
  return memo || childProps.horizontal;
11398
11440
  }
11399
- return traverseChildren(react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(childProps.children));
11441
+ return traverseChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(childProps.children));
11400
11442
  }, false);
11401
11443
  };
11402
- return traverseChildren(react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(props.children));
11444
+ return traverseChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children));
11403
11445
  }
11404
11446
 
11405
11447
  /***/ }),
@@ -11415,10 +11457,10 @@ __webpack_require__.r(__webpack_exports__);
11415
11457
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11416
11458
  /* harmony export */ "useAnimationState": function() { return /* binding */ useAnimationState; }
11417
11459
  /* harmony export */ });
11418
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
11419
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
11420
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
11421
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
11460
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
11461
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
11462
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
11463
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
11422
11464
  /* harmony import */ var _collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../collection */ "../../victory-core/es/victory-util/collection.js");
11423
11465
  /* harmony import */ var _transitions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../transitions */ "../../victory-core/es/victory-util/transitions.js");
11424
11466
 
@@ -11434,10 +11476,10 @@ const useAnimationState = function (initialState) {
11434
11476
  if (initialState === void 0) {
11435
11477
  initialState = INITIAL_STATE;
11436
11478
  }
11437
- const [state, _setState] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(initialState);
11479
+ const [state, _setState] = react__WEBPACK_IMPORTED_MODULE_0___default().useState(initialState);
11438
11480
 
11439
11481
  // This allows us to use a state object and maintain the same API as this.setState
11440
- const setState = react__WEBPACK_IMPORTED_MODULE_1___default().useCallback(newState => {
11482
+ const setState = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback(newState => {
11441
11483
  _setState(oldState => ({
11442
11484
  ...oldState,
11443
11485
  ...newState
@@ -11445,14 +11487,14 @@ const useAnimationState = function (initialState) {
11445
11487
  }, [_setState]);
11446
11488
 
11447
11489
  // This is a copy of Wrapper.getAnimationProps
11448
- const getAnimationProps = react__WEBPACK_IMPORTED_MODULE_1___default().useCallback((props, child, index) => {
11490
+ const getAnimationProps = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props, child, index) => {
11449
11491
  if (!props?.animate) {
11450
11492
  return child.props.animate;
11451
11493
  }
11452
11494
  const getFilteredState = () => {
11453
11495
  let childrenTransitions = state && state.childrenTransitions;
11454
11496
  childrenTransitions = _collection__WEBPACK_IMPORTED_MODULE_2__.isArrayOfArrays(childrenTransitions) ? childrenTransitions[index] : childrenTransitions;
11455
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({
11497
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
11456
11498
  childrenTransitions
11457
11499
  }, state);
11458
11500
  };
@@ -11463,28 +11505,28 @@ const useAnimationState = function (initialState) {
11463
11505
  const getTransitionProps = _transitions__WEBPACK_IMPORTED_MODULE_3__.getTransitionPropsFactory(props, filteredState, newState => setState(newState));
11464
11506
  getTransitions = childComponent => getTransitionProps(childComponent, index);
11465
11507
  }
11466
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({
11508
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
11467
11509
  getTransitions,
11468
11510
  parentState
11469
11511
  }, props.animate, child.props.animate);
11470
11512
  }, [state, setState]);
11471
11513
 
11472
11514
  // This is a copy of Wrapper.setAnimationState
11473
- const setAnimationState = react__WEBPACK_IMPORTED_MODULE_1___default().useCallback((props, nextProps) => {
11515
+ const setAnimationState = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props, nextProps) => {
11474
11516
  if (!props?.animate) {
11475
11517
  return;
11476
11518
  }
11477
11519
  if (props.animate.parentState) {
11478
11520
  const nodesWillExit = props.animate.parentState.nodesWillExit;
11479
11521
  const oldProps = nodesWillExit ? props : null;
11480
- const newState = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({
11522
+ const newState = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
11481
11523
  oldProps,
11482
11524
  nextProps
11483
11525
  }, props.animate.parentState);
11484
11526
  setState(newState);
11485
11527
  } else {
11486
- const oldChildren = react__WEBPACK_IMPORTED_MODULE_1___default().Children.toArray(props.children);
11487
- const nextChildren = react__WEBPACK_IMPORTED_MODULE_1___default().Children.toArray(nextProps.children);
11528
+ const oldChildren = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
11529
+ const nextChildren = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(nextProps.children);
11488
11530
  const isContinuous = child => {
11489
11531
  const check = c => c.type && c.type.continuous;
11490
11532
  return Array.isArray(child) ? child.some(check) : check(child);
@@ -11509,7 +11551,7 @@ const useAnimationState = function (initialState) {
11509
11551
  });
11510
11552
  }
11511
11553
  }, [setState]);
11512
- const getProps = react__WEBPACK_IMPORTED_MODULE_1___default().useCallback(initialProps => {
11554
+ const getProps = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback(initialProps => {
11513
11555
  return state && state.nodesWillExit ? state.oldProps || initialProps : initialProps;
11514
11556
  }, [state]);
11515
11557
  return {
@@ -11615,9 +11657,10 @@ __webpack_require__.r(__webpack_exports__);
11615
11657
  /* harmony export */ "getProps": function() { return /* binding */ getProps; },
11616
11658
  /* harmony export */ "getText": function() { return /* binding */ getText; }
11617
11659
  /* harmony export */ });
11660
+ /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
11618
11661
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
11619
11662
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
11620
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
11663
+
11621
11664
 
11622
11665
 
11623
11666
  // Private Functions
@@ -11863,11 +11906,12 @@ __webpack_require__.r(__webpack_exports__);
11863
11906
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11864
11907
  /* harmony export */ "warn": function() { return /* binding */ warn; }
11865
11908
  /* harmony export */ });
11866
- /* global console */
11909
+ /* global console process */
11867
11910
  /* eslint-disable no-console */
11868
11911
 
11869
- // TODO: Use "warning" npm module like React is switching to.
11870
11912
  function warn(message) {
11913
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
11914
+ // @ts-ignore - Webpack DefinePlugin will replace process.env.NODE_ENV
11871
11915
  if (true) {
11872
11916
  if (console && console.warn) {
11873
11917
  console.warn(message);
@@ -12160,13 +12204,15 @@ __webpack_require__.r(__webpack_exports__);
12160
12204
  /* harmony export */ "approximateTextSize": function() { return /* binding */ approximateTextSize; },
12161
12205
  /* harmony export */ "convertLengthToPixels": function() { return /* binding */ convertLengthToPixels; }
12162
12206
  /* harmony export */ });
12163
- /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/memoize */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js");
12164
- /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_memoize__WEBPACK_IMPORTED_MODULE_0__);
12165
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
12166
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
12167
-
12168
- // http://www.pearsonified.com/2012/01/characters-per-line.php
12207
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
12208
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
12209
+ /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/memoize */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js");
12210
+ /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_memoize__WEBPACK_IMPORTED_MODULE_1__);
12211
+ // http://www.pearsonified.com/2012/01/characters-per-line.php
12169
12212
  /* eslint-disable no-magic-numbers */
12213
+
12214
+
12215
+
12170
12216
  // Based on measuring specific character widths
12171
12217
  // as in the following example https://bl.ocks.org/tophtucker/62f93a4658387bb61e4510c37e2e97cf
12172
12218
  // For new fonts: pull gist, open index.html locally, add font files (if not generic), enter font name in `font-family` input
@@ -12345,7 +12391,7 @@ const convertLengthToPixels = (length, fontSize) => {
12345
12391
  };
12346
12392
  const _prepareParams = (inputStyle, index) => {
12347
12393
  const lineStyle = Array.isArray(inputStyle) ? inputStyle[index] : inputStyle;
12348
- const style = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, lineStyle, defaultStyle);
12394
+ const style = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, lineStyle, defaultStyle);
12349
12395
  return Object.assign({}, style, {
12350
12396
  fontFamily: style.fontFamily,
12351
12397
  letterSpacing: typeof style.letterSpacing === "number" ? style.letterSpacing : convertLengthToPixels(String(style.letterSpacing), style.fontSize),
@@ -12393,7 +12439,7 @@ const _approximateDimensionsInternal = (text, style) => {
12393
12439
  height: heightWithRotate * coefficients.heightOverlapCoef
12394
12440
  };
12395
12441
  };
12396
- const _getMeasurementContainer = lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default()(() => {
12442
+ const _getMeasurementContainer = lodash_memoize__WEBPACK_IMPORTED_MODULE_1___default()(() => {
12397
12443
  const element = document.createElementNS("http://www.w3.org/2000/svg", "svg");
12398
12444
  element.setAttribute("xlink", "http://www.w3.org/1999/xlink");
12399
12445
  element.setAttribute("width", "300");
@@ -12414,7 +12460,7 @@ const styleToKeyComponent = style => {
12414
12460
  }
12415
12461
  return `${style.angle}:${style.fontFamily}:${style.fontSize}:${style.letterSpacing}:${style.lineHeight}`;
12416
12462
  };
12417
- const _measureDimensionsInternal = lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default()((text, style) => {
12463
+ const _measureDimensionsInternal = lodash_memoize__WEBPACK_IMPORTED_MODULE_1___default()((text, style) => {
12418
12464
  let containerElement = _getMeasurementContainer();
12419
12465
  if (!containerElement.isConnected) {
12420
12466
  _getMeasurementContainer.cache.clear?.();
@@ -12584,12 +12630,12 @@ __webpack_require__.r(__webpack_exports__);
12584
12630
  /* harmony export */ "getInitialTransitionState": function() { return /* binding */ getInitialTransitionState; },
12585
12631
  /* harmony export */ "getTransitionPropsFactory": function() { return /* binding */ getTransitionPropsFactory; }
12586
12632
  /* harmony export */ });
12587
- /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/identity */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js");
12588
- /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_0__);
12633
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
12634
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
12589
12635
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
12590
12636
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
12591
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
12592
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
12637
+ /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/identity */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js");
12638
+ /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_2__);
12593
12639
 
12594
12640
 
12595
12641
 
@@ -12680,13 +12726,13 @@ function getInitialTransitionState(oldChildren, nextChildren) {
12680
12726
  const getTransitionsFromChildren = (old, next) => {
12681
12727
  return old.map((child, idx) => {
12682
12728
  if (child && child.props && child.props.children && next[idx]) {
12683
- return getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(old[idx].props.children), react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(next[idx].props.children));
12729
+ return getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(old[idx].props.children), react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(next[idx].props.children));
12684
12730
  }
12685
12731
  // get Transition entering and exiting nodes
12686
12732
  return getTransition(child, next[idx]);
12687
12733
  });
12688
12734
  };
12689
- const childrenTransitions = getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(oldChildren), react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(nextChildren));
12735
+ const childrenTransitions = getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(oldChildren), react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(nextChildren));
12690
12736
  return {
12691
12737
  nodesWillExit,
12692
12738
  nodesWillEnter,
@@ -12700,7 +12746,7 @@ function getInitialTransitionState(oldChildren, nextChildren) {
12700
12746
  };
12701
12747
  }
12702
12748
  function getInitialChildProps(animate, data) {
12703
- const after = animate.onEnter && animate.onEnter.after ? animate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
12749
+ const after = animate.onEnter && animate.onEnter.after ? animate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
12704
12750
  return {
12705
12751
  data: data.map((datum, idx) => Object.assign({}, datum, after(datum, idx, data)))
12706
12752
  };
@@ -12717,7 +12763,7 @@ function getChildBeforeLoad(animate, child, data, cb) {
12717
12763
  data
12718
12764
  };
12719
12765
  }
12720
- const before = newAnimate.onLoad && newAnimate.onLoad.before ? newAnimate.onLoad.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
12766
+ const before = newAnimate.onLoad && newAnimate.onLoad.before ? newAnimate.onLoad.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
12721
12767
  // If nodes need to exit, transform them with the provided onLoad.before function.
12722
12768
  const newData = data.map((datum, idx) => {
12723
12769
  return Object.assign({}, datum, before(datum, idx, data));
@@ -12739,7 +12785,7 @@ function getChildOnLoad(animate, data, cb) {
12739
12785
  data
12740
12786
  };
12741
12787
  }
12742
- const after = animate.onLoad && animate.onLoad.after ? animate.onLoad.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
12788
+ const after = animate.onLoad && animate.onLoad.after ? animate.onLoad.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
12743
12789
  // If nodes need to exit, transform them with the provided onLoad.after function.
12744
12790
  newData = data.map((datum, idx) => {
12745
12791
  return Object.assign({}, datum, after(datum, idx, data));
@@ -12761,7 +12807,7 @@ function getChildPropsOnExit(animate, child, data, exitingNodes, cb) {
12761
12807
  // After the exit transition occurs, trigger the animations for
12762
12808
  // nodes that are neither exiting nor entering.
12763
12809
  animate.onEnd = cb;
12764
- const before = animate.onExit && animate.onExit.before ? animate.onExit.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
12810
+ const before = animate.onExit && animate.onExit.before ? animate.onExit.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
12765
12811
  // If nodes need to exit, transform them with the provided onExit.before function.
12766
12812
  newData = data.map((datum, idx) => {
12767
12813
  const key = (datum.key || idx).toString();
@@ -12784,7 +12830,7 @@ function getChildPropsBeforeEnter(animate, child, data, enteringNodes, cb) {
12784
12830
  newAnimate = Object.assign({}, animate, {
12785
12831
  onEnd: cb
12786
12832
  });
12787
- const before = animate.onEnter && animate.onEnter.before ? animate.onEnter.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
12833
+ const before = animate.onEnter && animate.onEnter.before ? animate.onEnter.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
12788
12834
  // We want the entering nodes to be included in the transition target
12789
12835
  // domain. However, we may not want these nodes to be displayed initially,
12790
12836
  // so perform the `onEnter.before` transformation on each node.
@@ -12811,7 +12857,7 @@ function getChildPropsOnEnter(animate, data, enteringNodes, cb) {
12811
12857
  // domain should encompass the nodes that will now enter. So perform
12812
12858
  // the `onEnter.after` transformation on each node.
12813
12859
  newAnimate.onEnd = cb;
12814
- const after = newAnimate.onEnter && newAnimate.onEnter.after ? newAnimate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
12860
+ const after = newAnimate.onEnter && newAnimate.onEnter.after ? newAnimate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
12815
12861
  newData = data.map((datum, idx) => {
12816
12862
  const key = getDatumKey(datum, idx);
12817
12863
  return enteringNodes[key] ? Object.assign({}, datum, after(datum, idx, data)) : datum;
@@ -13103,16 +13149,16 @@ __webpack_require__.r(__webpack_exports__);
13103
13149
  /* harmony export */ "getStyle": function() { return /* binding */ getStyle; },
13104
13150
  /* harmony export */ "getWidth": function() { return /* binding */ getWidth; }
13105
13151
  /* harmony export */ });
13106
- /* harmony import */ var lodash_uniqBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/uniqBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqBy.js");
13107
- /* harmony import */ var lodash_uniqBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqBy__WEBPACK_IMPORTED_MODULE_0__);
13108
- /* harmony import */ var lodash_groupBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/groupBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/groupBy.js");
13109
- /* harmony import */ var lodash_groupBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_groupBy__WEBPACK_IMPORTED_MODULE_1__);
13152
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
13153
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
13154
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
13155
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
13110
13156
  /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
13111
13157
  /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_2__);
13112
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
13113
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__);
13114
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
13115
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
13158
+ /* harmony import */ var lodash_groupBy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/groupBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/groupBy.js");
13159
+ /* harmony import */ var lodash_groupBy__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_groupBy__WEBPACK_IMPORTED_MODULE_3__);
13160
+ /* harmony import */ var lodash_uniqBy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/uniqBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqBy.js");
13161
+ /* harmony import */ var lodash_uniqBy__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqBy__WEBPACK_IMPORTED_MODULE_4__);
13116
13162
  /* harmony import */ var _axis__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./axis */ "../../victory-core/es/victory-util/axis.js");
13117
13163
  /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./style */ "../../victory-core/es/victory-util/style.js");
13118
13164
  /* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./data */ "../../victory-core/es/victory-util/data.js");
@@ -13206,7 +13252,7 @@ function getDataFromChildren(props, childComponents) {
13206
13252
  maxDomain
13207
13253
  };
13208
13254
  let stack = 0;
13209
- const children = childComponents ? childComponents.slice(0) : react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children);
13255
+ const children = childComponents ? childComponents.slice(0) : react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
13210
13256
  parentProps = addBinsToParentPropsIfHistogram({
13211
13257
  children,
13212
13258
  props,
@@ -13220,7 +13266,7 @@ function getDataFromChildren(props, childComponents) {
13220
13266
  if (!_data__WEBPACK_IMPORTED_MODULE_7__.isDataComponent(child)) {
13221
13267
  return null;
13222
13268
  } else if (child.type && _helpers__WEBPACK_IMPORTED_MODULE_6__.isFunction(child.type.getData)) {
13223
- childElement = parent ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().cloneElement(child, parent.props) : child;
13269
+ childElement = parent ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, parent.props) : child;
13224
13270
  childData = childElement.type.getData(childProps);
13225
13271
  } else {
13226
13272
  childData = _data__WEBPACK_IMPORTED_MODULE_7__.getData(childProps);
@@ -13232,16 +13278,16 @@ function getDataFromChildren(props, childComponents) {
13232
13278
  }, datum));
13233
13279
  };
13234
13280
  const stacked = children.filter(c => c.type && c.type.role === "stack").length;
13235
- const combine = (memo, val) => memo.concat(lodash_uniqBy__WEBPACK_IMPORTED_MODULE_0___default()(val, "_group"));
13281
+ const combine = (memo, val) => memo.concat(lodash_uniqBy__WEBPACK_IMPORTED_MODULE_4___default()(val, "_group"));
13236
13282
  const datasets = _helpers__WEBPACK_IMPORTED_MODULE_6__.reduceChildren(children, iteratee, props, [], combine);
13237
13283
  const group = stacked ? "_group" : "_stack";
13238
- return Object.values(lodash_groupBy__WEBPACK_IMPORTED_MODULE_1___default()(datasets, group));
13284
+ return Object.values(lodash_groupBy__WEBPACK_IMPORTED_MODULE_3___default()(datasets, group));
13239
13285
  }
13240
13286
  function getData(props, childComponents) {
13241
13287
  if (props.data) {
13242
13288
  return _data__WEBPACK_IMPORTED_MODULE_7__.getData(props);
13243
13289
  }
13244
- return getDataFromChildren(props, childComponents || react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children));
13290
+ return getDataFromChildren(props, childComponents || react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children));
13245
13291
  }
13246
13292
  function getWidth(props, groupLength, seriesLength) {
13247
13293
  const {
@@ -13293,7 +13339,7 @@ function getDefaultDomainPadding(props, axis, childComponents) {
13293
13339
  };
13294
13340
  }
13295
13341
  function getDomainFromChildren(props, axis, childComponents) {
13296
- const children = childComponents ? childComponents.slice(0) : react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children);
13342
+ const children = childComponents ? childComponents.slice(0) : react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
13297
13343
  const parentData = props.data ? _data__WEBPACK_IMPORTED_MODULE_7__.getData(props) : undefined;
13298
13344
  const {
13299
13345
  polar,
@@ -13331,7 +13377,7 @@ function getDomainFromChildren(props, axis, childComponents) {
13331
13377
  return [min, max];
13332
13378
  }
13333
13379
  function getDomain(props, axis, childComponents) {
13334
- const children = childComponents || react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children);
13380
+ const children = childComponents || react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
13335
13381
  const propsDomain = _domain__WEBPACK_IMPORTED_MODULE_8__.getDomainFromProps(props, axis);
13336
13382
  const domainPadding = getDefaultDomainPadding(props, axis, children);
13337
13383
  let domain;
@@ -13355,7 +13401,7 @@ function getScale(props, axis, childComponents) {
13355
13401
  if (props.data) {
13356
13402
  return _scale__WEBPACK_IMPORTED_MODULE_10__.getBaseScale(props, axis);
13357
13403
  }
13358
- const children = childComponents ? childComponents.slice(0) : react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children);
13404
+ const children = childComponents ? childComponents.slice(0) : react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
13359
13405
  const iteratee = child => {
13360
13406
  const sharedProps = Object.assign({}, child.props, {
13361
13407
  horizontal: props.horizontal
@@ -13424,8 +13470,8 @@ function getChildStyle(child, index, calculatedProps, theme) {
13424
13470
  const dataWidth = role === "stack" ? {} : {
13425
13471
  width: getWidth(calculatedProps)
13426
13472
  };
13427
- const dataStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, childStyle.data, Object.assign({}, dataWidth, style.data, defaultColor));
13428
- const labelsStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, childStyle.labels, style.labels);
13473
+ const dataStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, childStyle.data, Object.assign({}, dataWidth, style.data, defaultColor));
13474
+ const labelsStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, childStyle.labels, style.labels);
13429
13475
  return {
13430
13476
  ...childStyle,
13431
13477
  parent: style.parent,
@@ -13481,7 +13527,7 @@ function getCategoryAndAxisStringsFromChildren(props, axis, childComponents) {
13481
13527
  return lodash_uniq__WEBPACK_IMPORTED_MODULE_2___default()([...categoryStrings, ...axisStrings].flat());
13482
13528
  }
13483
13529
  function getStringsFromChildren(props, childComponents) {
13484
- const children = childComponents || react__WEBPACK_IMPORTED_MODULE_4___default().Children.toArray(props.children);
13530
+ const children = childComponents || react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
13485
13531
  const xStrings = getCategoryAndAxisStringsFromChildren(props, "x", children);
13486
13532
  const yStrings = getCategoryAndAxisStringsFromChildren(props, "y", children);
13487
13533
  const dataStrings = getStringsFromData(children);
@@ -13572,7 +13618,7 @@ const getRadius = props => {
13572
13618
  right,
13573
13619
  top,
13574
13620
  bottom
13575
- } = victory_core__WEBPACK_IMPORTED_MODULE_2__.getPadding(props);
13621
+ } = victory_core__WEBPACK_IMPORTED_MODULE_2__.getPadding(props.padding);
13576
13622
  const {
13577
13623
  width,
13578
13624
  height
@@ -13869,7 +13915,7 @@ const getCalculatedValues = initialProps => {
13869
13915
  }, initialProps);
13870
13916
  const defaultStyles = getStyleObject(props);
13871
13917
  const style = getStyles(props, defaultStyles);
13872
- const padding = victory_core__WEBPACK_IMPORTED_MODULE_2__.getPadding(props);
13918
+ const padding = victory_core__WEBPACK_IMPORTED_MODULE_2__.getPadding(props.padding);
13873
13919
  const axis = victory_core__WEBPACK_IMPORTED_MODULE_3__.getAxis(props);
13874
13920
  const axisType = getAxisType(props);
13875
13921
  const stringTicks = victory_core__WEBPACK_IMPORTED_MODULE_3__.stringTicks(props) ? props.tickValues : undefined;
@@ -13880,6 +13926,8 @@ const getCalculatedValues = initialProps => {
13880
13926
  const ticks = axisType === "angular" ? filterTicks(initialTicks, scale) : initialTicks;
13881
13927
  const tickFormat = victory_core__WEBPACK_IMPORTED_MODULE_3__.getTickFormat(props, scale);
13882
13928
  const radius = getRadius(props);
13929
+
13930
+ // @ts-expect-error props is not typed but contains width and height
13883
13931
  const origin = victory_core__WEBPACK_IMPORTED_MODULE_2__.getPolarOrigin(props);
13884
13932
  return {
13885
13933
  axis,
@@ -13952,10 +14000,10 @@ __webpack_require__.r(__webpack_exports__);
13952
14000
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13953
14001
  /* harmony export */ "VictoryPolarAxis": function() { return /* binding */ VictoryPolarAxis; }
13954
14002
  /* harmony export */ });
13955
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
13956
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
13957
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
13958
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
14003
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
14004
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
14005
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
14006
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__);
13959
14007
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/line-segment.js");
13960
14008
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-label/victory-label.js");
13961
14009
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/arc.js");
@@ -13976,7 +14024,7 @@ const fallbackProps = {
13976
14024
 
13977
14025
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
13978
14026
 
13979
- class VictoryPolarAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default().Component) {
14027
+ class VictoryPolarAxisBase extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
13980
14028
  static animationWhitelist = ["style", "domain", "range", "tickCount", "tickValues", "padding", "width", "height"];
13981
14029
  static displayName = "VictoryAxis";
13982
14030
  static role = "axis";
@@ -13989,22 +14037,22 @@ class VictoryPolarAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default()
13989
14037
  }
13990
14038
  };
13991
14039
  static defaultProps = {
13992
- axisComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
13993
- axisLabelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null),
13994
- circularAxisComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Arc, null),
13995
- circularGridComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Arc, null),
13996
- containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer, null),
14040
+ axisComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
14041
+ axisLabelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null),
14042
+ circularAxisComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Arc, null),
14043
+ circularGridComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Arc, null),
14044
+ containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer, null),
13997
14045
  endAngle: 360,
13998
- gridComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
13999
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", {
14046
+ gridComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
14047
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", {
14000
14048
  role: "presentation"
14001
14049
  }),
14002
14050
  labelPlacement: "parallel",
14003
14051
  startAngle: 0,
14004
14052
  standalone: true,
14005
14053
  theme: victory_core__WEBPACK_IMPORTED_MODULE_6__.VictoryTheme.grayscale,
14006
- tickComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
14007
- tickLabelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null)
14054
+ tickComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.LineSegment, null),
14055
+ tickLabelComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null)
14008
14056
  };
14009
14057
  static getDomain = victory_core__WEBPACK_IMPORTED_MODULE_7__.getDomain;
14010
14058
  static getAxis = victory_core__WEBPACK_IMPORTED_MODULE_7__.getAxis;
@@ -14024,7 +14072,7 @@ class VictoryPolarAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default()
14024
14072
  } = props;
14025
14073
  const axisComponent = dependentAxis ? props.axisComponent : props.circularAxisComponent;
14026
14074
  const axisProps = this.getComponentProps(axisComponent, "axis", 0);
14027
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(axisComponent, axisProps);
14075
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(axisComponent, axisProps);
14028
14076
  }
14029
14077
  renderLabel(props) {
14030
14078
  const {
@@ -14036,7 +14084,7 @@ class VictoryPolarAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default()
14036
14084
  return null;
14037
14085
  }
14038
14086
  const axisLabelProps = this.getComponentProps(axisLabelComponent, "axisLabel", 0);
14039
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(axisLabelComponent, axisLabelProps);
14087
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(axisLabelComponent, axisLabelProps);
14040
14088
  }
14041
14089
  renderAxis(props) {
14042
14090
  const {
@@ -14050,7 +14098,7 @@ class VictoryPolarAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default()
14050
14098
  events = {}
14051
14099
  } = componentProps;
14052
14100
  const visible = style.stroke !== "transparent" && style.stroke !== "none" && style.strokeWidth !== 0;
14053
- return visible || !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events);
14101
+ return visible || !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(events);
14054
14102
  };
14055
14103
  const axisType = props.dependentAxis ? "radial" : "angular";
14056
14104
  const gridComponent = axisType === "radial" ? props.circularGridComponent : props.gridComponent;
@@ -14058,21 +14106,21 @@ class VictoryPolarAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default()
14058
14106
  const tickProps = Object.assign({
14059
14107
  key: `${name}-tick-${key}`
14060
14108
  }, this.getComponentProps(tickComponent, "ticks", index));
14061
- const TickComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(tickComponent, tickProps);
14109
+ const TickComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(tickComponent, tickProps);
14062
14110
  return shouldRender(TickComponent.props) ? TickComponent : undefined;
14063
14111
  }).filter(Boolean);
14064
14112
  const gridComponents = this.dataKeys.map((key, index) => {
14065
14113
  const gridProps = Object.assign({
14066
14114
  key: `${name}-grid-${key}`
14067
14115
  }, this.getComponentProps(gridComponent, "grid", index));
14068
- const GridComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(gridComponent, gridProps);
14116
+ const GridComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(gridComponent, gridProps);
14069
14117
  return shouldRender(GridComponent.props) ? GridComponent : undefined;
14070
14118
  }).filter(Boolean);
14071
14119
  const tickLabelComponents = this.dataKeys.map((key, index) => {
14072
14120
  const tickLabelProps = Object.assign({
14073
14121
  key: `${name}-tick-${key}`
14074
14122
  }, this.getComponentProps(tickLabelComponent, "tickLabels", index));
14075
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(tickLabelComponent, tickLabelProps);
14123
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(tickLabelComponent, tickLabelProps);
14076
14124
  });
14077
14125
  const axis = this.renderAxisLine(props);
14078
14126
  const axisLabel = this.renderLabel(props);
@@ -14085,7 +14133,7 @@ class VictoryPolarAxisBase extends (react__WEBPACK_IMPORTED_MODULE_1___default()
14085
14133
  const {
14086
14134
  groupComponent
14087
14135
  } = props;
14088
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(groupComponent, {}, children);
14136
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(groupComponent, {}, children);
14089
14137
  }
14090
14138
  shouldAnimate() {
14091
14139
  return !!this.props.animate;
@@ -14135,22 +14183,22 @@ __webpack_require__.r(__webpack_exports__);
14135
14183
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
14136
14184
  /* harmony export */ "VictorySharedEvents": function() { return /* binding */ VictorySharedEvents; }
14137
14185
  /* harmony export */ });
14138
- /* harmony import */ var lodash_fromPairs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/fromPairs */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/fromPairs.js");
14139
- /* harmony import */ var lodash_fromPairs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_fromPairs__WEBPACK_IMPORTED_MODULE_0__);
14140
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
14141
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__);
14142
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
14143
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__);
14144
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
14145
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
14146
- /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/timer-context.js");
14147
- /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/events.js");
14148
- /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/collection.js");
14149
- /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
14186
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
14187
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
14188
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
14189
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
14190
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
14191
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__);
14192
+ /* harmony import */ var lodash_fromPairs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/fromPairs */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/fromPairs.js");
14193
+ /* harmony import */ var lodash_fromPairs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_fromPairs__WEBPACK_IMPORTED_MODULE_3__);
14150
14194
  /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
14151
14195
  /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_4__);
14152
14196
  /* harmony import */ var json_stringify_safe__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! json-stringify-safe */ "../../../node_modules/.pnpm/json-stringify-safe@5.0.1/node_modules/json-stringify-safe/stringify.js");
14153
14197
  /* harmony import */ var json_stringify_safe__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(json_stringify_safe__WEBPACK_IMPORTED_MODULE_5__);
14198
+ /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/timer-context.js");
14199
+ /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/events.js");
14200
+ /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/collection.js");
14201
+ /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
14154
14202
 
14155
14203
 
14156
14204
 
@@ -14166,12 +14214,12 @@ __webpack_require__.r(__webpack_exports__);
14166
14214
 
14167
14215
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
14168
14216
 
14169
- class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_3___default().Component) {
14217
+ class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
14170
14218
  static displayName = "VictorySharedEvents";
14171
14219
  static role = "shared-event-wrapper";
14172
14220
  static contextType = victory_core__WEBPACK_IMPORTED_MODULE_6__["default"];
14173
14221
  static defaultProps = {
14174
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null)
14222
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null)
14175
14223
  };
14176
14224
  constructor(props) {
14177
14225
  super(props);
@@ -14228,7 +14276,7 @@ class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_3___default().
14228
14276
  return props.events;
14229
14277
  }
14230
14278
  applyExternalMutations(props, externalMutations) {
14231
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(externalMutations)) {
14279
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalMutations)) {
14232
14280
  const callbacks = props.externalEventMutations.reduce((memo, mutation) => victory_core__WEBPACK_IMPORTED_MODULE_9__.isFunction(mutation.callback) ? memo.concat(mutation.callback) : memo, []);
14233
14281
  const compiledCallbacks = callbacks.length ? () => {
14234
14282
  callbacks.forEach(c => c());
@@ -14237,7 +14285,7 @@ class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_3___default().
14237
14285
  }
14238
14286
  }
14239
14287
  getExternalMutations(props, baseProps) {
14240
- return !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(props.externalEventMutations) ? victory_core__WEBPACK_IMPORTED_MODULE_7__.getExternalMutationsWithChildren(props.externalEventMutations, baseProps, this.state, Object.keys(baseProps)) : undefined;
14288
+ return !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(props.externalEventMutations) ? victory_core__WEBPACK_IMPORTED_MODULE_7__.getExternalMutationsWithChildren(props.externalEventMutations, baseProps, this.state, Object.keys(baseProps)) : undefined;
14241
14289
  }
14242
14290
  cacheSharedEvents(name, sharedEvents, cacheValues) {
14243
14291
  this.sharedEventsCache[name] = [sharedEvents, cacheValues];
@@ -14253,7 +14301,7 @@ class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_3___default().
14253
14301
  const {
14254
14302
  container
14255
14303
  } = props;
14256
- const children = react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(this.props.children);
14304
+ const children = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(this.props.children);
14257
14305
  const childBaseProps = this.getBasePropsFromChildren(children);
14258
14306
  const parentBaseProps = container ? container.props : {};
14259
14307
  return Object.assign({}, childBaseProps, {
@@ -14269,7 +14317,7 @@ class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_3___default().
14269
14317
  return null;
14270
14318
  };
14271
14319
  const baseProps = victory_core__WEBPACK_IMPORTED_MODULE_9__.reduceChildren(childComponents, iteratee);
14272
- return lodash_fromPairs__WEBPACK_IMPORTED_MODULE_0___default()(baseProps);
14320
+ return lodash_fromPairs__WEBPACK_IMPORTED_MODULE_3___default()(baseProps);
14273
14321
  }
14274
14322
  getNewChildren(props, baseProps) {
14275
14323
  const {
@@ -14279,9 +14327,9 @@ class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_3___default().
14279
14327
  const alterChildren = (children, childNames) => {
14280
14328
  return children.reduce((memo, child, index) => {
14281
14329
  if (child.props.children) {
14282
- const newChildren = react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(child.props.children);
14330
+ const newChildren = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(child.props.children);
14283
14331
  const names = childNames.slice(index, index + newChildren.length);
14284
- const results = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(child, child.props, alterChildren(newChildren, names));
14332
+ const results = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, child.props, alterChildren(newChildren, names));
14285
14333
  return memo.concat(results);
14286
14334
  } else if (childNames[index] !== "parent" && child.type && victory_core__WEBPACK_IMPORTED_MODULE_9__.isFunction(child.type.getBaseProps)) {
14287
14335
  const name = child.props.name || childNames[index];
@@ -14300,7 +14348,7 @@ class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_3___default().
14300
14348
  getEventState: (key, target) => this.getEventState(key, target, name)
14301
14349
  };
14302
14350
  this.cacheSharedEvents(name, sharedEvents, sharedEventsCacheValues);
14303
- return memo.concat( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(child, Object.assign({
14351
+ return memo.concat( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, Object.assign({
14304
14352
  key: `events-${name}`,
14305
14353
  sharedEvents,
14306
14354
  eventKey,
@@ -14311,7 +14359,7 @@ class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_3___default().
14311
14359
  }, []);
14312
14360
  };
14313
14361
  const childNames = Object.keys(baseProps);
14314
- const childComponents = react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(props.children);
14362
+ const childComponents = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
14315
14363
  return alterChildren(childComponents, childNames);
14316
14364
  }
14317
14365
  getContainer(props, baseProps, events) {
@@ -14330,22 +14378,22 @@ class VictorySharedEvents extends (react__WEBPACK_IMPORTED_MODULE_3___default().
14330
14378
  const parentEvents = sharedEvents && boundGetEvents({
14331
14379
  sharedEvents
14332
14380
  }, "parent");
14333
- const parentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, this.getEventState("parent", "parent"), containerProps, baseProps.parent, {
14381
+ const parentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, this.getEventState("parent", "parent"), containerProps, baseProps.parent, {
14334
14382
  children
14335
14383
  });
14336
- const containerEvents = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, victory_core__WEBPACK_IMPORTED_MODULE_7__.getPartialEvents(parentEvents, "parent", parentProps), containerProps.events);
14384
+ const containerEvents = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, victory_core__WEBPACK_IMPORTED_MODULE_7__.getPartialEvents(parentEvents, "parent", parentProps), containerProps.events);
14337
14385
  this.globalEvents = victory_core__WEBPACK_IMPORTED_MODULE_7__.getGlobalEvents(containerEvents);
14338
14386
  const localEvents = victory_core__WEBPACK_IMPORTED_MODULE_7__.omitGlobalEvents(containerEvents);
14339
- return role === "container" ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(container, Object.assign({}, parentProps, {
14387
+ return role === "container" ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(container, Object.assign({}, parentProps, {
14340
14388
  events: localEvents
14341
- })) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(container, localEvents, children);
14389
+ })) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(container, localEvents, children);
14342
14390
  }
14343
14391
  render() {
14344
14392
  const events = this.getAllEvents(this.props);
14345
14393
  if (events) {
14346
14394
  return this.getContainer(this.props, this.baseProps, events);
14347
14395
  }
14348
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(this.props.container, {
14396
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(this.props.container, {
14349
14397
  children: this.props.children
14350
14398
  });
14351
14399
  }