!function($){var e=function(e){var t=e.find(".map__chart"),n=t.attr("data-chart-options"),i=JSON.parse(n);Highcharts.getJSON("https://code.highcharts.com/mapdata/custom/world-continents.geo.json",(function(e){Highcharts.mapChart(t[0],{title:null,chart:{map:e,height:"50%",zoomType:void 0},data:{csvURL:i.data.csvURL,seriesMapping:[{x:0,companies:2}],complete:function(e){e.series.push({name:"Continents",nullColor:"#2d4560",borderWidth:0,enableMouseTracking:!1})}},series:[{type:"mapbubble",joinBy:["name","name"],color:"#3099bf",zIndex:1,marker:{enabled:!0}}],tooltip:{useHTML:!0,formatter:function(){return""+this.point.name+'
'+this.point.z+"%
"+Highcharts.numberFormat(this.point.companies,0,".",",")+" companies"}},legend:{enabled:!1},accessibility:{point:{descriptionFormatter:function(e){return e.name+": "+e.z+"%, "+Highcharts.numberFormat(e.companies,0,".",",")+" companies."}}}}),ScrollTrigger.refresh()}))};$(document).ready((function(){$(".map").each((function(){e($(this))}))})),$(window).resize((function(){$(".map").each((function(){e($(this))}))})),window.acf&&window.acf.addAction("render_block_preview/type=map",e)}(jQuery);