vue-chrts 0.1.0-beta.2-internal-20 → 0.1.0-beta.2-internal-21
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/_commonjsHelpers.cjs +1 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/browser.cjs +1 -0
- package/dist/_virtual/browser.js +2 -0
- package/dist/_virtual/striptags.cjs +1 -0
- package/dist/_virtual/striptags.js +7 -0
- package/dist/_virtual/striptags2.cjs +1 -0
- package/dist/_virtual/striptags2.js +4 -0
- package/dist/components/Area/AreaChart.cjs +6 -0
- package/dist/components/Area/AreaChart.js +141 -0
- package/dist/components/Area/AreaChart.vue.d.ts +14 -0
- package/dist/components/Area/AreaChart2.cjs +1 -0
- package/dist/components/Area/AreaChart2.js +4 -0
- package/dist/components/Area/index.d.ts +2 -0
- package/dist/components/Area/types.d.ts +82 -0
- package/dist/components/AreaStacked/AreaStackedChart.cjs +1 -0
- package/dist/components/AreaStacked/AreaStackedChart.js +74 -0
- package/dist/components/AreaStacked/AreaStackedChart.vue.d.ts +20 -0
- package/dist/components/AreaStacked/AreaStackedChart2.cjs +1 -0
- package/dist/components/AreaStacked/AreaStackedChart2.js +4 -0
- package/dist/components/AreaStacked/index.d.ts +1 -0
- package/dist/components/Bar/BarChart.cjs +1 -0
- package/dist/components/Bar/BarChart.js +121 -0
- package/dist/components/Bar/BarChart.vue.d.ts +33 -0
- package/dist/components/Bar/BarChart2.cjs +1 -0
- package/dist/components/Bar/BarChart2.js +4 -0
- package/dist/components/Bar/index.d.ts +1 -0
- package/dist/components/Crosshair/Crosshair.vue.d.ts +12 -0
- package/dist/components/Crosshair/index.d.ts +1 -0
- package/dist/components/Donut/DonutChart.cjs +5 -0
- package/dist/components/Donut/DonutChart.js +62 -0
- package/dist/components/Donut/DonutChart.vue.d.ts +18 -0
- package/dist/components/Donut/DonutChart2.cjs +1 -0
- package/dist/components/Donut/DonutChart2.js +4 -0
- package/dist/components/Donut/index.cjs +1 -0
- package/dist/components/Donut/index.d.ts +17 -0
- package/dist/components/Donut/index.js +5 -0
- package/dist/components/Line/LineChart.cjs +1 -0
- package/dist/components/Line/LineChart.js +97 -0
- package/dist/components/Line/LineChart.vue.d.ts +27 -0
- package/dist/components/Line/LineChart2.cjs +1 -0
- package/dist/components/Line/LineChart2.js +4 -0
- package/dist/components/Line/index.d.ts +1 -0
- package/dist/components/Tooltip.cjs +1 -0
- package/dist/components/Tooltip.js +37 -0
- package/dist/components/Tooltip.vue.d.ts +19 -0
- package/dist/components/Tooltip2.cjs +1 -0
- package/dist/components/Tooltip2.js +4 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +12 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.cjs +1 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +279 -0
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.cjs +1 -0
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js +86 -0
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.cjs +1 -0
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.js +8 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.cjs +1 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +22 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +1 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.cjs +1 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +123 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.cjs +1 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +44 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +1 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.cjs +1 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +29 -0
- package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js +15 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.js +20 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.js +31 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js +7 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.js +31 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js +12 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js +10 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js +26 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js +42 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js +11 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js +12 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/element.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/element.js +37 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.js +6 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/global.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/global.js +4 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/process.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/process.js +14 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js +18 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js +4 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.js +70 -0
- package/dist/node_modules/@unovis/ts/components/area/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/area/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/area/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/area/index.js +52 -0
- package/dist/node_modules/@unovis/ts/components/area/style.cjs +35 -0
- package/dist/node_modules/@unovis/ts/components/area/style.js +41 -0
- package/dist/node_modules/@unovis/ts/components/axis/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/axis/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/axis/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/axis/index.js +287 -0
- package/dist/node_modules/@unovis/ts/components/axis/style.cjs +101 -0
- package/dist/node_modules/@unovis/ts/components/axis/style.js +114 -0
- package/dist/node_modules/@unovis/ts/components/axis/types.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/axis/types.js +7 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/config.js +18 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/index.js +36 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.js +48 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/style.cjs +63 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/style.js +73 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/types.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/types.js +10 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/config.js +5 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/index.js +119 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/style.cjs +22 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/style.js +29 -0
- package/dist/node_modules/@unovis/ts/components/donut/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/donut/config.js +8 -0
- package/dist/node_modules/@unovis/ts/components/donut/constants.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/donut/constants.js +11 -0
- package/dist/node_modules/@unovis/ts/components/donut/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/donut/index.js +57 -0
- package/dist/node_modules/@unovis/ts/components/donut/modules/arc.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/donut/modules/arc.js +37 -0
- package/dist/node_modules/@unovis/ts/components/donut/style.cjs +58 -0
- package/dist/node_modules/@unovis/ts/components/donut/style.js +68 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/index.js +121 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/style.cjs +35 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/style.js +43 -0
- package/dist/node_modules/@unovis/ts/components/line/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/line/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/line/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/line/index.js +86 -0
- package/dist/node_modules/@unovis/ts/components/line/style.cjs +35 -0
- package/dist/node_modules/@unovis/ts/components/line/style.js +45 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/index.js +111 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/style.cjs +34 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/style.js +42 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/config.js +17 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/index.js +166 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/style.cjs +61 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/style.js +71 -0
- package/dist/node_modules/@unovis/ts/containers/single-container/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/containers/single-container/config.js +5 -0
- package/dist/node_modules/@unovis/ts/containers/single-container/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/containers/single-container/index.js +71 -0
- package/dist/node_modules/@unovis/ts/containers/xy-container/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/containers/xy-container/config.js +6 -0
- package/dist/node_modules/@unovis/ts/containers/xy-container/index.cjs +3 -0
- package/dist/node_modules/@unovis/ts/containers/xy-container/index.js +185 -0
- package/dist/node_modules/@unovis/ts/core/component/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/component/config.js +8 -0
- package/dist/node_modules/@unovis/ts/core/component/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/component/index.js +68 -0
- package/dist/node_modules/@unovis/ts/core/container/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/container/config.js +24 -0
- package/dist/node_modules/@unovis/ts/core/container/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/container/index.js +73 -0
- package/dist/node_modules/@unovis/ts/core/xy-component/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/xy-component/config.js +8 -0
- package/dist/node_modules/@unovis/ts/core/xy-component/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/xy-component/index.js +53 -0
- package/dist/node_modules/@unovis/ts/data-models/core.cjs +1 -0
- package/dist/node_modules/@unovis/ts/data-models/core.js +14 -0
- package/dist/node_modules/@unovis/ts/data-models/series.cjs +1 -0
- package/dist/node_modules/@unovis/ts/data-models/series.js +16 -0
- package/dist/node_modules/@unovis/ts/styles/colors.cjs +1 -0
- package/dist/node_modules/@unovis/ts/styles/colors.js +18 -0
- package/dist/node_modules/@unovis/ts/styles/index.cjs +38 -0
- package/dist/node_modules/@unovis/ts/styles/index.js +63 -0
- package/dist/node_modules/@unovis/ts/styles/patterns.cjs +15 -0
- package/dist/node_modules/@unovis/ts/styles/patterns.js +45 -0
- package/dist/node_modules/@unovis/ts/types/component.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/component.js +12 -0
- package/dist/node_modules/@unovis/ts/types/curve.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/curve.js +43 -0
- package/dist/node_modules/@unovis/ts/types/direction.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/direction.js +7 -0
- package/dist/node_modules/@unovis/ts/types/position.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/position.js +22 -0
- package/dist/node_modules/@unovis/ts/types/scale.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/scale.js +40 -0
- package/dist/node_modules/@unovis/ts/types/svg.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/svg.js +15 -0
- package/dist/node_modules/@unovis/ts/types/symbol.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/symbol.js +24 -0
- package/dist/node_modules/@unovis/ts/types/text.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/text.js +22 -0
- package/dist/node_modules/@unovis/ts/utils/color.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/color.js +8 -0
- package/dist/node_modules/@unovis/ts/utils/d3.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/d3.js +12 -0
- package/dist/node_modules/@unovis/ts/utils/data.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/data.js +169 -0
- package/dist/node_modules/@unovis/ts/utils/misc.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/misc.js +28 -0
- package/dist/node_modules/@unovis/ts/utils/path.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/path.js +9 -0
- package/dist/node_modules/@unovis/ts/utils/resize-observer.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/resize-observer.js +6 -0
- package/dist/node_modules/@unovis/ts/utils/text.cjs +2 -0
- package/dist/node_modules/@unovis/ts/utils/text.js +178 -0
- package/dist/node_modules/@unovis/vue/components/area/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/area/index.js +48 -0
- package/dist/node_modules/@unovis/vue/components/axis/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/axis/index.js +69 -0
- package/dist/node_modules/@unovis/vue/components/crosshair/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/crosshair/index.js +33 -0
- package/dist/node_modules/@unovis/vue/components/donut/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/donut/index.js +54 -0
- package/dist/node_modules/@unovis/vue/components/grouped-bar/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/grouped-bar/index.js +54 -0
- package/dist/node_modules/@unovis/vue/components/line/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/line/index.js +50 -0
- package/dist/node_modules/@unovis/vue/components/stacked-bar/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/stacked-bar/index.js +54 -0
- package/dist/node_modules/@unovis/vue/components/tooltip/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/tooltip/index.js +40 -0
- package/dist/node_modules/@unovis/vue/containers/single-container/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/containers/single-container/index.js +66 -0
- package/dist/node_modules/@unovis/vue/containers/xy-container/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/containers/xy-container/index.js +102 -0
- package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.js +43 -0
- package/dist/node_modules/@unovis/vue/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/index.js +10 -0
- package/dist/node_modules/@unovis/vue/utils/context.cjs +1 -0
- package/dist/node_modules/@unovis/vue/utils/context.js +8 -0
- package/dist/node_modules/@unovis/vue/utils/props.cjs +1 -0
- package/dist/node_modules/@unovis/vue/utils/props.js +18 -0
- package/dist/node_modules/d3-array/src/ascending.cjs +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +6 -0
- package/dist/node_modules/d3-array/src/bisect.cjs +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +9 -0
- package/dist/node_modules/d3-array/src/bisector.cjs +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +37 -0
- package/dist/node_modules/d3-array/src/descending.cjs +1 -0
- package/dist/node_modules/d3-array/src/descending.js +6 -0
- package/dist/node_modules/d3-array/src/extent.cjs +1 -0
- package/dist/node_modules/d3-array/src/extent.js +9 -0
- package/dist/node_modules/d3-array/src/max.cjs +1 -0
- package/dist/node_modules/d3-array/src/max.js +15 -0
- package/dist/node_modules/d3-array/src/mean.cjs +1 -0
- package/dist/node_modules/d3-array/src/mean.js +15 -0
- package/dist/node_modules/d3-array/src/merge.cjs +1 -0
- package/dist/node_modules/d3-array/src/merge.js +10 -0
- package/dist/node_modules/d3-array/src/min.cjs +1 -0
- package/dist/node_modules/d3-array/src/min.js +15 -0
- package/dist/node_modules/d3-array/src/number.cjs +1 -0
- package/dist/node_modules/d3-array/src/number.js +6 -0
- package/dist/node_modules/d3-array/src/quantile.cjs +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +12 -0
- package/dist/node_modules/d3-array/src/range.cjs +1 -0
- package/dist/node_modules/d3-array/src/range.js +9 -0
- package/dist/node_modules/d3-array/src/sum.cjs +1 -0
- package/dist/node_modules/d3-array/src/sum.js +15 -0
- package/dist/node_modules/d3-array/src/ticks.cjs +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +32 -0
- package/dist/node_modules/d3-axis/src/axis.cjs +1 -0
- package/dist/node_modules/d3-axis/src/axis.js +72 -0
- package/dist/node_modules/d3-axis/src/identity.cjs +1 -0
- package/dist/node_modules/d3-axis/src/identity.js +6 -0
- package/dist/node_modules/d3-color/src/color.cjs +1 -0
- package/dist/node_modules/d3-color/src/color.js +305 -0
- package/dist/node_modules/d3-color/src/define.cjs +1 -0
- package/dist/node_modules/d3-color/src/define.js +12 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.cjs +1 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.js +64 -0
- package/dist/node_modules/d3-ease/src/cubic.cjs +1 -0
- package/dist/node_modules/d3-ease/src/cubic.js +6 -0
- package/dist/node_modules/d3-ease/src/linear.cjs +1 -0
- package/dist/node_modules/d3-ease/src/linear.js +4 -0
- package/dist/node_modules/d3-format/src/defaultLocale.cjs +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/exponent.cjs +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +7 -0
- package/dist/node_modules/d3-format/src/formatDecimal.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +15 -0
- package/dist/node_modules/d3-format/src/formatGroup.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +10 -0
- package/dist/node_modules/d3-format/src/formatNumerals.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +10 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +10 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +28 -0
- package/dist/node_modules/d3-format/src/formatTrim.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +19 -0
- package/dist/node_modules/d3-format/src/formatTypes.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +21 -0
- package/dist/node_modules/d3-format/src/identity.cjs +1 -0
- package/dist/node_modules/d3-format/src/identity.js +6 -0
- package/dist/node_modules/d3-format/src/locale.cjs +1 -0
- package/dist/node_modules/d3-format/src/locale.js +68 -0
- package/dist/node_modules/d3-format/src/precisionFixed.cjs +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +7 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.cjs +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +7 -0
- package/dist/node_modules/d3-format/src/precisionRound.cjs +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +7 -0
- package/dist/node_modules/d3-interpolate/src/array.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +13 -0
- package/dist/node_modules/d3-interpolate/src/color.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +24 -0
- package/dist/node_modules/d3-interpolate/src/constant.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +4 -0
- package/dist/node_modules/d3-interpolate/src/date.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +9 -0
- package/dist/node_modules/d3-interpolate/src/number.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +8 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +15 -0
- package/dist/node_modules/d3-interpolate/src/object.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +12 -0
- package/dist/node_modules/d3-interpolate/src/rgb.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
- package/dist/node_modules/d3-interpolate/src/round.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +8 -0
- package/dist/node_modules/d3-interpolate/src/string.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +24 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +23 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.js +37 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +13 -0
- package/dist/node_modules/d3-interpolate/src/value.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +16 -0
- package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.cjs +2 -0
- package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.js +301 -0
- package/dist/node_modules/d3-path/src/path.cjs +1 -0
- package/dist/node_modules/d3-path/src/path.js +64 -0
- package/dist/node_modules/d3-scale/src/band.cjs +1 -0
- package/dist/node_modules/d3-scale/src/band.js +51 -0
- package/dist/node_modules/d3-scale/src/constant.cjs +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +8 -0
- package/dist/node_modules/d3-scale/src/continuous.cjs +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +75 -0
- package/dist/node_modules/d3-scale/src/diverging.cjs +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +40 -0
- package/dist/node_modules/d3-scale/src/identity.cjs +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +18 -0
- package/dist/node_modules/d3-scale/src/init.cjs +1 -0
- package/dist/node_modules/d3-scale/src/init.js +32 -0
- package/dist/node_modules/d3-scale/src/linear.cjs +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +39 -0
- package/dist/node_modules/d3-scale/src/log.cjs +1 -0
- package/dist/node_modules/d3-scale/src/log.js +86 -0
- package/dist/node_modules/d3-scale/src/nice.cjs +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +8 -0
- package/dist/node_modules/d3-scale/src/number.cjs +1 -0
- package/dist/node_modules/d3-scale/src/number.js +6 -0
- package/dist/node_modules/d3-scale/src/ordinal.cjs +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/pow.cjs +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.cjs +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +38 -0
- package/dist/node_modules/d3-scale/src/quantize.cjs +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +31 -0
- package/dist/node_modules/d3-scale/src/sequential.cjs +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +42 -0
- package/dist/node_modules/d3-scale/src/symlog.cjs +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +29 -0
- package/dist/node_modules/d3-scale/src/threshold.cjs +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +23 -0
- package/dist/node_modules/d3-scale/src/tickFormat.cjs +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +32 -0
- package/dist/node_modules/d3-scale/src/time.cjs +1 -0
- package/dist/node_modules/d3-scale/src/time.js +46 -0
- package/dist/node_modules/d3-scale/src/utcTime.cjs +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +17 -0
- package/dist/node_modules/d3-selection/src/array.cjs +1 -0
- package/dist/node_modules/d3-selection/src/array.js +6 -0
- package/dist/node_modules/d3-selection/src/constant.cjs +1 -0
- package/dist/node_modules/d3-selection/src/constant.js +8 -0
- package/dist/node_modules/d3-selection/src/creator.cjs +1 -0
- package/dist/node_modules/d3-selection/src/creator.js +20 -0
- package/dist/node_modules/d3-selection/src/matcher.cjs +1 -0
- package/dist/node_modules/d3-selection/src/matcher.js +14 -0
- package/dist/node_modules/d3-selection/src/namespace.cjs +1 -0
- package/dist/node_modules/d3-selection/src/namespace.js +8 -0
- package/dist/node_modules/d3-selection/src/namespaces.cjs +1 -0
- package/dist/node_modules/d3-selection/src/namespaces.js +12 -0
- package/dist/node_modules/d3-selection/src/pointer.cjs +1 -0
- package/dist/node_modules/d3-selection/src/pointer.js +18 -0
- package/dist/node_modules/d3-selection/src/select.cjs +1 -0
- package/dist/node_modules/d3-selection/src/select.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/append.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/append.js +10 -0
- package/dist/node_modules/d3-selection/src/selection/attr.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/attr.js +44 -0
- package/dist/node_modules/d3-selection/src/selection/call.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/call.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/classed.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/classed.js +54 -0
- package/dist/node_modules/d3-selection/src/selection/clone.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/clone.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/data.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/data.js +42 -0
- package/dist/node_modules/d3-selection/src/selection/datum.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/datum.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +21 -0
- package/dist/node_modules/d3-selection/src/selection/each.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/each.js +9 -0
- package/dist/node_modules/d3-selection/src/selection/empty.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/empty.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/enter.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/enter.js +27 -0
- package/dist/node_modules/d3-selection/src/selection/exit.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/exit.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/filter.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/filter.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/html.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/html.js +20 -0
- package/dist/node_modules/d3-selection/src/selection/index.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/index.js +87 -0
- package/dist/node_modules/d3-selection/src/selection/insert.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/insert.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/join.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/join.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/lower.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/lower.js +9 -0
- package/dist/node_modules/d3-selection/src/selection/merge.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/merge.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/node.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/node.js +11 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/on.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/on.js +52 -0
- package/dist/node_modules/d3-selection/src/selection/order.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/order.js +9 -0
- package/dist/node_modules/d3-selection/src/selection/property.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/property.js +22 -0
- package/dist/node_modules/d3-selection/src/selection/raise.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/raise.js +9 -0
- package/dist/node_modules/d3-selection/src/selection/remove.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/remove.js +10 -0
- package/dist/node_modules/d3-selection/src/selection/select.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/select.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +18 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +16 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +16 -0
- package/dist/node_modules/d3-selection/src/selection/size.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/size.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/sort.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/sort.js +19 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/style.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/style.js +27 -0
- package/dist/node_modules/d3-selection/src/selection/text.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/text.js +20 -0
- package/dist/node_modules/d3-selection/src/selector.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selector.js +10 -0
- package/dist/node_modules/d3-selection/src/selectorAll.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selectorAll.js +11 -0
- package/dist/node_modules/d3-selection/src/sourceEvent.cjs +1 -0
- package/dist/node_modules/d3-selection/src/sourceEvent.js +8 -0
- package/dist/node_modules/d3-selection/src/window.cjs +1 -0
- package/dist/node_modules/d3-selection/src/window.js +6 -0
- package/dist/node_modules/d3-shape/src/arc.cjs +1 -0
- package/dist/node_modules/d3-shape/src/arc.js +85 -0
- package/dist/node_modules/d3-shape/src/area.cjs +1 -0
- package/dist/node_modules/d3-shape/src/area.js +56 -0
- package/dist/node_modules/d3-shape/src/array.cjs +1 -0
- package/dist/node_modules/d3-shape/src/array.js +6 -0
- package/dist/node_modules/d3-shape/src/constant.cjs +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +8 -0
- package/dist/node_modules/d3-shape/src/curve/basis.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +60 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +51 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/bundle.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/bundle.js +33 -0
- package/dist/node_modules/d3-shape/src/curve/cardinal.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +65 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +57 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRom.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +72 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +61 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +54 -0
- package/dist/node_modules/d3-shape/src/curve/linear.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +23 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +93 -0
- package/dist/node_modules/d3-shape/src/curve/natural.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +41 -0
- package/dist/node_modules/d3-shape/src/curve/step.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +51 -0
- package/dist/node_modules/d3-shape/src/descending.cjs +1 -0
- package/dist/node_modules/d3-shape/src/descending.js +6 -0
- package/dist/node_modules/d3-shape/src/identity.cjs +1 -0
- package/dist/node_modules/d3-shape/src/identity.js +6 -0
- package/dist/node_modules/d3-shape/src/line.cjs +1 -0
- package/dist/node_modules/d3-shape/src/line.js +29 -0
- package/dist/node_modules/d3-shape/src/math.cjs +1 -0
- package/dist/node_modules/d3-shape/src/math.js +22 -0
- package/dist/node_modules/d3-shape/src/noop.cjs +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +5 -0
- package/dist/node_modules/d3-shape/src/path.cjs +1 -0
- package/dist/node_modules/d3-shape/src/path.js +18 -0
- package/dist/node_modules/d3-shape/src/pie.cjs +1 -0
- package/dist/node_modules/d3-shape/src/pie.js +43 -0
- package/dist/node_modules/d3-shape/src/point.cjs +1 -0
- package/dist/node_modules/d3-shape/src/point.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/star.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +21 -0
- package/dist/node_modules/d3-time/src/day.cjs +1 -0
- package/dist/node_modules/d3-time/src/day.js +26 -0
- package/dist/node_modules/d3-time/src/duration.cjs +1 -0
- package/dist/node_modules/d3-time/src/duration.js +10 -0
- package/dist/node_modules/d3-time/src/hour.cjs +1 -0
- package/dist/node_modules/d3-time/src/hour.js +18 -0
- package/dist/node_modules/d3-time/src/interval.cjs +1 -0
- package/dist/node_modules/d3-time/src/interval.js +31 -0
- package/dist/node_modules/d3-time/src/millisecond.cjs +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/minute.cjs +1 -0
- package/dist/node_modules/d3-time/src/minute.js +18 -0
- package/dist/node_modules/d3-time/src/month.cjs +1 -0
- package/dist/node_modules/d3-time/src/month.js +17 -0
- package/dist/node_modules/d3-time/src/second.cjs +1 -0
- package/dist/node_modules/d3-time/src/second.js +11 -0
- package/dist/node_modules/d3-time/src/ticks.cjs +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +54 -0
- package/dist/node_modules/d3-time/src/week.cjs +1 -0
- package/dist/node_modules/d3-time/src/week.js +48 -0
- package/dist/node_modules/d3-time/src/year.cjs +1 -0
- package/dist/node_modules/d3-time/src/year.js +27 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +20 -0
- package/dist/node_modules/d3-time-format/src/locale.cjs +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +478 -0
- package/dist/node_modules/d3-timer/src/timeout.cjs +1 -0
- package/dist/node_modules/d3-timer/src/timeout.js +10 -0
- package/dist/node_modules/d3-timer/src/timer.cjs +1 -0
- package/dist/node_modules/d3-timer/src/timer.js +62 -0
- package/dist/node_modules/d3-transition/src/interrupt.cjs +1 -0
- package/dist/node_modules/d3-transition/src/interrupt.js +18 -0
- package/dist/node_modules/d3-transition/src/selection/index.cjs +1 -0
- package/dist/node_modules/d3-transition/src/selection/index.js +5 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.cjs +1 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +9 -0
- package/dist/node_modules/d3-transition/src/selection/transition.cjs +1 -0
- package/dist/node_modules/d3-transition/src/selection/transition.js +28 -0
- package/dist/node_modules/d3-transition/src/transition/attr.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/attr.js +49 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +38 -0
- package/dist/node_modules/d3-transition/src/transition/delay.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/delay.js +18 -0
- package/dist/node_modules/d3-transition/src/transition/duration.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/duration.js +18 -0
- package/dist/node_modules/d3-transition/src/transition/ease.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/ease.js +14 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/end.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/end.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/filter.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/filter.js +12 -0
- package/dist/node_modules/d3-transition/src/transition/index.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/index.js +65 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +11 -0
- package/dist/node_modules/d3-transition/src/transition/merge.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/merge.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/on.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/on.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/remove.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/remove.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.js +85 -0
- package/dist/node_modules/d3-transition/src/transition/select.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/select.js +14 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +18 -0
- package/dist/node_modules/d3-transition/src/transition/selection.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/selection.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/style.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/style.js +45 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +23 -0
- package/dist/node_modules/d3-transition/src/transition/text.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/text.js +18 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.js +23 -0
- package/dist/node_modules/d3-transition/src/transition/transition.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/transition.js +19 -0
- package/dist/node_modules/d3-transition/src/transition/tween.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/tween.js +56 -0
- package/dist/node_modules/internmap/src/index.cjs +1 -0
- package/dist/node_modules/internmap/src/index.js +35 -0
- package/dist/node_modules/parse-unit/index.cjs +1 -0
- package/dist/node_modules/parse-unit/index.js +11 -0
- package/dist/node_modules/striptags/src/striptags.cjs +2 -0
- package/dist/node_modules/striptags/src/striptags.js +118 -0
- package/dist/node_modules/stylis/src/Enum.cjs +1 -0
- package/dist/node_modules/stylis/src/Enum.js +12 -0
- package/dist/node_modules/stylis/src/Middleware.cjs +1 -0
- package/dist/node_modules/stylis/src/Middleware.js +18 -0
- package/dist/node_modules/stylis/src/Parser.cjs +1 -0
- package/dist/node_modules/stylis/src/Parser.js +131 -0
- package/dist/node_modules/stylis/src/Serializer.cjs +1 -0
- package/dist/node_modules/stylis/src/Serializer.js +27 -0
- package/dist/node_modules/stylis/src/Tokenizer.cjs +1 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +141 -0
- package/dist/node_modules/stylis/src/Utility.cjs +1 -0
- package/dist/node_modules/stylis/src/Utility.js +50 -0
- package/dist/node_modules/throttle-debounce/esm/index.cjs +1 -0
- package/dist/node_modules/throttle-debounce/esm/index.js +28 -0
- package/dist/node_modules/to-px/browser.cjs +1 -0
- package/dist/node_modules/to-px/browser.js +63 -0
- package/dist/types.cjs +1 -0
- package/dist/types.d.ts +5 -0
- package/dist/types.js +4 -0
- package/dist/utils.cjs +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +18 -0
- package/package.json +22 -26
- package/dist/vue-chrts.js +0 -8524
- package/dist/vue-chrts.umd.cjs +0 -373
package/dist/vue-chrts.umd.cjs
DELETED
|
@@ -1,373 +0,0 @@
|
|
|
1
|
-
(function(x,m){typeof exports=="object"&&typeof module<"u"?m(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],m):(x=typeof globalThis<"u"?globalThis:x||self,m(x["vue-chrts"]={},x.Vue))})(this,function(x,m){"use strict";function zl(t,e){if(e<=0)return[];if(e>=t)return Array.from({length:t},(i,r)=>r);if(e===1)return[Math.floor((t-1)/2)];if(e===2)return[0,t-1];const n=[];for(let i=0;i<e;i++){const r=Math.round(i*(t-1)/(e-1));n.push(r)}return n}var gi="http://www.w3.org/1999/xhtml";const Qr={svg:"http://www.w3.org/2000/svg",xhtml:gi,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Je(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Qr.hasOwnProperty(e)?{space:Qr[e],local:t}:t}function Il(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===gi&&e.documentElement.namespaceURI===gi?e.createElement(t):e.createElementNS(n,t)}}function Ul(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Jr(t){var e=Je(t);return(e.local?Ul:Il)(e)}function Hl(){}function pi(t){return t==null?Hl:function(){return this.querySelector(t)}}function Wl(t){typeof t!="function"&&(t=pi(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=new Array(s),l,c,h=0;h<s;++h)(l=o[h])&&(c=t.call(l,l.__data__,h,o))&&("__data__"in l&&(c.__data__=l.__data__),a[h]=c);return new tt(i,this._parents)}function Yl(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Vl(){return[]}function Kr(t){return t==null?Vl:function(){return this.querySelectorAll(t)}}function Xl(t){return function(){return Yl(t.apply(this,arguments))}}function ql(t){typeof t=="function"?t=Xl(t):t=Kr(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var s=e[o],a=s.length,l,c=0;c<a;++c)(l=s[c])&&(i.push(t.call(l,l.__data__,c,s)),r.push(l));return new tt(i,r)}function to(t){return function(){return this.matches(t)}}function eo(t){return function(e){return e.matches(t)}}var Gl=Array.prototype.find;function jl(t){return function(){return Gl.call(this.children,t)}}function Zl(){return this.firstElementChild}function Ql(t){return this.select(t==null?Zl:jl(typeof t=="function"?t:eo(t)))}var Jl=Array.prototype.filter;function Kl(){return Array.from(this.children)}function tc(t){return function(){return Jl.call(this.children,t)}}function ec(t){return this.selectAll(t==null?Kl:tc(typeof t=="function"?t:eo(t)))}function nc(t){typeof t!="function"&&(t=to(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=[],l,c=0;c<s;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&a.push(l);return new tt(i,this._parents)}function no(t){return new Array(t.length)}function ic(){return new tt(this._enter||this._groups.map(no),this._parents)}function Ke(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Ke.prototype={constructor:Ke,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function rc(t){return function(){return t}}function oc(t,e,n,i,r,o){for(var s=0,a,l=e.length,c=o.length;s<c;++s)(a=e[s])?(a.__data__=o[s],i[s]=a):n[s]=new Ke(t,o[s]);for(;s<l;++s)(a=e[s])&&(r[s]=a)}function sc(t,e,n,i,r,o,s){var a,l,c=new Map,h=e.length,u=o.length,f=new Array(h),d;for(a=0;a<h;++a)(l=e[a])&&(f[a]=d=s.call(l,l.__data__,a,e)+"",c.has(d)?r[a]=l:c.set(d,l));for(a=0;a<u;++a)d=s.call(t,o[a],a,o)+"",(l=c.get(d))?(i[a]=l,l.__data__=o[a],c.delete(d)):n[a]=new Ke(t,o[a]);for(a=0;a<h;++a)(l=e[a])&&c.get(f[a])===l&&(r[a]=l)}function ac(t){return t.__data__}function lc(t,e){if(!arguments.length)return Array.from(this,ac);var n=e?sc:oc,i=this._parents,r=this._groups;typeof t!="function"&&(t=rc(t));for(var o=r.length,s=new Array(o),a=new Array(o),l=new Array(o),c=0;c<o;++c){var h=i[c],u=r[c],f=u.length,d=cc(t.call(h,h&&h.__data__,c,i)),p=d.length,g=a[c]=new Array(p),v=s[c]=new Array(p),_=l[c]=new Array(f);n(h,u,g,v,_,d,e);for(var b=0,y=0,S,T;b<p;++b)if(S=g[b]){for(b>=y&&(y=b+1);!(T=v[y])&&++y<p;);S._next=T||null}}return s=new tt(s,i),s._enter=a,s._exit=l,s}function cc(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function uc(){return new tt(this._exit||this._groups.map(no),this._parents)}function hc(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function fc(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,s=Math.min(r,o),a=new Array(r),l=0;l<s;++l)for(var c=n[l],h=i[l],u=c.length,f=a[l]=new Array(u),d,p=0;p<u;++p)(d=c[p]||h[p])&&(f[p]=d);for(;l<r;++l)a[l]=n[l];return new tt(a,this._parents)}function dc(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],s;--r>=0;)(s=i[r])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function gc(t){t||(t=pc);function e(u,f){return u&&f?t(u.__data__,f.__data__):!u-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var s=n[o],a=s.length,l=r[o]=new Array(a),c,h=0;h<a;++h)(c=s[h])&&(l[h]=c);l.sort(e)}return new tt(r,this._parents).order()}function pc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function mc(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function vc(){return Array.from(this)}function _c(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var s=i[r];if(s)return s}return null}function yc(){let t=0;for(const e of this)++t;return t}function xc(){return!this.node()}function bc(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,s=r.length,a;o<s;++o)(a=r[o])&&t.call(a,a.__data__,o,r);return this}function wc(t){return function(){this.removeAttribute(t)}}function kc(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Tc(t,e){return function(){this.setAttribute(t,e)}}function Sc(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Cc(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function Mc(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Ac(t,e){var n=Je(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?kc:wc:typeof e=="function"?n.local?Mc:Cc:n.local?Sc:Tc)(n,e))}function io(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function $c(t){return function(){this.style.removeProperty(t)}}function Ec(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Nc(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function Oc(t,e,n){return arguments.length>1?this.each((e==null?$c:typeof e=="function"?Nc:Ec)(t,e,n??"")):ie(this.node(),t)}function ie(t,e){return t.style.getPropertyValue(e)||io(t).getComputedStyle(t,null).getPropertyValue(e)}function Pc(t){return function(){delete this[t]}}function Dc(t,e){return function(){this[t]=e}}function Rc(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Fc(t,e){return arguments.length>1?this.each((e==null?Pc:typeof e=="function"?Rc:Dc)(t,e)):this.node()[t]}function ro(t){return t.trim().split(/^|\s+/)}function mi(t){return t.classList||new oo(t)}function oo(t){this._node=t,this._names=ro(t.getAttribute("class")||"")}oo.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function so(t,e){for(var n=mi(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function ao(t,e){for(var n=mi(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function Lc(t){return function(){so(this,t)}}function Bc(t){return function(){ao(this,t)}}function zc(t,e){return function(){(e.apply(this,arguments)?so:ao)(this,t)}}function Ic(t,e){var n=ro(t+"");if(arguments.length<2){for(var i=mi(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?zc:e?Lc:Bc)(n,e))}function Uc(){this.textContent=""}function Hc(t){return function(){this.textContent=t}}function Wc(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function Yc(t){return arguments.length?this.each(t==null?Uc:(typeof t=="function"?Wc:Hc)(t)):this.node().textContent}function Vc(){this.innerHTML=""}function Xc(t){return function(){this.innerHTML=t}}function qc(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Gc(t){return arguments.length?this.each(t==null?Vc:(typeof t=="function"?qc:Xc)(t)):this.node().innerHTML}function jc(){this.nextSibling&&this.parentNode.appendChild(this)}function Zc(){return this.each(jc)}function Qc(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Jc(){return this.each(Qc)}function Kc(t){var e=typeof t=="function"?t:Jr(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function tu(){return null}function eu(t,e){var n=typeof t=="function"?t:Jr(t),i=e==null?tu:typeof e=="function"?e:pi(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function nu(){var t=this.parentNode;t&&t.removeChild(this)}function iu(){return this.each(nu)}function ru(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ou(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function su(t){return this.select(t?ou:ru)}function au(t){return arguments.length?this.property("__data__",t):this.node().__data__}function lu(t){return function(e){t.call(this,e,this.__data__)}}function cu(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function uu(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function hu(t,e,n){return function(){var i=this.__on,r,o=lu(e);if(i){for(var s=0,a=i.length;s<a;++s)if((r=i[s]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function fu(t,e,n){var i=cu(t+""),r,o=i.length,s;if(arguments.length<2){var a=this.node().__on;if(a){for(var l=0,c=a.length,h;l<c;++l)for(r=0,h=a[l];r<o;++r)if((s=i[r]).type===h.type&&s.name===h.name)return h.value}return}for(a=e?hu:uu,r=0;r<o;++r)this.each(a(i[r],e,n));return this}function lo(t,e,n){var i=io(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function du(t,e){return function(){return lo(this,t,e)}}function gu(t,e){return function(){return lo(this,t,e.apply(this,arguments))}}function pu(t,e){return this.each((typeof e=="function"?gu:du)(t,e))}function*mu(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,s;r<o;++r)(s=i[r])&&(yield s)}var co=[null];function tt(t,e){this._groups=t,this._parents=e}function be(){return new tt([[document.documentElement]],co)}function vu(){return this}tt.prototype=be.prototype={constructor:tt,select:Wl,selectAll:ql,selectChild:Ql,selectChildren:ec,filter:nc,data:lc,enter:ic,exit:uc,join:hc,merge:fc,selection:vu,order:dc,sort:gc,call:mc,nodes:vc,node:_c,size:yc,empty:xc,each:bc,attr:Ac,style:Oc,property:Fc,classed:Ic,text:Yc,html:Gc,raise:Zc,lower:Jc,append:Kc,insert:eu,remove:iu,clone:su,datum:au,on:fu,dispatch:pu,[Symbol.iterator]:mu};function j(t){return typeof t=="string"?new tt([[document.querySelector(t)]],[document.documentElement]):new tt([[t]],co)}function _u(t){let e;for(;e=t.sourceEvent;)t=e;return t}function tn(t,e){if(t=_u(t),e===void 0&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=t.clientX,i.y=t.clientY,i=i.matrixTransform(e.getScreenCTM().inverse()),[i.x,i.y]}if(e.getBoundingClientRect){var r=e.getBoundingClientRect();return[t.clientX-r.left-e.clientLeft,t.clientY-r.top-e.clientTop]}}return[t.pageX,t.pageY]}var we;(function(t){t[t.SVG=0]="SVG",t[t.HTML=1]="HTML"})(we||(we={}));var re;(function(t){t.Fit="fit",t.Extend="extend",t.FitWidth="fit_width"})(re||(re={}));function ke(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function yu(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function en(t){let e,n,i;t.length!==2?(e=ke,n=(a,l)=>ke(t(a),l),i=(a,l)=>t(a)-l):(e=t===ke||t===yu?t:xu,n=t,i=t);function r(a,l,c=0,h=a.length){if(c<h){if(e(l,l)!==0)return h;do{const u=c+h>>>1;n(a[u],l)<0?c=u+1:h=u}while(c<h)}return c}function o(a,l,c=0,h=a.length){if(c<h){if(e(l,l)!==0)return h;do{const u=c+h>>>1;n(a[u],l)<=0?c=u+1:h=u}while(c<h)}return c}function s(a,l,c=0,h=a.length){const u=r(a,l,c,h-1);return u>c&&i(a[u-1],l)>-i(a[u],l)?u-1:u}return{left:r,center:s,right:o}}function xu(){return 0}function uo(t){return t===null?NaN:+t}const nn=en(ke).right;en(uo).center;function bu(t,e){let n,i;for(const r of t)r!=null&&(n===void 0?r>=r&&(n=i=r):(n>r&&(n=r),i<r&&(i=r)));return[n,i]}class ho extends Map{constructor(e,n=Tu){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[i,r]of e)this.set(i,r)}get(e){return super.get(fo(this,e))}has(e){return super.has(fo(this,e))}set(e,n){return super.set(wu(this,e),n)}delete(e){return super.delete(ku(this,e))}}function fo({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):n}function wu({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):(t.set(i,n),n)}function ku({_intern:t,_key:e},n){const i=e(n);return t.has(i)&&(n=t.get(i),t.delete(i)),n}function Tu(t){return t!==null&&typeof t=="object"?t.valueOf():t}const Su=Math.sqrt(50),Cu=Math.sqrt(10),Mu=Math.sqrt(2);function rn(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),s=o>=Su?10:o>=Cu?5:o>=Mu?2:1;let a,l,c;return r<0?(c=Math.pow(10,-r)/s,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,r)*s,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?rn(t,e,n*2):[a,l,c]}function vi(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const i=e<t,[r,o,s]=i?rn(e,t,n):rn(t,e,n);if(!(o>=r))return[];const a=o-r+1,l=new Array(a);if(i)if(s<0)for(let c=0;c<a;++c)l[c]=(o-c)/-s;else for(let c=0;c<a;++c)l[c]=(o-c)*s;else if(s<0)for(let c=0;c<a;++c)l[c]=(r+c)/-s;else for(let c=0;c<a;++c)l[c]=(r+c)*s;return l}function _i(t,e,n){return e=+e,t=+t,n=+n,rn(t,e,n)[2]}function yi(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?_i(e,t,n):_i(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}function go(t,e){let n;if(e===void 0)for(const i of t)i!=null&&(n<i||n===void 0&&i>=i)&&(n=i);else{let i=-1;for(let r of t)(r=e(r,++i,t))!=null&&(n<r||n===void 0&&r>=r)&&(n=r)}return n}function po(t,e){let n;if(e===void 0)for(const i of t)i!=null&&(n>i||n===void 0&&i>=i)&&(n=i);else{let i=-1;for(let r of t)(r=e(r,++i,t))!=null&&(n>r||n===void 0&&r>=r)&&(n=r)}return n}function Au(t,e,n=uo){if(!(!(i=t.length)||isNaN(e=+e))){if(e<=0||i<2)return+n(t[0],0,t);if(e>=1)return+n(t[i-1],i-1,t);var i,r=(i-1)*e,o=Math.floor(r),s=+n(t[o],o,t),a=+n(t[o+1],o+1,t);return s+(a-s)*(r-o)}}function $u(t,e){let n=0,i=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&(++n,i+=r);else{let r=-1;for(let o of t)(o=e(o,++r,t))!=null&&(o=+o)>=o&&(++n,i+=o)}if(n)return i/n}function*Eu(t){for(const e of t)yield*e}function Nu(t){return Array.from(Eu(t))}function Ou(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;for(var i=-1,r=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(r);++i<r;)o[i]=t+i*n;return o}function Pu(t,e){let n=0;if(e===void 0)for(let i of t)(i=+i)&&(n+=i);else{let i=-1;for(let r of t)(r=+e(r,++i,t))&&(n+=r)}return n}function Du(t,e,n){var i={},r=i.noTrailing,o=r===void 0?!1:r,s=i.noLeading,a=s===void 0?!1:s,l=i.debounceMode,c=l===void 0?void 0:l,h,u=!1,f=0;function d(){h&&clearTimeout(h)}function p(v){var _=v||{},b=_.upcomingOnly,y=b===void 0?!1:b;d(),u=!y}function g(){for(var v=arguments.length,_=new Array(v),b=0;b<v;b++)_[b]=arguments[b];var y=this,S=Date.now()-f;if(u)return;function T(){f=Date.now(),e.apply(y,_)}function k(){h=void 0}!a&&c&&!h&&T(),d(),c===void 0&&S>t?a?(f=Date.now(),o||(h=setTimeout(c?k:T,t))):T():o!==!0&&(h=setTimeout(c?k:T,c===void 0?t-S:t))}return g.cancel=p,g}const vt=t=>typeof t=="number",xi=t=>typeof t=="function",Bt=t=>Array.isArray(t),Ru=t=>t instanceof Object,on=t=>t.constructor.name!=="Function"&&t.constructor.name!=="Object",mo=t=>Ru(t)&&!Bt(t)&&!xi(t)&&!on(t),Te=(t,e,n=[],i=new Set)=>{if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;if(i.has(t))return!0;i.add(t);for(let r=0;r<t.length;r++)if(!Te(t[r],e[r],n,i))return!1;return!0}if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(typeof t=="object"&&t!==null&&e!==null){if(typeof e!="object")return!1;if(t===e)return!0;const r=Object.keys(t).filter(s=>!n.includes(s)),o=Object.keys(e).filter(s=>!n.includes(s));if(r.length!==o.length)return!1;if(i.has(t))return!0;i.add(t);for(const s of r)if(!Te(t[s],e[s],n,i))return!1;return!0}return t===e},bi=t=>t.flat(),sn=(t,e=new Map)=>{if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof Array){const n=[];e.set(t,n);for(const i of t)n.push(e.has(i)?e.get(i):sn(i,e));return n}if(on(t))return t;if(t instanceof Object){const n={};e.set(t,n);const i=t;return Object.keys(t).reduce((r,o)=>(r[o]=e.has(i[o])?e.get(i[o]):sn(i[o],e),r),n),n}return t},zt=(t,e,n=new Map)=>{if(!t||!e||t===e)return t;const i=on(t)?t:sn(t);return n.has(e)?n.get(e):(n.set(e,i),Object.keys(e).forEach(r=>{r==="__proto__"||r==="constructor"||(mo(t[r])&&mo(e[r])?i[r]=zt(t[r],e[r],n):on(e)?i[r]=e:i[r]=sn(e[r]))}),i)},an=(t,e,n)=>Du(e,t);function wi(t,e,n){return xi(e)?e(t,n):e}function ln(t,e,n){return wi(t,e,n)}function W(t,e,n){return wi(t,e,n)}function Se(t){return t.filter(e=>e&&!vt(e))}function Ot(t,e,n){return Math.min(Math.max(t,e),n)}function Fu(t,...e){if(!t)return[void 0,void 0];if(Bt(e)){let n=0,i=0;return t.forEach((r,o)=>{let s=0,a=0;for(const l of e){const c=W(r,l,o)||0;c>=0?s+=c:a+=c}s>i&&(i=s),a<n&&(n=a)}),[n,i]}}function Lu(t,e,...n){const i=[];let r=0,o=0;for(const s of n){const a=W(t,s,e)||0;a>=0?i.push(r+=a):i.push(o+=a)}return i}function Bu(t,e,n,i){const r=t.map((a,l)=>W(a,e,l)||0),o=n.map((a,l)=>{const c=$u(t,(h,u)=>W(h,a,u)||0);return c===0&&Array.isArray(i)?i[l]:c<0}),s=n.map(()=>[]);return t.forEach((a,l)=>{let c=r[l],h=r[l];n.forEach((u,f)=>{const d=W(a,u,l)||0;d>=0?s[f].push([c,c+=d]):s[f].push([h,h+=d])})}),s.forEach((a,l)=>{a.isMostlyNegative=o[l]}),s}function zu(t,...e){return t?po(t,(i,r)=>po(e,o=>W(i,o,r))):void 0}function Iu(t,...e){return t?go(t,(i,r)=>go(e,o=>W(i,o,r))):void 0}function ki(t,...e){return[zu(t,...e),Iu(t,...e)]}function Uu(t,e,n){if(t.length<=1)return t[0];const i=t.map((s,a)=>W(s,n,a));i.sort((s,a)=>s-a);const r=en(s=>s).left,o=r(i,e,1,t.length-1);return e-i[o-1]>i[o]-e?t[o]:t[o-1]}function vo(t,e,n){return t.filter((r,o)=>{const s=W(r,n,o);return s>=e[0]&&s<=e[1]})}var It=[],Hu=function(){return It.some(function(t){return t.activeTargets.length>0})},Wu=function(){return It.some(function(t){return t.skippedTargets.length>0})},_o="ResizeObserver loop completed with undelivered notifications.",Yu=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:_o}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=_o),window.dispatchEvent(t)},Ce;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ce||(Ce={}));var Ut=function(t){return Object.freeze(t)},Vu=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,Ut(this)}return t}(),yo=function(){function t(e,n,i,r){return this.x=e,this.y=n,this.width=i,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Ut(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,i=e.y,r=e.top,o=e.right,s=e.bottom,a=e.left,l=e.width,c=e.height;return{x:n,y:i,top:r,right:o,bottom:s,left:a,width:l,height:c}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Ti=function(t){return t instanceof SVGElement&&"getBBox"in t},xo=function(t){if(Ti(t)){var e=t.getBBox(),n=e.width,i=e.height;return!n&&!i}var r=t,o=r.offsetWidth,s=r.offsetHeight;return!(o||s||t.getClientRects().length)},bo=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Xu=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Me=typeof window<"u"?window:{},cn=new WeakMap,wo=/auto|scroll/,qu=/^tb|vertical/,Gu=/msie|trident/i.test(Me.navigator&&Me.navigator.userAgent),_t=function(t){return parseFloat(t||"0")},oe=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Vu((n?e:t)||0,(n?t:e)||0)},ko=Ut({devicePixelContentBoxSize:oe(),borderBoxSize:oe(),contentBoxSize:oe(),contentRect:new yo(0,0,0,0)}),To=function(t,e){if(e===void 0&&(e=!1),cn.has(t)&&!e)return cn.get(t);if(xo(t))return cn.set(t,ko),ko;var n=getComputedStyle(t),i=Ti(t)&&t.ownerSVGElement&&t.getBBox(),r=!Gu&&n.boxSizing==="border-box",o=qu.test(n.writingMode||""),s=!i&&wo.test(n.overflowY||""),a=!i&&wo.test(n.overflowX||""),l=i?0:_t(n.paddingTop),c=i?0:_t(n.paddingRight),h=i?0:_t(n.paddingBottom),u=i?0:_t(n.paddingLeft),f=i?0:_t(n.borderTopWidth),d=i?0:_t(n.borderRightWidth),p=i?0:_t(n.borderBottomWidth),g=i?0:_t(n.borderLeftWidth),v=u+c,_=l+h,b=g+d,y=f+p,S=a?t.offsetHeight-y-t.clientHeight:0,T=s?t.offsetWidth-b-t.clientWidth:0,k=r?v+b:0,C=r?_+y:0,B=i?i.width:_t(n.width)-k-T,F=i?i.height:_t(n.height)-C-S,it=B+v+T+b,A=F+_+S+y,U=Ut({devicePixelContentBoxSize:oe(Math.round(B*devicePixelRatio),Math.round(F*devicePixelRatio),o),borderBoxSize:oe(it,A,o),contentBoxSize:oe(B,F,o),contentRect:new yo(u,l,B,F)});return cn.set(t,U),U},So=function(t,e,n){var i=To(t,n),r=i.borderBoxSize,o=i.contentBoxSize,s=i.devicePixelContentBoxSize;switch(e){case Ce.DEVICE_PIXEL_CONTENT_BOX:return s;case Ce.BORDER_BOX:return r;default:return o}},ju=function(){function t(e){var n=To(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=Ut([n.borderBoxSize]),this.contentBoxSize=Ut([n.contentBoxSize]),this.devicePixelContentBoxSize=Ut([n.devicePixelContentBoxSize])}return t}(),Co=function(t){if(xo(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Zu=function(){var t=1/0,e=[];It.forEach(function(s){if(s.activeTargets.length!==0){var a=[];s.activeTargets.forEach(function(c){var h=new ju(c.target),u=Co(c.target);a.push(h),c.lastReportedSize=So(c.target,c.observedBox),u<t&&(t=u)}),e.push(function(){s.callback.call(s.observer,a,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var n=0,i=e;n<i.length;n++){var r=i[n];r()}return t},Mo=function(t){It.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(r){r.isActive()&&(Co(r.target)>t?n.activeTargets.push(r):n.skippedTargets.push(r))})})},Qu=function(){var t=0;for(Mo(t);Hu();)t=Zu(),Mo(t);return Wu()&&Yu(),t>0},Si,Ao=[],Ju=function(){return Ao.splice(0).forEach(function(t){return t()})},Ku=function(t){if(!Si){var e=0,n=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return Ju()}).observe(n,i),Si=function(){n.textContent="".concat(e?e--:e++)}}Ao.push(t),Si()},th=function(t){Ku(function(){requestAnimationFrame(t)})},un=0,eh=function(){return!!un},nh=250,ih={attributes:!0,characterData:!0,childList:!0,subtree:!0},$o=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Eo=function(t){return t===void 0&&(t=0),Date.now()+t},Ci=!1,rh=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=nh),!Ci){Ci=!0;var i=Eo(e);th(function(){var r=!1;try{r=Qu()}finally{if(Ci=!1,e=i-Eo(),!eh())return;r?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,ih)};document.body?n():Me.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),$o.forEach(function(n){return Me.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),$o.forEach(function(n){return Me.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),Mi=new rh,No=function(t){!un&&t>0&&Mi.start(),un+=t,!un&&Mi.stop()},oh=function(t){return!Ti(t)&&!Xu(t)&&getComputedStyle(t).display==="inline"},sh=function(){function t(e,n){this.target=e,this.observedBox=n||Ce.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=So(this.target,this.observedBox,!0);return oh(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),ah=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),hn=new WeakMap,Oo=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},fn=function(){function t(){}return t.connect=function(e,n){var i=new ah(e,n);hn.set(e,i)},t.observe=function(e,n,i){var r=hn.get(e),o=r.observationTargets.length===0;Oo(r.observationTargets,n)<0&&(o&&It.push(r),r.observationTargets.push(new sh(n,i&&i.box)),No(1),Mi.schedule())},t.unobserve=function(e,n){var i=hn.get(e),r=Oo(i.observationTargets,n),o=i.observationTargets.length===1;r>=0&&(o&&It.splice(It.indexOf(i),1),i.observationTargets.splice(r,1),No(-1))},t.disconnect=function(e){var n=this,i=hn.get(e);i.observationTargets.slice().forEach(function(r){return n.unobserve(e,r.target)}),i.activeTargets.splice(0,i.activeTargets.length)},t}(),lh=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");fn.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!bo(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");fn.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!bo(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");fn.unobserve(this,e)},t.prototype.disconnect=function(){fn.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();const ch=globalThis.ResizeObserver||lh,Po={duration:void 0,margin:{top:0,bottom:0,left:0,right:0},padding:{top:0,bottom:0,left:0,right:0},sizing:re.Fit,width:void 0,height:void 0,svgDefs:void 0,ariaLabel:void 0};class Ae{constructor(e){this._defaultConfig=Po,this._isFirstRender=!0,this._renderAnimationFrameId=null,this._container=e;const n=j(this._container);n.attr("role","figure"),this.svg=n.append("svg").style("display","block").attr("xmlns","http://www.w3.org/2000/svg").attr("height",Ae.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden",!0),this._svgDefs=this.svg.append("defs"),this._svgDefsExternal=this.svg.append("defs"),this.element=this.svg.node()}updateContainer(e){var n;this.prevConfig=this.config,this.config=zt(this._defaultConfig,e),(e==null?void 0:e.svgDefs)!==((n=this.prevConfig)===null||n===void 0?void 0:n.svgDefs)&&(this._svgDefsExternal.selectAll("*").remove(),this._svgDefsExternal.html(e.svgDefs))}_preRender(){}_render(e){const{config:n}=this;j(this._container).attr("aria-label",n.ariaLabel),this._isFirstRender=!1}render(e=this.config.duration){const n=this.config.width||this.containerWidth,i=this.config.height||this.containerHeight;this.svg.attr("width",n).attr("height",i),this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(e)})}get containerWidth(){return this.config.width?this.element.clientWidth:this._container.clientWidth||this._container.getBoundingClientRect().width}get containerHeight(){return this.config.height?this.element.clientHeight:this._container.clientHeight||this._container.getBoundingClientRect().height||Ae.DEFAULT_CONTAINER_HEIGHT}get width(){return Ot(this.containerWidth-this.config.margin.left-this.config.margin.right,0,Number.POSITIVE_INFINITY)}get height(){return Ot(this.containerHeight-this.config.margin.top-this.config.margin.bottom,0,Number.POSITIVE_INFINITY)}_removeAllChildren(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild)}_onResize(){const{config:e}=this;(e.sizing===re.Fit||e.sizing===re.FitWidth)&&this.render(0)}_setUpResizeObserver(){if(this._resizeObserver)return;const e=this._container.getBoundingClientRect();this._containerSize={width:e.width,height:e.height},this._resizeObserver=new ch((n,i)=>{cancelAnimationFrame(this._resizeObserverAnimationFrameId),this._resizeObserverAnimationFrameId=requestAnimationFrame(()=>{const r=this._container.getBoundingClientRect(),o={width:r.width,height:r.height};!Te(this._containerSize,o)&&o.width&&o.height&&(this._containerSize=o,this._onResize())})}),this._resizeObserver.observe(this._container)}destroy(){var e;cancelAnimationFrame(this._renderAnimationFrameId),cancelAnimationFrame(this._resizeObserverAnimationFrameId),(e=this._resizeObserver)===null||e===void 0||e.disconnect(),this.svg.remove()}}Ae.DEFAULT_CONTAINER_HEIGHT=300;function uh(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function hh(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var fh=function(){function t(n){var i=this;this._insertTag=function(r){var o;i.tags.length===0?i.insertionPoint?o=i.insertionPoint.nextSibling:i.prepend?o=i.container.firstChild:o=i.before:o=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,o),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(hh(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=uh(r);try{o.insertRule(i,o.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},t}(),G="-ms-",dn="-moz-",P="-webkit-",Do="comm",Ai="rule",$i="decl",dh="@import",Ro="@keyframes",gh="@layer",ph=Math.abs,gn=String.fromCharCode,mh=Object.assign;function vh(t,e){return q(t,0)^45?(((e<<2^q(t,0))<<2^q(t,1))<<2^q(t,2))<<2^q(t,3):0}function Fo(t){return t.trim()}function _h(t,e){return(t=e.exec(t))?t[0]:t}function D(t,e,n){return t.replace(e,n)}function Ei(t,e){return t.indexOf(e)}function q(t,e){return t.charCodeAt(e)|0}function $e(t,e,n){return t.slice(e,n)}function yt(t){return t.length}function Ni(t){return t.length}function pn(t,e){return e.push(t),t}function yh(t,e){return t.map(e).join("")}var mn=1,se=1,Lo=0,Z=0,H=0,ae="";function vn(t,e,n,i,r,o,s){return{value:t,root:e,parent:n,type:i,props:r,children:o,line:mn,column:se,length:s,return:""}}function Ee(t,e){return mh(vn("",null,null,"",null,null,0),t,{length:-t.length},e)}function xh(){return H}function bh(){return H=Z>0?q(ae,--Z):0,se--,H===10&&(se=1,mn--),H}function et(){return H=Z<Lo?q(ae,Z++):0,se++,H===10&&(se=1,mn++),H}function xt(){return q(ae,Z)}function _n(){return Z}function Ne(t,e){return $e(ae,t,e)}function Oe(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Bo(t){return mn=se=1,Lo=yt(ae=t),Z=0,[]}function zo(t){return ae="",t}function yn(t){return Fo(Ne(Z-1,Oi(t===91?t+2:t===40?t+1:t)))}function wh(t){for(;(H=xt())&&H<33;)et();return Oe(t)>2||Oe(H)>3?"":" "}function kh(t,e){for(;--e&&et()&&!(H<48||H>102||H>57&&H<65||H>70&&H<97););return Ne(t,_n()+(e<6&&xt()==32&&et()==32))}function Oi(t){for(;et();)switch(H){case t:return Z;case 34:case 39:t!==34&&t!==39&&Oi(H);break;case 40:t===41&&Oi(t);break;case 92:et();break}return Z}function Th(t,e){for(;et()&&t+H!==57;)if(t+H===84&&xt()===47)break;return"/*"+Ne(e,Z-1)+"*"+gn(t===47?t:et())}function Sh(t){for(;!Oe(xt());)et();return Ne(t,Z)}function Ch(t){return zo(xn("",null,null,null,[""],t=Bo(t),0,[0],t))}function xn(t,e,n,i,r,o,s,a,l){for(var c=0,h=0,u=s,f=0,d=0,p=0,g=1,v=1,_=1,b=0,y="",S=r,T=o,k=i,C=y;v;)switch(p=b,b=et()){case 40:if(p!=108&&q(C,u-1)==58){Ei(C+=D(yn(b),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:C+=yn(b);break;case 9:case 10:case 13:case 32:C+=wh(p);break;case 92:C+=kh(_n()-1,7);continue;case 47:switch(xt()){case 42:case 47:pn(Mh(Th(et(),_n()),e,n),l);break;default:C+="/"}break;case 123*g:a[c++]=yt(C)*_;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+h:_==-1&&(C=D(C,/\f/g,"")),d>0&&yt(C)-u&&pn(d>32?Uo(C+";",i,n,u-1):Uo(D(C," ","")+";",i,n,u-2),l);break;case 59:C+=";";default:if(pn(k=Io(C,e,n,c,h,r,a,y,S=[],T=[],u),o),b===123)if(h===0)xn(C,e,k,k,S,o,u,a,T);else switch(f===99&&q(C,3)===110?100:f){case 100:case 108:case 109:case 115:xn(t,k,k,i&&pn(Io(t,k,k,0,0,r,a,y,r,S=[],u),T),r,T,u,a,i?S:T);break;default:xn(C,k,k,k,[""],T,0,a,T)}}c=h=d=0,g=_=1,y=C="",u=s;break;case 58:u=1+yt(C),d=p;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&bh()==125)continue}switch(C+=gn(b),b*g){case 38:_=h>0?1:(C+="\f",-1);break;case 44:a[c++]=(yt(C)-1)*_,_=1;break;case 64:xt()===45&&(C+=yn(et())),f=xt(),h=u=yt(y=C+=Sh(_n())),b++;break;case 45:p===45&&yt(C)==2&&(g=0)}}return o}function Io(t,e,n,i,r,o,s,a,l,c,h){for(var u=r-1,f=r===0?o:[""],d=Ni(f),p=0,g=0,v=0;p<i;++p)for(var _=0,b=$e(t,u+1,u=ph(g=s[p])),y=t;_<d;++_)(y=Fo(g>0?f[_]+" "+b:D(b,/&\f/g,f[_])))&&(l[v++]=y);return vn(t,e,n,r===0?Ai:a,l,c,h)}function Mh(t,e,n){return vn(t,e,n,Do,gn(xh()),$e(t,2,-2),0)}function Uo(t,e,n,i){return vn(t,e,n,$i,$e(t,0,i),$e(t,i+1,-1),i)}function le(t,e){for(var n="",i=Ni(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function Ah(t,e,n,i){switch(t.type){case gh:if(t.children.length)break;case dh:case $i:return t.return=t.return||t.value;case Do:return"";case Ro:return t.return=t.value+"{"+le(t.children,i)+"}";case Ai:t.value=t.props.join(",")}return yt(n=le(t.children,i))?t.return=t.value+"{"+n+"}":""}function $h(t){var e=Ni(t);return function(n,i,r,o){for(var s="",a=0;a<e;a++)s+=t[a](n,i,r,o)||"";return s}}function Eh(t){return function(e){e.root||(e=e.return)&&t(e)}}function Nh(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Oh=function(e,n,i){for(var r=0,o=0;r=o,o=xt(),r===38&&o===12&&(n[i]=1),!Oe(o);)et();return Ne(e,Z)},Ph=function(e,n){var i=-1,r=44;do switch(Oe(r)){case 0:r===38&&xt()===12&&(n[i]=1),e[i]+=Oh(Z-1,n,i);break;case 2:e[i]+=yn(r);break;case 4:if(r===44){e[++i]=xt()===58?"&\f":"",n[i]=e[i].length;break}default:e[i]+=gn(r)}while(r=et());return e},Dh=function(e,n){return zo(Ph(Bo(e),n))},Ho=new WeakMap,Rh=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!Ho.get(i))&&!r){Ho.set(e,!0);for(var o=[],s=Dh(n,o),a=i.props,l=0,c=0;l<s.length;l++)for(var h=0;h<a.length;h++,c++)e.props[c]=o[l]?s[l].replace(/&\f/g,a[h]):a[h]+" "+s[l]}}},Fh=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function Wo(t,e){switch(vh(t,e)){case 5103:return P+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return P+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return P+t+dn+t+G+t+t;case 6828:case 4268:return P+t+G+t+t;case 6165:return P+t+G+"flex-"+t+t;case 5187:return P+t+D(t,/(\w+).+(:[^]+)/,P+"box-$1$2"+G+"flex-$1$2")+t;case 5443:return P+t+G+"flex-item-"+D(t,/flex-|-self/,"")+t;case 4675:return P+t+G+"flex-line-pack"+D(t,/align-content|flex-|-self/,"")+t;case 5548:return P+t+G+D(t,"shrink","negative")+t;case 5292:return P+t+G+D(t,"basis","preferred-size")+t;case 6060:return P+"box-"+D(t,"-grow","")+P+t+G+D(t,"grow","positive")+t;case 4554:return P+D(t,/([^-])(transform)/g,"$1"+P+"$2")+t;case 6187:return D(D(D(t,/(zoom-|grab)/,P+"$1"),/(image-set)/,P+"$1"),t,"")+t;case 5495:case 3959:return D(t,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return D(D(t,/(.+:)(flex-)?(.*)/,P+"box-pack:$3"+G+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+P+t+t;case 4095:case 3583:case 4068:case 2532:return D(t,/(.+)-inline(.+)/,P+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(yt(t)-1-e>6)switch(q(t,e+1)){case 109:if(q(t,e+4)!==45)break;case 102:return D(t,/(.+:)(.+)-([^]+)/,"$1"+P+"$2-$3$1"+dn+(q(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Ei(t,"stretch")?Wo(D(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(q(t,e+1)!==115)break;case 6444:switch(q(t,yt(t)-3-(~Ei(t,"!important")&&10))){case 107:return D(t,":",":"+P)+t;case 101:return D(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+P+(q(t,14)===45?"inline-":"")+"box$3$1"+P+"$2$3$1"+G+"$2box$3")+t}break;case 5936:switch(q(t,e+11)){case 114:return P+t+G+D(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return P+t+G+D(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return P+t+G+D(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return P+t+G+t+t}return t}var Lh=function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case $i:e.return=Wo(e.value,e.length);break;case Ro:return le([Ee(e,{value:D(e.value,"@","@"+P)})],r);case Ai:if(e.length)return yh(e.props,function(o){switch(_h(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return le([Ee(e,{props:[D(o,/:(read-\w+)/,":"+dn+"$1")]})],r);case"::placeholder":return le([Ee(e,{props:[D(o,/:(plac\w+)/,":"+P+"input-$1")]}),Ee(e,{props:[D(o,/:(plac\w+)/,":"+dn+"$1")]}),Ee(e,{props:[D(o,/:(plac\w+)/,G+"input-$1")]})],r)}return""})}},Bh=[Lh],zh=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var r=e.stylisPlugins||Bh,o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),_=1;_<v.length;_++)o[v[_]]=!0;a.push(g)});var l,c=[Rh,Fh];{var h,u=[Ah,Eh(function(g){h.insert(g)})],f=$h(c.concat(r,u)),d=function(v){return le(Ch(v),f)};l=function(v,_,b,y){h=b,d(v?v+"{"+_.styles+"}":_.styles),y&&(p.inserted[_.name]=!0)}}var p={key:n,sheet:new fh({key:n,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:l};return p.sheet.hydrate(a),p};function Ih(t){for(var e=0,n,i=0,r=t.length;r>=4;++i,r-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(r){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Uh={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Hh=/[A-Z]|^ms/g,Wh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Yo=function(e){return e.charCodeAt(1)===45},Vo=function(e){return e!=null&&typeof e!="boolean"},Pi=Nh(function(t){return Yo(t)?t:t.replace(Hh,"-$&").toLowerCase()}),Xo=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(Wh,function(i,r,o){return Pt={name:r,styles:o,next:Pt},r})}return Uh[e]!==1&&!Yo(e)&&typeof n=="number"&&n!==0?n+"px":n};function bn(t,e,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return Pt={name:r.name,styles:r.styles,next:Pt},r.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)Pt={name:s.name,styles:s.styles,next:Pt},s=s.next;var a=o.styles+";";return a}return Yh(t,e,n)}}var l=n;if(e==null)return l;var c=e[l];return c!==void 0?c:l}function Yh(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=bn(t,e,n[r])+";";else for(var o in n){var s=n[o];if(typeof s!="object"){var a=s;e!=null&&e[a]!==void 0?i+=o+"{"+e[a]+"}":Vo(a)&&(i+=Pi(o)+":"+Xo(o,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(e==null||e[s[0]]===void 0))for(var l=0;l<s.length;l++)Vo(s[l])&&(i+=Pi(o)+":"+Xo(o,s[l])+";");else{var c=bn(t,e,s);switch(o){case"animation":case"animationName":{i+=Pi(o)+":"+c+";";break}default:i+=o+"{"+c+"}"}}}return i}var qo=/label:\s*([^\s;{]+)\s*(;|$)/g,Pt;function Di(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,r="";Pt=void 0;var o=t[0];if(o==null||o.raw===void 0)i=!1,r+=bn(n,e,o);else{var s=o;r+=s[0]}for(var a=1;a<t.length;a++)if(r+=bn(n,e,t[a]),i){var l=o;r+=l[a]}qo.lastIndex=0;for(var c="",h;(h=qo.exec(r))!==null;)c+="-"+h[1];var u=Ih(r)+c;return{name:u,styles:r,next:Pt}}function Go(t,e,n){var i="";return n.split(" ").forEach(function(r){t[r]!==void 0?e.push(t[r]+";"):r&&(i+=r+" ")}),i}var Vh=function(e,n,i){var r=e.key+"-"+n.name;e.registered[r]===void 0&&(e.registered[r]=n.styles)},Xh=function(e,n,i){Vh(e,n);var r=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+r:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function jo(t,e){if(t.inserted[e.name]===void 0)return t.insert("",e,t.sheet,!0)}function Zo(t,e,n){var i=[],r=Go(t,i,n);return i.length<2?n:r+e(i)}var qh=function(e){var n=zh(e);n.sheet.speedy=function(a){this.isSpeedy=a},n.compat=!0;var i=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];var u=Di(c,n.registered,void 0);return Xh(n,u),n.key+"-"+u.name},r=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];var u=Di(c,n.registered),f="animation-"+u.name;return jo(n,{name:u.name,styles:"@keyframes "+f+"{"+u.styles+"}"}),f},o=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];var u=Di(c,n.registered);jo(n,u)},s=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];return Zo(n.registered,i,Gh(c))};return{css:i,cx:s,injectGlobal:o,keyframes:r,hydrate:function(l){l.forEach(function(c){n.inserted[c]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:Go.bind(null,n.registered),merge:Zo.bind(null,n.registered,i)}},Gh=function t(e){for(var n="",i=0;i<e.length;i++){var r=e[i];if(r!=null){var o=void 0;switch(typeof r){case"boolean":break;case"object":{if(Array.isArray(r))o=t(r);else{o="";for(var s in r)r[s]&&s&&(o&&(o+=" "),o+=s)}break}default:o=r}o&&(n&&(n+=" "),n+=o)}}return n},Qo=qh({key:"css"}),Ht=Qo.injectGlobal,E=Qo.css;function jh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ri,Jo;function Zh(){return Jo||(Jo=1,Ri=function(e,n){n||(n=[0,""]),e=String(e);var i=parseFloat(e,10);return n[0]=i,n[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",n}),Ri}var Fi,Ko;function Qh(){if(Ko)return Fi;Ko=1;var t=Zh();Fi=r;var e=i("in",document.body);function n(o,s){var a=t(getComputedStyle(o).getPropertyValue(s));return a[0]*r(a[1],o)}function i(o,s){var a=document.createElement("div");a.style.height="128"+o,s.appendChild(a);var l=n(a,"height")/128;return s.removeChild(a),l}function r(o,s){if(!o)return null;switch(s=s||document.body,o=(o+""||"px").trim().toLowerCase(),(s===window||s===document)&&(s=document.body),o){case"%":return s.clientHeight/100;case"ch":case"ex":return i(o,s);case"em":return n(s,"font-size");case"rem":return n(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return e;case"cm":return e/2.54;case"mm":return e/25.4;case"pt":return e/72;case"pc":return e/6;case"px":return 1}var a=t(o);if(!isNaN(a[0])&&a[1]){var l=r(a[1],s);return typeof l=="number"?a[0]*l:null}return null}return Fi}Qh();function ts(){const t=()=>Math.floor((1+crypto.getRandomValues(new Uint32Array(1))[0])*65536).toString(16).substring(1);return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`}function Jh(t,e){const n=t.substr(4,t.length-5);return getComputedStyle(e).getPropertyValue(n)}function Kh(t,e,n=0){const[i,r,o,s]=[t.x+n,t.y+t.height-2*n,t.x+t.width-2*n,t.y+n],[a,l,c,h]=[e.x+n,e.y+e.height-2*n,e.x+e.width-2*n,e.y+n];return!(r<h||l<s||o<a||c<i)}function Li(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function es(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function Pe(){}var De=.7,wn=1/De,ce="\\s*([+-]?\\d+)\\s*",Re="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",bt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tf=/^#([0-9a-f]{3,8})$/,ef=new RegExp(`^rgb\\(${ce},${ce},${ce}\\)$`),nf=new RegExp(`^rgb\\(${bt},${bt},${bt}\\)$`),rf=new RegExp(`^rgba\\(${ce},${ce},${ce},${Re}\\)$`),of=new RegExp(`^rgba\\(${bt},${bt},${bt},${Re}\\)$`),sf=new RegExp(`^hsl\\(${Re},${bt},${bt}\\)$`),af=new RegExp(`^hsla\\(${Re},${bt},${bt},${Re}\\)$`),ns={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Li(Pe,Wt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:is,formatHex:is,formatHex8:lf,formatHsl:cf,formatRgb:rs,toString:rs});function is(){return this.rgb().formatHex()}function lf(){return this.rgb().formatHex8()}function cf(){return cs(this).formatHsl()}function rs(){return this.rgb().formatRgb()}function Wt(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=tf.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?os(e):n===3?new Q(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?kn(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?kn(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=ef.exec(t))?new Q(e[1],e[2],e[3],1):(e=nf.exec(t))?new Q(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=rf.exec(t))?kn(e[1],e[2],e[3],e[4]):(e=of.exec(t))?kn(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=sf.exec(t))?ls(e[1],e[2]/100,e[3]/100,1):(e=af.exec(t))?ls(e[1],e[2]/100,e[3]/100,e[4]):ns.hasOwnProperty(t)?os(ns[t]):t==="transparent"?new Q(NaN,NaN,NaN,0):null}function os(t){return new Q(t>>16&255,t>>8&255,t&255,1)}function kn(t,e,n,i){return i<=0&&(t=e=n=NaN),new Q(t,e,n,i)}function uf(t){return t instanceof Pe||(t=Wt(t)),t?(t=t.rgb(),new Q(t.r,t.g,t.b,t.opacity)):new Q}function Bi(t,e,n,i){return arguments.length===1?uf(t):new Q(t,e,n,i??1)}function Q(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}Li(Q,Bi,es(Pe,{brighter(t){return t=t==null?wn:Math.pow(wn,t),new Q(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?De:Math.pow(De,t),new Q(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Q(Yt(this.r),Yt(this.g),Yt(this.b),Tn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ss,formatHex:ss,formatHex8:hf,formatRgb:as,toString:as}));function ss(){return`#${Vt(this.r)}${Vt(this.g)}${Vt(this.b)}`}function hf(){return`#${Vt(this.r)}${Vt(this.g)}${Vt(this.b)}${Vt((isNaN(this.opacity)?1:this.opacity)*255)}`}function as(){const t=Tn(this.opacity);return`${t===1?"rgb(":"rgba("}${Yt(this.r)}, ${Yt(this.g)}, ${Yt(this.b)}${t===1?")":`, ${t})`}`}function Tn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Yt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Vt(t){return t=Yt(t),(t<16?"0":"")+t.toString(16)}function ls(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ut(t,e,n,i)}function cs(t){if(t instanceof ut)return new ut(t.h,t.s,t.l,t.opacity);if(t instanceof Pe||(t=Wt(t)),!t)return new ut;if(t instanceof ut)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),s=NaN,a=o-r,l=(o+r)/2;return a?(e===o?s=(n-i)/a+(n<i)*6:n===o?s=(i-e)/a+2:s=(e-n)/a+4,a/=l<.5?o+r:2-o-r,s*=60):a=l>0&&l<1?0:s,new ut(s,a,l,t.opacity)}function zi(t,e,n,i){return arguments.length===1?cs(t):new ut(t,e,n,i??1)}function ut(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}Li(ut,zi,es(Pe,{brighter(t){return t=t==null?wn:Math.pow(wn,t),new ut(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?De:Math.pow(De,t),new ut(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Q(Ii(t>=240?t-240:t+120,r,i),Ii(t,r,i),Ii(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ut(us(this.h),Sn(this.s),Sn(this.l),Tn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Tn(this.opacity);return`${t===1?"hsl(":"hsla("}${us(this.h)}, ${Sn(this.s)*100}%, ${Sn(this.l)*100}%${t===1?")":`, ${t})`}`}}));function us(t){return t=(t||0)%360,t<0?t+360:t}function Sn(t){return Math.max(0,Math.min(1,t||0))}function Ii(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const Fe=(globalThis==null?void 0:globalThis.UNOVIS_COLORS)||["#4D8CFD","#FF6B7E","#F4B83E","#A6CC74","#00C19A","#6859BE"],ff=(globalThis==null?void 0:globalThis.UNOVIS_COLORS_DARK)||["#4D8CFD","#FF6B7E","#FFC16D","#A6CC74","#00C19A","#7887E0"],Dt=t=>`--vis-${vt(t)?`color${t%Fe.length}`:t}`;function df(t,e=.4){const n=zi(t);return n.l=n.l*(1+e),n.formatHex()}function gf(t,e=.4,n=.6){const i=zi(t);return i.s=i.s*(1-n),i.l=i.l*(1-e),i.formatHex()}const Le=10,Ui=[{id:"stripes-diagonal",svg:'<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>'},{id:"dots",svg:'<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>'},{id:"stripes-vertical",svg:'<path d="M 5,-1 L5,11" stroke="#000"/>'},{id:"crosshatch",svg:'<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>'},{id:"waves",svg:'<path d="M0 4Q2.5 1 5 4 7.5 7 10 4v2Q7.5 9 5 6 2.5 3 0 6Z" fill="#000"/>'},{id:"circles",svg:'<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>'}],Hi=[{id:"circle",marker:'<circle cx="5" cy="5" r="5"/>',dashArray:[]},{id:"triangle",marker:'<path d="M5,0 L10,9 L0,9Z">',dashArray:[9,1]},{id:"diamond",marker:'<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">',dashArray:[2]},{id:"arrow",marker:'<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">',dashArray:[2,3,8,3]},{id:"square",marker:'<rect x="1" y="1" width="8" height="8"/>',dashArray:[6]},{id:"star",marker:'<path d="m2 9 3-9 3 9L0 3h10Z"/>',dashArray:[1,6]}];function Rt(t){return`vis-${`pattern-${t.svg?"fill":"marker"}`}-${t.id}`}const pf=t=>`<mask id="${Rt(t)}">
|
|
2
|
-
<pattern id="${t.id}" viewBox="0 0 10 10" width="${Le}" height="${Le}" patternUnits="userSpaceOnUse">
|
|
3
|
-
<rect width="100%" height="100%" fill="#fff"/>
|
|
4
|
-
${t.svg}
|
|
5
|
-
</pattern>
|
|
6
|
-
<rect x="-50%" y="-50%" width="200%" height="200%" fill="url(#${t.id})"/>
|
|
7
|
-
</mask>`,mf=(t,e)=>`<marker id="${Rt(t)}"
|
|
8
|
-
fill="var(${Dt(e)})"
|
|
9
|
-
markerUnits="userSpaceOnUse"
|
|
10
|
-
refX="5"
|
|
11
|
-
refY="5"
|
|
12
|
-
markerWidth="${Le}"
|
|
13
|
-
markerHeight="${Le}">
|
|
14
|
-
${t.marker}
|
|
15
|
-
</marker>`;function vf(){const t=Ui.map(pf).concat(Hi.map(mf)).join(""),e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.style.position="fixed",e.style.zIndex="-99999999",e.innerHTML=`<defs>${t}</defs>`,document.body.appendChild(e)}typeof window<"u"&&vf();const hs=(globalThis==null?void 0:globalThis.UNOVIS_FONT_W2H_RATIO_DEFAULT)||.5,fs=(globalThis==null?void 0:globalThis.UNOVIS_TEXT_SEPARATOR_DEFAULT)||[" ","-",".",","],ds=(globalThis==null?void 0:globalThis.UNOVIS_TEXT_HYPHEN_CHARACTER_DEFAULT)||"-",gs=(globalThis==null?void 0:globalThis.UNOVIS_TEXT_DEFAULT)||{text:"",fontSize:12,fontFamily:"var(--vis-font-family)",lineHeight:1.25,marginTop:0,marginBottom:0};Ht`
|
|
16
|
-
:root {
|
|
17
|
-
label: vis-root-styles;
|
|
18
|
-
--vis-font-family: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
|
|
19
|
-
--vis-font-wh-ratio: ${hs};
|
|
20
|
-
--vis-color-main: var(${Dt(0)});
|
|
21
|
-
--vis-color-main-light: ${df(Fe[0])};
|
|
22
|
-
--vis-color-main-dark: ${gf(Fe[0])};
|
|
23
|
-
--vis-color-grey: #2a2a2a;
|
|
24
|
-
${Fe.map((t,e)=>`${Dt(e)}: ${t};`)}
|
|
25
|
-
${ff.map((t,e)=>`--vis-dark-color${e}: ${t};`)}
|
|
26
|
-
${Ui.map((t,e)=>`
|
|
27
|
-
--${Rt(t)}: url(#${Rt(t)});
|
|
28
|
-
--vis-pattern-fill${e}: var(--${Rt(t)});
|
|
29
|
-
`)}
|
|
30
|
-
${Hi.map((t,e)=>{var n;return`
|
|
31
|
-
--${Rt(t)}: url(#${Rt(t)});
|
|
32
|
-
--vis-pattern-marker${e}: var(--${Rt(t)});
|
|
33
|
-
--vis-pattern-dasharray${e}: ${(n=t.dashArray)===null||n===void 0?void 0:n.join(" ")};
|
|
34
|
-
`})}
|
|
35
|
-
|
|
36
|
-
body.theme-dark {
|
|
37
|
-
${Fe.map((t,e)=>`${Dt(e)}: var(--vis-dark-color${e});`)}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
body.theme-patterns {
|
|
41
|
-
${Ui.map((t,e)=>`path[style*="fill: var(${Dt(e)})"] {
|
|
42
|
-
mask: var(--vis-pattern-fill${e});
|
|
43
|
-
}`)}
|
|
44
|
-
${Hi.map((t,e)=>`
|
|
45
|
-
path[stroke="var(${Dt(e)})"]:not([style*="fill"]),
|
|
46
|
-
path[style*="stroke: var(${Dt(e)})"]:not([style*="fill"]) {
|
|
47
|
-
marker: var(--vis-pattern-marker${e});
|
|
48
|
-
stroke-dasharray: var(--vis-pattern-dasharray${e});
|
|
49
|
-
}
|
|
50
|
-
`)}
|
|
51
|
-
}
|
|
52
|
-
`;function _f(t=window==null?void 0:window.document.body){return t?+Jh("var(--vis-font-wh-ratio)",t):hs}var yf={value:()=>{}};function ps(){for(var t=0,e=arguments.length,n={},i;t<e;++t){if(!(i=arguments[t]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new Cn(n)}function Cn(t){this._=t}function xf(t,e){return t.trim().split(/^|\s+/).map(function(n){var i="",r=n.indexOf(".");if(r>=0&&(i=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}Cn.prototype=ps.prototype={constructor:Cn,on:function(t,e){var n=this._,i=xf(t+"",n),r,o=-1,s=i.length;if(arguments.length<2){for(;++o<s;)if((r=(t=i[o]).type)&&(r=bf(n[r],t.name)))return r;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<s;)if(r=(t=i[o]).type)n[r]=ms(n[r],t.name,e);else if(e==null)for(r in n)n[r]=ms(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Cn(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var n=new Array(r),i=0,r,o;i<r;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],i=0,r=o.length;i<r;++i)o[i].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)}};function bf(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function ms(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=yf,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var ue=0,Be=0,ze=0,vs=1e3,Mn,Ie,An=0,Xt=0,$n=0,Ue=typeof performance=="object"&&performance.now?performance:Date,_s=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Wi(){return Xt||(_s(wf),Xt=Ue.now()+$n)}function wf(){Xt=0}function En(){this._call=this._time=this._next=null}En.prototype=ys.prototype={constructor:En,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?Wi():+n)+(e==null?0:+e),!this._next&&Ie!==this&&(Ie?Ie._next=this:Mn=this,Ie=this),this._call=t,this._time=n,Yi()},stop:function(){this._call&&(this._call=null,this._time=1/0,Yi())}};function ys(t,e,n){var i=new En;return i.restart(t,e,n),i}function kf(){Wi(),++ue;for(var t=Mn,e;t;)(e=Xt-t._time)>=0&&t._call.call(void 0,e),t=t._next;--ue}function xs(){Xt=(An=Ue.now())+$n,ue=Be=0;try{kf()}finally{ue=0,Sf(),Xt=0}}function Tf(){var t=Ue.now(),e=t-An;e>vs&&($n-=e,An=t)}function Sf(){for(var t,e=Mn,n,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Mn=n);Ie=t,Yi(i)}function Yi(t){if(!ue){Be&&(Be=clearTimeout(Be));var e=t-Xt;e>24?(t<1/0&&(Be=setTimeout(xs,t-Ue.now()-$n)),ze&&(ze=clearInterval(ze))):(ze||(An=Ue.now(),ze=setInterval(Tf,vs)),ue=1,_s(xs))}}function bs(t,e,n){var i=new En;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var Cf=ps("start","end","cancel","interrupt"),Mf=[],ws=0,ks=1,Vi=2,Nn=3,Ts=4,Xi=5,On=6;function Pn(t,e,n,i,r,o){var s=t.__transition;if(!s)t.__transition={};else if(n in s)return;Af(t,n,{name:e,index:i,group:r,on:Cf,tween:Mf,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:ws})}function qi(t,e){var n=ht(t,e);if(n.state>ws)throw new Error("too late; already scheduled");return n}function wt(t,e){var n=ht(t,e);if(n.state>Nn)throw new Error("too late; already running");return n}function ht(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Af(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=ys(o,0,n.time);function o(c){n.state=ks,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var h,u,f,d;if(n.state!==ks)return l();for(h in i)if(d=i[h],d.name===n.name){if(d.state===Nn)return bs(s);d.state===Ts?(d.state=On,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[h]):+h<e&&(d.state=On,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[h])}if(bs(function(){n.state===Nn&&(n.state=Ts,n.timer.restart(a,n.delay,n.time),a(c))}),n.state=Vi,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Vi){for(n.state=Nn,r=new Array(f=n.tween.length),h=0,u=-1;h<f;++h)(d=n.tween[h].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=d);r.length=u+1}}function a(c){for(var h=c<n.duration?n.ease.call(null,c/n.duration):(n.timer.restart(l),n.state=Xi,1),u=-1,f=r.length;++u<f;)r[u].call(t,h);n.state===Xi&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){n.state=On,n.timer.stop(),delete i[e];for(var c in i)return;delete t.__transition}}function Gi(t,e){var n=t.__transition,i,r,o=!0,s;if(n){e=e==null?null:e+"";for(s in n){if((i=n[s]).name!==e){o=!1;continue}r=i.state>Vi&&i.state<Xi,i.state=On,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[s]}o&&delete t.__transition}}function $f(t){return this.each(function(){Gi(this,t)})}const ji=t=>()=>t;function Ef(t,e){return function(n){return t+n*e}}function Nf(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function Of(t){return(t=+t)==1?Ss:function(e,n){return n-e?Nf(e,n,t):ji(isNaN(e)?n:e)}}function Ss(t,e){var n=e-t;return n?Ef(t,n):ji(isNaN(t)?e:t)}const Dn=function t(e){var n=Of(e);function i(r,o){var s=n((r=Bi(r)).r,(o=Bi(o)).r),a=n(r.g,o.g),l=n(r.b,o.b),c=Ss(r.opacity,o.opacity);return function(h){return r.r=s(h),r.g=a(h),r.b=l(h),r.opacity=c(h),r+""}}return i.gamma=t,i}(1);function Pf(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,i=e.slice(),r;return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}function Df(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Rf(t,e){var n=e?e.length:0,i=t?Math.min(n,t.length):0,r=new Array(i),o=new Array(n),s;for(s=0;s<i;++s)r[s]=he(t[s],e[s]);for(;s<n;++s)o[s]=e[s];return function(a){for(s=0;s<i;++s)o[s]=r[s](a);return o}}function Ff(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function ft(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Lf(t,e){var n={},i={},r;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(r in e)r in t?n[r]=he(t[r],e[r]):i[r]=e[r];return function(o){for(r in n)i[r]=n[r](o);return i}}var Zi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Qi=new RegExp(Zi.source,"g");function Bf(t){return function(){return t}}function zf(t){return function(e){return t(e)+""}}function Cs(t,e){var n=Zi.lastIndex=Qi.lastIndex=0,i,r,o,s=-1,a=[],l=[];for(t=t+"",e=e+"";(i=Zi.exec(t))&&(r=Qi.exec(e));)(o=r.index)>n&&(o=e.slice(n,o),a[s]?a[s]+=o:a[++s]=o),(i=i[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,l.push({i:s,x:ft(i,r)})),n=Qi.lastIndex;return n<e.length&&(o=e.slice(n),a[s]?a[s]+=o:a[++s]=o),a.length<2?l[0]?zf(l[0].x):Bf(e):(e=l.length,function(c){for(var h=0,u;h<e;++h)a[(u=l[h]).i]=u.x(c);return a.join("")})}function he(t,e){var n=typeof e,i;return e==null||n==="boolean"?ji(e):(n==="number"?ft:n==="string"?(i=Wt(e))?(e=i,Dn):Cs:e instanceof Wt?Dn:e instanceof Date?Ff:Df(e)?Pf:Array.isArray(e)?Rf:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?Lf:ft)(t,e)}function Ji(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Ms=180/Math.PI,Ki={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function As(t,e,n,i,r,o){var s,a,l;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(l=t*n+e*i)&&(n-=t*l,i-=e*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),t*i<e*n&&(t=-t,e=-e,l=-l,s=-s),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*Ms,skewX:Math.atan(l)*Ms,scaleX:s,scaleY:a}}var Rn;function If(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Ki:As(e.a,e.b,e.c,e.d,e.e,e.f)}function Uf(t){return t==null||(Rn||(Rn=document.createElementNS("http://www.w3.org/2000/svg","g")),Rn.setAttribute("transform",t),!(t=Rn.transform.baseVal.consolidate()))?Ki:(t=t.matrix,As(t.a,t.b,t.c,t.d,t.e,t.f))}function $s(t,e,n,i){function r(c){return c.length?c.pop()+" ":""}function o(c,h,u,f,d,p){if(c!==u||h!==f){var g=d.push("translate(",null,e,null,n);p.push({i:g-4,x:ft(c,u)},{i:g-2,x:ft(h,f)})}else(u||f)&&d.push("translate("+u+e+f+n)}function s(c,h,u,f){c!==h?(c-h>180?h+=360:h-c>180&&(c+=360),f.push({i:u.push(r(u)+"rotate(",null,i)-2,x:ft(c,h)})):h&&u.push(r(u)+"rotate("+h+i)}function a(c,h,u,f){c!==h?f.push({i:u.push(r(u)+"skewX(",null,i)-2,x:ft(c,h)}):h&&u.push(r(u)+"skewX("+h+i)}function l(c,h,u,f,d,p){if(c!==u||h!==f){var g=d.push(r(d)+"scale(",null,",",null,")");p.push({i:g-4,x:ft(c,u)},{i:g-2,x:ft(h,f)})}else(u!==1||f!==1)&&d.push(r(d)+"scale("+u+","+f+")")}return function(c,h){var u=[],f=[];return c=t(c),h=t(h),o(c.translateX,c.translateY,h.translateX,h.translateY,u,f),s(c.rotate,h.rotate,u,f),a(c.skewX,h.skewX,u,f),l(c.scaleX,c.scaleY,h.scaleX,h.scaleY,u,f),c=h=null,function(d){for(var p=-1,g=f.length,v;++p<g;)u[(v=f[p]).i]=v.x(d);return u.join("")}}}var Hf=$s(If,"px, ","px)","deg)"),Wf=$s(Uf,", ",")",")");function Yf(t,e){e===void 0&&(e=t,t=he);for(var n=0,i=e.length-1,r=e[0],o=new Array(i<0?0:i);n<i;)o[n]=t(r,r=e[++n]);return function(s){var a=Math.max(0,Math.min(i-1,Math.floor(s*=i)));return o[a](s-a)}}function Vf(t,e){var n,i;return function(){var r=wt(this,t),o=r.tween;if(o!==n){i=n=o;for(var s=0,a=i.length;s<a;++s)if(i[s].name===e){i=i.slice(),i.splice(s,1);break}}r.tween=i}}function Xf(t,e,n){var i,r;if(typeof n!="function")throw new Error;return function(){var o=wt(this,t),s=o.tween;if(s!==i){r=(i=s).slice();for(var a={name:e,value:n},l=0,c=r.length;l<c;++l)if(r[l].name===e){r[l]=a;break}l===c&&r.push(a)}o.tween=r}}function qf(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=ht(this.node(),n).tween,r=0,o=i.length,s;r<o;++r)if((s=i[r]).name===t)return s.value;return null}return this.each((e==null?Vf:Xf)(n,t,e))}function tr(t,e,n){var i=t._id;return t.each(function(){var r=wt(this,i);(r.value||(r.value={}))[e]=n.apply(this,arguments)}),function(r){return ht(r,i).value[e]}}function Es(t,e){var n;return(typeof e=="number"?ft:e instanceof Wt?Dn:(n=Wt(e))?(e=n,Dn):Cs)(t,e)}function Gf(t){return function(){this.removeAttribute(t)}}function jf(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Zf(t,e,n){var i,r=n+"",o;return function(){var s=this.getAttribute(t);return s===r?null:s===i?o:o=e(i=s,n)}}function Qf(t,e,n){var i,r=n+"",o;return function(){var s=this.getAttributeNS(t.space,t.local);return s===r?null:s===i?o:o=e(i=s,n)}}function Jf(t,e,n){var i,r,o;return function(){var s,a=n(this),l;return a==null?void this.removeAttribute(t):(s=this.getAttribute(t),l=a+"",s===l?null:s===i&&l===r?o:(r=l,o=e(i=s,a)))}}function Kf(t,e,n){var i,r,o;return function(){var s,a=n(this),l;return a==null?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local),l=a+"",s===l?null:s===i&&l===r?o:(r=l,o=e(i=s,a)))}}function td(t,e){var n=Je(t),i=n==="transform"?Wf:Es;return this.attrTween(t,typeof e=="function"?(n.local?Kf:Jf)(n,i,tr(this,"attr."+t,e)):e==null?(n.local?jf:Gf)(n):(n.local?Qf:Zf)(n,i,e))}function ed(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function nd(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function id(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&nd(t,o)),n}return r._value=e,r}function rd(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&ed(t,o)),n}return r._value=e,r}function od(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var i=Je(t);return this.tween(n,(i.local?id:rd)(i,e))}function sd(t,e){return function(){qi(this,t).delay=+e.apply(this,arguments)}}function ad(t,e){return e=+e,function(){qi(this,t).delay=e}}function ld(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?sd:ad)(e,t)):ht(this.node(),e).delay}function cd(t,e){return function(){wt(this,t).duration=+e.apply(this,arguments)}}function ud(t,e){return e=+e,function(){wt(this,t).duration=e}}function hd(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?cd:ud)(e,t)):ht(this.node(),e).duration}function fd(t,e){if(typeof e!="function")throw new Error;return function(){wt(this,t).ease=e}}function dd(t){var e=this._id;return arguments.length?this.each(fd(e,t)):ht(this.node(),e).ease}function gd(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;wt(this,t).ease=n}}function pd(t){if(typeof t!="function")throw new Error;return this.each(gd(this._id,t))}function md(t){typeof t!="function"&&(t=to(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=[],l,c=0;c<s;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&a.push(l);return new St(i,this._parents,this._name,this._id)}function vd(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),s=new Array(i),a=0;a<o;++a)for(var l=e[a],c=n[a],h=l.length,u=s[a]=new Array(h),f,d=0;d<h;++d)(f=l[d]||c[d])&&(u[d]=f);for(;a<i;++a)s[a]=e[a];return new St(s,this._parents,this._name,this._id)}function _d(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function yd(t,e,n){var i,r,o=_d(e)?qi:wt;return function(){var s=o(this,t),a=s.on;a!==i&&(r=(i=a).copy()).on(e,n),s.on=r}}function xd(t,e){var n=this._id;return arguments.length<2?ht(this.node(),n).on.on(t):this.each(yd(n,t,e))}function bd(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function wd(){return this.on("end.remove",bd(this._id))}function kd(t){var e=this._name,n=this._id;typeof t!="function"&&(t=pi(t));for(var i=this._groups,r=i.length,o=new Array(r),s=0;s<r;++s)for(var a=i[s],l=a.length,c=o[s]=new Array(l),h,u,f=0;f<l;++f)(h=a[f])&&(u=t.call(h,h.__data__,f,a))&&("__data__"in h&&(u.__data__=h.__data__),c[f]=u,Pn(c[f],e,n,f,c,ht(h,n)));return new St(o,this._parents,e,n)}function Td(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Kr(t));for(var i=this._groups,r=i.length,o=[],s=[],a=0;a<r;++a)for(var l=i[a],c=l.length,h,u=0;u<c;++u)if(h=l[u]){for(var f=t.call(h,h.__data__,u,l),d,p=ht(h,n),g=0,v=f.length;g<v;++g)(d=f[g])&&Pn(d,e,n,g,f,p);o.push(f),s.push(h)}return new St(o,s,e,n)}var Sd=be.prototype.constructor;function Cd(){return new Sd(this._groups,this._parents)}function Md(t,e){var n,i,r;return function(){var o=ie(this,t),s=(this.style.removeProperty(t),ie(this,t));return o===s?null:o===n&&s===i?r:r=e(n=o,i=s)}}function Ns(t){return function(){this.style.removeProperty(t)}}function Ad(t,e,n){var i,r=n+"",o;return function(){var s=ie(this,t);return s===r?null:s===i?o:o=e(i=s,n)}}function $d(t,e,n){var i,r,o;return function(){var s=ie(this,t),a=n(this),l=a+"";return a==null&&(l=a=(this.style.removeProperty(t),ie(this,t))),s===l?null:s===i&&l===r?o:(r=l,o=e(i=s,a))}}function Ed(t,e){var n,i,r,o="style."+e,s="end."+o,a;return function(){var l=wt(this,t),c=l.on,h=l.value[o]==null?a||(a=Ns(e)):void 0;(c!==n||r!==h)&&(i=(n=c).copy()).on(s,r=h),l.on=i}}function Nd(t,e,n){var i=(t+="")=="transform"?Hf:Es;return e==null?this.styleTween(t,Md(t,i)).on("end.style."+t,Ns(t)):typeof e=="function"?this.styleTween(t,$d(t,i,tr(this,"style."+t,e))).each(Ed(this._id,t)):this.styleTween(t,Ad(t,i,e),n).on("end.style."+t,null)}function Od(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function Pd(t,e,n){var i,r;function o(){var s=e.apply(this,arguments);return s!==r&&(i=(r=s)&&Od(t,s,n)),i}return o._value=e,o}function Dd(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(e==null)return this.tween(i,null);if(typeof e!="function")throw new Error;return this.tween(i,Pd(t,e,n??""))}function Rd(t){return function(){this.textContent=t}}function Fd(t){return function(){var e=t(this);this.textContent=e??""}}function Ld(t){return this.tween("text",typeof t=="function"?Fd(tr(this,"text",t)):Rd(t==null?"":t+""))}function Bd(t){return function(e){this.textContent=t.call(this,e)}}function zd(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Bd(r)),e}return i._value=t,i}function Id(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,zd(t))}function Ud(){for(var t=this._name,e=this._id,n=Os(),i=this._groups,r=i.length,o=0;o<r;++o)for(var s=i[o],a=s.length,l,c=0;c<a;++c)if(l=s[c]){var h=ht(l,e);Pn(l,t,n,c,s,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new St(i,this._parents,t,n)}function Hd(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(o,s){var a={value:s},l={value:function(){--r===0&&o()}};n.each(function(){var c=wt(this,i),h=c.on;h!==t&&(e=(t=h).copy(),e._.cancel.push(a),e._.interrupt.push(a),e._.end.push(l)),c.on=e}),r===0&&o()})}var Wd=0;function St(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function Os(){return++Wd}var Ct=be.prototype;St.prototype={constructor:St,select:kd,selectAll:Td,selectChild:Ct.selectChild,selectChildren:Ct.selectChildren,filter:md,merge:vd,selection:Cd,transition:Ud,call:Ct.call,nodes:Ct.nodes,node:Ct.node,size:Ct.size,empty:Ct.empty,each:Ct.each,on:xd,attr:td,attrTween:od,style:Nd,styleTween:Dd,text:Ld,textTween:Id,remove:wd,tween:qf,delay:ld,duration:hd,ease:dd,easeVarying:pd,end:Hd,[Symbol.iterator]:Ct[Symbol.iterator]};const Ps=t=>+t;function Yd(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Vd={time:null,delay:0,duration:250,ease:Yd};function Xd(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function qd(t){var e,n;t instanceof St?(e=t._id,t=t._name):(e=Os(),(n=Vd).time=Wi(),t=t==null?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var s=i[o],a=s.length,l,c=0;c<a;++c)(l=s[c])&&Pn(l,t,e,c,s,n||Xd(l,e));return new St(i,this._parents,t,e)}be.prototype.interrupt=$f,be.prototype.transition=qd;function st(t,e,n){if(t.nodes().forEach(i=>Gi(i)),e){const i=t.transition().duration(e);return n&&i.ease(n),i}else return t}class er{constructor(e){this.data=e}get data(){return this._data}set data(e){this._data=e}}var R;(function(t){t.X="x",t.Y="y"})(R||(R={}));function dt(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function Ds(t,e){switch(arguments.length){case 0:break;case 1:{typeof t=="function"?this.interpolator(t):this.range(t);break}default:{this.domain(t),typeof e=="function"?this.interpolator(e):this.range(e);break}}return this}const Rs=Symbol("implicit");function nr(){var t=new ho,e=[],n=[],i=Rs;function r(o){let s=t.get(o);if(s===void 0){if(i!==Rs)return i;t.set(o,s=e.push(o)-1)}return n[s%n.length]}return r.domain=function(o){if(!arguments.length)return e.slice();e=[],t=new ho;for(const s of o)t.has(s)||t.set(s,e.push(s)-1);return r},r.range=function(o){return arguments.length?(n=Array.from(o),r):n.slice()},r.unknown=function(o){return arguments.length?(i=o,r):i},r.copy=function(){return nr(e,n).unknown(i)},dt.apply(r,arguments),r}function ir(){var t=nr().unknown(void 0),e=t.domain,n=t.range,i=0,r=1,o,s,a=!1,l=0,c=0,h=.5;delete t.unknown;function u(){var f=e().length,d=r<i,p=d?r:i,g=d?i:r;o=(g-p)/Math.max(1,f-l+c*2),a&&(o=Math.floor(o)),p+=(g-p-o*(f-l))*h,s=o*(1-l),a&&(p=Math.round(p),s=Math.round(s));var v=Ou(f).map(function(_){return p+o*_});return n(d?v.reverse():v)}return t.domain=function(f){return arguments.length?(e(f),u()):e()},t.range=function(f){return arguments.length?([i,r]=f,i=+i,r=+r,u()):[i,r]},t.rangeRound=function(f){return[i,r]=f,i=+i,r=+r,a=!0,u()},t.bandwidth=function(){return s},t.step=function(){return o},t.round=function(f){return arguments.length?(a=!!f,u()):a},t.padding=function(f){return arguments.length?(l=Math.min(1,c=+f),u()):l},t.paddingInner=function(f){return arguments.length?(l=Math.min(1,f),u()):l},t.paddingOuter=function(f){return arguments.length?(c=+f,u()):c},t.align=function(f){return arguments.length?(h=Math.max(0,Math.min(1,f)),u()):h},t.copy=function(){return ir(e(),[i,r]).round(a).paddingInner(l).paddingOuter(c).align(h)},dt.apply(u(),arguments)}function Fs(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Fs(e())},t}function Gd(){return Fs(ir.apply(null,arguments).paddingInner(1))}function jd(t){return function(){return t}}function rr(t){return+t}var Ls=[0,1];function J(t){return t}function or(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:jd(isNaN(e)?NaN:.5)}function Zd(t,e){var n;return t>e&&(n=t,t=e,e=n),function(i){return Math.max(t,Math.min(e,i))}}function Qd(t,e,n){var i=t[0],r=t[1],o=e[0],s=e[1];return r<i?(i=or(r,i),o=n(s,o)):(i=or(i,r),o=n(o,s)),function(a){return o(i(a))}}function Jd(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),o=new Array(i),s=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<i;)r[s]=or(t[s],t[s+1]),o[s]=n(e[s],e[s+1]);return function(a){var l=nn(t,a,1,i)-1;return o[l](r[l](a))}}function He(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Fn(){var t=Ls,e=Ls,n=he,i,r,o,s=J,a,l,c;function h(){var f=Math.min(t.length,e.length);return s!==J&&(s=Zd(t[0],t[f-1])),a=f>2?Jd:Qd,l=c=null,u}function u(f){return f==null||isNaN(f=+f)?o:(l||(l=a(t.map(i),e,n)))(i(s(f)))}return u.invert=function(f){return s(r((c||(c=a(e,t.map(i),ft)))(f)))},u.domain=function(f){return arguments.length?(t=Array.from(f,rr),h()):t.slice()},u.range=function(f){return arguments.length?(e=Array.from(f),h()):e.slice()},u.rangeRound=function(f){return e=Array.from(f),n=Ji,h()},u.clamp=function(f){return arguments.length?(s=f?!0:J,h()):s!==J},u.interpolate=function(f){return arguments.length?(n=f,h()):n},u.unknown=function(f){return arguments.length?(o=f,u):o},function(f,d){return i=f,r=d,h()}}function Bs(){return Fn()(J,J)}function Kd(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Ln(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function fe(t){return t=Ln(Math.abs(t)),t?t[1]:NaN}function tg(t,e){return function(n,i){for(var r=n.length,o=[],s=0,a=t[0],l=0;r>0&&a>0&&(l+a+1>i&&(a=Math.max(1,i-l)),o.push(n.substring(r-=a,r+a)),!((l+=a+1)>i));)a=t[s=(s+1)%t.length];return o.reverse().join(e)}}function eg(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var ng=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function We(t){if(!(e=ng.exec(t)))throw new Error("invalid format: "+t);var e;return new sr({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}We.prototype=sr.prototype;function sr(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}sr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function ig(t){t:for(var e=t.length,n=1,i=-1,r;n<e;++n)switch(t[n]){case".":i=r=n;break;case"0":i===0&&(i=n),r=n;break;default:if(!+t[n])break t;i>0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(r+1):t}var zs;function rg(t,e){var n=Ln(t,e);if(!n)return t+"";var i=n[0],r=n[1],o=r-(zs=Math.max(-8,Math.min(8,Math.floor(r/3)))*3)+1,s=i.length;return o===s?i:o>s?i+new Array(o-s+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+Ln(t,Math.max(0,e+o-1))[0]}function Is(t,e){var n=Ln(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}const Us={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:Kd,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Is(t*100,e),r:Is,s:rg,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Hs(t){return t}var Ws=Array.prototype.map,Ys=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function og(t){var e=t.grouping===void 0||t.thousands===void 0?Hs:tg(Ws.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",i=t.currency===void 0?"":t.currency[1]+"",r=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?Hs:eg(Ws.call(t.numerals,String)),s=t.percent===void 0?"%":t.percent+"",a=t.minus===void 0?"−":t.minus+"",l=t.nan===void 0?"NaN":t.nan+"";function c(u){u=We(u);var f=u.fill,d=u.align,p=u.sign,g=u.symbol,v=u.zero,_=u.width,b=u.comma,y=u.precision,S=u.trim,T=u.type;T==="n"?(b=!0,T="g"):Us[T]||(y===void 0&&(y=12),S=!0,T="g"),(v||f==="0"&&d==="=")&&(v=!0,f="0",d="=");var k=g==="$"?n:g==="#"&&/[boxX]/.test(T)?"0"+T.toLowerCase():"",C=g==="$"?i:/[%p]/.test(T)?s:"",B=Us[T],F=/[defgprs%]/.test(T);y=y===void 0?6:/[gprs]/.test(T)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y));function it(A){var U=k,V=C,Lt,di,_e;if(T==="c")V=B(A)+V,A="";else{A=+A;var ye=A<0||1/A<0;if(A=isNaN(A)?l:B(Math.abs(A),y),S&&(A=ig(A)),ye&&+A==0&&p!=="+"&&(ye=!1),U=(ye?p==="("?p:a:p==="-"||p==="("?"":p)+U,V=(T==="s"?Ys[8+zs/3]:"")+V+(ye&&p==="("?")":""),F){for(Lt=-1,di=A.length;++Lt<di;)if(_e=A.charCodeAt(Lt),48>_e||_e>57){V=(_e===46?r+A.slice(Lt+1):A.slice(Lt))+V,A=A.slice(0,Lt);break}}}b&&!v&&(A=e(A,1/0));var xe=U.length+A.length+V.length,mt=xe<_?new Array(_-xe+1).join(f):"";switch(b&&v&&(A=e(mt+A,mt.length?_-V.length:1/0),mt=""),d){case"<":A=U+A+V+mt;break;case"=":A=U+mt+A+V;break;case"^":A=mt.slice(0,xe=mt.length>>1)+U+A+V+mt.slice(xe);break;default:A=mt+U+A+V;break}return o(A)}return it.toString=function(){return u+""},it}function h(u,f){var d=c((u=We(u),u.type="f",u)),p=Math.max(-8,Math.min(8,Math.floor(fe(f)/3)))*3,g=Math.pow(10,-p),v=Ys[8+p/3];return function(_){return d(g*_)+v}}return{format:c,formatPrefix:h}}var Bn,ar,Vs;sg({thousands:",",grouping:[3],currency:["$",""]});function sg(t){return Bn=og(t),ar=Bn.format,Vs=Bn.formatPrefix,Bn}function ag(t){return Math.max(0,-fe(Math.abs(t)))}function lg(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(fe(e)/3)))*3-fe(Math.abs(t)))}function cg(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,fe(e)-fe(t))+1}function ug(t,e,n,i){var r=yi(t,e,n),o;switch(i=We(i??",f"),i.type){case"s":{var s=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=lg(r,s))&&(i.precision=o),Vs(i,s)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=cg(r,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=ag(r))&&(i.precision=o-(i.type==="%")*2);break}}return ar(i)}function qt(t){var e=t.domain;return t.ticks=function(n){var i=e();return vi(i[0],i[i.length-1],n??10)},t.tickFormat=function(n,i){var r=e();return ug(r[0],r[r.length-1],n??10,i)},t.nice=function(n){n==null&&(n=10);var i=e(),r=0,o=i.length-1,s=i[r],a=i[o],l,c,h=10;for(a<s&&(c=s,s=a,a=c,c=r,r=o,o=c);h-- >0;){if(c=_i(s,a,n),c===l)return i[r]=s,i[o]=a,e(i);if(c>0)s=Math.floor(s/c)*c,a=Math.ceil(a/c)*c;else if(c<0)s=Math.ceil(s*c)/c,a=Math.floor(a*c)/c;else break;l=c}return t},t}function Xs(){var t=Bs();return t.copy=function(){return He(t,Xs())},dt.apply(t,arguments),qt(t)}function qs(t){var e;function n(i){return i==null||isNaN(i=+i)?e:i}return n.invert=n,n.domain=n.range=function(i){return arguments.length?(t=Array.from(i,rr),n):t.slice()},n.unknown=function(i){return arguments.length?(e=i,n):e},n.copy=function(){return qs(t).unknown(e)},t=arguments.length?Array.from(t,rr):[0,1],qt(n)}function Gs(t,e){t=t.slice();var n=0,i=t.length-1,r=t[n],o=t[i],s;return o<r&&(s=n,n=i,i=s,s=r,r=o,o=s),t[n]=e.floor(r),t[i]=e.ceil(o),t}function js(t){return Math.log(t)}function Zs(t){return Math.exp(t)}function hg(t){return-Math.log(-t)}function fg(t){return-Math.exp(-t)}function dg(t){return isFinite(t)?+("1e"+t):t<0?0:t}function gg(t){return t===10?dg:t===Math.E?Math.exp:e=>Math.pow(t,e)}function pg(t){return t===Math.E?Math.log:t===10&&Math.log10||t===2&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}function Qs(t){return(e,n)=>-t(-e,n)}function mg(t){const e=t(js,Zs),n=e.domain;let i=10,r,o;function s(){return r=pg(i),o=gg(i),n()[0]<0?(r=Qs(r),o=Qs(o),t(hg,fg)):t(js,Zs),e}return e.base=function(a){return arguments.length?(i=+a,s()):i},e.domain=function(a){return arguments.length?(n(a),s()):n()},e.ticks=a=>{const l=n();let c=l[0],h=l[l.length-1];const u=h<c;u&&([c,h]=[h,c]);let f=r(c),d=r(h),p,g;const v=a==null?10:+a;let _=[];if(!(i%1)&&d-f<v){if(f=Math.floor(f),d=Math.ceil(d),c>0){for(;f<=d;++f)for(p=1;p<i;++p)if(g=f<0?p/o(-f):p*o(f),!(g<c)){if(g>h)break;_.push(g)}}else for(;f<=d;++f)for(p=i-1;p>=1;--p)if(g=f>0?p/o(-f):p*o(f),!(g<c)){if(g>h)break;_.push(g)}_.length*2<v&&(_=vi(c,h,v))}else _=vi(f,d,Math.min(d-f,v)).map(o);return u?_.reverse():_},e.tickFormat=(a,l)=>{if(a==null&&(a=10),l==null&&(l=i===10?"s":","),typeof l!="function"&&(!(i%1)&&(l=We(l)).precision==null&&(l.trim=!0),l=ar(l)),a===1/0)return l;const c=Math.max(1,i*a/e.ticks().length);return h=>{let u=h/o(Math.round(r(h)));return u*i<i-.5&&(u*=i),u<=c?l(h):""}},e.nice=()=>n(Gs(n(),{floor:a=>o(Math.floor(r(a))),ceil:a=>o(Math.ceil(r(a)))})),e}function Js(){const t=mg(Fn()).domain([1,10]);return t.copy=()=>He(t,Js()).base(t.base()),dt.apply(t,arguments),t}function Ks(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function ta(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function vg(t){var e=1,n=t(Ks(e),ta(e));return n.constant=function(i){return arguments.length?t(Ks(e=+i),ta(e)):e},qt(n)}function ea(){var t=vg(Fn());return t.copy=function(){return He(t,ea()).constant(t.constant())},dt.apply(t,arguments)}function na(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function _g(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function yg(t){return t<0?-t*t:t*t}function xg(t){var e=t(J,J),n=1;function i(){return n===1?t(J,J):n===.5?t(_g,yg):t(na(n),na(1/n))}return e.exponent=function(r){return arguments.length?(n=+r,i()):n},qt(e)}function lr(){var t=xg(Fn());return t.copy=function(){return He(t,lr()).exponent(t.exponent())},dt.apply(t,arguments),t}function bg(){return lr.apply(null,arguments).exponent(.5)}function ia(){var t=[],e=[],n=[],i;function r(){var s=0,a=Math.max(1,e.length);for(n=new Array(a-1);++s<a;)n[s-1]=Au(t,s/a);return o}function o(s){return s==null||isNaN(s=+s)?i:e[nn(n,s)]}return o.invertExtent=function(s){var a=e.indexOf(s);return a<0?[NaN,NaN]:[a>0?n[a-1]:t[0],a<n.length?n[a]:t[t.length-1]]},o.domain=function(s){if(!arguments.length)return t.slice();t=[];for(let a of s)a!=null&&!isNaN(a=+a)&&t.push(a);return t.sort(ke),r()},o.range=function(s){return arguments.length?(e=Array.from(s),r()):e.slice()},o.unknown=function(s){return arguments.length?(i=s,o):i},o.quantiles=function(){return n.slice()},o.copy=function(){return ia().domain(t).range(e).unknown(i)},dt.apply(o,arguments)}function ra(){var t=0,e=1,n=1,i=[.5],r=[0,1],o;function s(l){return l!=null&&l<=l?r[nn(i,l,0,n)]:o}function a(){var l=-1;for(i=new Array(n);++l<n;)i[l]=((l+1)*e-(l-n)*t)/(n+1);return s}return s.domain=function(l){return arguments.length?([t,e]=l,t=+t,e=+e,a()):[t,e]},s.range=function(l){return arguments.length?(n=(r=Array.from(l)).length-1,a()):r.slice()},s.invertExtent=function(l){var c=r.indexOf(l);return c<0?[NaN,NaN]:c<1?[t,i[0]]:c>=n?[i[n-1],e]:[i[c-1],i[c]]},s.unknown=function(l){return arguments.length&&(o=l),s},s.thresholds=function(){return i.slice()},s.copy=function(){return ra().domain([t,e]).range(r).unknown(o)},dt.apply(qt(s),arguments)}function oa(){var t=[.5],e=[0,1],n,i=1;function r(o){return o!=null&&o<=o?e[nn(t,o,0,i)]:n}return r.domain=function(o){return arguments.length?(t=Array.from(o),i=Math.min(t.length,e.length-1),r):t.slice()},r.range=function(o){return arguments.length?(e=Array.from(o),i=Math.min(t.length,e.length-1),r):e.slice()},r.invertExtent=function(o){var s=e.indexOf(o);return[t[s-1],t[s]]},r.unknown=function(o){return arguments.length?(n=o,r):n},r.copy=function(){return oa().domain(t).range(e).unknown(n)},dt.apply(r,arguments)}const cr=new Date,ur=new Date;function Y(t,e,n,i){function r(o){return t(o=arguments.length===0?new Date:new Date(+o)),o}return r.floor=o=>(t(o=new Date(+o)),o),r.ceil=o=>(t(o=new Date(o-1)),e(o,1),t(o),o),r.round=o=>{const s=r(o),a=r.ceil(o);return o-s<a-o?s:a},r.offset=(o,s)=>(e(o=new Date(+o),s==null?1:Math.floor(s)),o),r.range=(o,s,a)=>{const l=[];if(o=r.ceil(o),a=a==null?1:Math.floor(a),!(o<s)||!(a>0))return l;let c;do l.push(c=new Date(+o)),e(o,a),t(o);while(c<o&&o<s);return l},r.filter=o=>Y(s=>{if(s>=s)for(;t(s),!o(s);)s.setTime(s-1)},(s,a)=>{if(s>=s)if(a<0)for(;++a<=0;)for(;e(s,-1),!o(s););else for(;--a>=0;)for(;e(s,1),!o(s););}),n&&(r.count=(o,s)=>(cr.setTime(+o),ur.setTime(+s),t(cr),t(ur),Math.floor(n(cr,ur))),r.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?r.filter(i?s=>i(s)%o===0:s=>r.count(0,s)%o===0):r)),r}const zn=Y(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);zn.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?Y(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):zn),zn.range;const Mt=1e3,at=Mt*60,At=at*60,$t=At*24,hr=$t*7,sa=$t*30,fr=$t*365,Gt=Y(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*Mt)},(t,e)=>(e-t)/Mt,t=>t.getUTCSeconds());Gt.range;const dr=Y(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Mt)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getMinutes());dr.range;const gr=Y(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getUTCMinutes());gr.range;const pr=Y(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Mt-t.getMinutes()*at)},(t,e)=>{t.setTime(+t+e*At)},(t,e)=>(e-t)/At,t=>t.getHours());pr.range;const mr=Y(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*At)},(t,e)=>(e-t)/At,t=>t.getUTCHours());mr.range;const Ye=Y(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*at)/$t,t=>t.getDate()-1);Ye.range;const In=Y(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/$t,t=>t.getUTCDate()-1);In.range;const aa=Y(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/$t,t=>Math.floor(t/$t));aa.range;function jt(t){return Y(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*at)/hr)}const Un=jt(0),Hn=jt(1),wg=jt(2),kg=jt(3),de=jt(4),Tg=jt(5),Sg=jt(6);Un.range,Hn.range,wg.range,kg.range,de.range,Tg.range,Sg.range;function Zt(t){return Y(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/hr)}const Wn=Zt(0),Yn=Zt(1),Cg=Zt(2),Mg=Zt(3),ge=Zt(4),Ag=Zt(5),$g=Zt(6);Wn.range,Yn.range,Cg.range,Mg.range,ge.range,Ag.range,$g.range;const vr=Y(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());vr.range;const _r=Y(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());_r.range;const Et=Y(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());Et.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Y(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)}),Et.range;const Nt=Y(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());Nt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Y(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)}),Nt.range;function la(t,e,n,i,r,o){const s=[[Gt,1,Mt],[Gt,5,5*Mt],[Gt,15,15*Mt],[Gt,30,30*Mt],[o,1,at],[o,5,5*at],[o,15,15*at],[o,30,30*at],[r,1,At],[r,3,3*At],[r,6,6*At],[r,12,12*At],[i,1,$t],[i,2,2*$t],[n,1,hr],[e,1,sa],[e,3,3*sa],[t,1,fr]];function a(c,h,u){const f=h<c;f&&([c,h]=[h,c]);const d=u&&typeof u.range=="function"?u:l(c,h,u),p=d?d.range(c,+h+1):[];return f?p.reverse():p}function l(c,h,u){const f=Math.abs(h-c)/u,d=en(([,,v])=>v).right(s,f);if(d===s.length)return t.every(yi(c/fr,h/fr,u));if(d===0)return zn.every(Math.max(yi(c,h,u),1));const[p,g]=s[f/s[d-1][2]<s[d][2]/f?d-1:d];return p.every(g)}return[a,l]}const[Eg,Ng]=la(Nt,_r,Wn,aa,mr,gr),[Og,Pg]=la(Et,vr,Un,Ye,pr,dr);function yr(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function xr(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Ve(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Dg(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,o=t.days,s=t.shortDays,a=t.months,l=t.shortMonths,c=Xe(r),h=qe(r),u=Xe(o),f=qe(o),d=Xe(s),p=qe(s),g=Xe(a),v=qe(a),_=Xe(l),b=qe(l),y={a:ye,A:xe,b:mt,B:Xm,c:null,d:ga,e:ga,f:ip,g:dp,G:pp,H:tp,I:ep,j:np,L:pa,m:rp,M:op,p:qm,q:Gm,Q:ba,s:wa,S:sp,u:ap,U:lp,V:cp,w:up,W:hp,x:null,X:null,y:fp,Y:gp,Z:mp,"%":xa},S={a:jm,A:Zm,b:Qm,B:Jm,c:null,d:va,e:va,f:xp,g:Ep,G:Op,H:vp,I:_p,j:yp,L:_a,m:bp,M:wp,p:Km,q:tv,Q:ba,s:wa,S:kp,u:Tp,U:Sp,V:Cp,w:Mp,W:Ap,x:null,X:null,y:$p,Y:Np,Z:Pp,"%":xa},T={a:it,A,b:U,B:V,c:Lt,d:fa,e:fa,f:Zg,g:ha,G:ua,H:da,I:da,j:Xg,L:jg,m:Vg,M:qg,p:F,q:Yg,Q:Jg,s:Kg,S:Gg,u:zg,U:Ig,V:Ug,w:Bg,W:Hg,x:di,X:_e,y:ha,Y:ua,Z:Wg,"%":Qg};y.x=k(n,y),y.X=k(i,y),y.c=k(e,y),S.x=k(n,S),S.X=k(i,S),S.c=k(e,S);function k(M,$){return function(O){var w=[],K=-1,L=0,rt=M.length,ot,ne,Bl;for(O instanceof Date||(O=new Date(+O));++K<rt;)M.charCodeAt(K)===37&&(w.push(M.slice(L,K)),(ne=ca[ot=M.charAt(++K)])!=null?ot=M.charAt(++K):ne=ot==="e"?" ":"0",(Bl=$[ot])&&(ot=Bl(O,ne)),w.push(ot),L=K+1);return w.push(M.slice(L,K)),w.join("")}}function C(M,$){return function(O){var w=Ve(1900,void 0,1),K=B(w,M,O+="",0),L,rt;if(K!=O.length)return null;if("Q"in w)return new Date(w.Q);if("s"in w)return new Date(w.s*1e3+("L"in w?w.L:0));if($&&!("Z"in w)&&(w.Z=0),"p"in w&&(w.H=w.H%12+w.p*12),w.m===void 0&&(w.m="q"in w?w.q:0),"V"in w){if(w.V<1||w.V>53)return null;"w"in w||(w.w=1),"Z"in w?(L=xr(Ve(w.y,0,1)),rt=L.getUTCDay(),L=rt>4||rt===0?Yn.ceil(L):Yn(L),L=In.offset(L,(w.V-1)*7),w.y=L.getUTCFullYear(),w.m=L.getUTCMonth(),w.d=L.getUTCDate()+(w.w+6)%7):(L=yr(Ve(w.y,0,1)),rt=L.getDay(),L=rt>4||rt===0?Hn.ceil(L):Hn(L),L=Ye.offset(L,(w.V-1)*7),w.y=L.getFullYear(),w.m=L.getMonth(),w.d=L.getDate()+(w.w+6)%7)}else("W"in w||"U"in w)&&("w"in w||(w.w="u"in w?w.u%7:"W"in w?1:0),rt="Z"in w?xr(Ve(w.y,0,1)).getUTCDay():yr(Ve(w.y,0,1)).getDay(),w.m=0,w.d="W"in w?(w.w+6)%7+w.W*7-(rt+5)%7:w.w+w.U*7-(rt+6)%7);return"Z"in w?(w.H+=w.Z/100|0,w.M+=w.Z%100,xr(w)):yr(w)}}function B(M,$,O,w){for(var K=0,L=$.length,rt=O.length,ot,ne;K<L;){if(w>=rt)return-1;if(ot=$.charCodeAt(K++),ot===37){if(ot=$.charAt(K++),ne=T[ot in ca?$.charAt(K++):ot],!ne||(w=ne(M,O,w))<0)return-1}else if(ot!=O.charCodeAt(w++))return-1}return w}function F(M,$,O){var w=c.exec($.slice(O));return w?(M.p=h.get(w[0].toLowerCase()),O+w[0].length):-1}function it(M,$,O){var w=d.exec($.slice(O));return w?(M.w=p.get(w[0].toLowerCase()),O+w[0].length):-1}function A(M,$,O){var w=u.exec($.slice(O));return w?(M.w=f.get(w[0].toLowerCase()),O+w[0].length):-1}function U(M,$,O){var w=_.exec($.slice(O));return w?(M.m=b.get(w[0].toLowerCase()),O+w[0].length):-1}function V(M,$,O){var w=g.exec($.slice(O));return w?(M.m=v.get(w[0].toLowerCase()),O+w[0].length):-1}function Lt(M,$,O){return B(M,e,$,O)}function di(M,$,O){return B(M,n,$,O)}function _e(M,$,O){return B(M,i,$,O)}function ye(M){return s[M.getDay()]}function xe(M){return o[M.getDay()]}function mt(M){return l[M.getMonth()]}function Xm(M){return a[M.getMonth()]}function qm(M){return r[+(M.getHours()>=12)]}function Gm(M){return 1+~~(M.getMonth()/3)}function jm(M){return s[M.getUTCDay()]}function Zm(M){return o[M.getUTCDay()]}function Qm(M){return l[M.getUTCMonth()]}function Jm(M){return a[M.getUTCMonth()]}function Km(M){return r[+(M.getUTCHours()>=12)]}function tv(M){return 1+~~(M.getUTCMonth()/3)}return{format:function(M){var $=k(M+="",y);return $.toString=function(){return M},$},parse:function(M){var $=C(M+="",!1);return $.toString=function(){return M},$},utcFormat:function(M){var $=k(M+="",S);return $.toString=function(){return M},$},utcParse:function(M){var $=C(M+="",!0);return $.toString=function(){return M},$}}}var ca={"-":"",_:" ",0:"0"},X=/^\s*\d+/,Rg=/^%/,Fg=/[\\^$*+?|[\]().{}]/g;function N(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o<n?new Array(n-o+1).join(e)+r:r)}function Lg(t){return t.replace(Fg,"\\$&")}function Xe(t){return new RegExp("^(?:"+t.map(Lg).join("|")+")","i")}function qe(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function Bg(t,e,n){var i=X.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function zg(t,e,n){var i=X.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function Ig(t,e,n){var i=X.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function Ug(t,e,n){var i=X.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function Hg(t,e,n){var i=X.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function ua(t,e,n){var i=X.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function ha(t,e,n){var i=X.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function Wg(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function Yg(t,e,n){var i=X.exec(e.slice(n,n+1));return i?(t.q=i[0]*3-3,n+i[0].length):-1}function Vg(t,e,n){var i=X.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function fa(t,e,n){var i=X.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function Xg(t,e,n){var i=X.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function da(t,e,n){var i=X.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function qg(t,e,n){var i=X.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function Gg(t,e,n){var i=X.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function jg(t,e,n){var i=X.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function Zg(t,e,n){var i=X.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function Qg(t,e,n){var i=Rg.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function Jg(t,e,n){var i=X.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function Kg(t,e,n){var i=X.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function ga(t,e){return N(t.getDate(),e,2)}function tp(t,e){return N(t.getHours(),e,2)}function ep(t,e){return N(t.getHours()%12||12,e,2)}function np(t,e){return N(1+Ye.count(Et(t),t),e,3)}function pa(t,e){return N(t.getMilliseconds(),e,3)}function ip(t,e){return pa(t,e)+"000"}function rp(t,e){return N(t.getMonth()+1,e,2)}function op(t,e){return N(t.getMinutes(),e,2)}function sp(t,e){return N(t.getSeconds(),e,2)}function ap(t){var e=t.getDay();return e===0?7:e}function lp(t,e){return N(Un.count(Et(t)-1,t),e,2)}function ma(t){var e=t.getDay();return e>=4||e===0?de(t):de.ceil(t)}function cp(t,e){return t=ma(t),N(de.count(Et(t),t)+(Et(t).getDay()===4),e,2)}function up(t){return t.getDay()}function hp(t,e){return N(Hn.count(Et(t)-1,t),e,2)}function fp(t,e){return N(t.getFullYear()%100,e,2)}function dp(t,e){return t=ma(t),N(t.getFullYear()%100,e,2)}function gp(t,e){return N(t.getFullYear()%1e4,e,4)}function pp(t,e){var n=t.getDay();return t=n>=4||n===0?de(t):de.ceil(t),N(t.getFullYear()%1e4,e,4)}function mp(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+N(e/60|0,"0",2)+N(e%60,"0",2)}function va(t,e){return N(t.getUTCDate(),e,2)}function vp(t,e){return N(t.getUTCHours(),e,2)}function _p(t,e){return N(t.getUTCHours()%12||12,e,2)}function yp(t,e){return N(1+In.count(Nt(t),t),e,3)}function _a(t,e){return N(t.getUTCMilliseconds(),e,3)}function xp(t,e){return _a(t,e)+"000"}function bp(t,e){return N(t.getUTCMonth()+1,e,2)}function wp(t,e){return N(t.getUTCMinutes(),e,2)}function kp(t,e){return N(t.getUTCSeconds(),e,2)}function Tp(t){var e=t.getUTCDay();return e===0?7:e}function Sp(t,e){return N(Wn.count(Nt(t)-1,t),e,2)}function ya(t){var e=t.getUTCDay();return e>=4||e===0?ge(t):ge.ceil(t)}function Cp(t,e){return t=ya(t),N(ge.count(Nt(t),t)+(Nt(t).getUTCDay()===4),e,2)}function Mp(t){return t.getUTCDay()}function Ap(t,e){return N(Yn.count(Nt(t)-1,t),e,2)}function $p(t,e){return N(t.getUTCFullYear()%100,e,2)}function Ep(t,e){return t=ya(t),N(t.getUTCFullYear()%100,e,2)}function Np(t,e){return N(t.getUTCFullYear()%1e4,e,4)}function Op(t,e){var n=t.getUTCDay();return t=n>=4||n===0?ge(t):ge.ceil(t),N(t.getUTCFullYear()%1e4,e,4)}function Pp(){return"+0000"}function xa(){return"%"}function ba(t){return+t}function wa(t){return Math.floor(+t/1e3)}var pe,ka,Ta;Dp({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Dp(t){return pe=Dg(t),ka=pe.format,pe.parse,Ta=pe.utcFormat,pe.utcParse,pe}function Rp(t){return new Date(t)}function Fp(t){return t instanceof Date?+t:+new Date(+t)}function br(t,e,n,i,r,o,s,a,l,c){var h=Bs(),u=h.invert,f=h.domain,d=c(".%L"),p=c(":%S"),g=c("%I:%M"),v=c("%I %p"),_=c("%a %d"),b=c("%b %d"),y=c("%B"),S=c("%Y");function T(k){return(l(k)<k?d:a(k)<k?p:s(k)<k?g:o(k)<k?v:i(k)<k?r(k)<k?_:b:n(k)<k?y:S)(k)}return h.invert=function(k){return new Date(u(k))},h.domain=function(k){return arguments.length?f(Array.from(k,Fp)):f().map(Rp)},h.ticks=function(k){var C=f();return t(C[0],C[C.length-1],k??10)},h.tickFormat=function(k,C){return C==null?T:c(C)},h.nice=function(k){var C=f();return(!k||typeof k.range!="function")&&(k=e(C[0],C[C.length-1],k??10)),k?f(Gs(C,k)):h},h.copy=function(){return He(h,br(t,e,n,i,r,o,s,a,l,c))},h}function Lp(){return dt.apply(br(Og,Pg,Et,vr,Un,Ye,pr,dr,Gt,ka).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Bp(){return dt.apply(br(Eg,Ng,Nt,_r,Wn,In,mr,gr,Gt,Ta).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function zp(){var t=0,e=1,n,i,r,o,s=J,a=!1,l;function c(u){return u==null||isNaN(u=+u)?l:s(r===0?.5:(u=(o(u)-n)*r,a?Math.max(0,Math.min(1,u)):u))}c.domain=function(u){return arguments.length?([t,e]=u,n=o(t=+t),i=o(e=+e),r=n===i?0:1/(i-n),c):[t,e]},c.clamp=function(u){return arguments.length?(a=!!u,c):a},c.interpolator=function(u){return arguments.length?(s=u,c):s};function h(u){return function(f){var d,p;return arguments.length?([d,p]=f,s=u(d,p),c):[s(0),s(1)]}}return c.range=h(he),c.rangeRound=h(Ji),c.unknown=function(u){return arguments.length?(l=u,c):l},function(u){return o=u,n=u(t),i=u(e),r=n===i?0:1/(i-n),c}}function Sa(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Ca(){var t=qt(zp()(J));return t.copy=function(){return Sa(t,Ca())},Ds.apply(t,arguments)}function Ip(){var t=0,e=.5,n=1,i=1,r,o,s,a,l,c=J,h,u=!1,f;function d(g){return isNaN(g=+g)?f:(g=.5+((g=+h(g))-o)*(i*g<i*o?a:l),c(u?Math.max(0,Math.min(1,g)):g))}d.domain=function(g){return arguments.length?([t,e,n]=g,r=h(t=+t),o=h(e=+e),s=h(n=+n),a=r===o?0:.5/(o-r),l=o===s?0:.5/(s-o),i=o<r?-1:1,d):[t,e,n]},d.clamp=function(g){return arguments.length?(u=!!g,d):u},d.interpolator=function(g){return arguments.length?(c=g,d):c};function p(g){return function(v){var _,b,y;return arguments.length?([_,b,y]=v,c=Yf(g,[_,b,y]),d):[c(0),c(.5),c(1)]}}return d.range=p(he),d.rangeRound=p(Ji),d.unknown=function(g){return arguments.length?(f=g,d):f},function(g){return h=g,r=g(t),o=g(e),s=g(n),a=r===o?0:.5/(o-r),l=o===s?0:.5/(s-o),i=o<r?-1:1,d}}function Ma(){var t=qt(Ip()(J));return t.copy=function(){return Sa(t,Ma())},Ds.apply(t,arguments)}const Aa={scaleLinear:Xs,scalePow:lr,scaleSqrt:bg,scaleLog:Js,scaleSymlog:ea,scaleIdentity:qs,scaleTime:Lp,scaleUtc:Bp,scaleSequential:Ca,scaleDiverging:Ma,scaleQuantize:ra,scaleQuantile:ia,scaleThreshold:oa,scaleOrdinal:nr,scaleBand:ir,scalePoint:Gd};var I;(function(t){t.X="x",t.Y="y"})(I||(I={}));var Qt;(function(t){t.West="west",t.East="east",t.North="north",t.South="south"})(Qt||(Qt={}));const Up=Object.assign(Object.assign({},Po),{components:[],tooltip:void 0,crosshair:void 0,annotations:void 0,xAxis:void 0,yAxis:void 0,autoMargin:!0,xScale:void 0,xDomain:void 0,xDomainMinConstraint:void 0,xDomainMaxConstraint:void 0,xRange:void 0,yScale:void 0,yDomain:void 0,yDomainMinConstraint:void 0,yDomainMaxConstraint:void 0,yRange:void 0,yDirection:Qt.North,preventEmptyDomain:null,scaleByDomain:!1});class Hp extends Ae{constructor(e,n,i){var r,o;super(e),this._defaultConfig=Up,this.datamodel=new er,this.config=this._defaultConfig,this._clipPathId=ts(),this._axisMargin={top:0,bottom:0,left:0,right:0},this._firstRender=!0,this._clipPath=this.svg.append("clipPath").attr("id",this._clipPathId),this._clipPath.append("rect");const s="saturate",a=window.location.href.replace(window.location.hash,"");this.svg.attr("class",E`
|
|
53
|
-
--highlight-filter-id: url(${a}#${s}); // defining a css variable
|
|
54
|
-
`),this._svgDefs.append("filter").attr("id",s).attr("filterUnits","objectBoundingBox").html('<feColorMatrix type="saturate" in="SourceGraphic" values="1.35"/>'),n&&this.updateContainer(n,!0),i&&this.setData(i,!0),(this.config.xAxis||this.config.yAxis||!((r=this.components)===null||r===void 0)&&r.some(l=>l.datamodel.data))&&this.render(),(o=document.fonts)===null||o===void 0||o.ready.then(()=>{this._firstRender||this._renderAxes(0)})}get components(){return this.config.components}get width(){const e=this._getMargin();return Ot(this.containerWidth-e.left-e.right,0,Number.POSITIVE_INFINITY)}get height(){const e=this._getMargin();return Ot(this.containerHeight-e.top-e.bottom,0,Number.POSITIVE_INFINITY)}setData(e,n){var i,r,o,s;const{components:a,config:l}=this;e&&(this.datamodel.data=e,a.forEach(c=>{c.setData(e)}),(i=l.crosshair)===null||i===void 0||i.setData(e),(r=l.xAxis)===null||r===void 0||r.setData(e),(o=l.yAxis)===null||o===void 0||o.setData(e),(s=l.tooltip)===null||s===void 0||s.hide(),n||this.render())}updateContainer(e,n){super.updateContainer(e),this._removeAllChildren(),this.setData(this.datamodel.data,!0),e.xAxis&&(this.config.xAxis.config.type=R.X,this.element.appendChild(e.xAxis.element)),e.yAxis&&(this.config.yAxis.config.type=R.Y,this.element.appendChild(e.yAxis.element));for(const s of this.components)this.element.appendChild(s.element);const i=e.tooltip;i&&(i.hasContainer()||i.setContainer(this._container),i.setComponents(this.components));const r=e.crosshair;r&&(r.setContainer(this.svg),r.tooltip=i,this.element.appendChild(r.element));const o=e.annotations;o&&this.element.appendChild(o.element),this.element.appendChild(this._clipPath.node()),this.element.appendChild(this._svgDefs.node()),this.element.appendChild(this._svgDefsExternal.node()),n||this.render()}updateComponents(e,n){const{config:i}=this;this.components.forEach((r,o)=>{e[o]&&r.setConfig(e[o])}),this._updateScales(...this.components,i.xAxis,i.yAxis,i.crosshair),n||this.render()}update(e,n,i){i&&(this.datamodel.data=i),e&&this.updateContainer(e,!0),n&&this.updateComponents(n,!0),this.render()}_preRender(){const{config:e}=this;super._preRender(),e.autoMargin&&this._setAutoMargin();const n=Se([...this.components,e.xAxis,e.yAxis,e.crosshair,e.annotations]);for(const i of n)i.setSize(this.width,this.height,this.containerWidth,this.containerHeight);this._updateScales(...this.components,e.xAxis,e.yAxis,e.crosshair)}_render(e){var n,i,r,o,s;const{config:a}=this;super._render();const l=this._getMargin();for(const u of this.components)u.g.attr("transform",`translate(${l.left},${l.top})`).style("clip-path",u.clippable?`url(#${this._clipPathId})`:null).style("-webkit-clip-path",u.clippable?`url(#${this._clipPathId})`:null),u.render(e);this._renderAxes(this._firstRender?0:e);const c=2;this._clipPath.select("rect").attr("x",-2).attr("y",-2).attr("width",this.width+2*c).attr("height",this.height+2*c),(n=a.tooltip)===null||n===void 0||n.update();const h=a.crosshair;if(h){const u=this.components.filter(g=>!g.stacked).map(g=>g.config.y),f=this.components.filter(g=>g.stacked).map(g=>g.config.y),d=(i=this.components.find(g=>g.config.baseline))===null||i===void 0?void 0:i.config,p=d==null?void 0:d.baseline;h.accessors={x:(r=this.components[0])===null||r===void 0?void 0:r.config.x,y:bi(u),yStacked:bi(f),baseline:p},h.g.attr("transform",`translate(${l.left},${l.top})`).style("clip-path",`url(#${this._clipPathId})`).style("-webkit-clip-path",`url(#${this._clipPathId})`),h.hide()}(o=a.annotations)===null||o===void 0||o.g.attr("transform",`translate(${l.left},${l.top})`),(s=a.annotations)===null||s===void 0||s.render(),this._firstRender=!1}_updateScales(...e){const n=Se(e||this.components);this._setScales(...n),this._updateScalesDomain(...n),this._updateScalesRange(...n)}_setScales(...e){const{config:n}=this;e&&(n.xScale&&e.forEach(i=>i.setScale(I.X,n.xScale)),n.yScale&&e.forEach(i=>i.setScale(I.Y,n.yScale)))}_updateScalesDomain(...e){const{config:n}=this;if(!e)return;const i=e.filter(r=>!r.config.excludeFromDomainCalculation);Object.values(I).forEach(r=>{var o,s,a,l,c,h,u,f;const[d,p]=bu(Nu(i.map(T=>T.getDataExtent(r,n.scaleByDomain)))),g=r===I.Y?n.yDomain:n.xDomain,v=r===I.Y?n.yDomainMinConstraint:n.xDomainMinConstraint,_=r===I.Y?n.yDomainMaxConstraint:n.xDomainMaxConstraint,b=(s=(o=g==null?void 0:g[0])!==null&&o!==void 0?o:d)!==null&&s!==void 0?s:0,y=(l=(a=g==null?void 0:g[1])!==null&&a!==void 0?a:p)!==null&&l!==void 0?l:1,S=[Ot(b,(c=v==null?void 0:v[0])!==null&&c!==void 0?c:Number.NEGATIVE_INFINITY,(h=v==null?void 0:v[1])!==null&&h!==void 0?h:Number.POSITIVE_INFINITY),Ot(y,(u=_==null?void 0:_[0])!==null&&u!==void 0?u:Number.NEGATIVE_INFINITY,(f=_==null?void 0:_[1])!==null&&f!==void 0?f:Number.POSITIVE_INFINITY)];if(S[0]===S[1]){const T=i.some(k=>{var C;return((C=k.datamodel.data)===null||C===void 0?void 0:C.length)>0});(n.preventEmptyDomain||n.preventEmptyDomain===null&&(!T||r===I.Y))&&(S[1]=S[0]+1)}e.forEach(T=>T.setScaleDomain(r,S))})}_updateScalesRange(...e){var n,i,r,o,s,a;const{config:l}=this;if(!e)return;const c=l.yDirection===Qt.South,h=[(n=l.padding.left)!==null&&n!==void 0?n:0,this.width-((i=l.padding.right)!==null&&i!==void 0?i:0)],u=[this.height-((r=l.padding.bottom)!==null&&r!==void 0?r:0),(o=l.padding.top)!==null&&o!==void 0?o:0];c&&u.reverse();for(const d of e)d.setSize(this.width,this.height,this.containerWidth,this.containerHeight),d.setScaleRange(I.X,(s=l.xRange)!==null&&s!==void 0?s:h),d.setScaleRange(I.Y,(a=l.yRange)!==null&&a!==void 0?a:u);const f=e.map(d=>d.bleed).reduce((d,p)=>{for(const g of Object.keys(d)){const v=g;d[v]<p[v]&&(d[v]=p[v])}return d},{top:0,bottom:0,left:0,right:0});for(const d of e)d.setScaleRange(I.X,[h[0]+f.left,h[1]-f.right]),d.setScaleRange(I.Y,c?[u[0]+f.top,u[1]-f.bottom]:[u[0]-f.bottom,u[1]+f.top])}_renderAxes(e){const{config:{xAxis:n,yAxis:i}}=this,r=this._getMargin();Se([n,i]).forEach(s=>{const a=s.getOffset(r);s.g.attr("transform",`translate(${a.left},${a.top})`),s.render(e)})}_setAutoMargin(){const{config:{xAxis:e,yAxis:n}}=this,i=Se([...this.components,e,n]);this._setScales(...i),this._updateScalesDomain(...i);const r=this._firstRender?2:1;for(let o=0;o<r;o+=1){const s={top:0,bottom:0,left:0,right:0};this._updateScalesRange(...i),Se([e,n]).forEach(l=>{l.preRender();const c=l.getRequiredMargin();s.top<c.top&&(s.top=c.top),s.bottom<c.bottom&&(s.bottom=c.bottom),s.left<c.left&&(s.left=c.left),s.right<c.right&&(s.right=c.right)}),this._axisMargin=s}}_getMargin(){const{config:{margin:e}}=this;return{top:e.top+this._axisMargin.top,bottom:e.bottom+this._axisMargin.bottom,left:e.left+this._axisMargin.left,right:e.right+this._axisMargin.right}}destroy(){const{components:e,config:{tooltip:n,crosshair:i,annotations:r,xAxis:o,yAxis:s}}=this;super.destroy();for(const a of e)a==null||a.destroy();n==null||n.destroy(),i==null||i.destroy(),r==null||r.destroy(),o==null||o.destroy(),s==null||s.destroy()}}const $a={duration:600,events:{},attributes:{}};class Wp{constructor(e=we.SVG){var n,i;this.type=we.SVG,this.datamodel=new er,this.sizing=re.Fit,this.events={},this._defaultConfig=$a,this._width=400,this._height=200,this._containerWidth=void 0,this._containerHeight=void 0,this._setUpComponentEventsThrottled=an(this._setUpComponentEvents,500),this._setCustomAttributesThrottled=an(this._setCustomAttributes,500),e===we.SVG?this.element=document.createElementNS("http://www.w3.org/2000/svg","g"):this.element=document.createElement("div"),this.uid=ts(),this.g=j(this.element);const r=(i=(n=this.constructor)===null||n===void 0?void 0:n.selectors)===null||i===void 0?void 0:i.root;r&&this.g.attr("class",r)}setConfig(e){this.prevConfig=this.config,this.config=zt(this._defaultConfig,e)}setData(e){this.datamodel.data=e}setSize(e,n,i,r){isFinite(e)&&(this._width=e),isFinite(n)&&(this._height=n),isFinite(i)&&(this._containerWidth=i),isFinite(r)&&(this._containerHeight=r)}render(e=this.config.duration){this._render(e);const n="animating";e&&(this.g.attr(n,""),this.g.transition(n).duration(e).on("end interrupt",()=>{this.g.attr(n,null)})),this._setUpComponentEventsThrottled(),this._setCustomAttributesThrottled()}get bleed(){return{top:0,bottom:0,left:0,right:0}}_render(e=this.config.duration){}_setCustomAttributes(){const e=this.config.attributes;Object.keys(e).forEach(n=>{Object.keys(e[n]).forEach(i=>{this.g.selectAll(`.${n}`).attr(i,e[n][i])})})}_setUpComponentEvents(){this._bindEvents(this.events),this._bindEvents(this.config.events,".user")}_bindEvents(e=this.events,n=""){Object.keys(e).forEach(i=>{Object.keys(e[i]).forEach(r=>{const o=this.g.selectAll(`.${i}`);o.on(r+n,(s,a)=>{const l=o.nodes(),c=l.indexOf(s.currentTarget),h=e[i][r];return h==null?void 0:h(a,s,c,l)})})})}destroy(){var e;(e=this.g)===null||e===void 0||e.remove(),this.element=void 0}isDestroyed(){return!this.element}}class Yp extends er{constructor(e){super(e)}get data(){var e;return(e=this._data)!==null&&e!==void 0?e:[]}set data(e){Array.isArray(e)&&(this._data=e)}}const Ge=Object.assign(Object.assign({},$a),{x:void 0,y:void 0,id:(t,e)=>{var n;return(n=t.id)!==null&&n!==void 0?n:`${e}`},color:t=>t.color,xScale:void 0,yScale:void 0,excludeFromDomainCalculation:!1});class Vn extends Wp{constructor(){super(...arguments),this.datamodel=new Yp,this.clippable=!0,this.stacked=!1,this._defaultConfig=Ge,this._xScale=Aa.scaleLinear(),this._yScale=Aa.scaleLinear()}get xScale(){return this.config.xScale||this._xScale}get yScale(){return this.config.yScale||this._yScale}setConfig(e){var n,i;!((n=this.config)===null||n===void 0)&&n.xScale&&(e.xScale=this.config.xScale),!((i=this.config)===null||i===void 0)&&i.yScale&&(e.yScale=this.config.yScale),super.setConfig(e)}setScaleDomain(e,n){var i,r;e===I.X&&((i=this._xScale)===null||i===void 0||i.domain(n)),e===I.Y&&((r=this._yScale)===null||r===void 0||r.domain(n))}setScaleRange(e,n){var i,r;e===I.X&&((i=this._xScale)===null||i===void 0||i.range(n)),e===I.Y&&((r=this._yScale)===null||r===void 0||r.range(n))}setScale(e,n){n&&e===I.X&&(this._xScale=n),n&&e===I.Y&&(this._yScale=n)}getDataExtent(e,n){const{config:i,datamodel:r}=this;switch(e){case I.X:return this.getXDataExtent();case I.Y:return this.getYDataExtent(n);default:return ki(r.data,i[e])}}getXDataExtent(){const{config:e,datamodel:n}=this;return ki(n.data,e.x)}getYDataExtent(e){const{config:n,datamodel:i}=this,r=e?vo(i.data,this.xScale.domain(),n.x):i.data,o=Bt(n.y)?n.y:[n.y];return ki(r,...o)}}x.Position=void 0,function(t){t.Top="top",t.Bottom="bottom",t.Left="left",t.Right="right",t.Center="center",t.Auto="auto"}(x.Position||(x.Position={}));var Ea;(function(t){t.Absolute="absolute",t.Fixed="fixed"})(Ea||(Ea={}));var Na;(function(t){t.Inside="inside",t.Outside="outside"})(Na||(Na={})),x.Orientation=void 0,function(t){t.Horizontal="horizontal",t.Vertical="vertical"}(x.Orientation||(x.Orientation={}));const Vp={components:[],container:void 0,followCursor:!0,allowHover:!0,horizontalPlacement:x.Position.Auto,horizontalShift:0,verticalPlacement:x.Position.Top,verticalShift:0,attributes:{},triggers:{},className:void 0},Xn=E`
|
|
55
|
-
label: tooltip;
|
|
56
|
-
display: inline-block;
|
|
57
|
-
left: 0;
|
|
58
|
-
bottom: 0;
|
|
59
|
-
min-width: max-content;
|
|
60
|
-
position: absolute;
|
|
61
|
-
opacity: 0;
|
|
62
|
-
transition: opacity;
|
|
63
|
-
transition-duration: var(--vis-tooltip-transition-duration);
|
|
64
|
-
z-index: 999999;
|
|
65
|
-
padding: var(--vis-tooltip-padding);
|
|
66
|
-
color: var(--vis-tooltip-text-color);
|
|
67
|
-
border-radius: var(--vis-tooltip-border-radius);
|
|
68
|
-
box-shadow: var(--vis-tooltip-box-shadow);
|
|
69
|
-
border: solid 1px var(--vis-tooltip-border-color);
|
|
70
|
-
background-color: var(--vis-tooltip-background-color);
|
|
71
|
-
backdrop-filter: var(--vis-tooltip-backdrop-filter);
|
|
72
|
-
`,Xp=Xn,qp=Ht`
|
|
73
|
-
:root {
|
|
74
|
-
--vis-tooltip-background-color: rgba(255, 255, 255, 0.95);
|
|
75
|
-
--vis-tooltip-border-color: #e5e9f7;
|
|
76
|
-
--vis-tooltip-text-color: #000;
|
|
77
|
-
--vis-tooltip-shadow-color: rgba(172, 179, 184, 0.35);
|
|
78
|
-
--vis-tooltip-backdrop-filter: none;
|
|
79
|
-
--vis-tooltip-padding: 10px 15px;
|
|
80
|
-
--vis-tooltip-border-radius: 5px;
|
|
81
|
-
--vis-tooltip-transition-duration: 300ms;
|
|
82
|
-
--vis-tooltip-box-shadow: none;
|
|
83
|
-
|
|
84
|
-
--vis-dark-tooltip-background-color: rgba(30,30,30, 0.95);
|
|
85
|
-
--vis-dark-tooltip-text-color: #e5e9f7;
|
|
86
|
-
--vis-dark-tooltip-border-color: var(--vis-color-grey);
|
|
87
|
-
--vis-dark-tooltip-shadow-color: rgba(0,0,0, 0.95);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
body.theme-dark ${`.${Xn}`} {
|
|
91
|
-
--vis-tooltip-background-color: var(--vis-dark-tooltip-background-color);
|
|
92
|
-
--vis-tooltip-text-color: var(--vis-dark-tooltip-text-color);
|
|
93
|
-
--vis-tooltip-border-color: var(--vis-dark-tooltip-border-color);
|
|
94
|
-
--vis-tooltip-shadow-color: var(--vis-dark-tooltip-shadow-color);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
body.theme-dark {
|
|
98
|
-
--vis-tooltip-background-color: rgba(30,30,30, 0.95);
|
|
99
|
-
--vis-tooltip-text-color: #e5e9f7;
|
|
100
|
-
--vis-tooltip-border-color: var(--vis-color-grey);
|
|
101
|
-
--vis-tooltip-shadow-color: rgba(0,0,0, 0.95);
|
|
102
|
-
}
|
|
103
|
-
`,Oa=E`
|
|
104
|
-
bottom: unset;
|
|
105
|
-
position: fixed;
|
|
106
|
-
`,wr=E`
|
|
107
|
-
opacity: 1;
|
|
108
|
-
`,kr=E`
|
|
109
|
-
display: none;
|
|
110
|
-
`,Pa=E`
|
|
111
|
-
label: non-interactive;
|
|
112
|
-
pointer-events: none;
|
|
113
|
-
user-select: none;
|
|
114
|
-
`,Gp=Object.freeze(Object.defineProperty({__proto__:null,hidden:kr,nonInteractive:Pa,positionFixed:Oa,root:Xn,show:wr,tooltip:Xp,variables:qp},Symbol.toStringTag,{value:"Module"}));class Da{constructor(e={}){this._defaultConfig=Vp,this.config=this._defaultConfig,this._setUpEventsThrottled=an(this._setUpEvents,500),this._setContainerPositionThrottled=an(this._setContainerPosition,500),this._isShown=!1,this.element=document.createElement("div"),this.div=j(this.element).attr("class",Xn),this.setConfig(e),this.components=this.config.components,this._mutationObserver=new MutationObserver(()=>{this._isShown&&(!this.config.followCursor&&this._hoveredElement?this.placeByElement(this._hoveredElement):this._position&&this.place({x:this._position[0],y:this._position[1]}))}),this._mutationObserver.observe(this.div.node(),{childList:!0,subtree:!0})}setConfig(e){var n;this.prevConfig=this.config,this.config=zt(this._defaultConfig,e),this.prevConfig.horizontalPlacement!==this.config.horizontalPlacement&&this.overrideHorizontalPlacement(void 0),this.config.container&&this.config.container!==((n=this.prevConfig)===null||n===void 0?void 0:n.container)&&this.setContainer(this.config.container),this._setUpAttributes()}setContainer(e){var n;(n=this.element.parentNode)===null||n===void 0||n.removeChild(this.element),this._container=e,this._container.appendChild(this.element),this._setContainerPositionThrottled()}getContainer(){return this._container}hasContainer(){return!!this._container&&this._container.isConnected}setComponents(e){this.components=e}update(){this._container&&this._setUpEventsThrottled()}show(e,n){this.render(e),this.place(n)}hide(){this.div.classed(wr,!1).on("transitionend",()=>{this.div.classed(kr,!this._isShown)}),this._isShown=!1}display(){this.div.classed(kr,!1).classed(wr,!0),this._isShown=!0}place(e){if(this._position=[e.x,e.y],!this.hasContainer()){console.warn("Unovis | Tooltip: Container was not set or is not initialized yet");return}const{config:n}=this,i=this.element.offsetWidth,r=this.element.offsetHeight,o=this._overriddenHorizontalPlacement||(n.horizontalPlacement===x.Position.Auto?x.Position.Center:n.horizontalPlacement),s=n.verticalPlacement===x.Position.Auto?e.y-r<0?x.Position.Bottom:x.Position.Top:n.verticalPlacement,a=5,l=o===x.Position.Left?-i-a-n.horizontalShift:o===x.Position.Center?-i/2:a+n.horizontalShift,c=s===x.Position.Bottom?a+n.verticalShift:s===x.Position.Center?-r/2:-5-n.verticalShift-r,[h,u]=this._constraintPosToContainer(e.x+l,e.y+c,i,r);this._applyPosition(h,u,r)}placeByElement(e){const{config:n}=this;this._hoveredElement=e;const i=5,r=this.element.offsetWidth,o=this.element.offsetHeight,s=this.isContainerBody(),a=s?window.innerWidth:this._container.scrollWidth,l=e.getBoundingClientRect(),c=s?[l.x,l.y]:tn({clientX:l.x,clientY:l.y,pageX:l.x,pageY:l.y},this._container),h=this._overriddenHorizontalPlacement||(n.horizontalPlacement===x.Position.Auto?c[0]-r<0?x.Position.Right:c[0]+r>a?x.Position.Left:x.Position.Center:n.horizontalPlacement);let u=0;switch(h){case x.Position.Left:u=-r-i-n.horizontalShift;break;case x.Position.Right:u=l.width+i+n.horizontalShift;break;case x.Position.Center:default:u=(-r+l.width)/2;break}const f=n.verticalPlacement===x.Position.Auto?h!==x.Position.Center?x.Position.Center:c[1]-o<0?x.Position.Bottom:x.Position.Top:n.verticalPlacement;let d=-o;switch(f){case x.Position.Center:d+=(o+l.height)/2;break;case x.Position.Bottom:d+=o+l.height+i+n.verticalShift;break;case x.Position.Top:default:d+=-5-n.verticalShift;break}const[p,g]=this._constraintPosToContainer(c[0]+u,c[1]+d,r,o);this._applyPosition(p,g,o)}isContainerBody(){return this._container===document.body}overrideHorizontalPlacement(e){this._overriddenHorizontalPlacement=e}render(e){var n;const{config:i,prevConfig:r}=this;e instanceof HTMLElement?this.div.select(":first-child").node()!==e&&this.div.html("").append(()=>e):e&&this.div.html(e),this.div.classed((n=i.className)!==null&&n!==void 0?n:"",!!i.className).classed(Pa,!i.allowHover||i.followCursor),r!=null&&r.className&&r.className!==i.className&&this.div.classed(r.className,!1),this.display()}_applyPosition(e,n,i){const r=this.isContainerBody(),o=r?window.innerHeight:this._container.scrollHeight;this.div.classed(Oa,r).style("top",r?`${n}px`:"unset").style("bottom",r?"unset":`${o-n-i}px`).style("left",`${e}px`)}_constraintPosToContainer(e,n,i,r){const o=this.isContainerBody(),s=o?window.innerHeight:this._container.scrollHeight,a=o?window.innerWidth:this._container.scrollWidth,l=10,c=e>a-i-l,h=e<l,u=c?a-i-l:h?l:e,f=10,d=n>s-r-f,p=n<f,g=d?s-r-f:p?f:n;return[a<i?0:u,s<r?0:g]}_setContainerPosition(){var e;this._container!==document.body&&((e=getComputedStyle(this._container))===null||e===void 0?void 0:e.position)==="static"&&(this._container.style.position="relative")}_setUpEvents(){const{config:e}=this;this.components.forEach(n=>{const i=j(n.element);i.on("mousemove.tooltip",r=>{const o=r.composedPath&&r.composedPath()||r.path||[r.target];for(const s of Object.keys(e.triggers)){const a=e.triggers[s];if(!a)continue;const l=i.selectAll(`.${s}`).nodes();for(const c of o){if(c===i.node())break;if(c.classList.contains(s)){const h=l.indexOf(c),u=j(c).datum(),f=a(u,h,l),[d,p]=this.isContainerBody()?[r.clientX,r.clientY]:tn(r,this._container);f===null?this.hide():(this.render(f),e.followCursor?this.place({x:d,y:p}):this.placeByElement(c)),r.stopPropagation();return}}}this._isShown&&this.hide()}).on("mouseleave.tooltip",r=>{r.stopPropagation(),this.hide()})}),e.allowHover&&!e.followCursor?this.div.on("mouseenter.tooltip",this.display.bind(this)).on("mouseleave.tooltip",this.hide.bind(this)):this.div.on("mouseenter.tooltip",null).on("mouseleave.tooltip",null)}_setUpAttributes(){const e=this.config.attributes;e&&Object.keys(e).forEach(n=>{this.div.attr(n,e[n])})}destroy(){var e;this._mutationObserver.disconnect(),(e=this.div)===null||e===void 0||e.remove()}}Da.selectors=Gp;function z(t){return function(){return t}}const Ra=Math.cos,qn=Math.sin,gt=Math.sqrt,Fa=1e-12,Gn=Math.PI,jn=2*Gn,Tr=Math.PI,Sr=2*Tr,Jt=1e-6,jp=Sr-Jt;function La(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function Zp(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return La;const n=10**e;return function(i){this._+=i[0];for(let r=1,o=i.length;r<o;++r)this._+=Math.round(arguments[r]*n)/n+i[r]}}class Qp{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?La:Zp(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,i,r){this._append`Q${+e},${+n},${this._x1=+i},${this._y1=+r}`}bezierCurveTo(e,n,i,r,o,s){this._append`C${+e},${+n},${+i},${+r},${this._x1=+o},${this._y1=+s}`}arcTo(e,n,i,r,o){if(e=+e,n=+n,i=+i,r=+r,o=+o,o<0)throw new Error(`negative radius: ${o}`);let s=this._x1,a=this._y1,l=i-e,c=r-n,h=s-e,u=a-n,f=h*h+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(f>Jt)if(!(Math.abs(u*l-c*h)>Jt)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let d=i-s,p=r-a,g=l*l+c*c,v=d*d+p*p,_=Math.sqrt(g),b=Math.sqrt(f),y=o*Math.tan((Tr-Math.acos((g+f-v)/(2*_*b)))/2),S=y/b,T=y/_;Math.abs(S-1)>Jt&&this._append`L${e+S*h},${n+S*u}`,this._append`A${o},${o},0,0,${+(u*d>h*p)},${this._x1=e+T*l},${this._y1=n+T*c}`}}arc(e,n,i,r,o,s){if(e=+e,n=+n,i=+i,s=!!s,i<0)throw new Error(`negative radius: ${i}`);let a=i*Math.cos(r),l=i*Math.sin(r),c=e+a,h=n+l,u=1^s,f=s?r-o:o-r;this._x1===null?this._append`M${c},${h}`:(Math.abs(this._x1-c)>Jt||Math.abs(this._y1-h)>Jt)&&this._append`L${c},${h}`,i&&(f<0&&(f=f%Sr+Sr),f>jp?this._append`A${i},${i},0,1,${u},${e-a},${n-l}A${i},${i},0,1,${u},${this._x1=c},${this._y1=h}`:f>Jt&&this._append`A${i},${i},0,${+(f>=Tr)},${u},${this._x1=e+i*Math.cos(o)},${this._y1=n+i*Math.sin(o)}`)}rect(e,n,i,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function Cr(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);e=i}return t},()=>new Qp(e)}function Ba(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function za(t){this._context=t}za.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Mr(t){return new za(t)}function Ia(t){return t[0]}function Ua(t){return t[1]}function Ha(t,e){var n=z(!0),i=null,r=Mr,o=null,s=Cr(a);t=typeof t=="function"?t:t===void 0?Ia:z(t),e=typeof e=="function"?e:e===void 0?Ua:z(e);function a(l){var c,h=(l=Ba(l)).length,u,f=!1,d;for(i==null&&(o=r(d=s())),c=0;c<=h;++c)!(c<h&&n(u=l[c],c,l))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(u,c,l),+e(u,c,l));if(d)return o=null,d+""||null}return a.x=function(l){return arguments.length?(t=typeof l=="function"?l:z(+l),a):t},a.y=function(l){return arguments.length?(e=typeof l=="function"?l:z(+l),a):e},a.defined=function(l){return arguments.length?(n=typeof l=="function"?l:z(!!l),a):n},a.curve=function(l){return arguments.length?(r=l,i!=null&&(o=r(i)),a):r},a.context=function(l){return arguments.length?(l==null?i=o=null:o=r(i=l),a):i},a}function Jp(t,e,n){var i=null,r=z(!0),o=null,s=Mr,a=null,l=Cr(c);t=typeof t=="function"?t:t===void 0?Ia:z(+t),e=typeof e=="function"?e:z(e===void 0?0:+e),n=typeof n=="function"?n:n===void 0?Ua:z(+n);function c(u){var f,d,p,g=(u=Ba(u)).length,v,_=!1,b,y=new Array(g),S=new Array(g);for(o==null&&(a=s(b=l())),f=0;f<=g;++f){if(!(f<g&&r(v=u[f],f,u))===_)if(_=!_)d=f,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),p=f-1;p>=d;--p)a.point(y[p],S[p]);a.lineEnd(),a.areaEnd()}_&&(y[f]=+t(v,f,u),S[f]=+e(v,f,u),a.point(i?+i(v,f,u):y[f],n?+n(v,f,u):S[f]))}if(b)return a=null,b+""||null}function h(){return Ha().defined(r).curve(s).context(o)}return c.x=function(u){return arguments.length?(t=typeof u=="function"?u:z(+u),i=null,c):t},c.x0=function(u){return arguments.length?(t=typeof u=="function"?u:z(+u),c):t},c.x1=function(u){return arguments.length?(i=u==null?null:typeof u=="function"?u:z(+u),c):i},c.y=function(u){return arguments.length?(e=typeof u=="function"?u:z(+u),n=null,c):e},c.y0=function(u){return arguments.length?(e=typeof u=="function"?u:z(+u),c):e},c.y1=function(u){return arguments.length?(n=u==null?null:typeof u=="function"?u:z(+u),c):n},c.lineX0=c.lineY0=function(){return h().x(t).y(e)},c.lineY1=function(){return h().x(t).y(n)},c.lineX1=function(){return h().x(i).y(e)},c.defined=function(u){return arguments.length?(r=typeof u=="function"?u:z(!!u),c):r},c.curve=function(u){return arguments.length?(s=u,o!=null&&(a=s(o)),c):s},c.context=function(u){return arguments.length?(u==null?o=a=null:a=s(o=u),c):o},c}const Wa={draw(t,e){const n=gt(e/Gn);t.moveTo(n,0),t.arc(0,0,n,0,jn)}},Kp={draw(t,e){const n=gt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},Ya=gt(1/3),t0=Ya*2,e0={draw(t,e){const n=gt(e/t0),i=n*Ya;t.moveTo(0,-n),t.lineTo(i,0),t.lineTo(0,n),t.lineTo(-i,0),t.closePath()}},n0={draw(t,e){const n=gt(e),i=-n/2;t.rect(i,i,n,n)}},i0=.8908130915292852,Va=qn(Gn/10)/qn(7*Gn/10),r0=qn(jn/10)*Va,o0=-Ra(jn/10)*Va,s0={draw(t,e){const n=gt(e*i0),i=r0*n,r=o0*n;t.moveTo(0,-n),t.lineTo(i,r);for(let o=1;o<5;++o){const s=jn*o/5,a=Ra(s),l=qn(s);t.lineTo(l*n,-a*n),t.lineTo(a*i-l*r,l*i+a*r)}t.closePath()}},Ar=gt(3),a0={draw(t,e){const n=-gt(e/(Ar*3));t.moveTo(0,n*2),t.lineTo(-Ar*n,-n),t.lineTo(Ar*n,-n),t.closePath()}},lt=-.5,ct=gt(3)/2,$r=1/gt(12),l0=($r/2+1)*3,c0={draw(t,e){const n=gt(e/l0),i=n/2,r=n*$r,o=i,s=n*$r+n,a=-o,l=s;t.moveTo(i,r),t.lineTo(o,s),t.lineTo(a,l),t.lineTo(lt*i-ct*r,ct*i+lt*r),t.lineTo(lt*o-ct*s,ct*o+lt*s),t.lineTo(lt*a-ct*l,ct*a+lt*l),t.lineTo(lt*i+ct*r,lt*r-ct*i),t.lineTo(lt*o+ct*s,lt*s-ct*o),t.lineTo(lt*a+ct*l,lt*l-ct*a),t.closePath()}};function u0(t,e){let n=null,i=Cr(r);t=typeof t=="function"?t:z(t||Wa),e=typeof e=="function"?e:z(e===void 0?64:+e);function r(){let o;if(n||(n=o=i()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),o)return n=null,o+""||null}return r.type=function(o){return arguments.length?(t=typeof o=="function"?o:z(o),r):t},r.size=function(o){return arguments.length?(e=typeof o=="function"?o:z(+o),r):e},r.context=function(o){return arguments.length?(n=o??null,r):n},r}function Ft(){}function Zn(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function Qn(t){this._context=t}Qn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Zn(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Zn(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function h0(t){return new Qn(t)}function Xa(t){this._context=t}Xa.prototype={areaStart:Ft,areaEnd:Ft,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Zn(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function f0(t){return new Xa(t)}function qa(t){this._context=t}qa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:Zn(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function d0(t){return new qa(t)}function Ga(t,e){this._basis=new Qn(t),this._beta=e}Ga.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var i=t[0],r=e[0],o=t[n]-i,s=e[n]-r,a=-1,l;++a<=n;)l=a/n,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+l*o),this._beta*e[a]+(1-this._beta)*(r+l*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const g0=function t(e){function n(i){return e===1?new Qn(i):new Ga(i,e)}return n.beta=function(i){return t(+i)},n}(.85);function Jn(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Er(t,e){this._context=t,this._k=(1-e)/6}Er.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Jn(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Jn(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const p0=function t(e){function n(i){return new Er(i,e)}return n.tension=function(i){return t(+i)},n}(0);function Nr(t,e){this._context=t,this._k=(1-e)/6}Nr.prototype={areaStart:Ft,areaEnd:Ft,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Jn(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const m0=function t(e){function n(i){return new Nr(i,e)}return n.tension=function(i){return t(+i)},n}(0);function Or(t,e){this._context=t,this._k=(1-e)/6}Or.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Jn(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const v0=function t(e){function n(i){return new Or(i,e)}return n.tension=function(i){return t(+i)},n}(0);function Pr(t,e,n){var i=t._x1,r=t._y1,o=t._x2,s=t._y2;if(t._l01_a>Fa){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,r=(r*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>Fa){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,h=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/h,s=(s*c+t._y1*t._l23_2a-n*t._l12_2a)/h}t._context.bezierCurveTo(i,r,o,s,t._x2,t._y2)}function ja(t,e){this._context=t,this._alpha=e}ja.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Pr(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const _0=function t(e){function n(i){return e?new ja(i,e):new Er(i,0)}return n.alpha=function(i){return t(+i)},n}(.5);function Za(t,e){this._context=t,this._alpha=e}Za.prototype={areaStart:Ft,areaEnd:Ft,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Pr(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const y0=function t(e){function n(i){return e?new Za(i,e):new Nr(i,0)}return n.alpha=function(i){return t(+i)},n}(.5);function Qa(t,e){this._context=t,this._alpha=e}Qa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Pr(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const x0=function t(e){function n(i){return e?new Qa(i,e):new Or(i,0)}return n.alpha=function(i){return t(+i)},n}(.5);function Ja(t){this._context=t}Ja.prototype={areaStart:Ft,areaEnd:Ft,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function b0(t){return new Ja(t)}function Ka(t){return t<0?-1:1}function tl(t,e,n){var i=t._x1-t._x0,r=e-t._x1,o=(t._y1-t._y0)/(i||r<0&&-0),s=(n-t._y1)/(r||i<0&&-0),a=(o*r+s*i)/(i+r);return(Ka(o)+Ka(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function el(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Dr(t,e,n){var i=t._x0,r=t._y0,o=t._x1,s=t._y1,a=(o-i)/3;t._context.bezierCurveTo(i+a,r+a*e,o-a,s-a*n,o,s)}function Kn(t){this._context=t}Kn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Dr(this,this._t0,el(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Dr(this,el(this,n=tl(this,t,e)),n);break;default:Dr(this,this._t0,n=tl(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function nl(t){this._context=new il(t)}(nl.prototype=Object.create(Kn.prototype)).point=function(t,e){Kn.prototype.point.call(this,e,t)};function il(t){this._context=t}il.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,r,o){this._context.bezierCurveTo(e,t,i,n,o,r)}};function w0(t){return new Kn(t)}function k0(t){return new nl(t)}function rl(t){this._context=t}rl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var i=ol(t),r=ol(e),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(i[0][o],r[0][o],i[1][o],r[1][o],t[s],e[s]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function ol(t){var e,n=t.length-1,i,r=new Array(n),o=new Array(n),s=new Array(n);for(r[0]=0,o[0]=2,s[0]=t[0]+2*t[1],e=1;e<n-1;++e)r[e]=1,o[e]=4,s[e]=4*t[e]+2*t[e+1];for(r[n-1]=2,o[n-1]=7,s[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=r[e]/o[e-1],o[e]-=i,s[e]-=i*s[e-1];for(r[n-1]=s[n-1]/o[n-1],e=n-2;e>=0;--e)r[e]=(s[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-r[e+1];return[r,o]}function T0(t){return new rl(t)}function ti(t,e){this._context=t,this._t=e}ti.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function S0(t){return new ti(t,.5)}function C0(t){return new ti(t,0)}function M0(t){return new ti(t,1)}function sl(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function A0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?sl(Object(n),!0).forEach(function(i){$0(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sl(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function je(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?je=function(e){return typeof e}:je=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(t)}function $0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(){return ei=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ei.apply(this,arguments)}function E0(t,e){if(t){if(typeof t=="string")return al(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return al(t,e)}}function al(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ll(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=E0(t))||e){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(l){throw l},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
115
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,a;return{s:function(){n=n.call(t)},n:function(){var l=n.next();return o=l.done,l},e:function(l){s=!0,a=l},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw a}}}}function N0(t,e){var n=[],i=[];function r(o,s){if(o.length===1)n.push(o[0]),i.push(o[0]);else{for(var a=Array(o.length-1),l=0;l<a.length;l++)l===0&&n.push(o[0]),l===a.length-1&&i.push(o[l+1]),a[l]=[(1-s)*o[l][0]+s*o[l+1][0],(1-s)*o[l][1]+s*o[l+1][1]];r(a,s)}}return t.length&&r(t,e),{left:n,right:i.reverse()}}function O0(t){var e={};return t.length===4&&(e.x2=t[2][0],e.y2=t[2][1]),t.length>=3&&(e.x1=t[1][0],e.y1=t[1][1]),e.x=t[t.length-1][0],e.y=t[t.length-1][1],t.length===4?e.type="C":t.length===3?e.type="Q":e.type="L",e}function P0(t,e){e=e||2;for(var n=[],i=t,r=1/e,o=0;o<e-1;o++){var s=r/(1-r*o),a=N0(i,s);n.push(a.left),i=a.right}return n.push(i),n}function D0(t,e,n){var i=[[t.x,t.y]];return e.x1!=null&&i.push([e.x1,e.y1]),e.x2!=null&&i.push([e.x2,e.y2]),i.push([e.x,e.y]),P0(i,n).map(O0)}var R0=/[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g,me={M:["x","y"],L:["x","y"],H:["x"],V:["y"],C:["x1","y1","x2","y2","x","y"],S:["x2","y2","x","y"],Q:["x1","y1","x","y"],T:["x","y"],A:["rx","ry","xAxisRotation","largeArcFlag","sweepFlag","x","y"],Z:[]};Object.keys(me).forEach(function(t){me[t.toLowerCase()]=me[t]});function Rr(t,e){for(var n=Array(t),i=0;i<t;i++)n[i]=e;return n}function F0(t){return"".concat(t.type).concat(me[t.type].map(function(e){return t[e]}).join(","))}function L0(t,e){var n={x1:"x",y1:"y",x2:"x",y2:"y"},i=["xAxisRotation","largeArcFlag","sweepFlag"];if(t.type!==e.type&&e.type.toUpperCase()!=="M"){var r={};Object.keys(e).forEach(function(o){var s=e[o],a=t[o];a===void 0&&(i.includes(o)?a=s:(a===void 0&&n[o]&&(a=t[n[o]]),a===void 0&&(a=0))),r[o]=a}),r.type=e.type,t=r}return t}function B0(t,e,n){var i=[];if(e.type==="L"||e.type==="Q"||e.type==="C")i=i.concat(D0(t,e,n));else{var r=ei({},t);r.type==="M"&&(r.type="L"),i=i.concat(Rr(n-1).map(function(){return r})),i.push(e)}return i}function cl(t,e,n){var i=t.length-1,r=e.length-1,o=i/r,s=Rr(r).reduce(function(l,c,h){var u=Math.floor(o*h);if(n&&u<t.length-1&&n(t[u],t[u+1])){var f=o*h%1<.5;l[u]&&(f?u>0?u-=1:u<t.length-1&&(u+=1):u<t.length-1?u+=1:u>0&&(u-=1))}return l[u]=(l[u]||0)+1,l},[]),a=s.reduce(function(l,c,h){if(h===t.length-1){var u=Rr(c,ei({},t[t.length-1]));return u[0].type==="M"&&u.forEach(function(f){f.type="L"}),l.concat(u)}return l.concat(B0(t[h],t[h+1],c))},[]);return a.unshift(t[0]),a}function ul(t){for(var e=(t||"").match(R0)||[],n=[],i,r,o=0;o<e.length;++o)if(i=me[e[o]],i){r={type:e[o]};for(var s=0;s<i.length;++s)r[i[s]]=+e[o+s+1];o+=i.length,n.push(r)}return n}function z0(t,e,n){var i=t==null?[]:t.slice(),r=e==null?[]:e.slice(),o=je(n)==="object"?n:{excludeSegment:n,snapEndsToInput:!0},s=o.excludeSegment,a=o.snapEndsToInput;if(!i.length&&!r.length)return function(){return[]};var l=(i.length===0||i[i.length-1].type==="Z")&&(r.length===0||r[r.length-1].type==="Z");i.length>0&&i[i.length-1].type==="Z"&&i.pop(),r.length>0&&r[r.length-1].type==="Z"&&r.pop(),i.length?r.length||r.push(i[0]):i.push(r[0]);var c=Math.abs(r.length-i.length);c!==0&&(r.length>i.length?i=cl(i,r,s):r.length<i.length&&(r=cl(r,i,s))),i=i.map(function(u,f){return L0(u,r[f])});var h=i.map(function(u){return A0({},u)});return l&&(h.push({type:"Z"}),i.push({type:"Z"})),function(f){if(f===1&&a)return e??[];if(f===0)return i;for(var d=0;d<h.length;++d){var p=i[d],g=r[d],v=h[d],_=ll(me[v.type]),b;try{for(_.s();!(b=_.n()).done;){var y=b.value;v[y]=(1-f)*p[y]+f*g[y],(y==="largeArcFlag"||y==="sweepFlag")&&(v[y]=Math.round(v[y]))}}catch(S){_.e(S)}finally{_.f()}}return h}}function hl(t,e,n){var i=ul(t),r=ul(e),o=je(n)==="object"?n:{excludeSegment:n,snapEndsToInput:!0},s=o.excludeSegment,a=o.snapEndsToInput;if(!i.length&&!r.length)return function(){return""};var l=z0(i,r,{excludeSegment:s,snapEndsToInput:a});return function(h){if(h===1&&a)return e??"";var u=l(h),f="",d=ll(u),p;try{for(d.s();!(p=d.n()).done;){var g=p.value;f+=F0(g)}}catch(v){d.e(v)}finally{d.f()}return f}}function kt(t,e,n,i){return Array.isArray(e)&&isFinite(n)?e[n%e.length]:ln(t,e,n)||(vt(n)?`var(${Dt(n)})`:null)}x.CurveType=void 0,function(t){t.Basis="basis",t.BasisClosed="basisClosed",t.BasisOpen="basisOpen",t.Bundle="bundle",t.Cardinal="cardinal",t.CardinalClosed="cardinalClosed",t.CardinalOpen="cardinalOpen",t.CatmullRom="catmullRom",t.CatmullRomClosed="catmullRomClosed",t.CatmullRomOpen="catmullRomOpen",t.Linear="linear",t.LinearClosed="linearClosed",t.MonotoneX="monotoneX",t.MonotoneY="monotoneY",t.Natural="natural",t.Step="step",t.StepAfter="stepAfter",t.StepBefore="stepBefore"}(x.CurveType||(x.CurveType={}));const Fr={[x.CurveType.Basis]:h0,[x.CurveType.BasisClosed]:f0,[x.CurveType.BasisOpen]:d0,[x.CurveType.Bundle]:g0,[x.CurveType.Cardinal]:p0,[x.CurveType.CardinalClosed]:m0,[x.CurveType.CardinalOpen]:v0,[x.CurveType.CatmullRom]:_0,[x.CurveType.CatmullRomClosed]:y0,[x.CurveType.CatmullRomOpen]:x0,[x.CurveType.Linear]:Mr,[x.CurveType.LinearClosed]:b0,[x.CurveType.MonotoneX]:w0,[x.CurveType.MonotoneY]:k0,[x.CurveType.Natural]:T0,[x.CurveType.Step]:S0,[x.CurveType.StepAfter]:M0,[x.CurveType.StepBefore]:C0},I0=Object.assign(Object.assign({},Ge),{curveType:x.CurveType.MonotoneX,lineWidth:2,lineDashArray:void 0,fallbackValue:void 0,highlightOnHover:!1,cursor:null,interpolateMissingData:!1}),U0=Ht`
|
|
116
|
-
:root {
|
|
117
|
-
--vis-line-cursor: default;
|
|
118
|
-
--vis-line-stroke-dasharray: none;
|
|
119
|
-
--vis-line-stroke-dashoffset: 0;
|
|
120
|
-
|
|
121
|
-
--vis-line-gapfill-stroke-dasharray: 2 3;
|
|
122
|
-
--vis-line-gapfill-stroke-opacity: 0.8;
|
|
123
|
-
--vis-line-gapfill-stroke-dashoffset: 0;
|
|
124
|
-
}
|
|
125
|
-
`,H0=E`
|
|
126
|
-
label: line-component;
|
|
127
|
-
`,Ze=E`
|
|
128
|
-
label: line;
|
|
129
|
-
transition: opacity 200ms;
|
|
130
|
-
cursor: var(--vis-line-cursor);
|
|
131
|
-
`,Lr=E`
|
|
132
|
-
label: linePath;
|
|
133
|
-
fill: none;
|
|
134
|
-
stroke-dasharray: var(--vis-line-stroke-dasharray);
|
|
135
|
-
stroke-dashoffset: var(--vis-line-stroke-dashoffset);
|
|
136
|
-
`,Br=E`
|
|
137
|
-
label: lineSelectionHelper;
|
|
138
|
-
fill: none;
|
|
139
|
-
stroke: rgba(0, 0, 0, 0);
|
|
140
|
-
stroke-width: 8px;
|
|
141
|
-
`,zr=E`
|
|
142
|
-
opacity: 0.2;
|
|
143
|
-
`,Ir=E`
|
|
144
|
-
label: interpolated-path;
|
|
145
|
-
fill: none;
|
|
146
|
-
stroke-dasharray: var(--vis-line-gapfill-stroke-dasharray);
|
|
147
|
-
stroke-dashoffset: var(--vis-line-gapfill-stroke-dashoffset);
|
|
148
|
-
stroke-opacity: var(--vis-line-gapfill-stroke-opacity);
|
|
149
|
-
`,W0=Object.freeze(Object.defineProperty({__proto__:null,dim:zr,globalStyles:U0,interpolatedPath:Ir,line:Ze,linePath:Lr,lineSelectionHelper:Br,root:H0},Symbol.toStringTag,{value:"Module"}));class ni extends Vn{constructor(e){super(),this._defaultConfig=I0,this.config=this._defaultConfig,this.curve=Fr[x.CurveType.MonotoneX],this.events={[ni.selectors.line]:{mouseover:this._highlight.bind(this),mouseleave:this._resetHighlight.bind(this)}},e&&this.setConfig(e)}get bleed(){const{config:{lineWidth:e}}=this,n=this.yScale.domain(),r=(this.yScale.range()[0]>this.yScale.range()[1]?Qt.North:Qt.South)===Qt.South,o=e>3,s=e>=10;return{top:!s&&(!r&&n[1]===0||r&&n[0]===0)?0:e/2,bottom:!s&&(!r&&n[0]===0||r&&n[1]===0)?0:e/2,left:o?e/2:0,right:o?e/2:0}}_render(e){super._render(e);const{config:n,datamodel:{data:i}}=this,r=vt(e)?e:n.duration;this.curve=Fr[n.curveType],this.lineGen=Ha().x(u=>u.x).y(u=>u.y).defined(u=>u.defined).curve(this.curve);const o=Bt(n.y)?n.y:[n.y],s=i.map((u,f)=>this.xScale(W(u,n.x,f))),a=o.map(u=>{const f=i.map((_,b)=>{const y=W(_,u,b),S=(vt(y)||y===null)&&isFinite(y)?y:n.fallbackValue,T=n.interpolateMissingData?(vt(y)||y===null)&&isFinite(y):isFinite(S);return{x:s[b],y:this.yScale(S??0),defined:T,value:S}}),d=f.reduce((_,b)=>b.defined||_,!1);let p=!1;const g=f.reduce((_,b,y)=>{!b.defined&&isFinite(n.fallbackValue)&&_.push(Object.assign(Object.assign({},b),{defined:!0})),!b.defined&&!p&&(p=!0);const S=y>0&&!f[y-1].defined||y<f.length-1&&!f[y+1].defined;return b.defined&&S&&(p||_.push(Object.assign(Object.assign({},b),{defined:!1})),_.push(b),p=!1),_},[]),v=d&&f.some(_=>_.value!==null);return{values:f,defined:d,gaps:g,visible:v}}),l=this.g.selectAll(`.${Ze}`).data(a),c=l.enter().append("g").attr("class",Ze);c.append("path").attr("class",Lr).attr("stroke",(u,f)=>kt(i,n.color,f)).attr("stroke-opacity",0).attr("stroke-width",n.lineWidth),c.append("path").attr("class",Br).attr("d",this._emptyPath()),c.append("path").attr("class",Ir).attr("d",this._emptyPath()).style("opacity",0);const h=c.merge(l);h.style("cursor",(u,f)=>ln(i,n.cursor,f)),h.each((u,f,d)=>{var p;const g=j(d[f]),v=g.select(`.${Lr}`),_=g.select(`.${Br}`),b=g.select(`.${Ir}`),y=u.visible,S=wi(i,n.lineDashArray,f),T=st(v,r).attr("stroke",kt(i,n.color,f)).attr("stroke-width",n.lineWidth).attr("stroke-opacity",y?1:0).style("stroke-dasharray",(p=S==null?void 0:S.join(" "))!==null&&p!==void 0?p:null),k=u.values.some(B=>!B.defined),C=this.lineGen(u.values);if(r&&!k){const B=v.attr("d")||this._emptyPath(),F=C||this._emptyPath();T.attrTween("d",()=>hl(B,F))}else u.visible&&T.attr("d",C);_.attr("d",C).attr("visibility",y?null:"hidden"),k&&n.interpolateMissingData?st(b,r).attr("d",this.lineGen(u.gaps)).attr("stroke",kt(i,n.color,f)).attr("stroke-width",n.lineWidth-1).style("opacity",1):b.transition().duration(r).style("opacity",0)}),st(l.exit(),r).style("opacity",0).remove()}_emptyPath(){const e=this.xScale.range(),n=this.yScale.range();return`M${e[0]},${n[0]} L${e[1]},${n[0]}`}_highlight(e){const{config:n}=this;n.highlightOnHover&&this.g.selectAll(`.${Ze}`).classed(zr,i=>i!==e)}_resetHighlight(){const{config:e}=this;e.highlightOnHover&&this.g.selectAll(`.${Ze}`).classed(zr,!1)}}ni.selectors=W0;function Y0(t){return t}var ii=1,ri=2,Ur=3,Qe=4,fl=1e-6;function V0(t){return"translate("+t+",0)"}function X0(t){return"translate(0,"+t+")"}function q0(t){return e=>+t(e)}function G0(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function j0(){return!this.__axis}function oi(t,e){var n=[],i=null,r=null,o=6,s=6,a=3,l=typeof window<"u"&&window.devicePixelRatio>1?0:.5,c=t===ii||t===Qe?-1:1,h=t===Qe||t===ri?"x":"y",u=t===ii||t===Ur?V0:X0;function f(d){var p=i??(e.ticks?e.ticks.apply(e,n):e.domain()),g=r??(e.tickFormat?e.tickFormat.apply(e,n):Y0),v=Math.max(o,0)+a,_=e.range(),b=+_[0]+l,y=+_[_.length-1]+l,S=(e.bandwidth?G0:q0)(e.copy(),l),T=d.selection?d.selection():d,k=T.selectAll(".domain").data([null]),C=T.selectAll(".tick").data(p,e).order(),B=C.exit(),F=C.enter().append("g").attr("class","tick"),it=C.select("line"),A=C.select("text");k=k.merge(k.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),C=C.merge(F),it=it.merge(F.append("line").attr("stroke","currentColor").attr(h+"2",c*o)),A=A.merge(F.append("text").attr("fill","currentColor").attr(h,c*v).attr("dy",t===ii?"0em":t===Ur?"0.71em":"0.32em")),d!==T&&(k=k.transition(d),C=C.transition(d),it=it.transition(d),A=A.transition(d),B=B.transition(d).attr("opacity",fl).attr("transform",function(U){return isFinite(U=S(U))?u(U+l):this.getAttribute("transform")}),F.attr("opacity",fl).attr("transform",function(U){var V=this.parentNode.__axis;return u((V&&isFinite(V=V(U))?V:S(U))+l)})),B.remove(),k.attr("d",t===Qe||t===ri?s?"M"+c*s+","+b+"H"+l+"V"+y+"H"+c*s:"M"+l+","+b+"V"+y:s?"M"+b+","+c*s+"V"+l+"H"+y+"V"+c*s:"M"+b+","+l+"H"+y),C.attr("opacity",1).attr("transform",function(U){return u(S(U)+l)}),it.attr(h+"2",c*o),A.attr(h,c*v).text(g),T.filter(j0).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ri?"start":t===Qe?"end":"middle"),T.each(function(){this.__axis=S})}return f.scale=function(d){return arguments.length?(e=d,f):e},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(d){return arguments.length?(n=d==null?[]:Array.from(d),f):n.slice()},f.tickValues=function(d){return arguments.length?(i=d==null?null:Array.from(d),f):i&&i.slice()},f.tickFormat=function(d){return arguments.length?(r=d,f):r},f.tickSize=function(d){return arguments.length?(o=s=+d,f):o},f.tickSizeInner=function(d){return arguments.length?(o=+d,f):o},f.tickSizeOuter=function(d){return arguments.length?(s=+d,f):s},f.tickPadding=function(d){return arguments.length?(a=+d,f):a},f.offset=function(d){return arguments.length?(l=+d,f):l},f}function dl(t){return oi(ii,t)}function gl(t){return oi(ri,t)}function pl(t){return oi(Ur,t)}function ml(t){return oi(Qe,t)}var Kt;(function(t){t.Start="start",t.Middle="middle",t.End="end"})(Kt||(Kt={}));var te;(function(t){t.Top="top",t.Middle="middle",t.Bottom="bottom"})(te||(te={}));var si;(function(t){t.Wrap="wrap",t.Trim="trim"})(si||(si={}));var pt;(function(t){t.Left="left",t.Center="center",t.Right="right"})(pt||(pt={}));var ai={exports:{}},Z0=ai.exports,vl;function Q0(){return vl||(vl=1,function(t){(function(e){if(typeof n!="function"){var n=function(p){return p};n.nonNative=!0}const i=n("plaintext"),r=n("html"),o=n("comment"),s=/<(\w*)>/g,a=/<\/?([^\s\/>]+)/;function l(p,g,v){p=p||"",g=g||[],v=v||"";let _=h(g,v);return u(p,_)}function c(p,g){p=p||[],g=g||"";let v=h(p,g);return function(b){return u(b||"",v)}}l.init_streaming_mode=c;function h(p,g){return p=f(p),{allowable_tags:p,tag_replacement:g,state:i,tag_buffer:"",depth:0,in_quote_char:""}}function u(p,g){if(typeof p!="string")throw new TypeError("'html' parameter must be a string");let v=g.allowable_tags,_=g.tag_replacement,b=g.state,y=g.tag_buffer,S=g.depth,T=g.in_quote_char,k="";for(let C=0,B=p.length;C<B;C++){let F=p[C];if(b===i)switch(F){case"<":b=r,y+=F;break;default:k+=F;break}else if(b===r)switch(F){case"<":if(T)break;S++;break;case">":if(T)break;if(S){S--;break}T="",b=i,y+=">",v.has(d(y))?k+=y:k+=_,y="";break;case'"':case"'":F===T?T="":T=T||F,y+=F;break;case"-":y==="<!-"&&(b=o),y+=F;break;case" ":case`
|
|
150
|
-
`:if(y==="<"){b=i,k+="< ",y="";break}y+=F;break;default:y+=F;break}else if(b===o)switch(F){case">":y.slice(-2)=="--"&&(b=i),y="";break;default:y+=F;break}}return g.state=b,g.tag_buffer=y,g.depth=S,g.in_quote_char=T,k}function f(p){let g=new Set;if(typeof p=="string"){let v;for(;v=s.exec(p);)g.add(v[1])}else!n.nonNative&&typeof p[n.iterator]=="function"?g=new Set(p):typeof p.forEach=="function"&&p.forEach(g.add,g);return g}function d(p){let g=a.exec(p);return g?g[1].toLowerCase():null}t.exports?t.exports=l:e.striptags=l})(Z0)}(ai)),ai.exports}var J0=Q0();const K0=jh(J0);function tm(t){switch(t){case pt.Center:return"middle";case pt.Right:return"end";case pt.Left:default:return"start"}}function em(t){var e;return(e=t.match(/[A-Z]{2,}(?=[A-Z][a-z0-9]*|\b)|[A-Z]?[a-z0-9]*|[A-Z]|[0-9]+/g))===null||e===void 0?void 0:e.filter(Boolean).map(n=>n.toLowerCase()).join("-")}function nm(t){return t.replace(/['"]/g,"'").replace(/\u0000/g,"\\0").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\v/g,"\\v").replace(/\t/g,"\\t").replace(/\f/g,"\\f")}function im(t,e=15){return t?t.length>e?`…${t.substr(t.length-e,e)}`:t:""}function rm(t,e=15){if(!t)return"";const n=Math.floor((e-3)/2);return t.length>e?`${t.substr(0,n)}…${t.substr(-n,n)}`:t}function om(t,e=15){return t?t.length>e?`${t.substr(0,e)}…`:t:""}function sm(t,e=15,n=Kt.Middle){if(!t)return"";let i=om(t,e);return n===Kt.Start?i=im(t,e):n===Kt.Middle&&(i=rm(t,e)),i}function am(t,e=[" "]){let n=[t];for(let i=0;i<e.length;i++){const r=e[i];n.forEach((o,s)=>{const a=o.split(r),l=a.map((c,h)=>`${c}${h===a.length-1?"":r}`);n[s]=l}),n=bi(n)}return n}function lm(t,e,n,i,r,o){var s;e===void 0&&(e=50),n===void 0&&(n=Kt.Middle),r===void 0&&(r=+((s=window.getComputedStyle(t.node()))===null||s===void 0?void 0:s.fontSize)||0);const a=t.text(),l=a.length,c=r*l*o,u=Math.ceil(l*e/(1.1*c));return u<l?(t.text(sm(a,u,n)),!0):!1}function li(t,e,n=_f()){return t.length*e*n||0}function ci(t,e,n){const i="http://www.w3.org/2000/svg",r=document.createElementNS(i,"svg"),o=document.createElementNS(i,"text");o.textContent=t,o.setAttribute("font-size",`${n}`),o.setAttribute("font-family",e),r.appendChild(o),document.body.appendChild(r);const s=o.getComputedTextLength();return document.body.removeChild(r),s}function cm(t,e=void 0,n=!0,i=fs,r=!1){const o=`${t.text}`;if(!o)return[];const s=Array.isArray(i)?i:[i];return o.split(`
|
|
151
|
-
`).map(l=>{const c=[];if(!e)return[l];const h=am(l,s);let u="";for(let f=0;f<h.length;f+=1){(n?li(u+h[f],t.fontSize,t.fontWidthToHeightRatio):ci(u+h[f],t.fontFamily,t.fontSize))<e||f===0?u+=h[f]:(c.push(u.trim()),u=h[f]);const p=2;if(r)for(;u.trim().length>p&&(n?li(u,t.fontSize,t.fontWidthToHeightRatio):ci(u,t.fontFamily,t.fontSize))>e;){let v=u.trim().length-p;for(;v>0;){const _=`${u.substring(0,v)}${ds}`;if((n?li(_,t.fontSize,t.fontWidthToHeightRatio):ci(_,t.fontFamily,t.fontSize))<=e||v===1){c.push(_.trim()),u=u.substring(v);break}v--}}}return u&&c.push(u.trim()),c}).flat()}function um(t,e=void 0,n=void 0,i=!0,r=fs,o=!1){const s=Array.isArray(t)?t.map(u=>zt(gs,u)):[zt(gs,t)],a=s.map(u=>cm(u,e,i,r,o)),l=s[0];let c=-l.fontSize*(l.lineHeight-1);const h=[];return s.forEach((u,f)=>{var d;let p=a[f];const g=f>0?h[f-1]:void 0,v=g?g.marginBottom:0,_=u.marginTop,b=Math.max(v,_);c+=b;const y=u.fontSize*u.lineHeight;let S=0;for(let T=0;T<p.length;T+=1){let k=p[T];c+=y;const C=`${k} …`,B=i?li(C,u.fontSize,u.fontWidthToHeightRatio):ci(C,u.fontFamily,u.fontSize);if(S=Math.max(B,S),n&&c+y>n&&T!==p.length-1){k.charAt(k.length-1)===ds&&(k=k.substr(0,p[T].length-1)),B<e?p[T]=C:p[T]=`${p[T].substr(0,p[T].length-2)}…`,p=p.slice(0,T+1);break}}h.push(Object.assign(Object.assign({},u),{_lines:p,_estimatedHeight:c-((g==null?void 0:g._estimatedHeight)||0),_maxWidth:Math.max(S,(d=g==null?void 0:g._maxWidth)!==null&&d!==void 0?d:0)}))}),h}function hm(t,e=0,n){return t.map((i,r)=>{const o=r>0?t[r-1]:void 0,s=o?o.marginBottom/o.fontSize:0,a=i.marginTop/i.fontSize,l=Math.max(s,a),c={fontSize:i.fontSize,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fill:i.color,y:r===0&&n};return`<tspan xmlns="http://www.w3.org/2000/svg" ${Object.entries(c).filter(([u,f])=>f).map(([u,f])=>`${em(u)}="${nm(f.toString())}"`).join(" ")}>${i._lines.map((u,f)=>{let d;return r===0&&f===0?d=.8+l:f===0?d=l+i.lineHeight:d=i.lineHeight,`<tspan x="${e}" dy="${d}em">${u.length?u:" "}</tspan>`}).join("")}</tspan>`})}function fm(t){return Pu(t,e=>e._estimatedHeight)}const dm=["text","tspan","textPath","altGlyph","altGlyphDef","altGlyphItem","glyphRef","textRef","textArea"];function gm(t,e,n,i){var r,o;const s=um(e,n.width,void 0,n.fastMode,n.separator,n.wordBreak),a=(r=n.x)!==null&&r!==void 0?r:+t.getAttribute("x"),l=(o=n.y)!==null&&o!==void 0?o:+t.getAttribute("y"),c=a??0;let h=l??0;if(n.textAlign&&t.setAttribute("text-anchor",tm(n.textAlign)),n.verticalAlign&&n.verticalAlign!==te.Top){const u=fm(s),f=n.verticalAlign===te.Middle?-u/2:n.verticalAlign===te.Bottom?-u:0;h+=f}n.textRotationAngle?t.setAttribute("transform",`rotate(${n.textRotationAngle===0||n.textRotationAngle?n.textRotationAngle:0} ${c} ${h})`):t.removeAttribute("transform");{const u=new DOMParser;t.textContent="",s.forEach(f=>{const d=hm([f],c,h).join(""),p=K0(d,dm),g=u.parseFromString(p,"image/svg+xml").firstChild;t.appendChild(g)})}}const pm=Object.assign(Object.assign({},Ge),{position:void 0,type:void 0,label:void 0,labelFontSize:null,gridLine:!0,tickLine:!0,domainLine:!0,numTicks:void 0,minMaxTicksOnly:!1,minMaxTicksOnlyWhenWidthIsLess:250,tickTextWidth:void 0,tickTextSeparator:void 0,tickTextForceWordBreak:!1,tickTextTrimType:Kt.Middle,tickTextFitMode:si.Wrap,tickTextFontSize:null,tickTextAlign:void 0,tickTextColor:null,tickTextAngle:void 0,labelMargin:8,labelColor:null,tickFormat:void 0,tickValues:void 0,fullSize:!0,tickPadding:8,tickTextHideOverlapping:void 0}),_l=E`
|
|
152
|
-
label: axis-component;
|
|
153
|
-
`,mm=Ht`
|
|
154
|
-
:root {
|
|
155
|
-
// Undefined by default to allow proper fallback to var(--vis-font-family)
|
|
156
|
-
/* --vis-axis-font-family: */
|
|
157
|
-
--vis-axis-tick-color: #e8e9ef;
|
|
158
|
-
/* --vis-axis-domain-color: // Undefined by default to allow fallback to var(--vis-axis-tick-color) */
|
|
159
|
-
--vis-axis-grid-color: #e8e9ef;
|
|
160
|
-
--vis-axis-label-color: #6c778c;
|
|
161
|
-
--vis-axis-tick-label-color: #6c778c;
|
|
162
|
-
--vis-axis-tick-label-font-size: 12px;
|
|
163
|
-
--vis-axis-tick-label-cursor: default;
|
|
164
|
-
--vis-axis-tick-label-text-decoration: none;
|
|
165
|
-
--vis-axis-label-font-size: 14px;
|
|
166
|
-
--vis-axis-tick-line-width: 1px;
|
|
167
|
-
--vis-axis-tick-label-hide-transition: opacity 400ms ease-in-out;
|
|
168
|
-
--vis-axis-grid-line-width: 1px;
|
|
169
|
-
/* --vis-axis-domain-line-width: // Undefined by default to allow fallback to var(--vis-axis-grid-line-width) */
|
|
170
|
-
|
|
171
|
-
--vis-dark-axis-tick-color: #6c778c;
|
|
172
|
-
/* --vis-dark-axis-domain-color: // Undefined by default to allow fallback to var(--vis-dark-axis-tick-color) */
|
|
173
|
-
--vis-dark-axis-tick-label-color: #e8e9ef;
|
|
174
|
-
--vis-dark-axis-grid-color: #6c778c;
|
|
175
|
-
--vis-dark-axis-label-color: #fefefe;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
body.theme-dark ${`.${_l}`} {
|
|
179
|
-
--vis-axis-tick-color: var(--vis-dark-axis-tick-color);
|
|
180
|
-
--vis-axis-domain-color: var(--vis-dark-axis-domain-color);
|
|
181
|
-
--vis-axis-tick-label-color: var(--vis-dark-axis-tick-label-color);
|
|
182
|
-
--vis-axis-grid-color: var(--vis-dark-axis-grid-color);
|
|
183
|
-
--vis-axis-label-color: var(--vis-dark-axis-label-color);
|
|
184
|
-
}
|
|
185
|
-
`,Hr=E`
|
|
186
|
-
label: hide-tick-line;
|
|
187
|
-
`,Wr=E`
|
|
188
|
-
label: hide-domain;
|
|
189
|
-
`,yl=E`
|
|
190
|
-
label: axis;
|
|
191
|
-
|
|
192
|
-
user-select: none;
|
|
193
|
-
|
|
194
|
-
.domain {
|
|
195
|
-
stroke: var(--vis-axis-domain-color, var(--vis-axis-tick-color));
|
|
196
|
-
stroke-width: var(--vis-axis-domain-line-width, var(--vis-axis-grid-line-width));
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
&${`.${Hr}`} {
|
|
200
|
-
.tick > line {
|
|
201
|
-
opacity: 0;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
&${`.${Wr}`} {
|
|
206
|
-
.domain {
|
|
207
|
-
opacity: 0;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
`,xl=E`
|
|
211
|
-
label: grid;
|
|
212
|
-
|
|
213
|
-
.domain {
|
|
214
|
-
opacity: 0;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
line {
|
|
218
|
-
stroke: var(--vis-axis-grid-color);
|
|
219
|
-
stroke-width: var(--vis-axis-grid-line-width);
|
|
220
|
-
}
|
|
221
|
-
`,bl=E`
|
|
222
|
-
label: tick;
|
|
223
|
-
|
|
224
|
-
stroke: none;
|
|
225
|
-
font-size: var(--vis-axis-tick-label-font-size);
|
|
226
|
-
|
|
227
|
-
line {
|
|
228
|
-
stroke: var(--vis-axis-tick-color);
|
|
229
|
-
stroke-width: var(--vis-axis-tick-line-width);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
text {
|
|
233
|
-
fill: var(--vis-axis-tick-label-color);
|
|
234
|
-
cursor: var(--vis-axis-tick-label-cursor);
|
|
235
|
-
font-family: var(--vis-axis-font-family, var(--vis-font-family));
|
|
236
|
-
text-decoration: var(--vis-axis-tick-label-text-decoration);
|
|
237
|
-
stroke: none;
|
|
238
|
-
}
|
|
239
|
-
`,Yr=E`
|
|
240
|
-
label: label;
|
|
241
|
-
fill: var(--vis-axis-label-color);
|
|
242
|
-
font-size: var(--vis-axis-label-font-size);
|
|
243
|
-
font-family: var(--vis-axis-font-family, var(--vis-font-family));
|
|
244
|
-
text-anchor: middle;
|
|
245
|
-
`,wl=E`
|
|
246
|
-
label: tick-label;
|
|
247
|
-
`,kl=E`
|
|
248
|
-
label: tick-label-hideable;
|
|
249
|
-
opacity: 0;
|
|
250
|
-
transition: var(--vis-axis-tick-label-hide-transition);
|
|
251
|
-
`,vm=Object.freeze(Object.defineProperty({__proto__:null,axis:yl,globalStyles:mm,grid:xl,hideDomain:Wr,hideTickLine:Hr,label:Yr,root:_l,tick:bl,tickLabel:wl,tickLabelHideable:kl},Symbol.toStringTag,{value:"Module"}));class Tl extends Vn{constructor(e){super(),this._defaultConfig=pm,this.config=this._defaultConfig,this._defaultNumTicks=3,this.events={},e&&this.setConfig(e),this.axisGroup=this.g.append("g"),this.gridGroup=this.g.append("g").attr("class",xl)}preRender(){const{config:e}=this,n=this.g.append("g").attr("opacity",0);this._renderAxis(n,0),this._axisRawBBox=n.node().getBBox(),e.tickTextAlign&&this._alignTickLabels(),this._renderAxisLabel(n),this._axisSizeBBox=this._getAxisSize(n),this._requiredMargin=this._getRequiredMargin(this._axisSizeBBox),n.remove()}getPosition(){const{config:{type:e,position:n}}=this;return n??(e===R.X?x.Position.Bottom:x.Position.Left)}_getAxisSize(e){return e.node().getBBox()}_getRequiredMargin(e=this._axisSizeBBox){const{config:{type:n,position:i}}=this;switch(n){case R.X:{const o=this._axisSizeBBox.x+this._axisSizeBBox.width,s=this._axisSizeBBox.x<0?Math.abs(this._axisSizeBBox.x):0,a=o-this._width>1?o-this._width:0;switch(i){case x.Position.Top:return{top:e.height,left:s,right:a};case x.Position.Bottom:default:return{bottom:e.height,left:s,right:a}}}case R.Y:{const r=e.height>this._height?(e.height-this._height)/2:0,o=r,s=r;switch(i){case x.Position.Right:return{right:e.width,top:o,bottom:s};case x.Position.Left:default:return{left:e.width,top:o,bottom:s}}}}}getRequiredMargin(){return this._requiredMargin}getOffset(e){const{config:{type:n,position:i}}=this;switch(n){case R.X:switch(i){case x.Position.Top:return{top:e.top,left:e.left};case x.Position.Bottom:default:return{top:e.top+this._height,left:e.left}}case R.Y:switch(i){case x.Position.Right:return{top:e.top,left:e.left+this._width};case x.Position.Left:default:return{top:e.top,left:e.left}}}}_render(e=this.config.duration,n=this.axisGroup){const{config:i}=this;if(this._renderAxis(n,e),this._renderAxisLabel(n),i.gridLine){const r=this._buildGrid().tickFormat(()=>"");r.tickValues(this._getConfiguredTickValues()),this.gridGroup.selectAll("*").interrupt(),st(this.gridGroup,e).call(r).style("opacity",1)}else st(this.gridGroup,e).style("opacity",0);i.tickTextAlign&&this._alignTickLabels(),this._resolveTickLabelOverlap(n)}_buildAxis(){const{config:{type:e,position:n,tickPadding:i}}=this,r=this._getNumTicks();switch(e){case R.X:switch(n){case x.Position.Top:return dl(this.xScale).ticks(r).tickPadding(i);case x.Position.Bottom:default:return pl(this.xScale).ticks(r).tickPadding(i)}case R.Y:switch(n){case x.Position.Right:return gl(this.yScale).ticks(r).tickPadding(i);case x.Position.Left:default:return ml(this.yScale).ticks(r).tickPadding(i)}}}_buildGrid(){const{config:{type:e,position:n}}=this,i=this._getNumTicks();switch(e){case R.X:switch(n){case x.Position.Top:return dl(this.xScale).ticks(i*2).tickSize(-this._height).tickSizeOuter(0);case x.Position.Bottom:default:return pl(this.xScale).ticks(i*2).tickSize(-this._height).tickSizeOuter(0)}case R.Y:switch(n){case x.Position.Right:return gl(this.yScale).ticks(i*2).tickSize(-this._width).tickSizeOuter(0);case x.Position.Left:default:return ml(this.yScale).ticks(i*2).tickSize(-this._width).tickSizeOuter(0)}}}_renderAxis(e=this.axisGroup,n=this.config.duration){const{config:i}=this,r=this._buildAxis(),o=this._getConfiguredTickValues()||r.scale().ticks(this._getNumTicks());r.tickValues(o),e.selectAll("*").interrupt(),st(e,n).call(r);const s=e.selectAll("g.tick");s.classed(bl,!0).style("font-size",i.tickTextFontSize);const a=e.selectAll("g.tick > text").filter(l=>o.some(c=>Te(l,c))).classed(wl,!0).classed(kl,!!i.tickTextHideOverlapping).style("fill",i.tickTextColor);if(a.nodes().forEach(l=>Gi(l)),a.each((l,c,h)=>{var u,f;let d=(f=(u=i.tickFormat)===null||u===void 0?void 0:u.call(i,l,c,o))!==null&&f!==void 0?f:`${l}`;const p=h[c],g=i.tickTextWidth||(i.type===R.X?this._containerWidth/(s.size()+1):this._containerWidth/5),v=getComputedStyle(p),_=Number.parseFloat(v.fontSize),b=v.fontFamily,y={verticalAlign:i.type===R.X?te.Top:te.Middle,width:g,textRotationAngle:i.tickTextAngle,separator:i.tickTextSeparator,wordBreak:i.tickTextForceWordBreak};if(i.tickTextFitMode===si.Trim){const T=j(p).text(d);lm(T,g,i.tickTextTrimType,!0,_,.58),d=j(p).text()}gm(p,{text:d,fontFamily:b,fontSize:_},y)}),e.classed(yl,!0).classed(Hr,!i.tickLine).classed(Wr,!i.domainLine),i.fullSize){const l=this._getFullDomainPath(0);st(e.select(".domain"),n).attr("d",l)}}_resolveTickLabelOverlap(e=this.axisGroup){const{config:n}=this,i=e.selectAll("g.tick > text");if(!n.tickTextHideOverlapping){i.style("opacity",null);return}cancelAnimationFrame(this._collideTickLabelsAnimFrameId),this._collideTickLabelsAnimFrameId=requestAnimationFrame(()=>{this._collideTickLabels(i)})}_collideTickLabels(e){e.each((i,r,o)=>{const s=o[r];s._visible=!0});const n=3;for(let i=0;i<n;i+=1)e.each((r,o,s)=>{const a=s[o];if(!a._visible)return;const c=a.getBoundingClientRect();for(let h=o+1;h<s.length;h+=1){if(o===h)continue;const u=s[h];if(u._visible){const d=u.getBoundingClientRect();if(Kh(c,d,-5)){u._visible=!1;break}}}});e.each((i,r,o)=>{const s=o[r];j(s).style("opacity",s._visible?1:0)})}_getNumTicks(){const{config:{type:e,numTicks:n}}=this;if(n)return n;if(e===R.X){const i=this.xScale.range(),r=i[1]-i[0];return Math.floor(r/175)}if(e===R.Y){const i=this.yScale.range(),r=Math.abs(i[0]-i[1]);return Math.pow(r,.85)/25}return this._defaultNumTicks}_getConfiguredTickValues(){const{config:e}=this,n=e.type===R.X?this.xScale:this.yScale,i=n==null?void 0:n.domain();return e.tickValues?e.tickValues.filter(r=>r>=i[0]&&r<=i[1]):e.minMaxTicksOnly||e.type===R.X&&this._width<e.minMaxTicksOnlyWhenWidthIsLess?i:null}_getFullDomainPath(e=0){const{config:{type:n}}=this;switch(n){case R.X:return`M0.5, ${e} V0.5 H${this._width+.5} V${e}`;case R.Y:return`M${-e}, ${this._height+.5} H0.5 V0.5 H${-e}`}}_renderAxisLabel(e=this.axisGroup){var n;const{type:i,label:r,labelMargin:o,labelFontSize:s}=this.config;e.selectAll(`.${Yr}`).remove();const a=this.getPosition(),{width:l,height:c}=(n=this._axisRawBBox)!==null&&n!==void 0?n:e.node().getBBox(),h=i===R.X?this._width/2:Math.pow(-1,+(a===x.Position.Left))*l,u=i===R.X?Math.pow(-1,+(a===x.Position.Top))*c:this._height/2,f=i===R.X?0:Math.pow(-1,+(a===x.Position.Left))*o,d=i===R.X?Math.pow(-1,+(a===x.Position.Top))*o:0,p=i===R.Y?-90:0;e.append("text").attr("class",Yr).text(r).attr("dy",`${this._getLabelDY()}em`).attr("transform",`translate(${h+f},${u+d}) rotate(${p})`).style("font-size",s).style("fill",this.config.labelColor)}_getLabelDY(){const{type:e,position:n}=this.config;switch(e){case R.X:switch(n){case x.Position.Top:return 0;case x.Position.Bottom:default:return .75}case R.Y:switch(n){case x.Position.Right:return .75;case x.Position.Left:default:return-.25}}}_alignTickLabels(){const{config:{type:e,tickTextAlign:n,tickTextAngle:i,position:r}}=this,o=this.g.selectAll("g.tick > text"),s=this._getTickTextAnchor(n),a=e===R.X?0:this._getYTickTextTranslate(n,r),l=i?`translate(${a},0) rotate(${i})`:`translate(${a},0)`;o.attr("transform",l).attr("text-anchor",s)}_getTickTextAnchor(e){switch(e){case pt.Left:return"start";case pt.Right:return"end";case pt.Center:return"middle";default:return null}}_getYTickTextTranslate(e,n=x.Position.Left){const r=this._axisRawBBox.width-9;switch(e){case pt.Left:return n===x.Position.Left?r*-1:0;case pt.Right:return n===x.Position.Left?0:r;case pt.Center:return n===x.Position.Left?r*-.5:r*.5;default:return 0}}}Tl.selectors=vm;var Tt;(function(t){t.Circle="circle",t.Cross="cross",t.Diamond="diamond",t.Square="square",t.Star="star",t.Triangle="triangle",t.Wye="wye"})(Tt||(Tt={}));const _m={[Tt.Circle]:Wa,[Tt.Cross]:Kp,[Tt.Diamond]:e0,[Tt.Square]:n0,[Tt.Star]:s0,[Tt.Triangle]:a0,[Tt.Wye]:c0},nt=Object.assign(Object.assign({},Tt),{Line:"line"});var ui;(function(t){t.Horizontal="horizontal",t.Vertical="vertical"})(ui||(ui={}));const ym={items:[],labelClassName:"",onLegendItemClick:void 0,labelFontSize:null,labelMaxWidth:null,bulletSize:null,bulletShape:t=>{var e;return(e=t.shape)!==null&&e!==void 0?e:nt.Circle},orientation:ui.Horizontal,renderIntoProvidedDomNode:!1},Vr=Le*3,xm={[nt.Circle]:Math.PI/4,[nt.Cross]:5/9,[nt.Diamond]:Math.sqrt(3)/6,[nt.Square]:1,[nt.Star]:.3,[nt.Triangle]:Math.sqrt(3)/4,[nt.Wye]:5/11};function bm(t){t.each((e,n,i)=>{j(i[n]).append("svg").attr("width","100%").attr("height","100%").append("path")})}function wm(t,e,n){t.each((i,r,o)=>{const s=ln(i,e.bulletShape,r),a=kt(i,n,r),l=Vr,c=s===nt.Line?Vr/2.5:Vr,u=j(o[r]).select("svg").attr("viewBox",`0 0 ${l} ${c}`).select("path").attr("stroke",a),f=i.inactive?"var(--vis-legend-bullet-inactive-opacity)":1;if(s===nt.Line)u.attr("d",`M0,${c/2} L${l/2},${c/2} L${l},${c/2}`).attr("transform",null).style("opacity",f).style("stroke-width","3px").style("fill",null).style("fill-opacity",null).style("marker-start","none").style("marker-end","none");else{const d=u0().type(_m[s]).size(l*c*xm[s]),p=(l-2)/l;let g=c/2;switch(s){case nt.Triangle:g+=c/8;break;case nt.Star:g+=c/16;break;case nt.Wye:g-=c/16;break}u.attr("d",d).attr("transform",`translate(${l/2}, ${Math.round(g)}) scale(${p})`).style("stroke-width","1px").style("opacity",null).style("fill",a).style("fill-opacity",f)}})}const Xr=E`
|
|
252
|
-
label: bullet-legend-component;
|
|
253
|
-
`,km=Ht`
|
|
254
|
-
:root {
|
|
255
|
-
// Undefined by default to allow proper fallback to var(--vis-font-family)
|
|
256
|
-
/* --vis-legend-font-family: */
|
|
257
|
-
|
|
258
|
-
--vis-legend-label-color: #6c778c;
|
|
259
|
-
--vis-legend-label-max-width: 300px;
|
|
260
|
-
--vis-legend-label-font-size: 12px;
|
|
261
|
-
--vis-legend-bullet-size: 9px;
|
|
262
|
-
--vis-legend-bullet-inactive-opacity: 0.15;
|
|
263
|
-
--vis-legend-item-spacing: 20px;
|
|
264
|
-
--vis-legend-vertical-item-spacing: 5px;
|
|
265
|
-
--vis-legend-bullet-label-spacing: 8px;
|
|
266
|
-
|
|
267
|
-
--vis-dark-legend-label-color: #eee;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
body.theme-dark ${`.${Xr}`} {
|
|
271
|
-
--vis-legend-label-color: var(--vis-dark-legend-label-color);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
body.theme-patterns {
|
|
275
|
-
--vis-legend-bullet-size: 14px;
|
|
276
|
-
}
|
|
277
|
-
`,hi=E`
|
|
278
|
-
label: legendItem;
|
|
279
|
-
display: inline-flex;
|
|
280
|
-
align-items: center;
|
|
281
|
-
font-family: var(--vis-legend-font-family, var(--vis-font-family));
|
|
282
|
-
margin-right: var(--vis-legend-item-spacing);
|
|
283
|
-
white-space: nowrap;
|
|
284
|
-
cursor: default;
|
|
285
|
-
user-select: none;
|
|
286
|
-
max-width: min-content;
|
|
287
|
-
`,Sl=E`
|
|
288
|
-
label: legendItemVertical;
|
|
289
|
-
display: flex;
|
|
290
|
-
margin-top: var(--vis-legend-vertical-item-spacing);
|
|
291
|
-
`,Cl=E`
|
|
292
|
-
cursor: pointer;
|
|
293
|
-
`,qr=E`
|
|
294
|
-
label: legendItemLabel;
|
|
295
|
-
font-size: var(--vis-legend-label-font-size);
|
|
296
|
-
display: inline-block;
|
|
297
|
-
vertical-align: middle;
|
|
298
|
-
color: var(--vis-legend-label-color);
|
|
299
|
-
max-width: var(--vis-legend-label-max-width);
|
|
300
|
-
text-overflow: ellipsis;
|
|
301
|
-
overflow: hidden;
|
|
302
|
-
white-space: nowrap;
|
|
303
|
-
`,Gr=E`
|
|
304
|
-
flex: 0 0 auto;
|
|
305
|
-
label: legendItemBullet;
|
|
306
|
-
margin-right: var(--vis-legend-bullet-label-spacing);
|
|
307
|
-
height: var(--vis-legend-bullet-size);
|
|
308
|
-
width: var(--vis-legend-bullet-size);
|
|
309
|
-
|
|
310
|
-
svg {
|
|
311
|
-
display: block;
|
|
312
|
-
}
|
|
313
|
-
`,Tm=Object.freeze(Object.defineProperty({__proto__:null,bullet:Gr,clickable:Cl,item:hi,itemVertical:Sl,label:qr,root:Xr,variables:km},Symbol.toStringTag,{value:"Module"}));class Ml{constructor(e,n){this._defaultConfig=ym,this.config=this._defaultConfig,this._colorAccessor=i=>i.color,this._container=e,this.div=n!=null&&n.renderIntoProvidedDomNode?j(this._container):j(this._container).append("div"),this.div.classed(Xr,!0),this.element=this.div.node(),n&&this.update(n)}update(e){this.prevConfig=this.config,this.config=zt(this._defaultConfig,e),this.render()}render(){const{config:e}=this,n=this.div.selectAll(`.${hi}`).data(e.items),i=n.enter().append("div").on("click",this._onItemClick.bind(this)),r=i.merge(n);r.attr("class",o=>{var s;return`${hi} ${(s=o.className)!==null&&s!==void 0?s:""}`}).classed(Sl,e.orientation===ui.Vertical).classed(Cl,o=>!!e.onLegendItemClick&&this._isItemClickable(o)).attr("title",o=>o.name).style("display",o=>o.hidden?"none":null),i.append("span").attr("class",Gr).call(bm),r.select(`.${Gr}`).style("width",e.bulletSize).style("height",e.bulletSize).style("box-sizing","content-box").call(wm,this.config,this._colorAccessor),i.append("span").attr("class",qr).classed(e.labelClassName,!0).style("max-width",e.labelMaxWidth).style("font-size",e.labelFontSize),r.select(`.${qr}`).text(o=>o.name),n.exit().remove()}_isItemClickable(e){return e.pointer===void 0?!0:e.pointer}_onItemClick(e,n){const{config:{onLegendItemClick:i}}=this,o=this.div.selectAll(`.${hi}`).nodes().indexOf(e.currentTarget);i&&i(n,o)}destroy(){this.element!==this._container&&this.div.remove()}}Ml.selectors=Tm;const Sm=Object.assign(Object.assign({},Ge),{yStacked:void 0,baseline:null,duration:100,tooltip:void 0,template:(t,e)=>"",hideWhenFarFromPointer:!0,hideWhenFarFromPointerDistance:100,snapToData:!0,getCircles:void 0,color:void 0,strokeColor:void 0,strokeWidth:void 0}),Cm=Ht`
|
|
314
|
-
:root {
|
|
315
|
-
--vis-crosshair-line-stroke-color: #888;
|
|
316
|
-
--vis-crosshair-line-stroke-width: 1px;
|
|
317
|
-
--vis-crosshair-line-stroke-opacity: 1;
|
|
318
|
-
--vis-crosshair-circle-stroke-color: #fff;
|
|
319
|
-
--vis-crosshair-circle-stroke-width: 1px;
|
|
320
|
-
--vis-crosshair-circle-stroke-opacity: 0.75;
|
|
321
|
-
}
|
|
322
|
-
`,Mm=E`
|
|
323
|
-
label: crosshair-component;
|
|
324
|
-
`,Al=E`
|
|
325
|
-
stroke: var(--vis-crosshair-line-stroke-color);
|
|
326
|
-
stroke-width: var(--vis-crosshair-line-stroke-width);
|
|
327
|
-
stroke-opacity: var(--vis-crosshair-line-stroke-opacity);
|
|
328
|
-
pointer-events: none;
|
|
329
|
-
`,$l=E`
|
|
330
|
-
stroke: var(--vis-crosshair-circle-stroke-color);
|
|
331
|
-
stroke-width: var(--vis-crosshair-circle-stroke-width);
|
|
332
|
-
stroke-opacity: var(--vis-crosshair-circle-stroke-opacity);
|
|
333
|
-
pointer-events: none;
|
|
334
|
-
`,Am=Object.freeze(Object.defineProperty({__proto__:null,circle:$l,globalStyles:Cm,line:Al,root:Mm},Symbol.toStringTag,{value:"Module"}));class El extends Vn{constructor(e){super(),this.clippable=!0,this._defaultConfig=Sm,this.config=this._defaultConfig,this.x=0,this.show=!1,this._animFrameId=null,this._accessors={x:void 0,y:void 0,yStacked:void 0,baseline:void 0},e&&this.setConfig(e),this.g.style("opacity",this.show?1:0),this.line=this.g.append("line").attr("class",Al)}set accessors(e){this._accessors=e}get accessors(){var e;const{config:n}=this,i=!!(n.x||n.y||n.yStacked),r=i?n.x:this._accessors.x,o=i?n.y:this._accessors.y,s=o?Bt(o)?o:[o]:void 0,a=i?n.yStacked:this._accessors.yStacked,l=(e=n.baseline)!==null&&e!==void 0?e:this._accessors.baseline;return{x:r,y:s,yStacked:a,baseline:l}}setContainer(e){this.container=e,this.container.on("mousemove.crosshair",this._onMouseMove.bind(this)),this.container.on("mouseout.crosshair",this._onMouseOut.bind(this))}_render(e){const{config:n}=this;if(n.snapToData&&!this.datum)return;const i=vt(e)?e:n.duration;st(this.g,i).style("opacity",this.show?1:0),this.line.attr("y1",0).attr("y1",this._height),st(this.line,i,Ps).attr("x1",this.x).attr("x2",this.x);const r=this.getCircleData(),o=this.g.selectAll("circle").data(r,(a,l)=>{var c;return(c=a.id)!==null&&c!==void 0?c:l}),s=o.enter().append("circle").attr("class",$l).attr("r",0).attr("cx",this.x).attr("cy",a=>a.y).style("fill",a=>a.color).style("stroke",a=>a.strokeColor).style("stroke-width",a=>a.strokeWidth);st(s.merge(o),i,Ps).attr("cx",this.x).attr("cy",a=>a.y).attr("r",4).style("opacity",a=>a.opacity).style("fill",a=>a.color).style("stroke",a=>a.strokeColor).style("stroke-width",a=>a.strokeWidth),o.exit().remove()}hide(){this._onMouseOut()}_onMouseMove(e){var n,i;const{config:r,datamodel:o,element:s}=this;!this.accessors.x&&(!((n=o.data)===null||n===void 0)&&n.length)&&console.warn("Unovis | Crosshair: X accessor function has not been configured. Please check if it's present in the configuration object");const[a]=tn(e,s),l=this.xScale.range();if(r.snapToData){!this.accessors.y&&!this.accessors.yStacked&&(!((i=o.data)===null||i===void 0)&&i.length)&&console.warn("Unovis | Crosshair: Y accessors have not been configured. Please check if they're present in the configuration object");const c=this.xScale,h=c.invert(a);if(this.datum=Uu(o.data,h,this.accessors.x),this.datumIndex=o.data.indexOf(this.datum),!this.datum)return;this.x=Ot(Math.round(c(W(this.datum,this.accessors.x,this.datumIndex))),0,this._width),this.show=this.x>=0&&this.x<=this._width&&(!r.hideWhenFarFromPointer||Math.abs(this.x-a)<r.hideWhenFarFromPointerDistance)}else this.x=Ot(a,l[0],l[1]),this.show=a>=l[0]-2&&a<=l[1]+2;window.cancelAnimationFrame(this._animFrameId),this._animFrameId=window.requestAnimationFrame(()=>{this._render()}),this.show?this._showTooltip(e):this._hideTooltip()}_onMouseOut(){this.show=!1,window.cancelAnimationFrame(this._animFrameId),this._animFrameId=window.requestAnimationFrame(()=>{this._render()}),this._hideTooltip()}_showTooltip(e){var n;const{config:i}=this,r=(n=i.tooltip)!==null&&n!==void 0?n:this.tooltip;if(!r)return;const o=r.getContainer()||this.container.node(),[s,a]=r.isContainerBody()?[e.clientX,e.clientY]:tn(e,o),l=i.template(this.datum,this.xScale.invert(this.x));if(r.config.followCursor=!0,!r.config.horizontalPlacement||r.config.horizontalPlacement===x.Position.Auto){const c=r.isContainerBody()?s-this.container.node().getBoundingClientRect().left:s;r.overrideHorizontalPlacement(c>this._containerWidth/2?x.Position.Left:x.Position.Right)}l&&r.show(l,{x:s,y:a})}_hideTooltip(){var e;const{config:n}=this,i=(e=n.tooltip)!==null&&e!==void 0?e:this.tooltip;i==null||i.hide()}getYDataExtent(){return[void 0,void 0]}getCircleData(){var e,n;const{config:i,datamodel:{data:r}}=this;if(xi(i.getCircles))return i.getCircles(this.xScale.invert(this.x),r,this.yScale);if(i.snapToData&&this.datum){const o=(e=this.accessors.y)!==null&&e!==void 0?e:[],s=(n=this.accessors.yStacked)!==null&&n!==void 0?n:[],a=W(this.datum,this.accessors.baseline,this.datumIndex)||0,l=Lu(this.datum,this.datumIndex,...s).map((h,u,f)=>({y:this.yScale(h+a),opacity:vt(W(this.datum,s[u]))?1:0,color:kt(this.datum,i.color,u),strokeColor:i.strokeColor?kt(this.datum,i.strokeColor,u):void 0,strokeWidth:i.strokeWidth?W(this.datum,i.strokeWidth,u):void 0})),c=o.map((h,u)=>{const f=W(this.datum,h);return{y:this.yScale(f),opacity:vt(f)?1:0,color:kt(this.datum,i.color,l.length+u),strokeColor:i.strokeColor?kt(this.datum,i.strokeColor,u):void 0,strokeWidth:i.strokeWidth?W(this.datum,i.strokeWidth,u):void 0}});return l.concat(c)}return[]}}El.selectors=Am;const $m=Object.assign(Object.assign({},Ge),{color:void 0,curveType:x.CurveType.MonotoneX,baseline:()=>0,opacity:1,cursor:null,minHeight1Px:!1}),Nl=E`
|
|
335
|
-
label: area-component;
|
|
336
|
-
`,Em=Ht`
|
|
337
|
-
:root {
|
|
338
|
-
--vis-area-cursor: default;
|
|
339
|
-
--vis-area-fill-opacity: 1;
|
|
340
|
-
--vis-area-stroke-color: none;
|
|
341
|
-
--vis-area-stroke-width: 0px;
|
|
342
|
-
--vis-area-stroke-dasharray: none;
|
|
343
|
-
--vis-area-stroke-opacity: 1;
|
|
344
|
-
--vis-area-hover-fill-opacity: none;
|
|
345
|
-
--vis-area-hover-stroke-width: none;
|
|
346
|
-
|
|
347
|
-
/* Dark Theme */
|
|
348
|
-
--vis-dark-area-stroke-color: none;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
body.theme-dark ${`.${Nl}`} {
|
|
352
|
-
--vis-area-stroke-color: var(--vis-dark-area-stroke-color);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
`,jr=E`
|
|
356
|
-
label: area;
|
|
357
|
-
cursor: var(--vis-area-cursor);
|
|
358
|
-
fill-opacity: var(--vis-area-fill-opacity);
|
|
359
|
-
stroke-width: var(--vis-area-stroke-width);
|
|
360
|
-
stroke-dasharray: var(--vis-area-stroke-dasharray);
|
|
361
|
-
stroke: var(--vis-area-stroke-color);
|
|
362
|
-
stroke-opacity: var(--vis-area-stroke-opacity);
|
|
363
|
-
|
|
364
|
-
&:hover {
|
|
365
|
-
fill-opacity: var(--vis-area-hover-fill-opacity);
|
|
366
|
-
stroke-width: var(--vis-area-hover-stroke-width);
|
|
367
|
-
}
|
|
368
|
-
`,Nm=Object.freeze(Object.defineProperty({__proto__:null,area:jr,globalStyles:Em,root:Nl},Symbol.toStringTag,{value:"Module"}));class fi extends Vn{constructor(e){super(),this._defaultConfig=$m,this.config=this._defaultConfig,this.stacked=!0,this.events={[fi.selectors.area]:{}},e&&this.setConfig(e),this.stacked=Array.isArray(this.config.y)}_render(e){super._render(e);const{config:n,datamodel:{data:i}}=this,r=vt(e)?e:n.duration,o=Fr[n.curveType];this._areaGen=Jp().x(g=>g.x).y0(g=>g.y0).y1(g=>{const v=Math.abs(g.y1-g.y0)<1;return g.y1-(v&&n.minHeight1Px?1:0)}).curve(o);const s=Bt(n.y)?n.y:[n.y],a=i.map((g,v)=>this.xScale(W(g,n.x,v))),l=Bu(i,n.baseline,s,this._prevNegative);this._prevNegative=l.map(g=>!!g.isMostlyNegative);const c=l.map(g=>g.map((v,_)=>({y0:this.yScale(v[0]),y1:this.yScale(v[1]),x:a[_]}))),h=c.length-1,u=c.reverse(),f=this.g.selectAll(`.${jr}`).data(u),d=f.enter().append("path").attr("class",jr).attr("d",g=>this._areaGen(g)||this._emptyPath()).style("opacity",0).style("fill",(g,v)=>kt(i,n.color,h-v)),p=st(d.merge(f),r).style("opacity",(g,v)=>g.some(b=>b.y0-b.y1!==0)?W(i,n.opacity,h-v):0).style("fill",(g,v)=>kt(i,n.color,h-v)).style("cursor",(g,v)=>ln(i,n.cursor,h-v));r?p.attrTween("d",(v,_,b)=>{const y=j(b[_]).attr("d"),S=this._areaGen(v)||this._emptyPath();return hl(y,S)}):p.attr("d",g=>this._areaGen(g)||this._emptyPath()),st(f.exit(),r).style("opacity",0).remove()}getYDataExtent(e){const{config:n,datamodel:i}=this,r=Bt(n.y)?n.y:[n.y],o=e?vo(i.data,this.xScale.domain(),n.x):i.data;return Fu(o,n.baseline,...r)}_emptyPath(){const e=this.xScale.range(),n=this.yScale.domain(),i=this.yScale((n[0]+n[1])/2),r=i;return this._areaGen([{y0:i,y1:r,x:e[0]},{y0:i,y1:r,x:e[1]}])}}fi.selectors=Nm;const Zr=Symbol("componentAccessorKey"),Ol=Symbol("tooltipAccessorKey"),Pl=Symbol("crosshairAccessorKey"),Dl=Symbol("axisAccessorKey"),Om=Symbol("annotationsAccessorKey");function ve(t,e){return Te(t,e)}function ee(t){const e=m.getCurrentInstance(),n=e.attrs;return m.computed(()=>{const i={},r=(e==null?void 0:e.vnode.props)??{};return Object.keys(r).forEach(o=>{i[m.camelize(o)]=t[m.camelize(o)]}),{...i,...n}})}const Pm=m.defineComponent({__name:"index",props:{components:{},xScale:{type:[Object,Function]},xDomain:{},xDomainMinConstraint:{},xDomainMaxConstraint:{},xRange:{},yScale:{type:[Object,Function]},yDomain:{},yDomainMinConstraint:{},yDomainMaxConstraint:{},yRange:{},yDirection:{},xAxis:{},yAxis:{},autoMargin:{type:Boolean},tooltip:{},crosshair:{},preventEmptyDomain:{type:[Boolean,null]},scaleByDomain:{type:Boolean},annotations:{},duration:{},margin:{},padding:{},sizing:{},width:{},height:{},svgDefs:{},ariaLabel:{},data:{}},setup(t,{expose:e}){const n=t,{data:i}=m.toRefs(n),r=ee(n),o=m.ref(),s=m.reactive({components:[],annotations:void 0,crosshair:void 0,tooltip:void 0,xAxis:void 0,yAxis:void 0}),a=m.ref();return m.watch(i,()=>{o.value&&o.value.setData(i.value,!0)}),m.watchEffect(()=>{var l;s.components.map(c=>c.config),(l=o.value)==null||l.updateContainer({...m.toRaw(r.value),...m.toRaw(s)})}),m.onMounted(()=>{a.value&&(o.value=new Hp(a.value,{...m.toRaw(s)},i.value))}),m.onUnmounted(()=>{var l;return(l=o.value)==null?void 0:l.destroy()}),m.provide(Zr,{data:i,update:l=>s.components=[...s.components,l],destroy:()=>{var l;return s.components=(l=s.components)==null?void 0:l.filter(c=>!c.isDestroyed())}}),m.provide(Dl,{data:i,update:l=>s[`${l.config.type}Axis`]=l,destroy:l=>{s[`${l}Axis`]=void 0}}),m.provide(Pl,{data:i,update:l=>s.crosshair=l,destroy:()=>{s.crosshair=void 0}}),m.provide(Ol,{data:i,update:l=>s.tooltip=l,destroy:()=>{s.tooltip=void 0}}),m.provide(Om,{data:i,update:l=>s.annotations=l,destroy:()=>{s.annotations=void 0}}),e({component:o}),(l,c)=>(m.openBlock(),m.createElementBlock("div",{"data-vis-xy-container":"",ref_key:"elRef",ref:a,class:"unovis-xy-container"},[m.renderSlot(l.$slots,"default")],512))}}),Dm={"data-vis-component":""},Rm=m.defineComponent({__name:"index",props:{color:{},curveType:{},baseline:{},opacity:{},cursor:{},minHeight1Px:{type:Boolean},x:{},y:{},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(t,{expose:e}){const n=m.inject(Zr),i=t,r=m.computed(()=>n.data.value??i.data),o=ee(i),s=m.ref();return m.onMounted(()=>{m.nextTick(()=>{var a;s.value=new fi(o.value),(a=s.value)==null||a.setData(r.value),n.update(s.value)})}),m.onUnmounted(()=>{var a;(a=s.value)==null||a.destroy(),n.destroy()}),m.watch(o,(a,l)=>{var c;ve(a,l)||(c=s.value)==null||c.setConfig(o.value)}),m.watch(r,()=>{var a;(a=s.value)==null||a.setData(r.value)}),e({component:s}),(a,l)=>(m.openBlock(),m.createElementBlock("div",Dm))}}),Fm={"data-vis-axis":""},Rl=m.defineComponent({__name:"index",props:{position:{},type:{},fullSize:{type:Boolean},label:{},labelFontSize:{},labelMargin:{},labelColor:{},gridLine:{type:Boolean},tickLine:{type:Boolean},domainLine:{type:Boolean},minMaxTicksOnly:{type:Boolean},minMaxTicksOnlyWhenWidthIsLess:{},tickFormat:{type:Function},tickValues:{},numTicks:{},tickTextFitMode:{},tickTextWidth:{},tickTextSeparator:{},tickTextForceWordBreak:{type:Boolean},tickTextTrimType:{},tickTextFontSize:{},tickTextAlign:{},tickTextColor:{},tickTextAngle:{},tickTextHideOverlapping:{type:Boolean},tickPadding:{},x:{},y:{},id:{type:Function},color:{},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(t,{expose:e}){const n=m.inject(Dl),i=t,r=m.computed(()=>n.data.value??i.data),o=ee(i),s=m.ref();return m.onMounted(()=>{m.nextTick(()=>{var a;s.value=new Tl(o.value),(a=s.value)==null||a.setData(r.value),n.update(s.value)})}),m.onUnmounted(()=>{var a;(a=s.value)==null||a.destroy(),n.destroy(i.type)}),m.watch(o,(a,l)=>{var c;ve(a,l)||(c=s.value)==null||c.setConfig(o.value)}),m.watch(r,()=>{var a;(a=s.value)==null||a.setData(r.value)}),e({component:s}),(a,l)=>(m.openBlock(),m.createElementBlock("div",Fm))}}),Lm={"data-vis-crosshair":""},Bm=m.defineComponent({__name:"index",props:{data:{}},setup(t,{expose:e}){const n=m.inject(Pl),i=t,r=m.computed(()=>n.data.value??i.data),o=ee(i),s=m.ref();return m.onMounted(()=>{m.nextTick(()=>{var a;s.value=new El(o.value),(a=s.value)==null||a.setData(r.value),n.update(s.value)})}),m.onUnmounted(()=>{var a;(a=s.value)==null||a.destroy(),n.destroy()}),m.watch(o,(a,l)=>{var c;ve(a,l)||(c=s.value)==null||c.setConfig(o.value)}),m.watch(r,()=>{var a;(a=s.value)==null||a.setData(r.value)}),e({component:s}),(a,l)=>(m.openBlock(),m.createElementBlock("div",Lm))}}),zm={"data-vis-component":""},Im=m.defineComponent({__name:"index",props:{color:{},curveType:{},lineWidth:{},lineDashArray:{},fallbackValue:{},highlightOnHover:{type:Boolean},cursor:{},interpolateMissingData:{type:Boolean},x:{},y:{},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(t,{expose:e}){const n=m.inject(Zr),i=t,r=m.computed(()=>n.data.value??i.data),o=ee(i),s=m.ref();return m.onMounted(()=>{m.nextTick(()=>{var a;s.value=new ni(o.value),(a=s.value)==null||a.setData(r.value),n.update(s.value)})}),m.onUnmounted(()=>{var a;(a=s.value)==null||a.destroy(),n.destroy()}),m.watch(o,(a,l)=>{var c;ve(a,l)||(c=s.value)==null||c.setConfig(o.value)}),m.watch(r,()=>{var a;(a=s.value)==null||a.setData(r.value)}),e({component:s}),(a,l)=>(m.openBlock(),m.createElementBlock("div",zm))}}),Um={"data-vis-tooltip":""},Hm=m.defineComponent({__name:"index",props:{components:{},container:{},followCursor:{type:Boolean},allowHover:{type:Boolean},horizontalPlacement:{},horizontalShift:{},verticalPlacement:{},verticalShift:{},triggers:{},attributes:{},className:{},data:{}},setup(t,{expose:e}){const n=m.inject(Ol),i=ee(t),r=m.ref();return m.onMounted(()=>{m.nextTick(()=>{r.value=new Da(i.value),n.update(r.value)})}),m.onUnmounted(()=>{var o;(o=r.value)==null||o.destroy(),n.destroy()}),m.watch(i,(o,s)=>{var a;ve(o,s)||(a=r.value)==null||a.setConfig(i.value)}),e({component:r}),(o,s)=>(m.openBlock(),m.createElementBlock("div",Um))}}),Wm=m.defineComponent({__name:"index",props:{items:{},labelClassName:{},onLegendItemClick:{type:Function},labelFontSize:{},labelMaxWidth:{},bulletSize:{},bulletShape:{},orientation:{},renderIntoProvidedDomNode:{type:Boolean},data:{}},setup(t,{expose:e}){const n=t;m.computed(()=>n.data);const i=ee(n),r=m.ref(),o=m.ref();return m.onMounted(()=>{m.nextTick(()=>{o.value&&(r.value=new Ml(o.value,{...i.value,renderIntoProvidedDomNode:!0}))})}),m.onUnmounted(()=>{var s;(s=r.value)==null||s.destroy()}),m.watch(i,(s,a)=>{var l;ve(s,a)||(l=r.value)==null||l.update(i.value)}),e({component:r}),(s,a)=>(m.openBlock(),m.createElementBlock("div",{"data-vis-bullet-legend":"",ref_key:"elRef",ref:o},null,512))}});(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".unovis-xy-container,.unovis-single-container{display:block;position:relative;width:100%}[data-vis-leaflet-map],[data-vis-leaflet-flow-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const Ym=m.defineComponent({__name:"Tooltip",props:{data:{},categories:{}},setup(t){const e=t,n=["_index","_stacked","_ending"],i=m.computed(()=>Object.entries(e.data).filter(([r,o])=>{var s;return!n.includes(r)&&((s=e.categories[r])==null?void 0:s.color)}));return(r,o)=>(m.openBlock(),m.createElementBlock("div",null,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(i.value,([s,a])=>(m.openBlock(),m.createElementBlock("div",{key:s,style:{display:"flex","align-items":"center","margin-bottom":"4px"}},[m.createElementVNode("span",{style:m.normalizeStyle([{width:"8px",height:"8px","border-radius":"4px","margin-right":"8px"},{backgroundColor:r.categories[s].color}])},null,4),m.createElementVNode("div",null,[m.createElementVNode("span",{style:m.normalizeStyle([{"font-weight":"600","margin-right":"8px"},{color:"var(--tooltip-label-color)"}])},m.toDisplayString(s)+":",1),m.createElementVNode("span",{style:m.normalizeStyle([{"font-weight":"400"},{color:"var(--tooltip-value-color)"}])},m.toDisplayString(a),1)])]))),128))]))}});var Fl=(t=>(t.Top="top",t.Bottom="bottom",t))(Fl||{});const Vm=m.defineComponent({__name:"AreaChart",props:{data:{},height:{},xLabel:{},yLabel:{},categories:{},xFormatter:{},yFormatter:{},curveType:{},xNumTicks:{default:t=>t.data.length>24?24/4:t.data.length-1},yNumTicks:{default:t=>t.data.length>24?24/4:t.data.length-1},hideLegend:{type:Boolean},hideTooltip:{type:Boolean},gridLineX:{type:Boolean},domainLineX:{type:Boolean},gridLineY:{type:Boolean},domainLineY:{type:Boolean},paginationPosition:{}},setup(t){const e=t,n=Object.values(e.categories).map(c=>c.color),i=m.computed(()=>c=>{if(typeof window>"u"||typeof document>"u")return"";try{const h=m.createApp(Ym,{data:c,categories:e.categories}),u=document.createElement("div");h.mount(u);const f=u.innerHTML;return h.unmount(),f}catch{return""}});function r(c){var h;return{y:u=>Number(u[c]),color:((h=e.categories[c])==null?void 0:h.color)??"#3b82f6"}}const o=n.map((c,h)=>`
|
|
369
|
-
<linearGradient id="gradient${h}-${c}" gradientTransform="rotate(90)">
|
|
370
|
-
<stop offset="0%" stop-color="${c}" stop-opacity="1" />
|
|
371
|
-
<stop offset="100%" stop-color="${c}" stop-opacity="0" />
|
|
372
|
-
</linearGradient>
|
|
373
|
-
`).join(""),s=m.computed(()=>e.paginationPosition===Fl.Top),a=m.computed(()=>zl(e.data.length,e.xNumTicks)),l=m.computed(()=>{var c;return!((c=e.data)!=null&&c.length)||!a||a.value.length===0?[]:a.value.map(h=>e.data[h])});return(c,h)=>(m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(["flex flex-col space-y-4",{"flex-col-reverse":s.value}])},[m.createVNode(m.unref(Pm),{data:l.value,height:c.height,"svg-defs":m.unref(o)},{default:m.withCtx(()=>[c.hideTooltip?m.createCommentVNode("",!0):(m.openBlock(),m.createBlock(m.unref(Hm),{key:0,"horizontal-placement":m.unref(x.Position).Right,"vertical-placement":m.unref(x.Position).Top},null,8,["horizontal-placement","vertical-placement"])),(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(Object.keys(e.categories),(u,f)=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:f},[m.createVNode(m.unref(Rm),m.mergeProps({x:(d,p)=>p,ref_for:!0},r(u),{color:`url(#gradient${f}-${m.unref(n)[f]})`,opacity:.5,"curve-type":c.curveType??m.unref(x.CurveType).MonotoneX}),null,16,["x","color","curve-type"]),m.createVNode(m.unref(Im),{x:(d,p)=>p,y:d=>d[u],color:m.unref(n)[f],"curve-type":c.curveType??m.unref(x.CurveType).MonotoneX},null,8,["x","y","color","curve-type"])],64))),128)),m.createVNode(m.unref(Rl),{type:"x","num-ticks":l.value.length,"tick-format":u=>c.xFormatter(l.value[u]),label:c.xLabel,"grid-line":c.gridLineX,"domain-line":c.domainLineX,"tick-line":!!c.gridLineX},null,8,["num-ticks","tick-format","label","grid-line","domain-line","tick-line"]),m.createVNode(m.unref(Rl),{type:"y","num-ticks":c.yNumTicks,"tick-format":c.yFormatter,label:c.yLabel,"grid-line":c.gridLineY,"domain-line":c.domainLineY,"tick-line":!!c.gridLineY},null,8,["num-ticks","tick-format","label","grid-line","domain-line","tick-line"]),c.hideTooltip?m.createCommentVNode("",!0):(m.openBlock(),m.createBlock(m.unref(Bm),{key:1,color:"#666",template:i.value},null,8,["template"]))]),_:1},8,["data","height","svg-defs"]),c.hideLegend?m.createCommentVNode("",!0):(m.openBlock(),m.createElementBlock("div",{key:0,class:m.normalizeClass(["flex items center justify-end",{"pb-4":s.value}])},[m.createVNode(m.unref(Wm),{items:Object.values(c.categories)},null,8,["items"])],2))],2))}});var Ll=(t=>(t.Top="top",t.Bottom="bottom",t))(Ll||{});x.AreaChart=Vm,x.PaginationPosition=Ll,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})});
|