!/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/mouse-wheel-zoom
 * @requires highcharts
 *
 * Mousewheel zoom module
 *
 * (c) 2023-2026 Highsoft AS
 * Author: Askel Eirik Johansson
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/mouse-wheel-zoom",["highcharts/highcharts"],function(e){return t(e)}):"object"==typeof exports?exports["highcharts/modules/mouse-wheel-zoom"]=t(e._Highcharts):e.Highcharts=t(e.Highcharts)}("u"<typeof window?this:window,e=>(()=>{"use strict";let t;var o={944:t=>{t.exports=e}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var s=r[e]={exports:{}};return o[e](s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var s={};i.d(s,{default:()=>m});var n=i(944),l=i.n(n);let a={backgroundColor:"color",backgroundColors:"color",borderColor:"color",borderRadius:"string",color:"color",fill:"color",fontSize:"string",labels:"string",name:"string",stroke:"color",title:"string"},{getAssignedAxis:h}={annotationsFieldsTypes:a,getAssignedAxis:function(e){return e.filter(e=>{let t=e.axis.getExtremes(),o=t.min,r=t.max,i=(0,n.pick)(e.axis.minPointOffset,0);return(0,n.isNumber)(o)&&(0,n.isNumber)(r)&&e.value>=o-i&&e.value<=r+i&&!e.axis.options.isInternal})[0]},getFieldType:function(e,t){let o=a[e],r=typeof t;return(0,n.defined)(o)&&(r=o),({string:"text",number:"number",boolean:"checkbox",color:"color"})[r]}},u=[],c={enabled:!0,sensitivity:1.1,showResetButton:!1},d=function(e,o,r,i,s,l,a){let h=(0,n.pick)(a.type,e.zooming.type,""),u=[];"x"===h?u=r:"y"===h?u=i:"xy"===h&&(u=e.axes);let c=e.transform({axes:u,to:{x:s-5,y:l-5,width:10,height:10},from:{x:s-5*o,y:l-5*o,width:10*o,height:10*o},trigger:"mousewheel",allowResetButton:a.showResetButton});return c&&((0,n.defined)(t)&&(0,n.internalClearTimeout)(t),t=setTimeout(()=>{e.pointer?.drop()},400)),c};function f(){var e;let t=(e=this.zooming.mouseWheel,(0,n.isObject)(e)||(e={enabled:e??!0}),(0,n.merge)(c,e));t.enabled&&(0,n.addEvent)(this.container,"wheel",e=>{e=this.pointer?.normalize(e)||e;let{pointer:o}=this,r=o&&!o.inClass(e.target,"highcharts-no-mousewheel");if(this.isInsidePlot(e.chartX-this.plotLeft,e.chartY-this.plotTop)&&r){let r=t.sensitivity||1.1,i=e.detail||(e.deltaY||0)/120,s=h(o.getCoordinates(e).xAxis),n=h(o.getCoordinates(e).yAxis);d(this,Math.pow(r,i),s?[s.axis]:this.xAxis,n?[n.axis]:this.yAxis,e.chartX,e.chartY,t)&&e.preventDefault?.()}})}let p=l();p.MouseWheelZoom=p.MouseWheelZoom||{compose:function(e){-1===u.indexOf(e)&&(u.push(e),(0,n.addEvent)(e,"afterGetContainer",f))}},p.MouseWheelZoom.compose(p.Chart);let m=l();return s.default})());