!/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/draggable-points
 * @requires highcharts
 *
 * (c) 2009-2026 Highsoft AS
 * Author: Torstein Hønsi
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(e._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/draggable-points",["highcharts/highcharts"],function(e){return r(e)}):"object"==typeof exports?exports["highcharts/modules/draggable-points"]=r(e._Highcharts):e.Highcharts=r(e.Highcharts)}("u"<typeof window?this:window,function(e){return function(){"use strict";var r={944:function(r){r.exports=e}},t={};function a(e){var o=t[e];if(void 0!==o)return o.exports;var i=t[e]={exports:{}};return r[e](i,i.exports,a),i.exports}a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,{a:r}),r},a.d=function(e,r){for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)};var o={};a.d(o,{default:function(){return R}});var i=a(944),n=a.n(i),s=function(e,r,t,a){var o=r.map(function(r){return(0,i.addEvent)(e,r,t,a)});return function(){for(var e=0;e<o.length;e++)(0,o[e])()}},d=function(e,r){var t;return(void 0===e.chartX||void 0===e.chartY)&&(null==(t=r.pointer)?void 0:t.normalize(e))||e},l={className:"highcharts-drag-handle",color:"#fff",lineColor:"rgba(0, 0, 0, 0.6)",lineWidth:1,zIndex:901},g={default:{className:"highcharts-drag-box-default",lineWidth:1,lineColor:"#888",color:"rgba(0, 0, 0, 0.1)",cursor:"move",zIndex:900}},p=n().animObject,h=function(e){return Object.keys(e).length},u=function(e){for(var r in e)if(Object.hasOwnProperty.call(e,r))return e[r]},c=n().doc;function x(){var e=this.dragHandles||{};if(e){for(var r=0,t=Object.keys(e);r<t.length;r++){var a=t[r];e[a].destroy&&e[a].destroy()}delete this.dragHandles}}function v(e,r){var t=this.dragGuideBox,a=(0,i.merge)(g,r),o=(0,i.merge)(a.default,a[e]);return t.attr({class:o.className,stroke:o.lineColor,strokeWidth:o.lineWidth,fill:o.color,cursor:o.cursor,zIndex:o.zIndex}).css({pointerEvents:"none"})}function f(e){var r=this.options.chart||{},t=r.panKey&&r.panKey+"Key";return e[this.zooming.key&&this.zooming.key+"Key"]||e[t]}function m(e){return({left:"right",right:"left",top:"bottom",bottom:"top"})[e]}function y(e,r){var t,a,o,n,s=function(e){var r=e.series,t=r.options.data||[],a=r.options.dragDrop.groupBy,o=[];if(r.boosted&&(0,i.isArray)(t))for(var n=0,s=t.length;n<s;++n)o.push(new r.pointClass(r,t[n])),o[o.length-1].index=n;else o=r.points;return e.options[a]?o.filter(function(r){return r.options[a]===e.options[a]}):[e]}(r),d=r.series,l=d.chart;null==(a=null==(t=d.options.dragDrop)?void 0:t.liveRedraw)||a||(l.dragGuideBox=n=d.getGuideBox(s),l.setGuideBoxState("default",null==(o=d.options.dragDrop)?void 0:o.guideBox).add(d.group)),l.dragDropData={origin:function(e,r,t){for(var a={chartX:e.chartX,chartY:e.chartY,guideBox:t&&{x:t.attr("x"),y:t.attr("y"),width:t.attr("width"),height:t.attr("height")},points:{}},o=0;o<r.length;o++){for(var i=r[o],n=i.series.dragDropProps||{},s={},d=0,l=Object.keys(n);d<l.length;d++){var g=l[d],p=n[g],h=i.series[p.axis+"Axis"];s[g]=i[g],i.series.chart.mapView&&i.plotX&&i.plotY?s[g+"Offset"]="x"===g?i.plotX:i.plotY:s[g+"Offset"]=h.toPixels(i[g])-(h.horiz?e.chartX:e.chartY)}s.point=i,a.points[i.id]=s}return a}(e,s,n),point:r,groupedPoints:s,isDragging:!0}}function D(e,r){var t=r.dragDropData;if(t&&t.isDragging&&t.draggedPastSensitivity&&t.point.series){var a=t.point,o=t.newPoints,i=h(o),n=1===i?u(o):null;r.dragHandles&&r.hideDragHandles(),e.preventDefault(),r.cancelClick=!0,a.firePointEvent("drop",{origin:t.origin,chartX:e.chartX,chartY:e.chartY,newPoints:o,numNewPoints:i,newPoint:n&&n.newValues,newPointId:n&&n.point.id},function(){P(r)})}delete r.dragDropData,r.dragGuideBox&&(r.dragGuideBox.destroy(),delete r.dragGuideBox)}function b(){var e,r;!this.hasAddedDragDropEvents&&(e=this,r=e.container,function(e){var r=e.series?e.series.length:0;if(e.hasCartesianSeries&&!e.polar||e.mapView){for(;r--;)if(e.series[r].options.dragDrop&&function(e){for(var r,t=["draggableX","draggableY"],a=e.dragDropProps||{},o=0,i=Object.keys(a);o<i.length;o++)(r=a[i[o]]).optionName&&t.push(r.optionName);for(var n=t.length;n--;)if(e.options.dragDrop[t[n]])return!0}(e.series[r]))return!0}return!1}(e)&&(s(r,["mousedown","touchstart"],function(r){!function(e,r){var t=r.hoverPoint,a=(0,i.merge)(t&&t.series.options.dragDrop,t&&t.options.dragDrop),o=a.draggableX||!1,n=a.draggableY||!1;if(r.cancelClick=!1,!(!(o||n)||r.zoomOrPanKeyPressed(e))&&!r.hasDraggedAnnotation){if(r.dragDropData&&r.dragDropData.isDragging)return D(e,r);t&&function(e){var r,t,a,o=e.series,i=o.chart,n=o.options.dragDrop||{},s=e.options&&e.options.dragDrop,d=o.dragDropProps;for(var l in d)"x"===(r=d[l]).axis&&r.move?t=!0:"y"===r.axis&&r.move&&(a=!0);return(n.draggableX&&t||n.draggableY&&a)&&!(s&&!1===s.draggableX&&!1===s.draggableY)&&(!!(o.yAxis&&o.xAxis)||i.mapView)}(t)&&(r.mouseIsDown=!1,y(e,t),t.firePointEvent("dragStart",e))}}(d(r,e),e)}),s(r,["mousemove","touchmove"],function(r){!function(e,r){if(!r.zoomOrPanKeyPressed(e)){var t,a,o,n,s,d,l,g,p,c,x,v,f,y,D=r.dragDropData,b=0;D&&D.isDragging&&D.point.series&&(v=(x=D.point).series.options.dragDrop,e.preventDefault(),D.draggedPastSensitivity||(t=null!=(c=null!=(p=null!=(g=null==(l=x.options.dragDrop)?void 0:l.dragSensitivity)?g:null==v?void 0:v.dragSensitivity)?p:2)?c:2,o=(a=r.dragDropData.origin).chartX,n=a.chartY,D.draggedPastSensitivity=Math.sqrt(((s=e.chartX)-o)*(s-o)+((d=e.chartY)-n)*(d-n))>t),D.draggedPastSensitivity&&(D.newPoints=function(e,r){var t=e.point,a=t.series,o=a.chart,n=(0,i.merge)(a.options.dragDrop,t.options.dragDrop),s={},d=e.updateProp,l={},g=t.series.dragDropProps;for(var p in g){var h=g[p];(!d||d===p&&h.resize&&(!h.optionName||!1!==n[h.optionName]))&&(d||h.move&&("x"===h.axis&&n.draggableX||"y"===h.axis&&n.draggableY))&&(o.mapView?s["x"===p?"lon":"lat"]=h:s[p]=h)}for(var u=0,c=d?[t]:e.groupedPoints;u<c.length;u++){var x=c[u];l[x.id]={point:x,newValues:x.getDropValues(e.origin,r,s)}}return l}(D,e),y=1===(b=h(f=D.newPoints))?u(f):null,x.firePointEvent("drag",{origin:D.origin,newPoints:D.newPoints,newPoint:y&&y.newValues,newPointId:y&&y.point.id,numNewPoints:b,chartX:e.chartX,chartY:e.chartY},function(){var r,t,a,o,n,s,d,l,g,p,h,u,c,v,f,y,D,b,w,z,A;o=(a=(t=x.series).chart).dragDropData,s=(n=(0,i.merge)(t.options.dragDrop,x.options.dragDrop)).draggableX,d=n.draggableY,l=o.origin,g=o.updateProp,p=e.chartX-l.chartX,h=e.chartY-l.chartY,u=p,a.inverted&&(p=-h,h=-u),null==(r=n.liveRedraw)||r?(P(a,!1),x.showDragHandles()):g?(c=x,v=p,f=h,b=(D=(y=c.series).chart).dragDropData,w=y.dragDropProps[b.updateProp],z=b.newPoints[c.id].newValues,A="function"==typeof w.resizeSide?w.resizeSide(z,c):w.resizeSide,w.beforeResize&&w.beforeResize(D.dragGuideBox,z,c),function(e,r,t){var a;switch(r){case"left":a={x:e.attr("x")+t.x,width:Math.max(1,e.attr("width")-t.x)};break;case"right":a={width:Math.max(1,e.attr("width")+t.x)};break;case"top":a={y:e.attr("y")+t.y,height:Math.max(1,e.attr("height")-t.y)};break;case"bottom":a={height:Math.max(1,e.attr("height")+t.y)}}e.attr(a)}(D.dragGuideBox,"x"===w.axis&&y.xAxis.reversed||"y"===w.axis&&y.yAxis.reversed?m(A):A,{x:"x"===w.axis?v-(b.origin.prevdX||0):0,y:"y"===w.axis?f-(b.origin.prevdY||0):0})):a.dragGuideBox.translate(s?p:0,d?h:0),l.prevdX=p,l.prevdY=h})))}}(d(r,e),e)},{passive:!1}),(0,i.addEvent)(r,"mouseleave",function(r){D(d(r,e),e)}),e.unbindDragDropMouseUp=s(c,["mouseup","touchend"],function(r){D(d(r,e),e)},{passive:!1}),e.hasAddedDragDropEvents=!0,(0,i.addEvent)(e,"destroy",function(){e.unbindDragDropMouseUp&&e.unbindDragDropMouseUp()})))}function P(e,r){var t,a=e.dragDropData.newPoints,o=p(r);e.isDragDropAnimating=!0;for(var i=0,n=Object.keys(a);i<n.length;i++)(t=a[n[i]]).point.update(t.newValues,!1);e.redraw(o),setTimeout(function(){delete e.isDragDropAnimating,e.hoverPoint&&!e.dragHandles&&e.hoverPoint.showDragHandles()},o.duration)}var w=function(e){var r=e.prototype;r.hideDragHandles||(r.hideDragHandles=x,r.setGuideBoxState=v,r.zoomOrPanKeyPressed=f,(0,i.addEvent)(e,"render",b))},z=function(){return(z=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e}).apply(this,arguments)},A={x:{axis:"x",move:!0},y:{axis:"y",move:!0}},H={x:{axis:"x",move:!0},y:{axis:"y",move:!1,resize:!0,beforeResize:function(e,r,t){var a,o=(0,i.pick)(t.yBottom,t.series.translatedThreshold),n=e.attr("y"),s=(0,i.isNumber)(t.stackY)?t.stackY-(t.y||0):t.series.options.threshold||0,d=s+r.y;(t.series.yAxis.reversed?d<s:d>=s)?(a=e.attr("height"),e.attr({height:Math.max(0,Math.round(a+(o?o-n-a:0)))})):e.attr({y:Math.round(n+(o?o-n:0))})},resizeSide:function(e,r){var t=r.series.chart.dragHandles,a=e.y>=(r.series.options.threshold||0)?"top":"bottom",o=m(a);return t&&t[o]&&(t[o].destroy(),delete t[o]),a},handlePositioner:function(e){var r=e.shapeArgs||e.graphic&&e.graphic.getBBox()||{},t=e.series.yAxis.reversed,a=e.series.options.threshold||0,o=e.y||0;return{x:r.x||0,y:!t&&o>=a||t&&o<a?r.y||0:(r.y||0)+(r.height||0)}},handleFormatter:function(e){var r=e.shapeArgs||{},t=r.r||0,a=r.width||0,o=a/2;return[["M",t,0],["L",o-5,0],["A",1,1,0,0,0,o+5,0],["A",1,1,0,0,0,o-5,0],["M",o+5,0],["L",a-t,0]]}}},N={x:H.x,low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.lowPlot}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e<=r.q1}},q1:{optionName:"draggableQ1",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.q1Plot}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e<=r.median&&e>=r.low}},median:{axis:"y",move:!0},q3:{optionName:"draggableQ3",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.q3Plot}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e<=r.high&&e>=r.median}},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.highPlot}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e>=r.q3}}},S={x:H.x,low:z(z({},N.low),{propValidate:function(e,r){return e<=r.high}}),high:z(z({},N.high),{propValidate:function(e,r){return e>=r.low}})},B={x:H.x,y:H.y,target:{optionName:"draggableTarget",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){var r=e.targetGraphic.getBBox();return{x:e.barX,y:r.y+r.height/2}},handleFormatter:H.y.handleFormatter}},V={x:H.x,low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotLow}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e<=r.open&&e<=r.close}},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotHigh}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e>=r.open&&e>=r.close}},open:{optionName:"draggableOpen",axis:"y",move:!0,resize:!0,resizeSide:function(e){return e.open>=e.close?"top":"bottom"},handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotOpen}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e<=r.high&&e>=r.low}},close:{optionName:"draggableClose",axis:"y",move:!0,resize:!0,resizeSide:function(e){return e.open>=e.close?"bottom":"top"},handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotClose}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e<=r.high&&e>=r.low}}},F={x:H.x,y:(0,i.merge)(H.y,{handleFormatter:function(e){var r,t;return e.isSum||e.isIntermediateSum?null:(null==(t=null==(r=null==H?void 0:H.y)?void 0:r.handleFormatter)?void 0:t.call(r,e))||null}})},M={x:{axis:"x",move:!0},low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){var r=e.shapeArgs||e.graphic.getBBox();return{x:r.x||0,y:(r.y||0)+(r.height||0)}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e<=r.high}},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){var r=e.shapeArgs||e.graphic.getBBox();return{x:r.x||0,y:r.y||0}},handleFormatter:H.y.handleFormatter,propValidate:function(e,r){return e>=r.low}}},O={x:M.x,low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){var r=e.graphics&&e.graphics[0]&&e.graphics[0].getBBox();return r?{x:r.x+r.width/2,y:r.y+r.height/2}:{x:-999,y:-999}},handleFormatter:Y,propValidate:M.low.propValidate},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){var r=e.graphics&&e.graphics[1]&&e.graphics[1].getBBox();return r?{x:r.x+r.width/2,y:r.y+r.height/2}:{x:-999,y:-999}},handleFormatter:Y,propValidate:M.high.propValidate}},X={y:{axis:"y",move:!0},x:{optionName:"draggableX1",axis:"x",move:!0,resize:!0,resizeSide:"left",handlePositioner:function(e){return j(e,"x")},handleFormatter:k,propValidate:function(e,r){return e<=r.x2}},x2:{optionName:"draggableX2",axis:"x",move:!0,resize:!0,resizeSide:"right",handlePositioner:function(e){return j(e,"x2")},handleFormatter:k,propValidate:function(e,r){return e>=r.x}}};function Y(e){var r=e.graphic?e.graphic.getBBox().width/2+1:4;return[["M",0-r,0],["a",r,r,0,1,0,2*r,0],["a",r,r,0,1,0,-2*r,0]]}function k(e){var r=e.shapeArgs||e.graphic.getBBox(),t=r.r||0,a=r.height-t,o=r.height/2;return[["M",0,t],["L",0,o-5],["A",1,1,0,0,0,0,o+5],["A",1,1,0,0,0,0,o-5],["M",0,o+5],["L",0,a]]}function j(e,r){var t=e.series,a=t.xAxis,o=t.yAxis,i=t.chart.inverted,n=t.columnMetrics?t.columnMetrics.offset:-e.shapeArgs.height/2,s=a.toPixels(e[r],!0),d=o.toPixels(e.y,!0);return i&&(s=a.len-s,d=o.len-d),{x:Math.round(s),y:Math.round(d+=n)}}var L={arearange:O,boxplot:N,bullet:B,column:H,columnrange:M,errorbar:S,flags:A,gantt:{y:X.y,start:(0,i.merge)(X.x,{optionName:"draggableStart",validateIndividualDrag:function(e){return!e.milestone}}),end:(0,i.merge)(X.x2,{optionName:"draggableEnd",validateIndividualDrag:function(e){return!e.milestone}})},line:A,ohlc:V,waterfall:F,xrange:X};function C(e){var r=e.series&&e.series.chart,t=r&&r.dragDropData;r&&r.dragHandles&&!(t&&(t.isDragging&&t.draggedPastSensitivity||t.isHoveringHandle===e.id))&&r.hideDragHandles()}function E(){var e=this;setTimeout(function(){e.series&&C(e)},10)}function G(){var e=this;setTimeout(function(){var r,t,a,o;return a=(t=(r=e.series)&&r.chart)&&t.dragDropData,o=t&&t.is3d&&t.is3d(),void(t&&!(a&&a.isDragging&&a.draggedPastSensitivity)&&!t.isDragDropAnimating&&r.options.dragDrop&&!o&&(t.dragHandles&&t.hideDragHandles(),e.showDragHandles()))},12)}function I(){var e=this.series.chart,r=e.dragHandles;r&&r.point===this.id&&e.hideDragHandles()}function T(e,r,t){for(var a=this.series,o=a.chart,n=o.mapView,s=(0,i.merge)(a.options.dragDrop,this.options.dragDrop),d={},l=e.points[this.id],g=1===Object.keys(t).length,p=0,h=Object.keys(t);p<h.length;p++){var u=h[p],c=t[u],x=l.point[u],v=a[c.axis+"Axis"],f=n?function(e,r,t){var a,d,l,g,p;if(n){var h=r.toUpperCase(),u=null!=(a=s["dragPrecision".concat(h)])?a:0,c=n.pixelsToLonLat({x:0,y:0}),x=n.pixelsToLonLat({x:o.plotBox.width,y:o.plotBox.height}),v=null!=(l=null!=(d=s["dragMin".concat(h)])?d:null==c?void 0:c[t])?l:-1/0,f=null!=(p=null!=(g=s["dragMax".concat(h)])?g:null==x?void 0:x[t])?p:1/0,m=e[t];if("Orthographic"===n.projection.options.name)return m;if("lat"===t){(isNaN(v)||v>n.projection.maxLatitude)&&(v=n.projection.maxLatitude),(isNaN(f)||f<-1*n.projection.maxLatitude)&&(f=-1*n.projection.maxLatitude);var y=f;f=v,v=y}if(!n.projection.hasCoordinates){var D=n.pixelsToLonLat({x:e.chartX-o.plotLeft,y:o.plotHeight-e.chartY+o.plotTop});D&&(m=D[t])}return u&&(m=Math.round(m/u)*u),(0,i.clamp)(m,v,f)}}(r,c.axis,u):function(e,r){var t,o,n,d=r.toUpperCase(),l=a.chart.time,g=+!!a[""+r+"Axis"].categories,p=null!=(t=s["dragPrecision".concat(d)])?t:g,h=null!=(o=l.parse(s["dragMin".concat(d)]))?o:-1/0,u=null!=(n=l.parse(s["dragMax".concat(d)]))?n:1/0,c=e;return p&&(c=Math.round(c/p)*p),(0,i.clamp)(c,h,u)}(v.toValue((v.horiz?r.chartX:r.chartY)+l[u+"Offset"]),c.axis);(0,i.isNumber)(f)&&!(g&&c.propValidate&&!c.propValidate(f,this))&&void 0!==x&&(d[u]=f)}return d}function K(){for(var e=this,r=e.series,t=r.chart,a=t.inverted,o=t.renderer,n=(0,i.merge)(r.options.dragDrop,e.options.dragDrop),g=r.dragDropProps||{},p=t.dragHandles,h=function(h){var u=g[h],c=(0,i.merge)(l,u.handleOptions,n.dragHandle),x={class:c.className,"stroke-width":c.lineWidth,fill:c.color,stroke:c.lineColor},v=c.pathFormatter||u.handleFormatter,f=u.handlePositioner,m=!u.validateIndividualDrag||u.validateIndividualDrag(e),D=void 0,b=void 0,P=void 0;if(u.resize&&m&&u.resizeSide&&v&&(n["draggable"+u.axis.toUpperCase()]||n[u.optionName])&&!1!==n[u.optionName]){p?p.point=e.id:p=t.dragHandles={group:o.g("drag-drop-handles").add(r.markerGroup||r.group),point:e.id},D=f(e),x.d=P=v(e);var w=e.series.xAxis.categories?-.5:0;if(!P||D.x<w||D.y<0)return"continue";x.cursor=c.cursor||("x"===u.axis!=!!a?"ew-resize":"ns-resize"),(b=p[u.optionName])||(b=p[u.optionName]=o.path().add(p.group)),x.translateX=a?r.yAxis.len-D.y:D.x,x.translateY=a?r.xAxis.len-D.x:D.y,a&&(x.rotation=-90),b.attr(x),s(b.element,["touchstart","mousedown"],function(r){var a,o;a=d(r,t),(o=e.series.chart).zoomOrPanKeyPressed(a)||(o.mouseIsDown=!1,y(a,e),o.dragDropData.updateProp=a.updateProp=h,e.firePointEvent("dragStart",a),a.stopPropagation(),a.preventDefault())},{passive:!1}),(0,i.addEvent)(p.group.element,"mouseover",function(){t.dragDropData=t.dragDropData||{},t.dragDropData.isHoveringHandle=e.id}),s(p.group.element,["touchend","mouseout"],function(){var r;(r=e.series.chart).dragDropData&&e.id===r.dragDropData.isHoveringHandle&&delete r.dragDropData.isHoveringHandle,r.hoverPoint||C(e)})}},u=0,c=Object.keys(g);u<c.length;u++)h(c[u])}function q(e){for(var r,t=this.chart,a=1/0,o=-1/0,n=1/0,s=-1/0,d=0;d<e.length;d++){var l=e[d],g=l.graphic&&l.graphic.getBBox()||l.shapeArgs;if(g){var p=void 0,h=l.x2;(0,i.isNumber)(h)&&(p=l.series.xAxis.translate(h,!1,!1,!1,!0));var u=!(g.width||g.height||g.x||g.y);r=!0,a=Math.min(l.plotX||0,p||0,u?1/0:g.x||0,a),o=Math.max(l.plotX||0,p||0,(g.x||0)+(g.width||0),o),n=Math.min(l.plotY||0,u?1/0:g.y||0,n),s=Math.max((g.y||0)+(g.height||0),s)}}return r?t.renderer.rect(a,n,o-a,s-n):t.renderer.g()}var U=n();({compose:function(e,r){w(e);var t=r.prototype;if(!t.dragDropProps){var a=r.prototype.pointClass,o=r.types,n=a.prototype;n.getDropValues=T,n.showDragHandles=K,(0,i.addEvent)(a,"mouseOut",E),(0,i.addEvent)(a,"mouseOver",G),(0,i.addEvent)(a,"remove",I),t.dragDropProps=L.line,t.getGuideBox=q;for(var s=0,d=["arearange","boxplot","bullet","column","columnrange","errorbar","flags","gantt","ohlc","waterfall","xrange"];s<d.length;s++){var l=d[s];o[l]&&(o[l].prototype.dragDropProps=L[l])}for(var g=0,p=["bellcurve","gauge","histogram","map","mapline","pareto","pie","sankey","sma","sunburst","treemap","vector","windbarb","wordcloud"];g<p.length;g++){var l=p[g];o[l]&&(o[l].prototype.dragDropProps=null)}}}}).compose(U.Chart,U.Series);var R=n();return o.default}()});