@templmf/temp-solf-lmf 0.0.93 → 0.0.95
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/@antv/algorithm@0.1.26/es2022/algorithm.mjs +3 -0
- package/@antv/algorithm@^0.1.26 +5 -0
- package/@antv/component@2.1.7/es2022/component.mjs +15 -0
- package/@antv/component@2.1.7/es2022/esm/animation.mjs +3 -0
- package/@antv/component@2.1.7/es2022/esm/core.mjs +3 -0
- package/@antv/component@2.1.7/es2022/esm/ui/axis/utils.mjs +3 -0
- package/@antv/component@2.1.7/es2022/esm/util/layout.mjs +3 -0
- package/@antv/component@^2.1.7 +11 -0
- package/@antv/event-emitter@0.1.3/es2022/event-emitter.mjs +3 -0
- package/@antv/event-emitter@^0.1.3 +3 -0
- package/@antv/g-camera-api@2.0.41/es2022/g-camera-api.mjs +15 -0
- package/@antv/g-canvas@2.0.48/es2022/g-canvas.mjs +18 -0
- package/@antv/g-canvas@^2.0.48 +6 -0
- package/@antv/g-dom-mutation-observer-api@2.0.38/es2022/g-dom-mutation-observer-api.mjs +15 -0
- package/@antv/g-lite@2.3.2/es2022/g-lite.mjs +22 -0
- package/@antv/g-math@3.0.1/es2022/g-math.mjs +17 -0
- package/@antv/g-plugin-canvas-path-generator@2.1.22/es2022/g-plugin-canvas-path-generator.mjs +16 -0
- package/@antv/g-plugin-canvas-picker@2.1.27/es2022/g-plugin-canvas-picker.mjs +20 -0
- package/@antv/g-plugin-canvas-renderer@2.3.3/es2022/g-plugin-canvas-renderer.mjs +17 -0
- package/@antv/g-plugin-dom-interaction@2.1.27/es2022/g-plugin-dom-interaction.mjs +15 -0
- package/@antv/g-plugin-dragndrop@2.0.38/es2022/g-plugin-dragndrop.mjs +18 -0
- package/@antv/g-plugin-dragndrop@^2.0.38 +4 -0
- package/@antv/g-plugin-html-renderer@2.1.27/es2022/g-plugin-html-renderer.mjs +15 -0
- package/@antv/g-plugin-image-loader@2.1.26/es2022/g-plugin-image-loader.mjs +19 -0
- package/@antv/g-web-animations-api@2.1.28/es2022/g-web-animations-api.mjs +17 -0
- package/@antv/g6@5.1.1/es2022/g6.mjs +125 -0
- package/@antv/g@6.1.28/es2022/g.mjs +15 -0
- package/@antv/g@^6.1.11 +6 -0
- package/@antv/g@^6.1.28 +6 -0
- package/@antv/graphlib@2.0.4/es2022/graphlib.mjs +3 -0
- package/@antv/graphlib@^2.0.4 +3 -0
- package/@antv/hierarchy@0.7.1/es2022/hierarchy.mjs +3 -0
- package/@antv/hierarchy@^0.7.1 +3 -0
- package/@antv/layout@2.0.0/es2022/layout.mjs +20 -0
- package/@antv/layout@^2.0.0 +2 -0
- package/@antv/scale@^0.4.16 +5 -0
- package/@antv/util@3.3.11/es2022/util.mjs +3 -0
- package/@antv/util@^2.0.13 +3 -0
- package/@antv/util@^3.3.10 +4 -0
- package/@antv/util@^3.3.11 +4 -0
- package/@antv/util@^3.3.5 +4 -0
- package/animate.css@4.1.1/animate.css +4072 -0
- package/bubblesets-js@2.3.4/es2022/bubblesets-js.mjs +4 -0
- package/echarts +8 -0
- package/echarts@6.0.0/es2022/echarts.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/basicTransition.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/customGraphicKeyframeAnimation.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/customGraphicTransition.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/morphTransitionHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/animation/universalTransition.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/BarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/BarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/BaseBarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/PictorialBarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/PictorialBarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/bar/installPictorialBar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/BoxplotSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/BoxplotView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/boxplotLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/boxplotTransform.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/boxplot/prepareBoxplotData.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/CandlestickSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/CandlestickView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/candlestickLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/candlestickVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/candlestick/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordEdge.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/ChordView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/chord/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/custom/CustomView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/custom/customSeriesRegister.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/custom/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/EffectScatterSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/EffectScatterView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/effectScatter/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/FunnelSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/FunnelView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/funnelLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/funnel/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/gauge/GaugeSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/gauge/GaugeView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/gauge/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/GraphSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/GraphView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/adjustEdge.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/categoryFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/categoryVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/circularLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/createView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/edgeVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/forceHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/forceLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/graphHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/simpleLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/graph/simpleLayoutHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapLayer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/HeatmapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/heatmap/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/EffectLine.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/EffectSymbol.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/LargeLineDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/Line.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/LineDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/LinePath.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/Polyline.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/Symbol.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/SymbolDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createClipPathFromCoordSys.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createRenderPlanner.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createSeriesData.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/createSeriesDataSimply.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/enableAriaDecalForTree.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/labelHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/multipleGraphEdgeHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/treeHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/helper/whiskerBoxCommon.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/LineSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/LineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/lineAnimationDiff.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/line/poly.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/LinesSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/LinesView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/linesLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/lines/linesVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/MapSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/MapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/mapDataStatistic.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/map/mapSymbolLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/ParallelSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/ParallelView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/parallel/parallelVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/PieSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/PieView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/pie/pieLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/RadarSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/RadarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/backwardCompat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/radar/radarLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/SankeySeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/SankeyView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/sankeyLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sankey/sankeyVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/scatter/ScatterSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/scatter/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/scatter/jitterLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstPiece.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/SunburstView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/sunburst/sunburstVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/ThemeRiverSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/ThemeRiverView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/themeRiver/themeRiverLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/TreeSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/TreeView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/layoutHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/treeAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/tree/treeVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/Breadcrumb.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/TreemapSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/TreemapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/treemapLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/chart/treemap/treemapVisual.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/aria/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/aria/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/AngleAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/AxisBuilder.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/CartesianAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/ParallelAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/RadiusAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/SingleAxisView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisBreakHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisBreakHelperImpl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/axisSplitHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/installBreak.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axis/parallelAxisAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/AxisPointerModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/AxisPointerView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/BaseAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/CartesianAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/PolarAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/SingleAxisPointer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/axisTrigger.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/findPointFromSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/globalListener.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/modelHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/axisPointer/viewHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/BrushModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/BrushView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/selector.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/brush/visualEncoding.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/calendar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/DataZoomModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/InsideZoomModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/InsideZoomView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/SliderZoomModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/SliderZoomView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/dataZoomAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/dataZoomProcessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/history.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installCommon.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installDataZoomInside.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/installDataZoomSlider.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataZoom/roams.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/dataset/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/geo/GeoView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/geo/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/graphic/GraphicModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/graphic/GraphicView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/graphic/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/grid/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/grid/installSimple.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/BrushTargetManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/MapDraw.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/RoamController.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/brushHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/cursorHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/interactionMutex.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/listComponent.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/sliderMove.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/helper/thumbnailBridge.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/LegendModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/LegendView.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/component/legend/ScrollableLegendModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/ScrollableLegendView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/installLegendPlain.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/installLegendScroll.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/legendAction.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/component/legend/legendFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/legend/scrollableLegendAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkAreaModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkAreaView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkLineModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkLineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkPointModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkPointView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkerModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/MarkerView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/checkMarkerInSeries.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkArea.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkLine.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/installMarkPoint.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/marker/markerHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/matrix/MatrixView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/matrix/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/parallel/ParallelView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/parallel/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/polar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/radar/RadarView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/radar/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/singleAxis/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailBridgeImpl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/ThumbnailView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/thumbnail/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/SliderTimelineModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/SliderTimelineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/TimelineView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/timeline/timelineAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/title/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/ToolboxModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/ToolboxView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/Brush.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/DataView.mjs +20 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/DataZoom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/MagicType.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/Restore.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/feature/SaveAsImage.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/featureManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/toolbox/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipHTMLContent.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipRichContent.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/TooltipView.mjs +5 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/seriesFormatTooltip.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/tooltip/tooltipMarkup.mjs +9 -0
- package/echarts@6.0.0/es2022/lib/component/transform/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/transform/sortTransform.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/ContinuousView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/PiecewiseModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/PiecewiseView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/VisualMapModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/VisualMapView.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/install.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/installCommon.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/installVisualMapContinuous.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/installVisualMapPiecewise.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/preprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/visualEncoding.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/component/visualMap/visualMapAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/Axis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/CoordinateSystem.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/View.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisAlignTicks.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisCommonTypes.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisModelCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/axisTickLabelBuilder.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/calendar/CalendarModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/calendar/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Axis2D.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Cartesian.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Cartesian2D.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/Grid.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/GridModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/cartesianAxisHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/legacyContainLabel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/cartesian/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/Geo.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoJSONResource.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/GeoSVGResource.mjs +4 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/Region.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/diaoyuIsland.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/nanhai.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/fix/textCoord.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/geoCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/geoSourceManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/parseGeoJson.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/geo/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/Matrix.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixBodyCorner.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixDim.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/MatrixModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/matrix/matrixCoordHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/Parallel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/ParallelModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/parallelCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/parallel/parallelPreprocessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/AngleAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/Polar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/PolarModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/RadiusAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/polarCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/polar/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/radar/Radar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/radar/RadarModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/scaleRawExtentInfo.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/AxisModel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/Single.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/SingleAxis.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/prepareCustom.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/singleAxisHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/coord/single/singleCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/CoordinateSystem.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/ExtensionAPI.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/Scheduler.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/echarts.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/impl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/lifecycle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/locale.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/core/task.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/DataDiffer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/DataStore.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/OrdinalMeta.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/SeriesData.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/SeriesDimensionDefine.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/Source.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/SeriesDataSchema.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/createDimensions.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dataProvider.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dataStackHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dataValueHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/dimensionHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/sourceHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/sourceManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/data/helper/transform.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/format.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/graphic.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/number.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/time.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api/util.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/api.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/charts.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/components.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/core.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/features.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/export/renderers.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/extension.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/i18n/langEN.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/i18n/langZH.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/LabelManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/installLabelLayout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/labelGuideHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/labelLayoutHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/labelStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/label/sectorLabel.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/layout/barGrid.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/layout/barPolar.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/layout/points.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/legacy/dataSelectAction.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/loading/default.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Component.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Global.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Model.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/OptionManager.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/Series.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/globalDefault.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/internalComponentCreator.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/areaStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/dataFormat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/itemStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/lineStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/makeStyleMapper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/palette.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/mixin/textStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/model/referHelper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/preprocessor/backwardCompat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/preprocessor/helper/compatStyle.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/processor/dataFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/processor/dataSample.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/processor/negativeDataFilter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/renderer/installCanvasRenderer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/renderer/installSVGRenderer.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Log.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Ordinal.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Scale.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/Time.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/break.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/breakImpl.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/scale/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/theme/dark.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/ECEventProcessor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/animation.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/clazz.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/component.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/decal.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/event.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/graphic.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/jitter.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/layout.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/model.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/number.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/states.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/styleCompat.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/symbol.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/time.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/types.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/util/vendor.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/view/Chart.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/view/Component.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/VisualMapping.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/aria.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/decal.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/helper.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/style.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/tokens.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/visualDefault.mjs +3 -0
- package/echarts@6.0.0/es2022/lib/visual/visualSolution.mjs +3 -0
- package/eventemitter3@^5.0.1 +3 -0
- package/gl-matrix@^3.3.0 +2 -0
- package/gl-matrix@^3.4.3 +2 -0
- package/package.json +1 -1
- package/zrender@6.0.0/es2022/lib/Element.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/Handler.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/Storage.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/Animation.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/Animator.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/cubicEasing.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/easing.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/animation/requestAnimationFrame.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/canvas/dashStyle.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/canvas/graphic.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/line.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/polygon.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/quadratic.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/text.mjs +4 -0
- package/zrender@6.0.0/es2022/lib/contain/util.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/contain/windingLine.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/BoundingRect.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/Eventful.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/GestureMgr.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/LRU.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/PathProxy.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/Point.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/Transformable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/WeakMap.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/bbox.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/curve.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/dom.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/env.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/event.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/fourPointsTransform.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/matrix.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/platform.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/timsort.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/util.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/core/vector.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/dom/HandlerProxy.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/CompoundPath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Displayable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Gradient.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Group.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Image.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/IncrementalDisplayable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/LinearGradient.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/Path.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/RadialGradient.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/constants.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/image.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/poly.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/roundRect.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/roundSector.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/smoothBezier.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/helper/subPixelOptimize.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Arc.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Circle.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Ellipse.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Line.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Polygon.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Polyline.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Rect.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Ring.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/graphic/shape/Sector.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/mixin/Draggable.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/Painter.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/SVGPathRebuilder.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/core.mjs +5 -0
- package/zrender@6.0.0/es2022/lib/svg/cssAnimation.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/cssClassId.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/cssEmphasis.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/domapi.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/graphic.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/helper.mjs +4 -0
- package/zrender@6.0.0/es2022/lib/svg/mapStyleToAttrs.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/svg/patch.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/color.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/convertPath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/dividePath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/morphPath.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/parseSVG.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/parseXML.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/tool/path.mjs +3 -0
- package/zrender@6.0.0/es2022/lib/zrender.mjs +16 -0
- package/reactivity@3.5.34/es2022/reactivity.mjs +0 -12
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/PathProxy */
|
|
2
|
+
import*as at from"./vector.mjs";import yt from"./BoundingRect.mjs";import{devicePixelRatio as pt}from"../config.mjs";import{fromLine as _t,fromCubic as mt,fromQuadratic as Dt,fromArc as Lt}from"./bbox.mjs";import{cubicLength as Tt,cubicSubdivide as ct,quadraticLength as Ct,quadraticSubdivide as dt}from"./curve.mjs";var h={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},X=[],Z=[],M=[],q=[],g=[],k=[],et=Math.min,st=Math.max,V=Math.cos,Y=Math.sin,S=Math.abs,ot=Math.PI,w=ot*2,nt=typeof Float32Array<"u",W=[];function vt(v){var t=Math.round(v/ot*1e8)/1e8;return t%2*ot}function Mt(v,t){var r=vt(v[0]);r<0&&(r+=w);var a=r-v[0],e=v[1];e+=a,!t&&e-r>=w?e=r+w:t&&r-e>=w?e=r-w:!t&&r>e?e=r+(w-vt(r-e)):t&&r<e&&(e=r-(w-vt(e-r))),v[0]=r,v[1]=e}var gt=function(){function v(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return v.prototype.increaseVersion=function(){this._version++},v.prototype.getVersion=function(){return this._version},v.prototype.setScale=function(t,r,a){a=a||0,a>0&&(this._ux=S(a/pt/t)||0,this._uy=S(a/pt/r)||0)},v.prototype.setDPR=function(t){this.dpr=t},v.prototype.setContext=function(t){this._ctx=t},v.prototype.getContext=function(){return this._ctx},v.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},v.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},v.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(h.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},v.prototype.lineTo=function(t,r){var a=S(t-this._xi),e=S(r-this._yi),s=a>this._ux||e>this._uy;if(this.addData(h.L,t,r),this._ctx&&s&&this._ctx.lineTo(t,r),s)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var i=a*a+e*e;i>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=i)}return this},v.prototype.bezierCurveTo=function(t,r,a,e,s,i){return this._drawPendingPt(),this.addData(h.C,t,r,a,e,s,i),this._ctx&&this._ctx.bezierCurveTo(t,r,a,e,s,i),this._xi=s,this._yi=i,this},v.prototype.quadraticCurveTo=function(t,r,a,e){return this._drawPendingPt(),this.addData(h.Q,t,r,a,e),this._ctx&&this._ctx.quadraticCurveTo(t,r,a,e),this._xi=a,this._yi=e,this},v.prototype.arc=function(t,r,a,e,s,i){this._drawPendingPt(),W[0]=e,W[1]=s,Mt(W,i),e=W[0],s=W[1];var u=s-e;return this.addData(h.A,t,r,a,a,e,u,0,i?0:1),this._ctx&&this._ctx.arc(t,r,a,e,s,i),this._xi=V(s)*a+t,this._yi=Y(s)*a+r,this},v.prototype.arcTo=function(t,r,a,e,s){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,a,e,s),this},v.prototype.rect=function(t,r,a,e){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,a,e),this.addData(h.R,t,r,a,e),this},v.prototype.closePath=function(){this._drawPendingPt(),this.addData(h.Z);var t=this._ctx,r=this._x0,a=this._y0;return t&&t.closePath(),this._xi=r,this._yi=a,this},v.prototype.fill=function(t){t&&t.fill(),this.toStatic()},v.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},v.prototype.len=function(){return this._len},v.prototype.setData=function(t){if(this._saveData){var r=t.length;!(this.data&&this.data.length===r)&&nt&&(this.data=new Float32Array(r));for(var a=0;a<r;a++)this.data[a]=t[a];this._len=r}},v.prototype.appendPath=function(t){if(this._saveData){t instanceof Array||(t=[t]);for(var r=t.length,a=0,e=this._len,s=0;s<r;s++)a+=t[s].len();var i=this.data;if(nt&&(i instanceof Float32Array||!i)&&(this.data=new Float32Array(e+a),e>0&&i))for(var u=0;u<e;u++)this.data[u]=i[u];for(var s=0;s<r;s++)for(var l=t[s].data,u=0;u<l.length;u++)this.data[e++]=l[u];this._len=e}},v.prototype.addData=function(t,r,a,e,s,i,u,l,d){if(this._saveData){var p=this.data;this._len+arguments.length>p.length&&(this._expandData(),p=this.data);for(var c=0;c<arguments.length;c++)p[this._len++]=arguments[c]}},v.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},v.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r<this._len;r++)t[r]=this.data[r];this.data=t}},v.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,nt&&this._len>11&&(this.data=new Float32Array(t)))}},v.prototype.getBoundingRect=function(){M[0]=M[1]=g[0]=g[1]=Number.MAX_VALUE,q[0]=q[1]=k[0]=k[1]=-Number.MAX_VALUE;var t=this.data,r=0,a=0,e=0,s=0,i;for(i=0;i<this._len;){var u=t[i++],l=i===1;switch(l&&(r=t[i],a=t[i+1],e=r,s=a),u){case h.M:r=e=t[i++],a=s=t[i++],g[0]=e,g[1]=s,k[0]=e,k[1]=s;break;case h.L:_t(r,a,t[i],t[i+1],g,k),r=t[i++],a=t[i++];break;case h.C:mt(r,a,t[i++],t[i++],t[i++],t[i++],t[i],t[i+1],g,k),r=t[i++],a=t[i++];break;case h.Q:Dt(r,a,t[i++],t[i++],t[i],t[i+1],g,k),r=t[i++],a=t[i++];break;case h.A:var d=t[i++],p=t[i++],c=t[i++],n=t[i++],m=t[i++],D=t[i++]+m;i+=1;var L=!t[i++];l&&(e=V(m)*c+d,s=Y(m)*n+p),Lt(d,p,c,n,m,D,L,g,k),r=V(D)*c+d,a=Y(D)*n+p;break;case h.R:e=r=t[i++],s=a=t[i++];var f=t[i++],y=t[i++];_t(e,s,e+f,s+y,g,k);break;case h.Z:r=e,a=s;break}at.min(M,M,g),at.max(q,q,k)}return i===0&&(M[0]=M[1]=q[0]=q[1]=0),new yt(M[0],M[1],q[0]-M[0],q[1]-M[1])},v.prototype._calculateLength=function(){var t=this.data,r=this._len,a=this._ux,e=this._uy,s=0,i=0,u=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var d=this._pathSegLen,p=0,c=0,n=0;n<r;){var m=t[n++],D=n===1;D&&(s=t[n],i=t[n+1],u=s,l=i);var L=-1;switch(m){case h.M:s=u=t[n++],i=l=t[n++];break;case h.L:{var f=t[n++],y=t[n++],P=f-s,T=y-i;(S(P)>a||S(T)>e||n===r-1)&&(L=Math.sqrt(P*P+T*T),s=f,i=y);break}case h.C:{var E=t[n++],U=t[n++],f=t[n++],y=t[n++],o=t[n++],G=t[n++];L=Tt(s,i,E,U,f,y,o,G,10),s=o,i=G;break}case h.Q:{var E=t[n++],U=t[n++],f=t[n++],y=t[n++];L=Ct(s,i,E,U,f,y,10),s=f,i=y;break}case h.A:var H=t[n++],F=t[n++],z=t[n++],_=t[n++],b=t[n++],I=t[n++],x=I+b;n+=1,D&&(u=V(b)*z+H,l=Y(b)*_+F),L=st(z,_)*et(w,Math.abs(I)),s=V(x)*z+H,i=Y(x)*_+F;break;case h.R:{u=s=t[n++],l=i=t[n++];var Q=t[n++],R=t[n++];L=Q*2+R*2;break}case h.Z:{var P=u-s,T=l-i;L=Math.sqrt(P*P+T*T),s=u,i=l;break}}L>=0&&(d[c++]=L,p+=L)}return this._pathLen=p,p},v.prototype.rebuildPath=function(t,r){var a=this.data,e=this._ux,s=this._uy,i=this._len,u,l,d,p,c,n,m=r<1,D,L,f=0,y=0,P,T=0,E,U;if(!(m&&(this._pathSegLen||this._calculateLength(),D=this._pathSegLen,L=this._pathLen,P=r*L,!P)))t:for(var o=0;o<i;){var G=a[o++],H=o===1;switch(H&&(d=a[o],p=a[o+1],u=d,l=p),G!==h.L&&T>0&&(t.lineTo(E,U),T=0),G){case h.M:u=d=a[o++],l=p=a[o++],t.moveTo(d,p);break;case h.L:{c=a[o++],n=a[o++];var F=S(c-d),z=S(n-p);if(F>e||z>s){if(m){var _=D[y++];if(f+_>P){var b=(P-f)/_;t.lineTo(d*(1-b)+c*b,p*(1-b)+n*b);break t}f+=_}t.lineTo(c,n),d=c,p=n,T=0}else{var I=F*F+z*z;I>T&&(E=c,U=n,T=I)}break}case h.C:{var x=a[o++],Q=a[o++],R=a[o++],N=a[o++],rt=a[o++],it=a[o++];if(m){var _=D[y++];if(f+_>P){var b=(P-f)/_;ct(d,x,R,rt,b,X),ct(p,Q,N,it,b,Z),t.bezierCurveTo(X[1],Z[1],X[2],Z[2],X[3],Z[3]);break t}f+=_}t.bezierCurveTo(x,Q,R,N,rt,it),d=rt,p=it;break}case h.Q:{var x=a[o++],Q=a[o++],R=a[o++],N=a[o++];if(m){var _=D[y++];if(f+_>P){var b=(P-f)/_;dt(d,x,R,b,X),dt(p,Q,N,b,Z),t.quadraticCurveTo(X[1],Z[1],X[2],Z[2]);break t}f+=_}t.quadraticCurveTo(x,Q,R,N),d=R,p=N;break}case h.A:var $=a[o++],tt=a[o++],O=a[o++],B=a[o++],j=a[o++],ht=a[o++],Pt=a[o++],ft=!a[o++],lt=O>B?O:B,bt=S(O-B)>.001,J=j+ht,ut=!1;if(m){var _=D[y++];f+_>P&&(J=j+ht*(P-f)/_,ut=!0),f+=_}if(bt&&t.ellipse?t.ellipse($,tt,O,B,Pt,j,J,ft):t.arc($,tt,lt,j,J,ft),ut)break t;H&&(u=V(j)*O+$,l=Y(j)*B+tt),d=V(J)*O+$,p=Y(J)*B+tt;break;case h.R:u=d=a[o],l=p=a[o+1],c=a[o++],n=a[o++];var A=a[o++],K=a[o++];if(m){var _=D[y++];if(f+_>P){var C=P-f;t.moveTo(c,n),t.lineTo(c+et(C,A),n),C-=A,C>0&&t.lineTo(c+A,n+et(C,K)),C-=K,C>0&&t.lineTo(c+st(A-C,0),n+K),C-=A,C>0&&t.lineTo(c,n+st(K-C,0));break t}f+=_}t.rect(c,n,A,K);break;case h.Z:if(m){var _=D[y++];if(f+_>P){var b=(P-f)/_;t.lineTo(d*(1-b)+u*b,p*(1-b)+l*b);break t}f+=_}t.closePath(),d=u,p=l}}},v.prototype.clone=function(){var t=new v,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},v.prototype.canSave=function(){return!!this._saveData},v.CMD=h,v.initDefaultProps=function(){var t=v.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),v}(),qt=gt;export{qt as default,Mt as normalizeArcAngles};
|
|
3
|
+
//# sourceMappingURL=PathProxy.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/Point */
|
|
2
|
+
var s=function(){function i(t,n){this.x=t||0,this.y=n||0}return i.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},i.prototype.clone=function(){return new i(this.x,this.y)},i.prototype.set=function(t,n){return this.x=t,this.y=n,this},i.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},i.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},i.prototype.scale=function(t){this.x*=t,this.y*=t},i.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},i.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},i.prototype.dot=function(t){return this.x*t.x+this.y*t.y},i.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},i.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},i.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},i.prototype.distance=function(t){var n=this.x-t.x,y=this.y-t.y;return Math.sqrt(n*n+y*y)},i.prototype.distanceSquare=function(t){var n=this.x-t.x,y=this.y-t.y;return n*n+y*y},i.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},i.prototype.transform=function(t){if(t){var n=this.x,y=this.y;return this.x=t[0]*n+t[2]*y+t[4],this.y=t[1]*n+t[3]*y+t[5],this}},i.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},i.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},i.set=function(t,n,y){t.x=n,t.y=y},i.copy=function(t,n){t.x=n.x,t.y=n.y},i.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},i.lenSquare=function(t){return t.x*t.x+t.y*t.y},i.dot=function(t,n){return t.x*n.x+t.y*n.y},i.add=function(t,n,y){t.x=n.x+y.x,t.y=n.y+y.y},i.sub=function(t,n,y){t.x=n.x-y.x,t.y=n.y-y.y},i.scale=function(t,n,y){t.x=n.x*y,t.y=n.y*y},i.scaleAndAdd=function(t,n,y,r){t.x=n.x+y.x*r,t.y=n.y+y.y*r},i.lerp=function(t,n,y,r){var o=1-r;t.x=o*n.x+r*y.x,t.y=o*n.y+r*y.y},i}(),x=s;export{x as default};
|
|
3
|
+
//# sourceMappingURL=Point.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/Transformable */
|
|
2
|
+
import*as i from"./matrix.mjs";import*as p from"./vector.mjs";var w=i.identity,k=5e-5;function f(o){return o>k||o<-k}var h=[],c=[],l=i.create(),v=Math.abs,S=function(){function o(){}return o.prototype.getLocalTransform=function(r){return o.getLocalTransform(this,r)},o.prototype.setPosition=function(r){this.x=r[0],this.y=r[1]},o.prototype.setScale=function(r){this.scaleX=r[0],this.scaleY=r[1]},o.prototype.setSkew=function(r){this.skewX=r[0],this.skewY=r[1]},o.prototype.setOrigin=function(r){this.originX=r[0],this.originY=r[1]},o.prototype.needLocalTransform=function(){return f(this.rotation)||f(this.x)||f(this.y)||f(this.scaleX-1)||f(this.scaleY-1)||f(this.skewX)||f(this.skewY)},o.prototype.updateTransform=function(){var r=this.parent&&this.parent.transform,t=this.needLocalTransform(),a=this.transform;if(!(t||r)){a&&(w(a),this.invTransform=null);return}a=a||i.create(),t?this.getLocalTransform(a):w(a),r&&(t?i.mul(a,r,a):i.copy(a,r)),this.transform=a,this._resolveGlobalScaleRatio(a)},o.prototype._resolveGlobalScaleRatio=function(r){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(h);var a=h[0]<0?-1:1,n=h[1]<0?-1:1,s=((h[0]-a)*t+a)/h[0]||0,e=((h[1]-n)*t+n)/h[1]||0;r[0]*=s,r[1]*=s,r[2]*=e,r[3]*=e}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)},o.prototype.getComputedTransform=function(){for(var r=this,t=[];r;)t.push(r),r=r.parent;for(;r=t.pop();)r.updateTransform();return this.transform},o.prototype.setLocalTransform=function(r){if(r){var t=r[0]*r[0]+r[1]*r[1],a=r[2]*r[2]+r[3]*r[3],n=Math.atan2(r[1],r[0]),s=Math.PI/2+n-Math.atan2(r[3],r[2]);a=Math.sqrt(a)*Math.cos(s),t=Math.sqrt(t),this.skewX=s,this.skewY=0,this.rotation=-n,this.x=+r[4],this.y=+r[5],this.scaleX=t,this.scaleY=a,this.originX=0,this.originY=0}},o.prototype.decomposeTransform=function(){if(this.transform){var r=this.parent,t=this.transform;r&&r.transform&&(r.invTransform=r.invTransform||i.create(),i.mul(c,r.invTransform,t),t=c);var a=this.originX,n=this.originY;(a||n)&&(l[4]=a,l[5]=n,i.mul(c,t,l),c[4]-=a,c[5]-=n,t=c),this.setLocalTransform(t)}},o.prototype.getGlobalScale=function(r){var t=this.transform;return r=r||[],t?(r[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),r[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(r[0]=-r[0]),t[3]<0&&(r[1]=-r[1]),r):(r[0]=1,r[1]=1,r)},o.prototype.transformCoordToLocal=function(r,t){var a=[r,t],n=this.invTransform;return n&&p.applyTransform(a,a,n),a},o.prototype.transformCoordToGlobal=function(r,t){var a=[r,t],n=this.transform;return n&&p.applyTransform(a,a,n),a},o.prototype.getLineScale=function(){var r=this.transform;return r&&v(r[0]-1)>1e-10&&v(r[3]-1)>1e-10?Math.sqrt(v(r[0]*r[3]-r[2]*r[1])):1},o.prototype.copyTransform=function(r){b(this,r)},o.getLocalTransform=function(r,t){t=t||[];var a=r.originX||0,n=r.originY||0,s=r.scaleX,e=r.scaleY,m=r.anchorX,u=r.anchorY,T=r.rotation||0,L=r.x,M=r.y,y=r.skewX?Math.tan(r.skewX):0,x=r.skewY?Math.tan(-r.skewY):0;if(a||n||m||u){var X=a+m,Y=n+u;t[4]=-X*s-y*Y*e,t[5]=-Y*e-x*X*s}else t[4]=t[5]=0;return t[0]=s,t[3]=e,t[1]=x*s,t[2]=y*e,T&&i.rotate(t,t,T),t[4]+=a+L,t[5]+=n+M,t},o.initDefaultProps=function(){var r=o.prototype;r.scaleX=r.scaleY=r.globalScaleRatio=1,r.x=r.y=r.originX=r.originY=r.skewX=r.skewY=r.rotation=r.anchorX=r.anchorY=0}(),o}(),g=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function b(o,r){for(var t=0;t<g.length;t++){var a=g[t];o[a]=r[a]}}var d=S;export{g as TRANSFORMABLE_PROPS,b as copyTransform,d as default};
|
|
3
|
+
//# sourceMappingURL=Transformable.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/WeakMap */
|
|
2
|
+
var i=Math.round(Math.random()*9),o=typeof Object.defineProperty=="function",u=function(){function e(){this._id="__ec_inner_"+i++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,r){var n=this._guard(t);return o?Object.defineProperty(n,this._id,{value:r,enumerable:!1,configurable:!0}):n[this._id]=r,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e}(),a=u;export{a as default};
|
|
3
|
+
//# sourceMappingURL=WeakMap.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/bbox */
|
|
2
|
+
import*as q from"./vector.mjs";import*as E from"./curve.mjs";var b=Math.min,I=Math.max,j=Math.sin,z=Math.cos,D=Math.PI*2,L=q.create(),Q=q.create(),S=q.create();function J(a,t,u){if(a.length!==0){for(var f=a[0],r=f[0],v=f[0],M=f[1],i=f[1],c=1;c<a.length;c++)f=a[c],r=b(r,f[0]),v=I(v,f[0]),M=b(M,f[1]),i=I(i,f[1]);t[0]=r,t[1]=M,u[0]=v,u[1]=i}}function K(a,t,u,f,r,v){r[0]=b(a,u),r[1]=b(t,f),v[0]=I(a,u),v[1]=I(t,f)}var G=[],H=[];function N(a,t,u,f,r,v,M,i,c,o){var P=E.cubicExtrema,C=E.cubicAt,p=P(a,u,r,M,G);c[0]=1/0,c[1]=1/0,o[0]=-1/0,o[1]=-1/0;for(var h=0;h<p;h++){var B=C(a,u,r,M,G[h]);c[0]=b(B,c[0]),o[0]=I(B,o[0])}p=P(t,f,v,i,H);for(var h=0;h<p;h++){var F=C(t,f,v,i,H[h]);c[1]=b(F,c[1]),o[1]=I(F,o[1])}c[0]=b(a,c[0]),o[0]=I(a,o[0]),c[0]=b(M,c[0]),o[0]=I(M,o[0]),c[1]=b(t,c[1]),o[1]=I(t,o[1]),c[1]=b(i,c[1]),o[1]=I(i,o[1])}function O(a,t,u,f,r,v,M,i){var c=E.quadraticExtremum,o=E.quadraticAt,P=I(b(c(a,u,r),1),0),C=I(b(c(t,f,v),1),0),p=o(a,u,r,P),h=o(t,f,v,C);M[0]=b(a,r,p),M[1]=b(t,v,h),i[0]=I(a,r,p),i[1]=I(t,v,h)}function R(a,t,u,f,r,v,M,i,c){var o=q.min,P=q.max,C=Math.abs(r-v);if(C%D<1e-4&&C>1e-4){i[0]=a-u,i[1]=t-f,c[0]=a+u,c[1]=t+f;return}if(L[0]=z(r)*u+a,L[1]=j(r)*f+t,Q[0]=z(v)*u+a,Q[1]=j(v)*f+t,o(i,L,Q),P(c,L,Q),r=r%D,r<0&&(r=r+D),v=v%D,v<0&&(v=v+D),r>v&&!M?v+=D:r<v&&M&&(r+=D),M){var p=v;v=r,r=p}for(var h=0;h<v;h+=Math.PI/2)h>r&&(S[0]=z(h)*u+a,S[1]=j(h)*f+t,o(i,S,i),P(c,S,c))}export{R as fromArc,N as fromCubic,K as fromLine,J as fromPoints,O as fromQuadratic};
|
|
3
|
+
//# sourceMappingURL=bbox.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/curve */
|
|
2
|
+
import{create as Z,distSquare as O}from"./vector.mjs";var T=Math.pow,L=Math.sqrt,j=1e-8,Q=1e-4,B=L(3),g=1/3,R=Z(),E=Z(),S=Z();function D(a){return a>-j&&a<j}function U(a){return a>j||a<-j}function A(a,i,u,f,v){var r=1-v;return r*r*(r*a+3*v*i)+v*v*(v*f+3*r*u)}function G(a,i,u,f,v){var r=1-v;return 3*(((i-a)*r+2*(u-i)*v)*r+(f-u)*v*v)}function J(a,i,u,f,v,r){var e=f+3*(i-u)-a,t=3*(u-i*2+a),l=3*(i-a),n=a-v,o=t*t-3*e*l,c=t*l-9*e*n,h=l*l-3*t*n,b=0;if(D(o)&&D(c))if(D(t))r[0]=0;else{var s=-l/t;s>=0&&s<=1&&(r[b++]=s)}else{var d=c*c-4*o*h;if(D(d)){var M=c/o,s=-t/e+M,q=-M/2;s>=0&&s<=1&&(r[b++]=s),q>=0&&q<=1&&(r[b++]=q)}else if(d>0){var I=L(d),N=o*t+1.5*e*(-c+I),C=o*t+1.5*e*(-c-I);N<0?N=-T(-N,g):N=T(N,g),C<0?C=-T(-C,g):C=T(C,g);var s=(-t-(N+C))/(3*e);s>=0&&s<=1&&(r[b++]=s)}else{var z=(2*o*t-3*e*c)/(2*L(o*o*o)),k=Math.acos(z)/3,m=L(o),w=Math.cos(k),s=(-t-2*m*w)/(3*e),q=(-t+m*(w+B*Math.sin(k)))/(3*e),H=(-t+m*(w-B*Math.sin(k)))/(3*e);s>=0&&s<=1&&(r[b++]=s),q>=0&&q<=1&&(r[b++]=q),H>=0&&H<=1&&(r[b++]=H)}}return b}function V(a,i,u,f,v){var r=6*u-12*i+6*a,e=9*i+3*f-3*a-9*u,t=3*i-3*a,l=0;if(D(e)){if(U(r)){var n=-t/r;n>=0&&n<=1&&(v[l++]=n)}}else{var o=r*r-4*e*t;if(D(o))v[0]=-r/(2*e);else if(o>0){var c=L(o),n=(-r+c)/(2*e),h=(-r-c)/(2*e);n>=0&&n<=1&&(v[l++]=n),h>=0&&h<=1&&(v[l++]=h)}}return l}function W(a,i,u,f,v,r){var e=(i-a)*v+a,t=(u-i)*v+i,l=(f-u)*v+u,n=(t-e)*v+e,o=(l-t)*v+t,c=(o-n)*v+n;r[0]=a,r[1]=e,r[2]=n,r[3]=c,r[4]=c,r[5]=o,r[6]=l,r[7]=f}function X(a,i,u,f,v,r,e,t,l,n,o){var c,h=.005,b=1/0,s,d,M,q;R[0]=l,R[1]=n;for(var I=0;I<1;I+=.05)E[0]=A(a,u,v,e,I),E[1]=A(i,f,r,t,I),M=O(R,E),M<b&&(c=I,b=M);b=1/0;for(var N=0;N<32&&!(h<Q);N++)s=c-h,d=c+h,E[0]=A(a,u,v,e,s),E[1]=A(i,f,r,t,s),M=O(E,R),s>=0&&M<b?(c=s,b=M):(S[0]=A(a,u,v,e,d),S[1]=A(i,f,r,t,d),q=O(S,R),d<=1&&q<b?(c=d,b=q):h*=.5);return o&&(o[0]=A(a,u,v,e,c),o[1]=A(i,f,r,t,c)),L(b)}function $(a,i,u,f,v,r,e,t,l){for(var n=a,o=i,c=0,h=1/l,b=1;b<=l;b++){var s=b*h,d=A(a,u,v,e,s),M=A(i,f,r,t,s),q=d-n,I=M-o;c+=Math.sqrt(q*q+I*I),n=d,o=M}return c}function P(a,i,u,f){var v=1-f;return v*(v*a+2*f*i)+f*f*u}function K(a,i,u,f){return 2*((1-f)*(i-a)+f*(u-i))}function _(a,i,u,f,v){var r=a-2*i+u,e=2*(i-a),t=a-f,l=0;if(D(r)){if(U(e)){var n=-t/e;n>=0&&n<=1&&(v[l++]=n)}}else{var o=e*e-4*r*t;if(D(o)){var n=-e/(2*r);n>=0&&n<=1&&(v[l++]=n)}else if(o>0){var c=L(o),n=(-e+c)/(2*r),h=(-e-c)/(2*r);n>=0&&n<=1&&(v[l++]=n),h>=0&&h<=1&&(v[l++]=h)}}return l}function p(a,i,u){var f=a+u-2*i;return f===0?.5:(a-i)/f}function Y(a,i,u,f,v){var r=(i-a)*f+a,e=(u-i)*f+i,t=(e-r)*f+r;v[0]=a,v[1]=r,v[2]=t,v[3]=t,v[4]=e,v[5]=u}function x(a,i,u,f,v,r,e,t,l){var n,o=.005,c=1/0;R[0]=e,R[1]=t;for(var h=0;h<1;h+=.05){E[0]=P(a,u,v,h),E[1]=P(i,f,r,h);var b=O(R,E);b<c&&(n=h,c=b)}c=1/0;for(var s=0;s<32&&!(o<Q);s++){var d=n-o,M=n+o;E[0]=P(a,u,v,d),E[1]=P(i,f,r,d);var b=O(E,R);if(d>=0&&b<c)n=d,c=b;else{S[0]=P(a,u,v,M),S[1]=P(i,f,r,M);var q=O(S,R);M<=1&&q<c?(n=M,c=q):o*=.5}}return l&&(l[0]=P(a,u,v,n),l[1]=P(i,f,r,n)),L(c)}function y(a,i,u,f,v,r,e){for(var t=a,l=i,n=0,o=1/e,c=1;c<=e;c++){var h=c*o,b=P(a,u,v,h),s=P(i,f,r,h),d=b-t,M=s-l;n+=Math.sqrt(d*d+M*M),t=b,l=s}return n}export{A as cubicAt,G as cubicDerivativeAt,V as cubicExtrema,$ as cubicLength,X as cubicProjectPoint,J as cubicRootAt,W as cubicSubdivide,P as quadraticAt,K as quadraticDerivativeAt,p as quadraticExtremum,y as quadraticLength,x as quadraticProjectPoint,_ as quadraticRootAt,Y as quadraticSubdivide};
|
|
3
|
+
//# sourceMappingURL=curve.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/dom */
|
|
2
|
+
import g from"./env.mjs";import{buildTransformer as C}from"./fourPointsTransform.mjs";import{each as E}from"./util.mjs";var c="___zrEVENTSAVED",d=[];function L(t,r,o,a,e){return h(d,r,a,e,!0)&&h(t,o,d[0],d[1])}function R(t,r){t&&o(t),r&&o(r);function o(a){var e=a[c];e&&(e.clearMarkers&&e.clearMarkers(),delete a[c])}}function h(t,r,o,a,e){if(r.getBoundingClientRect&&g.domSupported&&!M(r)){var n=r[c]||(r[c]={}),p=T(r,n),f=N(p,n,e);if(f)return f(t,o,a),!0}return!1}function T(t,r){var o=r.markers;if(o)return o;o=r.markers=[];for(var a=["left","right"],e=["top","bottom"],n=0;n<4;n++){var p=document.createElement("div"),f=p.style,i=n%2,u=(n>>1)%2;f.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[i]+":0",e[u]+":0",a[1-i]+":auto",e[1-u]+":auto",""].join("!important;"),t.appendChild(p),o.push(p)}return r.clearMarkers=function(){E(o,function(s){s.parentNode&&s.parentNode.removeChild(s)})},o}function N(t,r,o){for(var a=o?"invTrans":"trans",e=r[a],n=r.srcCoords,p=[],f=[],i=!0,u=0;u<4;u++){var s=t[u].getBoundingClientRect(),v=2*u,l=s.left,m=s.top;p.push(l,m),i=i&&n&&l===n[v]&&m===n[v+1],f.push(t[u].offsetLeft,t[u].offsetTop)}return i&&e?e:(r.srcCoords=p,r[a]=o?C(f,p):C(p,f))}function M(t){return t.nodeName.toUpperCase()==="CANVAS"}var S=/([&<>"'])/g,V={"&":"&","<":"<",">":">",'"':""","'":"'"};function w(t){return t==null?"":(t+"").replace(S,function(r,o){return V[o]})}export{w as encodeHTML,M as isCanvasEl,h as transformCoordWithViewport,L as transformLocalCoord,R as transformLocalCoordClear};
|
|
3
|
+
//# sourceMappingURL=dom.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/env */
|
|
2
|
+
var p=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),u=function(){function t(){this.browser=new p,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return t}(),o=new u;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(o.wxa=!0,o.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?o.worker=!0:!o.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(o.node=!0,o.svgSupported=!0):w(navigator.userAgent,o);function w(t,r){var e=r.browser,s=t.match(/Firefox\/([\d.]+)/),d=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),i=t.match(/Edge?\/([\d.]+)/),f=/micromessenger/i.test(t);s&&(e.firefox=!0,e.version=s[1]),d&&(e.ie=!0,e.version=d[1]),i&&(e.edge=!0,e.version=i[1],e.newEdge=+i[1].split(".")[0]>18),f&&(e.weChat=!0),r.svgSupported=typeof SVGRect<"u",r.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,r.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11);var a=r.domSupported=typeof document<"u";if(a){var n=document.documentElement.style;r.transform3dSupported=(e.ie&&"transition"in n||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in n)&&!("OTransition"in n),r.transformSupported=r.transform3dSupported||e.ie&&+e.version>=9}}var h=o;export{h as default};
|
|
3
|
+
//# sourceMappingURL=env.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/event */
|
|
2
|
+
import g from"./Eventful.mjs";import f from"./env.mjs";import{isCanvasEl as u,transformCoordWithViewport as p}from"./dom.mjs";var d=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,l=[],h=f.browser.firefox&&+f.browser.version.split(".")[0]<39;function v(t,r,e,n){return e=e||{},n?c(t,r,e):h&&r.layerX!=null&&r.layerX!==r.offsetX?(e.zrX=r.layerX,e.zrY=r.layerY):r.offsetX!=null?(e.zrX=r.offsetX,e.zrY=r.offsetY):c(t,r,e),e}function c(t,r,e){if(f.domSupported&&t.getBoundingClientRect){var n=r.clientX,a=r.clientY;if(u(t)){var i=t.getBoundingClientRect();e.zrX=n-i.left,e.zrY=a-i.top;return}else if(p(l,t,n,a)){e.zrX=l[0],e.zrY=l[1];return}}e.zrX=e.zrY=0}function X(t){return t||window.event}function w(t,r,e){if(r=X(r),r.zrX!=null)return r;var n=r.type,a=n&&n.indexOf("touch")>=0;if(a){var s=n!=="touchend"?r.targetTouches[0]:r.changedTouches[0];s&&v(t,s,r,e)}else{v(t,r,r,e);var i=m(r);r.zrDelta=i?i/120:-(r.detail||0)/3}var o=r.button;return r.which==null&&o!==void 0&&d.test(r.type)&&(r.which=o&1?1:o&2?3:o&4?2:0),r}function m(t){var r=t.wheelDelta;if(r)return r;var e=t.deltaX,n=t.deltaY;if(e==null||n==null)return r;var a=Math.abs(n!==0?n:e),i=n>0?-1:n<0?1:e>0?-1:1;return 3*a*i}function x(t,r,e,n){t.addEventListener(r,e,n)}function y(t,r,e,n){t.removeEventListener(r,e,n)}var b=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function D(t){return t.which===2||t.which===3}export{g as Dispatcher,x as addEventListener,v as clientToLocal,X as getNativeEvent,D as isMiddleOrRightButtonOnMouseUpDown,w as normalizeEvent,y as removeEventListener,b as stop};
|
|
3
|
+
//# sourceMappingURL=event.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/fourPointsTransform */
|
|
2
|
+
var N=Math.log(2);function i(v,n,h,l,m,u){var a=l+"-"+m,f=v.length;if(u.hasOwnProperty(a))return u[a];if(n===1){var g=Math.round(Math.log((1<<f)-1&~m)/N);return v[h][g]}for(var R=l|1<<h,b=h+1;l&1<<b;)b++;for(var p=0,y=0,A=0;y<f;y++){var K=1<<y;K&m||(p+=(A%2?-1:1)*v[h][y]*i(v,n-1,b,R,m|K,u),A++)}return u[a]=p,p}function O(v,n){var h=[[v[0],v[1],1,0,0,0,-n[0]*v[0],-n[0]*v[1]],[0,0,0,v[0],v[1],1,-n[1]*v[0],-n[1]*v[1]],[v[2],v[3],1,0,0,0,-n[2]*v[2],-n[2]*v[3]],[0,0,0,v[2],v[3],1,-n[3]*v[2],-n[3]*v[3]],[v[4],v[5],1,0,0,0,-n[4]*v[4],-n[4]*v[5]],[0,0,0,v[4],v[5],1,-n[5]*v[4],-n[5]*v[5]],[v[6],v[7],1,0,0,0,-n[6]*v[6],-n[6]*v[7]],[0,0,0,v[6],v[7],1,-n[7]*v[6],-n[7]*v[7]]],l={},m=i(h,8,0,0,0,l);if(m!==0){for(var u=[],a=0;a<8;a++)for(var f=0;f<8;f++)u[f]==null&&(u[f]=0),u[f]+=((a+f)%2?-1:1)*i(h,7,a===0?1:0,1<<a,1<<f,l)/m*n[a];return function(g,R,b){var p=R*u[6]+b*u[7]+1;g[0]=(R*u[0]+b*u[1]+u[2])/p,g[1]=(R*u[3]+b*u[4]+u[5])/p}}}export{O as buildTransformer};
|
|
3
|
+
//# sourceMappingURL=fourPointsTransform.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/matrix */
|
|
2
|
+
function d(){return[1,0,0,1,0,0]}function p(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function b(r,n){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4],r[5]=n[5],r}function h(r,n,e){var a=n[0]*e[0]+n[2]*e[1],c=n[1]*e[0]+n[3]*e[1],x=n[0]*e[2]+n[2]*e[3],f=n[1]*e[2]+n[3]*e[3],i=n[0]*e[4]+n[2]*e[5]+n[4],v=n[1]*e[4]+n[3]*e[5]+n[5];return r[0]=a,r[1]=c,r[2]=x,r[3]=f,r[4]=i,r[5]=v,r}function t(r,n,e){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4]+e[0],r[5]=n[5]+e[1],r}function M(r,n,e,a){a===void 0&&(a=[0,0]);var c=n[0],x=n[2],f=n[4],i=n[1],v=n[3],y=n[5],l=Math.sin(e),s=Math.cos(e);return r[0]=c*s+i*l,r[1]=-c*l+i*s,r[2]=x*s+v*l,r[3]=-x*l+s*v,r[4]=s*(f-a[0])+l*(y-a[1])+a[0],r[5]=s*(y-a[1])-l*(f-a[0])+a[1],r}function g(r,n,e){var a=e[0],c=e[1];return r[0]=n[0]*a,r[1]=n[1]*c,r[2]=n[2]*a,r[3]=n[3]*c,r[4]=n[4]*a,r[5]=n[5]*c,r}function j(r,n){var e=n[0],a=n[2],c=n[4],x=n[1],f=n[3],i=n[5],v=e*f-x*a;return v?(v=1/v,r[0]=f*v,r[1]=-x*v,r[2]=-a*v,r[3]=e*v,r[4]=(a*i-f*c)*v,r[5]=(x*c-e*i)*v,r):null}function k(r){var n=d();return b(n,r),n}export{k as clone,b as copy,d as create,p as identity,j as invert,h as mul,M as rotate,g as scale,t as translate};
|
|
3
|
+
//# sourceMappingURL=matrix.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/platform */
|
|
2
|
+
var d=12,T="sans-serif",c=d+"px "+T,i=20,m=100,p="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function W(r){var n={};if(typeof JSON>"u")return n;for(var e=0;e<r.length;e++){var a=String.fromCharCode(e+32),L=(r.charCodeAt(e)-i)/m;n[a]=L}return n}var g=W(p),u={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var r,n;return function(e,a){if(!r){var L=u.createCanvas();r=L&&L.getContext("2d")}if(r)return n!==a&&(n=r.font=a||c),r.measureText(e);e=e||"",a=a||c;var F=/((?:\d+)?\.?\d*)px/.exec(a),t=F&&+F[1]||d,o=0;if(a.indexOf("mono")>=0)o=t*e.length;else for(var v=0;v<e.length;v++){var f=g[e[v]];o+=f==null?t:f*t}return{width:o}}}(),loadImage:function(r,n,e){var a=new Image;return a.onload=n,a.onerror=e,a.src=r,a}};function l(r){for(var n in u)r[n]&&(u[n]=r[n])}export{c as DEFAULT_FONT,T as DEFAULT_FONT_FAMILY,d as DEFAULT_FONT_SIZE,g as DEFAULT_TEXT_WIDTH_MAP,u as platformApi,l as setPlatformAPI};
|
|
3
|
+
//# sourceMappingURL=platform.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/timsort */
|
|
2
|
+
var j=32,H=7;function J(f){for(var w=0;f>=j;)w|=f&1,f>>=1;return f+w}function C(f,w,s,E){var u=w+1;if(u===s)return 1;if(E(f[u++],f[w])<0){for(;u<s&&E(f[u],f[u-1])<0;)u++;K(f,w,u)}else for(;u<s&&E(f[u],f[u-1])>=0;)u++;return u-w}function K(f,w,s){for(s--;w<s;){var E=f[w];f[w++]=f[s],f[s--]=E}}function P(f,w,s,E,u){for(E===w&&E++;E<s;E++){for(var d=f[E],v=w,G=E,e;v<G;)e=v+G>>>1,u(d,f[e])<0?G=e:v=e+1;var D=E-v;switch(D){case 3:f[v+3]=f[v+2];case 2:f[v+2]=f[v+1];case 1:f[v+1]=f[v];break;default:for(;D>0;)f[v+D]=f[v+D-1],D--}f[v]=d}}function U(f,w,s,E,u,d){var v=0,G=0,e=1;if(d(f,w[s+u])>0){for(G=E-u;e<G&&d(f,w[s+u+e])>0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G),v+=u,e+=u}else{for(G=u+1;e<G&&d(f,w[s+u-e])<=0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G);var D=v;v=u-e,e=u-D}for(v++;v<e;){var N=v+(e-v>>>1);d(f,w[s+N])>0?v=N+1:e=N}return e}function z(f,w,s,E,u,d){var v=0,G=0,e=1;if(d(f,w[s+u])<0){for(G=u+1;e<G&&d(f,w[s+u-e])<0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G);var D=v;v=u-e,e=u-D}else{for(G=E-u;e<G&&d(f,w[s+u+e])>=0;)v=e,e=(e<<1)+1,e<=0&&(e=G);e>G&&(e=G),v+=u,e+=u}for(v++;v<e;){var N=v+(e-v>>>1);d(f,w[s+N])<0?e=N:v=N+1}return e}function Q(f,w){var s=H,E,u,d=0,v=[];E=[],u=[];function G(k,b){E[d]=k,u[d]=b,d+=1}function e(){for(;d>1;){var k=d-2;if(k>=1&&u[k-1]<=u[k]+u[k+1]||k>=2&&u[k-2]<=u[k]+u[k-1])u[k-1]<u[k+1]&&k--;else if(u[k]>u[k+1])break;N(k)}}function D(){for(;d>1;){var k=d-2;k>0&&u[k-1]<u[k+1]&&k--,N(k)}}function N(k){var b=E[k],S=u[k],R=E[k+1],i=u[k+1];u[k]=S+i,k===d-3&&(E[k+1]=E[k+2],u[k+1]=u[k+2]),d--;var M=z(f[R],f,b,S,0,w);b+=M,S-=M,S!==0&&(i=U(f[b+S-1],f,R,i,i-1,w),i!==0&&(S<=i?q(b,S,R,i):B(b,S,R,i)))}function q(k,b,S,R){var i=0;for(i=0;i<b;i++)v[i]=f[k+i];var M=0,A=S,L=k;if(f[L++]=f[A++],--R===0){for(i=0;i<b;i++)f[L+i]=v[M+i];return}if(b===1){for(i=0;i<R;i++)f[L+i]=f[A+i];f[L+R]=v[M];return}for(var O=s,_,I,o;;){_=0,I=0,o=!1;do if(w(f[A],v[M])<0){if(f[L++]=f[A++],I++,_=0,--R===0){o=!0;break}}else if(f[L++]=v[M++],_++,I=0,--b===1){o=!0;break}while((_|I)<O);if(o)break;do{if(_=z(f[A],v,M,b,0,w),_!==0){for(i=0;i<_;i++)f[L+i]=v[M+i];if(L+=_,M+=_,b-=_,b<=1){o=!0;break}}if(f[L++]=f[A++],--R===0){o=!0;break}if(I=U(v[M],f,A,R,0,w),I!==0){for(i=0;i<I;i++)f[L+i]=f[A+i];if(L+=I,A+=I,R-=I,R===0){o=!0;break}}if(f[L++]=v[M++],--b===1){o=!0;break}O--}while(_>=H||I>=H);if(o)break;O<0&&(O=0),O+=2}if(s=O,s<1&&(s=1),b===1){for(i=0;i<R;i++)f[L+i]=f[A+i];f[L+R]=v[M]}else{if(b===0)throw new Error;for(i=0;i<b;i++)f[L+i]=v[M+i]}}function B(k,b,S,R){var i=0;for(i=0;i<R;i++)v[i]=f[S+i];var M=k+b-1,A=R-1,L=S+R-1,O=0,_=0;if(f[L--]=f[M--],--b===0){for(O=L-(R-1),i=0;i<R;i++)f[O+i]=v[i];return}if(R===1){for(L-=b,M-=b,_=L+1,O=M+1,i=b-1;i>=0;i--)f[_+i]=f[O+i];f[L]=v[A];return}for(var I=s;;){var o=0,T=0,F=!1;do if(w(v[A],f[M])<0){if(f[L--]=f[M--],o++,T=0,--b===0){F=!0;break}}else if(f[L--]=v[A--],T++,o=0,--R===1){F=!0;break}while((o|T)<I);if(F)break;do{if(o=b-z(v[A],f,k,b,b-1,w),o!==0){for(L-=o,M-=o,b-=o,_=L+1,O=M+1,i=o-1;i>=0;i--)f[_+i]=f[O+i];if(b===0){F=!0;break}}if(f[L--]=v[A--],--R===1){F=!0;break}if(T=R-U(f[M],v,0,R,R-1,w),T!==0){for(L-=T,A-=T,R-=T,_=L+1,O=A+1,i=0;i<T;i++)f[_+i]=v[O+i];if(R<=1){F=!0;break}}if(f[L--]=f[M--],--b===0){F=!0;break}I--}while(o>=H||T>=H);if(F)break;I<0&&(I=0),I+=2}if(s=I,s<1&&(s=1),R===1){for(L-=b,M-=b,_=L+1,O=M+1,i=b-1;i>=0;i--)f[_+i]=f[O+i];f[L]=v[A]}else{if(R===0)throw new Error;for(O=L-(R-1),i=0;i<R;i++)f[O+i]=v[i]}}return{mergeRuns:e,forceMergeRuns:D,pushRun:G}}function V(f,w,s,E){s||(s=0),E||(E=f.length);var u=E-s;if(!(u<2)){var d=0;if(u<j){d=C(f,s,E,w),P(f,s,E,s+d,w);return}var v=Q(f,w),G=J(u);do{if(d=C(f,s,E,w),d<G){var e=u;e>G&&(e=G),P(f,s,s+e,s+d,w),d=e}v.pushRun(s,d),v.mergeRuns(),u-=d,s+=d}while(u!==0);v.forceMergeRuns()}}export{V as default};
|
|
3
|
+
//# sourceMappingURL=timsort.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/util */
|
|
2
|
+
import{platformApi as P}from"./platform.mjs";var d=A(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,n){return t["[object "+n+"]"]=!0,t},{}),O=A(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,n){return t["[object "+n+"Array]"]=!0,t},{}),p=Object.prototype.toString,s=Array.prototype,S=s.forEach,M=s.filter,y=s.slice,I=s.map,g=function(){}.constructor,a=g?g.prototype:null,x="__proto__",N=2311;function G(){return N++}function Y(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];typeof console<"u"&&console.error.apply(console,t)}function c(t){if(t==null||typeof t!="object")return t;var n=t,r=p.call(t);if(r==="[object Array]"){if(!u(t)){n=[];for(var e=0,o=t.length;e<o;e++)n[e]=c(t[e])}}else if(O[r]){if(!u(t)){var i=t.constructor;if(i.from)n=i.from(t);else{n=new i(t.length);for(var e=0,o=t.length;e<o;e++)n[e]=t[e]}}}else if(!d[r]&&!u(t)&&!v(t)){n={};for(var f in t)t.hasOwnProperty(f)&&f!==x&&(n[f]=c(t[f]))}return n}function w(t,n,r){if(!l(n)||!l(t))return r?c(n):t;for(var e in n)if(n.hasOwnProperty(e)&&e!==x){var o=t[e],i=n[e];l(i)&&l(o)&&!h(i)&&!h(o)&&!v(i)&&!v(o)&&!m(i)&&!m(o)&&!u(i)&&!u(o)?w(o,i,r):(r||!(e in t))&&(t[e]=c(n[e]))}return t}function q(t,n){for(var r=t[0],e=1,o=t.length;e<o;e++)r=w(r,t[e],n);return r}function T(t,n){if(Object.assign)Object.assign(t,n);else for(var r in n)n.hasOwnProperty(r)&&r!==x&&(t[r]=n[r]);return t}function R(t,n,r){for(var e=b(n),o=0,i=e.length;o<i;o++){var f=e[o];(r?n[f]!=null:t[f]==null)&&(t[f]=n[f])}return t}var J=P.createCanvas;function $(t,n){if(t){if(t.indexOf)return t.indexOf(n);for(var r=0,e=t.length;r<e;r++)if(t[r]===n)return r}return-1}function Q(t,n){var r=t.prototype;function e(){}e.prototype=n.prototype,t.prototype=new e;for(var o in r)r.hasOwnProperty(o)&&(t.prototype[o]=r[o]);t.prototype.constructor=t,t.superClass=n}function V(t,n,r){if(t="prototype"in t?t.prototype:t,n="prototype"in n?n.prototype:n,Object.getOwnPropertyNames)for(var e=Object.getOwnPropertyNames(n),o=0;o<e.length;o++){var i=e[o];i!=="constructor"&&(r?n[i]!=null:t[i]==null)&&(t[i]=n[i])}else R(t,n,r)}function W(t){return!t||typeof t=="string"?!1:typeof t.length=="number"}function U(t,n,r){if(t&&n)if(t.forEach&&t.forEach===S)t.forEach(n,r);else if(t.length===+t.length)for(var e=0,o=t.length;e<o;e++)n.call(r,t[e],e,t);else for(var i in t)t.hasOwnProperty(i)&&n.call(r,t[i],i,t)}function X(t,n,r){if(!t)return[];if(!n)return E(t);if(t.map&&t.map===I)return t.map(n,r);for(var e=[],o=0,i=t.length;o<i;o++)e.push(n.call(r,t[o],o,t));return e}function A(t,n,r,e){if(t&&n){for(var o=0,i=t.length;o<i;o++)r=n.call(e,r,t[o],o,t);return r}}function Z(t,n,r){if(!t)return[];if(!n)return E(t);if(t.filter&&t.filter===M)return t.filter(n,r);for(var e=[],o=0,i=t.length;o<i;o++)n.call(r,t[o],o,t)&&e.push(t[o]);return e}function _(t,n,r){if(t&&n){for(var e=0,o=t.length;e<o;e++)if(n.call(r,t[e],e,t))return t[e]}}function b(t){if(!t)return[];if(Object.keys)return Object.keys(t);var n=[];for(var r in t)t.hasOwnProperty(r)&&n.push(r);return n}function C(t,n){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];return function(){return t.apply(n,r.concat(y.call(arguments)))}}var z=a&&D(a.bind)?a.call.bind(a.bind):C;function k(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return function(){return t.apply(this,n.concat(y.call(arguments)))}}function h(t){return Array.isArray?Array.isArray(t):p.call(t)==="[object Array]"}function D(t){return typeof t=="function"}function tt(t){return typeof t=="string"}function nt(t){return p.call(t)==="[object String]"}function rt(t){return typeof t=="number"}function l(t){var n=typeof t;return n==="function"||!!t&&n==="object"}function m(t){return!!d[p.call(t)]}function et(t){return!!O[p.call(t)]}function v(t){return typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.ownerDocument=="object"}function ot(t){return t.colorStops!=null}function it(t){return t.image!=null}function ft(t){return p.call(t)==="[object RegExp]"}function pt(t){return t!==t}function ut(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,e=t.length;r<e;r++)if(t[r]!=null)return t[r]}function at(t,n){return t??n}function lt(t,n,r){return t??n??r}function E(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return y.apply(t,n)}function ct(t){if(typeof t=="number")return[t,t,t,t];var n=t.length;return n===2?[t[0],t[1],t[0],t[1]]:n===3?[t[0],t[1],t[2],t[1]]:t}function st(t,n){if(!t)throw new Error(n)}function ht(t){return t==null?null:typeof t.trim=="function"?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var j="__ec_primitive__";function vt(t){t[j]=!0}function u(t){return t[j]}var H=function(){function t(){this.data={}}return t.prototype.delete=function(n){var r=this.has(n);return r&&delete this.data[n],r},t.prototype.has=function(n){return this.data.hasOwnProperty(n)},t.prototype.get=function(n){return this.data[n]},t.prototype.set=function(n,r){return this.data[n]=r,this},t.prototype.keys=function(){return b(this.data)},t.prototype.forEach=function(n){var r=this.data;for(var e in r)r.hasOwnProperty(e)&&n(r[e],e)},t}(),F=typeof Map=="function";function K(){return F?new Map:new H}var L=function(){function t(n){var r=h(n);this.data=K();var e=this;n instanceof t?n.each(o):n&&U(n,o);function o(i,f){r?e.set(i,f):e.set(f,i)}}return t.prototype.hasKey=function(n){return this.data.has(n)},t.prototype.get=function(n){return this.data.get(n)},t.prototype.set=function(n,r){return this.data.set(n,r),r},t.prototype.each=function(n,r){this.data.forEach(function(e,o){n.call(r,e,o)})},t.prototype.keys=function(){var n=this.data.keys();return F?Array.from(n):n},t.prototype.removeKey=function(n){this.data.delete(n)},t}();function yt(t){return new L(t)}function xt(t,n){for(var r=new t.constructor(t.length+n.length),e=0;e<t.length;e++)r[e]=t[e];for(var o=t.length,e=0;e<n.length;e++)r[e+o]=n[e];return r}function gt(t,n){var r;if(Object.create)r=Object.create(t);else{var e=function(){};e.prototype=t,r=new e}return n&&T(r,n),r}function mt(t){var n=t.style;n.webkitUserSelect="none",n.userSelect="none",n.webkitTapHighlightColor="rgba(0,0,0,0)",n["-webkit-touch-callout"]="none"}function dt(t,n){return t.hasOwnProperty(n)}function Ot(){}var wt=180/Math.PI,At=Number.EPSILON||Math.pow(2,-52);export{At as EPSILON,L as HashMap,wt as RADIAN_TO_DEGREE,st as assert,z as bind,c as clone,xt as concatArray,J as createCanvas,yt as createHashMap,gt as createObject,k as curry,R as defaults,mt as disableUserSelect,U as each,pt as eqNaN,T as extend,Z as filter,_ as find,G as guid,dt as hasOwn,$ as indexOf,Q as inherits,h as isArray,W as isArrayLike,m as isBuiltInObject,v as isDom,D as isFunction,ot as isGradientObject,it as isImagePatternObject,rt as isNumber,l as isObject,u as isPrimitive,ft as isRegExp,tt as isString,nt as isStringSafe,et as isTypedArray,b as keys,Y as logError,X as map,w as merge,q as mergeAll,V as mixin,Ot as noop,ct as normalizeCssArray,A as reduce,ut as retrieve,at as retrieve2,lt as retrieve3,vt as setAsPrimitive,E as slice,ht as trim};
|
|
3
|
+
//# sourceMappingURL=util.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/core/vector */
|
|
2
|
+
function f(r,n){return r==null&&(r=0),n==null&&(n=0),[r,n]}function o(r,n){return r[0]=n[0],r[1]=n[1],r}function u(r){return[r[0],r[1]]}function l(r,n,e){return r[0]=n,r[1]=e,r}function d(r,n,e){return r[0]=n[0]+e[0],r[1]=n[1]+e[1],r}function s(r,n,e,t){return r[0]=n[0]+e[0]*t,r[1]=n[1]+e[1]*t,r}function h(r,n,e){return r[0]=n[0]-e[0],r[1]=n[1]-e[1],r}function a(r){return Math.sqrt(p(r))}var q=a;function p(r){return r[0]*r[0]+r[1]*r[1]}var M=p;function m(r,n,e){return r[0]=n[0]*e[0],r[1]=n[1]*e[1],r}function S(r,n,e){return r[0]=n[0]/e[0],r[1]=n[1]/e[1],r}function g(r,n){return r[0]*n[0]+r[1]*n[1]}function A(r,n,e){return r[0]=n[0]*e,r[1]=n[1]*e,r}function b(r,n){var e=a(n);return e===0?(r[0]=0,r[1]=0):(r[0]=n[0]/e,r[1]=n[1]/e),r}function c(r,n){return Math.sqrt((r[0]-n[0])*(r[0]-n[0])+(r[1]-n[1])*(r[1]-n[1]))}var y=c;function x(r,n){return(r[0]-n[0])*(r[0]-n[0])+(r[1]-n[1])*(r[1]-n[1])}var z=x;function T(r,n){return r[0]=-n[0],r[1]=-n[1],r}function j(r,n,e,t){return r[0]=n[0]+t*(e[0]-n[0]),r[1]=n[1]+t*(e[1]-n[1]),r}function k(r,n,e){var t=n[0],i=n[1];return r[0]=e[0]*t+e[2]*i+e[4],r[1]=e[1]*t+e[3]*i+e[5],r}function w(r,n,e){return r[0]=Math.min(n[0],e[0]),r[1]=Math.min(n[1],e[1]),r}function B(r,n,e){return r[0]=Math.max(n[0],e[0]),r[1]=Math.max(n[1],e[1]),r}export{d as add,k as applyTransform,u as clone,o as copy,f as create,y as dist,z as distSquare,c as distance,x as distanceSquare,S as div,g as dot,a as len,p as lenSquare,q as length,M as lengthSquare,j as lerp,B as max,w as min,m as mul,T as negate,b as normalize,A as scale,s as scaleAndAdd,l as set,h as sub};
|
|
3
|
+
//# sourceMappingURL=vector.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/dom/HandlerProxy */
|
|
2
|
+
import{__extends as H}from"/tslib@2.3.0/es2022/tslib.mjs";import{addEventListener as C,removeEventListener as E,normalizeEvent as n,getNativeEvent as y}from"../core/event.mjs";import*as u from"../core/util.mjs";import S from"../core/Eventful.mjs";import a from"../core/env.mjs";var D=300,h=a.domSupported,c=function(){var o=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=u.map(o,function(e){var s=e.replace("mouse","pointer");return r.hasOwnProperty(s)?s:e});return{mouse:o,touch:t,pointer:i}}(),_={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},T=!1;function d(o){var t=o.pointerType;return t==="pen"||t==="touch"}function L(o){o.touching=!0,o.touchTimer!=null&&(clearTimeout(o.touchTimer),o.touchTimer=null),o.touchTimer=setTimeout(function(){o.touching=!1,o.touchTimer=null},700)}function p(o){o&&(o.zrByTouch=!0)}function O(o,t){return n(o.dom,new b(o,t),!0)}function z(o,t){for(var r=t,i=!1;r&&r.nodeType!==9&&!(i=r.domBelongToZr||r!==t&&r===o.painterRoot);)r=r.parentNode;return i}var b=function(){function o(t,r){this.stopPropagation=u.noop,this.stopImmediatePropagation=u.noop,this.preventDefault=u.noop,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return o}(),l={mousedown:function(o){o=n(this.dom,o),this.__mayPointerCapture=[o.zrX,o.zrY],this.trigger("mousedown",o)},mousemove:function(o){o=n(this.dom,o);var t=this.__mayPointerCapture;t&&(o.zrX!==t[0]||o.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",o)},mouseup:function(o){o=n(this.dom,o),this.__togglePointerCapture(!1),this.trigger("mouseup",o)},mouseout:function(o){o=n(this.dom,o);var t=o.toElement||o.relatedTarget;z(this,t)||(this.__pointerCapturing&&(o.zrEventControl="no_globalout"),this.trigger("mouseout",o))},wheel:function(o){T=!0,o=n(this.dom,o),this.trigger("mousewheel",o)},mousewheel:function(o){T||(o=n(this.dom,o),this.trigger("mousewheel",o))},touchstart:function(o){o=n(this.dom,o),p(o),this.__lastTouchMoment=new Date,this.handler.processGesture(o,"start"),l.mousemove.call(this,o),l.mousedown.call(this,o)},touchmove:function(o){o=n(this.dom,o),p(o),this.handler.processGesture(o,"change"),l.mousemove.call(this,o)},touchend:function(o){o=n(this.dom,o),p(o),this.handler.processGesture(o,"end"),l.mouseup.call(this,o),+new Date-+this.__lastTouchMoment<D&&l.click.call(this,o)},pointerdown:function(o){l.mousedown.call(this,o)},pointermove:function(o){d(o)||l.mousemove.call(this,o)},pointerup:function(o){l.mouseup.call(this,o)},pointerout:function(o){d(o)||l.mouseout.call(this,o)}};u.each(["click","dblclick","contextmenu"],function(o){l[o]=function(t){t=n(this.dom,t),this.trigger(o,t)}});var g={pointermove:function(o){d(o)||g.mousemove.call(this,o)},pointerup:function(o){g.mouseup.call(this,o)},mousemove:function(o){this.trigger("mousemove",o)},mouseup:function(o){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",o),t&&(o.zrEventControl="only_globalout",this.trigger("mouseout",o))}};function P(o,t){var r=t.domHandlers;a.pointerEventsSupported?u.each(c.pointer,function(i){m(t,i,function(e){r[i].call(o,e)})}):(a.touchEventsSupported&&u.each(c.touch,function(i){m(t,i,function(e){r[i].call(o,e),L(t)})}),u.each(c.mouse,function(i){m(t,i,function(e){e=y(e),t.touching||r[i].call(o,e)})}))}function U(o,t){a.pointerEventsSupported?u.each(_.pointer,r):a.touchEventsSupported||u.each(_.mouse,r);function r(i){function e(s){s=y(s),z(o,s.target)||(s=O(o,s),t.domHandlers[i].call(o,s))}m(t,i,e,{capture:!0})}}function m(o,t,r,i){o.mounted[t]=r,o.listenerOpts[t]=i,C(o.domTarget,t,r,i)}function f(o){var t=o.mounted;for(var r in t)t.hasOwnProperty(r)&&E(o.domTarget,r,t[r],o.listenerOpts[r]);o.mounted={}}var w=function(){function o(t,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=r}return o}(),M=function(o){H(t,o);function t(r,i){var e=o.call(this)||this;return e.__pointerCapturing=!1,e.dom=r,e.painterRoot=i,e._localHandlerScope=new w(r,l),h&&(e._globalHandlerScope=new w(document,g)),P(e,e._localHandlerScope),e}return t.prototype.dispose=function(){f(this._localHandlerScope),h&&f(this._globalHandlerScope)},t.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},t.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,h&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var i=this._globalHandlerScope;r?U(this,i):f(i)}},t}(S),X=M;export{X as default};
|
|
3
|
+
//# sourceMappingURL=HandlerProxy.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/CompoundPath */
|
|
2
|
+
import{__extends as n}from"/tslib@2.3.0/es2022/tslib.mjs";import p from"./Path.mjs";var s=function(o){n(e,o);function e(){var t=o!==null&&o.apply(this,arguments)||this;return t.type="compound",t}return e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,h=this.shapeChanged(),a=0;a<t.length;a++)h=h||t[a].shapeChanged();h&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],h=this.getGlobalScale(),a=0;a<t.length;a++)t[a].path||t[a].createPathProxy(),t[a].path.setScale(h[0],h[1],t[a].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,h){for(var a=h.paths||[],r=0;r<a.length;r++)a[r].buildPath(t,a[r].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],h=0;h<t.length;h++)t[h].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),p.prototype.getBoundingRect.call(this)},e}(p),l=s;export{l as default};
|
|
3
|
+
//# sourceMappingURL=CompoundPath.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/Displayable */
|
|
2
|
+
import{__extends as M}from"/tslib@2.3.0/es2022/tslib.mjs";import w from"../Element.mjs";import p from"../core/BoundingRect.mjs";import{keys as _,extend as P,createObject as B}from"../core/util.mjs";import{REDRAW_BIT as E,STYLE_CHANGED_BIT as c}from"./constants.mjs";var m="__zr_style_"+Math.round(Math.random()*10),A={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},b={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};A[m]=!0;var T=["z","z2","invisible"],x=["invisible"],Y=function(a){M(i,a);function i(t){return a.call(this,t)||this}return i.prototype._init=function(t){for(var e=_(t),r=0;r<e.length;r++){var o=e[r];o==="style"?this.useStyle(t[o]):a.prototype.attrKV.call(this,o,t[o])}this.style||this.useStyle({})},i.prototype.beforeBrush=function(){},i.prototype.afterBrush=function(){},i.prototype.innerBeforeBrush=function(){},i.prototype.innerAfterBrush=function(){},i.prototype.shouldBePainted=function(t,e,r,o){var n=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&D(this,t,e)||n&&!n[0]&&!n[3])return!1;if(r&&this.__clipPaths&&this.__clipPaths.length){for(var f=0;f<this.__clipPaths.length;++f)if(this.__clipPaths[f].isZeroArea())return!1}if(o&&this.parent)for(var h=this.parent;h;){if(h.ignore)return!1;h=h.parent}return!0},i.prototype.contain=function(t,e){return this.rectContain(t,e)},i.prototype.traverse=function(t,e){t.call(e,this)},i.prototype.rectContain=function(t,e){var r=this.transformCoordToLocal(t,e),o=this.getBoundingRect();return o.contain(r[0],r[1])},i.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,r=this.getBoundingRect(),o=this.style,n=o.shadowBlur||0,f=o.shadowOffsetX||0,h=o.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new p(0,0,0,0)),e?p.applyTransform(t,r,e):t.copy(r),(n||f||h)&&(t.width+=n*2+Math.abs(f),t.height+=n*2+Math.abs(h),t.x=Math.min(t.x,t.x+f-n),t.y=Math.min(t.y,t.y+h-n));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+s*2),t.height=Math.ceil(t.height+1+s*2))}return t},i.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new p(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},i.prototype.getPrevPaintRect=function(){return this._prevPaintRect},i.prototype.animateStyle=function(t){return this.animate("style",t)},i.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():this.markRedraw()},i.prototype.attrKV=function(t,e){t!=="style"?a.prototype.attrKV.call(this,t,e):this.style?this.setStyle(e):this.useStyle(e)},i.prototype.setStyle=function(t,e){return typeof t=="string"?this.style[t]=e:P(this.style,t),this.dirtyStyle(),this},i.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=c,this._rect&&(this._rect=null)},i.prototype.dirty=function(){this.dirtyStyle()},i.prototype.styleChanged=function(){return!!(this.__dirty&c)},i.prototype.styleUpdated=function(){this.__dirty&=~c},i.prototype.createStyle=function(t){return B(A,t)},i.prototype.useStyle=function(t){t[m]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},i.prototype.isStyleObject=function(t){return t[m]},i.prototype._innerSaveToNormal=function(t){a.prototype._innerSaveToNormal.call(this,t);var e=this._normalState;t.style&&!e.style&&(e.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,e,T)},i.prototype._applyStateObj=function(t,e,r,o,n,f){a.prototype._applyStateObj.call(this,t,e,r,o,n,f);var h=!(e&&o),s;if(e&&e.style?n?o?s=e.style:(s=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(s,e.style)):(s=this._mergeStyle(this.createStyle(),o?this.style:r.style),this._mergeStyle(s,e.style)):h&&(s=r.style),s)if(n){var u=this.style;if(this.style=this.createStyle(h?{}:u),h)for(var g=_(u),y=0;y<g.length;y++){var l=g[y];l in s&&(s[l]=s[l],this.style[l]=u[l])}for(var S=_(s),y=0;y<S.length;y++){var l=S[y];this.style[l]=this.style[l]}this._transitionState(t,{style:s},f,this.getAnimationStyleProps())}else this.useStyle(s);for(var R=this.__inHover?x:T,y=0;y<R.length;y++){var l=R[y];e&&e[l]!=null?this[l]=e[l]:h&&r[l]!=null&&(this[l]=r[l])}},i.prototype._mergeStates=function(t){for(var e=a.prototype._mergeStates.call(this,t),r,o=0;o<t.length;o++){var n=t[o];n.style&&(r=r||{},this._mergeStyle(r,n.style))}return r&&(e.style=r),e},i.prototype._mergeStyle=function(t,e){return P(t,e),t},i.prototype.getAnimationStyleProps=function(){return b},i.initDefaultProps=function(){var t=i.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=E|c}(),i}(w),v=new p(0,0,0,0),d=new p(0,0,0,0);function D(a,i,t){return v.copy(a.getBoundingRect()),a.transform&&v.applyTransform(a.transform),d.width=i,d.height=t,!v.intersect(d)}var H=Y;export{b as DEFAULT_COMMON_ANIMATION_PROPS,A as DEFAULT_COMMON_STYLE,H as default};
|
|
3
|
+
//# sourceMappingURL=Displayable.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/Group */
|
|
2
|
+
import{__extends as c}from"/tslib@2.3.0/es2022/tslib.mjs";import*as s from"../core/util.mjs";import d from"../Element.mjs";import u from"../core/BoundingRect.mjs";var v=function(a){c(o,a);function o(r){var t=a.call(this)||this;return t.isGroup=!0,t._children=[],t.attr(r),t}return o.prototype.childrenRef=function(){return this._children},o.prototype.children=function(){return this._children.slice()},o.prototype.childAt=function(r){return this._children[r]},o.prototype.childOfName=function(r){for(var t=this._children,e=0;e<t.length;e++)if(t[e].name===r)return t[e]},o.prototype.childCount=function(){return this._children.length},o.prototype.add=function(r){return r&&r!==this&&r.parent!==this&&(this._children.push(r),this._doAdd(r)),this},o.prototype.addBefore=function(r,t){if(r&&r!==this&&r.parent!==this&&t&&t.parent===this){var e=this._children,n=e.indexOf(t);n>=0&&(e.splice(n,0,r),this._doAdd(r))}return this},o.prototype.replace=function(r,t){var e=s.indexOf(this._children,r);return e>=0&&this.replaceAt(t,e),this},o.prototype.replaceAt=function(r,t){var e=this._children,n=e[t];if(r&&r!==this&&r.parent!==this&&r!==n){e[t]=r,n.parent=null;var i=this.__zr;i&&n.removeSelfFromZr(i),this._doAdd(r)}return this},o.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var t=this.__zr;t&&t!==r.__zr&&r.addSelfToZr(t),t&&t.refresh()},o.prototype.remove=function(r){var t=this.__zr,e=this._children,n=s.indexOf(e,r);return n<0?this:(e.splice(n,1),r.parent=null,t&&r.removeSelfFromZr(t),t&&t.refresh(),this)},o.prototype.removeAll=function(){for(var r=this._children,t=this.__zr,e=0;e<r.length;e++){var n=r[e];t&&n.removeSelfFromZr(t),n.parent=null}return r.length=0,this},o.prototype.eachChild=function(r,t){for(var e=this._children,n=0;n<e.length;n++){var i=e[n];r.call(t,i,n)}return this},o.prototype.traverse=function(r,t){for(var e=0;e<this._children.length;e++){var n=this._children[e],i=r.call(t,n);n.isGroup&&!i&&n.traverse(r,t)}return this},o.prototype.addSelfToZr=function(r){a.prototype.addSelfToZr.call(this,r);for(var t=0;t<this._children.length;t++){var e=this._children[t];e.addSelfToZr(r)}},o.prototype.removeSelfFromZr=function(r){a.prototype.removeSelfFromZr.call(this,r);for(var t=0;t<this._children.length;t++){var e=this._children[t];e.removeSelfFromZr(r)}},o.prototype.getBoundingRect=function(r){for(var t=new u(0,0,0,0),e=r||this._children,n=[],i=null,p=0;p<e.length;p++){var h=e[p];if(!(h.ignore||h.invisible)){var f=h.getBoundingRect(),l=h.getLocalTransform(n);l?(u.applyTransform(t,f,l),i=i||t.clone(),i.union(t)):(i=i||f.clone(),i.union(f))}}return i||t},o}(d);v.prototype.type="group";var g=v;export{g as default};
|
|
3
|
+
//# sourceMappingURL=Group.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/Image */
|
|
2
|
+
import{__extends as s}from"/tslib@2.3.0/es2022/tslib.mjs";import p,{DEFAULT_COMMON_STYLE as y,DEFAULT_COMMON_ANIMATION_PROPS as f}from"./Displayable.mjs";import l from"../core/BoundingRect.mjs";import{defaults as g,createObject as _}from"../core/util.mjs";var m=g({x:0,y:0},y),c={style:g({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},f.style)};function A(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var a=function(e){s(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.createStyle=function(t){return _(m,t)},r.prototype._getSize=function(t){var i=this.style,o=i[t];if(o!=null)return o;var n=A(i.image)?i.image:this.__image;if(!n)return 0;var h=t==="width"?"height":"width",u=i[h];return u==null?n[t]:n[t]/n[h]*u},r.prototype.getWidth=function(){return this._getSize("width")},r.prototype.getHeight=function(){return this._getSize("height")},r.prototype.getAnimationStyleProps=function(){return c},r.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new l(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},r}(p);a.prototype.type="image";var O=a;export{c as DEFAULT_IMAGE_ANIMATION_PROPS,m as DEFAULT_IMAGE_STYLE,O as default};
|
|
3
|
+
//# sourceMappingURL=Image.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/IncrementalDisplayable */
|
|
2
|
+
import{__extends as l}from"/tslib@2.3.0/es2022/tslib.mjs";import p from"./Displayable.mjs";import y from"../core/BoundingRect.mjs";var h=[],u=function(i){l(a,i);function a(){var t=i!==null&&i.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return a.prototype.traverse=function(t,r){t.call(r,this)},a.prototype.useStyle=function(){this.style={}},a.prototype.getCursor=function(){return this._cursor},a.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},a.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},a.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},a.prototype.addDisplayable=function(t,r){r?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},a.prototype.addDisplayables=function(t,r){r=r||!1;for(var e=0;e<t.length;e++)this.addDisplayable(t[e],r)},a.prototype.getDisplayables=function(){return this._displayables},a.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},a.prototype.eachPendingDisplayable=function(t){for(var r=this._cursor;r<this._displayables.length;r++)t&&t(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)t&&t(this._temporaryDisplayables[r])},a.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var r=this._displayables[t];r.parent=this,r.update(),r.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var r=this._temporaryDisplayables[t];r.parent=this,r.update(),r.parent=null}},a.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new y(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var e=this._displayables[r],s=e.getBoundingRect().clone();e.needLocalTransform()&&s.applyTransform(e.getLocalTransform(h)),t.union(s)}this._rect=t}return this._rect},a.prototype.contain=function(t,r){var e=this.transformCoordToLocal(t,r),s=this.getBoundingRect();if(s.contain(e[0],e[1]))for(var o=0;o<this._displayables.length;o++){var n=this._displayables[o];if(n.contain(t,r))return!0}return!1},a}(p),m=u;export{m as default};
|
|
3
|
+
//# sourceMappingURL=IncrementalDisplayable.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/LinearGradient */
|
|
2
|
+
import{__extends as f}from"/tslib@2.3.0/es2022/tslib.mjs";import d from"./Gradient.mjs";var m=function(r){f(t,r);function t(l,e,i,a,o,u){var n=r.call(this,o)||this;return n.x=l??0,n.y=e??0,n.x2=i??1,n.y2=a??0,n.type="linear",n.global=u||!1,n}return t}(d),h=m;export{h as default};
|
|
3
|
+
//# sourceMappingURL=LinearGradient.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/Path */
|
|
2
|
+
import{__extends as m}from"/tslib@2.3.0/es2022/tslib.mjs";import R,{DEFAULT_COMMON_STYLE as b,DEFAULT_COMMON_ANIMATION_PROPS as E}from"./Displayable.mjs";import F from"../core/PathProxy.mjs";import*as y from"../contain/path.mjs";import{defaults as O,keys as g,extend as p,clone as S,isString as P,createObject as x}from"../core/util.mjs";import{lum as T}from"../tool/color.mjs";import{DARK_LABEL_COLOR as A,LIGHT_LABEL_COLOR as D,DARK_MODE_THRESHOLD as C,LIGHTER_LABEL_COLOR as N}from"../config.mjs";import{REDRAW_BIT as L,SHAPE_CHANGED_BIT as c,STYLE_CHANGED_BIT as B}from"./constants.mjs";import{TRANSFORMABLE_PROPS as I}from"../core/Transformable.mjs";var M=O({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},b),H={style:O({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},E.style)},d=I.concat(["invisible","culling","z","z2","zlevel","parent"]),U=function(l){m(r,l);function r(t){return l.call(this,t)||this}return r.prototype.update=function(){var t=this;l.prototype.update.call(this);var e=this.style;if(e.decal){var i=this._decalEl=this._decalEl||new r;i.buildPath===r.prototype.buildPath&&(i.buildPath=function(n){t.buildPath(n,t.shape)}),i.silent=!0;var h=i.style;for(var a in e)h[a]!==e[a]&&(h[a]=e[a]);h.fill=e.fill?e.decal:null,h.decal=null,h.shadowColor=null,e.strokeFirst&&(h.stroke=null);for(var o=0;o<d.length;++o)i[d[o]]=this[d[o]];i.__dirty|=L}else this._decalEl&&(this._decalEl=null)},r.prototype.getDecalElement=function(){return this._decalEl},r.prototype._init=function(t){var e=g(t);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var h=0;h<e.length;h++){var a=e[h],o=t[a];a==="style"?this.style?p(this.style,o):this.useStyle(o):a==="shape"?p(this.shape,o):l.prototype.attrKV.call(this,a,o)}this.style||this.useStyle({})},r.prototype.getDefaultStyle=function(){return null},r.prototype.getDefaultShape=function(){return{}},r.prototype.canBeInsideText=function(){return this.hasFill()},r.prototype.getInsideTextFill=function(){var t=this.style.fill;if(t!=="none"){if(P(t)){var e=T(t,0);return e>.5?A:e>.2?N:D}else if(t)return D}return A},r.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(P(e)){var i=this.__zr,h=!!(i&&i.isDarkMode()),a=T(t,0)<C;if(h===a)return e}},r.prototype.buildPath=function(t,e,i){},r.prototype.pathUpdated=function(){this.__dirty&=~c},r.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},r.prototype.createPathProxy=function(){this.path=new F(!1)},r.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(e==null||e==="none"||!(t.lineWidth>0))},r.prototype.hasFill=function(){var t=this.style,e=t.fill;return e!=null&&e!=="none"},r.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,i=!t;if(i){var h=!1;this.path||(h=!0,this.createPathProxy());var a=this.path;(h||this.__dirty&c)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),t=a.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||i){o.copy(t);var n=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;s=Math.max(s,f??4)}n>1e-10&&(o.width+=s/n,o.height+=s/n,o.x-=s/n/2,o.y-=s/n/2)}return o}return t},r.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),h=this.getBoundingRect(),a=this.style;if(t=i[0],e=i[1],h.contain(t,e)){var o=this.path;if(this.hasStroke()){var n=a.lineWidth,s=a.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(n=Math.max(n,this.strokeContainThreshold)),y.containStroke(o,n/s,t,e)))return!0}if(this.hasFill())return y.contain(o,t,e)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=c,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},r.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},r.prototype.animateShape=function(t){return this.animate("shape",t)},r.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():t==="shape"?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(t,e){t==="shape"?this.setShape(e):l.prototype.attrKV.call(this,t,e)},r.prototype.setShape=function(t,e){var i=this.shape;return i||(i=this.shape={}),typeof t=="string"?i[t]=e:p(i,t),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&c)},r.prototype.createStyle=function(t){return x(M,t)},r.prototype._innerSaveToNormal=function(t){l.prototype._innerSaveToNormal.call(this,t);var e=this._normalState;t.shape&&!e.shape&&(e.shape=p({},this.shape))},r.prototype._applyStateObj=function(t,e,i,h,a,o){l.prototype._applyStateObj.call(this,t,e,i,h,a,o);var n=!(e&&h),s;if(e&&e.shape?a?h?s=e.shape:(s=p({},i.shape),p(s,e.shape)):(s=p({},h?this.shape:i.shape),p(s,e.shape)):n&&(s=i.shape),s)if(a){this.shape=p({},this.shape);for(var f={},v=g(s),_=0;_<v.length;_++){var u=v[_];typeof s[u]=="object"?this.shape[u]=s[u]:f[u]=s[u]}this._transitionState(t,{shape:f},o)}else this.shape=s,this.dirtyShape()},r.prototype._mergeStates=function(t){for(var e=l.prototype._mergeStates.call(this,t),i,h=0;h<t.length;h++){var a=t[h];a.shape&&(i=i||{},this._mergeStyle(i,a.shape))}return i&&(e.shape=i),e},r.prototype.getAnimationStyleProps=function(){return H},r.prototype.isZeroArea=function(){return!1},r.extend=function(t){var e=function(h){m(a,h);function a(o){var n=h.call(this,o)||this;return t.init&&t.init.call(n,o),n}return a.prototype.getDefaultStyle=function(){return S(t.style)},a.prototype.getDefaultShape=function(){return S(t.shape)},a}(r);for(var i in t)typeof t[i]=="function"&&(e.prototype[i]=t[i]);return e},r.initDefaultProps=function(){var t=r.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=L|B|c}(),r}(R),w=U;export{H as DEFAULT_PATH_ANIMATION_PROPS,M as DEFAULT_PATH_STYLE,w as default};
|
|
3
|
+
//# sourceMappingURL=Path.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/RadialGradient */
|
|
2
|
+
import{__extends as o}from"/tslib@2.3.0/es2022/tslib.mjs";import u from"./Gradient.mjs";var f=function(a){o(l,a);function l(r,i,n,e,d){var t=a.call(this,e)||this;return t.x=r??.5,t.y=i??.5,t.r=n??.5,t.type="radial",t.global=d||!1,t}return l}(u),c=f;export{c as default};
|
|
3
|
+
//# sourceMappingURL=RadialGradient.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/helper/image */
|
|
2
|
+
import h from"../../core/LRU.mjs";import{platformApi as u}from"../../core/platform.mjs";var e=new h(50);function a(t){if(typeof t=="string"){var o=e.get(t);return o&&o.image}else return t}function v(t,o,r,n,s){if(t)if(typeof t=="string"){if(o&&o.__zrImageSrc===t||!r)return o;var i=e.get(t),f={hostEl:r,cb:n,cbPayload:s};return i?(o=i.image,!d(o)&&i.pending.push(f)):(o=u.loadImage(t,l,l),o.__zrImageSrc=t,e.put(t,o.__cachedImgObj={image:o,pending:[f]})),o}else return t;else return o}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var o=0;o<t.pending.length;o++){var r=t.pending[o],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}t.pending.length=0}function d(t){return t&&t.width&&t.height}export{v as createOrUpdateImage,a as findExistImage,d as isImageReady};
|
|
3
|
+
//# sourceMappingURL=image.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/helper/poly */
|
|
2
|
+
import T from"./smoothBezier.mjs";function u(v,e,a){var t=e.smooth,o=e.points;if(o&&o.length>=2){if(t){var i=T(o,t,a,e.smoothConstraint);v.moveTo(o[0][0],o[0][1]);for(var m=o.length,r=0;r<(a?m:m-1);r++){var f=i[r*2],n=i[r*2+1],h=o[(r+1)%m];v.bezierCurveTo(f[0],f[1],n[0],n[1],h[0],h[1])}}else{v.moveTo(o[0][0],o[0][1]);for(var r=1,s=o.length;r<s;r++)v.lineTo(o[r][0],o[r][1])}a&&v.closePath()}}export{u as buildPath};
|
|
3
|
+
//# sourceMappingURL=poly.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/helper/roundRect */
|
|
2
|
+
function I(v,P){var t=P.x,o=P.y,l=P.width,h=P.height,f=P.r,r,i,a,e;l<0&&(t=t+l,l=-l),h<0&&(o=o+h,h=-h),typeof f=="number"?r=i=a=e=f:f instanceof Array?f.length===1?r=i=a=e=f[0]:f.length===2?(r=a=f[0],i=e=f[1]):f.length===3?(r=f[0],i=e=f[1],a=f[2]):(r=f[0],i=f[1],a=f[2],e=f[3]):r=i=a=e=0;var n;r+i>l&&(n=r+i,r*=l/n,i*=l/n),a+e>l&&(n=a+e,a*=l/n,e*=l/n),i+a>h&&(n=i+a,i*=h/n,a*=h/n),r+e>h&&(n=r+e,r*=h/n,e*=h/n),v.moveTo(t+r,o),v.lineTo(t+l-i,o),i!==0&&v.arc(t+l-i,o+i,i,-Math.PI/2,0),v.lineTo(t+l,o+h-a),a!==0&&v.arc(t+l-a,o+h-a,a,0,Math.PI/2),v.lineTo(t+e,o+h),e!==0&&v.arc(t+e,o+h-e,e,Math.PI/2,Math.PI),v.lineTo(t,o+r),r!==0&&v.arc(t+r,o+r,r,Math.PI,Math.PI*1.5)}export{I as buildPath};
|
|
3
|
+
//# sourceMappingURL=roundRect.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/helper/roundSector */
|
|
2
|
+
import{isArray as yv}from"../../core/util.mjs";var fv=Math.PI,vv=fv*2,Q=Math.sin,Y=Math.cos,ev=Math.acos,h=Math.atan2,nv=Math.abs,S=Math.sqrt,p=Math.max,C=Math.min,s=1e-4;function uv(v,u,i,e,r,N,Z,G){var d=i-v,T=e-u,o=Z-r,n=G-N,f=n*d-o*T;if(!(f*f<s))return f=(o*(u-N)-n*(v-r))/f,[v+f*d,u+f*T]}function O(v,u,i,e,r,N,Z){var G=v-i,d=u-e,T=(Z?N:-N)/S(G*G+d*d),o=T*d,n=-T*G,f=v+o,l=u+n,U=i+o,H=e+n,V=(f+U)/2,W=(l+H)/2,g=U-f,A=H-l,B=g*g+A*A,J=r-N,b=f*H-U*l,k=(A<0?-1:1)*S(p(0,J*J*B-b*b)),q=(b*A-g*k)/B,m=(-b*g-A*k)/B,P=(b*A+g*k)/B,D=(-b*g+A*k)/B,F=q-V,K=m-W,L=P-V,w=D-W;return F*F+K*K>L*L+w*w&&(q=P,m=D),{cx:q,cy:m,x0:-o,y0:-n,x1:q*(r/J-1),y1:m*(r/J-1)}}function dv(v){var u;if(yv(v)){var i=v.length;if(!i)return v;i===1?u=[v[0],v[0],0,0]:i===2?u=[v[0],v[0],v[1],v[1]]:i===3?u=v.concat(v[2]):u=v}else u=[v,v,v,v];return u}function hv(v,u){var i,e=p(u.r,0),r=p(u.r0||0,0),N=e>0,Z=r>0;if(!(!N&&!Z)){if(N||(e=r,r=0),r>e){var G=e;e=r,r=G}var d=u.startAngle,T=u.endAngle;if(!(isNaN(d)||isNaN(T))){var o=u.cx,n=u.cy,f=!!u.clockwise,l=nv(T-d),U=l>vv&&l%vv;if(U>s&&(l=U),!(e>s))v.moveTo(o,n);else if(l>vv-s)v.moveTo(o+e*Y(d),n+e*Q(d)),v.arc(o,n,e,d,T,!f),r>s&&(v.moveTo(o+r*Y(T),n+r*Q(T)),v.arc(o,n,r,T,d,f));else{var H=void 0,V=void 0,W=void 0,g=void 0,A=void 0,B=void 0,J=void 0,b=void 0,k=void 0,q=void 0,m=void 0,P=void 0,D=void 0,F=void 0,K=void 0,L=void 0,w=e*Y(d),X=e*Q(d),$=r*Y(T),I=r*Q(T),M=l>s;if(M){var av=u.cornerRadius;av&&(i=dv(av),H=i[0],V=i[1],W=i[2],g=i[3]);var E=nv(e-r)/2;if(A=C(E,W),B=C(E,g),J=C(E,H),b=C(E,V),m=k=p(A,B),P=q=p(J,b),(k>s||q>s)&&(D=e*Y(T),F=e*Q(T),K=r*Y(d),L=r*Q(d),l<fv)){var z=uv(w,X,K,L,D,F,$,I);if(z){var _=w-z[0],x=X-z[1],t=D-z[0],c=F-z[1],rv=1/Q(ev((_*t+x*c)/(S(_*_+x*x)*S(t*t+c*c)))/2),ov=S(z[0]*z[0]+z[1]*z[1]);m=C(k,(e-ov)/(rv+1)),P=C(q,(r-ov)/(rv-1))}}}if(!M)v.moveTo(o+w,n+X);else if(m>s){var R=C(W,m),j=C(g,m),a=O(K,L,w,X,e,R,f),y=O(D,F,$,I,e,j,f);v.moveTo(o+a.cx+a.x0,n+a.cy+a.y0),m<k&&R===j?v.arc(o+a.cx,n+a.cy,m,h(a.y0,a.x0),h(y.y0,y.x0),!f):(R>0&&v.arc(o+a.cx,n+a.cy,R,h(a.y0,a.x0),h(a.y1,a.x1),!f),v.arc(o,n,e,h(a.cy+a.y1,a.cx+a.x1),h(y.cy+y.y1,y.cx+y.x1),!f),j>0&&v.arc(o+y.cx,n+y.cy,j,h(y.y1,y.x1),h(y.y0,y.x0),!f))}else v.moveTo(o+w,n+X),v.arc(o,n,e,d,T,!f);if(!(r>s)||!M)v.lineTo(o+$,n+I);else if(P>s){var R=C(H,P),j=C(V,P),a=O($,I,D,F,r,-j,f),y=O(w,X,K,L,r,-R,f);v.lineTo(o+a.cx+a.x0,n+a.cy+a.y0),P<q&&R===j?v.arc(o+a.cx,n+a.cy,P,h(a.y0,a.x0),h(y.y0,y.x0),!f):(j>0&&v.arc(o+a.cx,n+a.cy,j,h(a.y0,a.x0),h(a.y1,a.x1),!f),v.arc(o,n,r,h(a.cy+a.y1,a.cx+a.x1),h(y.cy+y.y1,y.cx+y.x1),f),R>0&&v.arc(o+y.cx,n+y.cy,R,h(y.y1,y.x1),h(y.y0,y.x0),!f))}else v.lineTo(o+$,n+I),v.arc(o,n,r,T,d,f)}v.closePath()}}}export{hv as buildPath};
|
|
3
|
+
//# sourceMappingURL=roundSector.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/helper/smoothBezier */
|
|
2
|
+
import{min as y,max as I,scale as M,distance as z,add as A,clone as C,sub as D}from"../../core/vector.mjs";function j(v,B,P,u){var f=[],h=[],S=[],t=[],m,s,r,e;if(u){r=[1/0,1/0],e=[-1/0,-1/0];for(var a=0,l=v.length;a<l;a++)y(r,r,v[a]),I(e,e,v[a]);y(r,r,u[0]),I(e,e,u[1])}for(var a=0,l=v.length;a<l;a++){var x=v[a];if(P)m=v[a?a-1:l-1],s=v[(a+1)%l];else if(a===0||a===l-1){f.push(C(v[a]));continue}else m=v[a-1],s=v[a+1];D(h,s,m),M(h,h,B);var b=z(x,m),d=z(x,s),g=b+d;g!==0&&(b/=g,d/=g),M(S,h,-b),M(t,h,d);var i=A([],x,S),n=A([],x,t);u&&(I(i,i,r),y(i,i,e),I(n,n,r),y(n,n,e)),f.push(i),f.push(n)}return P&&f.push(f.shift()),f}export{j as default};
|
|
3
|
+
//# sourceMappingURL=smoothBezier.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/helper/subPixelOptimize */
|
|
2
|
+
var g=Math.round;function m(r,i,f){if(i){var x=i.x1,d=i.x2,v=i.y1,y=i.y2;r.x1=x,r.x2=d,r.y1=v,r.y2=y;var n=f&&f.lineWidth;return n&&(g(x*2)===g(d*2)&&(r.x1=r.x2=l(x,n,!0)),g(v*2)===g(y*2)&&(r.y1=r.y2=l(v,n,!0))),r}}function b(r,i,f){if(i){var x=i.x,d=i.y,v=i.width,y=i.height;r.x=x,r.y=d,r.width=v,r.height=y;var n=f&&f.lineWidth;return n&&(r.x=l(x,n,!0),r.y=l(d,n,!0),r.width=Math.max(l(x+v,n,!1)-r.x,v===0?0:1),r.height=Math.max(l(d+y,n,!1)-r.y,y===0?0:1)),r}}function l(r,i,f){if(!i)return r;var x=g(r*2);return(x+g(i))%2===0?x/2:(x+(f?1:-1))/2}export{l as subPixelOptimize,m as subPixelOptimizeLine,b as subPixelOptimizeRect};
|
|
3
|
+
//# sourceMappingURL=subPixelOptimize.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/shape/Arc */
|
|
2
|
+
import{__extends as v}from"/tslib@2.3.0/es2022/tslib.mjs";import p from"../Path.mjs";var A=function(){function n(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return n}();var l=function(n){v(r,n);function r(e){return n.call(this,e)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new A},r.prototype.buildPath=function(e,t){var a=t.cx,c=t.cy,o=Math.max(t.r,0),i=t.startAngle,u=t.endAngle,f=t.clockwise,h=Math.cos(i),s=Math.sin(i);e.moveTo(h*o+a,s*o+c),e.arc(a,c,o,i,u,!f)},r}(p);l.prototype.type="arc";var d=l;export{A as ArcShape,d as default};
|
|
3
|
+
//# sourceMappingURL=Arc.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/shape/Circle */
|
|
2
|
+
import{__extends as i}from"/tslib@2.3.0/es2022/tslib.mjs";import n from"../Path.mjs";var u=function(){function r(){this.cx=0,this.cy=0,this.r=0}return r}();var e=function(r){i(o,r);function o(c){return r.call(this,c)||this}return o.prototype.getDefaultShape=function(){return new u},o.prototype.buildPath=function(c,t){c.moveTo(t.cx+t.r,t.cy),c.arc(t.cx,t.cy,t.r,0,Math.PI*2)},o}(n);e.prototype.type="circle";var p=e;export{u as CircleShape,p as default};
|
|
3
|
+
//# sourceMappingURL=Circle.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/shape/Ellipse */
|
|
2
|
+
import{__extends as y}from"/tslib@2.3.0/es2022/tslib.mjs";import h from"../Path.mjs";var s=function(){function n(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return n}();var f=function(n){y(a,n);function a(t){return n.call(this,t)||this}return a.prototype.getDefaultShape=function(){return new s},a.prototype.buildPath=function(t,l){var v=.5522848,r=l.cx,e=l.cy,o=l.rx,i=l.ry,u=o*v,p=i*v;t.moveTo(r-o,e),t.bezierCurveTo(r-o,e-p,r-u,e-i,r,e-i),t.bezierCurveTo(r+u,e-i,r+o,e-p,r+o,e),t.bezierCurveTo(r+o,e+p,r+u,e+i,r,e+i),t.bezierCurveTo(r-u,e+i,r-o,e+p,r-o,e),t.closePath()},a}(h);f.prototype.type="ellipse";var m=f;export{s as EllipseShape,m as default};
|
|
3
|
+
//# sourceMappingURL=Ellipse.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/shape/Line */
|
|
2
|
+
import{__extends as x}from"/tslib@2.3.0/es2022/tslib.mjs";import a from"../Path.mjs";import{subPixelOptimizeLine as s}from"../helper/subPixelOptimize.mjs";var c={},v=function(){function u(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return u}();var p=function(u){x(r,u);function r(e){return u.call(this,e)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new v},r.prototype.buildPath=function(e,t){var f,l,n,o;if(this.subPixelOptimize){var y=s(c,t,this.style);f=y.x1,l=y.y1,n=y.x2,o=y.y2}else f=t.x1,l=t.y1,n=t.x2,o=t.y2;var i=t.percent;i!==0&&(e.moveTo(f,l),i<1&&(n=f*(1-i)+n*i,o=l*(1-i)+o*i),e.lineTo(n,o))},r.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},r}(a);p.prototype.type="line";var P=p;export{v as LineShape,P as default};
|
|
3
|
+
//# sourceMappingURL=Line.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/shape/Polygon */
|
|
2
|
+
import{__extends as l}from"/tslib@2.3.0/es2022/tslib.mjs";import i from"../Path.mjs";import*as r from"../helper/poly.mjs";var u=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}();var e=function(t){l(o,t);function o(n){return t.call(this,n)||this}return o.prototype.getDefaultShape=function(){return new u},o.prototype.buildPath=function(n,p){r.buildPath(n,p,!0)},o}(i);e.prototype.type="polygon";var f=e;export{u as PolygonShape,f as default};
|
|
3
|
+
//# sourceMappingURL=Polygon.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/shape/Polyline */
|
|
2
|
+
import{__extends as i}from"/tslib@2.3.0/es2022/tslib.mjs";import p from"../Path.mjs";import*as n from"../helper/poly.mjs";var u=function(){function o(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return o}();var l=function(o){i(t,o);function t(e){return o.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new u},t.prototype.buildPath=function(e,r){n.buildPath(e,r,!1)},t}(p);l.prototype.type="polyline";var h=l;export{u as PolylineShape,h as default};
|
|
3
|
+
//# sourceMappingURL=Polyline.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/shape/Rect */
|
|
2
|
+
import{__extends as s}from"/tslib@2.3.0/es2022/tslib.mjs";import y from"../Path.mjs";import*as f from"../helper/roundRect.mjs";import{subPixelOptimizeRect as a}from"../helper/subPixelOptimize.mjs";var x=function(){function i(){this.x=0,this.y=0,this.width=0,this.height=0}return i}();var p={},l=function(i){s(e,i);function e(n){return i.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new x},e.prototype.buildPath=function(n,t){var o,u,h,c;if(this.subPixelOptimize){var r=a(p,t,this.style);o=r.x,u=r.y,h=r.width,c=r.height,r.r=t.r,t=r}else o=t.x,u=t.y,h=t.width,c=t.height;t.r?f.buildPath(n,t):n.rect(o,u,h,c)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(y);l.prototype.type="rect";var g=l;export{x as RectShape,g as default};
|
|
3
|
+
//# sourceMappingURL=Rect.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/shape/Ring */
|
|
2
|
+
import{__extends as f}from"/tslib@2.3.0/es2022/tslib.mjs";import c from"../Path.mjs";var p=function(){function n(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return n}();var a=function(n){f(o,n);function o(t){return n.call(this,t)||this}return o.prototype.getDefaultShape=function(){return new p},o.prototype.buildPath=function(t,r){var i=r.cx,e=r.cy,u=Math.PI*2;t.moveTo(i+r.r,e),t.arc(i,e,r.r,0,u,!1),t.moveTo(i+r.r0,e),t.arc(i,e,r.r0,0,u,!0)},o}(c);a.prototype.type="ring";var y=a;export{p as RingShape,y as default};
|
|
3
|
+
//# sourceMappingURL=Ring.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/graphic/shape/Sector */
|
|
2
|
+
import{__extends as h}from"/tslib@2.3.0/es2022/tslib.mjs";import s from"../Path.mjs";import*as o from"../helper/roundSector.mjs";var p=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}();var n=function(e){h(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new p},t.prototype.buildPath=function(r,i){o.buildPath(r,i)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(s);n.prototype.type="sector";var u=n;export{p as SectorShape,u as default};
|
|
3
|
+
//# sourceMappingURL=Sector.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/mixin/Draggable */
|
|
2
|
+
var n=function(){function r(t,a){this.target=t,this.topTarget=a&&a.topTarget}return r}(),o=function(){function r(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return r.prototype._dragStart=function(t){for(var a=t.target;a&&!a.draggable;)a=a.parent||a.__hostTarget;a&&(this._draggingTarget=a,a.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new n(a,t),"dragstart",t.event))},r.prototype._drag=function(t){var a=this._draggingTarget;if(a){var g=t.offsetX,h=t.offsetY,s=g-this._x,d=h-this._y;this._x=g,this._y=h,a.drift(s,d,t),this.handler.dispatchToElement(new n(a,t),"drag",t.event);var i=this.handler.findHover(g,h,a).target,e=this._dropTarget;this._dropTarget=i,a!==i&&(e&&i!==e&&this.handler.dispatchToElement(new n(e,t),"dragleave",t.event),i&&i!==e&&this.handler.dispatchToElement(new n(i,t),"dragenter",t.event))}},r.prototype._dragEnd=function(t){var a=this._draggingTarget;a&&(a.dragging=!1),this.handler.dispatchToElement(new n(a,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},r}(),f=o;export{f as default};
|
|
3
|
+
//# sourceMappingURL=Draggable.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/Painter */
|
|
2
|
+
import{brush as T,setClipPath as D,setGradient as B,setPattern as R}from"./graphic.mjs";import{createElement as U,createVNode as l,vNodeToString as A,getCssString as z,createBrushScope as x,createSVGVNode as S}from"./core.mjs";import{normalizeColor as C,encodeBase64 as E,isGradient as H,isPattern as b}from"./helper.mjs";import{extend as P,keys as I,map as M,noop as k,retrieve2 as g}from"../core/util.mjs";import O,{updateAttrs as F}from"./patch.mjs";import{getSize as G}from"../canvas/helper.mjs";var W=0,j=function(){function o(t,e,i){if(this.type="svg",this.refreshHover=L("refreshHover"),this.configLayer=L("configLayer"),this.storage=e,this._opts=i=P({},i),this.root=t,this._id="zr"+W++,this._oldVNode=S(i.width,i.height),t&&!i.ssr){var s=this._viewport=document.createElement("div");s.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=U("svg");F(null,this._oldVNode),s.appendChild(r),t.appendChild(s)}this.resize(i.width,i.height)}return o.prototype.getType=function(){return this.type},o.prototype.getViewportRoot=function(){return this._viewport},o.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},o.prototype.getSvgDom=function(){return this._svgDom},o.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",O(this._oldVNode,t),this._oldVNode=t}},o.prototype.renderOneToVNode=function(t){return T(t,x(this._id))},o.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),i=this._width,s=this._height,r=x(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis,r.ssr=this._opts.ssr;var h=[],n=this._bgVNode=q(i,s,this._backgroundColor,r);n&&h.push(n);var a=t.compress?null:this._mainVNode=l("g","main",{},[]);this._paintList(e,r,a?a.children:h),a&&h.push(a);var v=M(I(r.defs),function(f){return r.defs[f]});if(v.length&&h.push(l("defs","defs",{},v)),t.animation){var d=z(r.cssNodes,r.cssAnims,{newline:!0});if(d){var u=l("style","stl",{},[],d);h.push(u)}}return S(i,s,h,t.useViewBox)},o.prototype.renderToString=function(t){return t=t||{},A(this.renderToVNode({animation:g(t.cssAnimation,!0),emphasis:g(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:g(t.useViewBox,!0)}),{newline:!0})},o.prototype.setBackgroundColor=function(t){this._backgroundColor=t},o.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},o.prototype._paintList=function(t,e,i){for(var s=t.length,r=[],h=0,n,a,v=0,d=0;d<s;d++){var u=t[d];if(!u.invisible){var f=u.__clipPaths,_=f&&f.length||0,V=a&&a.length||0,p=void 0;for(p=Math.max(_-1,V-1);p>=0&&!(f&&a&&f[p]===a[p]);p--);for(var y=V-1;y>p;y--)h--,n=r[h-1];for(var c=p+1;c<_;c++){var N={};D(f[c],N,e);var m=l("g","clip-g-"+v++,N,[]);(n?n.children:i).push(m),r[h++]=m,n=m}a=f;var w=T(u,e);w&&(n?n.children:i).push(w)}}},o.prototype.resize=function(t,e){var i=this._opts,s=this.root,r=this._viewport;if(t!=null&&(i.width=t),e!=null&&(i.height=e),s&&r&&(r.style.display="none",t=G(s,0,i),e=G(s,1,i),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var h=r.style;h.width=t+"px",h.height=e+"px"}if(b(this._backgroundColor))this.refresh();else{var n=this._svgDom;n&&(n.setAttribute("width",t),n.setAttribute("height",e));var a=this._bgVNode&&this._bgVNode.elm;a&&(a.setAttribute("width",t),a.setAttribute("height",e))}}},o.prototype.getWidth=function(){return this._width},o.prototype.getHeight=function(){return this._height},o.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},o.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},o.prototype.toDataURL=function(t){var e=this.renderToString(),i="data:image/svg+xml;";return t?(e=E(e),e&&i+"base64,"+e):i+"charset=UTF-8,"+encodeURIComponent(e)},o}();function L(o){return function(){}}function q(o,t,e,i){var s;if(e&&e!=="none")if(s=l("rect","bg",{width:o,height:t,x:"0",y:"0"}),H(e))B({fill:e},s.attrs,"fill",i);else if(b(e))R({style:{fill:e},dirty:k,getBoundingRect:function(){return{width:o,height:t}}},s.attrs,"fill",i);else{var r=C(e),h=r.color,n=r.opacity;s.attrs.fill=h,n<1&&(s.attrs["fill-opacity"]=n)}return s}var tt=j;export{tt as default};
|
|
3
|
+
//# sourceMappingURL=Painter.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/SVGPathRebuilder */
|
|
2
|
+
import{isAroundZero as C}from"./helper.mjs";var l=Math.sin,M=Math.cos,S=Math.PI,d=Math.PI*2,g=180/S,R=function(){function r(){}return r.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},r.prototype.moveTo=function(t,a){this._add("M",t,a)},r.prototype.lineTo=function(t,a){this._add("L",t,a)},r.prototype.bezierCurveTo=function(t,a,i,o,n,e){this._add("C",t,a,i,o,n,e)},r.prototype.quadraticCurveTo=function(t,a,i,o){this._add("Q",t,a,i,o)},r.prototype.arc=function(t,a,i,o,n,e){this.ellipse(t,a,i,i,0,o,n,e)},r.prototype.ellipse=function(t,a,i,o,n,e,_,P){var h=_-e,s=!P,u=Math.abs(h),p=C(u-d)||(s?h>=d:-h>=d),v=h>0?h%d:h%d+d,f=!1;p?f=!0:C(u)?f=!1:f=v>=S==!!s;var m=t+i*M(e),y=a+o*l(e);this._start&&this._add("M",m,y);var c=Math.round(n*g);if(p){var T=1/this._p,b=(s?1:-1)*(d-T);this._add("A",i,o,c,1,+s,t+i*M(e+b),a+o*l(e+b)),T>.01&&this._add("A",i,o,c,0,+s,m,y)}else{var I=t+i*M(_),Z=a+o*l(_);this._add("A",i,o,c,+f,+s,I,Z)}},r.prototype.rect=function(t,a,i,o){this._add("M",t,a),this._add("l",i,0),this._add("l",0,o),this._add("l",-i,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(t,a,i,o,n,e,_,P,h){for(var s=[],u=this._p,p=1;p<arguments.length;p++){var v=arguments[p];if(isNaN(v)){this._invalid=!0;return}s.push(Math.round(v*u)/u)}this._d.push(t+s.join(" ")),this._start=t==="Z"},r.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},r.prototype.getStr=function(){return this._str},r}(),G=R;export{G as default};
|
|
3
|
+
//# sourceMappingURL=SVGPathRebuilder.mjs.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/core */
|
|
2
|
+
import{keys as x,map as a}from"../core/util.mjs";import{encodeHTML as p}from"../core/dom.mjs";var l="http://www.w3.org/2000/svg",h="http://www.w3.org/1999/xlink",C="http://www.w3.org/2000/xmlns/",j="http://www.w3.org/XML/1998/namespace",I="ecmeta_";function k(r){return document.createElementNS(l,r)}function d(r,n,o,e,t){return{tag:r,attrs:o||{},children:e,text:t,key:n}}function g(r,n){var o=[];if(n)for(var e in n){var t=n[e],c=e;t!==!1&&(t!==!0&&t!=null&&(c+='="'+t+'"'),o.push(c))}return"<"+r+" "+o.join(" ")+">"}function S(r){return"</"+r+">"}function M(r,n){n=n||{};var o=n.newline?`
|
|
3
|
+
`:"";function e(t){var c=t.children,f=t.tag,s=t.attrs,i=t.text;return g(f,s)+(f!=="style"?p(i):i||"")+(c?""+o+a(c,function(u){return e(u)}).join(o)+o:"")+S(f)}return e(r)}function T(r,n,o){o=o||{};var e=o.newline?`
|
|
4
|
+
`:"",t=" {"+e,c=e+"}",f=a(x(r),function(i){return i+t+a(x(r[i]),function(u){return u+":"+r[i][u]+";"}).join(e)+c}).join(e),s=a(x(n),function(i){return"@keyframes "+i+t+a(x(n[i]),function(u){return u+t+a(x(n[i][u]),function(v){var w=n[i][u][v];return v==="d"&&(w='path("'+w+'")'),v+":"+w+";"}).join(e)+c}).join(e)+c}).join(e);return!f&&!s?"":["<![CDATA[",f,s,"]]>"].join(e)}function m(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function L(r,n,o,e){return d("svg","root",{width:r,height:n,xmlns:l,"xmlns:xlink":h,version:"1.1",baseProfile:"full",viewBox:e?"0 0 "+r+" "+n:!1},o)}export{I as META_DATA_PREFIX,l as SVGNS,h as XLINKNS,C as XMLNS,j as XML_NAMESPACE,m as createBrushScope,k as createElement,L as createSVGVNode,d as createVNode,T as getCssString,M as vNodeToString};
|
|
5
|
+
//# sourceMappingURL=core.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/cssAnimation */
|
|
2
|
+
import{copyTransform as mr}from"../core/Transformable.mjs";import{createBrushScope as lr}from"./core.mjs";import cr from"./SVGPathRebuilder.mjs";import hr from"../core/PathProxy.mjs";import{getPathPrecision as dr,getSRTTransformString as gr}from"./helper.mjs";import{each as pr,extend as V,filter as Ir,isNumber as Or,isString as tr,keys as X}from"../core/util.mjs";import Sr from"../graphic/CompoundPath.mjs";import{createCubicEasingFunc as Ar}from"../animation/cubicEasing.mjs";import{getClassId as br}from"./cssClassId.mjs";var ar={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},g="transform-origin";function xr(r,t,n){var u=V({},r.shape);V(u,t),r.buildPath(n,u);var e=new cr;return e.reset(dr(r)),n.rebuildPath(e,1),e.generateStr(),e.getStr()}function Tr(r,t){var n=t.originX,u=t.originY;(n||u)&&(r[g]=n+"px "+u+"px")}var Pr={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function er(r,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=r,n}function qr(r,t,n){var u=r.shape.paths,e={},l,v;if(pr(u,function(h){var s=lr(n.zrId);s.animation=!0,Cr(h,{},s,!0);var f=s.cssAnims,m=s.cssNodes,S=X(f),A=S.length;if(A){v=S[A-1];var d=f[v];for(var p in d){var B=d[p];e[p]=e[p]||{d:""},e[p].d+=B.d||""}for(var P in m){var b=m[P].animation;b.indexOf(v)>=0&&(l=b)}}}),!!l){t.d=!1;var c=er(e,n);return l.replace(v,c)}}function nr(r){return tr(r)?ar[r]?"cubic-bezier("+ar[r]+")":Ar(r)?r:"":""}function Cr(r,t,n,u){var e=r.animators,l=e.length,v=[];if(r instanceof Sr){var c=qr(r,t,n);if(c)v.push(c);else if(!l)return}else if(!l)return;for(var h={},s=0;s<l;s++){var f=e[s],m=[f.getMaxTime()/1e3+"s"],S=nr(f.getClip().easing),A=f.getDelay();S?m.push(S):m.push("linear"),A&&m.push(A/1e3+"s"),f.getLoop()&&m.push("infinite");var d=m.join(" ");h[d]=h[d]||[d,[]],h[d][1].push(f)}function p(b){var D=b[1],W=D.length,q={},C={},i={},x="animation-timing-function";function F(w,z,Z){for(var E=w.getTracks(),fr=w.getMaxTime(),K=0;K<E.length;K++){var L=E[K];if(L.needsAnimate()){var $=L.keyframes,Y=L.propName;if(Z&&(Y=Z(Y)),Y)for(var R=0;R<$.length;R++){var _=$[R],j=Math.round(_.time/fr*100)+"%",rr=nr(_.easing),ir=_.rawValue;(tr(ir)||Or(ir))&&(z[j]=z[j]||{},z[j][Y]=_.rawValue,rr&&(z[j][x]=rr))}}}}for(var o=0;o<W;o++){var I=D[o],N=I.targetName;N?N==="shape"&&F(I,C):!u&&F(I,q)}for(var a in q){var y={};mr(y,r),V(y,q[a]);var k=gr(y),T=q[a][x];i[a]=k?{transform:k}:{},Tr(i[a],y),T&&(i[a][x]=T)}var O,H=!0;for(var a in C){i[a]=i[a]||{};var J=!O,T=C[a][x];J&&(O=new hr);var or=O.len();O.reset(),i[a].d=xr(r,C[a],O);var ur=O.len();if(!J&&or!==ur){H=!1;break}T&&(i[a][x]=T)}if(!H)for(var a in i)delete i[a].d;if(!u)for(var o=0;o<W;o++){var I=D[o],N=I.targetName;N==="style"&&F(I,i,function(E){return Pr[E]})}for(var M=X(i),Q=!0,G,o=1;o<M.length;o++){var U=M[o-1],vr=M[o];if(i[U][g]!==i[vr][g]){Q=!1;break}G=i[U][g]}if(Q&&G){for(var a in i)i[a][g]&&delete i[a][g];t[g]=G}if(Ir(M,function(w){return X(i[w]).length>0}).length){var sr=er(i,n);return sr+" "+b[0]+" both"}}for(var B in h){var c=p(h[B]);c&&v.push(c)}if(v.length){var P=n.zrId+"-cls-"+br();n.cssNodes["."+P]={animation:v.join(",")},t.class=P}}export{Pr as ANIMATE_STYLE_MAP,ar as EASING_MAP,Cr as createCSSAnimation};
|
|
3
|
+
//# sourceMappingURL=cssAnimation.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/cssEmphasis */
|
|
2
|
+
import{liftColor as y}from"../tool/color.mjs";import{getClassId as C}from"./cssClassId.mjs";function N(s,f,a){if(!s.ignore)if(s.isSilent()){var r={"pointer-events":"none"};v(r,f,a,!0)}else{var e=s.states.emphasis&&s.states.emphasis.style?s.states.emphasis.style:{},t=e.fill;if(!t){var i=s.style&&s.style.fill,n=s.states.select&&s.states.select.style&&s.states.select.style.fill,c=s.currentStates.indexOf("select")>=0&&n||i;c&&(t=y(c))}var o=e.lineWidth;if(o){var u=!e.strokeNoScale&&s.transform?s.transform[0]:1;o=o/u}var r={cursor:"pointer"};t&&(r.fill=t),e.stroke&&(r.stroke=e.stroke),o&&(r["stroke-width"]=o),v(r,f,a,!0)}}function v(s,f,a,r){var e=JSON.stringify(s),t=a.cssStyleCache[e];t||(t=a.zrId+"-cls-"+C(),a.cssStyleCache[e]=t,a.cssNodes["."+t+(r?":hover":"")]=s),f.class=f.class?f.class+" "+t:t}export{N as createCSSEmphasis};
|
|
3
|
+
//# sourceMappingURL=cssEmphasis.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/domapi */
|
|
2
|
+
function o(e){return document.createTextNode(e)}function r(e){return document.createComment(e)}function i(e,t,n){e.insertBefore(t,n)}function u(e,t){e.removeChild(t)}function p(e,t){e.appendChild(t)}function x(e){return e.parentNode}function c(e){return e.nextSibling}function d(e){return e.tagName}function f(e,t){e.textContent=t}function m(e){return e.textContent}function a(e){return e.nodeType===1}function C(e){return e.nodeType===3}function T(e){return e.nodeType===8}export{p as appendChild,r as createComment,o as createTextNode,m as getTextContent,i as insertBefore,T as isComment,a as isElement,C as isText,c as nextSibling,x as parentNode,u as removeChild,f as setTextContent,d as tagName};
|
|
3
|
+
//# sourceMappingURL=domapi.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/graphic */
|
|
2
|
+
import{adjustTextY as $,getIdURL as R,getMatrixStr as H,getPathPrecision as W,getShadowKey as rr,getSRTTransformString as tr,hasShadow as ar,isAroundZero as T,isGradient as nr,isImagePattern as ir,isLinearGradient as er,isPattern as or,isRadialGradient as fr,normalizeColor as Z,round4 as sr,TEXT_ALIGN_TO_ANCHOR as vr}from"./helper.mjs";import hr from"../graphic/Path.mjs";import dr from"../graphic/Image.mjs";import{getLineHeight as ur}from"../contain/text.mjs";import pr from"../graphic/TSpan.mjs";import lr from"./SVGPathRebuilder.mjs";import cr from"./mapStyleToAttrs.mjs";import{createVNode as y,vNodeToString as B,META_DATA_PREFIX as k}from"./core.mjs";import{assert as j,clone as gr,isFunction as yr,isString as G,map as xr,retrieve2 as U}from"../core/util.mjs";import{createOrUpdateImage as mr}from"../graphic/helper/image.mjs";import{createCSSAnimation as O}from"./cssAnimation.mjs";import{hasSeparateFont as Sr,parseFontSize as Pr}from"../graphic/Text.mjs";import{DEFAULT_FONT as wr,DEFAULT_FONT_FAMILY as Ar}from"../core/platform.mjs";import{createCSSEmphasis as Tr}from"./cssEmphasis.mjs";import{getElementSSRData as br}from"../zrender.mjs";var b=Math.round;function q(r){return r&&G(r.src)}function J(r){return r&&yr(r.toDataURL)}function F(r,i,t,a){cr(function(n,e){var o=n==="fill"||n==="stroke";o&&nr(e)?Or(i,r,n,a):o&&or(e)?Fr(t,r,n,a):r[n]=e,o&&a.ssr&&e==="none"&&(r["pointer-events"]="visible")},i,t,!1),Gr(t,r,a)}function V(r,i){var t=br(i);t&&(t.each(function(a,n){a!=null&&(r[(k+n).toLowerCase()]=a+"")}),i.isSilent()&&(r[k+"silent"]="true"))}function K(r){return T(r[0]-1)&&T(r[1])&&T(r[2])&&T(r[3]-1)}function Cr(r){return T(r[4])&&T(r[5])}function I(r,i,t){if(i&&!(Cr(i)&&K(i))){var a=t?10:1e4;r.transform=K(i)?"translate("+b(i[4]*a)/a+" "+b(i[5]*a)/a+")":H(i)}}function X(r,i,t){for(var a=r.points,n=[],e=0;e<a.length;e++)n.push(b(a[e][0]*t)/t),n.push(b(a[e][1]*t)/t);i.points=n.join(" ")}function Y(r){return!r.smooth}function Dr(r){var i=xr(r,function(t){return typeof t=="string"?[t,t]:t});return function(t,a,n){for(var e=0;e<i.length;e++){var o=i[e],s=t[o[0]];s!=null&&(a[o[1]]=b(s*n)/n)}}}var Rr={circle:[Dr(["cx","cy","r"])],polyline:[X,Y],polygon:[X,Y]};function Nr(r){for(var i=r.animators,t=0;t<i.length;t++)if(i[t].targetName==="shape")return!0;return!1}function Q(r,i){var t=r.style,a=r.shape,n=Rr[r.type],e={},o=i.animation,s="path",f=r.style.strokePercent,v=i.compress&&W(r)||4;if(n&&!i.willUpdate&&!(n[1]&&!n[1](a))&&!(o&&Nr(r))&&!(f<1)){s=r.type;var g=Math.pow(10,v);n[0](a,e,g)}else{var l=!r.path||r.shapeChanged();r.path||r.createPathProxy();var d=r.path;l&&(d.beginPath(),r.buildPath(d,r.shape),r.pathUpdated());var h=d.getVersion(),p=r,u=p.__svgPathBuilder;(p.__svgPathVersion!==h||!u||f!==p.__svgPathStrokePercent)&&(u||(u=p.__svgPathBuilder=new lr),u.reset(v),d.rebuildPath(u,f),u.generateStr(),p.__svgPathVersion=h,p.__svgPathStrokePercent=f),e.d=u.getStr()}return I(e,r.transform),F(e,t,r,i),V(e,r),i.animation&&O(r,e,i),i.emphasis&&Tr(r,e,i),y(s,r.id+"",e)}function Lr(r,i){var t=r.style,a=t.image;if(a&&!G(a)&&(q(a)?a=a.src:J(a)&&(a=a.toDataURL())),!!a){var n=t.x||0,e=t.y||0,o=t.width,s=t.height,f={href:a,width:o,height:s};return n&&(f.x=n),e&&(f.y=e),I(f,r.transform),F(f,t,r,i),V(f,r),i.animation&&O(r,f,i),y("image",r.id+"",f)}}function Ur(r,i){var t=r.style,a=t.text;if(a!=null&&(a+=""),!(!a||isNaN(t.x)||isNaN(t.y))){var n=t.font||wr,e=t.x||0,o=$(t.y||0,ur(n),t.textBaseline),s=vr[t.textAlign]||t.textAlign,f={"dominant-baseline":"central","text-anchor":s};if(Sr(t)){var v="",g=t.fontStyle,l=Pr(t.fontSize);if(!parseFloat(l))return;var d=t.fontFamily||Ar,h=t.fontWeight;v+="font-size:"+l+";font-family:"+d+";",g&&g!=="normal"&&(v+="font-style:"+g+";"),h&&h!=="normal"&&(v+="font-weight:"+h+";"),f.style=v}else f.style="font: "+n;return a.match(/\s/)&&(f["xml:space"]="preserve"),e&&(f.x=e),o&&(f.y=o),I(f,r.transform),F(f,t,r,i),V(f,r),i.animation&&O(r,f,i),y("text",r.id+"",f,void 0,a)}}function $r(r,i){if(r instanceof hr)return Q(r,i);if(r instanceof dr)return Lr(r,i);if(r instanceof pr)return Ur(r,i)}function Gr(r,i,t){var a=r.style;if(ar(a)){var n=rr(r),e=t.shadowCache,o=e[n];if(!o){var s=r.getGlobalScale(),f=s[0],v=s[1];if(!f||!v)return;var g=a.shadowOffsetX||0,l=a.shadowOffsetY||0,d=a.shadowBlur,h=Z(a.shadowColor),p=h.opacity,u=h.color,S=d/2/f,A=d/2/v,x=S+" "+A;o=t.zrId+"-s"+t.shadowIdx++,t.defs[o]=y("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[y("feDropShadow","",{dx:g/f,dy:l/v,stdDeviation:x,"flood-color":u,"flood-opacity":p})]),e[n]=o}i.filter=R(o)}}function Or(r,i,t,a){var n=r[t],e,o={gradientUnits:n.global?"userSpaceOnUse":"objectBoundingBox"};if(er(n))e="linearGradient",o.x1=n.x,o.y1=n.y,o.x2=n.x2,o.y2=n.y2;else if(fr(n))e="radialGradient",o.cx=U(n.x,.5),o.cy=U(n.y,.5),o.r=U(n.r,.5);else return;for(var s=n.colorStops,f=[],v=0,g=s.length;v<g;++v){var l=sr(s[v].offset)*100+"%",d=s[v].color,h=Z(d),p=h.color,u=h.opacity,S={offset:l};S["stop-color"]=p,u<1&&(S["stop-opacity"]=u),f.push(y("stop",v+"",S))}var A=y(e,"",o,f),x=B(A),m=a.gradientCache,c=m[x];c||(c=a.zrId+"-g"+a.gradientIdx++,m[x]=c,o.id=c,a.defs[c]=y(e,c,o,f)),i[t]=R(c)}function Fr(r,i,t,a){var n=r.style[t],e=r.getBoundingRect(),o={},s=n.repeat,f=s==="no-repeat",v=s==="repeat-x",g=s==="repeat-y",l;if(ir(n)){var d=n.imageWidth,h=n.imageHeight,p=void 0,u=n.image;if(G(u)?p=u:q(u)?p=u.src:J(u)&&(p=u.toDataURL()),typeof Image>"u"){var S="Image width/height must been given explictly in svg-ssr renderer.";j(d,S),j(h,S)}else if(d==null||h==null){var A=function(P,_){if(P){var L=P.elm,C=d||_.width,D=h||_.height;P.tag==="pattern"&&(v?(D=1,C/=e.width):g&&(C=1,D/=e.height)),P.attrs.width=C,P.attrs.height=D,L&&(L.setAttribute("width",C),L.setAttribute("height",D))}},x=mr(p,null,r,function(P){f||A(N,P),A(l,P)});x&&x.width&&x.height&&(d=d||x.width,h=h||x.height)}l=y("image","img",{href:p,width:d,height:h}),o.width=d,o.height=h}else n.svgElement&&(l=gr(n.svgElement),o.width=n.svgWidth,o.height=n.svgHeight);if(l){var m,c;f?m=c=1:v?(c=1,m=o.width/e.width):g?(m=1,c=o.height/e.height):o.patternUnits="userSpaceOnUse",m!=null&&!isNaN(m)&&(o.width=m),c!=null&&!isNaN(c)&&(o.height=c);var z=tr(n);z&&(o.patternTransform=z);var N=y("pattern","",o,[l]),E=B(N),M=a.patternCache,w=M[E];w||(w=a.zrId+"-p"+a.patternIdx++,M[E]=w,o.id=w,N=a.defs[w]=y("pattern",w,o,[l])),i[t]=R(w)}}function Hr(r,i,t){var a=t.clipPathCache,n=t.defs,e=a[r.id];if(!e){e=t.zrId+"-c"+t.clipPathIdx++;var o={id:e};a[r.id]=e,n[e]=y("clipPath",e,o,[Q(r,t)])}i["clip-path"]=R(e)}export{$r as brush,Lr as brushSVGImage,Q as brushSVGPath,Ur as brushSVGTSpan,Hr as setClipPath,Or as setGradient,Fr as setPattern};
|
|
3
|
+
//# sourceMappingURL=graphic.mjs.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/helper */
|
|
2
|
+
import { Buffer as __Buffer$ } from "/node/buffer.mjs";
|
|
3
|
+
import{RADIAN_TO_DEGREE as u,retrieve2 as c,isFunction as h}from"../core/util.mjs";import{parse as g}from"../tool/color.mjs";import v from"../core/env.mjs";var o=Math.round;function b(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var r=g(e);r&&(e="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}return{color:e,opacity:t??1}}var x=1e-4;function G(e){return e<x&&e>-x}function a(e){return o(e*1e3)/1e3}function l(e){return o(e*1e4)/1e4}function R(e){return o(e*10)/10}function M(e){return"matrix("+a(e[0])+","+a(e[1])+","+a(e[2])+","+a(e[3])+","+l(e[4])+","+l(e[5])+")"}var T={left:"start",right:"end",center:"middle",middle:"middle"};function X(e,t,r){return r==="top"?e+=t/2:r==="bottom"&&(e-=t/2),e}function Y(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function k(e){var t=e.style,r=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function I(e){var t=[];if(e)for(var r=0;r<e.length;r++){var i=e[r];t.push(i.id)}return t.join(",")}function w(e){return e&&!!e.image}function S(e){return e&&!!e.svgElement}function N(e){return w(e)||S(e)}function _(e){return e.type==="linear"}function A(e){return e.type==="radial"}function B(e){return e&&(e.type==="linear"||e.type==="radial")}function C(e){return"url(#"+e+")"}function P(e){var t=e.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function j(e){var t=e.x||0,r=e.y||0,i=(e.rotation||0)*u,f=c(e.scaleX,1),s=c(e.scaleY,1),p=e.skewX||0,d=e.skewY||0,n=[];return(t||r)&&n.push("translate("+t+"px,"+r+"px)"),i&&n.push("rotate("+i+")"),(f!==1||s!==1)&&n.push("scale("+f+","+s+")"),(p||d)&&n.push("skew("+o(p*u)+"deg, "+o(d*u)+"deg)"),n.join(" ")}var F=function(){return v.hasGlobalWindow&&h(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof __Buffer$<"u"?function(e){return __Buffer$.from(e).toString("base64")}:function(e){return null}}();export{T as TEXT_ALIGN_TO_ANCHOR,X as adjustTextY,F as encodeBase64,I as getClipPathsKey,C as getIdURL,M as getMatrixStr,P as getPathPrecision,j as getSRTTransformString,k as getShadowKey,Y as hasShadow,G as isAroundZero,B as isGradient,w as isImagePattern,_ as isLinearGradient,N as isPattern,A as isRadialGradient,S as isSVGPattern,b as normalizeColor,R as round1,a as round3,l as round4};
|
|
4
|
+
//# sourceMappingURL=helper.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/mapStyleToAttrs */
|
|
2
|
+
import{DEFAULT_PATH_STYLE as H}from"../graphic/Path.mjs";import w from"../graphic/Image.mjs";import{getLineDash as F}from"../canvas/dashStyle.mjs";import{map as R}from"../core/util.mjs";import{normalizeColor as P}from"./helper.mjs";var a="none",j=Math.round;function p(i){var o=i.fill;return o!=null&&o!==a}function x(i){var o=i.stroke;return o!=null&&o!==a}var h=["lineCap","miterLimit","lineJoin"],z=R(h,function(i){return"stroke-"+i.toLowerCase()});function I(i,o,m,r){var n=o.opacity==null?1:o.opacity;if(m instanceof w){i("opacity",n);return}if(p(o)){var c=P(o.fill);i("fill",c.color);var s=o.fillOpacity!=null?o.fillOpacity*c.opacity*n:c.opacity*n;(r||s<1)&&i("fill-opacity",s)}else i("fill",a);if(x(o)){var k=P(o.stroke);i("stroke",k.color);var L=o.strokeNoScale?m.getLineScale():1,g=L?(o.lineWidth||0)/L:0,S=o.strokeOpacity!=null?o.strokeOpacity*k.opacity*n:k.opacity*n,u=o.strokeFirst;if((r||g!==1)&&i("stroke-width",g),(r||u)&&i("paint-order",u?"stroke":"fill"),(r||S<1)&&i("stroke-opacity",S),o.lineDash){var T=F(m),C=T[0],f=T[1];C&&(f=j(f||0),i("stroke-dasharray",C.join(",")),(f||r)&&i("stroke-dashoffset",f))}else r&&i("stroke-dasharray",a);for(var v=0;v<h.length;v++){var l=h[v];if(r||o[l]!==H[l]){var E=o[l]||H[l];E&&i(z[v],E)}}}else r&&i("stroke",a)}export{I as default};
|
|
3
|
+
//# sourceMappingURL=mapStyleToAttrs.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/svg/patch */
|
|
2
|
+
import{isArray as d,isObject as E}from"../core/util.mjs";import{createElement as I,createVNode as K,XMLNS as M,XML_NAMESPACE as O,XLINKNS as D}from"./core.mjs";import*as l from"./domapi.mjs";var T=58,L=120,X=K("","");function S(t){return t===void 0}function m(t){return t!==void 0}function j(t,r,e){for(var i={},a=r;a<=e;++a){var f=t[a].key;f!==void 0&&(i[f]=a)}return i}function o(t,r){var e=t.key===r.key,i=t.tag===r.tag;return i&&e}function c(t){var r,e=t.children,i=t.tag;if(m(i)){var a=t.elm=I(i);if(B(X,t),d(e))for(r=0;r<e.length;++r){var f=e[r];f!=null&&l.appendChild(a,c(f))}else m(t.text)&&!E(t.text)&&l.appendChild(a,l.createTextNode(t.text))}else t.elm=l.createTextNode(t.text);return t.elm}function k(t,r,e,i,a){for(;i<=a;++i){var f=e[i];f!=null&&l.insertBefore(t,c(f),r)}}function N(t,r,e,i){for(;e<=i;++e){var a=r[e];if(a!=null)if(m(a.tag)){var f=l.parentNode(a.elm);l.removeChild(f,a.elm)}else l.removeChild(t,a.elm)}}function B(t,r){var e,i=r.elm,a=t&&t.attrs||{},f=r.attrs||{};if(a!==f){for(e in f){var s=f[e],u=a[e];u!==s&&(s===!0?i.setAttribute(e,""):s===!1?i.removeAttribute(e):e==="style"?i.style.cssText=s:e.charCodeAt(0)!==L?i.setAttribute(e,s):e==="xmlns:xlink"||e==="xmlns"?i.setAttributeNS(M,e,s):e.charCodeAt(3)===T?i.setAttributeNS(O,e,s):e.charCodeAt(5)===T?i.setAttributeNS(D,e,s):i.setAttribute(e,s))}for(e in a)e in f||i.removeAttribute(e)}}function P(t,r,e){for(var i=0,a=0,f=r.length-1,s=r[0],u=r[f],p=e.length-1,n=e[0],x=e[p],y,g,A,b;i<=f&&a<=p;)s==null?s=r[++i]:u==null?u=r[--f]:n==null?n=e[++a]:x==null?x=e[--p]:o(s,n)?(v(s,n),s=r[++i],n=e[++a]):o(u,x)?(v(u,x),u=r[--f],x=e[--p]):o(s,x)?(v(s,x),l.insertBefore(t,s.elm,l.nextSibling(u.elm)),s=r[++i],x=e[--p]):o(u,n)?(v(u,n),l.insertBefore(t,u.elm,s.elm),u=r[--f],n=e[++a]):(S(y)&&(y=j(r,i,f)),g=y[n.key],S(g)?l.insertBefore(t,c(n),s.elm):(A=r[g],A.tag!==n.tag?l.insertBefore(t,c(n),s.elm):(v(A,n),r[g]=void 0,l.insertBefore(t,A.elm,s.elm))),n=e[++a]);(i<=f||a<=p)&&(i>f?(b=e[p+1]==null?null:e[p+1].elm,k(t,b,e,a,p)):N(t,r,i,f))}function v(t,r){var e=r.elm=t.elm,i=t.children,a=r.children;t!==r&&(B(t,r),S(r.text)?m(i)&&m(a)?i!==a&&P(e,i,a):m(a)?(m(t.text)&&l.setTextContent(e,""),k(e,null,a,0,a.length-1)):m(i)?N(e,i,0,i.length-1):m(t.text)&&l.setTextContent(e,""):t.text!==r.text&&(m(i)&&N(e,i,0,i.length-1),l.setTextContent(e,r.text)))}function U(t,r){if(o(t,r))v(t,r);else{var e=t.elm,i=l.parentNode(e);c(r),i!==null&&(l.insertBefore(i,r.elm,l.nextSibling(e)),N(i,[t],0,0))}return r}export{U as default,B as updateAttrs};
|
|
3
|
+
//# sourceMappingURL=patch.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/tool/color */
|
|
2
|
+
import H from"../core/LRU.mjs";import{extend as j,isFunction as k,isGradientObject as B,isString as G,map as N}from"../core/util.mjs";var L={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function d(n){return n=Math.round(n),n<0?0:n>255?255:n}function U(n){return n=Math.round(n),n<0?0:n>360?360:n}function x(n){return n<0?0:n>1?1:n}function w(n){var e=n;return e.length&&e.charAt(e.length-1)==="%"?d(parseFloat(e)/100*255):d(parseInt(e,10))}function v(n){var e=n;return e.length&&e.charAt(e.length-1)==="%"?x(parseFloat(e)/100):x(parseFloat(e))}function M(n,e,t){return t<0?t+=1:t>1&&(t-=1),t*6<1?n+(e-n)*t*6:t*2<1?e:t*3<2?n+(e-n)*(2/3-t)*6:n}function h(n,e,t){return n+(e-n)*t}function s(n,e,t,r,i){return n[0]=e,n[1]=t,n[2]=r,n[3]=i,n}function b(n,e){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n[3]=e[3],n}var O=new H(20),y=null;function c(n,e){y&&b(y,e),y=O.put(n,y||e.slice())}function g(n,e){if(n){e=e||[];var t=O.get(n);if(t)return b(e,t);n=n+"";var r=n.replace(/ /g,"").toLowerCase();if(r in L)return b(e,L[r]),c(n,e),e;var i=r.length;if(r.charAt(0)==="#"){if(i===4||i===5){var l=parseInt(r.slice(1,4),16);if(!(l>=0&&l<=4095)){s(e,0,0,0,1);return}return s(e,(l&3840)>>4|(l&3840)>>8,l&240|(l&240)>>4,l&15|(l&15)<<4,i===5?parseInt(r.slice(4),16)/15:1),c(n,e),e}else if(i===7||i===9){var l=parseInt(r.slice(1,7),16);if(!(l>=0&&l<=16777215)){s(e,0,0,0,1);return}return s(e,(l&16711680)>>16,(l&65280)>>8,l&255,i===9?parseInt(r.slice(7),16)/255:1),c(n,e),e}return}var a=r.indexOf("("),o=r.indexOf(")");if(a!==-1&&o+1===i){var f=r.substr(0,a),u=r.substr(a+1,o-(a+1)).split(","),p=1;switch(f){case"rgba":if(u.length!==4)return u.length===3?s(e,+u[0],+u[1],+u[2],1):s(e,0,0,0,1);p=v(u.pop());case"rgb":if(u.length>=3)return s(e,w(u[0]),w(u[1]),w(u[2]),u.length===3?p:v(u[3])),c(n,e),e;s(e,0,0,0,1);return;case"hsla":if(u.length!==4){s(e,0,0,0,1);return}return u[3]=v(u[3]),I(u,e),c(n,e),e;case"hsl":if(u.length!==3){s(e,0,0,0,1);return}return I(u,e),c(n,e),e;default:return}}s(e,0,0,0,1)}}function I(n,e){var t=(parseFloat(n[0])%360+360)%360/360,r=v(n[1]),i=v(n[2]),l=i<=.5?i*(r+1):i+r-i*r,a=i*2-l;return e=e||[],s(e,d(M(a,l,t+1/3)*255),d(M(a,l,t)*255),d(M(a,l,t-1/3)*255),1),n.length===4&&(e[3]=n[3]),e}function D(n){if(n){var e=n[0]/255,t=n[1]/255,r=n[2]/255,i=Math.min(e,t,r),l=Math.max(e,t,r),a=l-i,o=(l+i)/2,f,u;if(a===0)f=0,u=0;else{o<.5?u=a/(l+i):u=a/(2-l-i);var p=((l-e)/6+a/2)/a,C=((l-t)/6+a/2)/a,q=((l-r)/6+a/2)/a;e===l?f=q-C:t===l?f=1/3+p-q:r===l&&(f=2/3+C-p),f<0&&(f+=1),f>1&&(f-=1)}var F=[f*360,u,o];return n[3]!=null&&F.push(n[3]),F}}function R(n,e){var t=g(n);if(t){for(var r=0;r<3;r++)e<0?t[r]=t[r]*(1-e)|0:t[r]=(255-t[r])*e+t[r]|0,t[r]>255?t[r]=255:t[r]<0&&(t[r]=0);return m(t,t.length===4?"rgba":"rgb")}}function Q(n){var e=g(n);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function E(n,e,t){if(!(!(e&&e.length)||!(n>=0&&n<=1))){t=t||[];var r=n*(e.length-1),i=Math.floor(r),l=Math.ceil(r),a=e[i],o=e[l],f=r-i;return t[0]=d(h(a[0],o[0],f)),t[1]=d(h(a[1],o[1],f)),t[2]=d(h(a[2],o[2],f)),t[3]=x(h(a[3],o[3],f)),t}}var W=E;function J(n,e,t){if(!(!(e&&e.length)||!(n>=0&&n<=1))){var r=n*(e.length-1),i=Math.floor(r),l=Math.ceil(r),a=g(e[i]),o=g(e[l]),f=r-i,u=m([d(h(a[0],o[0],f)),d(h(a[1],o[1],f)),d(h(a[2],o[2],f)),x(h(a[3],o[3],f))],"rgba");return t?{color:u,leftIndex:i,rightIndex:l,value:r}:u}}var X=J;function Y(n,e,t,r){var i=g(n);if(n)return i=D(i),e!=null&&(i[0]=U(k(e)?e(i[0]):e)),t!=null&&(i[1]=v(k(t)?t(i[1]):t)),r!=null&&(i[2]=v(k(r)?r(i[2]):r)),m(I(i),"rgba")}function Z(n,e){var t=g(n);if(t&&e!=null)return t[3]=x(e),m(t,"rgba")}function m(n,e){if(!(!n||!n.length)){var t=n[0]+","+n[1]+","+n[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(t+=","+n[3]),e+"("+t+")"}}function _(n,e){var t=g(n);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}function $(){return m([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}var T=new H(100);function S(n){if(G(n)){var e=T.get(n);return e||(e=R(n,-.1),T.put(n,e)),e}else if(B(n)){var t=j({},n);return t.colorStops=N(n.colorStops,function(r){return{offset:r.offset,color:R(r.color,-.1)}}),t}return n}export{E as fastLerp,W as fastMapToColor,J as lerp,R as lift,S as liftColor,_ as lum,X as mapToColor,Z as modifyAlpha,Y as modifyHSL,g as parse,v as parseCssFloat,w as parseCssInt,$ as random,m as stringify,Q as toHex};
|
|
3
|
+
//# sourceMappingURL=color.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/tool/convertPath */
|
|
2
|
+
import{cubicSubdivide as z}from"../core/curve.mjs";import y from"../core/PathProxy.mjs";var C=y.CMD;function R(d,a){return Math.abs(d-a)<1e-5}function l(d){var a=d.data,m=d.len(),b=[],f,v=0,h=0,t=0,u=0;function M(q,P){f&&f.length>2&&b.push(f),f=[q,P]}function c(q,P,B,G){R(q,B)&&R(P,G)||f.push(q,P,B,G,B,G)}function E(q,P,B,G,Y,Z){var i=Math.abs(P-q),H=Math.tan(i/4)*4/3,J=P<q?-1:1,K=Math.cos(q),O=Math.sin(q),U=Math.cos(P),V=Math.sin(P),x=K*Y+B,g=O*Z+G,W=U*Y+B,$=V*Z+G,k=Y*H*J,F=Z*H*J;f.push(x-k*O,g+F*K,W+k*V,$-F*U,W,$)}for(var p,o,L,n,r=0;r<m;){var I=a[r++],N=r===1;switch(N&&(v=a[r],h=a[r+1],t=v,u=h,(I===C.L||I===C.C||I===C.Q)&&(f=[t,u])),I){case C.M:v=t=a[r++],h=u=a[r++],M(t,u);break;case C.L:p=a[r++],o=a[r++],c(v,h,p,o),v=p,h=o;break;case C.C:f.push(a[r++],a[r++],a[r++],a[r++],v=a[r++],h=a[r++]);break;case C.Q:p=a[r++],o=a[r++],L=a[r++],n=a[r++],f.push(v+2/3*(p-v),h+2/3*(o-h),L+2/3*(p-L),n+2/3*(o-n),L,n),v=L,h=n;break;case C.A:var Q=a[r++],X=a[r++],D=a[r++],T=a[r++],_=a[r++],e=a[r++]+_;r+=1;var s=!a[r++];p=Math.cos(_)*D+Q,o=Math.sin(_)*T+X,N?(t=p,u=o,M(t,u)):c(v,h,p,o),v=Math.cos(e)*D+Q,h=Math.sin(e)*T+X;for(var S=(s?-1:1)*Math.PI/2,j=_;s?j>e:j<e;j+=S){var A=s?Math.max(j+S,e):Math.min(j+S,e);E(j,A,Q,X,D,T)}break;case C.R:t=v=a[r++],u=h=a[r++],p=t+a[r++],o=u+a[r++],M(p,u),c(p,u,p,o),c(p,o,t,o),c(t,o,t,u),c(t,u,p,u);break;case C.Z:f&&c(v,h,t,u),v=t,h=u;break}}return f&&f.length>2&&b.push(f),b}function w(d,a,m,b,f,v,h,t,u,M){if(R(d,m)&&R(a,b)&&R(f,h)&&R(v,t)){u.push(h,t);return}var c=2/M,E=c*c,p=h-d,o=t-a,L=Math.sqrt(p*p+o*o);p/=L,o/=L;var n=m-d,r=b-a,I=f-h,N=v-t,Q=n*n+r*r,X=I*I+N*N;if(Q<E&&X<E){u.push(h,t);return}var D=p*n+o*r,T=-p*I-o*N,_=Q-D*D,e=X-T*T;if(_<E&&D>=0&&e<E&&T>=0){u.push(h,t);return}var s=[],S=[];z(d,m,f,h,.5,s),z(a,b,v,t,.5,S),w(s[0],S[0],s[1],S[1],s[2],S[2],s[3],S[3],u,M),w(s[4],S[4],s[5],S[5],s[6],S[6],s[7],S[7],u,M)}function va(d,a){var m=l(d),b=[];a=a||1;for(var f=0;f<m.length;f++){var v=m[f],h=[],t=v[0],u=v[1];h.push(t,u);for(var M=2;M<v.length;){var c=v[M++],E=v[M++],p=v[M++],o=v[M++],L=v[M++],n=v[M++];w(t,u,c,E,p,o,L,n,h,a),t=L,u=n}b.push(h)}return b}export{l as pathToBezierCurves,va as pathToPolygons};
|
|
3
|
+
//# sourceMappingURL=convertPath.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* esm.sh - zrender@6.0.0/lib/tool/dividePath */
|
|
2
|
+
import{fromPoints as L}from"../core/bbox.mjs";import q from"../core/BoundingRect.mjs";import P from"../core/Point.mjs";import{map as p}from"../core/util.mjs";import I from"../graphic/shape/Polygon.mjs";import O from"../graphic/shape/Rect.mjs";import R from"../graphic/shape/Sector.mjs";import{pathToPolygons as B}from"./convertPath.mjs";import{clonePath as C}from"./path.mjs";function T(r,t,v){var n=r[t],e=r[1-t],a=Math.abs(n/e),d=Math.ceil(Math.sqrt(a*v)),l=Math.floor(v/d);l===0&&(l=1,d=v);for(var s=[],i=0;i<d;i++)s.push(l);var f=d*l,h=v-f;if(h>0)for(var i=0;i<h;i++)s[i%d]+=1;return s}function k(r,t,v){for(var n=r.r0,e=r.r,a=r.startAngle,d=r.endAngle,l=Math.abs(d-a),s=l*e,i=e-n,f=s>Math.abs(i),h=T([s,i],f?0:1,t),g=(f?l:i)/h.length,u=0;u<h.length;u++)for(var x=(f?i:l)/h[u],o=0;o<h[u];o++){var y={};f?(y.startAngle=a+g*u,y.endAngle=a+g*(u+1),y.r0=n+x*o,y.r=n+x*(o+1)):(y.startAngle=a+x*o,y.endAngle=a+x*(o+1),y.r0=n+g*u,y.r=n+g*(u+1)),y.clockwise=r.clockwise,y.cx=r.cx,y.cy=r.cy,v.push(y)}}function G(r,t,v){for(var n=r.width,e=r.height,a=n>e,d=T([n,e],a?0:1,t),l=a?"width":"height",s=a?"height":"width",i=a?"x":"y",f=a?"y":"x",h=r[l]/d.length,g=0;g<d.length;g++)for(var u=r[s]/d[g],x=0;x<d[g];x++){var o={};o[i]=g*h,o[f]=x*u,o[l]=h,o[s]=u,o.x+=r.x,o.y+=r.y,v.push(o)}}function D(r,t,v,n){return r*n-v*t}function H(r,t,v,n,e,a,d,l){var s=v-r,i=n-t,f=d-e,h=l-a,g=D(f,h,s,i);if(Math.abs(g)<1e-6)return null;var u=r-e,x=t-a,o=D(u,x,f,h)/g;return o<0||o>1?null:new P(o*s+r,o*i+t)}function U(r,t,v){var n=new P;P.sub(n,v,t),n.normalize();var e=new P;P.sub(e,r,t);var a=e.dot(n);return a}function m(r,t){var v=r[r.length-1];v&&v[0]===t[0]&&v[1]===t[1]||r.push(t)}function E(r,t,v){for(var n=r.length,e=[],a=0;a<n;a++){var d=r[a],l=r[(a+1)%n],s=H(d[0],d[1],l[0],l[1],t.x,t.y,v.x,v.y);s&&e.push({projPt:U(s,t,v),pt:s,idx:a})}if(e.length<2)return[{points:r},{points:r}];e.sort(function(y,c){return y.projPt-c.projPt});var i=e[0],f=e[e.length-1];if(f.idx<i.idx){var h=i;i=f,f=h}for(var g=[i.pt.x,i.pt.y],u=[f.pt.x,f.pt.y],x=[g],o=[u],a=i.idx+1;a<=f.idx;a++)m(x,r[a].slice());m(x,u),m(x,g);for(var a=f.idx+1;a<=i.idx+n;a++)m(o,r[a%n].slice());return m(o,g),m(o,u),[{points:x},{points:o}]}function j(r){var t=r.points,v=[],n=[];L(t,v,n);var e=new q(v[0],v[1],n[0]-v[0],n[1]-v[1]),a=e.width,d=e.height,l=e.x,s=e.y,i=new P,f=new P;return a>d?(i.x=f.x=l+a/2,i.y=s,f.y=s+d):(i.y=f.y=s+d/2,i.x=l,f.x=l+a),E(t,i,f)}function b(r,t,v,n){if(v===1)n.push(t);else{var e=Math.floor(v/2),a=r(t);b(r,a[0],e,n),b(r,a[1],v-e,n)}return n}function F(r,t){for(var v=[],n=0;n<t;n++)v.push(C(r));return v}function J(r,t){t.setStyle(r.style),t.z=r.z,t.z2=r.z2,t.zlevel=r.zlevel}function K(r){for(var t=[],v=0;v<r.length;)t.push([r[v++],r[v++]]);return t}function w(r,t){var v=[],n=r.shape,e;switch(r.type){case"rect":G(n,t,v),e=O;break;case"sector":k(n,t,v),e=R;break;case"circle":k({r0:0,r:n.r,startAngle:0,endAngle:Math.PI*2,cx:n.cx,cy:n.cy},t,v),e=R;break;default:var a=r.getComputedTransform(),d=a?Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])):1,l=p(B(r.getUpdatedPathProxy(),d),function(c){return K(c)}),s=l.length;if(s===0)b(j,{points:l[0]},t,v);else if(s===t)for(var i=0;i<s;i++)v.push({points:l[i]});else{var f=0,h=p(l,function(c){var M=[],A=[];L(c,M,A);var z=(A[1]-M[1])*(A[0]-M[0]);return f+=z,{poly:c,area:z}});h.sort(function(c,M){return M.area-c.area});for(var g=t,i=0;i<s;i++){var u=h[i];if(g<=0)break;var x=i===s-1?g:Math.ceil(u.area/f*t);x<0||(b(j,{points:u.poly},x,v),g-=x)}}e=I;break}if(!e)return F(r,t);for(var o=[],i=0;i<v.length;i++){var y=new e;y.setShape(v[i]),J(r,y),o.push(y)}return o}export{F as clone,w as split};
|
|
3
|
+
//# sourceMappingURL=dividePath.mjs.map
|