@burdenoff/microfe-labsofscience 2026.820.1 → 2026.820.3
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.
- package/dist/_virtual/_rolldown/runtime.js +23 -0
- package/dist/labsofscience/LabsOfScienceRoutes.d.ts.map +1 -1
- package/dist/labsofscience/LabsOfScienceRoutes.js +11 -7
- package/dist/labsofscience/LabsOfScienceRoutes.js.map +1 -1
- package/dist/labsofscience/components/ProvenancePanel.d.ts +14 -0
- package/dist/labsofscience/components/ProvenancePanel.d.ts.map +1 -0
- package/dist/labsofscience/components/ProvenancePanel.js +113 -0
- package/dist/labsofscience/components/ProvenancePanel.js.map +1 -0
- package/dist/labsofscience/components/provenanceMapping.d.ts +35 -0
- package/dist/labsofscience/components/provenanceMapping.d.ts.map +1 -0
- package/dist/labsofscience/components/provenanceMapping.js +101 -0
- package/dist/labsofscience/components/provenanceMapping.js.map +1 -0
- package/dist/labsofscience/hooks/index.d.ts +1 -1
- package/dist/labsofscience/hooks/index.d.ts.map +1 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.d.ts +26 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.d.ts.map +1 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.js +115 -55
- package/dist/labsofscience/hooks/useLabsOfScienceApi.js.map +1 -1
- package/dist/labsofscience/pages/OverviewPage.d.ts +3 -3
- package/dist/labsofscience/pages/OverviewPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/OverviewPage.js +240 -176
- package/dist/labsofscience/pages/OverviewPage.js.map +1 -1
- package/dist/labsofscience/pages/ai/AiOperationsPage.js +10 -10
- package/dist/labsofscience/pages/analytics/AnalyticsPage.d.ts +9 -0
- package/dist/labsofscience/pages/analytics/AnalyticsPage.d.ts.map +1 -0
- package/dist/labsofscience/pages/analytics/AnalyticsPage.js +295 -0
- package/dist/labsofscience/pages/analytics/AnalyticsPage.js.map +1 -0
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.js +80 -75
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentActivitySummary.d.ts +8 -0
- package/dist/labsofscience/pages/experiments/ExperimentActivitySummary.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentActivitySummary.js +132 -0
- package/dist/labsofscience/pages/experiments/ExperimentActivitySummary.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.d.ts +3 -3
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.js +184 -161
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentLifecycleStepper.d.ts +8 -0
- package/dist/labsofscience/pages/experiments/ExperimentLifecycleStepper.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentLifecycleStepper.js +43 -0
- package/dist/labsofscience/pages/experiments/ExperimentLifecycleStepper.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentLinkedItems.d.ts +16 -0
- package/dist/labsofscience/pages/experiments/ExperimentLinkedItems.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentLinkedItems.js +119 -0
- package/dist/labsofscience/pages/experiments/ExperimentLinkedItems.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentRunProgress.d.ts +8 -0
- package/dist/labsofscience/pages/experiments/ExperimentRunProgress.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentRunProgress.js +78 -0
- package/dist/labsofscience/pages/experiments/ExperimentRunProgress.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentsListPage.js +11 -11
- package/dist/labsofscience/pages/instruments/InstrumentDetailPage.js +9 -9
- package/dist/labsofscience/pages/instruments/InstrumentsListPage.js +9 -9
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.js +82 -77
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/pipelines/PipelinesPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/pipelines/PipelinesPage.js +85 -118
- package/dist/labsofscience/pages/pipelines/PipelinesPage.js.map +1 -1
- package/dist/labsofscience/pages/projects/ProjectDetailPage.js +15 -15
- package/dist/labsofscience/pages/projects/ProjectsListPage.js +12 -12
- package/dist/labsofscience/types/index.d.ts +73 -0
- package/dist/labsofscience/types/index.d.ts.map +1 -1
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +764 -0
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js.map +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +8 -0
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +10 -0
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +43 -0
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
- package/dist/node_modules/d3-array/src/descending.js +8 -0
- package/dist/node_modules/d3-array/src/descending.js.map +1 -0
- package/dist/node_modules/d3-array/src/max.js +14 -0
- package/dist/node_modules/d3-array/src/max.js.map +1 -0
- package/dist/node_modules/d3-array/src/min.js +14 -0
- package/dist/node_modules/d3-array/src/min.js.map +1 -0
- package/dist/node_modules/d3-array/src/number.js +15 -0
- package/dist/node_modules/d3-array/src/number.js.map +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +25 -0
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-array/src/quickselect.js +26 -0
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
- package/dist/node_modules/d3-array/src/range.js +10 -0
- package/dist/node_modules/d3-array/src/range.js.map +1 -0
- package/dist/node_modules/d3-array/src/sort.js +17 -0
- package/dist/node_modules/d3-array/src/sort.js.map +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +34 -0
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-color/src/color.js +291 -0
- package/dist/node_modules/d3-color/src/color.js.map +1 -0
- package/dist/node_modules/d3-color/src/define.js +13 -0
- package/dist/node_modules/d3-color/src/define.js.map +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +9 -0
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
- package/dist/node_modules/d3-format/src/identity.js +8 -0
- package/dist/node_modules/d3-format/src/identity.js.map +1 -0
- package/dist/node_modules/d3-format/src/locale.js +86 -0
- package/dist/node_modules/d3-format/src/locale.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +15 -0
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +11 -0
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +10 -0
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +10 -0
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +28 -0
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +18 -0
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
- package/dist/node_modules/d3-path/src/path.js +65 -0
- package/dist/node_modules/d3-path/src/path.js.map +1 -0
- package/dist/node_modules/d3-scale/src/band.js +52 -0
- package/dist/node_modules/d3-scale/src/band.js.map +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +10 -0
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +73 -0
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +82 -0
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +20 -0
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
- package/dist/node_modules/d3-scale/src/init.js +29 -0
- package/dist/node_modules/d3-scale/src/init.js.map +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +36 -0
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
- package/dist/node_modules/d3-scale/src/log.js +77 -0
- package/dist/node_modules/d3-scale/src/log.js.map +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +10 -0
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
- package/dist/node_modules/d3-scale/src/number.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js.map +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +33 -0
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
- package/dist/node_modules/d3-scale/src/radial.js +39 -0
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +67 -0
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +30 -0
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +25 -0
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
- package/dist/node_modules/d3-scale/src/time.js +47 -0
- package/dist/node_modules/d3-scale/src/time.js.map +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
- package/dist/node_modules/d3-shape/src/area.js +55 -0
- package/dist/node_modules/d3-shape/src/area.js.map +1 -0
- package/dist/node_modules/d3-shape/src/array.js +8 -0
- package/dist/node_modules/d3-shape/src/array.js.map +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +10 -0
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
- package/dist/node_modules/d3-shape/src/line.js +30 -0
- package/dist/node_modules/d3-shape/src/line.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/math.js.map +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +6 -0
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/order/none.js +9 -0
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/path.js +19 -0
- package/dist/node_modules/d3-shape/src/path.js.map +1 -0
- package/dist/node_modules/d3-shape/src/point.js +11 -0
- package/dist/node_modules/d3-shape/src/point.js.map +1 -0
- package/dist/node_modules/d3-shape/src/stack.js +34 -0
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +23 -0
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
- package/dist/node_modules/d3-time/src/day.js +21 -0
- package/dist/node_modules/d3-time/src/day.js.map +1 -0
- package/dist/node_modules/d3-time/src/duration.js +6 -0
- package/dist/node_modules/d3-time/src/duration.js.map +1 -0
- package/dist/node_modules/d3-time/src/hour.js +19 -0
- package/dist/node_modules/d3-time/src/hour.js.map +1 -0
- package/dist/node_modules/d3-time/src/interval.js +28 -0
- package/dist/node_modules/d3-time/src/interval.js.map +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
- package/dist/node_modules/d3-time/src/minute.js +19 -0
- package/dist/node_modules/d3-time/src/minute.js.map +1 -0
- package/dist/node_modules/d3-time/src/month.js +18 -0
- package/dist/node_modules/d3-time/src/month.js.map +1 -0
- package/dist/node_modules/d3-time/src/second.js +13 -0
- package/dist/node_modules/d3-time/src/second.js.map +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +125 -0
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-time/src/week.js +25 -0
- package/dist/node_modules/d3-time/src/week.js.map +1 -0
- package/dist/node_modules/d3-time/src/year.js +26 -0
- package/dist/node_modules/d3-time/src/year.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +490 -0
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
- package/dist/node_modules/decimal.js-light/decimal.js +378 -0
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/_internal/globalThis.js +8 -0
- package/dist/node_modules/es-toolkit/dist/_internal/globalThis.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +8 -0
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/array/flatten.js +14 -0
- package/dist/node_modules/es-toolkit/dist/array/flatten.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/array/uniqBy.js +13 -0
- package/dist/node_modules/es-toolkit/dist/array/uniqBy.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +19 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +14 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +13 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +12 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +10 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/normalizeZero.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/normalizeZero.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js +6 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js +34 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js +12 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/uniqBy.js +14 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/uniqBy.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +17 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +14 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/math/range.js +13 -0
- package/dist/node_modules/es-toolkit/dist/compat/math/range.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +33 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/get.js +40 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/get.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/has.js +20 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/has.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/property.js +11 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/property.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +75 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js +10 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +24 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/eq.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js +17 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +35 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toString.js +14 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toString.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/ary.js +10 -0
- package/dist/node_modules/es-toolkit/dist/function/ary.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/debounce.js +28 -0
- package/dist/node_modules/es-toolkit/dist/function/debounce.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/identity.js +8 -0
- package/dist/node_modules/es-toolkit/dist/function/identity.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/noop.js +6 -0
- package/dist/node_modules/es-toolkit/dist/function/noop.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js +9 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js +118 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isBuffer.js +9 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isBuffer.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js +10 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js +98 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +8 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isLength.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js +10 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js +8 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js +8 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.js +95 -0
- package/dist/node_modules/eventemitter3/index.js.map +1 -0
- package/dist/node_modules/eventemitter3/index2.js +7 -0
- package/dist/node_modules/eventemitter3/index2.js.map +1 -0
- package/dist/node_modules/immer/dist/immer.js +452 -0
- package/dist/node_modules/immer/dist/immer.js.map +1 -0
- package/dist/node_modules/internmap/src/index.js +40 -0
- package/dist/node_modules/internmap/src/index.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-redux/dist/react-redux.js +129 -0
- package/dist/node_modules/react-redux/dist/react-redux.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/AnimatedItems.js +81 -0
- package/dist/node_modules/recharts/es6/animation/AnimatedItems.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/AnimationControllerImpl.js +20 -0
- package/dist/node_modules/recharts/es6/animation/AnimationControllerImpl.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/AnimationHandle.js +99 -0
- package/dist/node_modules/recharts/es6/animation/AnimationHandle.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js +93 -0
- package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/easing.js +103 -0
- package/dist/node_modules/recharts/es6/animation/easing.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/matchBy.js +104 -0
- package/dist/node_modules/recharts/es6/animation/matchBy.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/timeoutController.js +15 -0
- package/dist/node_modules/recharts/es6/animation/timeoutController.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationController.js +13 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationController.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationStartSnapshot.js +22 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationStartSnapshot.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/util.js +6 -0
- package/dist/node_modules/recharts/es6/animation/util.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +536 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/BarStack.js +54 -0
- package/dist/node_modules/recharts/es6/cartesian/BarStack.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +400 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +309 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js +28 -0
- package/dist/node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js +450 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/LineDrawShape.js +91 -0
- package/dist/node_modules/recharts/es6/cartesian/LineDrawShape.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +201 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +203 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js +16 -0
- package/dist/node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js +15 -0
- package/dist/node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getCartesianPosition.js +152 -0
- package/dist/node_modules/recharts/es6/cartesian/getCartesianPosition.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +37 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +109 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/useAnimatedLineLength.js +15 -0
- package/dist/node_modules/recharts/es6/cartesian/useAnimatedLineLength.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js +17 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/CartesianChart.js +113 -0
- package/dist/node_modules/recharts/es6/chart/CartesianChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/CategoricalChart.js +74 -0
- package/dist/node_modules/recharts/es6/chart/CategoricalChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js +17 -0
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js +68 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/PolarChart.js +144 -0
- package/dist/node_modules/recharts/es6/chart/PolarChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/RechartsWrapper.js +298 -0
- package/dist/node_modules/recharts/es6/chart/RechartsWrapper.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ActivePoints.js +93 -0
- package/dist/node_modules/recharts/es6/component/ActivePoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +7 -0
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +118 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +175 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Dots.js +119 -0
- package/dist/node_modules/recharts/es6/component/Dots.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Label.js +272 -0
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +84 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +253 -0
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +232 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Text.js +240 -0
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +196 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +152 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/responsiveContainerUtils.js +42 -0
- package/dist/node_modules/recharts/es6/component/responsiveContainerUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/ClipPathProvider.js +62 -0
- package/dist/node_modules/recharts/es6/container/ClipPathProvider.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/RootSurface.js +75 -0
- package/dist/node_modules/recharts/es6/container/RootSurface.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +62 -0
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/ErrorBarContext.js +41 -0
- package/dist/node_modules/recharts/es6/context/ErrorBarContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/PanoramaContext.js +7 -0
- package/dist/node_modules/recharts/es6/context/PanoramaContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/RegisterGraphicalItemId.js +12 -0
- package/dist/node_modules/recharts/es6/context/RegisterGraphicalItemId.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/accessibilityContext.js +7 -0
- package/dist/node_modules/recharts/es6/context/accessibilityContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartDataContext.js +19 -0
- package/dist/node_modules/recharts/es6/context/chartDataContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +50 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/legendPayloadContext.js +10 -0
- package/dist/node_modules/recharts/es6/context/legendPayloadContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/legendPortalContext.js +7 -0
- package/dist/node_modules/recharts/es6/context/legendPortalContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/tooltipContext.js +33 -0
- package/dist/node_modules/recharts/es6/context/tooltipContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/tooltipPortalContext.js +7 -0
- package/dist/node_modules/recharts/es6/context/tooltipPortalContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/useTooltipAxis.js +56 -0
- package/dist/node_modules/recharts/es6/context/useTooltipAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/hooks.js +9 -0
- package/dist/node_modules/recharts/es6/hooks.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js +460 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarAngleAxisProps.js +29 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarAngleAxisProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarRadiusAxisProps.js +27 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarRadiusAxisProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +102 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +123 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +28 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +275 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +205 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +133 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/RechartsReduxContext.js +7 -0
- package/dist/node_modules/recharts/es6/state/RechartsReduxContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/RechartsStoreProvider.js +21 -0
- package/dist/node_modules/recharts/es6/state/RechartsStoreProvider.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/ReportChartProps.js +14 -0
- package/dist/node_modules/recharts/es6/state/ReportChartProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/ReportEventSettings.js +14 -0
- package/dist/node_modules/recharts/es6/state/ReportEventSettings.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/ReportMainChartProps.js +22 -0
- package/dist/node_modules/recharts/es6/state/ReportMainChartProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/ReportPolarOptions.js +14 -0
- package/dist/node_modules/recharts/es6/state/ReportPolarOptions.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/SetGraphicalItem.js +28 -0
- package/dist/node_modules/recharts/es6/state/SetGraphicalItem.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/SetLegendPayload.js +40 -0
- package/dist/node_modules/recharts/es6/state/SetLegendPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/SetTooltipEntrySettings.js +24 -0
- package/dist/node_modules/recharts/es6/state/SetTooltipEntrySettings.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/brushSlice.js +26 -0
- package/dist/node_modules/recharts/es6/state/brushSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/cartesianAxisSlice.js +143 -0
- package/dist/node_modules/recharts/es6/state/cartesianAxisSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/chartDataSlice.js +34 -0
- package/dist/node_modules/recharts/es6/state/chartDataSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/errorBarSlice.js +26 -0
- package/dist/node_modules/recharts/es6/state/errorBarSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/eventSettingsSlice.js +23 -0
- package/dist/node_modules/recharts/es6/state/eventSettingsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/externalEventsMiddleware.js +57 -0
- package/dist/node_modules/recharts/es6/state/externalEventsMiddleware.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/graphicalItemsSlice.js +56 -0
- package/dist/node_modules/recharts/es6/state/graphicalItemsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/hooks.js +18 -0
- package/dist/node_modules/recharts/es6/state/hooks.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/keyboardEventsMiddleware.js +108 -0
- package/dist/node_modules/recharts/es6/state/keyboardEventsMiddleware.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/layoutSlice.js +35 -0
- package/dist/node_modules/recharts/es6/state/layoutSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/legendSlice.js +53 -0
- package/dist/node_modules/recharts/es6/state/legendSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/mouseEventsMiddleware.js +51 -0
- package/dist/node_modules/recharts/es6/state/mouseEventsMiddleware.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/optionsSlice.js +24 -0
- package/dist/node_modules/recharts/es6/state/optionsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/polarAxisSlice.js +30 -0
- package/dist/node_modules/recharts/es6/state/polarAxisSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/polarOptionsSlice.js +11 -0
- package/dist/node_modules/recharts/es6/state/polarOptionsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js +8 -0
- package/dist/node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/referenceElementsSlice.js +39 -0
- package/dist/node_modules/recharts/es6/state/referenceElementsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/renderedTicksSlice.js +23 -0
- package/dist/node_modules/recharts/es6/state/renderedTicksSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/rootPropsSlice.js +25 -0
- package/dist/node_modules/recharts/es6/state/rootPropsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js +15 -0
- package/dist/node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js +829 -0
- package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/barSelectors.js +104 -0
- package/dist/node_modules/recharts/es6/state/selectors/barSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js +19 -0
- package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js +10 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js +36 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js +94 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAxisRangeWithReverse.js +8 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAxisRangeWithReverse.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineBarPosition.js +11 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineBarPosition.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js +70 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js +21 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js +23 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCoordinateForDefaultIndex.js +22 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCoordinateForDefaultIndex.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js +20 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js +9 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js +20 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineStackedData.js +19 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineStackedData.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js +74 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js +106 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayloadConfigurations.js +16 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayloadConfigurations.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/containerSelectors.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/containerSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js +24 -0
- package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js +11 -0
- package/dist/node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js +11 -0
- package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/lineSelectors.js +46 -0
- package/dist/node_modules/recharts/es6/state/selectors/lineSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisId.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisId.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisType.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisType.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/pieSelectors.js +92 -0
- package/dist/node_modules/recharts/es6/state/selectors/pieSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js +141 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarSelectors.js +72 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/rootPropsSelectors.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/rootPropsSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectActivePropsFromChartPointer.js +21 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectActivePropsFromChartPointer.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectAllAxes.js +7 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectAllAxes.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js +13 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js +102 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectLegendArea.js +17 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectLegendArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectPlotArea.js +20 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectPlotArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js +10 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipEventType.js +18 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipEventType.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipPayloadSearcher.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipPayloadSearcher.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipSettings.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipSettings.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipState.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipState.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectors.js +87 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js +207 -0
- package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/touchSelectors.js +19 -0
- package/dist/node_modules/recharts/es6/state/selectors/touchSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/store.js +75 -0
- package/dist/node_modules/recharts/es6/state/store.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/tooltipSlice.js +93 -0
- package/dist/node_modules/recharts/es6/state/tooltipSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/touchEventsMiddleware.js +70 -0
- package/dist/node_modules/recharts/es6/state/touchEventsMiddleware.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js +8 -0
- package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/zIndexSlice.js +101 -0
- package/dist/node_modules/recharts/es6/state/zIndexSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/synchronisation/syncSelectors.js +8 -0
- package/dist/node_modules/recharts/es6/synchronisation/syncSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/synchronisation/useChartSynchronisation.js +224 -0
- package/dist/node_modules/recharts/es6/synchronisation/useChartSynchronisation.js.map +1 -0
- package/dist/node_modules/recharts/es6/theme/RechartsThemeContext.js +10 -0
- package/dist/node_modules/recharts/es6/theme/RechartsThemeContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/theme/legacyTheme.js +9 -0
- package/dist/node_modules/recharts/es6/theme/legacyTheme.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +73 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +48 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +12 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +240 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Constants.js +6 -0
- package/dist/node_modules/recharts/es6/util/Constants.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +92 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +37 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Events.js +7 -0
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Global.js +8 -0
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LRUCache.js +50 -0
- package/dist/node_modules/recharts/es6/util/LRUCache.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +13 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +113 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +24 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +160 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/XAxisUtils.js +19 -0
- package/dist/node_modules/recharts/es6/util/XAxisUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/YAxisUtils.js +19 -0
- package/dist/node_modules/recharts/es6/util/YAxisUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/axisPropsAreEqual.js +33 -0
- package/dist/node_modules/recharts/es6/util/axisPropsAreEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/createEventProxy.js +14 -0
- package/dist/node_modules/recharts/es6/util/createEventProxy.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +37 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/excludeEventProps.js +9 -0
- package/dist/node_modules/recharts/es6/util/excludeEventProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getActiveCoordinate.js +136 -0
- package/dist/node_modules/recharts/es6/util/getActiveCoordinate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js +10 -0
- package/dist/node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getClassNameFromUnknown.js +8 -0
- package/dist/node_modules/recharts/es6/util/getClassNameFromUnknown.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getEveryNth.js +14 -0
- package/dist/node_modules/recharts/es6/util/getEveryNth.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js +20 -0
- package/dist/node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getRelativeCoordinate.js +23 -0
- package/dist/node_modules/recharts/es6/util/getRelativeCoordinate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getSliced.js +8 -0
- package/dist/node_modules/recharts/es6/util/getSliced.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +110 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isWellBehavedNumber.js +11 -0
- package/dist/node_modules/recharts/es6/util/isWellBehavedNumber.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +9 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/propsAreEqual.js +39 -0
- package/dist/node_modules/recharts/es6/util/propsAreEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/resolveDefaultProps.js +52 -0
- package/dist/node_modules/recharts/es6/util/resolveDefaultProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/round.js +15 -0
- package/dist/node_modules/recharts/es6/util/round.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/scale/RechartsScale.js +47 -0
- package/dist/node_modules/recharts/es6/util/scale/RechartsScale.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/scale/createCategoricalInverse.js +24 -0
- package/dist/node_modules/recharts/es6/util/scale/createCategoricalInverse.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +116 -0
- package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/scale/util/arithmetic.js +15 -0
- package/dist/node_modules/recharts/es6/util/scale/util/arithmetic.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +8 -0
- package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesAndEvents.js +16 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesAndEvents.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +27 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +64 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/types.js +23 -0
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useAnimationId.js +11 -0
- package/dist/node_modules/recharts/es6/util/useAnimationId.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useElementOffset.js +86 -0
- package/dist/node_modules/recharts/es6/util/useElementOffset.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useId.js +49 -0
- package/dist/node_modules/recharts/es6/util/useId.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/usePrefersReducedMotion.js +62 -0
- package/dist/node_modules/recharts/es6/util/usePrefersReducedMotion.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useReportScale.js +65 -0
- package/dist/node_modules/recharts/es6/util/useReportScale.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useUniqueId.js +10 -0
- package/dist/node_modules/recharts/es6/util/useUniqueId.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/DefaultZIndexes.js +19 -0
- package/dist/node_modules/recharts/es6/zIndex/DefaultZIndexes.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexLayer.js +45 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexLayer.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexPortal.js +45 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexPortal.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js +9 -0
- package/dist/node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/zIndexSelectors.js +17 -0
- package/dist/node_modules/recharts/es6/zIndex/zIndexSelectors.js.map +1 -0
- package/dist/node_modules/redux/dist/redux.js +203 -0
- package/dist/node_modules/redux/dist/redux.js.map +1 -0
- package/dist/node_modules/redux-thunk/dist/redux-thunk.js +9 -0
- package/dist/node_modules/redux-thunk/dist/redux-thunk.js.map +1 -0
- package/dist/node_modules/reselect/dist/reselect.js +178 -0
- package/dist/node_modules/reselect/dist/reselect.js.map +1 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +56 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +54 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +54 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +46 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +55 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +53 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +12 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +12 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js +12 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js.map +1 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region node_modules/decimal.js-light/decimal.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
(function(e) {
|
|
5
|
+
var n = 1e9, r = {
|
|
6
|
+
precision: 20,
|
|
7
|
+
rounding: 4,
|
|
8
|
+
toExpNeg: -7,
|
|
9
|
+
toExpPos: 21,
|
|
10
|
+
LN10: "2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"
|
|
11
|
+
}, i = !0, a = "[DecimalError] ", o = a + "Invalid argument: ", s = a + "Exponent out of range: ", c = Math.floor, l = Math.pow, u = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, d, f = 1e7, p = 7, m = 9007199254740991, h = c(m / p), g = {};
|
|
12
|
+
g.absoluteValue = g.abs = function() {
|
|
13
|
+
var e = new this.constructor(this);
|
|
14
|
+
return e.s &&= 1, e;
|
|
15
|
+
}, g.comparedTo = g.cmp = function(e) {
|
|
16
|
+
var t, n, r, i, a = this;
|
|
17
|
+
if (e = new a.constructor(e), a.s !== e.s) return a.s || -e.s;
|
|
18
|
+
if (a.e !== e.e) return a.e > e.e ^ a.s < 0 ? 1 : -1;
|
|
19
|
+
for (r = a.d.length, i = e.d.length, t = 0, n = r < i ? r : i; t < n; ++t) if (a.d[t] !== e.d[t]) return a.d[t] > e.d[t] ^ a.s < 0 ? 1 : -1;
|
|
20
|
+
return r === i ? 0 : r > i ^ a.s < 0 ? 1 : -1;
|
|
21
|
+
}, g.decimalPlaces = g.dp = function() {
|
|
22
|
+
var e = this, t = e.d.length - 1, n = (t - e.e) * p;
|
|
23
|
+
if (t = e.d[t], t) for (; t % 10 == 0; t /= 10) n--;
|
|
24
|
+
return n < 0 ? 0 : n;
|
|
25
|
+
}, g.dividedBy = g.div = function(e) {
|
|
26
|
+
return b(this, new this.constructor(e));
|
|
27
|
+
}, g.dividedToIntegerBy = g.idiv = function(e) {
|
|
28
|
+
var t = this, n = t.constructor;
|
|
29
|
+
return D(b(t, new n(e), 0, 1), n.precision);
|
|
30
|
+
}, g.equals = g.eq = function(e) {
|
|
31
|
+
return !this.cmp(e);
|
|
32
|
+
}, g.exponent = function() {
|
|
33
|
+
return S(this);
|
|
34
|
+
}, g.greaterThan = g.gt = function(e) {
|
|
35
|
+
return this.cmp(e) > 0;
|
|
36
|
+
}, g.greaterThanOrEqualTo = g.gte = function(e) {
|
|
37
|
+
return this.cmp(e) >= 0;
|
|
38
|
+
}, g.isInteger = g.isint = function() {
|
|
39
|
+
return this.e > this.d.length - 2;
|
|
40
|
+
}, g.isNegative = g.isneg = function() {
|
|
41
|
+
return this.s < 0;
|
|
42
|
+
}, g.isPositive = g.ispos = function() {
|
|
43
|
+
return this.s > 0;
|
|
44
|
+
}, g.isZero = function() {
|
|
45
|
+
return this.s === 0;
|
|
46
|
+
}, g.lessThan = g.lt = function(e) {
|
|
47
|
+
return this.cmp(e) < 0;
|
|
48
|
+
}, g.lessThanOrEqualTo = g.lte = function(e) {
|
|
49
|
+
return this.cmp(e) < 1;
|
|
50
|
+
}, g.logarithm = g.log = function(e) {
|
|
51
|
+
var t, n = this, r = n.constructor, o = r.precision, s = o + 5;
|
|
52
|
+
if (e === void 0) e = new r(10);
|
|
53
|
+
else if (e = new r(e), e.s < 1 || e.eq(d)) throw Error(a + "NaN");
|
|
54
|
+
if (n.s < 1) throw Error(a + (n.s ? "NaN" : "-Infinity"));
|
|
55
|
+
return n.eq(d) ? new r(0) : (i = !1, t = b(T(n, s), T(e, s), s), i = !0, D(t, o));
|
|
56
|
+
}, g.minus = g.sub = function(e) {
|
|
57
|
+
var t = this;
|
|
58
|
+
return e = new t.constructor(e), t.s == e.s ? O(t, e) : _(t, (e.s = -e.s, e));
|
|
59
|
+
}, g.modulo = g.mod = function(e) {
|
|
60
|
+
var t, n = this, r = n.constructor, o = r.precision;
|
|
61
|
+
if (e = new r(e), !e.s) throw Error(a + "NaN");
|
|
62
|
+
return n.s ? (i = !1, t = b(n, e, 0, 1).times(e), i = !0, n.minus(t)) : D(new r(n), o);
|
|
63
|
+
}, g.naturalExponential = g.exp = function() {
|
|
64
|
+
return x(this);
|
|
65
|
+
}, g.naturalLogarithm = g.ln = function() {
|
|
66
|
+
return T(this);
|
|
67
|
+
}, g.negated = g.neg = function() {
|
|
68
|
+
var e = new this.constructor(this);
|
|
69
|
+
return e.s = -e.s || 0, e;
|
|
70
|
+
}, g.plus = g.add = function(e) {
|
|
71
|
+
var t = this;
|
|
72
|
+
return e = new t.constructor(e), t.s == e.s ? _(t, e) : O(t, (e.s = -e.s, e));
|
|
73
|
+
}, g.precision = g.sd = function(e) {
|
|
74
|
+
var t, n, r, i = this;
|
|
75
|
+
if (e !== void 0 && e !== !!e && e !== 1 && e !== 0) throw Error(o + e);
|
|
76
|
+
if (t = S(i) + 1, r = i.d.length - 1, n = r * p + 1, r = i.d[r], r) {
|
|
77
|
+
for (; r % 10 == 0; r /= 10) n--;
|
|
78
|
+
for (r = i.d[0]; r >= 10; r /= 10) n++;
|
|
79
|
+
}
|
|
80
|
+
return e && t > n ? t : n;
|
|
81
|
+
}, g.squareRoot = g.sqrt = function() {
|
|
82
|
+
var e, t, n, r, o, s, l, u = this, d = u.constructor;
|
|
83
|
+
if (u.s < 1) {
|
|
84
|
+
if (!u.s) return new d(0);
|
|
85
|
+
throw Error(a + "NaN");
|
|
86
|
+
}
|
|
87
|
+
for (e = S(u), i = !1, o = Math.sqrt(+u), o == 0 || o == Infinity ? (t = y(u.d), (t.length + e) % 2 == 0 && (t += "0"), o = Math.sqrt(t), e = c((e + 1) / 2) - (e < 0 || e % 2), o == Infinity ? t = "5e" + e : (t = o.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + e), r = new d(t)) : r = new d(o.toString()), n = d.precision, o = l = n + 3;;) if (s = r, r = s.plus(b(u, s, l + 2)).times(.5), y(s.d).slice(0, l) === (t = y(r.d)).slice(0, l)) {
|
|
88
|
+
if (t = t.slice(l - 3, l + 1), o == l && t == "4999") {
|
|
89
|
+
if (D(s, n + 1, 0), s.times(s).eq(u)) {
|
|
90
|
+
r = s;
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
} else if (t != "9999") break;
|
|
94
|
+
l += 4;
|
|
95
|
+
}
|
|
96
|
+
return i = !0, D(r, n);
|
|
97
|
+
}, g.times = g.mul = function(e) {
|
|
98
|
+
var t, n, r, a, o, s, c, l, u, d = this, p = d.constructor, m = d.d, h = (e = new p(e)).d;
|
|
99
|
+
if (!d.s || !e.s) return new p(0);
|
|
100
|
+
for (e.s *= d.s, n = d.e + e.e, l = m.length, u = h.length, l < u && (o = m, m = h, h = o, s = l, l = u, u = s), o = [], s = l + u, r = s; r--;) o.push(0);
|
|
101
|
+
for (r = u; --r >= 0;) {
|
|
102
|
+
for (t = 0, a = l + r; a > r;) c = o[a] + h[r] * m[a - r - 1] + t, o[a--] = c % f | 0, t = c / f | 0;
|
|
103
|
+
o[a] = (o[a] + t) % f | 0;
|
|
104
|
+
}
|
|
105
|
+
for (; !o[--s];) o.pop();
|
|
106
|
+
return t ? ++n : o.shift(), e.d = o, e.e = n, i ? D(e, p.precision) : e;
|
|
107
|
+
}, g.toDecimalPlaces = g.todp = function(e, t) {
|
|
108
|
+
var r = this, i = r.constructor;
|
|
109
|
+
return r = new i(r), e === void 0 ? r : (v(e, 0, n), t === void 0 ? t = i.rounding : v(t, 0, 8), D(r, e + S(r) + 1, t));
|
|
110
|
+
}, g.toExponential = function(e, t) {
|
|
111
|
+
var r, i = this, a = i.constructor;
|
|
112
|
+
return e === void 0 ? r = k(i, !0) : (v(e, 0, n), t === void 0 ? t = a.rounding : v(t, 0, 8), i = D(new a(i), e + 1, t), r = k(i, !0, e + 1)), r;
|
|
113
|
+
}, g.toFixed = function(e, t) {
|
|
114
|
+
var r, i, a = this, o = a.constructor;
|
|
115
|
+
return e === void 0 ? k(a) : (v(e, 0, n), t === void 0 ? t = o.rounding : v(t, 0, 8), i = D(new o(a), e + S(a) + 1, t), r = k(i.abs(), !1, e + S(i) + 1), a.isneg() && !a.isZero() ? "-" + r : r);
|
|
116
|
+
}, g.toInteger = g.toint = function() {
|
|
117
|
+
var e = this, t = e.constructor;
|
|
118
|
+
return D(new t(e), S(e) + 1, t.rounding);
|
|
119
|
+
}, g.toNumber = function() {
|
|
120
|
+
return +this;
|
|
121
|
+
}, g.toPower = g.pow = function(e) {
|
|
122
|
+
var t, n, r, o, s, l, u = this, f = u.constructor, h = 12, g = +(e = new f(e));
|
|
123
|
+
if (!e.s) return new f(d);
|
|
124
|
+
if (u = new f(u), !u.s) {
|
|
125
|
+
if (e.s < 1) throw Error(a + "Infinity");
|
|
126
|
+
return u;
|
|
127
|
+
}
|
|
128
|
+
if (u.eq(d)) return u;
|
|
129
|
+
if (r = f.precision, e.eq(d)) return D(u, r);
|
|
130
|
+
if (t = e.e, n = e.d.length - 1, l = t >= n, s = u.s, !l) {
|
|
131
|
+
if (s < 0) throw Error(a + "NaN");
|
|
132
|
+
} else if ((n = g < 0 ? -g : g) <= m) {
|
|
133
|
+
for (o = new f(d), t = Math.ceil(r / p + 4), i = !1; n % 2 && (o = o.times(u), A(o.d, t)), n = c(n / 2), n !== 0;) u = u.times(u), A(u.d, t);
|
|
134
|
+
return i = !0, e.s < 0 ? new f(d).div(o) : D(o, r);
|
|
135
|
+
}
|
|
136
|
+
return s = s < 0 && e.d[Math.max(t, n)] & 1 ? -1 : 1, u.s = 1, i = !1, o = e.times(T(u, r + h)), i = !0, o = x(o), o.s = s, o;
|
|
137
|
+
}, g.toPrecision = function(e, t) {
|
|
138
|
+
var r, i, a = this, o = a.constructor;
|
|
139
|
+
return e === void 0 ? (r = S(a), i = k(a, r <= o.toExpNeg || r >= o.toExpPos)) : (v(e, 1, n), t === void 0 ? t = o.rounding : v(t, 0, 8), a = D(new o(a), e, t), r = S(a), i = k(a, e <= r || r <= o.toExpNeg, e)), i;
|
|
140
|
+
}, g.toSignificantDigits = g.tosd = function(e, t) {
|
|
141
|
+
var r = this, i = r.constructor;
|
|
142
|
+
return e === void 0 ? (e = i.precision, t = i.rounding) : (v(e, 1, n), t === void 0 ? t = i.rounding : v(t, 0, 8)), D(new i(r), e, t);
|
|
143
|
+
}, g.toString = g.valueOf = g.val = g.toJSON = function() {
|
|
144
|
+
var e = this, t = S(e), n = e.constructor;
|
|
145
|
+
return k(e, t <= n.toExpNeg || t >= n.toExpPos);
|
|
146
|
+
};
|
|
147
|
+
function _(e, t) {
|
|
148
|
+
var n, r, a, o, s, c, l, u, d = e.constructor, m = d.precision;
|
|
149
|
+
if (!e.s || !t.s) return t.s || (t = new d(e)), i ? D(t, m) : t;
|
|
150
|
+
if (l = e.d, u = t.d, s = e.e, a = t.e, l = l.slice(), o = s - a, o) {
|
|
151
|
+
for (o < 0 ? (r = l, o = -o, c = u.length) : (r = u, a = s, c = l.length), s = Math.ceil(m / p), c = s > c ? s + 1 : c + 1, o > c && (o = c, r.length = 1), r.reverse(); o--;) r.push(0);
|
|
152
|
+
r.reverse();
|
|
153
|
+
}
|
|
154
|
+
for (c = l.length, o = u.length, c - o < 0 && (o = c, r = u, u = l, l = r), n = 0; o;) n = (l[--o] = l[o] + u[o] + n) / f | 0, l[o] %= f;
|
|
155
|
+
for (n && (l.unshift(n), ++a), c = l.length; l[--c] == 0;) l.pop();
|
|
156
|
+
return t.d = l, t.e = a, i ? D(t, m) : t;
|
|
157
|
+
}
|
|
158
|
+
function v(e, t, n) {
|
|
159
|
+
if (e !== ~~e || e < t || e > n) throw Error(o + e);
|
|
160
|
+
}
|
|
161
|
+
function y(e) {
|
|
162
|
+
var t, n, r, i = e.length - 1, a = "", o = e[0];
|
|
163
|
+
if (i > 0) {
|
|
164
|
+
for (a += o, t = 1; t < i; t++) r = e[t] + "", n = p - r.length, n && (a += w(n)), a += r;
|
|
165
|
+
o = e[t], r = o + "", n = p - r.length, n && (a += w(n));
|
|
166
|
+
} else if (o === 0) return "0";
|
|
167
|
+
for (; o % 10 == 0;) o /= 10;
|
|
168
|
+
return a + o;
|
|
169
|
+
}
|
|
170
|
+
var b = (function() {
|
|
171
|
+
function e(e, t) {
|
|
172
|
+
var n, r = 0, i = e.length;
|
|
173
|
+
for (e = e.slice(); i--;) n = e[i] * t + r, e[i] = n % f | 0, r = n / f | 0;
|
|
174
|
+
return r && e.unshift(r), e;
|
|
175
|
+
}
|
|
176
|
+
function t(e, t, n, r) {
|
|
177
|
+
var i, a;
|
|
178
|
+
if (n != r) a = n > r ? 1 : -1;
|
|
179
|
+
else for (i = a = 0; i < n; i++) if (e[i] != t[i]) {
|
|
180
|
+
a = e[i] > t[i] ? 1 : -1;
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
return a;
|
|
184
|
+
}
|
|
185
|
+
function n(e, t, n) {
|
|
186
|
+
for (var r = 0; n--;) e[n] -= r, r = +(e[n] < t[n]), e[n] = r * f + e[n] - t[n];
|
|
187
|
+
for (; !e[0] && e.length > 1;) e.shift();
|
|
188
|
+
}
|
|
189
|
+
return function(r, i, o, s) {
|
|
190
|
+
var c, l, u, d, m, h, g, _, v, y, b, x, C, w, T, E, O, k, A = r.constructor, j = r.s == i.s ? 1 : -1, M = r.d, N = i.d;
|
|
191
|
+
if (!r.s) return new A(r);
|
|
192
|
+
if (!i.s) throw Error(a + "Division by zero");
|
|
193
|
+
for (l = r.e - i.e, O = N.length, T = M.length, g = new A(j), _ = g.d = [], u = 0; N[u] == (M[u] || 0);) ++u;
|
|
194
|
+
if (N[u] > (M[u] || 0) && --l, x = o == null ? o = A.precision : s ? o + (S(r) - S(i)) + 1 : o, x < 0) return new A(0);
|
|
195
|
+
if (x = x / p + 2 | 0, u = 0, O == 1) for (d = 0, N = N[0], x++; (u < T || d) && x--; u++) C = d * f + (M[u] || 0), _[u] = C / N | 0, d = C % N | 0;
|
|
196
|
+
else {
|
|
197
|
+
for (d = f / (N[0] + 1) | 0, d > 1 && (N = e(N, d), M = e(M, d), O = N.length, T = M.length), w = O, v = M.slice(0, O), y = v.length; y < O;) v[y++] = 0;
|
|
198
|
+
k = N.slice(), k.unshift(0), E = N[0], N[1] >= f / 2 && ++E;
|
|
199
|
+
do
|
|
200
|
+
d = 0, c = t(N, v, O, y), c < 0 ? (b = v[0], O != y && (b = b * f + (v[1] || 0)), d = b / E | 0, d > 1 ? (d >= f && (d = f - 1), m = e(N, d), h = m.length, y = v.length, c = t(m, v, h, y), c == 1 && (d--, n(m, O < h ? k : N, h))) : (d == 0 && (c = d = 1), m = N.slice()), h = m.length, h < y && m.unshift(0), n(v, m, y), c == -1 && (y = v.length, c = t(N, v, O, y), c < 1 && (d++, n(v, O < y ? k : N, y))), y = v.length) : c === 0 && (d++, v = [0]), _[u++] = d, c && v[0] ? v[y++] = M[w] || 0 : (v = [M[w]], y = 1);
|
|
201
|
+
while ((w++ < T || v[0] !== void 0) && x--);
|
|
202
|
+
}
|
|
203
|
+
return _[0] || _.shift(), g.e = l, D(g, s ? o + S(g) + 1 : o);
|
|
204
|
+
};
|
|
205
|
+
})();
|
|
206
|
+
function x(e, t) {
|
|
207
|
+
var n, r, a, o, c, u, f = 0, p = 0, m = e.constructor, h = m.precision;
|
|
208
|
+
if (S(e) > 16) throw Error(s + S(e));
|
|
209
|
+
if (!e.s) return new m(d);
|
|
210
|
+
for (t == null ? (i = !1, u = h) : u = t, c = new m(.03125); e.abs().gte(.1);) e = e.times(c), p += 5;
|
|
211
|
+
for (r = Math.log(l(2, p)) / Math.LN10 * 2 + 5 | 0, u += r, n = a = o = new m(d), m.precision = u;;) {
|
|
212
|
+
if (a = D(a.times(e), u), n = n.times(++f), c = o.plus(b(a, n, u)), y(c.d).slice(0, u) === y(o.d).slice(0, u)) {
|
|
213
|
+
for (; p--;) o = D(o.times(o), u);
|
|
214
|
+
return m.precision = h, t == null ? (i = !0, D(o, h)) : o;
|
|
215
|
+
}
|
|
216
|
+
o = c;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
function S(e) {
|
|
220
|
+
for (var t = e.e * p, n = e.d[0]; n >= 10; n /= 10) t++;
|
|
221
|
+
return t;
|
|
222
|
+
}
|
|
223
|
+
function C(e, t, n) {
|
|
224
|
+
if (t > e.LN10.sd()) throw i = !0, n && (e.precision = n), Error(a + "LN10 precision limit exceeded");
|
|
225
|
+
return D(new e(e.LN10), t);
|
|
226
|
+
}
|
|
227
|
+
function w(e) {
|
|
228
|
+
for (var t = ""; e--;) t += "0";
|
|
229
|
+
return t;
|
|
230
|
+
}
|
|
231
|
+
function T(e, t) {
|
|
232
|
+
var n, r, o, s, c, l, u, f, p, m = 1, h = 10, g = e, _ = g.d, v = g.constructor, x = v.precision;
|
|
233
|
+
if (g.s < 1) throw Error(a + (g.s ? "NaN" : "-Infinity"));
|
|
234
|
+
if (g.eq(d)) return new v(0);
|
|
235
|
+
if (t == null ? (i = !1, f = x) : f = t, g.eq(10)) return t ?? (i = !0), C(v, f);
|
|
236
|
+
if (f += h, v.precision = f, n = y(_), r = n.charAt(0), s = S(g), Math.abs(s) < 0x5543df729c000) {
|
|
237
|
+
for (; r < 7 && r != 1 || r == 1 && n.charAt(1) > 3;) g = g.times(e), n = y(g.d), r = n.charAt(0), m++;
|
|
238
|
+
s = S(g), r > 1 ? (g = new v("0." + n), s++) : g = new v(r + "." + n.slice(1));
|
|
239
|
+
} else return u = C(v, f + 2, x).times(s + ""), g = T(new v(r + "." + n.slice(1)), f - h).plus(u), v.precision = x, t == null ? (i = !0, D(g, x)) : g;
|
|
240
|
+
for (l = c = g = b(g.minus(d), g.plus(d), f), p = D(g.times(g), f), o = 3;;) {
|
|
241
|
+
if (c = D(c.times(p), f), u = l.plus(b(c, new v(o), f)), y(u.d).slice(0, f) === y(l.d).slice(0, f)) return l = l.times(2), s !== 0 && (l = l.plus(C(v, f + 2, x).times(s + ""))), l = b(l, new v(m), f), v.precision = x, t == null ? (i = !0, D(l, x)) : l;
|
|
242
|
+
l = u, o += 2;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
function E(e, t) {
|
|
246
|
+
var n, r, a;
|
|
247
|
+
for ((n = t.indexOf(".")) > -1 && (t = t.replace(".", "")), (r = t.search(/e/i)) > 0 ? (n < 0 && (n = r), n += +t.slice(r + 1), t = t.substring(0, r)) : n < 0 && (n = t.length), r = 0; t.charCodeAt(r) === 48;) ++r;
|
|
248
|
+
for (a = t.length; t.charCodeAt(a - 1) === 48;) --a;
|
|
249
|
+
if (t = t.slice(r, a), t) {
|
|
250
|
+
if (a -= r, n = n - r - 1, e.e = c(n / p), e.d = [], r = (n + 1) % p, n < 0 && (r += p), r < a) {
|
|
251
|
+
for (r && e.d.push(+t.slice(0, r)), a -= p; r < a;) e.d.push(+t.slice(r, r += p));
|
|
252
|
+
t = t.slice(r), r = p - t.length;
|
|
253
|
+
} else r -= a;
|
|
254
|
+
for (; r--;) t += "0";
|
|
255
|
+
if (e.d.push(+t), i && (e.e > h || e.e < -h)) throw Error(s + n);
|
|
256
|
+
} else e.s = 0, e.e = 0, e.d = [0];
|
|
257
|
+
return e;
|
|
258
|
+
}
|
|
259
|
+
function D(e, t, n) {
|
|
260
|
+
var r, a, o, u, d, m, g, _, v = e.d;
|
|
261
|
+
for (u = 1, o = v[0]; o >= 10; o /= 10) u++;
|
|
262
|
+
if (r = t - u, r < 0) r += p, a = t, g = v[_ = 0];
|
|
263
|
+
else {
|
|
264
|
+
if (_ = Math.ceil((r + 1) / p), o = v.length, _ >= o) return e;
|
|
265
|
+
for (g = o = v[_], u = 1; o >= 10; o /= 10) u++;
|
|
266
|
+
r %= p, a = r - p + u;
|
|
267
|
+
}
|
|
268
|
+
if (n !== void 0 && (o = l(10, u - a - 1), d = g / o % 10 | 0, m = t < 0 || v[_ + 1] !== void 0 || g % o, m = n < 4 ? (d || m) && (n == 0 || n == (e.s < 0 ? 3 : 2)) : d > 5 || d == 5 && (n == 4 || m || n == 6 && (r > 0 ? a > 0 ? g / l(10, u - a) : 0 : v[_ - 1]) % 10 & 1 || n == (e.s < 0 ? 8 : 7))), t < 1 || !v[0]) return m ? (o = S(e), v.length = 1, t = t - o - 1, v[0] = l(10, (p - t % p) % p), e.e = c(-t / p) || 0) : (v.length = 1, v[0] = e.e = e.s = 0), e;
|
|
269
|
+
if (r == 0 ? (v.length = _, o = 1, _--) : (v.length = _ + 1, o = l(10, p - r), v[_] = a > 0 ? (g / l(10, u - a) % l(10, a) | 0) * o : 0), m) for (;;) if (_ == 0) {
|
|
270
|
+
(v[0] += o) == f && (v[0] = 1, ++e.e);
|
|
271
|
+
break;
|
|
272
|
+
} else {
|
|
273
|
+
if (v[_] += o, v[_] != f) break;
|
|
274
|
+
v[_--] = 0, o = 1;
|
|
275
|
+
}
|
|
276
|
+
for (r = v.length; v[--r] === 0;) v.pop();
|
|
277
|
+
if (i && (e.e > h || e.e < -h)) throw Error(s + S(e));
|
|
278
|
+
return e;
|
|
279
|
+
}
|
|
280
|
+
function O(e, t) {
|
|
281
|
+
var n, r, a, o, s, c, l, u, d, m, h = e.constructor, g = h.precision;
|
|
282
|
+
if (!e.s || !t.s) return t.s ? t.s = -t.s : t = new h(e), i ? D(t, g) : t;
|
|
283
|
+
if (l = e.d, m = t.d, r = t.e, u = e.e, l = l.slice(), s = u - r, s) {
|
|
284
|
+
for (d = s < 0, d ? (n = l, s = -s, c = m.length) : (n = m, r = u, c = l.length), a = Math.max(Math.ceil(g / p), c) + 2, s > a && (s = a, n.length = 1), n.reverse(), a = s; a--;) n.push(0);
|
|
285
|
+
n.reverse();
|
|
286
|
+
} else {
|
|
287
|
+
for (a = l.length, c = m.length, d = a < c, d && (c = a), a = 0; a < c; a++) if (l[a] != m[a]) {
|
|
288
|
+
d = l[a] < m[a];
|
|
289
|
+
break;
|
|
290
|
+
}
|
|
291
|
+
s = 0;
|
|
292
|
+
}
|
|
293
|
+
for (d && (n = l, l = m, m = n, t.s = -t.s), c = l.length, a = m.length - c; a > 0; --a) l[c++] = 0;
|
|
294
|
+
for (a = m.length; a > s;) {
|
|
295
|
+
if (l[--a] < m[a]) {
|
|
296
|
+
for (o = a; o && l[--o] === 0;) l[o] = f - 1;
|
|
297
|
+
--l[o], l[a] += f;
|
|
298
|
+
}
|
|
299
|
+
l[a] -= m[a];
|
|
300
|
+
}
|
|
301
|
+
for (; l[--c] === 0;) l.pop();
|
|
302
|
+
for (; l[0] === 0; l.shift()) --r;
|
|
303
|
+
return l[0] ? (t.d = l, t.e = r, i ? D(t, g) : t) : new h(0);
|
|
304
|
+
}
|
|
305
|
+
function k(e, t, n) {
|
|
306
|
+
var r, i = S(e), a = y(e.d), o = a.length;
|
|
307
|
+
return t ? (n && (r = n - o) > 0 ? a = a.charAt(0) + "." + a.slice(1) + w(r) : o > 1 && (a = a.charAt(0) + "." + a.slice(1)), a = a + (i < 0 ? "e" : "e+") + i) : i < 0 ? (a = "0." + w(-i - 1) + a, n && (r = n - o) > 0 && (a += w(r))) : i >= o ? (a += w(i + 1 - o), n && (r = n - i - 1) > 0 && (a = a + "." + w(r))) : ((r = i + 1) < o && (a = a.slice(0, r) + "." + a.slice(r)), n && (r = n - o) > 0 && (i + 1 === o && (a += "."), a += w(r))), e.s < 0 ? "-" + a : a;
|
|
308
|
+
}
|
|
309
|
+
function A(e, t) {
|
|
310
|
+
if (e.length > t) return e.length = t, !0;
|
|
311
|
+
}
|
|
312
|
+
function j(e) {
|
|
313
|
+
var t, n, r;
|
|
314
|
+
function i(e) {
|
|
315
|
+
var t = this;
|
|
316
|
+
if (!(t instanceof i)) return new i(e);
|
|
317
|
+
if (t.constructor = i, e instanceof i) {
|
|
318
|
+
t.s = e.s, t.e = e.e, t.d = (e = e.d) ? e.slice() : e;
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
321
|
+
if (typeof e == "number") {
|
|
322
|
+
if (e * 0 != 0) throw Error(o + e);
|
|
323
|
+
if (e > 0) t.s = 1;
|
|
324
|
+
else if (e < 0) e = -e, t.s = -1;
|
|
325
|
+
else {
|
|
326
|
+
t.s = 0, t.e = 0, t.d = [0];
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
if (e === ~~e && e < 1e7) {
|
|
330
|
+
t.e = 0, t.d = [e];
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
return E(t, e.toString());
|
|
334
|
+
} else if (typeof e != "string") throw Error(o + e);
|
|
335
|
+
if (e.charCodeAt(0) === 45 ? (e = e.slice(1), t.s = -1) : t.s = 1, u.test(e)) E(t, e);
|
|
336
|
+
else throw Error(o + e);
|
|
337
|
+
}
|
|
338
|
+
if (i.prototype = g, i.ROUND_UP = 0, i.ROUND_DOWN = 1, i.ROUND_CEIL = 2, i.ROUND_FLOOR = 3, i.ROUND_HALF_UP = 4, i.ROUND_HALF_DOWN = 5, i.ROUND_HALF_EVEN = 6, i.ROUND_HALF_CEIL = 7, i.ROUND_HALF_FLOOR = 8, i.clone = j, i.config = i.set = M, e === void 0 && (e = {}), e) for (r = [
|
|
339
|
+
"precision",
|
|
340
|
+
"rounding",
|
|
341
|
+
"toExpNeg",
|
|
342
|
+
"toExpPos",
|
|
343
|
+
"LN10"
|
|
344
|
+
], t = 0; t < r.length;) e.hasOwnProperty(n = r[t++]) || (e[n] = this[n]);
|
|
345
|
+
return i.config(e), i;
|
|
346
|
+
}
|
|
347
|
+
function M(e) {
|
|
348
|
+
if (!e || typeof e != "object") throw Error(a + "Object expected");
|
|
349
|
+
var t, r, i, s = [
|
|
350
|
+
"precision",
|
|
351
|
+
1,
|
|
352
|
+
n,
|
|
353
|
+
"rounding",
|
|
354
|
+
0,
|
|
355
|
+
8,
|
|
356
|
+
"toExpNeg",
|
|
357
|
+
-Infinity,
|
|
358
|
+
0,
|
|
359
|
+
"toExpPos",
|
|
360
|
+
0,
|
|
361
|
+
Infinity
|
|
362
|
+
];
|
|
363
|
+
for (t = 0; t < s.length; t += 3) if ((i = e[r = s[t]]) !== void 0) if (c(i) === i && i >= s[t + 1] && i <= s[t + 2]) this[r] = i;
|
|
364
|
+
else throw Error(o + r + ": " + i);
|
|
365
|
+
if ((i = e[r = "LN10"]) !== void 0) if (i == Math.LN10) this[r] = new this(i);
|
|
366
|
+
else throw Error(o + r + ": " + i);
|
|
367
|
+
return this;
|
|
368
|
+
}
|
|
369
|
+
r = j(r), r.default = r.Decimal = r, d = new r(1), typeof define == "function" && define.amd ? define(function() {
|
|
370
|
+
return r;
|
|
371
|
+
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
|
|
372
|
+
})(e);
|
|
373
|
+
}));
|
|
374
|
+
//#endregion
|
|
375
|
+
export default t();
|
|
376
|
+
export { t as require_decimal };
|
|
377
|
+
|
|
378
|
+
//# sourceMappingURL=decimal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decimal.js","names":[],"sources":["../../../node_modules/decimal.js-light/decimal.js"],"sourcesContent":["/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */\r\n;(function (globalScope) {\r\n 'use strict';\r\n\r\n\r\n /*\r\n * decimal.js-light v2.5.1\r\n * An arbitrary-precision Decimal type for JavaScript.\r\n * https://github.com/MikeMcl/decimal.js-light\r\n * Copyright (c) 2020 Michael Mclaughlin <M8ch88l@gmail.com>\r\n * MIT Expat Licence\r\n */\r\n\r\n\r\n // ----------------------------------- EDITABLE DEFAULTS ------------------------------------ //\r\n\r\n\r\n // The limit on the value of `precision`, and on the value of the first argument to\r\n // `toDecimalPlaces`, `toExponential`, `toFixed`, `toPrecision` and `toSignificantDigits`.\r\n var MAX_DIGITS = 1e9, // 0 to 1e9\r\n\r\n\r\n // The initial configuration properties of the Decimal constructor.\r\n Decimal = {\r\n\r\n // These values must be integers within the stated ranges (inclusive).\r\n // Most of these values can be changed during run-time using `Decimal.config`.\r\n\r\n // The maximum number of significant digits of the result of a calculation or base conversion.\r\n // E.g. `Decimal.config({ precision: 20 });`\r\n precision: 20, // 1 to MAX_DIGITS\r\n\r\n // The rounding mode used by default by `toInteger`, `toDecimalPlaces`, `toExponential`,\r\n // `toFixed`, `toPrecision` and `toSignificantDigits`.\r\n //\r\n // ROUND_UP 0 Away from zero.\r\n // ROUND_DOWN 1 Towards zero.\r\n // ROUND_CEIL 2 Towards +Infinity.\r\n // ROUND_FLOOR 3 Towards -Infinity.\r\n // ROUND_HALF_UP 4 Towards nearest neighbour. If equidistant, up.\r\n // ROUND_HALF_DOWN 5 Towards nearest neighbour. If equidistant, down.\r\n // ROUND_HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour.\r\n // ROUND_HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity.\r\n // ROUND_HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity.\r\n //\r\n // E.g.\r\n // `Decimal.rounding = 4;`\r\n // `Decimal.rounding = Decimal.ROUND_HALF_UP;`\r\n rounding: 4, // 0 to 8\r\n\r\n // The exponent value at and beneath which `toString` returns exponential notation.\r\n // JavaScript numbers: -7\r\n toExpNeg: -7, // 0 to -MAX_E\r\n\r\n // The exponent value at and above which `toString` returns exponential notation.\r\n // JavaScript numbers: 21\r\n toExpPos: 21, // 0 to MAX_E\r\n\r\n // The natural logarithm of 10.\r\n // 115 digits\r\n LN10: '2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286'\r\n },\r\n\r\n\r\n // ----------------------------------- END OF EDITABLE DEFAULTS ------------------------------- //\r\n\r\n\r\n external = true,\r\n\r\n decimalError = '[DecimalError] ',\r\n invalidArgument = decimalError + 'Invalid argument: ',\r\n exponentOutOfRange = decimalError + 'Exponent out of range: ',\r\n\r\n mathfloor = Math.floor,\r\n mathpow = Math.pow,\r\n\r\n isDecimal = /^(\\d+(\\.\\d*)?|\\.\\d+)(e[+-]?\\d+)?$/i,\r\n\r\n ONE,\r\n BASE = 1e7,\r\n LOG_BASE = 7,\r\n MAX_SAFE_INTEGER = 9007199254740991,\r\n MAX_E = mathfloor(MAX_SAFE_INTEGER / LOG_BASE), // 1286742750677284\r\n\r\n // Decimal.prototype object\r\n P = {};\r\n\r\n\r\n // Decimal prototype methods\r\n\r\n\r\n /*\r\n * absoluteValue abs\r\n * comparedTo cmp\r\n * decimalPlaces dp\r\n * dividedBy div\r\n * dividedToIntegerBy idiv\r\n * equals eq\r\n * exponent\r\n * greaterThan gt\r\n * greaterThanOrEqualTo gte\r\n * isInteger isint\r\n * isNegative isneg\r\n * isPositive ispos\r\n * isZero\r\n * lessThan lt\r\n * lessThanOrEqualTo lte\r\n * logarithm log\r\n * minus sub\r\n * modulo mod\r\n * naturalExponential exp\r\n * naturalLogarithm ln\r\n * negated neg\r\n * plus add\r\n * precision sd\r\n * squareRoot sqrt\r\n * times mul\r\n * toDecimalPlaces todp\r\n * toExponential\r\n * toFixed\r\n * toInteger toint\r\n * toNumber\r\n * toPower pow\r\n * toPrecision\r\n * toSignificantDigits tosd\r\n * toString\r\n * valueOf val\r\n */\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the absolute value of this Decimal.\r\n *\r\n */\r\n P.absoluteValue = P.abs = function () {\r\n var x = new this.constructor(this);\r\n if (x.s) x.s = 1;\r\n return x;\r\n };\r\n\r\n\r\n /*\r\n * Return\r\n * 1 if the value of this Decimal is greater than the value of `y`,\r\n * -1 if the value of this Decimal is less than the value of `y`,\r\n * 0 if they have the same value\r\n *\r\n */\r\n P.comparedTo = P.cmp = function (y) {\r\n var i, j, xdL, ydL,\r\n x = this;\r\n\r\n y = new x.constructor(y);\r\n\r\n // Signs differ?\r\n if (x.s !== y.s) return x.s || -y.s;\r\n\r\n // Compare exponents.\r\n if (x.e !== y.e) return x.e > y.e ^ x.s < 0 ? 1 : -1;\r\n\r\n xdL = x.d.length;\r\n ydL = y.d.length;\r\n\r\n // Compare digit by digit.\r\n for (i = 0, j = xdL < ydL ? xdL : ydL; i < j; ++i) {\r\n if (x.d[i] !== y.d[i]) return x.d[i] > y.d[i] ^ x.s < 0 ? 1 : -1;\r\n }\r\n\r\n // Compare lengths.\r\n return xdL === ydL ? 0 : xdL > ydL ^ x.s < 0 ? 1 : -1;\r\n };\r\n\r\n\r\n /*\r\n * Return the number of decimal places of the value of this Decimal.\r\n *\r\n */\r\n P.decimalPlaces = P.dp = function () {\r\n var x = this,\r\n w = x.d.length - 1,\r\n dp = (w - x.e) * LOG_BASE;\r\n\r\n // Subtract the number of trailing zeros of the last word.\r\n w = x.d[w];\r\n if (w) for (; w % 10 == 0; w /= 10) dp--;\r\n\r\n return dp < 0 ? 0 : dp;\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal divided by `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\r\n P.dividedBy = P.div = function (y) {\r\n return divide(this, new this.constructor(y));\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the integer part of dividing the value of this Decimal\r\n * by the value of `y`, truncated to `precision` significant digits.\r\n *\r\n */\r\n P.dividedToIntegerBy = P.idiv = function (y) {\r\n var x = this,\r\n Ctor = x.constructor;\r\n return round(divide(x, new Ctor(y), 0, 1), Ctor.precision);\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this Decimal is equal to the value of `y`, otherwise return false.\r\n *\r\n */\r\n P.equals = P.eq = function (y) {\r\n return !this.cmp(y);\r\n };\r\n\r\n\r\n /*\r\n * Return the (base 10) exponent value of this Decimal (this.e is the base 10000000 exponent).\r\n *\r\n */\r\n P.exponent = function () {\r\n return getBase10Exponent(this);\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this Decimal is greater than the value of `y`, otherwise return\r\n * false.\r\n *\r\n */\r\n P.greaterThan = P.gt = function (y) {\r\n return this.cmp(y) > 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this Decimal is greater than or equal to the value of `y`,\r\n * otherwise return false.\r\n *\r\n */\r\n P.greaterThanOrEqualTo = P.gte = function (y) {\r\n return this.cmp(y) >= 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this Decimal is an integer, otherwise return false.\r\n *\r\n */\r\n P.isInteger = P.isint = function () {\r\n return this.e > this.d.length - 2;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this Decimal is negative, otherwise return false.\r\n *\r\n */\r\n P.isNegative = P.isneg = function () {\r\n return this.s < 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this Decimal is positive, otherwise return false.\r\n *\r\n */\r\n P.isPositive = P.ispos = function () {\r\n return this.s > 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this Decimal is 0, otherwise return false.\r\n *\r\n */\r\n P.isZero = function () {\r\n return this.s === 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this Decimal is less than `y`, otherwise return false.\r\n *\r\n */\r\n P.lessThan = P.lt = function (y) {\r\n return this.cmp(y) < 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this Decimal is less than or equal to `y`, otherwise return false.\r\n *\r\n */\r\n P.lessThanOrEqualTo = P.lte = function (y) {\r\n return this.cmp(y) < 1;\r\n };\r\n\r\n\r\n /*\r\n * Return the logarithm of the value of this Decimal to the specified base, truncated to\r\n * `precision` significant digits.\r\n *\r\n * If no base is specified, return log[10](x).\r\n *\r\n * log[base](x) = ln(x) / ln(base)\r\n *\r\n * The maximum error of the result is 1 ulp (unit in the last place).\r\n *\r\n * [base] {number|string|Decimal} The base of the logarithm.\r\n *\r\n */\r\n P.logarithm = P.log = function (base) {\r\n var r,\r\n x = this,\r\n Ctor = x.constructor,\r\n pr = Ctor.precision,\r\n wpr = pr + 5;\r\n\r\n // Default base is 10.\r\n if (base === void 0) {\r\n base = new Ctor(10);\r\n } else {\r\n base = new Ctor(base);\r\n\r\n // log[-b](x) = NaN\r\n // log[0](x) = NaN\r\n // log[1](x) = NaN\r\n if (base.s < 1 || base.eq(ONE)) throw Error(decimalError + 'NaN');\r\n }\r\n\r\n // log[b](-x) = NaN\r\n // log[b](0) = -Infinity\r\n if (x.s < 1) throw Error(decimalError + (x.s ? 'NaN' : '-Infinity'));\r\n\r\n // log[b](1) = 0\r\n if (x.eq(ONE)) return new Ctor(0);\r\n\r\n external = false;\r\n r = divide(ln(x, wpr), ln(base, wpr), wpr);\r\n external = true;\r\n\r\n return round(r, pr);\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal minus `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\r\n P.minus = P.sub = function (y) {\r\n var x = this;\r\n y = new x.constructor(y);\r\n return x.s == y.s ? subtract(x, y) : add(x, (y.s = -y.s, y));\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal modulo `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\r\n P.modulo = P.mod = function (y) {\r\n var q,\r\n x = this,\r\n Ctor = x.constructor,\r\n pr = Ctor.precision;\r\n\r\n y = new Ctor(y);\r\n\r\n // x % 0 = NaN\r\n if (!y.s) throw Error(decimalError + 'NaN');\r\n\r\n // Return x if x is 0.\r\n if (!x.s) return round(new Ctor(x), pr);\r\n\r\n // Prevent rounding of intermediate calculations.\r\n external = false;\r\n q = divide(x, y, 0, 1).times(y);\r\n external = true;\r\n\r\n return x.minus(q);\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the natural exponential of the value of this Decimal,\r\n * i.e. the base e raised to the power the value of this Decimal, truncated to `precision`\r\n * significant digits.\r\n *\r\n */\r\n P.naturalExponential = P.exp = function () {\r\n return exp(this);\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the natural logarithm of the value of this Decimal,\r\n * truncated to `precision` significant digits.\r\n *\r\n */\r\n P.naturalLogarithm = P.ln = function () {\r\n return ln(this);\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal negated, i.e. as if multiplied by\r\n * -1.\r\n *\r\n */\r\n P.negated = P.neg = function () {\r\n var x = new this.constructor(this);\r\n x.s = -x.s || 0;\r\n return x;\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal plus `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\r\n P.plus = P.add = function (y) {\r\n var x = this;\r\n y = new x.constructor(y);\r\n return x.s == y.s ? add(x, y) : subtract(x, (y.s = -y.s, y));\r\n };\r\n\r\n\r\n /*\r\n * Return the number of significant digits of the value of this Decimal.\r\n *\r\n * [z] {boolean|number} Whether to count integer-part trailing zeros: true, false, 1 or 0.\r\n *\r\n */\r\n P.precision = P.sd = function (z) {\r\n var e, sd, w,\r\n x = this;\r\n\r\n if (z !== void 0 && z !== !!z && z !== 1 && z !== 0) throw Error(invalidArgument + z);\r\n\r\n e = getBase10Exponent(x) + 1;\r\n w = x.d.length - 1;\r\n sd = w * LOG_BASE + 1;\r\n w = x.d[w];\r\n\r\n // If non-zero...\r\n if (w) {\r\n\r\n // Subtract the number of trailing zeros of the last word.\r\n for (; w % 10 == 0; w /= 10) sd--;\r\n\r\n // Add the number of digits of the first word.\r\n for (w = x.d[0]; w >= 10; w /= 10) sd++;\r\n }\r\n\r\n return z && e > sd ? e : sd;\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the square root of this Decimal, truncated to `precision`\r\n * significant digits.\r\n *\r\n */\r\n P.squareRoot = P.sqrt = function () {\r\n var e, n, pr, r, s, t, wpr,\r\n x = this,\r\n Ctor = x.constructor;\r\n\r\n // Negative or zero?\r\n if (x.s < 1) {\r\n if (!x.s) return new Ctor(0);\r\n\r\n // sqrt(-x) = NaN\r\n throw Error(decimalError + 'NaN');\r\n }\r\n\r\n e = getBase10Exponent(x);\r\n external = false;\r\n\r\n // Initial estimate.\r\n s = Math.sqrt(+x);\r\n\r\n // Math.sqrt underflow/overflow?\r\n // Pass x to Math.sqrt as integer, then adjust the exponent of the result.\r\n if (s == 0 || s == 1 / 0) {\r\n n = digitsToString(x.d);\r\n if ((n.length + e) % 2 == 0) n += '0';\r\n s = Math.sqrt(n);\r\n e = mathfloor((e + 1) / 2) - (e < 0 || e % 2);\r\n\r\n if (s == 1 / 0) {\r\n n = '5e' + e;\r\n } else {\r\n n = s.toExponential();\r\n n = n.slice(0, n.indexOf('e') + 1) + e;\r\n }\r\n\r\n r = new Ctor(n);\r\n } else {\r\n r = new Ctor(s.toString());\r\n }\r\n\r\n pr = Ctor.precision;\r\n s = wpr = pr + 3;\r\n\r\n // Newton-Raphson iteration.\r\n for (;;) {\r\n t = r;\r\n r = t.plus(divide(x, t, wpr + 2)).times(0.5);\r\n\r\n if (digitsToString(t.d).slice(0, wpr) === (n = digitsToString(r.d)).slice(0, wpr)) {\r\n n = n.slice(wpr - 3, wpr + 1);\r\n\r\n // The 4th rounding digit may be in error by -1 so if the 4 rounding digits are 9999 or\r\n // 4999, i.e. approaching a rounding boundary, continue the iteration.\r\n if (s == wpr && n == '4999') {\r\n\r\n // On the first iteration only, check to see if rounding up gives the exact result as the\r\n // nines may infinitely repeat.\r\n round(t, pr + 1, 0);\r\n\r\n if (t.times(t).eq(x)) {\r\n r = t;\r\n break;\r\n }\r\n } else if (n != '9999') {\r\n break;\r\n }\r\n\r\n wpr += 4;\r\n }\r\n }\r\n\r\n external = true;\r\n\r\n return round(r, pr);\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal times `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\r\n P.times = P.mul = function (y) {\r\n var carry, e, i, k, r, rL, t, xdL, ydL,\r\n x = this,\r\n Ctor = x.constructor,\r\n xd = x.d,\r\n yd = (y = new Ctor(y)).d;\r\n\r\n // Return 0 if either is 0.\r\n if (!x.s || !y.s) return new Ctor(0);\r\n\r\n y.s *= x.s;\r\n e = x.e + y.e;\r\n xdL = xd.length;\r\n ydL = yd.length;\r\n\r\n // Ensure xd points to the longer array.\r\n if (xdL < ydL) {\r\n r = xd;\r\n xd = yd;\r\n yd = r;\r\n rL = xdL;\r\n xdL = ydL;\r\n ydL = rL;\r\n }\r\n\r\n // Initialise the result array with zeros.\r\n r = [];\r\n rL = xdL + ydL;\r\n for (i = rL; i--;) r.push(0);\r\n\r\n // Multiply!\r\n for (i = ydL; --i >= 0;) {\r\n carry = 0;\r\n for (k = xdL + i; k > i;) {\r\n t = r[k] + yd[i] * xd[k - i - 1] + carry;\r\n r[k--] = t % BASE | 0;\r\n carry = t / BASE | 0;\r\n }\r\n\r\n r[k] = (r[k] + carry) % BASE | 0;\r\n }\r\n\r\n // Remove trailing zeros.\r\n for (; !r[--rL];) r.pop();\r\n\r\n if (carry) ++e;\r\n else r.shift();\r\n\r\n y.d = r;\r\n y.e = e;\r\n\r\n return external ? round(y, Ctor.precision) : y;\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `dp`\r\n * decimal places using rounding mode `rm` or `rounding` if `rm` is omitted.\r\n *\r\n * If `dp` is omitted, return a new Decimal whose value is the value of this Decimal.\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n */\r\n P.toDecimalPlaces = P.todp = function (dp, rm) {\r\n var x = this,\r\n Ctor = x.constructor;\r\n\r\n x = new Ctor(x);\r\n if (dp === void 0) return x;\r\n\r\n checkInt32(dp, 0, MAX_DIGITS);\r\n\r\n if (rm === void 0) rm = Ctor.rounding;\r\n else checkInt32(rm, 0, 8);\r\n\r\n return round(x, dp + getBase10Exponent(x) + 1, rm);\r\n };\r\n\r\n\r\n /*\r\n * Return a string representing the value of this Decimal in exponential notation rounded to\r\n * `dp` fixed decimal places using rounding mode `rounding`.\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n */\r\n P.toExponential = function (dp, rm) {\r\n var str,\r\n x = this,\r\n Ctor = x.constructor;\r\n\r\n if (dp === void 0) {\r\n str = toString(x, true);\r\n } else {\r\n checkInt32(dp, 0, MAX_DIGITS);\r\n\r\n if (rm === void 0) rm = Ctor.rounding;\r\n else checkInt32(rm, 0, 8);\r\n\r\n x = round(new Ctor(x), dp + 1, rm);\r\n str = toString(x, true, dp + 1);\r\n }\r\n\r\n return str;\r\n };\r\n\r\n\r\n /*\r\n * Return a string representing the value of this Decimal in normal (fixed-point) notation to\r\n * `dp` fixed decimal places and rounded using rounding mode `rm` or `rounding` if `rm` is\r\n * omitted.\r\n *\r\n * As with JavaScript numbers, (-0).toFixed(0) is '0', but e.g. (-0.00001).toFixed(0) is '-0'.\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.\r\n * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.\r\n * (-0).toFixed(3) is '0.000'.\r\n * (-0.5).toFixed(0) is '-0'.\r\n *\r\n */\r\n P.toFixed = function (dp, rm) {\r\n var str, y,\r\n x = this,\r\n Ctor = x.constructor;\r\n\r\n if (dp === void 0) return toString(x);\r\n\r\n checkInt32(dp, 0, MAX_DIGITS);\r\n\r\n if (rm === void 0) rm = Ctor.rounding;\r\n else checkInt32(rm, 0, 8);\r\n\r\n y = round(new Ctor(x), dp + getBase10Exponent(x) + 1, rm);\r\n str = toString(y.abs(), false, dp + getBase10Exponent(y) + 1);\r\n\r\n // To determine whether to add the minus sign look at the value before it was rounded,\r\n // i.e. look at `x` rather than `y`.\r\n return x.isneg() && !x.isZero() ? '-' + str : str;\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal rounded to a whole number using\r\n * rounding mode `rounding`.\r\n *\r\n */\r\n P.toInteger = P.toint = function () {\r\n var x = this,\r\n Ctor = x.constructor;\r\n return round(new Ctor(x), getBase10Exponent(x) + 1, Ctor.rounding);\r\n };\r\n\r\n\r\n /*\r\n * Return the value of this Decimal converted to a number primitive.\r\n *\r\n */\r\n P.toNumber = function () {\r\n return +this;\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal raised to the power `y`,\r\n * truncated to `precision` significant digits.\r\n *\r\n * For non-integer or very large exponents pow(x, y) is calculated using\r\n *\r\n * x^y = exp(y*ln(x))\r\n *\r\n * The maximum error is 1 ulp (unit in last place).\r\n *\r\n * y {number|string|Decimal} The power to which to raise this Decimal.\r\n *\r\n */\r\n P.toPower = P.pow = function (y) {\r\n var e, k, pr, r, sign, yIsInt,\r\n x = this,\r\n Ctor = x.constructor,\r\n guard = 12,\r\n yn = +(y = new Ctor(y));\r\n\r\n // pow(x, 0) = 1\r\n if (!y.s) return new Ctor(ONE);\r\n\r\n x = new Ctor(x);\r\n\r\n // pow(0, y > 0) = 0\r\n // pow(0, y < 0) = Infinity\r\n if (!x.s) {\r\n if (y.s < 1) throw Error(decimalError + 'Infinity');\r\n return x;\r\n }\r\n\r\n // pow(1, y) = 1\r\n if (x.eq(ONE)) return x;\r\n\r\n pr = Ctor.precision;\r\n\r\n // pow(x, 1) = x\r\n if (y.eq(ONE)) return round(x, pr);\r\n\r\n e = y.e;\r\n k = y.d.length - 1;\r\n yIsInt = e >= k;\r\n sign = x.s;\r\n\r\n if (!yIsInt) {\r\n\r\n // pow(x < 0, y non-integer) = NaN\r\n if (sign < 0) throw Error(decimalError + 'NaN');\r\n\r\n // If y is a small integer use the 'exponentiation by squaring' algorithm.\r\n } else if ((k = yn < 0 ? -yn : yn) <= MAX_SAFE_INTEGER) {\r\n r = new Ctor(ONE);\r\n\r\n // Max k of 9007199254740991 takes 53 loop iterations.\r\n // Maximum digits array length; leaves [28, 34] guard digits.\r\n e = Math.ceil(pr / LOG_BASE + 4);\r\n\r\n external = false;\r\n\r\n for (;;) {\r\n if (k % 2) {\r\n r = r.times(x);\r\n truncate(r.d, e);\r\n }\r\n\r\n k = mathfloor(k / 2);\r\n if (k === 0) break;\r\n\r\n x = x.times(x);\r\n truncate(x.d, e);\r\n }\r\n\r\n external = true;\r\n\r\n return y.s < 0 ? new Ctor(ONE).div(r) : round(r, pr);\r\n }\r\n\r\n // Result is negative if x is negative and the last digit of integer y is odd.\r\n sign = sign < 0 && y.d[Math.max(e, k)] & 1 ? -1 : 1;\r\n\r\n x.s = 1;\r\n external = false;\r\n r = y.times(ln(x, pr + guard));\r\n external = true;\r\n r = exp(r);\r\n r.s = sign;\r\n\r\n return r;\r\n };\r\n\r\n\r\n /*\r\n * Return a string representing the value of this Decimal rounded to `sd` significant digits\r\n * using rounding mode `rounding`.\r\n *\r\n * Return exponential notation if `sd` is less than the number of digits necessary to represent\r\n * the integer part of the value in normal notation.\r\n *\r\n * [sd] {number} Significant digits. Integer, 1 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n */\r\n P.toPrecision = function (sd, rm) {\r\n var e, str,\r\n x = this,\r\n Ctor = x.constructor;\r\n\r\n if (sd === void 0) {\r\n e = getBase10Exponent(x);\r\n str = toString(x, e <= Ctor.toExpNeg || e >= Ctor.toExpPos);\r\n } else {\r\n checkInt32(sd, 1, MAX_DIGITS);\r\n\r\n if (rm === void 0) rm = Ctor.rounding;\r\n else checkInt32(rm, 0, 8);\r\n\r\n x = round(new Ctor(x), sd, rm);\r\n e = getBase10Exponent(x);\r\n str = toString(x, sd <= e || e <= Ctor.toExpNeg, sd);\r\n }\r\n\r\n return str;\r\n };\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `sd`\r\n * significant digits using rounding mode `rm`, or to `precision` and `rounding` respectively if\r\n * omitted.\r\n *\r\n * [sd] {number} Significant digits. Integer, 1 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n */\r\n P.toSignificantDigits = P.tosd = function (sd, rm) {\r\n var x = this,\r\n Ctor = x.constructor;\r\n\r\n if (sd === void 0) {\r\n sd = Ctor.precision;\r\n rm = Ctor.rounding;\r\n } else {\r\n checkInt32(sd, 1, MAX_DIGITS);\r\n\r\n if (rm === void 0) rm = Ctor.rounding;\r\n else checkInt32(rm, 0, 8);\r\n }\r\n\r\n return round(new Ctor(x), sd, rm);\r\n };\r\n\r\n\r\n /*\r\n * Return a string representing the value of this Decimal.\r\n *\r\n * Return exponential notation if this Decimal has a positive exponent equal to or greater than\r\n * `toExpPos`, or a negative exponent equal to or less than `toExpNeg`.\r\n *\r\n */\r\n P.toString = P.valueOf = P.val = P.toJSON = function () {\r\n var x = this,\r\n e = getBase10Exponent(x),\r\n Ctor = x.constructor;\r\n\r\n return toString(x, e <= Ctor.toExpNeg || e >= Ctor.toExpPos);\r\n };\r\n\r\n\r\n // Helper functions for Decimal.prototype (P) and/or Decimal methods, and their callers.\r\n\r\n\r\n /*\r\n * add P.minus, P.plus\r\n * checkInt32 P.todp, P.toExponential, P.toFixed, P.toPrecision, P.tosd\r\n * digitsToString P.log, P.sqrt, P.pow, toString, exp, ln\r\n * divide P.div, P.idiv, P.log, P.mod, P.sqrt, exp, ln\r\n * exp P.exp, P.pow\r\n * getBase10Exponent P.exponent, P.sd, P.toint, P.sqrt, P.todp, P.toFixed, P.toPrecision,\r\n * P.toString, divide, round, toString, exp, ln\r\n * getLn10 P.log, ln\r\n * getZeroString digitsToString, toString\r\n * ln P.log, P.ln, P.pow, exp\r\n * parseDecimal Decimal\r\n * round P.abs, P.idiv, P.log, P.minus, P.mod, P.neg, P.plus, P.toint, P.sqrt,\r\n * P.times, P.todp, P.toExponential, P.toFixed, P.pow, P.toPrecision, P.tosd,\r\n * divide, getLn10, exp, ln\r\n * subtract P.minus, P.plus\r\n * toString P.toExponential, P.toFixed, P.toPrecision, P.toString, P.valueOf\r\n * truncate P.pow\r\n *\r\n * Throws: P.log, P.mod, P.sd, P.sqrt, P.pow, checkInt32, divide, round,\r\n * getLn10, exp, ln, parseDecimal, Decimal, config\r\n */\r\n\r\n\r\n function add(x, y) {\r\n var carry, d, e, i, k, len, xd, yd,\r\n Ctor = x.constructor,\r\n pr = Ctor.precision;\r\n\r\n // If either is zero...\r\n if (!x.s || !y.s) {\r\n\r\n // Return x if y is zero.\r\n // Return y if y is non-zero.\r\n if (!y.s) y = new Ctor(x);\r\n return external ? round(y, pr) : y;\r\n }\r\n\r\n xd = x.d;\r\n yd = y.d;\r\n\r\n // x and y are finite, non-zero numbers with the same sign.\r\n\r\n k = x.e;\r\n e = y.e;\r\n xd = xd.slice();\r\n i = k - e;\r\n\r\n // If base 1e7 exponents differ...\r\n if (i) {\r\n if (i < 0) {\r\n d = xd;\r\n i = -i;\r\n len = yd.length;\r\n } else {\r\n d = yd;\r\n e = k;\r\n len = xd.length;\r\n }\r\n\r\n // Limit number of zeros prepended to max(ceil(pr / LOG_BASE), len) + 1.\r\n k = Math.ceil(pr / LOG_BASE);\r\n len = k > len ? k + 1 : len + 1;\r\n\r\n if (i > len) {\r\n i = len;\r\n d.length = 1;\r\n }\r\n\r\n // Prepend zeros to equalise exponents. Note: Faster to use reverse then do unshifts.\r\n d.reverse();\r\n for (; i--;) d.push(0);\r\n d.reverse();\r\n }\r\n\r\n len = xd.length;\r\n i = yd.length;\r\n\r\n // If yd is longer than xd, swap xd and yd so xd points to the longer array.\r\n if (len - i < 0) {\r\n i = len;\r\n d = yd;\r\n yd = xd;\r\n xd = d;\r\n }\r\n\r\n // Only start adding at yd.length - 1 as the further digits of xd can be left as they are.\r\n for (carry = 0; i;) {\r\n carry = (xd[--i] = xd[i] + yd[i] + carry) / BASE | 0;\r\n xd[i] %= BASE;\r\n }\r\n\r\n if (carry) {\r\n xd.unshift(carry);\r\n ++e;\r\n }\r\n\r\n // Remove trailing zeros.\r\n // No need to check for zero, as +x + +y != 0 && -x + -y != 0\r\n for (len = xd.length; xd[--len] == 0;) xd.pop();\r\n\r\n y.d = xd;\r\n y.e = e;\r\n\r\n return external ? round(y, pr) : y;\r\n }\r\n\r\n\r\n function checkInt32(i, min, max) {\r\n if (i !== ~~i || i < min || i > max) {\r\n throw Error(invalidArgument + i);\r\n }\r\n }\r\n\r\n\r\n function digitsToString(d) {\r\n var i, k, ws,\r\n indexOfLastWord = d.length - 1,\r\n str = '',\r\n w = d[0];\r\n\r\n if (indexOfLastWord > 0) {\r\n str += w;\r\n for (i = 1; i < indexOfLastWord; i++) {\r\n ws = d[i] + '';\r\n k = LOG_BASE - ws.length;\r\n if (k) str += getZeroString(k);\r\n str += ws;\r\n }\r\n\r\n w = d[i];\r\n ws = w + '';\r\n k = LOG_BASE - ws.length;\r\n if (k) str += getZeroString(k);\r\n } else if (w === 0) {\r\n return '0';\r\n }\r\n\r\n // Remove trailing zeros of last w.\r\n for (; w % 10 === 0;) w /= 10;\r\n\r\n return str + w;\r\n }\r\n\r\n\r\n var divide = (function () {\r\n\r\n // Assumes non-zero x and k, and hence non-zero result.\r\n function multiplyInteger(x, k) {\r\n var temp,\r\n carry = 0,\r\n i = x.length;\r\n\r\n for (x = x.slice(); i--;) {\r\n temp = x[i] * k + carry;\r\n x[i] = temp % BASE | 0;\r\n carry = temp / BASE | 0;\r\n }\r\n\r\n if (carry) x.unshift(carry);\r\n\r\n return x;\r\n }\r\n\r\n function compare(a, b, aL, bL) {\r\n var i, r;\r\n\r\n if (aL != bL) {\r\n r = aL > bL ? 1 : -1;\r\n } else {\r\n for (i = r = 0; i < aL; i++) {\r\n if (a[i] != b[i]) {\r\n r = a[i] > b[i] ? 1 : -1;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n return r;\r\n }\r\n\r\n function subtract(a, b, aL) {\r\n var i = 0;\r\n\r\n // Subtract b from a.\r\n for (; aL--;) {\r\n a[aL] -= i;\r\n i = a[aL] < b[aL] ? 1 : 0;\r\n a[aL] = i * BASE + a[aL] - b[aL];\r\n }\r\n\r\n // Remove leading zeros.\r\n for (; !a[0] && a.length > 1;) a.shift();\r\n }\r\n\r\n return function (x, y, pr, dp) {\r\n var cmp, e, i, k, prod, prodL, q, qd, rem, remL, rem0, sd, t, xi, xL, yd0, yL, yz,\r\n Ctor = x.constructor,\r\n sign = x.s == y.s ? 1 : -1,\r\n xd = x.d,\r\n yd = y.d;\r\n\r\n // Either 0?\r\n if (!x.s) return new Ctor(x);\r\n if (!y.s) throw Error(decimalError + 'Division by zero');\r\n\r\n e = x.e - y.e;\r\n yL = yd.length;\r\n xL = xd.length;\r\n q = new Ctor(sign);\r\n qd = q.d = [];\r\n\r\n // Result exponent may be one less than e.\r\n for (i = 0; yd[i] == (xd[i] || 0); ) ++i;\r\n if (yd[i] > (xd[i] || 0)) --e;\r\n\r\n if (pr == null) {\r\n sd = pr = Ctor.precision;\r\n } else if (dp) {\r\n sd = pr + (getBase10Exponent(x) - getBase10Exponent(y)) + 1;\r\n } else {\r\n sd = pr;\r\n }\r\n\r\n if (sd < 0) return new Ctor(0);\r\n\r\n // Convert precision in number of base 10 digits to base 1e7 digits.\r\n sd = sd / LOG_BASE + 2 | 0;\r\n i = 0;\r\n\r\n // divisor < 1e7\r\n if (yL == 1) {\r\n k = 0;\r\n yd = yd[0];\r\n sd++;\r\n\r\n // k is the carry.\r\n for (; (i < xL || k) && sd--; i++) {\r\n t = k * BASE + (xd[i] || 0);\r\n qd[i] = t / yd | 0;\r\n k = t % yd | 0;\r\n }\r\n\r\n // divisor >= 1e7\r\n } else {\r\n\r\n // Normalise xd and yd so highest order digit of yd is >= BASE/2\r\n k = BASE / (yd[0] + 1) | 0;\r\n\r\n if (k > 1) {\r\n yd = multiplyInteger(yd, k);\r\n xd = multiplyInteger(xd, k);\r\n yL = yd.length;\r\n xL = xd.length;\r\n }\r\n\r\n xi = yL;\r\n rem = xd.slice(0, yL);\r\n remL = rem.length;\r\n\r\n // Add zeros to make remainder as long as divisor.\r\n for (; remL < yL;) rem[remL++] = 0;\r\n\r\n yz = yd.slice();\r\n yz.unshift(0);\r\n yd0 = yd[0];\r\n\r\n if (yd[1] >= BASE / 2) ++yd0;\r\n\r\n do {\r\n k = 0;\r\n\r\n // Compare divisor and remainder.\r\n cmp = compare(yd, rem, yL, remL);\r\n\r\n // If divisor < remainder.\r\n if (cmp < 0) {\r\n\r\n // Calculate trial digit, k.\r\n rem0 = rem[0];\r\n if (yL != remL) rem0 = rem0 * BASE + (rem[1] || 0);\r\n\r\n // k will be how many times the divisor goes into the current remainder.\r\n k = rem0 / yd0 | 0;\r\n\r\n // Algorithm:\r\n // 1. product = divisor * trial digit (k)\r\n // 2. if product > remainder: product -= divisor, k--\r\n // 3. remainder -= product\r\n // 4. if product was < remainder at 2:\r\n // 5. compare new remainder and divisor\r\n // 6. If remainder > divisor: remainder -= divisor, k++\r\n\r\n if (k > 1) {\r\n if (k >= BASE) k = BASE - 1;\r\n\r\n // product = divisor * trial digit.\r\n prod = multiplyInteger(yd, k);\r\n prodL = prod.length;\r\n remL = rem.length;\r\n\r\n // Compare product and remainder.\r\n cmp = compare(prod, rem, prodL, remL);\r\n\r\n // product > remainder.\r\n if (cmp == 1) {\r\n k--;\r\n\r\n // Subtract divisor from product.\r\n subtract(prod, yL < prodL ? yz : yd, prodL);\r\n }\r\n } else {\r\n\r\n // cmp is -1.\r\n // If k is 0, there is no need to compare yd and rem again below, so change cmp to 1\r\n // to avoid it. If k is 1 there is a need to compare yd and rem again below.\r\n if (k == 0) cmp = k = 1;\r\n prod = yd.slice();\r\n }\r\n\r\n prodL = prod.length;\r\n if (prodL < remL) prod.unshift(0);\r\n\r\n // Subtract product from remainder.\r\n subtract(rem, prod, remL);\r\n\r\n // If product was < previous remainder.\r\n if (cmp == -1) {\r\n remL = rem.length;\r\n\r\n // Compare divisor and new remainder.\r\n cmp = compare(yd, rem, yL, remL);\r\n\r\n // If divisor < new remainder, subtract divisor from remainder.\r\n if (cmp < 1) {\r\n k++;\r\n\r\n // Subtract divisor from remainder.\r\n subtract(rem, yL < remL ? yz : yd, remL);\r\n }\r\n }\r\n\r\n remL = rem.length;\r\n } else if (cmp === 0) {\r\n k++;\r\n rem = [0];\r\n } // if cmp === 1, k will be 0\r\n\r\n // Add the next digit, k, to the result array.\r\n qd[i++] = k;\r\n\r\n // Update the remainder.\r\n if (cmp && rem[0]) {\r\n rem[remL++] = xd[xi] || 0;\r\n } else {\r\n rem = [xd[xi]];\r\n remL = 1;\r\n }\r\n\r\n } while ((xi++ < xL || rem[0] !== void 0) && sd--);\r\n }\r\n\r\n // Leading zero?\r\n if (!qd[0]) qd.shift();\r\n\r\n q.e = e;\r\n\r\n return round(q, dp ? pr + getBase10Exponent(q) + 1 : pr);\r\n };\r\n })();\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the natural exponential of `x` truncated to `sd`\r\n * significant digits.\r\n *\r\n * Taylor/Maclaurin series.\r\n *\r\n * exp(x) = x^0/0! + x^1/1! + x^2/2! + x^3/3! + ...\r\n *\r\n * Argument reduction:\r\n * Repeat x = x / 32, k += 5, until |x| < 0.1\r\n * exp(x) = exp(x / 2^k)^(2^k)\r\n *\r\n * Previously, the argument was initially reduced by\r\n * exp(x) = exp(r) * 10^k where r = x - k * ln10, k = floor(x / ln10)\r\n * to first put r in the range [0, ln10], before dividing by 32 until |x| < 0.1, but this was\r\n * found to be slower than just dividing repeatedly by 32 as above.\r\n *\r\n * (Math object integer min/max: Math.exp(709) = 8.2e+307, Math.exp(-745) = 5e-324)\r\n *\r\n * exp(x) is non-terminating for any finite, non-zero x.\r\n *\r\n */\r\n function exp(x, sd) {\r\n var denominator, guard, pow, sum, t, wpr,\r\n i = 0,\r\n k = 0,\r\n Ctor = x.constructor,\r\n pr = Ctor.precision;\r\n\r\n if (getBase10Exponent(x) > 16) throw Error(exponentOutOfRange + getBase10Exponent(x));\r\n\r\n // exp(0) = 1\r\n if (!x.s) return new Ctor(ONE);\r\n\r\n if (sd == null) {\r\n external = false;\r\n wpr = pr;\r\n } else {\r\n wpr = sd;\r\n }\r\n\r\n t = new Ctor(0.03125);\r\n\r\n while (x.abs().gte(0.1)) {\r\n x = x.times(t); // x = x / 2^5\r\n k += 5;\r\n }\r\n\r\n // Estimate the precision increase necessary to ensure the first 4 rounding digits are correct.\r\n guard = Math.log(mathpow(2, k)) / Math.LN10 * 2 + 5 | 0;\r\n wpr += guard;\r\n denominator = pow = sum = new Ctor(ONE);\r\n Ctor.precision = wpr;\r\n\r\n for (;;) {\r\n pow = round(pow.times(x), wpr);\r\n denominator = denominator.times(++i);\r\n t = sum.plus(divide(pow, denominator, wpr));\r\n\r\n if (digitsToString(t.d).slice(0, wpr) === digitsToString(sum.d).slice(0, wpr)) {\r\n while (k--) sum = round(sum.times(sum), wpr);\r\n Ctor.precision = pr;\r\n return sd == null ? (external = true, round(sum, pr)) : sum;\r\n }\r\n\r\n sum = t;\r\n }\r\n }\r\n\r\n\r\n // Calculate the base 10 exponent from the base 1e7 exponent.\r\n function getBase10Exponent(x) {\r\n var e = x.e * LOG_BASE,\r\n w = x.d[0];\r\n\r\n // Add the number of digits of the first word of the digits array.\r\n for (; w >= 10; w /= 10) e++;\r\n return e;\r\n }\r\n\r\n\r\n function getLn10(Ctor, sd, pr) {\r\n\r\n if (sd > Ctor.LN10.sd()) {\r\n\r\n\r\n // Reset global state in case the exception is caught.\r\n external = true;\r\n if (pr) Ctor.precision = pr;\r\n throw Error(decimalError + 'LN10 precision limit exceeded');\r\n }\r\n\r\n return round(new Ctor(Ctor.LN10), sd);\r\n }\r\n\r\n\r\n function getZeroString(k) {\r\n var zs = '';\r\n for (; k--;) zs += '0';\r\n return zs;\r\n }\r\n\r\n\r\n /*\r\n * Return a new Decimal whose value is the natural logarithm of `x` truncated to `sd` significant\r\n * digits.\r\n *\r\n * ln(n) is non-terminating (n != 1)\r\n *\r\n */\r\n function ln(y, sd) {\r\n var c, c0, denominator, e, numerator, sum, t, wpr, x2,\r\n n = 1,\r\n guard = 10,\r\n x = y,\r\n xd = x.d,\r\n Ctor = x.constructor,\r\n pr = Ctor.precision;\r\n\r\n // ln(-x) = NaN\r\n // ln(0) = -Infinity\r\n if (x.s < 1) throw Error(decimalError + (x.s ? 'NaN' : '-Infinity'));\r\n\r\n // ln(1) = 0\r\n if (x.eq(ONE)) return new Ctor(0);\r\n\r\n if (sd == null) {\r\n external = false;\r\n wpr = pr;\r\n } else {\r\n wpr = sd;\r\n }\r\n\r\n if (x.eq(10)) {\r\n if (sd == null) external = true;\r\n return getLn10(Ctor, wpr);\r\n }\r\n\r\n wpr += guard;\r\n Ctor.precision = wpr;\r\n c = digitsToString(xd);\r\n c0 = c.charAt(0);\r\n e = getBase10Exponent(x);\r\n\r\n if (Math.abs(e) < 1.5e15) {\r\n\r\n // Argument reduction.\r\n // The series converges faster the closer the argument is to 1, so using\r\n // ln(a^b) = b * ln(a), ln(a) = ln(a^b) / b\r\n // multiply the argument by itself until the leading digits of the significand are 7, 8, 9,\r\n // 10, 11, 12 or 13, recording the number of multiplications so the sum of the series can\r\n // later be divided by this number, then separate out the power of 10 using\r\n // ln(a*10^b) = ln(a) + b*ln(10).\r\n\r\n // max n is 21 (gives 0.9, 1.0 or 1.1) (9e15 / 21 = 4.2e14).\r\n //while (c0 < 9 && c0 != 1 || c0 == 1 && c.charAt(1) > 1) {\r\n // max n is 6 (gives 0.7 - 1.3)\r\n while (c0 < 7 && c0 != 1 || c0 == 1 && c.charAt(1) > 3) {\r\n x = x.times(y);\r\n c = digitsToString(x.d);\r\n c0 = c.charAt(0);\r\n n++;\r\n }\r\n\r\n e = getBase10Exponent(x);\r\n\r\n if (c0 > 1) {\r\n x = new Ctor('0.' + c);\r\n e++;\r\n } else {\r\n x = new Ctor(c0 + '.' + c.slice(1));\r\n }\r\n } else {\r\n\r\n // The argument reduction method above may result in overflow if the argument y is a massive\r\n // number with exponent >= 1500000000000000 (9e15 / 6 = 1.5e15), so instead recall this\r\n // function using ln(x*10^e) = ln(x) + e*ln(10).\r\n t = getLn10(Ctor, wpr + 2, pr).times(e + '');\r\n x = ln(new Ctor(c0 + '.' + c.slice(1)), wpr - guard).plus(t);\r\n\r\n Ctor.precision = pr;\r\n return sd == null ? (external = true, round(x, pr)) : x;\r\n }\r\n\r\n // x is reduced to a value near 1.\r\n\r\n // Taylor series.\r\n // ln(y) = ln((1 + x)/(1 - x)) = 2(x + x^3/3 + x^5/5 + x^7/7 + ...)\r\n // where x = (y - 1)/(y + 1) (|x| < 1)\r\n sum = numerator = x = divide(x.minus(ONE), x.plus(ONE), wpr);\r\n x2 = round(x.times(x), wpr);\r\n denominator = 3;\r\n\r\n for (;;) {\r\n numerator = round(numerator.times(x2), wpr);\r\n t = sum.plus(divide(numerator, new Ctor(denominator), wpr));\r\n\r\n if (digitsToString(t.d).slice(0, wpr) === digitsToString(sum.d).slice(0, wpr)) {\r\n sum = sum.times(2);\r\n\r\n // Reverse the argument reduction.\r\n if (e !== 0) sum = sum.plus(getLn10(Ctor, wpr + 2, pr).times(e + ''));\r\n sum = divide(sum, new Ctor(n), wpr);\r\n\r\n Ctor.precision = pr;\r\n return sd == null ? (external = true, round(sum, pr)) : sum;\r\n }\r\n\r\n sum = t;\r\n denominator += 2;\r\n }\r\n }\r\n\r\n\r\n /*\r\n * Parse the value of a new Decimal `x` from string `str`.\r\n */\r\n function parseDecimal(x, str) {\r\n var e, i, len;\r\n\r\n // Decimal point?\r\n if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');\r\n\r\n // Exponential form?\r\n if ((i = str.search(/e/i)) > 0) {\r\n\r\n // Determine exponent.\r\n if (e < 0) e = i;\r\n e += +str.slice(i + 1);\r\n str = str.substring(0, i);\r\n } else if (e < 0) {\r\n\r\n // Integer.\r\n e = str.length;\r\n }\r\n\r\n // Determine leading zeros.\r\n for (i = 0; str.charCodeAt(i) === 48;) ++i;\r\n\r\n // Determine trailing zeros.\r\n for (len = str.length; str.charCodeAt(len - 1) === 48;) --len;\r\n str = str.slice(i, len);\r\n\r\n if (str) {\r\n len -= i;\r\n e = e - i - 1;\r\n x.e = mathfloor(e / LOG_BASE);\r\n x.d = [];\r\n\r\n // Transform base\r\n\r\n // e is the base 10 exponent.\r\n // i is where to slice str to get the first word of the digits array.\r\n i = (e + 1) % LOG_BASE;\r\n if (e < 0) i += LOG_BASE;\r\n\r\n if (i < len) {\r\n if (i) x.d.push(+str.slice(0, i));\r\n for (len -= LOG_BASE; i < len;) x.d.push(+str.slice(i, i += LOG_BASE));\r\n str = str.slice(i);\r\n i = LOG_BASE - str.length;\r\n } else {\r\n i -= len;\r\n }\r\n\r\n for (; i--;) str += '0';\r\n x.d.push(+str);\r\n\r\n if (external && (x.e > MAX_E || x.e < -MAX_E)) throw Error(exponentOutOfRange + e);\r\n } else {\r\n\r\n // Zero.\r\n x.s = 0;\r\n x.e = 0;\r\n x.d = [0];\r\n }\r\n\r\n return x;\r\n }\r\n\r\n\r\n /*\r\n * Round `x` to `sd` significant digits, using rounding mode `rm` if present (truncate otherwise).\r\n */\r\n function round(x, sd, rm) {\r\n var i, j, k, n, rd, doRound, w, xdi,\r\n xd = x.d;\r\n\r\n // rd: the rounding digit, i.e. the digit after the digit that may be rounded up.\r\n // w: the word of xd which contains the rounding digit, a base 1e7 number.\r\n // xdi: the index of w within xd.\r\n // n: the number of digits of w.\r\n // i: what would be the index of rd within w if all the numbers were 7 digits long (i.e. if\r\n // they had leading zeros)\r\n // j: if > 0, the actual index of rd within w (if < 0, rd is a leading zero).\r\n\r\n // Get the length of the first word of the digits array xd.\r\n for (n = 1, k = xd[0]; k >= 10; k /= 10) n++;\r\n i = sd - n;\r\n\r\n // Is the rounding digit in the first word of xd?\r\n if (i < 0) {\r\n i += LOG_BASE;\r\n j = sd;\r\n w = xd[xdi = 0];\r\n } else {\r\n xdi = Math.ceil((i + 1) / LOG_BASE);\r\n k = xd.length;\r\n if (xdi >= k) return x;\r\n w = k = xd[xdi];\r\n\r\n // Get the number of digits of w.\r\n for (n = 1; k >= 10; k /= 10) n++;\r\n\r\n // Get the index of rd within w.\r\n i %= LOG_BASE;\r\n\r\n // Get the index of rd within w, adjusted for leading zeros.\r\n // The number of leading zeros of w is given by LOG_BASE - n.\r\n j = i - LOG_BASE + n;\r\n }\r\n\r\n if (rm !== void 0) {\r\n k = mathpow(10, n - j - 1);\r\n\r\n // Get the rounding digit at index j of w.\r\n rd = w / k % 10 | 0;\r\n\r\n // Are there any non-zero digits after the rounding digit?\r\n doRound = sd < 0 || xd[xdi + 1] !== void 0 || w % k;\r\n\r\n // The expression `w % mathpow(10, n - j - 1)` returns all the digits of w to the right of the\r\n // digit at (left-to-right) index j, e.g. if w is 908714 and j is 2, the expression will give\r\n // 714.\r\n\r\n doRound = rm < 4\r\n ? (rd || doRound) && (rm == 0 || rm == (x.s < 0 ? 3 : 2))\r\n : rd > 5 || rd == 5 && (rm == 4 || doRound || rm == 6 &&\r\n\r\n // Check whether the digit to the left of the rounding digit is odd.\r\n ((i > 0 ? j > 0 ? w / mathpow(10, n - j) : 0 : xd[xdi - 1]) % 10) & 1 ||\r\n rm == (x.s < 0 ? 8 : 7));\r\n }\r\n\r\n if (sd < 1 || !xd[0]) {\r\n if (doRound) {\r\n k = getBase10Exponent(x);\r\n xd.length = 1;\r\n\r\n // Convert sd to decimal places.\r\n sd = sd - k - 1;\r\n\r\n // 1, 0.1, 0.01, 0.001, 0.0001 etc.\r\n xd[0] = mathpow(10, (LOG_BASE - sd % LOG_BASE) % LOG_BASE);\r\n x.e = mathfloor(-sd / LOG_BASE) || 0;\r\n } else {\r\n xd.length = 1;\r\n\r\n // Zero.\r\n xd[0] = x.e = x.s = 0;\r\n }\r\n\r\n return x;\r\n }\r\n\r\n // Remove excess digits.\r\n if (i == 0) {\r\n xd.length = xdi;\r\n k = 1;\r\n xdi--;\r\n } else {\r\n xd.length = xdi + 1;\r\n k = mathpow(10, LOG_BASE - i);\r\n\r\n // E.g. 56700 becomes 56000 if 7 is the rounding digit.\r\n // j > 0 means i > number of leading zeros of w.\r\n xd[xdi] = j > 0 ? (w / mathpow(10, n - j) % mathpow(10, j) | 0) * k : 0;\r\n }\r\n\r\n if (doRound) {\r\n for (;;) {\r\n\r\n // Is the digit to be rounded up in the first word of xd?\r\n if (xdi == 0) {\r\n if ((xd[0] += k) == BASE) {\r\n xd[0] = 1;\r\n ++x.e;\r\n }\r\n\r\n break;\r\n } else {\r\n xd[xdi] += k;\r\n if (xd[xdi] != BASE) break;\r\n xd[xdi--] = 0;\r\n k = 1;\r\n }\r\n }\r\n }\r\n\r\n // Remove trailing zeros.\r\n for (i = xd.length; xd[--i] === 0;) xd.pop();\r\n\r\n if (external && (x.e > MAX_E || x.e < -MAX_E)) {\r\n throw Error(exponentOutOfRange + getBase10Exponent(x));\r\n }\r\n\r\n return x;\r\n }\r\n\r\n\r\n function subtract(x, y) {\r\n var d, e, i, j, k, len, xd, xe, xLTy, yd,\r\n Ctor = x.constructor,\r\n pr = Ctor.precision;\r\n\r\n // Return y negated if x is zero.\r\n // Return x if y is zero and x is non-zero.\r\n if (!x.s || !y.s) {\r\n if (y.s) y.s = -y.s;\r\n else y = new Ctor(x);\r\n return external ? round(y, pr) : y;\r\n }\r\n\r\n xd = x.d;\r\n yd = y.d;\r\n\r\n // x and y are non-zero numbers with the same sign.\r\n\r\n e = y.e;\r\n xe = x.e;\r\n xd = xd.slice();\r\n k = xe - e;\r\n\r\n // If exponents differ...\r\n if (k) {\r\n xLTy = k < 0;\r\n\r\n if (xLTy) {\r\n d = xd;\r\n k = -k;\r\n len = yd.length;\r\n } else {\r\n d = yd;\r\n e = xe;\r\n len = xd.length;\r\n }\r\n\r\n // Numbers with massively different exponents would result in a very high number of zeros\r\n // needing to be prepended, but this can be avoided while still ensuring correct rounding by\r\n // limiting the number of zeros to `Math.ceil(pr / LOG_BASE) + 2`.\r\n i = Math.max(Math.ceil(pr / LOG_BASE), len) + 2;\r\n\r\n if (k > i) {\r\n k = i;\r\n d.length = 1;\r\n }\r\n\r\n // Prepend zeros to equalise exponents.\r\n d.reverse();\r\n for (i = k; i--;) d.push(0);\r\n d.reverse();\r\n\r\n // Base 1e7 exponents equal.\r\n } else {\r\n\r\n // Check digits to determine which is the bigger number.\r\n\r\n i = xd.length;\r\n len = yd.length;\r\n xLTy = i < len;\r\n if (xLTy) len = i;\r\n\r\n for (i = 0; i < len; i++) {\r\n if (xd[i] != yd[i]) {\r\n xLTy = xd[i] < yd[i];\r\n break;\r\n }\r\n }\r\n\r\n k = 0;\r\n }\r\n\r\n if (xLTy) {\r\n d = xd;\r\n xd = yd;\r\n yd = d;\r\n y.s = -y.s;\r\n }\r\n\r\n len = xd.length;\r\n\r\n // Append zeros to xd if shorter.\r\n // Don't add zeros to yd if shorter as subtraction only needs to start at yd length.\r\n for (i = yd.length - len; i > 0; --i) xd[len++] = 0;\r\n\r\n // Subtract yd from xd.\r\n for (i = yd.length; i > k;) {\r\n if (xd[--i] < yd[i]) {\r\n for (j = i; j && xd[--j] === 0;) xd[j] = BASE - 1;\r\n --xd[j];\r\n xd[i] += BASE;\r\n }\r\n\r\n xd[i] -= yd[i];\r\n }\r\n\r\n // Remove trailing zeros.\r\n for (; xd[--len] === 0;) xd.pop();\r\n\r\n // Remove leading zeros and adjust exponent accordingly.\r\n for (; xd[0] === 0; xd.shift()) --e;\r\n\r\n // Zero?\r\n if (!xd[0]) return new Ctor(0);\r\n\r\n y.d = xd;\r\n y.e = e;\r\n\r\n //return external && xd.length >= pr / LOG_BASE ? round(y, pr) : y;\r\n return external ? round(y, pr) : y;\r\n }\r\n\r\n\r\n function toString(x, isExp, sd) {\r\n var k,\r\n e = getBase10Exponent(x),\r\n str = digitsToString(x.d),\r\n len = str.length;\r\n\r\n if (isExp) {\r\n if (sd && (k = sd - len) > 0) {\r\n str = str.charAt(0) + '.' + str.slice(1) + getZeroString(k);\r\n } else if (len > 1) {\r\n str = str.charAt(0) + '.' + str.slice(1);\r\n }\r\n\r\n str = str + (e < 0 ? 'e' : 'e+') + e;\r\n } else if (e < 0) {\r\n str = '0.' + getZeroString(-e - 1) + str;\r\n if (sd && (k = sd - len) > 0) str += getZeroString(k);\r\n } else if (e >= len) {\r\n str += getZeroString(e + 1 - len);\r\n if (sd && (k = sd - e - 1) > 0) str = str + '.' + getZeroString(k);\r\n } else {\r\n if ((k = e + 1) < len) str = str.slice(0, k) + '.' + str.slice(k);\r\n if (sd && (k = sd - len) > 0) {\r\n if (e + 1 === len) str += '.';\r\n str += getZeroString(k);\r\n }\r\n }\r\n\r\n return x.s < 0 ? '-' + str : str;\r\n }\r\n\r\n\r\n // Does not strip trailing zeros.\r\n function truncate(arr, len) {\r\n if (arr.length > len) {\r\n arr.length = len;\r\n return true;\r\n }\r\n }\r\n\r\n\r\n // Decimal methods\r\n\r\n\r\n /*\r\n * clone\r\n * config/set\r\n */\r\n\r\n\r\n /*\r\n * Create and return a Decimal constructor with the same configuration properties as this Decimal\r\n * constructor.\r\n *\r\n */\r\n function clone(obj) {\r\n var i, p, ps;\r\n\r\n /*\r\n * The Decimal constructor and exported function.\r\n * Return a new Decimal instance.\r\n *\r\n * value {number|string|Decimal} A numeric value.\r\n *\r\n */\r\n function Decimal(value) {\r\n var x = this;\r\n\r\n // Decimal called without new.\r\n if (!(x instanceof Decimal)) return new Decimal(value);\r\n\r\n // Retain a reference to this Decimal constructor, and shadow Decimal.prototype.constructor\r\n // which points to Object.\r\n x.constructor = Decimal;\r\n\r\n // Duplicate.\r\n if (value instanceof Decimal) {\r\n x.s = value.s;\r\n x.e = value.e;\r\n x.d = (value = value.d) ? value.slice() : value;\r\n return;\r\n }\r\n\r\n if (typeof value === 'number') {\r\n\r\n // Reject Infinity/NaN.\r\n if (value * 0 !== 0) {\r\n throw Error(invalidArgument + value);\r\n }\r\n\r\n if (value > 0) {\r\n x.s = 1;\r\n } else if (value < 0) {\r\n value = -value;\r\n x.s = -1;\r\n } else {\r\n x.s = 0;\r\n x.e = 0;\r\n x.d = [0];\r\n return;\r\n }\r\n\r\n // Fast path for small integers.\r\n if (value === ~~value && value < 1e7) {\r\n x.e = 0;\r\n x.d = [value];\r\n return;\r\n }\r\n\r\n return parseDecimal(x, value.toString());\r\n } else if (typeof value !== 'string') {\r\n throw Error(invalidArgument + value);\r\n }\r\n\r\n // Minus sign?\r\n if (value.charCodeAt(0) === 45) {\r\n value = value.slice(1);\r\n x.s = -1;\r\n } else {\r\n x.s = 1;\r\n }\r\n\r\n if (isDecimal.test(value)) parseDecimal(x, value);\r\n else throw Error(invalidArgument + value);\r\n }\r\n\r\n Decimal.prototype = P;\r\n\r\n Decimal.ROUND_UP = 0;\r\n Decimal.ROUND_DOWN = 1;\r\n Decimal.ROUND_CEIL = 2;\r\n Decimal.ROUND_FLOOR = 3;\r\n Decimal.ROUND_HALF_UP = 4;\r\n Decimal.ROUND_HALF_DOWN = 5;\r\n Decimal.ROUND_HALF_EVEN = 6;\r\n Decimal.ROUND_HALF_CEIL = 7;\r\n Decimal.ROUND_HALF_FLOOR = 8;\r\n\r\n Decimal.clone = clone;\r\n Decimal.config = Decimal.set = config;\r\n\r\n if (obj === void 0) obj = {};\r\n if (obj) {\r\n ps = ['precision', 'rounding', 'toExpNeg', 'toExpPos', 'LN10'];\r\n for (i = 0; i < ps.length;) if (!obj.hasOwnProperty(p = ps[i++])) obj[p] = this[p];\r\n }\r\n\r\n Decimal.config(obj);\r\n\r\n return Decimal;\r\n }\r\n\r\n\r\n /*\r\n * Configure global settings for a Decimal constructor.\r\n *\r\n * `obj` is an object with one or more of the following properties,\r\n *\r\n * precision {number}\r\n * rounding {number}\r\n * toExpNeg {number}\r\n * toExpPos {number}\r\n *\r\n * E.g. Decimal.config({ precision: 20, rounding: 4 })\r\n *\r\n */\r\n function config(obj) {\r\n if (!obj || typeof obj !== 'object') {\r\n throw Error(decimalError + 'Object expected');\r\n }\r\n var i, p, v,\r\n ps = [\r\n 'precision', 1, MAX_DIGITS,\r\n 'rounding', 0, 8,\r\n 'toExpNeg', -1 / 0, 0,\r\n 'toExpPos', 0, 1 / 0\r\n ];\r\n\r\n for (i = 0; i < ps.length; i += 3) {\r\n if ((v = obj[p = ps[i]]) !== void 0) {\r\n if (mathfloor(v) === v && v >= ps[i + 1] && v <= ps[i + 2]) this[p] = v;\r\n else throw Error(invalidArgument + p + ': ' + v);\r\n }\r\n }\r\n\r\n if ((v = obj[p = 'LN10']) !== void 0) {\r\n if (v == Math.LN10) this[p] = new this(v);\r\n else throw Error(invalidArgument + p + ': ' + v);\r\n }\r\n\r\n return this;\r\n }\r\n\r\n\r\n // Create and configure initial Decimal constructor.\r\n Decimal = clone(Decimal);\r\n\r\n Decimal['default'] = Decimal.Decimal = Decimal;\r\n\r\n // Internal constant.\r\n ONE = new Decimal(1);\r\n\r\n\r\n // Export.\r\n\r\n\r\n // AMD.\r\n if (typeof define == 'function' && define.amd) {\r\n define(function () {\r\n return Decimal;\r\n });\r\n\r\n // Node and other environments that support module.exports.\r\n } else if (typeof module != 'undefined' && module.exports) {\r\n module.exports = Decimal;\r\n\r\n // Browser.\r\n } else {\r\n if (!globalScope) {\r\n globalScope = typeof self != 'undefined' && self && self.self == self\r\n ? self : Function('return this')();\r\n }\r\n\r\n globalScope.Decimal = Decimal;\r\n }\r\n})(this);\r\n"],"x_google_ignoreList":[0],"mappings":";;;CACC,CAAC,SAAU,GAAa;EAkBvB,IAAI,IA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OAAO,MACxC,OAAO,WAAY;GACjB,OAAO;EACT,CAAC,IAGe,MAAU,UAAe,EAAO,UAChD,EAAO,UAAU,KAIjB,AACE,MAAc,OAAO,OAAQ,OAAe,QAAQ,KAAK,QAAQ,OAC7D,OAAO,SAAS,aAAa,CAAC,CAAC,GAGrC,EAAY,UAAU;CAE1B,EAAA,CAAC,CAAM"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region node_modules/es-toolkit/dist/_internal/globalThis.mjs
|
|
2
|
+
var e = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
|
|
3
|
+
return this;
|
|
4
|
+
})();
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as globalThis_ };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=globalThis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globalThis.js","names":[],"sources":["../../../../../node_modules/es-toolkit/dist/_internal/globalThis.mjs"],"sourcesContent":["//#region src/_internal/globalThis.ts\nconst globalThis_ = typeof globalThis === \"object\" && globalThis || typeof window === \"object\" && window || typeof self === \"object\" && self || typeof global === \"object\" && global || (function() {\n\treturn this;\n})();\n//#endregion\nexport { globalThis_ };\n"],"x_google_ignoreList":[0],"mappings":";AACA,IAAM,IAAc,OAAO,cAAe,YAAY,cAAc,OAAO,UAAW,YAAY,UAAU,OAAO,QAAS,YAAY,QAAQ,OAAO,UAAW,YAAY,WAAW,WAAW;CACnM,OAAO;AACR,EAAA,CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isUnsafeProperty.js","names":[],"sources":["../../../../../node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs"],"sourcesContent":["//#region src/_internal/isUnsafeProperty.ts\n/**\n* Checks if a property key is unsafe to access or copy directly.\n*\n* This function is used in functions like `get`, `unset`, and `merge` to prevent\n* prototype pollution attacks by identifying `__proto__`, which modifies the object's\n* prototype chain. `constructor` and `prototype` stay accessible here because lodash\n* keeps reads of them unrestricted; write paths use `isUnsafeToWriteProperty` instead,\n* which also blocks those keys.\n*\n* @param key - The property key to check\n* @returns `true` if the property is unsafe to access directly, `false` otherwise\n* @internal\n*/\nfunction isUnsafeProperty(key) {\n\treturn key === \"__proto__\";\n}\n//#endregion\nexport { isUnsafeProperty };\n"],"x_google_ignoreList":[0],"mappings":";AAcA,SAAS,EAAiB,GAAK;CAC9B,OAAO,MAAQ;AAChB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region node_modules/es-toolkit/dist/array/flatten.mjs
|
|
2
|
+
function e(e, t = 1) {
|
|
3
|
+
let n = [], r = Math.floor(t), i = (e, t) => {
|
|
4
|
+
for (let a = 0; a < e.length; a++) {
|
|
5
|
+
let o = e[a];
|
|
6
|
+
Array.isArray(o) && t < r ? i(o, t + 1) : n.push(o);
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
return i(e, 0), n;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as flatten };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=flatten.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flatten.js","names":[],"sources":["../../../../../node_modules/es-toolkit/dist/array/flatten.mjs"],"sourcesContent":["//#region src/array/flatten.ts\n/**\n* Flattens an array up to the specified depth.\n*\n* @template T - The type of elements within the array.\n* @template D - The depth to which the array should be flattened.\n* @param arr - The array to flatten.\n* @param depth - The depth level specifying how deep a nested array structure should be flattened. Defaults to 1.\n* @returns A new array that has been flattened.\n*\n* @example\n* const arr = flatten([1, [2, 3], [4, [5, 6]]], 1);\n* // Returns: [1, 2, 3, 4, [5, 6]]\n*\n* const arr = flatten([1, [2, 3], [4, [5, 6]]], 2);\n* // Returns: [1, 2, 3, 4, 5, 6]\n*/\nfunction flatten(arr, depth = 1) {\n\tconst result = [];\n\tconst flooredDepth = Math.floor(depth);\n\tconst recursive = (arr, currentDepth) => {\n\t\tfor (let i = 0; i < arr.length; i++) {\n\t\t\tconst item = arr[i];\n\t\t\tif (Array.isArray(item) && currentDepth < flooredDepth) recursive(item, currentDepth + 1);\n\t\t\telse result.push(item);\n\t\t}\n\t};\n\trecursive(arr, 0);\n\treturn result;\n}\n//#endregion\nexport { flatten };\n"],"x_google_ignoreList":[0],"mappings":";AAiBA,SAAS,EAAQ,GAAK,IAAQ,GAAG;CAChC,IAAM,IAAS,CAAC,GACV,IAAe,KAAK,MAAM,CAAK,GAC/B,KAAa,GAAK,MAAiB;EACxC,KAAK,IAAI,IAAI,GAAG,IAAI,EAAI,QAAQ,KAAK;GACpC,IAAM,IAAO,EAAI;GACjB,AAAI,MAAM,QAAQ,CAAI,KAAK,IAAe,IAAc,EAAU,GAAM,IAAe,CAAC,IACnF,EAAO,KAAK,CAAI;EACtB;CACD;CAEA,OADA,EAAU,GAAK,CAAC,GACT;AACR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = /* @__PURE__ */ new Map();
|
|
4
|
+
for (let r = 0; r < e.length; r++) {
|
|
5
|
+
let i = e[r], a = t(i, r, e);
|
|
6
|
+
n.has(a) || n.set(a, i);
|
|
7
|
+
}
|
|
8
|
+
return Array.from(n.values());
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as uniqBy };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=uniqBy.js.map
|