NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/component/build/component.js.map
2023-09-14 14:47:11 +08:00

1 line
910 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"file":"component.js","sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap 0afd93223f0fee63cab9","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/util/index.js","webpack:///./src/util.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/each.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-array.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/shape.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-function.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-type.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-nil.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-array-like.js","webpack:///./src/const.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-number.js","webpack:///./src/guide/base.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-string.js","webpack:///./node_modules/_d3-color@1.4.0@d3-color/src/index.js","webpack:///./src/axis/base.js","webpack:///./src/component.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-plain-object.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/mix.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/to-string.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/util/format.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/color.js","webpack:///./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/base.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/to-array.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/line.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/arc.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/util/arrow.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/util/path-segment.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/number.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/contains.js","webpack:///./src/base.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-object.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/clone.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/deep-mix.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-object-like.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/is-equal.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/clamp.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/mat3.js","webpack:///./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/common.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/util/inside.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/cubic.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/marker.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/util/path.js","webpack:///./node_modules/_d3-timer@1.0.10@d3-timer/src/timer.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/value.js","webpack:///./node_modules/_d3-color@1.4.0@d3-color/src/color.js","webpack:///./node_modules/_d3-color@1.4.0@d3-color/src/define.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/basis.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/filter.js","webpack:///./src/legend/continuous.js","webpack:///./src/tooltip/base.js","webpack:///./node_modules/_wolfy87-eventemitter@5.1.0@wolfy87-eventemitter/EventEmitter.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/util/common.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-boolean.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/is-empty.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/get-type.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-prototype.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/unique-id.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/upper-first.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/extend.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/augment.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/pull.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-number-equal.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/to-radian.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/to-degree.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/mod.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/create-dom.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/modify-css.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/request-animation-frame.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/vec2.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/vec3.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/transform.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/event.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/group.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/element.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/quadratic.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/ellipse.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/arc.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/circle.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/dom.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/ellipse.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/fan.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/image.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/line.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/path.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/polygon.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/polyline.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/rect.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/text.js","webpack:///./node_modules/_d3-color@1.4.0@d3-color/src/math.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/rgb.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/basisClosed.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/constant.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/array.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/date.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/object.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/string.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/is-match.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/keys.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/pull-at.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/uniq.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/to-integer.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/has.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/values.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/rect-path.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/parse-path-array.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/path2curve.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/path2absolute.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/parse-path-string.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/catmull-rom2bezier.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/lower-case.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/upper-case.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/group-to-map.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/group-by.js","webpack:///./src/axis/grid.js","webpack:///./src/label/base.js","webpack:///./src/label/utils/greedy.js","webpack:///./src/guide/util/helper.js","webpack:///./src/legend/category.js","webpack:///./src/legend/base.js","webpack:///./src/legend/cat-html.js","webpack:///./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/color-util.js","webpack:///./src/tooltip/crosshair.js","webpack:///./src/tooltip/mixin/position.js","webpack:///./src/tooltip/mixin/marker-group.js","webpack:///./src/tooltip/canvas.js","webpack:///./src/index.js","webpack:///./src/axis/index.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/canvas.js","webpack:///./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js","webpack:///./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js","webpack:///./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/attribute.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/transform.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/animation.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/index.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/isPointInPath.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/timeline.js","webpack:///./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js","webpack:///./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js","webpack:///./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/index.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/linear.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/quad.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/cubic.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/poly.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/sin.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/exp.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/circle.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/bounce.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/back.js","webpack:///./node_modules/_d3-ease@1.0.6@d3-ease/src/elastic.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/index.js","webpack:///./node_modules/_d3-color@1.4.0@d3-color/src/lab.js","webpack:///./node_modules/_d3-color@1.4.0@d3-color/src/cubehelix.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/round.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/transform/index.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/transform/parse.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/transform/decompose.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/zoom.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/hsl.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/lab.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/hcl.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/cubehelix.js","webpack:///./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/quantize.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/index.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/canvas/index.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/canvas/painter.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/canvas/util.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/index.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/painter.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/gradient.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/shadow.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/arrow.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/clip.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/pattern.js","webpack:///./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/getShape.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/add-event-listener.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-bounding-client-rect.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-height.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-outer-height.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-outer-width.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-ratio.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-style.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-width.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/difference.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/find.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/first-value.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/flatten.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/flatten-deep.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/get-range.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/merge.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/reduce.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/remove.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/sort-by.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/union.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/values-of-key.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/event/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/event/get-wrap-behavior.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/event/wrap-behavior.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/format/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/format/number2color.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/format/parse-path.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/format/parse-radius.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/fixed-base.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-decimal.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-even.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-integer.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-negative.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-odd.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-positive.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/max-by.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/min-by.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/for-in.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/has-key.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/has-value.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/path-intersection.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/fill-path.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/fill-path-by-diff.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/is-segment-equal.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/format-path.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/lc.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/lower-first.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/substitute.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/uc.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/index.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-null.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-undefined.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-reg-exp.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-date.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-arguments.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-error.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/debounce.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/group.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/index-of.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/is-equal-with.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/map.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/pick.js","webpack:///./node_modules/_@antv_util@1.3.1@@antv/util/lib/throttle.js","webpack:///./src/label/utils/position-adjust.js","webpack:///./src/label/utils/spiral-adjust.js","webpack:///./src/label/utils/bbox-adjust.js","webpack:///./src/axis/circle.js","webpack:///./src/axis/helix.js","webpack:///./src/axis/line.js","webpack:///./src/axis/polyline.js","webpack:///./src/guide/index.js","webpack:///./src/guide/arc.js","webpack:///./src/guide/data-marker.js","webpack:///./src/guide/data-region.js","webpack:///./src/guide/html.js","webpack:///./src/guide/image.js","webpack:///./src/guide/line.js","webpack:///./src/guide/region.js","webpack:///./src/guide/text.js","webpack:///./src/label/index.js","webpack:///./src/legend/index.js","webpack:///./src/legend/cat-page-html.js","webpack:///./src/legend/color.js","webpack:///./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/index.js","webpack:///./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/position.js","webpack:///./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/color.js","webpack:///./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/shape.js","webpack:///./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/size.js","webpack:///./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/opacity.js","webpack:///./src/legend/slider.js","webpack:///./src/legend/size.js","webpack:///./src/legend/size-circle.js","webpack:///./src/tooltip/index.js","webpack:///./src/tooltip/html.js","webpack:///./src/tooltip/theme.js","webpack:///./src/tooltip/mini.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"component\"] = factory();\n\telse\n\t\troot[\"component\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 126);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 0afd93223f0fee63cab9","var CommonUtil = require('./common');\n\nvar Util = {};\nCommonUtil.merge(Util, CommonUtil, {\n mixin: function mixin(c, mixins) {\n var Param = c.CFG ? 'CFG' : 'ATTRS';\n\n if (c && mixins) {\n c._mixins = mixins;\n c[Param] = c[Param] || {};\n var temp = {};\n Util.each(mixins, function (mixin) {\n Util.augment(c, mixin);\n var attrs = mixin[Param];\n\n if (attrs) {\n Util.merge(temp, attrs);\n }\n });\n c[Param] = Util.merge(temp, c[Param]);\n }\n }\n});\nmodule.exports = Util;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/util/index.js\n// module id = 0\n// module chunks = 0","/**\n * @fileOverview The util method based on the lodash.\n * @author dxq613@gmail.com\n */\nvar G = require('@antv/g/lib');\n\nvar Utils = require('@antv/util/lib');\n\nvar Util = Utils.mix({\n assign: Utils.mix,\n isFinite: isFinite,\n isNaN: isNaN,\n Group: G.Group,\n Event: G.Event\n}, Utils);\nmodule.exports = Util;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/util.js\n// module id = 1\n// module chunks = 0","var isObject = require('./type/is-object');\n\nvar isArray = require('./type/is-array');\n\nvar each = function each(elements, func) {\n if (!elements) {\n return;\n }\n\n var rst = void 0;\n\n if (isArray(elements)) {\n for (var i = 0, len = elements.length; i < len; i++) {\n rst = func(elements[i], i);\n\n if (rst === false) {\n break;\n }\n }\n } else if (isObject(elements)) {\n for (var k in elements) {\n if (elements.hasOwnProperty(k)) {\n rst = func(elements[k], k);\n\n if (rst === false) {\n break;\n }\n }\n }\n }\n};\n\nmodule.exports = each;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/each.js\n// module id = 2\n// module chunks = 0","var isType = require('./is-type');\n\nvar isArray = Array.isArray ? Array.isArray : function (value) {\n return isType(value, 'Array');\n};\nmodule.exports = isArray;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-array.js\n// module id = 3\n// module chunks = 0","var Util = require('../util/index');\n\nvar isPointInPath = require('./mixin/isPointInPath');\n\nvar Element = require('./element');\n\nvar Inside = require('../shapes/util/inside');\n\nvar Shape = function Shape(cfg) {\n Shape.superclass.constructor.call(this, cfg);\n};\n\nShape.ATTRS = {};\nUtil.extend(Shape, Element);\nvar ARRAY_ATTRS = {\n matrix: 'matrix',\n path: 'path',\n points: 'points',\n lineDash: 'lineDash'\n};\n\nfunction _cloneArrayAttr(arr) {\n var result = [];\n\n for (var i = 0; i < arr.length; i++) {\n if (Util.isArray(arr[i])) {\n result.push([].concat(arr[i]));\n } else {\n result.push(arr[i]);\n }\n }\n\n return result;\n}\n\nUtil.augment(Shape, isPointInPath, {\n isShape: true,\n drawInner: function drawInner(context) {\n var self = this;\n var attrs = self._attrs;\n self.createPath(context);\n var originOpacity = context.globalAlpha;\n\n if (self.hasFill()) {\n var fillOpacity = attrs.fillOpacity;\n\n if (!Util.isNil(fillOpacity) && fillOpacity !== 1) {\n context.globalAlpha = fillOpacity;\n context.fill();\n context.globalAlpha = originOpacity;\n } else {\n context.fill();\n }\n }\n\n if (self.hasStroke()) {\n var lineWidth = self._attrs.lineWidth;\n\n if (lineWidth > 0) {\n var strokeOpacity = attrs.strokeOpacity;\n\n if (!Util.isNil(strokeOpacity) && strokeOpacity !== 1) {\n context.globalAlpha = strokeOpacity;\n }\n\n context.stroke();\n }\n }\n\n self.afterPath(context);\n },\n afterPath: function afterPath() {},\n\n /**\n * 击中图形时是否进行包围盒判断\n * @return {Boolean} [description]\n */\n isHitBox: function isHitBox() {\n return true;\n },\n\n /**\n * 节点是否能够被击中\n * @param {Number} x x坐标\n * @param {Number} y y坐标\n * @return {Boolean} 是否在图形中\n */\n isHit: function isHit(x, y) {\n var self = this;\n var v = [x, y, 1];\n self.invert(v); // canvas\n\n if (self.isHitBox()) {\n var box = self.getBBox();\n\n if (box && !Inside.box(box.minX, box.maxX, box.minY, box.maxY, v[0], v[1])) {\n return false;\n }\n }\n\n var clip = self._attrs.clip;\n\n if (clip) {\n clip.invert(v, self.get('canvas'));\n\n if (clip.isPointInPath(v[0], v[1])) {\n return self.isPointInPath(v[0], v[1]);\n }\n } else {\n return self.isPointInPath(v[0], v[1]);\n }\n\n return false;\n },\n\n /**\n * @protected\n * 计算包围盒\n * @return {Object} 包围盒\n */\n calculateBox: function calculateBox() {\n return null;\n },\n // 获取拾取时线的宽度,需要考虑附加的线的宽度\n getHitLineWidth: function getHitLineWidth() {\n var attrs = this._attrs; // if (!attrs.stroke) {\n // return 0;\n // }\n\n var lineAppendWidth = attrs.lineAppendWidth || 0;\n var lineWidth = attrs.lineWidth || 0;\n return lineWidth + lineAppendWidth;\n },\n // 清除当前的矩阵\n clearTotalMatrix: function clearTotalMatrix() {\n this._cfg.totalMatrix = null;\n this._cfg.region = null;\n },\n clearBBox: function clearBBox() {\n this._cfg.box = null;\n this._cfg.region = null;\n },\n getBBox: function getBBox() {\n var box = this._cfg.box; // 延迟计算\n\n if (!box) {\n box = this.calculateBox();\n\n if (box) {\n box.x = box.minX;\n box.y = box.minY;\n box.width = box.maxX - box.minX;\n box.height = box.maxY - box.minY;\n }\n\n this._cfg.box = box;\n }\n\n return box;\n },\n clone: function clone() {\n var self = this;\n var clone = null;\n var _attrs = self._attrs;\n var attrs = {};\n Util.each(_attrs, function (i, k) {\n if (ARRAY_ATTRS[k] && Util.isArray(_attrs[k])) {\n attrs[k] = _cloneArrayAttr(_attrs[k]);\n } else {\n attrs[k] = _attrs[k];\n }\n });\n clone = new self.constructor({\n attrs: attrs\n }); // zIndex也是绘图属性但是在cfg中特殊处理\n\n clone._cfg.zIndex = self._cfg.zIndex;\n return clone;\n }\n});\nmodule.exports = Shape;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/shape.js\n// module id = 4\n// module chunks = 0","/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\nvar isType = require('./is-type');\n\nvar isFunction = function isFunction(value) {\n return isType(value, 'Function');\n};\n\nmodule.exports = isFunction;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-function.js\n// module id = 5\n// module chunks = 0","var toString = {}.toString;\n\nvar isType = function isType(value, type) {\n return toString.call(value) === '[object ' + type + ']';\n};\n\nmodule.exports = isType;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-type.js\n// module id = 6\n// module chunks = 0","// isFinite,\nvar isNil = function isNil(value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\n\nmodule.exports = isNil;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-nil.js\n// module id = 7\n// module chunks = 0","var isArrayLike = function isArrayLike(value) {\n /**\n * isArrayLike([1, 2, 3]) => true\n * isArrayLike(document.body.children) => true\n * isArrayLike('abc') => true\n * isArrayLike(Function) => false\n */\n return value !== null && typeof value !== 'function' && isFinite(value.length);\n};\n\nmodule.exports = isArrayLike;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-array-like.js\n// module id = 8\n// module chunks = 0","module.exports = {\n FONT_FAMILY: '\"-apple-system\", BlinkMacSystemFont, \"Segoe UI\", Roboto,\"Helvetica Neue\", Helvetica, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\",SimSun, \"sans-serif\"'\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/const.js\n// module id = 9\n// module chunks = 0","/**\n * 判断是否数字\n * @return {Boolean} 是否数字\n */\nvar isType = require('./is-type');\n\nvar isNumber = function isNumber(value) {\n return isType(value, 'Number');\n};\n\nmodule.exports = isNumber;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-number.js\n// module id = 10\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Helper = require('./util/helper');\n\nvar Component = require('../component');\n\nvar KEYWORDS = ['min', 'max', 'median', 'start', 'end'];\n\nvar Guide = /*#__PURE__*/function (_Component) {\n _inheritsLoose(Guide, _Component);\n\n var _super = _createSuper(Guide);\n\n function Guide() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = Guide.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Component.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n xScales: null,\n yScales: null,\n el: null\n });\n };\n\n _proto.render = function render() {}\n /**\n * clear container\n * @override\n */\n ;\n\n _proto.clear = function clear() {\n var self = this;\n var el = self.get('el');\n el && el.remove();\n this.set('el', null);\n };\n\n _proto.destroy = function destroy() {\n this.clear();\n\n _Component.prototype.destroy.call(this);\n }\n /**\n * show or hide\n * @protected\n * @param {Boolean} visible true means show, false means hide\n */\n ;\n\n _proto.changeVisible = function changeVisible(visible) {\n var self = this;\n self.set('visible', visible);\n var el = self.get('el');\n if (!el) return;\n\n if (el.set) {\n el.set('visible', visible);\n } else {\n el.style.display = visible ? '' : 'none';\n }\n }\n /**\n * calculate the canvas coordinate value\n * @protected\n * @param {Coordinate} coord the instance of Coordinate class\n * @param {Object | Array | Function} position the value need to convert\n * @return {Object} return the result\n */\n ;\n\n _proto.parsePoint = function parsePoint(coord, position) {\n var self = this;\n var xScales = self.get('xScales');\n var yScales = self.get('yScales');\n\n if (Util.isFunction(position)) {\n position = position(xScales, yScales);\n }\n\n var x;\n var y; // 如果数据格式是 ['50%', '50%'] 的格式\n\n if (Util.isArray(position) && Util.isString(position[0]) && position[0].indexOf('%') !== -1) {\n return this._parsePercentPoint(coord, position);\n }\n\n if (Util.isArray(position)) {\n // Arraysuuport for mixing of keyword, percent and value\n x = self._getNormalizedValue(position[0], Helper.getFirstScale(xScales));\n y = self._getNormalizedValue(position[1], Helper.getFirstScale(yScales));\n } else {\n for (var field in position) {\n var value = position[field];\n\n if (xScales[field]) {\n x = self._getNormalizedValue(value, xScales[field]);\n }\n\n if (yScales[field]) {\n y = self._getNormalizedValue(value, yScales[field], 'y');\n }\n }\n }\n\n if (!Util.isNil(x) && !Util.isNil(y) && !isNaN(x) && !isNaN(y)) {\n return coord.convert({\n x: x,\n y: y\n });\n }\n\n return null;\n }\n /**\n * Normalized the value\n * @param {String | Number} val param\n * @param {Scale} scale the instance of Scale\n * @return {Number} return the normalized value\n */\n ;\n\n _proto._getNormalizedValue = function _getNormalizedValue(val, scale) {\n var result;\n\n if (Util.indexOf(KEYWORDS, val) !== -1) {\n // keyword\n var scaleValue;\n\n if (val === 'start') {\n // the start of coordinate\n result = 0;\n } else if (val === 'end') {\n result = 1;\n } else if (val === 'median') {\n scaleValue = scale.isCategory ? (scale.values.length - 1) / 2 : (scale.min + scale.max) / 2;\n result = scale.scale(scaleValue);\n } else {\n if (scale.isCategory) {\n scaleValue = val === 'min' ? 0 : scale.values.length - 1;\n } else {\n scaleValue = scale[val];\n }\n\n result = scale.scale(scaleValue);\n }\n } else {\n // 数值\n result = scale.scale(val);\n }\n\n return result;\n };\n\n _proto._parsePercentPoint = function _parsePercentPoint(coord, position) {\n var xPercent = parseFloat(position[0]) / 100;\n var yPercent = parseFloat(position[1]) / 100;\n var start = coord.start,\n end = coord.end;\n var topLeft = {\n x: Math.min(start.x, end.x),\n y: Math.min(start.y, end.y)\n };\n var x = coord.width * xPercent + topLeft.x;\n var y = coord.height * yPercent + topLeft.y;\n return {\n x: x,\n y: y\n };\n };\n\n return Guide;\n}(Component);\n\nmodule.exports = Guide;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/base.js\n// module id = 11\n// module chunks = 0","var isType = require('./is-type');\n\nvar isString = function isString(str) {\n return isType(str, 'String');\n};\n\nmodule.exports = isString;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-string.js\n// module id = 12\n// module chunks = 0","export { default as color, rgb, hsl } from \"./color.js\";\nexport { default as lab, hcl, lch, gray } from \"./lab.js\";\nexport { default as cubehelix } from \"./cubehelix.js\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-color@1.4.0@d3-color/src/index.js\n// module id = 13\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Component = require('../component');\n\nvar Util = require('../util');\n\nvar Grid = require('./grid');\n\nvar Label = require('../label/base');\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY;\n\nvar Axis = /*#__PURE__*/function (_Component) {\n _inheritsLoose(Axis, _Component);\n\n var _super = _createSuper(Axis);\n\n function Axis() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = Axis.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Component.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 用于动画,唯一标识的 id\n * @type {[type]}\n */\n _id: null,\n zIndex: 4,\n\n /**\n * 坐标轴上的坐标点\n * @type {Array}\n */\n ticks: null,\n\n /**\n * 坐标轴线的配置信息如果设置成null则不显示轴线\n * @type {Object}\n */\n line: null,\n\n /**\n * 坐标轴刻度线的配置,如果设置成null则不显示刻度线\n * @type {Object}\n */\n tickLine: null,\n\n /**\n * 次刻度线个数配置\n * @type {Number}\n */\n subTickCount: 0,\n\n /**\n * 次刻度线样式配置\n * @type {Object}\n */\n subTickLine: null,\n\n /**\n * 网格线配置,如果值为 null则不显示\n * @type {Object}\n */\n grid: null,\n\n /**\n * 坐标轴文本配置\n * @type {Object}\n */\n label: {\n offset: 0,\n offsetX: 0,\n offsetY: 0,\n textStyle: {},\n // 坐标轴文本样式\n autoRotate: true,\n autoHide: false,\n formatter: null // 坐标轴文本格式化回调函数\n\n },\n labelItems: [],\n\n /**\n * 坐标轴标题配置\n * @type {Object}\n */\n title: {\n autoRotate: true,\n // 文本是否自动旋转\n textStyle: {} // 坐标轴标题样式\n\n },\n autoPaint: true\n });\n };\n\n _proto.beforeRender = function beforeRender() {\n var self = this;\n var title = self.get('title');\n var label = self.get('label');\n var grid = self.get('grid');\n\n if (title) {\n self.set('title', Util.deepMix({\n autoRotate: true,\n textStyle: {\n fontSize: 12,\n fill: '#ccc',\n textBaseline: 'middle',\n fontFamily: FONT_FAMILY,\n textAlign: 'center'\n },\n offset: 48\n }, title));\n }\n\n if (label) {\n self.set('label', Util.deepMix({\n autoRotate: true,\n autoHide: true,\n textStyle: {\n fontSize: 12,\n fill: '#ccc',\n textBaseline: 'middle',\n fontFamily: FONT_FAMILY\n },\n offset: 10\n }, label));\n }\n\n if (grid) {\n self.set('grid', Util.deepMix({\n lineStyle: {\n lineWidth: 1,\n stroke: '#C0D0E0'\n }\n }, grid));\n }\n };\n\n _proto.render = function render() {\n var self = this;\n self.beforeRender();\n var labelCfg = self.get('label');\n\n if (labelCfg) {\n self.renderLabels();\n }\n\n if (self.get('autoPaint')) {\n self.paint();\n }\n\n if (!Util.isNil(self.get('title'))) {\n self.renderTitle();\n }\n\n self.get('group').sort();\n };\n\n _proto.renderLabels = function renderLabels() {\n var self = this;\n var group = self.get('group');\n var labelCfg = self.get('label');\n var labelRenderer = new Label({\n name: 'axis-label'\n });\n self.set('labelRenderer', labelRenderer);\n labelRenderer.set('labelCfg', labelCfg);\n var cfgs2copy = ['formatter', 'htmlTemplate', 'labelLine', 'textStyle', 'useHtml'];\n Util.each(cfgs2copy, function (cfg) {\n if (labelCfg[cfg]) {\n labelRenderer.set(cfg, labelCfg[cfg]);\n }\n });\n labelRenderer.set('coord', self.get('coord'));\n labelRenderer.set('group', group.addGroup());\n labelRenderer.set('canvas', self.get('canvas'));\n };\n\n _proto._parseTicks = function _parseTicks(ticks) {\n ticks = ticks || [];\n var ticksLength = ticks.length;\n\n for (var i = 0; i < ticksLength; i++) {\n var item = ticks[i];\n\n if (!Util.isObject(item)) {\n ticks[i] = this.parseTick(item, i, ticksLength);\n }\n }\n\n this.set('ticks', ticks);\n return ticks;\n };\n\n _proto._addTickItem = function _addTickItem(index, point, length, type) {\n if (type === void 0) {\n type = '';\n }\n\n var tickItems = this.get('tickItems');\n var subTickItems = this.get('subTickItems');\n var end = this.getTickEnd(point, length, index);\n var cfg = {\n x1: point.x,\n y1: point.y,\n x2: end.x,\n y2: end.y\n };\n\n if (!tickItems) {\n tickItems = [];\n }\n\n if (!subTickItems) {\n subTickItems = [];\n }\n\n if (type === 'sub') {\n subTickItems.push(cfg);\n } else {\n tickItems.push(cfg);\n }\n\n this.set('tickItems', tickItems);\n this.set('subTickItems', subTickItems);\n };\n\n _proto._renderLine = function _renderLine() {\n var self = this;\n var lineCfg = self.get('line');\n var path;\n\n if (lineCfg) {\n path = self.getLinePath();\n lineCfg = Util.mix({\n path: path\n }, lineCfg);\n var group = self.get('group');\n var lineShape = group.addShape('path', {\n attrs: lineCfg\n });\n lineShape.name = 'axis-line';\n self.get('appendInfo') && lineShape.setSilent('appendInfo', self.get('appendInfo'));\n self.set('lineShape', lineShape);\n }\n };\n\n _proto._processCatTicks = function _processCatTicks() {\n var self = this;\n var labelCfg = self.get('label');\n var tickLineCfg = self.get('tickLine');\n var ticks = self.get('ticks');\n ticks = self._parseTicks(ticks);\n\n var new_ticks = self._getNormalizedTicks(ticks);\n\n for (var i = 0; i < new_ticks.length; i += 3) {\n var p = self.getTickPoint(new_ticks[i]);\n var p0 = self.getTickPoint(new_ticks[i + 1]);\n var p1 = self.getTickPoint(new_ticks[i + 2]);\n var index = Math.floor(i / 3);\n var tick = ticks[index];\n\n if (tickLineCfg) {\n if (index === 0) {\n self._addTickItem(index, p0, tickLineCfg.length);\n }\n\n self._addTickItem(index, p1, tickLineCfg.length);\n }\n\n if (labelCfg) {\n self.addLabel(tick, p, index);\n }\n }\n };\n\n _proto._getNormalizedTicks = function _getNormalizedTicks(ticks) {\n var tickSeg = 0;\n\n if (ticks.length > 1) {\n tickSeg = (ticks[1].value - ticks[0].value) / 2;\n }\n\n var points = [];\n\n for (var i = 0; i < ticks.length; i++) {\n var tick = ticks[i];\n var p = tick.value;\n var p0 = tick.value - tickSeg;\n var p1 = tick.value + tickSeg;\n points.push(p, p0, p1);\n }\n\n var range = Util.arrayUtil.getRange(points);\n return points.map(function (p) {\n var norm = (p - range.min) / (range.max - range.min);\n return norm;\n });\n };\n\n _proto.addLabel = function addLabel(tick, point, index) {\n var self = this;\n var labelItems = self.get('labelItems');\n var labelRenderer = self.get('labelRenderer');\n var label = Util.deepMix({}, self.get('label'));\n var rst;\n\n if (labelRenderer) {\n var offset = self.get('_labelOffset');\n\n if (!Util.isNil(self.get('label').offset)) {\n offset = self.get('label').offset;\n }\n\n var vector = self.getSideVector(offset, point, index);\n point = {\n x: point.x + vector[0] + label.offsetX,\n y: point.y + vector[1] + label.offsetY\n };\n label.text = tick.text;\n label.x = point.x;\n label.y = point.y;\n label.point = point;\n label.textAlign = self.getTextAnchor(vector);\n\n if (point.rotate) {\n label.rotate = point.rotate;\n }\n\n labelItems.push(label);\n }\n\n return rst;\n };\n\n _proto._processTicks = function _processTicks() {\n var self = this;\n var labelCfg = self.get('label');\n var subTickCount = self.get('subTickCount');\n var tickLineCfg = self.get('tickLine');\n var ticks = self.get('ticks');\n ticks = self._parseTicks(ticks);\n Util.each(ticks, function (tick, index) {\n var tickPoint = self.getTickPoint(tick.value, index);\n\n if (tickLineCfg) {\n self._addTickItem(index, tickPoint, tickLineCfg.length);\n }\n\n if (labelCfg) {\n self.addLabel(tick, tickPoint, index);\n }\n });\n\n if (subTickCount) {\n // 如果有设置次级分点添加次级tick\n var subTickLineCfg = self.get('subTickLine');\n Util.each(ticks, function (tick, index) {\n if (index > 0) {\n var diff = tick.value - ticks[index - 1].value;\n diff = diff / (self.get('subTickCount') + 1);\n\n for (var i = 1; i <= subTickCount; i++) {\n var subTick = {\n text: '',\n value: index ? ticks[index - 1].value + i * diff : i * diff\n };\n var tickPoint = self.getTickPoint(subTick.value);\n var subTickLength = void 0;\n\n if (subTickLineCfg && subTickLineCfg.length) {\n subTickLength = subTickLineCfg.length;\n } else {\n subTickLength = parseInt(tickLineCfg.length * (3 / 5), 10);\n }\n\n self._addTickItem(i - 1, tickPoint, subTickLength, 'sub');\n }\n }\n });\n }\n };\n\n _proto._addTickLine = function _addTickLine(ticks, lineCfg) {\n var self = this;\n var cfg = Util.mix({}, lineCfg);\n var path = [];\n Util.each(ticks, function (item) {\n path.push(['M', item.x1, item.y1]);\n path.push(['L', item.x2, item.y2]);\n });\n delete cfg.length;\n cfg.path = path;\n var group = self.get('group');\n var tickShape = group.addShape('path', {\n attrs: cfg\n });\n tickShape.name = 'axis-ticks';\n tickShape._id = self.get('_id') + '-ticks';\n tickShape.set('coord', self.get('coord'));\n self.get('appendInfo') && tickShape.setSilent('appendInfo', self.get('appendInfo'));\n };\n\n _proto._renderTicks = function _renderTicks() {\n var self = this;\n var tickItems = self.get('tickItems');\n var subTickItems = self.get('subTickItems');\n\n if (!Util.isEmpty(tickItems)) {\n var tickLineCfg = self.get('tickLine');\n\n self._addTickLine(tickItems, tickLineCfg);\n }\n\n if (!Util.isEmpty(subTickItems)) {\n var subTickLineCfg = self.get('subTickLine') || self.get('tickLine');\n\n self._addTickLine(subTickItems, subTickLineCfg);\n }\n };\n\n _proto._renderGrid = function _renderGrid() {\n var grid = this.get('grid');\n\n if (!grid) {\n return;\n }\n\n grid.coord = this.get('coord');\n grid.appendInfo = this.get('appendInfo');\n var group = this.get('group');\n this.set('gridGroup', group.addGroup(Grid, grid));\n };\n\n _proto._renderLabels = function _renderLabels() {\n var self = this;\n var labelRenderer = self.get('labelRenderer');\n var labelItems = self.get('labelItems');\n\n if (labelRenderer) {\n labelRenderer.set('items', labelItems);\n\n labelRenderer._dryDraw();\n }\n };\n\n _proto.paint = function paint() {\n var self = this;\n var tickLineCfg = self.get('tickLine');\n var alignWithLabel = true;\n\n if (tickLineCfg && tickLineCfg.hasOwnProperty('alignWithLabel')) {\n alignWithLabel = tickLineCfg.alignWithLabel;\n }\n\n self._renderLine();\n\n var type = self.get('type');\n var isCat = type === 'cat' || type === 'timeCat';\n\n if (isCat && alignWithLabel === false) {\n self._processCatTicks();\n } else {\n self._processTicks();\n }\n\n self._renderTicks();\n\n self._renderGrid();\n\n self._renderLabels();\n\n var labelCfg = this.get('label');\n\n if (labelCfg && labelCfg.autoRotate) {\n self.autoRotateLabels();\n }\n\n if (labelCfg && labelCfg.autoHide) {\n self.autoHideLabels();\n }\n };\n\n _proto.parseTick = function parseTick(tick, index, length) {\n return {\n text: tick,\n value: index / (length - 1)\n };\n };\n\n _proto.getTextAnchor = function getTextAnchor(vector) {\n var ratio = Math.abs(vector[1] / vector[0]);\n var align;\n\n if (ratio >= 1) {\n // 上面或者下面\n align = 'center';\n } else {\n if (vector[0] > 0) {\n // 右侧\n align = 'start';\n } else {\n // 左侧\n align = 'end';\n }\n }\n\n return align;\n };\n\n _proto.getMaxLabelWidth = function getMaxLabelWidth(labelRenderer) {\n var labels = labelRenderer.getLabels();\n var max = 0;\n Util.each(labels, function (label) {\n var bbox = label.getBBox();\n var width = bbox.width;\n\n if (max < width) {\n max = width;\n }\n });\n return max;\n };\n\n _proto.getMaxLabelHeight = function getMaxLabelHeight(labelRenderer) {\n var labels = labelRenderer.getLabels();\n var max = 0;\n Util.each(labels, function (label) {\n var bbox = label.getBBox();\n var height = bbox.height;\n\n if (max < height) {\n max = height;\n }\n });\n return max;\n };\n\n _proto.destroy = function destroy() {\n var self = this;\n\n if (!self.destroyed) {\n var gridGroup = self.get('gridGroup');\n gridGroup && gridGroup.remove();\n var labelRenderer = this.get('labelRenderer');\n labelRenderer && labelRenderer.destroy();\n var group = self.get('group');\n group.destroy();\n\n _Component.prototype.destroy.call(this); // 要最后调用 super.destroy 否则 get 属性会无效\n\n }\n };\n\n _proto.clear = function clear() {\n var self = this;\n var group = self.get('group');\n\n if (!group.get('destroyed') && group.get('children').length) {\n var gridGroup = self.get('gridGroup');\n gridGroup && gridGroup.clear();\n var labelRenderer = this.get('labelRenderer');\n labelRenderer && labelRenderer.clear();\n\n var _group = self.get('group');\n\n _group.clear();\n }\n }\n /**\n * 旋转文本\n * @abstract\n * @return {[type]} [description]\n */\n ;\n\n _proto.autoRotateLabels = function autoRotateLabels() {}\n /**\n * 文本自动防遮罩\n * @abstract\n * @return {[type]} [description]\n */\n ;\n\n _proto.autoHideLabels = function autoHideLabels() {}\n /**\n * 渲染标题\n * @abstract\n * @return {[type]} [description]\n */\n ;\n\n _proto.renderTitle = function renderTitle() {}\n /**\n * 获取坐标轴线的 path\n * @abstract\n * @return {[type]} [description]\n */\n ;\n\n _proto.getLinePath = function getLinePath() {}\n /**\n * 获取 tick 在画布上的位置\n * @abstract\n * @return {[type]} [description]\n */\n ;\n\n _proto.getTickPoint = function getTickPoint() {}\n /**\n * 获取标示坐标点的线的终点\n * @abstract\n * @return {[type]} [description]\n */\n ;\n\n _proto.getTickEnd = function getTickEnd() {}\n /**\n * 获取距离坐标轴的向量\n * @abstract\n * @return {[type]} [description]\n */\n ;\n\n _proto.getSideVector = function getSideVector() {};\n\n return Axis;\n}(Component);\n\nmodule.exports = Axis;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/axis/base.js\n// module id = 14\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Base = require('./base');\n\nvar Component = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Component, _Base);\n\n var _super = _createSuper(Component);\n\n function Component() {\n return _Base.apply(this, arguments) || this;\n }\n\n var _proto = Component.prototype;\n\n // 配置\n _proto.getDefaultCfg = function getDefaultCfg() {\n return {\n // 顶层标志位\n _id: null,\n // 用于动画\n // 容器\n canvas: null,\n container: null,\n // html可选\n group: null,\n // G Group可选\n // 交互属性\n capture: false,\n // props\n coord: null,\n offset: [0, 0],\n plotRange: null,\n // BBox\n position: [0, 0],\n visible: true,\n zIndex: 1\n };\n } // 基础生命周期\n ;\n\n _proto._init = function _init() {};\n\n _proto.clear = function clear() {};\n\n _proto.destroy = function destroy() {\n // 之前未指定销毁\n _Base.prototype.destroy.call(this);\n } // 绘图\n ;\n\n _proto.beforeRender = function beforeRender() {};\n\n _proto.render = function render() {} // 初始化、绑事件和绘图\n ;\n\n _proto.afterRender = function afterRender() {};\n\n _proto.beforeDraw = function beforeDraw() {};\n\n _proto.draw = function draw() {} // 单纯更新视图\n ;\n\n _proto.afterDraw = function afterDraw() {} // visibility\n ;\n\n _proto.show = function show() {};\n\n _proto.hide = function hide() {} // props operating syntactic sugar\n ;\n\n _proto.setOffset = function setOffset() {};\n\n _proto.setPosition = function setPosition() {};\n\n _proto.setVisible = function setVisible() {};\n\n _proto.setZIndex = function setZIndex() {};\n\n return Component;\n}(Base);\n\nmodule.exports = Component;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/component.js\n// module id = 15\n// module chunks = 0","var isObjectLike = require('./is-object-like');\n\nvar isType = require('./is-type');\n\nvar isPlainObject = function isPlainObject(value) {\n /**\n * isObjectLike(new Foo) => false\n * isObjectLike([1, 2, 3]) => false\n * isObjectLike({ x: 0, y: 0 }) => true\n * isObjectLike(Object.create(null)) => true\n */\n if (!isObjectLike(value) || !isType(value, 'Object')) {\n return false;\n }\n\n if (Object.getPrototypeOf(value) === null) {\n return true;\n }\n\n var proto = value;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(value) === proto;\n};\n\nmodule.exports = isPlainObject;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-plain-object.js\n// module id = 16\n// module chunks = 0","function _mix(dist, obj) {\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && key !== 'constructor' && obj[key] !== undefined) {\n dist[key] = obj[key];\n }\n }\n}\n\nvar mix = function mix(dist, src1, src2, src3) {\n if (src1) _mix(dist, src1);\n if (src2) _mix(dist, src2);\n if (src3) _mix(dist, src3);\n return dist;\n};\n\nmodule.exports = mix;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/mix.js\n// module id = 17\n// module chunks = 0","var isNil = require('./type/is-nil');\n\nfunction toString(value) {\n if (isNil(value)) return '';\n return value.toString();\n}\n\nmodule.exports = toString;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/to-string.js\n// module id = 18\n// module chunks = 0","var Util = require('../util/index');\n\nvar regexTags = /[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig;\nvar regexDot = /[^\\s\\,]+/ig;\nvar numColorCache = {};\nmodule.exports = {\n parseRadius: function parseRadius(radius) {\n var r1 = 0,\n r2 = 0,\n r3 = 0,\n r4 = 0;\n\n if (Util.isArray(radius)) {\n if (radius.length === 1) {\n r1 = r2 = r3 = r4 = radius[0];\n } else if (radius.length === 2) {\n r1 = r3 = radius[0];\n r2 = r4 = radius[1];\n } else if (radius.length === 3) {\n r1 = radius[0];\n r2 = r4 = radius[1];\n r3 = radius[2];\n } else {\n r1 = radius[0];\n r2 = radius[1];\n r3 = radius[2];\n r4 = radius[3];\n }\n } else {\n r1 = r2 = r3 = r4 = radius;\n }\n\n return {\n r1: r1,\n r2: r2,\n r3: r3,\n r4: r4\n };\n },\n parsePath: function parsePath(path) {\n path = path || [];\n\n if (Util.isArray(path)) {\n return path;\n }\n\n if (Util.isString(path)) {\n path = path.match(regexTags);\n Util.each(path, function (item, index) {\n item = item.match(regexDot);\n\n if (item[0].length > 1) {\n var tag = item[0].charAt(0);\n item.splice(1, 0, item[0].substr(1));\n item[0] = tag;\n }\n\n Util.each(item, function (sub, i) {\n if (!isNaN(sub)) {\n item[i] = +sub;\n }\n });\n path[index] = item;\n });\n return path;\n }\n },\n numberToColor: function numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n\n if (!color) {\n var str = num.toString(16);\n\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n\n color = '#' + str;\n numColorCache[num] = color;\n }\n\n return color;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/util/format.js\n// module id = 19\n// module chunks = 0","import constant from \"./constant\";\n\nfunction linear(a, d) {\n return function (t) {\n return a + t * d;\n };\n}\n\nfunction exponential(a, b, y) {\n return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function (t) {\n return Math.pow(a + t * b, y);\n };\n}\n\nexport function hue(a, b) {\n var d = b - a;\n return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);\n}\nexport function gamma(y) {\n return (y = +y) === 1 ? nogamma : function (a, b) {\n return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);\n };\n}\nexport default function nogamma(a, b) {\n var d = b - a;\n return d ? linear(a, d) : constant(isNaN(a) ? b : a);\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/color.js\n// module id = 20\n// module chunks = 0","/**\n * @fileOverview the Attribute base class\n */\nvar isString = require('@antv/util/lib/type/is-string');\n\nvar isArray = require('@antv/util/lib/type/is-array');\n\nvar isNil = require('@antv/util/lib/type/is-nil');\n\nvar mix = require('@antv/util/lib/mix');\n\nvar each = require('@antv/util/lib/each');\n\nfunction toScaleString(scale, value) {\n if (isString(value)) {\n return value;\n }\n\n return scale.invert(scale.scale(value));\n}\n/**\n * 所有视觉通道属性的基类\n * @class Attr\n */\n\n\nvar AttributeBase = /*#__PURE__*/function () {\n function AttributeBase(cfg) {\n var _this = this;\n /**\n * 属性的类型\n * @type {String}\n */\n\n\n this.type = 'base';\n /**\n * 属性的名称\n * @type {String}\n */\n\n this.name = null;\n /**\n * 回调函数\n * @type {Function}\n */\n\n this.method = null;\n /**\n * 备选的值数组\n * @type {Array}\n */\n\n this.values = [];\n /**\n * 属性内部的度量\n * @type {Array}\n */\n\n this.scales = [];\n /**\n * 是否通过线性取值, 如果未指定,则根据数值的类型判定\n * @type {Boolean}\n */\n\n this.linear = null;\n /**\n * 当用户设置的 callback 返回 null 时, 应该返回默认 callback 中的值\n */\n\n var mixedCallback = null;\n var defaultCallback = this.callback;\n\n if (cfg.callback) {\n var userCallback = cfg.callback;\n\n mixedCallback = function mixedCallback() {\n for (var _len = arguments.length, params = new Array(_len), _key = 0; _key < _len; _key++) {\n params[_key] = arguments[_key];\n }\n\n var ret = userCallback.apply(void 0, params);\n\n if (isNil(ret)) {\n ret = defaultCallback.apply(_this, params);\n }\n\n return ret;\n };\n }\n\n mix(this, cfg);\n\n if (mixedCallback) {\n mix(this, {\n callback: mixedCallback\n });\n }\n } // 获取属性值,将值映射到视觉通道\n\n\n var _proto = AttributeBase.prototype;\n\n _proto._getAttrValue = function _getAttrValue(scale, value) {\n var values = this.values;\n\n if (scale.isCategory && !this.linear) {\n var index = scale.translate(value);\n return values[index % values.length];\n }\n\n var percent = scale.scale(value);\n return this.getLinearValue(percent);\n };\n /**\n * 如果进行线性映射,返回对应的映射值\n * @protected\n * @param {Number} percent 百分比\n * @return {*} 颜色值、形状、大小等\n */\n\n\n _proto.getLinearValue = function getLinearValue(percent) {\n var values = this.values;\n var steps = values.length - 1;\n var step = Math.floor(steps * percent);\n var leftPercent = steps * percent - step;\n var start = values[step];\n var end = step === steps ? start : values[step + 1];\n var rstValue = start + (end - start) * leftPercent;\n return rstValue;\n };\n /**\n * 默认的回调函数\n * @param {*} value 回调函数的值\n * @type {Function}\n * @return {Array} 返回映射后的值\n */\n\n\n _proto.callback = function callback(value) {\n var self = this;\n var scale = self.scales[0];\n var rstValue = null;\n\n if (scale.type === 'identity') {\n rstValue = scale.value;\n } else {\n rstValue = self._getAttrValue(scale, value);\n }\n\n return rstValue;\n };\n /**\n * 根据度量获取属性名\n * @return {Array} dims of this Attribute\n */\n\n\n _proto.getNames = function getNames() {\n var scales = this.scales;\n var names = this.names;\n var length = Math.min(scales.length, names.length);\n var rst = [];\n\n for (var i = 0; i < length; i++) {\n rst.push(names[i]);\n }\n\n return rst;\n };\n /**\n * 根据度量获取维度名\n * @return {Array} dims of this Attribute\n */\n\n\n _proto.getFields = function getFields() {\n var scales = this.scales;\n var rst = [];\n each(scales, function (scale) {\n rst.push(scale.field);\n });\n return rst;\n };\n /**\n * 根据名称获取度量\n * @param {String} name the name of scale\n * @return {Scale} scale\n */\n\n\n _proto.getScale = function getScale(name) {\n var scales = this.scales;\n var names = this.names;\n var index = names.indexOf(name);\n return scales[index];\n };\n /**\n * 映射数据\n * @param {*} param1...paramn 多个数值\n * @return {Array} 映射的值组成的数组\n */\n\n\n _proto.mapping = function mapping() {\n var scales = this.scales;\n var callback = this.callback;\n\n for (var _len2 = arguments.length, params = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n params[_key2] = arguments[_key2];\n }\n\n var values = params;\n\n if (callback) {\n for (var i = 0, len = params.length; i < len; i++) {\n params[i] = this._toOriginParam(params[i], scales[i]);\n }\n\n values = callback.apply(this, params);\n }\n\n values = [].concat(values);\n return values;\n }; // 原始的参数\n\n\n _proto._toOriginParam = function _toOriginParam(param, scale) {\n var rst = param;\n\n if (!scale.isLinear) {\n if (isArray(param)) {\n rst = [];\n\n for (var i = 0, len = param.length; i < len; i++) {\n rst.push(toScaleString(scale, param[i]));\n }\n } else {\n rst = toScaleString(scale, param);\n }\n }\n\n return rst;\n };\n\n return AttributeBase;\n}();\n\nmodule.exports = AttributeBase;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/base.js\n// module id = 21\n// module chunks = 0","module.exports = {\n Canvas: require('./canvas'),\n Group: require('./core/group'),\n Shape: require('./core/shape'),\n Arc: require('./shapes/arc'),\n Circle: require('./shapes/circle'),\n Dom: require('./shapes/dom'),\n Ellipse: require('./shapes/ellipse'),\n Fan: require('./shapes/fan'),\n Image: require('./shapes/image'),\n Line: require('./shapes/line'),\n Marker: require('./shapes/marker'),\n Path: require('./shapes/path'),\n Polygon: require('./shapes/polygon'),\n Polyline: require('./shapes/polyline'),\n Rect: require('./shapes/rect'),\n Text: require('./shapes/text'),\n PathSegment: require('./shapes/util/path-segment'),\n PathUtil: require('./util/path'),\n Event: require('./event'),\n // version, etc.\n version: '3.3.6'\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/index.js\n// module id = 22\n// module chunks = 0","var isArrayLike = require('./type/is-array-like');\n\nfunction toArray(value) {\n return isArrayLike(value) ? Array.prototype.slice.call(value) : [];\n}\n\nmodule.exports = toArray;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/to-array.js\n// module id = 23\n// module chunks = 0","var vec2 = require('../../util/index').vec2;\n\nmodule.exports = {\n at: function at(p1, p2, t) {\n return (p2 - p1) * t + p1;\n },\n pointDistance: function pointDistance(x1, y1, x2, y2, x, y) {\n var d = [x2 - x1, y2 - y1];\n\n if (vec2.exactEquals(d, [0, 0])) {\n return NaN;\n }\n\n var u = [-d[1], d[0]];\n vec2.normalize(u, u);\n var a = [x - x1, y - y1];\n return Math.abs(vec2.dot(a, u));\n },\n box: function box(x1, y1, x2, y2, lineWidth) {\n var halfWidth = lineWidth / 2;\n var minX = Math.min(x1, x2);\n var maxX = Math.max(x1, x2);\n var minY = Math.min(y1, y2);\n var maxY = Math.max(y1, y2);\n return {\n minX: minX - halfWidth,\n minY: minY - halfWidth,\n maxX: maxX + halfWidth,\n maxY: maxY + halfWidth\n };\n },\n len: function len(x1, y1, x2, y2) {\n return Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/line.js\n// module id = 24\n// module chunks = 0","var Util = require('../../util/index');\n\nfunction circlePoint(cx, cy, r, angle) {\n return {\n x: Math.cos(angle) * r + cx,\n y: Math.sin(angle) * r + cy\n };\n}\n\nfunction angleNearTo(angle, min, max, out) {\n var v1;\n var v2;\n\n if (out) {\n if (angle < min) {\n v1 = min - angle;\n v2 = Math.PI * 2 - max + angle;\n } else if (angle > max) {\n v1 = Math.PI * 2 - angle + min;\n v2 = angle - max;\n }\n } else {\n v1 = angle - min;\n v2 = max - angle;\n }\n\n return v1 > v2 ? max : min;\n}\n\nfunction nearAngle(angle, startAngle, endAngle, clockwise) {\n var plus = 0;\n\n if (endAngle - startAngle >= Math.PI * 2) {\n plus = Math.PI * 2;\n }\n\n startAngle = Util.mod(startAngle, Math.PI * 2);\n endAngle = Util.mod(endAngle, Math.PI * 2) + plus;\n angle = Util.mod(angle, Math.PI * 2);\n\n if (clockwise) {\n if (startAngle >= endAngle) {\n if (angle > endAngle && angle < startAngle) {\n return angle;\n }\n\n return angleNearTo(angle, endAngle, startAngle, true);\n }\n\n if (angle < startAngle || angle > endAngle) {\n return angle;\n }\n\n return angleNearTo(angle, startAngle, endAngle);\n }\n\n if (startAngle <= endAngle) {\n if (startAngle < angle && angle < endAngle) {\n return angle;\n }\n\n return angleNearTo(angle, startAngle, endAngle, true);\n }\n\n if (angle > startAngle || angle < endAngle) {\n return angle;\n }\n\n return angleNearTo(angle, endAngle, startAngle);\n}\n\nfunction arcProjectPoint(cx, cy, r, startAngle, endAngle, clockwise, x, y, out) {\n var v = [x, y];\n var v0 = [cx, cy];\n var v1 = [1, 0];\n var subv = Util.vec2.subtract([], v, v0);\n var angle = Util.vec2.angleTo(v1, subv);\n angle = nearAngle(angle, startAngle, endAngle, clockwise);\n var vpoint = [r * Math.cos(angle) + cx, r * Math.sin(angle) + cy];\n\n if (out) {\n out.x = vpoint[0];\n out.y = vpoint[1];\n }\n\n var d = Util.vec2.distance(vpoint, v);\n return d;\n}\n\nfunction arcBox(cx, cy, r, startAngle, endAngle, clockwise) {\n var angleRight = 0;\n var angleBottom = Math.PI / 2;\n var angleLeft = Math.PI;\n var angleTop = Math.PI * 3 / 2;\n var points = [];\n var angle = nearAngle(angleRight, startAngle, endAngle, clockwise);\n\n if (angle === angleRight) {\n points.push(circlePoint(cx, cy, r, angleRight));\n }\n\n angle = nearAngle(angleBottom, startAngle, endAngle, clockwise);\n\n if (angle === angleBottom) {\n points.push(circlePoint(cx, cy, r, angleBottom));\n }\n\n angle = nearAngle(angleLeft, startAngle, endAngle, clockwise);\n\n if (angle === angleLeft) {\n points.push(circlePoint(cx, cy, r, angleLeft));\n }\n\n angle = nearAngle(angleTop, startAngle, endAngle, clockwise);\n\n if (angle === angleTop) {\n points.push(circlePoint(cx, cy, r, angleTop));\n }\n\n points.push(circlePoint(cx, cy, r, startAngle));\n points.push(circlePoint(cx, cy, r, endAngle));\n var minX = Infinity;\n var maxX = -Infinity;\n var minY = Infinity;\n var maxY = -Infinity;\n Util.each(points, function (point) {\n if (minX > point.x) {\n minX = point.x;\n }\n\n if (maxX < point.x) {\n maxX = point.x;\n }\n\n if (minY > point.y) {\n minY = point.y;\n }\n\n if (maxY < point.y) {\n maxY = point.y;\n }\n });\n return {\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY\n };\n}\n\nmodule.exports = {\n nearAngle: nearAngle,\n projectPoint: function projectPoint(cx, cy, r, startAngle, endAngle, clockwise, x, y) {\n var rst = {};\n arcProjectPoint(cx, cy, r, startAngle, endAngle, clockwise, x, y, rst);\n return rst;\n },\n pointDistance: arcProjectPoint,\n box: arcBox\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/arc.js\n// module id = 25\n// module chunks = 0","var Format = require('../../util/format');\n\nvar PathSegment = require('../util/path-segment');\n\nvar PI = Math.PI;\nvar sin = Math.sin;\nvar cos = Math.cos;\nvar atan2 = Math.atan2;\nvar DEFAULT_LENGTH = 10;\nvar DEFAULT_ANGLE = PI / 3;\n\nfunction _addArrow(ctx, attrs, x1, y1, x2, y2, isStart) {\n var leftX;\n var leftY;\n var rightX;\n var rightY;\n var offsetX;\n var offsetY;\n var angle;\n\n if (!attrs.fill) {\n // 闭合的不绘制箭头\n var arrowLength = attrs.arrowLength || DEFAULT_LENGTH;\n var arrowAngle = attrs.arrowAngle ? attrs.arrowAngle * PI / 180 : DEFAULT_ANGLE; // 转换为弧\n // Calculate angle\n\n angle = atan2(y1 - y2, x1 - x2);\n /* // Adjust angle correctly\n angle -= PI;*/\n // Calculate offset to place arrow at edge of path\n\n offsetX = Math.abs(attrs.lineWidth * cos(angle)) / 2;\n offsetY = Math.abs(attrs.lineWidth * sin(angle)) / 2;\n\n if (isStart) {\n offsetX = -offsetX;\n offsetY = -offsetY;\n } // Calculate coordinates for left half of arrow\n\n\n leftX = x2 + arrowLength * cos(angle + arrowAngle / 2);\n leftY = y2 + arrowLength * sin(angle + arrowAngle / 2); // Calculate coordinates for right half of arrow\n\n rightX = x2 + arrowLength * cos(angle - arrowAngle / 2);\n rightY = y2 + arrowLength * sin(angle - arrowAngle / 2);\n ctx.beginPath(); // Draw left half of arrow\n\n ctx.moveTo(leftX - offsetX, leftY - offsetY);\n ctx.lineTo(x2 - offsetX, y2 - offsetY); // Draw right half of arrow\n\n ctx.lineTo(rightX - offsetX, rightY - offsetY); // Visually connect arrow to path\n\n ctx.moveTo(x2 - offsetX, y2 - offsetY);\n ctx.lineTo(x2 + offsetX, y2 + offsetY); // Move back to end of path\n\n ctx.moveTo(x2, y2);\n ctx.stroke();\n }\n}\n\nfunction parsePath(attrs) {\n var segments = [];\n var pathArray = Format.parsePath(attrs.path);\n var preSegment;\n\n if (!Array.isArray(pathArray) || pathArray.length === 0 || pathArray[0][0] !== 'M' && pathArray[0][0] !== 'm') {\n return false;\n }\n\n var count = pathArray.length;\n\n for (var i = 0; i < pathArray.length; i++) {\n var item = pathArray[i];\n preSegment = new PathSegment(item, preSegment, i === count - 1);\n segments.push(preSegment);\n }\n\n return segments;\n}\n\nfunction _addCustomizedArrow(ctx, attrs, x1, y1, x2, y2, isStart) {\n var shape = isStart ? attrs.startArrow : attrs.endArrow;\n var d = shape.d;\n var deg = 0;\n var x = x2 - x1;\n var y = y2 - y1;\n var tan = Math.atan(x / y);\n\n if (y === 0 && x < 0) {\n deg = Math.PI;\n } else if (x > 0 && y > 0) {\n deg = Math.PI / 2 - tan;\n } else if (x < 0 && y < 0) {\n deg = -Math.PI / 2 - tan;\n } else if (x >= 0 && y < 0) {\n deg = -tan - Math.PI / 2;\n } else if (x <= 0 && y > 0) {\n deg = Math.PI / 2 - tan;\n }\n\n var path = parsePath(shape);\n\n if (!path) {\n return;\n }\n\n if (d) {\n if (isStart) {\n x2 = x2 + Math.sin(Math.abs(tan)) * d;\n y2 = y2 + Math.cos(Math.abs(tan)) * d - 0.5 * ctx.lineWidth;\n } else {\n x2 = x2 - Math.sin(Math.abs(tan)) * d;\n y2 = y2 - Math.cos(Math.abs(tan)) * d + 0.5 * ctx.lineWidth;\n }\n }\n\n ctx.save();\n ctx.beginPath();\n ctx.translate(x2, y2);\n ctx.rotate(deg);\n\n for (var i = 0; i < path.length; i++) {\n path[i].draw(ctx);\n }\n\n ctx.setTransform(1, 0, 0, 1, 0, 0);\n ctx.fillStyle = ctx.strokeStyle;\n ctx.fill();\n ctx.restore();\n}\n\nmodule.exports = {\n addStartArrow: function addStartArrow(ctx, attrs, x1, y1, x2, y2) {\n if (typeof attrs.startArrow === 'object') {\n _addCustomizedArrow(ctx, attrs, x1, y1, x2, y2, true);\n } else if (attrs.startArrow) {\n _addArrow(ctx, attrs, x1, y1, x2, y2, true);\n }\n },\n addEndArrow: function addEndArrow(ctx, attrs, x1, y1, x2, y2) {\n if (typeof attrs.endArrow === 'object') {\n _addCustomizedArrow(ctx, attrs, x1, y1, x2, y2, false);\n } else if (attrs.endArrow) {\n _addArrow(ctx, attrs, x1, y1, x2, y2, false);\n }\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/util/arrow.js\n// module id = 26\n// module chunks = 0","var Util = require('../../util/index');\n\nvar Inside = require('./inside');\n\nvar Cubic = require('../math/cubic');\n\nvar Quadratic = require('../math/quadratic');\n\nvar Ellipse = require('../math/ellipse');\n\nvar vec3 = Util.vec3;\nvar mat3 = Util.mat3;\nvar ARR_CMD = ['m', 'l', 'c', 'a', 'q', 'h', 'v', 't', 's', 'z'];\n\nfunction toAbsolute(x, y, curPoint) {\n // 获取绝对坐标\n return {\n x: curPoint.x + x,\n y: curPoint.y + y\n };\n}\n\nfunction toSymmetry(point, center) {\n // 点对称\n return {\n x: center.x + (center.x - point.x),\n y: center.y + (center.y - point.y)\n };\n}\n\nfunction vMag(v) {\n return Math.sqrt(v[0] * v[0] + v[1] * v[1]);\n}\n\nfunction vRatio(u, v) {\n return (u[0] * v[0] + u[1] * v[1]) / (vMag(u) * vMag(v));\n}\n\nfunction vAngle(u, v) {\n return (u[0] * v[1] < u[1] * v[0] ? -1 : 1) * Math.acos(vRatio(u, v));\n}\n\nfunction getArcParams(point1, point2, fa, fs, rx, ry, psiDeg) {\n var psi = Util.mod(Util.toRadian(psiDeg), Math.PI * 2);\n var x1 = point1.x;\n var y1 = point1.y;\n var x2 = point2.x;\n var y2 = point2.y;\n var xp = Math.cos(psi) * (x1 - x2) / 2.0 + Math.sin(psi) * (y1 - y2) / 2.0;\n var yp = -1 * Math.sin(psi) * (x1 - x2) / 2.0 + Math.cos(psi) * (y1 - y2) / 2.0;\n var lambda = xp * xp / (rx * rx) + yp * yp / (ry * ry);\n\n if (lambda > 1) {\n rx *= Math.sqrt(lambda);\n ry *= Math.sqrt(lambda);\n }\n\n var diff = rx * rx * (yp * yp) + ry * ry * (xp * xp);\n var f = Math.sqrt((rx * rx * (ry * ry) - diff) / diff);\n\n if (fa === fs) {\n f *= -1;\n }\n\n if (isNaN(f)) {\n f = 0;\n }\n\n var cxp = f * rx * yp / ry;\n var cyp = f * -ry * xp / rx;\n var cx = (x1 + x2) / 2.0 + Math.cos(psi) * cxp - Math.sin(psi) * cyp;\n var cy = (y1 + y2) / 2.0 + Math.sin(psi) * cxp + Math.cos(psi) * cyp;\n var theta = vAngle([1, 0], [(xp - cxp) / rx, (yp - cyp) / ry]);\n var u = [(xp - cxp) / rx, (yp - cyp) / ry];\n var v = [(-1 * xp - cxp) / rx, (-1 * yp - cyp) / ry];\n var dTheta = vAngle(u, v);\n\n if (vRatio(u, v) <= -1) {\n dTheta = Math.PI;\n }\n\n if (vRatio(u, v) >= 1) {\n dTheta = 0;\n }\n\n if (fs === 0 && dTheta > 0) {\n dTheta = dTheta - 2 * Math.PI;\n }\n\n if (fs === 1 && dTheta < 0) {\n dTheta = dTheta + 2 * Math.PI;\n }\n\n return [point1, cx, cy, rx, ry, theta, dTheta, psi, fs];\n}\n\nvar PathSegment = function PathSegment(item, preSegment, isLast) {\n this.preSegment = preSegment;\n this.isLast = isLast;\n this.init(item, preSegment);\n};\n\nUtil.augment(PathSegment, {\n init: function init(item, preSegment) {\n var command = item[0];\n preSegment = preSegment || {\n endPoint: {\n x: 0,\n y: 0\n }\n };\n var relative = ARR_CMD.indexOf(command) >= 0; // /[a-z]/.test(command);\n\n var cmd = relative ? command.toUpperCase() : command;\n var p = item;\n var point1;\n var point2;\n var point3;\n var point;\n var preEndPoint = preSegment.endPoint;\n var p1 = p[1];\n var p2 = p[2];\n\n switch (cmd) {\n default:\n break;\n\n case 'M':\n if (relative) {\n point = toAbsolute(p1, p2, preEndPoint);\n } else {\n point = {\n x: p1,\n y: p2\n };\n }\n\n this.command = 'M';\n this.params = [preEndPoint, point];\n this.subStart = point;\n this.endPoint = point;\n break;\n\n case 'L':\n if (relative) {\n point = toAbsolute(p1, p2, preEndPoint);\n } else {\n point = {\n x: p1,\n y: p2\n };\n }\n\n this.command = 'L';\n this.params = [preEndPoint, point];\n this.subStart = preSegment.subStart;\n this.endPoint = point;\n\n this.endTangent = function () {\n return [point.x - preEndPoint.x, point.y - preEndPoint.y];\n };\n\n this.startTangent = function () {\n return [preEndPoint.x - point.x, preEndPoint.y - point.y];\n };\n\n break;\n\n case 'H':\n if (relative) {\n point = toAbsolute(p1, 0, preEndPoint);\n } else {\n point = {\n x: p1,\n y: preEndPoint.y\n };\n }\n\n this.command = 'L';\n this.params = [preEndPoint, point];\n this.subStart = preSegment.subStart;\n this.endPoint = point;\n\n this.endTangent = function () {\n return [point.x - preEndPoint.x, point.y - preEndPoint.y];\n };\n\n this.startTangent = function () {\n return [preEndPoint.x - point.x, preEndPoint.y - point.y];\n };\n\n break;\n\n case 'V':\n if (relative) {\n point = toAbsolute(0, p1, preEndPoint);\n } else {\n point = {\n x: preEndPoint.x,\n y: p1\n };\n }\n\n this.command = 'L';\n this.params = [preEndPoint, point];\n this.subStart = preSegment.subStart;\n this.endPoint = point;\n\n this.endTangent = function () {\n return [point.x - preEndPoint.x, point.y - preEndPoint.y];\n };\n\n this.startTangent = function () {\n return [preEndPoint.x - point.x, preEndPoint.y - point.y];\n };\n\n break;\n\n case 'Q':\n if (relative) {\n point1 = toAbsolute(p1, p2, preEndPoint);\n point2 = toAbsolute(p[3], p[4], preEndPoint);\n } else {\n point1 = {\n x: p1,\n y: p2\n };\n point2 = {\n x: p[3],\n y: p[4]\n };\n }\n\n this.command = 'Q';\n this.params = [preEndPoint, point1, point2];\n this.subStart = preSegment.subStart;\n this.endPoint = point2;\n\n this.endTangent = function () {\n return [point2.x - point1.x, point2.y - point1.y];\n };\n\n this.startTangent = function () {\n return [preEndPoint.x - point1.x, preEndPoint.y - point1.y];\n };\n\n break;\n\n case 'T':\n if (relative) {\n point2 = toAbsolute(p1, p2, preEndPoint);\n } else {\n point2 = {\n x: p1,\n y: p2\n };\n }\n\n if (preSegment.command === 'Q') {\n point1 = toSymmetry(preSegment.params[1], preEndPoint);\n this.command = 'Q';\n this.params = [preEndPoint, point1, point2];\n this.subStart = preSegment.subStart;\n this.endPoint = point2;\n\n this.endTangent = function () {\n return [point2.x - point1.x, point2.y - point1.y];\n };\n\n this.startTangent = function () {\n return [preEndPoint.x - point1.x, preEndPoint.y - point1.y];\n };\n } else {\n this.command = 'TL';\n this.params = [preEndPoint, point2];\n this.subStart = preSegment.subStart;\n this.endPoint = point2;\n\n this.endTangent = function () {\n return [point2.x - preEndPoint.x, point2.y - preEndPoint.y];\n };\n\n this.startTangent = function () {\n return [preEndPoint.x - point2.x, preEndPoint.y - point2.y];\n };\n }\n\n break;\n\n case 'C':\n if (relative) {\n point1 = toAbsolute(p1, p2, preEndPoint);\n point2 = toAbsolute(p[3], p[4], preEndPoint);\n point3 = toAbsolute(p[5], p[6], preEndPoint);\n } else {\n point1 = {\n x: p1,\n y: p2\n };\n point2 = {\n x: p[3],\n y: p[4]\n };\n point3 = {\n x: p[5],\n y: p[6]\n };\n }\n\n this.command = 'C';\n this.params = [preEndPoint, point1, point2, point3];\n this.subStart = preSegment.subStart;\n this.endPoint = point3;\n\n this.endTangent = function () {\n return [point3.x - point2.x, point3.y - point2.y];\n };\n\n this.startTangent = function () {\n return [preEndPoint.x - point1.x, preEndPoint.y - point1.y];\n };\n\n break;\n\n case 'S':\n if (relative) {\n point2 = toAbsolute(p1, p2, preEndPoint);\n point3 = toAbsolute(p[3], p[4], preEndPoint);\n } else {\n point2 = {\n x: p1,\n y: p2\n };\n point3 = {\n x: p[3],\n y: p[4]\n };\n }\n\n if (preSegment.command === 'C') {\n point1 = toSymmetry(preSegment.params[2], preEndPoint);\n this.command = 'C';\n this.params = [preEndPoint, point1, point2, point3];\n this.subStart = preSegment.subStart;\n this.endPoint = point3;\n\n this.endTangent = function () {\n return [point3.x - point2.x, point3.y - point2.y];\n };\n\n this.startTangent = function () {\n return [preEndPoint.x - point1.x, preEndPoint.y - point1.y];\n };\n } else {\n this.command = 'SQ';\n this.params = [preEndPoint, point2, point3];\n this.subStart = preSegment.subStart;\n this.endPoint = point3;\n\n this.endTangent = function () {\n return [point3.x - point2.x, point3.y - point2.y];\n };\n\n this.startTangent = function () {\n return [preEndPoint.x - point2.x, preEndPoint.y - point2.y];\n };\n }\n\n break;\n\n case 'A':\n {\n var rx = p1;\n var ry = p2;\n var psi = p[3];\n var fa = p[4];\n var fs = p[5];\n\n if (relative) {\n point = toAbsolute(p[6], p[7], preEndPoint);\n } else {\n point = {\n x: p[6],\n y: p[7]\n };\n }\n\n this.command = 'A';\n var params = getArcParams(preEndPoint, point, fa, fs, rx, ry, psi);\n this.params = params;\n var start = preSegment.subStart;\n this.subStart = start;\n this.endPoint = point;\n var startAngle = params[5] % (Math.PI * 2);\n\n if (Util.isNumberEqual(startAngle, Math.PI * 2)) {\n startAngle = 0;\n }\n\n var endAngle = params[6] % (Math.PI * 2);\n\n if (Util.isNumberEqual(endAngle, Math.PI * 2)) {\n endAngle = 0;\n }\n\n var d = 0.001;\n\n this.startTangent = function () {\n if (fs === 0) {\n d *= -1;\n }\n\n var dx = params[3] * Math.cos(startAngle - d) + params[1];\n var dy = params[4] * Math.sin(startAngle - d) + params[2];\n return [dx - start.x, dy - start.y];\n };\n\n this.endTangent = function () {\n var endAngle = params[6];\n\n if (endAngle - Math.PI * 2 < 0.0001) {\n endAngle = 0;\n }\n\n var dx = params[3] * Math.cos(startAngle + endAngle + d) + params[1];\n var dy = params[4] * Math.sin(startAngle + endAngle - d) + params[2];\n return [preEndPoint.x - dx, preEndPoint.y - dy];\n };\n\n break;\n }\n\n case 'Z':\n {\n this.command = 'Z';\n this.params = [preEndPoint, preSegment.subStart];\n this.subStart = preSegment.subStart;\n this.endPoint = preSegment.subStart;\n }\n }\n },\n isInside: function isInside(x, y, lineWidth) {\n var self = this;\n var command = self.command;\n var params = self.params;\n var box = self.box;\n\n if (box) {\n if (!Inside.box(box.minX, box.maxX, box.minY, box.maxY, x, y)) {\n return false;\n }\n }\n\n switch (command) {\n default:\n break;\n\n case 'M':\n return false;\n\n case 'TL':\n case 'L':\n case 'Z':\n return Inside.line(params[0].x, params[0].y, params[1].x, params[1].y, lineWidth, x, y);\n\n case 'SQ':\n case 'Q':\n return Inside.quadraticline(params[0].x, params[0].y, params[1].x, params[1].y, params[2].x, params[2].y, lineWidth, x, y);\n\n case 'C':\n {\n return Inside.cubicline(params[0].x, params[0].y, params[1].x, params[1].y, params[2].x, params[2].y, params[3].x, params[3].y, lineWidth, x, y);\n }\n\n case 'A':\n {\n var p = params;\n var cx = p[1];\n var cy = p[2];\n var rx = p[3];\n var ry = p[4];\n var theta = p[5];\n var dTheta = p[6];\n var psi = p[7];\n var fs = p[8];\n var r = rx > ry ? rx : ry;\n var scaleX = rx > ry ? 1 : rx / ry;\n var scaleY = rx > ry ? ry / rx : 1;\n p = [x, y, 1];\n var m = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n mat3.translate(m, m, [-cx, -cy]);\n mat3.rotate(m, m, -psi);\n mat3.scale(m, m, [1 / scaleX, 1 / scaleY]);\n vec3.transformMat3(p, p, m);\n return Inside.arcline(0, 0, r, theta, theta + dTheta, 1 - fs, lineWidth, p[0], p[1]);\n }\n }\n\n return false;\n },\n draw: function draw(context) {\n var command = this.command;\n var params = this.params;\n var point1;\n var point2;\n var point3;\n\n switch (command) {\n default:\n break;\n\n case 'M':\n context.moveTo(params[1].x, params[1].y);\n break;\n\n case 'TL':\n case 'L':\n context.lineTo(params[1].x, params[1].y);\n break;\n\n case 'SQ':\n case 'Q':\n point1 = params[1];\n point2 = params[2];\n context.quadraticCurveTo(point1.x, point1.y, point2.x, point2.y);\n break;\n\n case 'C':\n point1 = params[1];\n point2 = params[2];\n point3 = params[3];\n context.bezierCurveTo(point1.x, point1.y, point2.x, point2.y, point3.x, point3.y);\n break;\n\n case 'A':\n {\n var p = params;\n var p1 = p[1];\n var p2 = p[2];\n var cx = p1;\n var cy = p2;\n var rx = p[3];\n var ry = p[4];\n var theta = p[5];\n var dTheta = p[6];\n var psi = p[7];\n var fs = p[8];\n var r = rx > ry ? rx : ry;\n var scaleX = rx > ry ? 1 : rx / ry;\n var scaleY = rx > ry ? ry / rx : 1;\n context.translate(cx, cy);\n context.rotate(psi);\n context.scale(scaleX, scaleY);\n context.arc(0, 0, r, theta, theta + dTheta, 1 - fs);\n context.scale(1 / scaleX, 1 / scaleY);\n context.rotate(-psi);\n context.translate(-cx, -cy);\n break;\n }\n\n case 'Z':\n context.closePath();\n break;\n }\n },\n getBBox: function getBBox(lineWidth) {\n var halfWidth = lineWidth / 2;\n var params = this.params;\n var yDims;\n var xDims;\n var i;\n var l;\n\n switch (this.command) {\n default:\n case 'M':\n case 'Z':\n break;\n\n case 'TL':\n case 'L':\n this.box = {\n minX: Math.min(params[0].x, params[1].x) - halfWidth,\n maxX: Math.max(params[0].x, params[1].x) + halfWidth,\n minY: Math.min(params[0].y, params[1].y) - halfWidth,\n maxY: Math.max(params[0].y, params[1].y) + halfWidth\n };\n break;\n\n case 'SQ':\n case 'Q':\n xDims = Quadratic.extrema(params[0].x, params[1].x, params[2].x);\n\n for (i = 0, l = xDims.length; i < l; i++) {\n xDims[i] = Quadratic.at(params[0].x, params[1].x, params[2].x, xDims[i]);\n }\n\n xDims.push(params[0].x, params[2].x);\n yDims = Quadratic.extrema(params[0].y, params[1].y, params[2].y);\n\n for (i = 0, l = yDims.length; i < l; i++) {\n yDims[i] = Quadratic.at(params[0].y, params[1].y, params[2].y, yDims);\n }\n\n yDims.push(params[0].y, params[2].y);\n this.box = {\n minX: Math.min.apply(Math, xDims) - halfWidth,\n maxX: Math.max.apply(Math, xDims) + halfWidth,\n minY: Math.min.apply(Math, yDims) - halfWidth,\n maxY: Math.max.apply(Math, yDims) + halfWidth\n };\n break;\n\n case 'C':\n xDims = Cubic.extrema(params[0].x, params[1].x, params[2].x, params[3].x);\n\n for (i = 0, l = xDims.length; i < l; i++) {\n xDims[i] = Cubic.at(params[0].x, params[1].x, params[2].x, params[3].x, xDims[i]);\n }\n\n yDims = Cubic.extrema(params[0].y, params[1].y, params[2].y, params[3].y);\n\n for (i = 0, l = yDims.length; i < l; i++) {\n yDims[i] = Cubic.at(params[0].y, params[1].y, params[2].y, params[3].y, yDims[i]);\n }\n\n xDims.push(params[0].x, params[3].x);\n yDims.push(params[0].y, params[3].y);\n this.box = {\n minX: Math.min.apply(Math, xDims) - halfWidth,\n maxX: Math.max.apply(Math, xDims) + halfWidth,\n minY: Math.min.apply(Math, yDims) - halfWidth,\n maxY: Math.max.apply(Math, yDims) + halfWidth\n };\n break;\n\n case 'A':\n {\n // todo 待优化\n var p = params;\n var cx = p[1];\n var cy = p[2];\n var rx = p[3];\n var ry = p[4];\n var theta = p[5];\n var dTheta = p[6];\n var psi = p[7];\n var fs = p[8];\n var start = theta;\n var end = theta + dTheta;\n var xDim = Ellipse.xExtrema(psi, rx, ry);\n var minX = Infinity;\n var maxX = -Infinity;\n var xs = [start, end];\n\n for (i = -Math.PI * 2; i <= Math.PI * 2; i += Math.PI) {\n var xAngle = xDim + i;\n\n if (fs === 1) {\n if (start < xAngle && xAngle < end) {\n xs.push(xAngle);\n }\n } else {\n if (end < xAngle && xAngle < start) {\n xs.push(xAngle);\n }\n }\n }\n\n for (i = 0, l = xs.length; i < l; i++) {\n var x = Ellipse.xAt(psi, rx, ry, cx, xs[i]);\n\n if (x < minX) {\n minX = x;\n }\n\n if (x > maxX) {\n maxX = x;\n }\n }\n\n var yDim = Ellipse.yExtrema(psi, rx, ry);\n var minY = Infinity;\n var maxY = -Infinity;\n var ys = [start, end];\n\n for (i = -Math.PI * 2; i <= Math.PI * 2; i += Math.PI) {\n var yAngle = yDim + i;\n\n if (fs === 1) {\n if (start < yAngle && yAngle < end) {\n ys.push(yAngle);\n }\n } else {\n if (end < yAngle && yAngle < start) {\n ys.push(yAngle);\n }\n }\n }\n\n for (i = 0, l = ys.length; i < l; i++) {\n var y = Ellipse.yAt(psi, rx, ry, cy, ys[i]);\n\n if (y < minY) {\n minY = y;\n }\n\n if (y > maxY) {\n maxY = y;\n }\n }\n\n this.box = {\n minX: minX - halfWidth,\n maxX: maxX + halfWidth,\n minY: minY - halfWidth,\n maxY: maxY + halfWidth\n };\n break;\n }\n }\n }\n});\nmodule.exports = PathSegment;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/util/path-segment.js\n// module id = 27\n// module chunks = 0","export default function (a, b) {\n return a = +a, b -= a, function (t) {\n return a + b * t;\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/number.js\n// module id = 28\n// module chunks = 0","var isArrayLike = require('../type/is-array-like');\n\nvar indexOf = Array.prototype.indexOf;\n\nvar contains = function contains(arr, value) {\n if (!isArrayLike(arr)) {\n return false;\n }\n\n return indexOf.call(arr, value) > -1;\n};\n\nmodule.exports = contains;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/contains.js\n// module id = 29\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * @fileOverview Chart、View、Geometry 的基类\n * @author dxq613@gmail.com\n */\nvar EventEmitter = require('wolfy87-eventemitter');\n\nvar Util = require('./util');\n\nvar Base = /*#__PURE__*/function (_EventEmitter) {\n _inheritsLoose(Base, _EventEmitter);\n\n var _super = _createSuper(Base);\n\n var _proto = Base.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n return {};\n };\n\n function Base(cfg) {\n var _this;\n\n _this = _EventEmitter.call(this) || this;\n\n var self = _assertThisInitialized(_this);\n\n var attrs = {\n visible: true\n };\n var defaultCfg = self.getDefaultCfg();\n self._attrs = attrs;\n Util.deepMix(attrs, defaultCfg, cfg);\n return _this;\n }\n\n _proto.get = function get(name) {\n return this._attrs[name];\n };\n\n _proto.set = function set(name, value) {\n this._attrs[name] = value;\n }\n /**\n * @protected\n * @param {Boolean} visible 是否可见\n * 显示、隐藏\n */\n ;\n\n _proto.changeVisible = function changeVisible()\n /* visible */\n {};\n\n _proto.destroy = function destroy() {\n var self = this;\n self._attrs = {};\n self.removeAllListeners();\n self.destroyed = true;\n };\n\n return Base;\n}(EventEmitter);\n\nmodule.exports = Base;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/base.js\n// module id = 30\n// module chunks = 0","var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar isObject = function isObject(value) {\n /**\n * isObject({}) => true\n * isObject([1, 2, 3]) => true\n * isObject(Function) => true\n * isObject(null) => false\n */\n var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n return value !== null && type === 'object' || type === 'function';\n};\n\nmodule.exports = isObject;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-object.js\n// module id = 31\n// module chunks = 0","var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar isArray = require('./type/is-array');\n\nvar clone = function clone(obj) {\n if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object' || obj === null) {\n return obj;\n }\n\n var rst = void 0;\n\n if (isArray(obj)) {\n rst = [];\n\n for (var i = 0, l = obj.length; i < l; i++) {\n if (_typeof(obj[i]) === 'object' && obj[i] != null) {\n rst[i] = clone(obj[i]);\n } else {\n rst[i] = obj[i];\n }\n }\n } else {\n rst = {};\n\n for (var k in obj) {\n if (_typeof(obj[k]) === 'object' && obj[k] != null) {\n rst[k] = clone(obj[k]);\n } else {\n rst[k] = obj[k];\n }\n }\n }\n\n return rst;\n};\n\nmodule.exports = clone;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/clone.js\n// module id = 32\n// module chunks = 0","var isPlainObject = require('./type/is-plain-object');\n\nvar isArray = require('./type/is-array');\n\nvar MAX_MIX_LEVEL = 5;\n\nfunction _deepMix(dist, src, level, maxLevel) {\n level = level || 0;\n maxLevel = maxLevel || MAX_MIX_LEVEL;\n\n for (var key in src) {\n if (src.hasOwnProperty(key)) {\n var value = src[key];\n\n if (value !== null && isPlainObject(value)) {\n if (!isPlainObject(dist[key])) {\n dist[key] = {};\n }\n\n if (level < maxLevel) {\n _deepMix(dist[key], value, level + 1, maxLevel);\n } else {\n dist[key] = src[key];\n }\n } else if (isArray(value)) {\n dist[key] = [];\n dist[key] = dist[key].concat(value);\n } else if (value !== undefined) {\n dist[key] = value;\n }\n }\n }\n}\n\nvar deepMix = function deepMix() {\n var args = new Array(arguments.length);\n var length = args.length;\n\n for (var i = 0; i < length; i++) {\n args[i] = arguments[i];\n }\n\n var rst = args[0];\n\n for (var _i = 1; _i < length; _i++) {\n _deepMix(rst, args[_i]);\n }\n\n return rst;\n};\n\nmodule.exports = deepMix;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/deep-mix.js\n// module id = 33\n// module chunks = 0","var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar isObjectLike = function isObjectLike(value) {\n /**\n * isObjectLike({}) => true\n * isObjectLike([1, 2, 3]) => true\n * isObjectLike(Function) => false\n * isObjectLike(null) => false\n */\n return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && value !== null;\n};\n\nmodule.exports = isObjectLike;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-object-like.js\n// module id = 34\n// module chunks = 0","var isObjectLike = require('./type/is-object-like');\n\nvar isArrayLike = require('./type/is-array-like');\n\nvar isString = require('./type/is-string');\n\nvar isEqual = function isEqual(value, other) {\n if (value === other) {\n return true;\n }\n\n if (!value || !other) {\n return false;\n }\n\n if (isString(value) || isString(other)) {\n return false;\n }\n\n if (isArrayLike(value) || isArrayLike(other)) {\n if (value.length !== other.length) {\n return false;\n }\n\n var rst = true;\n\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n\n if (!rst) {\n break;\n }\n }\n\n return rst;\n }\n\n if (isObjectLike(value) || isObjectLike(other)) {\n var valueKeys = Object.keys(value);\n var otherKeys = Object.keys(other);\n\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n\n var _rst = true;\n\n for (var _i = 0; _i < valueKeys.length; _i++) {\n _rst = isEqual(value[valueKeys[_i]], other[valueKeys[_i]]);\n\n if (!_rst) {\n break;\n }\n }\n\n return _rst;\n }\n\n return false;\n};\n\nmodule.exports = isEqual;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/is-equal.js\n// module id = 35\n// module chunks = 0","var clamp = function clamp(a, min, max) {\n if (a < min) {\n return min;\n } else if (a > max) {\n return max;\n }\n\n return a;\n};\n\nmodule.exports = clamp;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/clamp.js\n// module id = 36\n// module chunks = 0","var mat3 = require('@antv/gl-matrix/lib/gl-matrix/mat3');\n\nmat3.translate = function (out, a, v) {\n var transMat = new Array(9);\n mat3.fromTranslation(transMat, v);\n return mat3.multiply(out, transMat, a);\n};\n\nmat3.rotate = function (out, a, rad) {\n var rotateMat = new Array(9);\n mat3.fromRotation(rotateMat, rad);\n return mat3.multiply(out, rotateMat, a);\n};\n\nmat3.scale = function (out, a, v) {\n var scaleMat = new Array(9);\n mat3.fromScaling(scaleMat, v);\n return mat3.multiply(out, scaleMat, a);\n};\n\nmodule.exports = mat3;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/mat3.js\n// module id = 37\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.setMatrixArrayType = setMatrixArrayType;\nexports.toRadian = toRadian;\nexports.equals = equals;\n/**\n * Common utilities\n * @module glMatrix\n */\n// Configuration Constants\n\nvar EPSILON = exports.EPSILON = 0.000001;\nvar ARRAY_TYPE = exports.ARRAY_TYPE = typeof Float32Array !== 'undefined' ? Float32Array : Array;\nvar RANDOM = exports.RANDOM = Math.random;\n/**\n * Sets the type of array used when creating new vectors and matrices\n *\n * @param {Type} type Array type, such as Float32Array or Array\n */\n\nfunction setMatrixArrayType(type) {\n exports.ARRAY_TYPE = ARRAY_TYPE = type;\n}\n\nvar degree = Math.PI / 180;\n/**\n * Convert Degree To Radian\n *\n * @param {Number} a Angle in Degrees\n */\n\nfunction toRadian(a) {\n return a * degree;\n}\n/**\n * Tests whether or not the arguments have approximately the same value, within an absolute\n * or relative tolerance of glMatrix.EPSILON (an absolute tolerance is used for values less\n * than or equal to 1.0, and a relative tolerance is used for larger values)\n *\n * @param {Number} a The first number to test.\n * @param {Number} b The second number to test.\n * @returns {Boolean} True if the numbers are approximately equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n return Math.abs(a - b) <= EPSILON * Math.max(1.0, Math.abs(a), Math.abs(b));\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/common.js\n// module id = 38\n// module chunks = 0","var Line = require('../math/line');\n\nvar Quadratic = require('../math/quadratic');\n\nvar Cubic = require('../math/cubic');\n\nvar Arc = require('../math/arc');\n\nmodule.exports = {\n line: function line(x1, y1, x2, y2, lineWidth, x, y) {\n var box = Line.box(x1, y1, x2, y2, lineWidth);\n\n if (!this.box(box.minX, box.maxX, box.minY, box.maxY, x, y)) {\n return false;\n }\n\n var d = Line.pointDistance(x1, y1, x2, y2, x, y);\n\n if (isNaN(d)) {\n return false;\n }\n\n return d <= lineWidth / 2;\n },\n polyline: function polyline(points, lineWidth, x, y) {\n var l = points.length - 1;\n\n if (l < 1) {\n return false;\n }\n\n for (var i = 0; i < l; i++) {\n var x1 = points[i][0];\n var y1 = points[i][1];\n var x2 = points[i + 1][0];\n var y2 = points[i + 1][1];\n\n if (this.line(x1, y1, x2, y2, lineWidth, x, y)) {\n return true;\n }\n }\n\n return false;\n },\n cubicline: function cubicline(x1, y1, x2, y2, x3, y3, x4, y4, lineWidth, x, y) {\n return Cubic.pointDistance(x1, y1, x2, y2, x3, y3, x4, y4, x, y) <= lineWidth / 2;\n },\n quadraticline: function quadraticline(x1, y1, x2, y2, x3, y3, lineWidth, x, y) {\n return Quadratic.pointDistance(x1, y1, x2, y2, x3, y3, x, y) <= lineWidth / 2;\n },\n arcline: function arcline(cx, cy, r, startAngle, endAngle, clockwise, lineWidth, x, y) {\n return Arc.pointDistance(cx, cy, r, startAngle, endAngle, clockwise, x, y) <= lineWidth / 2;\n },\n rect: function rect(rx, ry, width, height, x, y) {\n return rx <= x && x <= rx + width && ry <= y && y <= ry + height;\n },\n circle: function circle(cx, cy, r, x, y) {\n return Math.pow(x - cx, 2) + Math.pow(y - cy, 2) <= Math.pow(r, 2);\n },\n box: function box(minX, maxX, minY, maxY, x, y) {\n return minX <= x && x <= maxX && minY <= y && y <= maxY;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/util/inside.js\n// module id = 39\n// module chunks = 0","var Util = require('../../util/index');\n\nvar vec2 = Util.vec2;\n\nfunction cubicAt(p0, p1, p2, p3, t) {\n var onet = 1 - t;\n return onet * onet * (onet * p3 + 3 * t * p2) + t * t * (t * p0 + 3 * onet * p1);\n}\n\nfunction cubicDerivativeAt(p0, p1, p2, p3, t) {\n var onet = 1 - t;\n return 3 * (((p1 - p0) * onet + 2 * (p2 - p1) * t) * onet + (p3 - p2) * t * t);\n}\n\nfunction cubicProjectPoint(x1, y1, x2, y2, x3, y3, x4, y4, x, y, out) {\n var t;\n var interval = 0.005;\n var d = Infinity;\n\n var _t;\n\n var v1;\n var d1;\n var d2;\n var v2;\n var prev;\n var next;\n var EPSILON = 0.0001;\n var v0 = [x, y];\n\n for (_t = 0; _t < 1; _t += 0.05) {\n v1 = [cubicAt(x1, x2, x3, x4, _t), cubicAt(y1, y2, y3, y4, _t)];\n d1 = vec2.squaredDistance(v0, v1);\n\n if (d1 < d) {\n t = _t;\n d = d1;\n }\n }\n\n d = Infinity;\n\n for (var i = 0; i < 32; i++) {\n if (interval < EPSILON) {\n break;\n }\n\n prev = t - interval;\n next = t + interval;\n v1 = [cubicAt(x1, x2, x3, x4, prev), cubicAt(y1, y2, y3, y4, prev)];\n d1 = vec2.squaredDistance(v0, v1);\n\n if (prev >= 0 && d1 < d) {\n t = prev;\n d = d1;\n } else {\n v2 = [cubicAt(x1, x2, x3, x4, next), cubicAt(y1, y2, y3, y4, next)];\n d2 = vec2.squaredDistance(v0, v2);\n\n if (next <= 1 && d2 < d) {\n t = next;\n d = d2;\n } else {\n interval *= 0.5;\n }\n }\n }\n\n if (out) {\n out.x = cubicAt(x1, x2, x3, x4, t);\n out.y = cubicAt(y1, y2, y3, y4, t);\n }\n\n return Math.sqrt(d);\n}\n\nfunction cubicExtrema(p0, p1, p2, p3) {\n var a = 3 * p0 - 9 * p1 + 9 * p2 - 3 * p3;\n var b = 6 * p1 - 12 * p2 + 6 * p3;\n var c = 3 * p2 - 3 * p3;\n var extrema = [];\n var t1;\n var t2;\n var discSqrt;\n\n if (Util.isNumberEqual(a, 0)) {\n if (!Util.isNumberEqual(b, 0)) {\n t1 = -c / b;\n\n if (t1 >= 0 && t1 <= 1) {\n extrema.push(t1);\n }\n }\n } else {\n var disc = b * b - 4 * a * c;\n\n if (Util.isNumberEqual(disc, 0)) {\n extrema.push(-b / (2 * a));\n } else if (disc > 0) {\n discSqrt = Math.sqrt(disc);\n t1 = (-b + discSqrt) / (2 * a);\n t2 = (-b - discSqrt) / (2 * a);\n\n if (t1 >= 0 && t1 <= 1) {\n extrema.push(t1);\n }\n\n if (t2 >= 0 && t2 <= 1) {\n extrema.push(t2);\n }\n }\n }\n\n return extrema;\n}\n\nfunction base3(t, p1, p2, p3, p4) {\n var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4;\n var t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;\n return t * t2 - 3 * p1 + 3 * p2;\n}\n\nfunction cubiclLen(x1, y1, x2, y2, x3, y3, x4, y4, z) {\n if (Util.isNil(z)) {\n z = 1;\n }\n\n z = z > 1 ? 1 : z < 0 ? 0 : z;\n var z2 = z / 2;\n var n = 12;\n var Tvalues = [-0.1252, 0.1252, -0.3678, 0.3678, -0.5873, 0.5873, -0.7699, 0.7699, -0.9041, 0.9041, -0.9816, 0.9816];\n var Cvalues = [0.2491, 0.2491, 0.2335, 0.2335, 0.2032, 0.2032, 0.1601, 0.1601, 0.1069, 0.1069, 0.0472, 0.0472];\n var sum = 0;\n\n for (var i = 0; i < n; i++) {\n var ct = z2 * Tvalues[i] + z2;\n var xbase = base3(ct, x1, x2, x3, x4);\n var ybase = base3(ct, y1, y2, y3, y4);\n var comb = xbase * xbase + ybase * ybase;\n sum += Cvalues[i] * Math.sqrt(comb);\n }\n\n return z2 * sum;\n}\n\nmodule.exports = {\n at: cubicAt,\n derivativeAt: cubicDerivativeAt,\n projectPoint: function projectPoint(x1, y1, x2, y2, x3, y3, x4, y4, x, y) {\n var rst = {};\n cubicProjectPoint(x1, y1, x2, y2, x3, y3, x4, y4, x, y, rst);\n return rst;\n },\n pointDistance: cubicProjectPoint,\n extrema: cubicExtrema,\n len: cubiclLen\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/cubic.js\n// module id = 40\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar Format = require('../util/format');\n\nvar PathSegment = require('./util/path-segment');\n\nvar Marker = function Marker(cfg) {\n Marker.superclass.constructor.call(this, cfg);\n};\n\nMarker.Symbols = {\n // 圆\n circle: function circle(x, y, r) {\n return [['M', x, y], ['m', -r, 0], ['a', r, r, 0, 1, 0, r * 2, 0], ['a', r, r, 0, 1, 0, -r * 2, 0]];\n },\n // 正方形\n square: function square(x, y, r) {\n return [['M', x - r, y - r], ['L', x + r, y - r], ['L', x + r, y + r], ['L', x - r, y + r], ['Z']];\n },\n // 菱形\n diamond: function diamond(x, y, r) {\n return [['M', x - r, y], ['L', x, y - r], ['L', x + r, y], ['L', x, y + r], ['Z']];\n },\n // 三角形\n triangle: function triangle(x, y, r) {\n var diffY = r * Math.sin(1 / 3 * Math.PI);\n return [['M', x - r, y + diffY], ['L', x, y - diffY], ['L', x + r, y + diffY], ['z']];\n },\n // 倒三角形\n 'triangle-down': function triangleDown(x, y, r) {\n var diffY = r * Math.sin(1 / 3 * Math.PI);\n return [['M', x - r, y - diffY], ['L', x + r, y - diffY], ['L', x, y + diffY], ['Z']];\n }\n};\nMarker.ATTRS = {\n path: null,\n lineWidth: 1\n};\nUtil.extend(Marker, Shape);\nUtil.augment(Marker, {\n type: 'marker',\n canFill: true,\n canStroke: true,\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n x: 0,\n y: 0,\n lineWidth: 1\n };\n },\n calculateBox: function calculateBox() {\n var attrs = this._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var r = attrs.radius;\n var lineWidth = this.getHitLineWidth();\n var halfWidth = lineWidth / 2 + r;\n return {\n minX: cx - halfWidth,\n minY: cy - halfWidth,\n maxX: cx + halfWidth,\n maxY: cy + halfWidth\n };\n },\n _getPath: function _getPath() {\n var attrs = this._attrs;\n var x = attrs.x;\n var y = attrs.y;\n var r = attrs.radius || attrs.r;\n var symbol = attrs.symbol || 'circle';\n var method;\n\n if (Util.isFunction(symbol)) {\n method = symbol;\n } else {\n method = Marker.Symbols[symbol];\n }\n\n if (!method) {\n console.warn(symbol + \" marker is not supported.\");\n return null;\n }\n\n return method(x, y, r);\n },\n createPath: function createPath(context) {\n var segments = this._cfg.segments;\n\n if (segments && !this._cfg.hasUpdate) {\n context.beginPath();\n\n for (var i = 0; i < segments.length; i++) {\n segments[i].draw(context);\n }\n\n return;\n }\n\n var path = Format.parsePath(this._getPath());\n context.beginPath();\n var preSegment;\n segments = [];\n\n for (var _i = 0; _i < path.length; _i++) {\n var item = path[_i];\n preSegment = new PathSegment(item, preSegment, _i === path.length - 1);\n segments.push(preSegment);\n preSegment.draw(context);\n }\n\n this._cfg.segments = segments;\n this._cfg.hasUpdate = false;\n }\n});\nmodule.exports = Marker;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/marker.js\n// module id = 41\n// module chunks = 0","var Util = require('./common');\n\nvar SPACES = \"\\t\\n\\x0B\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\";\nvar PATH_COMMAND = new RegExp('([a-z])[' + SPACES + ',]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[' + SPACES + ']*,?[' + SPACES + ']*)+)', 'ig');\nvar PATH_VALUES = new RegExp('(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[' + SPACES + ']*,?[' + SPACES + ']*', 'ig'); // Parses given path string into an array of arrays of path segments\n\nvar parsePathString = function parsePathString(pathString) {\n if (!pathString) {\n return null;\n }\n\n if (typeof pathString === typeof []) {\n return pathString;\n }\n\n var paramCounts = {\n a: 7,\n c: 6,\n o: 2,\n h: 1,\n l: 2,\n m: 2,\n r: 4,\n q: 4,\n s: 4,\n t: 2,\n v: 1,\n u: 3,\n z: 0\n };\n var data = [];\n String(pathString).replace(PATH_COMMAND, function (a, b, c) {\n var params = [];\n var name = b.toLowerCase();\n c.replace(PATH_VALUES, function (a, b) {\n b && params.push(+b);\n });\n\n if (name === 'm' && params.length > 2) {\n data.push([b].concat(params.splice(0, 2)));\n name = 'l';\n b = b === 'm' ? 'l' : 'L';\n }\n\n if (name === 'o' && params.length === 1) {\n data.push([b, params[0]]);\n }\n\n if (name === 'r') {\n data.push([b].concat(params));\n } else {\n while (params.length >= paramCounts[name]) {\n data.push([b].concat(params.splice(0, paramCounts[name])));\n\n if (!paramCounts[name]) {\n break;\n }\n }\n }\n });\n return data;\n}; // http://schepers.cc/getting-to-the-point\n\n\nvar catmullRom2bezier = function catmullRom2bezier(crp, z) {\n var d = [];\n\n for (var i = 0, iLen = crp.length; iLen - 2 * !z > i; i += 2) {\n var p = [{\n x: +crp[i - 2],\n y: +crp[i - 1]\n }, {\n x: +crp[i],\n y: +crp[i + 1]\n }, {\n x: +crp[i + 2],\n y: +crp[i + 3]\n }, {\n x: +crp[i + 4],\n y: +crp[i + 5]\n }];\n\n if (z) {\n if (!i) {\n p[0] = {\n x: +crp[iLen - 2],\n y: +crp[iLen - 1]\n };\n } else if (iLen - 4 === i) {\n p[3] = {\n x: +crp[0],\n y: +crp[1]\n };\n } else if (iLen - 2 === i) {\n p[2] = {\n x: +crp[0],\n y: +crp[1]\n };\n p[3] = {\n x: +crp[2],\n y: +crp[3]\n };\n }\n } else {\n if (iLen - 4 === i) {\n p[3] = p[2];\n } else if (!i) {\n p[0] = {\n x: +crp[i],\n y: +crp[i + 1]\n };\n }\n }\n\n d.push(['C', (-p[0].x + 6 * p[1].x + p[2].x) / 6, (-p[0].y + 6 * p[1].y + p[2].y) / 6, (p[1].x + 6 * p[2].x - p[3].x) / 6, (p[1].y + 6 * p[2].y - p[3].y) / 6, p[2].x, p[2].y]);\n }\n\n return d;\n};\n\nvar ellipsePath = function ellipsePath(x, y, rx, ry, a) {\n var res = [];\n\n if (a === null && ry === null) {\n ry = rx;\n }\n\n x = +x;\n y = +y;\n rx = +rx;\n ry = +ry;\n\n if (a !== null) {\n var rad = Math.PI / 180;\n var x1 = x + rx * Math.cos(-ry * rad);\n var x2 = x + rx * Math.cos(-a * rad);\n var y1 = y + rx * Math.sin(-ry * rad);\n var y2 = y + rx * Math.sin(-a * rad);\n res = [['M', x1, y1], ['A', rx, rx, 0, +(a - ry > 180), 0, x2, y2]];\n } else {\n res = [['M', x, y], ['m', 0, -ry], ['a', rx, ry, 0, 1, 1, 0, 2 * ry], ['a', rx, ry, 0, 1, 1, 0, -2 * ry], ['z']];\n }\n\n return res;\n};\n\nvar pathToAbsolute = function pathToAbsolute(pathArray) {\n pathArray = parsePathString(pathArray);\n\n if (!pathArray || !pathArray.length) {\n return [['M', 0, 0]];\n }\n\n var res = [];\n var x = 0;\n var y = 0;\n var mx = 0;\n var my = 0;\n var start = 0;\n var pa0;\n var dots;\n\n if (pathArray[0][0] === 'M') {\n x = +pathArray[0][1];\n y = +pathArray[0][2];\n mx = x;\n my = y;\n start++;\n res[0] = ['M', x, y];\n }\n\n var crz = pathArray.length === 3 && pathArray[0][0] === 'M' && pathArray[1][0].toUpperCase() === 'R' && pathArray[2][0].toUpperCase() === 'Z';\n\n for (var r, pa, i = start, ii = pathArray.length; i < ii; i++) {\n res.push(r = []);\n pa = pathArray[i];\n pa0 = pa[0];\n\n if (pa0 !== pa0.toUpperCase()) {\n r[0] = pa0.toUpperCase();\n\n switch (r[0]) {\n case 'A':\n r[1] = pa[1];\n r[2] = pa[2];\n r[3] = pa[3];\n r[4] = pa[4];\n r[5] = pa[5];\n r[6] = +pa[6] + x;\n r[7] = +pa[7] + y;\n break;\n\n case 'V':\n r[1] = +pa[1] + y;\n break;\n\n case 'H':\n r[1] = +pa[1] + x;\n break;\n\n case 'R':\n dots = [x, y].concat(pa.slice(1));\n\n for (var j = 2, jj = dots.length; j < jj; j++) {\n dots[j] = +dots[j] + x;\n dots[++j] = +dots[j] + y;\n }\n\n res.pop();\n res = res.concat(catmullRom2bezier(dots, crz));\n break;\n\n case 'O':\n res.pop();\n dots = ellipsePath(x, y, pa[1], pa[2]);\n dots.push(dots[0]);\n res = res.concat(dots);\n break;\n\n case 'U':\n res.pop();\n res = res.concat(ellipsePath(x, y, pa[1], pa[2], pa[3]));\n r = ['U'].concat(res[res.length - 1].slice(-2));\n break;\n\n case 'M':\n mx = +pa[1] + x;\n my = +pa[2] + y;\n break;\n // for lint\n\n default:\n for (var _j = 1, _jj = pa.length; _j < _jj; _j++) {\n r[_j] = +pa[_j] + (_j % 2 ? x : y);\n }\n\n }\n } else if (pa0 === 'R') {\n dots = [x, y].concat(pa.slice(1));\n res.pop();\n res = res.concat(catmullRom2bezier(dots, crz));\n r = ['R'].concat(pa.slice(-2));\n } else if (pa0 === 'O') {\n res.pop();\n dots = ellipsePath(x, y, pa[1], pa[2]);\n dots.push(dots[0]);\n res = res.concat(dots);\n } else if (pa0 === 'U') {\n res.pop();\n res = res.concat(ellipsePath(x, y, pa[1], pa[2], pa[3]));\n r = ['U'].concat(res[res.length - 1].slice(-2));\n } else {\n for (var k = 0, kk = pa.length; k < kk; k++) {\n r[k] = pa[k];\n }\n }\n\n pa0 = pa0.toUpperCase();\n\n if (pa0 !== 'O') {\n switch (r[0]) {\n case 'Z':\n x = +mx;\n y = +my;\n break;\n\n case 'H':\n x = r[1];\n break;\n\n case 'V':\n y = r[1];\n break;\n\n case 'M':\n mx = r[r.length - 2];\n my = r[r.length - 1];\n break;\n // for lint\n\n default:\n x = r[r.length - 2];\n y = r[r.length - 1];\n }\n }\n }\n\n return res;\n};\n\nvar l2c = function l2c(x1, y1, x2, y2) {\n return [x1, y1, x2, y2, x2, y2];\n};\n\nvar q2c = function q2c(x1, y1, ax, ay, x2, y2) {\n var _13 = 1 / 3;\n\n var _23 = 2 / 3;\n\n return [_13 * x1 + _23 * ax, _13 * y1 + _23 * ay, _13 * x2 + _23 * ax, _13 * y2 + _23 * ay, x2, y2];\n};\n\nvar a2c = function a2c(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {\n // for more information of where this math came from visit:\n // http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes\n if (rx === ry) {\n rx += 1;\n }\n\n var _120 = Math.PI * 120 / 180;\n\n var rad = Math.PI / 180 * (+angle || 0);\n var res = [];\n var xy;\n var f1;\n var f2;\n var cx;\n var cy;\n\n var rotate = function rotate(x, y, rad) {\n var X = x * Math.cos(rad) - y * Math.sin(rad);\n var Y = x * Math.sin(rad) + y * Math.cos(rad);\n return {\n x: X,\n y: Y\n };\n };\n\n if (!recursive) {\n xy = rotate(x1, y1, -rad);\n x1 = xy.x;\n y1 = xy.y;\n xy = rotate(x2, y2, -rad);\n x2 = xy.x;\n y2 = xy.y;\n\n if (x1 === x2 && y1 === y2) {\n // 若弧的起始点和终点重叠则错开一点\n x2 += 1;\n y2 += 1;\n } // const cos = Math.cos(Math.PI / 180 * angle);\n // const sin = Math.sin(Math.PI / 180 * angle);\n\n\n var x = (x1 - x2) / 2;\n var y = (y1 - y2) / 2;\n var h = x * x / (rx * rx) + y * y / (ry * ry);\n\n if (h > 1) {\n h = Math.sqrt(h);\n rx = h * rx;\n ry = h * ry;\n }\n\n var rx2 = rx * rx;\n var ry2 = ry * ry;\n var k = (large_arc_flag === sweep_flag ? -1 : 1) * Math.sqrt(Math.abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x)));\n cx = k * rx * y / ry + (x1 + x2) / 2;\n cy = k * -ry * x / rx + (y1 + y2) / 2;\n f1 = Math.asin(((y1 - cy) / ry).toFixed(9));\n f2 = Math.asin(((y2 - cy) / ry).toFixed(9));\n f1 = x1 < cx ? Math.PI - f1 : f1;\n f2 = x2 < cx ? Math.PI - f2 : f2;\n f1 < 0 && (f1 = Math.PI * 2 + f1);\n f2 < 0 && (f2 = Math.PI * 2 + f2);\n\n if (sweep_flag && f1 > f2) {\n f1 = f1 - Math.PI * 2;\n }\n\n if (!sweep_flag && f2 > f1) {\n f2 = f2 - Math.PI * 2;\n }\n } else {\n f1 = recursive[0];\n f2 = recursive[1];\n cx = recursive[2];\n cy = recursive[3];\n }\n\n var df = f2 - f1;\n\n if (Math.abs(df) > _120) {\n var f2old = f2;\n var x2old = x2;\n var y2old = y2;\n f2 = f1 + _120 * (sweep_flag && f2 > f1 ? 1 : -1);\n x2 = cx + rx * Math.cos(f2);\n y2 = cy + ry * Math.sin(f2);\n res = a2c(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);\n }\n\n df = f2 - f1;\n var c1 = Math.cos(f1);\n var s1 = Math.sin(f1);\n var c2 = Math.cos(f2);\n var s2 = Math.sin(f2);\n var t = Math.tan(df / 4);\n var hx = 4 / 3 * rx * t;\n var hy = 4 / 3 * ry * t;\n var m1 = [x1, y1];\n var m2 = [x1 + hx * s1, y1 - hy * c1];\n var m3 = [x2 + hx * s2, y2 - hy * c2];\n var m4 = [x2, y2];\n m2[0] = 2 * m1[0] - m2[0];\n m2[1] = 2 * m1[1] - m2[1];\n\n if (recursive) {\n return [m2, m3, m4].concat(res);\n }\n\n res = [m2, m3, m4].concat(res).join().split(',');\n var newres = [];\n\n for (var i = 0, ii = res.length; i < ii; i++) {\n newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;\n }\n\n return newres;\n};\n\nvar pathTocurve = function pathTocurve(path, path2) {\n var p = pathToAbsolute(path);\n var p2 = path2 && pathToAbsolute(path2);\n var attrs = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var attrs2 = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var pcoms1 = []; // path commands of original path p\n\n var pcoms2 = []; // path commands of original path p2\n\n var pfirst = ''; // temporary holder for original path command\n\n var pcom = ''; // holder for previous path command of original path\n\n var ii;\n\n var processPath = function processPath(path, d, pcom) {\n var nx, ny;\n\n if (!path) {\n return ['C', d.x, d.y, d.x, d.y, d.x, d.y];\n }\n\n !(path[0] in {\n T: 1,\n Q: 1\n }) && (d.qx = d.qy = null);\n\n switch (path[0]) {\n case 'M':\n d.X = path[1];\n d.Y = path[2];\n break;\n\n case 'A':\n path = ['C'].concat(a2c.apply(0, [d.x, d.y].concat(path.slice(1))));\n break;\n\n case 'S':\n if (pcom === 'C' || pcom === 'S') {\n // In \"S\" case we have to take into account, if the previous command is C/S.\n nx = d.x * 2 - d.bx; // And reflect the previous\n\n ny = d.y * 2 - d.by; // command's control point relative to the current point.\n } else {\n // or some else or nothing\n nx = d.x;\n ny = d.y;\n }\n\n path = ['C', nx, ny].concat(path.slice(1));\n break;\n\n case 'T':\n if (pcom === 'Q' || pcom === 'T') {\n // In \"T\" case we have to take into account, if the previous command is Q/T.\n d.qx = d.x * 2 - d.qx; // And make a reflection similar\n\n d.qy = d.y * 2 - d.qy; // to case \"S\".\n } else {\n // or something else or nothing\n d.qx = d.x;\n d.qy = d.y;\n }\n\n path = ['C'].concat(q2c(d.x, d.y, d.qx, d.qy, path[1], path[2]));\n break;\n\n case 'Q':\n d.qx = path[1];\n d.qy = path[2];\n path = ['C'].concat(q2c(d.x, d.y, path[1], path[2], path[3], path[4]));\n break;\n\n case 'L':\n path = ['C'].concat(l2c(d.x, d.y, path[1], path[2]));\n break;\n\n case 'H':\n path = ['C'].concat(l2c(d.x, d.y, path[1], d.y));\n break;\n\n case 'V':\n path = ['C'].concat(l2c(d.x, d.y, d.x, path[1]));\n break;\n\n case 'Z':\n path = ['C'].concat(l2c(d.x, d.y, d.X, d.Y));\n break;\n\n default:\n break;\n }\n\n return path;\n };\n\n var fixArc = function fixArc(pp, i) {\n if (pp[i].length > 7) {\n pp[i].shift();\n var pi = pp[i];\n\n while (pi.length) {\n pcoms1[i] = 'A'; // if created multiple C:s, their original seg is saved\n\n p2 && (pcoms2[i] = 'A'); // the same as above\n\n pp.splice(i++, 0, ['C'].concat(pi.splice(0, 6)));\n }\n\n pp.splice(i, 1);\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n var fixM = function fixM(path1, path2, a1, a2, i) {\n if (path1 && path2 && path1[i][0] === 'M' && path2[i][0] !== 'M') {\n path2.splice(i, 0, ['M', a2.x, a2.y]);\n a1.bx = 0;\n a1.by = 0;\n a1.x = path1[i][1];\n a1.y = path1[i][2];\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n ii = Math.max(p.length, p2 && p2.length || 0);\n\n for (var i = 0; i < ii; i++) {\n p[i] && (pfirst = p[i][0]); // save current path command\n\n if (pfirst !== 'C') {\n // C is not saved yet, because it may be result of conversion\n pcoms1[i] = pfirst; // Save current path command\n\n i && (pcom = pcoms1[i - 1]); // Get previous path command pcom\n }\n\n p[i] = processPath(p[i], attrs, pcom); // Previous path command is inputted to processPath\n\n if (pcoms1[i] !== 'A' && pfirst === 'C') pcoms1[i] = 'C'; // A is the only command\n // which may produce multiple C:s\n // so we have to make sure that C is also C in original path\n\n fixArc(p, i); // fixArc adds also the right amount of A:s to pcoms1\n\n if (p2) {\n // the same procedures is done to p2\n p2[i] && (pfirst = p2[i][0]);\n\n if (pfirst !== 'C') {\n pcoms2[i] = pfirst;\n i && (pcom = pcoms2[i - 1]);\n }\n\n p2[i] = processPath(p2[i], attrs2, pcom);\n\n if (pcoms2[i] !== 'A' && pfirst === 'C') {\n pcoms2[i] = 'C';\n }\n\n fixArc(p2, i);\n }\n\n fixM(p, p2, attrs, attrs2, i);\n fixM(p2, p, attrs2, attrs, i);\n var seg = p[i];\n var seg2 = p2 && p2[i];\n var seglen = seg.length;\n var seg2len = p2 && seg2.length;\n attrs.x = seg[seglen - 2];\n attrs.y = seg[seglen - 1];\n attrs.bx = parseFloat(seg[seglen - 4]) || attrs.x;\n attrs.by = parseFloat(seg[seglen - 3]) || attrs.y;\n attrs2.bx = p2 && (parseFloat(seg2[seg2len - 4]) || attrs2.x);\n attrs2.by = p2 && (parseFloat(seg2[seg2len - 3]) || attrs2.y);\n attrs2.x = p2 && seg2[seg2len - 2];\n attrs2.y = p2 && seg2[seg2len - 1];\n }\n\n return p2 ? [p, p2] : p;\n};\n\nvar p2s = /,?([a-z]),?/gi;\n\nvar parsePathArray = function parsePathArray(path) {\n return path.join(',').replace(p2s, '$1');\n};\n\nvar base3 = function base3(t, p1, p2, p3, p4) {\n var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4;\n var t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;\n return t * t2 - 3 * p1 + 3 * p2;\n};\n\nvar bezlen = function bezlen(x1, y1, x2, y2, x3, y3, x4, y4, z) {\n if (z === null) {\n z = 1;\n }\n\n z = z > 1 ? 1 : z < 0 ? 0 : z;\n var z2 = z / 2;\n var n = 12;\n var Tvalues = [-0.1252, 0.1252, -0.3678, 0.3678, -0.5873, 0.5873, -0.7699, 0.7699, -0.9041, 0.9041, -0.9816, 0.9816];\n var Cvalues = [0.2491, 0.2491, 0.2335, 0.2335, 0.2032, 0.2032, 0.1601, 0.1601, 0.1069, 0.1069, 0.0472, 0.0472];\n var sum = 0;\n\n for (var i = 0; i < n; i++) {\n var ct = z2 * Tvalues[i] + z2;\n var xbase = base3(ct, x1, x2, x3, x4);\n var ybase = base3(ct, y1, y2, y3, y4);\n var comb = xbase * xbase + ybase * ybase;\n sum += Cvalues[i] * Math.sqrt(comb);\n }\n\n return z2 * sum;\n};\n\nvar curveDim = function curveDim(x0, y0, x1, y1, x2, y2, x3, y3) {\n var tvalues = [];\n var bounds = [[], []];\n var a;\n var b;\n var c;\n var t;\n\n for (var i = 0; i < 2; ++i) {\n if (i === 0) {\n b = 6 * x0 - 12 * x1 + 6 * x2;\n a = -3 * x0 + 9 * x1 - 9 * x2 + 3 * x3;\n c = 3 * x1 - 3 * x0;\n } else {\n b = 6 * y0 - 12 * y1 + 6 * y2;\n a = -3 * y0 + 9 * y1 - 9 * y2 + 3 * y3;\n c = 3 * y1 - 3 * y0;\n }\n\n if (Math.abs(a) < 1e-12) {\n if (Math.abs(b) < 1e-12) {\n continue;\n }\n\n t = -c / b;\n\n if (t > 0 && t < 1) {\n tvalues.push(t);\n }\n\n continue;\n }\n\n var b2ac = b * b - 4 * c * a;\n var sqrtb2ac = Math.sqrt(b2ac);\n\n if (b2ac < 0) {\n continue;\n }\n\n var t1 = (-b + sqrtb2ac) / (2 * a);\n\n if (t1 > 0 && t1 < 1) {\n tvalues.push(t1);\n }\n\n var t2 = (-b - sqrtb2ac) / (2 * a);\n\n if (t2 > 0 && t2 < 1) {\n tvalues.push(t2);\n }\n }\n\n var j = tvalues.length;\n var jlen = j;\n var mt;\n\n while (j--) {\n t = tvalues[j];\n mt = 1 - t;\n bounds[0][j] = mt * mt * mt * x0 + 3 * mt * mt * t * x1 + 3 * mt * t * t * x2 + t * t * t * x3;\n bounds[1][j] = mt * mt * mt * y0 + 3 * mt * mt * t * y1 + 3 * mt * t * t * y2 + t * t * t * y3;\n }\n\n bounds[0][jlen] = x0;\n bounds[1][jlen] = y0;\n bounds[0][jlen + 1] = x3;\n bounds[1][jlen + 1] = y3;\n bounds[0].length = bounds[1].length = jlen + 2;\n return {\n min: {\n x: Math.min.apply(0, bounds[0]),\n y: Math.min.apply(0, bounds[1])\n },\n max: {\n x: Math.max.apply(0, bounds[0]),\n y: Math.max.apply(0, bounds[1])\n }\n };\n};\n\nvar intersect = function intersect(x1, y1, x2, y2, x3, y3, x4, y4) {\n if (Math.max(x1, x2) < Math.min(x3, x4) || Math.min(x1, x2) > Math.max(x3, x4) || Math.max(y1, y2) < Math.min(y3, y4) || Math.min(y1, y2) > Math.max(y3, y4)) {\n return;\n }\n\n var nx = (x1 * y2 - y1 * x2) * (x3 - x4) - (x1 - x2) * (x3 * y4 - y3 * x4);\n var ny = (x1 * y2 - y1 * x2) * (y3 - y4) - (y1 - y2) * (x3 * y4 - y3 * x4);\n var denominator = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);\n\n if (!denominator) {\n return;\n }\n\n var px = nx / denominator;\n var py = ny / denominator;\n var px2 = +px.toFixed(2);\n var py2 = +py.toFixed(2);\n\n if (px2 < +Math.min(x1, x2).toFixed(2) || px2 > +Math.max(x1, x2).toFixed(2) || px2 < +Math.min(x3, x4).toFixed(2) || px2 > +Math.max(x3, x4).toFixed(2) || py2 < +Math.min(y1, y2).toFixed(2) || py2 > +Math.max(y1, y2).toFixed(2) || py2 < +Math.min(y3, y4).toFixed(2) || py2 > +Math.max(y3, y4).toFixed(2)) {\n return;\n }\n\n return {\n x: px,\n y: py\n };\n};\n\nvar isPointInsideBBox = function isPointInsideBBox(bbox, x, y) {\n return x >= bbox.x && x <= bbox.x + bbox.width && y >= bbox.y && y <= bbox.y + bbox.height;\n};\n\nvar rectPath = function rectPath(x, y, w, h, r) {\n if (r) {\n return [['M', +x + +r, y], ['l', w - r * 2, 0], ['a', r, r, 0, 0, 1, r, r], ['l', 0, h - r * 2], ['a', r, r, 0, 0, 1, -r, r], ['l', r * 2 - w, 0], ['a', r, r, 0, 0, 1, -r, -r], ['l', 0, r * 2 - h], ['a', r, r, 0, 0, 1, r, -r], ['z']];\n }\n\n var res = [['M', x, y], ['l', w, 0], ['l', 0, h], ['l', -w, 0], ['z']];\n res.parsePathArray = parsePathArray;\n return res;\n};\n\nvar box = function box(x, y, width, height) {\n if (x === null) {\n x = y = width = height = 0;\n }\n\n if (y === null) {\n y = x.y;\n width = x.width;\n height = x.height;\n x = x.x;\n }\n\n return {\n x: x,\n y: y,\n width: width,\n w: width,\n height: height,\n h: height,\n x2: x + width,\n y2: y + height,\n cx: x + width / 2,\n cy: y + height / 2,\n r1: Math.min(width, height) / 2,\n r2: Math.max(width, height) / 2,\n r0: Math.sqrt(width * width + height * height) / 2,\n path: rectPath(x, y, width, height),\n vb: [x, y, width, height].join(' ')\n };\n};\n\nvar isBBoxIntersect = function isBBoxIntersect(bbox1, bbox2) {\n bbox1 = box(bbox1);\n bbox2 = box(bbox2);\n return isPointInsideBBox(bbox2, bbox1.x, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x, bbox1.y2) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y2) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y2) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y2) || (bbox1.x < bbox2.x2 && bbox1.x > bbox2.x || bbox2.x < bbox1.x2 && bbox2.x > bbox1.x) && (bbox1.y < bbox2.y2 && bbox1.y > bbox2.y || bbox2.y < bbox1.y2 && bbox2.y > bbox1.y);\n};\n\nvar bezierBBox = function bezierBBox(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y) {\n if (!Util.isArray(p1x)) {\n p1x = [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y];\n }\n\n var bbox = curveDim.apply(null, p1x);\n return box(bbox.min.x, bbox.min.y, bbox.max.x - bbox.min.x, bbox.max.y - bbox.min.y);\n};\n\nvar findDotsAtSegment = function findDotsAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {\n var t1 = 1 - t;\n var t13 = Math.pow(t1, 3);\n var t12 = Math.pow(t1, 2);\n var t2 = t * t;\n var t3 = t2 * t;\n var x = t13 * p1x + t12 * 3 * t * c1x + t1 * 3 * t * t * c2x + t3 * p2x;\n var y = t13 * p1y + t12 * 3 * t * c1y + t1 * 3 * t * t * c2y + t3 * p2y;\n var mx = p1x + 2 * t * (c1x - p1x) + t2 * (c2x - 2 * c1x + p1x);\n var my = p1y + 2 * t * (c1y - p1y) + t2 * (c2y - 2 * c1y + p1y);\n var nx = c1x + 2 * t * (c2x - c1x) + t2 * (p2x - 2 * c2x + c1x);\n var ny = c1y + 2 * t * (c2y - c1y) + t2 * (p2y - 2 * c2y + c1y);\n var ax = t1 * p1x + t * c1x;\n var ay = t1 * p1y + t * c1y;\n var cx = t1 * c2x + t * p2x;\n var cy = t1 * c2y + t * p2y;\n var alpha = 90 - Math.atan2(mx - nx, my - ny) * 180 / Math.PI; // (mx > nx || my < ny) && (alpha += 180);\n\n return {\n x: x,\n y: y,\n m: {\n x: mx,\n y: my\n },\n n: {\n x: nx,\n y: ny\n },\n start: {\n x: ax,\n y: ay\n },\n end: {\n x: cx,\n y: cy\n },\n alpha: alpha\n };\n};\n\nvar interHelper = function interHelper(bez1, bez2, justCount) {\n var bbox1 = bezierBBox(bez1);\n var bbox2 = bezierBBox(bez2);\n\n if (!isBBoxIntersect(bbox1, bbox2)) {\n return justCount ? 0 : [];\n }\n\n var l1 = bezlen.apply(0, bez1);\n var l2 = bezlen.apply(0, bez2);\n var n1 = ~~(l1 / 8);\n var n2 = ~~(l2 / 8);\n var dots1 = [];\n var dots2 = [];\n var xy = {};\n var res = justCount ? 0 : [];\n\n for (var i = 0; i < n1 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez1.concat(i / n1));\n dots1.push({\n x: d.x,\n y: d.y,\n t: i / n1\n });\n }\n\n for (var _i = 0; _i < n2 + 1; _i++) {\n var _d = findDotsAtSegment.apply(0, bez2.concat(_i / n2));\n\n dots2.push({\n x: _d.x,\n y: _d.y,\n t: _i / n2\n });\n }\n\n for (var _i2 = 0; _i2 < n1; _i2++) {\n for (var j = 0; j < n2; j++) {\n var di = dots1[_i2];\n var di1 = dots1[_i2 + 1];\n var dj = dots2[j];\n var dj1 = dots2[j + 1];\n var ci = Math.abs(di1.x - di.x) < 0.001 ? 'y' : 'x';\n var cj = Math.abs(dj1.x - dj.x) < 0.001 ? 'y' : 'x';\n var is = intersect(di.x, di.y, di1.x, di1.y, dj.x, dj.y, dj1.x, dj1.y);\n\n if (is) {\n if (xy[is.x.toFixed(4)] === is.y.toFixed(4)) {\n continue;\n }\n\n xy[is.x.toFixed(4)] = is.y.toFixed(4);\n var t1 = di.t + Math.abs((is[ci] - di[ci]) / (di1[ci] - di[ci])) * (di1.t - di.t);\n var t2 = dj.t + Math.abs((is[cj] - dj[cj]) / (dj1[cj] - dj[cj])) * (dj1.t - dj.t);\n\n if (t1 >= 0 && t1 <= 1 && t2 >= 0 && t2 <= 1) {\n if (justCount) {\n res++;\n } else {\n res.push({\n x: is.x,\n y: is.y,\n t1: t1,\n t2: t2\n });\n }\n }\n }\n }\n }\n\n return res;\n};\n\nvar interPathHelper = function interPathHelper(path1, path2, justCount) {\n path1 = pathTocurve(path1);\n path2 = pathTocurve(path2);\n var x1;\n var y1;\n var x2;\n var y2;\n var x1m;\n var y1m;\n var x2m;\n var y2m;\n var bez1;\n var bez2;\n var res = justCount ? 0 : [];\n\n for (var i = 0, ii = path1.length; i < ii; i++) {\n var pi = path1[i];\n\n if (pi[0] === 'M') {\n x1 = x1m = pi[1];\n y1 = y1m = pi[2];\n } else {\n if (pi[0] === 'C') {\n bez1 = [x1, y1].concat(pi.slice(1));\n x1 = bez1[6];\n y1 = bez1[7];\n } else {\n bez1 = [x1, y1, x1, y1, x1m, y1m, x1m, y1m];\n x1 = x1m;\n y1 = y1m;\n }\n\n for (var j = 0, jj = path2.length; j < jj; j++) {\n var pj = path2[j];\n\n if (pj[0] === 'M') {\n x2 = x2m = pj[1];\n y2 = y2m = pj[2];\n } else {\n if (pj[0] === 'C') {\n bez2 = [x2, y2].concat(pj.slice(1));\n x2 = bez2[6];\n y2 = bez2[7];\n } else {\n bez2 = [x2, y2, x2, y2, x2m, y2m, x2m, y2m];\n x2 = x2m;\n y2 = y2m;\n }\n\n var intr = interHelper(bez1, bez2, justCount);\n\n if (justCount) {\n res += intr;\n } else {\n for (var k = 0, kk = intr.length; k < kk; k++) {\n intr[k].segment1 = i;\n intr[k].segment2 = j;\n intr[k].bez1 = bez1;\n intr[k].bez2 = bez2;\n }\n\n res = res.concat(intr);\n }\n }\n }\n }\n }\n\n return res;\n};\n\nvar pathIntersection = function pathIntersection(path1, path2) {\n return interPathHelper(path1, path2);\n};\n\nfunction decasteljau(points, t) {\n var left = [];\n var right = [];\n\n function recurse(points, t) {\n if (points.length === 1) {\n left.push(points[0]);\n right.push(points[0]);\n } else {\n var middlePoints = [];\n\n for (var i = 0; i < points.length - 1; i++) {\n if (i === 0) {\n left.push(points[0]);\n }\n\n if (i === points.length - 2) {\n right.push(points[i + 1]);\n }\n\n middlePoints[i] = [(1 - t) * points[i][0] + t * points[i + 1][0], (1 - t) * points[i][1] + t * points[i + 1][1]];\n }\n\n recurse(middlePoints, t);\n }\n }\n\n if (points.length) {\n recurse(points, t);\n }\n\n return {\n left: left,\n right: right.reverse()\n };\n}\n\nfunction splitCurve(start, end, count) {\n var points = [[start[1], start[2]]];\n count = count || 2;\n var segments = [];\n\n if (end[0] === 'A') {\n points.push(end[6]);\n points.push(end[7]);\n } else if (end[0] === 'C') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n points.push([end[5], end[6]]);\n } else if (end[0] === 'S' || end[0] === 'Q') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n } else {\n points.push([end[1], end[2]]);\n }\n\n var leftSegments = points;\n var t = 1 / count;\n\n for (var i = 0; i < count - 1; i++) {\n var rt = t / (1 - t * i);\n var split = decasteljau(leftSegments, rt);\n segments.push(split.left);\n leftSegments = split.right;\n }\n\n segments.push(leftSegments);\n var result = segments.map(function (segment) {\n var cmd = [];\n\n if (segment.length === 4) {\n cmd.push('C');\n cmd = cmd.concat(segment[2]);\n }\n\n if (segment.length >= 3) {\n if (segment.length === 3) {\n cmd.push('Q');\n }\n\n cmd = cmd.concat(segment[1]);\n }\n\n if (segment.length === 2) {\n cmd.push('L');\n }\n\n cmd = cmd.concat(segment[segment.length - 1]);\n return cmd;\n });\n return result;\n}\n\nvar splitSegment = function splitSegment(start, end, count) {\n if (count === 1) {\n return [[].concat(start)];\n }\n\n var segments = [];\n\n if (end[0] === 'L' || end[0] === 'C' || end[0] === 'Q') {\n segments = segments.concat(splitCurve(start, end, count));\n } else {\n var temp = [].concat(start);\n\n if (temp[0] === 'M') {\n temp[0] = 'L';\n }\n\n for (var i = 0; i <= count - 1; i++) {\n segments.push(temp);\n }\n }\n\n return segments;\n};\n\nvar fillPath = function fillPath(source, target) {\n if (source.length === 1) {\n return source;\n }\n\n var sourceLen = source.length - 1;\n var targetLen = target.length - 1;\n var ratio = sourceLen / targetLen;\n var segmentsToFill = [];\n\n if (source.length === 1 && source[0][0] === 'M') {\n for (var i = 0; i < targetLen - sourceLen; i++) {\n source.push(source[0]);\n }\n\n return source;\n }\n\n for (var _i3 = 0; _i3 < targetLen; _i3++) {\n var index = Math.floor(ratio * _i3);\n segmentsToFill[index] = (segmentsToFill[index] || 0) + 1;\n }\n\n var filled = segmentsToFill.reduce(function (filled, count, i) {\n if (i === sourceLen) {\n return filled.concat(source[sourceLen]);\n }\n\n return filled.concat(splitSegment(source[i], source[i + 1], count));\n }, []);\n filled.unshift(source[0]);\n\n if (target[targetLen] === 'Z' || target[targetLen] === 'z') {\n filled.push('Z');\n }\n\n return filled;\n};\n\nvar isEqual = function isEqual(obj1, obj2) {\n if (obj1.length !== obj2.length) {\n return false;\n }\n\n var result = true;\n Util.each(obj1, function (item, i) {\n if (item !== obj2[i]) {\n result = false;\n return false;\n }\n });\n return result;\n};\n\nfunction getMinDiff(del, add, modify) {\n var type = null;\n var min = modify;\n\n if (add < min) {\n min = add;\n type = 'add';\n }\n\n if (del < min) {\n min = del;\n type = 'del';\n }\n\n return {\n type: type,\n min: min\n };\n}\n/*\n * https://en.wikipedia.org/wiki/Levenshtein_distance\n * 计算两条path的编辑距离\n */\n\n\nvar levenshteinDistance = function levenshteinDistance(source, target) {\n var sourceLen = source.length;\n var targetLen = target.length;\n var sourceSegment, targetSegment;\n var temp = 0;\n\n if (sourceLen === 0 || targetLen === 0) {\n return null;\n }\n\n var dist = [];\n\n for (var i = 0; i <= sourceLen; i++) {\n dist[i] = [];\n dist[i][0] = {\n min: i\n };\n }\n\n for (var j = 0; j <= targetLen; j++) {\n dist[0][j] = {\n min: j\n };\n }\n\n for (var _i4 = 1; _i4 <= sourceLen; _i4++) {\n sourceSegment = source[_i4 - 1];\n\n for (var _j2 = 1; _j2 <= targetLen; _j2++) {\n targetSegment = target[_j2 - 1];\n\n if (isEqual(sourceSegment, targetSegment)) {\n temp = 0;\n } else {\n temp = 1;\n }\n\n var del = dist[_i4 - 1][_j2].min + 1;\n var add = dist[_i4][_j2 - 1].min + 1;\n var modify = dist[_i4 - 1][_j2 - 1].min + temp;\n dist[_i4][_j2] = getMinDiff(del, add, modify);\n }\n }\n\n return dist;\n};\n\nvar fillPathByDiff = function fillPathByDiff(source, target) {\n var diffMatrix = levenshteinDistance(source, target);\n var sourceLen = source.length;\n var targetLen = target.length;\n var changes = [];\n var index = 1;\n var minPos = 1; // 如果source和target不是完全不相等\n\n if (diffMatrix[sourceLen][targetLen] !== sourceLen) {\n // 获取从source到target所需改动\n for (var i = 1; i <= sourceLen; i++) {\n var min = diffMatrix[i][i].min;\n minPos = i;\n\n for (var j = index; j <= targetLen; j++) {\n if (diffMatrix[i][j].min < min) {\n min = diffMatrix[i][j].min;\n minPos = j;\n }\n }\n\n index = minPos;\n\n if (diffMatrix[i][index].type) {\n changes.push({\n index: i - 1,\n type: diffMatrix[i][index].type\n });\n }\n } // 对source进行增删path\n\n\n for (var _i5 = changes.length - 1; _i5 >= 0; _i5--) {\n index = changes[_i5].index;\n\n if (changes[_i5].type === 'add') {\n source.splice(index, 0, [].concat(source[index]));\n } else {\n source.splice(index, 1);\n }\n }\n } // source尾部补齐\n\n\n sourceLen = source.length;\n var diff = targetLen - sourceLen;\n\n if (sourceLen < targetLen) {\n for (var _i6 = 0; _i6 < diff; _i6++) {\n if (source[sourceLen - 1][0] === 'z' || source[sourceLen - 1][0] === 'Z') {\n source.splice(sourceLen - 2, 0, source[sourceLen - 2]);\n } else {\n source.push(source[sourceLen - 1]);\n }\n\n sourceLen += 1;\n }\n }\n\n return source;\n}; // 将两个点均分成count个点\n\n\nfunction _splitPoints(points, former, count) {\n var result = [].concat(points);\n var index;\n var t = 1 / (count + 1);\n\n var formerEnd = _getSegmentPoints(former)[0];\n\n for (var i = 1; i <= count; i++) {\n t *= i;\n index = Math.floor(points.length * t);\n\n if (index === 0) {\n result.unshift([formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n } else {\n result.splice(index, 0, [formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n }\n }\n\n return result;\n}\n/*\n * 抽取pathSegment中的关键点\n * M,L,A,Q,H,V一个端点\n * Q, S抽取一个端点一个控制点\n * C抽取一个端点两个控制点\n */\n\n\nfunction _getSegmentPoints(segment) {\n var points = [];\n\n switch (segment[0]) {\n case 'M':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'L':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'A':\n points.push([segment[6], segment[7]]);\n break;\n\n case 'Q':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'T':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'C':\n points.push([segment[5], segment[6]]);\n points.push([segment[1], segment[2]]);\n points.push([segment[3], segment[4]]);\n break;\n\n case 'S':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'H':\n points.push([segment[1], segment[1]]);\n break;\n\n case 'V':\n points.push([segment[1], segment[1]]);\n break;\n\n default:\n }\n\n return points;\n}\n\nvar formatPath = function formatPath(fromPath, toPath) {\n if (fromPath.length <= 1) {\n return fromPath;\n }\n\n var points;\n\n for (var i = 0; i < toPath.length; i++) {\n if (fromPath[i][0] !== toPath[i][0]) {\n // 获取fromPath的pathSegment的端点根据toPath的指令对其改造\n points = _getSegmentPoints(fromPath[i]);\n\n switch (toPath[i][0]) {\n case 'M':\n fromPath[i] = ['M'].concat(points[0]);\n break;\n\n case 'L':\n fromPath[i] = ['L'].concat(points[0]);\n break;\n\n case 'A':\n fromPath[i] = [].concat(toPath[i]);\n fromPath[i][6] = points[0][0];\n fromPath[i][7] = points[0][1];\n break;\n\n case 'Q':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['Q'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'T':\n fromPath[i] = ['T'].concat(points[0]);\n break;\n\n case 'C':\n if (points.length < 3) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 2);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['C'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'S':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['S'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n default:\n fromPath[i] = toPath[i];\n }\n }\n }\n\n return fromPath;\n};\n\nmodule.exports = {\n parsePathString: parsePathString,\n parsePathArray: parsePathArray,\n pathTocurve: pathTocurve,\n pathToAbsolute: pathToAbsolute,\n catmullRomToBezier: catmullRom2bezier,\n rectPath: rectPath,\n fillPath: fillPath,\n fillPathByDiff: fillPathByDiff,\n formatPath: formatPath,\n intersection: pathIntersection\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/util/path.js\n// module id = 42\n// module chunks = 0","var frame = 0,\n // is an animation frame pending?\ntimeout = 0,\n // is a timeout pending?\ninterval = 0,\n // are any timers active?\npokeDelay = 1000,\n // how frequently we check for clock skew\ntaskHead,\n taskTail,\n clockLast = 0,\n clockNow = 0,\n clockSkew = 0,\n clock = typeof performance === \"object\" && performance.now ? performance : Date,\n setFrame = typeof window === \"object\" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function (f) {\n setTimeout(f, 17);\n};\nexport function now() {\n return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);\n}\n\nfunction clearNow() {\n clockNow = 0;\n}\n\nexport function Timer() {\n this._call = this._time = this._next = null;\n}\nTimer.prototype = timer.prototype = {\n constructor: Timer,\n restart: function (callback, delay, time) {\n if (typeof callback !== \"function\") throw new TypeError(\"callback is not a function\");\n time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);\n\n if (!this._next && taskTail !== this) {\n if (taskTail) taskTail._next = this;else taskHead = this;\n taskTail = this;\n }\n\n this._call = callback;\n this._time = time;\n sleep();\n },\n stop: function () {\n if (this._call) {\n this._call = null;\n this._time = Infinity;\n sleep();\n }\n }\n};\nexport function timer(callback, delay, time) {\n var t = new Timer();\n t.restart(callback, delay, time);\n return t;\n}\nexport function timerFlush() {\n now(); // Get the current time, if not already set.\n\n ++frame; // Pretend weve set an alarm, if we havent already.\n\n var t = taskHead,\n e;\n\n while (t) {\n if ((e = clockNow - t._time) >= 0) t._call.call(null, e);\n t = t._next;\n }\n\n --frame;\n}\n\nfunction wake() {\n clockNow = (clockLast = clock.now()) + clockSkew;\n frame = timeout = 0;\n\n try {\n timerFlush();\n } finally {\n frame = 0;\n nap();\n clockNow = 0;\n }\n}\n\nfunction poke() {\n var now = clock.now(),\n delay = now - clockLast;\n if (delay > pokeDelay) clockSkew -= delay, clockLast = now;\n}\n\nfunction nap() {\n var t0,\n t1 = taskHead,\n t2,\n time = Infinity;\n\n while (t1) {\n if (t1._call) {\n if (time > t1._time) time = t1._time;\n t0 = t1, t1 = t1._next;\n } else {\n t2 = t1._next, t1._next = null;\n t1 = t0 ? t0._next = t2 : taskHead = t2;\n }\n }\n\n taskTail = t0;\n sleep(time);\n}\n\nfunction sleep(time) {\n if (frame) return; // Soonest alarm already set, or will be.\n\n if (timeout) timeout = clearTimeout(timeout);\n var delay = time - clockNow; // Strictly less than if we recomputed clockNow.\n\n if (delay > 24) {\n if (time < Infinity) timeout = setTimeout(wake, time - clock.now() - clockSkew);\n if (interval) interval = clearInterval(interval);\n } else {\n if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);\n frame = 1, setFrame(wake);\n }\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-timer@1.0.10@d3-timer/src/timer.js\n// module id = 43\n// module chunks = 0","import { color } from \"d3-color\";\nimport rgb from \"./rgb\";\nimport array from \"./array\";\nimport date from \"./date\";\nimport number from \"./number\";\nimport object from \"./object\";\nimport string from \"./string\";\nimport constant from \"./constant\";\nexport default function (a, b) {\n var t = typeof b,\n c;\n return b == null || t === \"boolean\" ? constant(b) : (t === \"number\" ? number : t === \"string\" ? (c = color(b)) ? (b = c, rgb) : string : b instanceof color ? rgb : b instanceof Date ? date : Array.isArray(b) ? array : typeof b.valueOf !== \"function\" && typeof b.toString !== \"function\" || isNaN(b) ? object : number)(a, b);\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/value.js\n// module id = 44\n// module chunks = 0","import define, { extend } from \"./define.js\";\nexport function Color() {}\nexport var darker = 0.7;\nexport var brighter = 1 / darker;\nvar reI = \"\\\\s*([+-]?\\\\d+)\\\\s*\",\n reN = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",\n reP = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",\n reHex = /^#([0-9a-f]{3,8})$/,\n reRgbInteger = new RegExp(\"^rgb\\\\(\" + [reI, reI, reI] + \"\\\\)$\"),\n reRgbPercent = new RegExp(\"^rgb\\\\(\" + [reP, reP, reP] + \"\\\\)$\"),\n reRgbaInteger = new RegExp(\"^rgba\\\\(\" + [reI, reI, reI, reN] + \"\\\\)$\"),\n reRgbaPercent = new RegExp(\"^rgba\\\\(\" + [reP, reP, reP, reN] + \"\\\\)$\"),\n reHslPercent = new RegExp(\"^hsl\\\\(\" + [reN, reP, reP] + \"\\\\)$\"),\n reHslaPercent = new RegExp(\"^hsla\\\\(\" + [reN, reP, reP, reN] + \"\\\\)$\");\nvar named = {\n aliceblue: 0xf0f8ff,\n antiquewhite: 0xfaebd7,\n aqua: 0x00ffff,\n aquamarine: 0x7fffd4,\n azure: 0xf0ffff,\n beige: 0xf5f5dc,\n bisque: 0xffe4c4,\n black: 0x000000,\n blanchedalmond: 0xffebcd,\n blue: 0x0000ff,\n blueviolet: 0x8a2be2,\n brown: 0xa52a2a,\n burlywood: 0xdeb887,\n cadetblue: 0x5f9ea0,\n chartreuse: 0x7fff00,\n chocolate: 0xd2691e,\n coral: 0xff7f50,\n cornflowerblue: 0x6495ed,\n cornsilk: 0xfff8dc,\n crimson: 0xdc143c,\n cyan: 0x00ffff,\n darkblue: 0x00008b,\n darkcyan: 0x008b8b,\n darkgoldenrod: 0xb8860b,\n darkgray: 0xa9a9a9,\n darkgreen: 0x006400,\n darkgrey: 0xa9a9a9,\n darkkhaki: 0xbdb76b,\n darkmagenta: 0x8b008b,\n darkolivegreen: 0x556b2f,\n darkorange: 0xff8c00,\n darkorchid: 0x9932cc,\n darkred: 0x8b0000,\n darksalmon: 0xe9967a,\n darkseagreen: 0x8fbc8f,\n darkslateblue: 0x483d8b,\n darkslategray: 0x2f4f4f,\n darkslategrey: 0x2f4f4f,\n darkturquoise: 0x00ced1,\n darkviolet: 0x9400d3,\n deeppink: 0xff1493,\n deepskyblue: 0x00bfff,\n dimgray: 0x696969,\n dimgrey: 0x696969,\n dodgerblue: 0x1e90ff,\n firebrick: 0xb22222,\n floralwhite: 0xfffaf0,\n forestgreen: 0x228b22,\n fuchsia: 0xff00ff,\n gainsboro: 0xdcdcdc,\n ghostwhite: 0xf8f8ff,\n gold: 0xffd700,\n goldenrod: 0xdaa520,\n gray: 0x808080,\n green: 0x008000,\n greenyellow: 0xadff2f,\n grey: 0x808080,\n honeydew: 0xf0fff0,\n hotpink: 0xff69b4,\n indianred: 0xcd5c5c,\n indigo: 0x4b0082,\n ivory: 0xfffff0,\n khaki: 0xf0e68c,\n lavender: 0xe6e6fa,\n lavenderblush: 0xfff0f5,\n lawngreen: 0x7cfc00,\n lemonchiffon: 0xfffacd,\n lightblue: 0xadd8e6,\n lightcoral: 0xf08080,\n lightcyan: 0xe0ffff,\n lightgoldenrodyellow: 0xfafad2,\n lightgray: 0xd3d3d3,\n lightgreen: 0x90ee90,\n lightgrey: 0xd3d3d3,\n lightpink: 0xffb6c1,\n lightsalmon: 0xffa07a,\n lightseagreen: 0x20b2aa,\n lightskyblue: 0x87cefa,\n lightslategray: 0x778899,\n lightslategrey: 0x778899,\n lightsteelblue: 0xb0c4de,\n lightyellow: 0xffffe0,\n lime: 0x00ff00,\n limegreen: 0x32cd32,\n linen: 0xfaf0e6,\n magenta: 0xff00ff,\n maroon: 0x800000,\n mediumaquamarine: 0x66cdaa,\n mediumblue: 0x0000cd,\n mediumorchid: 0xba55d3,\n mediumpurple: 0x9370db,\n mediumseagreen: 0x3cb371,\n mediumslateblue: 0x7b68ee,\n mediumspringgreen: 0x00fa9a,\n mediumturquoise: 0x48d1cc,\n mediumvioletred: 0xc71585,\n midnightblue: 0x191970,\n mintcream: 0xf5fffa,\n mistyrose: 0xffe4e1,\n moccasin: 0xffe4b5,\n navajowhite: 0xffdead,\n navy: 0x000080,\n oldlace: 0xfdf5e6,\n olive: 0x808000,\n olivedrab: 0x6b8e23,\n orange: 0xffa500,\n orangered: 0xff4500,\n orchid: 0xda70d6,\n palegoldenrod: 0xeee8aa,\n palegreen: 0x98fb98,\n paleturquoise: 0xafeeee,\n palevioletred: 0xdb7093,\n papayawhip: 0xffefd5,\n peachpuff: 0xffdab9,\n peru: 0xcd853f,\n pink: 0xffc0cb,\n plum: 0xdda0dd,\n powderblue: 0xb0e0e6,\n purple: 0x800080,\n rebeccapurple: 0x663399,\n red: 0xff0000,\n rosybrown: 0xbc8f8f,\n royalblue: 0x4169e1,\n saddlebrown: 0x8b4513,\n salmon: 0xfa8072,\n sandybrown: 0xf4a460,\n seagreen: 0x2e8b57,\n seashell: 0xfff5ee,\n sienna: 0xa0522d,\n silver: 0xc0c0c0,\n skyblue: 0x87ceeb,\n slateblue: 0x6a5acd,\n slategray: 0x708090,\n slategrey: 0x708090,\n snow: 0xfffafa,\n springgreen: 0x00ff7f,\n steelblue: 0x4682b4,\n tan: 0xd2b48c,\n teal: 0x008080,\n thistle: 0xd8bfd8,\n tomato: 0xff6347,\n turquoise: 0x40e0d0,\n violet: 0xee82ee,\n wheat: 0xf5deb3,\n white: 0xffffff,\n whitesmoke: 0xf5f5f5,\n yellow: 0xffff00,\n yellowgreen: 0x9acd32\n};\ndefine(Color, color, {\n copy: function (channels) {\n return Object.assign(new this.constructor(), this, channels);\n },\n displayable: function () {\n return this.rgb().displayable();\n },\n hex: color_formatHex,\n // Deprecated! Use color.formatHex.\n formatHex: color_formatHex,\n formatHsl: color_formatHsl,\n formatRgb: color_formatRgb,\n toString: color_formatRgb\n});\n\nfunction color_formatHex() {\n return this.rgb().formatHex();\n}\n\nfunction color_formatHsl() {\n return hslConvert(this).formatHsl();\n}\n\nfunction color_formatRgb() {\n return this.rgb().formatRgb();\n}\n\nexport default function color(format) {\n var m, l;\n format = (format + \"\").trim().toLowerCase();\n return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000\n : l === 3 ? new Rgb(m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, (m & 0xf) << 4 | m & 0xf, 1) // #f00\n : l === 8 ? new Rgb(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000\n : l === 4 ? new Rgb(m >> 12 & 0xf | m >> 8 & 0xf0, m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, ((m & 0xf) << 4 | m & 0xf) / 0xff) // #f000\n : null // invalid hex\n ) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)\n : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)\n : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)\n : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)\n : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)\n : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)\n : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins\n : format === \"transparent\" ? new Rgb(NaN, NaN, NaN, 0) : null;\n}\n\nfunction rgbn(n) {\n return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);\n}\n\nfunction rgba(r, g, b, a) {\n if (a <= 0) r = g = b = NaN;\n return new Rgb(r, g, b, a);\n}\n\nexport function rgbConvert(o) {\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Rgb();\n o = o.rgb();\n return new Rgb(o.r, o.g, o.b, o.opacity);\n}\nexport function rgb(r, g, b, opacity) {\n return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);\n}\nexport function Rgb(r, g, b, opacity) {\n this.r = +r;\n this.g = +g;\n this.b = +b;\n this.opacity = +opacity;\n}\ndefine(Rgb, rgb, extend(Color, {\n brighter: function (k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n darker: function (k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n rgb: function () {\n return this;\n },\n displayable: function () {\n return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;\n },\n hex: rgb_formatHex,\n // Deprecated! Use color.formatHex.\n formatHex: rgb_formatHex,\n formatRgb: rgb_formatRgb,\n toString: rgb_formatRgb\n}));\n\nfunction rgb_formatHex() {\n return \"#\" + hex(this.r) + hex(this.g) + hex(this.b);\n}\n\nfunction rgb_formatRgb() {\n var a = this.opacity;\n a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"rgb(\" : \"rgba(\") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + \", \" + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + \", \" + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a === 1 ? \")\" : \", \" + a + \")\");\n}\n\nfunction hex(value) {\n value = Math.max(0, Math.min(255, Math.round(value) || 0));\n return (value < 16 ? \"0\" : \"\") + value.toString(16);\n}\n\nfunction hsla(h, s, l, a) {\n if (a <= 0) h = s = l = NaN;else if (l <= 0 || l >= 1) h = s = NaN;else if (s <= 0) h = NaN;\n return new Hsl(h, s, l, a);\n}\n\nexport function hslConvert(o) {\n if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Hsl();\n if (o instanceof Hsl) return o;\n o = o.rgb();\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n min = Math.min(r, g, b),\n max = Math.max(r, g, b),\n h = NaN,\n s = max - min,\n l = (max + min) / 2;\n\n if (s) {\n if (r === max) h = (g - b) / s + (g < b) * 6;else if (g === max) h = (b - r) / s + 2;else h = (r - g) / s + 4;\n s /= l < 0.5 ? max + min : 2 - max - min;\n h *= 60;\n } else {\n s = l > 0 && l < 1 ? 0 : h;\n }\n\n return new Hsl(h, s, l, o.opacity);\n}\nexport function hsl(h, s, l, opacity) {\n return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);\n}\n\nfunction Hsl(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Hsl, hsl, extend(Color, {\n brighter: function (k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function (k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function () {\n var h = this.h % 360 + (this.h < 0) * 360,\n s = isNaN(h) || isNaN(this.s) ? 0 : this.s,\n l = this.l,\n m2 = l + (l < 0.5 ? l : 1 - l) * s,\n m1 = 2 * l - m2;\n return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);\n },\n displayable: function () {\n return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;\n },\n formatHsl: function () {\n var a = this.opacity;\n a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"hsl(\" : \"hsla(\") + (this.h || 0) + \", \" + (this.s || 0) * 100 + \"%, \" + (this.l || 0) * 100 + \"%\" + (a === 1 ? \")\" : \", \" + a + \")\");\n }\n}));\n/* From FvD 13.37, CSS Color Module Level 3 */\n\nfunction hsl2rgb(h, m1, m2) {\n return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-color@1.4.0@d3-color/src/color.js\n// module id = 45\n// module chunks = 0","export default function (constructor, factory, prototype) {\n constructor.prototype = factory.prototype = prototype;\n prototype.constructor = constructor;\n}\nexport function extend(parent, definition) {\n var prototype = Object.create(parent.prototype);\n\n for (var key in definition) prototype[key] = definition[key];\n\n return prototype;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-color@1.4.0@d3-color/src/define.js\n// module id = 46\n// module chunks = 0","export function basis(t1, v0, v1, v2, v3) {\n var t2 = t1 * t1,\n t3 = t2 * t1;\n return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v1 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v3) / 6;\n}\nexport default function (values) {\n var n = values.length - 1;\n return function (t) {\n var i = t <= 0 ? t = 0 : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),\n v1 = values[i],\n v2 = values[i + 1],\n v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,\n v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/basis.js\n// module id = 47\n// module chunks = 0","var each = require('./each');\n\nvar isArrayLike = require('./type/is-array-like');\n\nvar filter = function filter(arr, func) {\n if (!isArrayLike(arr)) {\n return arr;\n }\n\n var result = [];\n each(arr, function (value, index) {\n if (func(value, index)) {\n result.push(value);\n }\n });\n return result;\n};\n\nmodule.exports = filter;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/filter.js\n// module id = 48\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * @fileOverview The base class of continuous legend\n * @author sima.zhang\n */\nvar Util = require('../util');\n\nvar Legend = require('./base');\n\nvar Slider = require('./slider');\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY;\n\nvar TRIGGER_WIDTH = 8;\nvar Event = Util.Event;\nvar Group = Util.Group;\n\nvar Continuous = /*#__PURE__*/function (_Legend) {\n _inheritsLoose(Continuous, _Legend);\n\n var _super = _createSuper(Continuous);\n\n function Continuous() {\n return _Legend.apply(this, arguments) || this;\n }\n\n var _proto = Continuous.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Legend.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 类型\n * @type {String}\n */\n type: 'continuous-legend',\n\n /**\n * 子项\n * @type {Array}\n */\n items: null,\n\n /**\n * 布局方式\n * horizontal 水平\n * vertical 垂直\n * @type {String}\n */\n layout: 'vertical',\n\n /**\n * 宽度\n * @type {Number}\n */\n width: 20,\n\n /**\n * 高度\n * @type {Number}\n */\n height: 156,\n\n /**\n * 默认文本图形属性\n * @type {ATTRS}\n */\n textStyle: {\n fill: '#333',\n textAlign: 'center',\n textBaseline: 'middle',\n stroke: '#fff',\n lineWidth: 5,\n fontFamily: FONT_FAMILY\n },\n hoverTextStyle: {\n fill: 'rgba(0,0,0,0.25)'\n },\n\n /**\n * 连续图例是否可滑动\n * @type {Boolean}\n */\n slidable: true,\n\n /**\n * 两头滑块的样式\n * @type {object}\n */\n triggerAttr: {\n fill: '#fff',\n // shadowOffsetX: -2,\n // shadowOffsetY: 2,\n shadowBlur: 10,\n shadowColor: 'rgba(0,0,0,0.65)',\n radius: 2\n },\n\n /**\n * slider 的范围\n * @type {array}}\n */\n _range: [0, 100],\n\n /**\n * 中间 bar 背景灰色\n * @type {ATTRS}\n */\n middleBackgroundStyle: {\n fill: '#D9D9D9'\n },\n\n /**\n * 文本与图例间距\n * @type {Number}\n */\n textOffset: 4,\n\n /**\n * line segment to seperate the unslidable slider blocks\n * @type {object}\n */\n lineStyle: {\n lineWidth: 1,\n stroke: '#fff'\n },\n\n /**\n * the pointer while activate the legend by mouse hovering or called by outside\n * @type {object}\n */\n pointerStyle: {\n // color: '#ccc',\n fill: 'rgb(230, 230, 230)'\n }\n });\n };\n\n _proto._calStartPoint = function _calStartPoint() {\n var start = {\n x: 10,\n y: this.get('titleGap') - TRIGGER_WIDTH\n };\n var titleShape = this.get('titleShape');\n\n if (titleShape) {\n var titleBox = titleShape.getBBox();\n start.y += titleBox.height;\n }\n\n return start;\n };\n\n _proto.beforeRender = function beforeRender() {\n var items = this.get('items');\n\n if (!Util.isArray(items) || Util.isEmpty(items)) {\n return;\n }\n\n _Legend.prototype.beforeRender.call(this);\n\n this.set('firstItem', items[0]);\n this.set('lastItem', items[items.length - 1]);\n };\n\n _proto._formatItemValue = function _formatItemValue(value) {\n var formatter = this.get('formatter') || this.get('itemFormatter');\n\n if (formatter) {\n value = formatter.call(this, value);\n }\n\n return value;\n };\n\n _proto.render = function render() {\n _Legend.prototype.render.call(this);\n\n if (this.get('slidable')) {\n this._renderSlider();\n } else {\n this._renderUnslidable();\n }\n };\n\n _proto._renderSlider = function _renderSlider() {\n var minHandleElement = new Group();\n var maxHandleElement = new Group();\n var backgroundElement = new Group();\n\n var start = this._calStartPoint();\n\n var group = this.get('group');\n var slider = group.addGroup(Slider, {\n minHandleElement: minHandleElement,\n maxHandleElement: maxHandleElement,\n backgroundElement: backgroundElement,\n layout: this.get('layout'),\n range: this.get('_range'),\n width: this.get('width'),\n height: this.get('height')\n });\n slider.translate(start.x, start.y);\n this.set('slider', slider);\n\n var shape = this._renderSliderShape();\n\n shape.attr('clip', slider.get('middleHandleElement'));\n\n this._renderTrigger();\n } // the middle bar\n ;\n\n _proto._addMiddleBar = function _addMiddleBar(parent, name, attrs) {\n // background of the middle bar\n parent.addShape(name, {\n attrs: Util.mix({}, attrs, this.get('middleBackgroundStyle'))\n }); // frontground of the middle bar\n\n return parent.addShape(name, {\n attrs: attrs\n });\n };\n\n _proto._renderTrigger = function _renderTrigger() {\n var min = this.get('firstItem');\n var max = this.get('lastItem');\n var layout = this.get('layout');\n var textStyle = this.get('textStyle');\n var triggerAttr = this.get('triggerAttr');\n var minBlockAttr = Util.mix({}, triggerAttr);\n var maxBlockAttr = Util.mix({}, triggerAttr);\n var minTextAttr = Util.mix({\n text: this._formatItemValue(min.value) + ''\n }, textStyle);\n var maxTextAttr = Util.mix({\n text: this._formatItemValue(max.value) + ''\n }, textStyle);\n\n if (layout === 'vertical') {\n this._addVerticalTrigger('min', minBlockAttr, minTextAttr);\n\n this._addVerticalTrigger('max', maxBlockAttr, maxTextAttr);\n } else {\n this._addHorizontalTrigger('min', minBlockAttr, minTextAttr);\n\n this._addHorizontalTrigger('max', maxBlockAttr, maxTextAttr);\n }\n };\n\n _proto._addVerticalTrigger = function _addVerticalTrigger(type, blockAttr, textAttr) {\n var slider = this.get('slider');\n var trigger = slider.get(type + 'HandleElement');\n var width = this.get('width');\n var button = trigger.addShape('rect', {\n attrs: Util.mix({\n x: width / 2 - TRIGGER_WIDTH - 2,\n y: type === 'min' ? 0 : -TRIGGER_WIDTH,\n width: 2 * TRIGGER_WIDTH + 2,\n height: TRIGGER_WIDTH\n }, blockAttr)\n });\n var text = trigger.addShape('text', {\n attrs: Util.mix(textAttr, {\n x: width + this.get('textOffset'),\n y: type === 'max' ? -4 : 4,\n textAlign: 'start',\n lineHeight: 1,\n textBaseline: 'middle'\n })\n });\n var layout = this.get('layout');\n var trigerCursor = layout === 'vertical' ? 'ns-resize' : 'ew-resize';\n button.attr('cursor', trigerCursor);\n text.attr('cursor', trigerCursor);\n this.set(type + 'ButtonElement', button);\n this.set(type + 'TextElement', text);\n };\n\n _proto._addHorizontalTrigger = function _addHorizontalTrigger(type, blockAttr, textAttr) {\n var slider = this.get('slider');\n var trigger = slider.get(type + 'HandleElement');\n var button = trigger.addShape('rect', {\n attrs: Util.mix({\n x: type === 'min' ? -TRIGGER_WIDTH : 0,\n y: -TRIGGER_WIDTH - this.get('height') / 2,\n width: TRIGGER_WIDTH,\n height: 2 * TRIGGER_WIDTH\n }, blockAttr)\n });\n var text = trigger.addShape('text', {\n attrs: Util.mix(textAttr, {\n x: type === 'min' ? -TRIGGER_WIDTH - 4 : TRIGGER_WIDTH + 4,\n y: TRIGGER_WIDTH / 2 + this.get('textOffset') + 10,\n textAlign: type === 'min' ? 'end' : 'start',\n textBaseline: 'middle'\n })\n });\n var layout = this.get('layout');\n var trigerCursor = layout === 'vertical' ? 'ns-resize' : 'ew-resize';\n button.attr('cursor', trigerCursor);\n text.attr('cursor', trigerCursor);\n this.set(type + 'ButtonElement', button);\n this.set(type + 'TextElement', text);\n };\n\n _proto._bindEvents = function _bindEvents() {\n var _this = this;\n\n if (this.get('slidable')) {\n var slider = this.get('slider');\n slider.on('sliderchange', function (ev) {\n var range = ev.range;\n\n var firstItemValue = _this.get('firstItem').value;\n\n var lastItemValue = _this.get('lastItem').value;\n\n var minValue = firstItemValue + range[0] / 100 * (lastItemValue - firstItemValue);\n var maxValue = firstItemValue + range[1] / 100 * (lastItemValue - firstItemValue);\n\n _this._updateElement(minValue, maxValue);\n\n var itemFiltered = new Event('itemfilter', ev, true, true);\n itemFiltered.range = [minValue, maxValue];\n\n _this.emit('itemfilter', itemFiltered);\n });\n }\n\n if (this.get('hoverable')) {\n this.get('group').on('mousemove', Util.wrapBehavior(this, '_onMouseMove'));\n this.get('group').on('mouseleave', Util.wrapBehavior(this, '_onMouseLeave'));\n }\n } // update the text of min and max trigger\n ;\n\n _proto._updateElement = function _updateElement(min, max) {\n var minTextElement = this.get('minTextElement');\n var maxTextElement = this.get('maxTextElement');\n\n if (max > 1) {\n // 对于大于 1 的值,默认显示为整数\n min = parseInt(min, 10);\n max = parseInt(max, 10);\n }\n\n minTextElement.attr('text', this._formatItemValue(min) + '');\n maxTextElement.attr('text', this._formatItemValue(max) + '');\n };\n\n _proto._onMouseLeave = function _onMouseLeave() {\n var hoverPointer = this.get('group').findById('hoverPointer');\n hoverPointer && hoverPointer.destroy();\n var hoverText = this.get('group').findById('hoverText');\n hoverText && hoverText.destroy();\n this.get('canvas').draw();\n } // activate the legend while mouse moving\n ;\n\n _proto._onMouseMove = function _onMouseMove(ev) {\n var height = this.get('height');\n var width = this.get('width');\n var items = this.get('items');\n var el = this.get('canvas').get('el');\n var el_bbox = el.getBoundingClientRect();\n var bbox = this.get('group').getBBox();\n var value;\n\n if (this.get('layout') === 'vertical') {\n var valuePadding = 5;\n\n if (this.get('type') === 'color-legend') {\n valuePadding = 30;\n }\n\n var titleOffset = this.get('titleGap');\n var titleShape = this.get('titleShape');\n if (titleShape) titleOffset += titleShape.getBBox().maxY - titleShape.getBBox().minY;\n var currentPage = ev.clientY || ev.event.clientY;\n currentPage = currentPage - el_bbox.y - this.get('group').attr('matrix')[7] + bbox.y - valuePadding + titleOffset;\n value = items[0].value + (1 - currentPage / height) * (items[items.length - 1].value - items[0].value);\n } else {\n var _currentPage = ev.clientX || ev.event.clientX;\n\n _currentPage = _currentPage - el_bbox.x - this.get('group').attr('matrix')[6];\n value = items[0].value + _currentPage / width * (items[items.length - 1].value - items[0].value);\n }\n\n value = value.toFixed(2);\n this.activate(value);\n this.emit('mousehover', {\n value: value\n });\n } // activated by mouse moving or being called\n ;\n\n _proto.activate = function activate(value) {\n if (!value) {\n return;\n }\n\n var hoverPointer = this.get('group').findById('hoverPointer');\n var hoverText = this.get('group').findById('hoverText');\n var items = this.get('items');\n\n if (value < items[0].value || value > items[items.length - 1].value) {\n return;\n }\n\n var height = this.get('height');\n var width = this.get('width');\n var titleShape = this.get('titleShape');\n var titleGap = this.get('titleGap');\n var points = [];\n var page = (value - items[0].value) / (items[items.length - 1].value - items[0].value);\n var textStyle;\n\n if (this.get('layout') === 'vertical') {\n // revise the offset\n var paddingY = 0,\n paddingX = 0;\n\n if (this.get('type') === 'color-legend') {\n paddingY = titleGap;\n if (titleShape) paddingY += titleShape.getBBox().height;\n }\n\n if (this.get('slidable')) {\n if (this.get('type') === 'color-legend') {\n paddingY -= 13;\n } else {\n paddingY = titleGap - 15;\n if (titleShape) paddingY += titleShape.getBBox().height;\n }\n\n paddingX += 10;\n }\n\n page = (1 - page) * height;\n points = [[paddingX, page + paddingY], [paddingX - 10, page + paddingY - 5], [paddingX - 10, page + paddingY + 5]];\n textStyle = Util.mix({}, {\n x: width + this.get('textOffset') / 2 + paddingX,\n y: page + paddingY,\n text: this._formatItemValue(value) + '' // 以字符串格式展示\n\n }, this.get('textStyle'), {\n textAlign: 'start'\n });\n } else {\n var _paddingY = 0,\n _paddingX = 0;\n\n if (this.get('type') === 'color-legend') {\n _paddingY = titleGap;\n if (titleShape) _paddingY += titleShape.getBBox().height;\n }\n\n if (this.get('slidable')) {\n if (this.get('type') === 'color-legend') {\n // hoverPointer三角形的高\n _paddingY -= 7;\n } else {\n _paddingY = titleGap;\n if (!titleShape) _paddingY -= 7;\n }\n\n _paddingX += 10;\n }\n\n page *= width;\n points = [[page + _paddingX, _paddingY], [page + _paddingX - 5, _paddingY - 10], [page + _paddingX + 5, _paddingY - 10]];\n textStyle = Util.mix({}, {\n x: page - 5,\n y: height + this.get('textOffset') + _paddingY,\n text: this._formatItemValue(value) + '' // 以字符串格式展示\n\n }, this.get('textStyle'));\n }\n\n var hoverTextStyle = Util.mix(textStyle, this.get('hoverTextStyle'));\n\n if (!hoverText) {\n // mouse enter the legend, add hoverText\n hoverText = this.get('group').addShape('text', {\n attrs: hoverTextStyle\n });\n hoverText.set('id', 'hoverText');\n } else {\n // mouse move, update hoverText\n hoverText.attr(hoverTextStyle);\n }\n\n if (!hoverPointer) {\n // mouse enter the legend, add hoverPointer\n hoverPointer = this.get('group').addShape('Polygon', {\n attrs: Util.mix({\n points: points\n }, this.get('pointerStyle'))\n });\n hoverPointer.set('id', 'hoverPointer');\n } else {\n // mouse move, update hoverPointer\n hoverPointer.attr(Util.mix({\n points: points\n }, this.get('pointerStyle')));\n }\n\n this.get('canvas').draw();\n };\n\n _proto.deactivate = function deactivate() {\n var hoverPointer = this.get('group').findById('hoverPointer');\n hoverPointer && hoverPointer.destroy();\n var hoverText = this.get('group').findById('hoverText');\n hoverText && hoverText.destroy();\n this.get('canvas').draw();\n };\n\n return Continuous;\n}(Legend);\n\nmodule.exports = Continuous;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/continuous.js\n// module id = 49\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Component = require('../base');\n\nvar Util = require('../util');\n\nvar Tooltip = /*#__PURE__*/function (_Component) {\n _inheritsLoose(Tooltip, _Component);\n\n var _super = _createSuper(Tooltip);\n\n function Tooltip() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = Tooltip.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Component.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * tooltip container\n * @type {Dom / String}\n */\n\n /**\n * 右下角坐标\n * @type {Number}\n */\n x: 0,\n\n /**\n * y 右下角坐标\n * @type {Number}\n */\n y: 0,\n\n /**\n * tooltip 记录项\n * @type {Array}\n */\n items: null,\n\n /**\n * tooltip 标题\n * @type {Array}\n */\n titleContent: null,\n\n /**\n * 是否展示 title\n * @type {Boolean}\n */\n showTitle: true,\n\n /**\n * 视图范围\n * @type {Object}\n */\n plotRange: null,\n\n /**\n * x轴上移动到位置的偏移量\n * @type {Number}\n */\n offset: 10,\n // TODO:支持xy两个方向上的offset\n\n /**\n * 时间戳\n * @type {Number}\n */\n timeStamp: 0,\n\n /**\n * 将 tooltip 展示在指定区域内\n * @type {Boolean}\n */\n inPlot: true,\n\n /**\n * tooltip 辅助线配置\n * @type {Object}\n */\n crosshairs: null\n });\n };\n\n _proto.isContentChange = function isContentChange(title, items) {\n var titleContent = this.get('titleContent');\n var lastItems = this.get('items');\n var isChanged = !(title === titleContent && lastItems.length === items.length);\n\n if (!isChanged) {\n Util.each(items, function (item, index) {\n var preItem = lastItems[index];\n\n for (var key in item) {\n if (item.hasOwnProperty(key)) {\n if (!Util.isObject(item[key]) && item[key] !== preItem[key]) {\n isChanged = true;\n break;\n }\n }\n }\n\n if (isChanged) {\n return false;\n }\n });\n }\n\n return isChanged;\n };\n\n _proto.setContent = function setContent(title, items) {\n var timeStamp = new Date().valueOf();\n this.set('items', items);\n this.set('titleContent', title);\n this.set('timeStamp', timeStamp);\n this.render();\n return this;\n };\n\n _proto.setPosition = function setPosition(x, y) {\n this.set('x', x);\n this.set('y', y);\n };\n\n _proto.render = function render() {};\n\n _proto.clear = function clear() {};\n\n _proto.show = function show() {\n this.set('visible', true);\n };\n\n _proto.hide = function hide() {\n this.set('visible', false);\n };\n\n return Tooltip;\n}(Component);\n\nmodule.exports = Tooltip;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tooltip/base.js\n// module id = 50\n// module chunks = 0","/*!\n * EventEmitter v5.1.0 - git.io/ee\n * Unlicense - http://unlicense.org/\n * Oliver Caldwell - http://oli.me.uk/\n * @preserve\n */\n;\n\n(function (exports) {\n 'use strict';\n /**\n * Class for managing events.\n * Can be extended to provide event functionality in other classes.\n *\n * @class EventEmitter Manages event registering and emitting.\n */\n\n function EventEmitter() {} // Shortcuts to improve speed and size\n\n\n var proto = EventEmitter.prototype;\n var originalGlobalValue = exports.EventEmitter;\n /**\n * Finds the index of the listener for the event in its storage array.\n *\n * @param {Function[]} listeners Array of listeners to search through.\n * @param {Function} listener Method to look for.\n * @return {Number} Index of the specified listener, -1 if not found\n * @api private\n */\n\n function indexOfListener(listeners, listener) {\n var i = listeners.length;\n\n while (i--) {\n if (listeners[i].listener === listener) {\n return i;\n }\n }\n\n return -1;\n }\n /**\n * Alias a method while keeping the context correct, to allow for overwriting of target method.\n *\n * @param {String} name The name of the target method.\n * @return {Function} The aliased method\n * @api private\n */\n\n\n function alias(name) {\n return function aliasClosure() {\n return this[name].apply(this, arguments);\n };\n }\n /**\n * Returns the listener array for the specified event.\n * Will initialise the event object and listener arrays if required.\n * Will return an object if you use a regex search. The object contains keys for each matched event. So /ba[rz]/ might return an object containing bar and baz. But only if you have either defined them with defineEvent or added some listeners to them.\n * Each property in the object response is an array of listener functions.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Function[]|Object} All listener functions for the event.\n */\n\n\n proto.getListeners = function getListeners(evt) {\n var events = this._getEvents();\n\n var response;\n var key; // Return a concatenated array of all matching events if\n // the selector is a regular expression.\n\n if (evt instanceof RegExp) {\n response = {};\n\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n response[key] = events[key];\n }\n }\n } else {\n response = events[evt] || (events[evt] = []);\n }\n\n return response;\n };\n /**\n * Takes a list of listener objects and flattens it into a list of listener functions.\n *\n * @param {Object[]} listeners Raw listener objects.\n * @return {Function[]} Just the listener functions.\n */\n\n\n proto.flattenListeners = function flattenListeners(listeners) {\n var flatListeners = [];\n var i;\n\n for (i = 0; i < listeners.length; i += 1) {\n flatListeners.push(listeners[i].listener);\n }\n\n return flatListeners;\n };\n /**\n * Fetches the requested listeners via getListeners but will always return the results inside an object. This is mainly for internal use but others may find it useful.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Object} All listener functions for an event in an object.\n */\n\n\n proto.getListenersAsObject = function getListenersAsObject(evt) {\n var listeners = this.getListeners(evt);\n var response;\n\n if (listeners instanceof Array) {\n response = {};\n response[evt] = listeners;\n }\n\n return response || listeners;\n };\n\n function isValidListener(listener) {\n if (typeof listener === 'function' || listener instanceof RegExp) {\n return true;\n } else if (listener && typeof listener === 'object') {\n return isValidListener(listener.listener);\n } else {\n return false;\n }\n }\n /**\n * Adds a listener function to the specified event.\n * The listener will not be added if it is a duplicate.\n * If the listener returns true then it will be removed after it is called.\n * If you pass a regular expression as the event name then the listener will be added to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n\n proto.addListener = function addListener(evt, listener) {\n if (!isValidListener(listener)) {\n throw new TypeError('listener must be a function');\n }\n\n var listeners = this.getListenersAsObject(evt);\n var listenerIsWrapped = typeof listener === 'object';\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key) && indexOfListener(listeners[key], listener) === -1) {\n listeners[key].push(listenerIsWrapped ? listener : {\n listener: listener,\n once: false\n });\n }\n }\n\n return this;\n };\n /**\n * Alias of addListener\n */\n\n\n proto.on = alias('addListener');\n /**\n * Semi-alias of addListener. It will add a listener that will be\n * automatically removed after its first execution.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n proto.addOnceListener = function addOnceListener(evt, listener) {\n return this.addListener(evt, {\n listener: listener,\n once: true\n });\n };\n /**\n * Alias of addOnceListener.\n */\n\n\n proto.once = alias('addOnceListener');\n /**\n * Defines an event name. This is required if you want to use a regex to add a listener to multiple events at once. If you don't do this then how do you expect it to know what event to add to? Should it just add to every possible match for a regex? No. That is scary and bad.\n * You need to tell it what event names should be matched by a regex.\n *\n * @param {String} evt Name of the event to create.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n proto.defineEvent = function defineEvent(evt) {\n this.getListeners(evt);\n return this;\n };\n /**\n * Uses defineEvent to define multiple events.\n *\n * @param {String[]} evts An array of event names to define.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n\n proto.defineEvents = function defineEvents(evts) {\n for (var i = 0; i < evts.length; i += 1) {\n this.defineEvent(evts[i]);\n }\n\n return this;\n };\n /**\n * Removes a listener function from the specified event.\n * When passed a regular expression as the event name, it will remove the listener from all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to remove the listener from.\n * @param {Function} listener Method to remove from the event.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n\n proto.removeListener = function removeListener(evt, listener) {\n var listeners = this.getListenersAsObject(evt);\n var index;\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key)) {\n index = indexOfListener(listeners[key], listener);\n\n if (index !== -1) {\n listeners[key].splice(index, 1);\n }\n }\n }\n\n return this;\n };\n /**\n * Alias of removeListener\n */\n\n\n proto.off = alias('removeListener');\n /**\n * Adds listeners in bulk using the manipulateListeners method.\n * If you pass an object as the second argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. You can also pass it an event name and an array of listeners to be added.\n * You can also pass it a regular expression to add the array of listeners to all events that match it.\n * Yeah, this function does quite a bit. That's probably a bad thing.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n proto.addListeners = function addListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(false, evt, listeners);\n };\n /**\n * Removes listeners in bulk using the manipulateListeners method.\n * If you pass an object as the second argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be removed.\n * You can also pass it a regular expression to remove the listeners from all events that match it.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n\n proto.removeListeners = function removeListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(true, evt, listeners);\n };\n /**\n * Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level.\n * The first argument will determine if the listeners are removed (true) or added (false).\n * If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be added/removed.\n * You can also pass it a regular expression to manipulate the listeners of all events that match it.\n *\n * @param {Boolean} remove True if you want to remove listeners, false if you want to add.\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add/remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n\n proto.manipulateListeners = function manipulateListeners(remove, evt, listeners) {\n var i;\n var value;\n var single = remove ? this.removeListener : this.addListener;\n var multiple = remove ? this.removeListeners : this.addListeners; // If evt is an object then pass each of its properties to this method\n\n if (typeof evt === 'object' && !(evt instanceof RegExp)) {\n for (i in evt) {\n if (evt.hasOwnProperty(i) && (value = evt[i])) {\n // Pass the single listener straight through to the singular method\n if (typeof value === 'function') {\n single.call(this, i, value);\n } else {\n // Otherwise pass back to the multiple function\n multiple.call(this, i, value);\n }\n }\n }\n } else {\n // So evt must be a string\n // And listeners must be an array of listeners\n // Loop over it and pass each one to the multiple method\n i = listeners.length;\n\n while (i--) {\n single.call(this, evt, listeners[i]);\n }\n }\n\n return this;\n };\n /**\n * Removes all listeners from a specified event.\n * If you do not specify an event then all listeners will be removed.\n * That means every event will be emptied.\n * You can also pass a regex to remove all events that match it.\n *\n * @param {String|RegExp} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n\n proto.removeEvent = function removeEvent(evt) {\n var type = typeof evt;\n\n var events = this._getEvents();\n\n var key; // Remove different things depending on the state of evt\n\n if (type === 'string') {\n // Remove all listeners for the specified event\n delete events[evt];\n } else if (evt instanceof RegExp) {\n // Remove all events matching the regex.\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n delete events[key];\n }\n }\n } else {\n // Remove all listeners in all events\n delete this._events;\n }\n\n return this;\n };\n /**\n * Alias of removeEvent.\n *\n * Added to mirror the node API.\n */\n\n\n proto.removeAllListeners = alias('removeEvent');\n /**\n * Emits an event of your choice.\n * When emitted, every listener attached to that event will be executed.\n * If you pass the optional argument array then those arguments will be passed to every listener upon execution.\n * Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately.\n * So they will not arrive within the array on the other side, they will be separate.\n * You can also pass a regular expression to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {Array} [args] Optional array of arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n proto.emitEvent = function emitEvent(evt, args) {\n var listenersMap = this.getListenersAsObject(evt);\n var listeners;\n var listener;\n var i;\n var key;\n var response;\n\n for (key in listenersMap) {\n if (listenersMap.hasOwnProperty(key)) {\n listeners = listenersMap[key].slice(0);\n\n for (i = 0; i < listeners.length; i++) {\n // If the listener returns true then it shall be removed from the event\n // The function is executed either with a basic call or an apply if there is an args array\n listener = listeners[i];\n\n if (listener.once === true) {\n this.removeListener(evt, listener.listener);\n }\n\n response = listener.listener.apply(this, args || []);\n\n if (response === this._getOnceReturnValue()) {\n this.removeListener(evt, listener.listener);\n }\n }\n }\n }\n\n return this;\n };\n /**\n * Alias of emitEvent\n */\n\n\n proto.trigger = alias('emitEvent');\n /**\n * Subtly different from emitEvent in that it will pass its arguments on to the listeners, as opposed to taking a single array of arguments to pass on.\n * As with emitEvent, you can pass a regex in place of the event name to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {...*} Optional additional arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n proto.emit = function emit(evt) {\n var args = Array.prototype.slice.call(arguments, 1);\n return this.emitEvent(evt, args);\n };\n /**\n * Sets the current value to check against when executing listeners. If a\n * listeners return value matches the one set here then it will be removed\n * after execution. This value defaults to true.\n *\n * @param {*} value The new value to check for when executing listeners.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n\n\n proto.setOnceReturnValue = function setOnceReturnValue(value) {\n this._onceReturnValue = value;\n return this;\n };\n /**\n * Fetches the current value to check against when executing listeners. If\n * the listeners return value matches this one then it should be removed\n * automatically. It will return true by default.\n *\n * @return {*|Boolean} The current value to check for or the default, true.\n * @api private\n */\n\n\n proto._getOnceReturnValue = function _getOnceReturnValue() {\n if (this.hasOwnProperty('_onceReturnValue')) {\n return this._onceReturnValue;\n } else {\n return true;\n }\n };\n /**\n * Fetches the events object and creates one if required.\n *\n * @return {Object} The events storage object.\n * @api private\n */\n\n\n proto._getEvents = function _getEvents() {\n return this._events || (this._events = {});\n };\n /**\n * Reverts the global {@link EventEmitter} to its previous value and returns a reference to this version.\n *\n * @return {Function} Non conflicting EventEmitter class.\n */\n\n\n EventEmitter.noConflict = function noConflict() {\n exports.EventEmitter = originalGlobalValue;\n return EventEmitter;\n }; // Expose the class either via AMD, CommonJS or the global object\n\n\n if (typeof define === 'function' && define.amd) {\n define(function () {\n return EventEmitter;\n });\n } else if (typeof module === 'object' && module.exports) {\n module.exports = EventEmitter;\n } else {\n exports.EventEmitter = EventEmitter;\n }\n})(this || {});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_wolfy87-eventemitter@5.1.0@wolfy87-eventemitter/EventEmitter.js\n// module id = 51\n// module chunks = 0","module.exports = {\n isFunction: require('@antv/util/lib/type/is-function'),\n isObject: require('@antv/util/lib/type/is-object'),\n isBoolean: require('@antv/util/lib/type/is-boolean'),\n isNil: require('@antv/util/lib/type/is-nil'),\n isString: require('@antv/util/lib/type/is-string'),\n isArray: require('@antv/util/lib/type/is-array'),\n isNumber: require('@antv/util/lib/type/is-number'),\n isEmpty: require('@antv/util/lib/is-empty'),\n // isBlank\n uniqueId: require('@antv/util/lib/unique-id'),\n clone: require('@antv/util/lib/clone'),\n deepMix: require('@antv/util/lib/deep-mix'),\n assign: require('@antv/util/lib/mix'),\n // simpleMix\n merge: require('@antv/util/lib/deep-mix'),\n // mix\n upperFirst: require('@antv/util/lib/string/upper-first'),\n // ucfirst\n each: require('@antv/util/lib/each'),\n isEqual: require('@antv/util/lib/is-equal'),\n toArray: require('@antv/util/lib/to-array'),\n extend: require('@antv/util/lib/extend'),\n augment: require('@antv/util/lib/augment'),\n remove: require('@antv/util/lib/array/pull'),\n isNumberEqual: require('@antv/util/lib/math/is-number-equal'),\n toRadian: require('@antv/util/lib/math/to-radian'),\n toDegree: require('@antv/util/lib/math/to-degree'),\n mod: require('@antv/util/lib/math/mod'),\n clamp: require('@antv/util/lib/math/clamp'),\n createDom: require('@antv/util/lib/dom/create-dom'),\n modifyCSS: require('@antv/util/lib/dom/modify-css'),\n requestAnimationFrame: require('@antv/util/lib/dom/request-animation-frame'),\n getRatio: function getRatio() {\n return window.devicePixelRatio ? window.devicePixelRatio : 2;\n },\n mat3: require('@antv/util/lib/matrix/mat3'),\n vec2: require('@antv/util/lib/matrix/vec2'),\n vec3: require('@antv/util/lib/matrix/vec3'),\n transform: require('@antv/util/lib/matrix/transform')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/util/common.js\n// module id = 52\n// module chunks = 0","/**\n * 是否是布尔类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar isType = require('./is-type');\n\nvar isBoolean = function isBoolean(value) {\n return isType(value, 'Boolean');\n};\n\nmodule.exports = isBoolean;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-boolean.js\n// module id = 53\n// module chunks = 0","var isNil = require('./type/is-nil');\n\nvar isArrayLike = require('./type/is-array-like');\n\nvar getType = require('./type/get-type');\n\nvar isPrototype = require('./type/is-prototype');\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction isEmpty(value) {\n /**\n * isEmpty(null) => true\n * isEmpty() => true\n * isEmpty(true) => true\n * isEmpty(1) => true\n * isEmpty([1, 2, 3]) => false\n * isEmpty('abc') => false\n * isEmpty({ a: 1 }) => false\n */\n if (isNil(value)) {\n return true;\n }\n\n if (isArrayLike(value)) {\n return !value.length;\n }\n\n var type = getType(value);\n\n if (type === 'Map' || type === 'Set') {\n return !value.size;\n }\n\n if (isPrototype(value)) {\n return !Object.keys(value).length;\n }\n\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = isEmpty;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/is-empty.js\n// module id = 54\n// module chunks = 0","var toString = {}.toString;\n\nvar getType = function getType(value) {\n return toString.call(value).replace(/^\\[object /, '').replace(/\\]$/, '');\n};\n\nmodule.exports = getType;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/get-type.js\n// module id = 55\n// module chunks = 0","var objectProto = Object.prototype;\n\nvar isPrototype = function isPrototype(value) {\n var Ctor = value && value.constructor;\n var proto = typeof Ctor === 'function' && Ctor.prototype || objectProto;\n return value === proto;\n};\n\nmodule.exports = isPrototype;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-prototype.js\n// module id = 56\n// module chunks = 0","var uniqueId = function () {\n var map = {};\n return function (prefix) {\n prefix = prefix || 'g';\n\n if (!map[prefix]) {\n map[prefix] = 1;\n } else {\n map[prefix] += 1;\n }\n\n return prefix + map[prefix];\n };\n}();\n\nmodule.exports = uniqueId;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/unique-id.js\n// module id = 57\n// module chunks = 0","var toString = require('../to-string');\n\nvar upperFirst = function upperFirst(value) {\n var str = toString(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\n\nmodule.exports = upperFirst;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/upper-first.js\n// module id = 58\n// module chunks = 0","var isFunction = require('./type/is-function');\n\nvar mix = require('./mix');\n\nvar extend = function extend(subclass, superclass, overrides, staticOverrides) {\n // 如果只提供父类构造函数,则自动生成子类构造函数\n if (!isFunction(superclass)) {\n overrides = superclass;\n superclass = subclass;\n\n subclass = function subclass() {};\n }\n\n var create = Object.create ? function (proto, c) {\n return Object.create(proto, {\n constructor: {\n value: c\n }\n });\n } : function (proto, c) {\n function Tmp() {}\n\n Tmp.prototype = proto;\n var o = new Tmp();\n o.constructor = c;\n return o;\n };\n var superObj = create(superclass.prototype, subclass); // new superclass(),//实例化父类作为子类的prototype\n\n subclass.prototype = mix(superObj, subclass.prototype); // 指定子类的prototype\n\n subclass.superclass = create(superclass.prototype, superclass);\n mix(superObj, overrides);\n mix(subclass, staticOverrides);\n return subclass;\n};\n\nmodule.exports = extend;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/extend.js\n// module id = 59\n// module chunks = 0","var isFunction = require('./type/is-function');\n\nvar toArray = require('./to-array');\n\nvar mix = require('./mix');\n\nvar augment = function augment(c) {\n var args = toArray(arguments);\n\n for (var i = 1; i < args.length; i++) {\n var obj = args[i];\n\n if (isFunction(obj)) {\n obj = obj.prototype;\n }\n\n mix(c.prototype, obj);\n }\n};\n\nmodule.exports = augment;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/augment.js\n// module id = 60\n// module chunks = 0","var arrPrototype = Array.prototype;\nvar splice = arrPrototype.splice;\nvar indexOf = arrPrototype.indexOf;\nvar slice = arrPrototype.slice;\n\nvar pull = function pull(arr) {\n var values = slice.call(arguments, 1);\n\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n var fromIndex = -1;\n\n while ((fromIndex = indexOf.call(arr, value)) > -1) {\n splice.call(arr, fromIndex, 1);\n }\n }\n\n return arr;\n};\n\nmodule.exports = pull;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/pull.js\n// module id = 61\n// module chunks = 0","var PRECISION = 0.00001; // numbers less than this is considered as 0\n\nmodule.exports = function isNumberEqual(a, b) {\n var precision = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : PRECISION;\n return Math.abs(a - b) < precision;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-number-equal.js\n// module id = 62\n// module chunks = 0","var RADIAN = Math.PI / 180;\n\nvar toRadian = function toRadian(degree) {\n return RADIAN * degree;\n};\n\nmodule.exports = toRadian;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/to-radian.js\n// module id = 63\n// module chunks = 0","var DEGREE = 180 / Math.PI;\n\nvar toDegree = function toDegree(radian) {\n return DEGREE * radian;\n};\n\nmodule.exports = toDegree;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/to-degree.js\n// module id = 64\n// module chunks = 0","var mod = function mod(n, m) {\n return (n % m + m) % m;\n};\n\nmodule.exports = mod;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/mod.js\n// module id = 65\n// module chunks = 0","/**\n * 创建DOM 节点\n * @param {String} str Dom 字符串\n * @return {HTMLElement} DOM 节点\n */\nvar TABLE = document.createElement('table');\nvar TABLE_TR = document.createElement('tr');\nvar FRAGMENT_REG = /^\\s*<(\\w+|!)[^>]*>/;\nvar CONTAINERS = {\n tr: document.createElement('tbody'),\n tbody: TABLE,\n thead: TABLE,\n tfoot: TABLE,\n td: TABLE_TR,\n th: TABLE_TR,\n '*': document.createElement('div')\n};\n\nmodule.exports = function createDom(str) {\n var name = FRAGMENT_REG.test(str) && RegExp.$1;\n\n if (!(name in CONTAINERS)) {\n name = '*';\n }\n\n var container = CONTAINERS[name];\n str = str.replace(/(^\\s*)|(\\s*$)/g, '');\n container.innerHTML = '' + str;\n var dom = container.childNodes[0];\n container.removeChild(dom);\n return dom;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/create-dom.js\n// module id = 66\n// module chunks = 0","module.exports = function modifyCSS(dom, css) {\n if (dom) {\n for (var key in css) {\n if (css.hasOwnProperty(key)) {\n dom.style[key] = css[key];\n }\n }\n }\n\n return dom;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/modify-css.js\n// module id = 67\n// module chunks = 0","module.exports = function requestAnimationFrame(fn) {\n var method = window.requestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) {\n return setTimeout(fn, 16);\n };\n\n return method(fn);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/request-animation-frame.js\n// module id = 68\n// module chunks = 0","var vec2 = require('@antv/gl-matrix/lib/gl-matrix/vec2');\n\nvar clamp = require('../math/clamp');\n\nvec2.angle = function (v1, v2) {\n var theta = vec2.dot(v1, v2) / (vec2.length(v1) * vec2.length(v2));\n return Math.acos(clamp(theta, -1, 1));\n};\n/**\n * 向量 v1 到 向量 v2 夹角的方向\n * @param {Array} v1 向量\n * @param {Array} v2 向量\n * @return {Boolean} >= 0 顺时针 < 0 逆时针\n */\n\n\nvec2.direction = function (v1, v2) {\n return v1[0] * v2[1] - v2[0] * v1[1];\n};\n\nvec2.angleTo = function (v1, v2, direct) {\n var angle = vec2.angle(v1, v2);\n var angleLargeThanPI = vec2.direction(v1, v2) >= 0;\n\n if (direct) {\n if (angleLargeThanPI) {\n return Math.PI * 2 - angle;\n }\n\n return angle;\n }\n\n if (angleLargeThanPI) {\n return angle;\n }\n\n return Math.PI * 2 - angle;\n};\n\nvec2.vertical = function (out, v, flag) {\n if (flag) {\n out[0] = v[1];\n out[1] = -1 * v[0];\n } else {\n out[0] = -1 * v[1];\n out[1] = v[0];\n }\n\n return out;\n};\n\nmodule.exports = vec2;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/vec2.js\n// module id = 69\n// module chunks = 0","var vec3 = require('@antv/gl-matrix/lib/gl-matrix/vec3');\n\nmodule.exports = vec3;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/vec3.js\n// module id = 70\n// module chunks = 0","var clone = require('../clone');\n\nvar each = require('../each');\n\nvar mat3 = require('./mat3');\n\nmodule.exports = function transform(m, ts) {\n m = clone(m);\n each(ts, function (t) {\n switch (t[0]) {\n case 't':\n mat3.translate(m, m, [t[1], t[2]]);\n break;\n\n case 's':\n mat3.scale(m, m, [t[1], t[2]]);\n break;\n\n case 'r':\n mat3.rotate(m, m, t[1]);\n break;\n\n case 'm':\n mat3.multiply(m, m, t[1]);\n break;\n\n default:\n return false;\n }\n });\n return m;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/transform.js\n// module id = 71\n// module chunks = 0","var Util = require('./util/index');\n\nvar Event = function Event(type, event, bubbles, cancelable) {\n this.type = type; // 事件类型\n\n this.target = null; // 目标\n\n this.currentTarget = null; // 当前目标\n\n this.bubbles = bubbles; // 冒泡\n\n this.cancelable = cancelable; // 是否能够阻止\n\n this.timeStamp = new Date().getTime(); // 时间戳\n\n this.defaultPrevented = false; // 阻止默认\n\n this.propagationStopped = false; // 阻止冒泡\n\n this.removed = false; // 是否被移除\n\n this.event = event; // 触发的原生事件\n};\n\nUtil.augment(Event, {\n preventDefault: function preventDefault() {\n this.defaultPrevented = this.cancelable && true;\n },\n stopPropagation: function stopPropagation() {\n this.propagationStopped = true;\n },\n remove: function remove() {\n this.remove = true;\n },\n clone: function clone() {\n return Util.clone(this);\n },\n toString: function toString() {\n return '[Event (type=' + this.type + ')]';\n }\n});\nmodule.exports = Event;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/event.js\n// module id = 72\n// module chunks = 0","var Util = require('../util/index');\n\nvar Element = require('./element');\n\nvar Shape = require('../shapes/index');\n\nvar SHAPE_MAP = {}; // 缓存图形类型\n\nvar INDEX = '_INDEX';\n\nfunction getComparer(compare) {\n return function (left, right) {\n var result = compare(left, right);\n return result === 0 ? left[INDEX] - right[INDEX] : result;\n };\n}\n\nfunction find(children, x, y) {\n var rst;\n\n for (var i = children.length - 1; i >= 0; i--) {\n var child = children[i];\n\n if (child._cfg.visible && child._cfg.capture) {\n if (child.isGroup) {\n rst = child.getShape(x, y);\n } else if (child.isHit(x, y)) {\n rst = child;\n }\n }\n\n if (rst) {\n break;\n }\n }\n\n return rst;\n}\n\nvar Group = function Group(cfg) {\n Group.superclass.constructor.call(this, cfg);\n this.set('children', []);\n this.set('tobeRemoved', []);\n\n this._beforeRenderUI();\n\n this._renderUI();\n\n this._bindUI();\n};\n\nfunction initClassCfgs(c) {\n if (c._cfg || c === Group) {\n return;\n }\n\n var superCon = c.superclass.constructor;\n\n if (superCon && !superCon._cfg) {\n initClassCfgs(superCon);\n }\n\n c._cfg = {};\n Util.merge(c._cfg, superCon._cfg);\n Util.merge(c._cfg, c.CFG);\n}\n\nUtil.extend(Group, Element);\nUtil.augment(Group, {\n isGroup: true,\n type: 'group',\n canFill: true,\n canStroke: true,\n getDefaultCfg: function getDefaultCfg() {\n initClassCfgs(this.constructor);\n return Util.merge({}, this.constructor._cfg);\n },\n _beforeRenderUI: function _beforeRenderUI() {},\n _renderUI: function _renderUI() {},\n _bindUI: function _bindUI() {},\n addShape: function addShape(type, cfg) {\n var canvas = this.get('canvas');\n cfg = cfg || {};\n var shapeType = SHAPE_MAP[type];\n\n if (!shapeType) {\n shapeType = Util.upperFirst(type);\n SHAPE_MAP[type] = shapeType;\n }\n\n if (cfg.attrs && canvas) {\n var attrs = cfg.attrs;\n\n if (type === 'text') {\n // 临时解决\n var topFontFamily = canvas.get('fontFamily');\n\n if (topFontFamily) {\n attrs.fontFamily = attrs.fontFamily ? attrs.fontFamily : topFontFamily;\n }\n }\n }\n\n cfg.canvas = canvas;\n cfg.type = type;\n var rst = new Shape[shapeType](cfg);\n this.add(rst);\n return rst;\n },\n\n /** 添加图组\n * @param {Function|Object|undefined} param 图组类\n * @param {Object} cfg 配置项\n * @return {Object} rst 图组\n */\n addGroup: function addGroup(param, cfg) {\n var canvas = this.get('canvas');\n var rst;\n cfg = Util.merge({}, cfg);\n\n if (Util.isFunction(param)) {\n if (cfg) {\n cfg.canvas = canvas;\n cfg.parent = this;\n rst = new param(cfg);\n } else {\n rst = new param({\n canvas: canvas,\n parent: this\n });\n }\n\n this.add(rst);\n } else if (Util.isObject(param)) {\n param.canvas = canvas;\n rst = new Group(param);\n this.add(rst);\n } else if (param === undefined) {\n rst = new Group();\n this.add(rst);\n } else {\n return false;\n }\n\n return rst;\n },\n\n /** 绘制背景\n * @param {Array} padding 内边距\n * @param {Attrs} attrs 图形属性\n * @param {Shape} backShape 背景图形\n * @return {Object} 背景层对象\n */\n renderBack: function renderBack(padding, attrs) {\n var backShape = this.get('backShape');\n var innerBox = this.getBBox(); // const parent = this.get('parent'); // getParent\n\n Util.merge(attrs, {\n x: innerBox.minX - padding[3],\n y: innerBox.minY - padding[0],\n width: innerBox.width + padding[1] + padding[3],\n height: innerBox.height + padding[0] + padding[2]\n });\n\n if (backShape) {\n backShape.attr(attrs);\n } else {\n backShape = this.addShape('rect', {\n zIndex: -1,\n attrs: attrs\n });\n }\n\n this.set('backShape', backShape);\n this.sort();\n return backShape;\n },\n removeChild: function removeChild(item, destroy) {\n if (arguments.length >= 2) {\n if (this.contain(item)) {\n item.remove(destroy);\n }\n } else {\n if (arguments.length === 1) {\n if (Util.isBoolean(item)) {\n destroy = item;\n } else {\n if (this.contain(item)) {\n item.remove(true);\n }\n\n return this;\n }\n }\n\n if (arguments.length === 0) {\n destroy = true;\n }\n\n Group.superclass.remove.call(this, destroy);\n }\n\n return this;\n },\n\n /**\n * 向组中添加shape或者group\n * @param {Object} items 图形或者分组\n * @return {Object} group 本尊\n */\n add: function add(items) {\n var self = this;\n var children = self.get('children');\n\n if (Util.isArray(items)) {\n Util.each(items, function (item) {\n var parent = item.get('parent');\n\n if (parent) {\n parent.removeChild(item, false);\n }\n\n self._setCfgProperty(item);\n });\n self._cfg.children = children.concat(items);\n } else {\n var item = items;\n var parent = item.get('parent');\n\n if (parent) {\n parent.removeChild(item, false);\n }\n\n self._setCfgProperty(item);\n\n children.push(item);\n }\n\n return self;\n },\n _setCfgProperty: function _setCfgProperty(item) {\n var cfg = this._cfg;\n item.set('parent', this);\n item.set('canvas', cfg.canvas);\n\n if (cfg.timeline) {\n item.set('timeline', cfg.timeline);\n }\n },\n contain: function contain(item) {\n var children = this.get('children');\n return children.indexOf(item) > -1;\n },\n getChildByIndex: function getChildByIndex(index) {\n var children = this.get('children');\n return children[index];\n },\n getFirst: function getFirst() {\n return this.getChildByIndex(0);\n },\n getLast: function getLast() {\n var lastIndex = this.get('children').length - 1;\n return this.getChildByIndex(lastIndex);\n },\n getBBox: function getBBox() {\n var self = this;\n var minX = Infinity;\n var maxX = -Infinity;\n var minY = Infinity;\n var maxY = -Infinity;\n var children = self.get('children');\n\n if (children.length > 0) {\n Util.each(children, function (child) {\n if (child.get('visible')) {\n if (child.isGroup && child.get('children').length === 0) {\n return;\n }\n\n var _box = child.getBBox();\n\n if (!_box) {\n return true;\n }\n\n var leftTop = [_box.minX, _box.minY, 1];\n var leftBottom = [_box.minX, _box.maxY, 1];\n var rightTop = [_box.maxX, _box.minY, 1];\n var rightBottom = [_box.maxX, _box.maxY, 1];\n child.apply(leftTop);\n child.apply(leftBottom);\n child.apply(rightTop);\n child.apply(rightBottom);\n var boxMinX = Math.min(leftTop[0], leftBottom[0], rightTop[0], rightBottom[0]);\n var boxMaxX = Math.max(leftTop[0], leftBottom[0], rightTop[0], rightBottom[0]);\n var boxMinY = Math.min(leftTop[1], leftBottom[1], rightTop[1], rightBottom[1]);\n var boxMaxY = Math.max(leftTop[1], leftBottom[1], rightTop[1], rightBottom[1]);\n\n if (boxMinX < minX) {\n minX = boxMinX;\n }\n\n if (boxMaxX > maxX) {\n maxX = boxMaxX;\n }\n\n if (boxMinY < minY) {\n minY = boxMinY;\n }\n\n if (boxMaxY > maxY) {\n maxY = boxMaxY;\n }\n }\n });\n } else {\n minX = 0;\n maxX = 0;\n minY = 0;\n maxY = 0;\n }\n\n var box = {\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY\n };\n box.x = box.minX;\n box.y = box.minY;\n box.width = box.maxX - box.minX;\n box.height = box.maxY - box.minY;\n return box;\n },\n getCount: function getCount() {\n return this.get('children').length;\n },\n sort: function sort() {\n var children = this.get('children'); // 稳定排序\n\n Util.each(children, function (child, index) {\n child[INDEX] = index;\n return child;\n });\n children.sort(getComparer(function (obj1, obj2) {\n return obj1.get('zIndex') - obj2.get('zIndex');\n }));\n return this;\n },\n findById: function findById(id) {\n return this.find(function (item) {\n return item.get('id') === id;\n });\n },\n\n /**\n * 根据查找函数查找分组或者图形\n * @param {Function} fn 匹配函数\n * @return {Canvas.Base} 分组或者图形\n */\n find: function find(fn) {\n if (Util.isString(fn)) {\n return this.findById(fn);\n }\n\n var children = this.get('children');\n var rst = null;\n Util.each(children, function (item) {\n if (fn(item)) {\n rst = item;\n } else if (item.find) {\n rst = item.find(fn);\n }\n\n if (rst) {\n return false;\n }\n });\n return rst;\n },\n\n /**\n * @param {Function} fn filter mathod\n * @return {Array} all the matching shapes and groups\n */\n findAll: function findAll(fn) {\n var children = this.get('children');\n var rst = [];\n var childRst = [];\n Util.each(children, function (item) {\n if (fn(item)) {\n rst.push(item);\n }\n\n if (item.findAllBy) {\n childRst = item.findAllBy(fn);\n rst = rst.concat(childRst);\n }\n });\n return rst;\n },\n\n /**\n * @Deprecated\n * @param {Function} fn filter method\n * @return {Object} found shape or group\n */\n findBy: function findBy(fn) {\n var children = this.get('children');\n var rst = null;\n Util.each(children, function (item) {\n if (fn(item)) {\n rst = item;\n } else if (item.findBy) {\n rst = item.findBy(fn);\n }\n\n if (rst) {\n return false;\n }\n });\n return rst;\n },\n\n /**\n * @Deprecated\n * @param {Function} fn filter mathod\n * @return {Array} all the matching shapes and groups\n */\n findAllBy: function findAllBy(fn) {\n var children = this.get('children');\n var rst = [];\n var childRst = [];\n Util.each(children, function (item) {\n if (fn(item)) {\n rst.push(item);\n }\n\n if (item.findAllBy) {\n childRst = item.findAllBy(fn);\n rst = rst.concat(childRst);\n }\n });\n return rst;\n },\n getShape: function getShape(x, y) {\n var self = this;\n var clip = self._attrs.clip;\n var children = self._cfg.children;\n var rst;\n\n if (clip) {\n var v = [x, y, 1];\n clip.invert(v, self.get('canvas')); // 已经在外面转换\n\n if (clip.isPointInPath(v[0], v[1])) {\n rst = find(children, x, y);\n }\n } else {\n rst = find(children, x, y);\n }\n\n return rst;\n },\n clearTotalMatrix: function clearTotalMatrix() {\n var m = this.get('totalMatrix');\n\n if (m) {\n this.setSilent('totalMatrix', null);\n var children = this._cfg.children;\n\n for (var i = 0; i < children.length; i++) {\n var child = children[i];\n child.clearTotalMatrix();\n }\n }\n },\n clear: function clear(delayRemove) {\n var children = this._cfg.children;\n\n for (var i = children.length - 1; i >= 0; i--) {\n children[i].remove(true, delayRemove);\n }\n\n this._cfg.children = [];\n return this;\n },\n destroy: function destroy() {\n if (this.get('destroyed')) {\n return;\n }\n\n this.clear();\n Group.superclass.destroy.call(this);\n },\n clone: function clone() {\n var self = this;\n var children = self._cfg.children;\n var clone = new Group();\n Util.each(children, function (child) {\n clone.add(child.clone());\n });\n return clone;\n }\n});\nmodule.exports = Group;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/group.js\n// module id = 73\n// module chunks = 0","var Util = require('../util/index');\n\nvar Attribute = require('./mixin/attribute');\n\nvar Transform = require('./mixin/transform');\n\nvar Animate = require('./mixin/animation');\n\nvar EventEmitter = require('wolfy87-eventemitter');\n\nvar Element = function Element(cfg) {\n this._cfg = {\n zIndex: 0,\n capture: true,\n visible: true,\n destroyed: false\n }; // 配置存放地\n\n Util.assign(this._cfg, this.getDefaultCfg(), cfg); // Element.CFG不合并提升性能 合并默认配置,用户配置->继承默认配置->Element默认配置\n\n this.initAttrs(this._cfg.attrs); // 初始化绘图属性\n\n this._cfg.attrs = {};\n this.initTransform(); // 初始化变换\n\n this.init(); // 类型初始化\n};\n\nElement.CFG = {\n /**\n * 唯一标示\n * @type {Number}\n */\n id: null,\n\n /**\n * Z轴的层叠关系Z值越大离用户越近\n * @type {Number}\n */\n zIndex: 0,\n\n /**\n * Canvas对象\n * @type: {Object}\n */\n canvas: null,\n\n /**\n * 父元素指针\n * @type {Object}\n */\n parent: null,\n\n /**\n * 用来设置当前对象是否能被捕捉\n * true 能\n * false 不能\n * 对象默认是都可以被捕捉的, 当capture为false时group.getShape(x, y)方法无法获得该元素\n * 通过将不必要捕捉的元素的该属性设置成false, 来提高捕捉性能\n * @type {Boolean}\n **/\n capture: true,\n\n /**\n * 画布的上下文\n * @type {Object}\n */\n context: null,\n\n /**\n * 是否显示\n * @type {Boolean}\n */\n visible: true,\n\n /**\n * 是否被销毁\n * @type: {Boolean}\n */\n destroyed: false\n};\nUtil.augment(Element, Attribute, Transform, EventEmitter, Animate, {\n init: function init() {\n this.setSilent('animable', true);\n this.setSilent('animating', false); // 初始时不处于动画状态\n },\n getParent: function getParent() {\n return this._cfg.parent;\n },\n\n /**\n * 获取默认的配置信息\n * @protected\n * @return {Object} 默认的属性\n */\n getDefaultCfg: function getDefaultCfg() {\n return {};\n },\n set: function set(name, value) {\n if (name === 'zIndex' && this._beforeSetZIndex) {\n this._beforeSetZIndex(value);\n }\n\n if (name === 'loading' && this._beforeSetLoading) {\n this._beforeSetLoading(value);\n }\n\n this._cfg[name] = value;\n return this;\n },\n // deprecated\n setSilent: function setSilent(name, value) {\n this._cfg[name] = value;\n },\n get: function get(name) {\n return this._cfg[name];\n },\n show: function show() {\n this._cfg.visible = true;\n return this;\n },\n hide: function hide() {\n this._cfg.visible = false;\n return this;\n },\n remove: function remove(destroy, delayRemove) {\n var cfg = this._cfg;\n var parent = cfg.parent;\n var el = cfg.el;\n\n if (parent) {\n Util.remove(parent.get('children'), this);\n }\n\n if (el) {\n if (delayRemove) {\n parent && parent._cfg.tobeRemoved.push(el);\n } else {\n el.parentNode.removeChild(el);\n }\n }\n\n if (destroy || destroy === undefined) {\n this.destroy();\n }\n\n return this;\n },\n destroy: function destroy() {\n var destroyed = this.get('destroyed');\n\n if (destroyed) {\n return;\n }\n\n this._attrs = null;\n this.removeEvent(); // 移除所有的事件\n\n this._cfg = {\n destroyed: true\n };\n },\n toFront: function toFront() {\n var cfg = this._cfg;\n var parent = cfg.parent;\n\n if (!parent) {\n return;\n }\n\n var children = parent._cfg.children;\n var el = cfg.el;\n var index = children.indexOf(this);\n children.splice(index, 1);\n children.push(this);\n\n if (el) {\n el.parentNode.removeChild(el);\n cfg.el = null;\n }\n },\n toBack: function toBack() {\n var cfg = this._cfg;\n var parent = cfg.parent;\n\n if (!parent) {\n return;\n }\n\n var children = parent._cfg.children;\n var el = cfg.el;\n var index = children.indexOf(this);\n children.splice(index, 1);\n children.unshift(this);\n\n if (el) {\n var parentNode = el.parentNode;\n parentNode.removeChild(el);\n parentNode.insertBefore(el, parentNode.firstChild);\n }\n },\n _beforeSetZIndex: function _beforeSetZIndex(zIndex) {\n var parent = this._cfg.parent;\n this._cfg.zIndex = zIndex;\n\n if (!Util.isNil(parent)) {\n parent.sort();\n }\n\n var el = this._cfg.el;\n\n if (el) {\n var children = parent._cfg.children;\n var index = children.indexOf(this);\n var parentNode = el.parentNode;\n parentNode.removeChild(el);\n\n if (index === children.length - 1) {\n parentNode.appendChild(el);\n } else {\n parentNode.insertBefore(el, parentNode.childNodes[index]);\n }\n }\n\n return zIndex;\n },\n _setAttrs: function _setAttrs(attrs) {\n this.attr(attrs);\n return attrs;\n },\n setZIndex: function setZIndex(zIndex) {\n this._cfg.zIndex = zIndex;\n return this._beforeSetZIndex(zIndex);\n },\n clone: function clone() {\n return Util.clone(this);\n },\n getBBox: function getBBox() {}\n});\nmodule.exports = Element;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/element.js\n// module id = 74\n// module chunks = 0","var Util = require('../../util/index');\n\nvar vec2 = Util.vec2;\n\nfunction quadraticAt(p0, p1, p2, t) {\n var onet = 1 - t;\n return onet * (onet * p0 + 2 * t * p1) + t * t * p2;\n}\n\nfunction quadraticProjectPoint(x1, y1, x2, y2, x3, y3, x, y, out) {\n var t;\n var interval = 0.005;\n var d = Infinity;\n var d1;\n var v1;\n var v2;\n\n var _t;\n\n var d2;\n var i;\n var EPSILON = 0.0001;\n var v0 = [x, y];\n\n for (_t = 0; _t < 1; _t += 0.05) {\n v1 = [quadraticAt(x1, x2, x3, _t), quadraticAt(y1, y2, y3, _t)];\n d1 = vec2.squaredDistance(v0, v1);\n\n if (d1 < d) {\n t = _t;\n d = d1;\n }\n }\n\n d = Infinity;\n\n for (i = 0; i < 32; i++) {\n if (interval < EPSILON) {\n break;\n }\n\n var prev = t - interval;\n var next = t + interval;\n v1 = [quadraticAt(x1, x2, x3, prev), quadraticAt(y1, y2, y3, prev)];\n d1 = vec2.squaredDistance(v0, v1);\n\n if (prev >= 0 && d1 < d) {\n t = prev;\n d = d1;\n } else {\n v2 = [quadraticAt(x1, x2, x3, next), quadraticAt(y1, y2, y3, next)];\n d2 = vec2.squaredDistance(v0, v2);\n\n if (next <= 1 && d2 < d) {\n t = next;\n d = d2;\n } else {\n interval *= 0.5;\n }\n }\n }\n\n if (out) {\n out.x = quadraticAt(x1, x2, x3, t);\n out.y = quadraticAt(y1, y2, y3, t);\n }\n\n return Math.sqrt(d);\n}\n\nfunction quadraticExtrema(p0, p1, p2) {\n var a = p0 + p2 - 2 * p1;\n\n if (Util.isNumberEqual(a, 0)) {\n return [0.5];\n }\n\n var rst = (p0 - p1) / a;\n\n if (rst <= 1 && rst >= 0) {\n return [rst];\n }\n\n return [];\n}\n\nmodule.exports = {\n at: quadraticAt,\n projectPoint: function projectPoint(x1, y1, x2, y2, x3, y3, x, y) {\n var rst = {};\n quadraticProjectPoint(x1, y1, x2, y2, x3, y3, x, y, rst);\n return rst;\n },\n pointDistance: quadraticProjectPoint,\n extrema: quadraticExtrema\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/quadratic.js\n// module id = 75\n// module chunks = 0","module.exports = {\n xAt: function xAt(psi, rx, ry, cx, t) {\n return rx * Math.cos(psi) * Math.cos(t) - ry * Math.sin(psi) * Math.sin(t) + cx;\n },\n yAt: function yAt(psi, rx, ry, cy, t) {\n return rx * Math.sin(psi) * Math.cos(t) + ry * Math.cos(psi) * Math.sin(t) + cy;\n },\n xExtrema: function xExtrema(psi, rx, ry) {\n return Math.atan(-ry / rx * Math.tan(psi));\n },\n yExtrema: function yExtrema(psi, rx, ry) {\n return Math.atan(ry / (rx * Math.tan(psi)));\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/math/ellipse.js\n// module id = 76\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar ArcMath = require('./math/arc');\n\nvar Arrow = require('./util/arrow');\n\nfunction _getArcX(x, radius, angle) {\n return x + radius * Math.cos(angle);\n}\n\nfunction _getArcY(y, radius, angle) {\n return y + radius * Math.sin(angle);\n}\n\nvar Arc = function Arc(cfg) {\n Arc.superclass.constructor.call(this, cfg);\n};\n\nArc.ATTRS = {\n x: 0,\n y: 0,\n r: 0,\n startAngle: 0,\n endAngle: 0,\n clockwise: false,\n lineWidth: 1,\n startArrow: false,\n endArrow: false\n};\nUtil.extend(Arc, Shape);\nUtil.augment(Arc, {\n canStroke: true,\n type: 'arc',\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n x: 0,\n y: 0,\n r: 0,\n startAngle: 0,\n endAngle: 0,\n clockwise: false,\n lineWidth: 1,\n startArrow: false,\n endArrow: false\n };\n },\n calculateBox: function calculateBox() {\n var attrs = this._attrs;\n var x = attrs.x,\n y = attrs.y,\n r = attrs.r,\n startAngle = attrs.startAngle,\n endAngle = attrs.endAngle,\n clockwise = attrs.clockwise;\n var lineWidth = this.getHitLineWidth();\n var halfWidth = lineWidth / 2;\n var box = ArcMath.box(x, y, r, startAngle, endAngle, clockwise);\n box.minX -= halfWidth;\n box.minY -= halfWidth;\n box.maxX += halfWidth;\n box.maxY += halfWidth;\n return box;\n },\n getStartTangent: function getStartTangent() {\n var attrs = this._attrs;\n var x = attrs.x,\n y = attrs.y,\n startAngle = attrs.startAngle,\n r = attrs.r,\n clockwise = attrs.clockwise;\n var diff = Math.PI / 180;\n\n if (clockwise) {\n diff *= -1;\n }\n\n var result = [];\n\n var x1 = _getArcX(x, r, startAngle + diff);\n\n var y1 = _getArcY(y, r, startAngle + diff);\n\n var x2 = _getArcX(x, r, startAngle);\n\n var y2 = _getArcY(y, r, startAngle);\n\n result.push([x1, y1]);\n result.push([x2, y2]);\n return result;\n },\n getEndTangent: function getEndTangent() {\n var attrs = this._attrs;\n var x = attrs.x,\n y = attrs.y,\n endAngle = attrs.endAngle,\n r = attrs.r,\n clockwise = attrs.clockwise;\n var diff = Math.PI / 180;\n var result = [];\n\n if (clockwise) {\n diff *= -1;\n }\n\n var x1 = _getArcX(x, r, endAngle + diff);\n\n var y1 = _getArcY(y, r, endAngle + diff);\n\n var x2 = _getArcX(x, r, endAngle);\n\n var y2 = _getArcY(y, r, endAngle);\n\n result.push([x2, y2]);\n result.push([x1, y1]);\n return result;\n },\n createPath: function createPath(context) {\n var attrs = this._attrs;\n var x = attrs.x,\n y = attrs.y,\n r = attrs.r,\n startAngle = attrs.startAngle,\n endAngle = attrs.endAngle,\n clockwise = attrs.clockwise;\n context = context || self.get('context');\n context.beginPath();\n context.arc(x, y, r, startAngle, endAngle, clockwise);\n },\n afterPath: function afterPath(context) {\n var attrs = this._attrs;\n context = context || this.get('context');\n\n if (attrs.startArrow) {\n var startPoints = this.getStartTangent();\n Arrow.addStartArrow(context, attrs, startPoints[0][0], startPoints[0][1], startPoints[1][0], startPoints[1][1]);\n }\n\n if (attrs.endArrow) {\n var endPoints = this.getEndTangent();\n Arrow.addEndArrow(context, attrs, endPoints[0][0], endPoints[0][1], endPoints[1][0], endPoints[1][1]);\n }\n }\n});\nmodule.exports = Arc;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/arc.js\n// module id = 77\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar Circle = function Circle(cfg) {\n Circle.superclass.constructor.call(this, cfg);\n};\n\nCircle.ATTRS = {\n x: 0,\n y: 0,\n r: 0,\n lineWidth: 1\n};\nUtil.extend(Circle, Shape);\nUtil.augment(Circle, {\n canFill: true,\n canStroke: true,\n type: 'circle',\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n lineWidth: 1\n };\n },\n calculateBox: function calculateBox() {\n var attrs = this._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var r = attrs.r;\n var lineWidth = this.getHitLineWidth();\n var halfWidth = lineWidth / 2 + r;\n return {\n minX: cx - halfWidth,\n minY: cy - halfWidth,\n maxX: cx + halfWidth,\n maxY: cy + halfWidth\n };\n },\n createPath: function createPath(context) {\n var attrs = this._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var r = attrs.r;\n context.beginPath();\n context.arc(cx, cy, r, 0, Math.PI * 2, false);\n context.closePath();\n }\n});\nmodule.exports = Circle;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/circle.js\n// module id = 78\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar Dom = function Dom(cfg) {\n Dom.superclass.constructor.call(this, cfg);\n};\n\nUtil.extend(Dom, Shape);\nUtil.augment(Dom, {\n canFill: true,\n canStroke: true,\n type: 'dom',\n calculateBox: function calculateBox() {\n var self = this;\n var attrs = self._attrs;\n var x = attrs.x;\n var y = attrs.y;\n var width = attrs.width;\n var height = attrs.height;\n var lineWidth = this.getHitLineWidth();\n var halfWidth = lineWidth / 2;\n return {\n minX: x - halfWidth,\n minY: y - halfWidth,\n maxX: x + width + halfWidth,\n maxY: y + height + halfWidth\n };\n }\n});\nmodule.exports = Dom;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/dom.js\n// module id = 79\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar Ellipse = function Ellipse(cfg) {\n Ellipse.superclass.constructor.call(this, cfg);\n};\n\nEllipse.ATTRS = {\n x: 0,\n y: 0,\n rx: 1,\n ry: 1,\n lineWidth: 1\n};\nUtil.extend(Ellipse, Shape);\nUtil.augment(Ellipse, {\n canFill: true,\n canStroke: true,\n type: 'ellipse',\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n lineWidth: 1\n };\n },\n calculateBox: function calculateBox() {\n var attrs = this._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var rx = attrs.rx;\n var ry = attrs.ry;\n var lineWidth = this.getHitLineWidth();\n var halfXWidth = rx + lineWidth / 2;\n var halfYWidth = ry + lineWidth / 2;\n return {\n minX: cx - halfXWidth,\n minY: cy - halfYWidth,\n maxX: cx + halfXWidth,\n maxY: cy + halfYWidth\n };\n },\n createPath: function createPath(context) {\n var attrs = this._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var rx = attrs.rx;\n var ry = attrs.ry;\n context = context || self.get('context');\n var r = rx > ry ? rx : ry;\n var scaleX = rx > ry ? 1 : rx / ry;\n var scaleY = rx > ry ? ry / rx : 1;\n var m = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n Util.mat3.scale(m, m, [scaleX, scaleY]);\n Util.mat3.translate(m, m, [cx, cy]);\n context.beginPath();\n context.save();\n context.transform(m[0], m[1], m[3], m[4], m[6], m[7]);\n context.arc(0, 0, r, 0, Math.PI * 2);\n context.restore();\n context.closePath();\n }\n});\nmodule.exports = Ellipse;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/ellipse.js\n// module id = 80\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar ArcMath = require('./math/arc');\n\nvar Fan = function Fan(cfg) {\n Fan.superclass.constructor.call(this, cfg);\n};\n\nFan.ATTRS = {\n x: 0,\n y: 0,\n rs: 0,\n re: 0,\n startAngle: 0,\n endAngle: 0,\n clockwise: false,\n lineWidth: 1\n};\nUtil.extend(Fan, Shape);\nUtil.augment(Fan, {\n canFill: true,\n canStroke: true,\n type: 'fan',\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n clockwise: false,\n lineWidth: 1,\n rs: 0,\n re: 0\n };\n },\n calculateBox: function calculateBox() {\n var self = this;\n var attrs = self._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var rs = attrs.rs;\n var re = attrs.re;\n var startAngle = attrs.startAngle;\n var endAngle = attrs.endAngle;\n var clockwise = attrs.clockwise;\n var lineWidth = this.getHitLineWidth();\n var boxs = ArcMath.box(cx, cy, rs, startAngle, endAngle, clockwise);\n var boxe = ArcMath.box(cx, cy, re, startAngle, endAngle, clockwise);\n var minX = Math.min(boxs.minX, boxe.minX);\n var minY = Math.min(boxs.minY, boxe.minY);\n var maxX = Math.max(boxs.maxX, boxe.maxX);\n var maxY = Math.max(boxs.maxY, boxe.maxY);\n var halfWidth = lineWidth / 2;\n return {\n minX: minX - halfWidth,\n minY: minY - halfWidth,\n maxX: maxX + halfWidth,\n maxY: maxY + halfWidth\n };\n },\n createPath: function createPath(context) {\n var attrs = this._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var rs = attrs.rs;\n var re = attrs.re;\n var startAngle = attrs.startAngle;\n var endAngle = attrs.endAngle;\n var clockwise = attrs.clockwise;\n var ssp = {\n x: Math.cos(startAngle) * rs + cx,\n y: Math.sin(startAngle) * rs + cy\n };\n var sep = {\n x: Math.cos(startAngle) * re + cx,\n y: Math.sin(startAngle) * re + cy\n };\n var esp = {\n x: Math.cos(endAngle) * rs + cx,\n y: Math.sin(endAngle) * rs + cy\n };\n context = context || self.get('context');\n context.beginPath();\n context.moveTo(ssp.x, ssp.y);\n context.lineTo(sep.x, sep.y);\n context.arc(cx, cy, re, startAngle, endAngle, clockwise);\n context.lineTo(esp.x, esp.y);\n context.arc(cx, cy, rs, endAngle, startAngle, !clockwise);\n context.closePath();\n }\n});\nmodule.exports = Fan;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/fan.js\n// module id = 81\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar CImage = function CImage(cfg) {\n CImage.superclass.constructor.call(this, cfg);\n};\n\nCImage.ATTRS = {\n x: 0,\n y: 0,\n img: undefined,\n width: 0,\n height: 0,\n sx: null,\n sy: null,\n swidth: null,\n sheight: null\n};\nUtil.extend(CImage, Shape);\nUtil.augment(CImage, {\n type: 'image',\n isHitBox: function isHitBox() {\n return false;\n },\n calculateBox: function calculateBox() {\n var attrs = this._attrs;\n\n if (!this._cfg.attrs || this._cfg.attrs.img !== attrs.img) {\n this._setAttrImg();\n }\n\n var x = attrs.x;\n var y = attrs.y;\n var width = attrs.width;\n var height = attrs.height;\n return {\n minX: x,\n minY: y,\n maxX: x + width,\n maxY: y + height\n };\n },\n _beforeSetLoading: function _beforeSetLoading(loading) {\n var canvas = this.get('canvas');\n\n if (loading === false && this.get('toDraw') === true) {\n this._cfg.loading = false;\n canvas.draw();\n }\n\n return loading;\n },\n _setAttrImg: function _setAttrImg() {\n var self = this;\n var attrs = self._attrs;\n var img = attrs.img;\n\n if (Util.isString(img)) {\n var image = new Image();\n\n image.onload = function () {\n if (self.get('destroyed')) return false;\n self.attr('imgSrc', img);\n self.attr('img', image);\n var callback = self.get('callback');\n\n if (callback) {\n callback.call(self);\n }\n\n self.set('loading', false);\n };\n\n image.src = img;\n image.crossOrigin = 'Anonymous';\n self.set('loading', true);\n } else if (img instanceof Image) {\n if (!attrs.width) {\n self.attr('width', img.width);\n }\n\n if (!attrs.height) {\n self.attr('height', img.height);\n }\n\n return img;\n } else if (img instanceof HTMLElement && Util.isString(img.nodeName) && img.nodeName.toUpperCase() === 'CANVAS') {\n if (!attrs.width) {\n self.attr('width', Number(img.getAttribute('width')));\n }\n\n if (!attrs.height) {\n self.attr('height', Number(img.getAttribute('height')));\n }\n\n return img;\n } else if (img instanceof ImageData) {\n if (!attrs.width) {\n self.attr('width', img.width);\n }\n\n if (!attrs.height) {\n self.attr('height', img.height);\n }\n\n return img;\n } else {\n return null;\n }\n },\n drawInner: function drawInner(context) {\n if (this._cfg.hasUpdate) {\n this._setAttrImg();\n }\n\n if (this.get('loading')) {\n this.set('toDraw', true);\n return;\n }\n\n this._drawImage(context);\n\n this._cfg.hasUpdate = false;\n },\n _drawImage: function _drawImage(context) {\n var attrs = this._attrs;\n var x = attrs.x;\n var y = attrs.y;\n var image = attrs.img;\n var width = attrs.width;\n var height = attrs.height;\n var sx = attrs.sx;\n var sy = attrs.sy;\n var swidth = attrs.swidth;\n var sheight = attrs.sheight;\n this.set('toDraw', false);\n var img = image;\n\n if (img instanceof ImageData) {\n img = new Image();\n img.src = image;\n }\n\n if (img instanceof Image || img instanceof HTMLElement && Util.isString(img.nodeName) && img.nodeName.toUpperCase() === 'CANVAS') {\n if (Util.isNil(sx) || Util.isNil(sy) || Util.isNil(swidth) || Util.isNil(sheight)) {\n context.drawImage(img, x, y, width, height);\n return;\n }\n\n if (!Util.isNil(sx) && !Util.isNil(sy) && !Util.isNil(swidth) && !Util.isNil(sheight)) {\n context.drawImage(img, sx, sy, swidth, sheight, x, y, width, height);\n return;\n }\n }\n\n return;\n }\n});\nmodule.exports = CImage;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/image.js\n// module id = 82\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar Arrow = require('./util/arrow');\n\nvar LineMath = require('./math/line');\n\nvar Line = function Line(cfg) {\n Line.superclass.constructor.call(this, cfg);\n};\n\nLine.ATTRS = {\n x1: 0,\n y1: 0,\n x2: 0,\n y2: 0,\n lineWidth: 1,\n startArrow: false,\n endArrow: false\n};\nUtil.extend(Line, Shape);\nUtil.augment(Line, {\n canStroke: true,\n type: 'line',\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n lineWidth: 1,\n startArrow: false,\n endArrow: false\n };\n },\n calculateBox: function calculateBox() {\n var attrs = this._attrs;\n var x1 = attrs.x1,\n y1 = attrs.y1,\n x2 = attrs.x2,\n y2 = attrs.y2;\n var lineWidth = this.getHitLineWidth();\n return LineMath.box(x1, y1, x2, y2, lineWidth);\n },\n createPath: function createPath(context) {\n var attrs = this._attrs;\n var x1 = attrs.x1,\n y1 = attrs.y1,\n x2 = attrs.x2,\n y2 = attrs.y2;\n context = context || self.get('context');\n context.beginPath();\n context.moveTo(x1, y1);\n context.lineTo(x2, y2);\n },\n afterPath: function afterPath(context) {\n var attrs = this._attrs;\n var x1 = attrs.x1,\n y1 = attrs.y1,\n x2 = attrs.x2,\n y2 = attrs.y2;\n context = context || this.get('context');\n\n if (attrs.startArrow) {\n Arrow.addStartArrow(context, attrs, x2, y2, x1, y1);\n }\n\n if (attrs.endArrow) {\n Arrow.addEndArrow(context, attrs, x1, y1, x2, y2);\n }\n },\n getPoint: function getPoint(t) {\n var attrs = this._attrs;\n return {\n x: LineMath.at(attrs.x1, attrs.x2, t),\n y: LineMath.at(attrs.y1, attrs.y2, t)\n };\n }\n});\nmodule.exports = Line;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/line.js\n// module id = 83\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar PathSegment = require('./util/path-segment');\n\nvar Format = require('../util/format');\n\nvar Arrow = require('./util/arrow');\n\nvar PathUtil = require('../util/path');\n\nvar CubicMath = require('./math/cubic');\n\nvar Path = function Path(cfg) {\n Path.superclass.constructor.call(this, cfg);\n};\n\nPath.ATTRS = {\n path: null,\n lineWidth: 1,\n startArrow: false,\n endArrow: false\n};\nUtil.extend(Path, Shape);\nUtil.augment(Path, {\n canFill: true,\n canStroke: true,\n type: 'path',\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n lineWidth: 1,\n startArrow: false,\n endArrow: false\n };\n },\n _afterSetAttrPath: function _afterSetAttrPath(path) {\n var self = this;\n\n if (Util.isNil(path)) {\n self.setSilent('segments', null);\n self.setSilent('box', undefined);\n return;\n }\n\n var pathArray = Format.parsePath(path);\n var preSegment;\n var segments = [];\n\n if (!Util.isArray(pathArray) || pathArray.length === 0 || pathArray[0][0] !== 'M' && pathArray[0][0] !== 'm') {\n return;\n }\n\n var count = pathArray.length;\n\n for (var i = 0; i < pathArray.length; i++) {\n var item = pathArray[i];\n preSegment = new PathSegment(item, preSegment, i === count - 1);\n segments.push(preSegment);\n }\n\n self.setSilent('segments', segments);\n self.setSilent('tCache', null);\n self.setSilent('box', null);\n },\n calculateBox: function calculateBox() {\n var self = this;\n var segments = self.get('segments');\n\n if (!segments) {\n return null;\n }\n\n var lineWidth = this.getHitLineWidth();\n var minX = Infinity;\n var maxX = -Infinity;\n var minY = Infinity;\n var maxY = -Infinity;\n Util.each(segments, function (segment) {\n segment.getBBox(lineWidth);\n var box = segment.box;\n\n if (box) {\n if (box.minX < minX) {\n minX = box.minX;\n }\n\n if (box.maxX > maxX) {\n maxX = box.maxX;\n }\n\n if (box.minY < minY) {\n minY = box.minY;\n }\n\n if (box.maxY > maxY) {\n maxY = box.maxY;\n }\n }\n });\n\n if (minX === Infinity || minY === Infinity) {\n return {\n minX: 0,\n minY: 0,\n maxX: 0,\n maxY: 0\n };\n }\n\n return {\n minX: minX,\n minY: minY,\n maxX: maxX,\n maxY: maxY\n };\n },\n _setTcache: function _setTcache() {\n var totalLength = 0;\n var tempLength = 0;\n var tCache = [];\n var segmentT;\n var segmentL;\n var segmentN;\n var l;\n var curve = this._cfg.curve;\n\n if (!curve) {\n return;\n }\n\n Util.each(curve, function (segment, i) {\n segmentN = curve[i + 1];\n l = segment.length;\n\n if (segmentN) {\n totalLength += CubicMath.len(segment[l - 2], segment[l - 1], segmentN[1], segmentN[2], segmentN[3], segmentN[4], segmentN[5], segmentN[6]);\n }\n });\n Util.each(curve, function (segment, i) {\n segmentN = curve[i + 1];\n l = segment.length;\n\n if (segmentN) {\n segmentT = [];\n segmentT[0] = tempLength / totalLength;\n segmentL = CubicMath.len(segment[l - 2], segment[l - 1], segmentN[1], segmentN[2], segmentN[3], segmentN[4], segmentN[5], segmentN[6]);\n tempLength += segmentL;\n segmentT[1] = tempLength / totalLength;\n tCache.push(segmentT);\n }\n });\n this._cfg.tCache = tCache;\n },\n _calculateCurve: function _calculateCurve() {\n var self = this;\n var attrs = self._attrs;\n var path = attrs.path;\n this._cfg.curve = PathUtil.pathTocurve(path);\n },\n getStartTangent: function getStartTangent() {\n var segments = this.get('segments');\n var startPoint, endPoint, tangent, result;\n\n if (segments.length > 1) {\n startPoint = segments[0].endPoint;\n endPoint = segments[1].endPoint;\n tangent = segments[1].startTangent;\n result = [];\n\n if (Util.isFunction(tangent)) {\n var v = tangent();\n result.push([startPoint.x - v[0], startPoint.y - v[1]]);\n result.push([startPoint.x, startPoint.y]);\n } else {\n result.push([endPoint.x, endPoint.y]);\n result.push([startPoint.x, startPoint.y]);\n }\n }\n\n return result;\n },\n getEndTangent: function getEndTangent() {\n var segments = this.get('segments');\n var segmentsLen = segments.length;\n var startPoint, endPoint, tangent, result;\n\n if (segmentsLen > 1) {\n startPoint = segments[segmentsLen - 2].endPoint;\n endPoint = segments[segmentsLen - 1].endPoint;\n tangent = segments[segmentsLen - 1].endTangent;\n result = [];\n\n if (Util.isFunction(tangent)) {\n var v = tangent();\n result.push([endPoint.x - v[0], endPoint.y - v[1]]);\n result.push([endPoint.x, endPoint.y]);\n } else {\n result.push([startPoint.x, startPoint.y]);\n result.push([endPoint.x, endPoint.y]);\n }\n }\n\n return result;\n },\n getPoint: function getPoint(t) {\n var tCache = this._cfg.tCache;\n var subt;\n var index;\n\n if (!tCache) {\n this._calculateCurve();\n\n this._setTcache();\n\n tCache = this._cfg.tCache;\n }\n\n var curve = this._cfg.curve;\n\n if (!tCache) {\n if (curve) {\n return {\n x: curve[0][1],\n y: curve[0][2]\n };\n }\n\n return null;\n }\n\n Util.each(tCache, function (v, i) {\n if (t >= v[0] && t <= v[1]) {\n subt = (t - v[0]) / (v[1] - v[0]);\n index = i;\n }\n });\n var seg = curve[index];\n\n if (Util.isNil(seg) || Util.isNil(index)) {\n return null;\n }\n\n var l = seg.length;\n var nextSeg = curve[index + 1];\n return {\n x: CubicMath.at(seg[l - 2], nextSeg[1], nextSeg[3], nextSeg[5], 1 - subt),\n y: CubicMath.at(seg[l - 1], nextSeg[2], nextSeg[4], nextSeg[6], 1 - subt)\n };\n },\n createPath: function createPath(context) {\n var self = this;\n var segments = self.get('segments');\n\n if (!Util.isArray(segments)) {\n return;\n }\n\n context = context || self.get('context');\n context.beginPath();\n var segmentsLen = segments.length;\n\n for (var i = 0; i < segmentsLen; i++) {\n segments[i].draw(context);\n }\n },\n afterPath: function afterPath(context) {\n var self = this;\n var attrs = self._attrs;\n var segments = self.get('segments');\n var path = attrs.path;\n context = context || self.get('context');\n\n if (!Util.isArray(segments)) {\n return;\n }\n\n if (segments.length === 1) {\n return;\n }\n\n if (!attrs.startArrow && !attrs.endArrow) {\n return;\n }\n\n if (path[path.length - 1] === 'z' || path[path.length - 1] === 'Z' || attrs.fill) {\n // 闭合路径不绘制箭头\n return;\n }\n\n var startPoints = self.getStartTangent();\n Arrow.addStartArrow(context, attrs, startPoints[0][0], startPoints[0][1], startPoints[1][0], startPoints[1][1]);\n var endPoints = self.getEndTangent();\n Arrow.addEndArrow(context, attrs, endPoints[0][0], endPoints[0][1], endPoints[1][0], endPoints[1][1]);\n }\n});\nmodule.exports = Path;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/path.js\n// module id = 84\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar Polygon = function Polygon(cfg) {\n Polygon.superclass.constructor.call(this, cfg);\n};\n\nPolygon.ATTRS = {\n points: null,\n lineWidth: 1\n};\nUtil.extend(Polygon, Shape);\nUtil.augment(Polygon, {\n canFill: true,\n canStroke: true,\n type: 'polygon',\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n lineWidth: 1\n };\n },\n calculateBox: function calculateBox() {\n var self = this;\n var attrs = self._attrs;\n var points = attrs.points;\n var lineWidth = this.getHitLineWidth();\n\n if (!points || points.length === 0) {\n return null;\n }\n\n var minX = Infinity;\n var minY = Infinity;\n var maxX = -Infinity;\n var maxY = -Infinity;\n Util.each(points, function (point) {\n var x = point[0];\n var y = point[1];\n\n if (x < minX) {\n minX = x;\n }\n\n if (x > maxX) {\n maxX = x;\n }\n\n if (y < minY) {\n minY = y;\n }\n\n if (y > maxY) {\n maxY = y;\n }\n });\n var halfWidth = lineWidth / 2;\n return {\n minX: minX - halfWidth,\n minY: minY - halfWidth,\n maxX: maxX + halfWidth,\n maxY: maxY + halfWidth\n };\n },\n createPath: function createPath(context) {\n var self = this;\n var attrs = self._attrs;\n var points = attrs.points;\n\n if (points.length < 2) {\n return;\n }\n\n context = context || self.get('context');\n context.beginPath();\n Util.each(points, function (point, index) {\n if (index === 0) {\n context.moveTo(point[0], point[1]);\n } else {\n context.lineTo(point[0], point[1]);\n }\n });\n context.closePath();\n }\n});\nmodule.exports = Polygon;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/polygon.js\n// module id = 85\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar Arrow = require('./util/arrow');\n\nvar LineMath = require('./math/line');\n\nvar Polyline = function Polyline(cfg) {\n Polyline.superclass.constructor.call(this, cfg);\n};\n\nPolyline.ATTRS = {\n points: null,\n lineWidth: 1,\n startArrow: false,\n endArrow: false,\n tCache: null\n};\nUtil.extend(Polyline, Shape);\nUtil.augment(Polyline, {\n canStroke: true,\n type: 'polyline',\n tCache: null,\n // 缓存各点的t\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n lineWidth: 1,\n startArrow: false,\n endArrow: false\n };\n },\n calculateBox: function calculateBox() {\n var self = this;\n var attrs = self._attrs;\n var lineWidth = this.getHitLineWidth();\n var points = attrs.points;\n\n if (!points || points.length === 0) {\n return null;\n }\n\n var minX = Infinity;\n var minY = Infinity;\n var maxX = -Infinity;\n var maxY = -Infinity;\n Util.each(points, function (point) {\n var x = point[0];\n var y = point[1];\n\n if (x < minX) {\n minX = x;\n }\n\n if (x > maxX) {\n maxX = x;\n }\n\n if (y < minY) {\n minY = y;\n }\n\n if (y > maxY) {\n maxY = y;\n }\n });\n var halfWidth = lineWidth / 2;\n return {\n minX: minX - halfWidth,\n minY: minY - halfWidth,\n maxX: maxX + halfWidth,\n maxY: maxY + halfWidth\n };\n },\n _setTcache: function _setTcache() {\n var self = this;\n var attrs = self._attrs;\n var points = attrs.points;\n var totalLength = 0;\n var tempLength = 0;\n var tCache = [];\n var segmentT;\n var segmentL;\n\n if (!points || points.length === 0) {\n return;\n }\n\n Util.each(points, function (p, i) {\n if (points[i + 1]) {\n totalLength += LineMath.len(p[0], p[1], points[i + 1][0], points[i + 1][1]);\n }\n });\n\n if (totalLength <= 0) {\n return;\n }\n\n Util.each(points, function (p, i) {\n if (points[i + 1]) {\n segmentT = [];\n segmentT[0] = tempLength / totalLength;\n segmentL = LineMath.len(p[0], p[1], points[i + 1][0], points[i + 1][1]);\n tempLength += segmentL;\n segmentT[1] = tempLength / totalLength;\n tCache.push(segmentT);\n }\n });\n this.tCache = tCache;\n },\n createPath: function createPath(context) {\n var self = this;\n var attrs = self._attrs;\n var points = attrs.points;\n var l;\n var i;\n\n if (points.length < 2) {\n return;\n }\n\n context = context || self.get('context');\n context.beginPath();\n context.moveTo(points[0][0], points[0][1]);\n\n for (i = 1, l = points.length - 1; i < l; i++) {\n context.lineTo(points[i][0], points[i][1]);\n }\n\n context.lineTo(points[l][0], points[l][1]);\n },\n getStartTangent: function getStartTangent() {\n var points = this.__attrs.points;\n var result = [];\n result.push([points[1][0], points[1][1]]);\n result.push([points[0][0], points[0][1]]);\n return result;\n },\n getEndTangent: function getEndTangent() {\n var points = this.__attrs.points;\n var l = points.length - 1;\n var result = [];\n result.push([points[l - 1][0], points[l - 1][1]]);\n result.push([points[l][0], points[l][1]]);\n return result;\n },\n afterPath: function afterPath(context) {\n var self = this;\n var attrs = self._attrs;\n var points = attrs.points;\n var l = points.length - 1;\n context = context || self.get('context');\n\n if (attrs.startArrow) {\n Arrow.addStartArrow(context, attrs, points[1][0], points[1][1], points[0][0], points[0][1]);\n }\n\n if (attrs.endArrow) {\n Arrow.addEndArrow(context, attrs, points[l - 1][0], points[l - 1][1], points[l][0], points[l][1]);\n }\n },\n getPoint: function getPoint(t) {\n var attrs = this._attrs;\n var points = attrs.points;\n var tCache = this.tCache;\n var subt;\n var index;\n\n if (!tCache) {\n this._setTcache();\n\n tCache = this.tCache;\n }\n\n Util.each(tCache, function (v, i) {\n if (t >= v[0] && t <= v[1]) {\n subt = (t - v[0]) / (v[1] - v[0]);\n index = i;\n }\n });\n return {\n x: LineMath.at(points[index][0], points[index + 1][0], subt),\n y: LineMath.at(points[index][1], points[index + 1][1], subt)\n };\n }\n});\nmodule.exports = Polyline;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/polyline.js\n// module id = 86\n// module chunks = 0","var Util = require('../util/index');\n\nvar _require = require('../util/format'),\n parseRadius = _require.parseRadius;\n\nvar Shape = require('../core/shape');\n\nvar Rect = function Rect(cfg) {\n Rect.superclass.constructor.call(this, cfg);\n};\n\nRect.ATTRS = {\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n radius: 0,\n lineWidth: 1\n};\nUtil.extend(Rect, Shape);\nUtil.augment(Rect, {\n canFill: true,\n canStroke: true,\n type: 'rect',\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n lineWidth: 1,\n radius: 0\n };\n },\n calculateBox: function calculateBox() {\n var self = this;\n var attrs = self._attrs;\n var x = attrs.x;\n var y = attrs.y;\n var width = attrs.width;\n var height = attrs.height;\n var lineWidth = this.getHitLineWidth();\n var halfWidth = lineWidth / 2;\n return {\n minX: x - halfWidth,\n minY: y - halfWidth,\n maxX: x + width + halfWidth,\n maxY: y + height + halfWidth\n };\n },\n createPath: function createPath(context) {\n var self = this;\n var attrs = self._attrs;\n var x = attrs.x;\n var y = attrs.y;\n var width = attrs.width;\n var height = attrs.height;\n var radius = attrs.radius;\n context = context || self.get('context');\n context.beginPath();\n\n if (radius === 0) {\n // 改成原生的rect方法\n context.rect(x, y, width, height);\n } else {\n var r = parseRadius(radius);\n context.moveTo(x + r.r1, y);\n context.lineTo(x + width - r.r2, y);\n r.r2 !== 0 && context.arc(x + width - r.r2, y + r.r2, r.r2, -Math.PI / 2, 0);\n context.lineTo(x + width, y + height - r.r3);\n r.r3 !== 0 && context.arc(x + width - r.r3, y + height - r.r3, r.r3, 0, Math.PI / 2);\n context.lineTo(x + r.r4, y + height);\n r.r4 !== 0 && context.arc(x + r.r4, y + height - r.r4, r.r4, Math.PI / 2, Math.PI);\n context.lineTo(x, y + r.r1);\n r.r1 !== 0 && context.arc(x + r.r1, y + r.r1, r.r1, Math.PI, Math.PI * 1.5);\n context.closePath();\n }\n }\n});\nmodule.exports = Rect;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/rect.js\n// module id = 87\n// module chunks = 0","var Util = require('../util/index');\n\nvar Shape = require('../core/shape');\n\nvar CText = function CText(cfg) {\n CText.superclass.constructor.call(this, cfg);\n};\n\nCText.ATTRS = {\n x: 0,\n y: 0,\n text: null,\n fontSize: 12,\n fontFamily: 'sans-serif',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontVariant: 'normal',\n textAlign: 'start',\n textBaseline: 'bottom',\n lineHeight: null,\n textArr: null\n};\nUtil.extend(CText, Shape);\nUtil.augment(CText, {\n canFill: true,\n canStroke: true,\n type: 'text',\n getDefaultAttrs: function getDefaultAttrs() {\n return {\n lineWidth: 1,\n lineCount: 1,\n fontSize: 12,\n fontFamily: 'sans-serif',\n fontStyle: 'normal',\n fontWeight: 'normal',\n fontVariant: 'normal',\n textAlign: 'start',\n textBaseline: 'bottom'\n };\n },\n initTransform: function initTransform() {\n var fontSize = this._attrs.fontSize;\n\n if (fontSize && +fontSize < 12) {\n // 小于 12 像素的文本进行 scale 处理\n this.transform([['t', -1 * this._attrs.x, -1 * this._attrs.y], ['s', +fontSize / 12, +fontSize / 12], ['t', this._attrs.x, this._attrs.y]]);\n }\n },\n _assembleFont: function _assembleFont() {\n // var self = this;\n var attrs = this._attrs;\n var fontSize = attrs.fontSize;\n var fontFamily = attrs.fontFamily;\n var fontWeight = attrs.fontWeight;\n var fontStyle = attrs.fontStyle; // self.attr('fontStyle');\n\n var fontVariant = attrs.fontVariant; // self.attr('fontVariant');\n // self.attr('font', [fontStyle, fontVariant, fontWeight, fontSize + 'px', fontFamily].join(' '));\n\n attrs.font = [fontStyle, fontVariant, fontWeight, fontSize + 'px', fontFamily].join(' ');\n },\n _setAttrText: function _setAttrText() {\n var attrs = this._attrs;\n var text = attrs.text;\n var textArr = null;\n\n if (Util.isString(text) && text.indexOf('\\n') !== -1) {\n textArr = text.split('\\n');\n var lineCount = textArr.length;\n attrs.lineCount = lineCount;\n }\n\n attrs.textArr = textArr;\n },\n _getTextHeight: function _getTextHeight() {\n var attrs = this._attrs;\n var lineCount = attrs.lineCount;\n var fontSize = attrs.fontSize * 1;\n\n if (lineCount > 1) {\n var spaceingY = this._getSpaceingY();\n\n return fontSize * lineCount + spaceingY * (lineCount - 1);\n }\n\n return fontSize;\n },\n isHitBox: function isHitBox() {\n return false;\n },\n calculateBox: function calculateBox() {\n var self = this;\n var attrs = self._attrs;\n var cfg = this._cfg;\n\n if (!cfg.attrs || cfg.hasUpdate) {\n this._assembleFont();\n\n this._setAttrText();\n }\n\n if (!attrs.textArr) {\n this._setAttrText();\n }\n\n var x = attrs.x;\n var y = attrs.y;\n var width = self.measureText(); // attrs.width\n\n if (!width) {\n // 如果width不存在四点共其实点\n return {\n minX: x,\n minY: y,\n maxX: x,\n maxY: y\n };\n }\n\n var height = self._getTextHeight(); // attrs.height\n\n\n var textAlign = attrs.textAlign;\n var textBaseline = attrs.textBaseline;\n var lineWidth = self.getHitLineWidth();\n var point = {\n x: x,\n y: y - height\n };\n\n if (textAlign) {\n if (textAlign === 'end' || textAlign === 'right') {\n point.x -= width;\n } else if (textAlign === 'center') {\n point.x -= width / 2;\n }\n }\n\n if (textBaseline) {\n if (textBaseline === 'top') {\n point.y += height;\n } else if (textBaseline === 'middle') {\n point.y += height / 2;\n }\n }\n\n this.set('startPoint', point);\n var halfWidth = lineWidth / 2;\n return {\n minX: point.x - halfWidth,\n minY: point.y - halfWidth,\n maxX: point.x + width + halfWidth,\n maxY: point.y + height + halfWidth\n };\n },\n _getSpaceingY: function _getSpaceingY() {\n var attrs = this._attrs;\n var lineHeight = attrs.lineHeight;\n var fontSize = attrs.fontSize * 1;\n return lineHeight ? lineHeight - fontSize : fontSize * 0.14;\n },\n drawInner: function drawInner(context) {\n var self = this;\n var attrs = self._attrs;\n var cfg = this._cfg;\n\n if (!cfg.attrs || cfg.hasUpdate) {\n this._assembleFont();\n\n this._setAttrText();\n }\n\n context.font = attrs.font;\n var text = attrs.text;\n\n if (!text) {\n return;\n }\n\n var textArr = attrs.textArr;\n var x = attrs.x;\n var y = attrs.y;\n context.beginPath();\n\n if (self.hasStroke()) {\n var strokeOpacity = attrs.strokeOpacity;\n\n if (!Util.isNil(strokeOpacity) && strokeOpacity !== 1) {\n context.globalAlpha = strokeOpacity;\n }\n\n if (textArr) {\n self._drawTextArr(context, false);\n } else {\n context.strokeText(text, x, y);\n }\n\n context.globalAlpha = 1;\n }\n\n if (self.hasFill()) {\n var fillOpacity = attrs.fillOpacity;\n\n if (!Util.isNil(fillOpacity) && fillOpacity !== 1) {\n context.globalAlpha = fillOpacity;\n }\n\n if (textArr) {\n self._drawTextArr(context, true);\n } else {\n context.fillText(text, x, y);\n }\n }\n\n cfg.hasUpdate = false;\n },\n _drawTextArr: function _drawTextArr(context, fill) {\n var textArr = this._attrs.textArr;\n var textBaseline = this._attrs.textBaseline;\n var fontSize = this._attrs.fontSize * 1;\n\n var spaceingY = this._getSpaceingY();\n\n var x = this._attrs.x;\n var y = this._attrs.y;\n var box = this.getBBox();\n var height = box.maxY - box.minY;\n var subY;\n Util.each(textArr, function (subText, index) {\n subY = y + index * (spaceingY + fontSize) - height + fontSize; // bottom;\n\n if (textBaseline === 'middle') subY += height - fontSize - (height - fontSize) / 2;\n if (textBaseline === 'top') subY += height - fontSize;\n\n if (fill) {\n context.fillText(subText, x, subY);\n } else {\n context.strokeText(subText, x, subY);\n }\n });\n },\n measureText: function measureText() {\n var self = this;\n var attrs = self._attrs;\n var text = attrs.text;\n var font = attrs.font;\n var textArr = attrs.textArr;\n var measureWidth;\n var width = 0;\n if (Util.isNil(text)) return undefined;\n var context = document.createElement('canvas').getContext('2d');\n context.save();\n context.font = font;\n\n if (textArr) {\n Util.each(textArr, function (subText) {\n measureWidth = context.measureText(subText).width;\n\n if (width < measureWidth) {\n width = measureWidth;\n }\n\n context.restore();\n });\n } else {\n width = context.measureText(text).width;\n context.restore();\n }\n\n return width;\n }\n});\nmodule.exports = CText;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/text.js\n// module id = 88\n// module chunks = 0","export var deg2rad = Math.PI / 180;\nexport var rad2deg = 180 / Math.PI;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-color@1.4.0@d3-color/src/math.js\n// module id = 89\n// module chunks = 0","import { rgb as colorRgb } from \"d3-color\";\nimport basis from \"./basis\";\nimport basisClosed from \"./basisClosed\";\nimport nogamma, { gamma } from \"./color\";\nexport default (function rgbGamma(y) {\n var color = gamma(y);\n\n function rgb(start, end) {\n var r = color((start = colorRgb(start)).r, (end = colorRgb(end)).r),\n g = color(start.g, end.g),\n b = color(start.b, end.b),\n opacity = nogamma(start.opacity, end.opacity);\n return function (t) {\n start.r = r(t);\n start.g = g(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n rgb.gamma = rgbGamma;\n return rgb;\n})(1);\n\nfunction rgbSpline(spline) {\n return function (colors) {\n var n = colors.length,\n r = new Array(n),\n g = new Array(n),\n b = new Array(n),\n i,\n color;\n\n for (i = 0; i < n; ++i) {\n color = colorRgb(colors[i]);\n r[i] = color.r || 0;\n g[i] = color.g || 0;\n b[i] = color.b || 0;\n }\n\n r = spline(r);\n g = spline(g);\n b = spline(b);\n color.opacity = 1;\n return function (t) {\n color.r = r(t);\n color.g = g(t);\n color.b = b(t);\n return color + \"\";\n };\n };\n}\n\nexport var rgbBasis = rgbSpline(basis);\nexport var rgbBasisClosed = rgbSpline(basisClosed);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/rgb.js\n// module id = 90\n// module chunks = 0","import { basis } from \"./basis\";\nexport default function (values) {\n var n = values.length;\n return function (t) {\n var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),\n v0 = values[(i + n - 1) % n],\n v1 = values[i % n],\n v2 = values[(i + 1) % n],\n v3 = values[(i + 2) % n];\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/basisClosed.js\n// module id = 91\n// module chunks = 0","export default function (x) {\n return function () {\n return x;\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/constant.js\n// module id = 92\n// module chunks = 0","import value from \"./value\";\nexport default function (a, b) {\n var nb = b ? b.length : 0,\n na = a ? Math.min(nb, a.length) : 0,\n x = new Array(na),\n c = new Array(nb),\n i;\n\n for (i = 0; i < na; ++i) x[i] = value(a[i], b[i]);\n\n for (; i < nb; ++i) c[i] = b[i];\n\n return function (t) {\n for (i = 0; i < na; ++i) c[i] = x[i](t);\n\n return c;\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/array.js\n// module id = 93\n// module chunks = 0","export default function (a, b) {\n var d = new Date();\n return a = +a, b -= a, function (t) {\n return d.setTime(a + b * t), d;\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/date.js\n// module id = 94\n// module chunks = 0","import value from \"./value\";\nexport default function (a, b) {\n var i = {},\n c = {},\n k;\n if (a === null || typeof a !== \"object\") a = {};\n if (b === null || typeof b !== \"object\") b = {};\n\n for (k in b) {\n if (k in a) {\n i[k] = value(a[k], b[k]);\n } else {\n c[k] = b[k];\n }\n }\n\n return function (t) {\n for (k in i) c[k] = i[k](t);\n\n return c;\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/object.js\n// module id = 95\n// module chunks = 0","import number from \"./number\";\nvar reA = /[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,\n reB = new RegExp(reA.source, \"g\");\n\nfunction zero(b) {\n return function () {\n return b;\n };\n}\n\nfunction one(b) {\n return function (t) {\n return b(t) + \"\";\n };\n}\n\nexport default function (a, b) {\n var bi = reA.lastIndex = reB.lastIndex = 0,\n // scan index for next number in b\n am,\n // current match in a\n bm,\n // current match in b\n bs,\n // string preceding current number in b, if any\n i = -1,\n // index in s\n s = [],\n // string constants and placeholders\n q = []; // number interpolators\n // Coerce inputs to strings.\n\n a = a + \"\", b = b + \"\"; // Interpolate pairs of numbers in a & b.\n\n while ((am = reA.exec(a)) && (bm = reB.exec(b))) {\n if ((bs = bm.index) > bi) {\n // a string precedes the next number in b\n bs = b.slice(bi, bs);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n }\n\n if ((am = am[0]) === (bm = bm[0])) {\n // numbers in a & b match\n if (s[i]) s[i] += bm; // coalesce with previous string\n else s[++i] = bm;\n } else {\n // interpolate non-matching numbers\n s[++i] = null;\n q.push({\n i: i,\n x: number(am, bm)\n });\n }\n\n bi = reB.lastIndex;\n } // Add remains of b.\n\n\n if (bi < b.length) {\n bs = b.slice(bi);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n } // Special optimization for only a single match.\n // Otherwise, interpolate each of the numbers and rejoin the string.\n\n\n return s.length < 2 ? q[0] ? one(q[0].x) : zero(b) : (b = q.length, function (t) {\n for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);\n\n return s.join(\"\");\n });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/string.js\n// module id = 96\n// module chunks = 0","var keys = require('./keys');\n\nvar isNil = require('../type/is-nil');\n\nfunction isMatch(obj, attrs) {\n var _keys = keys(attrs);\n\n var length = _keys.length;\n if (isNil(obj)) return !length;\n\n for (var i = 0; i < length; i += 1) {\n var key = _keys[i];\n\n if (attrs[key] !== obj[key] || !(key in obj)) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = isMatch;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/is-match.js\n// module id = 97\n// module chunks = 0","var each = require('../each');\n\nvar isFunction = require('../type/is-function');\n\nvar keys = Object.keys ? function (obj) {\n return Object.keys(obj);\n} : function (obj) {\n var result = [];\n each(obj, function (value, key) {\n if (!(isFunction(obj) && key === 'prototype')) {\n result.push(key);\n }\n });\n return result;\n};\nmodule.exports = keys;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/keys.js\n// module id = 98\n// module chunks = 0","var isArrayLike = require('../type/is-array-like');\n\nvar splice = Array.prototype.splice;\n\nvar pullAt = function pullAt(arr, indexes) {\n if (!isArrayLike(arr)) {\n return [];\n }\n\n var length = arr ? indexes.length : 0;\n var last = length - 1;\n\n while (length--) {\n var previous = void 0;\n var index = indexes[length];\n\n if (length === last || index !== previous) {\n previous = index;\n splice.call(arr, index, 1);\n }\n }\n\n return arr;\n};\n\nmodule.exports = pullAt;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/pull-at.js\n// module id = 99\n// module chunks = 0","var each = require('../each');\n\nvar contains = require('./contains');\n\nvar uniq = function uniq(arr) {\n var resultArr = [];\n each(arr, function (item) {\n if (!contains(resultArr, item)) {\n resultArr.push(item);\n }\n });\n return resultArr;\n};\n\nmodule.exports = uniq;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/uniq.js\n// module id = 100\n// module chunks = 0","module.exports = parseInt;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/to-integer.js\n// module id = 101\n// module chunks = 0","module.exports = function (obj, key) {\n return obj.hasOwnProperty(key);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/has.js\n// module id = 102\n// module chunks = 0","var each = require('../each');\n\nvar isFunction = require('../type/is-function');\n\nvar values = Object.values ? function (obj) {\n return Object.values(obj);\n} : function (obj) {\n var result = [];\n each(obj, function (value, key) {\n if (!(isFunction(obj) && key === 'prototype')) {\n result.push(value);\n }\n });\n return result;\n};\nmodule.exports = values;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/values.js\n// module id = 103\n// module chunks = 0","var parsePathArray = require('./parse-path-array');\n\nmodule.exports = function rectPath(x, y, w, h, r) {\n if (r) {\n return [['M', +x + +r, y], ['l', w - r * 2, 0], ['a', r, r, 0, 0, 1, r, r], ['l', 0, h - r * 2], ['a', r, r, 0, 0, 1, -r, r], ['l', r * 2 - w, 0], ['a', r, r, 0, 0, 1, -r, -r], ['l', 0, r * 2 - h], ['a', r, r, 0, 0, 1, r, -r], ['z']];\n }\n\n var res = [['M', x, y], ['l', w, 0], ['l', 0, h], ['l', -w, 0], ['z']];\n res.parsePathArray = parsePathArray;\n return res;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/rect-path.js\n// module id = 104\n// module chunks = 0","var p2s = /,?([a-z]),?/gi;\n\nmodule.exports = function parsePathArray(path) {\n return path.join(',').replace(p2s, '$1');\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/parse-path-array.js\n// module id = 105\n// module chunks = 0","var pathToAbsolute = require('./path2absolute');\n\nvar a2c = function a2c(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {\n // for more information of where this math came from visit:\n // http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes\n if (rx === ry) {\n rx += 1;\n }\n\n var _120 = Math.PI * 120 / 180;\n\n var rad = Math.PI / 180 * (+angle || 0);\n var res = [];\n var xy = void 0;\n var f1 = void 0;\n var f2 = void 0;\n var cx = void 0;\n var cy = void 0;\n\n var rotate = function rotate(x, y, rad) {\n var X = x * Math.cos(rad) - y * Math.sin(rad);\n var Y = x * Math.sin(rad) + y * Math.cos(rad);\n return {\n x: X,\n y: Y\n };\n };\n\n if (!recursive) {\n xy = rotate(x1, y1, -rad);\n x1 = xy.x;\n y1 = xy.y;\n xy = rotate(x2, y2, -rad);\n x2 = xy.x;\n y2 = xy.y;\n\n if (x1 === x2 && y1 === y2) {\n // 若弧的起始点和终点重叠则错开一点\n x2 += 1;\n y2 += 1;\n } // const cos = Math.cos(Math.PI / 180 * angle);\n // const sin = Math.sin(Math.PI / 180 * angle);\n\n\n var x = (x1 - x2) / 2;\n var y = (y1 - y2) / 2;\n var h = x * x / (rx * rx) + y * y / (ry * ry);\n\n if (h > 1) {\n h = Math.sqrt(h);\n rx = h * rx;\n ry = h * ry;\n }\n\n var rx2 = rx * rx;\n var ry2 = ry * ry;\n var k = (large_arc_flag === sweep_flag ? -1 : 1) * Math.sqrt(Math.abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x)));\n cx = k * rx * y / ry + (x1 + x2) / 2;\n cy = k * -ry * x / rx + (y1 + y2) / 2;\n f1 = Math.asin(((y1 - cy) / ry).toFixed(9));\n f2 = Math.asin(((y2 - cy) / ry).toFixed(9));\n f1 = x1 < cx ? Math.PI - f1 : f1;\n f2 = x2 < cx ? Math.PI - f2 : f2;\n f1 < 0 && (f1 = Math.PI * 2 + f1);\n f2 < 0 && (f2 = Math.PI * 2 + f2);\n\n if (sweep_flag && f1 > f2) {\n f1 = f1 - Math.PI * 2;\n }\n\n if (!sweep_flag && f2 > f1) {\n f2 = f2 - Math.PI * 2;\n }\n } else {\n f1 = recursive[0];\n f2 = recursive[1];\n cx = recursive[2];\n cy = recursive[3];\n }\n\n var df = f2 - f1;\n\n if (Math.abs(df) > _120) {\n var f2old = f2;\n var x2old = x2;\n var y2old = y2;\n f2 = f1 + _120 * (sweep_flag && f2 > f1 ? 1 : -1);\n x2 = cx + rx * Math.cos(f2);\n y2 = cy + ry * Math.sin(f2);\n res = a2c(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);\n }\n\n df = f2 - f1;\n var c1 = Math.cos(f1);\n var s1 = Math.sin(f1);\n var c2 = Math.cos(f2);\n var s2 = Math.sin(f2);\n var t = Math.tan(df / 4);\n var hx = 4 / 3 * rx * t;\n var hy = 4 / 3 * ry * t;\n var m1 = [x1, y1];\n var m2 = [x1 + hx * s1, y1 - hy * c1];\n var m3 = [x2 + hx * s2, y2 - hy * c2];\n var m4 = [x2, y2];\n m2[0] = 2 * m1[0] - m2[0];\n m2[1] = 2 * m1[1] - m2[1];\n\n if (recursive) {\n return [m2, m3, m4].concat(res);\n }\n\n res = [m2, m3, m4].concat(res).join().split(',');\n var newres = [];\n\n for (var i = 0, ii = res.length; i < ii; i++) {\n newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;\n }\n\n return newres;\n};\n\nvar l2c = function l2c(x1, y1, x2, y2) {\n return [x1, y1, x2, y2, x2, y2];\n};\n\nvar q2c = function q2c(x1, y1, ax, ay, x2, y2) {\n var _13 = 1 / 3;\n\n var _23 = 2 / 3;\n\n return [_13 * x1 + _23 * ax, _13 * y1 + _23 * ay, _13 * x2 + _23 * ax, _13 * y2 + _23 * ay, x2, y2];\n};\n\nmodule.exports = function pathTocurve(path, path2) {\n var p = pathToAbsolute(path);\n var p2 = path2 && pathToAbsolute(path2);\n var attrs = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var attrs2 = {\n x: 0,\n y: 0,\n bx: 0,\n by: 0,\n X: 0,\n Y: 0,\n qx: null,\n qy: null\n };\n var pcoms1 = []; // path commands of original path p\n\n var pcoms2 = []; // path commands of original path p2\n\n var pfirst = ''; // temporary holder for original path command\n\n var pcom = ''; // holder for previous path command of original path\n\n var ii = void 0;\n\n var processPath = function processPath(path, d, pcom) {\n var nx = void 0,\n ny = void 0;\n\n if (!path) {\n return ['C', d.x, d.y, d.x, d.y, d.x, d.y];\n }\n\n !(path[0] in {\n T: 1,\n Q: 1\n }) && (d.qx = d.qy = null);\n\n switch (path[0]) {\n case 'M':\n d.X = path[1];\n d.Y = path[2];\n break;\n\n case 'A':\n path = ['C'].concat(a2c.apply(0, [d.x, d.y].concat(path.slice(1))));\n break;\n\n case 'S':\n if (pcom === 'C' || pcom === 'S') {\n // In \"S\" case we have to take into account, if the previous command is C/S.\n nx = d.x * 2 - d.bx; // And reflect the previous\n\n ny = d.y * 2 - d.by; // command's control point relative to the current point.\n } else {\n // or some else or nothing\n nx = d.x;\n ny = d.y;\n }\n\n path = ['C', nx, ny].concat(path.slice(1));\n break;\n\n case 'T':\n if (pcom === 'Q' || pcom === 'T') {\n // In \"T\" case we have to take into account, if the previous command is Q/T.\n d.qx = d.x * 2 - d.qx; // And make a reflection similar\n\n d.qy = d.y * 2 - d.qy; // to case \"S\".\n } else {\n // or something else or nothing\n d.qx = d.x;\n d.qy = d.y;\n }\n\n path = ['C'].concat(q2c(d.x, d.y, d.qx, d.qy, path[1], path[2]));\n break;\n\n case 'Q':\n d.qx = path[1];\n d.qy = path[2];\n path = ['C'].concat(q2c(d.x, d.y, path[1], path[2], path[3], path[4]));\n break;\n\n case 'L':\n path = ['C'].concat(l2c(d.x, d.y, path[1], path[2]));\n break;\n\n case 'H':\n path = ['C'].concat(l2c(d.x, d.y, path[1], d.y));\n break;\n\n case 'V':\n path = ['C'].concat(l2c(d.x, d.y, d.x, path[1]));\n break;\n\n case 'Z':\n path = ['C'].concat(l2c(d.x, d.y, d.X, d.Y));\n break;\n\n default:\n break;\n }\n\n return path;\n };\n\n var fixArc = function fixArc(pp, i) {\n if (pp[i].length > 7) {\n pp[i].shift();\n var pi = pp[i];\n\n while (pi.length) {\n pcoms1[i] = 'A'; // if created multiple C:s, their original seg is saved\n\n p2 && (pcoms2[i] = 'A'); // the same as above\n\n pp.splice(i++, 0, ['C'].concat(pi.splice(0, 6)));\n }\n\n pp.splice(i, 1);\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n var fixM = function fixM(path1, path2, a1, a2, i) {\n if (path1 && path2 && path1[i][0] === 'M' && path2[i][0] !== 'M') {\n path2.splice(i, 0, ['M', a2.x, a2.y]);\n a1.bx = 0;\n a1.by = 0;\n a1.x = path1[i][1];\n a1.y = path1[i][2];\n ii = Math.max(p.length, p2 && p2.length || 0);\n }\n };\n\n ii = Math.max(p.length, p2 && p2.length || 0);\n\n for (var i = 0; i < ii; i++) {\n p[i] && (pfirst = p[i][0]); // save current path command\n\n if (pfirst !== 'C') {\n // C is not saved yet, because it may be result of conversion\n pcoms1[i] = pfirst; // Save current path command\n\n i && (pcom = pcoms1[i - 1]); // Get previous path command pcom\n }\n\n p[i] = processPath(p[i], attrs, pcom); // Previous path command is inputted to processPath\n\n if (pcoms1[i] !== 'A' && pfirst === 'C') pcoms1[i] = 'C'; // A is the only command\n // which may produce multiple C:s\n // so we have to make sure that C is also C in original path\n\n fixArc(p, i); // fixArc adds also the right amount of A:s to pcoms1\n\n if (p2) {\n // the same procedures is done to p2\n p2[i] && (pfirst = p2[i][0]);\n\n if (pfirst !== 'C') {\n pcoms2[i] = pfirst;\n i && (pcom = pcoms2[i - 1]);\n }\n\n p2[i] = processPath(p2[i], attrs2, pcom);\n\n if (pcoms2[i] !== 'A' && pfirst === 'C') {\n pcoms2[i] = 'C';\n }\n\n fixArc(p2, i);\n }\n\n fixM(p, p2, attrs, attrs2, i);\n fixM(p2, p, attrs2, attrs, i);\n var seg = p[i];\n var seg2 = p2 && p2[i];\n var seglen = seg.length;\n var seg2len = p2 && seg2.length;\n attrs.x = seg[seglen - 2];\n attrs.y = seg[seglen - 1];\n attrs.bx = parseFloat(seg[seglen - 4]) || attrs.x;\n attrs.by = parseFloat(seg[seglen - 3]) || attrs.y;\n attrs2.bx = p2 && (parseFloat(seg2[seg2len - 4]) || attrs2.x);\n attrs2.by = p2 && (parseFloat(seg2[seg2len - 3]) || attrs2.y);\n attrs2.x = p2 && seg2[seg2len - 2];\n attrs2.y = p2 && seg2[seg2len - 1];\n }\n\n return p2 ? [p, p2] : p;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/path2curve.js\n// module id = 106\n// module chunks = 0","var parsePathString = require('./parse-path-string');\n\nvar catmullRom2bezier = require('./catmull-rom2bezier');\n\nfunction ellipsePath(x, y, rx, ry, a) {\n var res = [];\n\n if (a === null && ry === null) {\n ry = rx;\n }\n\n x = +x;\n y = +y;\n rx = +rx;\n ry = +ry;\n\n if (a !== null) {\n var rad = Math.PI / 180;\n var x1 = x + rx * Math.cos(-ry * rad);\n var x2 = x + rx * Math.cos(-a * rad);\n var y1 = y + rx * Math.sin(-ry * rad);\n var y2 = y + rx * Math.sin(-a * rad);\n res = [['M', x1, y1], ['A', rx, rx, 0, +(a - ry > 180), 0, x2, y2]];\n } else {\n res = [['M', x, y], ['m', 0, -ry], ['a', rx, ry, 0, 1, 1, 0, 2 * ry], ['a', rx, ry, 0, 1, 1, 0, -2 * ry], ['z']];\n }\n\n return res;\n}\n\nmodule.exports = function pathToAbsolute(pathArray) {\n pathArray = parsePathString(pathArray);\n\n if (!pathArray || !pathArray.length) {\n return [['M', 0, 0]];\n }\n\n var res = [];\n var x = 0;\n var y = 0;\n var mx = 0;\n var my = 0;\n var start = 0;\n var pa0 = void 0;\n var dots = void 0;\n\n if (pathArray[0][0] === 'M') {\n x = +pathArray[0][1];\n y = +pathArray[0][2];\n mx = x;\n my = y;\n start++;\n res[0] = ['M', x, y];\n }\n\n var crz = pathArray.length === 3 && pathArray[0][0] === 'M' && pathArray[1][0].toUpperCase() === 'R' && pathArray[2][0].toUpperCase() === 'Z';\n\n for (var r, pa, i = start, ii = pathArray.length; i < ii; i++) {\n res.push(r = []);\n pa = pathArray[i];\n pa0 = pa[0];\n\n if (pa0 !== pa0.toUpperCase()) {\n r[0] = pa0.toUpperCase();\n\n switch (r[0]) {\n case 'A':\n r[1] = pa[1];\n r[2] = pa[2];\n r[3] = pa[3];\n r[4] = pa[4];\n r[5] = pa[5];\n r[6] = +pa[6] + x;\n r[7] = +pa[7] + y;\n break;\n\n case 'V':\n r[1] = +pa[1] + y;\n break;\n\n case 'H':\n r[1] = +pa[1] + x;\n break;\n\n case 'R':\n dots = [x, y].concat(pa.slice(1));\n\n for (var j = 2, jj = dots.length; j < jj; j++) {\n dots[j] = +dots[j] + x;\n dots[++j] = +dots[j] + y;\n }\n\n res.pop();\n res = res.concat(catmullRom2bezier(dots, crz));\n break;\n\n case 'O':\n res.pop();\n dots = ellipsePath(x, y, pa[1], pa[2]);\n dots.push(dots[0]);\n res = res.concat(dots);\n break;\n\n case 'U':\n res.pop();\n res = res.concat(ellipsePath(x, y, pa[1], pa[2], pa[3]));\n r = ['U'].concat(res[res.length - 1].slice(-2));\n break;\n\n case 'M':\n mx = +pa[1] + x;\n my = +pa[2] + y;\n break;\n // for lint\n\n default:\n for (var _j = 1, _jj = pa.length; _j < _jj; _j++) {\n r[_j] = +pa[_j] + (_j % 2 ? x : y);\n }\n\n }\n } else if (pa0 === 'R') {\n dots = [x, y].concat(pa.slice(1));\n res.pop();\n res = res.concat(catmullRom2bezier(dots, crz));\n r = ['R'].concat(pa.slice(-2));\n } else if (pa0 === 'O') {\n res.pop();\n dots = ellipsePath(x, y, pa[1], pa[2]);\n dots.push(dots[0]);\n res = res.concat(dots);\n } else if (pa0 === 'U') {\n res.pop();\n res = res.concat(ellipsePath(x, y, pa[1], pa[2], pa[3]));\n r = ['U'].concat(res[res.length - 1].slice(-2));\n } else {\n for (var k = 0, kk = pa.length; k < kk; k++) {\n r[k] = pa[k];\n }\n }\n\n pa0 = pa0.toUpperCase();\n\n if (pa0 !== 'O') {\n switch (r[0]) {\n case 'Z':\n x = +mx;\n y = +my;\n break;\n\n case 'H':\n x = r[1];\n break;\n\n case 'V':\n y = r[1];\n break;\n\n case 'M':\n mx = r[r.length - 2];\n my = r[r.length - 1];\n break;\n // for lint\n\n default:\n x = r[r.length - 2];\n y = r[r.length - 1];\n }\n }\n }\n\n return res;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/path2absolute.js\n// module id = 107\n// module chunks = 0","var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar SPACES = '\\t\\n\\x0B\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029';\nvar PATH_COMMAND = new RegExp('([a-z])[' + SPACES + ',]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[' + SPACES + ']*,?[' + SPACES + ']*)+)', 'ig');\nvar PATH_VALUES = new RegExp('(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[' + SPACES + ']*,?[' + SPACES + ']*', 'ig'); // Parses given path string into an array of arrays of path segments\n\nmodule.exports = function parsePathString(pathString) {\n if (!pathString) {\n return null;\n }\n\n if ((typeof pathString === 'undefined' ? 'undefined' : _typeof(pathString)) === _typeof([])) {\n return pathString;\n }\n\n var paramCounts = {\n a: 7,\n c: 6,\n o: 2,\n h: 1,\n l: 2,\n m: 2,\n r: 4,\n q: 4,\n s: 4,\n t: 2,\n v: 1,\n u: 3,\n z: 0\n };\n var data = [];\n String(pathString).replace(PATH_COMMAND, function (a, b, c) {\n var params = [];\n var name = b.toLowerCase();\n c.replace(PATH_VALUES, function (a, b) {\n b && params.push(+b);\n });\n\n if (name === 'm' && params.length > 2) {\n data.push([b].concat(params.splice(0, 2)));\n name = 'l';\n b = b === 'm' ? 'l' : 'L';\n }\n\n if (name === 'o' && params.length === 1) {\n data.push([b, params[0]]);\n }\n\n if (name === 'r') {\n data.push([b].concat(params));\n } else {\n while (params.length >= paramCounts[name]) {\n data.push([b].concat(params.splice(0, paramCounts[name])));\n\n if (!paramCounts[name]) {\n break;\n }\n }\n }\n });\n return data;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/parse-path-string.js\n// module id = 108\n// module chunks = 0","// http://schepers.cc/getting-to-the-point\nmodule.exports = function catmullRom2bezier(crp, z) {\n var d = [];\n\n for (var i = 0, iLen = crp.length; iLen - 2 * !z > i; i += 2) {\n var p = [{\n x: +crp[i - 2],\n y: +crp[i - 1]\n }, {\n x: +crp[i],\n y: +crp[i + 1]\n }, {\n x: +crp[i + 2],\n y: +crp[i + 3]\n }, {\n x: +crp[i + 4],\n y: +crp[i + 5]\n }];\n\n if (z) {\n if (!i) {\n p[0] = {\n x: +crp[iLen - 2],\n y: +crp[iLen - 1]\n };\n } else if (iLen - 4 === i) {\n p[3] = {\n x: +crp[0],\n y: +crp[1]\n };\n } else if (iLen - 2 === i) {\n p[2] = {\n x: +crp[0],\n y: +crp[1]\n };\n p[3] = {\n x: +crp[2],\n y: +crp[3]\n };\n }\n } else {\n if (iLen - 4 === i) {\n p[3] = p[2];\n } else if (!i) {\n p[0] = {\n x: +crp[i],\n y: +crp[i + 1]\n };\n }\n }\n\n d.push(['C', (-p[0].x + 6 * p[1].x + p[2].x) / 6, (-p[0].y + 6 * p[1].y + p[2].y) / 6, (p[1].x + 6 * p[2].x - p[3].x) / 6, (p[1].y + 6 * p[2].y - p[3].y) / 6, p[2].x, p[2].y]);\n }\n\n return d;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/catmull-rom2bezier.js\n// module id = 109\n// module chunks = 0","var toString = require('../to-string');\n\nvar lowerCase = function lowerCase(str) {\n return toString(str).toLowerCase();\n};\n\nmodule.exports = lowerCase;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/lower-case.js\n// module id = 110\n// module chunks = 0","var toString = require('../to-string');\n\nvar upperCase = function upperCase(str) {\n return toString(str).toUpperCase();\n};\n\nmodule.exports = upperCase;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/upper-case.js\n// module id = 111\n// module chunks = 0","var isFunction = require('./type/is-function');\n\nvar isArray = require('./type/is-array');\n\nvar groupBy = require('./group-by');\n\nvar groupToMap = function groupToMap(data, condition) {\n if (!condition) {\n return {\n 0: data\n };\n }\n\n if (!isFunction(condition)) {\n var paramsCondition = isArray(condition) ? condition : condition.replace(/\\s+/g, '').split('*');\n\n condition = function condition(row) {\n var unique = '_'; // 避免出现数字作为Key的情况会进行按照数字的排序\n\n for (var i = 0, l = paramsCondition.length; i < l; i++) {\n unique += row[paramsCondition[i]] && row[paramsCondition[i]].toString();\n }\n\n return unique;\n };\n }\n\n var groups = groupBy(data, condition);\n return groups;\n};\n\nmodule.exports = groupToMap;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/group-to-map.js\n// module id = 112\n// module chunks = 0","var each = require('./each');\n\nvar isArray = require('./type/is-array');\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar groupBy = function groupBy(data, condition) {\n if (!condition || !isArray(data)) {\n return data;\n }\n\n var result = {};\n var key = null;\n each(data, function (item) {\n key = condition(item);\n\n if (hasOwnProperty.call(result, key)) {\n result[key].push(item);\n } else {\n result[key] = [item];\n }\n });\n return result;\n};\n\nmodule.exports = groupBy;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/group-by.js\n// module id = 113\n// module chunks = 0","var _require = require('@antv/g/lib'),\n Group = _require.Group;\n\nvar Util = require('../util');\n\nvar Grid = function Grid(cfg) {\n Grid.superclass.constructor.call(this, cfg);\n};\n\nUtil.extend(Grid, Group);\nUtil.augment(Grid, {\n getDefaultCfg: function getDefaultCfg() {\n // const cfg = super.getDefaultCfg();\n return {\n zIndex: 1,\n\n /**\n * 栅格线的类型\n * - line 不封闭的线\n * - polygon 封闭的多边形\n * @type {String}\n */\n type: 'line',\n\n /**\n * 线的样式配置\n * @type {Object}\n */\n lineStyle: null,\n\n /**\n * 线集合的配置\n * @type {Array}\n */\n items: null,\n\n /**\n * 为网格设置交替的背景色,指定一个值则先渲染奇数层,两个值则交替渲染\n * @type {String | Array}\n */\n alternateColor: null,\n matrix: null,\n\n /**\n * 是否隐藏第一条网格线,默认为 false\n * @type {Boolean}\n */\n hideFirstLine: false,\n\n /**\n * 是否隐藏最后一条网格线,默认为 false\n * @type {Boolean}\n */\n hideLastLine: false,\n\n /**\n * 0基线不在轴线上时是否强调0基线\n * @type {Boolean}\n */\n hightLightZero: false,\n\n /**\n * 0基线样式\n * @type {Object}\n */\n zeroLineStyle: {\n stroke: '#595959',\n lineDash: [0, 0]\n }\n };\n },\n _renderUI: function _renderUI() {\n Grid.superclass._renderUI.call(this);\n\n this._drawLines();\n },\n _drawLines: function _drawLines() {\n var self = this;\n var lineStyle = self.get('lineStyle');\n var items = self.get('items');\n\n if (items && items.length) {\n self._precessItems(items);\n\n self._drawGridLines(items, lineStyle);\n }\n },\n _precessItems: function _precessItems(items) {\n var self = this;\n var preItem;\n Util.each(items, function (item, index) {\n if (preItem && self.get('alternateColor')) {\n self._drawAlternativeBg(item, preItem, index);\n }\n\n preItem = item;\n });\n },\n _drawGridLines: function _drawGridLines(items, lineStyle) {\n var self = this;\n var type = this.get('type');\n var gridLine;\n var path;\n var cfg;\n var points;\n var itemsLength = items.length;\n\n if (type === 'line' || type === 'polygon') {\n Util.each(items, function (item, idx) {\n if (self.get('hideFirstLine') && idx === 0) {\n // 不展示第一条网格线\n return;\n }\n\n if (self.get('hideLastLine') && idx === itemsLength - 1) {\n // 不展示最后一条网格线\n return;\n }\n\n points = item.points;\n path = [];\n\n if (type === 'line') {\n path.push(['M', points[0].x, points[0].y]);\n path.push(['L', points[points.length - 1].x, points[points.length - 1].y]);\n } else {\n Util.each(points, function (point, index) {\n if (index === 0) {\n path.push(['M', point.x, point.y]);\n } else {\n path.push(['L', point.x, point.y]);\n }\n });\n }\n\n if (self._drawZeroLine(type, idx)) {\n cfg = Util.mix({}, self.get('zeroLineStyle'), {\n path: path\n });\n } else {\n cfg = Util.mix({}, lineStyle, {\n path: path\n });\n }\n\n gridLine = self.addShape('path', {\n attrs: cfg\n });\n gridLine.name = 'axis-grid';\n gridLine._id = item._id;\n gridLine.set('coord', self.get('coord'));\n self.get('appendInfo') && gridLine.setSilent('appendInfo', self.get('appendInfo'));\n });\n } else {\n Util.each(items, function (item, idx) {\n if (self.get('hideFirstLine') && idx === 0) {\n // 不展示第一条网格线\n return;\n }\n\n if (self.get('hideLastLine') && idx === itemsLength - 1) {\n // 不展示最后一条网格线\n return;\n }\n\n points = item.points;\n path = [];\n Util.each(points, function (point, index) {\n var radius = point.radius;\n\n if (index === 0) {\n path.push(['M', point.x, point.y]);\n } else {\n path.push(['A', radius, radius, 0, 0, point.flag, point.x, point.y]);\n }\n });\n cfg = Util.mix({}, lineStyle, {\n path: path\n });\n gridLine = self.addShape('path', {\n attrs: cfg\n });\n gridLine.name = 'axis-grid';\n gridLine._id = item._id;\n gridLine.set('coord', self.get('coord'));\n self.get('appendInfo') && gridLine.setSilent('appendInfo', self.get('appendInfo'));\n });\n }\n },\n _drawZeroLine: function _drawZeroLine(type, idx) {\n var self = this;\n var tickValues = self.get('tickValues');\n\n if (type === 'line' && tickValues) {\n if (tickValues[idx] === 0 && self.get('hightLightZero')) {\n return true;\n }\n }\n\n return false;\n },\n _drawAlternativeBg: function _drawAlternativeBg(item, preItem, index) {\n var self = this;\n var alternateColor = self.get('alternateColor');\n var attrs;\n var oddColor;\n var evenColor;\n\n if (Util.isString(alternateColor)) {\n oddColor = alternateColor;\n } else if (Util.isArray(alternateColor)) {\n oddColor = alternateColor[0];\n evenColor = alternateColor[1];\n }\n\n if (index % 2 === 0) {\n if (evenColor) {\n attrs = self._getBackItem(preItem.points, item.points, evenColor);\n }\n } else if (oddColor) {\n attrs = self._getBackItem(preItem.points, item.points, oddColor);\n }\n\n var shape = self.addShape('Path', {\n attrs: attrs\n });\n shape.name = 'axis-grid-rect';\n shape._id = item._id && item._id.replace('grid', 'grid-rect');\n shape.set('coord', self.get('coord'));\n self.get('appendInfo') && shape.setSilent('appendInfo', self.get('appendInfo'));\n },\n _getBackItem: function _getBackItem(start, end, bgColor) {\n var path = [];\n var type = this.get('type');\n\n if (type === 'line') {\n path.push(['M', start[0].x, start[0].y]);\n path.push(['L', start[start.length - 1].x, start[start.length - 1].y]);\n path.push(['L', end[end.length - 1].x, end[end.length - 1].y]);\n path.push(['L', end[0].x, end[0].y]);\n path.push(['Z']);\n } else if (type === 'polygon') {\n Util.each(start, function (subItem, index) {\n if (index === 0) {\n path.push(['M', subItem.x, subItem.y]);\n } else {\n path.push(['L', subItem.x, subItem.y]);\n }\n });\n\n for (var i = end.length - 1; i >= 0; i--) {\n path.push(['L', end[i].x, end[i].y]);\n }\n\n path.push(['Z']);\n } else {\n var flag = start[0].flag;\n Util.each(start, function (subItem, index) {\n var radius = subItem.radius;\n\n if (index === 0) {\n path.push(['M', subItem.x, subItem.y]);\n } else {\n path.push(['A', radius, radius, 0, 0, subItem.flag, subItem.x, subItem.y]);\n }\n });\n\n for (var j = end.length - 1; j >= 0; j--) {\n var endSubItem = end[j];\n var endRadius = endSubItem.radius;\n\n if (j === end.length - 1) {\n path.push(['M', endSubItem.x, endSubItem.y]);\n } else {\n path.push(['A', endRadius, endRadius, 0, 0, flag === 1 ? 0 : 1, endSubItem.x, endSubItem.y]);\n }\n }\n }\n\n return {\n fill: bgColor,\n path: path\n };\n }\n});\nmodule.exports = Grid;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/axis/grid.js\n// module id = 114\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar DomUtil = Util.DomUtil;\n\nvar Component = require('../component');\n\nvar positionAdjust = require('./utils/position-adjust');\n\nvar spirialAdjust = require('./utils/spiral-adjust');\n\nvar bboxAdjust = require('./utils/bbox-adjust');\n\nvar LAYOUTS = {\n scatter: positionAdjust,\n map: spirialAdjust,\n treemap: bboxAdjust\n};\n\nvar Label = /*#__PURE__*/function (_Component) {\n _inheritsLoose(Label, _Component);\n\n var _super = _createSuper(Label);\n\n function Label() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = Label.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Component.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n name: 'label',\n\n /**\n * label类型\n * @type {(String)}\n */\n type: 'default',\n\n /**\n * 默认文本样式\n * @type {Array}\n */\n textStyle: null,\n\n /**\n * 文本显示格式化回调函数\n * @type {Function}\n */\n formatter: null,\n\n /**\n * 显示的文本集合\n * @type {Array}\n */\n items: null,\n\n /**\n * 是否使用html渲染label\n * @type {String}\n */\n useHtml: false,\n\n /**\n * html 渲染时用的容器的模板,必须存在 class = \"g-labels\"\n * @type {String}\n */\n containerTpl: '<div class=\"g-labels\" style=\"position:absolute;top:0;left:0;\"></div>',\n\n /**\n * html 渲染时单个 label 的模板,必须存在 class = \"g-label\"\n * @type {String}\n */\n itemTpl: '<div class=\"g-label\" style=\"position:absolute;\">{text}</div>',\n\n /**\n * label牵引线定义\n * @type {String || Object}\n */\n labelLine: false,\n\n /**\n * label牵引线容器\n * @type Object\n */\n lineGroup: null,\n\n /**\n * 需添加label的shape\n * @type Object\n */\n shapes: null,\n\n /**\n * 默认为true。为false时指定直接用items渲染文本不进行config\n * @type Object\n */\n config: true,\n\n /**\n * 是否进行拾取\n * @type Object\n */\n capture: true\n });\n }\n /*\n * 清空label容器\n */\n ;\n\n _proto.clear = function clear() {\n var group = this.get('group');\n var container = this.get('container');\n\n if (group && !group.get('destroyed')) {\n group.clear();\n }\n\n if (container) {\n container.innerHTML = '';\n }\n\n _Component.prototype.clear.call(this);\n }\n /**\n * 销毁group\n */\n ;\n\n _proto.destroy = function destroy() {\n var group = this.get('group');\n var container = this.get('container');\n\n if (!group.destroy) {\n group.destroy();\n }\n\n if (container) {\n container.parentNode && container.parentNode.removeChild(container);\n }\n\n _Component.prototype.destroy.call(this); // 要最后调用 super.destroy 否则 get 属性会无效\n\n }\n /**\n * label绘制全过程\n */\n ;\n\n _proto.render = function render() {\n this.clear();\n\n this._init();\n\n this.beforeDraw();\n this.draw();\n this.afterDraw();\n };\n\n _proto._dryDraw = function _dryDraw() {\n var self = this;\n var items = self.get('items');\n var children = self.getLabels();\n var count = children.length;\n Util.each(items, function (item, index) {\n if (index < count) {\n var label = children[index];\n self.changeLabel(label, item);\n } else {\n var labelShape = self._addLabel(item, index);\n\n if (labelShape) {\n labelShape._id = item._id;\n labelShape.set('coord', item.coord);\n }\n }\n });\n\n for (var i = count - 1; i >= items.length; i--) {\n children[i].remove();\n }\n\n self._adjustLabels();\n\n if (self.get('labelLine') || !self.get('config')) {\n self.drawLines();\n }\n }\n /**\n * 更新label\n * 1. 将items与group中的children对比更新/新增/删除labels\n * 2. labels布局优化\n * 3. 画label连接线\n * 4. 绘制到画布\n */\n ;\n\n _proto.draw = function draw() {\n this._dryDraw();\n\n this.get('canvas').draw();\n }\n /*\n * 更新label\n * oldLabel shape或label dom\n * newLabel label data\n * index items中的下标\n */\n ;\n\n _proto.changeLabel = function changeLabel(oldLabel, newLabel) {\n if (!oldLabel) {\n return;\n }\n\n if (oldLabel.tagName) {\n var node = this._createDom(newLabel);\n\n oldLabel.innerHTML = node.innerHTML;\n\n this._setCustomPosition(newLabel, oldLabel);\n } else {\n oldLabel._id = newLabel._id;\n oldLabel.attr('text', newLabel.text);\n\n if (oldLabel.attr('x') !== newLabel.x || oldLabel.attr('y') !== newLabel.y) {\n oldLabel.resetMatrix();\n\n if (newLabel.textStyle.rotate) {\n oldLabel.rotateAtStart(newLabel.textStyle.rotate);\n delete newLabel.textStyle.rotate;\n }\n\n oldLabel.attr(newLabel);\n }\n }\n }\n /**\n * 显示label\n */\n ;\n\n _proto.show = function show() {\n var group = this.get('group');\n var container = this.get('container');\n\n if (group) {\n group.show();\n }\n\n if (container) {\n container.style.opacity = 1;\n }\n }\n /**\n * 隐藏label\n */\n ;\n\n _proto.hide = function hide() {\n var group = this.get('group');\n var container = this.get('container');\n\n if (group) {\n group.hide();\n }\n\n if (container) {\n container.style.opacity = 0;\n }\n }\n /**\n * 画label连接线\n */\n ;\n\n _proto.drawLines = function drawLines() {\n var self = this;\n var lineStyle = self.get('labelLine');\n\n if (typeof lineStyle === 'boolean') {\n self.set('labelLine', {});\n }\n\n var lineGroup = self.get('lineGroup');\n\n if (!lineGroup || lineGroup.get('destroyed')) {\n lineGroup = self.get('group').addGroup({\n elCls: 'x-line-group'\n });\n self.set('lineGroup', lineGroup);\n } else {\n lineGroup.clear();\n }\n\n Util.each(self.get('items'), function (label) {\n self.lineToLabel(label, lineGroup);\n });\n };\n\n _proto.lineToLabel = function lineToLabel(label, lineGroup) {\n var self = this;\n\n if (!self.get('config') && !label.labelLine) {\n return;\n }\n\n var lineStyle = label.labelLine || self.get('labelLine');\n var capture = typeof label.capture === 'undefined' ? self.get('capture') : label.capture;\n var path = lineStyle.path;\n\n if (path && Util.isFunction(lineStyle.path)) {\n path = lineStyle.path(label);\n }\n\n if (!path) {\n var start = label.start || {\n x: label.x - label._offset.x,\n y: label.y - label._offset.y\n };\n path = [['M', start.x, start.y], ['L', label.x, label.y]];\n }\n\n var stroke = label.color;\n\n if (!stroke) {\n if (label.textStyle && label.textStyle.fill) {\n stroke = label.textStyle.fill;\n } else {\n stroke = '#000';\n }\n }\n\n var lineShape = lineGroup.addShape('path', {\n attrs: Util.mix({\n path: path,\n fill: null,\n stroke: stroke\n }, lineStyle),\n capture: capture\n }); // label 对应线的动画关闭\n\n lineShape.name = self.get('name'); // generate labelLine id according to label id\n\n lineShape._id = label._id && label._id.replace('glabel', 'glabelline');\n lineShape.set('coord', self.get('coord'));\n } // 根据type对label布局\n ;\n\n _proto._adjustLabels = function _adjustLabels() {\n var self = this;\n var type = self.get('type');\n var labels = self.getLabels();\n var shapes = self.get('shapes');\n var layout = LAYOUTS[type];\n\n if (type === 'default' || !layout) {\n return;\n }\n\n layout(labels, shapes);\n }\n /**\n * 获取当前所有label实例\n * @return {Array} 当前label实例\n */\n ;\n\n _proto.getLabels = function getLabels() {\n var container = this.get('container');\n\n if (container) {\n return Util.toArray(container.childNodes);\n }\n\n return this.get('group').get('children');\n } // 先计算label的所有配置项然后生成label实例\n ;\n\n _proto._addLabel = function _addLabel(item, index) {\n var cfg = item;\n\n if (this.get('config')) {\n cfg = this._getLabelCfg(item, index);\n }\n\n return this._createText(cfg);\n };\n\n _proto._getLabelCfg = function _getLabelCfg(item, index) {\n var textStyle = this.get('textStyle') || {};\n var formatter = this.get('formatter');\n var htmlTemplate = this.get('htmlTemplate');\n\n if (!Util.isObject(item)) {\n var tmp = item;\n item = {};\n item.text = tmp;\n }\n\n if (Util.isFunction(textStyle)) {\n textStyle = textStyle(item.text, item, index);\n }\n\n if (formatter) {\n item.text = formatter(item.text, item, index);\n }\n\n if (htmlTemplate) {\n item.useHtml = true;\n\n if (Util.isFunction(htmlTemplate)) {\n item.text = htmlTemplate(item.text, item, index);\n }\n }\n\n if (Util.isNil(item.text)) {\n item.text = '';\n }\n\n item.text = item.text + ''; // ? 为什么转换为字符串\n\n var cfg = Util.mix({}, item, {\n textStyle: textStyle\n }, {\n x: item.x || 0,\n y: item.y || 0\n });\n return cfg;\n }\n /**\n * label初始化主要针对html容器\n */\n ;\n\n _proto._init = function _init() {\n if (!this.get('group')) {\n var group = this.get('canvas').addGroup({\n id: 'label-group'\n });\n this.set('group', group);\n }\n };\n\n _proto.initHtmlContainer = function initHtmlContainer() {\n var container = this.get('container');\n\n if (!container) {\n var containerTpl = this.get('containerTpl');\n var wrapper = this.get('canvas').get('el').parentNode;\n container = DomUtil.createDom(containerTpl);\n wrapper.style.position = 'relative';\n wrapper.appendChild(container);\n this.set('container', container);\n } else if (Util.isString(container)) {\n container = document.getElementById(container);\n\n if (container) {\n this.set('container', container);\n }\n }\n\n return container;\n } // 分html dom和G shape两种情况生成label实例\n ;\n\n _proto._createText = function _createText(config) {\n // @2018-11-29 by blue.lb 这里由于使用delete导致之后的配置无法获取到point和rotate出现问题深拷贝一次比较好\n var cfg = Util.deepMix({}, config);\n var container = this.get('container');\n var capture = typeof cfg.capture === 'undefined' ? this.get('capture') : cfg.capture;\n var labelShape;\n\n if (cfg.useHtml || cfg.htmlTemplate) {\n if (!container) {\n container = this.initHtmlContainer();\n }\n\n var node = this._createDom(cfg);\n\n container.appendChild(node);\n\n this._setCustomPosition(cfg, node);\n } else {\n var name = this.get('name');\n var origin = cfg.point;\n var group = this.get('group');\n delete cfg.point; // 临时解决,否则影响动画\n\n var rotate = cfg.rotate; // textStyle中的rotate虽然可以正常画出但是在做动画的时候可能会导致动画异常。移出在定义好shape后通过transform实现效果。\n\n if (cfg.textStyle) {\n if (cfg.textStyle.rotate) {\n rotate = cfg.textStyle.rotate;\n delete cfg.textStyle.rotate;\n }\n\n cfg = Util.mix({\n x: cfg.x,\n y: cfg.y,\n textAlign: cfg.textAlign,\n text: cfg.text\n }, cfg.textStyle);\n }\n\n labelShape = group.addShape('text', {\n attrs: cfg,\n capture: capture\n });\n\n if (rotate) {\n // rotate是用角度定义的转换为弧度\n if (Math.abs(rotate) > Math.PI * 2) {\n rotate = rotate / 180 * Math.PI;\n }\n\n labelShape.transform([['t', -cfg.x, -cfg.y], ['r', rotate], ['t', cfg.x, cfg.y]]);\n }\n\n labelShape.setSilent('origin', origin || cfg);\n labelShape.name = name; // 用于事件标注\n\n this.get('appendInfo') && labelShape.setSilent('appendInfo', this.get('appendInfo'));\n return labelShape;\n }\n };\n\n _proto._createDom = function _createDom(cfg) {\n var itemTpl = this.get('itemTpl');\n var str = Util.substitute(itemTpl, {\n text: cfg.text\n });\n return DomUtil.createDom(str);\n } // 根据文本对齐方式确定dom位置\n ;\n\n _proto._setCustomPosition = function _setCustomPosition(cfg, htmlDom) {\n var textAlign = cfg.textAlign || 'left';\n var top = cfg.y;\n var left = cfg.x;\n var width = DomUtil.getOuterWidth(htmlDom);\n var height = DomUtil.getOuterHeight(htmlDom);\n top = top - height / 2;\n\n if (textAlign === 'center') {\n left = left - width / 2;\n } else if (textAlign === 'right') {\n left = left - width;\n }\n\n htmlDom.style.top = parseInt(top, 10) + 'px';\n htmlDom.style.left = parseInt(left, 10) + 'px';\n };\n\n return Label;\n}(Component);\n\nmodule.exports = Label;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/label/base.js\n// module id = 115\n// module chunks = 0","var Greedy = /*#__PURE__*/function () {\n function Greedy() {\n this.bitmap = [];\n }\n\n var _proto = Greedy.prototype;\n\n _proto.hasGap = function hasGap(bbox) {\n var hasGap = true;\n var bitmap = this.bitmap;\n var minX = Math.floor(bbox.minX);\n var maxX = Math.ceil(bbox.maxX);\n var minY = Math.floor(bbox.minY);\n var maxY = Math.ceil(bbox.maxY) - 1;\n\n for (var i = minX; i < maxX; i++) {\n if (!bitmap[i]) {\n bitmap[i] = [];\n continue;\n }\n\n if (i === minX || i === maxX - 1) {\n for (var j = minY; j <= maxY; j++) {\n if (bitmap[i][j]) {\n hasGap = false;\n break;\n }\n }\n } else {\n if (bitmap[i][minY] || bitmap[i][maxY]) {\n hasGap = false;\n break;\n }\n }\n }\n\n return hasGap;\n };\n\n _proto.fillGap = function fillGap(bbox) {\n var bitmap = this.bitmap;\n var minX = Math.floor(bbox.minX);\n var maxX = Math.ceil(bbox.maxX) - 1;\n var minY = Math.floor(bbox.minY);\n var maxY = Math.ceil(bbox.maxY) - 1;\n\n for (var i = minX; i <= maxX; i++) {\n for (var j = minY; j < maxY; j += 8) {\n if (!bitmap[i]) {\n bitmap[i] = [];\n }\n\n bitmap[i][j] = true;\n }\n\n bitmap[i][maxY] = true;\n }\n\n for (var _i = minY; _i <= maxY; _i++) {\n bitmap[minX][_i] = true;\n bitmap[maxX][_i] = true;\n }\n };\n\n return Greedy;\n}();\n\nmodule.exports = Greedy;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/label/utils/greedy.js\n// module id = 116\n// module chunks = 0","var Util = require('../../util');\n\nmodule.exports = {\n getFirstScale: function getFirstScale(scales) {\n var firstScale;\n Util.each(scales, function (scale) {\n if (scale) {\n firstScale = scale;\n return false;\n }\n });\n return firstScale;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/util/helper.js\n// module id = 117\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Legend = require('./base');\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY; // const DomUtil = Util.DomUtil;\n\n\nvar Event = Util.Event;\nvar Group = Util.Group; // const Global = require('../../global');\n// const CONTAINER_CLASS = 'g2-legend';\n\nfunction findItem(items, refer) {\n var rst = null;\n var value = refer instanceof Group || refer.name === 'legendGroup' ? refer.get('value') : refer;\n Util.each(items, function (item) {\n if (item.value === value) {\n rst = item;\n return false;\n }\n });\n return rst;\n}\n\nfunction findShapeByName(group, name) {\n return group.findBy(function (node) {\n return node.name === name;\n });\n}\n\nvar Category = /*#__PURE__*/function (_Legend) {\n _inheritsLoose(Category, _Legend);\n\n var _super = _createSuper(Category);\n\n function Category() {\n return _Legend.apply(this, arguments) || this;\n }\n\n var _proto = Category.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Legend.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * type标识\n * @type {String}\n */\n type: 'category-legend',\n\n /**\n * 子项集合\n * @type {Array}\n */\n items: null,\n\n /**\n * TODOrename\n * 图例项水平方向的间距\n * @type {Number}\n */\n itemGap: 5,\n\n /**\n * TODOrename\n * 图例项垂直方向的间距\n * @type {Number}\n */\n itemMarginBottom: 8,\n\n /**\n * 图例项图组\n * @type {Group}\n */\n itemsGroup: null,\n\n /**\n * 布局方式: horizontalvertical\n * @type {String}\n */\n layout: 'horizontal',\n\n /**\n * 是否允许全部取消,默认 false即必须保留一个被选中\n * @type {Boolean}\n */\n allowAllCanceled: false,\n\n /**\n * 边框内边距\n * @type {Array}\n */\n backPadding: [0, 0, 0, 0],\n\n /**\n * 图例项取消选中的颜色\n * @type {String}\n */\n unCheckColor: '#ccc',\n\n /**\n * 图例背景层属性设置\n * @type {Obejct}\n */\n background: {\n fill: '#fff',\n fillOpacity: 0\n },\n\n /**\n * 图例项的宽度,当图例有很多图例项,并且用户想要这些图例项在同一平面内垂直对齐,此时这个属性可帮用户实现此效果\n * @type {Number}\n */\n itemWidth: null,\n\n /**\n * 图例文字样式\n * @type {ATTRS}\n */\n textStyle: {\n fill: '#333',\n fontSize: 12,\n textAlign: 'start',\n textBaseline: 'middle',\n fontFamily: FONT_FAMILY\n },\n\n /**\n * marker 和文字的距离\n * @type {Number}\n */\n _wordSpaceing: 8,\n\n /**\n * 图例项是否可点击,默认为 true\n * @type {Boolean}\n */\n clickable: true,\n\n /**\n * TODO: rename\n * 图例项的选择模式,多选和单选 multiple、single\n * @type {String}\n */\n selectedMode: 'multiple',\n\n /**\n * 图例项的顺序是否要逆序,默认为 false\n * @type {Boolean}\n */\n reversed: false,\n\n /**\n * 是否自动换行\n * @type {Boolean}\n */\n autoWrap: true,\n\n /**\n * 是否以增加 border 的方式高亮 hover 的 item。若为 false ,则降低其他 item 的透明度。\n * @type {Boolean}\n */\n highlight: false,\n\n /**\n * 非highlight方式下鼠标hover到legend样式\n * @type {Number}\n */\n activeOpacity: 0.7,\n\n /**\n * 非highlight方式下非鼠标hover到的legend样式\n * @type {Number}\n */\n inactiveOpacity: 1\n });\n } // rendering\n ;\n\n _proto.render = function render() {\n _Legend.prototype.render.call(this);\n\n this._renderItems();\n\n this.get('autoWrap') && this._adjustItems(); // 默认自动换行\n } // user iteraction\n ;\n\n _proto._bindEvents = function _bindEvents() {\n if (this.get('hoverable')) {\n this.get('group').on('mousemove', Util.wrapBehavior(this, '_onMousemove'));\n this.get('group').on('mouseleave', Util.wrapBehavior(this, '_onMouseleave'));\n }\n\n if (this.get('clickable')) {\n this.get('group').on('click', Util.wrapBehavior(this, '_onClick'));\n }\n } // return the target's parent legend object\n ;\n\n _proto._getLegendItem = function _getLegendItem(target) {\n var item = target.get('parent');\n\n if (item && item.name === 'legendGroup') {\n return item;\n }\n\n return null;\n } // activate an item by reduce the opacity of other items.\n // it is reserved for bi-direction interaction between charts / graph and legend\n ;\n\n _proto.activate = function activate(value) {\n var _this = this;\n\n var self = this;\n var itemsGroup = self.get('itemsGroup');\n var children = itemsGroup.get('children');\n var markerItem = void 0;\n children.forEach(function (child) {\n markerItem = findShapeByName(child, 'legend-marker');\n if (!markerItem) return;\n var checked = child.get('checked');\n\n if (_this.get('highlight')) {\n // change stroke color\n if (child.get('value') === value && checked) {\n markerItem.attr('stroke', '#333');\n } else {\n markerItem.attr('stroke', null);\n }\n } else {\n // change opacity\n if (child.get('value') === value) {\n markerItem.attr('fillOpacity', self.get('activeOpacity'));\n }\n }\n });\n this.get('canvas').draw();\n return;\n } // restore the opacity of items\n // it is reserved for bi-direction interaction between charts / graph and legend\n ;\n\n _proto.deactivate = function deactivate() {\n var _this2 = this;\n\n var self = this;\n var itemsGroup = self.get('itemsGroup');\n var children = itemsGroup.get('children');\n var markerItem = void 0;\n var unCheckColor = this.get('unCheckColor');\n children.forEach(function (child) {\n markerItem = findShapeByName(child, 'legend-marker');\n if (!markerItem) return;\n\n if (_this2.get('highlight')) {\n var oriStroke = markerItem.get('oriStroke');\n var checked = child.get('checked');\n if (oriStroke && !checked) oriStroke = unCheckColor;else oriStroke = '';\n markerItem.attr('stroke', oriStroke);\n } else {\n markerItem.attr('fillOpacity', self.get('inactiveOpacity'));\n }\n });\n this.get('canvas').draw();\n return;\n } // mouse move listener of an item\n // when mouse over an item, reduce the opacity of the other items.\n ;\n\n _proto._onMousemove = function _onMousemove(ev) {\n var item = this._getLegendItem(ev.currentTarget);\n\n if (item && item.get('checked')) {\n var items = this.get('items');\n var itemhover = new Event('itemhover', ev, true, true);\n itemhover.item = findItem(items, item);\n itemhover.checked = item.get('checked');\n itemhover.currentTarget = ev.currentTarget; // change the opacity of other items\n\n this.deactivate();\n this.activate(item.get('value'));\n this.emit('itemhover', itemhover);\n } else {\n this.deactivate();\n this.emit('itemunhover', ev);\n }\n\n this.get('canvas').draw();\n return;\n } // mouse leave listener of an item\n ;\n\n _proto._onMouseleave = function _onMouseleave(ev) {\n this.deactivate();\n this.get('canvas').draw();\n this.emit('itemunhover', ev);\n return;\n } // the click listener of an item\n ;\n\n _proto._onClick = function _onClick(ev) {\n var clickedItem = this._getLegendItem(ev.currentTarget);\n\n var items = this.get('items');\n\n if (clickedItem && !clickedItem.get('destroyed')) {\n var checked = clickedItem.get('checked');\n var mode = this.get('selectedMode');\n var item = findItem(items, clickedItem);\n var itemclick = new Event('itemclick', ev, true, true);\n itemclick.item = item;\n itemclick.currentTarget = clickedItem;\n itemclick.appendInfo = ev.currentTarget.get('appendInfo');\n itemclick.checked = mode === 'single' ? true : !checked;\n\n if (!this.get('allowAllCanceled') && checked && this.getCheckedCount() === 1) {\n this.emit('clicklastitem', itemclick);\n return;\n }\n\n var unCheckColor = this.get('unCheckColor');\n var checkColor = this.get('textStyle').fill;\n var markerItem = void 0;\n var textItem = void 0;\n var legendItem = void 0;\n\n if (mode === 'single') {\n var itemsGroup = this.get('itemsGroup');\n var children = itemsGroup.get('children');\n Util.each(children, function (child) {\n markerItem = findShapeByName(child, 'legend-marker');\n textItem = findShapeByName(child, 'legend-text');\n legendItem = findShapeByName(child, 'legend-item');\n\n if (child !== clickedItem) {\n if (markerItem.attr('fill')) {\n markerItem.attr('fill', unCheckColor);\n }\n\n if (markerItem.attr('stroke')) {\n markerItem.attr('stroke', unCheckColor);\n }\n\n textItem.attr('fill', unCheckColor);\n markerItem.setSilent('checked', false);\n textItem.setSilent('checked', false);\n legendItem.setSilent('checked', false);\n child.setSilent('checked', false);\n } else {\n if (markerItem.attr('fill')) {\n item && item.marker && markerItem.attr('fill', item.marker.fill);\n }\n\n if (markerItem.attr('stroke')) {\n item && item.marker && markerItem.attr('stroke', item.marker.stroke);\n }\n\n textItem.attr('fill', checkColor);\n markerItem.setSilent('checked', true);\n textItem.setSilent('checked', true);\n legendItem.setSilent('checked', true);\n child.setSilent('checked', true);\n }\n });\n } else {\n markerItem = findShapeByName(clickedItem, 'legend-marker');\n textItem = findShapeByName(clickedItem, 'legend-text');\n legendItem = findShapeByName(clickedItem, 'legend-item');\n\n if (markerItem.attr('fill')) {\n item && item.marker && markerItem.attr('fill', checked ? unCheckColor : item.marker.fill);\n }\n\n if (markerItem.attr('stroke')) {\n item && item.marker && markerItem.attr('stroke', checked ? unCheckColor : item.marker.stroke);\n }\n\n textItem.attr('fill', checked ? unCheckColor : checkColor);\n clickedItem.setSilent('checked', !checked);\n markerItem.setSilent('checked', !checked);\n textItem.setSilent('checked', !checked);\n legendItem.setSilent('checked', !checked);\n }\n\n this.emit('itemclick', itemclick);\n }\n\n this.get('canvas').draw();\n return;\n } // render the items\n ;\n\n _proto._renderItems = function _renderItems() {\n var _this3 = this;\n\n var items = this.get('items');\n\n if (this.get('reversed')) {\n items.reverse();\n }\n\n Util.each(items, function (item, index) {\n _this3._addItem(item, index);\n });\n\n if (this.get('highlight')) {\n var itemsGroup = this.get('itemsGroup');\n var children = itemsGroup.get('children');\n var markerItem = void 0;\n children.forEach(function (child) {\n markerItem = findShapeByName(child, 'legend-marker');\n var oriStroke = markerItem.get('oriStroke');\n\n if (!oriStroke) {\n if (markerItem.attr('stroke')) markerItem.set('oriStroke', markerItem.attr('stroke'));else markerItem.set('oriStroke', '');\n }\n });\n }\n } // format the item value\n ;\n\n _proto._formatItemValue = function _formatItemValue(value) {\n var formatter = this.get('formatter') || this.get('itemFormatter');\n\n if (formatter) {\n value = formatter.call(this, value);\n }\n\n return value;\n } // find x of next item\n ;\n\n _proto._getNextX = function _getNextX() {\n var layout = this.get('layout');\n var itemGap = this.get('itemGap');\n var itemsGroup = this.get('itemsGroup');\n var itemWidth = this.get('itemWidth');\n var children = itemsGroup.get('children');\n var nextX = 0;\n\n if (layout === 'horizontal') {\n // 水平布局\n Util.each(children, function (v) {\n nextX += (itemWidth ? itemWidth : v.getBBox().width) + itemGap;\n });\n }\n\n return nextX;\n } // find y of next item\n ;\n\n _proto._getNextY = function _getNextY() {\n var itemMarginBottom = this.get('itemMarginBottom');\n var titleGap = this.get('titleShape') ? this.get('titleGap') : 0;\n var layout = this.get('layout');\n var itemsGroup = this.get('itemsGroup');\n var titleShape = this.get('titleShape');\n var children = itemsGroup.get('children');\n var nextY = titleGap;\n\n if (titleShape) {\n nextY += titleShape.getBBox().height;\n }\n\n if (layout === 'vertical') {\n // 竖直布局\n Util.each(children, function (v) {\n nextY += v.getBBox().height + itemMarginBottom;\n });\n }\n\n return nextY;\n } // add an item to the canvas\n ;\n\n _proto._addItem = function _addItem(item) {\n var itemsGroup = this.get('itemsGroup');\n\n var x = this._getNextX();\n\n var y = this._getNextY();\n\n var unCheckColor = this.get('unCheckColor');\n var itemGroup = itemsGroup.addGroup({\n x: x,\n y: y,\n value: item.value,\n checked: item.checked\n }); // @2018-10-20 by blue.lb 需要设置viewId否则在emit的时候parent获取不到viewId\n\n itemGroup.set('viewId', this.get('viewId'));\n var textStyle = this.get('textStyle');\n var wordSpace = this.get('_wordSpaceing');\n var startX = 0;\n\n if (item.marker) {\n // 如果有marker添加marker\n var markerAttrs = Util.mix({}, item.marker, {\n x: item.marker.radius + x,\n y: y\n });\n\n if (!item.checked) {\n if (markerAttrs.fill) {\n markerAttrs.fill = unCheckColor;\n }\n\n if (markerAttrs.stroke) {\n markerAttrs.stroke = unCheckColor;\n }\n }\n\n var markerShape = itemGroup.addShape('marker', {\n type: 'marker',\n attrs: markerAttrs\n });\n markerShape.attr('cursor', 'pointer');\n markerShape.name = 'legend-marker';\n startX += markerShape.getBBox().width + wordSpace;\n }\n\n var textAttrs = Util.mix({}, {\n fill: '#333',\n fontSize: 12,\n textAlign: 'start',\n textBaseline: 'middle',\n fontFamily: FONT_FAMILY\n }, textStyle, {\n x: startX + x,\n y: y,\n text: this._formatItemValue(item.value)\n });\n\n if (!item.checked) {\n Util.mix(textAttrs, {\n fill: unCheckColor\n });\n }\n\n var textShape = itemGroup.addShape('text', {\n attrs: textAttrs\n });\n textShape.attr('cursor', 'pointer');\n textShape.name = 'legend-text';\n this.get('appendInfo') && textShape.setSilent('appendInfo', this.get('appendInfo')); // 添加一个包围矩形,用于事件支持\n\n var bbox = itemGroup.getBBox();\n var itemWidth = this.get('itemWidth');\n var wrapperShape = itemGroup.addShape('rect', {\n attrs: {\n x: x,\n y: y - bbox.height / 2,\n fill: '#fff',\n fillOpacity: 0,\n width: itemWidth || bbox.width,\n height: bbox.height\n }\n });\n wrapperShape.attr('cursor', 'pointer');\n wrapperShape.setSilent('origin', item); // 保存图例项相关的数据,便于事件操作\n\n wrapperShape.name = 'legend-item';\n this.get('appendInfo') && wrapperShape.setSilent('appendInfo', this.get('appendInfo'));\n itemGroup.name = 'legendGroup';\n return itemGroup;\n } // auto break the line for horizontal layout\n ;\n\n _proto._adjustHorizontal = function _adjustHorizontal() {\n var itemsGroup = this.get('itemsGroup');\n var children = itemsGroup.get('children');\n var maxLength = this.get('maxLength');\n var itemGap = this.get('itemGap');\n var itemMarginBottom = this.get('itemMarginBottom');\n var titleGap = this.get('titleShape') ? this.get('titleGap') : 0;\n var row = 0;\n var rowLength = 0;\n var width = void 0;\n var height = void 0;\n var box = void 0;\n var itemWidth = this.get('itemWidth');\n\n if (itemsGroup.getBBox().width > maxLength) {\n Util.each(children, function (child) {\n box = child.getBBox();\n width = itemWidth || box.width;\n height = box.height + itemMarginBottom;\n\n if (maxLength - rowLength < width) {\n row++;\n rowLength = 0;\n }\n\n child.move(rowLength, row * height + titleGap);\n rowLength += width + itemGap;\n });\n }\n\n return;\n } // auto break the column for vertical layout\n ;\n\n _proto._adjustVertical = function _adjustVertical() {\n var itemsGroup = this.get('itemsGroup');\n var titleShape = this.get('titleShape');\n var children = itemsGroup.get('children');\n var maxLength = this.get('maxLength'); // 垂直布局,则 maxLength 代表容器的高度\n\n var itemGap = this.get('itemGap');\n var itemMarginBottom = this.get('itemMarginBottom');\n var titleGap = this.get('titleGap');\n var titleHeight = titleShape ? titleShape.getBBox().height + titleGap : 0;\n var itemWidth = this.get('itemWidth');\n var colLength = titleHeight;\n var width = void 0;\n var height = void 0;\n var box = void 0;\n var maxItemWidth = 0;\n var totalLength = 0;\n\n if (itemsGroup.getBBox().height > maxLength) {\n Util.each(children, function (v) {\n box = v.getBBox();\n width = box.width;\n height = box.height;\n\n if (itemWidth) {\n maxItemWidth = itemWidth + itemGap;\n } else if (width > maxItemWidth) {\n maxItemWidth = width + itemGap;\n }\n\n if (maxLength - colLength < height) {\n colLength = titleHeight;\n totalLength += maxItemWidth;\n v.move(totalLength, titleHeight);\n } else {\n v.move(totalLength, colLength);\n }\n\n colLength += height + itemMarginBottom;\n });\n }\n\n return;\n } // automatically break the line / column while the width / height exceeds maxLength\n ;\n\n _proto._adjustItems = function _adjustItems() {\n var layout = this.get('layout');\n\n if (layout === 'horizontal') {\n this._adjustHorizontal();\n } else {\n this._adjustVertical();\n }\n };\n\n _proto.getWidth = function getWidth() {\n return _Legend.prototype.getWidth.call(this);\n };\n\n _proto.getHeight = function getHeight() {\n return _Legend.prototype.getHeight.call(this);\n };\n\n _proto.move = function move(x, y) {\n _Legend.prototype.move.call(this, x, y);\n };\n\n return Category;\n}(Legend);\n\nmodule.exports = Category;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/category.js\n// module id = 118\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Component = require('../component');\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY;\n\nvar Legend = /*#__PURE__*/function (_Component) {\n _inheritsLoose(Legend, _Component);\n\n var _super = _createSuper(Legend);\n\n var _proto = Legend.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n return {\n /**\n * Group 容器\n * @type {Object}\n */\n container: null,\n\n /**\n * 图例标题配置\n * @type {Object}\n */\n title: null,\n\n /**\n * 图例项文本格式化\n * @type {Function}\n */\n formatter: null,\n\n /**\n * 鼠标 hover 到图例上的默认交互是否开启\n * @type {Boolean}\n */\n hoverable: true,\n\n /**\n * TODOrename\n * 图例标题距离图例项的距离\n * @type {Number}\n */\n titleGap: 15,\n\n /**\n * legend 相对于 container 的位置\n * @type {Array}\n */\n position: [0, 0],\n\n /**\n * legend 在 position 位置上的偏移量\n * @type {Array}\n */\n offset: [0, 0],\n\n /**\n * legend 在 position 位置上沿 x 轴的偏移量。若同时设置了 offset 和 offsetX 以 offsetX 为准\n * @type {Number}\n */\n offsetX: null,\n\n /**\n * legend 在 position 位置上沿 y 轴的偏移量。若同时设置了 offset 和 offsetY 以 offsetY 为准\n * @type {Number}\n */\n offsetY: null\n };\n };\n\n function Legend(cfg) {\n var _this;\n\n _this = _Component.call(this, cfg) || this;\n\n _this._init();\n\n _this.beforeRender();\n\n _this.render();\n\n _this._adjustPositionOffset();\n\n _this._bindEvents();\n\n return _this;\n }\n\n _proto._init = function _init() {\n var group = this.get('group');\n var container = this.get('container');\n this.set('canvas', container.get('canvas'));\n var position = this.get('position');\n if (!group) group = container.addGroup({\n x: 0 - position[0],\n y: 0 - position[1]\n });\n this.set('group', group);\n };\n\n _proto._adjustPositionOffset = function _adjustPositionOffset() {\n var position = this.get('position');\n var offset = this.get('offset');\n var offsetX = this.get('offsetX');\n var offsetY = this.get('offsetY');\n\n if (!Util.isArray(offset)) {\n var layout = this.get('layout');\n offset = layout === 'vertical' ? [offset, 0] : [0, offset];\n }\n\n if (offsetX) offset[0] = offsetX;\n if (offsetY) offset[1] = offsetY;\n var bbox = this.get('group').getBBox();\n this.move(-bbox.minX + position[0] + offset[0], -bbox.minY + position[1] + offset[1]);\n };\n\n _proto.beforeRender = function beforeRender() {\n var group = this.get('group');\n var itemsGroup = group.addGroup();\n this.set('itemsGroup', itemsGroup);\n };\n\n _proto.render = function render() {\n this._renderTitle();\n } // render the title of the legend\n ;\n\n _proto._renderTitle = function _renderTitle() {\n var title = this.get('title');\n var titleGap = this.get('titleGap');\n titleGap = titleGap || 0;\n\n if (title && title.text) {\n var group = this.get('group');\n var titleShape = group.addShape('text', {\n attrs: Util.mix({\n x: 0,\n y: 0 - titleGap,\n fill: '#333',\n textBaseline: 'middle',\n fontFamily: FONT_FAMILY\n }, title)\n });\n titleShape.name = 'legend-title';\n this.get('appendInfo') && titleShape.setSilent('appendInfo', this.get('appendInfo'));\n this.set('titleShape', titleShape);\n }\n } // return the count of checked items\n ;\n\n _proto.getCheckedCount = function getCheckedCount() {\n var itemsGroup = this.get('itemsGroup');\n var items = itemsGroup.get('children');\n var checkedArr = Util.filter(items, function (item) {\n return item.get('checked');\n });\n return checkedArr.length;\n } // set items for the legend\n ;\n\n _proto.setItems = function setItems(items) {\n this.set('items', items);\n this.clear();\n this.render();\n } // add an item into the legend\n ;\n\n _proto.addItem = function addItem(item) {\n var items = this.get('items');\n items.push(item);\n this.clear();\n this.render();\n } // clear all the items of the legend\n ;\n\n _proto.clear = function clear() {\n var itemsGroup = this.get('itemsGroup');\n itemsGroup.clear();\n var group = this.get('group');\n group.clear();\n this.beforeRender();\n } // destroy the legend\n ;\n\n _proto.destroy = function destroy() {\n var group = this.get('group');\n group && group.destroy();\n this._attrs = {};\n this.removeAllListeners();\n\n _Component.prototype.destroy.call(this); // 要最后调用 super.destroy 否则 get 属性会无效\n\n } // return the width of the legend\n ;\n\n _proto.getWidth = function getWidth() {\n var bbox = this.get('group').getBBox();\n return bbox.width;\n } // return the height of the legend\n ;\n\n _proto.getHeight = function getHeight() {\n var bbox = this.get('group').getBBox();\n return bbox.height;\n };\n\n _proto.move = function move(x, y) {\n this.get('group').move(x, y);\n };\n\n _proto.draw = function draw() {\n this.get('canvas').draw();\n };\n\n return Legend;\n}(Component);\n\nmodule.exports = Legend;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/base.js\n// module id = 119\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Category = require('./category');\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY;\n\nvar DomUtil = Util.DomUtil;\nvar Group = Util.Group;\nvar CONTAINER_CLASS = 'g2-legend';\nvar TITLE_CLASS = 'g2-legend-title';\nvar LIST_CLASS = 'g2-legend-list';\nvar ITEM_CLASS = 'g2-legend-list-item';\nvar TEXT_CLASS = 'g2-legend-text';\nvar MARKER_CLASS = 'g2-legend-marker'; // find a dom node from the chidren of the node with className.\n\nfunction findNodeByClass(node, className) {\n return node.getElementsByClassName(className)[0];\n}\n\nfunction getParentNode(node, className) {\n var nodeClass = node.className;\n\n if (Util.isNil(nodeClass)) {\n return node;\n }\n\n nodeClass = nodeClass.split(' ');\n\n if (nodeClass.indexOf(className) > -1) {\n return node;\n }\n\n if (node.parentNode) {\n if (node.parentNode.className === CONTAINER_CLASS) {\n return node.parentNode;\n }\n\n return getParentNode(node.parentNode, className);\n }\n\n return null;\n}\n\nfunction findItem(items, refer) {\n var rst = null;\n var value = refer instanceof Group ? refer.get('value') : refer;\n Util.each(items, function (item) {\n if (item.value === value) {\n rst = item;\n return false;\n }\n });\n return rst;\n}\n\nvar CatHtml = /*#__PURE__*/function (_Category) {\n _inheritsLoose(CatHtml, _Category);\n\n var _super = _createSuper(CatHtml);\n\n function CatHtml() {\n return _Category.apply(this, arguments) || this;\n }\n\n var _proto = CatHtml.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Category.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * type 标识\n * @type {String}\n */\n type: 'category-legend',\n\n /**\n * html 容器\n * @type {DOM}\n */\n container: null,\n\n /**\n * 使用html时的外层模板\n * @type {String}\n */\n containerTpl: '<div class=\"' + CONTAINER_CLASS + '\">' + '<h4 class=\"' + TITLE_CLASS + '\"></h4>' + '<ul class=\"' + LIST_CLASS + '\"></ul>' + '</div>',\n\n /**\n * html 模板\n * @type {String|Function}\n */\n itemTpl: '<li class=\"' + ITEM_CLASS + ' item-{index} {checked}\" data-color=\"{originColor}\" data-value=\"{originValue}\">' + '<i class=\"' + MARKER_CLASS + '\" style=\"background-color:{color};\"></i>' + '<span class=\"' + TEXT_CLASS + '\">{value}</span></li>',\n\n /**\n * html style\n * @type {Attrs}\n */\n legendStyle: {},\n\n /**\n * 图例文字样式\n * @type {ATTRS}\n */\n textStyle: {\n fill: '#333',\n fontSize: 12,\n textAlign: 'middle',\n textBaseline: 'top',\n fontFamily: FONT_FAMILY\n },\n\n /**\n * 当文本太长时是否进行缩略\n * @type {Boolean}\n */\n abridgeText: false,\n\n /**\n * abridgeText 为 true 时,鼠标放置在 item 上时显示全称的悬浮 div 的 html 模板\n * @type {String}\n */\n tipTpl: '<div class=\"textTip\"></div>',\n\n /**\n * abridgeText 为 true 时,鼠标放置在 item 上时显示全称的悬浮 div 的样式\n * @type {Attrs}\n */\n tipStyle: {\n display: 'none',\n fontSize: '12px',\n backgroundColor: '#fff',\n position: 'absolute',\n width: 'auto',\n height: 'auto',\n padding: '3px',\n boxShadow: '2px 2px 5px #888'\n },\n\n /**\n * useHtml 为 true 时生效,用于自动定位\n * @type {[type]}\n */\n autoPosition: true\n });\n };\n\n _proto._init = function _init() {\n return;\n };\n\n _proto.beforeRender = function beforeRender() {\n return;\n };\n\n _proto.render = function render() {\n this._renderHTML();\n } // user interaction\n ;\n\n _proto._bindEvents = function _bindEvents() {\n var _this = this;\n\n var legendWrapper = this.get('legendWrapper');\n var itemListDom = findNodeByClass(legendWrapper, LIST_CLASS);\n\n if (this.get('hoverable')) {\n itemListDom.onmousemove = function (ev) {\n return _this._onMousemove(ev);\n };\n\n itemListDom.onmouseout = function (ev) {\n return _this._onMouseleave(ev);\n };\n }\n\n if (this.get('clickable')) {\n itemListDom.onclick = function (ev) {\n return _this._onClick(ev);\n };\n }\n } // mouse move listener of an item\n // when mouse over an item, reduce the opacity of the other items.\n ;\n\n _proto._onMousemove = function _onMousemove(ev) {\n var items = this.get('items');\n var target = ev.target;\n var targetClass = target.className;\n targetClass = targetClass.split(' ');\n\n if (targetClass.indexOf(CONTAINER_CLASS) > -1 || targetClass.indexOf(LIST_CLASS) > -1) {\n return;\n }\n\n var parentDom = getParentNode(target, ITEM_CLASS);\n var hoveredItem = findItem(items, parentDom.getAttribute('data-value'));\n\n if (hoveredItem) {\n // change the opacity of other items\n this.deactivate();\n this.activate(parentDom.getAttribute('data-value'));\n this.emit('itemhover', {\n item: hoveredItem,\n currentTarget: parentDom,\n checked: hoveredItem.checked\n });\n } else if (!hoveredItem) {\n // restore the opacity of all the items\n this.deactivate();\n this.emit('itemunhover', ev);\n }\n\n return;\n } // mouse leave listener of an item\n ;\n\n _proto._onMouseleave = function _onMouseleave(ev) {\n // restore the opacity of all the items when mouse leave\n this.deactivate();\n this.emit('itemunhover', ev);\n return;\n } // the click listener of an item\n ;\n\n _proto._onClick = function _onClick(ev) {\n var _this2 = this;\n\n var legendWrapper = this.get('legendWrapper');\n var itemListDom = findNodeByClass(legendWrapper, LIST_CLASS);\n var unCheckedColor = this.get('unCheckColor');\n var items = this.get('items');\n var mode = this.get('selectedMode');\n var childNodes = itemListDom.childNodes;\n var target = ev.target;\n var targetClass = target.className;\n targetClass = targetClass.split(' ');\n\n if (targetClass.indexOf(CONTAINER_CLASS) > -1 || targetClass.indexOf(LIST_CLASS) > -1) {\n return;\n }\n\n var parentDom = getParentNode(target, ITEM_CLASS);\n var textDom = findNodeByClass(parentDom, TEXT_CLASS);\n var markerDom = findNodeByClass(parentDom, MARKER_CLASS);\n var clickedItem = findItem(items, parentDom.getAttribute('data-value'));\n\n if (!clickedItem) {\n return;\n }\n\n var domClass = parentDom.className;\n var originColor = parentDom.getAttribute('data-color');\n\n if (mode === 'single') {\n // 单选模式\n // update checked status\n clickedItem.checked = true; // 其他图例项全部置灰\n\n Util.each(childNodes, function (child) {\n if (child !== parentDom) {\n var childMarkerDom = findNodeByClass(child, MARKER_CLASS);\n childMarkerDom.style.backgroundColor = unCheckedColor;\n child.className = child.className.replace('checked', 'unChecked');\n child.style.color = unCheckedColor;\n var childItem = findItem(items, child.getAttribute('data-value'));\n childItem.checked = false;\n } else {\n if (textDom) {\n textDom.style.color = _this2.get('textStyle').fill;\n }\n\n if (markerDom) {\n markerDom.style.backgroundColor = originColor;\n }\n\n parentDom.className = domClass.replace('unChecked', 'checked');\n }\n });\n } else {\n // 混合模式\n var clickedItemChecked = domClass.indexOf('checked') !== -1; // domClass.includes('checked');\n\n var count = 0;\n Util.each(childNodes, function (child) {\n if (child.className.indexOf('checked') !== -1) {\n // .includes('checked')\n count++;\n }\n });\n\n if (!this.get('allowAllCanceled') && clickedItemChecked && count === 1) {\n this.emit('clicklastitem', {\n item: clickedItem,\n currentTarget: parentDom,\n checked: mode === 'single' ? true : clickedItem.checked\n });\n return;\n } // 在判断最后一个图例后再更新checked状态防止点击最后一个图例item时图例样式没有变化但是checked状态改变了 fix #422\n\n\n clickedItem.checked = !clickedItem.checked;\n\n if (clickedItemChecked) {\n if (markerDom) {\n markerDom.style.backgroundColor = unCheckedColor;\n }\n\n parentDom.className = domClass.replace('checked', 'unChecked');\n parentDom.style.color = unCheckedColor;\n } else {\n if (markerDom) {\n markerDom.style.backgroundColor = originColor;\n }\n\n parentDom.className = domClass.replace('unChecked', 'checked');\n parentDom.style.color = this.get('textStyle').fill;\n }\n }\n\n this.emit('itemclick', {\n item: clickedItem,\n currentTarget: parentDom,\n checked: mode === 'single' ? true : clickedItem.checked\n });\n return;\n } // activate an item by reduce the opacity of other items.\n // it is reserved for bi-direction interaction between charts / graph and legend\n ;\n\n _proto.activate = function activate(value) {\n var _this3 = this;\n\n var self = this;\n var items = self.get('items');\n var item = findItem(items, value);\n var legendWrapper = self.get('legendWrapper');\n var itemListDom = findNodeByClass(legendWrapper, LIST_CLASS);\n var childNodes = itemListDom.childNodes;\n childNodes.forEach(function (child) {\n var childMarkerDom = findNodeByClass(child, MARKER_CLASS);\n var childItem = findItem(items, child.getAttribute('data-value'));\n\n if (_this3.get('highlight')) {\n if (childItem === item && childItem.checked) {\n childMarkerDom.style.border = '1px solid #333';\n return;\n }\n } else {\n if (childItem === item) {\n childMarkerDom.style.opacity = self.get('activeOpacity');\n } else {\n if (childItem.checked) childMarkerDom.style.opacity = self.get('inactiveOpacity');\n }\n } // if (childItem !== item && childItem.checked) {\n // if (this.get('highlight')) {\n // childMarkerDom.style.border = '1px solid #fff';\n // } else childMarkerDom.style.opacity = 0.5;\n // } else {\n // if (this.get('highlight')) {\n // childMarkerDom.style.border = '1px solid #333';\n // } else childMarkerDom.style.opacity = 1;\n // }\n\n });\n return;\n } // restore the opacity of items\n // it is reserved for bi-direction interaction between charts / graph and legend\n ;\n\n _proto.deactivate = function deactivate() {\n var _this4 = this;\n\n var self = this;\n var legendWrapper = self.get('legendWrapper');\n var itemListDom = findNodeByClass(legendWrapper, LIST_CLASS);\n var childNodes = itemListDom.childNodes;\n childNodes.forEach(function (child) {\n var childMarkerDom = findNodeByClass(child, MARKER_CLASS);\n\n if (_this4.get('highlight')) {\n childMarkerDom.style.border = '1px solid #fff';\n } else {\n childMarkerDom.style.opacity = self.get('inactiveOpacity');\n }\n });\n return;\n };\n\n _proto._renderHTML = function _renderHTML() {\n var _this5 = this;\n\n // const canvas = this.get('canvas');\n var container = this.get('container'); // const outterNode = container.parentNode;\n\n var title = this.get('title');\n var containerTpl = this.get('containerTpl');\n var legendWrapper = DomUtil.createDom(containerTpl);\n var titleDom = findNodeByClass(legendWrapper, TITLE_CLASS);\n var itemListDom = findNodeByClass(legendWrapper, LIST_CLASS); // ul\n\n var unCheckedColor = this.get('unCheckColor');\n var LEGEND_STYLE = Util.deepMix({}, {\n CONTAINER_CLASS: {\n height: 'auto',\n width: 'auto',\n position: 'absolute',\n overflowY: 'auto',\n fontSize: '12px',\n fontFamily: FONT_FAMILY,\n lineHeight: '20px',\n color: '#8C8C8C'\n },\n TITLE_CLASS: {\n marginBottom: this.get('titleGap') + 'px',\n fontSize: '12px',\n color: '#333',\n // 默认样式\n textBaseline: 'middle',\n fontFamily: FONT_FAMILY\n },\n LIST_CLASS: {\n listStyleType: 'none',\n margin: 0,\n padding: 0,\n textAlign: 'center'\n },\n LIST_ITEM_CLASS: {\n cursor: 'pointer',\n marginBottom: '5px',\n marginRight: '24px'\n },\n MARKER_CLASS: {\n width: '9px',\n height: '9px',\n borderRadius: '50%',\n display: 'inline-block',\n marginRight: '4px',\n verticalAlign: 'middle'\n }\n }, this.get('legendStyle')); // fixIE 9 兼容问题,先加入 legendWrapper\n // let container = this.get('container');\n\n if (/^\\#/.test(container) || typeof container === 'string' && container.constructor === String) {\n // 如果传入 dom 节点的 id\n var id = container.replace('#', '');\n container = document.getElementById(id);\n container.appendChild(legendWrapper);\n } else {\n var _position = this.get('position');\n\n var rangeStyle = {};\n\n if (_position === 'left' || _position === 'right') {\n rangeStyle = {\n maxHeight: (this.get('maxLength') || container.offsetHeight) + 'px'\n };\n } else {\n rangeStyle = {\n maxWidth: (this.get('maxLength') || container.offsetWidth) + 'px'\n };\n }\n\n DomUtil.modifyCSS(legendWrapper, Util.mix({}, LEGEND_STYLE.CONTAINER_CLASS, rangeStyle, this.get(CONTAINER_CLASS)));\n container.appendChild(legendWrapper);\n }\n\n DomUtil.modifyCSS(itemListDom, Util.mix({}, LEGEND_STYLE.LIST_CLASS, this.get(LIST_CLASS))); // render title\n\n if (titleDom) {\n if (title && title.text) {\n titleDom.innerHTML = title.text;\n DomUtil.modifyCSS(titleDom, Util.mix({}, LEGEND_STYLE.TITLE_CLASS, this.get(TITLE_CLASS), title));\n } else {\n legendWrapper.removeChild(titleDom);\n }\n } // 开始渲染图例项\n\n\n var items = this.get('items');\n var itemTpl = this.get('itemTpl');\n var position = this.get('position');\n var layout = this.get('layout');\n var itemDisplay = position === 'right' || position === 'left' || layout === 'vertical' ? 'block' : 'inline-block';\n var itemStyle = Util.mix({}, LEGEND_STYLE.LIST_ITEM_CLASS, {\n display: itemDisplay\n }, this.get(ITEM_CLASS));\n var markerStyle = Util.mix({}, LEGEND_STYLE.MARKER_CLASS, this.get(MARKER_CLASS));\n Util.each(items, function (item, index) {\n var checked = item.checked;\n\n var value = _this5._formatItemValue(item.value);\n\n var markerColor = item.marker.fill || item.marker.stroke;\n var color = checked ? markerColor : unCheckedColor;\n var domStr;\n\n if (Util.isFunction(itemTpl)) {\n domStr = itemTpl(value, color, checked, index);\n } else {\n domStr = itemTpl;\n }\n\n var itemDiv = Util.substitute(domStr, Util.mix({}, item, {\n index: index,\n checked: checked ? 'checked' : 'unChecked',\n value: value,\n color: color,\n originColor: markerColor,\n // @2018-07-09 by blue.lb 修复如果legend值中存在双引号\"时, 导致的无法点击触发legend正常操作bug\n originValue: item.value.replace(/\\\"/g, '&quot;')\n })); // li\n\n var itemDom = DomUtil.createDom(itemDiv);\n itemDom.style.color = _this5.get('textStyle').fill;\n var markerDom = findNodeByClass(itemDom, MARKER_CLASS);\n var textDom = findNodeByClass(itemDom, TEXT_CLASS);\n DomUtil.modifyCSS(itemDom, itemStyle);\n markerDom && DomUtil.modifyCSS(markerDom, markerStyle); // textDom && DomUtil.modifyCSS(textDom, this.get('textStyle'));\n\n if (!checked) {\n itemDom.style.color = unCheckedColor;\n\n if (markerDom) {\n markerDom.style.backgroundColor = unCheckedColor;\n }\n }\n\n itemListDom.appendChild(itemDom); // abridge the text if the width of the text exceeds the width of the item\n\n if (_this5.get('abridgeText')) {\n var text = value; // const itemWidth = parseFloat(this.get(ITEM_CLASS).width.substr(0, this.get(ITEM_CLASS).width.length - 2));\n\n var itemWidth = itemDom.offsetWidth;\n\n var fs = _this5.get('textStyle').fontSize;\n\n if (isNaN(fs)) {\n // 6.5pt = 6.5 * 1/72 * 96 = 8.6px\n if (fs.indexOf('pt') !== -1) fs = parseFloat(fs.substr(0, fs.length - 2)) * 1 / 72 * 96;else if (fs.indexOf('px') !== -1) fs = parseFloat(fs.substr(0, fs.length - 2));\n }\n\n var textWidth = fs * text.length;\n var letterNum = Math.floor(itemWidth / fs);\n\n if (itemWidth < 2 * fs) {\n // unable to contain '...'\n text = '';\n } else if (itemWidth < textWidth) {\n // replace the tail as '...\n if (letterNum > 1) text = text.substr(0, letterNum - 1) + '...';\n }\n\n textDom.innerText = text; // show the text tip while mouse hovering an item\n\n itemDom.addEventListener('mouseover', function () {\n var tipDom = findNodeByClass(legendWrapper.parentNode, 'textTip');\n tipDom.style.display = 'block';\n tipDom.style.left = itemDom.offsetLeft + itemDom.offsetWidth + 'px';\n tipDom.style.top = itemDom.offsetTop + 15 + 'px';\n tipDom.innerText = value;\n }); // hide the text tip while mouse leave the item\n\n itemDom.addEventListener('mouseout', function () {\n var tipDom = findNodeByClass(legendWrapper.parentNode, 'textTip');\n tipDom.style.display = 'none';\n });\n }\n }); // append the tip div as a brother node of legend dom\n\n if (this.get('abridgeText')) {\n var tipTpl = this.get('tipTpl');\n var tipDom = DomUtil.createDom(tipTpl);\n var tipDomStyle = this.get('tipStyle');\n DomUtil.modifyCSS(tipDom, tipDomStyle);\n legendWrapper.parentNode.appendChild(tipDom); // hide the tip while mouse entering the tip dom\n\n tipDom.addEventListener('mouseover', function () {\n tipDom.style.display = 'none';\n });\n }\n\n this.set('legendWrapper', legendWrapper);\n };\n\n _proto._adjustPositionOffset = function _adjustPositionOffset() {\n var autoPosition = this.get('autoPosition'); // @2018-12-29 by maplor. if autoPosition is false, don't set inline-style\n\n if (autoPosition === false) {\n return;\n }\n\n var position = this.get('position');\n var offset = this.get('offset');\n var offsetX = this.get('offsetX');\n var offsetY = this.get('offsetY');\n if (offsetX) offset[0] = offsetX;\n if (offsetY) offset[1] = offsetY;\n var legendWrapper = this.get('legendWrapper');\n legendWrapper.style.left = position[0] + 'px';\n legendWrapper.style.top = position[1] + 'px';\n legendWrapper.style.marginLeft = offset[0] + 'px';\n legendWrapper.style.marginTop = offset[1] + 'px';\n };\n\n _proto.getWidth = function getWidth() {\n return DomUtil.getOuterWidth(this.get('legendWrapper'));\n };\n\n _proto.getHeight = function getHeight() {\n return DomUtil.getOuterHeight(this.get('legendWrapper'));\n };\n\n _proto.move = function move(x, y) {\n if (!/^\\#/.test(this.get('container'))) {\n DomUtil.modifyCSS(this.get('legendWrapper'), {\n left: x + 'px',\n top: y + 'px'\n });\n this.set('x', x);\n this.set('y', y);\n } else {\n _Category.prototype.move.call(this, x, y);\n }\n };\n\n _proto.destroy = function destroy() {\n var legendWrapper = this.get('legendWrapper');\n\n if (legendWrapper && legendWrapper.parentNode) {\n legendWrapper.parentNode.removeChild(legendWrapper);\n }\n\n _Category.prototype.destroy.call(this);\n };\n\n return CatHtml;\n}(Category);\n\nmodule.exports = CatHtml;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/cat-html.js\n// module id = 120\n// module chunks = 0","/**\n * @fileOverview 颜色计算的辅助方法\n * @author dxq613@gmail.com\n */\nvar isNumber = require('@antv/util/lib/type/is-number');\n\nvar isString = require('@antv/util/lib/type/is-string');\n\nvar each = require('@antv/util/lib/each'); // const RGB_REG = /rgb\\((\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)/;\n\n\nvar RGB_REG = /rgba?\\(([\\s.,0-9]+)\\)/; // 创建辅助 tag 取颜色\n\nfunction createTmp() {\n var i = document.createElement('i');\n i.title = 'Web Colour Picker';\n i.style.display = 'none';\n document.body.appendChild(i);\n return i;\n} // 获取颜色之间的插值\n\n\nfunction getValue(start, end, percent, index) {\n var value = start[index] + (end[index] - start[index]) * percent;\n return value;\n} // 数组转换成颜色\n\n\nfunction arr2rgb(arr) {\n return '#' + toHex(arr[0]) + toHex(arr[1]) + toHex(arr[2]);\n} // 将数值从 0-255 转换成16进制字符串\n\n\nfunction toHex(value) {\n value = Math.round(value);\n value = value.toString(16);\n\n if (value.length === 1) {\n value = '0' + value;\n }\n\n return value;\n}\n\nfunction calColor(colors, percent) {\n if (isNaN(percent) || !isNumber(percent) || percent < 0) {\n percent = 0;\n }\n\n if (percent > 1) {\n percent = 1;\n }\n\n var steps = colors.length - 1;\n var step = Math.floor(steps * percent);\n var left = steps * percent - step;\n var start = colors[step];\n var end = step === steps ? start : colors[step + 1];\n var rgb = arr2rgb([getValue(start, end, left, 0), getValue(start, end, left, 1), getValue(start, end, left, 2)]);\n return rgb;\n} // rgb 颜色转换成数组\n\n\nfunction rgb2arr(str) {\n var arr = [];\n arr.push(parseInt(str.substr(1, 2), 16));\n arr.push(parseInt(str.substr(3, 2), 16));\n arr.push(parseInt(str.substr(5, 2), 16));\n return arr;\n}\n\nvar colorCache = {};\nvar iEl = null;\nvar ColorUtil = {\n /**\n * 将颜色转换到 rgb 的格式\n * @param {String} color 颜色\n * @return {String} 将颜色转换到 '#ffffff' 的格式\n */\n toRGB: function toRGB(color) {\n // 如果已经是 rgb的格式\n if (color[0] === '#' && color.length === 7) {\n return color;\n }\n\n if (!iEl) {\n // 防止防止在页头报错\n iEl = createTmp();\n }\n\n var rst;\n\n if (colorCache[color]) {\n rst = colorCache[color];\n } else {\n iEl.style.color = color;\n rst = document.defaultView.getComputedStyle(iEl, '').getPropertyValue('color');\n var matchs = RGB_REG.exec(rst);\n var cArray = matchs[1].split(/\\s*,\\s*/);\n rst = arr2rgb(cArray);\n colorCache[color] = rst;\n }\n\n return rst;\n },\n rgb2arr: rgb2arr,\n\n /**\n * 获取渐变函数\n * @param {Array} colors 多个颜色\n * @return {String} 颜色值\n */\n gradient: function gradient(colors) {\n var points = [];\n\n if (isString(colors)) {\n colors = colors.split('-');\n }\n\n each(colors, function (color) {\n if (color.indexOf('#') === -1) {\n color = ColorUtil.toRGB(color);\n }\n\n points.push(rgb2arr(color));\n });\n return function (percent) {\n return calColor(points, percent);\n };\n }\n};\nmodule.exports = ColorUtil;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/color-util.js\n// module id = 121\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Component = require('../component');\n\nvar Util = require('../util');\n\nvar Crosshair = /*#__PURE__*/function (_Component) {\n _inheritsLoose(Crosshair, _Component);\n\n var _super = _createSuper(Crosshair);\n\n var _proto = Crosshair.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Component.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * crosshair的类型\n * @type {String}\n */\n type: null,\n\n /**\n * 画在哪层视图\n * @type {G-Element}\n */\n plot: null,\n\n /**\n * x轴上移动到位置的偏移量\n * @type {Number}\n */\n plotRange: null,\n\n /**\n * 默认rect crosshair样式\n * @type {Object}\n */\n rectStyle: {\n fill: '#CCD6EC',\n opacity: 0.3\n },\n\n /**\n * 默认line crosshair样式\n * @type {Object}\n */\n lineStyle: {\n stroke: 'rgba(0, 0, 0, 0.25)',\n lineWidth: 1\n },\n isTransposed: false\n });\n };\n\n function Crosshair(cfg) {\n var _this;\n\n _this = _Component.call(this, cfg) || this;\n\n _this._init_();\n\n _this.render();\n\n return _this;\n }\n\n _proto._init_ = function _init_() {\n var self = this;\n var plot = self.get('plot');\n var group;\n\n if (self.type === 'rect') {\n group = plot.addGroup({\n zIndex: 0\n });\n } else {\n group = plot.addGroup();\n }\n\n this.set('container', group);\n };\n\n _proto._addLineShape = function _addLineShape(attrs, type) {\n var container = this.get('container');\n var shape = container.addShape('line', {\n capture: false,\n attrs: attrs\n }); // shape.hide();\n\n this.set('crossLineShape' + type, shape);\n return shape;\n };\n\n _proto._renderHorizontalLine = function _renderHorizontalLine(canvas, plotRange) {\n var style = Util.mix(this.get('lineStyle'), this.get('style'));\n var attrs = Util.mix({\n x1: plotRange ? plotRange.bl.x : canvas.get('width'),\n y1: 0,\n x2: plotRange ? plotRange.br.x : 0,\n y2: 0\n }, style);\n\n this._addLineShape(attrs, 'X');\n };\n\n _proto._renderVerticalLine = function _renderVerticalLine(canvas, plotRange) {\n var style = Util.mix(this.get('lineStyle'), this.get('style'));\n var attrs = Util.mix({\n x1: 0,\n y1: plotRange ? plotRange.bl.y : canvas.get('height'),\n x2: 0,\n y2: plotRange ? plotRange.tl.y : 0\n }, style);\n\n this._addLineShape(attrs, 'Y');\n };\n\n _proto._renderBackground = function _renderBackground(canvas, plotRange) {\n var style = Util.mix(this.get('rectStyle'), this.get('style'));\n var container = this.get('container');\n var attrs = Util.mix({\n x: plotRange ? plotRange.tl.x : 0,\n y: plotRange ? plotRange.tl.y : canvas.get('height'),\n width: plotRange ? plotRange.br.x - plotRange.bl.x : canvas.get('width'),\n height: plotRange ? Math.abs(plotRange.tl.y - plotRange.bl.y) : canvas.get('height')\n }, style);\n var shape = container.addShape('rect', {\n attrs: attrs,\n capture: false\n }); // shape.hide();\n\n this.set('crosshairsRectShape', shape);\n return shape;\n };\n\n _proto._updateRectShape = function _updateRectShape(items) {\n var offset;\n var crosshairsRectShape = this.get('crosshairsRectShape');\n var isTransposed = this.get('isTransposed');\n var firstItem = items[0];\n var lastItem = items[items.length - 1];\n var dim = isTransposed ? 'y' : 'x';\n var attr = isTransposed ? 'height' : 'width';\n var startDim = firstItem[dim];\n\n if (items.length > 1 && firstItem[dim] > lastItem[dim]) {\n startDim = lastItem[dim];\n }\n\n if (this.get('width')) {\n // 用户定义了 width\n crosshairsRectShape.attr(dim, startDim - this.get('crosshairs').width / 2);\n crosshairsRectShape.attr(attr, this.get('width'));\n } else {\n if (Util.isArray(firstItem.point[dim]) && !firstItem.size) {\n // 直方图\n var width = firstItem.point[dim][1] - firstItem.point[dim][0];\n crosshairsRectShape.attr(dim, firstItem.point[dim][0]);\n crosshairsRectShape.attr(attr, width);\n } else {\n offset = 3 * firstItem.size / 4;\n crosshairsRectShape.attr(dim, startDim - offset);\n\n if (items.length === 1) {\n crosshairsRectShape.attr(attr, 3 * firstItem.size / 2);\n } else {\n crosshairsRectShape.attr(attr, Math.abs(lastItem[dim] - firstItem[dim]) + 2 * offset);\n }\n }\n }\n };\n\n _proto.render = function render() {\n var canvas = this.get('canvas');\n var plotRange = this.get('plotRange');\n var isTransposed = this.get('isTransposed');\n this.clear();\n\n switch (this.get('type')) {\n case 'x':\n this._renderHorizontalLine(canvas, plotRange);\n\n break;\n\n case 'y':\n this._renderVerticalLine(canvas, plotRange);\n\n break;\n\n case 'cross':\n this._renderHorizontalLine(canvas, plotRange);\n\n this._renderVerticalLine(canvas, plotRange);\n\n break;\n\n case 'rect':\n this._renderBackground(canvas, plotRange);\n\n break;\n\n default:\n isTransposed ? this._renderHorizontalLine(canvas, plotRange) : this._renderVerticalLine(canvas, plotRange);\n }\n };\n\n _proto.show = function show() {\n var container = this.get('container');\n\n _Component.prototype.show.call(this);\n\n container.show();\n };\n\n _proto.hide = function hide() {\n var container = this.get('container');\n\n _Component.prototype.hide.call(this);\n\n container.hide();\n };\n\n _proto.clear = function clear() {\n var container = this.get('container');\n this.set('crossLineShapeX', null);\n this.set('crossLineShapeY', null);\n this.set('crosshairsRectShape', null);\n\n _Component.prototype.clear.call(this);\n\n container.clear();\n };\n\n _proto.destroy = function destroy() {\n var container = this.get('container');\n\n _Component.prototype.destroy.call(this);\n\n container.remove();\n };\n\n _proto.setPosition = function setPosition(x, y, items) {\n var crossLineShapeX = this.get('crossLineShapeX');\n var crossLineShapeY = this.get('crossLineShapeY');\n var crosshairsRectShape = this.get('crosshairsRectShape');\n\n if (crossLineShapeY && !crossLineShapeY.get('destroyed')) {\n // 第一次进入时画布需要单独绘制所以需要先设定corss的位置\n crossLineShapeY.move(x, 0);\n }\n\n if (crossLineShapeX && !crossLineShapeX.get('destroyed')) {\n crossLineShapeX.move(0, y);\n }\n\n if (crosshairsRectShape && !crosshairsRectShape.get('destroyed')) {\n this._updateRectShape(items);\n }\n };\n\n return Crosshair;\n}(Component);\n\nmodule.exports = Crosshair;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tooltip/crosshair.js\n// module id = 122\n// module chunks = 0","var GAP = 20;\nvar PositionMixin = {\n _calcTooltipPosition: function _calcTooltipPosition(x, y, position, containerWidth, containerHeight, target) {\n var rectWidth = 0;\n var rectHeight = 0;\n var gap = 20;\n\n if (target) {\n var rect = target.getBBox();\n rectWidth = rect.width;\n rectHeight = rect.height;\n x = rect.x;\n y = rect.y;\n gap = 5;\n }\n\n switch (position) {\n case 'inside':\n x = x + rectWidth / 2 - containerWidth / 2;\n y = y + rectHeight / 2 - containerHeight / 2;\n break;\n\n case 'top':\n x = x + rectWidth / 2 - containerWidth / 2;\n y = y - containerHeight - gap;\n break;\n\n case 'left':\n x = x - containerWidth - gap;\n y = y + rectHeight / 2 - containerHeight / 2;\n break;\n\n case 'right':\n x = x + rectWidth + gap;\n y = y + rectHeight / 2 - containerHeight / 2;\n break;\n\n case 'bottom':\n default:\n x = x + rectWidth / 2 - containerWidth / 2;\n y = y + rectHeight + gap;\n break;\n }\n\n return [x, y];\n },\n _constraintPositionInBoundary: function _constraintPositionInBoundary(x, y, width, height, viewWidth, viewHeight) {\n if (x + width + GAP > viewWidth) {\n x -= width + GAP;\n x = x < 0 ? 0 : x;\n } else if (x + GAP < 0) {\n x = GAP;\n } else {\n x += GAP;\n }\n\n if (y + height + GAP > viewHeight) {\n y -= height + GAP;\n y = y < 0 ? 0 : y;\n } else if (y + GAP < 0) {\n y = GAP;\n } else {\n y += GAP;\n }\n\n return [x, y];\n },\n _constraintPositionInPlot: function _constraintPositionInPlot(x, y, width, height, plotRange, enterable) {\n if (x + width > plotRange.tr.x) {\n if (enterable) {\n // fix: https://github.com/antvis/g2/issues/1414\n // 当 enterable 开启时,如果设置 tooltip 与鼠标的间距过大根本就追逐不上 tooltip\n x -= width + 1;\n } else {\n x -= width + 2 * GAP;\n }\n }\n\n if (x < plotRange.tl.x) {\n x = plotRange.tl.x;\n }\n\n if (!enterable) {\n if (y + height > plotRange.bl.y) {\n y -= height + 2 * GAP;\n }\n\n if (y < plotRange.tl.y) {\n y = plotRange.tl.y;\n }\n }\n\n return [x, y];\n }\n};\nmodule.exports = PositionMixin;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tooltip/mixin/position.js\n// module id = 123\n// module chunks = 0","var Util = require('../../util');\n\nvar MarkerGroupMixin = {\n setMarkers: function setMarkers(markerItems, markerCfg) {\n var self = this;\n var markerGroup = self.get('markerGroup');\n var frontPlot = self.get('frontPlot');\n\n if (!markerGroup) {\n markerGroup = frontPlot.addGroup({\n zIndex: 1,\n capture: false // 不进行拾取\n\n });\n self.set('markerGroup', markerGroup);\n } else {\n markerGroup.clear();\n }\n\n Util.each(markerItems, function (item) {\n var attrs = Util.mix({\n fill: item.color,\n symbol: 'circle',\n shadowColor: item.color\n }, markerCfg, {\n x: item.x,\n y: item.y\n });\n\n if (item.marker && item.marker.activeSymbol) {\n attrs.symbol = item.marker.activeSymbol;\n }\n\n markerGroup.addShape('marker', {\n color: item.color,\n attrs: attrs\n });\n });\n this.set('markerItems', markerItems);\n },\n clearMarkers: function clearMarkers() {\n var markerGroup = this.get('markerGroup');\n markerGroup && markerGroup.clear();\n }\n};\nmodule.exports = MarkerGroupMixin;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tooltip/mixin/marker-group.js\n// module id = 124\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar G = require('@antv/g/lib');\n\nvar Crosshair = require('./crosshair');\n\nvar MarkerGroupMixin = require('./mixin/marker-group');\n\nvar PositionMixin = require('./mixin/position');\n\nvar Tooltip = require('./base');\n\nvar Util = require('../util');\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY;\n\nvar DomUtil = Util.DomUtil;\nvar MatrixUtil = Util.MatrixUtil;\n\nvar CanvasTooltip = /*#__PURE__*/function (_Tooltip) {\n _inheritsLoose(CanvasTooltip, _Tooltip);\n\n var _super = _createSuper(CanvasTooltip);\n\n var _proto = CanvasTooltip.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Tooltip.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 默认背景板样式\n * @type {Object}\n */\n boardStyle: {\n x: 0,\n y: 0,\n width: 100,\n height: 100,\n fill: 'rgba(255, 255, 255, 0.9)',\n radius: 4,\n stroke: '#e2e2e2',\n lineWidth: 1\n },\n\n /**\n * 默认title样式\n * @type {Object}\n */\n titleStyle: {\n fontFamily: FONT_FAMILY,\n text: '',\n textBaseline: 'top',\n fontSize: 12,\n fill: 'rgb(87, 87, 87)',\n lineHeight: 20,\n padding: 20\n },\n\n /**\n * 默认marker样式\n * @type {Object}\n */\n markerStyle: {\n radius: 4\n },\n\n /**\n * 默认name样式\n * @type {Object}\n */\n nameStyle: {\n fontFamily: FONT_FAMILY,\n fontSize: 12,\n fill: 'rgb(87, 87, 87)',\n textBaseline: 'middle',\n textAlign: 'start',\n padding: 8\n },\n\n /**\n * 默认value样式\n * @type {Object}\n */\n valueStyle: {\n fontFamily: FONT_FAMILY,\n fontSize: 12,\n fill: 'rgb(87, 87, 87)',\n textBaseline: 'middle',\n textAlign: 'start',\n padding: 30\n },\n\n /**\n * 默认padding值\n * @type {Object}\n */\n padding: {\n top: 20,\n right: 20,\n bottom: 20,\n left: 20\n },\n\n /**\n * 默认item之间的gap\n * @type {Number}\n */\n itemGap: 10,\n\n /**\n * 默认tooltip位置移动动画的时长\n * @type {Number}\n */\n animationDuration: 200\n });\n };\n\n function CanvasTooltip(cfg) {\n var _this;\n\n _this = _Tooltip.call(this, cfg) || this;\n Util.assign(_assertThisInitialized(_this), PositionMixin);\n Util.assign(_assertThisInitialized(_this), MarkerGroupMixin); // crosshair\n\n var crosshair = _this.get('crosshairs');\n\n if (crosshair) {\n var plot = crosshair.type === 'rect' ? _this.get('backPlot') : _this.get('frontPlot');\n var crosshairGroup = new Crosshair(Util.mix({\n plot: plot,\n plotRange: _this.get('plotRange'),\n canvas: _this.get('canvas')\n }, _this.get('crosshairs')));\n crosshairGroup.hide();\n\n _this.set('crosshairGroup', crosshairGroup);\n }\n\n _this._init_();\n\n if (_this.get('items')) {\n _this.render();\n }\n\n return _this;\n }\n\n _proto._init_ = function _init_() {\n var self = this;\n var padding = self.get('padding');\n var parent = self.get('frontPlot'); // marker group\n\n var markerGroup = parent.addGroup({\n capture: false\n });\n self.set('markerGroup', markerGroup); // container\n\n var container = parent.addGroup();\n container.hide();\n self.set('container', container); // board\n\n var board = container.addShape('rect', {\n attrs: Util.mix({}, self.get('boardStyle'))\n });\n self.set('board', board); // title\n\n var titleStyle = self.get('titleStyle');\n\n if (self.get('showTitle')) {\n var titleShape = container.addShape('text', {\n attrs: Util.mix({\n x: padding.left,\n y: padding.top\n }, titleStyle)\n });\n self.set('titleShape', titleShape);\n titleShape.name = 'tooltip-title';\n } // items\n\n\n var itemsGroup = container.addGroup();\n itemsGroup.move(padding.left, padding.top + titleStyle.lineHeight + titleStyle.padding);\n self.set('itemsGroup', itemsGroup);\n };\n\n _proto.render = function render() {\n var self = this;\n self.clear();\n var container = self.get('container');\n var board = self.get('board');\n var showTitle = self.get('showTitle');\n var titleContent = self.get('titleContent');\n var titleShape = this.get('titleShape');\n var itemsGroup = this.get('itemsGroup');\n var items = self.get('items');\n var padding = self.get('padding');\n\n if (titleShape && showTitle) {\n titleShape.attr('text', titleContent);\n }\n\n if (itemsGroup) {\n var itemGap = self.get('itemGap');\n var x = 0;\n var y = 0;\n Util.each(items, function (item) {\n var itemGroup = self._addItem(item);\n\n itemGroup.move(x, y);\n itemsGroup.add(itemGroup);\n var itemHeight = itemGroup.getBBox().height;\n y += itemHeight + itemGap;\n });\n } // update board based on bbox\n\n\n var bbox = container.getBBox();\n var width = bbox.width + padding.right;\n var height = bbox.height + padding.bottom;\n board.attr('width', width);\n board.attr('height', height); // align value text to right\n\n self._alignToRight(width);\n };\n\n _proto.clear = function clear() {\n var titleShape = this.get('titleShape');\n var itemsGroup = this.get('itemsGroup');\n var board = this.get('board');\n titleShape.text = '';\n itemsGroup.clear();\n board.attr('width', 0);\n board.attr('height', 0);\n };\n\n _proto.show = function show() {\n var container = this.get('container');\n container.show();\n var crosshairGroup = this.get('crosshairGroup');\n crosshairGroup && crosshairGroup.show();\n var markerGroup = this.get('markerGroup');\n markerGroup && markerGroup.show();\n\n _Tooltip.prototype.show.call(this);\n\n this.get('canvas').draw();\n };\n\n _proto.hide = function hide() {\n var container = this.get('container');\n container.hide();\n var crosshairGroup = this.get('crosshairGroup');\n crosshairGroup && crosshairGroup.hide();\n var markerGroup = this.get('markerGroup');\n markerGroup && markerGroup.hide();\n\n _Tooltip.prototype.hide.call(this);\n\n this.get('canvas').draw();\n };\n\n _proto.destroy = function destroy() {\n var container = this.get('container');\n var crosshairGroup = this.get('crosshairGroup');\n crosshairGroup && crosshairGroup.destroy();\n var markerGroup = this.get('markerGroup');\n markerGroup && markerGroup.remove();\n\n _Tooltip.prototype.destroy.call(this);\n\n container.remove();\n };\n\n _proto.setPosition = function setPosition(x, y, target) {\n var container = this.get('container');\n var outterNode = this.get('canvas').get('el');\n var viewWidth = DomUtil.getWidth(outterNode);\n var viewHeight = DomUtil.getHeight(outterNode);\n var bbox = container.getBBox();\n var containerWidth = bbox.width;\n var containerHeight = bbox.height;\n var endx = x;\n var endy = y;\n var position;\n\n if (this.get('position')) {\n var _containerWidth = bbox.width;\n var _containerHeight = bbox.height;\n position = this._calcTooltipPosition(x, y, this.get('position'), _containerWidth, _containerHeight, target);\n x = position[0];\n y = position[1];\n } else {\n position = this._constraintPositionInBoundary(x, y, containerWidth, containerHeight, viewWidth, viewHeight);\n x = position[0];\n y = position[1];\n }\n\n if (this.get('inPlot')) {\n // tooltip 必须限制在绘图区域内\n var plotRange = this.get('plotRange');\n position = this._constraintPositionInPlot(x, y, containerWidth, containerHeight, plotRange, this.get('enterable'));\n x = position[0];\n y = position[1];\n }\n\n var markerItems = this.get('markerItems');\n\n if (!Util.isEmpty(markerItems)) {\n endx = markerItems[0].x;\n endy = markerItems[0].y;\n }\n\n var ulMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n var mat = MatrixUtil.transform(ulMatrix, [['t', x, y]]);\n container.stopAnimate();\n container.animate({\n matrix: mat\n }, this.get('animationDuration'));\n var crosshairGroup = this.get('crosshairGroup');\n\n if (crosshairGroup) {\n var items = this.get('items');\n crosshairGroup.setPosition(endx, endy, items);\n }\n\n _Tooltip.prototype.setPosition.call(this, x, y);\n };\n\n _proto._addItem = function _addItem(item) {\n var group = new G.Group();\n var markerRadius = this.get('markerStyle').radius; // marker\n\n if (item.marker) {\n var markerAttrs = Util.mix({}, item.marker, {\n x: item.marker.radius / 2,\n y: 0,\n symbol: item.marker.activeSymbol || item.marker.symbol\n });\n group.addShape('marker', {\n attrs: markerAttrs\n });\n markerRadius = item.marker.radius;\n } // name\n\n\n var nameStyle = this.get('nameStyle');\n group.addShape('text', {\n attrs: Util.mix({\n x: markerRadius + nameStyle.padding,\n y: 0,\n text: item.name\n }, nameStyle)\n }); // value\n\n var valueStyle = this.get('valueStyle');\n group.addShape('text', {\n attrs: Util.mix({\n x: group.getBBox().width + valueStyle.padding,\n y: 0,\n text: item.value\n }, valueStyle)\n });\n return group;\n };\n\n _proto._alignToRight = function _alignToRight(width) {\n var _this2 = this;\n\n var itemsGroup = this.get('itemsGroup');\n var groups = itemsGroup.get('children');\n Util.each(groups, function (g) {\n var children = g.get('children');\n var valueText = children[2];\n var w = valueText.getBBox().width;\n var x = width - w - _this2.get('padding').right * 2;\n valueText.attr('x', x);\n });\n };\n\n return CanvasTooltip;\n}(Tooltip);\n\nmodule.exports = CanvasTooltip;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tooltip/canvas.js\n// module id = 125\n// module chunks = 0","module.exports = {\n Axis: require('./axis/'),\n Component: require('./base'),\n Guide: require('./guide/'),\n Label: require('./label/'),\n Legend: require('./legend/'),\n Tooltip: require('./tooltip/')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/index.js\n// module id = 126\n// module chunks = 0","var Axis = require('./base');\n\nAxis.Base = Axis;\nAxis.Circle = require('./circle');\nAxis.Grid = require('./grid');\nAxis.Helix = require('./helix');\nAxis.Line = require('./line');\nAxis.Polyline = require('./polyline');\nmodule.exports = Axis;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/axis/index.js\n// module id = 127\n// module chunks = 0","var Util = require('./util/index');\n\nvar Event = require('./event');\n\nvar Group = require('./core/group');\n\nvar Timeline = require('./core/mixin/timeline');\n\nvar renderers = require('./renderers/index');\n\nvar Canvas = function Canvas(cfg) {\n Canvas.superclass.constructor.call(this, cfg);\n};\n\nCanvas.CFG = {\n eventEnable: true,\n\n /**\n * 像素宽度\n * @type {Number}\n */\n width: null,\n\n /**\n * 像素高度\n * @type {Number}\n */\n height: null,\n\n /**\n * 画布宽度\n * @type {Number}\n */\n widthCanvas: null,\n\n /**\n * 画布高度\n * @type {Number}\n */\n heightCanvas: null,\n\n /**\n * CSS宽\n * @type {String}\n */\n widthStyle: null,\n\n /**\n * CSS高\n * @type {String}\n */\n heightStyle: null,\n\n /**\n * 容器DOM\n * @type {Object}\n */\n containerDOM: null,\n\n /**\n * 当前Canvas的DOM\n * @type {Object}\n */\n canvasDOM: null,\n\n /**\n * 屏幕像素比\n * @type {Number}\n */\n pixelRatio: null,\n\n /**\n * 渲染器默认是canvas\n * @type {String}\n */\n renderer: 'canvas'\n};\nUtil.extend(Canvas, Group);\nUtil.augment(Canvas, {\n init: function init() {\n Canvas.superclass.init.call(this);\n\n this._setGlobalParam();\n\n this._setContainer();\n\n this._initPainter();\n\n this._scale();\n\n if (this.get('eventEnable')) {\n this._registEvents();\n }\n },\n getEmitter: function getEmitter(element, event) {\n if (element) {\n if (Util.isEmpty(element._getEvents())) {\n var parent = element.get('parent');\n\n if (parent && !event.propagationStopped) {\n return this.getEmitter(parent, event);\n }\n } else {\n return element;\n }\n }\n },\n _getEventObj: function _getEventObj(type, e, point, target) {\n var event = new Event(type, e, true, true);\n event.x = point.x;\n event.y = point.y;\n event.clientX = e.clientX;\n event.clientY = e.clientY;\n event.currentTarget = target;\n event.target = target;\n return event;\n },\n _triggerEvent: function _triggerEvent(type, e) {\n var point = this.getPointByClient(e.clientX, e.clientY);\n var shape = this.getShape(point.x, point.y, e);\n var el = this.get('el');\n var emitObj;\n\n if (type === 'mousemove') {\n var preShape = this.get('preShape');\n\n if (preShape && preShape !== shape) {\n var mouseleave = this._getEventObj('mouseleave', e, point, preShape);\n\n emitObj = this.getEmitter(preShape, e);\n emitObj && emitObj.emit('mouseleave', mouseleave);\n el.style.cursor = 'default';\n }\n\n if (shape) {\n var mousemove = this._getEventObj('mousemove', e, point, shape);\n\n emitObj = this.getEmitter(shape, e);\n emitObj && emitObj.emit('mousemove', mousemove);\n\n if (preShape !== shape) {\n var mouseenter = this._getEventObj('mouseenter', e, point, shape);\n\n emitObj && emitObj.emit('mouseenter', mouseenter, e);\n }\n } else {\n var canvasmousemove = this._getEventObj('mousemove', e, point, this);\n\n this.emit('mousemove', canvasmousemove);\n }\n\n this.set('preShape', shape);\n } else {\n var event = this._getEventObj(type, e, point, shape || this);\n\n emitObj = this.getEmitter(shape, e);\n\n if (emitObj && emitObj !== this) {\n emitObj.emit(type, event);\n }\n\n this.emit(type, event);\n }\n\n if (shape && !shape.get('destroyed')) {\n el.style.cursor = shape.attr('cursor') || 'default';\n }\n },\n _registEvents: function _registEvents() {\n var self = this;\n var el = self.get('el');\n var events = ['mouseout', 'mouseover', 'mousemove', 'mousedown', 'mouseleave', 'mouseup', 'click', 'dblclick'];\n Util.each(events, function (event) {\n el.addEventListener(event, function (e) {\n self._triggerEvent(event, e);\n }, false);\n }); // special cases\n\n el.addEventListener('touchstart', function (e) {\n if (!Util.isEmpty(e.touches)) {\n self._triggerEvent('touchstart', e.touches[0]);\n }\n }, false);\n el.addEventListener('touchmove', function (e) {\n if (!Util.isEmpty(e.touches)) {\n self._triggerEvent('touchmove', e.touches[0]);\n }\n }, false);\n el.addEventListener('touchend', function (e) {\n if (!Util.isEmpty(e.changedTouches)) {\n self._triggerEvent('touchend', e.changedTouches[0]);\n }\n }, false);\n },\n _scale: function _scale() {\n var pixelRatio = this.get('pixelRatio');\n this.scale(pixelRatio, pixelRatio);\n },\n _setGlobalParam: function _setGlobalParam() {\n var pixelRatio = this.get('pixelRatio');\n\n if (!pixelRatio) {\n this.set('pixelRatio', Util.getRatio());\n }\n\n var renderer = renderers[this.get('renderer') || 'canvas'];\n this._cfg.renderer = renderer;\n this._cfg.canvas = this;\n var timeline = new Timeline(this);\n this._cfg.timeline = timeline;\n },\n _setContainer: function _setContainer() {\n var containerId = this.get('containerId');\n var containerDOM = this.get('containerDOM');\n\n if (!containerDOM) {\n containerDOM = document.getElementById(containerId);\n this.set('containerDOM', containerDOM);\n }\n\n Util.modifyCSS(containerDOM, {\n position: 'relative'\n });\n },\n _initPainter: function _initPainter() {\n var containerDOM = this.get('containerDOM');\n var painter = new this._cfg.renderer.painter(containerDOM);\n this._cfg.painter = painter;\n this._cfg.canvasDOM = this._cfg.el = painter.canvas;\n this.changeSize(this.get('width'), this.get('height'));\n },\n _resize: function _resize() {\n var canvasDOM = this.get('canvasDOM');\n var widthCanvas = this.get('widthCanvas');\n var heightCanvas = this.get('heightCanvas');\n var widthStyle = this.get('widthStyle');\n var heightStyle = this.get('heightStyle');\n canvasDOM.style.width = widthStyle;\n canvasDOM.style.height = heightStyle;\n canvasDOM.setAttribute('width', widthCanvas);\n canvasDOM.setAttribute('height', heightCanvas);\n },\n getWidth: function getWidth() {\n var pixelRatio = this.get('pixelRatio');\n var width = this.get('width');\n return width * pixelRatio;\n },\n getHeight: function getHeight() {\n var pixelRatio = this.get('pixelRatio');\n var height = this.get('height');\n return height * pixelRatio;\n },\n changeSize: function changeSize(width, height) {\n var pixelRatio = this.get('pixelRatio');\n var widthCanvas = width * pixelRatio;\n var heightCanvas = height * pixelRatio;\n this.set('widthCanvas', widthCanvas);\n this.set('heightCanvas', heightCanvas);\n this.set('widthStyle', width + 'px');\n this.set('heightStyle', height + 'px');\n this.set('width', width);\n this.set('height', height);\n\n this._resize();\n },\n\n /**\n * 将窗口坐标转变成 canvas 坐标\n * @param {Number} clientX 窗口x坐标\n * @param {Number} clientY 窗口y坐标\n * @return {Object} canvas坐标\n */\n getPointByClient: function getPointByClient(clientX, clientY) {\n var el = this.get('el');\n var pixelRatio = this.get('pixelRatio') || 1;\n var bbox = el.getBoundingClientRect();\n return {\n x: (clientX - bbox.left) * pixelRatio,\n y: (clientY - bbox.top) * pixelRatio\n };\n },\n getClientByPoint: function getClientByPoint(x, y) {\n var el = this.get('el');\n var bbox = el.getBoundingClientRect();\n var pixelRatio = this.get('pixelRatio') || 1;\n return {\n clientX: x / pixelRatio + bbox.left,\n clientY: y / pixelRatio + bbox.top\n };\n },\n draw: function draw() {\n this._cfg.painter.draw(this);\n },\n getShape: function getShape(x, y, e) {\n if (arguments.length === 3 && this._cfg.renderer.getShape) {\n return this._cfg.renderer.getShape.call(this, x, y, e);\n }\n\n return Canvas.superclass.getShape.call(this, x, y);\n },\n _drawSync: function _drawSync() {\n this._cfg.painter.drawSync(this);\n },\n destroy: function destroy() {\n var cfg = this._cfg;\n var containerDOM = cfg.containerDOM;\n var canvasDOM = cfg.canvasDOM;\n\n if (canvasDOM && containerDOM) {\n containerDOM.removeChild(canvasDOM);\n }\n\n cfg.timeline.stop();\n Canvas.superclass.destroy.call(this);\n }\n});\nmodule.exports = Canvas;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/canvas.js\n// module id = 128\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.sub = exports.mul = undefined;\nexports.create = create;\nexports.fromMat4 = fromMat4;\nexports.clone = clone;\nexports.copy = copy;\nexports.fromValues = fromValues;\nexports.set = set;\nexports.identity = identity;\nexports.transpose = transpose;\nexports.invert = invert;\nexports.adjoint = adjoint;\nexports.determinant = determinant;\nexports.multiply = multiply;\nexports.translate = translate;\nexports.rotate = rotate;\nexports.scale = scale;\nexports.fromTranslation = fromTranslation;\nexports.fromRotation = fromRotation;\nexports.fromScaling = fromScaling;\nexports.fromMat2d = fromMat2d;\nexports.fromQuat = fromQuat;\nexports.normalFromMat4 = normalFromMat4;\nexports.projection = projection;\nexports.str = str;\nexports.frob = frob;\nexports.add = add;\nexports.subtract = subtract;\nexports.multiplyScalar = multiplyScalar;\nexports.multiplyScalarAndAdd = multiplyScalarAndAdd;\nexports.exactEquals = exactEquals;\nexports.equals = equals;\n\nvar _common = require('./common.js');\n\nvar glMatrix = _interopRequireWildcard(_common);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n/**\n * 3x3 Matrix\n * @module mat3\n */\n\n/**\n * Creates a new identity mat3\n *\n * @returns {mat3} a new 3x3 matrix\n */\n\n\nfunction create() {\n var out = new glMatrix.ARRAY_TYPE(9);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n }\n\n out[0] = 1;\n out[4] = 1;\n out[8] = 1;\n return out;\n}\n/**\n * Copies the upper-left 3x3 values into the given mat3.\n *\n * @param {mat3} out the receiving 3x3 matrix\n * @param {mat4} a the source 4x4 matrix\n * @returns {mat3} out\n */\n\n\nfunction fromMat4(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[4];\n out[4] = a[5];\n out[5] = a[6];\n out[6] = a[8];\n out[7] = a[9];\n out[8] = a[10];\n return out;\n}\n/**\n * Creates a new mat3 initialized with values from an existing matrix\n *\n * @param {mat3} a matrix to clone\n * @returns {mat3} a new 3x3 matrix\n */\n\n\nfunction clone(a) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\n * Copy the values from one mat3 to another\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n out[3] = a[3];\n out[4] = a[4];\n out[5] = a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\n * Create a new mat3 with the given values\n *\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\n * @returns {mat3} A new mat3\n */\n\n\nfunction fromValues(m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n var out = new glMatrix.ARRAY_TYPE(9);\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\n * Set the components of a mat3 to the given values\n *\n * @param {mat3} out the receiving matrix\n * @param {Number} m00 Component in column 0, row 0 position (index 0)\n * @param {Number} m01 Component in column 0, row 1 position (index 1)\n * @param {Number} m02 Component in column 0, row 2 position (index 2)\n * @param {Number} m10 Component in column 1, row 0 position (index 3)\n * @param {Number} m11 Component in column 1, row 1 position (index 4)\n * @param {Number} m12 Component in column 1, row 2 position (index 5)\n * @param {Number} m20 Component in column 2, row 0 position (index 6)\n * @param {Number} m21 Component in column 2, row 1 position (index 7)\n * @param {Number} m22 Component in column 2, row 2 position (index 8)\n * @returns {mat3} out\n */\n\n\nfunction set(out, m00, m01, m02, m10, m11, m12, m20, m21, m22) {\n out[0] = m00;\n out[1] = m01;\n out[2] = m02;\n out[3] = m10;\n out[4] = m11;\n out[5] = m12;\n out[6] = m20;\n out[7] = m21;\n out[8] = m22;\n return out;\n}\n/**\n * Set a mat3 to the identity matrix\n *\n * @param {mat3} out the receiving matrix\n * @returns {mat3} out\n */\n\n\nfunction identity(out) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\n * Transpose the values of a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction transpose(out, a) {\n // If we are transposing ourselves we can skip a few steps but have to cache some values\n if (out === a) {\n var a01 = a[1],\n a02 = a[2],\n a12 = a[5];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a01;\n out[5] = a[7];\n out[6] = a02;\n out[7] = a12;\n } else {\n out[0] = a[0];\n out[1] = a[3];\n out[2] = a[6];\n out[3] = a[1];\n out[4] = a[4];\n out[5] = a[7];\n out[6] = a[2];\n out[7] = a[5];\n out[8] = a[8];\n }\n\n return out;\n}\n/**\n * Inverts a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction invert(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b01 = a22 * a11 - a12 * a21;\n var b11 = -a22 * a10 + a12 * a20;\n var b21 = a21 * a10 - a11 * a20; // Calculate the determinant\n\n var det = a00 * b01 + a01 * b11 + a02 * b21;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = b01 * det;\n out[1] = (-a22 * a01 + a02 * a21) * det;\n out[2] = (a12 * a01 - a02 * a11) * det;\n out[3] = b11 * det;\n out[4] = (a22 * a00 - a02 * a20) * det;\n out[5] = (-a12 * a00 + a02 * a10) * det;\n out[6] = b21 * det;\n out[7] = (-a21 * a00 + a01 * a20) * det;\n out[8] = (a11 * a00 - a01 * a10) * det;\n return out;\n}\n/**\n * Calculates the adjugate of a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the source matrix\n * @returns {mat3} out\n */\n\n\nfunction adjoint(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n out[0] = a11 * a22 - a12 * a21;\n out[1] = a02 * a21 - a01 * a22;\n out[2] = a01 * a12 - a02 * a11;\n out[3] = a12 * a20 - a10 * a22;\n out[4] = a00 * a22 - a02 * a20;\n out[5] = a02 * a10 - a00 * a12;\n out[6] = a10 * a21 - a11 * a20;\n out[7] = a01 * a20 - a00 * a21;\n out[8] = a00 * a11 - a01 * a10;\n return out;\n}\n/**\n * Calculates the determinant of a mat3\n *\n * @param {mat3} a the source matrix\n * @returns {Number} determinant of a\n */\n\n\nfunction determinant(a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n return a00 * (a22 * a11 - a12 * a21) + a01 * (-a22 * a10 + a12 * a20) + a02 * (a21 * a10 - a11 * a20);\n}\n/**\n * Multiplies two mat3's\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @returns {mat3} out\n */\n\n\nfunction multiply(out, a, b) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2];\n var a10 = a[3],\n a11 = a[4],\n a12 = a[5];\n var a20 = a[6],\n a21 = a[7],\n a22 = a[8];\n var b00 = b[0],\n b01 = b[1],\n b02 = b[2];\n var b10 = b[3],\n b11 = b[4],\n b12 = b[5];\n var b20 = b[6],\n b21 = b[7],\n b22 = b[8];\n out[0] = b00 * a00 + b01 * a10 + b02 * a20;\n out[1] = b00 * a01 + b01 * a11 + b02 * a21;\n out[2] = b00 * a02 + b01 * a12 + b02 * a22;\n out[3] = b10 * a00 + b11 * a10 + b12 * a20;\n out[4] = b10 * a01 + b11 * a11 + b12 * a21;\n out[5] = b10 * a02 + b11 * a12 + b12 * a22;\n out[6] = b20 * a00 + b21 * a10 + b22 * a20;\n out[7] = b20 * a01 + b21 * a11 + b22 * a21;\n out[8] = b20 * a02 + b21 * a12 + b22 * a22;\n return out;\n}\n/**\n * Translate a mat3 by the given vector\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to translate\n * @param {vec2} v vector to translate by\n * @returns {mat3} out\n */\n\n\nfunction translate(out, a, v) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n x = v[0],\n y = v[1];\n out[0] = a00;\n out[1] = a01;\n out[2] = a02;\n out[3] = a10;\n out[4] = a11;\n out[5] = a12;\n out[6] = x * a00 + y * a10 + a20;\n out[7] = x * a01 + y * a11 + a21;\n out[8] = x * a02 + y * a12 + a22;\n return out;\n}\n/**\n * Rotates a mat3 by the given angle\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to rotate\n * @param {Number} rad the angle to rotate the matrix by\n * @returns {mat3} out\n */\n\n\nfunction rotate(out, a, rad) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a10 = a[3],\n a11 = a[4],\n a12 = a[5],\n a20 = a[6],\n a21 = a[7],\n a22 = a[8],\n s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c * a00 + s * a10;\n out[1] = c * a01 + s * a11;\n out[2] = c * a02 + s * a12;\n out[3] = c * a10 - s * a00;\n out[4] = c * a11 - s * a01;\n out[5] = c * a12 - s * a02;\n out[6] = a20;\n out[7] = a21;\n out[8] = a22;\n return out;\n}\n\n;\n/**\n * Scales the mat3 by the dimensions in the given vec2\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to rotate\n * @param {vec2} v the vec2 to scale the matrix by\n * @returns {mat3} out\n **/\n\nfunction scale(out, a, v) {\n var x = v[0],\n y = v[1];\n out[0] = x * a[0];\n out[1] = x * a[1];\n out[2] = x * a[2];\n out[3] = y * a[3];\n out[4] = y * a[4];\n out[5] = y * a[5];\n out[6] = a[6];\n out[7] = a[7];\n out[8] = a[8];\n return out;\n}\n/**\n * Creates a matrix from a vector translation\n * This is equivalent to (but much faster than):\n *\n * mat3.identity(dest);\n * mat3.translate(dest, dest, vec);\n *\n * @param {mat3} out mat3 receiving operation result\n * @param {vec2} v Translation vector\n * @returns {mat3} out\n */\n\n\nfunction fromTranslation(out, v) {\n out[0] = 1;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = 1;\n out[5] = 0;\n out[6] = v[0];\n out[7] = v[1];\n out[8] = 1;\n return out;\n}\n/**\n * Creates a matrix from a given angle\n * This is equivalent to (but much faster than):\n *\n * mat3.identity(dest);\n * mat3.rotate(dest, dest, rad);\n *\n * @param {mat3} out mat3 receiving operation result\n * @param {Number} rad the angle to rotate the matrix by\n * @returns {mat3} out\n */\n\n\nfunction fromRotation(out, rad) {\n var s = Math.sin(rad),\n c = Math.cos(rad);\n out[0] = c;\n out[1] = s;\n out[2] = 0;\n out[3] = -s;\n out[4] = c;\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\n * Creates a matrix from a vector scaling\n * This is equivalent to (but much faster than):\n *\n * mat3.identity(dest);\n * mat3.scale(dest, dest, vec);\n *\n * @param {mat3} out mat3 receiving operation result\n * @param {vec2} v Scaling vector\n * @returns {mat3} out\n */\n\n\nfunction fromScaling(out, v) {\n out[0] = v[0];\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = v[1];\n out[5] = 0;\n out[6] = 0;\n out[7] = 0;\n out[8] = 1;\n return out;\n}\n/**\n * Copies the values from a mat2d into a mat3\n *\n * @param {mat3} out the receiving matrix\n * @param {mat2d} a the matrix to copy\n * @returns {mat3} out\n **/\n\n\nfunction fromMat2d(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = 0;\n out[3] = a[2];\n out[4] = a[3];\n out[5] = 0;\n out[6] = a[4];\n out[7] = a[5];\n out[8] = 1;\n return out;\n}\n/**\n* Calculates a 3x3 matrix from the given quaternion\n*\n* @param {mat3} out mat3 receiving operation result\n* @param {quat} q Quaternion to create matrix from\n*\n* @returns {mat3} out\n*/\n\n\nfunction fromQuat(out, q) {\n var x = q[0],\n y = q[1],\n z = q[2],\n w = q[3];\n var x2 = x + x;\n var y2 = y + y;\n var z2 = z + z;\n var xx = x * x2;\n var yx = y * x2;\n var yy = y * y2;\n var zx = z * x2;\n var zy = z * y2;\n var zz = z * z2;\n var wx = w * x2;\n var wy = w * y2;\n var wz = w * z2;\n out[0] = 1 - yy - zz;\n out[3] = yx - wz;\n out[6] = zx + wy;\n out[1] = yx + wz;\n out[4] = 1 - xx - zz;\n out[7] = zy - wx;\n out[2] = zx - wy;\n out[5] = zy + wx;\n out[8] = 1 - xx - yy;\n return out;\n}\n/**\n* Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix\n*\n* @param {mat3} out mat3 receiving operation result\n* @param {mat4} a Mat4 to derive the normal matrix from\n*\n* @returns {mat3} out\n*/\n\n\nfunction normalFromMat4(out, a) {\n var a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3];\n var a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7];\n var a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11];\n var a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n var b00 = a00 * a11 - a01 * a10;\n var b01 = a00 * a12 - a02 * a10;\n var b02 = a00 * a13 - a03 * a10;\n var b03 = a01 * a12 - a02 * a11;\n var b04 = a01 * a13 - a03 * a11;\n var b05 = a02 * a13 - a03 * a12;\n var b06 = a20 * a31 - a21 * a30;\n var b07 = a20 * a32 - a22 * a30;\n var b08 = a20 * a33 - a23 * a30;\n var b09 = a21 * a32 - a22 * a31;\n var b10 = a21 * a33 - a23 * a31;\n var b11 = a22 * a33 - a23 * a32; // Calculate the determinant\n\n var det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n if (!det) {\n return null;\n }\n\n det = 1.0 / det;\n out[0] = (a11 * b11 - a12 * b10 + a13 * b09) * det;\n out[1] = (a12 * b08 - a10 * b11 - a13 * b07) * det;\n out[2] = (a10 * b10 - a11 * b08 + a13 * b06) * det;\n out[3] = (a02 * b10 - a01 * b11 - a03 * b09) * det;\n out[4] = (a00 * b11 - a02 * b08 + a03 * b07) * det;\n out[5] = (a01 * b08 - a00 * b10 - a03 * b06) * det;\n out[6] = (a31 * b05 - a32 * b04 + a33 * b03) * det;\n out[7] = (a32 * b02 - a30 * b05 - a33 * b01) * det;\n out[8] = (a30 * b04 - a31 * b02 + a33 * b00) * det;\n return out;\n}\n/**\n * Generates a 2D projection matrix with the given bounds\n *\n * @param {mat3} out mat3 frustum matrix will be written into\n * @param {number} width Width of your gl context\n * @param {number} height Height of gl context\n * @returns {mat3} out\n */\n\n\nfunction projection(out, width, height) {\n out[0] = 2 / width;\n out[1] = 0;\n out[2] = 0;\n out[3] = 0;\n out[4] = -2 / height;\n out[5] = 0;\n out[6] = -1;\n out[7] = 1;\n out[8] = 1;\n return out;\n}\n/**\n * Returns a string representation of a mat3\n *\n * @param {mat3} a matrix to represent as a string\n * @returns {String} string representation of the matrix\n */\n\n\nfunction str(a) {\n return 'mat3(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' + a[3] + ', ' + a[4] + ', ' + a[5] + ', ' + a[6] + ', ' + a[7] + ', ' + a[8] + ')';\n}\n/**\n * Returns Frobenius norm of a mat3\n *\n * @param {mat3} a the matrix to calculate Frobenius norm of\n * @returns {Number} Frobenius norm\n */\n\n\nfunction frob(a) {\n return Math.sqrt(Math.pow(a[0], 2) + Math.pow(a[1], 2) + Math.pow(a[2], 2) + Math.pow(a[3], 2) + Math.pow(a[4], 2) + Math.pow(a[5], 2) + Math.pow(a[6], 2) + Math.pow(a[7], 2) + Math.pow(a[8], 2));\n}\n/**\n * Adds two mat3's\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @returns {mat3} out\n */\n\n\nfunction add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n out[3] = a[3] + b[3];\n out[4] = a[4] + b[4];\n out[5] = a[5] + b[5];\n out[6] = a[6] + b[6];\n out[7] = a[7] + b[7];\n out[8] = a[8] + b[8];\n return out;\n}\n/**\n * Subtracts matrix b from matrix a\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @returns {mat3} out\n */\n\n\nfunction subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n out[3] = a[3] - b[3];\n out[4] = a[4] - b[4];\n out[5] = a[5] - b[5];\n out[6] = a[6] - b[6];\n out[7] = a[7] - b[7];\n out[8] = a[8] - b[8];\n return out;\n}\n/**\n * Multiply each element of the matrix by a scalar.\n *\n * @param {mat3} out the receiving matrix\n * @param {mat3} a the matrix to scale\n * @param {Number} b amount to scale the matrix's elements by\n * @returns {mat3} out\n */\n\n\nfunction multiplyScalar(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n out[3] = a[3] * b;\n out[4] = a[4] * b;\n out[5] = a[5] * b;\n out[6] = a[6] * b;\n out[7] = a[7] * b;\n out[8] = a[8] * b;\n return out;\n}\n/**\n * Adds two mat3's after multiplying each element of the second operand by a scalar value.\n *\n * @param {mat3} out the receiving vector\n * @param {mat3} a the first operand\n * @param {mat3} b the second operand\n * @param {Number} scale the amount to scale b's elements by before adding\n * @returns {mat3} out\n */\n\n\nfunction multiplyScalarAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n out[3] = a[3] + b[3] * scale;\n out[4] = a[4] + b[4] * scale;\n out[5] = a[5] + b[5] * scale;\n out[6] = a[6] + b[6] * scale;\n out[7] = a[7] + b[7] * scale;\n out[8] = a[8] + b[8] * scale;\n return out;\n}\n/**\n * Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)\n *\n * @param {mat3} a The first matrix.\n * @param {mat3} b The second matrix.\n * @returns {Boolean} True if the matrices are equal, false otherwise.\n */\n\n\nfunction exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3] && a[4] === b[4] && a[5] === b[5] && a[6] === b[6] && a[7] === b[7] && a[8] === b[8];\n}\n/**\n * Returns whether or not the matrices have approximately the same elements in the same position.\n *\n * @param {mat3} a The first matrix.\n * @param {mat3} b The second matrix.\n * @returns {Boolean} True if the matrices are equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2],\n a3 = a[3],\n a4 = a[4],\n a5 = a[5],\n a6 = a[6],\n a7 = a[7],\n a8 = a[8];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3],\n b4 = b[4],\n b5 = b[5],\n b6 = b[6],\n b7 = b[7],\n b8 = b[8];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2)) && Math.abs(a3 - b3) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a3), Math.abs(b3)) && Math.abs(a4 - b4) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a4), Math.abs(b4)) && Math.abs(a5 - b5) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a5), Math.abs(b5)) && Math.abs(a6 - b6) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a6), Math.abs(b6)) && Math.abs(a7 - b7) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a7), Math.abs(b7)) && Math.abs(a8 - b8) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a8), Math.abs(b8));\n}\n/**\n * Alias for {@link mat3.multiply}\n * @function\n */\n\n\nvar mul = exports.mul = multiply;\n/**\n * Alias for {@link mat3.subtract}\n * @function\n */\n\nvar sub = exports.sub = subtract;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/mat3.js\n// module id = 129\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.forEach = exports.sqrLen = exports.sqrDist = exports.dist = exports.div = exports.mul = exports.sub = exports.len = undefined;\nexports.create = create;\nexports.clone = clone;\nexports.fromValues = fromValues;\nexports.copy = copy;\nexports.set = set;\nexports.add = add;\nexports.subtract = subtract;\nexports.multiply = multiply;\nexports.divide = divide;\nexports.ceil = ceil;\nexports.floor = floor;\nexports.min = min;\nexports.max = max;\nexports.round = round;\nexports.scale = scale;\nexports.scaleAndAdd = scaleAndAdd;\nexports.distance = distance;\nexports.squaredDistance = squaredDistance;\nexports.length = length;\nexports.squaredLength = squaredLength;\nexports.negate = negate;\nexports.inverse = inverse;\nexports.normalize = normalize;\nexports.dot = dot;\nexports.cross = cross;\nexports.lerp = lerp;\nexports.random = random;\nexports.transformMat2 = transformMat2;\nexports.transformMat2d = transformMat2d;\nexports.transformMat3 = transformMat3;\nexports.transformMat4 = transformMat4;\nexports.rotate = rotate;\nexports.angle = angle;\nexports.str = str;\nexports.exactEquals = exactEquals;\nexports.equals = equals;\n\nvar _common = require('./common.js');\n\nvar glMatrix = _interopRequireWildcard(_common);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n/**\n * 2 Dimensional Vector\n * @module vec2\n */\n\n/**\n * Creates a new, empty vec2\n *\n * @returns {vec2} a new 2D vector\n */\n\n\nfunction create() {\n var out = new glMatrix.ARRAY_TYPE(2);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n }\n\n return out;\n}\n/**\n * Creates a new vec2 initialized with values from an existing vector\n *\n * @param {vec2} a vector to clone\n * @returns {vec2} a new 2D vector\n */\n\n\nfunction clone(a) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\n * Creates a new vec2 initialized with the given values\n *\n * @param {Number} x X component\n * @param {Number} y Y component\n * @returns {vec2} a new 2D vector\n */\n\n\nfunction fromValues(x, y) {\n var out = new glMatrix.ARRAY_TYPE(2);\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\n * Copy the values from one vec2 to another\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the source vector\n * @returns {vec2} out\n */\n\n\nfunction copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n return out;\n}\n/**\n * Set the components of a vec2 to the given values\n *\n * @param {vec2} out the receiving vector\n * @param {Number} x X component\n * @param {Number} y Y component\n * @returns {vec2} out\n */\n\n\nfunction set(out, x, y) {\n out[0] = x;\n out[1] = y;\n return out;\n}\n/**\n * Adds two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n return out;\n}\n/**\n * Subtracts vector b from vector a\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n return out;\n}\n/**\n * Multiplies two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n return out;\n}\n/**\n * Divides two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n return out;\n}\n/**\n * Math.ceil the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to ceil\n * @returns {vec2} out\n */\n\n\nfunction ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n return out;\n}\n/**\n * Math.floor the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to floor\n * @returns {vec2} out\n */\n\n\nfunction floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n return out;\n}\n/**\n * Returns the minimum of two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n return out;\n}\n/**\n * Returns the maximum of two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec2} out\n */\n\n\nfunction max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n return out;\n}\n/**\n * Math.round the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to round\n * @returns {vec2} out\n */\n\n\nfunction round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n return out;\n}\n/**\n * Scales a vec2 by a scalar number\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to scale\n * @param {Number} b amount to scale the vector by\n * @returns {vec2} out\n */\n\n\nfunction scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n return out;\n}\n/**\n * Adds two vec2's after scaling the second operand by a scalar value\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @param {Number} scale the amount to scale b by before adding\n * @returns {vec2} out\n */\n\n\nfunction scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n return out;\n}\n/**\n * Calculates the euclidian distance between two vec2's\n *\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {Number} distance between a and b\n */\n\n\nfunction distance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return Math.sqrt(x * x + y * y);\n}\n/**\n * Calculates the squared euclidian distance between two vec2's\n *\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {Number} squared distance between a and b\n */\n\n\nfunction squaredDistance(a, b) {\n var x = b[0] - a[0],\n y = b[1] - a[1];\n return x * x + y * y;\n}\n/**\n * Calculates the length of a vec2\n *\n * @param {vec2} a vector to calculate length of\n * @returns {Number} length of a\n */\n\n\nfunction length(a) {\n var x = a[0],\n y = a[1];\n return Math.sqrt(x * x + y * y);\n}\n/**\n * Calculates the squared length of a vec2\n *\n * @param {vec2} a vector to calculate squared length of\n * @returns {Number} squared length of a\n */\n\n\nfunction squaredLength(a) {\n var x = a[0],\n y = a[1];\n return x * x + y * y;\n}\n/**\n * Negates the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to negate\n * @returns {vec2} out\n */\n\n\nfunction negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n return out;\n}\n/**\n * Returns the inverse of the components of a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to invert\n * @returns {vec2} out\n */\n\n\nfunction inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n return out;\n}\n/**\n * Normalize a vec2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a vector to normalize\n * @returns {vec2} out\n */\n\n\nfunction normalize(out, a) {\n var x = a[0],\n y = a[1];\n var len = x * x + y * y;\n\n if (len > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len = 1 / Math.sqrt(len);\n out[0] = a[0] * len;\n out[1] = a[1] * len;\n }\n\n return out;\n}\n/**\n * Calculates the dot product of two vec2's\n *\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {Number} dot product of a and b\n */\n\n\nfunction dot(a, b) {\n return a[0] * b[0] + a[1] * b[1];\n}\n/**\n * Computes the cross product of two vec2's\n * Note that the cross product must by definition produce a 3D vector\n *\n * @param {vec3} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction cross(out, a, b) {\n var z = a[0] * b[1] - a[1] * b[0];\n out[0] = out[1] = 0;\n out[2] = z;\n return out;\n}\n/**\n * Performs a linear interpolation between two vec2's\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the first operand\n * @param {vec2} b the second operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec2} out\n */\n\n\nfunction lerp(out, a, b, t) {\n var ax = a[0],\n ay = a[1];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n return out;\n}\n/**\n * Generates a random vector with the given scale\n *\n * @param {vec2} out the receiving vector\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\n * @returns {vec2} out\n */\n\n\nfunction random(out, scale) {\n scale = scale || 1.0;\n var r = glMatrix.RANDOM() * 2.0 * Math.PI;\n out[0] = Math.cos(r) * scale;\n out[1] = Math.sin(r) * scale;\n return out;\n}\n/**\n * Transforms the vec2 with a mat2\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat2} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat2(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y;\n out[1] = m[1] * x + m[3] * y;\n return out;\n}\n/**\n * Transforms the vec2 with a mat2d\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat2d} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat2d(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[2] * y + m[4];\n out[1] = m[1] * x + m[3] * y + m[5];\n return out;\n}\n/**\n * Transforms the vec2 with a mat3\n * 3rd vector component is implicitly '1'\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat3} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat3(out, a, m) {\n var x = a[0],\n y = a[1];\n out[0] = m[0] * x + m[3] * y + m[6];\n out[1] = m[1] * x + m[4] * y + m[7];\n return out;\n}\n/**\n * Transforms the vec2 with a mat4\n * 3rd vector component is implicitly '0'\n * 4th vector component is implicitly '1'\n *\n * @param {vec2} out the receiving vector\n * @param {vec2} a the vector to transform\n * @param {mat4} m matrix to transform with\n * @returns {vec2} out\n */\n\n\nfunction transformMat4(out, a, m) {\n var x = a[0];\n var y = a[1];\n out[0] = m[0] * x + m[4] * y + m[12];\n out[1] = m[1] * x + m[5] * y + m[13];\n return out;\n}\n/**\n * Rotate a 2D vector\n * @param {vec2} out The receiving vec2\n * @param {vec2} a The vec2 point to rotate\n * @param {vec2} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec2} out\n */\n\n\nfunction rotate(out, a, b, c) {\n //Translate point to the origin\n var p0 = a[0] - b[0],\n p1 = a[1] - b[1],\n sinC = Math.sin(c),\n cosC = Math.cos(c); //perform rotation and translate to correct position\n\n out[0] = p0 * cosC - p1 * sinC + b[0];\n out[1] = p0 * sinC + p1 * cosC + b[1];\n return out;\n}\n/**\n * Get the angle between two 2D vectors\n * @param {vec2} a The first operand\n * @param {vec2} b The second operand\n * @returns {Number} The angle in radians\n */\n\n\nfunction angle(a, b) {\n var x1 = a[0],\n y1 = a[1],\n x2 = b[0],\n y2 = b[1];\n var len1 = x1 * x1 + y1 * y1;\n\n if (len1 > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len1 = 1 / Math.sqrt(len1);\n }\n\n var len2 = x2 * x2 + y2 * y2;\n\n if (len2 > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len2 = 1 / Math.sqrt(len2);\n }\n\n var cosine = (x1 * x2 + y1 * y2) * len1 * len2;\n\n if (cosine > 1.0) {\n return 0;\n } else if (cosine < -1.0) {\n return Math.PI;\n } else {\n return Math.acos(cosine);\n }\n}\n/**\n * Returns a string representation of a vector\n *\n * @param {vec2} a vector to represent as a string\n * @returns {String} string representation of the vector\n */\n\n\nfunction str(a) {\n return 'vec2(' + a[0] + ', ' + a[1] + ')';\n}\n/**\n * Returns whether or not the vectors exactly have the same elements in the same position (when compared with ===)\n *\n * @param {vec2} a The first vector.\n * @param {vec2} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1];\n}\n/**\n * Returns whether or not the vectors have approximately the same elements in the same position.\n *\n * @param {vec2} a The first vector.\n * @param {vec2} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n var a0 = a[0],\n a1 = a[1];\n var b0 = b[0],\n b1 = b[1];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1));\n}\n/**\n * Alias for {@link vec2.length}\n * @function\n */\n\n\nvar len = exports.len = length;\n/**\n * Alias for {@link vec2.subtract}\n * @function\n */\n\nvar sub = exports.sub = subtract;\n/**\n * Alias for {@link vec2.multiply}\n * @function\n */\n\nvar mul = exports.mul = multiply;\n/**\n * Alias for {@link vec2.divide}\n * @function\n */\n\nvar div = exports.div = divide;\n/**\n * Alias for {@link vec2.distance}\n * @function\n */\n\nvar dist = exports.dist = distance;\n/**\n * Alias for {@link vec2.squaredDistance}\n * @function\n */\n\nvar sqrDist = exports.sqrDist = squaredDistance;\n/**\n * Alias for {@link vec2.squaredLength}\n * @function\n */\n\nvar sqrLen = exports.sqrLen = squaredLength;\n/**\n * Perform some operation over an array of vec2s.\n *\n * @param {Array} a the array of vectors to iterate over\n * @param {Number} stride Number of elements between the start of each vec2. If 0 assumes tightly packed\n * @param {Number} offset Number of elements to skip at the beginning of the array\n * @param {Number} count Number of vec2s to iterate over. If 0 iterates over entire array\n * @param {Function} fn Function to call for each vector in the array\n * @param {Object} [arg] additional argument to pass to fn\n * @returns {Array} a\n * @function\n */\n\nvar forEach = exports.forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i = void 0,\n l = void 0;\n\n if (!stride) {\n stride = 2;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n }\n\n return a;\n };\n}();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec2.js\n// module id = 130\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.forEach = exports.sqrLen = exports.len = exports.sqrDist = exports.dist = exports.div = exports.mul = exports.sub = undefined;\nexports.create = create;\nexports.clone = clone;\nexports.length = length;\nexports.fromValues = fromValues;\nexports.copy = copy;\nexports.set = set;\nexports.add = add;\nexports.subtract = subtract;\nexports.multiply = multiply;\nexports.divide = divide;\nexports.ceil = ceil;\nexports.floor = floor;\nexports.min = min;\nexports.max = max;\nexports.round = round;\nexports.scale = scale;\nexports.scaleAndAdd = scaleAndAdd;\nexports.distance = distance;\nexports.squaredDistance = squaredDistance;\nexports.squaredLength = squaredLength;\nexports.negate = negate;\nexports.inverse = inverse;\nexports.normalize = normalize;\nexports.dot = dot;\nexports.cross = cross;\nexports.lerp = lerp;\nexports.hermite = hermite;\nexports.bezier = bezier;\nexports.random = random;\nexports.transformMat4 = transformMat4;\nexports.transformMat3 = transformMat3;\nexports.transformQuat = transformQuat;\nexports.rotateX = rotateX;\nexports.rotateY = rotateY;\nexports.rotateZ = rotateZ;\nexports.angle = angle;\nexports.str = str;\nexports.exactEquals = exactEquals;\nexports.equals = equals;\n\nvar _common = require('./common.js');\n\nvar glMatrix = _interopRequireWildcard(_common);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n/**\n * 3 Dimensional Vector\n * @module vec3\n */\n\n/**\n * Creates a new, empty vec3\n *\n * @returns {vec3} a new 3D vector\n */\n\n\nfunction create() {\n var out = new glMatrix.ARRAY_TYPE(3);\n\n if (glMatrix.ARRAY_TYPE != Float32Array) {\n out[0] = 0;\n out[1] = 0;\n out[2] = 0;\n }\n\n return out;\n}\n/**\n * Creates a new vec3 initialized with values from an existing vector\n *\n * @param {vec3} a vector to clone\n * @returns {vec3} a new 3D vector\n */\n\n\nfunction clone(a) {\n var out = new glMatrix.ARRAY_TYPE(3);\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n return out;\n}\n/**\n * Calculates the length of a vec3\n *\n * @param {vec3} a vector to calculate length of\n * @returns {Number} length of a\n */\n\n\nfunction length(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n return Math.sqrt(x * x + y * y + z * z);\n}\n/**\n * Creates a new vec3 initialized with the given values\n *\n * @param {Number} x X component\n * @param {Number} y Y component\n * @param {Number} z Z component\n * @returns {vec3} a new 3D vector\n */\n\n\nfunction fromValues(x, y, z) {\n var out = new glMatrix.ARRAY_TYPE(3);\n out[0] = x;\n out[1] = y;\n out[2] = z;\n return out;\n}\n/**\n * Copy the values from one vec3 to another\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the source vector\n * @returns {vec3} out\n */\n\n\nfunction copy(out, a) {\n out[0] = a[0];\n out[1] = a[1];\n out[2] = a[2];\n return out;\n}\n/**\n * Set the components of a vec3 to the given values\n *\n * @param {vec3} out the receiving vector\n * @param {Number} x X component\n * @param {Number} y Y component\n * @param {Number} z Z component\n * @returns {vec3} out\n */\n\n\nfunction set(out, x, y, z) {\n out[0] = x;\n out[1] = y;\n out[2] = z;\n return out;\n}\n/**\n * Adds two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction add(out, a, b) {\n out[0] = a[0] + b[0];\n out[1] = a[1] + b[1];\n out[2] = a[2] + b[2];\n return out;\n}\n/**\n * Subtracts vector b from vector a\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction subtract(out, a, b) {\n out[0] = a[0] - b[0];\n out[1] = a[1] - b[1];\n out[2] = a[2] - b[2];\n return out;\n}\n/**\n * Multiplies two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction multiply(out, a, b) {\n out[0] = a[0] * b[0];\n out[1] = a[1] * b[1];\n out[2] = a[2] * b[2];\n return out;\n}\n/**\n * Divides two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction divide(out, a, b) {\n out[0] = a[0] / b[0];\n out[1] = a[1] / b[1];\n out[2] = a[2] / b[2];\n return out;\n}\n/**\n * Math.ceil the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to ceil\n * @returns {vec3} out\n */\n\n\nfunction ceil(out, a) {\n out[0] = Math.ceil(a[0]);\n out[1] = Math.ceil(a[1]);\n out[2] = Math.ceil(a[2]);\n return out;\n}\n/**\n * Math.floor the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to floor\n * @returns {vec3} out\n */\n\n\nfunction floor(out, a) {\n out[0] = Math.floor(a[0]);\n out[1] = Math.floor(a[1]);\n out[2] = Math.floor(a[2]);\n return out;\n}\n/**\n * Returns the minimum of two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction min(out, a, b) {\n out[0] = Math.min(a[0], b[0]);\n out[1] = Math.min(a[1], b[1]);\n out[2] = Math.min(a[2], b[2]);\n return out;\n}\n/**\n * Returns the maximum of two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction max(out, a, b) {\n out[0] = Math.max(a[0], b[0]);\n out[1] = Math.max(a[1], b[1]);\n out[2] = Math.max(a[2], b[2]);\n return out;\n}\n/**\n * Math.round the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to round\n * @returns {vec3} out\n */\n\n\nfunction round(out, a) {\n out[0] = Math.round(a[0]);\n out[1] = Math.round(a[1]);\n out[2] = Math.round(a[2]);\n return out;\n}\n/**\n * Scales a vec3 by a scalar number\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to scale\n * @param {Number} b amount to scale the vector by\n * @returns {vec3} out\n */\n\n\nfunction scale(out, a, b) {\n out[0] = a[0] * b;\n out[1] = a[1] * b;\n out[2] = a[2] * b;\n return out;\n}\n/**\n * Adds two vec3's after scaling the second operand by a scalar value\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {Number} scale the amount to scale b by before adding\n * @returns {vec3} out\n */\n\n\nfunction scaleAndAdd(out, a, b, scale) {\n out[0] = a[0] + b[0] * scale;\n out[1] = a[1] + b[1] * scale;\n out[2] = a[2] + b[2] * scale;\n return out;\n}\n/**\n * Calculates the euclidian distance between two vec3's\n *\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {Number} distance between a and b\n */\n\n\nfunction distance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n return Math.sqrt(x * x + y * y + z * z);\n}\n/**\n * Calculates the squared euclidian distance between two vec3's\n *\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {Number} squared distance between a and b\n */\n\n\nfunction squaredDistance(a, b) {\n var x = b[0] - a[0];\n var y = b[1] - a[1];\n var z = b[2] - a[2];\n return x * x + y * y + z * z;\n}\n/**\n * Calculates the squared length of a vec3\n *\n * @param {vec3} a vector to calculate squared length of\n * @returns {Number} squared length of a\n */\n\n\nfunction squaredLength(a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n return x * x + y * y + z * z;\n}\n/**\n * Negates the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to negate\n * @returns {vec3} out\n */\n\n\nfunction negate(out, a) {\n out[0] = -a[0];\n out[1] = -a[1];\n out[2] = -a[2];\n return out;\n}\n/**\n * Returns the inverse of the components of a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to invert\n * @returns {vec3} out\n */\n\n\nfunction inverse(out, a) {\n out[0] = 1.0 / a[0];\n out[1] = 1.0 / a[1];\n out[2] = 1.0 / a[2];\n return out;\n}\n/**\n * Normalize a vec3\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a vector to normalize\n * @returns {vec3} out\n */\n\n\nfunction normalize(out, a) {\n var x = a[0];\n var y = a[1];\n var z = a[2];\n var len = x * x + y * y + z * z;\n\n if (len > 0) {\n //TODO: evaluate use of glm_invsqrt here?\n len = 1 / Math.sqrt(len);\n out[0] = a[0] * len;\n out[1] = a[1] * len;\n out[2] = a[2] * len;\n }\n\n return out;\n}\n/**\n * Calculates the dot product of two vec3's\n *\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {Number} dot product of a and b\n */\n\n\nfunction dot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n/**\n * Computes the cross product of two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @returns {vec3} out\n */\n\n\nfunction cross(out, a, b) {\n var ax = a[0],\n ay = a[1],\n az = a[2];\n var bx = b[0],\n by = b[1],\n bz = b[2];\n out[0] = ay * bz - az * by;\n out[1] = az * bx - ax * bz;\n out[2] = ax * by - ay * bx;\n return out;\n}\n/**\n * Performs a linear interpolation between two vec3's\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec3} out\n */\n\n\nfunction lerp(out, a, b, t) {\n var ax = a[0];\n var ay = a[1];\n var az = a[2];\n out[0] = ax + t * (b[0] - ax);\n out[1] = ay + t * (b[1] - ay);\n out[2] = az + t * (b[2] - az);\n return out;\n}\n/**\n * Performs a hermite interpolation with two control points\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {vec3} c the third operand\n * @param {vec3} d the fourth operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec3} out\n */\n\n\nfunction hermite(out, a, b, c, d, t) {\n var factorTimes2 = t * t;\n var factor1 = factorTimes2 * (2 * t - 3) + 1;\n var factor2 = factorTimes2 * (t - 2) + t;\n var factor3 = factorTimes2 * (t - 1);\n var factor4 = factorTimes2 * (3 - 2 * t);\n out[0] = a[0] * factor1 + b[0] * factor2 + c[0] * factor3 + d[0] * factor4;\n out[1] = a[1] * factor1 + b[1] * factor2 + c[1] * factor3 + d[1] * factor4;\n out[2] = a[2] * factor1 + b[2] * factor2 + c[2] * factor3 + d[2] * factor4;\n return out;\n}\n/**\n * Performs a bezier interpolation with two control points\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the first operand\n * @param {vec3} b the second operand\n * @param {vec3} c the third operand\n * @param {vec3} d the fourth operand\n * @param {Number} t interpolation amount, in the range [0-1], between the two inputs\n * @returns {vec3} out\n */\n\n\nfunction bezier(out, a, b, c, d, t) {\n var inverseFactor = 1 - t;\n var inverseFactorTimesTwo = inverseFactor * inverseFactor;\n var factorTimes2 = t * t;\n var factor1 = inverseFactorTimesTwo * inverseFactor;\n var factor2 = 3 * t * inverseFactorTimesTwo;\n var factor3 = 3 * factorTimes2 * inverseFactor;\n var factor4 = factorTimes2 * t;\n out[0] = a[0] * factor1 + b[0] * factor2 + c[0] * factor3 + d[0] * factor4;\n out[1] = a[1] * factor1 + b[1] * factor2 + c[1] * factor3 + d[1] * factor4;\n out[2] = a[2] * factor1 + b[2] * factor2 + c[2] * factor3 + d[2] * factor4;\n return out;\n}\n/**\n * Generates a random vector with the given scale\n *\n * @param {vec3} out the receiving vector\n * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned\n * @returns {vec3} out\n */\n\n\nfunction random(out, scale) {\n scale = scale || 1.0;\n var r = glMatrix.RANDOM() * 2.0 * Math.PI;\n var z = glMatrix.RANDOM() * 2.0 - 1.0;\n var zScale = Math.sqrt(1.0 - z * z) * scale;\n out[0] = Math.cos(r) * zScale;\n out[1] = Math.sin(r) * zScale;\n out[2] = z * scale;\n return out;\n}\n/**\n * Transforms the vec3 with a mat4.\n * 4th vector component is implicitly '1'\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to transform\n * @param {mat4} m matrix to transform with\n * @returns {vec3} out\n */\n\n\nfunction transformMat4(out, a, m) {\n var x = a[0],\n y = a[1],\n z = a[2];\n var w = m[3] * x + m[7] * y + m[11] * z + m[15];\n w = w || 1.0;\n out[0] = (m[0] * x + m[4] * y + m[8] * z + m[12]) / w;\n out[1] = (m[1] * x + m[5] * y + m[9] * z + m[13]) / w;\n out[2] = (m[2] * x + m[6] * y + m[10] * z + m[14]) / w;\n return out;\n}\n/**\n * Transforms the vec3 with a mat3.\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to transform\n * @param {mat3} m the 3x3 matrix to transform with\n * @returns {vec3} out\n */\n\n\nfunction transformMat3(out, a, m) {\n var x = a[0],\n y = a[1],\n z = a[2];\n out[0] = x * m[0] + y * m[3] + z * m[6];\n out[1] = x * m[1] + y * m[4] + z * m[7];\n out[2] = x * m[2] + y * m[5] + z * m[8];\n return out;\n}\n/**\n * Transforms the vec3 with a quat\n * Can also be used for dual quaternions. (Multiply it with the real part)\n *\n * @param {vec3} out the receiving vector\n * @param {vec3} a the vector to transform\n * @param {quat} q quaternion to transform with\n * @returns {vec3} out\n */\n\n\nfunction transformQuat(out, a, q) {\n // benchmarks: https://jsperf.com/quaternion-transform-vec3-implementations-fixed\n var qx = q[0],\n qy = q[1],\n qz = q[2],\n qw = q[3];\n var x = a[0],\n y = a[1],\n z = a[2]; // var qvec = [qx, qy, qz];\n // var uv = vec3.cross([], qvec, a);\n\n var uvx = qy * z - qz * y,\n uvy = qz * x - qx * z,\n uvz = qx * y - qy * x; // var uuv = vec3.cross([], qvec, uv);\n\n var uuvx = qy * uvz - qz * uvy,\n uuvy = qz * uvx - qx * uvz,\n uuvz = qx * uvy - qy * uvx; // vec3.scale(uv, uv, 2 * w);\n\n var w2 = qw * 2;\n uvx *= w2;\n uvy *= w2;\n uvz *= w2; // vec3.scale(uuv, uuv, 2);\n\n uuvx *= 2;\n uuvy *= 2;\n uuvz *= 2; // return vec3.add(out, a, vec3.add(out, uv, uuv));\n\n out[0] = x + uvx + uuvx;\n out[1] = y + uvy + uuvy;\n out[2] = z + uvz + uuvz;\n return out;\n}\n/**\n * Rotate a 3D vector around the x-axis\n * @param {vec3} out The receiving vec3\n * @param {vec3} a The vec3 point to rotate\n * @param {vec3} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec3} out\n */\n\n\nfunction rotateX(out, a, b, c) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[0];\n r[1] = p[1] * Math.cos(c) - p[2] * Math.sin(c);\n r[2] = p[1] * Math.sin(c) + p[2] * Math.cos(c); //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\n * Rotate a 3D vector around the y-axis\n * @param {vec3} out The receiving vec3\n * @param {vec3} a The vec3 point to rotate\n * @param {vec3} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec3} out\n */\n\n\nfunction rotateY(out, a, b, c) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[2] * Math.sin(c) + p[0] * Math.cos(c);\n r[1] = p[1];\n r[2] = p[2] * Math.cos(c) - p[0] * Math.sin(c); //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\n * Rotate a 3D vector around the z-axis\n * @param {vec3} out The receiving vec3\n * @param {vec3} a The vec3 point to rotate\n * @param {vec3} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @returns {vec3} out\n */\n\n\nfunction rotateZ(out, a, b, c) {\n var p = [],\n r = []; //Translate point to the origin\n\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2]; //perform rotation\n\n r[0] = p[0] * Math.cos(c) - p[1] * Math.sin(c);\n r[1] = p[0] * Math.sin(c) + p[1] * Math.cos(c);\n r[2] = p[2]; //translate to correct position\n\n out[0] = r[0] + b[0];\n out[1] = r[1] + b[1];\n out[2] = r[2] + b[2];\n return out;\n}\n/**\n * Get the angle between two 3D vectors\n * @param {vec3} a The first operand\n * @param {vec3} b The second operand\n * @returns {Number} The angle in radians\n */\n\n\nfunction angle(a, b) {\n var tempA = fromValues(a[0], a[1], a[2]);\n var tempB = fromValues(b[0], b[1], b[2]);\n normalize(tempA, tempA);\n normalize(tempB, tempB);\n var cosine = dot(tempA, tempB);\n\n if (cosine > 1.0) {\n return 0;\n } else if (cosine < -1.0) {\n return Math.PI;\n } else {\n return Math.acos(cosine);\n }\n}\n/**\n * Returns a string representation of a vector\n *\n * @param {vec3} a vector to represent as a string\n * @returns {String} string representation of the vector\n */\n\n\nfunction str(a) {\n return 'vec3(' + a[0] + ', ' + a[1] + ', ' + a[2] + ')';\n}\n/**\n * Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)\n *\n * @param {vec3} a The first vector.\n * @param {vec3} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction exactEquals(a, b) {\n return a[0] === b[0] && a[1] === b[1] && a[2] === b[2];\n}\n/**\n * Returns whether or not the vectors have approximately the same elements in the same position.\n *\n * @param {vec3} a The first vector.\n * @param {vec3} b The second vector.\n * @returns {Boolean} True if the vectors are equal, false otherwise.\n */\n\n\nfunction equals(a, b) {\n var a0 = a[0],\n a1 = a[1],\n a2 = a[2];\n var b0 = b[0],\n b1 = b[1],\n b2 = b[2];\n return Math.abs(a0 - b0) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) && Math.abs(a1 - b1) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)) && Math.abs(a2 - b2) <= glMatrix.EPSILON * Math.max(1.0, Math.abs(a2), Math.abs(b2));\n}\n/**\n * Alias for {@link vec3.subtract}\n * @function\n */\n\n\nvar sub = exports.sub = subtract;\n/**\n * Alias for {@link vec3.multiply}\n * @function\n */\n\nvar mul = exports.mul = multiply;\n/**\n * Alias for {@link vec3.divide}\n * @function\n */\n\nvar div = exports.div = divide;\n/**\n * Alias for {@link vec3.distance}\n * @function\n */\n\nvar dist = exports.dist = distance;\n/**\n * Alias for {@link vec3.squaredDistance}\n * @function\n */\n\nvar sqrDist = exports.sqrDist = squaredDistance;\n/**\n * Alias for {@link vec3.length}\n * @function\n */\n\nvar len = exports.len = length;\n/**\n * Alias for {@link vec3.squaredLength}\n * @function\n */\n\nvar sqrLen = exports.sqrLen = squaredLength;\n/**\n * Perform some operation over an array of vec3s.\n *\n * @param {Array} a the array of vectors to iterate over\n * @param {Number} stride Number of elements between the start of each vec3. If 0 assumes tightly packed\n * @param {Number} offset Number of elements to skip at the beginning of the array\n * @param {Number} count Number of vec3s to iterate over. If 0 iterates over entire array\n * @param {Function} fn Function to call for each vector in the array\n * @param {Object} [arg] additional argument to pass to fn\n * @returns {Array} a\n * @function\n */\n\nvar forEach = exports.forEach = function () {\n var vec = create();\n return function (a, stride, offset, count, fn, arg) {\n var i = void 0,\n l = void 0;\n\n if (!stride) {\n stride = 3;\n }\n\n if (!offset) {\n offset = 0;\n }\n\n if (count) {\n l = Math.min(count * stride + offset, a.length);\n } else {\n l = a.length;\n }\n\n for (i = offset; i < l; i += stride) {\n vec[0] = a[i];\n vec[1] = a[i + 1];\n vec[2] = a[i + 2];\n fn(vec, vec, arg);\n a[i] = vec[0];\n a[i + 1] = vec[1];\n a[i + 2] = vec[2];\n }\n\n return a;\n };\n}();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_gl-matrix@2.7.1@@antv/gl-matrix/lib/gl-matrix/vec3.js\n// module id = 131\n// module chunks = 0","var Util = require('../../util/index');\n\nmodule.exports = {\n canFill: false,\n canStroke: false,\n initAttrs: function initAttrs(attrs) {\n this._attrs = {\n opacity: 1,\n fillOpacity: 1,\n strokeOpacity: 1,\n matrix: [1, 0, 0, 0, 1, 0, 0, 0, 1]\n };\n this.attr(Util.assign(this.getDefaultAttrs(), attrs));\n return this;\n },\n getDefaultAttrs: function getDefaultAttrs() {\n return {};\n },\n\n /**\n * 设置或者设置属性,有以下 4 种情形:\n * - name 不存在, 则返回属性集合\n * - name 为字符串value 为空,获取属性值\n * - name 为字符串value 不为空,设置属性值,返回 this\n * - name 为键值对value 为空,设置属性值\n *\n * @param {String | Object} name 属性名\n * @param {*} value 属性值\n * @return {*} 属性值\n */\n attr: function attr(name, value) {\n var self = this;\n\n if (arguments.length === 0) {\n return self._attrs;\n }\n\n if (Util.isObject(name)) {\n // self._attrs = Util.deepMix(self._attrs, name);\n for (var k in name) {\n this._setAttr(k, name[k]);\n }\n\n self.clearBBox();\n this._cfg.hasUpdate = true;\n return self;\n }\n\n if (arguments.length === 2) {\n this._setAttr(name, value);\n\n self.clearBBox();\n this._cfg.hasUpdate = true;\n return self;\n }\n\n return self._attrs[name];\n },\n _setAttr: function _setAttr(name, value) {\n var self = this;\n var attrs = this._attrs;\n attrs[name] = value;\n\n if (name === 'fill' || name === 'stroke') {\n attrs[name + 'Style'] = value;\n return;\n }\n\n if (name === 'opacity') {\n attrs.globalAlpha = value;\n return;\n }\n\n if (name === 'clip' && value) {\n self._setClip(value);\n\n return;\n }\n\n if (name === 'path' && self._afterSetAttrPath) {\n self._afterSetAttrPath(value);\n\n return;\n }\n\n if (name === 'transform') {\n self.transform(value);\n return;\n }\n\n if (name === 'rotate') {\n self.rotateAtStart(value);\n }\n },\n clearBBox: function clearBBox() {\n this.setSilent('box', null);\n },\n hasFill: function hasFill() {\n return this.canFill && this._attrs.fillStyle;\n },\n hasStroke: function hasStroke() {\n return this.canStroke && this._attrs.strokeStyle;\n },\n _setClip: function _setClip(item) {\n item._cfg.renderer = this._cfg.renderer;\n item._cfg.canvas = this._cfg.canvas;\n item._cfg.parent = this._cfg.parent;\n\n item.hasFill = function () {\n return true;\n };\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/attribute.js\n// module id = 132\n// module chunks = 0","var Util = require('../../util/index'); // 是否未改变\n\n\nfunction isUnchanged(m) {\n return m[0] === 1 && m[1] === 0 && m[3] === 0 && m[4] === 1 && m[6] === 0 && m[7] === 0;\n} // 是否仅仅是scale\n\n\nfunction isScale(m) {\n return m[1] === 0 && m[3] === 0 && m[6] === 0 && m[7] === 0;\n}\n\nfunction multiple(m1, m2) {\n if (!isUnchanged(m2)) {\n if (isScale(m2)) {\n m1[0] *= m2[0];\n m1[4] *= m2[4];\n } else {\n Util.mat3.multiply(m1, m1, m2);\n }\n }\n}\n\nmodule.exports = {\n initTransform: function initTransform() {},\n resetMatrix: function resetMatrix() {\n this.attr('matrix', [1, 0, 0, 0, 1, 0, 0, 0, 1]);\n },\n translate: function translate(tx, ty) {\n var matrix = this._attrs.matrix;\n Util.mat3.translate(matrix, matrix, [tx, ty]);\n this.clearTotalMatrix();\n this.attr('matrix', matrix);\n return this;\n },\n rotate: function rotate(radian) {\n var matrix = this._attrs.matrix;\n Util.mat3.rotate(matrix, matrix, radian);\n this.clearTotalMatrix();\n this.attr('matrix', matrix);\n return this;\n },\n scale: function scale(s1, s2) {\n var matrix = this._attrs.matrix;\n Util.mat3.scale(matrix, matrix, [s1, s2]);\n this.clearTotalMatrix();\n this.attr('matrix', matrix);\n return this;\n },\n rotateAtStart: function rotateAtStart(rotate) {\n var x = this._attrs.x || this._cfg.attrs.x;\n var y = this._attrs.y || this._cfg.attrs.y;\n\n if (Math.abs(rotate) > Math.PI * 2) {\n rotate = rotate / 180 * Math.PI;\n }\n\n return this.transform([['t', -x, -y], ['r', rotate], ['t', x, y]]);\n },\n move: function move(x, y) {\n var cx = this.get('x') || 0; // 当前的x\n\n var cy = this.get('y') || 0; // 当前的y\n\n this.translate(x - cx, y - cy);\n this.set('x', x);\n this.set('y', y);\n return this;\n },\n transform: function transform(ts) {\n var self = this;\n var matrix = this._attrs.matrix;\n Util.each(ts, function (t) {\n switch (t[0]) {\n case 't':\n self.translate(t[1], t[2]);\n break;\n\n case 's':\n self.scale(t[1], t[2]);\n break;\n\n case 'r':\n self.rotate(t[1]);\n break;\n\n case 'm':\n self.attr('matrix', Util.mat3.multiply([], matrix, t[1]));\n self.clearTotalMatrix();\n break;\n\n default:\n break;\n }\n });\n return self;\n },\n setTransform: function setTransform(ts) {\n this.attr('matrix', [1, 0, 0, 0, 1, 0, 0, 0, 1]);\n return this.transform(ts);\n },\n getMatrix: function getMatrix() {\n return this.attr('matrix');\n },\n setMatrix: function setMatrix(m) {\n this.attr('matrix', m);\n this.clearTotalMatrix();\n return this;\n },\n apply: function apply(v, root) {\n var m;\n\n if (root) {\n m = this._getMatrixByRoot(root);\n } else {\n m = this.attr('matrix');\n }\n\n Util.vec3.transformMat3(v, v, m);\n return this;\n },\n // 获取到达指定根节点的矩阵\n _getMatrixByRoot: function _getMatrixByRoot(root) {\n var self = this;\n root = root || self;\n var parent = self;\n var parents = [];\n\n while (parent !== root) {\n parents.unshift(parent);\n parent = parent.get('parent');\n }\n\n parents.unshift(parent);\n var m = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n Util.each(parents, function (child) {\n Util.mat3.multiply(m, child.attr('matrix'), m);\n });\n return m;\n },\n\n /**\n * 应用到当前元素上的总的矩阵\n * @return {Matrix} 矩阵\n */\n getTotalMatrix: function getTotalMatrix() {\n var m = this._cfg.totalMatrix;\n\n if (!m) {\n m = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n var parent = this._cfg.parent;\n\n if (parent) {\n var pm = parent.getTotalMatrix();\n multiple(m, pm);\n }\n\n multiple(m, this.attr('matrix'));\n this._cfg.totalMatrix = m;\n }\n\n return m;\n },\n // 清除当前的矩阵\n clearTotalMatrix: function clearTotalMatrix() {// this._cfg.totalMatrix = null;\n },\n invert: function invert(v) {\n var m = this.getTotalMatrix(); // 单精屏幕下大多数矩阵没变化\n\n if (isScale(m)) {\n v[0] /= m[0];\n v[1] /= m[4];\n } else {\n var inm = Util.mat3.invert([], m);\n\n if (inm) {\n Util.vec3.transformMat3(v, v, inm);\n }\n }\n\n return this;\n },\n resetTransform: function resetTransform(context) {\n var mo = this.attr('matrix'); // 不改变时\n\n if (!isUnchanged(mo)) {\n context.transform(mo[0], mo[1], mo[3], mo[4], mo[6], mo[7]);\n }\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/transform.js\n// module id = 133\n// module chunks = 0","var Util = require('../../util/index');\n\nvar ReservedProps = {\n delay: 'delay',\n rotate: 'rotate'\n};\nvar colorRalaredProps = {\n fill: 'fill',\n stroke: 'stroke',\n fillStyle: 'fillStyle',\n strokeStyle: 'strokeStyle'\n};\n\nfunction getFromAttrs(toAttrs, shape) {\n var rst = {};\n var attrs = shape._attrs;\n\n for (var k in toAttrs.attrs) {\n rst[k] = attrs[k];\n }\n\n return rst;\n}\n\nfunction getFormatProps(props, shape) {\n var rst = {\n matrix: null,\n attrs: {}\n };\n var attrs = shape._attrs;\n\n for (var k in props) {\n if (k === 'transform') {\n rst.matrix = Util.transform(shape.getMatrix(), props[k]);\n } else if (k === 'rotate') {\n rst.matrix = Util.transform(shape.getMatrix(), [['r', props[k]]]);\n } else if (k === 'matrix') {\n rst.matrix = props[k];\n } else if (colorRalaredProps[k] && /^[r,R,L,l]{1}[\\s]*\\(/.test(props[k])) {\n // 渐变色不支持动画\n continue;\n } else if (!ReservedProps[k] && attrs[k] !== props[k]) {\n rst.attrs[k] = props[k];\n }\n }\n\n return rst;\n}\n\nfunction checkExistedAttrs(animators, animator) {\n var delay = animator.delay;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n Util.each(animator.toAttrs, function (v, k) {\n Util.each(animators, function (animator) {\n if (delay < animator.startTime + animator.duration) {\n if (hasOwnProperty.call(animator.toAttrs, k)) {\n delete animator.toAttrs[k];\n delete animator.fromAttrs[k];\n }\n }\n });\n });\n\n if (animator.toMatrix) {\n Util.each(animators, function (animator) {\n if (delay < animator.startTime + animator.duration && animator.toMatrix) {\n delete animator.toMatrix;\n }\n });\n }\n\n return animators;\n}\n\nmodule.exports = {\n /**\n * 执行动画\n * @param {Object} toProps 动画最终状态\n * @param {Number} duration 动画执行时间\n * @param {String} easing 动画缓动效果\n * @param {Function} callback 动画执行后的回调\n * @param {Number} delay 动画延迟时间\n */\n animate: function animate(toProps, duration, easing, callback, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n\n var self = this;\n self.set('animating', true);\n var timeline = self.get('timeline');\n\n if (!timeline) {\n timeline = self.get('canvas').get('timeline');\n self.setSilent('timeline', timeline);\n }\n\n var animators = self.get('animators') || []; // 初始化tick\n\n if (!timeline._timer) {\n timeline.initTimer();\n }\n\n if (Util.isNumber(callback)) {\n delay = callback;\n callback = null;\n }\n\n if (Util.isFunction(easing)) {\n callback = easing;\n easing = 'easeLinear';\n } else {\n easing = easing ? easing : 'easeLinear';\n }\n\n var formatProps = getFormatProps(toProps, self); // 记录动画属性\n\n var animator = {\n fromAttrs: getFromAttrs(formatProps, self),\n toAttrs: formatProps.attrs,\n fromMatrix: Util.clone(self.getMatrix()),\n toMatrix: formatProps.matrix,\n duration: duration,\n easing: easing,\n callback: callback,\n delay: delay,\n startTime: timeline.getTime(),\n id: Util.uniqueId()\n }; // 如果动画队列中已经有这个图形了\n\n if (animators.length > 0) {\n // 先检查是否需要合并属性。若有相同的动画,将该属性从前一个动画中删除,直接用后一个动画中\n animators = checkExistedAttrs(animators, animator);\n } else {\n // 否则将图形添加到队列\n timeline.addAnimator(self);\n }\n\n animators.push(animator);\n self.setSilent('animators', animators);\n self.setSilent('pause', {\n isPaused: false\n });\n },\n stopAnimate: function stopAnimate() {\n var _this = this;\n\n var animators = this.get('animators'); // 将动画执行到最后一帧,执行回调\n\n Util.each(animators, function (animator) {\n _this.attr(animator.toAttrs);\n\n if (animator.toMatrix) {\n _this.attr('matrix', animator.toMatrix);\n }\n\n if (animator.callback) {\n animator.callback();\n }\n });\n this.setSilent('animating', false);\n this.setSilent('animators', []);\n },\n pauseAnimate: function pauseAnimate() {\n var self = this;\n var timeline = self.get('timeline'); // 记录下是在什么时候暂停的\n\n self.setSilent('pause', {\n isPaused: true,\n pauseTime: timeline.getTime()\n });\n return self;\n },\n resumeAnimate: function resumeAnimate() {\n var self = this;\n var timeline = self.get('timeline');\n var current = timeline.getTime();\n var animators = self.get('animators');\n var pauseTime = self.get('pause').pauseTime; // 之后更新属性需要计算动画已经执行的时长,如果暂停了,就把初始时间调后\n\n Util.each(animators, function (animator) {\n animator.startTime = animator.startTime + (current - pauseTime);\n animator._paused = false;\n animator._pauseTime = null;\n });\n self.setSilent('pause', {\n isPaused: false\n });\n self.setSilent('animators', animators);\n return self;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/animation.js\n// module id = 134\n// module chunks = 0","var Shape = require('../core/shape');\n\nShape.Arc = require('./arc');\nShape.Circle = require('./circle');\nShape.Dom = require('./dom');\nShape.Ellipse = require('./ellipse');\nShape.Fan = require('./fan');\nShape.Image = require('./image');\nShape.Line = require('./line');\nShape.Marker = require('./marker');\nShape.Path = require('./path');\nShape.Polygon = require('./polygon');\nShape.Polyline = require('./polyline');\nShape.Rect = require('./rect');\nShape.Text = require('./text');\nmodule.exports = Shape;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/shapes/index.js\n// module id = 135\n// module chunks = 0","var Util = require('../../util/index');\n\nvar Inside = require('../../shapes/util/inside');\n\nvar mathUtl = {\n arc: require('../../shapes/math/arc'),\n ellipse: require('../../shapes/math/ellipse'),\n line: require('../../shapes/math/line')\n};\nvar canvas = Util.createDom('<canvas width=\"500\" height=\"500\"></canvas>');\nvar context = canvas.getContext('2d');\n\nfunction isPointInPathByContext(x, y, ctx) {\n ctx.createPath(context);\n return context.isPointInPath(x, y);\n}\n\nvar arc = function arc(x, y) {\n var attrs = this._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var r = attrs.r,\n startAngle = attrs.startAngle,\n endAngle = attrs.endAngle,\n clockwise = attrs.clockwise;\n var lineWidth = this.getHitLineWidth();\n\n if (this.hasStroke()) {\n return Inside.arcline(cx, cy, r, startAngle, endAngle, clockwise, lineWidth, x, y);\n }\n\n return false;\n};\n\nvar circle = function circle(x, y) {\n var attrs = this._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var r = attrs.r;\n var lineWidth = this.getHitLineWidth();\n var fill = this.hasFill();\n var stroke = this.hasStroke();\n\n if (fill && stroke) {\n return Inside.circle(cx, cy, r, x, y) || Inside.arcline(cx, cy, r, 0, Math.PI * 2, false, lineWidth, x, y);\n }\n\n if (fill) {\n return Inside.circle(cx, cy, r, x, y);\n }\n\n if (stroke) {\n return Inside.arcline(cx, cy, r, 0, Math.PI * 2, false, lineWidth, x, y);\n }\n\n return false;\n};\n\nvar ellipse = function ellipse(x, y) {\n var attrs = this._attrs;\n var fill = this.hasFill();\n var stroke = this.hasStroke();\n var cx = attrs.x;\n var cy = attrs.y;\n var rx = attrs.rx;\n var ry = attrs.ry;\n var lineWidth = this.getHitLineWidth();\n var r = rx > ry ? rx : ry;\n var scaleX = rx > ry ? 1 : rx / ry;\n var scaleY = rx > ry ? ry / rx : 1;\n var p = [x, y, 1];\n var m = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n Util.mat3.scale(m, m, [scaleX, scaleY]);\n Util.mat3.translate(m, m, [cx, cy]);\n var inm = Util.mat3.invert([], m);\n Util.vec3.transformMat3(p, p, inm);\n\n if (fill && stroke) {\n return Inside.circle(0, 0, r, p[0], p[1]) || Inside.arcline(0, 0, r, 0, Math.PI * 2, false, lineWidth, p[0], p[1]);\n }\n\n if (fill) {\n return Inside.circle(0, 0, r, p[0], p[1]);\n }\n\n if (stroke) {\n return Inside.arcline(0, 0, r, 0, Math.PI * 2, false, lineWidth, p[0], p[1]);\n }\n\n return false;\n};\n\nvar fan = function fan(x, y) {\n var self = this;\n var fill = self.hasFill();\n var stroke = self.hasStroke();\n var attrs = self._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var rs = attrs.rs;\n var re = attrs.re;\n var startAngle = attrs.startAngle;\n var endAngle = attrs.endAngle;\n var clockwise = attrs.clockwise;\n var v1 = [1, 0];\n var subv = [x - cx, y - cy];\n var angle = Util.vec2.angleTo(v1, subv);\n\n function _isPointInFill() {\n var angle1 = mathUtl.arc.nearAngle(angle, startAngle, endAngle, clockwise);\n\n if (Util.isNumberEqual(angle, angle1)) {\n var ls = Util.vec2.squaredLength(subv);\n\n if (rs * rs <= ls && ls <= re * re) {\n return true;\n }\n }\n\n return false;\n }\n\n function _isPointInStroke() {\n var lineWidth = self.getHitLineWidth();\n var ssp = {\n x: Math.cos(startAngle) * rs + cx,\n y: Math.sin(startAngle) * rs + cy\n };\n var sep = {\n x: Math.cos(startAngle) * re + cx,\n y: Math.sin(startAngle) * re + cy\n };\n var esp = {\n x: Math.cos(endAngle) * rs + cx,\n y: Math.sin(endAngle) * rs + cy\n };\n var eep = {\n x: Math.cos(endAngle) * re + cx,\n y: Math.sin(endAngle) * re + cy\n };\n\n if (Inside.line(ssp.x, ssp.y, sep.x, sep.y, lineWidth, x, y)) {\n return true;\n }\n\n if (Inside.line(esp.x, esp.y, eep.x, eep.y, lineWidth, x, y)) {\n return true;\n }\n\n if (Inside.arcline(cx, cy, rs, startAngle, endAngle, clockwise, lineWidth, x, y)) {\n return true;\n }\n\n if (Inside.arcline(cx, cy, re, startAngle, endAngle, clockwise, lineWidth, x, y)) {\n return true;\n }\n\n return false;\n }\n\n if (fill && stroke) {\n return _isPointInFill() || _isPointInStroke();\n }\n\n if (fill) {\n return _isPointInFill();\n }\n\n if (stroke) {\n return _isPointInStroke();\n }\n\n return false;\n};\n\nvar image = function image(x, y) {\n var attrs = this._attrs;\n\n if (this.get('toDraw') || !attrs.img) {\n return false;\n }\n\n if (!this._cfg.attrs || this._cfg.attrs.img !== attrs.img) {\n this._setAttrImg();\n }\n\n var rx = attrs.x;\n var ry = attrs.y;\n var width = attrs.width;\n var height = attrs.height;\n return Inside.rect(rx, ry, width, height, x, y);\n};\n\nvar line = function line(x, y) {\n var attrs = this._attrs;\n var x1 = attrs.x1,\n y1 = attrs.y1,\n x2 = attrs.x2,\n y2 = attrs.y2;\n var lineWidth = this.getHitLineWidth();\n\n if (this.hasStroke()) {\n return Inside.line(x1, y1, x2, y2, lineWidth, x, y);\n }\n\n return false;\n};\n\nvar path = function path(x, y) {\n var self = this;\n var segments = self.get('segments');\n var fill = self.hasFill();\n var stroke = self.hasStroke();\n\n function _isPointInStroke() {\n if (!Util.isEmpty(segments)) {\n var lineWidth = self.getHitLineWidth();\n\n for (var i = 0, l = segments.length; i < l; i++) {\n if (segments[i].isInside(x, y, lineWidth)) {\n return true;\n }\n }\n\n return false;\n }\n }\n\n if (fill && stroke) {\n return isPointInPathByContext(x, y, self) || _isPointInStroke();\n }\n\n if (fill) {\n return isPointInPathByContext(x, y, self);\n }\n\n if (stroke) {\n return _isPointInStroke();\n }\n\n return false;\n};\n\nvar polygon = function polygon(x, y) {\n var self = this;\n var fill = self.hasFill();\n var stroke = self.hasStroke();\n\n function _isPointInStroke() {\n var attrs = self._attrs;\n var points = attrs.points;\n\n if (points.length < 2) {\n return false;\n }\n\n var lineWidth = self.getHitLineWidth();\n var outPoints = points.slice(0);\n\n if (points.length >= 3) {\n outPoints.push(points[0]);\n }\n\n return Inside.polyline(outPoints, lineWidth, x, y);\n }\n\n if (fill && stroke) {\n return isPointInPathByContext(x, y, self) || _isPointInStroke();\n }\n\n if (fill) {\n return isPointInPathByContext(x, y, self);\n }\n\n if (stroke) {\n return _isPointInStroke();\n }\n\n return false;\n};\n\nvar marker = function marker(x, y) {\n var attrs = this._attrs;\n var cx = attrs.x;\n var cy = attrs.y;\n var r = attrs.radius || attrs.r;\n var lineWidth = this.getHitLineWidth();\n return Inside.circle(cx, cy, r + lineWidth / 2, x, y);\n};\n\nvar polyline = function polyline(x, y) {\n var self = this;\n var attrs = self._attrs;\n\n if (self.hasStroke()) {\n var points = attrs.points;\n\n if (points.length < 2) {\n return false;\n }\n\n var lineWidth = attrs.lineWidth;\n return Inside.polyline(points, lineWidth, x, y);\n }\n\n return false;\n};\n\nvar rect = function rect(x, y) {\n var self = this;\n var fill = self.hasFill();\n var stroke = self.hasStroke();\n\n function _isPointInStroke() {\n var attrs = self._attrs;\n var rx = attrs.x;\n var ry = attrs.y;\n var width = attrs.width;\n var height = attrs.height;\n var radius = attrs.radius;\n var lineWidth = self.getHitLineWidth();\n\n if (radius === 0) {\n var halfWidth = lineWidth / 2;\n return Inside.line(rx - halfWidth, ry, rx + width + halfWidth, ry, lineWidth, x, y) || Inside.line(rx + width, ry - halfWidth, rx + width, ry + height + halfWidth, lineWidth, x, y) || Inside.line(rx + width + halfWidth, ry + height, rx - halfWidth, ry + height, lineWidth, x, y) || Inside.line(rx, ry + height + halfWidth, rx, ry - halfWidth, lineWidth, x, y);\n }\n\n return Inside.line(rx + radius, ry, rx + width - radius, ry, lineWidth, x, y) || Inside.line(rx + width, ry + radius, rx + width, ry + height - radius, lineWidth, x, y) || Inside.line(rx + width - radius, ry + height, rx + radius, ry + height, lineWidth, x, y) || Inside.line(rx, ry + height - radius, rx, ry + radius, lineWidth, x, y) || Inside.arcline(rx + width - radius, ry + radius, radius, 1.5 * Math.PI, 2 * Math.PI, false, lineWidth, x, y) || Inside.arcline(rx + width - radius, ry + height - radius, radius, 0, 0.5 * Math.PI, false, lineWidth, x, y) || Inside.arcline(rx + radius, ry + height - radius, radius, 0.5 * Math.PI, Math.PI, false, lineWidth, x, y) || Inside.arcline(rx + radius, ry + radius, radius, Math.PI, 1.5 * Math.PI, false, lineWidth, x, y);\n }\n\n if (fill && stroke) {\n return isPointInPathByContext(x, y, self) || _isPointInStroke();\n }\n\n if (fill) {\n return isPointInPathByContext(x, y, self);\n }\n\n if (stroke) {\n return _isPointInStroke();\n }\n\n return false;\n};\n\nvar text = function text(x, y) {\n var self = this;\n var box = self.getBBox();\n\n if (self.hasFill() || self.hasStroke()) {\n return Inside.box(box.minX, box.maxX, box.minY, box.maxY, x, y);\n }\n};\n\nvar dom = function dom(x, y) {\n if (!this._cfg.el) {\n return false;\n }\n\n var box = this._cfg.el.getBBox();\n\n return Inside.box(box.x, box.x + box.width, box.y, box.y + box.height, x, y);\n};\n\nvar shapes = {\n arc: arc,\n circle: circle,\n dom: dom,\n ellipse: ellipse,\n fan: fan,\n image: image,\n line: line,\n path: path,\n marker: marker,\n polygon: polygon,\n polyline: polyline,\n rect: rect,\n text: text\n};\nmodule.exports = {\n isPointInPath: function isPointInPath(x, y) {\n var shape = shapes[this.type];\n\n if (shape) {\n return shape.call(this, x, y);\n }\n\n return false;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/isPointInPath.js\n// module id = 136\n// module chunks = 0","var Util = require('../../util/index');\n\nvar PathUtil = require('../../util/path');\n\nvar d3Timer = require('d3-timer');\n\nvar d3Ease = require('d3-ease');\n\nvar _require = require('d3-interpolate'),\n interpolate = _require.interpolate,\n interpolateArray = _require.interpolateArray; // 目前整体动画只需要数值和数组的差值计算\n\n\nvar Timeline = function Timeline(canvas) {\n // 待执行动画的队列\n this._animators = []; // 当前时间\n\n this._current = 0; // 计时器实例\n\n this._timer = null; // 画布\n\n this.canvas = canvas;\n};\n\nfunction _update(self, animator, ratio) {\n var cProps = {}; // 此刻属性\n\n var toAttrs = animator.toAttrs;\n var fromAttrs = animator.fromAttrs;\n var toMatrix = animator.toMatrix;\n\n if (self.get('destroyed')) {\n return;\n }\n\n var interf; // 差值函数\n\n for (var k in toAttrs) {\n if (!Util.isEqual(fromAttrs[k], toAttrs[k])) {\n if (k === 'path') {\n var toPath = toAttrs[k];\n var fromPath = fromAttrs[k];\n\n if (toPath.length > fromPath.length) {\n toPath = PathUtil.parsePathString(toAttrs[k]); // 终点状态\n\n fromPath = PathUtil.parsePathString(fromAttrs[k]); // 起始状态\n\n fromPath = PathUtil.fillPathByDiff(fromPath, toPath);\n fromPath = PathUtil.formatPath(fromPath, toPath);\n animator.fromAttrs.path = fromPath;\n animator.toAttrs.path = toPath;\n } else if (!animator.pathFormatted) {\n toPath = PathUtil.parsePathString(toAttrs[k]);\n fromPath = PathUtil.parsePathString(fromAttrs[k]);\n fromPath = PathUtil.formatPath(fromPath, toPath);\n animator.fromAttrs.path = fromPath;\n animator.toAttrs.path = toPath;\n animator.pathFormatted = true;\n }\n\n cProps[k] = [];\n\n for (var i = 0; i < toPath.length; i++) {\n var toPathPoint = toPath[i];\n var fromPathPoint = fromPath[i];\n var cPathPoint = [];\n\n for (var j = 0; j < toPathPoint.length; j++) {\n if (Util.isNumber(toPathPoint[j]) && fromPathPoint && Util.isNumber(fromPathPoint[j])) {\n interf = interpolate(fromPathPoint[j], toPathPoint[j]);\n cPathPoint.push(interf(ratio));\n } else {\n cPathPoint.push(toPathPoint[j]);\n }\n }\n\n cProps[k].push(cPathPoint);\n }\n } else {\n interf = interpolate(fromAttrs[k], toAttrs[k]);\n cProps[k] = interf(ratio);\n }\n }\n }\n\n if (toMatrix) {\n var mf = interpolateArray(animator.fromMatrix, toMatrix);\n var cM = mf(ratio);\n self.setMatrix(cM);\n }\n\n self.attr(cProps);\n}\n\nfunction update(shape, animator, elapsed) {\n var startTime = animator.startTime; // 如果还没有开始执行或暂停,先不更新\n\n if (elapsed < startTime + animator.delay || animator.isPaused) {\n return false;\n }\n\n var ratio;\n var duration = animator.duration;\n var easing = animator.easing; // 已执行时间\n\n elapsed = elapsed - startTime - animator.delay;\n\n if (animator.toAttrs.repeat) {\n ratio = elapsed % duration / duration;\n ratio = d3Ease[easing](ratio);\n } else {\n ratio = elapsed / duration;\n\n if (ratio < 1) {\n ratio = d3Ease[easing](ratio);\n } else {\n shape.attr(animator.toAttrs);\n\n if (animator.toMatrix) {\n shape.setMatrix(animator.toMatrix);\n }\n\n return true;\n }\n }\n\n _update(shape, animator, ratio);\n\n return false;\n}\n\nUtil.augment(Timeline, {\n initTimer: function initTimer() {\n var _this = this;\n\n var self = this;\n var isFinished = false;\n var shape, animators, animator;\n self._timer = d3Timer.timer(function (elapsed) {\n self._current = elapsed;\n\n if (_this._animators.length > 0) {\n for (var i = _this._animators.length - 1; i >= 0; i--) {\n shape = _this._animators[i];\n\n if (shape.get('destroyed')) {\n // 如果已经被销毁,直接移出队列\n self.removeAnimator(i);\n continue;\n }\n\n if (!shape.get('pause').isPaused) {\n animators = shape.get('animators');\n\n for (var j = animators.length - 1; j >= 0; j--) {\n animator = animators[j];\n isFinished = update(shape, animator, elapsed);\n\n if (isFinished) {\n animators.splice(j, 1);\n isFinished = false;\n\n if (animator.callback) {\n animator.callback();\n }\n }\n }\n }\n\n if (animators.length === 0) {\n self.removeAnimator(i);\n }\n }\n\n _this.canvas.draw();\n }\n });\n },\n addAnimator: function addAnimator(shape) {\n this._animators.push(shape);\n },\n removeAnimator: function removeAnimator(index) {\n this._animators.splice(index, 1);\n },\n isAnimating: function isAnimating() {\n return !!this._animators.length;\n },\n stop: function stop() {\n if (this._timer) {\n this._timer.stop();\n }\n },\n stopAllAnimations: function stopAllAnimations() {\n this._animators.forEach(function (animator) {\n animator.stopAnimate();\n });\n\n this._animators = [];\n this.canvas.draw();\n },\n getTime: function getTime() {\n return this._current;\n }\n});\nmodule.exports = Timeline;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/core/mixin/timeline.js\n// module id = 137\n// module chunks = 0","export { now, timer, timerFlush } from \"./timer.js\";\nexport { default as timeout } from \"./timeout.js\";\nexport { default as interval } from \"./interval.js\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-timer@1.0.10@d3-timer/src/index.js\n// module id = 138\n// module chunks = 0","import { Timer } from \"./timer.js\";\nexport default function (callback, delay, time) {\n var t = new Timer();\n delay = delay == null ? 0 : +delay;\n t.restart(function (elapsed) {\n t.stop();\n callback(elapsed + delay);\n }, delay, time);\n return t;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-timer@1.0.10@d3-timer/src/timeout.js\n// module id = 139\n// module chunks = 0","import { Timer, now } from \"./timer.js\";\nexport default function (callback, delay, time) {\n var t = new Timer(),\n total = delay;\n if (delay == null) return t.restart(callback, delay, time), t;\n delay = +delay, time = time == null ? now() : +time;\n t.restart(function tick(elapsed) {\n elapsed += total;\n t.restart(tick, total += delay, time);\n callback(elapsed);\n }, delay, time);\n return t;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-timer@1.0.10@d3-timer/src/interval.js\n// module id = 140\n// module chunks = 0","export { linear as easeLinear } from \"./linear.js\";\nexport { quadInOut as easeQuad, quadIn as easeQuadIn, quadOut as easeQuadOut, quadInOut as easeQuadInOut } from \"./quad.js\";\nexport { cubicInOut as easeCubic, cubicIn as easeCubicIn, cubicOut as easeCubicOut, cubicInOut as easeCubicInOut } from \"./cubic.js\";\nexport { polyInOut as easePoly, polyIn as easePolyIn, polyOut as easePolyOut, polyInOut as easePolyInOut } from \"./poly.js\";\nexport { sinInOut as easeSin, sinIn as easeSinIn, sinOut as easeSinOut, sinInOut as easeSinInOut } from \"./sin.js\";\nexport { expInOut as easeExp, expIn as easeExpIn, expOut as easeExpOut, expInOut as easeExpInOut } from \"./exp.js\";\nexport { circleInOut as easeCircle, circleIn as easeCircleIn, circleOut as easeCircleOut, circleInOut as easeCircleInOut } from \"./circle.js\";\nexport { bounceOut as easeBounce, bounceIn as easeBounceIn, bounceOut as easeBounceOut, bounceInOut as easeBounceInOut } from \"./bounce.js\";\nexport { backInOut as easeBack, backIn as easeBackIn, backOut as easeBackOut, backInOut as easeBackInOut } from \"./back.js\";\nexport { elasticOut as easeElastic, elasticIn as easeElasticIn, elasticOut as easeElasticOut, elasticInOut as easeElasticInOut } from \"./elastic.js\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/index.js\n// module id = 141\n// module chunks = 0","export function linear(t) {\n return +t;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/linear.js\n// module id = 142\n// module chunks = 0","export function quadIn(t) {\n return t * t;\n}\nexport function quadOut(t) {\n return t * (2 - t);\n}\nexport function quadInOut(t) {\n return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/quad.js\n// module id = 143\n// module chunks = 0","export function cubicIn(t) {\n return t * t * t;\n}\nexport function cubicOut(t) {\n return --t * t * t + 1;\n}\nexport function cubicInOut(t) {\n return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/cubic.js\n// module id = 144\n// module chunks = 0","var exponent = 3;\nexport var polyIn = function custom(e) {\n e = +e;\n\n function polyIn(t) {\n return Math.pow(t, e);\n }\n\n polyIn.exponent = custom;\n return polyIn;\n}(exponent);\nexport var polyOut = function custom(e) {\n e = +e;\n\n function polyOut(t) {\n return 1 - Math.pow(1 - t, e);\n }\n\n polyOut.exponent = custom;\n return polyOut;\n}(exponent);\nexport var polyInOut = function custom(e) {\n e = +e;\n\n function polyInOut(t) {\n return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;\n }\n\n polyInOut.exponent = custom;\n return polyInOut;\n}(exponent);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/poly.js\n// module id = 145\n// module chunks = 0","var pi = Math.PI,\n halfPi = pi / 2;\nexport function sinIn(t) {\n return 1 - Math.cos(t * halfPi);\n}\nexport function sinOut(t) {\n return Math.sin(t * halfPi);\n}\nexport function sinInOut(t) {\n return (1 - Math.cos(pi * t)) / 2;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/sin.js\n// module id = 146\n// module chunks = 0","export function expIn(t) {\n return Math.pow(2, 10 * t - 10);\n}\nexport function expOut(t) {\n return 1 - Math.pow(2, -10 * t);\n}\nexport function expInOut(t) {\n return ((t *= 2) <= 1 ? Math.pow(2, 10 * t - 10) : 2 - Math.pow(2, 10 - 10 * t)) / 2;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/exp.js\n// module id = 147\n// module chunks = 0","export function circleIn(t) {\n return 1 - Math.sqrt(1 - t * t);\n}\nexport function circleOut(t) {\n return Math.sqrt(1 - --t * t);\n}\nexport function circleInOut(t) {\n return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/circle.js\n// module id = 148\n// module chunks = 0","var b1 = 4 / 11,\n b2 = 6 / 11,\n b3 = 8 / 11,\n b4 = 3 / 4,\n b5 = 9 / 11,\n b6 = 10 / 11,\n b7 = 15 / 16,\n b8 = 21 / 22,\n b9 = 63 / 64,\n b0 = 1 / b1 / b1;\nexport function bounceIn(t) {\n return 1 - bounceOut(1 - t);\n}\nexport function bounceOut(t) {\n return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9;\n}\nexport function bounceInOut(t) {\n return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/bounce.js\n// module id = 149\n// module chunks = 0","var overshoot = 1.70158;\nexport var backIn = function custom(s) {\n s = +s;\n\n function backIn(t) {\n return t * t * ((s + 1) * t - s);\n }\n\n backIn.overshoot = custom;\n return backIn;\n}(overshoot);\nexport var backOut = function custom(s) {\n s = +s;\n\n function backOut(t) {\n return --t * t * ((s + 1) * t + s) + 1;\n }\n\n backOut.overshoot = custom;\n return backOut;\n}(overshoot);\nexport var backInOut = function custom(s) {\n s = +s;\n\n function backInOut(t) {\n return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;\n }\n\n backInOut.overshoot = custom;\n return backInOut;\n}(overshoot);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/back.js\n// module id = 150\n// module chunks = 0","var tau = 2 * Math.PI,\n amplitude = 1,\n period = 0.3;\nexport var elasticIn = function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticIn(t) {\n return a * Math.pow(2, 10 * --t) * Math.sin((s - t) / p);\n }\n\n elasticIn.amplitude = function (a) {\n return custom(a, p * tau);\n };\n\n elasticIn.period = function (p) {\n return custom(a, p);\n };\n\n return elasticIn;\n}(amplitude, period);\nexport var elasticOut = function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticOut(t) {\n return 1 - a * Math.pow(2, -10 * (t = +t)) * Math.sin((t + s) / p);\n }\n\n elasticOut.amplitude = function (a) {\n return custom(a, p * tau);\n };\n\n elasticOut.period = function (p) {\n return custom(a, p);\n };\n\n return elasticOut;\n}(amplitude, period);\nexport var elasticInOut = function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticInOut(t) {\n return ((t = t * 2 - 1) < 0 ? a * Math.pow(2, 10 * t) * Math.sin((s - t) / p) : 2 - a * Math.pow(2, -10 * t) * Math.sin((s + t) / p)) / 2;\n }\n\n elasticInOut.amplitude = function (a) {\n return custom(a, p * tau);\n };\n\n elasticInOut.period = function (p) {\n return custom(a, p);\n };\n\n return elasticInOut;\n}(amplitude, period);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-ease@1.0.6@d3-ease/src/elastic.js\n// module id = 151\n// module chunks = 0","export { default as interpolate } from \"./src/value\";\nexport { default as interpolateArray } from \"./src/array\";\nexport { default as interpolateBasis } from \"./src/basis\";\nexport { default as interpolateBasisClosed } from \"./src/basisClosed\";\nexport { default as interpolateDate } from \"./src/date\";\nexport { default as interpolateNumber } from \"./src/number\";\nexport { default as interpolateObject } from \"./src/object\";\nexport { default as interpolateRound } from \"./src/round\";\nexport { default as interpolateString } from \"./src/string\";\nexport { interpolateTransformCss, interpolateTransformSvg } from \"./src/transform/index\";\nexport { default as interpolateZoom } from \"./src/zoom\";\nexport { default as interpolateRgb, rgbBasis as interpolateRgbBasis, rgbBasisClosed as interpolateRgbBasisClosed } from \"./src/rgb\";\nexport { default as interpolateHsl, hslLong as interpolateHslLong } from \"./src/hsl\";\nexport { default as interpolateLab } from \"./src/lab\";\nexport { default as interpolateHcl, hclLong as interpolateHclLong } from \"./src/hcl\";\nexport { default as interpolateCubehelix, cubehelixLong as interpolateCubehelixLong } from \"./src/cubehelix\";\nexport { default as quantize } from \"./src/quantize\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/index.js\n// module id = 152\n// module chunks = 0","import define, { extend } from \"./define.js\";\nimport { Color, rgbConvert, Rgb } from \"./color.js\";\nimport { deg2rad, rad2deg } from \"./math.js\"; // https://observablehq.com/@mbostock/lab-and-rgb\n\nvar K = 18,\n Xn = 0.96422,\n Yn = 1,\n Zn = 0.82521,\n t0 = 4 / 29,\n t1 = 6 / 29,\n t2 = 3 * t1 * t1,\n t3 = t1 * t1 * t1;\n\nfunction labConvert(o) {\n if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);\n if (o instanceof Hcl) return hcl2lab(o);\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var r = rgb2lrgb(o.r),\n g = rgb2lrgb(o.g),\n b = rgb2lrgb(o.b),\n y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn),\n x,\n z;\n if (r === g && g === b) x = z = y;else {\n x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);\n z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);\n }\n return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);\n}\n\nexport function gray(l, opacity) {\n return new Lab(l, 0, 0, opacity == null ? 1 : opacity);\n}\nexport default function lab(l, a, b, opacity) {\n return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);\n}\nexport function Lab(l, a, b, opacity) {\n this.l = +l;\n this.a = +a;\n this.b = +b;\n this.opacity = +opacity;\n}\ndefine(Lab, lab, extend(Color, {\n brighter: function (k) {\n return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n darker: function (k) {\n return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n rgb: function () {\n var y = (this.l + 16) / 116,\n x = isNaN(this.a) ? y : y + this.a / 500,\n z = isNaN(this.b) ? y : y - this.b / 200;\n x = Xn * lab2xyz(x);\n y = Yn * lab2xyz(y);\n z = Zn * lab2xyz(z);\n return new Rgb(lrgb2rgb(3.1338561 * x - 1.6168667 * y - 0.4906146 * z), lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z), lrgb2rgb(0.0719453 * x - 0.2289914 * y + 1.4052427 * z), this.opacity);\n }\n}));\n\nfunction xyz2lab(t) {\n return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;\n}\n\nfunction lab2xyz(t) {\n return t > t1 ? t * t * t : t2 * (t - t0);\n}\n\nfunction lrgb2rgb(x) {\n return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);\n}\n\nfunction rgb2lrgb(x) {\n return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);\n}\n\nfunction hclConvert(o) {\n if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);\n if (!(o instanceof Lab)) o = labConvert(o);\n if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);\n var h = Math.atan2(o.b, o.a) * rad2deg;\n return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);\n}\n\nexport function lch(l, c, h, opacity) {\n return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\nexport function hcl(h, c, l, opacity) {\n return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\nexport function Hcl(h, c, l, opacity) {\n this.h = +h;\n this.c = +c;\n this.l = +l;\n this.opacity = +opacity;\n}\n\nfunction hcl2lab(o) {\n if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);\n var h = o.h * deg2rad;\n return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);\n}\n\ndefine(Hcl, hcl, extend(Color, {\n brighter: function (k) {\n return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);\n },\n darker: function (k) {\n return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);\n },\n rgb: function () {\n return hcl2lab(this).rgb();\n }\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-color@1.4.0@d3-color/src/lab.js\n// module id = 153\n// module chunks = 0","import define, { extend } from \"./define.js\";\nimport { Color, rgbConvert, Rgb, darker, brighter } from \"./color.js\";\nimport { deg2rad, rad2deg } from \"./math.js\";\nvar A = -0.14861,\n B = +1.78277,\n C = -0.29227,\n D = -0.90649,\n E = +1.97294,\n ED = E * D,\n EB = E * B,\n BC_DA = B * C - D * A;\n\nfunction cubehelixConvert(o) {\n if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),\n bl = b - l,\n k = (E * (g - l) - C * bl) / D,\n s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)),\n // NaN if l=0 or l=1\n h = s ? Math.atan2(k, bl) * rad2deg - 120 : NaN;\n return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);\n}\n\nexport default function cubehelix(h, s, l, opacity) {\n return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);\n}\nexport function Cubehelix(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\ndefine(Cubehelix, cubehelix, extend(Color, {\n brighter: function (k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function (k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function () {\n var h = isNaN(this.h) ? 0 : (this.h + 120) * deg2rad,\n l = +this.l,\n a = isNaN(this.s) ? 0 : this.s * l * (1 - l),\n cosh = Math.cos(h),\n sinh = Math.sin(h);\n return new Rgb(255 * (l + a * (A * cosh + B * sinh)), 255 * (l + a * (C * cosh + D * sinh)), 255 * (l + a * (E * cosh)), this.opacity);\n }\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-color@1.4.0@d3-color/src/cubehelix.js\n// module id = 154\n// module chunks = 0","export default function (a, b) {\n return a = +a, b -= a, function (t) {\n return Math.round(a + b * t);\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/round.js\n// module id = 155\n// module chunks = 0","import number from \"../number\";\nimport { parseCss, parseSvg } from \"./parse\";\n\nfunction interpolateTransform(parse, pxComma, pxParen, degParen) {\n function pop(s) {\n return s.length ? s.pop() + \" \" : \"\";\n }\n\n function translate(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(\"translate(\", null, pxComma, null, pxParen);\n q.push({\n i: i - 4,\n x: number(xa, xb)\n }, {\n i: i - 2,\n x: number(ya, yb)\n });\n } else if (xb || yb) {\n s.push(\"translate(\" + xb + pxComma + yb + pxParen);\n }\n }\n\n function rotate(a, b, s, q) {\n if (a !== b) {\n if (a - b > 180) b += 360;else if (b - a > 180) a += 360; // shortest path\n\n q.push({\n i: s.push(pop(s) + \"rotate(\", null, degParen) - 2,\n x: number(a, b)\n });\n } else if (b) {\n s.push(pop(s) + \"rotate(\" + b + degParen);\n }\n }\n\n function skewX(a, b, s, q) {\n if (a !== b) {\n q.push({\n i: s.push(pop(s) + \"skewX(\", null, degParen) - 2,\n x: number(a, b)\n });\n } else if (b) {\n s.push(pop(s) + \"skewX(\" + b + degParen);\n }\n }\n\n function scale(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(pop(s) + \"scale(\", null, \",\", null, \")\");\n q.push({\n i: i - 4,\n x: number(xa, xb)\n }, {\n i: i - 2,\n x: number(ya, yb)\n });\n } else if (xb !== 1 || yb !== 1) {\n s.push(pop(s) + \"scale(\" + xb + \",\" + yb + \")\");\n }\n }\n\n return function (a, b) {\n var s = [],\n // string constants and placeholders\n q = []; // number interpolators\n\n a = parse(a), b = parse(b);\n translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);\n rotate(a.rotate, b.rotate, s, q);\n skewX(a.skewX, b.skewX, s, q);\n scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);\n a = b = null; // gc\n\n return function (t) {\n var i = -1,\n n = q.length,\n o;\n\n while (++i < n) s[(o = q[i]).i] = o.x(t);\n\n return s.join(\"\");\n };\n };\n}\n\nexport var interpolateTransformCss = interpolateTransform(parseCss, \"px, \", \"px)\", \"deg)\");\nexport var interpolateTransformSvg = interpolateTransform(parseSvg, \", \", \")\", \")\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/transform/index.js\n// module id = 156\n// module chunks = 0","import decompose, { identity } from \"./decompose\";\nvar cssNode, cssRoot, cssView, svgNode;\nexport function parseCss(value) {\n if (value === \"none\") return identity;\n if (!cssNode) cssNode = document.createElement(\"DIV\"), cssRoot = document.documentElement, cssView = document.defaultView;\n cssNode.style.transform = value;\n value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue(\"transform\");\n cssRoot.removeChild(cssNode);\n value = value.slice(7, -1).split(\",\");\n return decompose(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);\n}\nexport function parseSvg(value) {\n if (value == null) return identity;\n if (!svgNode) svgNode = document.createElementNS(\"http://www.w3.org/2000/svg\", \"g\");\n svgNode.setAttribute(\"transform\", value);\n if (!(value = svgNode.transform.baseVal.consolidate())) return identity;\n value = value.matrix;\n return decompose(value.a, value.b, value.c, value.d, value.e, value.f);\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/transform/parse.js\n// module id = 157\n// module chunks = 0","var degrees = 180 / Math.PI;\nexport var identity = {\n translateX: 0,\n translateY: 0,\n rotate: 0,\n skewX: 0,\n scaleX: 1,\n scaleY: 1\n};\nexport default function (a, b, c, d, e, f) {\n var scaleX, scaleY, skewX;\n if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;\n if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;\n if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;\n if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;\n return {\n translateX: e,\n translateY: f,\n rotate: Math.atan2(b, a) * degrees,\n skewX: Math.atan(skewX) * degrees,\n scaleX: scaleX,\n scaleY: scaleY\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/transform/decompose.js\n// module id = 158\n// module chunks = 0","var rho = Math.SQRT2,\n rho2 = 2,\n rho4 = 4,\n epsilon2 = 1e-12;\n\nfunction cosh(x) {\n return ((x = Math.exp(x)) + 1 / x) / 2;\n}\n\nfunction sinh(x) {\n return ((x = Math.exp(x)) - 1 / x) / 2;\n}\n\nfunction tanh(x) {\n return ((x = Math.exp(2 * x)) - 1) / (x + 1);\n} // p0 = [ux0, uy0, w0]\n// p1 = [ux1, uy1, w1]\n\n\nexport default function (p0, p1) {\n var ux0 = p0[0],\n uy0 = p0[1],\n w0 = p0[2],\n ux1 = p1[0],\n uy1 = p1[1],\n w1 = p1[2],\n dx = ux1 - ux0,\n dy = uy1 - uy0,\n d2 = dx * dx + dy * dy,\n i,\n S; // Special case for u0 ≅ u1.\n\n if (d2 < epsilon2) {\n S = Math.log(w1 / w0) / rho;\n\n i = function (t) {\n return [ux0 + t * dx, uy0 + t * dy, w0 * Math.exp(rho * t * S)];\n };\n } // General case.\n else {\n var d1 = Math.sqrt(d2),\n b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),\n b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),\n r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),\n r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);\n S = (r1 - r0) / rho;\n\n i = function (t) {\n var s = t * S,\n coshr0 = cosh(r0),\n u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));\n return [ux0 + u * dx, uy0 + u * dy, w0 * coshr0 / cosh(rho * s + r0)];\n };\n }\n\n i.duration = S * 1000;\n return i;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/zoom.js\n// module id = 159\n// module chunks = 0","import { hsl as colorHsl } from \"d3-color\";\nimport color, { hue } from \"./color\";\n\nfunction hsl(hue) {\n return function (start, end) {\n var h = hue((start = colorHsl(start)).h, (end = colorHsl(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function (t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n };\n}\n\nexport default hsl(hue);\nexport var hslLong = hsl(color);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/hsl.js\n// module id = 160\n// module chunks = 0","import { lab as colorLab } from \"d3-color\";\nimport color from \"./color\";\nexport default function lab(start, end) {\n var l = color((start = colorLab(start)).l, (end = colorLab(end)).l),\n a = color(start.a, end.a),\n b = color(start.b, end.b),\n opacity = color(start.opacity, end.opacity);\n return function (t) {\n start.l = l(t);\n start.a = a(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/lab.js\n// module id = 161\n// module chunks = 0","import { hcl as colorHcl } from \"d3-color\";\nimport color, { hue } from \"./color\";\n\nfunction hcl(hue) {\n return function (start, end) {\n var h = hue((start = colorHcl(start)).h, (end = colorHcl(end)).h),\n c = color(start.c, end.c),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function (t) {\n start.h = h(t);\n start.c = c(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n };\n}\n\nexport default hcl(hue);\nexport var hclLong = hcl(color);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/hcl.js\n// module id = 162\n// module chunks = 0","import { cubehelix as colorCubehelix } from \"d3-color\";\nimport color, { hue } from \"./color\";\n\nfunction cubehelix(hue) {\n return function cubehelixGamma(y) {\n y = +y;\n\n function cubehelix(start, end) {\n var h = hue((start = colorCubehelix(start)).h, (end = colorCubehelix(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function (t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(Math.pow(t, y));\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n cubehelix.gamma = cubehelixGamma;\n return cubehelix;\n }(1);\n}\n\nexport default cubehelix(hue);\nexport var cubehelixLong = cubehelix(color);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/cubehelix.js\n// module id = 163\n// module chunks = 0","export default function (interpolator, n) {\n var samples = new Array(n);\n\n for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1));\n\n return samples;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_d3-interpolate@1.1.6@d3-interpolate/src/quantize.js\n// module id = 164\n// module chunks = 0","module.exports = {\n canvas: require('./canvas'),\n svg: require('./svg')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/index.js\n// module id = 165\n// module chunks = 0","module.exports = {\n painter: require('./painter')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/canvas/index.js\n// module id = 166\n// module chunks = 0","var Util = require('../../util');\n\nvar renderUtil = require('./util');\n\nvar SHAPE_ATTRS = ['fillStyle', 'font', 'globalAlpha', 'lineCap', 'lineWidth', 'lineJoin', 'miterLimit', 'shadowBlur', 'shadowColor', 'shadowOffsetX', 'shadowOffsetY', 'strokeStyle', 'textAlign', 'textBaseline', 'lineDash', 'lineDashOffset'];\n\nvar Painter = /*#__PURE__*/function () {\n function Painter(dom) {\n if (!dom) {\n return null;\n }\n\n var canvasId = Util.uniqueId('canvas_');\n var canvasDom = Util.createDom('<canvas id=\"' + canvasId + '\"></canvas>');\n dom.appendChild(canvasDom);\n this.type = 'canvas';\n this.canvas = canvasDom;\n this.context = canvasDom.getContext('2d');\n this.toDraw = false;\n return this;\n }\n\n var _proto = Painter.prototype;\n\n _proto.beforeDraw = function beforeDraw() {\n var el = this.canvas;\n this.context && this.context.clearRect(0, 0, el.width, el.height);\n };\n\n _proto.draw = function draw(model) {\n var self = this;\n\n function drawInner() {\n self.animateHandler = Util.requestAnimationFrame(function () {\n self.animateHandler = undefined;\n\n if (self.toDraw) {\n drawInner();\n }\n });\n self.beforeDraw();\n\n try {\n self._drawGroup(model);\n } catch (ev) {\n // 绘制时异常,中断重绘\n console.warn('error in draw canvas, detail as:');\n console.warn(ev);\n self.toDraw = false;\n }\n\n self.toDraw = false;\n }\n\n if (self.animateHandler) {\n self.toDraw = true;\n } else {\n drawInner();\n }\n };\n\n _proto.drawSync = function drawSync(model) {\n this.beforeDraw();\n\n this._drawGroup(model);\n };\n\n _proto._drawGroup = function _drawGroup(group) {\n if (group._cfg.removed || group._cfg.destroyed || !group._cfg.visible) {\n return;\n }\n\n var self = this;\n var children = group._cfg.children;\n var child = null;\n this.setContext(group);\n\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n\n if (children[i].isGroup) {\n self._drawGroup(child);\n } else {\n self._drawShape(child);\n }\n }\n\n this.restoreContext(group);\n };\n\n _proto._drawShape = function _drawShape(shape) {\n if (shape._cfg.removed || shape._cfg.destroyed || !shape._cfg.visible) {\n return;\n }\n\n this.setContext(shape);\n shape.drawInner(this.context);\n this.restoreContext(shape);\n shape._cfg.attrs = shape._attrs;\n shape._cfg.hasUpdate = false;\n };\n\n _proto.setContext = function setContext(shape) {\n var context = this.context;\n var clip = shape._attrs.clip;\n context.save();\n\n if (clip) {\n // context.save();\n clip.resetTransform(context);\n clip.createPath(context);\n context.clip(); // context.restore();\n }\n\n this.resetContext(shape);\n shape.resetTransform(context);\n };\n\n _proto.restoreContext = function restoreContext() {\n this.context.restore();\n };\n\n _proto.resetContext = function resetContext(shape) {\n var context = this.context;\n var elAttrs = shape._attrs; // var canvas = this.get('canvas');\n\n if (!shape.isGroup) {\n for (var k in elAttrs) {\n if (SHAPE_ATTRS.indexOf(k) > -1) {\n // 非canvas属性不附加\n var v = elAttrs[k];\n\n if (k === 'fillStyle') {\n v = renderUtil.parseStyle(v, shape, context);\n }\n\n if (k === 'strokeStyle') {\n v = renderUtil.parseStyle(v, shape, context);\n }\n\n if (k === 'lineDash' && context.setLineDash) {\n if (Util.isArray(v)) {\n context.setLineDash(v);\n } else if (Util.isString(v)) {\n context.setLineDash(v.split(' '));\n }\n } else {\n context[k] = v;\n }\n }\n }\n }\n };\n\n return Painter;\n}();\n\nmodule.exports = Painter;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/canvas/painter.js\n// module id = 167\n// module chunks = 0","var Util = require('../../util/index');\n\nvar regexTags = /[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig;\nvar regexDot = /[^\\s\\,]+/ig;\nvar regexLG = /^l\\s*\\(\\s*([\\d.]+)\\s*\\)\\s*(.*)/i;\nvar regexRG = /^r\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*\\)\\s*(.*)/i;\nvar regexPR = /^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i;\nvar regexColorStop = /[\\d.]+:(#[^\\s]+|[^\\)]+\\))/ig;\nvar numColorCache = {};\n\nfunction addStop(steps, gradient) {\n var arr = steps.match(regexColorStop);\n Util.each(arr, function (item) {\n item = item.split(':');\n gradient.addColorStop(item[0], item[1]);\n });\n}\n\nfunction parseLineGradient(color, self, context) {\n var arr = regexLG.exec(color);\n var angle = Util.mod(Util.toRadian(parseFloat(arr[1])), Math.PI * 2);\n var steps = arr[2];\n var box = self.getBBox();\n var start;\n var end;\n\n if (angle >= 0 && angle < 0.5 * Math.PI) {\n start = {\n x: box.minX,\n y: box.minY\n };\n end = {\n x: box.maxX,\n y: box.maxY\n };\n } else if (0.5 * Math.PI <= angle && angle < Math.PI) {\n start = {\n x: box.maxX,\n y: box.minY\n };\n end = {\n x: box.minX,\n y: box.maxY\n };\n } else if (Math.PI <= angle && angle < 1.5 * Math.PI) {\n start = {\n x: box.maxX,\n y: box.maxY\n };\n end = {\n x: box.minX,\n y: box.minY\n };\n } else {\n start = {\n x: box.minX,\n y: box.maxY\n };\n end = {\n x: box.maxX,\n y: box.minY\n };\n }\n\n var tanTheta = Math.tan(angle);\n var tanTheta2 = tanTheta * tanTheta;\n var x = (end.x - start.x + tanTheta * (end.y - start.y)) / (tanTheta2 + 1) + start.x;\n var y = tanTheta * (end.x - start.x + tanTheta * (end.y - start.y)) / (tanTheta2 + 1) + start.y;\n var gradient = context.createLinearGradient(start.x, start.y, x, y);\n addStop(steps, gradient);\n return gradient;\n}\n\nfunction parseRadialGradient(color, self, context) {\n var arr = regexRG.exec(color);\n var fx = parseFloat(arr[1]);\n var fy = parseFloat(arr[2]);\n var fr = parseFloat(arr[3]);\n var steps = arr[4]; // 环半径为0时默认无渐变取渐变序列的最后一个颜色\n\n if (fr === 0) {\n var colors = steps.match(regexColorStop);\n return colors[colors.length - 1].split(':')[1];\n }\n\n var box = self.getBBox();\n var width = box.maxX - box.minX;\n var height = box.maxY - box.minY;\n var r = Math.sqrt(width * width + height * height) / 2;\n var gradient = context.createRadialGradient(box.minX + width * fx, box.minY + height * fy, fr * r, box.minX + width / 2, box.minY + height / 2, r);\n addStop(steps, gradient);\n return gradient;\n}\n\nfunction parsePattern(color, self, context) {\n if (self.get('patternSource') && self.get('patternSource') === color) {\n return self.get('pattern');\n }\n\n var pattern;\n var img;\n var arr = regexPR.exec(color);\n var repeat = arr[1];\n var source = arr[2]; // Function to be called when pattern loads\n\n function onload() {\n // Create pattern\n pattern = context.createPattern(img, repeat);\n self.setSilent('pattern', pattern); // be a cache\n\n self.setSilent('patternSource', color);\n }\n\n switch (repeat) {\n case 'a':\n repeat = 'repeat';\n break;\n\n case 'x':\n repeat = 'repeat-x';\n break;\n\n case 'y':\n repeat = 'repeat-y';\n break;\n\n case 'n':\n repeat = 'no-repeat';\n break;\n\n default:\n repeat = 'no-repeat';\n }\n\n img = new Image(); // If source URL is not a data URL\n\n if (!source.match(/^data:/i)) {\n // Set crossOrigin for this image\n img.crossOrigin = 'Anonymous';\n }\n\n img.src = source;\n\n if (img.complete) {\n onload();\n } else {\n img.onload = onload; // Fix onload() bug in IE9\n\n img.src = img.src;\n }\n\n return pattern;\n}\n\nmodule.exports = {\n parsePath: function parsePath(path) {\n path = path || [];\n\n if (Util.isArray(path)) {\n return path;\n }\n\n if (Util.isString(path)) {\n path = path.match(regexTags);\n Util.each(path, function (item, index) {\n item = item.match(regexDot);\n\n if (item[0].length > 1) {\n var tag = item[0].charAt(0);\n item.splice(1, 0, item[0].substr(1));\n item[0] = tag;\n }\n\n Util.each(item, function (sub, i) {\n if (!isNaN(sub)) {\n item[i] = +sub;\n }\n });\n path[index] = item;\n });\n return path;\n }\n },\n parseStyle: function parseStyle(color, self, context) {\n if (Util.isString(color)) {\n if (color[1] === '(' || color[2] === '(') {\n if (color[0] === 'l') {\n // regexLG.test(color)\n return parseLineGradient(color, self, context);\n } else if (color[0] === 'r') {\n // regexRG.test(color)\n return parseRadialGradient(color, self, context);\n } else if (color[0] === 'p') {\n // regexPR.test(color)\n return parsePattern(color, self, context);\n }\n }\n\n return color;\n }\n },\n numberToColor: function numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n\n if (!color) {\n var str = num.toString(16);\n\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n\n color = '#' + str;\n numColorCache[num] = color;\n }\n\n return color;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/canvas/util.js\n// module id = 168\n// module chunks = 0","module.exports = {\n painter: require('./painter'),\n getShape: require('./getShape')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/index.js\n// module id = 169\n// module chunks = 0","var Util = require('../../util');\n\nvar _require = require('../../util/format'),\n parseRadius = _require.parseRadius;\n\nvar Marker = require('../../shapes/marker');\n\nvar Defs = require('./defs');\n\nvar SHAPE_TO_TAGS = {\n rect: 'path',\n circle: 'circle',\n line: 'line',\n path: 'path',\n marker: 'path',\n text: 'text',\n polygon: 'polygon',\n image: 'image',\n ellipse: 'ellipse',\n dom: 'foreignObject',\n fan: 'path',\n group: 'g'\n};\nvar LETTER_SPACING = 0.3;\nvar SVG_ATTR_MAP = {\n opacity: 'opacity',\n fillStyle: 'fill',\n strokeOpacity: 'stroke-opacity',\n fillOpacity: 'fill-opacity',\n strokeStyle: 'stroke',\n x: 'x',\n y: 'y',\n r: 'r',\n width: 'width',\n height: 'height',\n x1: 'x1',\n x2: 'x2',\n y1: 'y1',\n y2: 'y2',\n lineCap: 'stroke-linecap',\n lineJoin: 'stroke-linejoin',\n lineWidth: 'stroke-width',\n lineDash: 'stroke-dasharray',\n lineDashOffset: 'stroke-dashoffset',\n miterLimit: 'stroke-miterlimit',\n font: 'font',\n fontSize: 'font-size',\n fontStyle: 'font-style',\n fontVariant: 'font-variant',\n fontWeight: 'font-weight',\n fontFamily: 'font-family',\n startArrow: 'marker-start',\n endArrow: 'marker-end',\n path: 'd',\n class: 'class',\n id: 'id',\n style: 'style',\n preserveAspectRatio: 'preserveAspectRatio'\n};\nvar BASELINE_MAP = {\n top: 'before-edge',\n middle: 'central',\n bottom: 'after-edge',\n alphabetic: 'baseline',\n hanging: 'hanging'\n};\nvar ANCHOR_MAP = {\n left: 'left',\n start: 'left',\n center: 'middle',\n right: 'end',\n end: 'end'\n};\n\nvar Painter = /*#__PURE__*/function () {\n function Painter(dom) {\n if (!dom) {\n return null;\n }\n\n var svgId = Util.uniqueId('canvas_');\n var canvasDom = Util.createDom(\"<svg id=\\\"\" + svgId + \"\\\"></svg>\");\n dom.appendChild(canvasDom);\n this.type = 'svg';\n this.canvas = canvasDom;\n this.context = new Defs(canvasDom);\n this.toDraw = false;\n return this;\n }\n\n var _proto = Painter.prototype;\n\n _proto.draw = function draw(model) {\n var self = this;\n\n function drawInner() {\n self.animateHandler = Util.requestAnimationFrame(function () {\n self.animateHandler = undefined;\n\n if (self.toDraw) {\n drawInner();\n }\n });\n\n try {\n model.resetMatrix();\n\n self._drawGroup(model, false);\n } catch (ev) {\n // 绘制时异常,中断重绘\n console.warn('error in draw canvas, detail as:');\n console.warn(ev);\n self.toDraw = false;\n }\n\n self.toDraw = false;\n }\n\n if (self.animateHandler) {\n self.toDraw = true;\n } else {\n drawInner();\n }\n };\n\n _proto.drawSync = function drawSync(model) {\n this._drawChildren(model, false);\n };\n\n _proto._drawGroup = function _drawGroup(model, redraw) {\n var cfg = model._cfg;\n\n if (cfg.removed || cfg.destroyed) {\n return;\n }\n /**\n * FIXME redraw: 为了使元素置顶的临时解决方案\n * 如果直接将dom元素重排可以解决部分问题。但是如果重排后的group中有新增的shape置顶效果就没有了\n * 所以只能删除原有节点新增节点以及所有子节点。这时候哪怕shape有el也需要判断一下是否需要重绘\n */\n\n\n if (!cfg.el && cfg.attrs) {\n redraw = true;\n }\n\n if (cfg.tobeRemoved) {\n Util.each(cfg.tobeRemoved, function (item) {\n if (item.parentNode) {\n item.parentNode.removeChild(item);\n }\n });\n cfg.tobeRemoved = [];\n }\n\n this._drawShape(model, redraw);\n\n if (cfg.children && cfg.children.length > 0) {\n this._drawChildren(model, redraw);\n }\n };\n\n _proto._drawChildren = function _drawChildren(parent, redraw) {\n var self = this;\n var children = parent._cfg.children;\n var shape; // 防止在画children的时候父group已经被destroy\n\n if (!children) {\n return;\n }\n\n if (parent._cfg.el && !redraw) {\n // FIXME 这边是为了解决一个group中有元素已经生成el还有一些没生成el时没生成el的置底效果不work\n var childLen = parent._cfg.el.childNodes.length + 1;\n\n if (childLen !== 0 && childLen !== children.length) {\n redraw = true;\n }\n }\n\n for (var i = 0; i < children.length; i++) {\n shape = children[i];\n\n if (shape.isGroup) {\n self._drawGroup(shape, redraw);\n } else {\n self._drawShape(shape, redraw);\n }\n }\n };\n\n _proto._drawShape = function _drawShape(model, redraw) {\n var self = this;\n var attrs = model._attrs;\n var cfg = model._cfg;\n var el = cfg.el; // 删除\n\n if (cfg.removed || cfg.destroyed) {\n if (el) {\n el.parentNode.removeChild(cfg.el);\n }\n\n return;\n } // 重绘节点\n\n\n if (redraw && el) {\n el.parentNode && el.parentNode.removeChild(el);\n el = null;\n } // 新增节点\n\n\n if (!el && cfg.parent) {\n self._createDom(model);\n\n self._updateShape(model);\n }\n\n el = cfg.el;\n\n if (cfg.visible === false) {\n el.setAttribute('visibility', 'hidden');\n return;\n }\n\n if (cfg.visible && el.hasAttribute('visibility')) {\n el.removeAttribute('visibility');\n } // 更新\n\n\n if (cfg.hasUpdate) {\n self._updateShape(model);\n }\n\n if (attrs.clip && attrs.clip._cfg.hasUpdate) {\n self._updateShape(attrs.clip);\n }\n };\n\n _proto._updateShape = function _updateShape(model) {\n var self = this;\n var attrs = model._attrs;\n var formerAttrs = model._cfg.attrs;\n\n if (!formerAttrs) {\n return;\n }\n\n if (!model._cfg.el) {\n self._createDom(model);\n }\n\n if ('clip' in attrs) {\n this._setClip(model, attrs.clip);\n }\n\n if ('shadowOffsetX' in attrs || 'shadowOffsetY' in attrs || 'shadowBlur' in attrs || 'shadowColor' in attrs) {\n this._setShadow(model);\n }\n\n if (model.type === 'text') {\n self._updateText(model);\n\n return;\n }\n\n if (model.type === 'fan') {\n self._updateFan(model);\n }\n\n if (model.type === 'marker') {\n model._cfg.el.setAttribute('d', self._assembleMarker(attrs));\n }\n\n if (model.type === 'rect') {\n model._cfg.el.setAttribute('d', self._assembleRect(attrs));\n }\n\n for (var key in attrs) {\n if (attrs[key] !== formerAttrs[key]) {\n self._setAttribute(model, key, attrs[key]);\n }\n }\n\n model._cfg.attrs = Util.deepMix({}, model._attrs);\n model._cfg.hasUpdate = false;\n };\n\n _proto._setAttribute = function _setAttribute(model, name, value) {\n var type = model.type;\n var attrs = model._attrs;\n var el = model._cfg.el;\n var defs = this.context; // 计算marker路径\n\n if ((type === 'marker' || type === 'rect') && ~['x', 'y', 'radius', 'r'].indexOf(name)) {\n return;\n } // 圆和椭圆不是x, y 是cx, cy。 marker的x,y 用于计算marker的路径不需要写到dom\n\n\n if (~['circle', 'ellipse'].indexOf(type) && ~['x', 'y'].indexOf(name)) {\n el.setAttribute('c' + name, parseInt(value, 10));\n return;\n } // 多边形\n\n\n if (type === 'polygon' && name === 'points') {\n if (!value || value.length === 0) {\n value = '';\n }\n\n if (Util.isArray(value)) {\n value = value.map(function (point) {\n return point[0] + ',' + point[1];\n });\n value = value.join(' ');\n }\n\n el.setAttribute('points', value);\n return;\n } // 设置path\n\n\n if (name === 'path' && Util.isArray(value)) {\n el.setAttribute('d', this._formatPath(value));\n return;\n } // 设置图片\n\n\n if (name === 'img') {\n this._setImage(model, value);\n\n return;\n }\n\n if (name === 'transform') {\n if (!value) {\n el.removeAttribute('transform');\n return;\n }\n\n this._setTransform(model);\n\n return;\n }\n\n if (name === 'rotate') {\n if (!value) {\n el.removeAttribute('transform');\n return;\n }\n\n this._setTransform(model);\n\n return;\n }\n\n if (name === 'matrix') {\n this._setTransform(model);\n\n return;\n }\n\n if (name === 'fillStyle' || name === 'strokeStyle') {\n this._setColor(model, name, value);\n\n return;\n }\n\n if (name === 'clip') {\n return;\n }\n\n if (~name.indexOf('Arrow')) {\n name = SVG_ATTR_MAP[name];\n\n if (!value) {\n model._cfg[name] = null;\n el.removeAttribute(name);\n } else {\n var id = null;\n\n if (typeof value === 'boolean') {\n id = defs.getDefaultArrow(attrs, name);\n } else {\n id = defs.addArrow(attrs, name);\n }\n\n el.setAttribute(name, \"url(#\" + id + \")\");\n model._cfg[name] = id;\n }\n\n return;\n } // foreignObject\n\n\n if (name === 'html') {\n if (typeof value === 'string') {\n el.innerHTML = value;\n } else {\n el.innerHTML = '';\n el.appendChild(value);\n }\n }\n\n if (SVG_ATTR_MAP[name]) {\n el.setAttribute(SVG_ATTR_MAP[name], value);\n }\n };\n\n _proto._createDom = function _createDom(model) {\n var type = SHAPE_TO_TAGS[model.type];\n var attrs = model._attrs;\n\n if (!type) {\n throw new Error('the type' + model.type + 'is not supported by svg');\n }\n\n var shape = document.createElementNS('http://www.w3.org/2000/svg', type);\n model._cfg.el = shape;\n\n if (model._cfg.parent) {\n model._cfg.parent.get('el').appendChild(shape);\n }\n\n model._cfg.attrs = {};\n\n if (model.type === 'text') {\n shape.setAttribute('paint-order', 'stroke');\n shape.setAttribute('style', 'stroke-linecap:butt; stroke-linejoin:miter;');\n } else {\n if (!attrs.stroke && !attrs.strokeStyle) {\n shape.setAttribute('stroke', 'none');\n }\n\n if (!attrs.fill && !attrs.fillStyle) {\n shape.setAttribute('fill', 'none');\n }\n }\n\n return shape;\n };\n\n _proto._assembleMarker = function _assembleMarker(attrs) {\n var r = attrs.r;\n\n if (typeof attrs.r === 'undefined') {\n r = attrs.radius;\n }\n\n if (isNaN(Number(attrs.x)) || isNaN(Number(attrs.y)) || isNaN(Number(r))) {\n return '';\n }\n\n var d = '';\n\n if (typeof attrs.symbol === 'function') {\n d = attrs.symbol(attrs.x, attrs.y, r);\n } else {\n d = Marker.Symbols[attrs.symbol || 'circle'](attrs.x, attrs.y, r);\n }\n\n if (Util.isArray(d)) {\n d = d.map(function (path) {\n return path.join(' ');\n }).join('');\n }\n\n return d;\n };\n\n _proto._assembleRect = function _assembleRect(attrs) {\n var x = attrs.x;\n var y = attrs.y;\n var w = attrs.width;\n var h = attrs.height;\n var radius = attrs.radius;\n\n if (!radius) {\n return \"M \" + x + \",\" + y + \" l \" + w + \",0 l 0,\" + h + \" l\" + -w + \" 0 z\";\n }\n\n var r = parseRadius(radius);\n\n if (Util.isArray(radius)) {\n if (radius.length === 1) {\n r.r1 = r.r2 = r.r3 = r.r4 = radius[0];\n } else if (radius.length === 2) {\n r.r1 = r.r3 = radius[0];\n r.r2 = r.r4 = radius[1];\n } else if (radius.length === 3) {\n r.r1 = radius[0];\n r.r2 = r.r4 = radius[1];\n r.r3 = radius[2];\n } else {\n r.r1 = radius[0];\n r.r2 = radius[1];\n r.r3 = radius[2];\n r.r4 = radius[3];\n }\n } else {\n r.r1 = r.r2 = r.r3 = r.r4 = radius;\n }\n\n var d = [[\"M \" + (x + r.r1) + \",\" + y], [\"l \" + (w - r.r1 - r.r2) + \",0\"], [\"a \" + r.r2 + \",\" + r.r2 + \",0,0,1,\" + r.r2 + \",\" + r.r2], [\"l 0,\" + (h - r.r2 - r.r3)], [\"a \" + r.r3 + \",\" + r.r3 + \",0,0,1,\" + -r.r3 + \",\" + r.r3], [\"l \" + (r.r3 + r.r4 - w) + \",0\"], [\"a \" + r.r4 + \",\" + r.r4 + \",0,0,1,\" + -r.r4 + \",\" + -r.r4], [\"l 0,\" + (r.r4 + r.r1 - h)], [\"a \" + r.r1 + \",\" + r.r1 + \",0,0,1,\" + r.r1 + \",\" + -r.r1], ['z']];\n return d.join(' ');\n };\n\n _proto._formatPath = function _formatPath(value) {\n value = value.map(function (path) {\n return path.join(' ');\n }).join('');\n\n if (~value.indexOf('NaN')) {\n return '';\n }\n\n return value;\n };\n\n _proto._setTransform = function _setTransform(model) {\n var matrix = model._attrs.matrix;\n var el = model._cfg.el;\n var transform = [];\n\n for (var i = 0; i < 9; i += 3) {\n transform.push(matrix[i] + ',' + matrix[i + 1]);\n }\n\n transform = transform.join(',');\n\n if (transform.indexOf('NaN') === -1) {\n el.setAttribute('transform', \"matrix(\" + transform + \")\");\n } else {\n console.warn('invalid matrix:', matrix);\n }\n };\n\n _proto._setImage = function _setImage(model, img) {\n var attrs = model._attrs;\n var el = model._cfg.el;\n\n if (Util.isString(img)) {\n el.setAttribute('href', img);\n } else if (img instanceof Image) {\n if (!attrs.width) {\n el.setAttribute('width', img.width);\n model._attrs.width = img.width;\n }\n\n if (!attrs.height) {\n el.setAttribute('height', img.height);\n model._attrs.height = img.height;\n }\n\n el.setAttribute('href', img.src);\n } else if (img instanceof HTMLElement && Util.isString(img.nodeName) && img.nodeName.toUpperCase() === 'CANVAS') {\n el.setAttribute('href', img.toDataURL());\n } else if (img instanceof ImageData) {\n var canvas = document.createElement('canvas');\n canvas.setAttribute('width', img.width);\n canvas.setAttribute('height', img.height);\n canvas.getContext('2d').putImageData(img, 0, 0);\n\n if (!attrs.width) {\n el.setAttribute('width', img.width);\n model._attrs.width = img.width;\n }\n\n if (!attrs.height) {\n el.setAttribute('height', img.height);\n model._attrs.height = img.height;\n }\n\n el.setAttribute('href', canvas.toDataURL());\n }\n };\n\n _proto._updateFan = function _updateFan(model) {\n function getPoint(angle, radius, center) {\n return {\n x: radius * Math.cos(angle) + center.x,\n y: radius * Math.sin(angle) + center.y\n };\n }\n\n var attrs = model._attrs;\n var cfg = model._cfg;\n var center = {\n x: attrs.x,\n y: attrs.y\n };\n var d = [];\n var startAngle = attrs.startAngle;\n var endAngle = attrs.endAngle;\n\n if (Util.isNumberEqual(endAngle - startAngle, Math.PI * 2)) {\n endAngle -= 0.00001;\n }\n\n var outerStart = getPoint(startAngle, attrs.re, center);\n var outerEnd = getPoint(endAngle, attrs.re, center);\n var fa = endAngle > startAngle ? 1 : 0;\n var fs = Math.abs(endAngle - startAngle) > Math.PI ? 1 : 0;\n var rs = attrs.rs;\n var re = attrs.re;\n var innerStart = getPoint(startAngle, attrs.rs, center);\n var innerEnd = getPoint(endAngle, attrs.rs, center);\n\n if (attrs.rs > 0) {\n d.push(\"M \" + outerEnd.x + \",\" + outerEnd.y);\n d.push(\"L \" + innerEnd.x + \",\" + innerEnd.y);\n d.push(\"A \" + rs + \",\" + rs + \",0,\" + fs + \",\" + (fa === 1 ? 0 : 1) + \",\" + innerStart.x + \",\" + innerStart.y);\n d.push(\"L \" + outerStart.x + \" \" + outerStart.y);\n } else {\n d.push(\"M \" + center.x + \",\" + center.y);\n d.push(\"L \" + outerStart.x + \",\" + outerStart.y);\n }\n\n d.push(\"A \" + re + \",\" + re + \",0,\" + fs + \",\" + fa + \",\" + outerEnd.x + \",\" + outerEnd.y);\n\n if (attrs.rs > 0) {\n d.push(\"L \" + innerEnd.x + \",\" + innerEnd.y);\n } else {\n d.push('Z');\n }\n\n cfg.el.setAttribute('d', d.join(' '));\n };\n\n _proto._updateText = function _updateText(model) {\n var self = this;\n var attrs = model._attrs;\n var formerAttrs = model._cfg.attrs;\n var el = model._cfg.el;\n\n this._setFont(model);\n\n for (var attr in attrs) {\n if (attrs[attr] !== formerAttrs[attr]) {\n if (attr === 'text') {\n self._setText(model, \"\" + attrs[attr]);\n\n continue;\n }\n\n if (attr === 'fillStyle' || attr === 'strokeStyle') {\n this._setColor(model, attr, attrs[attr]);\n\n continue;\n }\n\n if (attr === 'matrix') {\n this._setTransform(model);\n\n continue;\n }\n\n if (SVG_ATTR_MAP[attr]) {\n el.setAttribute(SVG_ATTR_MAP[attr], attrs[attr]);\n }\n }\n }\n\n model._cfg.attrs = Object.assign({}, model._attrs);\n model._cfg.hasUpdate = false;\n };\n\n _proto._setFont = function _setFont(model) {\n var el = model.get('el');\n var attrs = model._attrs;\n var fontSize = attrs.fontSize;\n el.setAttribute('alignment-baseline', BASELINE_MAP[attrs.textBaseline] || 'baseline');\n el.setAttribute('text-anchor', ANCHOR_MAP[attrs.textAlign] || 'left');\n\n if (fontSize && +fontSize < 12) {\n // 小于 12 像素的文本进行 scale 处理\n attrs.matrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n model.transform([['t', -attrs.x, -attrs.y], ['s', +fontSize / 12, +fontSize / 12], ['t', attrs.x, attrs.y]]);\n }\n };\n\n _proto._setText = function _setText(model, text) {\n var el = model._cfg.el;\n var baseline = model._attrs.textBaseline || 'bottom';\n\n if (!text) {\n el.innerHTML = '';\n } else if (~text.indexOf('\\n')) {\n var x = model._attrs.x;\n var textArr = text.split('\\n');\n var textLen = textArr.length - 1;\n var arr = '';\n Util.each(textArr, function (segment, i) {\n if (i === 0) {\n if (baseline === 'alphabetic') {\n arr += \"<tspan x=\\\"\" + x + \"\\\" dy=\\\"\" + -textLen + \"em\\\">\" + segment + \"</tspan>\";\n } else if (baseline === 'top') {\n arr += \"<tspan x=\\\"\" + x + \"\\\" dy=\\\"0.9em\\\">\" + segment + \"</tspan>\";\n } else if (baseline === 'middle') {\n arr += \"<tspan x=\\\"\" + x + \"\\\" dy=\\\"\" + -(textLen - 1) / 2 + \"em\\\">\" + segment + \"</tspan>\";\n } else if (baseline === 'bottom') {\n arr += \"<tspan x=\\\"\" + x + \"\\\" dy=\\\"-\" + (textLen + LETTER_SPACING) + \"em\\\">\" + segment + \"</tspan>\";\n } else if (baseline === 'hanging') {\n arr += \"<tspan x=\\\"\" + x + \"\\\" dy=\\\"\" + (-(textLen - 1) - LETTER_SPACING) + \"em\\\">\" + segment + \"</tspan>\";\n }\n } else {\n arr += \"<tspan x=\\\"\" + x + \"\\\" dy=\\\"1em\\\">\" + segment + \"</tspan>\";\n }\n });\n el.innerHTML = arr;\n } else {\n el.innerHTML = text;\n }\n };\n\n _proto._setClip = function _setClip(model, value) {\n var el = model._cfg.el;\n\n if (!value) {\n el.removeAttribute('clip-path');\n return;\n }\n\n if (!el.hasAttribute('clip-path')) {\n this._createDom(value);\n\n this._updateShape(value);\n\n var id = this.context.addClip(value);\n el.setAttribute('clip-path', \"url(#\" + id + \")\");\n } else if (value._cfg.hasUpdate) {\n this._updateShape(value);\n }\n };\n\n _proto._setColor = function _setColor(model, name, value) {\n var el = model._cfg.el;\n var defs = this.context;\n\n if (!value) {\n el.setAttribute(SVG_ATTR_MAP[name], 'none');\n return;\n }\n\n value = value.trim();\n\n if (/^[r,R,L,l]{1}[\\s]*\\(/.test(value)) {\n var id = defs.find('gradient', value);\n\n if (!id) {\n id = defs.addGradient(value);\n }\n\n el.setAttribute(SVG_ATTR_MAP[name], \"url(#\" + id + \")\");\n } else if (/^[p,P]{1}[\\s]*\\(/.test(value)) {\n var _id = defs.find('pattern', value);\n\n if (!_id) {\n _id = defs.addPattern(value);\n }\n\n el.setAttribute(SVG_ATTR_MAP[name], \"url(#\" + _id + \")\");\n } else {\n el.setAttribute(SVG_ATTR_MAP[name], value);\n }\n };\n\n _proto._setShadow = function _setShadow(model) {\n var el = model._cfg.el;\n var attrs = model._attrs;\n var cfg = {\n dx: attrs.shadowOffsetX,\n dy: attrs.shadowOffsetY,\n blur: attrs.shadowBlur,\n color: attrs.shadowColor\n };\n\n if (!cfg.dx && !cfg.dy && !cfg.blur && !cfg.color) {\n el.removeAttribute('filter');\n } else {\n var id = this.context.find('filter', cfg);\n\n if (!id) {\n id = this.context.addShadow(cfg, this);\n }\n\n el.setAttribute('filter', \"url(#\" + id + \")\");\n }\n };\n\n return Painter;\n}();\n\nmodule.exports = Painter;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/painter.js\n// module id = 170\n// module chunks = 0","/**\n * Created by Elaine on 2018/5/9.\n */\nvar Util = require('../../util/index');\n\nvar Gradient = require('./defs/gradient');\n\nvar Shadow = require('./defs/shadow');\n\nvar Arrow = require('./defs/arrow');\n\nvar Clip = require('./defs/clip');\n\nvar Pattern = require('./defs/pattern');\n\nvar Defs = /*#__PURE__*/function () {\n function Defs(canvas) {\n var el = document.createElementNS('http://www.w3.org/2000/svg', 'defs');\n var id = Util.uniqueId('defs_');\n el.id = id;\n canvas.appendChild(el);\n this.children = [];\n this.defaultArrow = {};\n this.el = el;\n this.canvas = canvas;\n }\n\n var _proto = Defs.prototype;\n\n _proto.find = function find(type, attr) {\n var children = this.children;\n var result = null;\n\n for (var i = 0; i < children.length; i++) {\n if (children[i].match(type, attr)) {\n result = children[i].id;\n break;\n }\n }\n\n return result;\n };\n\n _proto.findById = function findById(id) {\n var children = this.children;\n var flag = null;\n\n for (var i = 0; i < children.length; i++) {\n if (children[i].id === id) {\n flag = children[i];\n break;\n }\n }\n\n return flag;\n };\n\n _proto.add = function add(item) {\n this.children.push(item);\n item.canvas = this.canvas;\n item.parent = this;\n };\n\n _proto.getDefaultArrow = function getDefaultArrow(attrs, name) {\n var stroke = attrs.stroke || attrs.strokeStyle;\n\n if (this.defaultArrow[stroke]) {\n return this.defaultArrow[stroke].id;\n }\n\n var arrow = new Arrow(attrs, name);\n this.defaultArrow[stroke] = arrow;\n this.el.appendChild(arrow.el);\n return arrow.id;\n };\n\n _proto.addGradient = function addGradient(cfg) {\n var gradient = new Gradient(cfg);\n this.el.appendChild(gradient.el);\n this.add(gradient);\n return gradient.id;\n };\n\n _proto.addArrow = function addArrow(attrs, name) {\n var arrow = new Arrow(attrs, name);\n this.el.appendChild(arrow.el);\n return arrow.id;\n };\n\n _proto.addShadow = function addShadow(cfg) {\n var shadow = new Shadow(cfg);\n this.el.appendChild(shadow.el);\n this.add(shadow);\n return shadow.id;\n };\n\n _proto.addPattern = function addPattern(cfg) {\n var pattern = new Pattern(cfg);\n this.el.appendChild(pattern.el);\n this.add(pattern);\n return pattern.id;\n };\n\n _proto.addClip = function addClip(cfg) {\n var clip = new Clip(cfg);\n this.el.appendChild(clip.el);\n this.add(clip);\n return clip.id;\n };\n\n return Defs;\n}();\n\nmodule.exports = Defs;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs.js\n// module id = 171\n// module chunks = 0","/**\n * Created by Elaine on 2018/5/9.\n */\nvar Util = require('../../../util/index');\n\nvar regexLG = /^l\\s*\\(\\s*([\\d.]+)\\s*\\)\\s*(.*)/i;\nvar regexRG = /^r\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*\\)\\s*(.*)/i;\nvar regexColorStop = /[\\d.]+:(#[^\\s]+|[^\\)]+\\))/ig;\n\nfunction addStop(steps) {\n var arr = steps.match(regexColorStop);\n\n if (!arr) {\n return '';\n }\n\n var stops = '';\n arr.sort(function (a, b) {\n a = a.split(':');\n b = b.split(':');\n return Number(a[0]) - Number(b[0]);\n });\n Util.each(arr, function (item) {\n item = item.split(':');\n stops += \"<stop offset=\\\"\" + item[0] + \"\\\" stop-color=\\\"\" + item[1] + \"\\\"></stop>\";\n });\n return stops;\n}\n\nfunction parseLineGradient(color, el) {\n var arr = regexLG.exec(color);\n var angle = Util.mod(Util.toRadian(parseFloat(arr[1])), Math.PI * 2);\n var steps = arr[2];\n var start;\n var end;\n\n if (angle >= 0 && angle < 0.5 * Math.PI) {\n start = {\n x: 0,\n y: 0\n };\n end = {\n x: 1,\n y: 1\n };\n } else if (0.5 * Math.PI <= angle && angle < Math.PI) {\n start = {\n x: 1,\n y: 0\n };\n end = {\n x: 0,\n y: 1\n };\n } else if (Math.PI <= angle && angle < 1.5 * Math.PI) {\n start = {\n x: 1,\n y: 1\n };\n end = {\n x: 0,\n y: 0\n };\n } else {\n start = {\n x: 0,\n y: 1\n };\n end = {\n x: 1,\n y: 0\n };\n }\n\n var tanTheta = Math.tan(angle);\n var tanTheta2 = tanTheta * tanTheta;\n var x = (end.x - start.x + tanTheta * (end.y - start.y)) / (tanTheta2 + 1) + start.x;\n var y = tanTheta * (end.x - start.x + tanTheta * (end.y - start.y)) / (tanTheta2 + 1) + start.y;\n el.setAttribute('x1', start.x);\n el.setAttribute('y1', start.y);\n el.setAttribute('x2', x);\n el.setAttribute('y2', y);\n el.innerHTML = addStop(steps);\n}\n\nfunction parseRadialGradient(color, self) {\n var arr = regexRG.exec(color);\n var cx = parseFloat(arr[1]);\n var cy = parseFloat(arr[2]);\n var r = parseFloat(arr[3]);\n var steps = arr[4];\n self.setAttribute('cx', cx);\n self.setAttribute('cy', cy);\n self.setAttribute('r', r);\n self.innerHTML = addStop(steps);\n}\n\nvar Gradient = /*#__PURE__*/function () {\n function Gradient(cfg) {\n var el = null;\n var id = Util.uniqueId('gradient_');\n\n if (cfg.toLowerCase()[0] === 'l') {\n el = document.createElementNS('http://www.w3.org/2000/svg', 'linearGradient');\n parseLineGradient(cfg, el);\n } else {\n el = document.createElementNS('http://www.w3.org/2000/svg', 'radialGradient');\n parseRadialGradient(cfg, el);\n }\n\n el.setAttribute('id', id);\n this.el = el;\n this.id = id;\n this.cfg = cfg;\n return this;\n }\n\n var _proto = Gradient.prototype;\n\n _proto.match = function match(type, attr) {\n return this.cfg === attr;\n };\n\n return Gradient;\n}();\n\nmodule.exports = Gradient;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/gradient.js\n// module id = 172\n// module chunks = 0","/**\n * Created by Elaine on 2018/5/10.\n */\nvar Util = require('../../../util/index');\n\nvar ATTR_MAP = {\n shadowColor: 'color',\n shadowOpacity: 'opacity',\n shadowBlur: 'blur',\n shadowOffsetX: 'dx',\n shadowOffsetY: 'dy'\n};\nvar SHADOW_DIMENSION = {\n x: '-40%',\n y: '-40%',\n width: '200%',\n height: '200%'\n};\n\nvar Shadow = /*#__PURE__*/function () {\n function Shadow(cfg) {\n this.type = 'filter';\n var el = document.createElementNS('http://www.w3.org/2000/svg', 'filter'); // expand the filter region to fill in shadows\n\n Util.each(SHADOW_DIMENSION, function (v, k) {\n el.setAttribute(k, v);\n });\n this.el = el;\n this.id = Util.uniqueId('filter_');\n this.el.id = this.id;\n this.cfg = cfg;\n\n this._parseShadow(cfg, el);\n\n return this;\n }\n\n var _proto = Shadow.prototype;\n\n _proto.match = function match(type, cfg) {\n if (this.type !== type) {\n return false;\n }\n\n var flag = true;\n var config = this.cfg;\n Util.each(Object.keys(config), function (attr) {\n if (config[attr] !== cfg[attr]) {\n flag = false;\n return false;\n }\n });\n return flag;\n };\n\n _proto.update = function update(name, value) {\n var config = this.cfg;\n config[ATTR_MAP[name]] = value;\n\n this._parseShadow(config, this.el);\n\n return this;\n };\n\n _proto._parseShadow = function _parseShadow(config, el) {\n var child = \"<feDropShadow \\n dx=\\\"\" + (config.dx || 0) + \"\\\" \\n dy=\\\"\" + (config.dy || 0) + \"\\\" \\n stdDeviation=\\\"\" + (config.blur ? config.blur / 10 : 0) + \"\\\"\\n flood-color=\\\"\" + (config.color ? config.color : '#000') + \"\\\"\\n flood-opacity=\\\"\" + (config.opacity ? config.opacity : 1) + \"\\\"\\n />\";\n el.innerHTML = child;\n };\n\n return Shadow;\n}();\n\nmodule.exports = Shadow;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/shadow.js\n// module id = 173\n// module chunks = 0","/**\n * Created by Elaine on 2018/5/11.\n */\nvar Util = require('../../../util/index');\n\nvar Arrow = /*#__PURE__*/function () {\n function Arrow(attrs, type) {\n var el = document.createElementNS('http://www.w3.org/2000/svg', 'marker');\n var id = Util.uniqueId('marker_');\n el.setAttribute('id', id);\n var shape = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n shape.setAttribute('stroke', 'none');\n shape.setAttribute('fill', attrs.stroke || '#000');\n el.appendChild(shape);\n el.setAttribute('overflow', 'visible');\n el.setAttribute('orient', 'auto-start-reverse');\n this.el = el;\n this.child = shape;\n this.id = id;\n this.cfg = attrs[type === 'marker-start' ? 'startArrow' : 'endArrow'];\n this.stroke = attrs.stroke || '#000';\n\n if (this.cfg === true) {\n this._setDefaultPath(type, shape);\n } else {\n this._setMarker(attrs.lineWidth, shape);\n }\n\n return this;\n }\n\n var _proto = Arrow.prototype;\n\n _proto.match = function match() {\n return false;\n };\n\n _proto._setDefaultPath = function _setDefaultPath(type, el) {\n var parent = this.el;\n el.setAttribute('d', 'M0,0 L6,3 L0,6 L3,3Z');\n parent.setAttribute('refX', 3);\n parent.setAttribute('refY', 3);\n };\n\n _proto._setMarker = function _setMarker(r, el) {\n var parent = this.el;\n var path = this.cfg.path;\n var d = this.cfg.d;\n\n if (Util.isArray(path)) {\n path = path.map(function (segment) {\n return segment.join(' ');\n }).join('');\n }\n\n el.setAttribute('d', path);\n parent.appendChild(el);\n\n if (d) {\n parent.setAttribute('refX', d / r);\n }\n };\n\n _proto.update = function update(fill) {\n var child = this.child;\n\n if (child.attr) {\n child.attr('fill', fill);\n } else {\n child.setAttribute('fill', fill);\n }\n };\n\n return Arrow;\n}();\n\nmodule.exports = Arrow;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/arrow.js\n// module id = 174\n// module chunks = 0","/**\n * Created by Elaine on 2018/5/14.\n */\nvar Util = require('../../../util/index');\n\nvar Clip = /*#__PURE__*/function () {\n function Clip(cfg) {\n this.type = 'clip';\n var el = document.createElementNS('http://www.w3.org/2000/svg', 'clipPath');\n this.el = el;\n this.id = Util.uniqueId('clip_');\n el.id = this.id;\n var shapeEl = cfg._cfg.el; // just in case the clip shape is also a shape needs to be drawn\n\n el.appendChild(shapeEl.cloneNode(true));\n this.cfg = cfg;\n return this;\n }\n\n var _proto = Clip.prototype;\n\n _proto.match = function match() {\n return false;\n };\n\n _proto.remove = function remove() {\n var el = this.el;\n el.parentNode.removeChild(el);\n };\n\n return Clip;\n}();\n\nmodule.exports = Clip;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/clip.js\n// module id = 175\n// module chunks = 0","/**\n * Created by Elaine on 2018/5/9.\n */\nvar Util = require('../../../util/index');\n\nvar regexPR = /^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i;\n\nvar Pattern = /*#__PURE__*/function () {\n function Pattern(cfg) {\n var el = document.createElementNS('http://www.w3.org/2000/svg', 'pattern');\n el.setAttribute('patternUnits', 'userSpaceOnUse');\n var child = document.createElementNS('http://www.w3.org/2000/svg', 'image');\n el.appendChild(child);\n var id = Util.uniqueId('pattern_');\n el.id = id;\n this.el = el;\n this.id = id;\n this.cfg = cfg;\n var arr = regexPR.exec(cfg);\n var source = arr[2];\n child.setAttribute('href', source);\n var img = new Image();\n\n if (!source.match(/^data:/i)) {\n img.crossOrigin = 'Anonymous';\n }\n\n img.src = source;\n\n function onload() {\n console.log(img.width, img.height);\n el.setAttribute('width', img.width);\n el.setAttribute('height', img.height);\n }\n\n if (img.complete) {\n onload();\n } else {\n img.onload = onload; // Fix onload() bug in IE9\n\n img.src = img.src;\n }\n\n return this;\n }\n\n var _proto = Pattern.prototype;\n\n _proto.match = function match(type, attr) {\n return this.cfg === attr;\n };\n\n return Pattern;\n}();\n\nmodule.exports = Pattern;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/defs/pattern.js\n// module id = 176\n// module chunks = 0","var TAG_MAP = {\n svg: 'svg',\n circle: 'circle',\n rect: 'rect',\n text: 'text',\n path: 'path',\n foreignObject: 'foreignObject',\n polygon: 'polygon',\n ellipse: 'ellipse',\n image: 'image'\n};\n\nmodule.exports = function getShape(x, y, e) {\n var target = e.target || e.srcElement;\n\n if (!TAG_MAP[target.tagName]) {\n var parent = target.parentNode;\n\n while (parent && !TAG_MAP[parent.tagName]) {\n parent = parent.parentNode;\n }\n\n target = parent;\n }\n\n if (this._cfg.el === target) {\n return this;\n }\n\n return this.find(function (item) {\n return item._cfg && item._cfg.el === target;\n });\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_g@3.3.6@@antv/g/lib/renderers/svg/getShape.js\n// module id = 177\n// module chunks = 0","var each = require('./each');\n\nvar mix = require('./mix'); // collections\n\n\nvar DOMUtil = require('./dom/');\n\nvar arrayUtil = require('./array/');\n\nvar eventUtil = require('./event/');\n\nvar formatUtil = require('./format');\n\nvar mathUtil = require('./math/');\n\nvar matrixUtil = require('./matrix/');\n\nvar objectUtil = require('./object/');\n\nvar pathUtil = require('./path/');\n\nvar stringUtil = require('./string/');\n\nvar typeUtil = require('./type/');\n\nvar util = {\n // collections\n DOMUtil: DOMUtil,\n DomUtil: DOMUtil,\n MatrixUtil: matrixUtil,\n PathUtil: pathUtil,\n arrayUtil: arrayUtil,\n domUtil: DOMUtil,\n eventUtil: eventUtil,\n formatUtil: formatUtil,\n mathUtil: mathUtil,\n matrixUtil: matrixUtil,\n objectUtil: objectUtil,\n stringUtil: stringUtil,\n pathUtil: pathUtil,\n typeUtil: typeUtil,\n // others\n augment: require('./augment'),\n clone: require('./clone'),\n debounce: require('./debounce'),\n deepMix: require('./deep-mix'),\n each: each,\n extend: require('./extend'),\n filter: require('./filter'),\n group: require('./group'),\n groupBy: require('./group-by'),\n groupToMap: require('./group-to-map'),\n indexOf: require('./index-of'),\n isEmpty: require('./is-empty'),\n isEqual: require('./is-equal'),\n isEqualWith: require('./is-equal-with'),\n map: require('./map'),\n mix: mix,\n pick: require('./pick'),\n throttle: require('./throttle'),\n toArray: require('./to-array'),\n toString: require('./to-string'),\n uniqueId: require('./unique-id')\n};\neach([DOMUtil, arrayUtil, eventUtil, formatUtil, mathUtil, matrixUtil, objectUtil, pathUtil, stringUtil, typeUtil], function (collection) {\n mix(util, collection);\n});\nmodule.exports = util;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/index.js\n// module id = 178\n// module chunks = 0","module.exports = {\n addEventListener: require('./add-event-listener'),\n createDom: require('./create-dom'),\n getBoundingClientRect: require('./get-bounding-client-rect'),\n getHeight: require('./get-height'),\n getOuterHeight: require('./get-outer-height'),\n getOuterWidth: require('./get-outer-width'),\n getRatio: require('./get-ratio'),\n getStyle: require('./get-style'),\n getWidth: require('./get-width'),\n modifyCSS: require('./modify-css'),\n requestAnimationFrame: require('./request-animation-frame')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/index.js\n// module id = 179\n// module chunks = 0","/**\n * 添加事件监听器\n * @param {Object} target DOM对象\n * @param {String} eventType 事件名\n * @param {Funtion} callback 回调函数\n * @return {Object} 返回对象\n */\nmodule.exports = function addEventListener(target, eventType, callback) {\n if (target) {\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, false);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, callback, false);\n }\n };\n } else if (target.attachEvent) {\n target.attachEvent('on' + eventType, callback);\n return {\n remove: function remove() {\n target.detachEvent('on' + eventType, callback);\n }\n };\n }\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/add-event-listener.js\n// module id = 180\n// module chunks = 0","module.exports = function getBoundingClientRect(node, defaultValue) {\n if (node && node.getBoundingClientRect) {\n var rect = node.getBoundingClientRect();\n var top = document.documentElement.clientTop;\n var left = document.documentElement.clientLeft;\n return {\n top: rect.top - top,\n bottom: rect.bottom - top,\n left: rect.left - left,\n right: rect.right - left\n };\n }\n\n return defaultValue || null;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-bounding-client-rect.js\n// module id = 181\n// module chunks = 0","/**\n * 获取高度\n * @param {HTMLElement} el dom节点\n * @param {Number} defaultValue 默认值\n * @return {Number} 高度\n */\nmodule.exports = function getHeight(el, defaultValue) {\n var height = this.getStyle(el, 'height', defaultValue);\n\n if (height === 'auto') {\n height = el.offsetHeight;\n }\n\n return parseFloat(height);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-height.js\n// module id = 182\n// module chunks = 0","/**\n * 获取外层高度\n * @param {HTMLElement} el dom节点\n * @param {Number} defaultValue 默认值\n * @return {Number} 高度\n */\nmodule.exports = function getOuterHeight(el, defaultValue) {\n var height = this.getHeight(el, defaultValue);\n var bTop = parseFloat(this.getStyle(el, 'borderTopWidth')) || 0;\n var pTop = parseFloat(this.getStyle(el, 'paddingTop')) || 0;\n var pBottom = parseFloat(this.getStyle(el, 'paddingBottom')) || 0;\n var bBottom = parseFloat(this.getStyle(el, 'borderBottomWidth')) || 0;\n return height + bTop + bBottom + pTop + pBottom;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-outer-height.js\n// module id = 183\n// module chunks = 0","/**\n * 获取外层宽度\n * @param {HTMLElement} el dom节点\n * @param {Number} defaultValue 默认值\n * @return {Number} 宽度\n */\nmodule.exports = function getOuterWidth(el, defaultValue) {\n var width = this.getWidth(el, defaultValue);\n var bLeft = parseFloat(this.getStyle(el, 'borderLeftWidth')) || 0;\n var pLeft = parseFloat(this.getStyle(el, 'paddingLeft')) || 0;\n var pRight = parseFloat(this.getStyle(el, 'paddingRight')) || 0;\n var bRight = parseFloat(this.getStyle(el, 'borderRightWidth')) || 0;\n return width + bLeft + bRight + pLeft + pRight;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-outer-width.js\n// module id = 184\n// module chunks = 0","module.exports = function getRatio() {\n return window.devicePixelRatio ? window.devicePixelRatio : 2;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-ratio.js\n// module id = 185\n// module chunks = 0","var isNil = require('../type/is-nil');\n/**\n * 获取样式\n * @param {Object} dom DOM节点\n * @param {String} name 样式名\n * @param {Any} defaultValue 默认值\n * @return {String} 属性值\n */\n\n\nmodule.exports = function getStyle(dom, name, defaultValue) {\n try {\n if (window.getComputedStyle) {\n return window.getComputedStyle(dom, null)[name];\n }\n\n return dom.currentStyle[name];\n } catch (e) {\n if (!isNil(defaultValue)) {\n return defaultValue;\n }\n\n return null;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-style.js\n// module id = 186\n// module chunks = 0","/**\n * 获取宽度\n * @param {HTMLElement} el dom节点\n * @param {Number} defaultValue 默认值\n * @return {Number} 宽度\n */\nmodule.exports = function getWidth(el, defaultValue) {\n var width = this.getStyle(el, 'width', defaultValue);\n\n if (width === 'auto') {\n width = el.offsetWidth;\n }\n\n return parseFloat(width);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/dom/get-width.js\n// module id = 187\n// module chunks = 0","module.exports = {\n contains: require('./contains'),\n difference: require('./difference'),\n find: require('./find'),\n firstValue: require('./first-value'),\n flatten: require('./flatten'),\n flattenDeep: require('./flatten-deep'),\n getRange: require('./get-range'),\n merge: require('./merge'),\n pull: require('./pull'),\n pullAt: require('./pull-at'),\n reduce: require('./reduce'),\n remove: require('./remove'),\n sortBy: require('./sort-by'),\n union: require('./union'),\n uniq: require('./uniq'),\n valuesOfKey: require('./values-of-key')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/index.js\n// module id = 188\n// module chunks = 0","var filter = require('../filter');\n\nvar contains = require('./contains');\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to inspect.\n * @param {Array} values The values to exclude.\n * @return {Array} Returns the new array of filtered values.\n * @example\n * difference([2, 1], [2, 3]); // => [1]\n */\n\n\nvar difference = function difference(arr) {\n var values = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n return filter(arr, function (value) {\n return !contains(values, value);\n });\n};\n\nmodule.exports = difference;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/difference.js\n// module id = 189\n// module chunks = 0","var isFunction = require('../type/is-function');\n\nvar isPlainObject = require('../type/is-plain-object');\n\nvar isMatch = require('../object/is-match');\n\nfunction find(arr, predicate) {\n var _predicate = void 0;\n\n if (isFunction(predicate)) {\n _predicate = predicate;\n }\n\n if (isPlainObject(predicate)) {\n _predicate = function _predicate(a) {\n return isMatch(a, predicate);\n };\n }\n\n if (_predicate) {\n for (var i = 0; i < arr.length; i += 1) {\n if (_predicate(arr[i])) {\n return arr[i];\n }\n }\n }\n\n return null;\n}\n\nmodule.exports = find;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/find.js\n// module id = 190\n// module chunks = 0","var isNil = require('../type/is-nil');\n\nvar isArray = require('../type/is-array');\n\nvar firstValue = function firstValue(data, name) {\n var rst = null;\n\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n\n if (!isNil(value)) {\n if (isArray(value)) {\n rst = value[0];\n } else {\n rst = value;\n }\n\n break;\n }\n }\n\n return rst;\n};\n\nmodule.exports = firstValue;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/first-value.js\n// module id = 191\n// module chunks = 0","var isArray = require('../type/is-array');\n\nvar each = require('../each');\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flatten([1, [2, [3, [4]], 5]]); // => [1, 2, [3, [4]], 5]\n */\n\n\nvar flatten = function flatten(arr) {\n if (!isArray(arr)) {\n return arr;\n }\n\n var result = [];\n each(arr, function (item) {\n if (isArray(item)) {\n each(item, function (subItem) {\n result.push(subItem);\n });\n } else {\n result.push(item);\n }\n });\n return result;\n};\n\nmodule.exports = flatten;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/flatten.js\n// module id = 192\n// module chunks = 0","var isArray = require('../type/is-array');\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @param {Array} result The array to return.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]\n */\n\n\nvar flattenDeep = function flattenDeep(arr) {\n var result = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n if (!isArray(arr)) {\n result.push(arr);\n } else {\n for (var i = 0; i < arr.length; i += 1) {\n flattenDeep(arr[i], result);\n }\n }\n\n return result;\n};\n\nmodule.exports = flattenDeep;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/flatten-deep.js\n// module id = 193\n// module chunks = 0","var filter = require('../filter');\n\nvar isArray = require('../type/is-array');\n\nvar getRange = function getRange(values) {\n // 存在 NaN 时min,max 判定会出问题\n values = filter(values, function (v) {\n return !isNaN(v);\n });\n\n if (!values.length) {\n // 如果没有数值则直接返回0\n return {\n min: 0,\n max: 0\n };\n }\n\n if (isArray(values[0])) {\n var tmp = [];\n\n for (var i = 0; i < values.length; i++) {\n tmp = tmp.concat(values[i]);\n }\n\n values = tmp;\n }\n\n var max = Math.max.apply(null, values);\n var min = Math.min.apply(null, values);\n return {\n min: min,\n max: max\n };\n};\n\nmodule.exports = getRange;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/get-range.js\n// module id = 194\n// module chunks = 0","var merge = function merge(dataArray) {\n var rst = [];\n\n for (var i = 0; i < dataArray.length; i++) {\n rst = rst.concat(dataArray[i]);\n }\n\n return rst;\n};\n\nmodule.exports = merge;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/merge.js\n// module id = 195\n// module chunks = 0","var isArray = require('../type/is-array');\n\nvar isPlainObject = require('../type/is-plain-object');\n\nvar each = require('../each');\n\nvar reduce = function reduce(arr, fn, init) {\n if (!isArray(arr) && !isPlainObject(arr)) {\n return arr;\n }\n\n var result = init;\n each(arr, function (data, i) {\n result = fn(result, data, i);\n });\n return result;\n};\n\nmodule.exports = reduce;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/reduce.js\n// module id = 196\n// module chunks = 0","var isArrayLike = require('../type/is-array-like');\n\nvar pullAt = require('./pull-at');\n\nvar remove = function remove(arr, predicate) {\n /**\n * const arr = [1, 2, 3, 4]\n * const evens = remove(arr, n => n % 2 == 0)\n * console.log(arr) // => [1, 3]\n * console.log(evens) // => [2, 4]\n */\n var result = [];\n\n if (!isArrayLike(arr)) {\n return result;\n }\n\n var i = -1;\n var indexes = [];\n var length = arr.length;\n\n while (++i < length) {\n var value = arr[i];\n\n if (predicate(value, i, arr)) {\n result.push(value);\n indexes.push(i);\n }\n }\n\n pullAt(arr, indexes);\n return result;\n};\n\nmodule.exports = remove;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/remove.js\n// module id = 197\n// module chunks = 0","var isString = require('../type/is-string');\n\nvar isFunction = require('../type/is-function');\n\nvar isArray = require('../type/is-array');\n\nfunction sortBy(arr, key) {\n var comparer = void 0;\n\n if (isFunction(key)) {\n comparer = function comparer(a, b) {\n return key(a) - key(b);\n };\n } else {\n var keys = [];\n\n if (isString(key)) {\n keys.push(key);\n } else if (isArray(key)) {\n keys = key;\n }\n\n comparer = function comparer(a, b) {\n for (var i = 0; i < keys.length; i += 1) {\n var prop = keys[i];\n\n if (a[prop] > b[prop]) {\n return 1;\n }\n\n if (a[prop] < b[prop]) {\n return -1;\n }\n }\n\n return 0;\n };\n }\n\n arr.sort(comparer);\n return arr;\n}\n\nmodule.exports = sortBy;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/sort-by.js\n// module id = 198\n// module chunks = 0","var each = require('../each');\n\nvar toArray = require('../to-array');\n\nvar uniq = require('./uniq');\n\nvar union = function union() {\n var result = [];\n var sources = toArray(arguments);\n each(sources, function (arr) {\n result = result.concat(arr);\n });\n return uniq(result);\n};\n\nmodule.exports = union;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/union.js\n// module id = 199\n// module chunks = 0","var isNil = require('../type/is-nil');\n\nvar isArray = require('../type/is-array');\n\nvar each = require('../each');\n\nmodule.exports = function valuesOfKey(data, name) {\n var rst = [];\n var tmpMap = {};\n\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n\n if (!isNil(value)) {\n if (!isArray(value)) {\n value = [value];\n }\n\n each(value, function (val) {\n if (!tmpMap[val]) {\n rst.push(val);\n tmpMap[val] = true;\n }\n });\n }\n }\n\n return rst;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/array/values-of-key.js\n// module id = 200\n// module chunks = 0","module.exports = {\n getWrapBehavior: require('./get-wrap-behavior'),\n wrapBehavior: require('./wrap-behavior')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/event/index.js\n// module id = 201\n// module chunks = 0","/**\n * 获取封装的事件\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction getWrapBehavior(obj, action) {\n return obj['_wrap_' + action];\n}\n\nmodule.exports = getWrapBehavior;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/event/get-wrap-behavior.js\n// module id = 202\n// module chunks = 0","/**\n * 封装事件便于使用上下文this,和便于解除事件时使用\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction wrapBehavior(obj, action) {\n if (obj['_wrap_' + action]) {\n return obj['_wrap_' + action];\n }\n\n var method = function method(e) {\n obj[action](e);\n };\n\n obj['_wrap_' + action] = method;\n return method;\n}\n\nmodule.exports = wrapBehavior;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/event/wrap-behavior.js\n// module id = 203\n// module chunks = 0","var number2color = require('./number2color');\n\nmodule.exports = {\n number2color: number2color,\n numberToColor: number2color,\n parsePath: require('./parse-path'),\n parseRadius: require('./parse-radius')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/format/index.js\n// module id = 204\n// module chunks = 0","var numColorCache = {};\n\nmodule.exports = function numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n\n if (!color) {\n var str = num.toString(16);\n\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n\n color = '#' + str;\n numColorCache[num] = color;\n }\n\n return color;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/format/number2color.js\n// module id = 205\n// module chunks = 0","var isArray = require('../type/is-array');\n\nvar isString = require('../type/is-string');\n\nvar each = require('../each');\n\nvar regexTags = /[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig;\nvar regexDot = /[^\\s\\,]+/ig;\n\nmodule.exports = function parsePath(path) {\n path = path || [];\n\n if (isArray(path)) {\n return path;\n }\n\n if (isString(path)) {\n path = path.match(regexTags);\n each(path, function (item, index) {\n item = item.match(regexDot);\n\n if (item[0].length > 1) {\n var tag = item[0].charAt(0);\n item.splice(1, 0, item[0].substr(1));\n item[0] = tag;\n }\n\n each(item, function (sub, i) {\n if (!isNaN(sub)) {\n item[i] = +sub;\n }\n });\n path[index] = item;\n });\n return path;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/format/parse-path.js\n// module id = 206\n// module chunks = 0","var isArray = require('../type/is-array');\n\nmodule.exports = function parseRadius(radius) {\n var r1 = 0,\n r2 = 0,\n r3 = 0,\n r4 = 0;\n\n if (isArray(radius)) {\n if (radius.length === 1) {\n r1 = r2 = r3 = r4 = radius[0];\n } else if (radius.length === 2) {\n r1 = r3 = radius[0];\n r2 = r4 = radius[1];\n } else if (radius.length === 3) {\n r1 = radius[0];\n r2 = r4 = radius[1];\n r3 = radius[2];\n } else {\n r1 = radius[0];\n r2 = radius[1];\n r3 = radius[2];\n r4 = radius[3];\n }\n } else {\n r1 = r2 = r3 = r4 = radius;\n }\n\n return {\n r1: r1,\n r2: r2,\n r3: r3,\n r4: r4\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/format/parse-radius.js\n// module id = 207\n// module chunks = 0","var isNumberEqual = require('./is-number-equal');\n\nmodule.exports = {\n clamp: require('./clamp'),\n fixedBase: require('./fixed-base'),\n isDecimal: require('./is-decimal'),\n isEven: require('./is-even'),\n isInteger: require('./is-integer'),\n isNegative: require('./is-negative'),\n isNumberEqual: isNumberEqual,\n isOdd: require('./is-odd'),\n isPositive: require('./is-positive'),\n maxBy: require('./max-by'),\n minBy: require('./min-by'),\n mod: require('./mod'),\n snapEqual: isNumberEqual,\n toDegree: require('./to-degree'),\n toInt: require('./to-integer'),\n toInteger: require('./to-integer'),\n toRadian: require('./to-radian')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/index.js\n// module id = 208\n// module chunks = 0","var fixedBase = function fixedBase(v, base) {\n var str = base.toString();\n var index = str.indexOf('.');\n\n if (index === -1) {\n return Math.round(v);\n }\n\n var length = str.substr(index + 1).length;\n\n if (length > 20) {\n length = 20;\n }\n\n return parseFloat(v.toFixed(length));\n};\n\nmodule.exports = fixedBase;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/fixed-base.js\n// module id = 209\n// module chunks = 0","var isNumber = require('../type/is-number');\n\nvar isDecimal = function isDecimal(num) {\n return isNumber(num) && num % 1 !== 0;\n};\n\nmodule.exports = isDecimal;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-decimal.js\n// module id = 210\n// module chunks = 0","var isNumber = require('../type/is-number');\n\nvar isEven = function isEven(num) {\n return isNumber(num) && num % 2 === 0;\n};\n\nmodule.exports = isEven;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-even.js\n// module id = 211\n// module chunks = 0","var isNumber = require('../type/is-number');\n\nvar isInteger = Number.isInteger ? Number.isInteger : function (num) {\n return isNumber(num) && num % 1 === 0;\n};\nmodule.exports = isInteger;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-integer.js\n// module id = 212\n// module chunks = 0","var isNumber = require('../type/is-number');\n\nvar isNagative = function isNagative(num) {\n return isNumber(num) && num < 0;\n};\n\nmodule.exports = isNagative;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-negative.js\n// module id = 213\n// module chunks = 0","var isNumber = require('../type/is-number');\n\nvar isOdd = function isOdd(num) {\n return isNumber(num) && num % 2 !== 0;\n};\n\nmodule.exports = isOdd;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-odd.js\n// module id = 214\n// module chunks = 0","var isNumber = require('../type/is-number');\n\nvar isPositive = function isPositive(num) {\n return isNumber(num) && num > 0;\n};\n\nmodule.exports = isPositive;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/is-positive.js\n// module id = 215\n// module chunks = 0","var isArray = require('../type/is-array');\n\nvar isFunction = require('../type/is-function');\n\nvar each = require('../each');\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the maximum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * maxBy(objects, function(o) { return o.n; });\n * // => { 'n': 2 }\n *\n * maxBy(objects, 'n');\n * // => { 'n': 2 }\n */\n\n\nvar maxBy = function maxBy(arr, fn) {\n if (!isArray(arr)) {\n return undefined;\n }\n\n var max = arr[0];\n var maxData = void 0;\n\n if (isFunction(fn)) {\n maxData = fn(arr[0]);\n } else {\n maxData = arr[0][fn];\n }\n\n var data = void 0;\n each(arr, function (val) {\n if (isFunction(fn)) {\n data = fn(val);\n } else {\n data = val[fn];\n }\n\n if (data > maxData) {\n max = val;\n maxData = data;\n }\n });\n return max;\n};\n\nmodule.exports = maxBy;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/max-by.js\n// module id = 216\n// module chunks = 0","var isArray = require('../type/is-array');\n\nvar isFunction = require('../type/is-function');\n\nvar each = require('../each');\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * minBy(objects, 'n');\n * // => { 'n': 1 }\n */\n\n\nvar minBy = function minBy(arr, fn) {\n if (!isArray(arr)) {\n return undefined;\n }\n\n var min = arr[0];\n var minData = void 0;\n\n if (isFunction(fn)) {\n minData = fn(arr[0]);\n } else {\n minData = arr[0][fn];\n }\n\n var data = void 0;\n each(arr, function (val) {\n if (isFunction(fn)) {\n data = fn(val);\n } else {\n data = val[fn];\n }\n\n if (data < minData) {\n min = val;\n minData = data;\n }\n });\n return min;\n};\n\nmodule.exports = minBy;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/math/min-by.js\n// module id = 217\n// module chunks = 0","module.exports = {\n mat3: require('./mat3'),\n vec2: require('./vec2'),\n vec3: require('./vec3'),\n transform: require('./transform')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/matrix/index.js\n// module id = 218\n// module chunks = 0","module.exports = {\n forIn: require('./for-in'),\n has: require('./has'),\n hasKey: require('./has-key'),\n hasValue: require('./has-value'),\n keys: require('./keys'),\n isMatch: require('./is-match'),\n values: require('./values')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/index.js\n// module id = 219\n// module chunks = 0","module.exports = require('../each');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/for-in.js\n// module id = 220\n// module chunks = 0","module.exports = require('./has');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/has-key.js\n// module id = 221\n// module chunks = 0","var contains = require('../array/contains');\n\nvar values = require('./values');\n\nmodule.exports = function (obj, value) {\n return contains(values(obj), value);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/object/has-value.js\n// module id = 222\n// module chunks = 0","var pathIntersection = require('./path-intersection');\n\nvar path2absolute = require('./path2absolute');\n\nvar path2curve = require('./path2curve');\n\nvar catmullRom2Bezier = require('./catmull-rom2bezier');\n\nmodule.exports = {\n catmullRom2Bezier: catmullRom2Bezier,\n catmullRomToBezier: catmullRom2Bezier,\n fillPath: require('./fill-path'),\n fillPathByDiff: require('./fill-path-by-diff'),\n formatPath: require('./format-path'),\n intersection: pathIntersection,\n pathIntersection: pathIntersection,\n parsePathArray: require('./parse-path-array'),\n parsePathString: require('./parse-path-string'),\n pathToAbsolute: path2absolute,\n path2absolute: path2absolute,\n pathTocurve: path2curve,\n path2curve: path2curve,\n rectPath: require('./rect-path')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/index.js\n// module id = 223\n// module chunks = 0","var isArray = require('../type/is-array');\n\nvar rectPath = require('./rect-path');\n\nvar pathTocurve = require('./path2curve');\n\nvar base3 = function base3(t, p1, p2, p3, p4) {\n var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4;\n var t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;\n return t * t2 - 3 * p1 + 3 * p2;\n};\n\nvar bezlen = function bezlen(x1, y1, x2, y2, x3, y3, x4, y4, z) {\n if (z === null) {\n z = 1;\n }\n\n z = z > 1 ? 1 : z < 0 ? 0 : z;\n var z2 = z / 2;\n var n = 12;\n var Tvalues = [-0.1252, 0.1252, -0.3678, 0.3678, -0.5873, 0.5873, -0.7699, 0.7699, -0.9041, 0.9041, -0.9816, 0.9816];\n var Cvalues = [0.2491, 0.2491, 0.2335, 0.2335, 0.2032, 0.2032, 0.1601, 0.1601, 0.1069, 0.1069, 0.0472, 0.0472];\n var sum = 0;\n\n for (var i = 0; i < n; i++) {\n var ct = z2 * Tvalues[i] + z2;\n var xbase = base3(ct, x1, x2, x3, x4);\n var ybase = base3(ct, y1, y2, y3, y4);\n var comb = xbase * xbase + ybase * ybase;\n sum += Cvalues[i] * Math.sqrt(comb);\n }\n\n return z2 * sum;\n};\n\nvar curveDim = function curveDim(x0, y0, x1, y1, x2, y2, x3, y3) {\n var tvalues = [];\n var bounds = [[], []];\n var a = void 0;\n var b = void 0;\n var c = void 0;\n var t = void 0;\n\n for (var i = 0; i < 2; ++i) {\n if (i === 0) {\n b = 6 * x0 - 12 * x1 + 6 * x2;\n a = -3 * x0 + 9 * x1 - 9 * x2 + 3 * x3;\n c = 3 * x1 - 3 * x0;\n } else {\n b = 6 * y0 - 12 * y1 + 6 * y2;\n a = -3 * y0 + 9 * y1 - 9 * y2 + 3 * y3;\n c = 3 * y1 - 3 * y0;\n }\n\n if (Math.abs(a) < 1e-12) {\n if (Math.abs(b) < 1e-12) {\n continue;\n }\n\n t = -c / b;\n\n if (t > 0 && t < 1) {\n tvalues.push(t);\n }\n\n continue;\n }\n\n var b2ac = b * b - 4 * c * a;\n var sqrtb2ac = Math.sqrt(b2ac);\n\n if (b2ac < 0) {\n continue;\n }\n\n var t1 = (-b + sqrtb2ac) / (2 * a);\n\n if (t1 > 0 && t1 < 1) {\n tvalues.push(t1);\n }\n\n var t2 = (-b - sqrtb2ac) / (2 * a);\n\n if (t2 > 0 && t2 < 1) {\n tvalues.push(t2);\n }\n }\n\n var j = tvalues.length;\n var jlen = j;\n var mt = void 0;\n\n while (j--) {\n t = tvalues[j];\n mt = 1 - t;\n bounds[0][j] = mt * mt * mt * x0 + 3 * mt * mt * t * x1 + 3 * mt * t * t * x2 + t * t * t * x3;\n bounds[1][j] = mt * mt * mt * y0 + 3 * mt * mt * t * y1 + 3 * mt * t * t * y2 + t * t * t * y3;\n }\n\n bounds[0][jlen] = x0;\n bounds[1][jlen] = y0;\n bounds[0][jlen + 1] = x3;\n bounds[1][jlen + 1] = y3;\n bounds[0].length = bounds[1].length = jlen + 2;\n return {\n min: {\n x: Math.min.apply(0, bounds[0]),\n y: Math.min.apply(0, bounds[1])\n },\n max: {\n x: Math.max.apply(0, bounds[0]),\n y: Math.max.apply(0, bounds[1])\n }\n };\n};\n\nvar intersect = function intersect(x1, y1, x2, y2, x3, y3, x4, y4) {\n if (Math.max(x1, x2) < Math.min(x3, x4) || Math.min(x1, x2) > Math.max(x3, x4) || Math.max(y1, y2) < Math.min(y3, y4) || Math.min(y1, y2) > Math.max(y3, y4)) {\n return;\n }\n\n var nx = (x1 * y2 - y1 * x2) * (x3 - x4) - (x1 - x2) * (x3 * y4 - y3 * x4);\n var ny = (x1 * y2 - y1 * x2) * (y3 - y4) - (y1 - y2) * (x3 * y4 - y3 * x4);\n var denominator = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);\n\n if (!denominator) {\n return;\n }\n\n var px = nx / denominator;\n var py = ny / denominator;\n var px2 = +px.toFixed(2);\n var py2 = +py.toFixed(2);\n\n if (px2 < +Math.min(x1, x2).toFixed(2) || px2 > +Math.max(x1, x2).toFixed(2) || px2 < +Math.min(x3, x4).toFixed(2) || px2 > +Math.max(x3, x4).toFixed(2) || py2 < +Math.min(y1, y2).toFixed(2) || py2 > +Math.max(y1, y2).toFixed(2) || py2 < +Math.min(y3, y4).toFixed(2) || py2 > +Math.max(y3, y4).toFixed(2)) {\n return;\n }\n\n return {\n x: px,\n y: py\n };\n};\n\nvar isPointInsideBBox = function isPointInsideBBox(bbox, x, y) {\n return x >= bbox.x && x <= bbox.x + bbox.width && y >= bbox.y && y <= bbox.y + bbox.height;\n};\n\nvar box = function box(x, y, width, height) {\n if (x === null) {\n x = y = width = height = 0;\n }\n\n if (y === null) {\n y = x.y;\n width = x.width;\n height = x.height;\n x = x.x;\n }\n\n return {\n x: x,\n y: y,\n width: width,\n w: width,\n height: height,\n h: height,\n x2: x + width,\n y2: y + height,\n cx: x + width / 2,\n cy: y + height / 2,\n r1: Math.min(width, height) / 2,\n r2: Math.max(width, height) / 2,\n r0: Math.sqrt(width * width + height * height) / 2,\n path: rectPath(x, y, width, height),\n vb: [x, y, width, height].join(' ')\n };\n};\n\nvar isBBoxIntersect = function isBBoxIntersect(bbox1, bbox2) {\n bbox1 = box(bbox1);\n bbox2 = box(bbox2);\n return isPointInsideBBox(bbox2, bbox1.x, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y) || isPointInsideBBox(bbox2, bbox1.x, bbox1.y2) || isPointInsideBBox(bbox2, bbox1.x2, bbox1.y2) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y) || isPointInsideBBox(bbox1, bbox2.x, bbox2.y2) || isPointInsideBBox(bbox1, bbox2.x2, bbox2.y2) || (bbox1.x < bbox2.x2 && bbox1.x > bbox2.x || bbox2.x < bbox1.x2 && bbox2.x > bbox1.x) && (bbox1.y < bbox2.y2 && bbox1.y > bbox2.y || bbox2.y < bbox1.y2 && bbox2.y > bbox1.y);\n};\n\nvar bezierBBox = function bezierBBox(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y) {\n if (!isArray(p1x)) {\n p1x = [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y];\n }\n\n var bbox = curveDim.apply(null, p1x);\n return box(bbox.min.x, bbox.min.y, bbox.max.x - bbox.min.x, bbox.max.y - bbox.min.y);\n};\n\nvar findDotsAtSegment = function findDotsAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {\n var t1 = 1 - t;\n var t13 = Math.pow(t1, 3);\n var t12 = Math.pow(t1, 2);\n var t2 = t * t;\n var t3 = t2 * t;\n var x = t13 * p1x + t12 * 3 * t * c1x + t1 * 3 * t * t * c2x + t3 * p2x;\n var y = t13 * p1y + t12 * 3 * t * c1y + t1 * 3 * t * t * c2y + t3 * p2y;\n var mx = p1x + 2 * t * (c1x - p1x) + t2 * (c2x - 2 * c1x + p1x);\n var my = p1y + 2 * t * (c1y - p1y) + t2 * (c2y - 2 * c1y + p1y);\n var nx = c1x + 2 * t * (c2x - c1x) + t2 * (p2x - 2 * c2x + c1x);\n var ny = c1y + 2 * t * (c2y - c1y) + t2 * (p2y - 2 * c2y + c1y);\n var ax = t1 * p1x + t * c1x;\n var ay = t1 * p1y + t * c1y;\n var cx = t1 * c2x + t * p2x;\n var cy = t1 * c2y + t * p2y;\n var alpha = 90 - Math.atan2(mx - nx, my - ny) * 180 / Math.PI; // (mx > nx || my < ny) && (alpha += 180);\n\n return {\n x: x,\n y: y,\n m: {\n x: mx,\n y: my\n },\n n: {\n x: nx,\n y: ny\n },\n start: {\n x: ax,\n y: ay\n },\n end: {\n x: cx,\n y: cy\n },\n alpha: alpha\n };\n};\n\nvar interHelper = function interHelper(bez1, bez2, justCount) {\n var bbox1 = bezierBBox(bez1);\n var bbox2 = bezierBBox(bez2);\n\n if (!isBBoxIntersect(bbox1, bbox2)) {\n return justCount ? 0 : [];\n }\n\n var l1 = bezlen.apply(0, bez1);\n var l2 = bezlen.apply(0, bez2);\n var n1 = ~~(l1 / 8);\n var n2 = ~~(l2 / 8);\n var dots1 = [];\n var dots2 = [];\n var xy = {};\n var res = justCount ? 0 : [];\n\n for (var i = 0; i < n1 + 1; i++) {\n var d = findDotsAtSegment.apply(0, bez1.concat(i / n1));\n dots1.push({\n x: d.x,\n y: d.y,\n t: i / n1\n });\n }\n\n for (var _i = 0; _i < n2 + 1; _i++) {\n var _d = findDotsAtSegment.apply(0, bez2.concat(_i / n2));\n\n dots2.push({\n x: _d.x,\n y: _d.y,\n t: _i / n2\n });\n }\n\n for (var _i2 = 0; _i2 < n1; _i2++) {\n for (var j = 0; j < n2; j++) {\n var di = dots1[_i2];\n var di1 = dots1[_i2 + 1];\n var dj = dots2[j];\n var dj1 = dots2[j + 1];\n var ci = Math.abs(di1.x - di.x) < 0.001 ? 'y' : 'x';\n var cj = Math.abs(dj1.x - dj.x) < 0.001 ? 'y' : 'x';\n var is = intersect(di.x, di.y, di1.x, di1.y, dj.x, dj.y, dj1.x, dj1.y);\n\n if (is) {\n if (xy[is.x.toFixed(4)] === is.y.toFixed(4)) {\n continue;\n }\n\n xy[is.x.toFixed(4)] = is.y.toFixed(4);\n var t1 = di.t + Math.abs((is[ci] - di[ci]) / (di1[ci] - di[ci])) * (di1.t - di.t);\n var t2 = dj.t + Math.abs((is[cj] - dj[cj]) / (dj1[cj] - dj[cj])) * (dj1.t - dj.t);\n\n if (t1 >= 0 && t1 <= 1 && t2 >= 0 && t2 <= 1) {\n if (justCount) {\n res++;\n } else {\n res.push({\n x: is.x,\n y: is.y,\n t1: t1,\n t2: t2\n });\n }\n }\n }\n }\n }\n\n return res;\n};\n\nvar interPathHelper = function interPathHelper(path1, path2, justCount) {\n path1 = pathTocurve(path1);\n path2 = pathTocurve(path2);\n var x1 = void 0;\n var y1 = void 0;\n var x2 = void 0;\n var y2 = void 0;\n var x1m = void 0;\n var y1m = void 0;\n var x2m = void 0;\n var y2m = void 0;\n var bez1 = void 0;\n var bez2 = void 0;\n var res = justCount ? 0 : [];\n\n for (var i = 0, ii = path1.length; i < ii; i++) {\n var pi = path1[i];\n\n if (pi[0] === 'M') {\n x1 = x1m = pi[1];\n y1 = y1m = pi[2];\n } else {\n if (pi[0] === 'C') {\n bez1 = [x1, y1].concat(pi.slice(1));\n x1 = bez1[6];\n y1 = bez1[7];\n } else {\n bez1 = [x1, y1, x1, y1, x1m, y1m, x1m, y1m];\n x1 = x1m;\n y1 = y1m;\n }\n\n for (var j = 0, jj = path2.length; j < jj; j++) {\n var pj = path2[j];\n\n if (pj[0] === 'M') {\n x2 = x2m = pj[1];\n y2 = y2m = pj[2];\n } else {\n if (pj[0] === 'C') {\n bez2 = [x2, y2].concat(pj.slice(1));\n x2 = bez2[6];\n y2 = bez2[7];\n } else {\n bez2 = [x2, y2, x2, y2, x2m, y2m, x2m, y2m];\n x2 = x2m;\n y2 = y2m;\n }\n\n var intr = interHelper(bez1, bez2, justCount);\n\n if (justCount) {\n res += intr;\n } else {\n for (var k = 0, kk = intr.length; k < kk; k++) {\n intr[k].segment1 = i;\n intr[k].segment2 = j;\n intr[k].bez1 = bez1;\n intr[k].bez2 = bez2;\n }\n\n res = res.concat(intr);\n }\n }\n }\n }\n }\n\n return res;\n};\n\nmodule.exports = function pathIntersection(path1, path2) {\n return interPathHelper(path1, path2);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/path-intersection.js\n// module id = 224\n// module chunks = 0","function decasteljau(points, t) {\n var left = [];\n var right = [];\n\n function recurse(points, t) {\n if (points.length === 1) {\n left.push(points[0]);\n right.push(points[0]);\n } else {\n var middlePoints = [];\n\n for (var i = 0; i < points.length - 1; i++) {\n if (i === 0) {\n left.push(points[0]);\n }\n\n if (i === points.length - 2) {\n right.push(points[i + 1]);\n }\n\n middlePoints[i] = [(1 - t) * points[i][0] + t * points[i + 1][0], (1 - t) * points[i][1] + t * points[i + 1][1]];\n }\n\n recurse(middlePoints, t);\n }\n }\n\n if (points.length) {\n recurse(points, t);\n }\n\n return {\n left: left,\n right: right.reverse()\n };\n}\n\nfunction splitCurve(start, end, count) {\n var points = [[start[1], start[2]]];\n count = count || 2;\n var segments = [];\n\n if (end[0] === 'A') {\n points.push(end[6]);\n points.push(end[7]);\n } else if (end[0] === 'C') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n points.push([end[5], end[6]]);\n } else if (end[0] === 'S' || end[0] === 'Q') {\n points.push([end[1], end[2]]);\n points.push([end[3], end[4]]);\n } else {\n points.push([end[1], end[2]]);\n }\n\n var leftSegments = points;\n var t = 1 / count;\n\n for (var i = 0; i < count - 1; i++) {\n var rt = t / (1 - t * i);\n var split = decasteljau(leftSegments, rt);\n segments.push(split.left);\n leftSegments = split.right;\n }\n\n segments.push(leftSegments);\n var result = segments.map(function (segment) {\n var cmd = [];\n\n if (segment.length === 4) {\n cmd.push('C');\n cmd = cmd.concat(segment[2]);\n }\n\n if (segment.length >= 3) {\n if (segment.length === 3) {\n cmd.push('Q');\n }\n\n cmd = cmd.concat(segment[1]);\n }\n\n if (segment.length === 2) {\n cmd.push('L');\n }\n\n cmd = cmd.concat(segment[segment.length - 1]);\n return cmd;\n });\n return result;\n}\n\nfunction splitSegment(start, end, count) {\n if (count === 1) {\n return [[].concat(start)];\n }\n\n var segments = [];\n\n if (end[0] === 'L' || end[0] === 'C' || end[0] === 'Q') {\n segments = segments.concat(splitCurve(start, end, count));\n } else {\n var temp = [].concat(start);\n\n if (temp[0] === 'M') {\n temp[0] = 'L';\n }\n\n for (var i = 0; i <= count - 1; i++) {\n segments.push(temp);\n }\n }\n\n return segments;\n}\n\nmodule.exports = function fillPath(source, target) {\n if (source.length === 1) {\n return source;\n }\n\n var sourceLen = source.length - 1;\n var targetLen = target.length - 1;\n var ratio = sourceLen / targetLen;\n var segmentsToFill = [];\n\n if (source.length === 1 && source[0][0] === 'M') {\n for (var i = 0; i < targetLen - sourceLen; i++) {\n source.push(source[0]);\n }\n\n return source;\n }\n\n for (var _i = 0; _i < targetLen; _i++) {\n var index = Math.floor(ratio * _i);\n segmentsToFill[index] = (segmentsToFill[index] || 0) + 1;\n }\n\n var filled = segmentsToFill.reduce(function (filled, count, i) {\n if (i === sourceLen) {\n return filled.concat(source[sourceLen]);\n }\n\n return filled.concat(splitSegment(source[i], source[i + 1], count));\n }, []);\n filled.unshift(source[0]);\n\n if (target[targetLen] === 'Z' || target[targetLen] === 'z') {\n filled.push('Z');\n }\n\n return filled;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/fill-path.js\n// module id = 225\n// module chunks = 0","var isEqual = require('./is-segment-equal');\n\nfunction getMinDiff(del, add, modify) {\n var type = null;\n var min = modify;\n\n if (add < min) {\n min = add;\n type = 'add';\n }\n\n if (del < min) {\n min = del;\n type = 'del';\n }\n\n return {\n type: type,\n min: min\n };\n}\n/*\n * https://en.wikipedia.org/wiki/Levenshtein_distance\n * 计算两条path的编辑距离\n */\n\n\nvar levenshteinDistance = function levenshteinDistance(source, target) {\n var sourceLen = source.length;\n var targetLen = target.length;\n var sourceSegment = void 0,\n targetSegment = void 0;\n var temp = 0;\n\n if (sourceLen === 0 || targetLen === 0) {\n return null;\n }\n\n var dist = [];\n\n for (var i = 0; i <= sourceLen; i++) {\n dist[i] = [];\n dist[i][0] = {\n min: i\n };\n }\n\n for (var j = 0; j <= targetLen; j++) {\n dist[0][j] = {\n min: j\n };\n }\n\n for (var _i = 1; _i <= sourceLen; _i++) {\n sourceSegment = source[_i - 1];\n\n for (var _j = 1; _j <= targetLen; _j++) {\n targetSegment = target[_j - 1];\n\n if (isEqual(sourceSegment, targetSegment)) {\n temp = 0;\n } else {\n temp = 1;\n }\n\n var del = dist[_i - 1][_j].min + 1;\n var add = dist[_i][_j - 1].min + 1;\n var modify = dist[_i - 1][_j - 1].min + temp;\n dist[_i][_j] = getMinDiff(del, add, modify);\n }\n }\n\n return dist;\n};\n\nmodule.exports = function fillPathByDiff(source, target) {\n var diffMatrix = levenshteinDistance(source, target);\n var sourceLen = source.length;\n var targetLen = target.length;\n var changes = [];\n var index = 1;\n var minPos = 1; // 如果source和target不是完全不相等\n\n if (diffMatrix[sourceLen][targetLen] !== sourceLen) {\n // 获取从source到target所需改动\n for (var i = 1; i <= sourceLen; i++) {\n var min = diffMatrix[i][i].min;\n minPos = i;\n\n for (var j = index; j <= targetLen; j++) {\n if (diffMatrix[i][j].min < min) {\n min = diffMatrix[i][j].min;\n minPos = j;\n }\n }\n\n index = minPos;\n\n if (diffMatrix[i][index].type) {\n changes.push({\n index: i - 1,\n type: diffMatrix[i][index].type\n });\n }\n } // 对source进行增删path\n\n\n for (var _i2 = changes.length - 1; _i2 >= 0; _i2--) {\n index = changes[_i2].index;\n\n if (changes[_i2].type === 'add') {\n source.splice(index, 0, [].concat(source[index]));\n } else {\n source.splice(index, 1);\n }\n }\n } // source尾部补齐\n\n\n sourceLen = source.length;\n\n if (sourceLen < targetLen) {\n for (var _i3 = 0; _i3 < targetLen - sourceLen; _i3++) {\n if (source[sourceLen - 1][0] === 'z' || source[sourceLen - 1][0] === 'Z') {\n source.splice(sourceLen - 2, 0, source[sourceLen - 2]);\n } else {\n source.push(source[sourceLen - 1]);\n }\n }\n }\n\n return source;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/fill-path-by-diff.js\n// module id = 226\n// module chunks = 0","var each = require('../each');\n\nmodule.exports = function isEqual(obj1, obj2) {\n if (obj1.length !== obj2.length) {\n return false;\n }\n\n var result = true;\n each(obj1, function (item, i) {\n if (item !== obj2[i]) {\n result = false;\n return false;\n }\n });\n return result;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/is-segment-equal.js\n// module id = 227\n// module chunks = 0","/*\n * 抽取pathSegment中的关键点\n * M,L,A,Q,H,V一个端点\n * Q, S抽取一个端点一个控制点\n * C抽取一个端点两个控制点\n */\nfunction _getSegmentPoints(segment) {\n var points = [];\n\n switch (segment[0]) {\n case 'M':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'L':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'A':\n points.push([segment[6], segment[7]]);\n break;\n\n case 'Q':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'T':\n points.push([segment[1], segment[2]]);\n break;\n\n case 'C':\n points.push([segment[5], segment[6]]);\n points.push([segment[1], segment[2]]);\n points.push([segment[3], segment[4]]);\n break;\n\n case 'S':\n points.push([segment[3], segment[4]]);\n points.push([segment[1], segment[2]]);\n break;\n\n case 'H':\n points.push([segment[1], segment[1]]);\n break;\n\n case 'V':\n points.push([segment[1], segment[1]]);\n break;\n\n default:\n }\n\n return points;\n} // 将两个点均分成count个点\n\n\nfunction _splitPoints(points, former, count) {\n var result = [].concat(points);\n var index = void 0;\n var t = 1 / (count + 1);\n\n var formerEnd = _getSegmentPoints(former)[0];\n\n for (var i = 1; i <= count; i++) {\n t *= i;\n index = Math.floor(points.length * t);\n\n if (index === 0) {\n result.unshift([formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n } else {\n result.splice(index, 0, [formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);\n }\n }\n\n return result;\n}\n\nmodule.exports = function formatPath(fromPath, toPath) {\n if (fromPath.length <= 1) {\n return fromPath;\n }\n\n var points = void 0;\n\n for (var i = 0; i < toPath.length; i++) {\n if (fromPath[i][0] !== toPath[i][0]) {\n // 获取fromPath的pathSegment的端点根据toPath的指令对其改造\n points = _getSegmentPoints(fromPath[i]);\n\n switch (toPath[i][0]) {\n case 'M':\n fromPath[i] = ['M'].concat(points[0]);\n break;\n\n case 'L':\n fromPath[i] = ['L'].concat(points[0]);\n break;\n\n case 'A':\n fromPath[i] = [].concat(toPath[i]);\n fromPath[i][6] = points[0][0];\n fromPath[i][7] = points[0][1];\n break;\n\n case 'Q':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['Q'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'T':\n fromPath[i] = ['T'].concat(points[0]);\n break;\n\n case 'C':\n if (points.length < 3) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 2);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['C'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n case 'S':\n if (points.length < 2) {\n if (i > 0) {\n points = _splitPoints(points, fromPath[i - 1], 1);\n } else {\n fromPath[i] = toPath[i];\n break;\n }\n }\n\n fromPath[i] = ['S'].concat(points.reduce(function (arr, i) {\n return arr.concat(i);\n }, []));\n break;\n\n default:\n fromPath[i] = toPath[i];\n }\n }\n }\n\n return fromPath;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/path/format-path.js\n// module id = 228\n// module chunks = 0","var strUtil = {\n lc: require('./lc'),\n lowerCase: require('./lower-case'),\n lowerFirst: require('./lower-first'),\n substitute: require('./substitute'),\n uc: require('./uc'),\n upperCase: require('./upper-case'),\n upperFirst: require('./upper-first')\n};\nmodule.exports = strUtil;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/index.js\n// module id = 229\n// module chunks = 0","module.exports = require('./lower-case');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/lc.js\n// module id = 230\n// module chunks = 0","var toString = require('../to-string');\n\nvar lowerFirst = function lowerFirst(value) {\n var str = toString(value);\n return str.charAt(0).toLowerCase() + str.substring(1);\n};\n\nmodule.exports = lowerFirst;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/lower-first.js\n// module id = 231\n// module chunks = 0","var substitute = function substitute(str, o) {\n if (!str || !o) {\n return str;\n }\n\n return str.replace(/\\\\?\\{([^{}]+)\\}/g, function (match, name) {\n if (match.charAt(0) === '\\\\') {\n return match.slice(1);\n }\n\n return o[name] === undefined ? '' : o[name];\n });\n};\n\nmodule.exports = substitute;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/substitute.js\n// module id = 232\n// module chunks = 0","module.exports = require('./upper-case');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/string/uc.js\n// module id = 233\n// module chunks = 0","var isType = require('./is-type');\n\nvar checkType = {\n getType: require('./get-type'),\n isArray: require('./is-array'),\n isArrayLike: require('./is-array-like'),\n isBoolean: require('./is-boolean'),\n isFunction: require('./is-function'),\n isNil: require('./is-nil'),\n isNull: require('./is-null'),\n isNumber: require('./is-number'),\n isObject: require('./is-object'),\n isObjectLike: require('./is-object-like'),\n isPlainObject: require('./is-plain-object'),\n isPrototype: require('./is-prototype'),\n isType: isType,\n isUndefined: require('./is-undefined'),\n isString: require('./is-string'),\n isRegExp: require('./is-reg-exp'),\n isDate: require('./is-date'),\n isArguments: require('./is-arguments'),\n isError: require('./is-error')\n};\nmodule.exports = checkType;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/index.js\n// module id = 234\n// module chunks = 0","var isNull = function isNull(value) {\n return value === null;\n};\n\nmodule.exports = isNull;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-null.js\n// module id = 235\n// module chunks = 0","var isUndefined = function isUndefined(value) {\n return value === undefined;\n};\n\nmodule.exports = isUndefined;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-undefined.js\n// module id = 236\n// module chunks = 0","var isType = require('./is-type');\n\nvar isRegExp = function isRegExp(str) {\n return isType(str, 'RegExp');\n};\n\nmodule.exports = isRegExp;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-reg-exp.js\n// module id = 237\n// module chunks = 0","var isType = require('./is-type');\n\nvar isDate = function isDate(value) {\n return isType(value, 'Date');\n};\n\nmodule.exports = isDate;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-date.js\n// module id = 238\n// module chunks = 0","/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar isType = require('./is-type');\n\nvar isArguments = function isArguments(value) {\n return isType(value, 'Arguments');\n};\n\nmodule.exports = isArguments;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-arguments.js\n// module id = 239\n// module chunks = 0","/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar isType = require('./is-type');\n\nvar isError = function isError(value) {\n return isType(value, 'Error');\n};\n\nmodule.exports = isError;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/type/is-error.js\n// module id = 240\n// module chunks = 0","function debounce(func, wait, immediate) {\n var timeout = void 0;\n return function () {\n var context = this,\n args = arguments;\n\n var later = function later() {\n timeout = null;\n\n if (!immediate) {\n func.apply(context, args);\n }\n };\n\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n\n if (callNow) {\n func.apply(context, args);\n }\n };\n}\n\nmodule.exports = debounce;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/debounce.js\n// module id = 241\n// module chunks = 0","var groupToMap = require('./group-to-map');\n\nvar group = function group(data, condition) {\n if (!condition) {\n return [data];\n }\n\n var groups = groupToMap(data, condition);\n var array = [];\n\n for (var i in groups) {\n array.push(groups[i]);\n }\n\n return array;\n};\n\nmodule.exports = group;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/group.js\n// module id = 242\n// module chunks = 0","var isArrayLike = require('./type/is-array-like');\n\nvar indexOf = function indexOf(arr, obj) {\n if (!isArrayLike(arr)) {\n return -1;\n }\n\n var m = Array.prototype.indexOf;\n\n if (m) {\n return m.call(arr, obj);\n }\n\n var index = -1;\n\n for (var i = 0; i < arr.length; i++) {\n if (arr[i] === obj) {\n index = i;\n break;\n }\n }\n\n return index;\n};\n\nmodule.exports = indexOf;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/index-of.js\n// module id = 243\n// module chunks = 0","var isFunction = require('./type/is-function');\n\nvar isEqual = require('./is-equal');\n/**\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [fn] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * isEqualWith(array, other, customizer); // => true\n */\n\n\nvar isEqualWith = function isEqualWith(value, other, fn) {\n if (!isFunction(fn)) {\n return isEqual(value, other);\n }\n\n return !!fn(value, other);\n};\n\nmodule.exports = isEqualWith;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/is-equal-with.js\n// module id = 244\n// module chunks = 0","var each = require('./each');\n\nvar isArrayLike = require('./type/is-array-like');\n\nvar map = function map(arr, func) {\n if (!isArrayLike(arr)) {\n return arr;\n }\n\n var result = [];\n each(arr, function (value, index) {\n result.push(func(value, index));\n });\n return result;\n};\n\nmodule.exports = map;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/map.js\n// module id = 245\n// module chunks = 0","var each = require('./each');\n\nvar isPlaineObject = require('./type/is-plain-object');\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n/**\n * Creates an object composed of the picked `object` properties.\n *\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n * pick(object, ['a', 'c']); // => { 'a': 1, 'c': 3 }\n */\n\nvar pick = function pick(object, keys) {\n if (object === null || !isPlaineObject(object)) {\n return {};\n }\n\n var result = {};\n each(keys, function (key) {\n if (hasOwnProperty.call(object, key)) {\n result[key] = object[key];\n }\n });\n return result;\n};\n\nmodule.exports = pick;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/pick.js\n// module id = 246\n// module chunks = 0","function throttle(func, wait, options) {\n var timeout = void 0,\n context = void 0,\n args = void 0,\n result = void 0;\n var previous = 0;\n if (!options) options = {};\n\n var later = function later() {\n previous = options.leading === false ? 0 : Date.now();\n timeout = null;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n };\n\n var throttled = function throttled() {\n var now = Date.now();\n if (!previous && options.leading === false) previous = now;\n var remaining = wait - (now - previous);\n context = this;\n args = arguments;\n\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n\n previous = now;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n } else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n\n return result;\n };\n\n throttled.cancel = function () {\n clearTimeout(timeout);\n previous = 0;\n timeout = context = args = null;\n };\n\n return throttled;\n}\n\nmodule.exports = throttle;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_util@1.3.1@@antv/util/lib/throttle.js\n// module id = 247\n// module chunks = 0","var Greedy = require('./greedy');\n/*\n * 根据如下规则尝试放置label\n * 5\n * ------------------\n * | 1 | 0 |\n * 8 —————————4———————— 7\n * | 2 | 3 |\n * ——————————————————\n * 6\n */\n\n\nfunction adjustLabelPosition(label, x, y, index) {\n var bbox = label.getBBox();\n var width = bbox.width;\n var height = bbox.height;\n var attrs = {\n x: x,\n y: y,\n textAlign: 'center'\n };\n\n switch (index) {\n case 0:\n attrs.y -= height / 2;\n attrs.textAlign = 'left';\n break;\n\n case 1:\n attrs.y -= height / 2;\n attrs.textAlign = 'right';\n break;\n\n case 2:\n attrs.y += height / 2;\n attrs.textAlign = 'right';\n break;\n\n case 3:\n attrs.y += height / 2;\n attrs.textAlign = 'left';\n break;\n\n case 5:\n attrs.y -= height / 2;\n break;\n\n case 6:\n attrs.y += height / 2;\n break;\n\n case 7:\n attrs.x += width / 2;\n attrs.textAlign = 'left';\n break;\n\n case 8:\n attrs.x -= width / 2;\n attrs.textAlign = 'right';\n break;\n\n default:\n break;\n }\n\n label.attr(attrs);\n return label.getBBox();\n}\n\nmodule.exports = function (labels) {\n var greedy = new Greedy();\n var toBeRemoved = [];\n var bbox, label, x, y, canFill;\n\n for (var i = 0; i < labels.length; i++) {\n label = labels[i];\n x = label.attr('x');\n y = label.attr('y');\n canFill = false;\n\n for (var _i = 0; _i < 8; _i++) {\n bbox = adjustLabelPosition(label, x, y, _i);\n\n if (greedy.hasGap(bbox)) {\n greedy.fillGap(bbox);\n canFill = true;\n break;\n }\n }\n\n if (!canFill) {\n toBeRemoved.push(label);\n }\n }\n\n for (var _i2 = 0; _i2 < toBeRemoved.length; _i2++) {\n toBeRemoved[_i2].remove();\n }\n\n return canFill;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/label/utils/position-adjust.js\n// module id = 248\n// module chunks = 0","var Greedy = require('./greedy');\n\nvar MAX_TIMES = 20;\n\nfunction spiralFill(label, greedy) {\n var dt = -1;\n var x = label.attr('x'),\n y = label.attr('y');\n var bbox = label.getBBox();\n var maxDelta = Math.sqrt(bbox.width * bbox.width + bbox.height * bbox.height);\n var dxdy,\n t = -dt,\n dx = 0,\n dy = 0;\n\n var f = function f(t) {\n return [(t *= 0.1) * Math.cos(t), t * Math.sin(t)];\n };\n\n if (greedy.hasGap(bbox)) {\n greedy.fillGap(bbox);\n return true;\n }\n\n var canFill = false,\n times = 0;\n\n while (Math.min(Math.abs(dx), Math.abs(dy)) < maxDelta && times < MAX_TIMES) {\n dxdy = f(t += dt);\n dx = ~~dxdy[0];\n dy = ~~dxdy[1];\n label.attr({\n x: x + dx,\n y: y + dy\n });\n times++;\n\n if (greedy.hasGap(label.getBBox())) {\n greedy.fillGap(bbox);\n canFill = true;\n break;\n }\n }\n\n return canFill;\n}\n\nmodule.exports = function (labels) {\n var label;\n var greedy = new Greedy();\n var toBeRemoved = [];\n\n for (var i = 0; i < labels.length; i++) {\n label = labels[i];\n\n if (!spiralFill(label, greedy)) {\n toBeRemoved.push(label);\n }\n }\n\n for (var _i = 0; _i < toBeRemoved.length; _i++) {\n toBeRemoved[_i].remove();\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/label/utils/spiral-adjust.js\n// module id = 249\n// module chunks = 0","module.exports = function bboxAdjust(labels, shapes) {\n var labelBBox, shapeBBox;\n var toBeRemoved = [];\n\n for (var i = 0; i < labels.length; i++) {\n labelBBox = labels[i].getBBox();\n shapeBBox = shapes[i].getBBox();\n\n if (labelBBox.width > shapeBBox.width || labelBBox.height > shapeBBox.height) {\n toBeRemoved.push(labels[i]);\n } else if (labelBBox.width * labelBBox.height > shapeBBox.width * shapeBBox.height) {\n toBeRemoved.push(labels[i]);\n }\n }\n\n for (var _i = 0; _i < toBeRemoved.length; _i++) {\n toBeRemoved[_i].remove();\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/label/utils/bbox-adjust.js\n// module id = 250\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Base = require('./base');\n\nvar vec2 = Util.MatrixUtil.vec2;\n\nvar Circle = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Circle, _Base);\n\n var _super = _createSuper(Circle);\n\n function Circle() {\n return _Base.apply(this, arguments) || this;\n }\n\n var _proto = Circle.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Base.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 坐标轴的类型\n * @type {String}\n */\n type: 'circle',\n\n /**\n * 指定刻度之间的间距\n * @type {Number}\n */\n tickInterval: null,\n\n /**\n * 开始弧度\n * @type {Number}\n */\n startAngle: -Math.PI / 2,\n\n /**\n * 结束弧度\n * @type {Number}\n */\n endAngle: Math.PI * 3 / 2,\n line: {\n // @type {Attrs} 坐标轴线的图形属性,如果设置成null则不显示轴线\n lineWidth: 1,\n stroke: '#C0D0E0'\n },\n tickLine: {\n // @type {Attrs} 标注坐标线的图形属性\n lineWidth: 1,\n stroke: '#C0D0E0',\n length: 5\n },\n\n /**\n * 默认文本距离轴线的距离\n * @type {Number}\n */\n _labelOffset: 5\n });\n };\n\n _proto.parseTick = function parseTick(tick, index, length) {\n return {\n text: tick,\n value: index / length\n };\n };\n\n _proto._getCirclePoint = function _getCirclePoint(angle, radius) {\n var self = this;\n var center = self.get('center');\n radius = radius || self.get('radius');\n return {\n x: center.x + Math.cos(angle) * radius,\n y: center.y + Math.sin(angle) * radius\n };\n };\n\n _proto.getTickPoint = function getTickPoint(value) {\n var self = this;\n var startAngle = self.get('startAngle');\n var endAngle = self.get('endAngle');\n var angle = startAngle + (endAngle - startAngle) * value;\n return self._getCirclePoint(angle);\n };\n\n _proto.getSideVector = function getSideVector(offset, point) {\n var self = this;\n var center = self.get('center');\n var vector = [point.x - center.x, point.y - center.y];\n\n if (!Util.isNil(offset)) {\n var vecLen = vec2.length(vector);\n vec2.scale(vector, vector, offset / vecLen);\n }\n\n return vector;\n };\n\n _proto.getSidePoint = function getSidePoint(point, offset) {\n var self = this;\n var vector = self.getSideVector(offset, point);\n return {\n x: point.x + vector[0],\n y: point.y + vector[1]\n };\n };\n\n _proto.getTickEnd = function getTickEnd(start, length) {\n var self = this;\n var tickLine = self.get('tickLine');\n length = length ? length : tickLine.length;\n return self.getSidePoint(start, length);\n };\n\n _proto.getTextAnchor = function getTextAnchor(vector) {\n var align;\n\n if (Util.snapEqual(vector[0], 0)) {\n align = 'center';\n } else if (vector[0] > 0) {\n align = 'left';\n } else if (vector[0] < 0) {\n align = 'right';\n }\n\n return align;\n };\n\n _proto.getLinePath = function getLinePath() {\n var self = this;\n var center = self.get('center');\n var x = center.x;\n var y = center.y;\n var rx = self.get('radius');\n var ry = rx;\n var startAngle = self.get('startAngle');\n var endAngle = self.get('endAngle');\n var inner = self.get('inner');\n var path = [];\n\n if (Math.abs(endAngle - startAngle) === Math.PI * 2) {\n path = [['M', x, y], ['m', 0, -ry], ['a', rx, ry, 0, 1, 1, 0, 2 * ry], ['a', rx, ry, 0, 1, 1, 0, -2 * ry], ['z']];\n } else {\n var startPoint = self._getCirclePoint(startAngle);\n\n var endPoint = self._getCirclePoint(endAngle);\n\n var large = Math.abs(endAngle - startAngle) > Math.PI ? 1 : 0;\n var sweep = startAngle > endAngle ? 0 : 1;\n\n if (!inner) {\n path = [['M', x, y], ['L', startPoint.x, startPoint.y], ['A', rx, ry, 0, large, sweep, endPoint.x, endPoint.y], ['L', x, y]];\n } else {\n var innerStartVector = self.getSideVector(inner * rx, startPoint);\n var innerEndVector = self.getSideVector(inner * rx, endPoint);\n var innerStartPoint = {\n x: innerStartVector[0] + x,\n y: innerStartVector[1] + y\n };\n var innerEndPoint = {\n x: innerEndVector[0] + x,\n y: innerEndVector[1] + y\n };\n path = [['M', innerStartPoint.x, innerStartPoint.y], ['L', startPoint.x, startPoint.y], ['A', rx, ry, 0, large, sweep, endPoint.x, endPoint.y], ['L', innerEndPoint.x, innerEndPoint.y], ['A', rx * inner, ry * inner, 0, large, Math.abs(sweep - 1), innerStartPoint.x, innerStartPoint.y]];\n }\n }\n\n return path;\n };\n\n _proto.addLabel = function addLabel(tick, point, index) {\n var self = this;\n var offset = self.get('label').offset || self.get('_labelOffset') || 0.001;\n point = self.getSidePoint(point, offset);\n\n _Base.prototype.addLabel.call(this, tick, point, index);\n };\n\n _proto.autoRotateLabels = function autoRotateLabels() {\n var self = this;\n var ticks = self.get('ticks');\n var labelRenderer = self.get('labelRenderer');\n\n if (labelRenderer && ticks.length > 12) {\n // 小于12个文本时文本不旋转\n var radius = self.get('radius');\n var startAngle = self.get('startAngle');\n var endAngle = self.get('endAngle');\n var totalAngle = endAngle - startAngle;\n var avgAngle = totalAngle / (ticks.length - 1);\n var avgWidth = Math.sin(avgAngle / 2) * radius * 2;\n var maxLength = self.getMaxLabelWidth(labelRenderer);\n Util.each(labelRenderer.get('group').get('children'), function (label, index) {\n var tick = ticks[index];\n var angle = tick.value * totalAngle + startAngle;\n var mode = angle % (Math.PI * 2);\n\n if (maxLength < avgWidth) {\n // 文本的最大宽度大于\n if (mode <= 0) {\n angle = angle + Math.PI;\n }\n\n if (mode > Math.PI) {\n angle = angle - Math.PI;\n }\n\n angle = angle - Math.PI / 2;\n label.attr('textAlign', 'center');\n } else {\n if (mode > Math.PI / 2) {\n angle = angle - Math.PI;\n } else if (mode < Math.PI / 2 * -1) {\n angle = angle + Math.PI;\n }\n }\n\n label.rotateAtStart(angle);\n });\n }\n };\n\n return Circle;\n}(Base);\n\nmodule.exports = Circle;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/axis/circle.js\n// module id = 251\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Base = require('./base');\n\nvar MatrixUtil = Util.MatrixUtil,\n PathUtil = Util.PathUtil;\nvar vec2 = MatrixUtil.vec2;\n\nvar Helix = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Helix, _Base);\n\n var _super = _createSuper(Helix);\n\n function Helix() {\n return _Base.apply(this, arguments) || this;\n }\n\n var _proto = Helix.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Base.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n inner: 0,\n type: 'helix',\n line: {\n // @type {Attrs} 坐标轴线的图形属性,如果设置成null则不显示轴线\n lineWidth: 1,\n stroke: '#C0D0E0'\n },\n tickLine: {\n // @type {Attrs} 标注坐标线的图形属性\n lineWidth: 1,\n stroke: '#C0D0E0',\n length: 5\n },\n startAngle: 1.25 * Math.PI,\n endAngle: 7.25 * Math.PI,\n // 螺旋系数\n a: 0,\n // 画布中心坐标\n center: null,\n // 坐标轴绘制起点\n axisStart: null,\n // 坐标轴的n个坐标点\n crp: []\n });\n };\n\n _proto.getLinePath = function getLinePath() {\n var self = this;\n var crp = self.get('crp');\n var axisStart = self.get('axisStart');\n var path = PathUtil.catmullRomToBezier(crp);\n path.unshift(['M', axisStart.x, axisStart.y]);\n return path;\n };\n\n _proto.getTickPoint = function getTickPoint(value) {\n var self = this;\n var startAngle = self.get('startAngle');\n var endAngle = self.get('endAngle');\n var angle = startAngle + (endAngle - startAngle) * value;\n return self._getHelixPoint(angle);\n };\n\n _proto._getHelixPoint = function _getHelixPoint(angle) {\n var self = this;\n var center = self.get('center');\n var a = self.get('a'); // 螺线系数\n\n var radius = a * angle + self.get('inner'); // 螺线方程\n\n return {\n x: center.x + Math.cos(angle) * radius,\n y: center.y + Math.sin(angle) * radius\n };\n };\n\n _proto.getSideVector = function getSideVector(offset, point) {\n var self = this;\n var center = self.get('center');\n var vector = [point.x - center.x, point.y - center.y];\n\n if (offset) {\n var vecLen = vec2.length(vector);\n vec2.scale(vector, vector, offset / vecLen);\n }\n\n return vector;\n };\n\n _proto.getSidePoint = function getSidePoint(point, offset) {\n var self = this;\n var vector = self.getSideVector(offset, point);\n return {\n x: point.x + vector[0],\n y: point.y + vector[1]\n };\n };\n\n _proto.getTickEnd = function getTickEnd(start, length) {\n var self = this;\n var tickLine = self.get('tickLine');\n length = length ? length : tickLine.length;\n return self.getSidePoint(start, length);\n };\n\n return Helix;\n}(Base);\n\nmodule.exports = Helix;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/axis/helix.js\n// module id = 252\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Base = require('./base');\n\nvar Util = require('../util');\n\nvar MatrixUtil = Util.MatrixUtil;\nvar vec2 = MatrixUtil.vec2;\n\nvar Line = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Line, _Base);\n\n var _super = _createSuper(Line);\n\n function Line() {\n return _Base.apply(this, arguments) || this;\n }\n\n var _proto = Line.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Base.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n x: null,\n // @type {Number} 距离初始位置的x轴偏移量,仅对于左侧、右侧的纵向坐标有效\n y: null,\n // @type {Number} 距离初始位置的y轴偏移量仅对顶部、底部的横向坐标轴有效\n line: {\n // @type {Attrs} 坐标轴线的图形属性,如果设置成null则不显示轴线\n lineWidth: 1,\n stroke: '#C0D0E0'\n },\n tickLine: {\n // @type {Attrs} 标注坐标线的图形属性\n lineWidth: 1,\n stroke: '#C0D0E0',\n length: 5\n },\n isVertical: false,\n start: null,\n // @type {Object} 起点\n end: null // @type {Object} 终点\n\n });\n };\n\n _proto._getAvgLabelLength = function _getAvgLabelLength(labelRenderer) {\n var labels = labelRenderer.get('group').get('children');\n return labels[1].attr('x') - labels[0].attr('x');\n };\n\n _proto._getAvgLabelHeightSpace = function _getAvgLabelHeightSpace(labelRenderer) {\n var labels = labelRenderer.get('group').get('children');\n return labels[1].attr('y') - labels[0].attr('y');\n }\n /**\n * 获取距离坐标轴的向量\n * @override\n * @param {Number} offset 偏移值\n * @return {Array} 返回二维向量\n */\n ;\n\n _proto.getSideVector = function getSideVector(offset) {\n var self = this;\n var isVertical = self.get('isVertical');\n var factor = self.get('factor'); // if (Util.isArray(offset)) {\n // return offset.map(value => value * factor);\n // }\n\n if (!Util.isNumber(offset)) {\n return [0, 0];\n }\n\n var start = self.get('start');\n var end = self.get('end');\n var axisVector = self.getAxisVector();\n var normal = vec2.normalize([], axisVector);\n var direction = false;\n\n if (isVertical && start.y < end.y || !isVertical && start.x > end.x) {\n direction = true;\n }\n\n var verticalVector = vec2.vertical([], normal, direction);\n return vec2.scale([], verticalVector, offset * factor);\n };\n\n _proto.getAxisVector = function getAxisVector() {\n var start = this.get('start');\n var end = this.get('end');\n return [end.x - start.x, end.y - start.y];\n };\n\n _proto.getLinePath = function getLinePath() {\n var self = this;\n var start = self.get('start');\n var end = self.get('end');\n var path = [];\n path.push(['M', start.x, start.y]);\n path.push(['L', end.x, end.y]);\n return path;\n };\n\n _proto.getTickEnd = function getTickEnd(start, value) {\n var self = this;\n var offsetVector = self.getSideVector(value);\n return {\n x: start.x + offsetVector[0],\n y: start.y + offsetVector[1]\n };\n };\n\n _proto.getTickPoint = function getTickPoint(tickValue) {\n var self = this;\n var start = self.get('start');\n var end = self.get('end');\n var rangeX = end.x - start.x;\n var rangeY = end.y - start.y;\n return {\n x: start.x + rangeX * tickValue,\n y: start.y + rangeY * tickValue\n };\n };\n\n _proto.renderTitle = function renderTitle() {\n var self = this;\n var title = self.get('title');\n var offsetPoint = self.getTickPoint(0.5);\n var titleOffset = title.offset;\n\n if (Util.isNil(titleOffset)) {\n // 没有指定 offset 则自动计算\n titleOffset = 20;\n var labelsGroup = self.get('labelsGroup');\n\n if (labelsGroup) {\n var labelLength = self.getMaxLabelWidth(labelsGroup);\n var labelOffset = self.get('label').offset || self.get('_labelOffset');\n titleOffset += labelLength + labelOffset;\n }\n }\n\n var textStyle = title.textStyle;\n var cfg = Util.mix({}, textStyle);\n\n if (title.text) {\n var vector = self.getAxisVector(); // 坐标轴方向的向量\n\n if (title.autoRotate && Util.isNil(textStyle.rotate)) {\n // 自动旋转并且用户没有指定标题的旋转角度\n var angle = 0;\n\n if (!Util.snapEqual(vector[1], 0)) {\n // 所有水平坐标轴,文本不转置\n var v1 = [1, 0];\n var v2 = [vector[0], vector[1]];\n angle = vec2.angleTo(v2, v1, true);\n }\n\n cfg.rotate = angle * (180 / Math.PI);\n } else if (!Util.isNil(textStyle.rotate)) {\n // 用户设置了旋转角度就以用户设置的为准\n cfg.rotate = textStyle.rotate / 180 * Math.PI; // 将角度转换为弧度\n }\n\n var sideVector = self.getSideVector(titleOffset);\n var point;\n var position = title.position;\n\n if (position === 'start') {\n point = {\n x: this.get('start').x + sideVector[0],\n y: this.get('start').y + sideVector[1]\n };\n } else if (position === 'end') {\n point = {\n x: this.get('end').x + sideVector[0],\n y: this.get('end').y + sideVector[1]\n };\n } else {\n point = {\n x: offsetPoint.x + sideVector[0],\n y: offsetPoint.y + sideVector[1]\n };\n }\n\n cfg.x = point.x;\n cfg.y = point.y;\n cfg.text = title.text;\n var group = self.get('group');\n var titleShape = group.addShape('Text', {\n zIndex: 2,\n attrs: cfg\n });\n titleShape.name = 'axis-title';\n self.get('appendInfo') && titleShape.setSilent('appendInfo', self.get('appendInfo'));\n }\n };\n\n _proto.autoRotateLabels = function autoRotateLabels() {\n var self = this;\n var labelRenderer = self.get('labelRenderer');\n var title = self.get('title');\n\n if (labelRenderer) {\n var labelGroup = labelRenderer.get('group');\n var labels = labelGroup.get('children');\n var offset = self.get('label').offset;\n var append = 12;\n var titleOffset = title ? title.offset : 48;\n\n if (titleOffset < 0) {\n // 如果是负的的话就不旋转\n return;\n }\n\n var vector = self.getAxisVector(); // 坐标轴的向量,仅处理水平或者垂直的场景\n\n var angle;\n var maxWidth;\n\n if (Util.snapEqual(vector[0], 0) && title && title.text) {\n // 坐标轴垂直由于不知道边距只能防止跟title重合如果title不存在则不自动旋转\n maxWidth = self.getMaxLabelWidth(labelRenderer);\n\n if (maxWidth > titleOffset - offset - append) {\n angle = Math.acos((titleOffset - offset - append) / maxWidth) * -1;\n }\n } else if (Util.snapEqual(vector[1], 0) && labels.length > 1) {\n // 坐标轴水平,不考虑边距,根据最长的和平均值进行翻转\n var avgWidth = Math.abs(self._getAvgLabelLength(labelRenderer));\n maxWidth = self.getMaxLabelWidth(labelRenderer);\n\n if (maxWidth > avgWidth) {\n angle = Math.asin((titleOffset - offset - append) * 1.25 / maxWidth);\n }\n }\n\n if (angle) {\n var factor = self.get('factor');\n Util.each(labels, function (label) {\n label.rotateAtStart(angle);\n\n if (Util.snapEqual(vector[1], 0)) {\n if (factor > 0) {\n label.attr('textAlign', 'left');\n } else {\n label.attr('textAlign', 'right');\n }\n }\n });\n }\n }\n };\n\n _proto.autoHideLabels = function autoHideLabels() {\n var self = this;\n var labelRenderer = self.get('labelRenderer');\n var labelSpace;\n var tickStep;\n var append = 8;\n\n if (labelRenderer) {\n var labelGroup = labelRenderer.get('group');\n var labels = labelGroup.get('children');\n var vector = self.getAxisVector(); // 坐标轴的向量,仅处理水平或者垂直的场景\n\n if (labels.length < 2) {\n return;\n }\n\n if (Util.snapEqual(vector[0], 0)) {\n // 坐标轴垂直\n var maxHeight = self.getMaxLabelHeight(labelRenderer) + append;\n var avgHeight = Math.abs(self._getAvgLabelHeightSpace(labelRenderer));\n\n if (maxHeight > avgHeight) {\n labelSpace = maxHeight;\n tickStep = avgHeight;\n }\n } else if (Util.snapEqual(vector[1], 0) && labels.length > 1) {\n // 坐标轴水平\n var maxWidth = self.getMaxLabelWidth(labelRenderer) + append;\n var avgWidth = Math.abs(self._getAvgLabelLength(labelRenderer));\n\n if (maxWidth > avgWidth) {\n labelSpace = maxWidth;\n tickStep = avgWidth;\n }\n }\n\n if (labelSpace && tickStep) {\n var ratio = Math.ceil(labelSpace / tickStep);\n Util.each(labels, function (label, i) {\n if (i % ratio !== 0) {\n label.attr('text', '');\n }\n });\n }\n }\n };\n\n return Line;\n}(Base);\n\nmodule.exports = Line;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/axis/line.js\n// module id = 253\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Base = require('./base');\n\nvar MatrixUtil = Util.MatrixUtil,\n PathUtil = Util.PathUtil;\nvar vec2 = MatrixUtil.vec2;\n\nvar Polyline = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Polyline, _Base);\n\n var _super = _createSuper(Polyline);\n\n function Polyline() {\n return _Base.apply(this, arguments) || this;\n }\n\n var _proto = Polyline.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Base.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n type: 'polyline'\n });\n };\n\n _proto.getLinePath = function getLinePath() {\n var self = this;\n var tickPoints = self.get('tickPoints');\n var start = self.get('start');\n var end = self.get('end');\n var points = [];\n points.push(start.x);\n points.push(start.y);\n Util.each(tickPoints, function (tick) {\n points.push(tick.x);\n points.push(tick.y);\n });\n points.push(end.x);\n points.push(end.y);\n var path = PathUtil.catmullRomToBezier(points);\n path.unshift(['M', start.x, start.y]);\n return path;\n };\n\n _proto.getTickPoint = function getTickPoint(value, index) {\n var tickPoints = this.get('tickPoints');\n return tickPoints[index];\n };\n\n _proto.getTickEnd = function getTickEnd(start, value, index) {\n var self = this;\n var lineAttrs = self.get('tickLine');\n var tickLength = value ? value : lineAttrs.length;\n var offsetVector = self.getSideVector(tickLength, start, index);\n return {\n x: start.x + offsetVector[0],\n y: start.y + offsetVector[1]\n };\n };\n\n _proto.getSideVector = function getSideVector(offset, point, index) {\n var self = this;\n var preTickPoint;\n\n if (index === 0) {\n preTickPoint = self.get('start');\n\n if (preTickPoint.x === point.x && preTickPoint.y === point.y) {\n return [0, 0];\n }\n } else {\n var tickPoints = self.get('tickPoints');\n preTickPoint = tickPoints[index - 1];\n }\n\n var vector = [point.x - preTickPoint.x, point.y - preTickPoint.y];\n var normal = vec2.normalize([], vector);\n var verticalVector = vec2.vertical([], normal, false);\n return vec2.scale([], verticalVector, offset);\n };\n\n return Polyline;\n}(Base);\n\nmodule.exports = Polyline;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/axis/polyline.js\n// module id = 254\n// module chunks = 0","module.exports = {\n Guide: require('./base'),\n Arc: require('./arc'),\n DataMarker: require('./data-marker'),\n DataRegion: require('./data-region'),\n Html: require('./html'),\n Image: require('./image'),\n Line: require('./line'),\n Region: require('./region'),\n Text: require('./text')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/index.js\n// module id = 255\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Guide = require('./base');\n\nvar PI = Math.PI;\nvar atan = Math.atan;\n\nfunction calculateAngle(point, center) {\n var x = point.x - center.x;\n var y = point.y - center.y;\n var deg;\n\n if (y === 0) {\n if (x < 0) {\n deg = PI / 2;\n } else {\n deg = 270 * PI / 180;\n }\n } else if (x >= 0 && y > 0) {\n deg = PI * 2 - atan(x / y);\n } else if (x <= 0 && y < 0) {\n deg = PI - atan(x / y);\n } else if (x > 0 && y < 0) {\n deg = PI + atan(-x / y);\n } else if (x < 0 && y > 0) {\n deg = atan(x / -y);\n }\n\n return deg;\n}\n\nvar Arc = /*#__PURE__*/function (_Guide) {\n _inheritsLoose(Arc, _Guide);\n\n var _super = _createSuper(Arc);\n\n function Arc() {\n return _Guide.apply(this, arguments) || this;\n }\n\n var _proto = Arc.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Guide.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 辅助元素类型\n * @type {String}\n */\n name: 'arc',\n\n /**\n * 辅助弧线的起始点\n * @type {Object | Function | Array}\n */\n start: null,\n\n /**\n * 辅助弧线的终止点\n * @type {Object | Function | Array}\n */\n end: null,\n\n /**\n * 辅助文本的样式配置\n * @type {Object}\n */\n style: {\n stroke: '#999',\n lineWidth: 1\n }\n });\n };\n\n _proto.render = function render(coord, group) {\n var self = this;\n var start = self.parsePoint(coord, self.get('start'));\n var end = self.parsePoint(coord, self.get('end')); // 只要有一个点无意义,则不绘制\n\n if (!start || !end) {\n return;\n }\n\n var coordCenter = coord.getCenter();\n var radius = Math.sqrt((start.x - coordCenter.x) * (start.x - coordCenter.x) + (start.y - coordCenter.y) * (start.y - coordCenter.y));\n var path; // 处理整圆的情况\n\n var startAngle = calculateAngle(start, coordCenter);\n var endAngle = calculateAngle(end, coordCenter);\n\n if (endAngle < startAngle) {\n endAngle += PI * 2;\n }\n\n if (Util.isNumberEqual(start.x, end.x) && Util.isNumberEqual(start.y, end.y) && (self.get('start')[0] !== self.get('end')[0] || self.get('start')[1] !== self.get('end')[1])) {\n path = [['M', start.x, start.y], ['A', radius, radius, 0, 1, 1, 2 * coordCenter.x - start.x, 2 * coordCenter.y - start.y], ['A', radius, radius, 0, 1, 1, start.x, start.y]];\n } else {\n var dAngle = (endAngle - startAngle) % (PI * 2);\n var largeArc = dAngle > PI ? 1 : 0;\n path = [['M', start.x, start.y], ['A', radius, radius, 0, largeArc, 1, end.x, end.y]];\n }\n\n var arcShape = group.addShape('path', {\n zIndex: self.get('zIndex'),\n attrs: Util.mix({\n path: path\n }, self.get('style'))\n });\n arcShape.name = 'guide-arc';\n self.get('appendInfo') && arcShape.setSilent('appendInfo', self.get('appendInfo'));\n self.set('el', arcShape);\n };\n\n return Arc;\n}(Guide);\n\nmodule.exports = Arc;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/arc.js\n// module id = 256\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Guide = require('./base');\n\nvar DataMarker = /*#__PURE__*/function (_Guide) {\n _inheritsLoose(DataMarker, _Guide);\n\n var _super = _createSuper(DataMarker);\n\n function DataMarker() {\n return _Guide.apply(this, arguments) || this;\n }\n\n var _proto = DataMarker.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Guide.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n name: 'dataMarker',\n zIndex: 1,\n top: true,\n position: null,\n style: {\n point: {\n r: 3,\n fill: '#FFFFFF',\n stroke: '#1890FF',\n lineWidth: 2\n },\n line: {\n stroke: '#A3B1BF',\n lineWidth: 1\n },\n text: {\n fill: '#000000',\n opacity: 0.65,\n fontSize: 12,\n textAlign: 'start'\n }\n },\n // end of style\n display: {\n point: true,\n line: true,\n text: true\n },\n lineLength: 20,\n direction: 'upward',\n autoAdjust: true\n });\n };\n\n _proto.render = function render(coord, group) {\n var self = this;\n var point = self.parsePoint(coord, self.get('position'));\n\n if (!point) {\n return;\n } // container\n\n\n var markerGroup = group.addGroup();\n markerGroup.name = 'guide-data-marker'; // markerGroup.translate(point.x, point.y);\n\n var positions = self._getElementPosition(point);\n\n var display = self.get('display');\n var lineShape;\n var textShape; // add line\n\n if (display.line) {\n var lineData = positions.line;\n lineShape = self._drawLine(lineData, markerGroup);\n } // add text\n\n\n if (display.text && self.get('content')) {\n var textPosition = positions.text;\n textShape = self._drawText(textPosition, markerGroup);\n } // add circle\n\n\n if (display.point) {\n var pointPoisition = positions.point;\n\n self._drawPoint(pointPoisition, markerGroup);\n }\n\n if (self.get('autoAdjust')) {\n var bbox = markerGroup.getBBox();\n var minX = bbox.minX,\n minY = bbox.minY,\n maxX = bbox.maxX,\n maxY = bbox.maxY;\n var start = coord.start,\n end = coord.end;\n\n if (textShape) {\n if (minX <= start.x) {\n // 左侧超出\n textShape.attr('textAlign', 'start');\n }\n\n if (maxX >= end.x) {\n // 右侧超出\n textShape.attr('textAlign', 'end');\n }\n\n var direction = self.get('direction');\n\n if (direction === 'upward' && minY <= end.y || direction !== 'upward' && maxY >= start.y) {\n // 上方或者下方超出\n var textBaseline;\n var dir;\n\n if (direction === 'upward' && minY <= end.y) {\n textBaseline = 'top';\n dir = 1;\n } else {\n textBaseline = 'bottom';\n dir = -1;\n }\n\n textShape.attr('textBaseline', textBaseline);\n var lineLength = 0;\n\n if (self.get('display').line) {\n lineLength = self.get('lineLength');\n var linePath = [['M', point.x, point.y], ['L', point.x, point.y + lineLength * dir]];\n lineShape.attr('path', linePath);\n }\n\n var newY = point.y + (lineLength + 2) * dir;\n textShape.attr('y', newY);\n }\n }\n }\n\n self.get('appendInfo') && markerGroup.setSilent('appendInfo', self.get('appendInfo'));\n self.set('el', markerGroup);\n };\n\n _proto._getElementPosition = function _getElementPosition(position) {\n var self = this;\n var x = position.x,\n y = position.y;\n var lineLength = self.get('display').line ? self.get('lineLength') : 0;\n var direction = self.get('direction');\n var textStyle = self.get('style').text;\n textStyle.textBaseline = direction === 'upward' ? 'bottom' : 'top';\n var dir = direction === 'upward' ? -1 : 1;\n var pointPoisition = {\n x: x,\n y: y\n };\n var lineStart = {\n x: x,\n y: y\n };\n var lineEnd = {\n x: x,\n y: lineLength * dir + y\n };\n var textPosition = {\n x: x,\n y: (lineLength + 2) * dir + y\n };\n return {\n point: pointPoisition,\n line: [lineStart, lineEnd],\n text: textPosition\n };\n };\n\n _proto._drawLine = function _drawLine(lineData, g) {\n var self = this;\n var lineStyle = self.get('style').line;\n var linePath = [['M', lineData[0].x, lineData[0].y], ['L', lineData[1].x, lineData[1].y]];\n var lineShape = g.addShape('path', {\n attrs: Util.mix({\n path: linePath\n }, lineStyle)\n });\n return lineShape;\n };\n\n _proto._drawText = function _drawText(position, g) {\n var self = this;\n var textStyle = this.get('style').text;\n var textShape = g.addShape('text', {\n attrs: Util.mix({\n text: self.get('content')\n }, textStyle, position)\n });\n return textShape;\n };\n\n _proto._drawPoint = function _drawPoint(position, g) {\n var self = this;\n var pointStyle = self.get('style').point;\n var pointShape = g.addShape('circle', {\n attrs: Util.mix({}, pointStyle, position)\n });\n return pointShape;\n };\n\n return DataMarker;\n}(Guide);\n\nmodule.exports = DataMarker;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/data-marker.js\n// module id = 257\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Helper = require('./util/helper');\n\nvar Guide = require('./base');\n\nvar DataRegion = /*#__PURE__*/function (_Guide) {\n _inheritsLoose(DataRegion, _Guide);\n\n var _super = _createSuper(DataRegion);\n\n function DataRegion() {\n return _Guide.apply(this, arguments) || this;\n }\n\n var _proto = DataRegion.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Guide.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n name: 'dataRegion',\n start: null,\n // 只支持数值\n end: null,\n // 只支持数值\n content: '',\n // 文本内容\n style: {\n region: {\n lineWidth: 0,\n fill: '#000000',\n opacity: 0.04\n },\n text: {\n textAlign: 'center',\n textBaseline: 'bottom',\n fontSize: 12,\n fill: 'rgba(0, 0, 0, .65)'\n }\n }\n });\n };\n\n _proto.render = function render(coord, group, data) {\n var self = this; // draw region\n\n var lineLength = self.get('lineLength') || 0; // TODO: 如何命名\n\n var regionData = self._getRegionData(coord, data);\n\n if (!regionData.length) return;\n\n var regionBBox = self._getBBox(regionData);\n\n var path = [];\n path.push(['M', regionData[0].x, regionBBox.yMin - lineLength]);\n\n for (var i = 0, len = regionData.length; i < len; i++) {\n var p = ['L', regionData[i].x, regionData[i].y];\n path.push(p);\n }\n\n path.push(['L', regionData[regionData.length - 1].x, regionBBox.yMin - lineLength]); // draw\n\n var style = self.get('style');\n var regionStyle = style.region; // 兼容之前的写法\n\n var textStyle = style.text;\n var regionGroup = group.addGroup();\n regionGroup.name = 'guide-data-region';\n regionGroup.addShape('path', {\n attrs: Util.mix({\n path: path\n }, regionStyle)\n });\n var content = self.get('content');\n\n if (content) {\n regionGroup.addShape('Text', {\n attrs: Util.mix({\n x: (regionBBox.xMin + regionBBox.xMax) / 2,\n y: regionBBox.yMin - lineLength,\n text: content\n }, textStyle)\n });\n }\n\n self.get('appendInfo') && regionGroup.setSilent('appendInfo', self.get('appendInfo'));\n self.set('el', regionGroup);\n };\n\n _proto._getRegionData = function _getRegionData(coord, data) {\n var self = this;\n var start = self.get('start');\n var end = self.get('end');\n var xField = Helper.getFirstScale(self.get('xScales')).field;\n var yField = Helper.getFirstScale(self.get('yScales')).field;\n var startXValue = Util.isArray(start) ? start[0] : start[xField];\n var endXValue = Util.isArray(end) ? end[0] : end[xField];\n var startIndex;\n var arr = [];\n\n for (var i = 0, len = data.length; i < len; i++) {\n var item = data[i];\n\n if (item[xField] === startXValue) {\n startIndex = i;\n }\n\n if (i >= startIndex) {\n var point = self.parsePoint(coord, [item[xField], item[yField]]); // 判断是否是有效点\n\n point && arr.push(point);\n }\n\n if (item[xField] === endXValue) {\n break;\n }\n }\n\n return arr;\n };\n\n _proto._getBBox = function _getBBox(data) {\n var xs = [];\n var ys = [];\n\n for (var i = 0; i < data.length; i++) {\n xs.push(data[i].x);\n ys.push(data[i].y);\n }\n\n var xRange = Util.arrayUtil.getRange(xs);\n var yRange = Util.arrayUtil.getRange(ys);\n return {\n xMin: xRange.min,\n xMax: xRange.max,\n yMin: yRange.min,\n yMax: yRange.max\n };\n };\n\n return DataRegion;\n}(Guide);\n\nmodule.exports = DataRegion;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/data-region.js\n// module id = 258\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar DomUtil = Util.DomUtil;\n\nvar Guide = require('./base');\n\nvar Html = /*#__PURE__*/function (_Guide) {\n _inheritsLoose(Html, _Guide);\n\n var _super = _createSuper(Html);\n\n function Html() {\n return _Guide.apply(this, arguments) || this;\n }\n\n var _proto = Html.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Guide.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n name: 'html',\n zIndex: 7,\n position: null,\n\n /**\n * Horizontal alignment, can be 'left'、'middle'、'right'\n * @type {String}\n */\n alignX: 'middle',\n\n /**\n * vertical alignment, can be 'top'、'middle'、'bottom'\n * @type {String}\n */\n alignY: 'middle',\n\n /**\n * Horizontal offset\n * @type {Number}\n */\n offsetX: null,\n\n /**\n * Vertical offset\n * @type {Number}\n */\n offsetY: null,\n\n /**\n * html content\n *@type {String | Function}\n */\n html: null\n });\n }\n /**\n * render Html Guide\n * @override\n * @param {Coordinate} coord the instance of Coordinate class\n * @param {Container} container the container which contain the guide component\n */\n ;\n\n _proto.render = function render(coord, container) {\n var self = this;\n var position = self.parsePoint(coord, self.get('position'));\n\n if (!position) {\n return;\n }\n\n var parentNode = container.get('canvas').get('el').parentNode;\n var wrapperNode = DomUtil.createDom('<div class=\"g-guide\"></div>');\n parentNode.appendChild(wrapperNode);\n var html = self.get('htmlContent') || self.get('html');\n\n if (Util.isFunction(html)) {\n var xScales = self.get('xScales');\n var yScales = self.get('yScales');\n html = html(xScales, yScales);\n }\n\n var htmlNode = DomUtil.createDom(html);\n wrapperNode.appendChild(htmlNode);\n DomUtil.modifyCSS(wrapperNode, {\n position: 'absolute' // to fix dom in the document stream to get the true width\n\n });\n\n self._setDomPosition(wrapperNode, htmlNode, position);\n\n self.set('el', wrapperNode);\n };\n\n _proto._setDomPosition = function _setDomPosition(parentDom, childDom, point) {\n var self = this;\n var alignX = self.get('alignX');\n var alignY = self.get('alignY');\n var domWidth = DomUtil.getOuterWidth(childDom);\n var domHeight = DomUtil.getOuterHeight(childDom);\n var position = {\n x: point.x,\n y: point.y\n };\n\n if (alignX === 'middle' && alignY === 'top') {\n position.x -= Math.round(domWidth / 2);\n } else if (alignX === 'middle' && alignY === 'bottom') {\n position.x -= Math.round(domWidth / 2);\n position.y -= Math.round(domHeight);\n } else if (alignX === 'left' && alignY === 'bottom') {\n position.y -= Math.round(domHeight);\n } else if (alignX === 'left' && alignY === 'middle') {\n position.y -= Math.round(domHeight / 2);\n } else if (alignX === 'left' && alignY === 'top') {\n position.x = point.x;\n position.y = point.y;\n } else if (alignX === 'right' && alignY === 'bottom') {\n position.x -= Math.round(domWidth);\n position.y -= Math.round(domHeight);\n } else if (alignX === 'right' && alignY === 'middle') {\n position.x -= Math.round(domWidth);\n position.y -= Math.round(domHeight / 2);\n } else if (alignX === 'right' && alignY === 'top') {\n position.x -= Math.round(domWidth);\n } else {\n // 默认位于中心点\n position.x -= Math.round(domWidth / 2);\n position.y -= Math.round(domHeight / 2);\n }\n\n var offsetX = self.get('offsetX');\n\n if (offsetX) {\n position.x += offsetX;\n }\n\n var offsetY = self.get('offsetY');\n\n if (offsetY) {\n position.y += offsetY;\n }\n\n DomUtil.modifyCSS(parentDom, {\n top: Math.round(position.y) + 'px',\n left: Math.round(position.x) + 'px',\n visibility: 'visible',\n zIndex: self.get('zIndex')\n });\n }\n /**\n * clear html guide\n * @override\n */\n ;\n\n _proto.clear = function clear() {\n var self = this;\n var el = self.get('el');\n el && el.parentNode && el.parentNode.removeChild(el);\n };\n\n return Html;\n}(Guide);\n\nmodule.exports = Html;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/html.js\n// module id = 259\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Guide = require('./base');\n\nvar Image = /*#__PURE__*/function (_Guide) {\n _inheritsLoose(Image, _Guide);\n\n var _super = _createSuper(Image);\n\n function Image() {\n return _Guide.apply(this, arguments) || this;\n }\n\n var _proto = Image.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Guide.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n type: 'image',\n\n /**\n * the start of image\n * @type {Object | Function | Array}\n */\n start: null,\n\n /**\n * the end of image\n * @type {Object | Function | Array}\n */\n end: null,\n\n /**\n * image url\n * @type {String}\n */\n src: null,\n\n /**\n * Horizontal offset\n * @type {Number}\n */\n offsetX: null,\n\n /**\n * Vertical offset\n * @type {Number}\n */\n offsetY: null\n });\n };\n\n _proto.render = function render(coord, group) {\n var self = this;\n var start = self.parsePoint(coord, self.get('start'));\n\n if (!start) {\n return;\n }\n\n var cfg = {\n x: start.x,\n y: start.y\n };\n cfg.img = self.get('src');\n\n if (!self.get('end')) {\n // 如果咩有指定结束点,则 start 为图片的左上角坐标\n cfg.width = self.get('width') || 32;\n cfg.height = self.get('height') || 32;\n } else {\n var end = self.parsePoint(coord, self.get('end'));\n\n if (!end) {\n return;\n } // cfg.width = Math.abs(end.x - start.x);\n // cfg.height = Math.abs(end.y - start.y);\n\n\n cfg.width = end.x - start.x;\n cfg.height = end.y - start.y;\n }\n\n if (self.get('offsetX')) {\n cfg.x += self.get('offsetX');\n }\n\n if (self.get('offsetY')) {\n cfg.y += self.get('offsetY');\n }\n\n var imgGuide = group.addShape('Image', {\n zIndex: 1,\n attrs: cfg\n });\n imgGuide.name = 'guide-image';\n self.get('appendInfo') && imgGuide.setSilent('appendInfo', self.get('appendInfo'));\n self.set('el', imgGuide);\n };\n\n return Image;\n}(Guide);\n\nmodule.exports = Image;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/image.js\n// module id = 260\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Guide = require('./base');\n\nvar vec2 = Util.MatrixUtil.vec2;\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY;\n\nvar Line = /*#__PURE__*/function (_Guide) {\n _inheritsLoose(Line, _Guide);\n\n var _super = _createSuper(Line);\n\n function Line() {\n return _Guide.apply(this, arguments) || this;\n }\n\n var _proto = Line.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Guide.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 辅助元素类型\n * @type {String}\n */\n name: 'line',\n\n /**\n * 辅助线的起点位置\n * @type {Object | Function | Array}\n */\n start: null,\n\n /**\n * 辅助线的终点位置\n * @type {Object | Function | Array}\n */\n end: null,\n\n /**\n * 辅助线的图形样式\n * @type {Object}\n */\n lineStyle: {\n stroke: '#000',\n lineWidth: 1\n },\n\n /**\n * 辅助文本配置\n * @type {Object}\n */\n text: {\n position: 'end',\n // 文本的显示位置: start / center / end / 百分比\n autoRotate: true,\n // 文本是否沿着辅助线的方向自动旋转\n style: {\n fill: '#999',\n fontSize: 12,\n fontWeight: 500,\n fontFamily: FONT_FAMILY\n },\n // 辅助文本的样式\n content: null // 辅助文本的文字\n\n }\n });\n };\n\n _proto.render = function render(coord, group) {\n var self = this;\n var start = self.parsePoint(coord, self.get('start'));\n var end = self.parsePoint(coord, self.get('end'));\n\n if (!start || !end) {\n return;\n }\n\n var guideLineGroup = group.addGroup({\n viewId: group.get('viewId')\n });\n\n self._drawLines(start, end, guideLineGroup);\n\n var text = self.get('text');\n\n if (text && text.content) {\n self._drawText(start, end, guideLineGroup);\n }\n\n self.set('el', guideLineGroup);\n };\n\n _proto._drawLines = function _drawLines(start, end, group) {\n var path = [['M', start.x, start.y], ['L', end.x, end.y]];\n var guideLine = group.addShape('Path', {\n attrs: Util.mix({\n path: path\n }, this.get('lineStyle'))\n });\n guideLine.name = 'guide-line';\n this.get('appendInfo') && guideLine.setSilent('appendInfo', this.get('appendInfo'));\n };\n\n _proto._drawText = function _drawText(start, end, group) {\n var textCfg = this.get('text');\n var position = textCfg.position;\n var textStyle = textCfg.style || {};\n var percent;\n\n if (position === 'start') {\n percent = 0;\n } else if (position === 'center') {\n percent = 0.5;\n } else if (Util.isString(position) && position.indexOf('%') !== -1) {\n percent = parseInt(position, 10) / 100;\n } else if (Util.isNumber(position)) {\n percent = position;\n } else {\n percent = 1;\n }\n\n if (percent > 1 || percent < 0) {\n percent = 1;\n }\n\n var cfg = {\n x: start.x + (end.x - start.x) * percent,\n y: start.y + (end.y - start.y) * percent\n };\n\n if (textCfg.offsetX) {\n // 设置了偏移量\n cfg.x += textCfg.offsetX;\n }\n\n if (textCfg.offsetY) {\n // 设置了偏移量\n cfg.y += textCfg.offsetY;\n }\n\n cfg.text = textCfg.content;\n cfg = Util.mix({}, cfg, textStyle);\n\n if (textCfg.autoRotate && Util.isNil(textStyle.rotate)) {\n // 自动旋转且用户没有设置旋转角度\n var angle = vec2.angleTo([end.x - start.x, end.y - start.y], [1, 0], 1);\n cfg.rotate = angle;\n } else if (!Util.isNil(textStyle.rotate)) {\n // 用户设置了旋转角度\n cfg.rotate = textStyle.rotate * Math.PI / 180;\n }\n\n var shape = group.addShape('Text', {\n attrs: cfg\n });\n shape.name = 'guide-line-text';\n this.get('appendInfo') && shape.setSilent('appendInfo', this.get('appendInfo'));\n };\n\n return Line;\n}(Guide);\n\nmodule.exports = Line;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/line.js\n// module id = 261\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Guide = require('./base');\n\nvar Region = /*#__PURE__*/function (_Guide) {\n _inheritsLoose(Region, _Guide);\n\n var _super = _createSuper(Region);\n\n function Region() {\n return _Guide.apply(this, arguments) || this;\n }\n\n var _proto = Region.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Guide.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n name: 'region',\n zIndex: 1,\n start: null,\n end: null,\n style: {\n lineWidth: 0,\n fill: '#CCD7EB',\n opacity: 0.4\n }\n });\n };\n\n _proto.render = function render(coord, group) {\n var self = this;\n var rectStyle = self.get('style');\n\n var path = self._getPath(coord);\n\n if (!path.length) {\n // path 为空时不绘制\n return;\n }\n\n var regionGroup = group.addShape('path', {\n zIndex: self.get('zIndex'),\n attrs: Util.mix({\n path: path\n }, rectStyle)\n });\n regionGroup.name = 'guide-region';\n self.get('appendInfo') && regionGroup.setSilent('appendInfo', self.get('appendInfo'));\n self.set('el', regionGroup);\n };\n\n _proto._getPath = function _getPath(coord) {\n var self = this;\n var start = self.parsePoint(coord, self.get('start'));\n var end = self.parsePoint(coord, self.get('end'));\n\n if (!start || !end) {\n return [];\n }\n\n var path = [['M', start.x, start.y], ['L', end.x, start.y], ['L', end.x, end.y], ['L', start.x, end.y], ['z']];\n return path;\n };\n\n return Region;\n}(Guide);\n\nmodule.exports = Region;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/region.js\n// module id = 262\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar Guide = require('./base');\n\nvar Text = /*#__PURE__*/function (_Guide) {\n _inheritsLoose(Text, _Guide);\n\n var _super = _createSuper(Text);\n\n function Text() {\n return _Guide.apply(this, arguments) || this;\n }\n\n var _proto = Text.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Guide.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 辅助元素类型\n * @type {String}\n */\n name: 'text',\n\n /**\n * 辅助文本的位置\n * @type {Object | Function | Array}\n */\n position: null,\n\n /**\n * 辅助文本的显示文字\n * @type {String}\n */\n content: null,\n\n /**\n * 辅助文本的样式配置\n * @type {Object}\n */\n style: {\n fill: '#999',\n fontSize: 12,\n fontWeight: 500,\n textAlign: 'center'\n },\n\n /**\n * x 方向的偏移量\n * @type {Number}\n */\n offsetX: null,\n\n /**\n * y 方向的偏移量\n * @type {Number}\n */\n offsetY: null,\n top: true\n });\n };\n\n _proto.render = function render(coord, group) {\n var self = this;\n var point = self.parsePoint(coord, self.get('position'));\n\n if (!point) {\n return;\n }\n\n var textStyle = Util.mix({}, self.get('style'));\n var offsetX = self.get('offsetX');\n var offsetY = self.get('offsetY');\n\n if (offsetX) {\n point.x += offsetX;\n }\n\n if (offsetY) {\n point.y += offsetY;\n }\n\n if (textStyle.rotate) {\n textStyle.rotate = textStyle.rotate * Math.PI / 180; // 将角度转换为弧度\n }\n\n var guideText = group.addShape('Text', {\n zIndex: self.get('zIndex'),\n attrs: Util.mix({\n text: self.get('content')\n }, textStyle, point)\n });\n guideText.name = 'guide-text';\n self.get('appendInfo') && guideText.setSilent('appendInfo', self.get('appendInfo'));\n self.set('el', guideText);\n };\n\n return Text;\n}(Guide);\n\nmodule.exports = Text;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/guide/text.js\n// module id = 263\n// module chunks = 0","var Label = require('./base');\n\nmodule.exports = Label;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/label/index.js\n// module id = 264\n// module chunks = 0","/**\n * @fileOverview The entry of legend\n * @author sima.zhang\n */\nmodule.exports = {\n Category: require('./category'),\n // 分类图例\n CatHtml: require('./cat-html'),\n // 分类图例\n CatPageHtml: require('./cat-page-html'),\n // 分类图例\n // Tail: require('./tail'), // 尾部跟随图例\n Color: require('./color'),\n // 颜色图例\n Size: require('./size'),\n // 大小图例(适用于除映射点大小以外的其他大小)\n CircleSize: require('./size-circle') // 点大小图例\n\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/index.js\n// module id = 265\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar CatHtml = require('./cat-html');\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY;\n\nvar DomUtil = Util.DomUtil;\nvar LIST_CLASS = 'g2-legend-list';\nvar SLIP_CLASS = 'g2-slip';\nvar CARET_UP_CLASS = 'g2-caret-up';\nvar CARET_DOWN_CLASS = 'g2-caret-down';\nvar ENABLED_CARET_COLOR = 'rgba(0,0,0,0.65)';\nvar DISABLED_CARET_COLOR = 'rgba(0,0,0,0.25)';\n\nfunction findNodeByClass(node, className) {\n return node.getElementsByClassName(className)[0];\n}\n\nvar CatPageHtml = /*#__PURE__*/function (_CatHtml) {\n _inheritsLoose(CatPageHtml, _CatHtml);\n\n var _super = _createSuper(CatPageHtml);\n\n function CatPageHtml() {\n return _CatHtml.apply(this, arguments) || this;\n }\n\n var _proto = CatPageHtml.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _CatHtml.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * type标识\n * @type {String}\n */\n type: 'category-page-legend',\n\n /**\n * html 容器\n * @type {DOM}\n */\n container: null,\n\n /**\n * 向上 / 下翻页图标的样式\n * @type {ATTRS}\n */\n caretStyle: {\n fill: 'rgba(0,0,0,0.65)'\n },\n\n /**\n * 页码文字的样式\n * @type {ATTRS}\n */\n pageNumStyle: {\n display: 'inline-block',\n fontSize: '12px',\n fontFamily: FONT_FAMILY,\n cursor: 'default'\n },\n\n /**\n * 翻页块 DOM 的样式\n * @type {ATTRS}\n */\n slipDomStyle: {\n width: 'auto',\n height: 'auto',\n position: 'absolute'\n },\n\n /**\n * 翻页块 DOM\n * @type {String}\n */\n slipTpl: '<div class=\"' + SLIP_CLASS + '\" >' + '<svg viewBox=\"64 64 896 896\" class=\"g2-caret-up\" data-icon=\"left\" style = \"display:inline-block;vertical-align:middle;\" width=\"1em\" height=\"1em\" aria-hidden=\"true\">' + '<path d=\"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z\"></path>' + '</svg>' + '<p class=\"cur-pagenum\" style = \"display:inline-block;vertical-align:middle;\">1</p>' + '<p class=\"next-pagenum\" style = \"display:inline-block;vertical-align:middle;\"\">/2</p>' + '<svg viewBox=\"64 64 896 896\" class=\"g2-caret-down\" data-icon=\"right\" style = \"display:inline-block;vertical-align:middle;\" width=\"1em\" height=\"1em\" aria-hidden=\"true\">' + '<path d=\"M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 0 0 0-50.4z\"></path>' + '</svg>' + '</div>',\n\n /**\n * 翻页块的宽度,用于设置翻页块相对于 legend 的位置\n * @type {Number}\n */\n slipWidth: 65,\n\n /**\n * legend 内容超出容器的处理方式\n * @type {String}\n */\n legendOverflow: 'unset'\n });\n };\n\n _proto.render = function render() {\n _CatHtml.prototype._renderHTML.call(this);\n\n this._renderFlipPage();\n };\n\n _proto._renderFlipPage = function _renderFlipPage() {\n var legendWrapper = this.get('legendWrapper'); // ul\n\n var itemListDom = findNodeByClass(legendWrapper, LIST_CLASS);\n var position = this.get('position');\n var layout = this.get('layout');\n var isVertical = position === 'right' || position === 'left' || layout === 'vertical';\n var itemDisplay = isVertical ? 'block' : 'inline-block';\n var legengWrapperHeight = legendWrapper.offsetHeight; // 翻页\n\n if (legendWrapper.scrollHeight > legengWrapperHeight) {\n // append a slip div\n var slipTpl = this.get('slipTpl');\n var slipDom = DomUtil.createDom(slipTpl);\n var caretUpDom = findNodeByClass(slipDom, CARET_UP_CLASS);\n var caretDownDom = findNodeByClass(slipDom, CARET_DOWN_CLASS);\n DomUtil.modifyCSS(caretUpDom, this.get('caretStyle'));\n DomUtil.modifyCSS(caretUpDom, {\n fill: 'rgba(0,0,0,0.25)'\n });\n DomUtil.modifyCSS(caretDownDom, this.get('caretStyle'));\n var curPageNumDom = findNodeByClass(slipDom, 'cur-pagenum');\n var totalPageNumDom = findNodeByClass(slipDom, 'next-pagenum');\n var pageNumStyle = this.get('pageNumStyle');\n DomUtil.modifyCSS(curPageNumDom, Util.mix({}, pageNumStyle, {\n paddingLeft: '10px'\n }));\n DomUtil.modifyCSS(totalPageNumDom, Util.mix({}, pageNumStyle, {\n opacity: 0.3,\n paddingRight: '10px'\n })); // layout at the center-bottom of the legendWrapper\n\n DomUtil.modifyCSS(slipDom, Util.mix({}, this.get('slipDomStyle'), isVertical ? {\n top: legengWrapperHeight + 'px'\n } : {\n right: 0,\n top: '50%',\n // 横向布局的时候,分页在右侧居中对齐\n transform: 'translate(0, -50%)'\n }));\n legendWrapper.style.overflow = this.get('legendOverflow');\n legendWrapper.appendChild(slipDom);\n\n if (!isVertical) {\n var legendListMaxWidth = Math.max(legendWrapper.offsetWidth - 10 - slipDom.offsetWidth, 0); // 横向布局的时候更新list的宽度\n\n DomUtil.modifyCSS(itemListDom, {\n maxWidth: legendListMaxWidth + \"px\"\n });\n }\n\n var li = itemListDom.childNodes;\n var curHeight = 0; // find the total page number\n\n var pages = 1;\n var blockLi = [];\n\n for (var i = 0; i < li.length; i++) {\n li[i].style.display = itemDisplay;\n curHeight = li[i].offsetTop + li[i].offsetHeight;\n\n if (curHeight > legengWrapperHeight) {\n pages++;\n blockLi.forEach(function (bl) {\n bl.style.display = 'none';\n });\n blockLi = [];\n }\n\n blockLi.push(li[i]);\n }\n\n totalPageNumDom.innerText = '/' + pages; // initialize the page\n\n li.forEach(function (l) {\n l.style.display = itemDisplay;\n curHeight = l.offsetTop + l.offsetHeight;\n\n if (curHeight > legengWrapperHeight) {\n l.style.display = 'none';\n }\n }); // 上翻事件\n\n caretUpDom.addEventListener('click', function () {\n // it is the 1st page\n if (li[0].style.display === itemDisplay) return; // otherwise\n\n var firstDisplayItemIdx = -1;\n li.forEach(function (l, i) {\n if (l.style.display === itemDisplay) {\n firstDisplayItemIdx = firstDisplayItemIdx === -1 ? i : firstDisplayItemIdx;\n l.style.display = 'none';\n }\n });\n\n for (var _i = firstDisplayItemIdx - 1; _i >= 0; _i--) {\n li[_i].style.display = itemDisplay;\n curHeight = li[firstDisplayItemIdx - 1].offsetTop + li[firstDisplayItemIdx - 1].offsetHeight;\n li[_i].style.display = 'none';\n\n if (curHeight <= legengWrapperHeight) {\n li[_i].style.display = itemDisplay;\n } else break;\n } // change the page number\n\n\n var currentPage = Number.parseInt(curPageNumDom.innerText, 10) - 1;\n\n if (currentPage === 1) {\n caretUpDom.style.fill = DISABLED_CARET_COLOR;\n } else {\n caretUpDom.style.fill = ENABLED_CARET_COLOR;\n }\n\n caretDownDom.style.fill = ENABLED_CARET_COLOR;\n curPageNumDom.innerText = currentPage;\n }); // 下翻事件\n\n caretDownDom.addEventListener('click', function () {\n // it is the last page\n if (li[li.length - 1].style.display === itemDisplay) return; // otherwise\n\n var lastDisplayItemIdx = -1;\n li.forEach(function (l, i) {\n if (l.style.display === itemDisplay) {\n lastDisplayItemIdx = i;\n l.style.display = 'none';\n }\n });\n\n for (var _i2 = lastDisplayItemIdx + 1; _i2 < li.length; _i2++) {\n li[_i2].style.display = itemDisplay;\n curHeight = li[_i2].offsetTop + li[_i2].offsetHeight;\n li[_i2].style.display = 'none';\n if (curHeight <= legengWrapperHeight) li[_i2].style.display = itemDisplay;else break;\n } // change the page number\n\n\n var currentPage = Number.parseInt(curPageNumDom.innerText, 10) + 1;\n\n if (currentPage === pages) {\n caretDownDom.style.fill = DISABLED_CARET_COLOR;\n } else {\n caretDownDom.style.fill = ENABLED_CARET_COLOR;\n }\n\n caretUpDom.style.fill = ENABLED_CARET_COLOR;\n curPageNumDom.innerText = currentPage;\n });\n this.set('slipDom', slipDom);\n }\n };\n\n _proto.destroy = function destroy() {\n var slipDom = this.get('slipDom');\n\n if (slipDom && slipDom.parentNode) {\n slipDom.parentNode.removeChild(slipDom);\n }\n\n _CatHtml.prototype.destroy.call(this);\n };\n\n return CatPageHtml;\n}(CatHtml);\n\nmodule.exports = CatPageHtml;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/cat-page-html.js\n// module id = 266\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * @fileOverview The class of the gradient color legend\n * @author sima.zhang\n */\nvar _require = require('@antv/attr/lib'),\n ColorUtil = _require.ColorUtil; // TODOColorUtil 包需要从 attr 包中抽离\n\n\nvar Util = require('../util');\n\nvar Continuous = require('./continuous');\n\nvar Color = /*#__PURE__*/function (_Continuous) {\n _inheritsLoose(Color, _Continuous);\n\n var _super = _createSuper(Color);\n\n function Color() {\n return _Continuous.apply(this, arguments) || this;\n }\n\n var _proto = Color.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Continuous.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 类型\n * @type {String}\n */\n type: 'color-legend',\n\n /**\n * 布局方式\n * horizontal 水平\n * vertical 垂直\n * @type {String}\n */\n layout: 'vertical',\n\n /**\n * 两头滑块的样式\n * @type {object}\n */\n triggerAttr: {\n fill: '#fff',\n shadowOffsetX: -2,\n shadowOffsetY: 2,\n shadowBlur: 10,\n shadowColor: '#ccc',\n radius: 3\n },\n\n /**\n * 同一分段是否使用相同颜色而不使用渐变色,在 slidable = false 时生效\n * @type {boolean}\n */\n isSegment: false\n });\n };\n\n _proto._setPercentage = function _setPercentage() {\n var items = this.get('items');\n if (items[0].percentage) return;\n var min = items[0].value;\n var max = items[items.length - 1].value;\n Util.each(items, function (it) {\n it.percentage = (it.value - min) / (max - min);\n });\n return;\n } // render the slider while slidable === true\n ;\n\n _proto._renderSliderShape = function _renderSliderShape() {\n this._setPercentage();\n\n var slider = this.get('slider');\n var backgroundElement = slider.get('backgroundElement');\n var width = this.get('width');\n var height = this.get('height');\n var layout = this.get('layout');\n var items = this.get('items');\n var fill = '';\n var rgbColor; // gradient color distributed according to the percentage\n\n if (layout === 'vertical') {\n fill += 'l (90) ';\n Util.each(items, function (v) {\n rgbColor = ColorUtil.toRGB(v.color);\n fill += 1 - v.percentage + ':' + rgbColor + ' ';\n });\n } else {\n fill += 'l (0) ';\n Util.each(items, function (v) {\n rgbColor = ColorUtil.toRGB(v.color);\n fill += v.percentage + ':' + rgbColor + ' ';\n });\n }\n\n return this._addMiddleBar(backgroundElement, 'Rect', {\n x: 0,\n y: 0,\n width: width,\n height: height,\n fill: fill,\n strokeOpacity: 0\n });\n } // render the silder while slidable === false\n ;\n\n _proto._renderUnslidable = function _renderUnslidable() {\n this._setPercentage();\n\n var titleShape = this.get('titleShape');\n var titleGap = this.get('titleGap');\n titleGap = titleShape ? titleShape.getBBox().height + titleGap : titleGap;\n var width = this.get('width');\n var height = this.get('height');\n var layout = this.get('layout');\n var items = this.get('items');\n var fill = '';\n var rgbColor;\n var path = [];\n var group = this.get('group');\n var bgGroup = group.addGroup();\n var isize = items.length; // gradient color distributed according to the percentage\n\n if (layout === 'vertical') {\n fill += 'l (90) ';\n\n for (var i = 0; i < isize; i += 1) {\n if (i !== 0 && i !== isize - 1) {\n path.push(['M', 0, height - items[i].percentage * height]);\n path.push(['L', width, height - items[i].percentage * height]);\n }\n\n rgbColor = ColorUtil.toRGB(items[i].color);\n fill += 1 - items[i].percentage + ':' + rgbColor + ' ';\n\n if (this.get('isSegment') && i > 0) {\n // one color instead of gradient color for a block while isSegment === true\n var preRgbColor = ColorUtil.toRGB(items[i - 1].color);\n fill += 1 - items[i].percentage + ':' + preRgbColor + ' ';\n }\n\n bgGroup.addShape('text', {\n attrs: Util.mix({}, {\n x: width + this.get('textOffset') / 2,\n y: height - items[i].percentage * height,\n text: this._formatItemValue(items[i].value) + '' // 以字符串格式展示\n\n }, this.get('textStyle'), {\n textAlign: 'start'\n })\n });\n }\n } else {\n // horizontal\n fill += 'l (0) ';\n\n for (var _i = 0; _i < isize; _i += 1) {\n if (_i !== 0 && _i !== isize - 1) {\n path.push(['M', items[_i].percentage * width, 0]);\n path.push(['L', items[_i].percentage * width, height]);\n }\n\n rgbColor = ColorUtil.toRGB(items[_i].color);\n\n if (this.get('isSegment') && _i > 0) {\n var _preRgbColor = ColorUtil.toRGB(items[_i - 1].color);\n\n fill += items[_i].percentage + ':' + _preRgbColor + ' ';\n }\n\n fill += items[_i].percentage + ':' + rgbColor + ' ';\n bgGroup.addShape('text', {\n attrs: Util.mix({}, {\n x: items[_i].percentage * width,\n y: height + 5 + this.get('textOffset'),\n text: this._formatItemValue(items[_i].value) + '' // 以字符串格式展示\n\n }, this.get('textStyle'))\n });\n }\n }\n\n bgGroup.addShape('rect', {\n attrs: {\n x: 0,\n y: 0,\n width: width,\n height: height,\n fill: fill,\n strokeOpacity: 0\n }\n }); // the white line segment to seperate color blocks\n\n bgGroup.addShape('path', {\n attrs: Util.mix({\n path: path\n }, this.get('lineStyle'))\n });\n bgGroup.move(0, titleGap);\n };\n\n return Color;\n}(Continuous);\n\nmodule.exports = Color;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/color.js\n// module id = 267\n// module chunks = 0","module.exports = {\n Position: require('./position'),\n Color: require('./color'),\n Shape: require('./shape'),\n Size: require('./size'),\n Opacity: require('./opacity'),\n ColorUtil: require('./color-util')\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/index.js\n// module id = 268\n// module chunks = 0","function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar isNil = require('@antv/util/lib/type/is-nil');\n\nvar isArray = require('@antv/util/lib/type/is-array');\n\nvar each = require('@antv/util/lib/each');\n\nvar Base = require('./base');\n\nvar Position = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Position, _Base);\n\n function Position(cfg) {\n var _this;\n\n _this = _Base.call(this, cfg) || this;\n _this.names = ['x', 'y'];\n _this.type = 'position';\n return _this;\n }\n\n var _proto = Position.prototype;\n\n _proto.mapping = function mapping(x, y) {\n var scales = this.scales;\n var coord = this.coord;\n var scaleX = scales[0];\n var scaleY = scales[1];\n var rstX;\n var rstY;\n var obj;\n\n if (isNil(x) || isNil(y)) {\n return [];\n }\n\n if (isArray(y) && isArray(x)) {\n rstX = [];\n rstY = [];\n\n for (var i = 0, j = 0, xLen = x.length, yLen = y.length; i < xLen && j < yLen; i++, j++) {\n obj = coord.convertPoint({\n x: scaleX.scale(x[i]),\n y: scaleY.scale(y[j])\n });\n rstX.push(obj.x);\n rstY.push(obj.y);\n }\n } else if (isArray(y)) {\n x = scaleX.scale(x);\n rstY = [];\n each(y, function (yVal) {\n yVal = scaleY.scale(yVal);\n obj = coord.convertPoint({\n x: x,\n y: yVal\n });\n\n if (rstX && rstX !== obj.x) {\n if (!isArray(rstX)) {\n rstX = [rstX];\n }\n\n rstX.push(obj.x);\n } else {\n rstX = obj.x;\n }\n\n rstY.push(obj.y);\n });\n } else if (isArray(x)) {\n y = scaleY.scale(y);\n rstX = [];\n each(x, function (xVal) {\n xVal = scaleX.scale(xVal);\n obj = coord.convertPoint({\n x: xVal,\n y: y\n });\n\n if (rstY && rstY !== obj.y) {\n if (!isArray(rstY)) {\n rstY = [rstY];\n }\n\n rstY.push(obj.y);\n } else {\n rstY = obj.y;\n }\n\n rstX.push(obj.x);\n });\n } else {\n x = scaleX.scale(x);\n y = scaleY.scale(y);\n var point = coord.convertPoint({\n x: x,\n y: y\n });\n rstX = point.x;\n rstY = point.y;\n }\n\n return [rstX, rstY];\n };\n\n return Position;\n}(Base);\n\nmodule.exports = Position;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/position.js\n// module id = 269\n// module chunks = 0","function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar isString = require('@antv/util/lib/type/is-string');\n\nvar ColorUtil = require('./color-util');\n\nvar Base = require('./base');\n\nvar Color = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Color, _Base);\n\n function Color(cfg) {\n var _this;\n\n _this = _Base.call(this, cfg) || this;\n _this.names = ['color'];\n _this.type = 'color';\n _this.gradient = null;\n\n if (isString(_this.values)) {\n _this.linear = true;\n }\n\n return _this;\n }\n /**\n * @override\n */\n\n\n var _proto = Color.prototype;\n\n _proto.getLinearValue = function getLinearValue(percent) {\n var gradient = this.gradient;\n\n if (!gradient) {\n var values = this.values;\n gradient = ColorUtil.gradient(values);\n this.gradient = gradient;\n }\n\n return gradient(percent);\n };\n\n return Color;\n}(Base);\n\nmodule.exports = Color;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/color.js\n// module id = 270\n// module chunks = 0","function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar Base = require('./base');\n\nvar Shape = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Shape, _Base);\n\n function Shape(cfg) {\n var _this;\n\n _this = _Base.call(this, cfg) || this;\n _this.names = ['shape'];\n _this.type = 'shape';\n _this.gradient = null;\n return _this;\n }\n /**\n * @override\n */\n\n\n var _proto = Shape.prototype;\n\n _proto.getLinearValue = function getLinearValue(percent) {\n var values = this.values;\n var index = Math.round((values.length - 1) * percent);\n return values[index];\n };\n\n return Shape;\n}(Base);\n\nmodule.exports = Shape;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/shape.js\n// module id = 271\n// module chunks = 0","function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar Base = require('./base');\n\nvar Size = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Size, _Base);\n\n function Size(cfg) {\n var _this;\n\n _this = _Base.call(this, cfg) || this;\n _this.names = ['size'];\n _this.type = 'size';\n _this.gradient = null;\n return _this;\n }\n\n return Size;\n}(Base);\n\nmodule.exports = Size;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/size.js\n// module id = 272\n// module chunks = 0","function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar Base = require('./base');\n\nvar Opacity = /*#__PURE__*/function (_Base) {\n _inheritsLoose(Opacity, _Base);\n\n function Opacity(cfg) {\n var _this;\n\n _this = _Base.call(this, cfg) || this;\n _this.names = ['opacity'];\n _this.type = 'opacity';\n _this.gradient = null;\n return _this;\n }\n\n return Opacity;\n}(Base);\n\nmodule.exports = Opacity;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_@antv_attr@0.1.2@@antv/attr/lib/opacity.js\n// module id = 273\n// module chunks = 0","/**\n * @fileOverview The class of slider\n * @author sima.zhang\n */\nvar Util = require('../util');\n\nvar DomUtil = Util.DomUtil;\nvar Group = Util.Group;\n\nvar Slider = function Slider(cfg) {\n Slider.superclass.constructor.call(this, cfg);\n};\n\nUtil.extend(Slider, Group);\nUtil.augment(Slider, {\n getDefaultCfg: function getDefaultCfg() {\n return {\n /**\n * 范围\n * @type {Array}\n */\n range: null,\n\n /**\n * 中滑块属性\n * 透明的,用于用户交互\n * @type {ATTRS}\n */\n middleAttr: {\n fill: '#fff',\n fillOpacity: 0\n },\n\n /**\n * 背景\n * @type {G-Element}\n */\n backgroundElement: null,\n\n /**\n * 下滑块\n * @type {G-Element}\n */\n minHandleElement: null,\n\n /**\n * 上滑块\n * @type {G-Element}\n */\n maxHandleElement: null,\n\n /**\n * 中块,\n * 透明的,用于用户交互\n * @type {G-Element}\n */\n middleHandleElement: null,\n\n /**\n * 当前的激活的元素\n * @type {G-Element}\n */\n currentTarget: null,\n\n /**\n * 布局方式: horizontalvertical\n * @type {String}\n */\n layout: 'vertical',\n\n /**\n * 宽\n * @type {Number}\n */\n width: null,\n\n /**\n * 高\n * @type {Number}\n */\n height: null,\n\n /**\n * 当前的PageX\n * @type {Number}\n */\n pageX: null,\n\n /**\n * 当前的PageY\n * @type {Number}\n */\n pageY: null\n };\n },\n // arrange the zindex and cursors of each element\n _beforeRenderUI: function _beforeRenderUI() {\n var layout = this.get('layout');\n var backgroundElement = this.get('backgroundElement');\n var minHandleElement = this.get('minHandleElement');\n var maxHandleElement = this.get('maxHandleElement');\n var middleHandleElement = this.addShape('rect', {\n attrs: this.get('middleAttr')\n });\n var trigerCursor = layout === 'vertical' ? 'ns-resize' : 'ew-resize';\n this.add([backgroundElement, minHandleElement, maxHandleElement]);\n this.set('middleHandleElement', middleHandleElement);\n backgroundElement.set('zIndex', 0);\n middleHandleElement.set('zIndex', 1);\n minHandleElement.set('zIndex', 2);\n maxHandleElement.set('zIndex', 2);\n middleHandleElement.attr('cursor', 'move');\n minHandleElement.attr('cursor', trigerCursor);\n maxHandleElement.attr('cursor', trigerCursor);\n this.sort();\n },\n // rendering\n _renderUI: function _renderUI() {\n if (this.get('layout') === 'horizontal') {\n this._renderHorizontal();\n } else {\n this._renderVertical();\n }\n },\n _transform: function _transform(layout) {\n var range = this.get('range');\n var minRatio = range[0] / 100;\n var maxRatio = range[1] / 100;\n var width = this.get('width');\n var height = this.get('height');\n var minHandleElement = this.get('minHandleElement');\n var maxHandleElement = this.get('maxHandleElement');\n var middleHandleElement = this.get('middleHandleElement');\n minHandleElement.resetMatrix();\n maxHandleElement.resetMatrix();\n\n if (layout === 'horizontal') {\n middleHandleElement.attr({\n x: width * minRatio,\n y: 0,\n width: (maxRatio - minRatio) * width,\n height: height\n });\n minHandleElement.translate(minRatio * width, height);\n maxHandleElement.translate(maxRatio * width, height);\n } else {\n middleHandleElement.attr({\n x: 0,\n y: height * (1 - maxRatio),\n width: width,\n height: (maxRatio - minRatio) * height\n });\n minHandleElement.translate(1, (1 - minRatio) * height);\n maxHandleElement.translate(1, (1 - maxRatio) * height);\n }\n },\n _renderHorizontal: function _renderHorizontal() {\n this._transform('horizontal');\n },\n _renderVertical: function _renderVertical() {\n this._transform('vertical');\n },\n _bindUI: function _bindUI() {\n this.on('mousedown', Util.wrapBehavior(this, '_onMouseDown'));\n },\n // if the target matches name\n _isElement: function _isElement(target, name) {\n var element = this.get(name);\n\n if (target === element) {\n return true;\n }\n\n if (element.isGroup) {\n var elementChildren = element.get('children');\n return elementChildren.indexOf(target) > -1;\n }\n\n return false;\n },\n // get the result range after adding diff to range\n // insure that the result out of the interval [0, 100]\n _getRange: function _getRange(diff, range) {\n var rst = diff + range;\n rst = rst > 100 ? 100 : rst;\n rst = rst < 0 ? 0 : rst;\n return rst;\n },\n _updateStatus: function _updateStatus(dim, ev) {\n var totalLength = dim === 'x' ? this.get('width') : this.get('height');\n dim = Util.upperFirst(dim);\n var range = this.get('range');\n var page = this.get('page' + dim);\n var currentTarget = this.get('currentTarget');\n var rangeStash = this.get('rangeStash');\n var layout = this.get('layout');\n var sign = layout === 'vertical' ? -1 : 1;\n var currentPage = ev['page' + dim]; // the distance of the mouse dragging\n\n var diffPage = currentPage - page;\n var diffRange = diffPage / totalLength * 100 * sign;\n var diffStashRange; // the min and max trigger overlap, range[0] and range[1] change together\n\n if (range[1] <= range[0]) {\n if (this._isElement(currentTarget, 'minHandleElement') || this._isElement(currentTarget, 'maxHandleElement')) {\n range[0] = this._getRange(diffRange, range[0]);\n range[1] = this._getRange(diffRange, range[0]);\n }\n } else {\n // user drags the min trigger\n if (this._isElement(currentTarget, 'minHandleElement')) {\n range[0] = this._getRange(diffRange, range[0]);\n } // user drags the max trigger\n\n\n if (this._isElement(currentTarget, 'maxHandleElement')) {\n range[1] = this._getRange(diffRange, range[1]);\n }\n } // the user drags the middle bar\n\n\n if (this._isElement(currentTarget, 'middleHandleElement')) {\n // the diffrence between min and max trigger while mouse down\n diffStashRange = rangeStash[1] - rangeStash[0];\n range[0] = this._getRange(diffRange, range[0]); // keep the diffStashRange\n\n range[1] = range[0] + diffStashRange;\n\n if (range[1] > 100) {\n range[1] = 100;\n range[0] = range[1] - diffStashRange;\n }\n }\n\n this.emit('sliderchange', {\n range: range\n });\n this.set('page' + dim, currentPage);\n\n this._renderUI();\n\n this.get('canvas').draw(); // need delete\n\n return;\n },\n // the listener of mouse down\n _onMouseDown: function _onMouseDown(ev) {\n var currentTarget = ev.currentTarget;\n var originEvent = ev.event;\n var range = this.get('range');\n originEvent.stopPropagation();\n originEvent.preventDefault();\n this.set('pageX', originEvent.pageX);\n this.set('pageY', originEvent.pageY);\n this.set('currentTarget', currentTarget); // stash the range\n\n this.set('rangeStash', [range[0], range[1]]);\n\n this._bindCanvasEvents();\n },\n _bindCanvasEvents: function _bindCanvasEvents() {\n var containerDOM = this.get('canvas').get('containerDOM'); // this.on('mousemove', Util.wrapBehavior(this, '_onCanvasMouseMove'));\n\n this.onMouseMoveListener = DomUtil.addEventListener(containerDOM, 'mousemove', Util.wrapBehavior(this, '_onCanvasMouseMove'));\n this.onMouseUpListener = DomUtil.addEventListener(containerDOM, 'mouseup', Util.wrapBehavior(this, '_onCanvasMouseUp'));\n this.onMouseLeaveListener = DomUtil.addEventListener(containerDOM, 'mouseleave', Util.wrapBehavior(this, '_onCanvasMouseUp'));\n },\n // listener of mouse click and move = drag\n _onCanvasMouseMove: function _onCanvasMouseMove(ev) {\n if (!this._mouseOutArea(ev)) {\n var layout = this.get('layout');\n\n if (layout === 'horizontal') {\n this._updateStatus('x', ev);\n } else {\n this._updateStatus('y', ev);\n }\n }\n },\n // listener of mouse up\n _onCanvasMouseUp: function _onCanvasMouseUp() {\n this._removeDocumentEvents();\n },\n // remove listeners\n _removeDocumentEvents: function _removeDocumentEvents() {\n this.onMouseMoveListener.remove();\n this.onMouseUpListener.remove();\n },\n // if the mouse is out of the area\n _mouseOutArea: function _mouseOutArea(ev) {\n var el = this.get('canvas').get('el');\n var el_bbox = el.getBoundingClientRect();\n var parent = this.get('parent');\n var bbox = parent.getBBox();\n var left = parent.attr('matrix')[6];\n var top = parent.attr('matrix')[7];\n var right = left + bbox.width;\n var bottom = top + bbox.height;\n var mouseX = ev.clientX - el_bbox.x;\n var mouseY = ev.clientY - el_bbox.y;\n\n if (mouseX < left || mouseX > right || mouseY < top || mouseY > bottom) {\n return true;\n }\n\n return false;\n }\n});\nmodule.exports = Slider;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/slider.js\n// module id = 274\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * @fileOverview The class of the gradient color legend\n * @author sima.zhang\n */\nvar Util = require('../util');\n\nvar Continuous = require('./continuous');\n\nvar Size = /*#__PURE__*/function (_Continuous) {\n _inheritsLoose(Size, _Continuous);\n\n var _super = _createSuper(Size);\n\n function Size() {\n return _Continuous.apply(this, arguments) || this;\n }\n\n var _proto = Size.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Continuous.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 类型\n * @type {String}\n */\n type: 'size-legend',\n width: 100,\n height: 200,\n\n /**\n * 不能滑动时圈的样式\n * @type {ATTRS}\n */\n _unslidableElementStyle: {\n fill: '#4E7CCC',\n fillOpacity: 1\n },\n\n /**\n * 中间 bar 的前景颜色\n * @type {ATTRS}\n */\n frontMiddleBarStyle: {\n fill: 'rgb(64, 141, 251)'\n }\n });\n } // render the slider shape\n ;\n\n _proto._renderSliderShape = function _renderSliderShape() {\n var slider = this.get('slider');\n var backgroundElement = slider.get('backgroundElement');\n var layout = this.get('layout');\n var width = this.get('width');\n var height = this.get('height'); // const x = minRadius;\n\n var y = this.get('height') / 2;\n var frontMiddleBarStyle = this.get('frontMiddleBarStyle'); // background of middle bar\n\n var points = layout === 'vertical' ? [[0, 0], [width, 0], [width, height], [width - 4, height]] : [[0, y + height / 2], [0, y + height / 2 - 4], [width, y - height / 2], [width, y + height / 2]];\n return this._addMiddleBar(backgroundElement, 'Polygon', Util.mix({\n points: points\n }, frontMiddleBarStyle));\n } // render the middle bar while slidable === false,\n // there are no triggers for this situation\n ;\n\n _proto._renderUnslidable = function _renderUnslidable() {\n var layout = this.get('layout');\n var width = this.get('width');\n var height = this.get('height');\n var frontMiddleBarStyle = this.get('frontMiddleBarStyle');\n var points = layout === 'vertical' ? [[0, 0], [width, 0], [width, height], [width - 4, height]] : [[0, height], [0, height - 4], [width, 0], [width, height]];\n var group = this.get('group');\n var bgGroup = group.addGroup();\n bgGroup.addShape('Polygon', {\n attrs: Util.mix({\n points: points\n }, frontMiddleBarStyle)\n });\n\n var minText = this._formatItemValue(this.get('firstItem').value);\n\n var maxText = this._formatItemValue(this.get('lastItem').value);\n\n if (this.get('layout') === 'vertical') {\n this._addText(width + 10, height - 3, minText); // min\n\n\n this._addText(width + 10, 3, maxText); // max\n\n } else {\n this._addText(0, height, minText); // min\n\n\n this._addText(width, height, maxText); // max\n\n }\n } // add min and max text while slidable === false\n ;\n\n _proto._addText = function _addText(x, y, text) {\n var group = this.get('group');\n var textGroup = group.addGroup();\n var textStyle = this.get('textStyle');\n var titleShape = this.get('titleShape');\n var titleGap = this.get('titleGap');\n\n if (titleShape) {\n titleGap += titleShape.getBBox().height;\n }\n\n if (this.get('layout') === 'vertical') {\n textGroup.addShape('text', {\n attrs: Util.mix({\n x: x + this.get('textOffset'),\n y: y,\n text: text === 0 ? '0' : text\n }, textStyle)\n });\n } else {\n y += titleGap + this.get('textOffset') - 20;\n if (!titleShape) y += 10;\n textGroup.addShape('text', {\n attrs: Util.mix({\n x: x,\n y: y,\n text: text === 0 ? '0' : text\n }, textStyle)\n });\n }\n };\n\n return Size;\n}(Continuous);\n\nmodule.exports = Size;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/size.js\n// module id = 275\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * @fileOverview The class of the size legend\n * @author sima.zhang\n * @author ye liu\n */\nvar Util = require('../util'); // const Global = require('../../global');\n\n\nvar Continuous = require('./continuous');\n\nvar SLIDER_HEIGHT = 2;\nvar CIRCLE_GAP = 16;\nvar MAX_SIZE = 16;\nvar MIN_SIZE = 5;\n\nvar CircleSize = /*#__PURE__*/function (_Continuous) {\n _inheritsLoose(CircleSize, _Continuous);\n\n var _super = _createSuper(CircleSize);\n\n function CircleSize() {\n return _Continuous.apply(this, arguments) || this;\n }\n\n var _proto = CircleSize.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Continuous.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 类型\n * @type {String}\n */\n type: 'size-circle-legend',\n width: 100,\n height: 200,\n\n /**\n * 不能滑动时圈的样式\n * @type {ATTRS}\n */\n _unslidableCircleStyle: {\n stroke: 'rgb(99, 161, 248)',\n fill: 'rgb(99, 161, 248)',\n fillOpacity: 0.3,\n lineWidth: 1.5\n },\n\n /**\n * 滑块的样式\n * @type {ATTRS}\n */\n triggerAttr: {\n fill: 'white',\n shadowOffsetX: -2,\n shadowOffsetY: 2,\n shadowBlur: 10,\n shadowColor: '#ccc'\n },\n\n /**\n * 中间 bar 的前景颜色\n * @type {ATTRS}\n */\n frontMiddleBarStyle: {\n fill: 'rgb(64, 141, 251)'\n }\n });\n } // render the slider shape\n ;\n\n _proto._renderSliderShape = function _renderSliderShape() {\n var minRadius = MIN_SIZE;\n var slider = this.get('slider');\n var backgroundElement = slider.get('backgroundElement');\n var layout = this.get('layout');\n var width = layout === 'vertical' ? SLIDER_HEIGHT : this.get('width');\n var height = layout === 'vertical' ? this.get('height') : SLIDER_HEIGHT;\n var x = minRadius;\n var y = this.get('height') / 2;\n var frontMiddleBarStyle = this.get('frontMiddleBarStyle'); // background of middle bar\n\n var points = layout === 'vertical' ? [[0, 0], [width, 0], [width, height], [0, height]] : [[0, y + height], [0, y - height], [x + width - 4, y - height], [x + width - 4, y + height]];\n return this._addMiddleBar(backgroundElement, 'Polygon', Util.mix({\n points: points\n }, frontMiddleBarStyle));\n } // triggers while layout === horizontal\n ;\n\n _proto._addHorizontalTrigger = function _addHorizontalTrigger(type, blockAttr, textAttr, radius) {\n var slider = this.get('slider');\n var trigger = slider.get(type + 'HandleElement');\n var y = -this.get('height') / 2;\n var button = trigger.addShape('circle', {\n attrs: Util.mix({\n x: 0,\n y: y,\n r: radius\n }, blockAttr)\n });\n var text = trigger.addShape('text', {\n attrs: Util.mix(textAttr, {\n x: 0,\n y: y + radius + 10,\n textAlign: 'center',\n textBaseline: 'middle'\n })\n });\n var layout = this.get('layout');\n var trigerCursor = layout === 'vertical' ? 'ns-resize' : 'ew-resize';\n button.attr('cursor', trigerCursor);\n text.attr('cursor', trigerCursor);\n this.set(type + 'ButtonElement', button);\n this.set(type + 'TextElement', text);\n } // triggers while layout === vertical\n ;\n\n _proto._addVerticalTrigger = function _addVerticalTrigger(type, blockAttr, textAttr, radius) {\n var slider = this.get('slider');\n var trigger = slider.get(type + 'HandleElement');\n var button = trigger.addShape('circle', {\n attrs: Util.mix({\n x: 0,\n y: 0,\n r: radius\n }, blockAttr)\n });\n var text = trigger.addShape('text', {\n attrs: Util.mix(textAttr, {\n x: radius + 10,\n y: 0,\n textAlign: 'start',\n textBaseline: 'middle'\n })\n });\n var layout = this.get('layout');\n var trigerCursor = layout === 'vertical' ? 'ns-resize' : 'ew-resize';\n button.attr('cursor', trigerCursor);\n text.attr('cursor', trigerCursor);\n this.set(type + 'ButtonElement', button);\n this.set(type + 'TextElement', text);\n } // render the triggers\n ;\n\n _proto._renderTrigger = function _renderTrigger() {\n var min = this.get('firstItem');\n var max = this.get('lastItem');\n var layout = this.get('layout');\n var textStyle = this.get('textStyle');\n var triggerAttr = this.get('triggerAttr');\n var minBlockAttr = Util.mix({}, triggerAttr);\n var maxBlockAttr = Util.mix({}, triggerAttr);\n var minRadius = MIN_SIZE;\n var maxRadius = MAX_SIZE;\n var minTextAttr = Util.mix({\n text: this._formatItemValue(min.value) + ''\n }, textStyle);\n var maxTextAttr = Util.mix({\n text: this._formatItemValue(max.value) + ''\n }, textStyle);\n\n if (layout === 'vertical') {\n this._addVerticalTrigger('min', minBlockAttr, minTextAttr, minRadius);\n\n this._addVerticalTrigger('max', maxBlockAttr, maxTextAttr, maxRadius);\n } else {\n this._addHorizontalTrigger('min', minBlockAttr, minTextAttr, minRadius);\n\n this._addHorizontalTrigger('max', maxBlockAttr, maxTextAttr, maxRadius);\n }\n } // user interactions\n ;\n\n _proto._bindEvents = function _bindEvents() {\n var _this = this;\n\n if (this.get('slidable')) {\n var slider = this.get('slider');\n slider.on('sliderchange', function (ev) {\n var range = ev.range;\n\n var firstItemValue = _this.get('firstItem').value;\n\n var lastItemValue = _this.get('lastItem').value;\n\n var minValue = firstItemValue + range[0] / 100 * (lastItemValue - firstItemValue);\n var maxValue = firstItemValue + range[1] / 100 * (lastItemValue - firstItemValue);\n var minRadius = MIN_SIZE + range[0] / 100 * (MAX_SIZE - MIN_SIZE);\n var maxRadius = MIN_SIZE + range[1] / 100 * (MAX_SIZE - MIN_SIZE);\n\n _this._updateElement(minValue, maxValue, minRadius, maxRadius);\n\n var itemFiltered = new Event('itemfilter', ev, true, true);\n itemFiltered.range = [minValue, maxValue];\n\n _this.emit('itemfilter', itemFiltered);\n });\n }\n } // update the triggers\n ;\n\n _proto._updateElement = function _updateElement(min, max, minR, maxR) {\n // update the text of the triggers\n _Continuous.prototype._updateElement.call(this, min, max);\n\n var minTextElement = this.get('minTextElement');\n var maxTextElement = this.get('maxTextElement');\n var minCircleElement = this.get('minButtonElement');\n var maxCircleElement = this.get('maxButtonElement'); // update the radius of the triggers\n\n minCircleElement.attr('r', minR);\n maxCircleElement.attr('r', maxR); // update the text position of the triggers\n\n var layout = this.get('layout');\n\n if (layout === 'vertical') {\n minTextElement.attr('x', minR + 10);\n maxTextElement.attr('x', maxR + 10);\n } else {\n var y = -this.get('height') / 2;\n minTextElement.attr('y', y + minR + 10);\n maxTextElement.attr('y', y + maxR + 10);\n }\n } // add a circle for slidable === false\n ;\n\n _proto._addCircle = function _addCircle(x, y, r, text, maxWidth) {\n var group = this.get('group');\n var circleGroup = group.addGroup();\n var circleStyle = this.get('_unslidableCircleStyle');\n var textStyle = this.get('textStyle');\n var titleShape = this.get('titleShape');\n var titleGap = this.get('titleGap');\n\n if (titleShape) {\n titleGap += titleShape.getBBox().height;\n }\n\n circleGroup.addShape('circle', {\n attrs: Util.mix({\n x: x,\n y: y + titleGap,\n r: r === 0 ? 1 : r\n }, circleStyle)\n });\n\n if (this.get('layout') === 'vertical') {\n circleGroup.addShape('text', {\n attrs: Util.mix({\n x: maxWidth + 20 + this.get('textOffset'),\n y: y + titleGap,\n text: text === 0 ? '0' : text\n }, textStyle)\n });\n } else {\n circleGroup.addShape('text', {\n attrs: Util.mix({\n x: x,\n y: y + titleGap + maxWidth + 13 + this.get('textOffset'),\n text: text === 0 ? '0' : text\n }, textStyle)\n });\n }\n } // the circles while slidable === false\n ;\n\n _proto._renderUnslidable = function _renderUnslidable() {\n var firstItemValue = this.get('firstItem').value;\n var lastItemValue = this.get('lastItem').value;\n\n if (firstItemValue > lastItemValue) {\n var tmp = lastItemValue;\n lastItemValue = firstItemValue;\n firstItemValue = tmp;\n }\n\n var minText = this._formatItemValue(firstItemValue);\n\n var maxText = this._formatItemValue(lastItemValue);\n\n var minRadius = firstItemValue < MIN_SIZE ? MIN_SIZE : firstItemValue;\n var maxRadius = lastItemValue > MAX_SIZE ? MAX_SIZE : lastItemValue;\n\n if (minRadius > maxRadius) {\n minRadius = MIN_SIZE;\n maxRadius = MAX_SIZE;\n }\n\n if (this.get('layout') === 'vertical') {\n this._addCircle(maxRadius, maxRadius, minRadius, minText, 2 * maxRadius); // min\n\n\n this._addCircle(maxRadius, maxRadius * 2 + CIRCLE_GAP + minRadius, maxRadius, maxText, 2 * maxRadius); // max\n\n } else {\n this._addCircle(maxRadius, maxRadius, minRadius, minText, 2 * maxRadius); // min\n\n\n this._addCircle(maxRadius * 2 + CIRCLE_GAP + minRadius, maxRadius, maxRadius, maxText, 2 * maxRadius); // max\n\n }\n };\n\n _proto.activate = function activate(value) {\n if (!this.get('slidable')) {\n return;\n }\n\n _Continuous.prototype.activate.call(this, value);\n };\n\n return CircleSize;\n}(Continuous);\n\nmodule.exports = CircleSize;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/legend/size-circle.js\n// module id = 276\n// module chunks = 0","var Tooltip = require('./base');\n\nTooltip.Html = require('./html');\nTooltip.Canvas = require('./canvas');\nTooltip.Mini = require('./mini');\nmodule.exports = Tooltip;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tooltip/index.js\n// module id = 277\n// module chunks = 0","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar G = require('@antv/g/lib');\n\nvar Tooltip = require('./base');\n\nvar Util = require('../util');\n\nvar DomUtil = Util.DomUtil;\n\nvar TooltipTheme = require('./theme');\n\nvar Crosshair = require('./crosshair');\n\nvar PositionMixin = require('./mixin/position');\n\nvar MarkerGroupMixin = require('./mixin/marker-group');\n\nvar CONTAINER_CLASS = 'g2-tooltip';\nvar TITLE_CLASS = 'g2-tooltip-title';\nvar LIST_CLASS = 'g2-tooltip-list';\nvar MARKER_CLASS = 'g2-tooltip-marker';\nvar VALUE_CLASS = 'g2-tooltip-value';\nvar LIST_ITEM_CLASS = 'g2-tooltip-list-item';\nvar MARKER_SIZE = 5;\nvar Marker = G.Marker;\n\nfunction find(dom, cls) {\n return dom.getElementsByClassName(cls)[0];\n}\n\nfunction mergeStyles(styles, cfg) {\n Object.keys(styles).forEach(function (k) {\n if (cfg[k]) {\n styles[k] = Util.mix(styles[k], cfg[k]);\n }\n });\n return styles;\n}\n\nvar HtmlTooltip = /*#__PURE__*/function (_Tooltip) {\n _inheritsLoose(HtmlTooltip, _Tooltip);\n\n var _super = _createSuper(HtmlTooltip);\n\n var _proto = HtmlTooltip.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _Tooltip.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * tooltip 容器模板\n * @type {String}\n */\n containerTpl: ' <div class=\"' + CONTAINER_CLASS + '\"> ' + '<div class=\"' + TITLE_CLASS + '\"></div>' + '<ul class=\"' + LIST_CLASS + '\"></ul>' + '</div>',\n\n /**\n * tooltip 列表项模板\n * @type {String}\n */\n itemTpl: \"<li data-index={index}>\\n <svg viewBox=\\\"0 0 \" + MARKER_SIZE + \" \" + MARKER_SIZE + \"\\\" class=\\\"\" + MARKER_CLASS + \"\\\"></svg>\\n {name}<span class=\\\"\" + VALUE_CLASS + \"\\\">{value}</span></li>\",\n\n /**\n * tooltip html内容\n * @type {String}\n */\n htmlContent: null,\n\n /**\n * tooltip 内容跟随鼠标移动\n * @type {Boolean}\n */\n follow: true,\n\n /**\n * 是否允许鼠标停留在 tooltip 上,默认不允许\n * @type {Boolean}\n */\n enterable: false\n });\n };\n\n function HtmlTooltip(cfg) {\n var _this;\n\n _this = _Tooltip.call(this, cfg) || this;\n Util.assign(_assertThisInitialized(_this), PositionMixin);\n Util.assign(_assertThisInitialized(_this), MarkerGroupMixin);\n var style = TooltipTheme;\n _this.style = mergeStyles(style, cfg);\n\n _this._init_();\n\n if (_this.get('items')) {\n _this.render();\n } // crosshair\n\n\n var crosshair = _this.get('crosshairs');\n\n if (crosshair) {\n var plot = crosshair.type === 'rect' ? _this.get('backPlot') : _this.get('frontPlot');\n var crosshairGroup = new Crosshair(Util.mix({\n plot: plot,\n plotRange: _this.get('plotRange'),\n canvas: _this.get('canvas')\n }, _this.get('crosshairs')));\n crosshairGroup.hide();\n\n _this.set('crosshairGroup', crosshairGroup);\n }\n\n return _this;\n }\n\n _proto._init_ = function _init_() {\n var self = this;\n var containerTpl = self.get('containerTpl');\n var outterNode = self.get('canvas').get('el').parentNode;\n var container;\n\n if (!this.get('htmlContent')) {\n if (/^\\#/.test(containerTpl)) {\n // 如果传入 dom 节点的 id\n var id = containerTpl.replace('#', '');\n container = document.getElementById(id);\n } else {\n container = DomUtil.createDom(containerTpl);\n DomUtil.modifyCSS(container, self.style[CONTAINER_CLASS]);\n outterNode.appendChild(container);\n outterNode.style.position = 'relative';\n }\n\n self.set('container', container);\n }\n };\n\n _proto.render = function render() {\n var self = this;\n self.clear();\n\n if (self.get('htmlContent')) {\n var outterNode = self.get('canvas').get('el').parentNode;\n\n var container = self._getHtmlContent();\n\n outterNode.appendChild(container);\n self.set('container', container);\n } else {\n self._renderTpl();\n }\n };\n\n _proto._renderTpl = function _renderTpl() {\n var self = this;\n var showTitle = self.get('showTitle');\n var titleContent = self.get('titleContent');\n var container = self.get('container');\n var titleDom = find(container, TITLE_CLASS);\n var listDom = find(container, LIST_CLASS);\n var items = self.get('items');\n\n if (titleDom && showTitle) {\n DomUtil.modifyCSS(titleDom, self.style[TITLE_CLASS]);\n titleDom.innerHTML = titleContent;\n }\n\n if (listDom) {\n DomUtil.modifyCSS(listDom, self.style[LIST_CLASS]);\n Util.each(items, function (item, index) {\n listDom.appendChild(self._addItem(item, index));\n });\n }\n };\n\n _proto.clear = function clear() {\n var container = this.get('container');\n\n if (this.get('htmlContent')) {\n container && container.remove();\n } else {\n var titleDom = find(container, TITLE_CLASS);\n var listDom = find(container, LIST_CLASS);\n\n if (titleDom) {\n titleDom.innerHTML = '';\n }\n\n if (listDom) {\n listDom.innerHTML = '';\n }\n }\n };\n\n _proto.show = function show() {\n var container = this.get('container');\n\n if (!container || this.destroyed) {\n // 防止容器不存在或者被销毁时报错\n return;\n }\n\n container.style.visibility = 'visible';\n container.style.display = 'block';\n var crosshairGroup = this.get('crosshairGroup');\n crosshairGroup && crosshairGroup.show();\n var markerGroup = this.get('markerGroup');\n markerGroup && markerGroup.show();\n\n _Tooltip.prototype.show.call(this);\n\n this.get('canvas').draw();\n };\n\n _proto.hide = function hide() {\n var container = this.get('container'); // relative: https://github.com/antvis/g2/issues/1221\n\n if (!container || this.destroyed) {\n return;\n }\n\n container.style.visibility = 'hidden';\n container.style.display = 'none';\n var crosshairGroup = this.get('crosshairGroup');\n crosshairGroup && crosshairGroup.hide();\n var markerGroup = this.get('markerGroup');\n markerGroup && markerGroup.hide();\n\n _Tooltip.prototype.hide.call(this);\n\n this.get('canvas').draw();\n };\n\n _proto.destroy = function destroy() {\n var self = this;\n var container = self.get('container');\n var containerTpl = self.get('containerTpl');\n\n if (container && !/^\\#/.test(containerTpl)) {\n container.parentNode.removeChild(container);\n }\n\n var crosshairGroup = this.get('crosshairGroup');\n crosshairGroup && crosshairGroup.destroy();\n var markerGroup = this.get('markerGroup');\n markerGroup && markerGroup.remove();\n\n _Tooltip.prototype.destroy.call(this);\n };\n\n _proto._getMarkerSvg = function _getMarkerSvg(item) {\n var marker = item.marker || {};\n var symbol = marker.activeSymbol || marker.symbol;\n var method;\n\n if (Util.isFunction(symbol)) {\n method = symbol;\n } else if (Util.isString(symbol)) {\n method = Marker.Symbols[symbol];\n }\n\n method = Util.isFunction(method) ? method : Marker.Symbols.circle;\n var pathArr = method(MARKER_SIZE / 2, MARKER_SIZE / 2, MARKER_SIZE / 2);\n var path = pathArr.reduce(function (res, arr) {\n return \"\" + res + arr[0] + arr.slice(1).join(',');\n }, '');\n return \"<path d=\\\"\" + path + \"\\\" fill=\\\"\" + (marker.fill || 'none') + \"\\\" stroke=\\\"\" + (marker.stroke || 'none') + \"\\\" />\";\n };\n\n _proto._addItem = function _addItem(item, index) {\n var itemTpl = this.get('itemTpl'); // TODO: 有可能是个回调函数\n\n var itemDiv = Util.substitute(itemTpl, Util.mix({\n index: index\n }, item));\n var itemDOM = DomUtil.createDom(itemDiv);\n DomUtil.modifyCSS(itemDOM, this.style[LIST_ITEM_CLASS]);\n var markerDom = find(itemDOM, MARKER_CLASS);\n\n if (markerDom) {\n DomUtil.modifyCSS(markerDom, _extends({}, this.style[MARKER_CLASS], {\n borderRadius: 'unset'\n }));\n\n var markerPath = this._getMarkerSvg(item);\n\n markerDom.innerHTML = markerPath;\n }\n\n var valueDom = find(itemDOM, VALUE_CLASS);\n\n if (valueDom) {\n DomUtil.modifyCSS(valueDom, this.style[VALUE_CLASS]);\n }\n\n return itemDOM;\n };\n\n _proto._getHtmlContent = function _getHtmlContent() {\n var htmlContent = this.get('htmlContent');\n var title = this.get('titleContent');\n var items = this.get('items');\n var htmlString = htmlContent(title, items);\n var ele = DomUtil.createDom(htmlString);\n return ele;\n };\n\n _proto.setPosition = function setPosition(x, y, target) {\n var container = this.get('container');\n var outterNode = this.get('canvas').get('el');\n var viewWidth = DomUtil.getWidth(outterNode);\n var viewHeight = DomUtil.getHeight(outterNode);\n var containerWidth = container.clientWidth;\n var containerHeight = container.clientHeight;\n var endx = x;\n var endy = y;\n var position;\n var prePosition = this.get('prePosition') || {\n x: 0,\n y: 0\n }; // @2019-01-30 by blue.lb 由于display:none的元素获取clientWidth和clientHeight的值为0这里强制显隐一下其实直接在show和hide中去掉display设置最好猜测为了更好的兼容浏览器\n\n if (!containerWidth) {\n container.style.display = 'block';\n containerWidth = container.clientWidth;\n containerHeight = container.clientHeight;\n container.style.display = 'none';\n }\n\n if (this.get('enterable')) {\n y = y - container.clientHeight / 2;\n position = [x, y];\n\n if (prePosition && x - prePosition.x > 0) {\n // 留 1px 防止鼠标点击事件无法在画布上触发\n x -= container.clientWidth + 1;\n } else {\n x += 1;\n }\n } else if (this.get('position')) {\n // @2019-01-30 by blue.lb 这里应该是多余代码\n // const containerWidth = container.clientWidth;\n // const containerHeight = container.clientHeight;\n position = this._calcTooltipPosition(x, y, this.get('position'), containerWidth, containerHeight, target);\n x = position[0];\n y = position[1];\n } else {\n position = this._constraintPositionInBoundary(x, y, containerWidth, containerHeight, viewWidth, viewHeight);\n x = position[0];\n y = position[1];\n }\n\n if (this.get('inPlot')) {\n // tooltip 必须限制在绘图区域内\n var plotRange = this.get('plotRange');\n position = this._constraintPositionInPlot(x, y, containerWidth, containerHeight, plotRange, this.get('enterable'));\n x = position[0];\n y = position[1];\n }\n\n var markerItems = this.get('markerItems');\n\n if (!Util.isEmpty(markerItems)) {\n endx = markerItems[0].x;\n endy = markerItems[0].y;\n }\n\n this.set('prePosition', position); // 记录上次的位置\n\n var follow = this.get('follow');\n\n if (follow) {\n container.style.left = x + 'px';\n container.style.top = y + 'px';\n }\n\n var crosshairGroup = this.get('crosshairGroup');\n\n if (crosshairGroup) {\n var items = this.get('items');\n crosshairGroup.setPosition(endx, endy, items);\n }\n\n _Tooltip.prototype.setPosition.call(this, x, y);\n };\n\n return HtmlTooltip;\n}(Tooltip);\n\nmodule.exports = HtmlTooltip;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tooltip/html.js\n// module id = 278\n// module chunks = 0","var _TooltipTheme;\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY; // tooltip 相关 dom 的 css 类名\n\n\nvar TOOLTIP_CONTAINER_CLASS = 'g2-tooltip';\nvar TOOLTIP_TITLE_CLASS = 'g2-tooltip-title';\nvar TOOLTIP_LIST_CLASS = 'g2-tooltip-list';\nvar TOOLTIP_LIST_ITEM_CLASS = 'g2-tooltip-list-item';\nvar TOOLTIP_MARKER_CLASS = 'g2-tooltip-marker';\nvar TOOLTIP_VALUE_CLASS = 'g2-tooltip-value';\nvar TooltipTheme = (_TooltipTheme = {\n crosshairs: false,\n offset: 15\n}, _TooltipTheme[\"\" + TOOLTIP_CONTAINER_CLASS] = {\n position: 'absolute',\n visibility: 'hidden',\n // @2018-07-25 by blue.lb 这里去掉浮动,火狐上存在样式错位\n // whiteSpace: 'nowrap',\n zIndex: 8,\n transition: 'visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)',\n backgroundColor: 'rgba(255, 255, 255, 0.9)',\n boxShadow: '0px 0px 10px #aeaeae',\n borderRadius: '3px',\n color: 'rgb(87, 87, 87)',\n fontSize: '12px',\n fontFamily: FONT_FAMILY,\n lineHeight: '20px',\n padding: '10px 10px 6px 10px'\n}, _TooltipTheme[\"\" + TOOLTIP_TITLE_CLASS] = {\n marginBottom: '4px'\n}, _TooltipTheme[\"\" + TOOLTIP_LIST_CLASS] = {\n margin: 0,\n listStyleType: 'none',\n padding: 0\n}, _TooltipTheme[\"\" + TOOLTIP_LIST_ITEM_CLASS] = {\n marginBottom: '4px'\n}, _TooltipTheme[\"\" + TOOLTIP_MARKER_CLASS] = {\n width: '5px',\n height: '5px',\n borderRadius: '50%',\n display: 'inline-block',\n marginRight: '8px'\n}, _TooltipTheme[\"\" + TOOLTIP_VALUE_CLASS] = {\n display: 'inline-block',\n float: 'right',\n marginLeft: '30px'\n}, _TooltipTheme);\nmodule.exports = TooltipTheme;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tooltip/theme.js\n// module id = 279\n// module chunks = 0","function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar Util = require('../util');\n\nvar CanvasTooltip = require('./canvas');\n\nvar _require = require('../const'),\n FONT_FAMILY = _require.FONT_FAMILY;\n\nvar DomUtil = Util.DomUtil;\nvar MatrixUtil = Util.MatrixUtil;\n\nvar MiniTooltip = /*#__PURE__*/function (_CanvasTooltip) {\n _inheritsLoose(MiniTooltip, _CanvasTooltip);\n\n var _super = _createSuper(MiniTooltip);\n\n function MiniTooltip() {\n return _CanvasTooltip.apply(this, arguments) || this;\n }\n\n var _proto = MiniTooltip.prototype;\n\n _proto.getDefaultCfg = function getDefaultCfg() {\n var cfg = _CanvasTooltip.prototype.getDefaultCfg.call(this);\n\n return Util.mix({}, cfg, {\n /**\n * 默认背景板样式\n * @type {Object}\n */\n boardStyle: {\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n // fill: 'rgba(50, 50, 50, 1)',\n radius: 3\n },\n\n /**\n * 默认value样式\n * @type {Object}\n * */\n valueStyle: {\n x: 0,\n y: 0,\n text: '',\n fontFamily: FONT_FAMILY,\n fontSize: 12,\n stroke: '#fff',\n lineWidth: 2,\n fill: 'black',\n textBaseline: 'top',\n textAlign: 'start'\n },\n\n /**\n * 默认padding值\n * @type {Object}\n */\n padding: {\n top: 5,\n right: 5,\n bottom: 0,\n left: 5\n },\n triangleWidth: 10,\n triangleHeight: 4\n });\n };\n\n _proto._init_ = function _init_() {\n var self = this;\n var padding = self.get('padding');\n var parent = self.get('frontPlot'); // container\n\n var container = parent.addGroup();\n self.set('container', container); // board\n\n var board = container.addShape('rect', {\n attrs: Util.mix({}, self.get('boardStyle'))\n });\n self.set('board', board); // triangleShpe\n\n var triangleShape = container.addShape('path', {\n attrs: {\n fill: self.get('boardStyle').fill\n }\n });\n self.set('triangleShape', triangleShape); // itemGroup\n\n var itemGroup = container.addGroup();\n itemGroup.move(padding.left, padding.top); // value\n\n var valueShape = itemGroup.addShape('text', {\n attrs: Util.mix({}, self.get('valueStyle'))\n });\n self.set('valueShape', valueShape);\n };\n\n _proto.render = function render() {\n var self = this;\n self.clear();\n var board = self.get('board');\n var valueShape = self.get('valueShape');\n var padding = self.get('padding');\n var item = self.get('items')[0];\n\n if (valueShape) {\n valueShape.attr('text', item.value);\n } // update board based on bbox\n\n\n var bbox = valueShape ? valueShape.getBBox() : {\n width: 80,\n height: 30\n };\n var width = padding.left + bbox.width + padding.right;\n var height = padding.top + bbox.height + padding.bottom;\n board.attr('width', width);\n board.attr('height', height); // update triangle shape\n\n self._centerTriangleShape();\n };\n\n _proto.clear = function clear() {\n var valueShape = this.get('valueShape');\n valueShape.attr('text', '');\n };\n\n _proto.setPosition = function setPosition(x, y, target) {\n var self = this;\n var container = self.get('container');\n var plotRange = self.get('plotRange');\n var bbox = container.getBBox();\n var width = bbox.width;\n var height = bbox.height;\n x -= width / 2;\n\n if (target && (target.name === 'point' || target.name === 'interval')) {\n var targetY = target.getBBox().y;\n y = targetY;\n }\n\n y -= height;\n\n if (this.get('inPlot')) {\n // constrain in plot\n if (x < plotRange.tl.x) {\n x = plotRange.tl.x;\n\n self._leftTriangleShape();\n } else if (x + width / 2 > plotRange.tr.x) {\n x = plotRange.tr.x - width;\n\n self._rightTriangleShape();\n } else {\n self._centerTriangleShape();\n }\n\n if (y < plotRange.tl.y) {\n y = plotRange.tl.y;\n } else if (y + height > plotRange.bl.y) {\n y = plotRange.bl.y - height;\n }\n } else {\n // constrain in dom\n var outterNode = this.get('canvas').get('el');\n var viewWidth = DomUtil.getWidth(outterNode);\n var viewHeight = DomUtil.getHeight(outterNode);\n\n if (x < 0) {\n x = 0;\n\n self._leftTriangleShape();\n } else if (x + width / 2 > viewWidth) {\n x = viewWidth - width;\n\n self._rightTriangleShape();\n } else {\n self._centerTriangleShape();\n }\n\n if (y < 0) {\n y = 0;\n } else if (y + height > viewHeight) {\n y = viewHeight - height;\n }\n }\n\n var ulMatrix = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n var mat = MatrixUtil.transform(ulMatrix, [['t', x, y]]);\n container.stopAnimate();\n container.animate({\n matrix: mat\n }, this.get('animationDuration'));\n };\n\n _proto._centerTriangleShape = function _centerTriangleShape() {\n var triangle = this.get('triangleShape');\n var width = this.get('triangleWidth');\n var height = this.get('triangleHeight');\n var boardBBox = this.get('board').getBBox();\n var boardWidth = boardBBox.width;\n var boardHeight = boardBBox.height;\n var pathArray = [['M', 0, 0], ['L', width, 0], ['L', width / 2, height], ['L', 0, 0], ['Z']];\n triangle.attr('path', pathArray);\n triangle.move(boardWidth / 2 - width / 2, boardHeight - 1);\n };\n\n _proto._leftTriangleShape = function _leftTriangleShape() {\n var triangle = this.get('triangleShape');\n var width = this.get('triangleWidth');\n var height = this.get('triangleHeight');\n var boardBBox = this.get('board').getBBox();\n var boardHeight = boardBBox.height;\n var pathArray = [['M', 0, 0], ['L', width, 0], ['L', 0, height + 3], ['L', 0, 0], ['Z']];\n triangle.attr('path', pathArray);\n triangle.move(0, boardHeight - 3);\n };\n\n _proto._rightTriangleShape = function _rightTriangleShape() {\n var triangle = this.get('triangleShape');\n var width = this.get('triangleWidth');\n var height = this.get('triangleHeight');\n var boardBBox = this.get('board').getBBox();\n var boardWidth = boardBBox.width;\n var boardHeight = boardBBox.height;\n var pathArray = [['M', 0, 0], ['L', width, 0], ['L', width, height + 4], ['L', 0, 0], ['Z']];\n triangle.attr('path', pathArray);\n triangle.move(boardWidth - width - 1, boardHeight - 4);\n };\n\n return MiniTooltip;\n}(CanvasTooltip);\n\nmodule.exports = MiniTooltip;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tooltip/mini.js\n// module id = 280\n// module chunks = 0"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACVA;AACA;AACA;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/LA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;;;;;;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpFA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACntBA;AACA;AACA;AACA;AACA;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACv9CA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC5HA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACZA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACrVA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACVA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACrfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnDA;AACA;AACA;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AChRA;AAAA;AAAA;AACA;;;;;;;ACDA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACvDA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACrBA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACdA;;;;;;ACAA;AACA;AACA;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACVA;AACA;AACA;AACA;AACA;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC5UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC5KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC7RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC5jBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC5oBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC1YA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC5TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACj2BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACxtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACj3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC7LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACrYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC7MA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;;;;;;;;ACDA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACTA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACZA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACRA;AAAA;AACA;AACA;;;;;;;ACFA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC9BA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACVA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AClBA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC9BA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACjHA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACrDA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACvFA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AClBA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACzDA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpBA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACdA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpBA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;;;;;;ACHA;AACA;AACA;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC1NA;AACA;AACA;AACA;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC9HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACbA;AACA;AACA;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC7BA;AACA;AACA;AACA;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnDA;AACA;AACA;AACA;AACA;AACA;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACRA;;;;;;ACAA;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC9XA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC1JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACTA;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACdA;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvBA;AACA;AACA;AACA;AACA;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC3HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC7TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC9NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC9JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjHA;AACA;AACA;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC7NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACpTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACtJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvUA;AACA;AACA;AACA;AACA;AACA;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AClZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;A","sourceRoot":""}