/* Highcharts JS v8.2.2 (2020-10-22) Organization chart series type (c) 2019-2019 Torstein Honsi License: www.highcharts.com/license */ (function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/organization",["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,n,r){b.hasOwnProperty(f)||(b[f]=r.apply(null,n))}b=b?b._modules:{};f(b,"Series/OrganizationSeries.js",[b["Core/Series/Series.js"],b["Core/Globals.js"],b["Core/Utilities.js"]], function(b,f,n){var r=n.css,u=n.pick,v=n.wrap,t=b.seriesTypes.sankey.prototype;"";b.seriesType("organization","sankey",{borderColor:"#666666",borderRadius:3,linkRadius:10,borderWidth:1,dataLabels:{nodeFormatter:function(){function a(a){return Object.keys(a).reduce(function(c,d){return c+d+":"+a[d]+";"},'style="')+'"'}var c={width:"100%",height:"100%",display:"flex","flex-direction":"row","align-items":"center","justify-content":"center"},g={"max-height":"100%","border-radius":"50%"},d={width:"100%", padding:0,"text-align":"center","white-space":"normal"},m={margin:0},e={margin:0},b={opacity:.75,margin:"5px"};this.point.image&&(g["max-width"]="30%",d.width="70%");this.series.chart.renderer.forExport&&(c.display="block",d.position="absolute",d.left=this.point.image?"30%":0,d.top=0);c="
";this.point.image&&(c+='");c+="
";this.point.name&&(c+="

"+this.point.name+"

");this.point.title&&(c+="

"+(this.point.title|| "")+"

");this.point.description&&(c+="

"+this.point.description+"

");return c+"
"},style:{fontWeight:"normal",fontSize:"13px"},useHTML:!0},hangingIndent:20,linkColor:"#666666",linkLineWidth:1,nodeWidth:50,tooltip:{nodeFormat:"{point.name}
{point.title}
{point.description}"}},{pointAttribs:function(a,c){var g=this,d=t.pointAttribs.call(g,a,c),m=g.mapOptionsToLevel[(a.isNode?a.level:a.fromNode.level)||0]||{},e=a.options,b=m.states&&m.states[c]||{};c=["borderRadius", "linkColor","linkLineWidth"].reduce(function(a,c){a[c]=u(b[c],e[c],m[c],g.options[c]);return a},{});a.isNode?c.borderRadius&&(d.r=c.borderRadius):(d.stroke=c.linkColor,d["stroke-width"]=c.linkLineWidth,delete d.fill);return d},createNode:function(a){a=t.createNode.call(this,a);a.getSum=function(){return 1};return a},createNodeColumn:function(){var a=t.createNodeColumn.call(this);v(a,"offset",function(a,g,d){a=a.call(this,g,d);return g.hangsFrom?{absoluteTop:g.hangsFrom.nodeY}:a});return a},translateNode:function(a, c){t.translateNode.call(this,a,c);a.hangsFrom&&(a.shapeArgs.height-=this.options.hangingIndent,this.chart.inverted||(a.shapeArgs.y+=this.options.hangingIndent));a.nodeHeight=this.chart.inverted?a.shapeArgs.width:a.shapeArgs.height},curvedPath:function(a,c){for(var g=[],d=0;d=p)&&(l=h=Math.floor(h+(q?-.5:.5)*b.shapeArgs.width)+d,k=b.shapeArgs.y,0