/* Highcharts JS v9.3.1 (2021-11-05) Dependency wheel module (c) 2010-2021 Torstein Honsi License: www.highcharts.com/license */ 'use strict';(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/dependency-wheel",["highcharts","highcharts/modules/sankey"],function(f){b(f);b.Highcharts=f;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function f(b,f,e,k){b.hasOwnProperty(f)||(b[f]=k.apply(null,e))}b=b?b._modules:{};f(b,"Series/DependencyWheel/DependencyWheelPoint.js",[b["Core/Series/SeriesRegistry.js"], b["Core/Utilities.js"]],function(b,f){var e=this&&this.__extends||function(){var b=function(a,c){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var a in c)c.hasOwnProperty(a)&&(b[a]=c[a])};return b(a,c)};return function(a,c){function f(){this.constructor=a}b(a,c);a.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)}}();return function(b){function a(){var c=null!==b&&b.apply(this,arguments)||this;c.angle=void 0;c.fromNode=void 0; c.index=void 0;c.linksFrom=void 0;c.linksTo=void 0;c.options=void 0;c.series=void 0;c.shapeArgs=void 0;c.toNode=void 0;return c}e(a,b);a.prototype.getDataLabelPath=function(b){var c=this.series.chart.renderer,a=this.shapeArgs,f=0>this.angle||this.angle>Math.PI,e=a.start||0,p=a.end||0;this.dataLabelPath||(this.dataLabelPath=c.arc({open:!0,longArc:Math.abs(Math.abs(e)-Math.abs(p))a.index){g=g.slice(0,d).reverse().concat(g.slice(d).reverse());var e=!0;break}e||g.reverse();for(d=0;dMath.PI&&(e=2*Math.PI-e);e*=h;e