!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @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 n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var i={};n.d(i,{default:()=>O});var s=n(944),l=n.n(s);let{doc:c,win:a}=l();function u(e,t,o,r={}){let n="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={});let i=n.hcEvents;l().Point&&e instanceof l().Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let s=e.addEventListener;s&&s.call(e,t,o,!!l().supportsPassiveEvents&&{passive:void 0===r.passive?-1!==t.indexOf("touch"):r.passive,capture:!1}),i[t]||(i[t]=[]);let c={fn:o,order:"number"==typeof r.order?r.order:1/0};return i[t].push(c),i[t].sort((e,t)=>e.order-t.order),function(){!function(e,t,o){function r(t,o){let r=e.removeEventListener;r&&r.call(e,t,o,!1)}function n(o){let n,i;e.nodeName&&(t?(n={})[t]=!0:n=o,d(n,function(e,t){if(o[t])for(i=o[t].length;i--;)r(t,o[t][i].fn)}))}let i="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(i,"hcEvents")){let e=i.hcEvents;if(t){let i=e[t]||[];o?(e[t]=i.filter(function(e){return o!==e.fn}),r(t,o)):(n(e),e[t]=[])}else n(e),delete i.hcEvents}}(e,t,o)}}function f(e){return p(e)&&"number"==typeof e.nodeType}function h(e){return"number"==typeof e&&!isNaN(e)&&e<1/0&&e>-1/0}function p(e,t){let o;return!!e&&"object"==typeof e&&(!t||"[object Array]"!==(o=Object.prototype.toString.call(e))&&"[object Array Iterator]"!==o)}function d(e,t,o){for(let r in e)Object.hasOwnProperty.call(e,r)&&t.call(o||e[r],e[r],r,e)}function y(){let e=arguments,t=e.length;for(let o=0;o<t;o++){let t=e[o];if(null!=t)return t}}Array.prototype.find;let m={backgroundColor:"color",backgroundColors:"color",borderColor:"color",borderRadius:"string",color:"color",fill:"color",fontSize:"string",labels:"string",name:"string",stroke:"color",title:"string"},{getAssignedAxis:g}={annotationsFieldsTypes:m,getAssignedAxis:function(e){return e.filter(e=>{let t=e.axis.getExtremes(),o=t.min,r=t.max,n=y(e.axis.minPointOffset,0);return h(o)&&h(r)&&e.value>=o-n&&e.value<=r+n&&!e.axis.options.isInternal})[0]},getFieldType:function(e,t){let o=m[e],r=typeof t;return null!=o&&(r=o),({string:"text",number:"number",boolean:"checkbox",color:"color"})[r]}},x=[],b={enabled:!0,sensitivity:1.1,showResetButton:!1},v=function(e,o,r,n,i,s,l){let c=y(l.type,e.zooming.type,""),a=[];"x"===c?a=r:"y"===c?a=n:"xy"===c&&(a=e.axes);let u=e.transform({axes:a,to:{x:i-5,y:s-5,width:10,height:10},from:{x:i-5*o,y:s-5*o,width:10*o,height:10*o},trigger:"mousewheel",allowResetButton:l.showResetButton});if(u){var f;null!=t&&null!=(f=t)&&clearTimeout(f),t=setTimeout(()=>{e.pointer?.drop()},400)}return u};function w(){var e;let t=(p(e=this.zooming.mouseWheel)||(e={enabled:e??!0}),function(e,...t){let o,r=[e,...t],n={},i=function(e,t){return"object"!=typeof e&&(e={}),d(t,function(o,r){if("__proto__"!==r&&"constructor"!==r){let n;!p(o,!0)||(n=o?.constructor,p(o,!0)&&!f(o)&&n?.name&&"Object"!==n.name)||f(o)?e[r]=t[r]:e[r]=i(e[r]||{},o)}}),e};!0===e&&(n=r[1],r=Array.prototype.slice.call(r,2));let s=r.length;for(o=0;o<s;o++)n=i(n,r[o]);return n}(b,e));t.enabled&&u(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,n=e.detail||(e.deltaY||0)/120,i=g(o.getCoordinates(e).xAxis),s=g(o.getCoordinates(e).yAxis);v(this,Math.pow(r,n),i?[i.axis]:this.xAxis,s?[s.axis]:this.yAxis,e.chartX,e.chartY,t)&&e.preventDefault?.()}})}let j=l();j.MouseWheelZoom=j.MouseWheelZoom||{compose:function(e){-1===x.indexOf(e)&&(x.push(e),u(e,"afterGetContainer",w))}},j.MouseWheelZoom.compose(j.Chart);let O=l();return i.default})());