1/*! For license information please see app.js.LICENSE.txt */ 2(()=>{var t,e={3916(t,e,i){i(7892),i(6971),i(3401),i(3135),i(6065),i(5895),i(189),i(5803),i(9918),i(902),i(2885),i(7448),i(111),i(1442),i(5382),i(4101),i(1691),i(7689),i(2669),i(9687),i(9460),i(4215),i(7646),i(2066),i(1466)},9687(){$(".login-block .forgot-pass-link").on("click",function(t){t.preventDefault(),$("#lostpasswordform").addClass("d-block").removeClass("d-none"),$("#loginform").addClass("d-none").removeClass("d-block")}),$(".login-block .forgot-pass-login-link").on("click",function(t){t.preventDefault(),$("#lostpasswordform").addClass("d-none").removeClass("d-block"),$("#loginform").addClass("d-block").removeClass("d-none")})},9460(){$(".factor-performance-cards").length&&$(".factor-performance-cards").each(function(){$(this).find(".factor-performance-slider").length;var t=$(this).find(".card");$(this).find(".factor-performance-slider");function e(){var e=0;t.css("height",""),t.each(function(){$(this).find(".card-footer").height()>e&&(e=$(this).find(".card-footer").height())}),t.each(function(t,i){$(i).find(".card-footer").css("height",e)})}e(),$(window).on("resize",function(){e()})})},7689(){},5382(){var t=$(".gated-form-content .offset-top-lg"),e=$(".gated-hero");function i(){var i=e.outerHeight();$(window).width()>1300?t.css("margin-top",66-i):$(window).width()>1200?t.css("margin-top",40-i):$(window).width()>992?t.css("margin-top",-i):t.css("margin-top","")}t.length&&e.length&&(i(),$(window).resize(function(){i()}))},1442(){var t=$(".content-wrap-item"),e=$(".wp-block-columns");function i(t){t.each(function(e,i){if($(this).parent().hasClass("wp-block-column"))return!0;if($(this).parent().hasClass("wp-block-gallery"))return!0;if($(this).parent().hasClass("three-column-info-grid-item"))return!0;if($(this).parent().hasClass("card-body"))return!0;if($(this).parent().hasClass("blockquote"))return!0;var o="col-lg-10";($("body").hasClass("page")||$("body").hasClass("single-index"))&&(o="col-12"),$(this).hasClass("copy-block-lg")?o="col-lg-10 col-xl-8":$(this).hasClass("copy-block-md")?o="col-lg-8 col-xl-6":$(this).hasClass("copy-block-sm")?o="col-lg-6 col-xl-4":$(this).hasClass("copy-block-full")&&(o="col-12");var n="";$(this).hasClass("bg-grey-md")?n="bg-grey-md":$(this).hasClass("bg-grey-light-one")?n="bg-grey-light-one":$(this).hasClass("bg-grey-light-two")?n="bg-grey-light-two":$(this).hasClass("bg-blue")?n="bg-blue":$(this).hasClass("bg-green")?n="bg-green":$(this).hasClass("bg-light-blue")&&(n="bg-light-blue"),$(this).hasClass("has-grey-med-background-color")?n="has-grey-med-background-color":$(this).hasClass("has-grey-light-one-background-color")?n="has-grey-light-one-background-color":$(this).hasClass("has-grey-light-two-background-color")?n="has-grey-light-two-background-color":$(this).hasClass("has-blue-background-color")?n="has-blue-background-color":$(this).hasClass("has-green-background-color")?n="has-green-background-color":$(this).hasClass("has-light-blue-background-color")?n="has-light-blue-background-color":$(this).hasClass("has-orange-background-color")&&(n="has-orange-background-color"),e+1<t.length?n.length?$(this).wrap('<div class="container-fluid '+n+' "><div class="row justify-content-center"><div class="'+o+'"></div></div></div>'):$(this).wrap('<div class="container-fluid '+n+' not-last-container"><div class="row justify-content-center"><div class="'+o+'"></div></div></div>'):$(this).wrap('<div class="container-fluid '+n+'"><div class="row justify-content-center"><div class="'+o+'"></div></div></div>')})}i(t),i(e),$("figure.wp-block-image").each(function(t,e){$(this).addClass("figure"),$(this).find("img").addClass("figure-img img-responsive"),$(this).find("figcaption").addClass("figure-caption"),$(this).wrap('<div class="figure-block"></div>')}),$("a[href='#request-info']").on("click",function(){$("#modalRequestInfo").modal("show")}),$("a[href='#subscribe']").on("click",function(){$("#modalSubscribe").modal("show")}),window.should_have_menu_border&&$(".secondary-nav").addClass("has-bottom-border-added"),$(".skip-to-next-block").on("click",function(){var t=$(this).parents("section").first().next("section");$("html, body").animate({scrollTop:t.offset().top-100},500)}),$("a").on("click",function(t){if(t.currentTarget.hash.startsWith("#hubspot-form?form=")){t.preventDefault();var e=t.currentTarget.hash.replace("#hubspot-form?form=","");if(-1!==["257cb178-ca4b-4746-9e99-83a6b09df063","f5aa1d1a-572f-4242-a0bf-dc8716f92691","cc453657-7110-4d24-
2a38b-1b7364ceb1e0","2eb9a7de-3d51-486f-afe5-9d94b3aee0ab","00bdedb5-9e33-47b9-bcb4-99d57c9da3b6","d1c509eb-036c-4def-9533-3f2d82411422","d7e4b0ee-b879-46f5-bfc8-b8487746ad2a","3f0a2633-351b-4a72-b747-cf1bda9c4628","78209196-ea3d-498e-88de-754d64cc626f"].indexOf(e))return void $("#modalRequestInfo").modal("show");if(e.includes("&webinar=")){var i=e.split("&");e=i[0];i[1].replace("webinar=","");"undefined"!=typeof hbspt&&$("#modalGlobalForm"+e).modal("show")}else"undefined"!=typeof hbspt&&$("#modalGlobalForm"+e).modal("show")}}),$(window).load(function(){$(".accordion-documents").each(function(){$(this).find(".collapse-container").addClass("collapse"),$(this).find(".collapse-container").css("opacity","")})}),$("source").each(function(t,e){}),"true"===new URLSearchParams(window.location.search).get("one-trust")&&$("a").each(function(t,e){var i=$(e).attr("href");i&&-1===i.indexOf("#")&&-1===i.indexOf("mailto:")&&-1===i.indexOf("tel:")&&(-1===i.indexOf("?")?$(e).attr("href",i+"?one-trust=true"):$(e).attr("href",i+"&one-trust=true"))})},2669(){$(function(){}),$.fn.csTicker=function(t){void 0===t&&(t={});var e=$.extend({},$.fn.csTicker.defaults,t),i=$(this);e.tickerID=i[0].id,$.fn.csTicker.settings[e.tickerID]={};i.parent().eq(0).hasClass("wrap")||i.wrap("<div class='wrap'></div>");var o=null;i.parent().parent().eq(0).hasClass("slider-container")||(o=i.parent().wrap("<div class='slider-container'></div>"));for(var n,r=i[0].firstChild;r;)n=r.nextSibling,3==r.NodeType&&i[0].removeChild(r),r=n;var s=i.children().eq(0).outerWidth(!0);function a(){l();var t=$.fn.csTicker.settings[e.tickerID];t.left-=e.speed,t.left<=-1*t.shiftLeftAt&&(t.left=0,i.append(i.children().eq(0)),t.shiftLeftAt=i.children().eq(0).outerWidth(!0));var n=t.left<0?-1*t.left:t.left;o.scrollLeft(n),t.runId=setTimeout(arguments.callee,e.interval),$.fn.csTicker.settings[e.tickerID]=t}function l(){var t=$.fn.csTicker.settings[e.tickerID];t.runId&&clearTimeout(t.runId),t.runId=null,$.fn.csTicker.settings[e.tickerID]=t}$.fn.csTicker.settings[e.tickerID].shiftLeftAt=s,$.fn.csTicker.settings[e.tickerID].left=0,$.fn.csTicker.settings[e.tickerID].runid=null,i.width(2*screen.availWidth),e.pauseOnHover&&i.hover(l,a),a()},$.fn.csTicker.settings={},$.fn.csTicker.defaults={tickerID:null,url:null,speed:1,pauseOnHover:!1,interval:20},$(".key-indices-block").length&&$(".key-indices-block").each(function(t,e){var i=$(this),o=i.find(".card-stock"),n=[],r=0,s=i.find(".stock-slider");i.find(".key-indices-ticker").hasClass("stock-slider")&&i.find(".key-indices-ticker").csTicker({speed:2,tickerID:"id"+t}),h(),o.each(function(){n.push($(this).data("index"))});var a=setInterval(function(){r>5&&clearInterval(a),l(),r++},18e4);function l(){o.each(function(t,e){$.post("/wp-admin/admin-ajax.php",{action:"refresh_index",timing:$(this).data("timing"),index_to_refresh:$(this).data("index")},function(t){t.data=JSON.parse(t.data);var e=t.data;if(e&&void 0!==e.isin){var i=$(".stock-"+e.isin);"USD"===e.currency&&(e.currency="$"),"IDX"===e.currency&&(e.currency="EUR"),"8"===e.currency&&(e.currency="Â¥"),"XXP"===e.currency&&(e.currency="â¬");var o="";o=e.currency?e.currency+" "+e.currentPrice.toLocaleString():"⬠"+e.currentPrice.toLocaleString(),i.find(".stock-price").html(o),e.dailyPerformance>=0?(i.find(".stock-movement").addClass("is-up").removeClass("is-down"),i.find(".stock-movement").html("+"+e.dailyPerformance.toFixed(2)+"%")):(i.find(".stock-movement").addClass("is-down").removeClass("is-up"),i.find(".stock-movement").html(e.dailyPerformance.toFixed(2)+"%"))}})}),h()}function h(){var t=0,e=0;s.find(".slick-list").css("height",""),s.find(".slick-track").css("height",""),o.css("height",""),o.each(function(){$(this).outerHeight()>t&&(t=$(this).outerHeight()),$(this).find(".card-body").outerHeight()>e&&(e=$(this).find(".card-body").outerHeight())}),o.css("height",t),o.find(".card-body").css("height",e),s.css("height",t),s.find(".slick-list").css("height",t),s.find(".slick-track").css("height",t)}l(),h(),$(window).on("resize",function(){h()})})},4101(){$(".block-news-large").length&&$(".block-news-large").each(function(){if($(this).hasClass("has-more-posts")){var t=$(this).find(".news-large-has-more-posts"),e=t.find("button"),i=8,o=$(this).find(".news-item"),n=o.length;e.on("click",function(){if(i+=8,o.each(function(t,e){t+1<=i?$(this).removeClass("d-none"):$(this).addClass("d-none")}),i>=n)t.addClass("d-none");else if(n-i>=8)e.html("Show 8 More");else{var r=n-i;e.html("Show "+r+" More")}})}})},4215(){var t=200;function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;return Math.floor(Math.random()*t)+1}function i(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}"undefined"!=typeof total&&(t=total),window.onload=function(){},$("#snow").length>0&&(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;t-=1;for(var e=0;e<t;e++){var i=document.createElement("div");i.className="snowflake",document.getElementById("snow").appendChild(i)}}(t),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200,o="";"undefined"!=typeof base_css&&(o=base_css);for(var n=1;n<t;n++){var r=100*Math.random(),s=1e-4*i(-1e5,1e5),a=r+s,l=r+s/2,h=i(3e4,8e4)/1e5,c=100*h,d=Math.random(),p=1*i(10,30),u=-1*e(30),f=Math.random();o+="\n .".concat("snowflake",":nth-child(").concat(n,") {\n opacity: ").concat(f,";\n transform: translate(").concat(r,"vw, -10px) scale(").concat(d,");\n animation: fall-").concat(n," ").concat(p,"s ").concat(u,"s linear infinite;\n }\n\n @keyframes fall-").concat(n," {\n ").concat(100*h,"% {\n transform: translate(").concat(a,"vw, ").concat(c,"vh) scale(").concat(d,");\n }\n\n to {\n transform: translate(").concat(l,"vw, 100vh) scale(").concat(d,");\n }\n \n }\n ")}!function(t){var e=document.createElement("style");e.type="text/css",e.appendChild(document.createTextNode(t)),document.getElementsByTagName("head")[0].appendChild(e)}(o)}(t))},1691(){$(".three-column-info-grid").each(function(){if($(this).hasClass("has-more-button")){var t=6,e=$(this).find(".three-column-info-grid-more-button"),i=$(this).find(".three-column-info-grid-item"),o=i.length;e.on("click",function(){if(console.log("here"),t+=6,i.each(function(e,i){e+1<=t?$(this).removeClass("d-none"):$(this).addClass("d-none")}),t<o){var n=0;n=o-t>6?6:o-t,e.html("Show "+n+" More")}else e.addClass("d-none")})}})},2066(t,e,i){function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==o(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var r=i(4783);function s(){$("body :not(script)").contents().filter(function(){return 3===this.nodeType}).replaceWith(function(){return this.nodeValue.replace(/[â¢Â®Â©]/g,"<sup>$&</sup>")}),$("#export-pdf-factsheet-button").on("click",function(){var t=$("#export-pdf-factsheet-button");t.prop("disabled",!0),t.addClass("exporting"),document.getElementById("export-pdf").click();setTimeout(function(){t.removeClass("exporting"),t.prop("disabled",!1)},2e4)}),$("#export-pdf-components-button").on("click",function(){var t=$("#export-pdf-components-button");t.prop("disabled",!0),t.addClass("exporting"),document.getElementById("export-pdf").click();setTimeout(function(){t.removeClass("exporting"),t.prop("disabled",!1)},6e4)}),$("#date-selection").change(function(){var t=$(this).val(),e=window.location.href;if(void 0===$(this).find("option:selected").data("is-pdf")){var i,o,n,r;if(e.includes("d=")){var s=new URLSearchParams(window.location.search).get("d");if(""==t)var a=e.replace("&d="+s,"");else a=e.replace("d="+s,"d="+t)}else a=e+"&d="+t;window.location.href=a}else{var l=(i=["January","February","March","April","May","June","July","August","September","October","November","December"],o=t.split("-"),n=o[0],r=i[parseInt(o[1])-1],"https://www.stoxx.com/document/Indices/Factsheets/"+n+"/"+r+"/SX5E.pdf");window.open(l,"_blank")}})}i(8364)(r),$(function(){var t;$("#supersector-weighting-chart").length&&r.chart("supersector-weighting-chart",{data:{table:"supersector-weighting-data"},chart:{type:"column",inverted:!0,backgroundColor:"#FAFAF2"},tooltip:{enabled:!1},xAxis:{opposite:!0,labels:{x:-25,style:{fontSize:"12px",lineHeight:"12px",fontFamily:"'Outfit', sans-serif",textTransform:"none",textOverflow:"none",color:"#000000"},step:1,formatter:function(){return this.chart.series[0].processedYData[this.pos]+"% "+this.value}},minPadding:0,maxPadding:0},yAxis:{title:{enabled:!1},labels:{enabled:!1}},legend:{enabled:!1},plotOptions:{series:{color:"#3482C2",groupPadding:0,pointPadding:.1,borderWidth:0,pointWidth:10,enableMouseTracking:!1}}}),$("#country-weighting-chart").length&&r.chart("country-weighting-chart",{data:{table:"country-weighting-data"},chart:{type:"bar"},tooltip:{enabled:!1},xAxis:{opposite:!0,maxPadding:0,x:-50,labels:{style:{fontSize:"12px",lineHeight:"12px",fontFamily:"'Outfit', sans-serif",textTransform:"none",textOverflow:"none",color:"#000000"},step:1,formatter:function(){return this.chart.series[0].processedYData[this.pos]+"% "+this.value}}},yAxis:{title:{enabled:!1},labels:{enabled:!1}},legend:{enabled:!1},plotOptions:{series:{color:"#9ED9AC",groupPadding:0,pointPadding:.1,borderWidth:0,pointWidth:10,enableMouseTracking:!1}}}),$("#performance-data").length&&(console.log("loading performance chart"),r.chart("performance-chart",n(n(n({data:{table:"performance-data"},chart:{type:"line"},xAxis:{type:"datetime"},yAxis:{title:{enabled:!1},maxPadding:.1},title:{},scrollbar:{enabled:!1},navigator:{enabled:!1},plotOptions:{panning:!1,series:{color:"#0071B9"}}},"plotOptions",{series:{marker:{symbol:"circle",radius:8,enabled:!1}}}),"legend",{symbol:"circle",symbolHeight:12,symbolWidth:12,symbolRadius:8,itemStyle:{fontSize:"12px",lineHeight:"12px",fontFamily:"'Outfit', sans-serif",textTransform:"none",textOverflow:"none",color:"#000000"}}),"series",[{name:"Euro Stoxx 50 Index",color:"#0071B9",tooltip:{valueDecimals:2}}]))),$("#annual-returns-data").length&&(t=null!==document.querySelector(".bm-return-data"),r.chart("annual-returns-chart",{data:{table:"annual-returns-data"},chart:{type:"column"},tooltip:{enabled:!1},yAxis:{title:{enabled:!1}},legend:{symbolRadius:0,symbolHeight:10,itemStyle:{fontSize:"12px",lineHeight:"12px",fontFamily:"'Outfit', sans-serif",textTransform:"none",textOverflow:"none",color:"#000000"}},plotOptions:{series:{enableMouseTracking:!1}},series:[{color:"#3482C2"},{color:"#9ED9AC",showInLegend:t}]})),$(".index-factsheet").length&&s(),$(document).ready(function(){$("#export-pdf-components-button").prop("disabled",!1)})})},1466(){var t=!1,e=0;$(document).ready(function(){console.log("Document is ready, checking for HubSpot forms...");var i=setInterval(function(){if(console.log("Checking if HubSpot is loaded..."),e++,t||e>15)clearInterval(i);else{if("undefined"==typeof hbspt||!hbspt||!hbspt.forms||"function"!=typeof hbspt.forms.create)return void console.log("HubSpot script is not loaded yet.");console.log("HubSpot script is loaded."),t=!0,console.log("Loading HubSpot forms..."),console.log(window.hubspot_forms),window.hubspot_forms&&window.hubspot_forms.length&&window.hubspot_forms.forEac
2h(function(t){t&&t.formId&&hbspt.forms.create({region:t.region||"na1",portalId:t.portalId,formId:t.formId,target:t.target||"#hubspot-form-"+t.formId})})}},200)})},7646(t,e,i){function o(){var t,e,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",s=i.toStringTag||"@@toStringTag";function a(i,o,r,s){var a=o&&o.prototype instanceof h?o:h,c=Object.create(a.prototype);return n(c,"_invoke",function(i,o,n){var r,s,a,h=0,c=n||[],d=!1,p={p:0,n:0,v:t,a:u,f:u.bind(t,4),d:function(e,i){return r=e,s=0,a=t,p.n=i,l}};function u(i,o){for(s=i,a=o,e=0;!d&&h&&!n&&e<c.length;e++){var n,r=c[e],u=p.p,f=r[2];i>3?(n=f===o)&&(a=r[(s=r[4])?5:(s=3,3)],r[4]=r[5]=t):r[0]<=u&&((n=i<2&&u<r[1])?(s=0,p.v=o,p.n=r[1]):u<f&&(n=i<3||r[0]>o||o>f)&&(r[4]=i,r[5]=o,p.n=f,s=0))}if(n||i>1)return l;throw d=!0,o}return function(n,c,f){if(h>1)throw TypeError("Generator is already running");for(d&&1===c&&u(c,f),s=c,a=f;(e=s<2?t:a)||!d;){r||(s?s<3?(s>1&&(p.n=-1),u(s,a)):p.n=a:p.v=a);try{if(h=2,r){if(s||(n="next"),e=r[n]){if(!(e=e.call(r,a)))throw TypeError("iterator result is not an object");if(!e.done)return e;a=e.value,s<2&&(s=0)}else 1===s&&(e=r.return)&&e.call(r),s<2&&(a=TypeError("The iterator does not provide a '"+n+"' method"),s=1);r=t}else if((e=(d=p.n<0)?a:i.call(o,p))!==l)break}catch(e){r=t,s=1,a=e}finally{h=1}}return{value:e,done:d}}}(i,r,s),!0),c}var l={};function h(){}function c(){}function d(){}e=Object.getPrototypeOf;var p=[][r]?e(e([][r]())):(n(e={},r,function(){return this}),e),u=d.prototype=h.prototype=Object.create(p);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,n(t,s,"GeneratorFunction")),t.prototype=Object.create(u),t}return c.prototype=d,n(u,"constructor",d),n(d,"constructor",c),c.displayName="GeneratorFunction",n(d,s,"GeneratorFunction"),n(u),n(u,s,"Generator"),n(u,r,function(){return this}),n(u,"toString",function(){return"[object Generator]"}),(o=function(){return{w:a,m:f}})()}function n(t,e,i,o){var r=Object.defineProperty;try{r({},"",{})}catch(t){r=0}n=function(t,e,i,o){function s(e,i){n(t,e,function(t){return this._invoke(e,i,t)})}e?r?r(t,e,{value:i,enumerable:!o,configurable:!o,writable:!o}):t[e]=i:(s("next",0),s("throw",1),s("return",2))},n(t,e,i,o)}function r(t,e,i,o,n,r,s){try{var a=t[r](s),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(o,n)}function s(t){return function(){var e=this,i=arguments;return new Promise(function(o,n){var s=t.apply(e,i);function a(t){r(s,o,n,a,l,"next",t)}function l(t){r(s,o,n,a,l,"throw",t)}a(void 0)})}}var a=i(4783),l=i(3222);i(4783).chart;i(664)(a),a.theme={rangeSelector:{buttons:[{type:"day",count:1,text:"1d"},{type:"day",count:5,text:"5d"},{type:"week",count:1,text:"1w"},{type:"week",count:2,text:"2w"},{type:"month",count:1,text:"1m"},{type:"month",count:3,text:"3m"},{type:"month",count:6,text:"6m"},{type:"ytd",text:"YTD"},{type:"year",count:1,text:"1y"},{type:"year",count:3,text:"3y"},{type:"year",count:5,text:"5y"},{type:"year",count:10,text:"10y"},{type:"all",text:"All"}]},series:{color:"#0071B9"},title:{style:{color:"#000",font:'bold 26px "Outfit", sans-serif'}},subtitle:{style:{color:"#666666",font:'bold 12px "Outfit", sans-serif'}},legend:{itemStyle:{font:"9pt Outfit, sans-serif",color:"black"},itemHoverStyle:{color:"gray"}}};var h=$("#chart-min-indicator"),c=$("#chart-max-indicator"),d=$(".zoom-options li"),p=0;function u(t){t.target.chart}function f(t){var e=window.chart_data;0===t&&window.chart_data_one_day&&(e=window.chart_data_one_day),1!==t&&2!==t||!window.chart_data_two_week||(e=window.chart_data_one_day.length?window.chart_data:window.chart_data_two_week),e.length<1&&(e=window.chart_data),!$("#chart-container").length&&e&&e.length,$("#chart-container").length&&$("#chart-container").hasClass("d-none")&&e&&e.length&&$("#chart-container").removeClass("d-none"),a.setOptions(a.theme),a.stockChart("chart-container",{chart:{events:{load:function(t){g(t)},redraw:function(t){g(t)}},styledMode:!0,panning:!1},xAxis:{events:{afterSetExtremes:u}},rangeSelector:{selected:t,inputEnabled:!1},title:{text:window.chart_name},scrollbar:{enabled:!1},navigator:{enabled:!1},plotOptions:{panning:!1,series:{color:"#0071B9"}},series:[{name:window.chart_name,data:e,color:"#0071B9",tooltip:{valueDecimals:2}}]})}function g(t){var e=t.target.yAxis[0].max,i=t.target.yAxis[0].min,o=t.target.series[0].dataMax,n=t.target.series[0].dataMin,r=e-i;h.css("top",100*(1-(n-i)/r)+"%"),c.css("top",100*(1-(o-i)/r)+"%"),h.find(".value").text(t.target.series[0].dataMin),c.find(".value").text(t.target.series[0].dataMax)}if(d.on("click",function(){var t=$(this).data("zoom");p=t,f(t),$(this).addClass("selected"),$(this).siblings().removeClass("selected")}),window.chart_data_one_day)try{var m=window.chart_view?v(window.chart_view):0;window.chart_view&&(m=p=v(window.chart_view)),console.log(window.chart_data_one_day),f(m)}catch(t){console.log(t)}function v(t){switch(t.toLowerCase()){case"1d":return 0;case"5d":return 1;case"1w":return 2;case"2w":return 3;case"1m":return 4;case"3m":return 5;case"6m":return 6;case"ytd":return 7;case"1y":return 8;case"3y":return 9;
2case"5y":return 10;case"10y":return 11;case"all":return 12}return 0}if(window.is_index_detail&&window.index_id){var y=function(){0!=$(".index-details-chart").length&&(x(),$.post("/wp-admin/admin-ajax.php",{action:"index_detail_refresh",index_id:window.index_id,isin:window.index_isin},function(t){var e=t.data;if(e.current_price=parseFloat(e.current_price),e.current_price&&(void 0!==e.visible_decimal_places&&null!==e.visible_decimal_places?E.text(e.current_price.toLocaleString("en-US",{minimumFractionDigits:e.visible_decimal_places,maximumFractionDigits:e.visible_decimal_places})):E.text(e.current_price.toLocaleString("en-US"))),e.daily_change&&(e.daily_change=parseFloat(e.daily_change),e.daily_performance=parseFloat(e.daily_performance),void 0!==e.visible_decimal_places&&null!==e.visible_decimal_places?(e.daily_change=e.daily_change.toFixed(e.visible_decimal_places),e.daily_performance=e.daily_performance.toFixed(e.visible_decimal_places)):(e.daily_change=e.daily_change.toFixed(2),e.daily_performance=e.daily_performance.toFixed(2)),e.daily_change>0?(_.text("+"+e.daily_change.toLocaleString("en-US")),D.addClass("color-green").removeClass("color-red"),L.addClass("icon-gain").removeClass("icon-loss"),j.text("+"+e.daily_performance.toLocaleString("en-US"))):(_.text(e.daily_change.toLocaleString("en-US")),D.removeClass("color-green").addClass("color-red"),L.removeClass("icon-gain").addClass("icon-loss"),j.text(e.daily_performance.toLocaleString("en-US")))),e.daily_change_timestamp&&I.text(e.daily_change_timestamp),e.week_performance&&B.text(parseFloat(e.week_performance).toLocaleString("en-US")+"%"),e.year_performance&&R.text(parseFloat(e.year_performance).toLocaleString("en-US")+"%"),e.ytd_performance&&N.text(parseFloat(e.ytd_performance).toLocaleString("en-US")+"%"),e.year_high_date&&U.length,e.daily_low_price&&z.text(e.daily_low_price),e.daily_high_price&&H.text(e.daily_high_price),e.year_low&&W.text(e.year_low),e.year_low_date&&F.text(e.year_low_date),e.year_high&&G.text(e.year_high),e.year_high_date&&U.text(e.year_high_date),e.chart_data){window.chart_data=e.chart_data,window.chart_data_one_day=e.chart_data_one_day?e.chart_data_one_day:e.chart_data,window.chart_data_two_week=e.chart_data_two_week?e.chart_data_two_week:e.chart_data;try{f(p)}catch(t){console.log(t)}}}),setTimeout(function(){b()},1e3))},x=function(){A.removeClass("hidden")},b=function(){A.addClass("hidden")},w=function(){M.removeClass("showing")},k=function(){C=0,S=40,T=!0},S=10,C=0,T=!0,A=$(".index-details .loading-indicator"),M=$("#continue-index-detail"),O=M.find(".index-refresh-continue"),P=M.find(".index-refresh-cancel"),E=$(".data-current-price"),L=$(".data-current-price-status"),D=$(".data-daily-change-container"),_=$(".data-daily-change"),j=$(".data-daily-change-percent"),I=$(".daily-data-change-timestamp"),B=$(".data-week-performance"),R=$(".data-year-performance"),N=$(".data-ytd-performance"),z=$(".data-daily-low"),H=$(".data-daily-high"),W=$(".data-year-low"),F=$(".data-year-low-date"),G=$(".data-year-high"),U=$(".data-year-high-date");setInterval(function(){T&&(y(),++C>=S&&(T=!1,M.addClass("showing")))},6e4),y(),O.on("click",function(){w(),k()}),P.on("click",function(){w()})}var X=!1;function Y(){return V.apply(this,arguments)}function V(){return V=s(o().m(function t(){var e,i;return o().w(function(t){for(;;)switch(t.n){case 0:if(!X){t.n=1;break}return t.a(2);case 1:X=!0,e=[],i=0,$(".index-item").each(function(){void 0===e[i]&&(e[i]=[]),e[i].length<5||(i++,e[i]=[]),e[i].push($(this).data("index-id"))}),$(e).each(function(){var t=s(o().m(function t(e,i){var n,r,s;return o().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,(n=new FormData).append("action","indices_visible_refresh"),n.append("indices",i),t.n=1,l.post("/wp-admin/admin-ajax.php",n);case 1:(r=t.v).data&&r.data.data&&$(r.data.data).each(function(t,e){var i=$(".index-item-"+e.id);void 0!==e.visible_decimal_places&&null!==e.visible_decimal_places?i.find(".item-data-current-price").text(Number(e.current_price).toLocaleString("en-US",{minimumFractionDigits:e.visible_decimal_places,maximumFractionDigits:e.visible_decimal_places})):i.find(".item-data-current-price").text(Number(e.current_price).toLocaleStr
2ing("en-US")),e.daily_change&&e.daily_change>0?(i.find(".item-data-current-price-change-direction").addClass("is-up").removeClass("is-down"),i.find(".item-data-daily-change").text("+"+Number(e.daily_change).toLocaleString("en-US"))):(i.find(".item-data-current-price-change-direction").removeClass("is-up").addClass("is-down"),i.find(".item-data-daily-change").text(Number(e.daily_change).toLocaleString("en-US")));var o=i.find(".data-year-return-display"),n=i.find(".data-year-volatility-display");e.year_performance?(o.find(".stat-value").text(Number(e.year_performance).toLocaleString("en-US")+"%"),o.find(".stat-difference-indicator").data("value",Number(e.year_performance).toLocaleString("en-US"))):(o.find(".stat-value").html("—"),o.find(".stat-difference-indicator").data("value","")),e.year_volatility?(n.find(".stat-value").text(Number(e.year_volatility).toLocaleString("en-US")+"%"),n.find(".stat-difference-indicator").data("value",Number(e.year_volatility).toLocaleString("en-US"))):(n.find(".stat-value").html("—"),n.find(".stat-difference-indicator").data("value",""))}),t.n=3;break;case 2:t.p=2,s=t.v,console.error(s);case 3:return t.p=3,t.f(3);case 4:return t.a(2)}},t,null,[[0,2,3,4]])}));return function(e,i){return t.apply(this,arguments)}}()),X=!1,q();case 2:return t.a(2)}},t)})),V.apply(this,arguments)}function q(){var t=[],e=[],i=0,o=999999,n=-999999,r=0;$(".stat-difference-indicator").each(function(){var s=parseFloat($(this).data("value"));1===Math.sign(s)?(t.push(s),s>i&&(i=s),s<o&&(o=s)):(e.push(s),s>n&&(n=s),s<r&&(r=s))});var s=i,a=0-r;$(".stat-difference-indicator").each(function(){var t=parseFloat($(this).data("value"));if(1===Math.sign(t)){var e=t/s;$(this).css("background",K(e))}else{var i=(0-t)/a;$(this).css("background",K(0-i))}})}function K(t){if(t=Math.round(10*t),-1!==Math.sign(t))switch(t){case 1:return"#cecece";case 2:case 3:case 4:return"#c9dcb2";case 5:case 6:return"#9bc47b";case 7:case 8:return"#a6db72";case 9:case 10:return"#80c242"}else switch(t){case-1:return"#cecece";case-2:case-3:case-4:return"#db93a9";case-5:case-6:return"#d06789";case-7:case-8:return"#c94d74";case-9:case-10:return"#c73060"}return"#cecece"}if($(".featured-indices").length&&Y().then(function(t){}),setInterval(function(){Y().then(function(t){})},6e4),$(".dropdown-custom").each(function(){var t=$(this).find("button"),e=$(this).find(".dropdown-menu-custom");t.on("click",function(t){t.stopPropagation(),$(this).hasClass("open")?(e.slideUp(),$(this).removeClass("open")):(e.slideDown(),$(".dropdown-menu-custom").not(e).slideUp(),$(this).addClass("open"))}),e.on("click",function(t){t.stopPropagation()})}),$(document).on("click",function(t){$(".dropdown-menu-custom").slideUp(),$(".dropdown-custom button").removeClass("open")}),q(),$(".indices-search-container").length){var Z=function(){Q(),$.post("/wp-admin/admin-ajax.php",{action:"indices_search",classification:at,region:ct,type:ut,query:mt,page:vt,selected_indices:ft,show_only_selected_indices:gt},function(t){var e=t.data;void 0!==e.results_html&&bt.html(e.results_html),void 0!==e.total_pages&&(yt=e.total_pages),void 0!==e.total_results&&(xt=e.total_results),e.taxonomy_returns,e.has_results?(tt(),Mt&&$("body, html").animate({scrollTop:$(".indices-search-container").offset().top},500),Mt=!0,q(),Y().then(function(t){})):et(),it(),J()})},Q=function(){wt.addClass("is-loading")},J=function(){wt.removeClass("is-loading")},tt=function(){At.addClass("d-none"),bt.removeClass("d-none")},et=function(){At.removeClass("d-none"),bt.addClass("d-none")},it=function(){if(yt>1?St.removeClass("d-none"):St.addClass("d-none"),xt){var t=20*(vt-1)+1,e=vt<yt?t+19:xt;kt.text("Showing "+t+"-"+e+" of "+xt),Ct.toggleClass("disabled",1===vt),Tt.toggleClass("disabled",vt===yt)}else kt.text("No Results")},ot=$("#indicesSearchForm"),nt=$("#indicesSearchInput"),rt=$("#dropdownClassification"),st=$("#dropdownClassificationMenu a"),at="",lt=$("#dropdownRegion"),ht=$("#dropdownRegionMenu a"),ct="",dt=$("#dropdownType"),pt=$("#dropdownTypeMenu a"),ut=null,ft=[],gt=!1,mt="",vt=1,yt=0,xt=0,bt=$(".indices-search-results"),wt=$(".indices-search-count"),kt=$(".indices-search-count .display-is-not-loading"),St=$(".results-pagination"),Ct=$(".results-pagination .pagination-index-prev"),Tt=$(".results-pagination .pagination-index-next"),At=$(".indices-search-results-empty"),Mt=!1;
2window.selected_region_filter&&(ct=window.selected_region_filter),window.selected_type_filter&&(ut=window.selected_type_filter),window.selected_classification_filter&&(at=window.selected_classification_filter),window.current_query&&(mt=window.current_query),window.selected_indices&&(ft=window.selected_indices),window.show_only_selected_indices&&(gt=window.show_only_selected_indices),window.current_query&&setTimeout(function(){$("body, html").animate({scrollTop:$(".indices-search-container").offset().top},500)},1e3),Z(),ot.on("submit",function(t){t.preventDefault(),Z()}),nt.on("keyup",function(){Ot("query",mt=$(this).val())}),st.on("click",function(t){t.preventDefault(),st.not($(this)).removeClass("selected"),(at=$(this).data("classification")).length?(rt.text(at),Ot("selected_classification",at)):(rt.text("Select a Category"),Ot("selected_classification",""),$(this).addClass("selected")),Z()}),ht.on("click",function(t){t.preventDefault(),ht.not($(this)).removeClass("selected"),(ct=$(this).data("region")).length?(lt.text(ct),Ot("selected_region",ct)):(lt.text("All Regions"),Ot("selected_region",""),$(this).addClass("selected")),Z()}),pt.on("click",function(t){t.preventDefault(),pt.not($(this)).removeClass("selected"),(ut=$(this).data("type")).length?(dt.text(ut),Ot("selected_type",ut)):(dt.text("Select a Type"),Ot("selected_type",""),$(this).addClass("selected")),Z()}),Ct.on("click",function(){vt>1&&(vt-=1,Z())}),Tt.on("click",function(){vt<yt&&(vt+=1,Z())})}function Ot(t,e){var i="";i=function(t){for(var e=window.location.search.substring(1).split("&"),i=0;i<e.length;i++){var o=e[i].split("=");if(o[0]==t)return o[1]}return!1}(t)?function(t,e,i){var o=null,n="",r=t.split("?"),s=r[0],a=r[1],l="";if(a){var h=a.split("#"),c=h[0];(o=h[1])&&(a=c),r=a.split("&");for(var d=0;d<r.length;d++)r[d].split("=")[0]!=e&&(n+=l+r[d],l="&")}else{var p=s.split("#"),u=p[0];o=p[1],u&&(s=u)}o&&(i+="#"+o);var f=l+""+e+"="+encodeURIComponent(i);return s+"?"+n+f}(window.location.href,t,e):function(t,e,i){e=encodeURIComponent(e);var o="([&?]|&)"+e+"\\b(?:=(?:[^&#]*))*",n=document.createElement("a"),r=new RegExp(o),s=e+(i?"="+encodeURIComponent(i):"");n.href=t;var a=n.search.replace(r,"$1"+s);a===n.search?n.search+=(n.search?"&":"")+s:n.search=a;return n.href}(window.location.href,t,e),i=function(t){for(var e=t.split("?")[1].split("&"),i=0;i<e.length;i++)if(Pt(e[i],"=")){var o=e[i].split("=");""===o[1]?t=(t=(t=(t=t.replace("?"+o[0]+"=","?",t)).replace("?"+o[0],"?",t)).replace("&"+o[0]+"=","",t)).replace("&"+o[0],"",t):"unselected"===o[1]&&(t=t.replace("?"+o[0]+"=unselected","",t))}else t=(t=(t=t.replace("?"+e[i],"?",t)).replace("&"+e[i],"",t)).replace(e[i],"",t);return t=t.replace("?&","?",t)}(i),window.history.replaceState&&window.history.replaceState(null,null,i)}function Pt(t,e){return t.indexOf(e)>=0}$(document).on("click",".index-info",function(){var t=$(this).parent().find(".index-info-tooltip");$(".index-info-tooltip").not(t).addClass("hiding"),setTimeout(function(){$(".index-info-tooltip").not(t).addClass("hidden")},310),t.removeClass("hidden"),setTimeout(function(){t.removeClass("hiding")},10)}),$(document).on("click",".close-index-info",function(){var t=$(this).parent(".index-info-tooltip");t.addClass("hiding"),setTimeout(function(){t.addClass("hidden")},310)}),$(".index-factsheet.export").length&&$(window).on("load",function(){var t,e,i,o,n;t=1587,e=3174,i=4761,o=6348,(n=$("#site-main").outerHeight())<t?$("#site-main").height(t):n<e?$("#site-main").height(e):n<i?$("#site-main").height(i):n<o&&$("#site-main").height(o)})},5803(){!function(t){t(document).on("click",".dropdown-menu-full",function(t){t.stopPropagation()}),t(".list-toggle").on("click",function(e){e.stopPropagation(),$this=t(this),$parent=t(this).parent(".list-item"),$this.hasClass("is-open")?(t(".secondary-nav .list-toggle").not(t(this)).removeClass("is-open"),t(".secondary-nav .list-item").not($parent).find(".dropdown-submenu").removeClass("is-open"),$this.removeClass("is-open"),$this.closest(".list-item").find(".dropdown-submenu").removeClass("is-open")):(t(".secondary-nav .list-toggle").not(t(this)).removeClass("is-open"),t(".secondary-nav .list-item").not($parent).find(".dropdown-submenu").removeClass("is-open"),$this.addClass("is-open"),$this.closest(".list-item").find(".dropdown-submenu").addClass("is-open"))}),t(".dropdown-link-secondary").on("click",function(e){e.stopPropagation(),t(this).parent().toggleClass("is-open-submenu-two"),t(this).parent().find(".dropdown-submenu-two").slideToggle()}),t(".navbar-toggle").on("click",function(){t("body").addClass("no-scroll")}),t("#navbarClose").on("click",function(){t("#primaryNav").removeClass("show"),t("body").removeClass("no-scroll")}),t(".js-back-btn").on("click",function(){t(this).closest(".dropdown-menu").removeClass("show")})}(jQuery)}
2,9918(){!function(t){var e=t("#navbarSearchToggle"),i=t("#navbarSearchDesktop"),o=i.find('input[type="search"]'),n=i.find(".search-options"),r=n.find("a");e.on("click",function(){$this=t(this),setTimeout(function(){t("#navbarSearchDesktop .form-control").focus()},350),$this.hasClass("is-active")?($this.removeClass("is-active"),i.addClass("is-visible"),n.slideUp()):($this.addClass("is-active"),i.removeClass("is-visible"))}),i.on("submit",function(t){t.preventDefault(),n.slideDown()}),r.on("click",function(){var e=t(this).data("search");window.location.href="index"===e?"/all-indices-by-qontigo/?query="+o.val():"/?s="+o.val()}),t(document).mouseup(function(t){i.is(t.target)||0!==i.has(t.target).length||i.hasClass("is-visible")&&(e.addClass("is-active"),i.removeClass("is-visible"))})}(jQuery)},902(){!function(t){t(".js-scroll").click(function(e){e.preventDefault(),t("html, body").animate({scrollTop:t(t(this).attr("href")).offset().top},500)})}(jQuery)},111(t,e,i){var o=i(7139);if($("#site-alert").length){var n=$("#site-alert"),r=n.data("alert-version"),s=n.find(".close-btn");o.get("site-alert-hidden-"+r)||n.fadeIn(),s.on("click",function(){n.fadeOut(),o.set("site-alert-hidden-"+r)})}},2885(){!function(t){t(".slider-news").slick({accessibility:!1,appendArrows:"#arrowsNews",arrows:!0,infinite:!1,slidesToShow:3,responsive:[{breakpoint:1500,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1}}]}),t(".slider-events").slick({accessibility:!1,appendArrows:"#arrowsEvents",arrows:!0,infinite:!1,slidesToShow:2,responsive:[{breakpoint:1200,settings:{slidesToShow:1,slidesToScroll:1}}]}),t(".grid-slider").slick({accessibility:!1,appendArrows:"#arrowsGridSlider",arrows:!0,infinite:!1,slide:".slider-item",slidesToShow:3,responsive:[{breakpoint:1200,settings:{slidesToShow:2}},{breakpoint:576,settings:{slidesToShow:1}}]}),t(".media-text-slider").slick({accessibility:!1,appendArrows:"#arrows-media-text-slider",arrows:!0,infinite:!1,slide:".slider-item",slidesToShow:1}),t(".slider-timeline").slick({accessibility:!1,appendArrows:"#arrowsTimelineSlider",arrows:!0,infinite:!1,slide:".timeline-item",slidesToShow:1,mobileFirst:!0,responsive:[{breakpoint:991,settings:"unslick"},{breakpoint:768,settings:{slidesToShow:2}},{breakpoint:576,settings:{slidesToShow:1}}]}),t(".testimonials-slider").slick({accessibility:!1,appendArrows:"#arrowsTestimonials",arrows:!0,infinite:!1,slide:".testimonial-item",slidesToShow:1,fade:!0,adaptiveHeight:!0}),t(".gallery-slider").each(function(){t(this).slick({accessibility:!1,appendArrows:"#arrowsGallerySlider"+t(this).data("unique-id"),arrows:!0,infinite:!0,slide:".gallery-slide-item",slidesToShow:1,fade:!0,adaptiveHeight:!0})}),t(".gallery-modal").on("shown.bs.modal",function(){t(window).resize()})}(jQuery)},7448(){!function(t){t(".timeline-item").first().addClass("slick-active"),t(".timeline-item").waypoint(function(){t(".timeline-item").removeClass("slick-active"),t(this.element).addClass("slick-active")}),t("#arrowsTimelineNext").on("click",function(){t("html,body").animate({scrollTop:t(".timeline-item.slick-active").next().offset().top+10},500)}),t("#arrowsTimelinePrev").on("click",function(){t("html,body").animate({scrollTop:t(".timeline-item.slick-active").prev().offset().top},500)}),t("#timelineBlock").waypoint(function(e){"down"===e?t(this.element).addClass("in-view"):t(this.element).removeClass("in-view")});t("#timelineBlock").waypoint(function(e){"down"===e?(t("#timelineBlock").removeClass("in-view"),t("#timelineBlock").addClass("is-exited")):(t("#timelineBlock").addClass("in-view"),t("#timelineBlock").removeClass("is-exited"))},{offset:"bottom-in-view"}),window.onscroll=function(){setTimeout(function(){t(".timeline-item:first-child").hasClass("slick-active")?t("#arrowsTimeline .slick-prev").addClass("slick-disabled"):t("#arrowsTimeline .slick-prev").removeClass("slick-disabled"),t(".timeline-item:last-child").hasClass("slick-active")?(t("#arrowsTimeline .slick-next").addClass("slick-disabled"),t("#timelineBlock").addClass("slider-bottom"),t(this).closest(".slider").addClass("slider-end")):(t("#arrowsTimeline .slick-next").removeClass("slick-disabled"),t("#timelineBlock").removeClass("slider-bottom"),t(this).closest(".slider").removeClass("slider-end"))},350)},t("#arrowsTimelineSlider .slick-arrow").on("click",function(){t(".timeline-item:last-child").hasClass("slick-active")?t("#timelineBlock").addClass("is-exited"):t("#timelineBlock").removeClass("is-exited")})}(jQuery)}
2,6971(t,e,i){"use strict";i.r(e),i.d(e,{default:()=>P});var o=i(1669),n=i.n(o),r=i(8456),s=i.n(r);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,o)}return i}function h(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach(function(e){c(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function c(t,e,i){return(e=p(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function d(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,p(o.key),o)}}function p(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var u="collapse",f="bs.collapse",g=".".concat(f),m=n().fn[u],v={toggle:!0,parent:""},y={toggle:"boolean",parent:"(string|element)"},x={SHOW:"show".concat(g),SHOWN:"shown".concat(g),HIDE:"hide".concat(g),HIDDEN:"hidden".concat(g),CLICK_DATA_API:"click".concat(g).concat(".data-api")},b="show",w="collapse",k="collapsing",S="collapsed",C="width",T="height",A=".show, .collapsing",M='[data-toggle="collapse"]',O=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(i),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'.concat(e.id,'"],')+'[data-toggle="collapse"][data-target="#'.concat(e.id,'"]')));for(var o=[].slice.call(document.querySelectorAll(M)),n=0,r=o.length;n<r;n++){var a=o[n],l=s().getSelectorFromElement(a),h=[].slice.call(document.querySelectorAll(l)).filter(function(t){return t===e});null!==l&&h.length>0&&(this._selector=l,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return e=t,o=[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return v}},{key:"_getTargetFromElement",value:function(t){var e=s().getSelectorFromElement(t);return e?document.querySelector(e):null}},{key:"_jQueryInterface",value:function(e){return this.each(function(){var i=n()(this),o=i.data(f),r=h(h(h({},v),i.data()),"object"===a(e)&&e?e:{});if(!o&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),o||(o=new t(this,r),i.data(f,o)),"string"==typeof e){if(void 0===o[e])throw new TypeError('No method named "'.concat(e,'"'));o[e]()}})}}],(i=[{key:"toggle",value:function(){n()(this._element).hasClass(b)?this.hide():this.show()}},{key:"show",value:function(){var e,i,o=this;if(!(this._isTransitioning||n()(this._element).hasClass(b)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(A)).filter(function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains(w)})).length&&(e=null),e&&(i=n()(e).not(this._selector).data(f))&&i._isTransitioning))){var r=n().Event(x.SHOW);if(n()(this._element).trigger(r),!r.isDefaultPrevented()){e&&(t._jQueryInterface.call(n()(e).not(this._selector),"hide"),i||n()(e).data(f,null));var a=this._getDimension();n()(this._element).removeClass(w).addClass(k),this._element.style[a]=0,this._triggerArray.length&&n()(this._triggerArray).removeClass(S).attr("aria-expanded",!0),this.setTransitioning(!0);var l=a[0].toUpperCase()+a.slice(1),h="scroll".concat(l),c=s().getTransitionDurationFromElement(this._element);n()(this._element).one(s().TRANSITION_END,function(){n()(o._element).removeClass(k).addClass(w).addClass(b),o._element.style[a]="",o.setTransitioning(!1),n()(o._element).trigger(x.SHOWN)}).emulateTransitionEnd(c),this._element.style[a]="".concat(this._element[h],"px")}}}},{key:"hide",value:function(){var t=this;if(!this._isTransitioning&&n()(this._element).hasClass(b)){var e=n().Event(x.HIDE);if(n()(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]="".concat(this._element.getBoundingClientRect()[i],"px"),s().reflow(this._element),n()(this._element).addClass(k).removeClass(w).removeClass(b);var o=this._triggerArray.length;if(o>0)for(var r=0;r<o;r++){var a=this._triggerArray[r],l=s().getSelectorFromElement(a);null!==l&&(n()([].slice.call(document.querySelectorAll(l))).hasClass(b)||n()(a).addClass(S).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[i]="";var h=s().getTransitionDurationFromElement(this._element);n()(this._element).one(s().TRANSITION_END,function(){t.setTransitioning(!1),n()(t._element).removeClass(k).addClass(w).trigger(x.HIDDEN)}).emulateTransitionEnd(h)}}}},{key:"setTransitioning",value:function(t){this._isTransitioning=t}},{key:"dispose",value:function(){n().removeData(this._element,f),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null}},{key:"_getConfig",value:function(t){return(t=h(h({},v),t)).toggle=Boolean(t.toggle),s().typeCheckConfig(u,t,y),t}},{key:"_getDimension",value:function(){return n()(this._element).hasClass(C)?C:T}},{key:"_getParent",value:function(){var e,i=this;s().isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'.concat(this._config.parent,'"]'),r=[].slice.call(e.querySelectorAll(
vendor: 23,827 bytes, line 2
2o));return n()(r).each(function(e,o){i._addAriaAndCollapsedClass(t._getTargetFromElement(o),[o])}),e}},{key:"_addAriaAndCollapsedClass",value:function(t,e){var i=n()(t).hasClass(b);e.length&&n()(e).toggleClass(S,!i).attr("aria-expanded",i)}}])&&d(e.prototype,i),o&&d(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,i,o}();n()(document).on(x.CLICK_DATA_API,M,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=n()(this),i=s().getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(i));n()(o).each(function(){var t=n()(this),i=t.data(f)?"toggle":e.data();O._jQueryInterface.call(t,i)})}),n().fn[u]=O._jQueryInterface,n().fn[u].Constructor=O,n().fn[u].noConflict=function(){return n().fn[u]=m,O._jQueryInterface};const P=O},3401(t,e,i){"use strict";i.r(e),i.d(e,{default:()=>Ut});var o=i(1669),n=i.n(o),r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,s=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(r&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var a=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},s))}};function l(t){return t&&"[object Function]"==={}.toString.call(t)}function h(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function c(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function d(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=h(t),i=e.overflow,o=e.overflowX,n=e.overflowY;return/(auto|scroll|overlay)/.test(i+n+o)?t:d(c(t))}function p(t){return t&&t.referenceNode?t.referenceNode:t}var u=r&&!(!window.MSInputMethodContext||!document.documentMode),f=r&&/MSIE 10/.test(navigator.userAgent);function g(t){return 11===t?u:10===t?f:u||f}function m(t){if(!t)return document.documentElement;for(var e=g(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var o=i&&i.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===h(i,"position")?m(i):i:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function y(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,o=i?t:e,n=i?e:t,r=document.createRange();r.setStart(o,0),r.setEnd(n,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||o.contains(n))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&m(s.firstElementChild)!==s?m(l):l;var h=v(t);return h.host?y(h.host,e):y(t,v(e).host)}function x(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||o)[e]}return t[e]}function b(t,e){var i="x"===e?"Left":"Top",o="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"])+parseFloat(t["border"+o+"Width"])}function w(t,e,i,o){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],g(10)?parseInt(i["offset"+t])+parseInt(o["margin"+("Height"===t?"Top":"Left")])+parseInt(o["margin"+("Height"===t?"Bottom":"Right")]):0)}function k(t){var e=t.body,i=t.documentElement,o=g(10)&&getComputedStyle(i);return{height:w("Height",e,i,o),width:w("Width",e,i,o)}}var S=function(){function t(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,i,o){return i&&t(e.prototype,i),o&&t(e,o),e}}(),C=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},T=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t};function A(t){return T({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(g(10)){e=t.getBoundingClientRect();var i=x(t,"top"),o=x(t,"left");e.top+=i,e.left+=o,e.bottom+=i,e.right+=o}else e=t.getBoundingClientRect()}catch(t){}var n={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?k(t.ownerDocument):{},s=r.width||t.clientWidth||n.width,a=r.height||t.clientHeight||n.height,l=t.offsetWidth-s,c=t.offsetHeight-a;if(l||c){var d=h(t);l-=b(d,"x"),c-=b(d,"y"),n.width-=l,n.height-=c}return A(n)}function O(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=g(10),n="HTML"===e.nodeName,r=M(t),s=M(e),a=d(t),l=h(e),c=parseFloat(l.borderTopWidth),p=parseFloat(l.borderLeftWidth);i&&n&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=A({top:r.top-s.top-c,left:r.left-s.left-p,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!o&&n){var f=parseFloat(l.marginTop),m=parseFloat(l.marginLeft);u.top-=c-f,u.bottom-=c-f,u.left-=p-m,u.right-=p-m,u.marginTop=f,u.marginLeft=m}return(o&&!i?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=x(e,"top"),n=x(e,"left"),r=i?-1:1;return t.top+=o*r,t.bottom+=o*r,t.left+=n*r,t.right+=n*r,t}(u,e)),u}function P(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===h(t,"position"))return!0;var i=c(t);return!!i&&P(i)}function E(t){if(!t||!t.parentElement||g())return document.documentElement;for(var e=t.parentElement;e&&"none"===h(e,"transform");)e=e.parentElement;return e||document.documentElement}function L(t,e,i,o){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=n?E(t):y(t,p(e));if("viewport"===o)r=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,o=O(t,i),n=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),s=e?0:x(i),a=e?0:x(i,"left");return A({top:s-o.top+o.marginTop,left:a-o.left+o.marginLeft,width:n,height:r})}(s,n);else{var a=void 0;"scrollParent"===o?"BODY"===(a=d(c(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===o?t.ownerDocument.documentElement:o;var l=O(a,s,n);if("HTML"!==a.nodeName||P(s))r=l;else{var h=k(t.ownerDocument),u=h.height,f=h.width;r.top+=l.top-l.marginTop,r.bottom=u+l.top,r.left+=l.left-l.marginLeft,r.right=f+l.left}}var g="number"==typeof(i=i||0);return r.left+=g?i:i.left||0,r.top+=g?i:i.top||0,r.right-=g?i:i.right||0,r.bottom-=g?i:i.bottom||0,r}function D(t,e,i,o,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=L(i,o,r,n),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return T({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),h=l.filter(function(t){var e=t.width,o=t.height;return e>=i.clientWidth&&o>=i.clientHeight}),c=h.length>0?h[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function _(t,e,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return O(i,o?E(e):y(e,p(i)),o)}function j(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),o=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+o,height:t.offsetHeight+i}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function B(t,e,i){i=i.split("-")[0];var o=j(t),n={width:o.width,height:o.height},r=-1!==["right","left"].indexOf(i),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",h=r?"width":"height";return n[s]=e[s]+e[l]/2-o[l]/2,n[a]=i===a?e[a]-o[h]:e[I(a)],n}function R(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function N(t,e,i){return(void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var o=R(t,function(t){return t[e]===i});return t.indexOf(o)}(t,"name",i))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&l(i)&&(e.offsets.popper=A(e.offsets.popper),e.offsets.reference=A(e.offsets.reference),e=i(e,t))}),e}function z(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=D(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=B(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=N(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function H(t,e){return t.some(function(t){var i=t.name;return t.enabled&&i===e})}function $(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length;o++){var n=e[o],r=n?""+n+i:t;if(void 0!==document.body.style[r])return r}return null}function W(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[$("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function F(t){var e=t.ownerDocument;return e?e.defaultView:window}function G(t,e,i,o){var n="BODY"===t.nodeName,r=n?t.ownerDocument.defaultView:t;r.addEventListener(e,i,{passive:!0}),n||G(d(r.parentNode),e,i,o),o.push(r)}function U(t,e,i,o){i.updateBound=o,F(t).addEventListener("resize",i.updateBound,{passive:!0});var n=d(t);return G(n,"scroll",i.updateBound,i.scrollParents),i.scrollElement=n,i.eventsEnabled=!0,i}function X(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function Y(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,F(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function V(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function q(t,e){Object.keys(e).forEach(function(i){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&V(e[i])&&(o="px"),t.style[i]=e[i]+o})}var K=r&&/Firefox/i.test(navigator.userAgent);function Z(t,e,i){var o=R(t,function(t){return t.name===e}),n=!!o&&t.some(function(t){return t.name===i&&t.enabled&&t.order<o.order});if(!n){var r="`"+e+"`",s="`"+i+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return n}var Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],J=Q.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=J.indexOf(t),o=J.slice(i+1).concat(J.slice(0,i));return e?o.reverse():o}var et="flip",it="clockwise",ot="counterclockwise";function nt(t,e,i,o){var n=[0,0],r=-1!==["right","left"].indexOf(o),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(R(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,h=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return h=h.map(function(t,o){var n=(1===o?!r:r)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,i,o){var n=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+n[1],s=n[2];if(!r)return t;if(0===s.indexOf("%")){return A("%p"===s?i:o)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,n,e,i)})}),h.forEach(function(t,e){t.forEach(function(i,o){V(i)&&(n[e]+=i*("-"===t[o-1]?-1:1))})}),n}var rt={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],o=e.split("-")[1];if(o){var n=t.offsets,r=n.reference,s=n.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",h=a?"width":"height",c={start:C({},l,r[l]),end:C({},l,r[l]+r[h]-s[h])};t.offsets.popper=T({},s,c[o])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,o=t.placement,n=t.offsets,r=n.popper,s=n.reference,a=o.split("-")[0],l=void 0;return l=V(+i)?[+i,0]:nt(i,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||m(t.instance.popper);t.instance.reference===i&&(i=m(i));var o=$("transform"),n=t.instance.popper.style,r=n.top,s=n.left,a=n[o];n.top="",n.left="",n[o]="";var l=L(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);n.top=r,n.left=s,n[o]=a,e.boundaries=l;var h=e.priority,c=t.offsets.popper,d={primary:function(t){var i=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(i=Math.max(c[t],l[t])),C({},t,i)},secondary:function(t){var i="right"===t?"left":"top",o=c[i];return c[t]>l[t]&&!e.escapeWithReference&&(o=Math.min(c[i],l[t]-("right"===t?c.width:c.height))),C({},i,o)}};return h.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=T({},c,d[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,o=e.reference,n=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(n),a=s?"right":"bottom",l=s?"left":"top",h=s?"width":"height";return i[a]<r(o[l])&&(t.offsets.popper[l]=r(o[l])-i[h]),i[l]>r(o[a])&&(t.offsets.popper[l]=r(o[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!Z(t.instance.modifiers,"arrow","keepTogether"))return t;var o=e.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var n=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(n),c=l?"height":"width",d=l?"Top":"Left",p=d.toLowerCase(),u=l?"left":"top",f=l?"bottom":"right",g=j(o)[c];a[f]-g<s[p]&&(t.offsets.popper[p]-=s[p]-(a[f]-g)),a[p]+g>s[f]&&(t.offsets.popper[p]+=a[p]+g-s[f]),t.offsets.popper=A(t.offsets.popper);var m=a[p]+a[c]/2-g/2,v=h(t.instance.popper),y=parseFloat(v["margin"+d]),x=parseFloat(v["border"+d+"Width"]),b=m-t.offsets.popper[p]-y-x;return b=Math.max(Math.min(s[c]-g,b),0),t.arrowElement=o,t.offsets.arrow=(C(i={},p,Math.round(b)),C(i,u,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=L(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),o=t.placement.split("-")[0],n=I(o),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case et:s=[o,n];break;case it:s=tt(o);break;case ot:s=tt(o,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(o!==a||s.length===l+1)return t;o=t.placement.split("-")[0],n=I(o);var h=t.offsets.popper,c=t.offsets.reference,d=Math.floor,p="left"===o&&d(h.right)>d(c.left)||"right"===o&&d(h.left)<d(c.right)||"top"===o&&d(h.bottom)>d(c.top)||"bottom"===o&&d(h.top)<d(c.bottom),u=d(h.left)<d(i.left),f=d(h.right)>d(i.right),g=d(h.top)<d(i.top),m=d(h.bottom)>d(i.bottom),v="left"===o&&u||"right"===o&&f||"top"===o&&g||"bottom"===o&&m,y=-1!==["top","bottom"].indexOf(o),x=!!e.flipVariations&&(y&&"start"===r&&u||y&&"end"===r&&f||!y&&"start"===r&&g||!y&&"end"===r&&m),b=!!e.flipVariationsByContent&&(y&&"start"===r&&f||y&&"end"===r&&u||!y&&"start"===r&&m||!y&&"end"===r&&g),w=x||b;(p||v||w)&&(t.flipped=!0,(p||v)&&(o=s[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=o+(r?"-"+r:""),t.offsets.popper=T({},t.offsets.popper,B(t.instance.popper,t.offsets.reference,t.placement)),t=N(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],o=t.offsets,n=o.popper,r=o.reference,s=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return n[s?"left":"top"]=r[i]-(a?n[s?"width":"height"]:0),t.placement=I(e),t.offsets.popper=A(n),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Z(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=R(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,o=e.y,n=t.offsets.popper,r=R(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=m(t.instance.popper),l=M(a),h={position:n.position},c=function(t,e){var i=t.offsets,o=i.popper,n=i.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(n.width),h=r(o.width),c=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),p=e?c||d||l%2==h%2?r:s:a,u=e?r:a;return{left:p(l%2==1&&h%2==1&&!d&&e?o.left-1:o.left),top:u(o.top),bottom:u(o.bottom),right:p(o.right)}}(t,window.devicePixelRatio<2||!K),d="bottom"===i?"top":"bottom",p="right"===o?"left":"right",u=$("transform"),f=void 0,g=void 0;if(g="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,f="right"===p?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,s&&u)h[u]="translate3d("+f+"px, "+g+"px, 0)",h[d]=0,h[p]=0,h.willChange="transform";else{var v="bottom"===d?-1:1,y="right"===p?-1:1;h[d]=g*v,h[p]=f*y,h.willChange=d+", "+p}var x={"x-placement":t.placement};return t.attributes=T({},x,t.attributes),t.styles=T({},h,t.styles),t.arrowStyles=T({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return q(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEach(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&q(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,o,n){var r=_(n,e,t,i.positionFixed),s=D(i.placement,r,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",s),q(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}},st={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:rt},at=function(){function t(e,i){var o=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=a(this.update.bind(this)),this.options=T({},t.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(T({},t.Defaults.modifiers,n.modifiers)).forEach(function(e){o.options.modifiers[e]=T({},t.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return T({name:t},o.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&l(t.onLoad)&&t.onLoad(o.reference,o.popper,o.options,t,o.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return S(t,[{key:"update",value:function(){return z.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return Y.call(this)}}]),t}();at.Utils=("undefined"!=typeof window?window:i.g).PopperUtils,at.placements=Q,at.Defaults=st;const lt=at;var ht=i(8456),ct=i.n(ht);function dt(t){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dt(t)}function pt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,o)}return i}function ut(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(i),!0).forEach(function(e){ft(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):pt(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function ft(t,e,i){return(e=mt(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function gt(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,mt(o.key),o)}}function mt(t){var e=function(t,e){if("object"!=dt(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!=dt(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dt(e)?e:e+""}var vt="dropdown",yt="bs.dropdown",xt=".".concat(yt),bt=".data-api",wt=n().fn[vt],kt=new RegExp("".concat(38,"|").concat(40,"|").concat(27)),St={HIDE:"hide".concat(xt),HIDDEN:"hidden".concat(xt),SHOW:"show".concat(xt),SHOWN:"shown".concat(xt),CLICK:"click".concat(xt),CLICK_DATA_API:"click".concat(xt).concat(bt),KEYDOWN_DATA_API:"keydown".concat(xt).concat(bt),KEYUP_DATA_API:"keyup".concat(xt).concat(bt)},Ct="disabled",Tt="show",At="dropup",Mt="dropright",Ot="dropleft",Pt="dropdown-menu-right",Et="position-static",Lt='[data-toggle="dropdown"]',Dt=".dropdown form",_t=".dropdown-menu",jt=".navbar-nav",It=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Bt="top-start",Rt="top-end",Nt="bottom-start",zt="bottom-end",Ht="right-start",$t="left-start",Wt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null}
2,Ft={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},Gt=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._element=e,this._popper=null,this._config=this._getConfig(i),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}return e=t,i=[{key:"toggle",value:function(){if(!this._element.disabled&&!n()(this._element).hasClass(Ct)){var e=n()(this._menu).hasClass(Tt);t._clearMenus(),e||this.show(!0)}}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!(this._element.disabled||n()(this._element).hasClass(Ct)||n()(this._menu).hasClass(Tt))){var i={relatedTarget:this._element},o=n().Event(St.SHOW,i),r=t._getParentFromElement(this._element);if(n()(r).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===lt)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=r:ct().isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n()(r).addClass(Et),this._popper=new lt(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n()(r).closest(jt).length&&n()(document.body).children().on("mouseover",null,n().noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),n()(this._menu).toggleClass(Tt),n()(r).toggleClass(Tt).trigger(n().Event(St.SHOWN,i))}}}},{key:"hide",value:function(){if(!this._element.disabled&&!n()(this._element).hasClass(Ct)&&n()(this._menu).hasClass(Tt)){var e={relatedTarget:this._element},i=n().Event(St.HIDE,e),o=t._getParentFromElement(this._element);n()(o).trigger(i),i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),n()(this._menu).toggleClass(Tt),n()(o).toggleClass(Tt).trigger(n().Event(St.HIDDEN,e)))}}},{key:"dispose",value:function(){n().removeData(this._element,yt),n()(this._element).off(xt),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)}},{key:"update",value:function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()}},{key:"_addEventListeners",value:function(){var t=this;n()(this._element).on(St.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})}},{key:"_getConfig",value:function(t){return t=ut(ut(ut({},this.constructor.Default),n()(this._element).data()),t),ct().typeCheckConfig(vt,t,this.constructor.DefaultType),t}},{key:"_getMenuElement",value:function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(_t))}return this._menu}},{key:"_getPlacement",value:function(){var t=n()(this._element.parentNode),e=Nt;return t.hasClass(At)?(e=Bt,n()(this._menu).hasClass(Pt)&&(e=Rt)):t.hasClass(Mt)?e=Ht:t.hasClass(Ot)?e=$t:n()(this._menu).hasClass(Pt)&&(e=zt),e}},{key:"_detectNavbar",value:function(){return n()(this._element).closest(".navbar").length>0}},{key:"_getOffset",value:function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=ut(ut({},e.offsets),t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e}},{key:"_getPopperConfig",value:function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),ut(ut({},t),this._config.popperConfig)}}],o=[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return Wt}},{key:"DefaultType",get:function(){return Ft}},{key:"_jQueryInterface",value:function(e){return this.each(function(){var i=n()(this).data(yt),o="object"===dt(e)?e:null;if(i||(i=new t(this,o),n()(this).data(yt,i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method n
2amed "'.concat(e,'"'));i[e]()}})}},{key:"_clearMenus",value:function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var i=[].slice.call(document.querySelectorAll(Lt)),o=0,r=i.length;o<r;o++){var s=t._getParentFromElement(i[o]),a=n()(i[o]).data(yt),l={relatedTarget:i[o]};if(e&&"click"===e.type&&(l.clickEvent=e),a){var h=a._menu;if(n()(s).hasClass(Tt)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&n().contains(s,e.target))){var c=n().Event(St.HIDE,l);n()(s).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n()(document.body).children().off("mouseover",null,n().noop),i[o].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),n()(h).removeClass(Tt),n()(s).removeClass(Tt).trigger(n().Event(St.HIDDEN,l)))}}}}},{key:"_getParentFromElement",value:function(t){var e,i=ct().getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode}},{key:"_dataApiKeydownHandler",value:function(e){if(!(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||n()(e.target).closest(_t).length):!kt.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!n()(this).hasClass(Ct))){var i=t._getParentFromElement(this),o=n()(i).hasClass(Tt);if(o||27!==e.which)if(o&&(!o||27!==e.which&&32!==e.which)){var r=[].slice.call(i.querySelectorAll(It)).filter(function(t){return n()(t).is(":visible")});if(0!==r.length){var s=r.indexOf(e.target);38===e.which&&s>0&&s--,40===e.which&&s<r.length-1&&s++,s<0&&(s=0),r[s].focus()}}else{if(27===e.which){var a=i.querySelector(Lt);n()(a).trigger("focus")}n()(this).trigger("click")}}}}],i&>(e.prototype,i),o&>(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,i,o}();n()(document).on(St.KEYDOWN_DATA_API,Lt,Gt._dataApiKeydownHandler).on(St.KEYDOWN_DATA_API,_t,Gt._dataApiKeydownHandler).on("".concat(St.CLICK_DATA_API," ").concat(St.KEYUP_DATA_API),Gt._clearMenus).on(St.CLICK_DATA_API,Lt,function(t){t.preventDefault(),t.stopPropagation(),Gt._jQueryInterface.call(n()(this),"toggle")}).on(St.CLICK_DATA_API,Dt,function(t){t.stopPropagation()}),n().fn[vt]=Gt._jQueryInterface,n().fn[vt].Constructor=Gt,n().fn[vt].noConflict=function(){return n().fn[vt]=wt,Gt._jQueryInterface};const Ut=Gt},7139(t,e,i){var o,n;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}!function(s){var a;if(void 0===(n="function"==typeof(o=s)?o.call(e,i,e,t):o)||(t.exports=n),a=!0,"object"===r(e)&&(t.exports=s(),a=!0),!a){var l=window.Cookies,h=window.Cookies=s();h.noConflict=function(){return window.Cookies=l,h}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var o in i)e[o]=i[o]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2}
2)+/g,decodeURIComponent)}return function i(o){function n(){}function r(e,i,r){if("undefined"!=typeof document){"number"==typeof(r=t({path:"/"},n.defaults,r)).expires&&(r.expires=new Date(1*new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var s=JSON.stringify(i);/^[\{\[]/.test(s)&&(i=s)}catch(t){}i=o.write?o.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var l in r)r[l]&&(a+="; "+l,!0!==r[l]&&(a+="="+r[l].split(";")[0]));return document.cookie=e+"="+i+a}}function s(t,i){if("undefined"!=typeof document){for(var n={},r=document.cookie?document.cookie.split("; "):[],s=0;s<r.length;s++){var a=r[s].split("="),l=a.slice(1).join("=");i||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var h=e(a[0]);if(l=(o.read||o)(l,h)||e(l),i)try{l=JSON.parse(l)}catch(t){}if(n[h]=l,t===h)break}catch(t){}}return t?n[t]:n}}return n.set=r,n.get=function(t){return s(t,!1)},n.getJSON=function(t){return s(t,!0)},n.remove=function(e,i){r(e,"",t(i,{expires:-1}))},n.defaults={},n.withConverter=i,n}(function(){})})},3135(t,e,i){"use strict";i.r(e),i.d(e,{default:()=>j});var o=i(1669),n=i.n(o),r=i(8456),s=i.n(r);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,o)}return i}function h(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach(function(e){c(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function c(t,e,i){return(e=p(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function d(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,p(o.key),o)}}function p(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var u="modal",f="bs.modal",g=".".concat(f),m=n().fn[u],v={backdrop:!0,keyboard:!0,focus:!0,show:!0},y={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},x={HIDE:"hide".concat(g),HIDE_PREVENTED:"hidePrevented".concat(g),HIDDEN:"hidden".concat(g),SHOW:"show".concat(g),SHOWN:"shown".concat(g),FOCUSIN:"focusin".concat(g),RESIZE:"resize".concat(g),CLICK_DISMISS:"click.dismiss".concat(g),KEYDOWN_DISMISS:"keydown.dismiss".concat(g),MOUSEUP_DISMISS:"mouseup.dismiss".concat(g),MOUSEDOWN_DISMISS:"mousedown.dismiss".concat(g),CLICK_DATA_API:"click".concat(g).concat(".data-api")},b="modal-dialog-scrollable",w="modal-scrollbar-measure",k="modal-backdrop",S="modal-open",C="fade",T="show",A="modal-static",M=".modal-dialog",O=".modal-body",P='[data-toggle="modal"]',E='[data-dismiss="modal"]',L=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",D=".sticky-top",_=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._config=this._getConfig(i),this._element=e,this._dialog=e.querySelector(M),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}return e=t,o=[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return v}},{key:"_jQueryInterface",value:function(e,i){return this.each(function(){var o=n()(this).data(f),r=h(h(h({},v),n()(this).data()),"object"===a(e)&&e?e:{});if(o||(o=new t(this,r),n()(this).data(f,o)),"string"==typeof e){if(void 0===o[e])throw new TypeError('No method n
2amed "'.concat(e,'"'));o[e](i)}else r.show&&o.show(i)})}}],(i=[{key:"toggle",value:function(t){return this._isShown?this.hide():this.show(t)}},{key:"show",value:function(t){var e=this;if(!this._isShown&&!this._isTransitioning){n()(this._element).hasClass(C)&&(this._isTransitioning=!0);var i=n().Event(x.SHOW,{relatedTarget:t});n()(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),n()(this._element).on(x.CLICK_DISMISS,E,function(t){return e.hide(t)}),n()(this._dialog).on(x.MOUSEDOWN_DISMISS,function(){n()(e._element).one(x.MOUSEUP_DISMISS,function(t){n()(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}}},{key:"hide",value:function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=n().Event(x.HIDE);if(n()(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var o=n()(this._element).hasClass(C);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n()(document).off(x.FOCUSIN),n()(this._element).removeClass(T),n()(this._element).off(x.CLICK_DISMISS),n()(this._dialog).off(x.MOUSEDOWN_DISMISS),o){var r=s().getTransitionDurationFromElement(this._element);n()(this._element).one(s().TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(r)}else this._hideModal()}}}},{key:"dispose",value:function(){[window,this._element,this._dialog].forEach(function(t){return n()(t).off(g)}),n()(document).off(x.FOCUSIN),n().removeData(this._element,f),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null}},{key:"handleUpdate",value:function(){this._adjustDialog()}},{key:"_getConfig",value:function(t){return t=h(h({},v),t),s().typeCheckConfig(u,t,y),t}},{key:"_triggerBackdropTransition",value:function(){var t=this;if("static"===this._config.backdrop){var e=n().Event(x.HIDE_PREVENTED);if(n()(this._element).trigger(e),e.defaultPrevented)return;this._element.classList.add(A);var i=s().getTransitionDurationFromElement(this._element);n()(this._element).one(s().TRANSITION_END,function(){t._element.classList.remove(A)}).emulateTransitionEnd(i),this._element.focus()}else this.hide()}},{key:"_showElement",value:function(t){var e=this,i=n()(this._element).hasClass(C),o=this._dialog?this._dialog.querySelector(O):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),n()(this._dialog).hasClass(b)&&o?o.scrollTop=0:this._element.scrollTop=0,i&&s().reflow(this._element),n()(this._element).addClass(T),this._config.focus&&this._enforceFocus();var r=n().Event(x.SHOWN,{relatedTarget:t}),a=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,n()(e._element).trigger(r)};if(i){var l=s().getTransitionDurationFromElement(this._dialog);n()(this._dialog).one(s().TRANSITION_END,a).emulateTransitionEnd(l)}else a()}},{key:"_enforceFocus",value:function(){var t=this;n()(document).off(x.FOCUSIN).on(x.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===n()(t._element).has(e.target).length&&t._element.focus()})}},{key:"_setEscapeEvent",value:function(){var t=this;this._isShown&&this._config.keyboard?n()(this._element).on(x.KEYDOWN_DISMISS,function(e){27===e.which&&t._triggerBackdropTransition()}):this._isShown||n()(this._element).off(x.KEYDOWN_DISMISS)}},{key:"_setResizeEvent",value:function(){var t=this;this._isShown?n()(window).on(x.RESIZE,function(e){return t.handleUpdate(e)}):n()(window).off(x.RESIZE)}},{key:"_hideModal",value:function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){n()(document.body).removeClass(S),t._resetAdjustments(),t._resetScrollbar(),n()(t._element).trigger(x.HIDDEN)})}},{key:"_removeBackdrop",value:function(){this._backdrop&&(n()(this._backdrop).remove(),this._backdrop=null)}},{key:"_showBackdrop",value:function(t){var e=this,i=n()(this._element).hasClass(C)?C:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=k,i&&this._backdrop.classList.add(i),n()(this._backdrop).appendTo(document.body),n()(this._element).on(x.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&e._triggerBackdropTransition()}),i&&s().reflow(this._backdrop),n()(this._backdrop).addClass(T),
2!t)return;if(!i)return void t();var o=s().getTransitionDurationFromElement(this._backdrop);n()(this._backdrop).one(s().TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){n()(this._backdrop).removeClass(T);var r=function(){e._removeBackdrop(),t&&t()};if(n()(this._element).hasClass(C)){var a=s().getTransitionDurationFromElement(this._backdrop);n()(this._backdrop).one(s().TRANSITION_END,r).emulateTransitionEnd(a)}else r()}else t&&t()}},{key:"_adjustDialog",value:function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft="".concat(this._scrollbarWidth,"px")),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight="".concat(this._scrollbarWidth,"px"))}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}},{key:"_checkScrollbar",value:function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()}},{key:"_setScrollbar",value:function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(L)),i=[].slice.call(document.querySelectorAll(D));n()(e).each(function(e,i){var o=i.style.paddingRight,r=n()(i).css("padding-right");n()(i).data("padding-right",o).css("padding-right","".concat(parseFloat(r)+t._scrollbarWidth,"px"))}),n()(i).each(function(e,i){var o=i.style.marginRight,r=n()(i).css("margin-right");n()(i).data("margin-right",o).css("margin-right","".concat(parseFloat(r)-t._scrollbarWidth,"px"))});var o=document.body.style.paddingRight,r=n()(document.body).css("padding-right");n()(document.body).data("padding-right",o).css("padding-right","".concat(parseFloat(r)+this._scrollbarWidth,"px"))}n()(document.body).addClass(S)}},{key:"_resetScrollbar",value:function(){var t=[].slice.call(document.querySelectorAll(L));n()(t).each(function(t,e){var i=n()(e).data("padding-right");n()(e).removeData("padding-right"),e.style.paddingRight=i||""});var e=[].slice.call(document.querySelectorAll("".concat(D)));n()(e).each(function(t,e){var i=n()(e).data("margin-right");void 0!==i&&n()(e).css("margin-right",i).removeData("margin-right")});var i=n()(document.body).data("padding-right");n()(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""}},{key:"_getScrollbarWidth",value:function(){var t=document.createElement("div");t.className=w,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}}])&&d(e.prototype,i),o&&d(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,i,o}();n()(document).on(x.CLICK_DATA_API,P,function(t){var e,i=this,o=s().getSelectorFromElement(this);o&&(e=document.querySelector(o));var r=n()(e).data(f)?"toggle":h(h({},n()(e).data()),n()(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var a=n()(e).one(x.SHOW,function(t){t.isDefaultPrevented()||a.one(x.HIDDEN,function(){n()(i).is(":visible")&&i.focus()})});_._jQueryInterface.call(n()(e),r,this)}),n().fn[u]=_._jQueryInterface,n().fn[u].Constructor=_,n().fn[u].noConflict=function(){return n().fn[u]=m,_._jQueryInterface};const j=_},6065(t,e,i){var o,n,r;function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}t=i.nmd(t),n=window,r=navigator.userAgent,n.HTMLPictureElement&&/ecko/.test(r)&&r.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",function(){var t,e=document.createElement("source"),i=function(t){var i,o,n=t.parentNode;"PICTURE"===n.nodeName.toUpperCase()?(i=e.cloneNode(),n.insertBefore(i,n.firstElementChild),setTimeout(function(){n.removeChild(i)})):(!t._pfLastSize||t.offsetWidth>t._pfLastSize)&&(t._pfLastSize=t.offsetWidth,o=t.sizes,t.sizes+=",100vw",setTimeout(function(){t.sizes=o}))},o=function(){var t,e=document.querySelectorAll("picture > img, img[srcset][sizes]");for(t=0;t<e.length;t++)i(e[t])},r=function(){clearTimeout(t),t=setTimeout(o,99)},s=n.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){r(),s&&s.addListener&&s.addListener(r)};return e.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),r}()),function(n,r,a){"use strict";function l(t){return" "===t||"\t"===t||"\n"===t||"\f"===t||"\r"===t}
vendor: 5,191 bytes, line 2
2function h(t,e,i,o){var n,r,s;return"saveData"===T.algorithm?t>2.7?s=i+1:(r=(e-i)*(n=Math.pow(t-.6,1.5)),o&&(r+=.1*n),s=t+r):s=i>1?Math.sqrt(t*e):t,s>i}function c(t,e){return t.res-e.res}function d(t,e,i){var o;return!i&&e&&(i=(i=t[m.ns].sets)&&i[i.length-1]),(o=p(e,i))&&(e=m.makeUrl(e),t[m.ns].curSrc=e,t[m.ns].curCan=o,o.res||Z(o,o.set.sizes)),o}function p(t,e){var i,o,n;if(t&&e)for(n=m.parseSet(e),t=m.makeUrl(t),i=0;i<n.length;i++)if(t===m.makeUrl(n[i].url)){o=n[i];break}return o}r.createElement("picture");var u,f,g,m={},v=!1,y=function(){},x=r.createElement("img"),b=x.getAttribute,w=x.setAttribute,k=x.removeAttribute,S=r.documentElement,C={},T={algorithm:""},A="data-pfsrc",M=A+"set",O=navigator.userAgent,P=/rident/.test(O)||/ecko/.test(O)&&O.match(/rv\:(\d+)/)&&RegExp.$1>35,E="currentSrc",L=/\s+\+?\d+(e\d+)?w/,D=/(\([^)]+\))?\s*(.+)/,_=n.picturefillCFG,j="font-size:100%!important;",I=!0,B={},R={},N=n.devicePixelRatio,z={px:1,in:96},H=r.createElement("a"),$=!1,W=/^[ \t\n\r\u000c]+/,F=/^[, \t\n\r\u000c]+/,G=/^[^ \t\n\r\u000c]+/,U=/[,]+$/,X=/^\d+$/,Y=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,V=function(t,e,i,o){t.addEventListener?t.addEventListener(e,i,o||!1):t.attachEvent&&t.attachEvent("on"+e,i)},q=function(t){var e={};return function(i){return i in e||(e[i]=t(i)),e[i]}},K=function(){var t=/^([\d\.]+)(em|vw|px)$/,e=q(function(t){return"return "+function(){for(var t=arguments,e=0,i=t[0];++e in t;)i=i.replace(t[e],t[++e]);return i}((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(i,o){var n;if(!(i in B))if(B[i]=!1,o&&(n=i.match(t)))B[i]=n[1]*z[n[2]];else try{B[i]=new Function("e",e(i))(z)}catch(t){}return B[i]}}(),Z=function(t,e){return t.w?(t.cWidth=m.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t},Q=function(t){if(v){var e,i,o,n=t||{};if(n.elements&&1===n.elements.nodeType&&("IMG"===n.elements.nodeName.toUpperCase()?n.elements=[n.elements]:(n.context=n.elements,n.elements=null)),o=(e=n.elements||m.qsa(n.context||r,n.reevaluate||n.reselect?m.sel:m.selShort)).length){for(m.setupRun(n),$=!0,i=0;o>i;i++)m.fillImg(e[i],n);m.teardownRun(n)}}};n.console&&console.warn,E in x||(E="src"),C["image/jpeg"]=!0,C["image/gif"]=!0,C["image/png"]=!0,C["image/svg+xml"]=r.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),m.ns=("pf"+(new Date).getTime()).substr(0,9),m.supSrcset="srcset"in x,m.supSizes="sizes"in x,m.supPicture=!!n.HTMLPictureElement,m.supSrcset&&m.supPicture&&!m.supSizes&&function(t){x.srcset="data:,a",t.src="data:,a",m.supSrcset=x.complete===t.complete,m.supPicture=m.supSrcset&&m.supPicture}(r.createElement("img")),m.supSrcset&&!m.supSizes?function(){var t="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",e=r.createElement("img"),i=function(){2===e.width&&(m.supSizes=!0),f=m.supSrcset&&!m.supSizes,v=!0,setTimeout(Q)};e.onload=i,e.onerror=i,e.setAttribute("sizes","9px"),e.srcset=t+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",e.src=t}():v=!0,m.selShort="picture>img,img[srcset]",m.sel=m.selShort,m.cfg=T,m.DPR=N||1,m.u=z,m.types=C,m.setSize=y,m.makeUrl=q(function(t){return H.href=t,H.href}),m.qsa=function(t,e){return"querySelector"in t?t.querySelectorAll(e):[]},m.matchesMedia=function(){return n.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?m.matchesMedia=function(t){return!t||matchMedia(t).matches}:m.matchesMedia=m.mMQ,m.matchesMedia.apply(this,arguments)},m.mMQ=function(t){return!t||K(t)},m.calcLength=function(t){var e=K(t,!0)||!1;return 0>e&&(e=!1),e},m.supportsType=function(t){return!t||C[t]},m.parseSize=q(function(t){var e=(t||"").match(D);return{media:e&&e[1],length:e&&e[2]}}),m.parseSet=function(t){return t.cands||(t.cands=function(t,e){function i(e){var i,o=e.exec(t.substring(p));return o?(i=o[0],p+=i.length,i):void 0}function o(){var t,i,o,n,a,l,h,c,d,p=!1,f={};for(n=0;n<s.length;n++)l=(a=s[n])[a.length-1],h=a.substring(0,a.length-1),c=parseInt(h,10),d=parseFloat(h),X.test(h)&&"w"===l?((t||i)&&(p=!0),0===c?p=!0:t=c):Y.test(h)&&"x"===l?((t||i||o)&&(p=!0),0>d?p=!0:i=d):X.test(h)&&"h"===l?((o||i)&&(p=!0),0===c?p=!0:o=c):p=!0;p||(f.url=r,t&&(f.w=t),i&&(f.d=i),o&&(f.h=o),o||i||t||(f.d=1),1===f.d&&(e.has1x=!0),f.set=e,u.push(f))}function n(){for(i(W),a="",h="in descriptor";;){if(c=t.charAt(p),"in descriptor"===h)if(l(c))a&&(s.push(a),a="",h="after descriptor");else{if(","===c)return p+=1,a&&s.push(a),void o();if("("===c)a+=c,h="in parens";else{if(""===c)return a&&s.push(a),void o();a+=c}}else if("in parens"===h)if(")"===c)a+=c,h="in descriptor";else{if(""===c)return s.push(a),void o();a+=c}else if("after descriptor"===h)if(l(c));else{if(""===c)return void o();h="in descriptor",p-=1}p+=1}}for(var r,s,a,h,c,d=t.length,p=0,u=[];;){if(i(F),p>=d)return u;r=i(G),s=[],","===r.slice(-1)?(r=r.replace(U,""),o()):n()}}(t.srcset,t)),t.cands},m.getEmValue=function(){var t;if(!u&&(t=r.body)){var e=r.createElement("div"),i=S.style.cssText,o=t.style.cssText;e.style.cssText="position:absolute;
2left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",S.style.cssText=j,t.style.cssText=j,t.appendChild(e),u=e.offsetWidth,t.removeChild(e),u=parseFloat(u,10),S.style.cssText=i,t.style.cssText=o}return u||16},m.calcListLength=function(t){if(!(t in R)||T.uT){var e=m.calcLength(function(t){function e(t){return!!(h.test(t)&&parseFloat(t)>=0)||!!c.test(t)||"0"===t||"-0"===t||"+0"===t}var i,o,n,r,s,a,h=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,c=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(o=function(t){function e(){n&&(r.push(n),n="")}function i(){r[0]&&(s.push(r),r=[])}for(var o,n="",r=[],s=[],a=0,h=0,c=!1;;){if(""===(o=t.charAt(h)))return e(),i(),s;if(c){if("*"===o&&"/"===t[h+1]){c=!1,h+=2,e();continue}h+=1}else{if(l(o)){if(t.charAt(h-1)&&l(t.charAt(h-1))||!n){h+=1;continue}if(0===a){e(),h+=1;continue}o=" "}else if("("===o)a+=1;else if(")"===o)a-=1;else{if(","===o){e(),i(),h+=1;continue}if("/"===o&&"*"===t.charAt(h+1)){c=!0,h+=2;continue}}n+=o,h+=1}}}(t),n=o.length,i=0;n>i;i++)if(e(s=(r=o[i])[r.length-1])){if(a=s,r.pop(),0===r.length)return a;if(r=r.join(" "),m.matchesMedia(r))return a}return"100vw"}(t));R[t]=e||z.width}return R[t]},m.setRes=function(t){var e;if(t)for(var i=0,o=(e=m.parseSet(t)).length;o>i;i++)Z(e[i],t.sizes);return e},m.setRes.res=Z,m.applySetCandidate=function(t,e){if(t.length){var i,o,n,r,s,a,l,p,u,f=e[m.ns],g=m.DPR;if(a=f.curSrc||e[E],(l=f.curCan||d(e,a,t[0].set))&&l.set===t[0].set&&((u=P&&!e.complete&&l.res-.1>g)||(l.cached=!0,l.res>=g&&(s=l))),!s)for(t.sort(c),s=t[(r=t.length)-1],o=0;r>o;o++)if((i=t[o]).res>=g){s=t[n=o-1]&&(u||a!==m.makeUrl(i.url))&&h(t[n].res,i.res,g,t[n].cached)?t[n]:i;break}s&&(p=m.makeUrl(s.url),f.curSrc=p,f.curCan=s,p!==a&&m.setSrc(e,s),m.setSize(e))}},m.setSrc=function(t,e){var i;t.src=e.url,"image/svg+xml"===e.set.type&&(i=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1&&(t.style.width=i))},m.getSet=function(t){var e,i,o,n=!1,r=t[m.ns].sets;for(e=0;e<r.length&&!n;e++)if((i=r[e]).srcset&&m.matchesMedia(i.media)&&(o=m.supportsType(i.type))){"pending"===o&&(i=o),n=i;break}return n},m.parseSets=function(t,e,i){var o,n,r,s,l=e&&"PICTURE"===e.nodeName.toUpperCase(),h=t[m.ns];(h.src===a||i.src)&&(h.src=b.call(t,"src"),h.src?w.call(t,A,h.src):k.call(t,A)),(h.srcset===a||i.srcset||!m.supSrcset||t.srcset)&&(o=b.call(t,"srcset"),h.srcset=o,s=!0),h.sets=[],l&&(h.pic=!0,function(t,e){var i,o,n,r,s=t.getElementsByTagName("source");for(i=0,o=s.length;o>i;i++)(n=s[i])[m.ns]=!0,(r=n.getAttribute("srcset"))&&e.push({srcset:r,media:n.getAttribute("media"),type:n.getAttribute("type"),sizes:n.getAttribute("sizes")})}(e,h.sets)),h.srcset?(n={srcset:h.srcset,sizes:b.call(t,"sizes")},h.sets.push(n),(r=(f||h.src)&&L.test(h.srcset||""))||!h.src||p(h.src,n)||n.has1x||(n.srcset+=", "+h.src,n.cands.push({url:h.src,d:1,set:n}))):h.src&&h.sets.push({srcset:h.src,sizes:null}),h.curCan=null,h.curSrc=a,h.supported=!(l||n&&!m.supSrcset||r&&!m.supSizes),s&&m.supSrcset&&!h.supported&&(o?(w.call(t,M,o),t.srcset=""):k.call(t,M)),h.supported&&!h.srcset&&(!h.src&&t.src||t.src!==m.makeUrl(h.src))&&(null===h.src?t.removeAttribute("src"):t.src=h.src),h.parsed=!0},m.fillImg=function(t,e){var i,o=e.reselect||e.reevaluate;t[m.ns]||(t[m.ns]={}),i=t[m.ns],(o||i.evaled!==g)&&((!i.parsed||e.reevaluate)&&m.parseSets(t,t.parentNode,e),i.supported?i.evaled=g:function(t){var e,i=m.getSet(t),o=!1;"pending"!==i&&(o=g,i&&(e=m.setRes(i),m.applySetCandidate(e,t))),t[m.ns].evaled=o}(t))},m.setupRun=function(){(!$||I||N!==n.devicePixelRatio)&&(I=!1,N=n.devicePixelRatio,B={},R={},m.DPR=N||1,z.width=Math.max(n.innerWidth||0,S.clientWidth),z.height=Math.max(n.innerHeight||0,S.clientHeight),z.vw=z.width/100,z.vh=z.height/100,g=[z.height,z.width,N].join("-"),z.em=m.getEmValue(),z.rem=z.em)},m.supPicture?(Q=y,m.fillImg=y):function(){var t,e=n.attachEvent?/d$|^c/:/d$|^c|^i/,i=function(){var n=r.readyState||"";o=setTimeout(i,"loading"===n?200:999),r.body&&(m.fillImgs(),(t=t||e.test(n))&&clearTimeout(o))},o=setTimeout(i,r.body?9:99),s=S.clientHeight;V(n,"resize",function(t,e){var i,o,n=function(){var r=new Date-o;e>r?i=setTimeout(n,e-r):(i=null,t())};return function(){o=new Date,i||(i=setTimeout(n,e))}}(function(){I=Math.max(n.innerWidth||0,S.clientWidth)!==z.width||S.clientHeight!==s,s=S.clientHeight,I&&m.fillImgs()}
2,99)),V(r,"readystatechange",i)}(),m.picturefill=Q,m.fillImgs=Q,m.teardownRun=y,Q._=m,n.picturefillCFG={pf:m,push:function(t){var e=t.shift();"function"==typeof m[e]?m[e].apply(m,t):(T[e]=t[0],$&&m.fillImgs({reselect:!0}))}};for(;_&&_.length;)n.picturefillCFG.push(_.shift());n.picturefill=Q,"object"==s(t)&&"object"==s(t.exports)?t.exports=Q:void 0!==(o=function(){return Q}.call(e,i,e,t))&&(t.exports=o),m.supPicture||(C["image/webp"]=function(t,e){var i=new n.Image;return i.onerror=function(){C[t]=!1,Q()},i.onload=function(){C[t]=1===i.width,Q()},i.src=e,"pending"}("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document)},7892(t,e,i){var o,n,r;function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}!function(){"use strict";n=[i(1669)],o=function(t){var e=window.Slick||{};e=function(){function e(e,o){var n,r=this;r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(e),appendDots:t(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" data-role="none" role="button" tabindex="0" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},r.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.focussed=!1,r.interrupted=!1,r.hidden="hidden",r.paused=!0,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=t(e),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,n=t(e).data("slick")||{},r.options=t.extend({},r.defaults,o,n),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,void 0!==document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=t.proxy(r.autoPlay,r),r.autoPlayClear=t.proxy(r.autoPlayClear,r),r.autoPlayIterator=t.proxy(r.autoPlayIterator,r),r.changeSlide=t.proxy(r.changeSlide,r),r.clickHandler=t.proxy(r.clickHandler,r),r.selectHandler=t.proxy(r.selectHandler,r),r.setPosition=t.proxy(r.setPosition,r),r.swipeHandler=t.proxy(r.swipeHandler,r),r.dragHandler=t.proxy(r.dragHandler,r),r.keyHandler=t.proxy(r.keyHandler,r),r.instanceUid=i++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.registerBreakpoints(),r.init(!0)}var i=0;return e}(),e.prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,i,o){var n=this;if("boolean"==typeof i)o=i,i=null;else if(0>i||i>=n.slideCount)return!1;n.unload(),"number"==typeof i?0===i&&0===n.$slides.length?t(e).appendTo(n.$slideTrack):o?t(e).insertBefore(n.$slides.eq(i)):t(e).insertAfter(n.$slides.eq(i)):!0===o?t(e).prependTo(n.$slideTrack):t(e).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(e,i){t(i).attr("data-slick-index",e)}),n.$slidesCache=n.$slides,n.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var o={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(e=-e),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,i):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,i):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),t({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?(o[n.animType]="translate("+t+"px, 0px)",n.$slideTrack.css(o)):(o[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(o))},complete:function(){i&&i.call()}})):(n.applyTransition(),e=Math.ceil(e),!1===n.options.vertical?o[n.animType]="translate3d("+e+"px, 0px, 0px)":o[n.animType]="translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(o),i&&setTimeout(function(){n.disableTransition(),i.call()},n.options.speed))},e.prototype.getNavTarget=function(){var e=this,i=e.options.asNavFor;return i&&null!==i&&(i=t(i).not(e.$slider)),i},e.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==s(i)&&i.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;
vendor: 4,385 bytes, line 2
2t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,i,o=this;if(!0===o.options.dots&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)i.append(t("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=i.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),(!0===e.options.centerMode||!0===e.options.swipeToSlide)&&(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,o,n,r,s,a=this;if(o=document.createDocumentFragment(),r=a.$slider.children(),a.options.rows>1){for(s=a.options.slidesPerRow*a.options.rows,n=Math.ceil(r.length/s),t=0;n>t;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var h=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var c=t*s+(e*a.options.slidesPerRow+i);r.get(c)&&h.appendChild(r.get(c))}l.appendChild(h)}o.appendChild(l)}a.$slider.empty().append(o),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var o,n,r,s=this,a=!1,l=s.$slider.width(),h=window.innerWidth||t(window).width();if("window"===s.respondTo?r=h:"slider"===s.respondTo?r=l:"min"===s.respondTo&&(r=Math.min(h,l)),s.options.responsive&&s.options.responsive.length&&null!==s.options.responsive){for(o in n=null,s.breakpoints)s.breakpoints.hasOwnProperty(o)&&(!1===s.originalSettings.mobileFirst?r<s.breakpoints[o]&&(n=s.breakpoints[o]):r>s.breakpoints[o]&&(n=s.breakpoints[o]));null!==n?null!==s.activeBreakpoint?(n!==s.activeBreakpoint||i)&&(s.activeBreakpoint=n,"unslick"===s.breakpointSettings[n]?s.unslick(n):(s.options=t.extend({},s.originalSettings,s.breakpointSettings[n]),!0===e&&(s.currentSlide=s.options.initialSlide),s.refresh(e)),a=n):(s.activeBreakpoint=n,"unslick"===s.breakpointSettings[n]?s.unslick(n):(s.options=t.extend({},s.originalSettings,s.breakpointSettings[n]),!0===e&&(s.currentSlide=s.options.initialSlide),s.refresh(e)),a=n):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,!0===e&&(s.currentSlide=s.options.initialSlide),s.refresh(e),a=n),e||!1===a||s.$slider.trigger("breakpoint",[s,a])}},e.prototype.changeSlide=function(e,i){var o,n,r=this,s=t(e.currentTarget);switch(s.is("a")&&e.preventDefault(),s.is("li")||(s=s.closest("li")),o=r.slideCount%r.options.slidesToScroll!==0?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":n=0===o?r.options.slidesToScroll:r.o
vendor: 1,261 bytes, line 2
2ptions.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-n,!1,i);break;case"next":n=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+n,!1,i);break;case"index":var a=0===e.data.index?0:e.data.index||s.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(a),!1,i),s.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var o in e){if(t<e[o]){t=i;break}i=e[o]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.slick",t.proxy(e.interrupt,e,!1)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.
2slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){t(this).attr("style",t(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(i){i.stopImmediatePropagation();var o=t(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,o=0;if(!0===t.options.infinite)for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)o=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else o=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return o-1},e.prototype.getLeft=function(t){var e,i,o,n=this,r=0;return n.slideOffset=0,i=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,r=i*n.options.slidesToShow*-1),n.slideCount%n.options.slidesToScroll!==0&&t+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(t>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(t-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(t-n.slideCount))*i*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*i*-1))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(t+n.options.slidesToShow-n.slideCount)*i),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?t*n.slideWidth*-1+n.slideOffset:t*i*-1+r,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,o=0,n=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,t=2*e.slideCount);t>i;)n.push(i),i=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,o=this;return i=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(n,r){return r.offsetLeft-i+t(r).outerWidth()/2>-1*o.swipeLeft?(e=r,!1):void 0}),Math.abs(t(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:
2parseInt(t)}},e)},e.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},e.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(i){t(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+i})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(i){t(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+i,id:"slick-slide"+e.instanceUid+i})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},e.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
2,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each(function(){var e=t(this),i=t(this).attr("data-lazy"),o=document.createElement("img");o.onload=function(){e.animate({opacity:0}
vendor: 4,559 bytes, line 2
2,100,function(){e.attr("src",i).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e,i])})},o.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,i])},o.src=i})}var i,o,n=this;!0===n.options.centerMode?!0===n.options.infinite?o=(i=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(i=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),o=n.options.slidesToShow/2+1+2+n.currentSlide):(i=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,o=Math.ceil(i+n.options.slidesToShow),!0===n.options.fade&&(i>0&&i--,o<=n.slideCount&&o++)),e(n.$slider.find(".slick-slide").slice(i,o)),n.slideCount<=n.options.slidesToShow?e(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var t=this;t.checkResponsive(),t.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear(),t.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},e.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&e.initADA())},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var i,o,n,r=this,s=t("img[data-lazy]",r.$slider);s.length?(i=s.first(),o=i.attr("data-lazy"),(n=document.createElement("img")).onload=function(){i.attr("src",o).removeAttr("data-lazy").removeClass("slick-loading"),!0===r.options.adaptiveHeight&&r.setPosition(),r.$slider.trigger("lazyLoaded",[r,i,o]),r.progressiveLazyLoad()},n.onerror=function(){3>e?setTimeout(function(){r.progressiveLazyLoad(e+1)},500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,i,o]),r.progressiveLazyLoad())},n.src=o):r.$slider.trigger("allImagesLoaded",[r])},e.prototype.refresh=function(e){var i,o,n=this;o=n.slideCount-n.options.slidesToShow,!n.options.infinite&&n.currentSlide>o&&(n.currentSlide=o),n.slideCount<=n.options.slidesToShow&&(n.currentSlide=0),i=n.currentSlide,n.destroy(!0),t.extend(n,n.initials,{currentSlide:i}),n.init(),e||n.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,o,n=this,r=n.options.responsive||null;if("array"===t.type(r)&&r.length){for(e in n.respondTo=n.options.respondTo||"window",r)if(o=n.breakpoints.length-1,i=r[e].breakpoint,r.hasOwnProperty(e)){for(;o>=0;)n.breakpoints[o]&&n.breakpoints[o]===i&&n.breakpoints.splice(o,1),o--;n.breakpoints.push(i),n.breakpointSettings[i]=r[e].settings}n.breakpoints.sort(function(t,e){return n.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))}
2,e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var o=this;return"boolean"==typeof t?t=!0===(e=t)?0:o.slideCount-1:t=!0===e?--t:t,!(o.slideCount<1||0>t||t>o.slideCount-1)&&(o.unload(),!0===i?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(t).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,void o.reinit())},e.prototype.setCSS=function(t){var e,i,o=this,n={};!0===o.options.rtl&&(t=-t),e="left"==o.positionProp?Math.ceil(t)+"px":"0px",i="top"==o.positionProp?Math.ceil(t)+"px":"0px",n[o.positionProp]=t,!1===o.transformsEnabled?o.$slideTrack.css(n):(n={},!1===o.cssTransitions?(n[o.animType]="translate("+e+", "+i+")",o.$slideTrack.css(n)):(n[o.animType]="translate3d("+e+", "+i+", 0px)",o.$slideTrack.css(n)))},e.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each(function(o,n){e=i.slideWidth*o*-1,!0===i.options.rtl?t(n).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}
2):t(n).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,i,o,n,r,s=this,a=!1;if("object"===t.type(arguments[0])?(o=arguments[0],a=arguments[1],r="multiple"):"string"===t.type(arguments[0])&&(o=arguments[0],n=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)s.options[o]=n;else if("multiple"===r)t.each(o,function(t,e){s.options[t]=e});else if("responsive"===r)for(i in n)if("array"!==t.type(s.options.responsive))s.options.responsive=[n[i]];else{for(e=s.options.responsive.length-1;e>=0;)s.options.responsive[e].breakpoint===n[i].breakpoint&&s.options.responsive.splice(e,1),e--;s.options.responsive.push(n[i])}a&&(s.unload(),s.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),(void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.msTransition)&&!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,i,o,n,r=this;i=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(t).addClass("slick-current"),!0===r.options.centerMode?(e=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(t>=e&&t<=r.slideCount-1-e?r.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=r.options.slidesToShow+t,i.slice(o-e+1,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-r.options.slidesToShow).addClass("slick-center"):t===r.slideCount-1&&i.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(t).addClass("slick-center")):t>=0&&t<=r.slideCount-r.options.slidesToShow?r.$slides.slice(t,t+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=r.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(n=r.slideCount%r.options.slidesToShow,o=!0===r.options.infinite?r.options.slidesToShow+t:t,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-t<r.options.slidesToShow?i.slice(o-(r.options.slidesToShow-n),o+n).addClass("slick-active").attr("aria-hidden","false"):i.slice(o,o+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===r.options.lazyLoad&&r.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,o,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(i=null,n.slideCount>n.options.slidesToShow)){for(o=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-o;e-=1)i=e-1,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;o>e;e+=1)i=e,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.interrupt=function(t){var e=this;t||e.autoPlay(),e.interrupted=t},e.prototype.selectHandler=function(e){var i=this,o=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),n=parseInt(o.attr("data-slick-index"));return n||(n=0),i.slideCount<=i.options.slidesToShow?(i.setSlideClasses(n),void i.asNavFor(n)):void i.slideHandler(n)}
2,e.prototype.slideHandler=function(t,e,i){var o,n,r,s,a,l=null,h=this;return e=e||!1,!0===h.animating&&!0===h.options.waitForAnimate||!0===h.options.fade&&h.currentSlide===t||h.slideCount<=h.options.slidesToShow?void 0:(!1===e&&h.asNavFor(t),o=t,l=h.getLeft(o),s=h.getLeft(h.currentSlide),h.currentLeft=null===h.swipeLeft?s:h.swipeLeft,!1===h.options.infinite&&!1===h.options.centerMode&&(0>t||t>h.getDotCount()*h.options.slidesToScroll)||!1===h.options.infinite&&!0===h.options.centerMode&&(0>t||t>h.slideCount-h.options.slidesToScroll)?void(!1===h.options.fade&&(o=h.currentSlide,!0!==i?h.animateSlide(s,function(){h.postSlide(o)}):h.postSlide(o))):(h.options.autoplay&&clearInterval(h.autoPlayTimer),n=0>o?h.slideCount%h.options.slidesToScroll!==0?h.slideCount-h.slideCount%h.options.slidesToScroll:h.slideCount+o:o>=h.slideCount?h.slideCount%h.options.slidesToScroll!==0?0:o-h.slideCount:o,h.animating=!0,h.$slider.trigger("beforeChange",[h,h.currentSlide,n]),r=h.currentSlide,h.currentSlide=n,h.setSlideClasses(h.currentSlide),h.options.asNavFor&&((a=(a=h.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(h.currentSlide)),h.updateDots(),h.updateArrows(),!0===h.options.fade?(!0!==i?(h.fadeSlideOut(r),h.fadeSlide(n,function(){h.postSlide(n)})):h.postSlide(n),void h.animateHeight()):void(!0!==i?h.animateSlide(l,function(){h.postSlide(n)}):h.postSlide(n))))},e.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,o,n=this;return t=n.touchObject.startX-n.touchObject.curX,e=n.touchObject.startY-n.touchObject.curY,i=Math.atan2(e,t),0>(o=Math.round(180*i/Math.PI))&&(o=360-Math.abs(o)),45>=o&&o>=0||360>=o&&o>=315?!1===n.options.rtl?"left":"right":o>=135&&225>=o?!1===n.options.rtl?"right":"left":!0===n.options.verticalSwiping?o>=35&&135>=o?"down":"up":"vertical"},e.prototype.swipeEnd=function(t){var e,i,o=this;if(o.dragging=!1,o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(i=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=i&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,i]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,i,o,n,r,s=this;return r=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!s.dragging||r&&1!==r.length)&&(e=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==r?r[0].pageX:t.clientX,s.touchObject.curY=void 0!==r?r[0].pageY:t.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2)))),"vertical"!==(i=s.swipeDirection())?(void 0!==t.originalEvent&&s.touchObject.swipeLength>4&&t.preventDefault(),n=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(n=s.touchObject.curY>s.touchObject.startY?1:-1),o=s.touchObject.swipeLength,s.touchObject.edgeHit=!1,!1===s.options.infinite&&(0===s.currentSlide&&"right"===i||s.currentSlide>=s.getDotCount()&&"left"===i)&&(o=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=e+o*n:s.swipeLeft=e+o*(s.$list.height()/s.listWidth)*n,!0===s.options.verticalSwiping&&(s.swipeLeft=e+o*n),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))):void 0)},e.prototype.swipeStart=function(t){var e,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?(i.touchObject={},!1):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(i.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
2,e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},e.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,i,o=this,n=arguments[0],r=Array.prototype.slice.call(arguments,1),a=o.length;for(t=0;a>t;t++)if("object"==s(n)||void 0===n?o[t].slick=new e(o[t],n):i=o[t].slick[n].apply(o[t].slick,r),void 0!==i)return i;return o}},void 0===(r="function"==typeof o?o.apply(e,n):o)||(t.exports=r)}()},8456(t,e,i){var o,n,r,s;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}s=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e="transitionend";function i(t){return{}.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()}function o(e){var i=this,o=!1;return t(this).one(n.TRANSITION_END,function(){o=!0}),setTimeout(function(){o||n.triggerTransitionEnd(i)},e),this}var n={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var i=t.getAttribute("href");e=i&&"#"!==i?i.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var i=t(e).css("transition-duration"),o=t(e).css("transition-delay"),n=parseFloat(i),r=parseFloat(o);return n||r?(i=i.split(",")[0],o=o.split(",")[0],1e3*(parseFloat(i)+parseFloat(o))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(i){t(i).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,o){for(var r in o)if(Object.prototype.hasOwnProperty.call(o,r)){var s=o[r],a=e[r],l=a&&n.isElement(a)?"element":i(a);if(!new RegExp(s).test(l))throw new Error(t.toUpperCase()+': Option "'+r+'" provided type "'+l+'" but expected type "'+s+'".')}},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?n.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};return n.jQueryDetection(),t.fn.emulateTransitionEnd=o,t.event.special[n.TRANSITION_END]={bindType:e,delegateType:e,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},n},"object"===a(e)?t.exports=s(i(1669)):(n=[i(1669)],void 0===(r="function"==typeof(o=s)?o.apply(e,n):o)||(t.exports=r))},189(){!function(t){var e=function(){function e(e,i,o){var n=i?i.attr("data-animation-offset")||o.offset:null;e.each(function(){var e=t(this),r=e.attr("data-animation"),s=e.attr("data-animation-delay")||o.delay,a=e.attr("data-animation-offset")||o.offset;e.css({"-webkit-animation-delay":s,"-moz-animation-delay":s,"animation-delay":s,opacity:0}
2),(i||e).waypoint(function(){e.addClass("animated").addClass(r).css({opacity:1})},{triggerOnce:!0,offset:n||a})})}function i(t){return"."+t}return function(o){o||(o={});var n={offset:o.offset||"90%",delay:o.delay||"0s",animateClass:o.animateClass||"animate",animateGroupClass:o.animateGroupClass||"animate-group"},r=i(n.animateGroupClass),s=i(n.animateClass);t(r).each(function(i,o){var r=t(o);e(t(o).find(s),r,n)}),t(s).filter(function(e,i){return 0===t(i).parents(r).length}).each(function(i,o){e(t(o),null,n)})}}();t(document).ready(function(){e()})}(window.jQuery,window.Drupal)},5895(){!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r],a=o.oldScroll<s.triggerPoint,l=o.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}}
2,e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,h,c,d,p=this.waypoints[r][a],u=p.options.offset,f=p.triggerPoint,g=0,m=null==f;p.element!==p.element.window&&(g=p.adapter.offset()[s.offsetProp]),"function"==typeof u?u=u.apply(p):"string"==typeof u&&(u=parseFloat(u),p.options.offset.indexOf("%")>-1&&(u=Math.ceil(s.contextDimension*u/100))),l=s.contextScroll-s.contextOffset,p.triggerPoint=g+l-u,h=f<s.oldScroll,c=p.triggerPoint>=s.oldScroll,d=!h&&!c,!m&&(h&&c)?(p.queueTrigger(s.backward),o[p.group.id]=p.group):(!m&&d||m&&s.oldScroll>=p.triggerPoint)&&(p.queueTrigger(s.forward),o[p.group.id]=p.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&((o=t.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},4783(t,e,i){"use strict";var o,n,r;n="undefined"!=typeof window?window:this,r=function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i))}var i={};return e(i,"Core/Globals.js",[],function(){var e,i=void 0!==t?t:"undefined"!=typeof window?window:{};return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="9.3.3",t.win=i,t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>
2parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,i),t.win.removeEventListener("testPassive",t.noop,i))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(e||(e={})),e}),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],function(t){function e(i,o,n,r){var s=o?"Highcharts error":"Highcharts warning";32===i&&(i=s+": Deprecated member");var a=l(i),h=a?s+" #"+i+": www.highcharts.com/errors/"+i+"/":i.toString();if(void 0!==r){var c="";a&&(h+="?"),g(r,function(t,e){c+="\n - "+e+": "+t,a&&(h+=encodeURI(e)+"="+encodeURI(t))}),h+=c}v(t,"displayError",{chart:n,code:i,message:h,params:r},function(){if(o)throw Error(h);b.console&&-1===e.messages.indexOf(h)&&console.warn(h)}),e.messages.push(h)}function i(t,e){return parseInt(t,e||10)}function o(t){return"string"==typeof t}function n(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function r(t,e){return!(!t||"object"!=typeof t||e&&n(t))}function s(t){return r(t)&&"number"==typeof t.nodeType}function a(t){var e=t&&t.constructor;return!(!r(t,!0)||s(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function h(t){return null!=t}function c(t,e,i){var n;return o(e)?h(i)?t.setAttribute(e,i):t&&t.getAttribute&&((n=t.getAttribute(e))||"class"!==e||(n=t.getAttribute(e+"Name"))):g(e,function(e,i){h(e)?t.setAttribute(i,e):t.removeAttribute(i)}),n}function d(t,e){var i;for(i in t||(t={}),e)t[i]=e[i];return t}function p(){for(var t=arguments,e=t.length,i=0;i<e;i++){var o=t[i];if(null!=o)return o}}function u(e,i){t.isMS&&!t.svg&&i&&void 0!==i.opacity&&(i.filter="alpha(opacity="+100*i.opacity+")"),d(e.style,i)}function f(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function g(t,e,i){for(var o in t)Object.hasOwnProperty.call(t,o)&&e.call(i||t[o],t[o],o,t)}function m(e,i,o){function n(i,o){var n=e.removeEventListener||t.removeEventListenerPolyfill;n&&n.call(e,i,o,!1)}function r(t){var o;if(e.nodeName){if(i){var r={};r[i]=!0}else r=t;g(r,function(e,i){if(t[i])for(o=t[i].length;o--;)n(i,t[i][o].fn)})}}var s="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(s,"hcEvents")){var a=s.hcEvents;i?(s=a[i]||[],o?(a[i]=s.filter(function(t){return o!==t.fn}),n(i,o)):(r(a),a[i]=[])):(r(a),delete s.hcEvents)}}function v(e,i,o,n){if(o=o||{},x.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var r=x.createEvent("Events");r.initEvent(i,!0,!0),o=d(r,o),e.dispatchEvent?e.dispatchEvent(o):e.fireEvent(i,o)}else if(e.hcEvents){o.target||d(o,{preventDefault:function(){o.defaultPrevented=!0},target:e,type:i}),r=[];for(var s=e,a=!1;s.hcEvents;)Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents[i]&&(r.length&&(a=!0),r.unshift.apply(r,s.hcEvents[i])),s=Object.getPrototypeOf(s);a&&r.sort(function(t,e){return t.order-e.order}),r.forEach(function(t){!1===t.fn.call(e,o)&&o.preventDefault()})}n&&!o.defaultPrevented&&n.call(e,o)}var y=t.charts,x=t.doc,b=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var w=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var i,o=t.length;for(i=0;i<o;i++)if(e(t[i],i))return t[i]};g({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(i,o){t[o]=function(t){var n;return e(32,!1,void 0,((n={})["Highcharts."+o]="use Array."+i,n)),Array.prototype[i].apply(t,[].slice.call(arguments,1))}});var k,S=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(k?"":t)+e++}}();return b.jQuery&&(b.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[o(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):y[c(this[0],"data-highcharts-chart")]}),w={addEvent:function(e,i,o,n){void 0===n&&(n={});var r="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(r,"hcEvents")||(r.hcEvents={}),r=r.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var s=e.addEventListener||t.addEventListenerPolyfill;return s&&s.call(e,i,o,!!t.supportsPassiveEvents&&{passive:void 0===n.passive?-1!==i.indexOf("touch"):n.passive,capture:!1}),r[i]||(r[i]=[]),r[i].push({fn:o,order:"number"==typeof n.order?n.order:1/0}),r[i].sort(function(t,e){return t.order-e.order}),function(){m(e,i,o)}},arrayMax:function(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i}
2,attr:c,clamp:function(t,e,i){return t>e?t<i?t:i:e},cleanRecursively:function t(e,i){var o={};return g(e,function(n,s){r(e[s],!0)&&!e.nodeType&&i[s]?(n=t(e[s],i[s]),Object.keys(n).length&&(o[s]=n)):(r(e[s])||e[s]!==i[s])&&(o[s]=e[s])}),o},clearTimeout:function(t){h(t)&&clearTimeout(t)},correctFloat:f,createElement:function(t,e,i,o,n){return t=x.createElement(t),e&&d(t,e),n&&u(t,{padding:"0",border:"none",margin:"0"}),i&&u(t,i),o&&o.appendChild(t),t},css:u,defined:h,destroyObjectProperties:function(t,e){g(t,function(i,o){i&&i!==e&&i.destroy&&i.destroy(),delete t[o]})},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}},error:e,extend:d,extendClass:function(t,e){var i=function(){};return d(i.prototype=new t,e),i},find:w,fireEvent:v,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&h(e);){var i=t.shift();if(void 0===i||"__proto__"===i)return;
2if(!h(e=e[i])||"function"==typeof e||"number"==typeof e.nodeType||e===b)return}return e},getStyle:function o(n,r,s){var a=t.getStyle||o;if("width"===r)return r=Math.min(n.offsetWidth,n.scrollWidth),(s=n.getBoundingClientRect&&n.getBoundingClientRect().width)<r&&s>=r-1&&(r=Math.floor(s)),Math.max(0,r-(a(n,"padding-left",!0)||0)-(a(n,"padding-right",!0)||0));if("height"===r)return Math.max(0,Math.min(n.offsetHeight,n.scrollHeight)-(a(n,"padding-top",!0)||0)-(a(n,"padding-bottom",!0)||0));if(b.getComputedStyle||e(27,!0),n=b.getComputedStyle(n,void 0)){var l=n.getPropertyValue(r);p(s,"opacity"!==r)&&(l=i(l))}return l},inArray:function(t,i,o){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,o)},isArray:n,isClass:a,isDOMElement:s,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:r,isString:o,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,i={},o=function(t,e){return"object"!=typeof t&&(t={}),g(e,function(i,n){"__proto__"!==n&&"constructor"!==n&&(!r(i,!0)||a(i)||s(i)?t[n]=e[n]:t[n]=o(t[n]||{},i))}),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var n=e.length;for(t=0;t<n;t++)i=o(i,e[t]);return i},normalizeTickInterval:function(t,e,i,o,n){var r=t,s=t/(i=p(i,1));for(e||(e=n?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===o&&(1===i?e=e.filter(function(t){return 0==t%1}):.1>=i&&(e=[1/i]))),o=0;o<e.length&&(r=e[o],!(n&&r*i>=t||!n&&s<=(e[o]+(e[o+1]||e[o]))/2));o++);return f(r*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:g,offset:function(t){var e=x.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(b.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(b.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:p,pInt:i,relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:m,splat:function(t){return n(t)?t:[t]},stableSort:function(t,e){var i,o,n=t.length;for(o=0;o<n;o++)t[o].safeI=o;for(t.sort(function(t,o){return 0===(i=e(t,o))?t.safeI-o.safeI:i}),o=0;o<n;o++)delete t[o].safeI},syncTimeout:function(t,e,i){return 0<e?setTimeout(t,e,i):(t.call(0,i),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:S,useSerialIds:function(t){return k=p(t,k)},wrap:function(t,e,i){var o=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,n=this;return n.proceed=function(){o.apply(n,arguments.length?arguments:e)},t.unshift(o),t=i.apply(this,t),n.proceed=null,t}}},w}),e(i,"Core/Chart/ChartDefaults.js",[],function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),e(i,"Core/Color/Color.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e){var i=e.isNumber,o=e.merge,n=e.pInt;return e=function(){function e(i){this.rgba=[NaN,NaN,NaN,NaN],this.input=i;var o=t.Color;return o&&o!==e?new o(i):this instanceof e?void this.init(i):new e(i)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var i;if("object"==typeof t&&void 0!==t.stops)this.stops=t.stops.map(function(t){return new e(t[1])});else if("string"==typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var o=t.length,n=parseInt(t.substr(1),16);7===o?i=[(16711680&n)>>16,(65280&n)>>8,255&n,1]:4===o&&(i=[(3840&n)>>4|(3840&n)>>8,(240&n)>>4|240&n,(15&n)<<4|15&n,1])}if(!i)for(n=e.parsers.length;n--&&!i;){var r=e.parsers[n];(o=r.regex.exec(t))&&(i=r.parse(o))}}i&&(this.rgba=i)},e.prototype.get=function(t){var e=this.input,n=this.rgba;if("object"==typeof e&&void 0!==this.stops){var r=o(e);return r.stops=[].slice.call(r.stops),this.stops.forEach(function(e,i){r.stops[i]=[r.stops[i][0],e.get(t)]}),r}return n&&i(n[0])?"rgb"===t||!t&&1===n[3]?"rgb("+n[0]+","+n[1]+","+n[2]+")":"a"===t?""+n[3]:"rgba("+n.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach(function(e){e.brighten(t)});else if(i(t)&&0!==t)for(var o=0;3>o;o++)e[o]+=n(255*t),0>e[o]&&(e[o]=0),255<e[o]&&(e[o]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var o=this.rgba,n=t.rgba;return i(o[0])&&i(n[0])?((t=1!==n[3]||1!==o[3])?"rgba(":"rgb(")+Math.round(n[0]+(o[0]-n[0])*(1-e))+","+Math.round(n[1]+(o[1]-n[1])*(1-e))+","+Math.round(n[2]+(o[2]-n[2])*(1-e))+(t?","+(n[3]+(o[3]-n[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[n(t[1]),n(t[2]),n(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[n(t[1]),n(t[2]),n(t[3]),1]}}],e.None=new e(""),e}(),e}),e(i,"Core/Color/Palettes.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}}),e(i,"Core/Time.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e){var i=t.win,o=e.defined,n=e.error,r=e.extend,s=e.isObject,a=e.merge,l=e.objectEach,h=e.pad,c=e.pick,d=e.splat,p=e.timeUnits,u=t.isSafari&&i.Intl&&i.Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&i.Intl&&!i.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=i.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var i=e.getTime(),o=i-this.getTimezoneOffset(e);return e.setTime(o),t=e["getUTC"+t](),e.setTime(i),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()}
2,e.prototype.set=function(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0==this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](i);var o=this.getTimezoneOffset(e);return o=e.getTime()-o,e.setTime(o),e["setUTC"+t](i),t=this.getTimezoneOffset(e),o=e.getTime()+t,e.setTime(o)}return this.useUTC||u&&"FullYear"===t?e["setUTC"+t](i):e["set"+t](i)},e.prototype.update=function(t){var e=c(t&&t.useUTC,!0);this.options=t=a(!0,this.options||{},t),this.Date=t.Date||i.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,i,o,n,r){if(this.useUTC){var s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s);s+=a;var l=this.getTimezoneOffset(s);a!==l?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||f||(s-=36e5)}else s=new this.Date(t,e,c(i,1),c(o,0),c(n,0),c(r,0)).getTime();return s},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,o=e.getTimezoneOffset,r=e.moment||i.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(r)return function(t){return 6e4*-r.tz(t,e.timezone).utcOffset()};n(25)}return this.useUTC&&o?function(t){return 6e4*o(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,i,n){if(!o(i)||isNaN(i))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=c(e,"%Y-%m-%d %H:%M:%S");var s=this,a=new this.Date(i),d=this.get("Hours",a),p=this.get("Day",a),u=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,v=m&&m.weekdays,y=m&&m.shortWeekdays;return a=r({a:y?y[p]:v[p].substr(0,3),A:v[p],d:h(u),e:h(u,2," "),w:p,b:m.shortMonths[f],B:m.months[f],m:h(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:h(d),k:d,I:h(d%12||12),l:d%12||12,M:h(this.get("Minutes",a)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:h(a.getSeconds()),L:h(Math.floor(i%1e3),3)},t.dateFormats),l(a,function(t,o){for(;-1!==e.indexOf("%"+o);)e=e.replace("%"+o,"function"==typeof t?t.call(s,i):t)}),n?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return s(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,i,n){var s,a=this,l=[],h={},d=new a.Date(e),u=t.unitRange,f=t.count||1;if(n=c(n,1),o(e)){if(a.set("Milliseconds",d,u>=p.second?0:f*Math.floor(a.get("Milliseconds",d)/f)),u>=p.second&&a.set("Seconds",d,u>=p.minute?0:f*Math.floor(a.get("Seconds",d)/f)),u>=p.minute&&a.set("Minutes",d,u>=p.hour?0:f*Math.floor(a.get("Minutes",d)/f)),u>=p.hour&&a.set("Hours",d,u>=p.day?0:f*Math.floor(a.get("Hours",d)/f)),u>=p.day&&a.set("Date",d,u>=p.month?1:Math.max(1,f*Math.floor(a.get("Date",d)/f))),u>=p.month){a.set("Month",d,u>=p.year?0:f*Math.floor(a.get("Month",d)/f));var g=a.get("FullYear",d)}u>=p.year&&a.set("FullYear",d,g-g%f),u===p.week&&(g=a.get("Day",d),a.set("Date",d,a.get("Date",d)-g+n+(g<n?-7:0))),g=a.get("FullYear",d),n=a.get("Month",d);var m=a.get("Date",d),v=a.get("Hours",d);for(e=d.getTime(),!a.variableTimezone&&a.useUTC||!o(i)||(s=i-e>4*p.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(i)),e=d.getTime(),d=1;e<i;)l.push(e),e=u===p.year?a.makeTime(g+d*f,0):u===p.month?a.makeTime(g,n+d*f):!s||u!==p.day&&u!==p.week?s&&u===p.hour&&1<f?a.makeTime(g,n,m,v+d*f):e+u*f:a.makeTime(g,n,m+
2d*f*(u===p.day?1:7)),d++;l.push(e),u<=p.hour&&1e4>l.length&&l.forEach(function(t){0==t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(h[t]="day")})}return l.info=r(t,{higherRanks:h,totalRange:u*f}),l},e.prototype.getDateFormat=function(t,e,i,o){var n=this.dateFormat("%m-%d %H:%M:%S.%L",e),r={millisecond:15,second:12,minute:9,hour:6,day:3},s="millisecond";for(a in p){if(t===p.week&&+this.dateFormat("%w",e)===i&&"00:00:00.000"===n.substr(6)){var a="week";break}if(p[a]>t){a=s;break}if(r[a]&&n.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(s=a)}if(a)var l=this.resolveDTLFormat(o[a]).main;return l},e}(),e}),e(i,"Core/DefaultOptions.js",[i["Core/Chart/ChartDefaults.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palettes.js"],i["Core/Time.js"],i["Core/Utilities.js"]],function(t,e,i,o,n,r){e=e.parse;var s=r.merge,a={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:i.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">â</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};a.chart.styledMode=!1;var l=new n(s(a.global,a.time));return t={defaultOptions:a,defaultTime:l,getOptions:function(){return a},setOptions:function(t){return s(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(s(a.global,a.time,t.global,t.time)):i.time=l),a}}}),e(i,"Core/Animation/Fx.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,i){var o=t.parse,n=e.win,r=i.isNumber,s=i.objectEach;return function(){function t(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=this.now||0,o=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var n=0;n<t.length;n++){for(var s=e[n],a=t[n],l=[],h=0;h<a.length;h++){var c=s[h],d=a[h];r(c)&&r(d)&&("A"!==a[0]||4!==h&&5!==h)?l[h]=c+i*(d-c):l[h]=d}o.push(l)}else o=t;else o=this.toD||[];this.elem.attr("d",o,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,i=this.now,o=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,o&&o.call(t,i,this)},t.prototype.run=function(e,i,o){var r=this,s=r.options,a=function(t){return!a.stopped&&r.step(t)},l=n.requestAnimationFrame||function(t){setTimeout(t,13)},h=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&l(h)};e!==i||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=i,this.unit=o,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.timers.push(a)&&l(h)):(delete s.curAnim[this.prop],s.complete&&0===Object.keys(s.
2curAnim).length&&s.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,i=this.options,o=this.elem,n=i.complete,r=i.duration,a=i.curAnim;if(o.attr&&!o.element)t=!1;else if(t||e>=r+this.startTime){this.now=this.end,this.pos=1,this.update();var l=a[this.prop]=!0;s(a,function(t){!0!==t&&(l=!1)}),l&&n&&n.call(o),t=!1}else this.pos=i.easing((e-this.startTime)/r),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,i){function o(t,e){for(;t.length<p;){var i=t[0],o=e[p-t.length];o&&"M"===i[0]&&(t[0]="C"===o[0]?["C",i[1],i[2],i[1],i[2],i[1],i[2]]:["L",i[1],i[2]]),t.unshift(i),l&&(i=t.pop(),t.push(t[t.length-1],i))}}function n(t,e){for(;t.length<p;)if("C"===(e=t[Math.floor(t.length/h)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var i=t[Math.floor(t.length/h)].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}var s=t.startX,a=t.endX;i=i.slice();var l=t.isArea,h=l?2:1;if(!(e=e&&e.slice()))return[i,i];if(s&&a&&a.length){for(t=0;t<s.length;t++){if(s[t]===a[0]){var c=t;break}if(s[0]===a[a.length-s.length+t]){c=t;var d=!0;break}if(s[s.length-1]===a[a.length-s.length+t]){c=s.length-t;break}}void 0===c&&(e=[])}if(e.length&&r(c)){var p=i.length+c*h;d?(o(e,i),n(i,e)):(o(i,e),n(e,i))}return[e,i]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,o(this.start).tweenTo(o(this.end),this.pos),void 0,!0)},t.timers=[],t}()}),e(i,"Core/Animation/AnimationUtilities.js",[i["Core/Animation/Fx.js"],i["Core/Utilities.js"]],function(t,e){function i(t){return l(t)?h({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function o(e,i){for(var o=t.timers.length;o--;)t.timers[o].elem!==e||i&&i!==t.timers[o].prop||(t.timers[o].stopped=!0)}var n=e.defined,r=e.getStyle,s=e.isArray,a=e.isNumber,l=e.isObject,h=e.merge,c=e.objectEach,d=e.pick;return{animate:function(e,i,n){var d,p,u,f="";if(!l(n)){var g=arguments;n={duration:g[2],easing:g[3],complete:g[4]}}a(n.duration)||(n.duration=400),n.easing="function"==typeof n.easing?n.easing:Math[n.easing]||Math.easeInOutSine,n.curAnim=h(i),c(i,function(a,l){o(e,l),u=new t(e,n,l),p=void 0,"d"===l&&s(i.d)?(u.paths=u.initPath(e,e.pathArray,i.d),u.toD=i.d,d=0,p=1):e.attr?d=e.attr(l):(d=parseFloat(r(e,l))||0,"opacity"!==l&&(f="px")),p||(p=a),"string"==typeof p&&p.match("px")&&(p=p.replace(/px/g,"")),u.run(d,p,f)})},animObject:i,getDeferredAnimation:function(t,e,o){var r=i(e),s=0,a=0;return(o?[o]:t.series).forEach(function(t){t=i(t.options.animation),s=e&&n(e.defer)?r.defer:Math.max(s,t.duration+t.defer),a=Math.min(r.duration,t.duration)}),t.renderer.forExport&&(s=0),{defer:Math.max(0,s-a),duration:Math.min(s,a)}},setAnimation:function(t,e){e.renderer.globalAnimation=d(t,e.options.chart.animation,!0)},stop:o}}),e(i,"Core/Renderer/HTML/AST.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e){var i=t.SVG_NS,o=e.attr,n=e.createElement,r=e.error,s=e.isFunction,a=e.isString,l=e.objectEach,h=e.splat,c=(e=t.win.trustedTypes)&&s(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),d=c?c.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(d,"text/html")}catch(t){p=!1}return s=function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return l(t,function(i,o){var n=!0;-1===e.allowedAttributes.indexOf(o)&&(n=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(o)&&(n=a(i)&&e.allowedReferences.some(function(t){return 0===i.indexOf(t)})),n||(r("Highcharts warning: Invalid attribute '"+o+"' in config"),delete t[o])}),t},e.setElementHTML=function(t,i){t.innerHTML=e.emptyHTML,i&&new e(i).addToDOM(t)},e.prototype.addToDOM=function(n){return function n(s,a){var c;return h(s).forEach(function(s){var h=s.tagName,d=s.textContent?t.doc.createTextNode(s.textContent):void 0;if(h)if("#text"===h)var p=d;else if(-1!==e.allowedTags.indexOf(h)){h=t.doc.createElementNS("svg"===h?i:a.namespaceURI||i,h);var u=s.attributes||{};l(s,function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(u[e]=t)}),o(h,e.filterUserAttributes(u)),d&&h.appendChild(d),n(s.children||[],h),p=h}else r("Highcharts warning: Invalid tagName "+h+" in config");p&&a.appendChild(p),c=p}),c}(this.nodes,n)},e.prototype.parseMarkup=function(t){var e=[];
2if(t=t.trim(),p)t=(new DOMParser).parseFromString(c?c.createHTML(t):t,"text/html");else{var i=n("div");i.innerHTML=t,t={body:i}}var o=function(t,e){var i=t.nodeName.toLowerCase(),n={tagName:i};if("#text"===i&&(n.textContent=t.textContent||""),i=t.attributes){var r={};[].forEach.call(i,function(t){r[t.name]=t.value}),n.attributes=r}if(t.childNodes.length){var s=[];[].forEach.call(t.childNodes,function(t){o(t,s)}),s.length&&(n.children=s)}e.push(n)};return[].forEach.call(t.body.childNodes,function(t){return o(t,e)}),e},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=d,e}(),s}),e(i,"Core/FormatUtilities.js",[i["Core/DefaultOptions.js"],i["Core/Utilities.js"]],function(t,e){function i(t,e,i,n){t=+t||0,e=+e;var r=o.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,c=t.toString().split("e"),d=e;if(-1===e)e=Math.min(h,20);else if(s(e)){if(e&&c[1]&&0>c[1]){var p=e+ +c[1];0<=p?(c[0]=(+c[0]).toExponential(p).split("e")[0],e=p):(c[0]=c[0].split(".")[0]||0,t=20>e?(c[0]*Math.pow(10,c[1])).toFixed(e):0,c[1]=0)}}else e=2;p=(Math.abs(c[1]?c[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e);var u=3<(h=String(l(p))).length?h.length%3:0;return i=a(i,r.decimalPoint),n=a(n,r.thousandsSep),t=(0>t?"-":"")+(u?h.substr(0,u)+n:""),t=0>+c[1]&&!d?"0":t+h.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+n),e&&(t+=i+p.slice(-e)),c[1]&&0!==+t&&(t+="e"+c[1]),t}var o=t.defaultOptions,n=t.defaultTime,r=e.getNestedProperty,s=e.isNumber,a=e.pick,l=e.pInt;return{dateFormat:function(t,e,i){return n.dateFormat(t,e,i)},format:function(t,e,s){var a="{",l=!1,h=/f$/,c=/\.([0-9])/,d=o.lang,p=s&&s.time||n;s=s&&s.numberFormatter||i;for(var u=[];t;){var f=t.indexOf(a);if(-1===f)break;var g=t.slice(0,f);if(l){if(g=g.split(":"),a=r(g.shift()||"",e),g.length&&"number"==typeof a)if(g=g.join(":"),h.test(g)){var m=parseInt((g.match(c)||["","-1"])[1],10);null!==a&&(a=s(a,m,d.decimalPoint,-1<g.indexOf(",")?d.thousandsSep:""))}else a=p.dateFormat(g,a);u.push(a)}else u.push(g);t=t.slice(f+1),a=(l=!l)?"}":"{"}return u.push(t),u.join("")},numberFormat:i}}),e(i,"Core/Renderer/RendererUtilities.js",[i["Core/Utilities.js"]],function(t){var e,i=t.clamp,o=t.pick,n=t.stableSort;return function(t){t.distribute=function t(e,r,s){var a,l=e,h=l.reducedLen||r,c=function(t,e){return(e.rank||0)-(t.rank||0)},d=function(t,e){return t.target-e.target},p=!0,u=[],f=0;for(a=e.length;a--;)f+=e[a].size;if(f>h){for(n(e,c),f=a=0;f<=h;)f+=e[a].size,a++;u=e.splice(a-1,e.length)}for(n(e,d),e=e.map(function(t){return{size:t.size,targets:[t.target],align:o(t.align,.5)}});p;){for(a=e.length;a--;)h=e[a],c=(Math.min.apply(0,h.targets)+Math.max.apply(0,h.targets))/2,h.pos=i(c-h.size*h.align,0,r-h.size);for(a=e.length,p=!1;a--;)0<a&&e[a-1].pos+e[a-1].size>e[a].pos&&(e[a-1].size+=e[a].size,e[a-1].targets=e[a-1].targets.concat(e[a].targets),e[a-1].align=.5,e[a-1].pos+e[a-1].size>r&&(e[a-1].pos=r-e[a-1].size),e.splice(a,1),p=!0)}return l.push.apply(l,u),a=0,e.some(function(e){var i=0;return(e.targets||[]).some(function(){return l[a].pos=e.pos+i,void 0!==s&&Math.abs(l[a].pos-l[a].target)>s?(l.slice(0,a+1).forEach(function(t){return delete t.pos}),l.reducedLen=(l.reducedLen||r)-.1*r,l.reducedLen>.1*r&&t(l,r,s),!0):(i+=l[a].size,a++,!1)})}),n(l,d),l}}(e||(e={})),e}),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,
2i,o,n){var r=t.animate,s=t.animObject,a=t.stop,l=o.deg2rad,h=o.doc,c=o.noop,d=o.svg,p=o.SVG_NS,u=o.win,f=n.addEvent,g=n.attr,m=n.createElement,v=n.css,y=n.defined,x=n.erase,b=n.extend,w=n.fireEvent,k=n.isArray,S=n.isFunction,C=n.isNumber,T=n.isString,A=n.merge,M=n.objectEach,O=n.pick,P=n.pInt,E=n.syncTimeout,L=n.uniqueKey;return t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=p,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=O(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,i=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var o=this.zIndexSetter();return o||(t?t.element:e.box).appendChild(i),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var i=e?"":this.attr("class")||"";return t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "),t!==i&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,i){var o,n,r,s={},a=this.renderer,l=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||T(i))&&(this.alignTo=o=i||"renderer",x(l,this),l.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=O(i,a[o],"scrollablePlotBox"===o?a.plotBox:void 0,a),o=t.align;var h=t.verticalAlign;return a=(i.x||0)+(t.x||0),l=(i.y||0)+(t.y||0),"right"===o?n=1:"center"===o&&(n=2),n&&(a+=(i.width-(t.width||0))/n),s[e?"translateX":"x"]=Math.round(a),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(l+=(i.height-(t.height||0))/r),s[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](s),this.placed=!0,this.alignAttr=s,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,i){var o=this,n=s(O(e,this.renderer.globalAnimation,!0));return e=n.defer,O(h.hidden,h.msHidden,h.webkitHidden,!1)&&(n.duration=0),0!==n.duration?(i&&(n.complete=i),E(function(){o.element&&r(o,t,n)},e)):(this.attr(t,void 0,i),M(t,function(t,e){n.step&&n.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var i=t.split(" ");if(t=i[i.length-1],(i=i[0])&&"none"!==i&&o.svg){this.fakeTS=!0,this.ySetter=this.xSetter,i=i.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline();var n=h.createElementNS(p,"tspan");g(n,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":i,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),n.appendChild(e)});var r=h.createElementNS(p,"tspan");r.textContent="â",["x","y"].forEach(function(t){var i=e.getAttribute(t);i&&r.setAttribute(t,i)}),n.appendChild(r),e.insertBefore(n,e.firstChild)}},t.prototype.attr=function(t,e,i,o){var n,r,s,l=this.element,h=this.symbolCustomAttribs,c=this;if("string"==typeof t&&void 0!==e){var d=t;(t={})[d]=e}return"string"==typeof t?c=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(M(t,function(e,i){r=!1,o||a(this,i),this.symbolName&&-1!==h.indexOf(i)&&(n||(this.symbolAttr(t),n=!0),r=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),r||((s=this[i+"Setter"]||this._defaultSetter).call(this,e,i,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,e,s))},this),this.afterSetters()),i&&i.call(this),c},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),y(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,o){var n,r,s,a,l,h,c,d,p,u,f,g=this.renderer,m=[];w(this.renderer,"complexColor",{args:arguments},function(){if(t.radialGradient?r="radialGradient":t.linearGradient&&(r="linearGradient"),r){if(s=t[r],l=g.gradients,h=t.stops,p=o.radialReference,k(s)&&(t[r]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===r&&p&&!y(s.gradientUnits)&&(a=s,s=A(s,g.getRadialAttr(p,a),{gradientUnits:"userSpaceOnUse"})),M(s,function(t,e){"id"!==e&&m.push(e,t)}),M(h,function(t){m.push(t)}),m=m.join(","),l[m])u=l[m].attr("id");else{s.id=u=L();var v=l[m]=g.createElement(r).attr(s).add(g.defs);v.radAttr=a,v.stops=[],h.forEach(function(t){0===t[1].indexOf("rgba")?(n=i.parse(t[1]),c=n.get("rgb"),d=n.get("a")):(c=t[1],d=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":d}).add(v),v.stops.push(t)})}f="url("+g.url+"#"+u+")",o.setAttribute(e,f),o.gradient=m,t.toString=function(){return f}}})},t.prototype.css=function(t){var e=this.styles,i={},o=this.element,n=["textOutline","textOverflow","width"],r="",s=!e;if(t&&t.color&&(t.fill=t.color),e&&M(t,function(t,o){e&&e[o]!==t&&(i[o]=t,s=!0)}),s){if(e&&(t=b(e,i)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===o.nodeName.toLowerCase()&&t.width)var a=this.textWidth=P(t.width);
2if(this.styles=t,a&&!d&&this.renderer.forExport&&delete t.width,o.namespaceURI===this.SVG_NS){var l=function(t,e){return"-"+e.toLowerCase()};M(t,function(t,e){-1===n.indexOf(e)&&(r+=e.replace(/([A-Z])/g,l)+":"+t+";")}),r&&g(o,"style",r)}else v(o,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=i.length;t--;)i[t]=""+P(i[t])*O(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},i=t.renderer,o=e.ownerSVGElement,n=i.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,a(t),t.clipPath&&o){var r=t.clipPath;[].forEach.call(o.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1<t.getAttribute("clip-path").indexOf(r.element.id)&&t.removeAttribute("clip-path")}),t.clipPath=r.destroy()}if(t.stops){for(o=0;o<t.stops.length;o++)t.stops[o].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),i.styledMode||t.destroyShadows();n&&n.div&&0===n.div.childNodes.length;)e=n.parentGroup,t.safeRemoveChild(n.div),delete n.div,n=e;t.alignTo&&x(i.alignedObjects,t),M(t,function(e,i){t[i]&&t[i].parentGroup===t&&t[i].destroy&&t[i].destroy(),delete t[i]})},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(t){this.safeRemoveChild(t)},this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var i=t.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&i.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)i.appendChild(t[0]);i.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,i){k(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce(function(t,e,i){return e&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString()},"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0}
2,{duration:O(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)},t.prototype.getBBox=function(e,i){var o=this.renderer,n=this.element,r=this.styles,s=this.textStr,a=o.cache,h=o.cacheKeys,c=n.namespaceURI===this.SVG_NS;i=O(i,this.rotation,0);var d,p=o.styledMode?n&&t.prototype.getStyle.call(n,"font-size"):r&&r.fontSize;if(y(s)){var u=s.toString();-1===u.indexOf("<")&&(u=u.replace(/[0-9]/g,"0")),u+=["",i,p,this.textWidth,r&&r.textOverflow,r&&r.fontWeight].join()}if(u&&!e&&(d=a[u]),!d){if(c||o.forExport){try{var f=this.fakeTS&&function(t){var e=n.querySelector(".highcharts-text-outline");e&&v(e,{display:t})};S(f)&&f("none"),d=n.getBBox?b({},n.getBBox()):{width:n.offsetWidth,height:n.offsetHeight},S(f)&&f("")}catch(t){}(!d||0>d.width)&&(d={width:0,height:0})}else d=this.htmlGetBBox();if(o.isSVG&&(e=d.width,o=d.height,c&&(d.height=o={"11px,17":14,"13px,20":16}[(p||"")+","+Math.round(o)]||o),i&&(c=i*l,d.width=Math.abs(o*Math.sin(c))+Math.abs(e*Math.cos(c)),d.height=Math.abs(o*Math.cos(c))+Math.abs(e*Math.sin(c)))),u&&(""===s||0<d.height)){for(;250<h.length;)delete a[h.shift()];a[u]||h.push(u),a[u]=d}}return d},t.prototype.getStyle=function(t){return u.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?m(e):h.createElementNS(this.SVG_NS,e),this.renderer=t,w(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var i=this.onEvents;return i[t]&&i[t](),i[t]=f(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,i){this.opacity=t=Number(Number(t).toFixed(3)),i.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(T(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,i){var o=this.element,n=this.text?this.text.element:o,r={textAnchor:"text-anchor"},s=!1,a=this.textPathWrapper,l=!a;i=A(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},i);var h=e.filterUserAttributes(i.attributes);if(t&&i&&i.enabled){a&&null===a.element.parentNode?(l=!0,a=a.destroy()):a&&this.removeTextOutline.call(a.parentGroup),this.options&&this.options.padding&&(h.dx=-this.options.padding),a||(this.textPathWrapper=a=this.renderer.createElement("textPath"),s=!0);var d=a.element;if((i=t.element.getAttribute("id"))||t.element.setAttribute("id",i=L()),l)for(n.setAttribute("y",0),C(h.dx)&&n.setAttribute("x",-h.dx),t=[].slice.call(n.childNodes),l=0;l<t.length;l++){var p=t[l];p.nodeType!==u.Node.TEXT_NODE&&"tspan"!==p.nodeName||d.appendChild(p)}s&&a&&a.add({element:n}),d.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+i),y(h.dy)&&(d.parentNode.setAttribute("dy",h.dy),delete h.dy),y(h.dx)&&(d.parentNode.setAttribute("dx",h.dx),delete h.dx),M(h,function(t,e){d.setAttribute(r[e]||e,t)}),o.removeAttribute("transform"),this.removeTextOutline.call(a),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=c}else a&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(o,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this}
2,t.prototype.shadow=function(t,e,i){var o,n=[],r=this.element,s=this.oldShadowOptions,a={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===t?o=a:"object"==typeof t&&(o=b(a,t)),o&&(o&&s&&M(o,function(t,e){t!==s[e]&&(l=!0)}),l&&this.destroyShadows(),this.oldShadowOptions=o),o){if(!this.shadows){var h=o.opacity/o.width,c=this.parentInverted?"translate("+o.offsetY+", "+o.offsetX+")":"translate("+o.offsetX+", "+o.offsetY+")";for(a=1;a<=o.width;a++){var d=r.cloneNode(!1),p=2*o.width+1-2*a;g(d,{stroke:t.color||"#000000","stroke-opacity":h*a,"stroke-width":p,transform:c,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),i&&(g(d,"height",Math.max(g(d,"height")-p,0)),d.cutHeight=p),e?e.element.appendChild(d):r.parentNode&&r.parentNode.insertBefore(d,r),n.push(d)}this.shadows=n}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,i,o){this[i]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",o),o.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===e&&this.hasStroke?(o.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(o.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=P(t);else if(""!==t){var i=h.createElementNS(p,"rect");g(i,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(i),e=i.getBBox().width,i.parentNode.removeChild(i)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(i){e[i]=O(t[i],e[i])}),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,i=e.getElementsByTagName("title")[0]||h.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=String(O(t,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var n=o.length;n--;)i.call(o[n],"height"===t?Math.max(e-(o[n].cutHeight||0),0):"d"===t?this.d:e,t,o[n])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,o=this.rotation,n=this.matrix,r=this.element,s=this.translateX||0,a=this.translateY||0;i&&(s+=this.width,a+=this.height),s=["translate("+s+","+a+")"],y(n)&&s.push("matrix("+n.join(",")+")"),i?s.push("rotate(90) scale(-1,1)"):o&&s.push("rotate("+o+" "+O(this.rotationOriginX,r.getAttribute("x"),0)+" "+O(this.rotationOriginY,r.getAttribute("y")||0)+")"),(y(t)||y(e))&&s.push("scale("+O(t,1)+" "+O(e,1)+")"),s.length&&r.setAttribute("transform",s.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,o=this.parentGroup,n=(o||i).element||i.box,r=this.element;i=n===i.box;var s,a=!1,l=this.added;if(y(t)?(r.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):y(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&o&&(o.handleZ=!0),s=(e=n.childNodes).length-1;0<=s&&!a;s--){l=(o=e[s]).getAttribute("data-z-index");var h=!y(l);o!==r&&(0>t&&h&&!i&&!s?(n.insertBefore(r,e[s]),a=!0):(P(l)<=t||h&&(!y(t)||0<=t))&&(n.insertBefore(r,e[s+1]||null),a=!0))}a||(n.insertBefore(r,e[i?3:0]||null),a=!0)}return a},t}(),t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),e(i,"Core/Renderer/RendererRegistry.js",[i["Core/Globals.js"]],function(t){var e;return function(e){var i;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=i),e.rendererTypes[t]||e.rendererTypes[i]},e.registerRendererType=function(o,n,r){e.rendererTypes[o]=n,i&&!r||(i=o,t.Renderer=n)}}(e||(e={})),e}
2),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),o=e.defined,n=e.extend,r=e.isNumber,s=e.merge,a=e.pick,l=e.removeEvent;return function(e){function h(t,i,o,n,r,s,a,l,c,d){var p,u=e.call(this)||this;return u.paddingLeftSetter=u.paddingSetter,u.paddingRightSetter=u.paddingSetter,u.init(t,"g"),u.textStr=i,u.x=o,u.y=n,u.anchorX=s,u.anchorY=a,u.baseline=c,u.className=d,u.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&u.addClass("highcharts-"+d),u.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof r&&((p=/^url\((.*?)\)$/.test(r))||u.renderer.symbols[r])&&(u.symbolKey=r),u.bBox=h.emptyBBox,u.padding=3,u.baselineOffset=0,u.needsBox=t.styledMode||p,u.deferredAttr={},u.alignFactor=0,u}return i(h,e),h.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))},h.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},h.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},h.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},h.prototype.css=function(e){if(e){var i={};e=s(e),h.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i);var o="width"in i;"fontSize"in i||"fontWeight"in i?this.updateTextPadding():o&&this.updateBoxSize()}return t.prototype.css.call(this,e)},h.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},h.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},h.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=a(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},h.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},h.prototype.heightSetter=function(t){this.heightSetting=t},h.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:o(t)?t:"",x:this.x,y:this.y}),this.box&&o(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},h.prototype.paddingSetter=function(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},h.prototype.rSetter=function(t,e){this.boxAttr(e,t)},h.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},h.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},h.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},h.prototype["text-alignSetter"]=function(t){this.textAlign=t},h.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},h.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,s=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!o(this.text.textStr)?h.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*i,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=i+Math.min((this.text.firstLineMetrics||t).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((i=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),i.add(this)),i=this.getCrispAdjust(),e.x=i,e.y=(this.baseline?-this.baselineOffset:0)+i,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(n(e,this.deferredAttr)),this.deferredAttr={})},h.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,i=a(this.paddingLeft,this.padding);o(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),i===t.x&&e===t.y||
2(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e},h.prototype.widthSetter=function(t){this.widthSetting=r(t)?t:void 0},h.prototype.getPaddedWidth=function(){var t=this.padding,e=a(this.paddingLeft,t);return t=a(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},h.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},h.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},h.emptyBBox={width:0,height:0,x:0,y:0},h.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),h}(t)}),e(i,"Core/Renderer/SVG/Symbols.js",[i["Core/Utilities.js"]],function(t){function e(t,e,i,o,r){var a=[];if(r){var l=r.start||0,h=s(r.r,i);i=s(r.r,o||i);var c=(r.end||0)-.001;o=r.innerR;var d=s(r.open,.001>Math.abs((r.end||0)-l-2*Math.PI)),p=Math.cos(l),u=Math.sin(l),f=Math.cos(c),g=Math.sin(c);l=s(r.longArc,.001>c-l-Math.PI?0:1),a.push(["M",t+h*p,e+i*u],["A",h,i,0,l,s(r.clockwise,1),t+h*f,e+i*g]),n(o)&&a.push(d?["M",t+o*f,e+o*g]:["L",t+o*f,e+o*g],["A",o,o,0,l,n(r.clockwise)?1-r.clockwise:0,t+o*p,e+o*u]),d||a.push(["Z"])}return a}function i(t,e,i,n,r){return r&&r.r?o(t,e,i,n,r):[["M",t,e],["L",t+i,e],["L",t+i,e+n],["L",t,e+n],["Z"]]}function o(t,e,i,o,n){return[["M",t+(n=n&&n.r||0),e],["L",t+i-n,e],["C",t+i,e,t+i,e,t+i,e+n],["L",t+i,e+o-n],["C",t+i,e+o,t+i,e+o,t+i-n,e+o],["L",t+n,e+o],["C",t,e+o,t,e+o,t,e+o-n],["L",t,e+n],["C",t,e,t,e,t+n,e]]}var n=t.defined,r=t.isNumber,s=t.pick;return{arc:e,callout:function(t,e,i,n,s){var a=Math.min(s&&s.r||0,i,n),l=a+6,h=s&&s.anchorX;s=s&&s.anchorY||0;var c=o(t,e,i,n,{r:a});return r(h)?(t+h>=i?s>e+l&&s<e+n-l?c.splice(3,1,["L",t+i,s-6],["L",t+i+6,s],["L",t+i,s+6],["L",t+i,e+n-a]):c.splice(3,1,["L",t+i,n/2],["L",h,s],["L",t+i,n/2],["L",t+i,e+n-a]):0>=t+h?s>e+l&&s<e+n-l?c.splice(7,1,["L",t,s+6],["L",t-6,s],["L",t,s-6],["L",t,e+a]):c.splice(7,1,["L",t,n/2],["L",h,s],["L",t,n/2],["L",t,e+a]):s&&s>n&&h>t+l&&h<t+i-l?c.splice(5,1,["L",h+6,e+n],["L",h,e+n+6],["L",h-6,e+n],["L",t+a,e+n]):s&&0>s&&h>t+l&&h<t+i-l&&c.splice(1,1,["L",h-6,e],["L",h,e-6],["L",h+6,e],["L",i-a,e]),c):c},circle:function(t,i,o,n){return e(t+o/2,i+n/2,o/2,n/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,i,o){return[["M",t+i/2,e],["L",t+i,e+o/2],["L",t+i/2,e+o],["L",t,e+o/2],["Z"]]},rect:i,roundedRect:o,square:i,triangle:function(t,e,i,o){return[["M",t+i/2,e],["L",t+i,e+o],["L",t,e+o],["Z"]]},"triangle-down":function(t,e,i,o){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+o],["Z"]]}}}),e(i,"Core/Renderer/SVG/TextBuilder.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,i){var o=e.doc,n=e.SVG_NS,r=e.win,s=i.attr,a=i.isString,l=i.objectEach,h=i.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,i=e.element,n=e.renderer,r=h(e.textStr,"").toString(),s=-1!==r.indexOf("<"),l=i.childNodes;n=this.width&&!e.added&&n.box;var c=[r,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(c!==e.textCache){for(e.textCache=c,delete e.actualWidth,c=l.length;c--;)i.removeChild(l[c]);s||this.ellipsis||this.width||-1!==r.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(r))?""!==r&&(n&&n.appendChild(i),r=new t(r),this.modifyTree(r.nodes),r.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("â¦")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),n&&n.removeChild(i)):i.appendChild(o.createTextNode(this.unescapeEntities(r))),a(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,i=this.svgElement,a=s(i.element,"x");for(i.firstLineMetrics=void 0;(t=i.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)i.element.removeChild(t);[].forEach.call(i.element.querySelectorAll("tspan.highcharts-br"),function(t,o){t.nextSibling&&t.previousSibling&&(0===o&&1===t.previousSibling.nodeType&&(i.firstLineMetrics=i.renderer.fontMetrics(void 0,t.previousSibling)),s(t,{dy:e.getLineHeight(t.nextSibling),x:a}))});var l=this.width||0;if(l){var h=function(t,r){var h=t.textContent||"",c=h.replace(/([^\^])-/g,"$1- ").split(" "),d=!e.noWrap&&(1<c.length||1<i.element.childNodes.length),p=e.getLineHeight(r),u=0,f=i.actualWidth;if(e.ellipsis)h&&e.truncate(t,h,void 0,0,Math.max(0,l-parseInt(e.fontSize||12,10)),function(t,e){return t.substring(0,e)+"â¦"});else if(d){for(h=[],d=[];
2r.firstChild&&r.firstChild!==t;)d.push(r.firstChild),r.removeChild(r.firstChild);for(;c.length;)c.length&&!e.noWrap&&0<u&&(h.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,c,0===u&&f||0,l,function(t,e){return c.slice(0,e).join(" ").replace(/- /g,"-")}),f=i.actualWidth,u++;d.forEach(function(e){r.insertBefore(e,t)}),h.forEach(function(e){r.insertBefore(o.createTextNode(e),t),(e=o.createElementNS(n,"tspan")).textContent="â",s(e,{dy:p,x:a}),r.insertBefore(e,t)})}},c=function(t){[].slice.call(t.childNodes).forEach(function(e){e.nodeType===r.Node.TEXT_NODE?h(e,t):(-1!==e.className.baseVal.indexOf("highcharts-br")&&(i.actualWidth=0),c(e))})};c(i.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===r.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this,i=function(o,n){var r=o.attributes;r=void 0===r?{}:r;var s=o.children,l=o.tagName,h=e.renderer.styledMode;"b"===l||"strong"===l?h?r.class="highcharts-strong":r.style="font-weight:bold;"+(r.style||""):"i"!==l&&"em"!==l||(h?r.class="highcharts-emphasized":r.style="font-style:italic;"+(r.style||"")),a(r.style)&&(r.style=r.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===l?(r.class="highcharts-br",o.textContent="â",(n=t[n+1])&&n.textContent&&(n.textContent=n.textContent.replace(/^ +/gm,""))):"a"===l&&s&&s.some(function(t){return"#text"===t.tagName})&&(o.children=[{children:s,tagName:"tspan"}]),"#text"!==l&&"a"!==l&&(o.tagName="tspan"),o.attributes=r,s&&s.filter(function(t){return"#text"!==t.tagName}).forEach(i)};t.forEach(i)},e.prototype.truncate=function(t,e,i,o,n,r){var s,a=this.svgElement,l=a.renderer,h=a.rotation,c=[],d=i?1:0,p=(e||i||"").length,u=p,f=function(n,s){s=s||n;var h=t.parentNode;if(h&&void 0===c[s])if(h.getSubStringLength)try{c[s]=o+h.getSubStringLength(0,i?s+1:s)}catch(t){}else l.getSpanWidth&&(t.textContent=r(e||i,n),c[s]=o+l.getSpanWidth(a,t));return c[s]};a.rotation=0;var g=f(t.textContent.length);if(o+g>n){for(;d<=p;)u=Math.ceil((d+p)/2),i&&(s=r(i,u)),g=f(u,s&&s.length-1),d===p?d=p+1:g>n?p=u-1:d=u;0===p?t.textContent="":e&&p===e.length-1||(t.textContent=s||r(e||i,u))}i&&i.splice(0,u),a.actualWidth=g,a.rotation=h},e.prototype.unescapeEntities=function(t,e){return l(this.renderer.escapes,function(i,o){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),o))}),t},e}()}),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Renderer/SVG/TextBuilder.js"],i["Core/Utilities.js"]],function(t,e,i,o,n,r,s,a,l){var h,c=i.charts,d=i.deg2rad,p=i.doc,u=i.isFirefox,f=i.isMS,g=i.isWebKit,m=i.noop,v=i.SVG_NS,y=i.symbolSizes,x=i.win,b=l.addEvent,w=l.attr,k=l.createElement,S=l.css,C=l.defined,T=l.destroyObjectProperties,A=l.extend,M=l.isArray,O=l.isNumber,P=l.isObject,E=l.isString,L=l.merge,D=l.pick,_=l.pInt,j=l.uniqueKey;return i=function(){function i(t,e,i,o,n,r,s){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,i,o,n,r,s)}return i.prototype.init=function(t,e,i,o,n,r,s){var a,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),h=l.element;s||l.css(this.getStyle(o)),t.appendChild(h),w(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&w(h,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=h,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 9.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=r,this.forExport=n,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),u&&t.getBoundingClientRect&&((e=function(){S(t,{left:0,top:0}),a=t.getBoundingClientRect(),S(t,{left:Math.ceil(a.left)-a.left+"px",to
2p:Math.ceil(a.top)-a.top+"px"})})(),this.unSubPixelFix=b(x,"resize",e))},i.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},i.prototype.getReferenceURL=function(){if((u||g)&&p.getElementsByTagName("base").length){if(!C(h)){var e=j();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body),S(e,{position:"fixed",top:0,left:0,zIndex:9e5});var i=p.elementFromPoint(6,6);h="hitme"===(i&&i.id),p.body.removeChild(e)}if(h)return x.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},i.prototype.getStyle=function(t){return this.style=A({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},i.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},i.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},i.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),T(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},i.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},i.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},i.prototype.buildText=function(t){new a(t).buildSVG()},i.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},i.prototype.button=function(e,i,o,n,r,s,a,l,h,c){var d=this.label(e,i,o,h,void 0,void 0,c,void 0,"button"),p=this.styledMode,u=0,g=r?L(r):{};if(e=g&&g.style||{},g=t.filterUserAttributes(g),d.attr(L({padding:8,r:2},g)),!p){var m=(g=L({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:e},g)).style;delete g.style;
2var v=(s=L(g,{fill:"#e6e6e6"},t.filterUserAttributes(s||{}))).style;delete s.style;var y=(a=L(g,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(a||{}))).style;delete a.style;var x=(l=L(g,{style:{color:"#cccccc"}},t.filterUserAttributes(l||{}))).style;delete l.style}return b(d.element,f?"mouseover":"mouseenter",function(){3!==u&&d.setState(1)}),b(d.element,f?"mouseout":"mouseleave",function(){3!==u&&d.setState(u)}),d.setState=function(t){1!==t&&(d.state=u=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),p||d.attr([g,s,a,l][t||0]).css([m,v,y,x][t||0])},p||d.attr(g).css(A({cursor:"default"},m)),d.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==u&&n.call(d,t)})},i.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],n=t[1];return C(o[1])&&o[1]===n[1]&&(o[1]=n[1]=Math[i](o[1])-e%2/2),C(o[2])&&o[2]===n[2]&&(o[2]=n[2]=Math[i](o[2])+e%2/2),t},i.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return M(t)?e.d=t:P(t)&&A(e,t),this.createElement("path").attr(e)},i.prototype.circle=function(t,e,i){return t=P(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},i.prototype.arc=function(t,e,i,o,n,r){return P(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:n,end:r},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},i.prototype.rect=function(t,e,i,o,n,r){n=P(t)?t.r:n;var s=this.createElement("rect");return t=P(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=s.crisp(t)),t.fill="none"),n&&(t.r=n),s.rSetter=function(t,e,i){s.r=t,w(i,{rx:t,ry:t})},s.rGetter=function(){return s.r||0},s.attr(t)},i.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(i,!0)?void 0:0}),this.alignElements()},i.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},i.prototype.image=function(t,e,i,o,n,r){var s={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};O(e)&&(s.x=e),O(i)&&(s.y=i),O(o)&&(s.width=o),O(n)&&(s.height=n);var l=this.createElement("image").attr(s);return e=function(e){a(l.element,t),r.call(l,e)},r?(a(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new x.Image,b(i,"load",e),i.src=t,i.complete&&e({})):a(l.element,t),l},i.prototype.symbol=function(t,e,i,o,n,r){var s,a=this,l=/^url\((.*?)\)$/,h=l.test(t),d=!h&&(this.symbols[t]?t:"circle"),u=d&&this.symbols[d];if(u){"number"==typeof e&&(s=u.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,n||0,r));var f=this.path(s);a.styledMode||f.attr("fill","none"),A(f,{symbolName:d||void 0,x:e,y:i,width:o,height:n}),r&&A(f,r)}else if(h){var g=t.match(l)[1],m=f=this.image(g);m.imgwidth=D(y[g]&&y[g].width,r&&r.width),m.imgheight=D(y[g]&&y[g].height,r&&r.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach(function(t){m[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,C(i)&&(r&&"within"===r.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}}),C(e)&&m.attr({x:e,y:i}),m.isImg=!0,C(m.imgwidth)&&C(m.imgheight)?v(m):(m.attr({width:0,height:0}),k("img",{onload:function(){var t=c[a.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),y[g]={width:this.width,height:this.height},m.imgwidth=this.width,m.imgheight=this.height,m.element&&v(m),this.parentNode&&this.parentNode.removeChild(this),a.imgCount--,a.imgCount||!t||t.hasLoaded||t.onload()},src:g}),this.imgCount++)}return f}
2,i.prototype.clipRect=function(t,e,i,o){var n=j()+"-",r=this.createElement("clipPath").attr({id:n}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=n,t.clipPath=r,t.count=0,t},i.prototype.text=function(t,e,i,o){var n={};return!o||!this.allowHTML&&this.forExport?(n.x=Math.round(e||0),i&&(n.y=Math.round(i)),C(t)&&(n.text=t),t=this.createElement("text").attr(n),(!o||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,i){for(var o,n=i.getElementsByTagName("tspan"),r=i.getAttribute(e),s=0;s<n.length;s++)(o=n[s]).getAttribute(e)===r&&o.setAttribute(e,t);i.setAttribute(e,t)}),t):this.html(t,e,i)},i.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!x.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&n.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?_(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},i.prototype.rotCorr=function(t,e,i){var o=t;return e&&i&&(o=Math.max(o*Math.cos(e*d),4)),{x:-t/3*Math.sin(e*d),y:o}},i.prototype.pathToSegments=function(t){for(var e=[],i=[],o={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},n=0;n<t.length;n++)E(i[0])&&O(t[n])&&i.length===o[i[0].toUpperCase()]&&t.splice(n,0,i[0].replace("M","L").replace("m","l")),"string"==typeof t[n]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[n]);return e.push(i.slice(0)),e},i.prototype.label=function(t,e,i,o,n,s,a,l,h){return new r(this,t,e,i,o,n,s,a,l,h)},i.prototype.alignElements=function(){this.alignedObjects.forEach(function(t){return t.align()})},i}(),A(i.prototype,{Element:n,SVG_NS:v,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:s,draw:m}),o.registerRendererType("svg",i,!0),i}),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],function(t,e,i){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=t.isFirefox,r=t.isMS,s=t.isWebKit,a=t.win,l=i.css,h=i.defined,c=i.extend,d=i.pick,p=i.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var i=e.prototype,o=t.prototype;o.getSpanCorrection=i.getSpanCorrection,o.htmlCss=i.htmlCss,o.htmlGetBBox=i.htmlGetBBox,o.htmlUpdateTransform=i.htmlUpdateTransform,o.setSpanRotation=i.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,i=d(e&&t.width,void 0);if(e){delete t.width,this.textWidth=i;var o=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),l(this.element,t),o&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,o=this.translateY||0,n=this.x||0,r=this.y||0,s=this.textAlign||"left",a={left:0,center:.5,right:1}[s],c=this.styles;if(c=c&&c.whiteSpace,l(e,{marginLeft:i,marginTop:o}),!t.styledMode&&this.shadows&&this.shadows.forEach(function(t){l(t,{marginLeft:i+1,marginTop:o+1})}),this.inverted&&[].forEach.call(e.childNodes,function(i){t.invertChild(i,e)}),"SPAN"===e.tagName){var d=this.rotation,u=this.textWidth&&p(this.textWidth),f=[d,s,e.innerHTML,this.textWidth,this.textAlign].join(),g=void 0;if(g=!1,u!==this.oldTextWidth){if(this.textPxLength)var m=this.textPxLength;else l(e,{width:"",whiteSpace:c||"nowrap"}),m=e.offsetWidth;(u>this.oldTextWidth||m>u)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:m>u||d?u+"px":"auto",display:"block",whiteSpace:c||"normal"}),this.oldTextWidth=u,g=!0)}this.hasBoxWidthChanged=g,f!==this.cTT&&(g=t.fontMetrics(e.style.fontSize,e).b,!h(d)||d===(this.oldRotation||0)&&s===this.oldAlign||this.setSpanRotation(d,a,g),this.get
2SpanCorrection(!h(d)&&this.textPxLength||e.offsetWidth,g,a,d,s)),l(e,{left:n+(this.xCorr||0)+"px",top:r+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=d,this.oldAlign=s}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,i){var o={},h=r&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":s?"-webkit-transform":n?"MozTransform":a.opera?"-o-transform":void 0;h&&(o[h]=o.transform="rotate("+t+"deg)",o[h+(n?"Origin":"-origin")]=o.transformOrigin=100*e+"% "+i+"px",l(this.element,o))},e.composedClasses=[],e}(e)}),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],function(t,e,i,o){var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),r=o.attr,s=o.createElement,a=o.extend,l=o.pick;return function(i){function o(){return null!==i&&i.apply(this,arguments)||this}return n(o,i),o.compose=function(t){return-1===o.composedClasses.indexOf(t)&&(o.composedClasses.push(t),t.prototype.html=o.prototype.html),t},o.prototype.html=function(i,o,n){var h=this.createElement("span"),c=h.element,d=h.renderer,p=d.isSVG,u=function(t,i){["opacity","visibility"].forEach(function(o){t[o+"Setter"]=function(n,r,s){var a=t.div?t.div.style:i;e.prototype[o+"Setter"].call(this,n,r,s),a&&(a[r]=n)}}),t.addedSetters=!0};return h.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,h.doTransform=!0)},p&&u(h,h.element.style),h.xSetter=h.ySetter=h.alignSetter=h.rotationSetter=function(t,e){"align"===e?h.alignValue=h.textAlign=t:h[e]=t,h.doTransform=!0},h.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},h.attr({text:i,x:Math.round(o),y:Math.round(n)}).css({position:"absolute"}),d.styledMode||h.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),c.style.whiteSpace="nowrap",h.css=h.htmlCss,p&&(h.add=function(t){var e=d.box.parentNode,i=[];if(this.parentGroup=t){var o=t.div;if(!o){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach(function(t){function n(e,i){t[i]=e,"translateX"===i?d.left=e+"px":d.top=e+"px",t.doTransform=!0}var l=r(t.element,"class"),c=t.styles||{},d=(o=t.div=t.div||s("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:c.cursor,pointerEvents:c.pointerEvents,visibility:t.visibility},o||e)).style;a(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(o),on:function(){return i[0].div&&h.on.apply({element:i[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:n,translateYSetter:n}),t.addedSetters||u(t)})}}else o=e;return o.appendChild(c),h.added=!0,h.alignOnAdd&&h.htmlUpdateTransform(),h}),h},o.composedClasses=[],o}(i)}),e(i,"Core/Axis/AxisDefaults.js",[],function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t}),e(i,"Core/Foundation.js",[i["Core/Utilities.js"]],function(t){var e,i=t.addEvent,o=t.isFunction,n=t.objectEach,r=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},n(e.events,function(e,n){t.eventOptions[n]!==e&&(t.eventOptions[n]&&(r(t,n,t.eventOptions[n]),delete t.eventOptions[n]),o(e)&&(t.eventOptions[n]=e,i(t,n,e)))})}}(e||(e={})),e}),e(i,"Core/Axis/Tick.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,
2i){var o=e.deg2rad,n=i.clamp,r=i.correctFloat,s=i.defined,a=i.destroyObjectProperties,l=i.extend,h=i.fireEvent,c=i.isNumber,d=i.merge,p=i.objectEach,u=i.pick;return e=function(){function e(t,e,i,o,n){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=n||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,h(this,"init"),i||o||this.addLabel()}return e.prototype.addLabel=function(){var e=this,i=e.axis,o=i.options,n=i.chart,a=i.categories,d=i.logarithmic,p=i.names,f=e.pos,g=u(e.options&&e.options.labels,o.labels),m=i.tickPositions,v=f===m[0],y=f===m[m.length-1],x=(!g.step||1===g.step)&&1===i.tickInterval;m=m.info;var b,w=e.label;if(a=this.parameters.category||(a?u(a[f],p[f],f):f),d&&c(a)&&(a=r(d.lin2log(a))),i.dateTime)if(m)var k=n.time.resolveDTLFormat(o.dateTimeLabelFormats[!o.grid&&m.higherRanks[f]||m.unitName]),S=k.main;else c(a)&&(S=i.dateTime.getXDateFormat(a,o.dateTimeLabelFormats||{}));e.isFirst=v,e.isLast=y;var C={axis:i,chart:n,dateTimeLabelFormat:S,isFirst:v,isLast:y,pos:f,tick:e,tickPositionInfo:m,value:a};h(this,"labelFormat",C);var T=function(e){return g.formatter?g.formatter.call(e,e):g.format?(e.text=i.defaultLabelFormatter.call(e),t.format(g.format,e,n)):i.defaultLabelFormatter.call(e,e)};o=T.call(C,C);var A=k&&k.list;e.shortenLabel=A?function(){for(b=0;b<A.length;b++)if(l(C,{dateTimeLabelFormat:A[b]}),w.attr({text:T.call(C,C)}),w.getBBox().width<i.getSlotWidth(e)-2*g.padding)return;w.attr({text:""})}:void 0,x&&i._addedPlotLB&&e.moveLabel(o,g),s(w)||e.movedLabel?w&&w.textStr!==o&&!x&&(!w.textWidth||g.style.width||w.styles.width||w.css({width:null}),w.attr({text:o}),w.textPxLength=w.getBBox().width):(e.label=w=e.createLabel({x:0,y:0},o,g),e.rotation=0)},e.prototype.createLabel=function(t,e,i){var o=this.axis,n=o.chart;return(t=s(e)&&i.enabled?n.renderer.text(e,t.x,t.y,i.useHTML).add(o.labelGroup):null)&&(n.styledMode||t.css(d(i.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){a(this,this.axis)},e.prototype.getPosition=function(t,e,i,o){var s=this.axis,a=s.chart,l=o&&a.oldChartHeight||a.chartHeight;return(t={x:t?r(s.translate(e+i,null,null,o)+s.transB):s.left+s.offset+(s.opposite?(o&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):r(l-s.translate(e+i,null,null,o)-s.transB)}).y=n(t.y,-1e5,1e5),h(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,i,n,r,a,l,c){var d=this.axis,p=d.transA,u=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,f=d.staggerLines,g=d.tickRotCorr||{x:0,y:0},m=n||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),v={},y=r.y;return s(y)||(y=0===d.side?i.rotation?-8:-i.getBBox().height:2===d.side?g.y+8:Math.cos(i.rotation*o)*(g.y-i.getBBox(!1,0).height/2)),t=t+r.x+m+g.x-(a&&n?a*p*(u?-1:1):0),e=e+y-(a&&!n?a*p*(u?1:-1):0),f&&(i=l/(c||1)%f,d.opposite&&(i=f-i-1),e+=d.labelOffset/f*i),v.x=t,v.y=Math.round(e),h(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:a,index:l}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,i,o,n,r){return r.crispLine([["M",t,e],["L",t+(n?0:-i),e+(n?i:0)]],o)},e.prototype.handleOverflow=function(t){var e=this.axis,i=e.options.labels,n=t.x,r=e.chart.chartWidth,s=e.chart.spacing,a=u(e.labelLeft,Math.min(e.pos,s[3]));s=u(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,r-s[1]));var l,h=this.label,c=this.rotation,d={left:0,center:.5,right:1}[e.labelAlign||h.attr("align")],p=h.getBBox().width,f=e.getSlotWidth(this),g={},m=f,v=1;c||"justify"!==i.overflow?0>c&&n-d*p<a?l=Math.round(n/Math.cos(c*o)-a):0<c&&n+d*p>s&&(l=Math.round((r-n)/Math.cos(c*o))):(r=n+(1-d)*p,n-d*p<a?m=t.x+m*(1-d)-a:r>s&&(m=s-t.x+m*d,v=-1),(m=Math.min(f,m))<f&&"center"===e.labelAlign&&(t.x+=v*(f-m-d*(f-Math.min(p,m)))),(p>m||e.autoRotation&&(h.styles||{}).width)&&(l=m)),l&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(l)+"px",(i.style||{}).textOverflow||(g.textOverflow="ellipsis"),h.css(g)))},e.prototype.moveLabel=function(t,e){var i=this,o=i.label,n=i.axis,r=n.reversed,s=!1;if(o&&o.textStr===t?(i.movedLabel=o,s=!0,delete i.label):p(n.ticks,function(e){s||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,s=!0,e.labelPos=i.movedLabel.xy,delete e.label)}),!s&&(i.labelPos||o)){var a=i.labelPos||o.xy;o=n.horiz?r?0:n.width+n.left:a.x,n=n.horiz?a.y:r?n.width+n.left:0,i.movedLabel=i.createLabel({x:o,y:n},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0}
2)}},e.prototype.render=function(t,e,i){var o=this.axis,n=o.horiz,r=this.pos,s=u(this.tickmarkOffset,o.tickmarkOffset);s=(r=this.getPosition(n,r,s,e)).x;var a=r.y;o=n&&s===o.pos+o.len||!n&&a===o.pos?-1:1,n=u(i,this.label&&this.label.newOpacity,1),i=u(i,1),this.isActive=!0,this.renderGridLine(e,i,o),this.renderMark(r,i,o),this.renderLabel(r,e,n,t),this.isNew=!1,h(this,"afterRender")},e.prototype.renderGridLine=function(t,e,i){var o=this.axis,n=o.options,r={},s=this.pos,a=this.type,l=u(this.tickmarkOffset,o.tickmarkOffset),h=o.chart.renderer,c=this.gridLine,d=n.gridLineWidth,p=n.gridLineColor,f=n.gridLineDashStyle;"minor"===this.type&&(d=n.minorGridLineWidth,p=n.minorGridLineColor,f=n.minorGridLineDashStyle),c||(o.chart.styledMode||(r.stroke=p,r["stroke-width"]=d||0,r.dashstyle=f),a||(r.zIndex=1),t&&(e=0),this.gridLine=c=h.path().attr(r).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(o.gridGroup)),c&&(i=o.getPlotLinePath({value:s+l,lineWidth:c.strokeWidth()*i,force:"pass",old:t}))&&c[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},e.prototype.renderMark=function(t,e,i){var o=this.axis,n=o.options,r=o.chart.renderer,s=this.type,a=o.tickSize(s?s+"Tick":"tick"),l=t.x;t=t.y;var h=u(n["minor"!==s?"tickWidth":"minorTickWidth"],!s&&o.isXAxis?1:0);n=n["minor"!==s?"tickColor":"minorTickColor"];var c=this.mark,d=!c;a&&(o.opposite&&(a[0]=-a[0]),c||(this.mark=c=r.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(o.axisGroup),o.chart.styledMode||c.attr({stroke:n,"stroke-width":h})),c[d?"attr":"animate"]({d:this.getMarkPath(l,t,a[0],c.strokeWidth()*i,o.horiz,r),opacity:e}))},e.prototype.renderLabel=function(t,e,i,o){var n=this.axis,r=n.horiz,s=n.options,a=this.label,l=s.labels,h=l.step;n=u(this.tickmarkOffset,n.tickmarkOffset);var d=t.x;t=t.y;var p=!0;a&&c(d)&&(a.xy=t=this.getLabelPosition(d,t,a,r,l,n,o,h),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?p=!1:!r||l.step||l.rotation||e||0===i||this.handleOverflow(t),h&&o%h&&(p=!1),p&&c(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(a.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var o=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:o,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}(),e}),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/AxisDefaults.js"],i["Core/Color/Color.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"]],function(t,e,i,o,n,r,s,a){var l=t.animObject,h=o.defaultOptions,c=n.registerEventOptions,d=r.deg2rad,p=a.arrayMax,u=a.arrayMin,f=a.clamp,g=a.correctFloat,m=a.defined,v=a.destroyObjectProperties,y=a.erase,x=a.error,b=a.extend,w=a.fireEvent,k=a.getMagnitude,S=a.isArray,C=a.isNumber,T=a.isString,A=a.merge,M=a.normalizeTickInterval,O=a.objectEach,P=a.pick,E=a.relativeLength,L=a.removeEvent,D=a.splat,_=a.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!i:i,this.isXAxis=i,this.coll=this.coll||(i?"xAxis":"yAxis"),w(this,"init",{userOptions:e}),this.opposite=P(e.opposite,this.opposite),this.side=P(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var o=this.options,n=o.labels,r=o.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=P(o.reversed,this.reversed),this.visible=o.visible,this.zoomEnabled=o.zoomEnabled,this.hasNames="category"===r||!0===o.categories,this.categories=o.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=m(o.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=o.minRange||o.maxZoom,this.range=o.range,this.offset=o.offset||0,this.min=this.max=null,e=P(o.crosshair,D(t.options.tooltip.crosshairs)[i?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=C(n.rotation)?n.rotation:void 0,c(this,o),w(this,"afterInit")},t.prototype.setOptions=function(t){this.options=A(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],A(h[this.coll],t)),w(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var i=C(this.value)?this.value:NaN,o=e.chart.time,n=this.dateTimeLabelFormat,r=h.lang,s=r.numericSymbol
2s;r=r.numericSymbolMagnitude||1e3;var a=e.logarithmic?Math.abs(i):e.tickInterval,l=s&&s.length;if(e.categories)var c=""+this.value;else if(n)c=o.dateFormat(n,i);else if(l&&1e3<=a)for(;l--&&void 0===c;)a>=(e=Math.pow(r,l+1))&&0==10*i%e&&null!==s[l]&&0!==i&&(c=t(i/e,-1)+s[l]);return void 0===c&&(c=1e4<=Math.abs(i)?t(i,-1):t(i,-1,void 0,"")),c},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;w(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach(function(o){if(o.visible||!i.options.chart.ignoreHiddenSeries){var n=o.options,r=n.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=r&&(r=null),e.isXAxis){if((n=o.xData).length){n=e.logarithmic?n.filter(e.validatePositiveValue):n;var s=(t=o.getXExtremes(n)).min,a=t.max;C(s)||s instanceof Date||(n=n.filter(C),s=(t=o.getXExtremes(n)).min,a=t.max),n.length&&(e.dataMin=Math.min(P(e.dataMin,s),s),e.dataMax=Math.max(P(e.dataMax,a),a))}}else o=o.applyExtremes(),C(o.dataMin)&&(s=o.dataMin,e.dataMin=Math.min(P(e.dataMin,s),s)),C(o.dataMax)&&(a=o.dataMax,e.dataMax=Math.max(P(e.dataMax,a),a)),m(r)&&(e.threshold=r),(!n.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}})}),w(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,o,n,r){var s=this.linkedParent||this,a=o&&s.old?s.old.min:s.min,l=s.minPixelPadding;n=(s.isOrdinal||s.brokenAxis&&s.brokenAxis.hasBreaks||s.logarithmic&&n)&&s.lin2val;var h=1,c=0;return(o=o&&s.old?s.old.transA:s.transA)||(o=s.transA),i&&(h*=-1,c=s.len),s.reversed&&(c-=(h*=-1)*(s.sector||s.len)),e?(t=(t*h+c-l)/o+a,n&&(t=s.lin2val(t))):(n&&(t=s.val2lin(t)),t=C(a)?h*(t-a)*o+c+h*l+(C(r)?o*r:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==x&&t<e||t>i)&&(x?t=f(t,e,i):s=!0),t}var i,o,n,r,s,a=this,l=a.chart,h=a.left,c=a.top,d=t.old,p=t.value,u=t.lineWidth,g=d&&l.oldChartHeight||l.chartHeight,m=d&&l.oldChartWidth||l.chartWidth,v=a.transB,y=t.translatedValue,x=t.force;return t={value:p,lineWidth:u,old:d,force:x,acrossPanes:t.acrossPanes,translatedValue:y},w(this,"getPlotLinePath",t,function(t){y=P(y,a.translate(p,null,null,d)),y=f(y,-1e5,1e5),i=n=Math.round(y+v),o=r=Math.round(g-y-v),C(y)?a.horiz?(o=c,r=g-a.bottom,i=n=e(i,h,h+a.width)):(i=h,n=m-a.right,o=r=e(o,c,c+a.height)):(s=!0,x=!1),t.path=s&&!x?null:l.renderer.crispLine([["M",i,o],["L",n,r]],u||1)}),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var o=g(Math.floor(e/t)*t);i=g(Math.ceil(i/t)*t);var n,r=[];if(g(o+t)===o&&(n=20),this.single)return[e];for(e=o;e<=i&&(r.push(e),(e=g(e+t,n))!==s);)var s=e;return r},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?P(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,o=this.pointRangePadding||0,n=this.min-o,r=(o=this.max+o)-n,s=[];if(r&&r/i<this.len/3){var a=this.logarithmic;if(a)this.paddedTicks.forEach(function(t,e,o){e&&s.push.apply(s,a.getLogTickPositions(i,o[e-1],o[e],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())s=s.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),n,o,t.startOfWeek));else for(t=n+(e[0]-n)%i;t<=o&&t!==s[0];t+=i)s.push(t)}return 0!==s.length&&this.trimTicks(s),s},t.prototype.adjustForMinRange=function(){var t,e,i,o,n=this.options,r=this.logarithmic,s=this.min,a=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!r&&(m(n.min)||m(n.max)||m(n.floor)||m(n.ceiling)?this.minRange=null:(this.series.forEach(function(n){if(i=n.xData,o=n.xIncrement?1:i.length-1,1<i.length)for(t=o;0<t;t--)e=i[t]-i[t-1],(!l||e<l)&&(l=e)}),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),a-s<this.minRange){var h=this.dataMax-this.dataMin>=this.minRange,c=this.minRange,d=(c-a+s)/2;d=[s-d,P(n.min,s-d)],h&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),a=[(s=p(d))+c,P(n.max,s+c)],h&&(a[2]=r?r.log2lin(this.dataMax):this.dataMax),(a=u(a))-s<c&&(d[0]=a-c,d[1]=P(n.min,a-c),s=p(d))}this.min=s,this.max=a},t.prototype.getClosest=function(){var t;
2return this.categories?t=1:this.series.forEach(function(e){var i=e.closestPointRange,o=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&m(i)&&o&&(t=m(t)?Math.min(t,i):i)}),t},t.prototype.nameToX=function(t){var e=S(this.categories),i=e?this.categories:this.names,o=t.options.x;if(t.series.requireSorting=!1,m(o)||(o=this.options.uniqueNames?e?i.indexOf(t.name):P(i.keys[t.name],-1):t.series.autoIncrement()),-1===o){if(!e)var n=i.length}else n=o;return void 0!==n&&(this.names[n]=t.name,this.names.keys[t.name]=n),n},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach(function(t){delete e.keys[t]}),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach(function(i,o){if(i&&i.options&&void 0!==i.name){var n=t.nameToX(i);void 0!==n&&n!==i.x&&(i.x=n,e.xData[o]=n)}})}))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,i=t.linkedParent,o=!!t.categories,n=t.isXAxis,r=t.axisPointRange||0,s=0,a=0,l=t.transA;if(n||o||r){var h=t.getClosest();i?(s=i.minPointOffset,a=i.pointRangePadding):t.series.forEach(function(e){var i=o?1:n?P(e.options.pointRange,h,0):t.axisPointRange||0,l=e.options.pointPlacement;r=Math.max(r,i),t.single&&!o||(e=e.is("xrange")?!n:n,s=Math.max(s,e&&T(l)?0:i/2),a=Math.max(a,e&&"on"===l?0:i))}),i=t.ordinal&&t.ordinal.slope&&h?t.ordinal.slope/h:1,t.minPointOffset=s*=i,t.pointRangePadding=a*=i,t.pointRange=Math.min(r,t.single&&o?1:e),n&&(t.closestPointRange=h)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+a||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*s,w(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,i=this.logarithmic,o=this.options,n=this.isXAxis,r=this.isLinked,s=o.tickPixelInterval,a=this.categories,l=this.softThreshold,h=o.maxPadding,c=o.minPadding,d=C(o.tickInterval)&&0<=o.tickInterval?o.tickInterval:void 0,p=C(this.threshold)?this.threshold:null;this.dateTime||a||r||this.getTickAmount();var u=P(this.userMin,o.min),f=P(this.userMax,o.max);if(r){this.linkedParent=e[this.coll][o.linkedTo];var v=this.linkedParent.getExtremes();this.min=P(v.min,v.dataMin),this.max=P(v.max,v.dataMax),o.type!==this.linkedParent.options.type&&x(11,1,e)}else{if(l&&m(p))if(this.dataMin>=p)v=p,c=0;else if(this.dataMax<=p){var y=p;h=0}this.min=P(u,v,this.dataMin),this.max=P(f,y,this.dataMax)}if(i&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,P(this.dataMin,this.min))&&x(10,1,e),this.min=g(i.log2lin(this.min),16),this.max=g(i.log2lin(this.max),16)),this.range&&m(this.max)&&(this.userMin=this.min=u=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),w(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(a||this.axisPointRange||this.stacking&&this.stacking.usePercentage||r)&&m(this.min)&&m(this.max)&&(e=this.max-this.min)&&(!m(u)&&c&&(this.min-=e*c),!m(f)&&h&&(this.max+=e*h)),C(this.userMin)||(C(o.softMin)&&o.softMin<this.min&&(this.min=u=o.softMin),C(o.floor)&&(this.min=Math.max(this.min,o.floor))),C(this.userMax)||(C(o.softMax)&&o.softMax>this.max&&(this.max=f=o.softMax),C(o.ceiling)&&(this.max=Math.min(this.max,o.ceiling))),l&&m(this.dataMin)&&(p=p||0,!m(u)&&this.min<p&&this.dataMin>=p?this.min=this.options.minRange?Math.min(p,this.max-this.minRange):p:!m(f)&&this.max>p&&this.dataMax<=p&&(this.max=this.options.minRange?Math.max(p,this.min+this.minRange):p)),C(this.min)&&C(this.max)&&!this.chart.polar&&this.min>this.max&&(m(this.options.min)?this.max=this.min:m(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:r&&this.linkedParent&&!d&&s===this.linkedParent.options.tickPixelInterval?d=this.linkedParent.tickInterval:P(d,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,a?1:(this.max-this.min)*s/Math.max(this.len,s)),n&&!t){var b=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);
2this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(b)}),w(this,"postProcessData",{hasExtemesChanged:b})}this.setAxisTranslation(),w(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=P(o.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!d&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||d||(this.tickInterval=M(this.tickInterval,void 0,k(this.tickInterval),P(o.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),o=this.hasVerticalPanning(),n="colorAxis"===this.coll,r=(n||!o)&&t.startOnTick;o=(n||!o)&&t.endOnTick,n=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&m(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?i=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(i=[this.min,this.max],x(19,!1,this.chart)),i.length>this.len&&(i=[i[0],i.pop()])[0]===i[1]&&(i.length=1),this.tickPositions=i,n&&(n=n.apply(this,[this.min,this.max])))&&(this.tickPositions=i=n),this.paddedTicks=i.slice(0),this.trimTicks(i,r,o),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),e||n||this.adjustTickAmount()),w(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var o=t[0],n=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-r>t[0];)t.shift();if(i)this.max=n;else for(;this.max+r<t[t.length-1];)t.pop();0===t.length&&m(o)&&!this.options.tickPositions&&t.push((n+o)/2)}},t.prototype.alignToOthers=function(){var t,e={},i=this.options;return!1!==this.chart.options.chart.alignTicks&&i.alignTicks&&!1!==i.startOnTick&&!1!==i.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach(function(i){var o=i.options;o=[i.horiz?o.left:o.top,o.width,o.height,o.pane].join(),i.series.length&&(e[o]?t=!0:e[o]=1)}),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,i=t.tickAmount;!m(t.tickInterval)&&!i&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(i=2),!i&&this.alignToOthers()&&(i=Math.ceil(this.len/e)+1),4>i&&(this.finalTickAmt=i,i=5),this.tickAmount=i},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,i=this.tickPositions,o=this.tickAmount,n=this.finalTickAmt,r=i&&i.length,s=P(this.threshold,this.softThreshold?0:null);if(this.hasData()&&C(this.min)&&C(this.max)){if(r<o){for(;i.length<o;)i.length%2||this.min===s?i.push(g(i[i.length-1]+e)):i.unshift(g(i[0]-e));this.transA*=(r-1)/(o-1),this.min=t.startOnTick?i[0]:Math.min(this.min,i[0]),this.max=t.endOnTick?i[i.length-1]:Math.max(this.max,i[i.length-1])}else r>o&&(this.tickInterval*=2,this.setTickPositions());if(m(n)){for(e=t=i.length;e--;)(3===n&&1==e%2||2>=n&&0<e&&e<t-1)&&i.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach(function(i){t=t||i.isDirtyData||i.isDirty,e=e||i.xAxis&&i.xAxis.isDirty||!1}),this.setAxisSize();var i=this.len!==(this.old&&this.old.len);i||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.get
2SeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=i||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),w(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,i,o,n){var r=this,s=r.chart;i=P(i,!0),r.series.forEach(function(t){delete t.kdTree}),n=b(n,{min:t,max:e}),w(r,"setExtremes",n,function(){r.userMin=t,r.userMax=e,r.eventArgs=n,i&&s.redraw(o)})},t.prototype.zoom=function(t,e){var i=this,o=this.dataMin,n=this.dataMax,r=this.options,s=Math.min(o,P(r.min,o)),a=Math.max(n,P(r.max,n));return w(this,"zoom",t={newMin:t,newMax:e},function(t){var e=t.newMin,r=t.newMax;e===i.min&&r===i.max||(i.allowZoomOutside||(m(o)&&(e<s&&(e=s),e>a&&(e=a)),m(n)&&(r<s&&(r=s),r>a&&(r=a))),i.displayBtn=void 0!==e||void 0!==r,i.setExtremes(e,r,!1,void 0,{trigger:"zoom"})),t.zoomed=!0}),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],o=this.horiz,n=this.width=Math.round(E(P(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),r=this.height=Math.round(E(P(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),s=this.top=Math.round(E(P(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(E(P(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-r-s,this.right=t.chartWidth-n-e,this.len=Math.max(o?n:r,0),this.pos=o?e:s},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?g(t.lin2log(this.min)):this.min,max:t?g(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(P(t,0)-90*this.side+720)%360;return w(this,"autoLabelAlign",t={align:"center"},function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")}),t.align},t.prototype.tickSize=function(t){var e=this.options,i=P(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),o=e["tick"===t?"tickLength":"minorTickLength"];if(i&&o){"inside"===e[t+"Position"]&&(o=-o);var n=[o,i]}return w(this,"afterTickSize",t={tickSize:n}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i=this.options.labels,o=this.horiz,n=this.tickInterval,r=this.len/(((this.categories?1:0)+this.max-this.min)/n),s=i.rotation,a=this.labelMetrics(),l=Math.max(this.max-this.min,0),h=function(t){var e=t/(r||1);return(e=1<e?Math.ceil(e):1)*n>l&&1/0!==t&&1/0!==r&&l&&(e=Math.ceil(l/n)),g(e*n)},c=n,p=Number.MAX_VALUE;if(o){if(!i.staggerLines&&!i.step)if(C(s))var u=[s];else r<i.autoRotationLimit&&(u=i.autoRotation);u&&u.forEach(function(i){if(i===s||i&&-90<=i&&90>=i){var o=(e=h(Math.abs(a.h/Math.sin(d*i))))+Math.abs(i/360);o<p&&(p=o,t=i,c=e)}})}else i.step||(c=h(a.h));return this.autoRotation=u,this.labelRotation=P(t,C(s)?s:0),c},t.prototype.getSlotWidth=function(t){var e=this.chart,i=this.horiz,o=this.options.labels,n=Math.max(this.tickPositions.length-(this.categories?0:1),1),r=e.margin[3];if(t&&C(t.slotWidth))return t.slotWidth;if(i&&2>o.step)return o.rotation?0:(this.staggerLines||1)*this.len/n;if(!i){if(void 0!==(t=o.style.width))return parseInt(String(t),10);if(r)return r-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,o=this.ticks,n=this.options.labels,r=n.style,s=this.horiz,a=this.getSlotWidth(),l=Math.max(1,Math.round(a-2*n.padding)),h={},c=this.labelMetrics(),d=r.textOverflow,p=0;if(T(n.rotation)||(h.rotation=n.rotation||0),i.forEach(function(t){(t=o[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>p&&(p=t.label.textPxLength)}),this.maxLabelLength=p,this.autoRotation)p>l&&p>c.h?h.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=l;if(!d){var f="clip";for(l=i.length;!s&&l--;){var g=i[l];(g=o[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}h.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=n.align||this.autoLabelAlign(this.labelRotation))&&(h.align=this.labelAlign),i.forEac
2h(function(t){var e=(t=o[t])&&t.label,i=r.width,n={};e&&(e.attr(h),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u<e.textPxLength||"SPAN"===e.element.tagName)?(n.width=u+"px",d||(n.textOverflow=e.specificTextOverflow||f),e.css(n)):e.styles&&e.styles.width&&!n.width&&!i&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=h.rotation)},this),this.tickRotCorr=e.rotCorr(c.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some(function(t){return t.hasData()})||this.options.showEmpty&&m(this.min)&&m(this.max)},t.prototype.addTitle=function(t){var e,i=this.chart.renderer,o=this.horiz,n=this.opposite,r=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=r.textAlign)||(e=(o?{low:"left",middle:"center",high:"right"}:{low:n?"right":"left",middle:"center",high:n?"left":"right"})[r.align]),this.axisTitle=i.text(r.text||"",0,0,r.useHTML).attr({zIndex:7,rotation:r.rotation,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(A(r.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||r.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new s(this,t)},t.prototype.getOffset=function(){var t=this,e=this,i=e.chart,o=e.horiz,n=e.options,r=e.side,s=e.ticks,a=e.tickPositions,l=e.coll,h=e.axisParent,c=i.renderer,d=i.inverted&&!e.isZAxis?[1,0,3,2][r]:r,p=e.hasData(),u=n.title,f=n.labels,g=i.axisOffset;i=i.clipOffset;var v,y=[-1,1,1,-1][r],x=n.className,b=0,k=0,S=0;if(e.showAxis=v=p||n.showEmpty,e.staggerLines=e.horiz&&f.staggerLines||void 0,!e.axisGroup){var C=function(e,i,o){return c.g(e).attr({zIndex:o}).addClass("highcharts-"+l.toLowerCase()+i+" "+(t.isRadial?"highcharts-radial-axis"+i+" ":"")+(x||"")).add(h)};e.gridGroup=C("grid","-grid",n.gridZIndex),e.axisGroup=C("axis","",n.zIndex),e.labelGroup=C("axis-labels","-labels",f.zIndex)}if(p||e.isLinked?(a.forEach(function(t){e.generateTick(t)}),e.renderUnsquish(),e.reserveSpaceDefault=0===r||2===r||{1:"left",3:"right"}[r]===e.labelAlign,P(f.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&a.forEach(function(t){S=Math.max(s[t].getLabelSize(),S)}),e.staggerLines&&(S*=e.staggerLines),e.labelOffset=S*(e.opposite?-1:1)):O(s,function(t,e){t.destroy(),delete s[e]}),u&&u.text&&!1!==u.enabled&&(e.addTitle(v),v&&!1!==u.reserveSpace)){e.titleOffset=b=e.axisTitle.getBBox()[o?"height":"width"];var T=u.offset;k=m(T)?0:P(u.margin,o?5:10)}e.renderLine(),e.offset=y*P(n.offset,g[r]?g[r]+(n.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},u=0===r?-e.labelMetrics().h:2===r?e.tickRotCorr.y:0,p=Math.abs(S)+k,S&&(p=p-u+y*(o?P(f.y,e.tickRotCorr.y+8*y):f.x)),e.axisTitleMargin=P(T,p),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(s,a)),"colorAxis"!==l&&(o=this.tickSize("tick"),g[r]=Math.max(g[r],(e.axisTitleMargin||0)+b+y*e.offset,p,a&&a.length&&o?o[0]+y*e.offset:0),n=!e.axisLine||n.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),i[d]=Math.max(i[d],n)),w(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,i=this.opposite,o=this.offset,n=this.horiz,r=this.left+(i?this.width:0)+o;return o=e.chartHeight-this.bottom-(i?this.height:0)+o,i&&(t*=-1),e.renderer.crispLine([["M",n?this.left:r,n?o:this.top],["L",n?e.chartWidth-this.right:r,n?o:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,i=this.top,o=this.len,n=this.options.title,r=t?e:i,s=this.opposite,a=this.offset,l=n.x,h=n.y,c=this.axisTitle,d=this.chart.renderer.fontMetrics(n.style.fontSize,c);return c=Math.max(c.getBBox(null,0).height-d.h-1,0),o={low:r+(t?0:o),middle:r+o/2,high:r+(t?o:0)}[n.align],e=(t?i+this.height:e)+(t?1:-1)*(s?-1:1)*this.axisTitleMargin+[-c,c,d.f,-c][this.side],t={x:t?o+l:e+(s?this.width:0)+a+l,y:t?e+h-(s?this.height:0)+a:o+h},w(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var i=this.minorTicks;i[t]||(i[t]=new s(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)}
2,t.prototype.renderTick=function(t,e,i){var o=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new s(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},t.prototype.render=function(){var t,e,i=this,o=i.chart,n=i.logarithmic,a=i.options,h=i.isLinked,c=i.tickPositions,d=i.axisTitle,p=i.ticks,u=i.minorTicks,f=i.alternateBands,g=a.stackLabels,m=a.alternateGridColor,v=i.tickmarkOffset,y=i.axisLine,x=i.showAxis,b=l(o.renderer.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[p,u,f].forEach(function(t){O(t,function(t){t.isActive=!1})}),i.hasData()||h){var k=i.chart.hasRendered&&i.old&&C(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach(function(t){i.renderMinorTick(t,k)}),c.length&&(c.forEach(function(t,e){i.renderTick(t,e,k)}),v&&(0===i.min||i.single)&&(p[-1]||(p[-1]=new s(i,-1,null,!0)),p[-1].render(-1))),m&&c.forEach(function(s,a){e=void 0!==c[a+1]?c[a+1]+v:i.max-v,0==a%2&&s<i.max&&e<=i.max+(o.polar?-v:v)&&(f[s]||(f[s]=new r.PlotLineOrBand(i)),t=s+v,f[s].options={from:n?n.lin2log(t):t,to:n?n.lin2log(e):e,color:m,className:"highcharts-alternate-grid"},f[s].render(),f[s].isActive=!0)}),i._addedPlotLB||(i._addedPlotLB=!0,(a.plotLines||[]).concat(a.plotBands||[]).forEach(function(t){i.addPlotBandOrLine(t)}))}[p,u,f].forEach(function(t){var e=[],i=b.duration;O(t,function(t,i){t.isActive||(t.render(i,!1,0),t.isActive=!1,e.push(i))}),_(function(){for(var i=e.length;i--;)t[e[i]]&&!t[e[i]].isActive&&(t[e[i]].destroy(),delete t[e[i]])},t!==f&&o.hasRendered&&i?i:0)}),y&&(y[y.isPlaced?"animate":"attr"]({d:this.getLinePath(y.strokeWidth())}),y.isPlaced=!0,y[x?"show":"hide"](x)),d&&x&&(a=i.getTitlePosition(),C(a.y)?(d[d.isNew?"attr":"animate"](a),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),g&&g.enabled&&i.stacking&&i.stacking.renderStackTotals(),i.old={len:i.len,max:i.max,min:i.min,transA:i.transA,userMax:i.userMax,userMin:i.userMin},i.isDirty=!1,w(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(t){t.render()})),this.series.forEach(function(t){t.isDirty=!0})},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,i=e.plotLinesAndBands,o=this.eventOptions;if(w(this,"destroy",{keepEvents:t}),t||L(e),[e.ticks,e.minorTicks,e.alternateBands].forEach(function(t){v(t)}),i)for(t=i.length;t--;)i[t].destroy();for(var n in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[n]=e.plotLinesAndBandsGroups[n].destroy();O(e,function(t,i){-1===e.getKeepProps().indexOf(i)&&delete e[i]}),this.eventOptions=o},t.prototype.drawCrosshair=function(t,e){var o,n=this.crosshair,r=P(n&&n.snap,!0),s=this.chart,a=this.cross;if(w(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),n&&!1!==(m(e)||!r)){if(r?m(e)&&(o=P("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):o=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),m(o)){var l={value:e&&(this.isXAxis?e.x:P(e.stackY,e.y)),translatedValue:o};s.polar&&b(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!m(l))return void this.hideCrosshair();r=this.categories&&!this.isRadial,a||(this.cross=a=s.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(r?"category ":"thin ")+(n.className||"")).attr({zIndex:P(n.zIndex,2)}).add(),s.styledMode||(a.attr({stroke:n.color||(r?i.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":P(n.width,1)}).css({"pointer-events":"none"}),n.dashStyle&&a.attr({dashstyle:n.dashStyle}))),a.show().attr({d:l}),r&&!n.width&&a.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();w(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),w(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return C(t)&&0<t},t.prototype.update=function(t,e){var i=this.chart;t=A(this.userOptions,t),this.destroy(!0),this.init(i,t),i.isDirtyBox=!0,P(e,!0)&&i.redraw()},t.prototype.remove=function(t){for(var e=this.chart,i=this.coll,o=this.series,n=o.length;n--;)o[n]&&o[n].remove(!1);
2y(e.axes,this),y(e[i],this),e[i].forEach(function(t,e){t.options.index=t.userOptions.index=e}),this.destroy(),e.isDirtyBox=!0,P(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}(),t}),e(i,"Core/Axis/DateTimeAxis.js",[i["Core/Utilities.js"]],function(t){var e,i=t.addEvent,o=t.getMagnitude,n=t.normalizeTickInterval,r=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,i(t,"init",s)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var i=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=i[i.length-1];var s,a=r[e[0]],l=e[1];for(s=0;s<i.length&&(e=i[s],a=r[e[0]],l=e[1],!(i[s+1]&&t<=(a*l[l.length-1]+r[i[s+1][0]])/2));s++);return a===r.year&&t<5*a&&(l=[1,2,5]),{unitRange:a,count:t=n(t/a,l,"year"===e[0]?Math.max(o(t/a),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var i=this.axis;return i.closestPointRange?i.chart.time.getDateFormat(i.closestPointRange,t,i.options.startOfWeek,e)||e.year:e.day},t}();t.Additions=l}(e||(e={})),e}),e(i,"Core/Axis/LogarithmicAxis.js",[i["Core/Utilities.js"]],function(t){var e,i=t.addEvent,o=t.getMagnitude,n=t.normalizeTickInterval,r=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new l(this))}function s(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("logarithmic"),i(t,"init",e),i(t,"afterInit",s)),t};var l=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,i,s){var a=this.axis,l=a.len,h=a.options,c=[];if(s||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),c=a.getLinearTickPositions(t,e,i);else if(.08<=t){var d,p=Math.floor(e),u=h=void 0;for(l=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];p<i+1&&!u;p++){var f=l.length;for(d=0;d<f&&!u;d++){var g=this.log2lin(this.lin2log(p)*l[d]);g>e&&(!s||h<=i)&&void 0!==h&&c.push(h),h>i&&(u=!0),h=g}}}else e=this.lin2log(e),i=this.lin2log(i),t=s?a.getMinorTickInterval():h.tickInterval,t=r("auto"===t?null:t,this.minorAutoInterval,h.tickPixelInterval/(s?5:1)*(i-e)/((s?l/a.tickPositions.length:l)||1)),t=n(t,void 0,o(t)),c=a.getLinearTickPositions(t,e,i).map(this.log2lin),s||(this.minorAutoInterval=t/5);return s||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=l}(e||(e={})),e}),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[i["Core/Utilities.js"]],function(t){var e,i=t.erase,o=t.extend,n=t.isNumber;return function(t){var e,r=[];t.compose=function(t,i){return e||(e=t),-1===r.indexOf(i)&&(r.push(i),o(i.prototype,s.prototype)),i};var s=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,i){void 0===i&&(i=this.options);var o=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes}),r=[],s=this.horiz;if(e=!n(this.min)||!n(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&o){if(e){var a=t.toString()===o.toString();i=0}for(e=0;e<t.length;e+=2){var l=t[e],h=t[e+1],c=o[e],d=o[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==h[0]&&"L"!==h[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==d[0]&&"L"!==d[0]||(s&&c[1]===l[1]?(c[1]+=i,d[1]+=i):s||c[2]!==l[2]||(c[2]+=i,d[2]+=i),r.push(["M",l[1],l[2]],["L",h[1],h[2]],["L",d[1],d[2]],["L",c[1],c[2]],["Z"])),r.isFlat=a}}return r},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,i){var o=this,n=this.userOptions,r=new e(this,t);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(n.plotLines||[]).concat(n.plotBands||[]).forEac
2h(function(t){o.addPlotBandOrLine(t)})),i){var s=n[i]||[];s.push(t),n[i]=s}this.plotLinesAndBands.push(r)}return r},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,o=this.options,n=this.userOptions;if(e){for(var r=e.length;r--;)e[r].id===t&&e[r].destroy();[o.plotLines||[],n.plotLines||[],o.plotBands||[],n.plotBands||[]].forEach(function(e){for(r=e.length;r--;)(e[r]||{}).id===t&&i(e,e[r])})}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e}),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[i["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],i["Core/Utilities.js"]],function(t,e){var i=e.arrayMax,o=e.arrayMin,n=e.defined,r=e.destroyObjectProperties,s=e.erase,a=e.fireEvent,l=e.merge,h=e.objectEach,c=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(i){return t.compose(e,i)},e.prototype.render=function(){a(this,"render");var t=this,e=t.axis,i=e.horiz,o=e.logarithmic,r=t.options,s=r.color,d=c(r.zIndex,0),p=r.events,u={},f=e.chart.renderer,g=r.label,m=t.label,v=r.to,y=r.from,x=r.value,b=t.svgElem,w=[],k=n(y)&&n(v);w=n(x);var S=!b,C={class:"highcharts-plot-"+(k?"band ":"line ")+(r.className||"")},T=k?"bands":"lines";if(o&&(y=o.log2lin(y),v=o.log2lin(v),x=o.log2lin(x)),e.chart.styledMode||(w?(C.stroke=s||"#999999",C["stroke-width"]=c(r.width,1),r.dashStyle&&(C.dashstyle=r.dashStyle)):k&&(C.fill=s||"#e6ebf5",r.borderWidth&&(C.stroke=r.borderColor,C["stroke-width"]=r.borderWidth))),u.zIndex=d,T+="-"+d,(o=e.plotLinesAndBandsGroups[T])||(e.plotLinesAndBandsGroups[T]=o=f.g("plot-"+T).attr(u).add()),S&&(t.svgElem=b=f.path().attr(C).add(o)),w)w=e.getPlotLinePath({value:x,lineWidth:b.strokeWidth(),acrossPanes:r.acrossPanes});else{if(!k)return;w=e.getPlotBandPath(y,v,r)}return!t.eventsAdded&&p&&(h(p,function(e,i){b.on(i,function(e){p[i].apply(t,[e])})}),t.eventsAdded=!0),(S||!b.d)&&w&&w.length?b.attr({d:w}):b&&(w?(b.show(!0),b.animate({d:w})):b.d&&(b.hide(),m&&(t.label=m=m.destroy()))),g&&(n(g.text)||n(g.formatter))&&w&&w.length&&0<e.width&&0<e.height&&!w.isFlat?(g=l({align:i&&k&&"center",x:i?!k&&4:10,verticalAlign:!i&&k&&"middle",y:i?k?16:10:k?6:-4,rotation:i&&!k&&90},g),this.renderLabel(g,w,k,d)):m&&m.hide(),t},e.prototype.renderLabel=function(t,e,n,r){var s=this.axis,a=s.chart.renderer,h=this.label;h||(this.label=h=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(n?"band":"line")+"-label "+(t.className||""),zIndex:r}).add(),s.chart.styledMode||h.css(l({textOverflow:"ellipsis"},t.style))),r=e.xBounds||[e[0][1],e[1][1],n?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],n?e[2][2]:e[0][2]],n=o(r),a=o(e),h.align(t,!1,{x:n,y:a,width:i(r)-n,height:i(e)-a}),h.alignValue&&"left"!==h.alignValue||h.css({width:(90===h.rotation?s.height-(h.alignAttr.y-s.top):s.width-(h.alignAttr.x-s.left))+"px"}),h.show(!0)},e.prototype.getLabelText=function(t){return n(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){s(this.axis.plotLinesAndBands,this),delete this.axis,r(this)},e}(),e}),e(i,"Core/Tooltip.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,o,n){var r=t.format,s=e.doc,a=i.distribute,l=n.addEvent,h=n.clamp,c=n.css,d=n.defined,p=n.discardElement,u=n.extend,f=n.fireEvent,g=n.isArray,m=n.isNumber,v=n.isString,y=n.merge,x=n.pick,b=n.splat,w=n.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map(function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")})}
2,t.prototype.cleanSplit=function(t){this.chart.series.forEach(function(e){var i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)})},t.prototype.defaultFormatter=function(t){var e=this.points||b(this),i=[t.tooltipFooterHeaderFormatter(e[0])];return(i=i.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),i},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),p(this.container)),n.clearTimeout(this.hideTimer),n.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var i,o,n=this.chart,r=n.pointer,s=n.inverted,a=n.plotTop,l=n.plotLeft,h=0,c=0;return t=b(t),this.followPointer&&e?(void 0===e.chartX&&(e=r.normalize(e)),r=[e.chartX-l,e.chartY-a]):t[0].tooltipPos?r=t[0].tooltipPos:(t.forEach(function(t){i=t.series.yAxis,o=t.series.xAxis,h+=t.plotX||0,c+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,o&&i&&(s?(h+=a+n.plotHeight-o.len-o.pos,c+=l+n.plotWidth-i.len-i.pos):(h+=o.pos-l,c+=i.pos-a))}),h/=t.length,c/=t.length,r=[s?n.plotWidth-c:h,s?n.plotHeight-h:c],this.shared&&1<t.length&&e&&(s?r[0]=e.chartX-l:r[1]=e.chartY-a)),r.map(Math.round)},t.prototype.getLabel=function(){var t,i=this,n=this.chart.styledMode,r=this.options,s=this.split&&this.allowShared,a="tooltip"+(d(r.className)?" "+r.className:""),h=r.style.pointerEvents||(!this.followPointer&&r.stickOnContact?"auto":"none"),p=function(){i.inContact=!0},u=function(t){var e=i.chart.hoverSeries;i.inContact=i.shouldStickOnContact()&&i.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!i.inContact&&e&&e.onMouseOut&&e.onMouseOut()},f=this.chart.renderer;if(i.label){var g=!i.label.hasClass("highcharts-label");(s&&!g||!s&&g)&&i.destroy()}if(!this.label){if(this.outside){g=this.chart.options.chart.style;var m=o.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",c(t,{position:"absolute",top:"1px",pointerEvents:h,zIndex:Math.max(this.options.style.zIndex||0,(g&&g.zIndex||0)+3)}),l(t,"mouseenter",p),l(t,"mouseleave",u),e.doc.body.appendChild(t),this.renderer=f=new m(t,0,0,g,void 0,void 0,f.styledMode)}if(s?this.label=f.g(a):(this.label=f.label("",0,0,r.shape,void 0,void 0,r.useHTML,void 0,a).attr({padding:r.padding,r:r.borderRadius}),n||this.label.attr({fill:r.backgroundColor,"stroke-width":r.borderWidth}).css(r.style).css({pointerEvents:h}).shadow(r.shadow)),n&&r.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),i.outside&&!i.split){var v=this.label,y=v.xSetter,x=v.ySetter;v.xSetter=function(e){y.call(v,i.distance),t.style.left=e+"px"},v.ySetter=function(e){x.call(v,i.distance),t.style.top=e+"px"}}this.label.on("mouseenter",p).on("mouseleave",u).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,i){var o,n=this.chart,r=this.distance,a={},l=n.inverted&&i.h||0,h=this.outside,c=h?s.documentElement.clientWidth-2*r:n.chartWidth,d=h?Math.max(s.body.scrollHeight,s.documentElement.scrollHeight,s.body.offsetHeight,s.documentElement.offsetHeight,s.documentElement.clientHeight):n.chartHeight,p=n.pointer.getChartPosition(),u=function(o){var s="x"===o;return[o,s?c:d,s?t:e].concat(h?[s?t*p.scaleX:e*p.scaleY,s?p.left-r+(i.plotX+n.plotLeft)*p.scaleX:p.top-r+(i.plotY+n.plotTop)*p.scaleY,0,s?c:d]:[s?t:e,s?i.plotX+n.plotLeft:i.plotY+n.plotTop,s?n.plotLeft:n.plotTop,s?n.plotLeft+n.plotWidth:n.plotTop+n.plotHeight])},f=u("y"),g=u("x");u=!!i.negative,!n.polar&&n.hoverSeries&&n.hoverSeries.yAxis&&n.hoverSeries.yAxis.reversed&&(u=!u);var m=!this.followPointer&&x(i.ttBelow,!n.inverted===u),v=function(t,e,i,o,n,s,c){var d=h?"y"===t?r*p.scaleY:r*p.scaleX:r,u=(i-o)/2,f=o<n-r,g=n+r+o<e,v=n-d-i+u;if(n=n+d-u,m&&g)a[t]=n;else if(!m&&f)a[t]=v;else if(f)a[t]=Math.min(c-o,0>v-l?v:v-l);else{if(!g)return!1;a[t]=Math.max(s,n+l+i>e?n:n+l)}},y=function(t,e,i,o,n){var s;return n<r||n>e-r?s=!1:a[t]=n<i/2?1:n>e-o/2?e-o-2:n-i/2,s},b=function(t){var e=f;f=g,g=e,o=t},w=function(){!1!==v.apply(0,f)?!1!==y.apply(0,g)||o||(b(!0),w()):o?a.x=a.y=0:(b(!0),w())};return(n.inverted||1<this.len)&&b(),w(),a},t.prototype.hide=function(t){var e=this;n.clearTimeout(this.hideTimer),t=x(t,this.options.hideDelay),this.isHidden||(this.hideTimer=w(function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0},t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=x(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)}
2,t.prototype.move=function(t,e,i,o){var r=this,s=r.now,a=!1!==r.options.animation&&!r.isHidden&&(1<Math.abs(t-s.x)||1<Math.abs(e-s.y)),l=r.followPointer||1<r.len;u(s,{x:a?(2*s.x+t)/3:t,y:a?(s.y+e)/2:e,anchorX:l?void 0:a?(2*s.anchorX+i)/3:i,anchorY:l?void 0:a?(s.anchorY+o)/2:o}),r.getLabel().attr(s),r.drawTracker(),a&&(n.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){r&&r.move(t,e,i,o)},32))},t.prototype.refresh=function(t,e){var i=this.chart,o=this.options,r=b(t),s=r[0],a=[],l=o.formatter||this.defaultFormatter,h=this.shared,c=i.styledMode,d={};if(o.enabled){n.clearTimeout(this.hideTimer),this.allowShared=!(!g(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&s.series.tooltipOptions.followPointer;var p=(t=this.getAnchor(t,e))[0],u=t[1];if(h&&this.allowShared?(i.pointer.applyInactiveState(r),r.forEach(function(t){t.setState("hover"),a.push(t.getLabelConfig())}),(d={x:s.category,y:s.y}).points=a):d=s.getLabelConfig(),this.len=a.length,l=l.call(d,this),h=s.series,this.distance=x(h.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,r);else{var m=p,v=u;if(e&&i.pointer.isDirectTouch&&(m=e.chartX-i.plotLeft,v=e.chartY-i.plotTop),!i.polar&&!1!==h.options.clip&&!r.some(function(t){return t.series.shouldShowTooltip(m,v)}))return void this.hide();e=this.getLabel(),o.style.width&&!c||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:l&&l.join?l.join(""):l}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+x(s.colorIndex,h.colorIndex)),c||e.attr({stroke:o.borderColor||s.color||h.color||"#666666"}),this.updatePosition({plotX:p,plotY:u,negative:s.negative,ttBelow:s.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}f(this,"refresh")}},t.prototype.renderSplit=function(t,e){function i(t,e,i,n,r){return void 0===r&&(r=!0),i?(e=P?0:_,t=h(t-n/2,A.left,A.right-n-(o.outside?E:0))):(e-=L,t=h(t=r?t-n-S:t+S,r?t:A.left,A.right)),{x:t,y:e}}var o=this,n=o.chart,r=o.chart,l=r.chartWidth,c=r.chartHeight,d=r.plotHeight,p=r.plotLeft,f=r.plotTop,g=r.pointer,m=r.scrollablePixelsY;m=void 0===m?0:m;var y=r.scrollablePixelsX,b=r.scrollingContainer,w=(b=void 0===b?{scrollLeft:0,scrollTop:0}:b).scrollLeft;b=b.scrollTop;var k=r.styledMode,S=o.distance,C=o.options,T=o.options.positioner,A=o.outside&&"number"!=typeof y?s.documentElement.getBoundingClientRect():{left:w,right:w+l,top:b,bottom:b+c},M=o.getLabel(),O=this.renderer||n.renderer,P=!(!n.xAxis[0]||!n.xAxis[0].opposite),E=(n=g.getChartPosition()).left;n=n.top;var L=f+b,D=0,_=d-m;v(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce(function(t,n,r){if(!1!==n&&""!==n){var s=(r=e[r-1]||{isHeader:!0,plotX:e[0].plotX,plotY:d,series:{}}).isHeader,a=s?o:r.series;n=n.toString();var l=a.tt,c=r.isHeader,u=r.series,g="highcharts-color-"+x(r.colorIndex,u.colorIndex,"none");if(l||(l={padding:C.padding,r:C.borderRadius},k||(l.fill=C.backgroundColor,l["stroke-width"]=C.borderWidth),l=O.label("",0,0,C[c?"headerShape":"shape"],void 0,void 0,C.useHTML).addClass((c?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+g).attr(l).add(M)),l.
2isActive=!0,l.attr({text:n}),k||l.css(C.style).shadow(C.shadow).attr({stroke:C.borderColor||r.color||u.color||"#333333"}),n=(c=(a=a.tt=l).getBBox()).width+a.strokeWidth(),s&&(D=c.height,_+=D,P&&(L-=D)),u=void 0===(u=r.plotX)?0:u,g=void 0===(g=r.plotY)?0:g,l=r.series,r.isHeader){u=p+u;var m=f+d/2}else{var v=l.xAxis,y=l.yAxis;u=v.pos+h(u,-S,v.len+S),l.shouldShowTooltip(0,y.pos-f+g,{ignoreX:!0})&&(m=y.pos+g)}u=h(u,A.left-S,A.right+S),"number"==typeof m?(c=c.height+1,g=T?T.call(o,n,c,r):i(u,m,s,n),t.push({align:T?0:void 0,anchorX:u,anchorY:m,boxWidth:n,point:r,rank:x(g.rank,s?1:0),size:c,target:g.y,tt:a,x:g.x})):a.isActive=!1}return t},[]),!T&&t.some(function(t){var e=(o.outside?E:0)+t.anchorX;return e<A.left&&e+t.boxWidth<A.right||e<E-A.left+t.boxWidth&&A.right-e>e})&&(t=t.map(function(t){var e=i(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return u(t,{target:e.y,x:e.x})})),o.cleanSplit(),a(t,_);var j=E,I=E;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(o.outside&&E+e<j&&(j=E+e),!t&&o.outside&&j+i>I&&(I=E+e))}),t.forEach(function(t){var e=t.x,i=t.anchorX,n=t.pos,r=t.point.isHeader;if(n={visibility:void 0===n?"hidden":"inherit",x:e,y:n+L,anchorX:i,anchorY:t.anchorY},o.outside&&e<i){var s=E-j;0<s&&(r||(n.x=e+s,n.anchorX=i+s),r&&(n.x=(I-j)/2,n.anchorX=i+s))}t.tt.attr(n)}),t=o.container,m=o.renderer,o.outside&&t&&m&&(r=M.getBBox(),m.setSize(r.width+r.x,r.height+r.y,!1),t.style.left=j+"px",t.style.top=n+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,i=this.shared?t.hoverPoints:t.hoverPoint;if(e&&i){var o={x:0,y:0,width:0,height:0};i=this.getAnchor(i);var n=e.getBBox();i[0]+=t.plotLeft-e.translateX,i[1]+=t.plotTop-e.translateY,o.x=Math.min(0,i[0]),o.y=Math.min(0,i[1]),o.width=0>i[0]?Math.max(Math.abs(i[0]),n.width-i[0]):Math.max(Math.abs(i[0]),n.width),o.height=0>i[1]?Math.max(Math.abs(i[1]),n.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),n.height),this.tracker?this.tracker.attr(o):(this.tracker=e.renderer.rect(o).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=t.series,o=i.tooltipOptions,n=i.xAxis,s=n&&n.dateTime;n={isFooter:e,labelConfig:t};var a=o.xDateFormat,l=o[e?"footerFormat":"headerFormat"];return f(this,"headerFormatter",n,function(e){s&&!a&&m(t.key)&&(a=s.getXDateFormat(t.key,o.dateTimeLabelFormats)),s&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEac
2h(function(t){l=l.replace("{point."+t+"}","{point."+t+":"+a+"}")}),i.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=r(l,{point:t,series:i},this.chart)}),n.text},t.prototype.update=function(t){this.destroy(),y(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,y(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,i=this.options,o=e.pointer,n=this.getLabel();o=o.getChartPosition();var r=(i.positioner||this.getPosition).call(this,n.width,n.height,t),s=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(i=i.borderWidth+2*this.distance,this.renderer.setSize(n.width+i,n.height+i,!1),1===o.scaleX&&1===o.scaleY||(c(this.container,{transform:"scale("+o.scaleX+", "+o.scaleY+")"}),s*=o.scaleX,t*=o.scaleY),s+=o.left-r.x,t+=o.top-r.y),this.move(Math.round(r.x),Math.round(r.y||0),s,t)},t}(),t}),e(i,"Core/Series/Point.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/DefaultOptions.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],function(t,e,i,o,n){var r=e.animObject,s=i.defaultOptions,a=o.format,l=n.addEvent,h=n.defined,c=n.erase,d=n.extend,p=n.fireEvent,u=n.getNestedProperty,f=n.isArray,g=n.isFunction,m=n.isNumber,v=n.isObject,y=n.merge,x=n.objectEach,b=n.pick,w=n.syncTimeout,k=n.removeEvent,S=n.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},i=t.getGraphicalProps();i.singular.forEach(function(i){t[i]=t[i].animate("dataLabel"===i?{x:t[i].startXPos,y:t[i].startYPos,opacity:0}:e)}),i.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.animate(d({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))})})},e.prototype.applyOptions=function(t,i){var o=this.series,n=o.options.pointValKey||o.pointValKey;return t=e.prototype.optionsToObject.call(this,t),d(this,t),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,n&&(this.y=e.prototype.getNestedProperty.call(this,n)),this.formatPrefix=(this.isNull=b(this.isValid&&!this.isValid(),null===this.x||!m(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===i&&o.xAxis&&o.xAxis.hasNames&&(this.x=o.xAxis.nameToX(this)),void 0===this.x&&o?this.x=void 0===i?o.autoIncrement():i:m(t.x)&&o.options.relativeXValue&&(this.x=o.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(n in(e.graphic||e.dataLabel||e.dataLabels)&&(k(e),e.destroyElements()),e)e[n]=null}var e=this,i=e.series,o=i.chart;i=i.options.dataSorting;var n,s=o.hoverPoints,a=r(e.series.chart.renderer.globalAnimation);e.legendItem&&o.legend.destroyItem(e),s&&(e.setState(),c(s,e),s.length||(o.hoverPoints=null)),e===o.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),w(t,a.duration)):t(),o.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach(function(t){e[t]=e[t].destroy()}),t.plural.forEach(function(t){e[t].forEach(function(t){t.element&&t.destroy()}),delete e[t]})},e.prototype.firePointEvent=function(t,e,i){var o=this,n=this.series.options;(n.point.events[t]||o.options&&o.options.events&&o.options.events[t])&&o.importEvents(),"click"===t&&n.allowPointSelect&&(i=function(t){o.select&&o.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),p(o,t,e,i)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,i=this,o=[],n={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}
2).graphic&&o.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&o.push("dataLabel","dataLabelUpper","connector"),e=o.length;e--;){var r=o[e];i[r]&&n.singular.push(r)}return["dataLabel","connector"].forEach(function(e){var o=e+"s";t[e]&&i[o]&&n.plural.push(o)}),n},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?u(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,o=0;for(i=e[o];this[t]>=i.value;)i=e[++o];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=h(this.id)?this.id:S(),this.resolveColor(),t.chart.pointCount++,p(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var i=this.series,o=i.options.keys,n=o||i.pointArrayMap||["y"],r=n.length,s={},a=0,l=0;if(m(t)||null===t)s[n[0]]=t;else if(f(t))for(!o&&t.length>r&&("string"==(i=typeof t[0])?s.name=t[0]:"number"===i&&(s.x=t[0]),a++);l<r;)o&&void 0===t[a]||(0<n[l].indexOf(".")?e.prototype.setNestedProperty(s,t[a],n[l]):s[n[l]]=t[a]),a++,l++;else"object"==typeof t&&(s=t,t.dataLabels&&(i._hasPointLabels=!0),t.marker&&(i._hasPointMarkers=!0));return s},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,i=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var o=(i=t.options.colors||t.chart.options.colors)[t.colorCounter];i=i.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===i&&(t.colorCounter=0)}else e||(o=t.color),e=t.colorIndex;this.colorIndex=b(this.options.colorIndex,e),this.color=b(this.options.color,o)},e.prototype.setNestedProperty=function(t,e,i){return i.split(".").reduce(function(t,i,o,n){return t[i]=n.length-1===o?e:v(t[i],!0)?t[i]:{},t[i]},t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,i=e.tooltipOptions,o=b(i.valueDecimals,""),n=i.valuePrefix||"",r=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEac
2h(function(e){e="{point."+e,(n||r)&&(t=t.replace(RegExp(e+"}","g"),n+e+"}"+r)),t=t.replace(RegExp(e+"}","g"),e+":,."+o+"f}")}),a(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,i,o){function n(){s.applyOptions(t);var o=l&&s.hasDummyGraphic;o=null===s.y?!o:o,l&&o&&(s.graphic=l.destroy(),delete s.hasDummyGraphic),v(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(s.graphic=l.destroy()),t&&t.dataLabels&&s.dataLabel&&(s.dataLabel=s.dataLabel.destroy()),s.connector&&(s.connector=s.connector.destroy())),r=s.index,a.updateParallelArrays(s,r),c.data[r]=v(c.data[r],!0)||v(t,!0)?s.options:b(t,c.data[r]),a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(h.isDirtyBox=!0),"point"===c.legendType&&(h.isDirtyLegend=!0),e&&h.redraw(i)}var r,s=this,a=s.series,l=s.graphic,h=a.chart,c=a.options;e=b(e,!0),!1===o?n():s.firePointEvent("update",{options:t},n)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var i=this,o=i.series,n=o.chart;this.selectedStaging=t=b(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},function(){i.selected=i.options.selected=t,o.options.data[o.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||n.getSelectedPoints().forEac
2h(function(t){var e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(n.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))})}),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach(function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=y(t.series.options.point,t.options).events;t.events=e,x(e,function(e,i){g(e)&&l(t,i,e)}),this.hasImportedEvents=!0}},e.prototype.setState=function(e,i){var o,n=this.series,r=this.state,a=n.options.states[e||"normal"]||{},l=s.plotOptions[n.type].marker&&n.options.marker,h=l&&!1===l.enabled,c=l&&l.states&&l.states[e||"normal"]||{},u=!1===c.enabled,f=this.marker||{},g=n.chart,v=l&&n.markerAttribs,y=n.halo,x=n.stateMarkerGraphic;if(!((e=e||"")===this.state&&!i||this.selected&&"select"!==e||!1===a.enabled||e&&(u||h&&!1===c.enabled)||e&&f.states&&f.states[e]&&!1===f.states[e].enabled)){if(this.state=e,v&&(o=n.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(r&&this.graphic.removeClass("highcharts-point-"+r),e&&this.graphic.addClass("highcharts-point-"+e),!g.styledMode){var w=n.pointAttribs(this,e),k=b(g.options.chart.animation,a.animation);n.options.inactiveOtherPoints&&m(w.opacity)&&((this.dataLabels||[]).forEach(function(t){t&&t.animate({opacity:w.opacity},k)}),this.connector&&this.connector.animate({opacity:w.opacity},k)),this.graphic.animate(w,k)}o&&this.graphic.animate(o,b(g.options.chart.animation,c.animation,l.animation)),x&&x.hide()}else e&&c&&(r=f.symbol||n.symbol,x&&x.currentSymbol!==r&&(x=x.destroy()),o&&(x?x[i?"animate":"attr"]({x:o.x,y:o.y}):r&&(n.stateMarkerGraphic=x=g.renderer.symbol(r,o.x,o.y,o.width,o.height).add(n.markerGroup),x.currentSymbol=r)),!g.styledMode&&x&&"inactive"!==this.state&&x.attr(n.pointAttribs(this,e))),x&&(x[e&&this.isInside?"show":"hide"](),x.element.point=this,x.addClass(this.getClassName(),!0));a=a.halo,o=(x=this.graphic||x)&&x.visibility||"inherit",a&&a.size&&x&&"hidden"!==o&&!this.isCluster?(y||(n.halo=y=g.renderer.path().add(x.parentGroup)),y.show()[i?"animate":"attr"]({d:this.haloPath(a.size)}),y.attr({class:"highcharts-halo highcharts-color-"+b(this.colorIndex,n.colorIndex)+(this.className?" "+this.className:""),visibility:o,zIndex:-1}),y.point=this,g.styledMode||y.attr(d({fill:this.color||n.color,"fill-opacity":a.opacity},t.filterUserAttributes(a.attributes||{})))):y&&y.point&&y.point.haloPath&&y.animate({d:y.point.haloPath(0)},null,y.hide),p(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}(),e}),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],function(t,e,i,o){var n=t.parse,r=e.charts,s=e.noop,a=o.addEvent,l=o.attr,h=o.css,c=o.defined,d=o.extend,p=o.find,u=o.fireEvent,f=o.isNumber,g=o.isObject,m=o.objectEach,v=o.offset,y=o.pick,x=o.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach(function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)}),this.chart.series.forEach(function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")})},t.prototype.destroy=function(){var i=this;this.eventsToUnbind.forEach(function(t){return t()}),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(i.tooltipTimeout),m(i,function(t,e){i[e]=void 0})},t.prototype.drag=function(t){var e=this.chart,i=e.options.chart,o=this.zoomHor,r=this.zoomVert,s=e.plotLeft,a=e.plotTop,l=e.plotWidth,h=e.plotHeight,c=this.mouseDownX||0,d=this.mouseDownY||0,p=g(i.panning)?i.panning&&i.panning.enabled:i.panning,u=i.panKey&&t[i.panKey+"Key"],f=t.chartX,m=t.chartY,v=this.selectionMarker;if((!v||!v.touch)&&(f<s?f=s:f>s+l&&(f=s+l),m<a?m=a:m>a+h&&(m=a+h),this.hasDragged=Math.sqrt(Math.pow(c-f,2)+Math.pow(d-m,2)),10<this.hasDragged)){var y=e.isInsidePlot(c-s,d-a,{visiblePlotOnly:!0});
2!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!y||u||v||(this.selectionMarker=v=e.renderer.rect(s,a,o?1:l,r?1:h,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||v.attr({fill:i.selectionMarkerFill||n("#335cad").setOpacity(.25).get()})),v&&o&&(o=f-c,v.attr({width:Math.abs(o),x:(0<o?0:o)+c})),v&&r&&(o=m-d,v.attr({height:Math.abs(o),y:(0<o?0:o)+d})),y&&!v&&p&&e.pan(t,i.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,i=this.chart,o=this.hasPinched;if(this.selectionMarker){var n=this.selectionMarker,r=n.attr?n.attr("x"):n.x,s=n.attr?n.attr("y"):n.y,a=n.attr?n.attr("width"):n.width,l=n.attr?n.attr("height"):n.height,p={originalEvent:t,xAxis:[],yAxis:[],x:r,y:s,width:a,height:l},g=!!i.mapView;(this.hasDragged||o)&&(i.axes.forEach(function(i){if(i.zoomEnabled&&c(i.min)&&(o||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&f(r)&&f(s)){var n=i.horiz,h="touchend"===t.type?i.minPixelPadding:0,d=i.toValue((n?r:s)+h);n=i.toValue((n?r+a:s+l)-h),p[i.coll].push({axis:i,min:Math.min(d,n),max:Math.max(d,n)}),g=!0}}),g&&u(i,"selection",p,function(t){i.zoom(d(t,o?{animation:!1}:null))})),f(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),o&&this.scaleGroups()}i&&f(i.index)&&(h(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,i){var o,n=this.chart,r=n.hoverPoint;return n=n.tooltip,r&&n&&n.isStickyOnContact()?r:(t.forEach(function(t){var n=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,n),(n=g(t,!0)&&t.series)&&!(n=!g(o,!0))){n=o.distX-t.distX;var r=o.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(o.series.group&&o.series.group.zIndex);n=0<(0!==n&&e?n:0!==r?r:0!==s?s:o.series.index>t.series.index?-1:1)}n&&(o=t)}),o)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,o=i.xAxis;i=i.yAxis;var n=t.shapeArgs;if(o&&i){var r=y(t.clientX,t.plotX),s=t.plotY||0;return t.isNode&&n&&f(n.x)&&f(n.y)&&(r=n.x,s=n.y),e?{chartX:i.len+i.pos-s,chartY:o.len+o.pos-r}:{chartX:r+o.pos,chartY:s+i.pos}}if(n&&n.x&&n.y)return{chartX:n.x,chartY:n.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var i=t.offsetWidth;return t=t.offsetHeight,2<i&&2<t&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})}),e},t.prototype.getHoverData=function(t,e,i,o,n,r){var s=[];o=!(!o||!t);var a={chartX:r?r.chartX:void 0,chartY:r?r.chartY:void 0,shared:n};u(this,"beforeGetHoverData",a);var l=e&&!e.stickyTracking?[e]:i.filter(function(t){return a.filter?a.filter(t):t.visible&&!(!n&&t.directTouch)&&y(t.options.enableMouseTracking,!0)&&t.stickyTracking}),h=o||!r?t:this.findNearestKDPoint(l,n,r);return e=h&&h.series,h&&(n&&!e.noSharedTooltip?(l=i.filter(function(t){return a.filter?a.filter(t):t.visible&&!(!n&&t.directTouch)&&y(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip})).forEach(function(t){var e=p(t.points,function(t){return t.x===h.x&&!t.isNull});g(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),s.push(e))}):s.push(h)),u(this,"afterGetHoverData",a={hoverPoint:h}),{hoverPoint:a.hoverPoint,hoverSeries:e,hoverPoints:s}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var i;t;){if(i=l(t,"class")){if(-1!==i.indexOf(e))return!0;
2if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},i&&(t.tooltip=new i(t,e.tooltip),this.followTouchMove=y(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var i=t.touches,o=i?i.length?i.item(0):y(i.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),i=o.pageX-e.left,o=o.pageY-e.top,i/=e.scaleX,o/=e.scaleY,d(t,{chartX:Math.round(i),chartY:Math.round(o)})},t.prototype.onContainerClick=function(t){var e=this.chart,i=e.hoverPoint;t=this.normalize(t);var o=e.plotLeft,n=e.plotTop;e.cancelClick||(i&&this.inClass(t.target,"highcharts-tracker")?(u(i.series,"click",d(t,{point:i})),e.hoverPoint&&i.firePointEvent("click",t)):(d(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-o,t.chartY-n,{visiblePlotOnly:!0})&&u(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var i=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var i=r[y(t.hoverChartIndex,-1)],o=this.chart.tooltip;o&&o.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),i&&(e.relatedTarget||e.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0),o&&!o.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var i=r[y(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,i=this.chartPosition;t=this.normalize(t,i);var o=e.tooltip;!i||o&&o.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var i=r[y(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,i=e.chart,o=e.pinchDown,n=t.touches||[],r=n.length,a=e.lastValidTouch,l=e.hasZoom,h={},c=1===r&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),p={},f=e.selectionMarker;1<r?e.initiated=!0:1===r&&this.followTouchMove&&(e.initiated=!1),l&&e.initiated&&!c&&!1!==t.cancelable&&t.preventDefault(),[].map.call(n,function(t){return e.normalize(t)}),"touchstart"===t.type?([].forEach.call(n,function(t,e){o[e]={chartX:t.chartX,chartY:t.chartY}}),a.x=[o[0].chartX,o[1]&&o[1].chartX],a.y=[o[0].chartY,o[1]&&o[1].chartY],i.axes.forEach(function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],o=t.minPixelPadding,n=t.toPixels(Math.min(y(t.options.min,t.dataMin),t.dataMin)),r=t.toPixels(Math.max(y(t.options.max,t.dataMax),t.dataMax)),s=Math.max(n,r);e.min=Math.min(t.pos,Math.min(n,r)-o),e.max=Math.max(t.pos+t.len,s+o)}}),e.res=!0):e.followTouchMove&&1===r?this.runPointActions(e.normalize(t)):o.length&&(u(i,"touchpan",{originalEvent:t},function(){f||(e.selectionMarker=f=d({destroy:s,touch:!0},i.plotBox)),e.pinchTranslate(o,n,h,f,p,a),e.hasPinched=l,e.scaleGroups(h,p)}),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,i,o,n,r){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,o,n,r),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,o,n,r)}
2,t.prototype.pinchTranslateDirection=function(t,e,i,o,n,r,s,a){var l=this.chart,h=t?"x":"y",c=t?"X":"Y",d="chart"+c,p=t?"width":"height",u=l["plot"+(t?"Left":"Top")],f=l.inverted,g=l.bounds[t?"h":"v"],m=1===e.length,v=e[0][d],y=!m&&e[1][d];e=function(){"number"==typeof S&&20<Math.abs(v-y)&&(w=a||Math.abs(k-S)/Math.abs(v-y)),b=(u-k)/w+v,x=l["plot"+(t?"Width":"Height")]/w};var x,b,w=a||1,k=i[0][d],S=!m&&i[1][d];if(e(),(i=b)<g.min){i=g.min;var C=!0}else i+x>g.max&&(i=g.max-x,C=!0);C?(k-=.8*(k-s[h][0]),"number"==typeof S&&(S-=.8*(S-s[h][1])),e()):s[h]=[k,S],f||(r[h]=b-u,r[p]=x),r=f?1/w:w,n[p]=x,n[h]=i,o[f?t?"scaleY":"scaleX":"scale"+c]=w,o["translate"+c]=r*u+(k-r*v)},t.prototype.reset=function(t,e){var i=this.chart,o=i.hoverSeries,n=i.hoverPoint,r=i.hoverPoints,s=i.tooltip,a=s&&s.shared?r:n;t&&a&&x(a).forEach(function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?s&&a&&x(a).length&&(s.refresh(a),s.shared&&r?r.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):n&&(n.setState(n.state,!0),i.axes.forEach(function(t){t.crosshair&&n.series[t.coll]===t&&t.drawCrosshair(null,n)}))):(n&&n.onMouseOut(),r&&r.forEach(function(t){t.setState()}),o&&o.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(e,i){var o=this.chart,n=o.tooltip&&o.tooltip.options.enabled?o.tooltip:void 0,s=!!n&&n.shared,l=i||o.hoverPoint,h=l&&l.series||o.hoverSeries;l=(i=this.getHoverData(l,h,o.series,(!e||"touchmove"!==e.type)&&(!!i||h&&h.directTouch&&this.isDirectTouch),s,e)).hoverPoint,h=i.hoverSeries;var c=i.hoverPoints;if(i=h&&h.tooltipOptions.followPointer&&!h.tooltipOptions.split,s=s&&h&&!h.noSharedTooltip,l&&(l!==o.hoverPoint||n&&n.isHidden)){if((o.hoverPoints||[]).forEach(function(t){-1===c.indexOf(t)&&t.setState()}),o.hoverSeries!==h&&h.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach(function(t){t.setState("hover")}),o.hoverPoint&&o.hoverPoint.firePointEvent("mouseOut"),!l.series)return;o.hoverPoints=c,o.hoverPoint=l,l.firePointEvent("mouseOver"),n&&n.refresh(s?c:l,e)}else i&&n&&!n.isHidden&&(l=n.getAnchor([{}],e),o.isInsidePlot(l[0],l[1],{visiblePlotOnly:!0})&&n.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=a(o.container.ownerDocument,"mousemove",function(e){var i=r[t.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(e)}),this.eventsToUnbind.push(this.unDocMouseMove)),o.axes.forEach(function(t){var i,n=y((t.crosshair||{}).snap,!0);n&&((i=o.hoverPoint)&&i.series[t.coll]===t||(i=p(c,function(e){return e.series[t.coll]===t}))),i||!n?t.drawCrosshair(e,i):t.hideCrosshair()})},t.prototype.scaleGroups=function(t,e){var i=this.chart;i.series.forEach(function(o){var n=t||o.getPlotBox();o.group&&(o.xAxis&&o.xAxis.zoomEnabled||i.mapView)&&(o.group.attr(n),o.markerGroup&&(o.markerGroup.attr(n),o.markerGroup.clip(e?i.clipRect:null)),o.dataLabelsGroup&&o.dataLabelsGroup.attr(n))}),i.clipRect.attr(e||i.clipBox)},t.prototype.setDOMEvents=function(){var i=this,o=this.chart.container,n=o.ownerDocument;o.onmousedown=this.onContainerMouseDown.bind(this),o.onmousemove=this.onContainerMouseMove.bind(this),o.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(a(o,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(a(o,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=a(n,"mouseup",this.onDocumentMouseUp.bind(this)));for(var r=this.chart.renderTo.parentElement;r&&"BODY"!==r.tagName;)this.eventsToUnbind.push(a(r,"scroll",function(){delete i.chartPosition})),r=r.parentElement;e.hasTouch&&(this.eventsToUnbind.push(a(o,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(a(o,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=a(n,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var i=this.chart,o=e.charts[y(t.hoverChartIndex,-1)];o&&o!==i&&o.pointer.onContainerMouseLeave({relatedTarget:!0}),o&&o.mouseIsDown||(t.hoverChartIndex=i.index)},t.prototype.touch=function(t,e){var i=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var o=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));y(o,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart;e=e.inverted;var o=i.zoomType||"";/touch/.test(t.type)&&(o=y(i.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=i=/y/.test(o),this.zoomHor=t&&!e||i&&e,this.zoomVert=i&&!e||t&&e,this.hasZoom=t||i},t}(),t}),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],function(t,e,
2i){function o(){var t=[];return t.item=function(t){return this[t]},p(f,function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})}),t}function n(t,i,n,r){var a=s[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!a||(a=a.pointer,r(t),a[i]({type:n,target:t.currentTarget,preventDefault:l,touches:o()}))}var r=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),s=t.charts,a=t.doc,l=t.noop,h=t.win,c=i.addEvent,d=i.css,p=i.objectEach,u=i.removeEvent,f={},g=!!h.PointerEvent;return function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return r(i,e),i.isRequired=function(){return!(t.hasTouch||!h.PointerEvent&&!h.MSPointerEvent)},i.prototype.batchMSEvents=function(t){t(this.chart.container,g?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,g?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,g?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},i.prototype.destroy=function(){this.batchMSEvents(u),e.prototype.destroy.call(this)},i.prototype.init=function(t,i){e.prototype.init.call(this,t,i),this.hasZoom&&d(t.container,{"-ms-touch-action":"none","touch-action":"none"})},i.prototype.onContainerPointerDown=function(t){n(t,"onContainerTouchStart","touchstart",function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},i.prototype.onContainerPointerMove=function(t){n(t,"onContainerTouchMove","touchmove",function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY},f[t.pointerId].target||(f[t.pointerId].target=t.currentTarget)})},i.prototype.onDocumentPointerUp=function(t){n(t,"onDocumentTouchEnd","touchend",function(t){delete f[t.pointerId]})},i.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(c)},i}(e)}),e(i,"Core/Legend/Legend.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Point.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Utilities.js"]],function(t,e,i,o,n,r){var s=t.animObject,a=t.setAnimation,l=e.format;t=i.isFirefox;var h=i.marginNames;i=i.win;var c=n.distribute,d=r.addEvent,p=r.createElement,u=r.css,f=r.defined,g=r.discardElement,m=r.find,v=r.fireEvent,y=r.isNumber,x=r.merge,b=r.pick,w=r.relativeLength,k=r.stableSort,S=r.syncTimeout;return n=r.wrap,r=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),d(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=d(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=b(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=x(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=b(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var i=this.chart;this.setOptions(x(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,b(e,!0)&&i.redraw(),v(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,o=t.legendItem,n=t.legendLine,r=t.legendSymbol,s=this.itemHiddenStyle.color;i=e?i.itemStyle.color:s;var a=e&&t.color||s,l=t.options&&t.options.marker,h={fill:a};o&&o.css({fill:i,color:i}),n&&n.attr({stroke:a}),r&&(l&&r.isMarker&&(h=t.pointAttribs(),e||(h.stroke=h.fill=s)),r.attr(h))}v(this,"afterColorizeItem",{item:t,visible:e})}
2,t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,i=this.options,o=i.symbolPadding,n=!i.rtl,r=t._legendItemPos;i=r[0],r=r[1];var s=t.checkbox,a=t.legendGroup;a&&a.element&&(o={translateX:n?i:this.legendWidth-i-2*o-4,translateY:r},n=function(){v(e,"afterPositionItem",{item:t})},f(a.translateY)?a.animate(o,void 0,n):(a.attr(o),n())),s&&(s.x=i,s.y=r)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(e){t[e]&&(t[e]=t[e].destroy())}),e&&g(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach(function(e){["legendItem","legendGroup"].forEach(t,e)}),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,i=this.titleHeight;if(t){var o=t.translateY;this.allItems.forEach(function(n){var r=n.checkbox;if(r){var s=o+i+r.y+(this.scrollOffset||0)+3;u(r,{left:t.translateX+n.checkboxOffset+r.x-20+"px",top:s+"px",display:this.proximate||s>o-6&&s<o+e-6?"":"none"})}},this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,i=t.title,o=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),o=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:o})),this.titleHeight=o},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,i=e.renderer,o=this.options,n=this.symbolWidth,r=o.symbolPadding||0,s=this.itemStyle,a=this.itemHiddenStyle,l="horizontal"===o.layout?b(o.itemDistance,20):0,h=!o.rtl,c=!t.series,d=!c&&t.series.drawLegendSymbol?t.series:t,p=d.options,u=this.createCheckboxForItem&&p&&p.showCheckbox,f=o.useHTML,g=t.options.className,m=t.legendItem;p=n+r+l+(u?20:0),m||(t.legendGroup=i.g("legend-item").addClass("highcharts-"+d.type+"-series highcharts-color-"+t.colorIndex+(g?" "+g:"")+(c?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=m=i.text("",h?n+r:-r,this.baseline||0,f),e.styledMode||m.css(x(t.visible?s:a)),m.attr({align:h?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=i.fontMetrics(e.styledMode?12:s.fontSize,m),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,m.attr("y",this.baseline),this.symbolHeight=o.symbolHeight||this.fontMetrics.f,o.squareSymbol&&(this.symbolWidth=b(o.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+r+l+(u?20:0),h&&m.attr("x",this.symbolWidth+r))),d.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,m,f)),u&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&s.width||m.css({width:(o.itemWidth||this.widthOption||e.spacingBox.width)-p+"px"}),this.setText(t),e=m.getBBox(),i=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=o.itemWidth||t.legendItemWidth||e.width+p,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*i?e.height:i))},t.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,n=t.itemHeight,r=this.itemMarginBottom,s=this.itemMarginTop,a=o?b(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,o&&this.itemX-i+e>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=s+this.itemY+r,this.lastLineHeight=Math.max(n,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],o?this.itemX+=e:(this.itemY+=s+n+r,this.lastLineHeight=n),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];
2return this.chart.series.forEach(function(e){var i=e&&e.options;e&&b(i.showInLegend,!f(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))}),v(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,o=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(r,s){r.test(n)&&!f(t[s])&&(i[h[s]]=Math.max(i[h[s]],i.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*o[s%2?"x":"y"]+b(o.margin,12)+e[s]+(i.titleOffset[s]||0)))})},t.prototype.proximatePositions=function(){var t=this.chart,e=[],i="left"===this.options.align;this.allItems.forEach(function(o){var n,r=i;if(o.yAxis){o.xAxis.options.reversed&&(r=!r),o.points&&(n=m(r?o.points:o.points.slice(0).reverse(),function(t){return y(t.plotY)})),r=this.itemMarginTop+o.legendItem.getBBox().height+this.itemMarginBottom;var s=o.yAxis.top-t.plotTop;o.visible?(n=n?n.plotY:o.yAxis.height,n+=s-.3*r):n=s+o.yAxis.height,e.push({target:n,size:r,item:o})}},this),c(e,t.plotHeight).forEach(function(e){e.item._legendItemPos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)})},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.options,o=this.padding,n=this.getAllItems(),r=this.group,s=this.box;this.itemX=o,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=w(i.width,t.spacingBox.width-o);var a=t.spacingBox.width-2*o-i.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,r||(this.group=r=e.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(r),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),k(n,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),i.reversed&&n.reverse(),this.allItems=n,this.display=a=!!n.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,n.forEach(this.renderItem,this),n.forEac
2h(this.layoutItem,this),n=(this.widthOption||this.offsetWidth)+o;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=o,s||(this.box=s=e.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(r),s.isNew=!0),t.styledMode||s.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0<n&&0<l&&(s[s.isNew?"attr":"animate"](s.crisp.call({},{x:0,y:0,width:n,height:l},s.strokeWidth())),s.isNew=!1),s[a?"show":"hide"](),t.styledMode&&"none"===r.getStyle("display")&&(n=l=0),this.legendWidth=n,this.legendHeight=l,a&&this.align(),this.proximate||this.positionItems(),v(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,i=this.options,o=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?o+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(o-=e.titleOffset[2]),o!==t.y&&(t=x(t,{y:o})),this.group.align(x(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,i,o=this,n=this.chart,r=n.renderer,s=this.options,a=s.y,l="top"===s.verticalAlign,h=this.padding,c=s.maxHeight,d=s.navigation,p=b(d.animation,!0),u=d.arrowSize||12,f=this.pages,g=this.allItems,m=function(t){"number"==typeof t?x.attr({height:t}):x&&(o.clipRect=x.destroy(),o.contentGroup.clip()),o.contentGroup.div&&(o.contentGroup.div.style.clip=t?"rect("+h+"px,9999px,"+(h+t)+"px,0)":"auto")},v=function(t){return o[t]=r.circle(0,0,1.3*u).translate(u/2,u/2).add(y),n.styledMode||o[t].attr("fill","rgba(0,0,0,0.0001)"),o[t]};a=n.spacingBox.height+(l?-a:a)-h;var y=this.nav,x=this.clipRect;return"horizontal"!==s.layout||"middle"===s.verticalAlign||s.floating||(a/=2),c&&(a=Math.min(a,c)),f.length=0,t&&0<a&&t>a&&!1!==d.enabled?(this.clipHeight=e=Math.max(a-20-this.titleHeight-h,0),this.currentPage=b(this.currentPage,1),this.fullHeight=t,g.forEach(function(t,o){var n=t._legendItemPos[1],r=Math.round(t.legendItem.getBBox().height),s=f.length;(!s||n-f[s-1]>e&&(i||n)!==f[s-1])&&(f.push(i||n),s++),t.pageIx=s-1,i&&(g[o-1].pageIx=s-1),o===g.length-1&&n+r-f[s-1]>e&&r<=e&&(f.push(n),t.pageIx=s),n!==i&&(i=n)}),x||(x=o.clipRect=r.clipRect(0,h,9999,0),o.contentGroup.clip(x)),m(e),y||(this.nav=y=r.g().attr({zIndex:1}).add(this.group),this.up=r.symbol("triangle",0,0,u,u).add(y),v("upTracker").on("click",function(){o.scroll(-1,p)}),this.pager=r.text("",15,10).addClass("highcharts-legend-navigation"),n.styledMode||this.pager.css(d.style),this.pager.add(y),this.down=r.symbol("triangle-down",0,0,u,u).add(y),v("downTracker").on("click",function(){o.scroll(1,p)})),o.scroll(0),t=a):y&&(m(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,o=this.chart,n=this.pages,r=n.length,l=this.clipHeight,h=this.options.navigation,c=this.pager,d=this.padding,p=this.currentPage+t;p>r&&(p=r),0<p&&(void 0!==e&&a(e,o),this.nav.attr({translateX:d,translateY:l+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(t){t.attr({class:1===p?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),c.attr({text:p+"/"+r}),[this.down,this.downTracker].forEach(function(t){t.attr({x:18+this.pager.getBBox().width,class:p===r?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),o.styledMode||(this.up.attr({fill:1===p?h.inactiveColor:h.activeColor}),this.upTracker.css({cursor:1===p?"default":"pointer"}),this.down.attr({fill:p===r?h.inactiveColor:h.activeColor}),this.downTracker.css({cursor:p===r?"default":"pointer"})),this.scrollOffset=-n[p-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=p,this.positionCheckboxes(),t=s(b(e,o.renderer.globalAnimation,!0)),S(function(){v(i,"afterScroll",{currentPage:p})},t.duration))},t.prototype.setItemEvents=function(t,e,i){var n=this,r=n.chart.renderer.boxWrapper,s=t instanceof o,a="highcharts-legend-"+(s?"point":"series")+"-active",l=n.chart.styledMode,h=function(e){n.allItems.forEac
2h(function(i){t!==i&&[i].concat(i.linkedSeries||[]).forEach(function(t){t.setState(e,!s)})})};(i?[e,t.legendSymbol]:[t.legendGroup]).forEach(function(i){i&&i.on("mouseover",function(){t.visible&&h("inactive"),t.setState("hover"),t.visible&&r.addClass(a),l||e.css(n.options.itemHoverStyle)}).on("mouseout",function(){n.chart.styledMode||e.css(x(t.visible?n.itemStyle:n.itemHiddenStyle)),h(""),r.removeClass(a),t.setState()}).on("click",function(e){var i=function(){t.setVisible&&t.setVisible(),h(t.visible?"inactive":"")};r.removeClass(a),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):v(t,"legendItemClick",e,i)})})},t.prototype.createCheckboxForItem=function(t){t.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),d(t.checkbox,"click",function(e){v(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},function(){t.select()})})},t}(),(/Trident\/7\.0/.test(i.navigator&&i.navigator.userAgent)||t)&&n(r.prototype,"positionItem",function(t,e){var i=this,o=function(){e._legendItemPos&&t.call(i,e)};o(),i.bubbleLegend||setTimeout(o)}),r}),e(i,"Core/Series/SeriesRegistry.js",[i["Core/Globals.js"],i["Core/DefaultOptions.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],function(t,e,i,o){var n,r=e.defaultOptions,s=o.error,a=o.extendClass,l=o.merge;return function(e){function o(t,o){var n=r.plotOptions||{},s=o.defaultOptions;o.prototype.pointClass||(o.prototype.pointClass=i),o.prototype.type=t,s&&(n[t]=s),e.seriesTypes[t]=o}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,i){void 0===i&&(i={});var o=t.options.chart;o=i.type||o.type||o.defaultSeriesType||"";var n=e.seriesTypes[o];return e||s(17,!0,t,{missingModuleFor:o}),"function"==typeof(o=new n).init&&o.init(t,i),o},e.registerSeriesType=o,e.seriesType=function(t,n,s,h,c){var d=r.plotOptions||{};return n=n||"",d[t]=l(d[n],s),o(t,a(e.seriesTypes[n]||function(){},h)),e.seriesTypes[t].prototype.type=t,c&&(e.seriesTypes[t].prototype.pointClass=a(i,c)),e.seriesTypes[t]}}(n||(n={})),n}),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/FormatUtilities.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend/Legend.js"],i["Core/MSPointer.js"],i["Core/DefaultOptions.js"],i["Core/Pointer.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Time.js"],i["Core/Utilities.js"],i["Core/Renderer/HTML/AST.js"]],function(t,e,i,o,n,r,s,a,l,h,c,d,p,u,f){var g=t.animate,m=t.animObject,v=t.setAnimation,y=i.numberFormat,x=o.registerEventOptions,b=n.charts,w=n.doc,k=n.marginNames,S=n.svg,C=n.win,T=a.defaultOptions,A=a.defaultTime,M=c.seriesTypes,O=u.addEvent,P=u.attr,E=u.cleanRecursively,L=u.createElement,D=u.css,_=u.defined,j=u.discardElement,I=u.erase,B=u.error,R=u.extend,N=u.find,z=u.fireEvent,H=u.getStyle,$=u.isArray,W=u.isNumber,F=u.isObject,G=u.isString,U=u.merge,X=u.objectEach,Y=u.pick,V=u.pInt,q=u.relativeLength,K=u.removeEvent,Z=u.splat,Q=u.syncTimeout,J=u.uniqueKey;return t=function(){function t(t,e,i){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,i)}return t.chart=function(e,i,o){return new t(e,i,o)},t.prototype.getArgs=function(t,e,i){G(t)||t.nodeName?(this.renderTo=t,this.init(e,i)):this.init(t,e)},t.prototype.init=function(t,e){var i=t.plotOptions||{};z(this,"init",{args:arguments},function(){var o=U(T,t),r=o.chart;X(o.plotOptions,function(t,e){F(t)&&(t.tooltip=i[e]&&U(i[e].tooltip)||void 0)}),o.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=o,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new p(t.time):n.time,this.numberFormatter=r.numberFormatter||y,this.styledMode=r.styledMode,this.hasCartesianSeries=r.showAxes,this.index=b.length,b.push(this),n.chartCount++,x(this,r),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,z(this,"afterInit"),this.firstRen
2der()})},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var i=M[e];return i||B(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new i).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)})},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0})},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var i=e.length;t<i;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,i){void 0===i&&(i={});var o=this.inverted,n=this.plotBox,r=this.plotLeft,s=this.plotTop,a=this.scrollablePlotBox,l=0,h=0;i.visiblePlotOnly&&this.scrollingContainer&&(l=(h=this.scrollingContainer).scrollLeft,h=h.scrollTop);var c=i.series;if(n=i.visiblePlotOnly&&a||n,t={x:a=i.inverted?e:t,y:e=i.inverted?t:e,isInsidePlot:!0},!i.ignoreX){var d=c&&(o?c.yAxis:c.xAxis)||{pos:r,len:1/0};(a=i.paneCoordinates?d.pos+a:r+a)>=Math.max(l+r,d.pos)&&a<=Math.min(l+r+n.width,d.pos+d.len)||(t.isInsidePlot=!1)}return!i.ignoreY&&t.isInsidePlot&&(o=c&&(o?c.xAxis:c.yAxis)||{pos:s,len:1/0},(i=i.paneCoordinates?o.pos+e:s+e)>=Math.max(h+s,o.pos)&&i<=Math.min(h+s+n.height,o.pos+o.len)||(t.isInsidePlot=!1)),z(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){z(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,o=this.pointer,n=this.legend,r=this.userOptions.legend,s=this.renderer,a=s.isHidden(),l=[],h=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&z(t,"updatedData")}),c&&n&&n.options.enabled&&(n.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(h=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push(function(){z(t,"afterSetExtremes",R(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(h||p)&&t.redraw()}),h&&this.drawChartBox(),z(this,"predraw"),i.forEach(function(t){(h||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),o&&o.reset(!0),s.draw(),z(this,"redraw"),z(this,"render"),a&&this.temporaryDisplay(!0),l.forEach(function(t){t.call()})},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var i=this.series,o=N(this.axes,e)||N(this.series,e),n=0;!o&&n<i.length;n++)o=N(i[n].points||[],e);return o},t.prototype.getAxes=function(){var t=this,i=this.options,o=i.xAxis=Z(i.xAxis||{});i=i.yAxis=Z(i.yAxis||{}),z(this,"getAxes"),o.forEach(function(t,e){t.index=e,t.isX=!0}),i.forEach(function(t,e){t.index=e}),o.concat(i).forEach(function(i){new e(t,i)}),z(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce(function(t,e){return e.getPointsCollection().forEach(function(e){Y(e.selectedStaging,e.selected)&&t.push(e)}),t},[])},t.prototype.getSelectedSeries=function(){return this.series.filter(function(t){return t.selected})},t.prototype.setTitle=function(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)},t.prototype.applyDescription=function(t,e){var i=this,o="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};o=this.options[t]=U(!this.styledMode&&{style:o},this.options[t],e);var n=this[t];n&&e&&(this[t]=n=n.destroy()),o&&!n&&((n=this.renderer.text(o.text,0,0,o.useHTML).attr({align:o.align,class:"highcharts-"+t,zIndex:o.zIndex||4}
2).add()).update=function(e){i[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||n.css(o.style),this[t]=n)},t.prototype.layOutTitles=function(t){var e=[0,0,0],i=this.renderer,o=this.spacingBox;["title","subtitle","caption"].forEach(function(t){var n,r=this[t],s=this.options[t],a=s.verticalAlign||"top";if(t="title"===t?"top"===a?-3:0:"top"===a?e[0]+2:0,r){this.styledMode||(n=s.style&&s.style.fontSize),n=i.fontMetrics(n,r).b,r.css({width:(s.width||o.width+(s.widthAdjust||0))+"px"});var l=Math.round(r.getBBox(s.useHTML).height);r.align(R({y:"bottom"===a?n:t+n,height:l},s),!1,"spacingBox"),s.floating||("top"===a?e[0]=Math.ceil(e[0]+l):"bottom"===a&&(e[2]=Math.ceil(e[2]+l)))}},this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var n=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,z(this,"afterLayOutTitles"),!this.isDirtyBox&&n&&(this.isDirtyBox=this.isDirtyLegend=n,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var i=this.renderTo;_(e)||(this.containerWidth=H(i,"width")),_(t)||(this.containerHeight=H(i,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,q(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(D(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(w.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(w.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,w.body.appendChild(e)),("none"===H(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),D(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==w.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,i=e.chart,o=J(),n=this.renderTo;n||(this.renderTo=n=i.renderTo),G(n)&&(this.renderTo=n=w.getElementById(n)),n||B(13,!0,this);var r=V(P(n,"data-highcharts-chart"));W(r)&&b[r]&&b[r].hasRendered&&b[r].destroy(),P(n,"data-highcharts-chart",this.index),n.innerHTML=f.emptyHTML,i.skipClone||n.offsetWidth||this.temporaryDisplay(),this.getChartSize(),r=this.chartWidth;var s=this.chartHeight;if(D(n,{overflow:"hidden"}),this.styledMode||(t=R({position:"relative",overflow:"hidden",width:r+"px",height:s+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{})),this.container=o=L("div",{id:o},t,n),this._cursor=o.style.cursor,this.renderer=new(i.renderer||!S?h.getRendererType(i.renderer):d)(o,r,s,void 0,i.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(i.className),this.styledMode)for(var a in e.defs)this.renderer.definition(e.defs[a]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,z(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,i=this.margin,o=this.titleOffset;this.resetMargins(),o[0]&&!_(i[0])&&(this.plotTop=Math.max(this.plotTop,o[0]+e[0])),o[2]&&!_(i[2])&&(this.marginBottom=Math.max(this.marginBottom,o[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),z(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,o=t.margin,n=function(t){t.forEach(function(t){t.visible&&t.getOffset()})};t.hasCartesianSeries?n(t.axes):i&&i.length&&n(i),k.forEach(function(i,n){_(o[n])||(t[i]+=e[n])}),t.setChartSize()},t.prototype.reflow=function(t){var e=this,i=e.options.chart,o=e.renderTo,n=_(i.width)&&_(i.height),r=i.width||H(o,"width");
2i=i.height||H(o,"height"),o=t?t.target:C,delete e.pointer.chartPosition,n||e.isPrinting||!r||!i||o!==C&&o!==w||(r===e.containerWidth&&i===e.containerHeight||(u.clearTimeout(e.reflowTimeout),e.reflowTimeout=Q(function(){e.container&&e.setSize(void 0,void 0,!1)},t?100:0)),e.containerWidth=r,e.containerHeight=i)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=O(C,"resize",function(t){e.options&&e.reflow(t)}),O(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,i){var o=this,n=o.renderer;o.isResizing+=1,v(i,o),i=n.globalAnimation,o.oldChartHeight=o.chartHeight,o.oldChartWidth=o.chartWidth,void 0!==t&&(o.options.chart.width=t),void 0!==e&&(o.options.chart.height=e),o.getChartSize(),o.styledMode||(i?g:D)(o.container,{width:o.chartWidth+"px",height:o.chartHeight+"px"},i),o.setChartSize(!0),n.setSize(o.chartWidth,o.chartHeight,i),o.axes.forEach(function(t){t.isDirty=!0,t.setScale()}),o.isDirtyLegend=!0,o.isDirtyBox=!0,o.layOutTitles(),o.getMargins(),o.redraw(i),o.oldChartHeight=null,z(o,"resize"),Q(function(){o&&z(o,"endResize",null,function(){--o.isResizing})},m(i).duration)},t.prototype.setChartSize=function(t){var e,i,o,n,r=this.inverted,s=this.renderer,a=this.chartWidth,l=this.chartHeight,h=this.options.chart,c=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=o=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=n=Math.max(0,Math.round(l-i-this.marginBottom)),this.plotSizeX=r?n:o,this.plotSizeY=r?o:n,this.plotBorderWidth=h.plotBorderWidth||0,this.spacingBox=s.spacingBox={x:c[3],y:c[0],width:a-c[3]-c[1],height:l-c[0]-c[2]},this.plotBox=s.plotBox={x:e,y:i,width:o,height:n},r=2*Math.floor(this.plotBorderWidth/2),a=Math.ceil(Math.max(r,d[3])/2),l=Math.ceil(Math.max(r,d[0])/2),this.clipBox={x:a,y:l,width:Math.floor(this.plotSizeX-Math.max(r,d[1])/2-a),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(r,d[2])/2-l))},t||(this.axes.forEach(function(t){t.setAxisSize(),t.setAxisTranslation()}),s.alignElements()),z(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){z(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach(function(i){var o=e[i],n=F(o)?o:[o,o,o,o];["Top","Right","Bottom","Left"].forEach(function(o,r){t[i][r]=Y(e[i+o],n[r])})}),k.forEach(function(e,i){t[e]=Y(t.margin[i],t.spacing[i])}),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,i=this.renderer,o=this.chartWidth,n=this.chartHeight,r=this.styledMode,s=this.plotBGImage,a=e.backgroundColor,l=e.plotBackgroun
2dColor,h=e.plotBackgroundImage,c=this.plotLeft,d=this.plotTop,p=this.plotWidth,u=this.plotHeight,f=this.plotBox,g=this.clipRect,m=this.clipBox,v=this.chartBackground,y=this.plotBackground,x=this.plotBorder,b="animate";if(v||(this.chartBackground=v=i.rect().addClass("highcharts-background").add(),b="attr"),r)var w=t=v.strokeWidth();else t=(w=e.borderWidth||0)+(e.shadow?8:0),a={fill:a||"none"},(w||v["stroke-width"])&&(a.stroke=e.borderColor,a["stroke-width"]=w),v.attr(a).shadow(e.shadow);v[b]({x:t/2,y:t/2,width:o-t-w%2,height:n-t-w%2,r:e.borderRadius}),b="animate",y||(b="attr",this.plotBackground=y=i.rect().addClass("highcharts-plot-background").add()),y[b](f),r||(y.attr({fill:l||"none"}).shadow(e.plotShadow),h&&(s?(h!==s.attr("href")&&s.attr("href",h),s.animate(f)):this.plotBGImage=i.image(h,c,d,p,u).add())),g?g.animate({width:m.width,height:m.height}):this.clipRect=i.clipRect(m),b="animate",x||(b="attr",this.plotBorder=x=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),r||x.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),x[b](x.crisp({x:c,y:d,width:p,height:u},-x.strokeWidth())),this.isDirtyBox=!1,z(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,i,o=this,n=o.options.chart,r=o.options.series;["inverted","angular","polar"].forEach(function(s){for(e=M[n.type||n.defaultSeriesType],i=n[s]||e&&e.prototype[s],t=r&&r.length;!i&&t--;)(e=M[r[t].type])&&e.prototype[s]&&(i=!0);o[s]=i})},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach(function(t){t.linkedSeries.length=0}),e.forEach(function(e){var i=e.options.linkedTo;G(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&i.linkedParent!==e&&(i.linkedSeries.push(e),e.linkedParent=i,i.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,i.options.visible,e.visible))}),z(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach(function(t){t.translate(),t.render()})},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach(function(i){var o=R(e.style,i.style),n=V(o.left)+t.plotLeft,r=V(o.top)+t.plotTop+12;delete o.left,delete o.top,t.renderer.text(i.html,n,r).attr({zIndex:2}).css(o).add()})},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,i=this.renderer,o=this.options,n=function(t){t.forEach(function(t){t.visible&&t.render()})},s=0;this.setTitle(),this.legend=new r(this,o.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),o=this.plotWidth,t.some(function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return s=21,!0});var a=this.plotHeight=Math.max(this.plotHeight-s,0);t.forEach(function(t){t.setScale()}),this.getAxisMargins();var l=1.1<o/this.plotWidth,h=1.05<a/this.plotHeight;(l||h)&&(t.forEach(function(t){(t.horiz&&l||!t.horiz&&h)&&t.setTickInterval(!0)}),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?n(t):e&&e.length&&n(e),this.seriesGroup||(this.seriesGroup=i.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,i=U(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){i.href&&(C.location.href=i.href)}).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,i=e.axes,o=e.series,r=e.container,s=r&&r.parentNode;for(z(e,"destroy"),e.renderer.forExport?I(b,e):b[e.index]=void 0,n.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=o.length;t--;)o[t]=o[t].destroy();
2"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())}),r&&(r.innerHTML=f.emptyHTML,K(r),s&&j(r)),X(e,function(t,i){delete e[i]})},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),($(e.series)?e.series:[]).forEach(function(e){t.initSeries(e)}),t.linkSeries(),t.setSeriesData(),z(t,"beforeRender"),l&&(s.isRequired()?t.pointer=new s(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(t){t&&void 0!==this.index&&t.apply(this,[this])},this),z(this,"load"),z(this,"render"),_(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,i){var o,n=this;return t&&(e=Y(e,!0),z(n,"addSeries",{options:t},function(){o=n.initSeries(t),n.isDirtyLegend=!0,n.linkSeries(),o.enabledDataSorting&&o.setData(t.data,!1),z(n,"afterAddSeries",{series:o}),e&&n.redraw(i)})),o},t.prototype.addAxis=function(t,e,i,o){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:o})},t.prototype.addColorAxis=function(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})},t.prototype.createAxis=function(t,i){return t=new e(this,U(i.axis,{index:this[t].length,isX:"xAxis"===t})),Y(i.redraw,!0)&&this.redraw(i.animation),t},t.prototype.showLoading=function(t){var e=this,i=e.options,o=i.loading,n=function(){r&&D(r,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},r=e.loadingDiv,s=e.loadingSpan;r||(e.loadingDiv=r=L("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=L("span",{className:"highcharts-loading-inner"},null,r),O(e,"redraw",n)),r.className="highcharts-loading",f.setElementHTML(s,Y(t,i.lang.loading,"")),e.styledMode||(D(r,R(o.style,{zIndex:10})),D(s,o.labelStyle),e.loadingShown||(D(r,{opacity:0,display:""}),g(r,{opacity:o.style.opacity||.5},{duration:o.showDuration||0}))),e.loadingShown=!0,n()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){D(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,i,o){var n,r,s=this,a={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,h=[];z(s,"update",{options:t}),l||s.setResponsive(!1,!0),t=E(t,s.options),s.userOptions=U(s.userOptions,t);var c=t.chart;if(c){if(U(!0,s.options.chart,c),"className"in c&&s.setClassName(c.className),"reflow"in c&&s.setReflow(c.reflow),"inverted"in c||"polar"in c||"type"in c){s.propFromSeries();var d=!0}"alignTicks"in c&&(d=!0),"events"in c&&x(this,c),X(c,function(t,e){-1!==s.propsRequireUpdateSeries.indexOf("chart."+e)&&(n=!0),-1!==s.propsRequireDirtyBox.indexOf(e)&&(s.isDirtyBox=!0),-1!==s.propsRequireReflow.indexOf(e)&&(l?s.isDirtyBox=!0:r=!0)}),!s.styledMode&&c.style&&s.renderer.setStyle(s.options.chart.style||{})}!s.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===A&&(this.time=new p(t.time)),U(!0,s.options.time,t.time)),X(t,function(e,i){s[i]&&"function"==typeof s[i].update?s[i].update(e,!1):"function"==typeof s[a[i]]?s[a[i]](e):"colors"!==i&&-1===s.collectionsWithUpdate.indexOf(i)&&U(!0,s.options[i],t[i]),"chart"!==i&&-1!==s.propsRequireUpdateSeries.indexOf(i)&&(n=!0)}),this.collectionsWithUpdate.forEach(function(e){if(t[e]){var o=[];s[e].forEach(function(t,e){t.options.isInternal||o.push(Y(t.options.index,e))}),Z(t[e]).forEach(function(t,n){var r,a=_(t.id);a&&(r=s.get(t.id)),!r&&s[e]&&(r=s[e][o?o[n]:n])&&a&&_(r.options.id)&&(r=void 0),r&&r.coll===e&&(r.update(t,!1),i&&(r.touched=!0)),!r&&i&&s.collectionsWithInit[e]&&(s.collectionsWithInit[e][0].apply(s,[t].concat(s.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)}),i&&s[e].forEach(function(t){t.touched||t.options.isInternal?delete t.touched:h.push(t)})}}),h.forEach(function(t){t.chart&&t.remove&&t.remove(!1)}
2),d&&s.axes.forEach(function(t){t.update({},!1)}),n&&s.getSeriesOrderByLinks().forEach(function(t){t.chart&&t.update({},!1)},this),d=c&&c.width,c=c&&(G(c.height)?q(c.height,d||s.chartWidth):c.height),r||W(d)&&d!==s.chartWidth||W(c)&&c!==s.chartHeight?s.setSize(d,c,o):Y(e,!0)&&s.redraw(o),z(s,"afterUpdate",{options:t,redraw:e,animation:o})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,i=T.lang,o=e.options.chart.resetZoomButton,n=o.theme,r=n.states,s="chart"===o.relativeTo||"spacingBox"===o.relativeTo?null:"scrollablePlotBox";z(this,"beforeShowResetZoom",null,function(){e.resetZoomButton=e.renderer.button(i.resetZoom,null,null,t,n,r&&r.hover).attr({align:o.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(o.position,!1,s)}),z(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){z(this,"selection",{resetSelection:!0}
2,this.zoom)},t.prototype.zoom=function(t){var e,i=this,o=i.pointer,n=i.inverted?o.mouseDownX:o.mouseDownY,r=!1;!t||t.resetSelection?(i.axes.forEach(function(t){e=t.zoom()}),o.initiated=!1):t.xAxis.concat(t.yAxis).forEach(function(t){var s=t.axis,a=i.inverted?s.left:s.top,l=i.inverted?a+s.width:a+s.height,h=s.isXAxis,c=!1;(!h&&n>=a&&n<=l||h||!_(n))&&(c=!0),o[h?"zoomX":"zoomY"]&&c&&(e=s.zoom(t.min,t.max),s.displayBtn&&(r=!0))});var s=i.resetZoomButton;r&&!s?i.showResetZoom():!r&&F(s)&&(i.resetZoomButton=s.destroy()),e&&i.redraw(Y(i.options.chart.animation,t&&t.animation,100>i.pointCount))},t.prototype.pan=function(t,e){var i=this,o=i.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var n=i.options.chart,r=i.options.mapNavigation&&i.options.mapNavigation.enabled;n&&n.panning&&(n.panning=e);var s,a=e.type;z(this,"pan",{originalEvent:t},function(){o&&o.forEach(function(t){t.setState()});var e=i.xAxis;"xy"===a?e=e.concat(i.yAxis):"y"===a&&(e=i.yAxis);var n={};e.forEach(function(e){if(e.options.panningEnabled&&!e.options.isInternal){var o=e.horiz,l=t[o?"chartX":"chartY"],h=i[o=o?"mouseDownX":"mouseDownY"],c=e.minPointOffset||0,d=e.reversed&&!i.inverted||!e.reversed&&i.inverted?-1:1,p=e.getExtremes(),u=e.toValue(h-l,!0)+c*d,f=e.toValue(h+e.len-l,!0)-(c*d||e.isXAxis&&e.pointRangePadding||0),g=f<u;d=e.hasVerticalPanning(),h=g?f:u,u=g?u:f;var m=e.panningState;!d||e.isXAxis||m&&!m.isDirty||e.series.forEach(function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),m||(m={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),W(e.dataMin)&&W(e.dataMax)&&(m.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,m.startMin),m.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,m.startMax))}),d=Math.min(Y(m&&m.startMin,p.dataMin),c?p.min:e.toValue(e.toPixels(p.min)-e.minPixelPadding)),f=Math.max(Y(m&&m.startMax,p.dataMax),c?p.max:e.toValue(e.toPixels(p.max)+e.minPixelPadding)),e.panningState=m,e.isOrdinal||(0<(c=d-h)&&(u+=c,h=d),0<(c=u-f)&&(u=f,h-=c),e.series.length&&h!==p.min&&u!==p.max&&h>=d&&u<=f&&(e.setExtremes(h,u,!1,!1,{trigger:"pan"}),i.resetZoomButton||r||h===d||u===f||!a.match("y")||(i.showResetZoom(),e.displayBtn=!1),s=!0),n[o]=l)}}),X(n,function(t,e){i[e]=t}),s&&i.redraw(!1),D(i.container,{cursor:"move"})})},t}(),R(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroun
2dColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t}),e(i,"Core/Legend/LegendSymbol.js",[i["Core/Utilities.js"]],function(t){var e,i=t.merge,o=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,n=t.symbolWidth,r=t.symbolHeight,s=r/2,a=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var h={},c=e.marker;this.chart.styledMode||(h={"stroke-width":e.lineWidth||0},e.dashStyle&&(h.dashstyle=e.dashStyle)),this.legendLine=a.path([["M",0,t],["L",n,t]]).addClass("highcharts-graph").attr(h).add(l),c&&!1!==c.enabled&&n&&(e=Math.min(o(c.radius,s),s),0===this.symbol.indexOf("url")&&(c=i(c,{width:r,height:r}),e=0),this.legendSymbol=n=a.symbol(this.symbol,n/2-e,t-e,2*e,2*e,c).addClass("highcharts-point").add(l),n.isMarker=!0)},t.drawRectangle=function(t,e){var i=t.symbolHeight,n=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(n?(t.symbolWidth-i)/2:0,t.baseline-i+1,n?i:t.symbolWidth,i,o(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e}),e(i,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),e(i,"Core/Series/Series.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/Point.js"],i["Core/Series/SeriesDefaults.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],function(t,e,i,o,n,r,s,a,l,h){var c=t.animObject,d=t.setAnimation,p=e.defaultOptions,u=i.registerEventOptions,f=o.hasTouch,g=o.svg,m=o.win,v=a.seriesTypes,y=h.addEvent,x=h.arrayMax,b=h.arrayMin,w=h.clamp,k=h.cleanRecursively,S=h.correctFloat,C=h.defined,T=h.erase,A=h.error,M=h.extend,O=h.find,P=h.fireEvent,E=h.getNestedProperty,L=h.isArray,D=h.isNumber,_=h.isString,j=h.merge,I=h.objectEach,B=h.pick,R=h.removeEvent,N=h.splat,z=h.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){P(this,"init",{options:e});var i=this,o=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e),e=i.options,i.linkedSeries=[],i.bindAxes(),M(i,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),u(this,e);var n,r=e.events;(r&&r.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach(function(t){i[t+"Data"]||(i[t+"Data"]=[])}),i.isCartesian&&(t.hasCartesianSeries=!0),o.length&&(n=o[o.length-1]),i._i=B(n&&n._i,-1)+1,i.opacity=i.options.opacity,t.orderSeries(this.insert(o)),e.dataSorting&&e.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(e.data,!1),P(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,i=this.options.index;if(D(i)){for(e=t.length;e--;)if(i>=B(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return B(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,i=e.options,o=e.chart;
2P(this,"bindAxes",null,function(){(e.axisTypes||[]).forEach(function(n){var r=0;o[n].forEach(function(o){t=o.options,(i[n]===r&&!t.isInternal||void 0!==i[n]&&i[n]===t.id||void 0===i[n]&&0===t.index)&&(e.insert(o.series),e[n]=o,o.isDirty=!0),t.isInternal||r++}),e[n]||e.optionalAxis===n||A(18,!0,o)})}),P(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var i=t.series,o=arguments,n=D(e)?function(o){var n="y"===o&&i.toYData?i.toYData(t):t[o];i[o+"Data"][e]=n}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(o,2))};i.parallelArrays.forEach(n)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,i=this.options,o=i.pointIntervalUnit,n=i.relativeXValue,r=this.chart.time,s=this.xIncrement;return s=B(s,i.pointStart,0),this.pointInterval=e=B(this.pointInterval,i.pointInterval,1),n&&D(t)&&(e*=t),o&&(i=new r.Date(s),"day"===o?r.set("Date",i,r.get("Date",i)+e):"month"===o?r.set("Month",i,r.get("Month",i)+e):"year"===o&&r.set("FullYear",i,r.get("FullYear",i)+e),e=i.getTime()-s),n&&D(t)?s+e:(this.xIncrement=s+e,s)},t.prototype.setDataSortingOptions=function(){var t=this.options;M(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),C(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,i=e.options,o=i.plotOptions,n=e.userOptions||{};t=j(t),e=e.styledMode;var r={plotOptions:o,userOptions:t};P(this,"setOptions",r);var s=r.plotOptions[this.type],a=n.plotOptions||{};return this.userOptions=r.userOptions,n=j(s,o.series,n.plotOptions&&n.plotOptions[this.type],t),this.tooltipOptions=j(p.tooltip,p.plotOptions.series&&p.plotOptions.series.tooltip,p.plotOptions[this.type].tooltip,i.tooltip.userOptions,o.series&&o.series.tooltip,o[this.type].tooltip,t.tooltip),this.stickyTracking=B(t.stickyTracking,a[this.type]&&a[this.type].stickyTracking,a.series&&a.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||n.stickyTracking),null===s.marker&&delete n.marker,this.zoneAxis=n.zoneAxis,o=this.zones=(n.zones||[]).slice(),!n.negativeColor&&!n.negativeFillColor||n.zones||(i={value:n[this.zoneAxis+"Threshold"]||n.threshold||0,className:"highcharts-negative"},e||(i.color=n.negativeColor,i.fillColor=n.negativeFillColor),o.push(i)),o.length&&C(o[o.length-1].value)&&o.push(e?{}:{color:this.color,fillColor:this.fillColor}),P(this,"afterSetOptions",{options:n}),n},t.prototype.getName=function(){return B(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,i){var o=this.chart,n=this.userOptions,r=t+"Index",s=t+"Counter",a=i?i.length:B(o.options.chart[t+"Count"],o[t+"Count"]);if(!e){var l=B(n[r],n["_"+r]);C(l)||(o.series.length||(o[s]=0),n["_"+r]=l=o[s]%a,o[s]+=1),i&&(e=i[l])}void 0!==l&&(this[r]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||p.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var i,o,n=t.id,s=t.x,a=this.points,l=this.options.dataSorting;if(n)(l=this.chart.get(n))instanceof r&&(i=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(i=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?i=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(i=function(e){return!e.touched&&e.options.x===t.x}),!(i=O(a,i))))return;if(i){var h=i&&i.index;void 0!==h&&(o=!0)}return void 0===h&&D(s)&&(h=this.xData.indexOf(s,e)),-1!==h&&void 0!==h&&this.cropped&&(h=h>=this.cropStart?h-this.cropStart:h),!o&&D(h)&&a[h]&&a[h].touched&&(h=void 0),h},t.prototype.updateData=function(t,e){var i,o,n,r=this.options,s=r.dataSorting,a=this.points,l=[],h=this.requireSorting,c=t.length===a.length,d=!0;if(this.xIncrement=null,t.forEach(function(t,e){var o=C(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=o.x;o.id||D(d)?(-1===(o=this.findPointIndex(o,n))||void 0===o?l.push(t):a[o]&&t!==r.data[o]?(a[o].update(t,!1,null,!1),a[o].touched=!0,h&&(n=o+1)):a[o]&&(a[o].touched=!0),(!c||e!==o||s&&s.enabled||this.hasDerivedData)&&(i=!0)):l.push(t)},this),i)for(t=a.length;t--;)(o=a[t])&&!o.touched&&o.remove&&o.remove(!1,e);else!c||s&&s.enabled?d=!1:(t.forEach(function(t,e){t!==a[e].y&&a[e].update&&a[e].update(t,!1,null,!1)}),l.length=0);return a.forEach(function(t){t&&(t.touched=!1)}),!!d&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x(this.xData),this.autoIncrement()),!0)}
2,t.prototype.setData=function(t,e,i,o){var n=this,r=n.points,s=r&&r.length||0,a=n.options,l=n.chart,h=a.dataSorting,c=n.xAxis,d=a.turboThreshold,p=this.xData,u=this.yData,f=n.pointArrayMap;f=f&&f.length;var g,m=a.keys,v=0,y=1,x=null,b=(t=t||[]).length;if(e=B(e,!0),h&&h.enabled&&(t=this.sortData(t)),!1!==o&&b&&s&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.isSeriesBoosting&&(g=this.updateData(t,i)),!g){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach(function(t){n[t+"Data"].length=0}),d&&b>d)if(x=n.getFirstValidPoint(t),D(x))for(i=0;i<b;i++)p[i]=this.autoIncrement(),u[i]=t[i];else if(L(x))if(f)if(x.length===f)for(i=0;i<b;i++)p[i]=this.autoIncrement(),u[i]=t[i];else for(i=0;i<b;i++)o=t[i],p[i]=o[0],u[i]=o.slice(1,f+1);else if(m&&(v=0<=(v=m.indexOf("x"))?v:0,y=0<=(y=m.indexOf("y"))?y:1),1===x.length&&(y=0),v===y)for(i=0;i<b;i++)p[i]=this.autoIncrement(),u[i]=t[i][y];else for(i=0;i<b;i++)o=t[i],p[i]=o[v],u[i]=o[y];else A(12,!1,l);else for(i=0;i<b;i++)void 0!==t[i]&&(o={series:n},n.pointClass.prototype.applyOptions.apply(o,[t[i]]),n.updateParallelArrays(o,i));for(u&&_(u[0])&&A(14,!0,l),n.data=[],n.options.data=n.userOptions.data=t,i=s;i--;)r[i]&&r[i].destroy&&r[i].destroy();c&&(c.minRange=c.userMinRange),n.isDirty=l.isDirtyBox=!0,n.isDirtyData=!!r,i=!1}"point"===a.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(i)},t.prototype.sortData=function(t){var e=this,i=e.options.dataSorting.sortKey||"y",o=function(t,e){return C(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach(function(i,n){t[n]=o(e,i),t[n].index=n},this),t.concat().sort(function(t,e){return t=E(i,t),(e=E(i,e))<t?-1:e>t?1:0}).forEach(function(t,e){t.x=e},this),e.linkedSeries&&e.linkedSeries.forEach(function(e){var i=e.options,n=i.data;i.dataSorting&&i.dataSorting.enabled||!n||(n.forEach(function(i,r){n[r]=o(e,i),t[r]&&(n[r].x=t[r].x,n[r].index=r)}),e.setData(n,!1))}),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,i=this.options,o=i.cropThreshold,n=t||this.getExtremesFromAll||i.getExtremesFromAll,r=this.isCartesian;t=e&&e.val2lin,i=!(!e||!e.logarithmic);var s=0,a=this.xData,l=this.yData,h=this.requireSorting,c=!1,d=a.length;if(e){var p=(c=e.getExtremes()).min,u=c.max;c=e.categories&&!e.names.length}if(r&&this.sorted&&!n&&(!o||d>o||this.forceCrop))if(a[d-1]<p||a[0]>u)a=[],l=[];else if(this.yData&&(a[0]<p||a[d-1]>u)){var f=this.cropData(this.xData,this.yData,p,u);a=f.xData,l=f.yData,s=f.start,f=!0}for(o=a.length||1;--o;)if(0<(e=i?t(a[o])-t(a[o-1]):a[o]-a[o-1])&&(void 0===g||e<g))var g=e;else 0>e&&h&&!c&&(A(15,!1,this.chart),h=!1);return{xData:a,yData:l,cropped:f,cropStart:s,closestPointRange:g}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,P(this,"afterProcessData")},t.prototype.cropData=function(t,e,i,o,n){var r,s=t.length,a=0,l=s;for(n=B(n,this.cropShoulder),r=0;r<s;r++)if(t[r]>=i){a=Math.max(0,r-n);break}for(i=r;i<s;i++)if(t[i]>o){l=i+n;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=t.data,i=this.processedXData,o=this.processedYData,n=this.pointClass,r=i.length,s=this.cropStart||0,a=this.hasGroupedData,l=t.keys,h=[];t=t.dataGrouping&&t.dataGrouping.groupAll?s:0;var c,d,p=this.data;if(!p&&!a){var u=[];u.length=e.length,p=this.data=u}for(l&&a&&(this.options.keys=!1),d=0;d<r;d++){if(u=s+d,a){var f=(new n).init(this,[i[d]].concat(N(o[d])));f.dataGroup=this.groupMap[t+d],f.dataGroup.options&&(f.options=f.dataGroup.options,M(f,f.dataGroup.options),delete f.dataLabels)}else(f=p[u])||void 0===e[u]||(p[u]=f=(new n).init(this,e[u],i[d]));f&&(f.index=a?t+d:u,h[d]=f)}if(this.options.keys=l,p&&(r!==(c=p.length)||a))for(d=0;d<c;d++)d!==s||a||(d+=r),p[d]&&(p[d].destroyElements(),p[d].plotX=void 0);this.data=p,this.points=h,P(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:b(t),max:x(t)}},t.prototype.getExtremes=function(t,e){var i=this.xAxis,o=this.yAxis,n=this.processedXData||this.xData,r=[],s=this.requireSorting?this.cropShoulder:0;o=!!o&&o.positiveValuesOnly;var a,l=0,h=0,c=0,d=(t=t||this.stackedYData||this.processedYData||[]).length;if(i){var p=i.getExtremes();l=p.min,h=p.max}for(a=0;a<d;a++){var u=n[a];p=t[a];var f=(D(p)||L(p))&&(p.length||0<p||!o);if(u=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!i||(n[a+s]||u)>=l&&(n[a-s]||u)<=h,f&&u)if(f=p.length)for(;f--;)D(p[f])&&(r[c++]=p[f]);else r[c++]=p}return t={activeYData:r,dataMin:b(r),dataMax:x(r)},P(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,o=null;null===o&&i<e;)o=t[i],i++;return o},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,i=this.options,o=i.stacking,n=this.xAxis,r=n.categories,s=this.enabledDataSorting,a=this.yAxis,l=this.points,h=l.length,c=this.pointPlacementToXValue(),d=!!c,p=i.threshold,u=i.startFromThreshold?p:0,f=this.zoneAxis||"y",g=Number.MAX_VALUE;for(t=0;t<h;t++){var m=l[t],v=m.x,y=void 0,x=void 0,b=m.y,k=m.low,T=o&&a.stacking&&a.stacking.stacks[(this.negStacks&&b<(u?0:p)?"-":"")+this.stackKey];if((a.positiveValuesOnly&&!a.validatePositiveValue(b)||n.positiveValuesOnly&&!n.validatePositiveValue(v))&&(m.isNull=!0),m.plotX=e=S(w(n.translate(v,0,0,0,1,c,"flags"===this.type),-1e5,1e5)),o&&this.visible&&T&&T[v]){var A=this.getStackIndicator(A,v,this.index);m.isNull||(x=(y=T[v]).points[A.key])}if(L(x)&&(k=x[0],b=x[1],k===u&&A.key===T[v].base&&(k=B(D(p)&&p,a.min)),a.positiveValuesOnly&&0>=k&&(k=null),m.total=m.stackTotal=y.total,m.percentage=y.total&&m.y/y.total*100,m.stackY=b,this.irregularWidths||y.setOffset(this.pointXOffset||0,this.barW||0)),m.yBottom=C(k)?w(a.translate(k,0,1,0,1),-1e5,1e5):null,this.dataModify&&(b=this.dataModify.modifyValue(b,t)),m.plotY=void 0,D(b)&&void 0!==(y=a.translate(b,!1,!0,!1,!0))&&(m.plotY=w(y,-1e5,1e5)),m.isInside=this.isPointInside(m),m.clientX=d?S(n.translate(v,0,0,0,1,c)):e,m.negative=m[f]<(i[f+"Threshold"]||p||0),m.category=r&&void 0!==r[m.x]?r[m.x]:m.x,!m.isNull&&!1!==m.visible){void 0!==M&&(g=Math.min(g,Math.abs(e-M)));var M=e}m.zone=this.zones.length?m.getZone():void 0,!m.graphic&&this.group&&s&&(m.isNew=!0)}this.closestPointRangePx=g,P(this,"afterTranslate")}
2,t.prototype.getValidPoints=function(t,e,i){var o=this.chart;return(t||this.points||[]).filter(function(t){return!(e&&!o.isInsidePlot(t.plotX,t.plotY,{inverted:o.inverted}))&&!1!==t.visible&&(i||!t.isNull)})},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis,o=j(t.clipBox);return e&&e.len!==t.plotSizeX&&(o.width=e.len),i&&i.len!==t.plotSizeY&&(o.height=i.len),o},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,i=this.markerGroup,o=t.sharedClips;t=t.renderer;var n=this.getClipBox(),r=this.getSharedClipKey(),s=o[r];s?s.animate(n):o[r]=s=t.clipRect(n),e&&e.clip(!1===this.options.clip?void 0:s),i&&i.clip()},t.prototype.animate=function(t){var e=this.chart,i=this.group,o=this.markerGroup,n=e.inverted,r=c(this.options.animation),s=[this.getSharedClipKey(),r.duration,r.easing,r.defer].join(),a=e.sharedClips[s],l=e.sharedClips[s+"m"];if(t&&i)r=this.getClipBox(),a?a.attr("height",r.height):(r.width=0,n&&(r.x=e.plotHeight),a=e.renderer.clipRect(r),e.sharedClips[s]=a,l=e.renderer.clipRect({x:n?(e.plotSizeX||0)+99:-99,y:n?-e.plotLeft:-e.plotTop,width:99,height:n?e.chartWidth:e.chartHeight}),e.sharedClips[s+"m"]=l),i.clip(a),o&&o.clip(l);else if(a&&!a.hasClass("highcharts-animating")){e=this.getClipBox();var h=r.step;o&&o.element.childNodes.length&&(r.step=function(t,e){h&&h.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),a.addClass("highcharts-animating").animate(e,r)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),I(this.chart.sharedClips,function(e,i,o){e&&!t.chart.container.querySelector('[clip-path="url(#'+e.id+')"]')&&(e.destroy(),delete o[i])}),this.finishedAnimating=!0,P(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,i=this.points,o=this.chart,n=this.options.marker,r=this[this.specialGroup]||this.markerGroup,s=this.xAxis,a=B(n.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=n.enabledThreshold*n.radius);if(!1!==n.enabled||this._hasPointMarkers)for(t=0;t<i.length;t++){var l=i[t],h=(e=l.graphic)?"animate":"attr",c=l.marker||{},d=!!l.marker;if((a&&void 0===c.enabled||c.enabled)&&!l.isNull&&!1!==l.visible){var p=B(c.symbol,this.symbol,"rect"),u=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=s.reversed?-(u.width||0):s.width);var f=!1!==l.isInside;e?e[f?"show":"hide"](f).animate(u):f&&(0<(u.width||0)||l.hasImage)&&(l.graphic=e=o.renderer.symbol(p,u.x,u.y,u.width,u.height,d?c:n).add(r),this.enabledDataSorting&&o.hasRendered&&(e.attr({x:l.startXPos}),h="animate")),e&&"animate"===h&&e[f?"show":"hide"](f).animate(u),e&&!o.styledMode&&e[h](this.pointAttribs(l,l.selected&&"select")),e&&e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var i=this.options,o=i.marker,n=t.marker||{},r=n.symbol||o.symbol,s=B(n.radius,o.radius);return e&&(o=o.states[e],e=n.states&&n.states[e],s=B(e&&e.radius,o&&o.radius,s+(o&&o.radiusPlus||0))),t.hasImage=r&&0===r.indexOf("url"),t.hasImage&&(s=0),t={x:i.crisp?Math.floor(t.plotX-s):t.plotX-s,y:t.plotY-s},s&&(t.width=t.height=2*s),t},t.prototype.pointAttribs=function(t,e){var i=this.options.marker,o=t&&t.options,n=o&&o.marker||{},r=o&&o.color,s=t&&t.color,a=t&&t.zone&&t.zone.color,l=this.color;return t=B(n.lineWidth,i.lineWidth),o=1,l=r||a||s||l,r=n.fillColor||i.fillColor||l,s=n.lineColor||i.lineColor||l,e=e||"normal",i=i.states[e]||{},e=n.states&&n.states[e]||{},t=B(e.lineWidth,i.lineWidth,t+B(e.lineWidthPlus,i.lineWidthPlus,0)),r=e.fillColor||i.fillColor||r,{stroke:s=e.lineColor||i.lineColor||s,"stroke-width":t,fill:r,opacity:o=B(e.opacity,i.opacity,o)}},t.prototype.destroy=function(t){var e,i,o,n=this,r=n.chart,s=/AppleWebKit\/533/.test(m.navigator.userAgent),a=n.data||[];for(P(n,"destroy"),this.removeEvents(t),(n.axisTypes||[]).forEach(function(t){(o=n[t])&&o.series&&(T(o.series,n),o.isDirty=o.forceRedraw=!0)}),n.legendItem&&n.chart.legend.destroyItem(n),e=a.length;e--;)(i=a[e])&&i.destroy&&i.destroy();n.clips&&n.clips.forEach(function(t){return t.destroy()}),h.clearTimeout(n.animationTimeout),I(n,function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()}),r.hoverSeries===n&&(r.hoverSeries=void 0),T(r.series,n),r.orderSeries(),I(n,function(e,i){t&&"hcEvents"===i||delete n[i]})},t.prototype.applyZones=function(){var t,e,i,o,n,r,s,a,l=this,h=this.chart,c=h.renderer,d=this.zones,p=this.clips||[],u=this.graph,f=this.area,g=Math.max(h.chartWidth,h.chartHe
2ight),m=this[(this.zoneAxis||"y")+"Axis"],v=h.inverted,y=!1;if(d.length&&(u||f)&&m&&void 0!==m.min){var x=m.reversed,b=m.horiz;u&&!this.showLine&&u.hide(),f&&f.hide();var k=m.getExtremes();d.forEach(function(d,S){t=x?b?h.plotWidth:0:b?0:m.toPixels(k.min)||0,t=w(B(e,t),0,g),e=w(Math.round(m.toPixels(B(d.value,k.max),!0)||0),0,g),y&&(t=e=m.toPixels(k.max)),o=Math.abs(t-e),n=Math.min(t,e),r=Math.max(t,e),m.isXAxis?(i={x:v?r:n,y:0,width:o,height:g},b||(i.x=h.plotHeight-i.x)):(i={x:0,y:v?r:n,width:g,height:o},b&&(i.y=h.plotWidth-i.y)),v&&c.isVML&&(i=m.isXAxis?{x:0,y:x?n:r,height:i.width,width:h.chartWidth}:{x:i.y-h.plotLeft-h.spacingBox.x,y:0,width:i.height,height:h.chartHeight}),p[S]?p[S].animate(i):p[S]=c.clipRect(i),s=l["zone-area-"+S],a=l["zone-graph-"+S],u&&a&&a.clip(p[S]),f&&s&&s.clip(p[S]),y=d.value>k.max,l.resetZones&&0===e&&(e=void 0)}),this.clips=p}else l.visible&&(u&&u.show(!0),f&&f.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach(function(e){i[e]&&(o.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(!i.isRadialSeries&&t))})}var i=this,o=i.chart;i.xAxis&&(i.eventsToUnbind.push(y(o,"resize",e)),e(),i.invertGroups=e)},t.prototype.plotGroup=function(t,e,i,o,n){var r=this[t],s=!r;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),s&&(this[t]=r=this.chart.renderer.g().add(n)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(C(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[s?"attr":"animate"](this.getPlotBox()),r},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||R(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,i=t.options,o=c(i.animation),n=t.visible?"inherit":"hidden",r=i.zIndex,s=t.hasRendered,a=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?o.duration:0,P(this,"render");var h=t.plotGroup("group","series",n,r,a);t.markerGroup=t.plotGroup("markerGroup","markers",n,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),h.inverted=!!B(t.invertible,t.isCartesian)&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),s||(e&&o.defer&&(e+=o.defer),t.animationTimeout=z(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,o=this.xAxis,n=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:B(o&&o.left,t.plotLeft),translateY:B(n&&n.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var i=this.xAxis,o=this.yAxis,n=this.chart.inverted;return this.searchKDTree({clientX:n?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:n?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,o,n){var r=t&&t.length;if(r){var s=i.kdAxisArray[o%n];return t.sort(function(t,e){return t[s]-e[s]}),{point:t[r=Math.floor(r/2)],left:e(t.slice(0,r),o+1,n),right:e(t.slice(r+1),o+1,n)}}}this.buildingKdTree=!0;var i=this,o=-1<i.options.findNearestPointBy.indexOf("y")?2:1;delete i.kdTree,z(function(){i.kdTree=e(i.getValidPoints(null,!i.directTouch),o,o),i.buildingKdTree=!1},i.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,i){var o=this,n=this.kdAxisArray[0],r=this.kdAxisArray[1],s=e?"distX":"dist";if(e=-1<o.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function t(e,i,a,l){var h=i.point,c=o.kdAxisArray[a%l],d=h,p=C(e[n])&&C(h[n])?Math.pow(e[n]-h[n],2):null,u=C(e[r])&&C(h[r])?Math.pow(e[r]-h[r],2):null;return u=(p||0)+(u||0),h.dist=C(u)?Math.sqrt(u):Number.MAX_VALUE,h.distX=C(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(c=e[c]-h[c])?"right":"left",i[u=0>c?"left":"right"]&&(d=(u=t(e,i[u],a+1,l))[s]<d[s]?u:h),i[p]&&Math.sqrt(c*c)<d[s]&&(d=(e=t(e,i[p],a+1,l))[s]<d[s]?e:d),d}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,i=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=i.reversed?-.5:.5),D(t)?t*(e||i.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,i=this.xAxis,o=this.yAxis;return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=(o?o.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(i?i.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,i=e.trackByArea,o=[].concat(i?t.areaPath:t.graphPath),n=t.chart,r=n.pointer,s=n.renderer,a=n.options.tooltip.snap,l=t.tracker,h=function(e){n.hoverSeries!==t&&t.onMouseOver()},c="rgba(192,192,192,"+(g?1e-4:.002)+")";l?l.attr({d:o}):t.graph&&(t.tracker=s.path(o).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),n.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:c,fill:i?c:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}
2),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach(function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",h).on("mouseout",function(t){r.onTrackerMouseOut(t)}),e.cursor&&!n.styledMode&&t.css({cursor:e.cursor}),f)&&t.on("touchstart",h)})),P(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,i,o,n){var r=this.options,s=this.data,a=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var h,c=r.data,d=this.xData;e=B(e,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);var u=p.x,f=d.length;if(this.requireSorting&&u<d[f-1])for(h=!0;f&&d[f-1]>u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[u]=p.name),c.splice(f,0,t),h&&(this.data.splice(f,0,null),this.processData()),"point"===r.legendType&&this.generatePoints(),i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==n&&P(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(o)},t.prototype.removePoint=function(t,e,i){var o=this,n=o.data,r=n[t],s=o.points,a=o.chart,l=function(){s&&s.length===n.length&&s.splice(t,1),n.splice(t,1),o.options.data.splice(t,1),o.updateParallelArrays(r||{series:o},"splice",t,1),r&&r.destroy(),o.isDirty=!0,o.isDirtyData=!0,e&&a.redraw()};d(i,a),e=B(e,!0),r?r.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,i,o){function n(){r.destroy(o),s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),B(t,!0)&&s.redraw(e)}var r=this,s=r.chart;!1!==i?P(r,"remove",null,n):n()},t.prototype.update=function(t,e){t=k(t,this.userOptions),P(this,"update",{options:t});var i,o=this,n=o.chart,r=o.userOptions,s=o.initialType||o.type,a=n.options.plotOptions,l=v[s].prototype,h=o.finishedAnimating&&{animation:!1},c={},d=["eventOptions","navigatorSeries","baseSeries"],p=t.type||r.type||n.options.chart.type,u=!(this.hasDerivedData||p&&p!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||o.hasOptionChanged("dataGrouping")||o.hasOptionChanged("pointStart")||o.hasOptionChanged("pointInterval")||o.hasOptionChanged("pointIntervalUnit")||o.hasOptionChanged("keys"));if(p=p||s,u&&(d.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),o.parallelArrays.forEach(function(t){d.push(t+"Data")}),t.data&&(t.dataSorting&&M(o.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=j(r,h,{index:void 0===r.index?o.index:r.index,pointStart:B(a&&a.series&&a.series.pointStart,r.pointStart,o.xData[0])},!u&&{data:o.options.data},t),u&&t.data&&(t.data=o.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach(function(t){d[t]=o[t],delete o[t]}),a=!1,v[p]){if(a=p!==o.type,o.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(o,v[p].prototype);else{for(i in h=Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents,l)o[i]=void 0;M(o,v[p].prototype),h?o.hcEvents=h:delete o.hcEvents}}else A(17,!0,n,{missingModuleFor:p});if(d.forEach(function(t){o[t]=d[t]}),o.init(n,t),u&&this.points){var f=o.options;!1===f.visible?(c.graphic=1,c.dataLabel=1):o._hasPointLabels||(t=f.marker,l=f.dataLabels,!t||!1!==t.enabled&&(r.marker&&r.marker.symbol)===t.symbol||(c.graphic=1),l&&!1===l.enabled&&(c.dataLabel=1)),this.points.forEach(function(t){t&&t.series&&(t.resolveColor(),Object.keys(c).length&&t.destroyElements(c),!1===f.showInLegend&&t.legendItem&&n.legend.destroyItem(t))},this)}o.initialType=s,n.linkSeries(),a&&o.linkedSeries.length&&(o.isDirtyData=!0),P(this,"afterUpdate"),B(e,!0)&&n.redraw(!!u&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,o=this.userOptions[t];return o?e!==o:e!==B(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&P(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,o=e.hoverPoint;e.hoverSeries=null,o&&o.onMouseOut(),this&&t.events.mouseOut&&P(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEac
2h(function(t){t.setState("",!0)})},t.prototype.setState=function(t,e){var i=this,o=i.options,n=i.graph,r=o.inactiveOtherPoints,s=o.states,a=B(s[t||"normal"]&&s[t||"normal"].animation,i.chart.options.chart.animation),l=o.lineWidth,h=0,c=o.opacity;if(t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))}),i.state=t,!i.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(l=s[t].lineWidth||l+(s[t].lineWidthPlus||0),c=B(s[t].opacity,c)),n&&!n.dashstyle)for(o={"stroke-width":l},n.animate(o,a);i["zone-graph-"+h];)i["zone-graph-"+h].animate(o,a),h+=1;r||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(t){t&&t.animate({opacity:c},a)})}e&&r&&i.points&&i.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach(function(e){e.setState&&e.setState(t)})},t.prototype.setVisible=function(t,e){var i=this,o=i.chart,n=i.legendItem,r=o.options.chart.ignoreHiddenSeries,s=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(t){i[t]&&i[t][a]()}),o.hoverSeries!==i&&(o.hoverPoint&&o.hoverPoint.series)!==i||i.onMouseOut(),n&&o.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&o.series.forEach(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(function(e){e.setVisible(t,!1)}),r&&(o.isDirtyBox=!0),P(i,a),!1!==e&&o.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),P(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,i){return void 0===i&&(i={}),i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},t.defaultOptions=s,t}(),M(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:n.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:r,requireSorting:!0,sorted:!0}),a.series=t,t}),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,o,n,r){var s=t.stop,a=r.addEvent,l=r.createElement,h=r.merge,c=r.pick;a(i,"afterSetChartSize",function(t){var i=this.options.chart.scrollablePlotArea,o=i&&i.minWidth;if(i=i&&i.minHeight,!this.renderer.forExport){if(o){if(this.scrollablePixelsX=o=Math.max(0,o-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.width=this.plotWidth+=o,this.inverted?this.clipBox.height+=o:this.clipBox.width+=o;var n={1:{name:"right",value:o}}}}else i&&(this.scrollablePixelsY=o=Math.max(0,i-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.height=this.plotHeight+=o,this.inverted?this.clipBox.width+=o:this.clipBox.height+=o,n={2:{name:"bottom",value:o}});n&&!t.skipAxes&&this.axes.forEach(function(t){n[t.side]?t.getPlotLinePath=function(){var i=n[t.side].name,o=this[i];this[i]=o-n[t.side].value;var r=e.prototype.getPlotLinePath.apply(this,arguments);return this[i]=o,r}:(t.setAxisSize(),t.setAxisTranslation())})}}),a(i,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),i.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),a(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},i.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,o=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&o.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),o.forEach(function(t){[].forEach.call(e.querySelectorAll(t),function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})})},i.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,o=n.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||
20)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new o(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":c(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),o=this.chartHeight+(this.scrollablePixelsY||0),s(this.container),this.container.style.width=e+"px",this.container.style.height=o+"px",this.renderer.boxWrapper.attr({width:e,height:o,viewBox:[0,0,e,o].join(" ")}),this.chartBackground.attr({width:e,height:o}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),o=this.axisOffset,t=this.plotTop-o[0]-1,i=this.plotLeft-o[3]-1,e=this.plotTop+this.plotHeight+o[2]+1,o=this.plotLeft+this.plotWidth+o[1]+1;var r=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),h=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",r,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",r,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",o,this.plotTop-1],["L",o,0],["Z"],["M",i,h],["L",i,this.chartHeight],["L",o,this.chartHeight],["L",o,h],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",function(){this.chart.scrollableDirty=!0}),a(o,"show",function(){this.chart.scrollableDirty=!0})}),e(i,"Core/Axis/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],function(t,e,i){var o,n=t.getDeferredAnimation,r=i.addEvent,s=i.destroyObjectProperties,a=i.fireEvent,l=i.isNumber,h=i.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;h(e,function(t,i){s(t),e[i]=null}),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function i(){this.stacking||(this.stacking=new c(this))}var o=[];t.compose=function(t){return-1===o.indexOf(t)&&(o.push(t),r(t,"init",i),r(t,"destroy",e)),t};var c=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,o=e.options.reversedStacks,n=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=n;t--;){var r=i[o?t:n-t-1];r.setStackedPoints(),r.setGroupedPoints()}for(t=0;t<n;t++)i[t].modifyStacks();a(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;h(t,function(t){h(t,function(t){t.cumulative=t.total})})}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||h(e,function(e){h(e,function(i,o){l(i.touched)&&i.touched<t.stacksTouched?(i.destroy(),delete e[o]):(i.total=null,i.cumulative=null)})})},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,i=e.renderer,o=this.stacks;t=n(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var r=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();r.translate(e.plotLeft,e.plotTop),h(o,function(t){h(t,function(t){t.render(r)})}),r.animate({opacity:1},t)},t}();t.Additions=c}(o||(o={})),o}),e(i,"Extensions/Stacking.js",[i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Axis/StackingAxis.js"],i["Core/Utilities.js"]],function(t,e,i,o,n,r,s){var a=i.format,l=s.correctFloat,h=s.defined,c=s.destroyObjectProperties,d=s.isArray,p=s.isNumber,u=s.objectEach,f=s.pick,g=function(){function t(t,e,i,o,n){var r=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=o,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=n,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(r?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(r?i?"right":"left":"center")}return t.prototype.destroy=function(){c(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,i=this.options,o=i.format;o=o?a(o,this,e):i.formatter.call(this),this.label?this.label.attr({text:o,visibility:"hidden"}):(this.label=e.renderer.label(o,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),o={r:i.borderRadius||0,text:o,rotation:i.rotation,padding:f(i.padding,5),visibility:"hidden"},e.styledMode||(o.fill=i.backgroundColor,o.stroke=i.borderColor,o["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(o),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY}
2,t.prototype.setOffset=function(t,e,i,o,r){var s=this.axis,a=s.chart;o=s.translate(s.stacking.usePercentage?100:o||this.total,0,0,0,1),i=s.translate(i||0),i=h(o)&&Math.abs(o-i),t=f(r,a.xAxis[0].translate(this.x))+t,s=h(o)&&this.getStackBox(a,this,t,o,e,i,s),e=this.label,i=this.isNegative,t="justify"===f(this.options.overflow,"justify");var l=this.textAlign;e&&s&&(r=e.getBBox(),o=e.padding,l="left"===l?a.inverted?-o:o:"right"===l?r.width:a.inverted&&"center"===l?r.width/2:a.inverted?i?r.width+o:-o:r.width/2,i=a.inverted?r.height/2:i?-o:r.height,this.alignOptions.x=f(this.options.x,0),this.alignOptions.y=f(this.options.y,0),s.x-=l,s.y-=i,e.align(this.alignOptions,null,s),a.isInsidePlot(e.alignAttr.x+l-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&n.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,r,s),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),f(!t&&this.options.crop,!0)&&((a=p(e.x)&&p(e.y)&&a.isInsidePlot(e.x-o+e.width,e.y)&&a.isInsidePlot(e.x+o,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,i,o,n,r,s){var a=e.axis.reversed,l=t.inverted,h=s.height+s.pos-(l?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:l?e?o-s.right:o-r+s.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:l?s.height-i-n:e?h-o-r:h-o,width:l?r:n,height:l?n:r}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach(function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),t.series.forEach(function(i){var o=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,f(i.options.stack,""),e?o.top:o.left,e?o.height:o.width].join())})},r.compose(t),n.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?n.prototype.setStackedPoints.call(this,"group"):t&&u(t.stacks,function(e,i){"group"===i.slice(-5)&&(u(e,function(t){return t.destroy()}),delete t.stacks[i])})},n.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var i=this.processedXData,o=this.processedYData,n=[],r=o.length,s=this.options,a=s.threshold,c=f(s.startFromThreshold&&a,0);s=s.stack;var p,u,m="-"+(t=t?this.type+","+e:this.stackKey),v=this.negStacks,y=this.yAxis,x=y.stacking.stacks,b=y.stacking.oldStacks;for(y.stacking.stacksTouched+=1,u=0;u<r;u++){var w=i[u],k=o[u],S=this.getStackIndicator(S,w,this.index),C=S.key,T=(p=v&&k<(c?0:a))?m:t;x[T]||(x[T]={}),x[T][w]||(b[T]&&b[T][w]?(x[T][w]=b[T][w],x[T][w].total=null):x[T][w]=new g(y,y.options.stackLabels,p,w,s)),T=x[T][w],null!==k?(T.points[C]=T.points[this.index]=[f(T.cumulative,c)],h(T.cumulative)||(T.base=C),T.touched=y.stacking.stacksTouched,0<S.index&&!1===this.singleStacks&&(T.points[C][0]=T.points[this.index+","+w+",0"][0])):T.points[C]=T.points[this.index]=null,"percent"===e?(p=p?t:m,v&&x[p]&&x[p][w]?(p=x[p][w],T.total=p.total=Math.max(p.total,T.total)+Math.abs(k)||0):T.total=l(T.total+(Math.abs(k)||0))):"group"===e?(d(k)&&(k=k[0]),null!==k&&(T.total=(T.total||0)+1)):T.total=l(T.total+(k||0)),T.cumulative="group"===e?(T.total||1)-1:f(T.cumulative,c)+(k||0),null!==k&&(T.points[C].push(T.cumulative),n[u]=T.cumulative,T.hasValidPoints=!0)}"percent"===e&&(y.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=n),y.stacking.oldStacks={}}},n.prototype.modifyStacks=function(){var t,e=this,i=e.stackKey,o=e.yAxis.stacking.stacks,n=e.processedXData,r=e.options.stacking;e[r+"Stacker"]&&[i,"-"+i].forEach(function(i){for(var s,a,l=n.length;l--;)s=n[l],t=e.getStackIndicator(t,s,e.index,i),(a=(s=o[i]&&o[i][s])&&s.points[t.key])&&e[r+"Stacker"](a,s,l)})},n.prototype.percentStacker=function(t,e,i){e=e.total?100/e.total:0,t[0]=l(t[0]*e),t[1]=l(t[1]*e),this.stackedYData[i]=t[1]},n.prototype.getStackIndicator=function(t,e,i,o){return!h(t)||t.x!==e||o&&t.key!==o?t={x:e,index:0,key:o}:t.index++,t.key=[i,e,t.index].join(),t},o.StackItem=g,o.StackItem}),e(i,"Series/Line/LineSeries.js",[i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,
2i){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=i.defined,r=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(i,e),i.prototype.drawGraph=function(){var t=this,e=this.options,i=(this.gappedPath||this.getGraphPath).call(this),o=this.chart.styledMode,n=[["graph","highcharts-graph"]];o||n[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(n=t.getZonesGraphs(n)).forEach(function(n,r){var s=n[0],a=t[s],l=a?"animate":"attr";a?(a.endX=t.preventGraphAnimation?null:i.xMap,a.animate({d:i})):i.length&&(t[s]=a=t.chart.renderer.path(i).addClass(n[1]).attr({zIndex:1}).add(t.group)),a&&!o&&(s={stroke:n[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},n[3]?s.dashstyle=n[3]:"square"!==e.linecap&&(s["stroke-linecap"]=s["stroke-linejoin"]="round"),a[l](s).shadow(2>r&&e.shadow)),a&&(a.startX=i.xMap,a.isArea=i.isArea)})},i.prototype.getGraphPath=function(t,e,i){var o,r=this,s=r.options,a=[],l=[],h=s.step,c=(t=t||r.points).reversed;return c&&t.reverse(),(h={right:1,center:2}[h]||h&&3)&&c&&(h=4-h),(t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!i))).forEach(function(c,d){var p=c.plotX,u=c.plotY,f=t[d-1];(c.leftCliff||f&&f.rightCliff)&&!i&&(o=!0),c.isNull&&!n(e)&&0<d?o=!s.connectNulls:c.isNull&&!e?o=!0:(0===d||o?d=[["M",c.plotX,c.plotY]]:r.getPointSpline?d=[r.getPointSpline(t,c,d)]:h?(d=1===h?[["L",f.plotX,u]]:2===h?[["L",(f.plotX+p)/2,f.plotY],["L",(f.plotX+p)/2,u]]:[["L",p,f.plotY]]).push(["L",p,u]):d=[["L",p,u]],l.push(c.x),h&&(l.push(c.x),2===h&&l.push(c.x)),a.push.apply(a,d),o=!1)}),a.xMap=l,r.graphPath=a},i.prototype.getZonesGraphs=function(t){return this.zones.forEach(function(e,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(e.className||"")],this.chart.styledMode||i.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(i)},this),t},i.defaultOptions=r(t.defaultOptions,{}),i}(t),e.registerSeriesType("line",i),i}),e(i,"Series/Area/AreaSeries.js",[i["Core/Color/Color.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,o){var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),r=t.parse,s=i.seriesTypes.line;t=o.extend;var a=o.merge,l=o.objectEach,h=o.pick;return o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,i=this.areaPath,o=this.options,n=[["area","highcharts-area",this.color,o.fillColor]];this.zones.forEach(function(t,i){n.push(["zone-area-"+i,"highcharts-area highcharts-zone-area-"+i+" "+t.className,t.color||e.color,t.fillColor||o.fillColor])}),n.forEach(function(t){var n=t[0],s=e[n],a=s?"animate":"attr",l={};s?(s.endX=e.preventGraphAnimation?null:i.xMap,s.animate({d:i})):(l.zIndex=0,(s=e[n]=e.chart.renderer.path(i).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(l.fill=h(t[3],r(t[2]).setOpacity(h(o.fillOpacity,.75)).get())),s[a](l),s.startX=i.xMap,s.shiftUnit=o.step?2:1})},e.prototype.getGraphPath=function(t){var e,i=s.prototype.getGraphPath,o=this.options,n=o.stacking,r=this.yAxis,a=[],l=[],c=this.index,d=r.stacking.stacks[this.stackKey],p=o.threshold,u=Math.round(r.getThreshold(o.threshold));o=h(o.connectNulls,"percent"===n);var f=function(e,i,o){var s=t[e];e=n&&d[s.x].points[c];var h=s[o+"Null"]||0;if(o=s[o+"Cliff"]||0,s=!0,o||h){var f=(h?e[0]:e[1])+o,g=e[0]+o;s=!!h}else!n&&t[i]&&t[i].isNull&&(f=g=p);void 0!==f&&(l.push({plotX:m,plotY:null===f?u:r.getThreshold(f),isNull:s,isCliff:!0}),a.push({plotX:m,plotY:null===g?u:r.getThreshold(g),doCurve:!1}))};for(t=t||this.points,n&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){n||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var g=t[e].isNull,m=h(t[e].rectPlotX,t[e].plotX),v=n?h(t[e].yBottom,u):u;g&&!o||(o||f(e,e-1,"left"),g&&!n&&o||(l.push(t[e]),a.push({x:e,plotX:m,plotY:v})),o||f(e,e+1,"right"))}return e=i.call(this,l,!0,!0),a.reversed=!0,(v=(g=i.call(this,a,!0,
2!0))[0])&&"M"===v[0]&&(g[0]=["L",v[1],v[2]]),(g=e.concat(g)).length&&g.push(["Z"]),i=i.call(this,l,!1,o),g.xMap=e.xMap,this.areaPath=g,i},e.prototype.getStackPoints=function(t){var e=this,i=[],o=[],n=this.xAxis,r=this.yAxis,s=r.stacking.stacks[this.stackKey],a={},c=r.series,d=c.length,p=r.options.reversedStacks?1:-1,u=c.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,a[t[f].x]=t[f];l(s,function(t,e){null!==t.total&&o.push(e)}),o.sort(function(t,e){return t-e});var g=c.map(function(t){return t.visible});o.forEach(function(t,l){var f,m,v=0;if(a[t]&&!a[t].isNull)i.push(a[t]),[-1,1].forEach(function(i){var n=1===i?"rightNull":"leftNull",r=0,h=s[o[l+i]];if(h)for(var v=u;0<=v&&v<d;){var y=c[v].index;(f=h.points[y])||(y===e.index?a[t][n]=!0:g[v]&&(m=s[t].points[y])&&(r-=m[1]-m[0])),v+=p}a[t][1===i?"rightCliff":"leftCliff"]=r});else{for(var y=u;0<=y&&y<d;){if(f=s[t].points[c[y].index]){v=f[1];break}y+=p}v=h(v,0),v=r.translate(v,0,1,0,1),i.push({isNull:!0,plotX:n.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}})}return i},e.defaultOptions=a(s.defaultOptions,{threshold:0}),e}(s),t(o.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),i.registerSeriesType("area",o),o}),e(i,"Series/Spline/SplineSeries.js",[i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),o=t.seriesTypes.line,n=e.merge,r=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.getPointSpline=function(t,e,i){var o=e.plotX||0,n=e.plotY||0,s=t[i-1];if(i=t[i+1],s&&!s.isNull&&!1!==s.doCurve&&!e.isCliff&&i&&!i.isNull&&!1!==i.doCurve&&!e.isCliff){t=s.plotY||0;var a=i.plotX||0;i=i.plotY||0;var l=0,h=(1.5*o+(s.plotX||0))/2.5,c=(1.5*n+t)/2.5,d=(1.5*n+i)/2.5;(a=(1.5*o+a)/2.5)!==h&&(l=(d-c)*(a-o)/(a-h)+n-d),d+=l,(c+=l)>t&&c>n?d=2*n-(c=Math.max(t,n)):c<t&&c<n&&(d=2*n-(c=Math.min(t,n))),d>i&&d>n?c=2*n-(d=Math.max(i,n)):d<i&&d<n&&(c=2*n-(d=Math.min(i,n))),e.rightContX=a,e.rightContY=d}return e=["C",r(s.rightContX,s.plotX,0),r(s.rightContY,s.plotY,0),r(h,o,0),r(c,n,0),o,n],s.rightContX=s.rightContY=void 0,e},e.defaultOptions=n(o.defaultOptions),e}(o),t.registerSeriesType("spline",e),e}),e(i,"Series/AreaSpline/AreaSplineSeries.js",[i["Series/Area/AreaSeries.js"],i["Series/Spline/SplineSeries.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,o,n){var r=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),s=t.prototype,a=n.extend,l=n.merge;return n=function(i){function o(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return r(o,i),o.defaultOptions=l(e.defaultOptions,t.defaultOptions),o}(e),a(n.prototype,{getGraphPath:s.getGraphPath,getStackPoints:s.getStackPoints,drawGraph:s.drawGraph,drawLegendSymbol:i.drawRectangle}),o.registerSeriesType("areaspline",n),n}),e(i,"Series/Column/ColumnSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,o,n,r,s){var a=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),l=t.animObject,h=e.parse,c=i.hasTouch;t=i.noop;var d=s.clamp,p=s.css,u=s.defined,f=s.extend,g=s.fireEvent,m=s.isArray,v=s.isNumber,y=s.merge,x=s.pick,b=s.objectEach;return s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;
2return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return a(e,t),e.prototype.animate=function(t){var e=this,i=this.yAxis,o=e.options,n=this.chart.inverted,r={},s=n?"translateX":"translateY";if(t)r.scaleY=.001,t=d(i.toPixels(o.threshold),i.pos,i.pos+i.len),n?r.translateX=t-i.len:r.translateY=t,e.clipBox&&e.setClip(),e.group.attr(r);else{var a=Number(e.group.attr(s));e.group.animate({scaleY:1},f(l(e.options.animation),{step:function(t,o){e.group&&(r[s]=a+o.pos*(i.pos-a),e.group.attr(r))}}))}},e.prototype.init=function(e,i){t.prototype.init.apply(this,arguments);var o=this;(e=o.chart).hasRendered&&e.series.forEach(function(t){t.type===o.type&&(t.isDirty=!0)})},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,i=t.xAxis,o=t.yAxis,n=i.options.reversedStacks;n=i.reversed&&!n||!i.reversed&&n;var r,s={},a=0;!1===e.grouping?a=1:t.chart.series.forEach(function(e){var i=e.yAxis,n=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&o.len===i.len&&o.pos===i.pos){if(n.stacking&&"group"!==n.stacking){r=e.stackKey,void 0===s[r]&&(s[r]=a++);var l=s[r]}else!1!==n.grouping&&(l=a++);e.columnIndex=l}});var l=Math.min(Math.abs(i.transA)*(i.ordinal&&i.ordinal.slope||e.pointRange||i.closestPointRange||i.tickInterval||1),i.len),h=l*e.groupPadding,c=(l-2*h)/(a||1);return e=Math.min(e.maxPointWidth||i.len,x(e.pointWidth,c*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(c-e)/2+(h+((t.columnIndex||0)+(n?1:0))*c-l/2)*(n?-1:1),paddedWidth:c,columnCount:a},t.columnMetrics},e.prototype.crispCol=function(t,e,i,o){var n=this.chart,r=this.borderWidth,s=-(r%2?.5:0);return r=r%2?.5:1,n.inverted&&n.renderer.isVML&&(r+=1),this.options.crisp&&(i=Math.round(t+i)+s,i-=t=Math.round(t)+s),o=Math.round(e+o)+r,s=.5>=Math.abs(e)&&.5<o,o-=e=Math.round(e)+r,s&&o&&(--e,o+=1),{x:t,y:e,width:i,height:o}},e.prototype.adjustForMissingColumns=function(t,e,i,o){var n=this,r=this.options.stacking;if(!i.isNull&&1<o.columnCount){var s=0,a=0;b(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(t){if("number"==typeof i.x&&(t=t[i.x.toString()])){var e=t.points[n.index],o=t.total;r?(e&&(s=a),t.hasValidPoints&&a++):m(e)&&(s=e[1],a=o||0)}}),t=(i.plotX||0)+((a-1)*o.paddedWidth+e)/2-e-s*o.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,i=t.options,o=t.dense=2>t.closestPointRange*t.xAxis.transA;o=t.borderWidth=x(i.borderWidth,o?0:1);var r=t.xAxis,s=t.yAxis,a=i.threshold,l=t.translatedThreshold=s.getThreshold(a),h=x(i.minPointLength,5),c=t.getColumnMetrics(),p=c.width,f=t.pointXOffset=c.offset,g=t.dataMin,m=t.dataMax,y=t.barW=Math.max(p,1+2*o);e.inverted&&(l-=.5),i.pointPadding&&(y=Math.ceil(y)),n.prototype.translate.apply(t),t.points.forEach(function(o){var n=x(o.yBottom,l),b=999+Math.abs(n),w=o.plotX||0;b=d(o.plotY,-b,s.len+b);var k=Math.min(b,n),S=Math.max(b,n)-k,C=p,T=w+f,A=y;h&&Math.abs(S)<h&&(S=h,w=!s.reversed&&!o.negative||s.reversed&&o.negative,v(a)&&v(m)&&o.y===a&&m<=a&&(s.min||0)<a&&(g!==m||(s.max||0)<=a)&&(w=!w),k=Math.abs(k-l)>h?n-h:l-(w?h:0)),u(o.options.pointWidth)&&(C=A=Math.ceil(o.options.pointWidth),T-=Math.round((C-p)/2)),i.centerInCategory&&(T=t.adjustForMissingColumns(T,C,o,c)),o.barX=T,o.pointWidth=C,o.tooltipPos=e.inverted?[d(s.len+s.pos-e.plotLeft-b,s.pos-e.plotLeft,s.len+s.pos-e.plotLeft),r.len+r.pos-e.plotTop-T-A/2,S]:[r.left-e.plotLeft+T+A/2,d(b+s.pos-e.plotTop,s.pos-e.plotTop,s.len+s.pos-e.plotTop),S],o.shapeType=t.pointClass.prototype.shapeType||"rect",o.shapeArgs=t.crispCol.apply(t,o.isNull?[T,l,A,0]:[T,k,A,S])})},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var i=this.options,o=this.pointAttrToOptions||{},n=o.stroke||"borderColor",r=o["stroke-width"]||"borderWidth",s=t&&t.color||this.color,a=t&&t[n]||i[n]||s;o=t&&t.options.dashStyle||i.dashStyle;var l=t&&t[r]||i[r]||this[r]||0,c=x(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var d=t.getZone();s=t.options.color||d&&(d.color||t.nonZonedColor)||this.color,d&&(a=d.borderColor||a,o=d.dashStyle||o,l=d.borderWidth||l)}return e&&t&&(e=(t=y(i.states[e],t.options.states&&t.options.states[e]||{})).brightness,s=t.color||void 0!==e&&h(s).brighten(t.brightness).get()||s,a=t[n]||a,l=t[r]||l,o=t.dashStyle||o,c=x(t.opacity,c)),n={fill:s,stroke:a,"stroke-width":l,opacity:c},o&&(n.dashstyle=o),n},e.prototype.drawPoints=function(){var t,e=this,i=this.chart,o=e.options,n=i.renderer,r=o.animationLimit||250;
2e.points.forEach(function(s){var a=s.graphic,l=!!a,h=a&&i.pointCount<r?"animate":"attr";v(s.plotY)&&null!==s.y?(t=s.shapeArgs,a&&s.hasNewShapeType()&&(a=a.destroy()),e.enabledDataSorting&&(s.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),a||(s.graphic=a=n[s.shapeType](t).add(s.group||e.group))&&e.enabledDataSorting&&i.hasRendered&&i.pointCount<r&&(a.attr({x:s.startXPos}),l=!0,h="animate"),a&&l&&a[h](y(t)),o.borderRadius&&a[h]({r:o.borderRadius}),i.styledMode||a[h](e.pointAttribs(s,s.selected&&"select")).shadow(!1!==s.allowShadow&&o.shadow,null,o.stacking&&!o.borderRadius),a&&(a.addClass(s.getClassName(),!0),a.attr({visibility:s.visible?"inherit":"hidden"}))):a&&(s.graphic=a.destroy())})},e.prototype.drawTracker=function(){var t,e=this,i=e.chart,o=i.pointer,n=function(t){var e=o.getPointFromEvent(t);void 0!==e&&(o.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach(function(e){t=m(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach(function(t){t.div?t.div.point=e:t.element.point=e})}),e._hasTracking||(e.trackerGroups.forEach(function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",n).on("mouseout",function(t){o.onTrackerMouseOut(t)}),c&&e[t].on("touchstart",n),!i.styledMode&&e.options.cursor&&e[t].css(p).css({cursor:e.options.cursor}))}),e._hasTracking=!0),g(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach(function(e){e.type===t.type&&(e.isDirty=!0)}),n.prototype.remove.apply(t,arguments)},e.defaultOptions=y(n.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(n),f(s.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:o.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),r.registerSeriesType("column",s),s}),e(i,"Core/Series/DataLabel.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],function(t,e,i){var o,n=t.getDeferredAnimation,r=e.format,s=i.defined,a=i.extend,l=i.fireEvent,h=i.isArray,c=i.merge,d=i.objectEach,p=i.pick,u=i.splat;return function(t){function e(t,e,i,o,n){var r=this,s=this.chart,l=this.isCartesian&&s.inverted,h=this.enabledDataSorting,c=p(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),d=p(t.plotY,-9999),u=e.getBBox(),f=i.rotation,g=i.align,m=s.isInsidePlot(c,Math.round(d),{inverted:l,paneCoordinates:!0,series:r}),v=function(i){h&&r.xAxis&&!y&&r.setDataLabelStartPos(t,e,n,m,i)},y="justify"===p(i.overflow,h?"none":"justify"),x=this.visible&&!1!==t.visible&&(t.series.forceDL||h&&!y||m||p(i.inside,!!this.options.stacking)&&o&&s.isInsidePlot(c,l?o.x+1:o.y+o.height-1,{inverted:l,paneCoordinates:!0,series:r}));if(x){var b=s.renderer.fontMetrics(s.styledMode?void 0:i.style.fontSize,e).b;o=a({x:l?this.yAxis.len-d:c,y:Math.round(l?this.xAxis.len-c:d),width:0,height:0},o),a(i,{width:u.width,height:u.height}),f?(y=!1,c=s.renderer.rotCorr(b,f),v(c={x:o.x+(i.x||0)+o.width/2+c.x,y:o.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*o.height}),e[n?"attr":"animate"](c).attr({align:g}),v=180<(v=(f+720)%360)&&360>v,"left"===g?c.y-=v?u.height:0:"center"===g?(c.x-=u.width/2,c.y-=u.height/2):"right"===g&&(c.x-=u.width,c.y-=v?0:u.height),e.placed=!0,e.alignAttr=c):(v(o),e.align(i,void 0,o),c=e.alignAttr),y&&0<=o.height?this.justifyDataLabel(e,i,c,u,o,n):p(i.crop,!0)&&(x=s.isInsidePlot(c.x,c.y,{paneCoordinates:!0,series:r})&&s.isInsidePlot(c.x+u.width,c.y+u.height,{paneCoordinates:!0,series:r})),i.shape&&!f&&e[n?"attr":"animate"]({anchorX:l?s.plotWidth-t.plotY:t.plotX,anchorY:l?s.plotHeight-t.plotX:t.plotY})}n&&h&&(e.placed=!1),x||h&&!y||(e.hide(!0),e.placed=!1)}function i(){var t=this,e=t.chart,i=t.options,o=t.points,a=t.hasRendered||0,c=e.renderer,g=i.dataLabels,m=g.animation;if(m=g.defer?n(e,m,t):{defer:0,duration:0},g=f(f(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),g),l(this,"drawDataLabels"),h(g)||g.enabled||t._hasPointLabels){var v=t.plotGroup("dataLabelsGroup","data-labels",a?"inherit":"hidden",g.zIndex||6);v.attr({opacity:+a}),!a&&(a=t.dataLabelsGroup)&&(t.visible&&v.show(!0),a[i.animation?"animate":"attr"]({opacity:1},m)),o.forEach(function(o){u(f(g,o.dlOptions||o.options&&o.options.dataLabels)).forEac
2h(function(n,a){var l=n.enabled&&(!o.isNull||o.dataLabelOnNull)&&function(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t<i||">="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}(o,n),h=o.connectors?o.connectors[a]:o.connector,u=o.dataLabels?o.dataLabels[a]:o.dataLabel,f=p(n.distance,o.labelDistance),g=!u;if(l){var m=o.getLabelConfig(),y=p(n[o.formatPrefix+"Format"],n.format);m=s(y)?r(y,m,e):(n[o.formatPrefix+"Formatter"]||n.formatter).call(m,n),y=n.style;var x=n.rotation;e.styledMode||(y.color=p(n.color,y.color,t.color,"#000000"),"contrast"===y.color?(o.contrastColor=c.getContrast(o.color||t.color),y.color=!s(f)&&n.inside||0>f||i.stacking?o.contrastColor:"#000000"):delete o.contrastColor,i.cursor&&(y.cursor=i.cursor));var b={r:n.borderRadius||0,rotation:x,padding:n.padding,zIndex:1};e.styledMode||(b.fill=n.backgroundColor,b.stroke=n.borderColor,b["stroke-width"]=n.borderWidth),d(b,function(t,e){void 0===t&&delete b[e]})}!u||l&&s(m)&&!!u.div==!!n.useHTML||(o.dataLabel=u=o.dataLabel&&o.dataLabel.destroy(),o.dataLabels&&(1===o.dataLabels.length?delete o.dataLabels:delete o.dataLabels[a]),a||delete o.dataLabel,h&&(o.connector=o.connector.destroy(),o.connectors&&(1===o.connectors.length?delete o.connectors:delete o.connectors[a]))),l&&s(m)&&(u?b.text=m:(o.dataLabels=o.dataLabels||[],u=o.dataLabels[a]=x?c.text(m,0,-9999,n.useHTML).addClass("highcharts-data-label"):c.label(m,0,-9999,n.shape,null,null,n.useHTML,null,"data-label"),a||(o.dataLabel=u),u.addClass(" highcharts-data-label-color-"+o.colorIndex+" "+(n.className||"")+(n.useHTML?" highcharts-tracker":""))),u.options=n,u.attr(b),e.styledMode||u.css(y).shadow(n.shadow),u.added||u.add(v),n.textPath&&!n.useHTML&&(u.setTextPath(o.getDataLabelPath&&o.getDataLabelPath(u)||o.graphic,n.textPath),o.dataLabelPath&&!n.textPath.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy())),t.alignDataLabel(o,u,n,null,g))})})}l(this,"afterDrawDataLabels")}function o(t,e,i,o,n,r){var s=this.chart,a=e.align,l=e.verticalAlign,h=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var d=e.y;d=void 0===d?0:d;var p=(i.x||0)+h;if(0>p){"right"===a&&0<=c?(e.align="left",e.inside=!0):c-=p;var u=!0}return(p=(i.x||0)+o.width-h)>s.plotWidth&&("left"===a&&0>=c?(e.align="right",e.inside=!0):c+=s.plotWidth-p,u=!0),0>(p=i.y+h)&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=p,u=!0),(p=(i.y||0)+o.height-h)>s.plotHeight&&("top"===l&&0>=d?(e.verticalAlign="bottom",e.inside=!0):d+=s.plotHeight-p,u=!0),u&&(e.x=c,e.y=d,t.placed=!r,t.align(e,void 0,n)),u}function f(t,e){var i,o=[];if(h(t)&&!h(e))o=t.map(function(t){return c(t,e)});else if(h(e)&&!h(t))o=e.map(function(e){return c(t,e)});else if(h(t)||h(e))for(i=Math.max(t.length,e.length);i--;)o[i]=c(t[i],e[i]);else o=c(t,e);return o}function g(t,e,i,o,n){var r=this.chart,s=r.inverted,a=this.xAxis,l=a.reversed,h=s?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=s?n.x:l?-h-t:a.width-h+t,e.startYPos=s?l?this.yAxis.height-h+t:-h-t:n.y,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0}
2,void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var m=[];t.compose=function(t){if(-1===m.indexOf(t)){var n=t.prototype;m.push(t),n.alignDataLabel=e,n.drawDataLabels=i,n.justifyDataLabel=o,n.setDataLabelStartPos=g}}}(o||(o={})),o}),e(i,"Series/Column/ColumnDataLabel.js",[i["Core/Series/DataLabel.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i){var o,n=e.series,r=i.merge,s=i.pick;return function(e){function i(t,e,i,o,a){var l=this.chart.inverted,h=t.series,c=(h.xAxis?h.xAxis.len:this.chart.plotSizeX)||0;h=(h.yAxis?h.yAxis.len:this.chart.plotSizeY)||0;var d=t.dlBox||t.shapeArgs,p=s(t.below,t.plotY>s(this.translatedThreshold,h)),u=s(i.inside,!!this.options.stacking);d&&(0>(o=r(d)).y&&(o.height+=o.y,o.y=0),0<(d=o.y+o.height-h)&&d<o.height&&(o.height-=d),l&&(o={x:h-o.y-o.height,y:c-o.x-o.width,width:o.height,height:o.width}),u||(l?(o.x+=p?0:o.width,o.width=0):(o.y+=p?o.height:0,o.height=0))),i.align=s(i.align,!l||u?"center":p?"right":"left"),i.verticalAlign=s(i.verticalAlign,l||u?"middle":p?"top":"bottom"),n.prototype.alignDataLabel.call(this,t,e,i,o,a),i.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var o=[];e.compose=function(e){t.compose(n),-1===o.indexOf(e)&&(o.push(e),e.prototype.alignDataLabel=i)}}(o||(o={})),o}),e(i,"Series/Bar/BarSeries.js",[i["Series/Column/ColumnSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=i.extend,r=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(i,e),i.defaultOptions=r(t.defaultOptions,{}),i}(t),n(i.prototype,{inverted:!0}),e.registerSeriesType("bar",i),i}),e(i,"Series/Scatter/ScatterSeries.js",[i["Series/Column/ColumnSeries.js"],i["Series/Line/LineSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,o){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),r=o.addEvent,s=o.extend,a=o.merge;return o=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(i,t),i.prototype.applyJitter=function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach(function(o,n){["x","y"].forEach(function(r,s){var a="plot"+r.toUpperCase();if(e[r]&&!o.isNull){var l=t[r+"Axis"],h=e[r]*l.transA;if(l&&!l.isLog){var c=Math.max(0,o[a]-h);l=Math.min(l.len,o[a]+h),s=1e4*Math.sin(n+s*i),o[a]=c+(l-c)*(s-Math.floor(s)),"x"===r&&(o.clientX=o.plotX)}}})})},i.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},i.defaultOptions=a(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">â</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),i}(e),s(o.prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),r(o,"afterTranslate",function(){this.applyJitter()}),i.registerSeriesType("scatter",o),o}),e(i,"Series/CenteredUtilities.js",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],function(t,e,i){var o,n=t.deg2rad,r=i.isNumber,s=i.pick,a=i.relativeLength;return function(t){t.getCenter=function(){var t=this.options,i=this.chart,o=2*(t.slicedOffset||0),n=i.plotWidth-2*o,r=i.plotHeight-2*o,l=t.center,h=Math.min(n,r),c=t.size,d=t.innerSize||0;for("string"==typeof c&&(c=parseFloat(c)),"string"==typeof d&&(d=parseFloat(d)),t=[s(l[0],"50%"),s(l[1],"50%"),s(c&&0>c?void 0:t.size,"100%"),s(d&&0>d?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),l=0;4>l;++l)c=t[l],i=2>l||2===l&&/%$/.test(c),t[l]=a(c,[n,r,h,t[2]][l])+(i?o:0);return t[3]>t[2]&&(t[3]=t[2]),t},t.getStartAndEndRadians=function(t,e){return t=r(t)?t:0,e=r(e)&&e>t&&360>e-t?e:t+360,{start:n*(t+-90),end:n*(e+-90)}}}(o||(o={})),o}
2),e(i,"Series/Pie/PiePoint.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],function(t,e,i){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=t.setAnimation,r=i.addEvent,s=i.defined;t=i.extend;var a=i.isNumber,l=i.pick,h=i.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return o(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=this.connectorShapes,o=e.connectorShape;return i[o]&&(o=i[o]),o.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var i=function(t){e.slice("select"===t.type)};return r(this,"select",i),r(this,"unselect",i),this},e.prototype.isValid=function(){return a(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var i=this,o=this.series,n=o.chart,r=o.options.ignoreHiddenPoint;e=l(e,r),t!==this.visible&&(this.visible=this.options.visible=t=void 0===t?!this.visible:t,o.options.data[o.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){i[e]&&i[e][t?"show":"hide"](t)}),this.legendItem&&n.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),r&&(o.isDirty=!0),e&&n.redraw())},e.prototype.slice=function(t,e,i){var o=this.series;n(i,o.chart),l(e,!0),this.sliced=this.options.sliced=s(t)?t:!this.sliced,o.options.data[o.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,i){var o=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*o.x-e.x,2*o.y-e.y,o.x,o.y]:["L",o.x,o.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var o=this.series,n=o.center[0],r=o.chart.plotWidth,s=o.chart.plotLeft;o=t.alignment;var a=this.shapeArgs.r;return i=h(i.crookDistance,1),i=["L",r="left"===o?n+a+(r+s-n-a)*(1-i):s+(n-a)*i,t.y],n=!0,("left"===o?r>t.x||r<e.x:r<t.x||r>e.x)&&(n=!1),t=[["M",t.x,t.y]],n&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),e(i,"Series/Pie/PieSeries.js",[i["Series/CenteredUtilities.js"],i["Series/Column/ColumnSeries.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Series/Pie/PiePoint.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Utilities.js"]],function(t,e,i,o,n,r,s,a,l){var h=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),c=t.getStartAndEndRadians;i=i.noop;var d=l.clamp,p=l.extend,u=l.fireEvent,f=l.merge,g=l.pick,m=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return h(e,t),e.prototype.animate=function(t){var e=this,i=e.points,o=e.startAngleRad;t||i.forEach(function(t){var i=t.graphic,n=t.shapeArgs;i&&n&&(i.attr({r:g(t.startR,e.center&&e.center[3]/2),start:o,end:o}),i.animate({r:n.r,start:n.start,end:n.end},e.options.animation))})},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var o=this.center[0],n=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(o,n,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(o,n,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;
2this.points.forEach(function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)})},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,i){var o=this.center,n=this.radii?this.radii[i.index]||0:o[2]/2;return t=Math.asin(d((t-o[1])/(n+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(n+i.labelDistance)+(0<i.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,i,o,n=this,r=n.chart,s=r.renderer,a=n.options.shadow;this.drawEmpty(),!a||n.shadowGroup||r.styledMode||(n.shadowGroup=s.g("shadow").attr({zIndex:-1}).add(n.group)),n.points.forEach(function(l){var h={};if(e=l.graphic,!l.isNull&&e){var c=void 0;o=l.shapeArgs,t=l.getTranslate(),r.styledMode||(c=l.shadowGroup,a&&!c&&(c=l.shadowGroup=s.g("shadow").add(n.shadowGroup)),c&&c.attr(t),i=n.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(n.center).attr(o).attr(t),r.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}).shadow(a,c),l.delayedRendering=!1):(e.setRadialReference(n.center),r.styledMode||f(!0,h,i),f(!0,h,o,t),e.animate(h)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())})},e.prototype.sortByAngle=function(t,e){t.sort(function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e})},e.prototype.translate=function(t){this.generatePoints();var e=this.options,i=e.slicedOffset,o=i+(e.borderWidth||0),n=c(e.startAngle,e.endAngle),r=this.startAngleRad=n.start;n=(this.endAngleRad=n.end)-r;var s=this.points,a=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,h=s.length,d=0;for(t||(this.center=t=this.getCenter()),l=0;l<h;l++){var p=s[l],f=r+d*n;!p.isValid()||e&&!p.visible||(d+=p.percentage/100);var v=r+d*n,y={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*f)/1e3,end:Math.round(1e3*v)/1e3};p.shapeType="arc",p.shapeArgs=y,p.labelDistance=g(p.options.dataLabels&&p.options.dataLabels.distance,a),p.labelDistance=m(p.labelDistance,y.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(v=(v+f)/2)>1.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(v)*i),translateY:Math.round(Math.sin(v)*i)},y=Math.cos(v)*t[2]/2;var x=Math.sin(v)*t[2]/2;p.tooltipPos=[t[0]+.7*y,t[1]+.7*x],p.half=v<-Math.PI/2||v>Math.PI/2?1:0,p.angle=v,f=Math.min(o,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+y+Math.cos(v)*p.labelDistance,y:t[1]+x+Math.sin(v)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+y+Math.cos(v)*f,y:t[1]+x+Math.sin(v)*f},touchingSliceAt:{x:t[0]+y,y:t[1]+x}}}}u(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,i=e.length,o=this.options.ignoreHiddenPoint,n=0;for(t=0;t<i;t++){var r=e[t];!r.isValid()||o&&!r.visible||(n+=r.y)}for(this.total=n,t=0;t<i;t++)(r=e[t]).percentage=0<n&&(r.visible||!o)?r.y/n*100:0,r.total=n},e.defaultOptions=f(r.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(r),p(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:o.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:i,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:n,requireSorting:!1,searchPoint:i,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",l),l}
2),e(i,"Series/Pie/PieDataLabel.js",[i["Core/Series/DataLabel.js"],i["Core/Globals.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,o,n){var r,s=e.noop,a=i.distribute,l=o.series,h=n.arrayMax,c=n.clamp,d=n.defined,p=n.merge,u=n.pick,f=n.relativeLength;return function(e){function i(){var t,e,i,o,n,r,s,c,f,g,m,v,y=this,x=y.data,b=y.chart,w=y.options.dataLabels||{},k=w.connectorPadding,S=b.plotWidth,C=b.plotHeight,T=b.plotLeft,A=Math.round(b.chartWidth/3),M=y.center,O=M[2]/2,P=M[1],E=[[],[]],L=[0,0,0,0],D=y.dataLabelPositioners;y.visible&&(w.enabled||y._hasPointLabels)&&(x.forEach(function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)}),l.prototype.drawDataLabels.apply(y),x.forEach(function(t){t.dataLabel&&(t.visible?(E[t.half].push(t),t.dataLabel._pos=null,!d(w.style.width)&&!d(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>A&&(t.dataLabel.css({width:Math.round(.7*A)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),E.forEach(function(e,i){var l,h=e.length,p=[];if(h){if(y.sortByAngle(e,i-.5),0<y.maxLabelDistance){var x=Math.max(0,P-O-y.maxLabelDistance),A=Math.min(P+O+y.maxLabelDistance,b.plotHeight);e.forEach(function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,P-O-t.labelDistance),t.bottom=Math.min(P+O+t.labelDistance,b.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},p.push(t.distributeBox))}),a(p,x=A+l-x,x/5)}for(m=0;m<h;m++){if(t=e[m],r=t.labelPosition,o=t.dataLabel,g=!1===t.visible?"hidden":"inherit",f=x=r.natural.y,p&&d(t.distributeBox)&&(void 0===t.distributeBox.pos?g="hidden":(s=t.distributeBox.size,f=D.radialDistributionY(t))),delete t.positionIndex,w.justify)c=D.justify(t,O,M);else switch(w.alignTo){case"connectors":c=D.alignToConnectors(e,i,S,T);break;case"plotEdges":c=D.alignToPlotEdges(o,i,S,T);break;default:c=D.radialDistributionX(y,t,f,x)}o._attr={visibility:g,align:r.alignment},v=t.options.dataLabels||{},o._pos={x:c+u(v.x,w.x)+({left:k,right:-k}[r.alignment]||0),y:f+u(v.y,w.y)-10},r.final.x=c,r.final.y=f,u(w.crop,!0)&&(n=o.getBBox().width,x=null,c-n<k&&1===i?(x=Math.round(n-c+k),L[3]=Math.max(x,L[3])):c+n>S-k&&0===i&&(x=Math.round(c+n-S+k),L[1]=Math.max(x,L[1])),0>f-s/2?L[0]=Math.max(Math.round(s/2-f),L[0]):f+s/2>C&&(L[2]=Math.max(Math.round(f+s/2-C),L[2])),o.sideOverflow=x)}}}),0===h(L)||this.verifyDataLabelOverflow(L))&&(this.placeDataLabels(),this.points.forEach(function(t){var n;v=p(w,t.options.dataLabels),(e=u(v.connectorWidth,1))&&(i=t.connector,(o=t.dataLabel)&&o._pos&&t.visible&&0<t.labelDistance?(g=o._attr.visibility,(n=!i)&&(t.connector=i=b.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(y.dataLabelsGroup),b.styledMode||i.attr({"stroke-width":e,stroke:v.connectorColor||t.color||"#666666"})),i[n?"attr":"animate"]({d:t.getConnectorPath()}),i.attr("visibility",g)):i&&(t.connector=i.destroy()))}))}function o(){this.points.forEach(function(t){var e,i=t.dataLabel;i&&t.visible&&((e=i._pos)?(i.sideOverflow&&(i._attr.width=Math.max(i.getBBox().width-i.sideOverflow,0),i.css({width:i._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),i.shortened=!0),i.attr(i._attr),i[i.moved?"animate":"attr"](e),i.moved=!0):i&&i.attr({y:-9999})),delete t.distributeBox},this)}function n(t){var e=this.center,i=this.options,o=i.center,n=i.minSize||80,r=null!==i.size;if(!r){if(null!==o[0])var s=Math.max(e[2]-Math.max(t[1],t[3]),n);else s=Math.max(e[2]-t[1]-t[3],n),e[0]+=(t[3]-t[1])/2;null!==o[1]?s=c(s,n,e[2]-Math.max(t[0],t[2])):(s=c(s,n,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),s<e[2]?(e[2]=s,e[3]=Math.min(f(i.innerSize||0,s),s),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):r=!0}return r}var r=[],g={radialDistributionY:function(t){return t.top+t.distributeBox.pos}
2,radialDistributionX:function(t,e,i,o){return t.getX(i<e.top+2||i>e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var n,r=0;return t.forEach(function(t){(n=t.dataLabel.getBBox().width)>r&&(r=n)}),e?r+o:i-r-o}};e.compose=function(e){t.compose(l),-1===r.indexOf(e)&&(r.push(e),(e=e.prototype).dataLabelPositioners=g,e.alignDataLabel=s,e.drawDataLabels=i,e.placeDataLabels=o,e.verifyDataLabelOverflow=n)}}(r||(r={})),r}),e(i,"Extensions/OverlappingDataLabels.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],function(t,e){function i(t,e){var i=!1;if(t){var o=t.newOpacity;t.oldOpacity!==o&&(t.alignAttr&&t.placed?(t[o?"removeClass":"addClass"]("highcharts-data-label-hidden"),i=!0,t.alignAttr.opacity=o,t[t.isOld?"animate":"attr"](t.alignAttr,null,function(){e.styledMode||t.css({pointerEvents:o?"auto":"none"})}),n(e,"afterHideOverlappingLabel")):t.attr({opacity:o})),t.isOld=!0}return i}var o=e.addEvent,n=e.fireEvent,r=e.isArray,s=e.isNumber,a=e.objectEach,l=e.pick;o(t,"render",function(){var t=this,e=[];(this.labelCollectors||[]).forEach(function(t){e=e.concat(t())}),(this.yAxis||[]).forEach(function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&a(t.stacking.stacks,function(t){a(t,function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)})})}),(this.series||[]).forEach(function(o){var n=o.options.dataLabels;o.visible&&(!1!==n.enabled||o._hasPointLabels)&&(n=function(o){return o.forEach(function(o){o.visible&&(r(o.dataLabels)?o.dataLabels:o.dataLabel?[o.dataLabel]:[]).forEach(function(n){var r=n.options;n.labelrank=l(r.labelrank,o.labelrank,o.shapeArgs&&o.shapeArgs.height),r.allowOverlap?(n.oldOpacity=n.opacity,n.newOpacity=1,i(n,t)):e.push(n)})})},n(o.nodes||[]),n(o.points))}),this.hideOverlappingLabels(e)}),t.prototype.hideOverlappingLabels=function(t){var e,o,r,a=this,l=t.length,h=a.renderer,c=!1,d=function(t){var e,i,o=t.box?0:t.padding||0,n=e=0;if(t&&(!t.alignAttr||t.placed)){var r=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},a=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=h.fontMetrics(null,t.element).h);var l=t.width-2*o;return(i={left:"0",center:"0.5",right:"1"}[t.alignValue])?n=+i*l:s(t.x)&&Math.round(t.x)!==t.translateX&&(n=t.x-t.translateX),{x:r.x+(a.translateX||0)+o-(n||0),y:r.y+(a.translateY||0)+o-e,width:t.width-2*o,height:t.height-2*o}}};for(o=0;o<l;o++)(e=t[o])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=d(e));for(t.sort(function(t,e){return(e.labelrank||0)-(t.labelrank||0)}),o=0;o<l;o++){var p=(d=t[o])&&d.absoluteBox;for(e=o+1;e<l;++e){var u=(r=t[e])&&r.absoluteBox;!p||!u||d===r||0===d.newOpacity||0===r.newOpacity||u.x>=p.x+p.width||u.x+u.width<=p.x||u.y>=p.y+p.height||u.y+u.height<=p.y||((d.labelrank<r.labelrank?d:r).newOpacity=0)}}t.forEach(function(t){i(t,a)&&(c=!0)}),c&&n(a,"afterHideAllOverlappingLabels")}}),e(i,"Core/Responsive.js",[i["Core/Utilities.js"]],function(t){var e,i=t.extend,o=t.find,n=t.isArray,r=t.isObject,s=t.merge,a=t.objectEach,l=t.pick,h=t.splat,c=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),i(t.prototype,d.prototype)),t};var d=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,i={};return function t(i,o,s,l){var c;a(i,function(i,a){if(!l&&-1<e.collectionsWithUpdate.indexOf(a)&&o[a])for(i=h(i),s[a]=[],c=0;c<Math.max(i.length,o[a].length);c++)o[a][c]&&(void 0===i[c]?s[a][c]=o[a][c]:(s[a][c]={},t(i[c],o[a][c],s[a][c],l+1)));else r(i)?(s[a]=n(i)?[]:{},t(i,o[a]||{},s[a],l+1)):s[a]=void 0===o[a]?null:o[a]})}(t,this.options,i,0),i},t.prototype.matchResponsiveRule=function(t,e){var i=t.condition;(i.callback||function(){return this.chartWidth<=l(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(i.minWidth,0)&&this.chartHeight>=l(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var i=this,n=this.options.responsive,r=this.currentResponsive,a=[];
2!e&&n&&n.rules&&n.rules.forEach(function(t){void 0===t._id&&(t._id=c()),i.matchResponsiveRule(t,a)},this),e=s.apply(void 0,a.map(function(t){return o((n||{}).rules||[],function(e){return e._id===t})}).map(function(t){return t&&t.chartOptions})),e.isResponsiveOptions=!0,(a=a.toString()||void 0)!==(r&&r.ruleIds)&&(r&&this.update(r.undoOptions,t,!0),a?((r=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:a,mergedOptions:e,undoOptions:r},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e}),e(i,"masters/highcharts.src.js",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/DefaultOptions.js"],i["Core/Animation/Fx.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/FormatUtilities.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Renderer/HTML/HTMLElement.js"],i["Core/Renderer/HTML/HTMLRenderer.js"],i["Core/Axis/Axis.js"],i["Core/Axis/DateTimeAxis.js"],i["Core/Axis/LogarithmicAxis.js"],i["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],i["Core/Axis/Tick.js"],i["Core/Tooltip.js"],i["Core/Series/Point.js"],i["Core/Pointer.js"],i["Core/MSPointer.js"],i["Core/Legend/Legend.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Series/Column/ColumnSeries.js"],i["Series/Column/ColumnDataLabel.js"],i["Series/Pie/PieSeries.js"],i["Series/Pie/PieDataLabel.js"],i["Core/Series/DataLabel.js"],i["Core/Responsive.js"],i["Core/Color/Color.js"],i["Core/Time.js"]],function(t,e,i,o,n,r,s,a,l,h,c,d,p,u,f,g,m,v,y,x,b,w,k,S,C,T,A,M,O,P,E,L,D){return t.animate=n.animate,t.animObject=n.animObject,t.getDeferredAnimation=n.getDeferredAnimation,t.setAnimation=n.setAnimation,t.stop=n.stop,t.timers=o.timers,t.AST=r,t.Axis=p,t.Chart=k,t.chart=k.chart,t.Fx=o,t.Legend=w,t.PlotLineOrBand=g,t.Point=y,t.Pointer=b.isRequired()?b:x,t.Series=S,t.SVGElement=l,t.SVGRenderer=h,t.Tick=m,t.Time=D,t.Tooltip=v,t.Color=L,t.color=L.parse,d.compose(h),c.compose(l),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=s.dateFormat,t.format=s.format,t.numberFormat=s.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=C.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,A.compose(T),P.compose(S),u.compose(p),f.compose(p),O.compose(M),g.compose(p),E.compose(k),t}),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]},t.exports?(r.default=r,t.exports=n.document?r(n):r):void 0===(o=function(){return r(n)}.call(e,i,e,t))||(t.exports=o)},8364(t,e,i){"use strict";var o,n,r;r=function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i))}e(t=t?t._modules:{},"Core/HttpUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e){var i=t.doc,o=e.createElement,n=e.discardElement,r=e.merge,s=e.objectEach,a={ajax:function(t){var e=r(!0,{url:!1,type:"get",dataType:"json",success:!1,error:!1,data:!1,headers:{}},t);t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"};var i=new XMLHttpRequest;if(!e.url)return!1;i.open(e.type.toUpperCase(),e.url,!0),e.headers["Content-Type"]||i.setRequestHeader("Content-Type",t[e.dataType]||t.text),s(e.headers,function(t,e){i.setRequestHeader(e,t)}),i.onreadystatechange=function(){if(4===i.readyState){if(200===i.status){var t=i.responseText;if("json"===e.dataType)try{t=JSON.parse(t)}catch(t){return void(e.error&&e.error(i,t))}return e.success&&e.success(t)}e.error&&e.error(i,i.responseText)}};try{e.data=JSON.stringify(e.data)}catch(t){}i.send(e.data||!0)},getJSON:function(t,e){a.ajax({url:t,success:e,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(t,e,a){var l=o("form",r({method:"post",action:t,enctype:"multipart/form-data"},a),{display:"none"},i.body);s(e,function(t,e){o("input",{type:"hidden",name:e,value:t},null,l)}),l.submit(),n(l)}};return a}),e(t,"Extensions/Data.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/HttpUtilities.js"],t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,
2i,o,n,r){var s=e.doc,a=i.ajax,l=n.seriesTypes;i=r.addEvent;var h=r.defined,c=r.extend,d=r.fireEvent,p=r.isNumber,u=r.merge,f=r.objectEach,g=r.pick,m=r.splat;r=function(){function t(t,e,i){this.options=this.rawColumns=this.firstRowAsNames=this.chartOptions=this.chart=void 0,this.dateFormats={"YYYY/mm/dd":{regex:/^([0-9]{4})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{1,2})$/,parser:function(t){return t?Date.UTC(+t[1],t[2]-1,+t[3]):NaN}},"dd/mm/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(t){return t?Date.UTC(+t[3],t[2]-1,+t[1]):NaN},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(t){return t?Date.UTC(+t[3],t[1]-1,+t[2]):NaN}},"dd/mm/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(t){if(!t)return NaN;var e=+t[3];return e=e>(new Date).getFullYear()-2e3?e+1900:e+2e3,Date.UTC(e,t[2]-1,+t[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(t){return t?Date.UTC(+t[3]+2e3,t[1]-1,+t[2]):NaN}}},this.init(t,e,i)}return t.prototype.init=function(t,e,i){var o=t.decimalPoint;if(e&&(this.chartOptions=e),i&&(this.chart=i),"."!==o&&","!==o&&(o=void 0),this.options=t,this.columns=t.columns||this.rowsToColumns(t.rows)||[],this.firstRowAsNames=g(t.firstRowAsNames,this.firstRowAsNames,!0),this.decimalRegex=o&&new RegExp("^(-?[0-9]+)"+o+"([0-9]+)$"),this.rawColumns=[],this.columns.length){this.dataFound();var n=!0}this.hasURLOption(t)&&(clearTimeout(this.liveDataTimeout),n=!1),n||(n=this.fetchLiveData()),n||(n=!!this.parseCSV().length),n||(n=!!this.parseTable().length),n||(n=this.parseGoogleSpreadsheet()),!n&&t.afterComplete&&t.afterComplete()},t.prototype.hasURLOption=function(t){return!(!t||!(t.rowsURL||t.csvURL||t.columnsURL))},t.prototype.getColumnDistribution=function(){var t,e=this.chartOptions,i=this.options,o=[],n=function(t){return(l[t||"line"].prototype.pointArrayMap||[0]).length},r=e&&e.chart&&e.chart.type,s=[],a=[],c=0;i=i&&i.seriesMapping||e&&e.series&&e.series.map(function(){return{x:0}})||[],(e&&e.series||[]).forEach(function(t){s.push(n(t.type||r))}
2),i.forEach(function(t){o.push(t.x||0)}),0===o.length&&o.push(0),i.forEach(function(i){var o=new v,d=s[c]||n(r),p=(e&&e.series||[])[c]||{},u=l[p.type||r||"line"].prototype.pointArrayMap,g=u||["y"];for((h(i.x)||p.isCartesian||!u)&&o.addColumnReader(i.x,"x"),f(i,function(t,e){"x"!==e&&o.addColumnReader(t,e)}),t=0;t<d;t++)o.hasReader(g[t])||o.addColumnReader(void 0,g[t]);a.push(o),c++}),void 0===(i=l[r||"line"].prototype.pointArrayMap)&&(i=["y"]),this.valueCount={global:n(r),xColumns:o,individual:s,seriesBuilders:a,globalPointArrayMap:i}},t.prototype.dataFound=function(){this.options.switchRowsAndColumns&&(this.columns=this.rowsToColumns(this.columns)),this.getColumnDistribution(),this.parseTypes(),!1!==this.parsed()&&this.complete()},t.prototype.parseCSV=function(t){function e(t,e,i,o){function n(e){d=t[e],f=t[e-1],g=t[e+1]}function r(t){h.length<y+1&&h.push([t]),h[y][h[y].length-1]!==t&&h[y].push(t)}function l(){s>v||v>a?(++v,m=""):(!isNaN(parseFloat(m))&&isFinite(m)?(m=parseFloat(m),r("number")):isNaN(Date.parse(m))?r("string"):(m=m.replace(/\//g,"-"),r("date")),p.length<y+1&&p.push([]),i||(p[y][e]=m),m="",++y,++v)}var c=0,d="",f="",g="",m="",v=0,y=0;if(t.trim().length&&"#"!==t.trim()[0]){for(;c<t.length;c++)if(n(c),'"'===d)for(n(++c);c<t.length&&('"'!==d||'"'===f||'"'===g);)('"'!==d||'"'===d&&'"'!==f)&&(m+=d),n(++c);else o&&o[d]?o[d](d,m)&&l():d===u?l():m+=d;l()}}var i=this,o=t||this.options,n=o.csv;t=void 0!==o.startRow&&o.startRow?o.startRow:0;var r=o.endRow||Number.MAX_VALUE,s=void 0!==o.startColumn&&o.startColumn?o.startColumn:0,a=o.endColumn||Number.MAX_VALUE,l=0,h=[],c={",":0,";":0,"\t":0},p=this.columns=[];if(n&&o.beforeParse&&(n=o.beforeParse.call(this,n)),n){if(n=n.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(o.lineDelimiter||"\n"),(!t||0>t)&&(t=0),(!r||r>=n.length)&&(r=n.length-1),o.itemDelimiter)var u=o.itemDelimiter;else u=null,u=function(t){var e,n=0,r=0;return t.some(function(t,e){var i=!1,o="";if(13<e)return!0;for(var s=0;s<t.length;s++){e=t[s];var a=t[s+1],l=t[s-1];if("#"===e)break;if('"'===e)if(i){if('"'!==l&&'"'!==a){for(;" "===a&&s<t.length;)a=t[++s];void 0!==c[a]&&c[a]++,i=!1}}else i=!0;else void 0!==c[e]?(o=o.trim(),isNaN(Date.parse(o))&&!isNaN(o)&&isFinite(o)||c[e]++,o=""):o+=e;","===e&&r++,"."===e&&n++}}),e=c[";"]>c[","]?";":",",o.decimalPoint||(o.decimalPoint=n>r?".":",",i.decimalRegex=new RegExp("^(-?[0-9]+)"+o.decimalPoint+"([0-9]+)$")),e}(n);var f=0;for(l=t;l<=r;l++)"#"===n[l][0]?f++:e(n[l],l-t-f);o.columnTypes&&0!==o.columnTypes.length||!h.length||!h[0].length||"date"!==h[0][1]||o.dateFormat||(o.dateFormat=function(t,e){var n,r=[],s=0,a=!1,l=[],h=[];for((!e||e>t.length)&&(e=t.length);s<e;s++)if(void 0!==t[s]&&t[s]&&t[s].length){var c=t[s].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" ");for(r=["","",""],n=0;n<c.length;n++)n<r.length&&(c[n]=parseInt(c[n],10),c[n]&&(h[n]=!h[n]||h[n]<c[n]?c[n]:h[n],void 0!==l[n]?l[n]!==c[n]&&(l[n]=!1):l[n]=c[n],31<c[n]?r[n]=100>c[n]?"YY":"YYYY":12<c[n]&&31>=c[n]?(r[n]="dd",a=!0):r[n].length||(r[n]="mm")))}if(a){for(n=0;n<l.length;n++)!1!==l[n]?12<h[n]&&"YY"!==r[n]&&"YYYY"!==r[n]&&(r[n]="YY"):12<h[n]&&"mm"===r[n]&&(r[n]="dd");return 3===r.length&&"dd"===r[1]&&"dd"===r[2]&&(r[2]="YY"),t=r.join("/"),(o.dateFormats||i.dateFormats)[t]?t:(d("deduceDateFailed"),"YYYY/mm/dd")}return"YYYY/mm/dd"}(p[0])),this.dataFound()}return p},t.prototype.parseTable=function(){var t=this.options,e=t.table,i=this.columns||[],o=t.startRow||0,n=t.endRow||Number.MAX_VALUE,r=t.startColumn||0,a=t.endColumn||Number.MAX_VALUE;return e&&("string"==typeof e&&(e=s.getElementById(e)),[].forEach.call(e.getElementsByTagName("tr"),function(t,e){e>=o&&e<=n&&[].forEach.call(t.children,function(t,n){var s=i[n-r],l=1;if(("TD"===t.tagName||"TH"===t.tagName)&&n>=r&&n<=a)for(i[n-r]||(i[n-r]=[]),i[n-r][e-o]=t.innerHTML;e-o>=l&&void 0===s[e-o-l];)s[e-o-l]=null,l++})}),this.dataFound()),i},t.prototype.fetchLiveData=function(){var t=this,e=this.chart,i=this.options,o=0,n=i.enablePolling,r=1e3*(i.dataRefreshRate||2),s=u(i);return!!this.hasURLOption(i)&&(1e3>r&&(r=1e3),delete i.csvURL,delete i.rowsURL,delete i.columnsURL,function l(h){function c(s,c,d){function p(){n&&e.liveDataURL===s&&(t.liveDataTimeout=setTimeout(l,r))}return s&&/^(http|\/|\.\/|\.\.\/)/.test(s)?(h&&(clearTimeout(t.liveDataTimeout),e.liveDataURL=s),a({url:s,dataType:d||"json",success:function(t){e&&e.series&&c(t),p()},error:function(t,e){return 3>++o&&p(),i.error&&i.error(e,t)}}),!0):(s&&i.error&&i.error("Invalid URL"),!1)}c(s.csvURL,function(t){e.update({data:{csv:t}})},"text")||c(s.rowsURL,function(t){e.update({data:{rows:t}})})||c(s.columnsURL,function(t){e.update({data:{columns:t}})})}(!0),this.hasURLOption(i))},t.prototype.parseGoogleSpreadsheet=function(){var t=this,e=this.options,i=e.googleSpreadsheetKey,o=this.chart,n=Math.max(1e3*(e.dataRefreshRate||2),4e3),r=function(){if(e.googleSpreadsheetRange)return e.googleSpreadsheetRange;var t=("ABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(e.startColumn||0)||"A")+((e.startRow||0)+1),i="ABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(g(e.endColumn,-1))||"ZZ";return h(e.endRow)&&(i+=e.endRow+1),t+":"+i};return i&&(delete e.googleSpreadsheetKey,function t(o){var s=["https://sheets.googleapis.com/v4/spreadsheets",i,"values",r(),"?alt=json&majorDimension=COLUMNS&valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING&key="+e.googleAPIKey].join("/");a({url:s,dataType:"json",success:function(i){o(i),e.enablePolling&&setTimeout(function(){t(o)},n)},error:function(t,i){return e.error&&e.error(i,t)}})}(function(e){if(!(e=e.values)||0===e.length)return!1;var i=e.reduce(function(t,e){return Math.max(t,e.length)},0);e.forEach(function(t){for(var e=0;e<i;e++)void 0===t[e]&&(t[e]=null)}),o&&o.series?o.update({data:{columns:e}}):(t.columns=e,t.dataFound())})),!1},t.prototype.trim=function(t,e){return"string"==typeof t&&(t=t.replace(/^\s+|\s+$/g,""),e&&/^[0-9\s]+$/.test(t)&&(t=t.replace(/\s/g,"")),this.decimalRegex&&(t=t.replace(this.decimalRegex,"$1.$2"))),t},t.prototype.parseTypes=function(){for(var t=this.columns,e=t.length;e--;)this.parseColumn(t[e],e)},t.prototype.parseColumn=function(t,e){var i,o,n=this.rawColumns,r=this.columns,s=t.length,a=this.firstRowAsNames,l=-1!==this.valueCount.xColumns.indexOf(e),h=[],c=this.chartOptions,d=(this.options.columnTypes||[])[e];for(c=l&&(c&&c.xAxis&&"category"===m(c.xAxis)[0].type||"string"===d),n[e]||(n[e]=[]);s--;){var u=h[s]||t[s],f=this.trim(u),g=this.trim(u,!0),v=parseFloat(g);void 0===n[e][s]&&(n[e][s]=f),c||0===s&&a?t[s]=""+f:+g===v?(t[s]=v,31536e6<v&&"float"!==d?t.isDatetime=!0:t.isNumeric=!0,void 0!==t[s+1]&&(o=v>t[s+1])):(f&&f.length&&(i=this.parseDate(u)),l&&p(i)&&"float"!==d?(h[s]=u,t[s]=i,t.isDatetime=!0,void 0!==t[s+1]&&((u=i>t[s+1])!==o&&void 0!==o&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,s=t.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):t.unsorted=!0),o=u)):(t[s]=""===f?null:f,0!==s&&(t.isDatetime||t.isNumeric)&&(t.mixed=!0)))}if(l&&t.mixed&&(r[e]=n[e]),l&&o&&this.options.sort)for(e=0;e<r.length;e++)r[e].reverse(),a&&r[e].unshift(r[e].pop())},t.prototype.parseDate=function(t){var e,i,o=this.options.parseDate,n=this.options.dateFormat||this.dateFormat;if(o)var r=o(t);else if("string"==typeof t){if(n)(o=this.dateFormats[n])||(o=this.dateFormats["YYYY/mm/dd"]),(i=t.match(o.regex))&&(r=o.parser(i));else for(e in this.dateFormats)if(o=this.dateFormats[e],i=t.match(o.regex)){this.dateFormat=e,this.alternativeFormat=o.alternative,r=o.parser(i);break}i||(t.match(/:.+(GMT|UTC|[Z+-])/)&&(t=t.replace(/\s*(?:GMT|UTC)?([+-])(\d\d)(\d\d)$/,"$1$2:$3").replace(/(?:\s+|GMT|UTC)([+-])/,"$1").replace(/(\d)\s*(?:GMT|UTC|Z)$/,"$1+00:00")),"object"==typeof(i=Date.parse(t))&&null!==i&&i.getTime?r=i.getTime()-6e4*i.getTimezoneOffset():p(i)&&(r=i-6e4*new Date(i).getTimezoneOffset()))}return r},t.prototype.rowsToColumns=function(t){var e,i;if(t){var o=[],n=t.length;for(e=0;e<n;e++){var r=t[e].length;for(i=0;i<r;i++)o[i]||(o[i]=[]),o[i][e]=t[e][i]}}return o},t.prototype.getData=function(){if(this.columns)return this.rowsToColumns(this.columns).slice(1)},t.prototype.parsed=function(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)},t.prototype.getFreeIndexes=function(t,e){var i,o=[],n=[];for(i=0;i<t;i+=1)o.push(!0);for(t=0;t<e.length;t+=1){var r=e[t].getReferencedColumnIndexes();for(i=0;i<r.length;i+=1)o[r[i]]=!1}for(i=0;i<o.length;i+=1)o[i]&&n.push(i);return n},t.prototype.complete=function(){var t,e,i,o=this.columns,n=this.options,r=[];if(n.complete||n.afterComplete){if(this.firstRowAsNames)for(e=0;e<o.length;e++){var s=o[e];h(s.name)||(s.name=g(s.shift(),"").toString())}s=[];var a=this.getFreeIndexes(o.length,this.valueCount.seriesBuilders);for(e=0;e<this.valueCount.seriesBuilders.length;e++){var l=this.valueCount.seriesBuilders[e];l.populateColumns(a)&&r.push(l)}for(;0<a.length;){for((l=new v).addColumnReader(0,"x"),-1!==(e=a.indexOf(0))&&a.splice(e,1),e=0;e<this.valueCount.global;e++)l.addColumnReader(void 0,this.valueCount.globalPointArrayMap[e]);l.populateColumns(a)&&r.push(l)}if(0<r.length&&0<r[0].readers.length&&void 0!==(l=o[r[0].readers[0].c
2olumnIndex])&&(l.isDatetime?t="datetime":l.isNumeric||(t="category")),"category"===t)for(e=0;e<r.length;e++)for(l=r[e],a=0;a<l.readers.length;a++)"x"===l.readers[a].configName&&(l.readers[a].configName="name");for(e=0;e<r.length;e++){for(l=r[e],a=[],i=0;i<o[0].length;i++)a[i]=l.read(o,i);s[e]={data:a},l.name&&(s[e].name=l.name),"category"===t&&(s[e].turboThreshold=0)}o={series:s},t&&(o.xAxis={type:t},"category"===t&&(o.xAxis.uniqueNames=!1)),n.complete&&n.complete(o),n.afterComplete&&n.afterComplete(o)}},t.prototype.update=function(t,e){var i=this.chart;t&&(t.afterComplete=function(t){t&&(t.xAxis&&i.xAxis[0]&&t.xAxis.type===i.xAxis[0].options.type&&delete t.xAxis,i.update(t,e,!0))},u(!0,i.options.data,t),this.init(i.options.data))},t}(),e.data=function(t,i,o){return new e.Data(t,i,o)},i(t,"init",function(t){var i=this,o=t.args[0]||{},n=t.args[1];o&&o.data&&!i.hasDataDef&&(i.hasDataDef=!0,i.data=new e.Data(c(o.data,{afterComplete:function(t){var e;if(Object.hasOwnProperty.call(o,"series"))if("object"==typeof o.series)for(e=Math.max(o.series.length,t&&t.series?t.series.length:0);e--;){var r=o.series[e]||{};o.series[e]=u(r,t&&t.series?t.series[e]:{})}else delete o.series;o=u(t,o),i.init(o,n)}}),o,i),t.preventDefault())});var v=function(){function t(){this.readers=[],this.pointIsArray=!0,this.name=void 0}return t.prototype.populateColumns=function(t){var e=!0;return this.readers.forEach(function(e){void 0===e.columnIndex&&(e.columnIndex=t.shift())}),this.readers.forEach(function(t){void 0===t.columnIndex&&(e=!1)}),e},t.prototype.read=function(t,e){var i=this.pointIsArray,n=i?[]:{};if(this.readers.forEach(function(r){var s=t[r.columnIndex][e];i?n.push(s):0<r.configName.indexOf(".")?o.prototype.setNestedProperty(n,s,r.configName):n[r.configName]=s}),void 0===this.name&&2<=this.readers.length){var r=this.getReferencedColumnIndexes();2<=r.length&&(r.shift(),r.sort(function(t,e){return t-e}),this.name=t[r.shift()].name)}return n},t.prototype.addColumnReader=function(t,e){this.readers.push({columnIndex:t,configName:e}),"x"!==e&&"y"!==e&&void 0!==e&&(this.pointIsArray=!1)},t.prototype.getReferencedColumnIndexes=function(){var t,e=[];for(t=0;t<this.readers.length;t+=1){var i=this.readers[t];void 0!==i.columnIndex&&e.push(i.columnIndex)}return e},t.prototype.hasReader=function(t){var e;for(e=0;e<this.readers.length;e+=1)if(this.readers[e].configName===t)return!0},t}();return e.Data=r,e.Data}),e(t,"masters/modules/data.src.js",[t["Core/Globals.js"],t["Core/HttpUtilities.js"],t["Extensions/Data.js"]],function(t,e,i){t.ajax=e.ajax,t.getJSON=e.getJSON,t.post=e.post,t.Data=i,t.HttpUtilities=e})},t.exports?(r.default=r,t.exports=r):(o=[i(4783)],void 0===(n=function(t){return r(t),r.Highcharts=t,r}.apply(e,o))||(t.exports=n))},664(t,e,i){"use strict";var o,n,r;r=function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i))}e(t=t?t._modules:{},"Core/Axis/OrdinalAxis.js",[t["Core/Axis/Axis.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(t,e,i,o){var n,r=o.addEvent,s=o.correctFloat,a=o.css,l=o.defined,h=o.error,c=o.pick,d=o.timeUnits,p=[];return function(t){function o(t,e,i,o,n,r,s){void 0===n&&(n=[]),void 0===r&&(r=0);var a,c,p={},u=this.options.tickPixelInterval,f=this.chart.time,g=[],m=0,v=[],y=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!n||3>n.length||void 0===e)return f.getTimeTicks.apply(f,arguments);var x=n.length;for(a=0;a<x;a++){var b=a&&n[a-1]>i;if(n[a]<e&&(m=a),a===x-1||n[a+1]-n[a]>5*r||b){if(n[a]>y){for(c=f.getTimeTicks(t,n[m],n[a],o);c.length&&c[0]<=y;)c.shift();c.length&&(y=c[c.length-1]),g.push(v.length),v=v.concat(c)}m=a+1}if(b)break}if(c){if(c=c.info,s&&c.unitRange<=d.hour){for(a=v.length-1,m=1;m<a;m++)if(f.dateFormat("%d",v[m])!==f.dateFormat("%d",v[m-1])){p[v[m]]="day";var w=!0}w&&(p[v[0]]="day"),c.higherRanks=p}c.segmentStarts=g,v.info=c}else h(12,!1,this.chart);if(s&&l(u)){for(f=[],m=[],a=void 0,w=c=v.length;w--;)g=this.translate(v[w]),a&&(m[w]=a-g),f[w]=a=g;for(m.sort(),(m=m[Math.floor(m.length/2)])<.6*u&&(m=null),w=v[c-1]>i?c-1:c,a=void 0;w--;)g=f[w],c=Math.abs(a-g),a&&c<.8*u&&(null===m||c<.8*m)?(p[v[w]]&&!p[v[w+1]]?(c=w+1,a=g):c=w,v.splice(c,1)):a=g}return v}function n(t){var e=this.ordinal.positions;if(!e)return t;var i=e.length-1;if(0>t)t=e[0];else if(t>i)t=e[i];else var o=t-(i=Math.floor(t));return void 0!==o&&void 0!==e[i]?e[i]+(o?o*(e[i+1]-e[i]):0):t}function u(t){var e=this.ordinal,i=e.positions;if(!i)return t;var o=(t-(this.old?this.old.min:this.min))*(this.old?this.old.transA:this.transA)+this.minPixelPadding;if(0<o&&o<this.left+this.len||(e.extendedOrdinalPositions||(e.extendedOrdinalPositions=e.getExtendedPositions()),i=e.extendedOrdinalPositions),i&&i.length){if(t=e.getIndexOfPoint(o,i),e=s(t%1),0<=t&&t<i.length-1)return i[Math.floor(t)]+e*(i[Math.ceil(t)]-i[Math.floor(t)]);e=i.length,o=i[0];var n=((i=i[e-1])-o)/(e-1);return 0>t?o+n*t:i+n*(t-e)}return t}function f(e,i){var o=t.Additions.findIndexOf(e,i,!0);return e[o]===i?o:o+(i-e[o])/(e[o+1]-e[o])}function g(){this.ordinal||(this.ordinal=new t.Additions(this))}function m(){this.isXAxis&&l(this.options.overscroll)&&this.max===this.dataMax&&(!this.chart.mouseIsDown||this.isInternal)&&(!this.eventArgs||this.eventArgs&&"navigator"!==this.eventArgs.trigger)&&(this.max+=this.options.overscroll,!this.isInternal&&l(this.userMin)&&(this.min+=this.options.overscroll))}function v(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}function y(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function x(t){var e=this.xAxis[0],i=e.options.overscroll,o=t.originalEvent.chartX,n=this.options.chart.panning,r=!1;if(n&&"y"!==n.type&&e.options.ordinal&&e.series.length){var s=this.mouseDownX,l=e.getExtremes(),h=l.dataMax,c=l.min,d=l.max,p=this.hoverPoints,u=e.closestPointRange||e.ordinal&&e.ordinal.overscrollPointsRange;s=(s-o)/(e.translationSlope*(e.ordinal.slope||u)),u={ordinal:{positions:e.ordinal.getExtendedPositions()}};var f=e.index2val,g=e.val2lin,m=void 0,v=m=void 0,y=void 0;u.ordinal.positions?1<Math.abs(s)&&(p&&p.forEach(function(t){t.setState()}),0>s?(v=u,y=e.ordinal.positions?e:u):(v=e.ordinal.positions?e:u,y=u),h>(m=y.ordinal.positions)[m.length-1]&&m.push(h),this.fixedRange=d-c,(m=e.navigatorAxis.toFixedRange(void 0,void 0,f.apply(v,[g.apply(v,[c,!0])+s]),f.apply(y,[g.apply(y,[d,!0])+s]))).min>=Math.min(l.dataMin,c)&&m.max<=Math.max(h,d)+i&&e.setExtremes(m.min,m.max,!0,!1,{trigger:"pan"}),this.mouseDownX=o,a(this.container,{cursor:"move"})):r=!0}else r=!0;
2r||n&&/y/.test(n.type)?i&&(e.max=e.dataMax+i):t.preventDefault()}function b(){var t=this.xAxis;t&&t.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.extendedOrdinalPositions)}function w(t,e){var i=this.ordinal,o=i.positions,n=i.slope,r=i.extendedOrdinalPositions;if(!o)return t;var s=o.length;if(o[0]<=t&&o[s-1]>=t)t=f(o,t);else{if(r||(r=i.getExtendedPositions&&i.getExtendedPositions(),i.extendedOrdinalPositions=r),!r||!r.length)return t;s=r.length,n||(n=(r[s-1]-r[0])/s),o=f(r,o[0]),t=t>=r[0]&&t<=r[s-1]?f(r,t)-o:t<r[0]?-o-(t=r[0]-t)/n:(t-=r[s-1])/n+s-o}return e?t:n*(t||0)+i.offset}t.compose=function(t,e,i){if(-1===p.indexOf(t)){p.push(t);var s=t.prototype;s.getTimeTicks=o,s.index2val=n,s.lin2val=u,s.val2lin=w,s.ordinal2lin=s.val2lin,r(t,"afterInit",g),r(t,"foundExtremes",m),r(t,"afterSetScale",v),r(t,"initialAxisTranslation",y)}return-1===p.indexOf(i)&&(p.push(i),r(i,"pan",x)),-1===p.indexOf(e)&&(p.push(e),r(e,"updatedData",b)),t};var k=function(){function t(t){this.index={},this.axis=t}return t.prototype.beforeSetTickPositions=function(){var t=this.axis,e=t.ordinal,i=t.getExtremes(),o=i.min,n=i.max,r=t.isXAxis&&!!t.options.breaks;i=t.options.ordinal;var s,a,l=t.chart.options.chart.ignoreHiddenSeries,h=[],d=Number.MAX_VALUE,p=!1;if(i||r){t.series.forEach(function(t,e){if(s=[],!(l&&!1===t.visible||!1===t.takeOrdinalPosition&&!r)&&(h=h.concat(t.processedXData),u=h.length,h.sort(function(t,e){return t-e}),d=Math.min(d,c(t.closestPointRange,d)),u)){for(e=0;e<u-1;)h[e]!==h[e+1]&&s.push(h[e+1]),e++;s[0]!==h[0]&&s.unshift(h[0]),h=s}});var u=h.length;if(2<u){var f=h[1]-h[0];for(a=u-1;a--&&!p;)h[a+1]-h[a]!==f&&(p=!0);!t.options.keepOrdinalPadding&&(h[0]-o>f||n-h[h.length-1]>f)&&(p=!0)}else t.options.overscroll&&(2===u?d=h[1]-h[0]:1===u?(d=t.options.overscroll,h=[h[0],h[0]+d]):d=e.overscrollPointsRange);p||t.forceOrdinal?(t.options.overscroll&&(e.overscrollPointsRange=d,h=h.concat(e.getOverscrollPositions())),e.positions=h,f=t.ordinal2lin(Math.max(o,h[0]),!0),a=Math.max(t.ordinal2lin(Math.min(n,h[h.length-1]),!0),1),e.slope=n=(n-o)/(a-f),e.offset=o-f*n):(e.overscrollPointsRange=c(t.closestPointRange,e.overscrollPointsRange),e.positions=t.ordinal.slope=e.offset=void 0)}t.isOrdinal=i&&p,e.groupIntervalFactor=null},t.findIndexOf=function(t,e,i){for(var o,n=0,r=t.length-1;n<r;)t[o=Math.ceil((n+r)/2)]<=e?n=o:r=o-1;return t[n]===e||i?n:-1},t.prototype.getExtendedPositions=function(){var t=this,o=t.axis,n=o.constructor.prototype,r=o.chart,s=o.series[0].currentDataGrouping,a=s?s.count+s.unitName:"raw",l=o.options.overscroll,h=o.getExtremes(),c=void 0,d=t.index;if(d||(d=t.index={}),!d[a]){var p={series:[],chart:r,forceOrdinal:!1,getExtremes:function(){return{min:h.dataMin,max:h.dataMax+l}},getGroupPixelWidth:n.getGroupPixelWidth,getTimeTicks:n.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:n.ordinal2lin,getIndexOfPoint:n.getIndexOfPoint,val2lin:n.val2lin};p.ordinal.axis=p,o.series.forEach(function(o){(c={xAxis:p,xData:o.xData.slice(),chart:r,destroyGroupedData:e.noop,getProcessedData:i.prototype.getProcessedData,applyGrouping:i.prototype.applyGrouping}).xData=c.xData.concat(t.getOverscrollPositions()),c.options={dataGrouping:s?{firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",enabled:!0,forced:!0,approximation:"open",units:[[s.unitName,[s.count]]]}:{enabled:!1}},p.series.push(c),o.processData.apply(c)}),c.closestPointRange!==c.basePointRange&&c.currentDataGrouping&&(p.forceOrdinal=!0),o.ordinal.beforeSetTickPositions.apply({axis:p}),d[a]=p.ordinal.positions}return d[a]},t.prototype.getGroupIntervalFactor=function(t,e,i){var o=(i=i.processedXData).length,n=[],r=this.groupIntervalFactor;if(!r){for(r=0;r<o-1;r++)n[r]=i[r+1]-i[r];n.sort(function(t,e){return t-e}),n=n[Math.floor(o/2)],t=Math.max(t,i[0]),e=Math.min(e,i[o-1]),this.groupIntervalFactor=r=o*n/(e-t)}return r},t.prototype.getIndexOfPoint=function(e,i){var o=this.axis,n=this.positions?this.positions[0]:0,r=o.series[0].points&&o.series[0].points[0]&&o.series[0].points[0].plotX||o.minPixelPadding;
2return 1<o.series.length&&o.series.forEach(function(t){t.points&&l(t.points[0])&&l(t.points[0].plotX)&&t.points[0].plotX<r&&(r=t.points[0].plotX)}),e=(e-r)/(o.translationSlope*(this.slope||o.closestPointRange||this.overscrollPointsRange)),t.findIndexOf(i,n)+e},t.prototype.getOverscrollPositions=function(){var t=this.axis,e=t.options.overscroll,i=this.overscrollPointsRange,o=[],n=t.dataMax;if(l(i))for(;n<=t.dataMax+e;)n+=i,o.push(n);return o},t.prototype.postProcessTickInterval=function(t){var e=this.axis,i=this.slope;return i?e.options.breaks?e.closestPointRange||t:t/(i/e.closestPointRange):t},t}();t.Additions=k}(n||(n={})),n}),e(t,"Series/DataModifyComposition.js",[t["Core/Axis/Axis.js"],t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(t,e,i,o){var n,r=e.prototype.tooltipFormatter,s=o.addEvent,a=o.arrayMax,l=o.arrayMin,h=o.correctFloat,c=o.defined,d=o.isArray,p=o.isNumber,u=o.isString,f=o.pick;return function(t){function e(t,e,i){this.isXAxis||(this.series.forEach(function(i){"compare"===t&&"boolean"!=typeof e?i.setCompare(e,!1):"cumulative"!==t||u(e)||i.setCumulative(e,!1)}),f(i,!0)&&this.chart.redraw())}function i(t){var e=this,i=e.series.chart.numberFormatter,o=function(o){t=t.replace("{point."+o+"}",(0<e[o]&&"change"===o?"+":"")+i(e[o],f(e.series.tooltipOptions.changeDecimals,2)))};return c(e.change)&&o("change"),c(e.cumulativeSum)&&o("cumulativeSum"),r.apply(this,[t])}function o(){var t=this.options.compare;if("percent"===t||"value"===t||this.options.cumulative){var e=new w(this);"percent"===t||"value"===t?e.initCompare(t):e.initCumulative()}this.dataModify=e}function n(t){var e=(t=t.dataExtremes).activeYData;if(this.dataModify&&t){var i=void 0;this.options.compare?i=[this.dataModify.modifyValue(t.dataMin),this.dataModify.modifyValue(t.dataMax)]:this.options.cumulative&&d(e)&&2<=e.length&&(i=w.getCumulativeExtremes(e)),i&&(t.dataMin=l(i),t.dataMax=a(i))}}function g(t,e){this.options.compare=this.userOptions.compare=t,this.update({},f(e,!0)),!this.dataModify||"value"!==t&&"percent"!==t?this.points.forEach(function(t){delete t.change}):this.dataModify.initCompare(t)}function m(){if(this.xAxis&&this.processedYData&&this.dataModify){var t,e=this.processedXData,i=this.processedYData,o=i.length,n=!0===this.options.compareStart?0:1,r=-1;for(this.pointArrayMap&&(r=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y")),t=0;t<o-n;t++){var s=i[t]&&-1<r?i[t][r]:i[t];if(p(s)&&0!==s&&e[t+n]>=(this.xAxis.min||0)){this.dataModify.compareValue=s;break}}}}function v(t,e){this.setModifier("compare",t,e)}function y(t,e){t=f(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},f(e,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach(function(t){delete t.cumulativeSum})}function x(t,e){this.setModifier("cumulative",t,e)}var b=[];t.compose=function(t,r,a){if(-1===b.indexOf(t)){b.push(t);var l=t.prototype;l.setCompare=g,l.setCumulative=y,s(t,"afterInit",o),s(t,"afterGetExtremes",n),s(t,"afterProcessData",m)}return-1===b.indexOf(r)&&(b.push(r),(r=r.prototype).setCompare=v,r.setModifier=e,r.setCumulative=x),-1===b.indexOf(a)&&(b.push(a),a.prototype.tooltipFormatter=i),t};var w=function(){function t(t){this.series=t}return t.prototype.modifyValue=function(){return 0},t.getCumulativeExtremes=function(t){var e=1/0,i=-1/0;return t.reduce(function(t,o){return o=t+o,e=Math.min(e,o,t),i=Math.max(i,o,t),o}),[e,i]},t.prototype.initCompare=function(t){this.modifyValue=function(e,i){null===e&&(e=0);var o=this.compareValue;return void 0!==e&&void 0!==o?(e="value"===t?e-o:e/o*100-(100===this.series.options.compareBase?0:100),void 0!==i&&(i=this.series.points[i])&&(i.change=e),e):0}},t.prototype.initCumulative=function(){this.modifyValue=function(t,e){if(null===t&&(t=0),void 0!==t&&void 0!==e){var i=0<e?this.series.points[e-1]:null;return i&&i.cumulativeSum&&(t=h(i.cumulativeSum+t)),(e=this.series.points[e])&&(e.cumulativeSum=t),t}return 0}},t}();t.Additions=w}(n||(n={})),n}),e(t,"Core/Axis/BrokenAxis.js",[t["Extensions/Stacking.js"],t["Core/Utilities.js"]],function(t,e){var i,o=e.addEvent,n=e.find,r=e.fireEvent,s=e.isArray,a=e.isNumber,l=e.pick;return function(e){function i(){void 0!==this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function h(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)}function c(){var t=this.brokenAxis;if(t&&t.hasBreaks){for(var e=this.tickPositions,i=this.tickPositions.info,o=[],n=0;n<e.length;
2n++)t.isInAnyBreak(e[n])||o.push(e[n]);this.tickPositions=o,this.tickPositions.info=i}}function d(){this.brokenAxis||(this.brokenAxis=new v(this))}function p(){var t=this.options.connectNulls,e=this.points,i=this.xAxis,o=this.yAxis;if(this.isDirty)for(var n=e.length;n--;){var r=e[n],s=!(null===r.y&&!1===t)&&(i&&i.brokenAxis&&i.brokenAxis.isInAnyBreak(r.x,!0)||o&&o.brokenAxis&&o.brokenAxis.isInAnyBreak(r.y,!0));r.visible=!s&&!1!==r.options.visible}}function u(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,l(this.pointArrayMap,["y"]))}function f(t,e){var i,o,n,s,h=this,c=h.points;if(t&&t.brokenAxis&&t.brokenAxis.hasBreaks){var d=t.brokenAxis;e.forEach(function(e){i=d&&d.breakArray||[],o=t.isXAxis?t.min:l(h.options.threshold,t.min),c.forEach(function(h){s=l(h["stack"+e.toUpperCase()],h[e]),i.forEach(function(e){a(o)&&a(s)&&(n=!1,o<e.from&&s>e.to||o>e.from&&s<e.from?n="pointBreak":(o<e.from&&s>e.from&&s<e.to||o>e.from&&s>e.to&&s<e.from)&&(n="pointInBreak"),n&&r(t,n,{point:h,brk:e}))})})})}}function g(){var e=this.currentDataGrouping,i=e&&e.gapSize;e=this.points.slice();var o,n=this.yAxis,r=this.options.gapSize,s=e.length-1;if(r&&0<s)for("value"!==this.options.gapUnit&&(r*=this.basePointRange),i&&i>r&&i>=this.basePointRange&&(r=i),o=void 0;s--;)o&&!1!==o.visible||(o=e[s+1]),i=e[s],!1!==o.visible&&!1!==i.visible&&(o.x-i.x>r&&(o=(i.x+o.x)/2,e.splice(s+1,0,{isNull:!0,x:o}),n.stacking&&this.options.stacking&&((o=n.stacking.stacks[this.stackKey][o]=new t(n,n.options.stackLabels,!1,o,this.stack)).total=0)),o=i);return this.getGraphPath(e)}var m=[];e.compose=function(t,e){if(-1===m.indexOf(t)&&(m.push(t),t.keepProps.push("brokenAxis"),o(t,"init",d),o(t,"afterInit",i),o(t,"afterSetTickPositions",c),o(t,"afterSetOptions",h)),-1===m.indexOf(e)){m.push(e);var n=e.prototype;n.drawBreaks=f,n.gappedPath=g,o(e,"afterGeneratePoints",p),o(e,"afterRender",u)}return t};var v=function(){function t(t){this.hasBreaks=!1,this.axis=t}return t.isInBreak=function(t,e){var i=t.repeat||1/0,o=t.from,n=t.to-t.from;return e=e>=o?(e-o)%i:i-(o-e)%i,t.inclusive?e<=n:e<n&&0!==e},t.lin2Val=function(e){var i,o=this.brokenAxis;if(!(o=o&&o.breakArray)||!a(e))return e;for(i=0;i<o.length;i++){var n=o[i];if(n.from>=e)break;(n.to<e||t.isInBreak(n,e))&&(e+=n.len)}return e},t.val2Lin=function(e){var i=this.brokenAxis;if(!(i=i&&i.breakArray)||!a(e))return e;var o,n=e;for(o=0;o<i.length;o++){var r=i[o];if(r.to<=e)n-=r.len;else{if(r.from>=e)break;if(t.isInBreak(r,e)){n-=e-r.from;break}}}return n},t.prototype.findBreakAt=function(t,e){return n(e,function(e){return e.from<t&&t<e.to})},t.prototype.isInAnyBreak=function(e,i){var o,n=this.axis,r=n.options.breaks||[],s=r.length;if(s&&a(e)){for(;s--;)if(t.isInBreak(r[s],e)){var h=!0;o||(o=l(r[s].showPoints,!n.isXAxis))}var c=h&&i?h&&!o:h}return c},t.prototype.setBreaks=function(e,i){var o=this,n=o.axis,h=s(e)&&!!e.length;n.isDirty=o.hasBreaks!==h,o.hasBreaks=h,n.options.breaks=n.userOptions.breaks=e,n.forceRedraw=!0,n.series.forEach(function(t){t.isDirty=!0}),h||n.val2lin!==t.val2Lin||(delete n.val2lin,delete n.lin2val),h&&(n.userOptions.ordinal=!1,n.lin2val=t.lin2Val,n.val2lin=t.val2Lin,n.setExtremes=function(t,e,i,r,s){if(o.hasBreaks){for(var a,l=this.options.breaks||[];a=o.findBreakAt(t,l);)t=a.to;for(;a=o.findBreakAt(e,l);)e=a.from;e<t&&(e=t)}n.constructor.prototype.setExtremes.call(this,t,e,i,r,s)},n.setAxisTranslation=function(){if(n.constructor.prototype.setAxisTranslation.call(this),o.unitLength=void 0,o.hasBreaks){var e,i,s=n.options.breaks||[],h=[],c=[],d=l(n.pointRangePadding,0),p=0,u=n.userMin||n.min,f=n.userMax||n.max;s.forEach(function(i){e=i.repeat||1/0,a(u)&&a(f)&&(t.isInBreak(i,u)&&(u+=i.to%e-u%e),t.isInBreak(i,f)&&(f-=f%e-i.from%e))}),s.forEach(function(t){if(m=t.from,e=t.repeat||1/0,a(u)&&a(f)){for(;m-e>u;)m-=e;for(;m<u;)m+=e;for(i=m;i<f;i+=e)h.push({value:i,move:"in"}),h.push({value:i+t.to-t.from,move:"out",size:t.breakSize})}}),h.sort(function(t,e){return t.value===e.value?("in"===t.move?0:1)-("in"===e.move?0:1):t.value-e.value});var g=0,m=u;h.forEach(function(t){1===(g+="in"===t.move?1:-1)&&"in"===t.move&&(m=t.value),0===g&&a(m)&&(c.push({from:m,to:t.value,len:t.value-m-(t.size||0)}),p+=t.value-m-(t.size||0))}),o.breakArray=c,a(u)&&a(f)&&a(n.min)&&(o.unitLength=f-u-p+d,r(n,"afterBreaks"),n.staticScale?n.transA=n.staticScale:o.unitLength&&(n.transA*=(f-n.min+d)/o.unitLength),d&&(n.minPixelPadding=n.transA*(n.minPointOffset||0)),n.min=u,n.max=f)}}),l(i,!0)&&n.chart.redraw()},t}();e.Additions=v}(i||(i={})),i}),e(t,"masters/modules/broken-axis.src.js",[t["Core/Globals.js"],t["Core/Axis/BrokenAxis.js"]],function(t,e){e.compose(t.Axis,t.Series)}),e(t,"Extensions/DataGrouping.js",[t["Core/Axis/Axis.js"],t["Core/Axis/DateTimeAxis.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Tooltip.js"],t["Core/DefaultOptions.js"],t["Core/Utilities.js"]],function(t,e,
2i,o,n,r,s,a,l){var h=i.format,c=r.prototype;i=l.addEvent;var d=l.arrayMax,p=l.arrayMin,u=l.correctFloat,f=l.defined,g=l.error,m=l.extend,v=l.isNumber,y=l.merge,x=l.pick,b=o.approximations={sum:function(t){var e=t.length;if(!e&&t.hasNulls)var i=null;else if(e)for(i=0;e--;)i+=t[e];return i},average:function(t){var e=t.length;return t=b.sum(t),v(t)&&e&&(t=u(t/e)),t},averages:function(){var t=[];return[].forEach.call(arguments,function(e){t.push(b.average(e))}),void 0===t[0]?void 0:t},open:function(t){return t.length?t[0]:t.hasNulls?null:void 0},high:function(t){return t.length?d(t):t.hasNulls?null:void 0},low:function(t){return t.length?p(t):t.hasNulls?null:void 0},close:function(t){return t.length?t[t.length-1]:t.hasNulls?null:void 0},hlc:function(t,e,i){if(t=b.high(t),e=b.low(e),i=b.close(i),v(t)||v(e)||v(i))return[t,e,i]},ohlc:function(t,e,i,o){if(t=b.open(t),e=b.high(e),i=b.low(i),o=b.close(o),v(t)||v(e)||v(i)||v(o))return[t,e,i,o]},range:function(t,e){return t=b.low(t),e=b.high(e),v(t)||v(e)?[t,e]:null===t&&null===e?null:void 0}};l=function(t,e,i,o){var n,r=this,s=r.data,a=r.options&&r.options.data,l=[],h=[],c=[],d=t.length,p=!!e,u=[],g=r.pointArrayMap,m=g&&g.length,x=["x"].concat(g||["y"]),w=this.options.dataGrouping&&this.options.dataGrouping.groupAll,k=0,S=0;o="function"==typeof o?o:b[o]?b[o]:b[r.getDGApproximation&&r.getDGApproximation()||"average"],m?g.forEach(function(){u.push([])}):u.push([]);
2var C=m||1;for(n=0;n<=d&&!(t[n]>=i[0]);n++);for(;n<=d;n++){for(;void 0!==i[k+1]&&t[n]>=i[k+1]||n===d;){var T=i[k];r.dataGroupInfo={start:w?S:r.cropStart+S,length:u[0].length};var A=o.apply(r,u);for(r.pointClass&&!f(r.dataGroupInfo.options)&&(r.dataGroupInfo.options=y(r.pointClass.prototype.optionsToObject.call({series:r},r.options.data[r.cropStart+S])),x.forEach(function(t){delete r.dataGroupInfo.options[t]})),void 0!==A&&(l.push(T),h.push(A),c.push(r.dataGroupInfo)),S=n,T=0;T<C;T++)u[T].length=0,u[T].hasNulls=!1;if(k+=1,n===d)break}if(n===d)break;if(g){T=r.options.dataGrouping&&r.options.dataGrouping.groupAll?n:r.cropStart+n,A=s&&s[T]||r.pointClass.prototype.applyOptions.apply({series:r},[a[T]]);var M=void 0;for(T=0;T<m;T++)M=A[g[T]],v(M)?u[T].push(M):null===M&&(u[T].hasNulls=!0)}else T=p?e[n]:null,v(T)?u[0].push(T):null===T&&(u[0].hasNulls=!0)}return{groupedXData:l,groupedYData:h,groupMap:c}};var w={approximations:b,groupData:l},k=c.generatePoints,S={groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %b %e, %H:%M:%S.%L","%A, %b %e, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %b %e, %H:%M:%S","%A, %b %e, %H:%M:%S","-%H:%M:%S"],minute:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],hour:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],day:["%A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],week:["Week from %A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},C={line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},T=o.defaultDataGroupingUnits=[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]];return c.getDGApproximation=function(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")?"sum":"average"},c.groupData=l,c.applyGrouping=function(t){var i,o=this.chart,n=this.options.dataGrouping,r=!1!==this.allowDG&&n&&x(n.enabled,o.options.isStock),s=this.visible||!o.options.chart.ignoreHiddenSeries,a=this.currentDataGrouping,l=!1;if(r&&!this.requireSorting&&(this.requireSorting=l=!0),t=0==!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!t)||!r,l&&(this.requireSorting=!1),!t){this.destroyGroupedData(),r=n.groupAll?this.xData:this.processedXData;var h=n.groupAll?this.yData:this.processedYData;t=o.plotSizeX;var d=(l=this.xAxis).options.ordinal,p=this.groupPixelWidth;if(p&&r&&r.length){this.isDirty=i=!0,this.points=null;var u=l.getExtremes(),m=u.min;u=u.max,d=d&&l.ordinal&&l.ordinal.getGroupIntervalFactor(m,u,this)||1,t=l.getTimeTicks(e.Additions.prototype.normalizeTimeTickInterval(p*(u-m)/t*d,n.units||T),Math.min(m,r[0]),Math.max(u,r[r.length-1]),l.options.startOfWeek,r,this.closestPointRange),r=(p=c.groupData.apply(this,[r,h,t,n.approximation])).groupedXData,h=p.groupedYData,d=0,n&&n.smoothed&&r.length&&(n.firstAnchor="firstPoint",n.anchor="middle",n.lastAnchor="lastPoint",g(32,!1,o,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),o=r;var y=this.options.dataGrouping;if(m=this.currentDataGrouping&&this.currentDataGrouping.gapSize,y&&this.xData&&m&&this.groupMap){var b=o.length-1,w=y.anchor,k=x(y.firstAnchor,w);if(y=x(y.lastAnchor,w),w&&"start"!==w){var S=m*{middle:.5,end:1}[w];for(w=o.length-1;w--&&0<w;)o[w]+=S}if(k&&"start"!==k&&this.xData[0]>=o[0]){w=this.groupMap[0].start,S=this.groupMap[0].length;var C=void 0;v(w)&&v(S)&&(C=w+(S-1)),o[0]={middle:o[0]+.5*m,end:o[0]+m,firstPoint:this.xData[0],lastPoint:C&&this.xData[C]}[k]}y&&"start"!==y&&m&&o[b]>=u-m&&(u=this.groupMap[this.groupMap.length-1].start,o[b]={middle:o[b]+.5*m,end:o[b]+m,firstPoint:u&&this.xData[u],lastPoint:this.xData[this.xData.length-1]}[y])}for(u=1;u<t.length;u++)t.info.segmentStarts&&-1!==t.info.segmentStarts.indexOf(u)||(d=Math.max(t[u]-t[u-1],d));(u=t.info).gapSize=d,this.closestPointRange=t.info.totalRange,this.groupMap=p.groupMap,s&&(f((s=r)[0])&&v(l.min)&&v(l.dataMin)&&s[0]<l.min&&((!f(l.options.min)&&l.min<=l.dataMin||l.min===l.dataMin)&&(l.min=Math.min(s[0],l.min)),l.dataMin=Math.min(s[0],l.dataMin)),f(s[s.length-1])&&v(l.max)&&v(l.dataMax)&&s[s.length-1]>l.max&&((!f(l.options.max)&&v(l.dataMax)&&l.max>=l.dataMax||l.max===l.dataMax)&&(l.max=Math.max(s[s.length-1],l.max)),l.dataMax=Math.max(s[s.length-1],l.dataMax))),n.groupAll&&(this.allGroupedData=h,r=(n=this.cropData(r,h,l.min,l.max,1)).xData,h=n.yData,this.cropStart=n.start),this.processedXData=r,this.processedYData=h}else this.groupMap=null;this.hasGroupedData=i,this.currentDataGrouping=u,this.preventGraphAnimation=(a&&a.totalRange)!==(u&&u.totalRange)}},c.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach(function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)},this),this.groupedData.length=0)},c.generatePoints=function(){k.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null},t.prototype.applyGrouping=function(t){var e=this;
2e.series.forEach(function(i){i.groupPixelWidth=void 0,i.groupPixelWidth=e.getGroupPixelWidth&&e.getGroupPixelWidth(),i.groupPixelWidth&&(i.hasProcessed=!0),i.applyGrouping(!!t.hasExtemesChanged)})},t.prototype.getGroupPixelWidth=function(){var t,e,i=this.series,o=i.length,n=0,r=!1;for(t=o;t--;)(e=i[t].options.dataGrouping)&&(n=Math.max(n,x(e.groupPixelWidth,S.groupPixelWidth)));for(t=o;t--;)(e=i[t].options.dataGrouping)&&(o=(i[t].processedXData||i[t].data).length,(i[t].groupPixelWidth||o>this.chart.plotSizeX/n||o&&e.forced)&&(r=!0));return r?n:0},t.prototype.setDataGrouping=function(e,i){var o;if(i=x(i,!0),e||(e={forced:!1,units:null}),this instanceof t)for(o=this.series.length;o--;)this.series[o].update({dataGrouping:e},!1);else this.chart.options.series.forEach(function(t){t.dataGrouping=e},!1);this.ordinal&&(this.ordinal.slope=void 0),i&&this.chart.redraw()},i(t,"postProcessData",t.prototype.applyGrouping),i(n,"update",function(){if(this.dataGroup)return g(24,!1,this.series.chart),!1}),i(s,"headerFormatter",function(t){var e=this.chart,i=e.time,o=t.labelConfig,n=o.series,r=n.tooltipOptions,s=n.options.dataGrouping,a=r.xDateFormat,l=n.xAxis,c=r[t.isFooter?"footerFormat":"headerFormat"];if(l&&"datetime"===l.options.type&&s&&v(o.key)){var d=n.currentDataGrouping;if(s=s.dateTimeLabelFormats||S.dateTimeLabelFormats,d)if(r=s[d.unitName],1===d.count)a=r[0];else{a=r[1];var p=r[2]}else!a&&s&&l.dateTime&&(a=l.dateTime.getXDateFormat(o.x,r.dateTimeLabelFormats));a=i.dateFormat(a,o.key),p&&(a+=i.dateFormat(p,o.key+d.totalRange-1)),n.chart.styledMode&&(c=this.styledModeFormat(c)),t.text=h(c,{point:m(o.point,{key:a}),series:n},e),t.preventDefault()}}),i(r,"destroy",c.destroyGroupedData),i(r,"afterSetOptions",function(t){t=t.options;var e=this.type,i=this.chart.options.plotOptions,o=a.defaultOptions.plotOptions[e].dataGrouping,n=this.useCommonDataGrouping&&S;if(i&&(C[e]||n)){o||(o=y(S,C[e]));var r=this.chart.rangeSelector;t.dataGrouping=y(n,o,i.series&&i.series.dataGrouping,i[e].dataGrouping,this.userOptions.dataGrouping,!t.isInternal&&r&&v(r.selected)&&r.buttonOptions[r.selected].dataGrouping)}}),i(t,"afterSetScale",function(){this.series.forEach(function(t){t.hasProcessed=!1})}),o.dataGrouping=w,w}),e(t,"Series/HLC/HLCPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var e=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();return function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.close=void 0,e.high=void 0,e.low=void 0,e.options=void 0,e.plotClose=void 0,e.series=void 0,e}return e(i,t),i}(t.seriesTypes.column.prototype.pointClass)}),e(t,"Series/HLC/HLCSeries.js",[t["Series/HLC/HLCPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=e.seriesTypes.column,r=i.extend,s=i.merge;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.yData=void 0,e}return o(e,t),e.prototype.extendStem=function(t,e,i){var o=t[0];t=t[1],"number"==typeof o[2]&&(o[2]=Math.max(i+e,o[2])),"number"==typeof t[2]&&(t[2]=Math.min(i-e,t[2]))},e.prototype.getPointPath=function(t,e){e=e.strokeWidth();var i=t.series,o=e%2/2,n=Math.round(t.plotX)-o,r=Math.round(t.shapeArgs.width/2),s=[["M",n,Math.round(t.yBottom)],["L",n,Math.round(t.plotHigh)]];return null!==t.close&&(t=Math.round(t.plotClose)+o,s.push(["M",n,t],["L",n+r,t]),i.extendStem(s,e/2,t)),s},e.prototype.drawSinglePoint=function(t){var e=t.series,i=e.chart,o=t.graphic,n=!o;void 0!==t.plotY&&(o||(t.graphic=o=i.renderer.path().add(e.group)),i.styledMode||o.attr(e.pointAttribs(t,t.selected&&"select")),e=e.getPointPath(t,o),o[n?"attr":"animate"]({d:e}).addClass(t.getClassName(),!0))}
2,e.prototype.drawPoints=function(){this.points.forEach(this.drawSinglePoint)},e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.options.stacking=void 0},e.prototype.pointAttribs=function(e,i){return delete(e=t.prototype.pointAttribs.call(this,e,i)).fill,e},e.prototype.toYData=function(t){return[t.high,t.low,t.close]},e.prototype.translate=function(){var e=this,i=e.yAxis,o=this.pointArrayMap&&this.pointArrayMap.slice()||[],n=o.map(function(t){return"plot"+(t.charAt(0).toUpperCase()+t.slice(1))});n.push("yBottom"),o.push("low"),t.prototype.translate.apply(e),e.points.forEach(function(t){o.forEach(function(o,r){null!==(o=t[o])&&(e.dataModify&&(o=e.dataModify.modifyValue(o)),t[n[r]]=i.toPixels(o,!0))}),t.tooltipPos[1]=t.plotHigh+i.pos-e.chart.plotTop})},e.defaultOptions=s(n.defaultOptions,{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">â</span> <b> {series.name}</b><br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}),e}(n),r(i.prototype,{animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),i.prototype.pointClass=t,e.registerSeriesType("hlc",i),i}),e(t,"Series/OHLC/OHLCPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var e=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();return function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.open=void 0,e.options=void 0,e.plotOpen=void 0,e.series=void 0,e}return e(i,t),i.prototype.getClassName=function(){return t.prototype.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")},i.prototype.resolveUpColor=function(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)},i.prototype.resolveColor=function(){t.prototype.resolveColor.call(this),this.resolveUpColor()},i.prototype.getZone=function(){var e=t.prototype.getZone.call(this);return this.resolveUpColor(),e},i.prototype.applyOptions=function(){return t.prototype.applyOptions.apply(this,arguments),this.resolveColor&&this.resolveColor(),this},i}(t.seriesTypes.hlc.prototype.pointClass)}),e(t,"Series/OHLC/OHLCSeries.js",[t["Series/OHLC/OHLCPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=e.series,r=e.seriesTypes.hlc,s=i.addEvent,a=i.extend,l=i.merge,h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(e,t),e.prototype.getPointPath=function(e,i){var o=t.prototype.getPointPath.call(this,e,i),n=(i=i.strokeWidth())%2/2,r=Math.round(e.plotX)-n,s=Math.round(e.shapeArgs.width/2);return null!==e.open&&(e=Math.round(e.plotOpen)+n,o.push(["M",r,e],["L",r-s,e]),t.prototype.extendStem.call(this,o,i/2,e)),o},e.prototype.pointAttribs=function(e,i){i=t.prototype.pointAttribs.call(this,e,i);var o=this.options;return delete i.fill,!e.options.color&&o.upColor&&e.open<e.close&&(i.stroke=o.upColor),i},e.prototype.toYData=function(t){return[t.open,t.high,t.low,t.close]},e.defaultOptions=l(r.defaultOptions,{tooltip:{pointFormat:'<span style="color:{point.color}">â</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'}}),e}(r);return a(h.prototype,{pointArrayMap:["open","high","low","close"]}),h.prototype.pointClass=t,e.registerSeriesType("ohlc",h),s(n,"init",function(t){(t=t.options).useOhlcData&&"highcharts-navigator-series"!==t.id&&a(this,{pointV
2alKey:h.prototype.pointValKey,pointArrayMap:h.prototype.pointArrayMap,toYData:h.prototype.toYData})}),s(n,"afterSetOptions",function(t){var e=(t=t.options).dataGrouping;e&&t.useOhlcData&&"highcharts-navigator-series"!==t.id&&(e.approximation="ohlc")}),h}),e(t,"Series/Candlestick/CandlestickSeries.js",[t["Core/DefaultOptions.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i){var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=t.defaultOptions,s=(t=e.seriesTypes).column,a=t.ohlc,l=i.merge;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.pointAttribs=function(t,e){var i=s.prototype.pointAttribs.call(this,t,e),o=this.options,n=t.open<t.close,r=o.lineColor||this.color,a=t.color||this.color;return i["stroke-width"]=o.lineWidth,i.fill=t.options.color||n&&o.upColor||a,i.stroke=t.options.lineColor||n&&o.upLineColor||r,e&&(t=o.states[e],i.fill=t.color||i.fill,i.stroke=t.lineColor||i.stroke,i["stroke-width"]=t.lineWidth||i["stroke-width"]),i},e.prototype.drawPoints=function(){var t=this,e=t.chart,i=t.yAxis.reversed;t.points.forEach(function(o){var n=o.graphic,r=!n;if(void 0!==o.plotY){n||(o.graphic=n=e.renderer.path().add(t.group)),t.chart.styledMode||n.attr(t.pointAttribs(o,o.selected&&"select")).shadow(t.options.shadow);var s=n.strokeWidth()%2/2,a=Math.round(o.plotX)-s,l=o.plotOpen,h=o.plotClose,c=Math.min(l,h);l=Math.max(l,h);var d=Math.round(o.shapeArgs.width/2);h=i?l!==o.yBottom:Math.round(c)!==Math.round(o.plotHigh);var p=i?Math.round(c)!==Math.round(o.plotHigh):l!==o.yBottom;c=Math.round(c)+s,l=Math.round(l)+s,(s=[]).push(["M",a-d,l],["L",a-d,c],["L",a+d,c],["L",a+d,l],["Z"],["M",a,c],["L",a,h?Math.round(i?o.yBottom:o.plotHigh):c],["M",a,l],["L",a,p?Math.round(i?o.plotHigh:o.yBottom):l]),n[r?"attr":"animate"]({d:s}).addClass(o.getClassName(),!0)}})},e.defaultOptions=l(a.defaultOptions,r.plotOptions,{states:{hover:{lineWidth:2}},tooltip:r.plotOptions.ohlc.tooltip,threshold:null,lineColor:"#000000",lineWidth:1,upColor:"#ffffff",stickyTracking:!0}),e}(a),e.registerSeriesType("candlestick",i),i}),e(t,"Series/Flags/FlagsPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),o=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return i(e,t),e.prototype.isValid=function(){return o(this.y)||void 0===this.y},e.prototype.hasNewShapeType=function(){var t=this.options.shape||this.series.options.shape;return this.graphic&&t&&t!==this.graphic.symbolKey},e}(t.seriesTypes.column.prototype.pointClass)}),e(t,"Series/OnSeriesComposition.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(t,e,i){var o,n=t.prototype,r=e.prototype,s=i.defined,a=i.stableSort;return function(t){function e(){return r.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this)}function i(){n.translate.apply(this);var t,e=this,i=e.options,o=e.chart,r=e.points,l=i.onSeries,h=(l=l&&o.get(l))&&l.options.step,c=l&&l.points,d=o.inverted,p=e.xAxis,u=e.yAxis;o=r.length-1,i=i.onKey||"y";var f,g=c&&c.length,m=0;if(l&&l.visible&&g){m=(l.pointXOffset||0)+(l.barW||0)/2;var v=l.currentDataGrouping,y=c[g-1].x+(v?v.totalRange:0);for(a(r,function(t,e){return t.x-e.x}),i="plot"+i[0].toUpperCase()+i.substr(1);g--&&r[o];){var x=c[g];if((v=r[o]).y=x.y,x.x<=v.x&&void 0!==x[i]){if(v.x<=y&&(v.plotY=x[i],x.x<v.x&&!h&&(f=c[g+1])&&void 0!==f[i])){var b=(v.x-x.x)/(f.x-x.x);v.plotY+=b*(f[i]-x[i]),v.y+=b*(f.y-x.y)}if(g++,0>--o)break}}}r.forEach(function(i,o){if(i.plotX+=m,(void 0===i.plotY||d)&&(0<=i.plotX&&i.plotX<=
2p.len?d?(i.plotY=p.translate(i.x,0,1,0,1),i.plotX=s(i.y)?u.translate(i.y,0,0,0,1):0):i.plotY=(p.opposite?0:e.yAxis.len)+p.offset:i.shapeArgs={}),(t=r[o-1])&&t.plotX===i.plotX){void 0===t.stackIndex&&(t.stackIndex=0);var n=t.stackIndex+1}i.stackIndex=n}),this.onSeries=l}var o=[];t.compose=function(t){if(-1===o.indexOf(t)){o.push(t);var n=t.prototype;n.getPlotBox=e,n.translate=i}return t},t.getPlotBox=e,t.translate=i}(o||(o={})),o}),e(t,"Series/Flags/FlagsSymbols.js",[t["Core/Renderer/RendererRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"]],function(t,e){function i(t){o[t+"pin"]=function(e,i,n,r,s){var a=s&&s.anchorX;s=s&&s.anchorY,"circle"===t&&r>n&&(e-=Math.round((r-n)/2),n=r);var l=o[t](e,i,n,r);if(a&&s){var h=a;"circle"===t?h=e+n/2:(e=l[0],n=l[1],"M"===e[0]&&"L"===n[0]&&(h=(e[1]+n[1])/2)),l.push(["M",h,i>s?i:i+r],["L",a,s]),l=l.concat(o.circle(a-1,s-1,2,2))}return l}}var o=e.prototype.symbols;return o.flag=function(t,e,i,n,r){var s=r&&r.anchorX||t;r=r&&r.anchorY||e;var a=o.circle(s-1,r-1,2,2);return a.push(["M",s,r],["L",t,e+n],["L",t,e],["L",t+i,e],["L",t+i,e+n],["L",t,e+n],["Z"]),a},i("circle"),i("square"),(t=t.getRendererType())!==e&&(t.prototype.symbols.circlepin=o.circlepin,t.prototype.symbols.flag=o.flag,t.prototype.symbols.squarepin=o.squarepin),o}),e(t,"Series/Flags/FlagsSeries.js",[t["Series/Flags/FlagsPoint.js"],t["Core/Globals.js"],t["Series/OnSeriesComposition.js"],t["Core/Renderer/RendererUtilities.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Utilities.js"]],function(t,e,i,o,n,r,s){var a=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();e=e.noop;var l=o.distribute,h=n.series,c=n.seriesTypes.column,d=s.addEvent,p=s.defined;o=s.extend;var u=s.merge,f=s.objectEach,g=s.wrap;return s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(e,t),e.prototype.animate=function(t){t&&this.setClip()},e.prototype.drawPoints=function(){var t,e=this.points,i=this.chart,o=i.renderer,n=i.inverted,s=this.options,a=s.y,h=this.yAxis,c={},d=[];for(t=e.length;t--;){var m=e[t],v=(n?m.plotY:m.plotX)>this.xAxis.len,y=m.plotX,x=m.stackIndex,b=m.options.shape||s.shape,w=m.plotY;void 0!==w&&(w=m.plotY+a-(void 0!==x&&x*s.stackDistance)),m.anchorX=x?void 0:m.plotX;var k=x?void 0:m.plotY,S="flag"!==b;x=m.graphic,void 0!==w&&0<=y&&!v?(x&&m.hasNewShapeType()&&(x=x.destroy()),x||(x=m.graphic=o.label("",null,null,b,null,null,s.useHTML).addClass("highcharts-point").add(this.markerGroup),m.graphic.div&&(m.graphic.div.point=m),x.isNew=!0),x.attr({align:S?"center":"left",width:s.width,height:s.height,"text-align":s.textAlign}),i.styledMode||x.attr(this.pointAttribs(m)).css(u(s.style,m.style)).shadow(s.shadow),0<y&&(y-=x.strokeWidth()%2),b={y:w,anchorY:k},s.allowOverlapX&&(b.x=y,b.anchorX=m.anchorX),x.attr({text:m.options.title||s.title||"A"})[x.isNew?"attr":"animate"](b),s.allowOverlapX||(c[m.plotX]?c[m.plotX].size=Math.max(c[m.plotX].size,x.width):c[m.plotX]={align:S?.5:0,size:x.width,target:y,anchorX:y}),m.tooltipPos=[y,w+h.pos-i.plotTop]):x&&(m.graphic=x.destroy())}if(!s.allowOverlapX){var C=100;f(c,function(t){t.plotX=t.anchorX,d.push(t),C=Math.max(t.size,C)}),l(d,n?h.len:this.xAxis.len,C),e.forEach(function(t){var e=t.graphic&&c[t.plotX];e&&(t.graphic[t.graphic.isNew?"attr":"animate"]({x:e.pos+e.align*e.size,anchorX:t.anchorX}),p(e.pos)?t.graphic.isNew=!1:(t.graphic.attr({x:-9999,anchorX:-9999}),t.graphic.isNew=!0))})}s.useHTML&&g(this.markerGroup,"on",function(t){return r.prototype.on.apply(t.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))})},e.prototype.drawTracker=function(){var e=this.points;t.prototype.drawTracker.call(this),e.forEach(function(t){var i=t.graphic;i&&(t.unbindMouseOver&&t.unbindMouseOver(),t.unbindMouseOver=d(i.element,"mouseover",function(){0<t.stackIndex&&!t.raised&&(t._y=i.y,i.attr({y:t._y-8}),t.raised=!0),e.forEach(function(e){e!==t&&e.raised&&e.graphic&&(e.graphic.attr({y:e._y}),e.raised=!1)})}))})},e.prototype.pointAttribs=function(t,e){var i=this.options,o=t&&t.color||this.color,n=i.lineColor,r=t&&t.lineWidth;return t=t&&t.fillColor||i.fillColor,e&&(t=i.states[e].fillColor,n=i.states[e].lineColor,r=i.states[e].lineWidth),{fill:t||o,stroke:n||o,"stroke-width":r||i.lineWidth||0}},e.prototype.setClip=function(){h.prototype.setClip.apply(this,arguments),!1!==this.options.clip&&this.sharedCl
2ipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])},e.defaultOptions=u(c.defaultOptions,{pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:"#ffffff",lineWidth:1,states:{hover:{lineColor:"#000000",fillColor:"#ccd6eb"}},style:{fontSize:"11px",fontWeight:"bold"}}),e}(c),i.compose(s),o(s.prototype,{allowDG:!1,forceCrop:!0,invertible:!1,noSharedTooltip:!0,pointClass:t,sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],buildKDTree:e,init:h.prototype.init,invertGroups:e}),n.registerSeriesType("flags",s),s}),e(t,"Core/Axis/ScrollbarAxis.js",[t["Core/Utilities.js"]],function(t){var e=t.addEvent,i=t.defined,o=t.pick;return function(){function t(){}return t.compose=function(n,r){if(-1!==t.composed.indexOf(n))return n;t.composed.push(n);var s=function(t){var e=o(t.options&&t.options.min,t.min),n=o(t.options&&t.options.max,t.max);return{axisMin:e,axisMax:n,scrollMin:i(t.dataMin)?Math.min(e,t.min,t.dataMin,o(t.threshold,1/0)):e,scrollMax:i(t.dataMax)?Math.max(n,t.max,t.dataMax,o(t.threshold,-1/0)):n}};return e(n,"afterInit",function(){var t=this;t.options&&t.options.scrollbar&&t.options.scrollbar.enabled&&(t.options.scrollbar.vertical=!t.horiz,t.options.startOnTick=t.options.endOnTick=!1,t.scrollbar=new r(t.chart.renderer,t.options.scrollbar,t.chart),e(t.scrollbar,"changed",function(e){var o=s(t),n=o.axisMax,r=o.scrollMin,a=o.scrollMax-r;i(o.axisMin)&&i(n)&&(t.horiz&&!t.reversed||!t.horiz&&t.reversed?(o=r+a*this.to,r+=a*this.from):(o=r+a*(1-this.from),r+=a*(1-this.to)),this.shouldUpdateExtremes(e.DOMType)?t.setExtremes(r,o,!0,"mousemove"!==e.DOMType&&"touchmove"!==e.DOMType,e):this.setRange(this.from,this.to))}))}
2),e(n,"afterRender",function(){var t=s(this),e=t.scrollMin,o=t.scrollMax;t=this.scrollbar;var n=this.axisTitleMargin+(this.titleOffset||0),r=this.chart.scrollbarsOffsets,a=this.options.margin||0;t&&(this.horiz?(this.opposite||(r[1]+=n),t.position(this.left,this.top+this.height+2+r[1]-(this.opposite?a:0),this.width,this.height),this.opposite||(r[1]+=a),n=1):(this.opposite&&(r[0]+=n),t.position(t.options.opposite?this.left+this.width+2+r[0]-(this.opposite?0:a):this.opposite?0:a,this.top,this.width,this.height),this.opposite&&(r[0]+=a),n=0),r[n]+=t.size+t.options.margin,isNaN(e)||isNaN(o)||!i(this.min)||!i(this.max)||this.min===this.max?t.setRange(0,1):(r=(this.min-e)/(o-e),e=(this.max-e)/(o-e),this.horiz&&!this.reversed||!this.horiz&&this.reversed?t.setRange(r,e):t.setRange(1-e,1-r)))}),e(n,"afterGetOffset",function(){var t=this.scrollbar&&!this.scrollbar.options.opposite;t=this.horiz?2:t?3:1;var e=this.scrollbar;e&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[t]+=e.size+e.options.margin)}),n},t.composed=[],t}()}),e(t,"Core/ScrollbarDefaults.js",[t["Core/Globals.js"]],function(t){return{height:t.isTouchDevice?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:1,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"#333333",trackBackgroundColor:"#f2f2f2",trackBorderColor:"#f2f2f2",trackBorderWidth:1}}),e(t,"Core/Scrollbar.js",[t["Core/DefaultOptions.js"],t["Core/Globals.js"],t["Core/Axis/ScrollbarAxis.js"],t["Core/ScrollbarDefaults.js"],t["Core/Utilities.js"]],function(t,e,i,o,n){var r=t.defaultOptions,s=n.addEvent,a=n.correctFloat,l=n.defined,h=n.destroyObjectProperties,c=n.fireEvent,d=n.merge,p=n.pick,u=n.removeEvent;return t=function(){function t(t,e,i){this._events=[],this.chart=void 0,this.from=this.chartY=this.chartX=0,this.scrollbar=this.renderer=this.options=this.group=void 0,this.scrollbarButtons=[],this.scrollbarGroup=void 0,this.scrollbarLeft=0,this.scrollbarRifles=void 0,this.scrollbarStrokeWidth=1,this.to=this.size=this.scrollbarTop=0,this.track=void 0,this.trackBorderWidth=1,this.userOptions=void 0,this.y=this.x=0,this.init(t,e,i)}return t.compose=function(e){i.compose(e,t)},t.swapXY=function(t,e){return e&&t.forEach(function(t){for(var e,i=t.length,o=0;o<i;o+=2)"number"==typeof(e=t[o+1])&&(t[o+1]=t[o+2],t[o+2]=e)}),t},t.prototype.addEvents=function(){var t=this.options.inverted?[1,0]:[0,1],i=this.scrollbarButtons,o=this.scrollbarGroup.element,n=this.track.element,r=this.mouseDownHandler.bind(this),a=this.mouseMoveHandler.bind(this),l=this.mouseUpHandler.bind(this);t=[[i[t[0]].element,"click",this.buttonToMinClick.bind(this)],[i[t[1]].element,"click",this.buttonToMaxClick.bind(this)],[n,"click",this.trackClick.bind(this)],[o,"mousedown",r],[o.ownerDocument,"mousemove",a],[o.ownerDocument,"mouseup",l]],e.hasTouch&&t.push([o,"touchstart",r],[o.ownerDocument,"touchmove",a],[o.ownerDocument,"touchend",l]),t.forEach(function(t){s.apply(null,t)}),this._events=t},t.prototype.buttonToMaxClick=function(t){var e=(this.to-this.from)*p(this.options.step,.2);this.updatePosition(this.from+e,this.to+e),c(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.buttonToMinClick=function(t){var e=a(this.to-this.from)*p(this.options.step,.2);this.updatePosition(a(this.from-e),a(this.to-e)),c(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.cursorToScrollbarPosition=function(t){var e=this.options;return e=e.minWidth>this.calculatedWidth?e.minWidth:0,{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-e)}},t.prototype.destroy=function(){var t=this,e=t.chart.scroller;t.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(e){t[e]&&t[e].destroy&&(t[e]=t[e].destroy())}),e&&t===e.scrollbar&&(e.scrollbar=null,h(e.scrollbarButtons))},t.prototype.drawScrollbarButton=function(e){var i=this.renderer,o=this.scrollbarButtons,n=this.options,r=this.size,s=i.g().add(this.group);o.push(s),s=i.rect().addClass("highcharts-scrollbar-button").add(s),this.chart.styledMode||s.attr({stroke:n.buttonBorderColor,"stroke-width":n.buttonBorderWidth,fill:n.buttonBackgroun
2dColor}),s.attr(s.crisp({x:-.5,y:-.5,width:r+1,height:r+1,r:n.buttonBorderRadius},s.strokeWidth())),s=i.path(t.swapXY([["M",r/2+(e?-1:1),r/2-3],["L",r/2+(e?-1:1),r/2+3],["L",r/2+(e?2:-2),r/2]],n.vertical)).addClass("highcharts-scrollbar-arrow").add(o[e]),this.chart.styledMode||s.attr({fill:n.buttonArrowColor})},t.prototype.init=function(t,e,i){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=d(o,r.scrollbar,e),this.chart=i,this.size=p(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())},t.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},t.prototype.mouseMoveHandler=function(t){var e=this.chart.pointer.normalize(t),i=this.options.vertical?"chartY":"chartX",o=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][i]||(i=(e=this.cursorToScrollbarPosition(e)[i])-(i=this[i]),this.hasDragged=!0,this.updatePosition(o[0]+i,o[1]+i),this.hasDragged&&c(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},t.prototype.mouseUpHandler=function(t){this.hasDragged&&c(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},t.prototype.position=function(t,e,i,o){var n=this.options.vertical,r=this.rendered?"animate":"attr",s=0;this.x=t,this.y=e+this.trackBorderWidth,this.width=i,this.xOffset=this.height=o,this.yOffset=s,n?(this.width=this.yOffset=i=s=this.size,this.xOffset=e=0,this.barWidth=o-2*i,this.x=t+=this.options.margin):(this.height=this.xOffset=o=e=this.size,this.barWidth=i-2*o,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:i,height:o}),this.scrollbarButtons[1][r]({translateX:n?0:i-e,translateY:n?o-s:0})},t.prototype.removeEvents=function(){this._events.forEach(function(t){u.apply(null,t)}),this._events.length=0},t.prototype.render=function(){var e=this.renderer,i=this.options,o=this.size,n=this.chart.styledMode,r=e.g("scrollbar").attr({zIndex:i.zIndex,translateY:-99999}).add();this.group=r,this.track=e.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:i.trackBorderRadius||0,height:o,width:o}).add(r),n||this.track.attr({fill:i.trackBackgroundColor,stroke:i.trackBorderColor,"stroke-width":i.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=e.g().add(r),this.scrollbar=e.rect().addClass("highcharts-scrollbar-thumb").attr({height:o,width:o,r:i.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=e.path(t.swapXY([["M",-3,o/4],["L",-3,2*o/3],["M",0,o/4],["L",0,2*o/3],["M",3,o/4],["L",3,2*o/3]],i.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),n||(this.scrollbar.attr({fill:i.barBackgroundColor,stroke:i.barBorderColor,"stroke-width":i.barBorderWidth}),this.scrollbarRifles.attr({stroke:i.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},t.prototype.setRange=function(t,e){var i=this.options,o=i.vertical,n=i.minWidth,r=this.barWidth,s=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(l(r)){var h=r*Math.min(e,1);t=Math.max(t,0);var c=Math.ceil(r*t);this.calculatedWidth=h=a(h-c),h<n&&(c=(r-n+h)*t,h=n),n=Math.floor(c+this.xOffset+this.yOffset),r=h/2-.5,this.from=t,this.to=e,o?(this.scrollbarGroup[s]({translateY:n}),this.scrollbar[s]({height:h}),this.scrollbarRifles[s]({translateY:r}),this.scrollbarTop=n,this.scrollbarLeft=0):(this.scrollbarGroup[s]({translateX:n}),this.scrollbar[s]({width:h}),this.scrollbarRifles[s]({translateX:r}),this.scrollbarLeft=n,this.scrollbarTop=0),12>=h?this.scrollbarRifles.hide():this.scrollbarRifles.show(!0),!1===i.showFull&&(0>=t&&1<=e?this.group.hide():this.group.show()),this.rendered=!0}},t.prototype.shouldUpdateExtremes=function(t){return p(this.options.liveRedraw,e.svg&&!e.isTouchDevice&&!this.chart.isBoosting)||"mouseup"===t||"touchend"===t||!l(t)},t.prototype.trackClick=function(t){var e=this.chart.pointer.normalize(t),i=this.to-this.from,o=this.y+this.scrollbarTop,n=this.x+this.scrollbarLeft;this.options.vertical&&e.chartY>o||!this.options.vertical&&e.chartX>n?this.updatePosition(this.from+i,this.to+i):this.updatePosition(this.from-i,this.to-i),c(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,d(!0,this.options,t),this.chart)},t.prototype.updatePosition=function(t,e){1<e&&(t=a(1-a(e-t)),e=1),0>
2t&&(e=a(e-t),t=0),this.from=t,this.to=e},t.defaultOptions=o,t}(),r.scrollbar=d(!0,t.defaultOptions,r.scrollbar),t}),e(t,"Core/Axis/NavigatorAxis.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e){var i=t.isTouchDevice,o=e.addEvent,n=e.correctFloat,r=e.defined,s=e.isNumber,a=e.pick,l=function(){function t(t){this.axis=t}return t.prototype.destroy=function(){this.axis=void 0},t.prototype.toFixedRange=function(t,e,i,o){var l=this.axis,h=l.chart;h=h&&h.fixedRange;var c=(l.pointRange||0)/2;return t=a(i,l.translate(t,!0,!l.horiz)),e=a(o,l.translate(e,!0,!l.horiz)),l=h&&(e-t)/h,r(i)||(t=n(t+c)),r(o)||(e=n(e-c)),.7<l&&1.3>l&&(o?t=e-h:e=t+h),s(t)&&s(e)||(t=e=void 0),{min:t,max:e}},t}();return function(){function t(){}return t.compose=function(t){t.keepProps.push("navigatorAxis"),o(t,"init",function(){this.navigatorAxis||(this.navigatorAxis=new l(this))}),o(t,"zoom",function(t){var e=this.chart.options,o=e.navigator,n=this.navigatorAxis,s=e.chart.pinchType,a=e.rangeSelector;e=e.chart.zoomType,this.isXAxis&&(o&&o.enabled||a&&a.enabled)&&("y"===e?t.zoomed=!1:(!i&&"xy"===e||i&&"xy"===s)&&this.options.range&&(o=n.previousZoom,r(t.newMin)?n.previousZoom=[this.min,this.max]:o&&(t.newMin=o[0],t.newMax=o[1],n.previousZoom=void 0))),void 0!==t.zoomed&&t.preventDefault()})},t.AdditionsClass=l,t}()}),e(t,"Core/Navigator.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Axis/NavigatorAxis.js"],t["Core/DefaultOptions.js"],t["Core/Renderer/RendererRegistry.js"],t["Core/Scrollbar.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i,o,n,r,s,a,l,h,c){i=i.parse;var d=o.hasTouch,p=o.isTouchDevice,u=r.defaultOptions,f=c.addEvent,g=c.clamp,m=c.correctFloat,v=c.defined,y=c.destroyObjectProperties,x=c.erase,b=c.extend,w=c.find,k=c.isArray,S=c.isNumber,C=c.merge,T=c.pick,A=c.removeEvent,M=c.splat,O=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if((e=[].filter.call(e,S)).length)return Math[t].apply(0,e)};r=void 0===h.seriesTypes.areaspline?"line":"areaspline",b(u,{navigator:{height:40,margin:25,maskInside:!0,handles:{width:7,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:i("#6685c2").setOpacity(.3).get(),outlineColor:"#cccccc",outlineWidth:1,series:{type:r,fillOpacity:.05,lineWidth:1,compare:null,dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{overscroll:0,className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#999999"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}}),s.getRendererType().prototype.symbols["navigator-handle"]=function(t,e,i,o,n){return t=(n&&n.width||0)/2,e=Math.round(t/3)+.5,[["M",-t-1,.5],["L",t,.5],["L",t,(n=n&&n.height||0)+.5],["L",-t-1,n+.5],["L",-t-1,.5],["M",-e,4],["L",-e,n-3],["M",e-1,4],["L",e-1,n-3]]};var P=function(){function e(t){this.zoomedMin=this.zoomedMax=this.yAxis=this.xAxis=this.top=this.size=this.shades=this.rendered=this.range=this.outlineHeight=this.outline=this.opposite=this.navigatorSize=this.navigatorSeries=this.navigatorOptions=this.navigatorGroup=this.navigatorEnabled=this.left=this.height=this.handles=this.chart=this.baseSeries=void 0,this.init(t)}return e.prototype.drawHandle=function(t,e,i,o){var n=this.navigatorOptions.handles.height;this.handles[e][o](i?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(t,10)+.5-n)}:{translateX:Math.round(this.left+parseInt(t,10)),translateY:Math.round(this.top+this.height/2-n/2-1)})}
2,e.prototype.drawOutline=function(t,e,i,o){var n=this.navigatorOptions.maskInside,r=this.outline.strokeWidth(),s=r/2,a=r%2/2;r=this.outlineHeight;var l=this.scrollbarHeight||0,h=this.size,c=this.left-l,d=this.top;i?(a=[["M",(c-=s)+r,d-l-a],["L",c+r,i=d+e+a],["L",c,i],["L",c,e=d+t+a],["L",c+r,e],["L",c+r,d+h+l]],n&&a.push(["M",c+r,i-s],["L",c+r,e+s])):(a=[["M",c,d+=s],["L",t+=c+l-a,d],["L",t,d+r],["L",e+=c+l-a,d+r],["L",e,d],["L",c+h+2*l,d]],n&&a.push(["M",t-s,d],["L",e+s,d])),this.outline[o]({d:a})},e.prototype.drawMasks=function(t,e,i,o){var n=this.left,r=this.top,s=this.height;if(i)var a=[n,n,n],l=[r,r+t,r+e],h=[s,s,s],c=[t,e-t,this.size-e];else a=[n,n+t,n+e],l=[r,r,r],h=[t,e-t,this.size-e],c=[s,s,s];this.shades.forEach(function(t,e){t[o]({x:a[e],y:l[e],width:h[e],height:c[e]})})},e.prototype.renderElements=function(){var t,e=this,i=e.navigatorOptions,o=i.maskInside,n=e.chart,r=n.renderer,s={cursor:n.inverted?"ns-resize":"ew-resize"};e.navigatorGroup=t=r.g("navigator").attr({zIndex:8,visibility:"hidden"}).add(),[!o,o,!o].forEach(function(o,a){e.shades[a]=r.rect().addClass("highcharts-navigator-mask"+(1===a?"-inside":"-outside")).add(t),n.styledMode||e.shades[a].attr({fill:o?i.maskFill:"rgba(0,0,0,0)"}).css(1===a&&s)}),e.outline=r.path().addClass("highcharts-navigator-outline").add(t),n.styledMode||e.outline.attr({"stroke-width":i.outlineWidth,stroke:i.outlineColor}),i.handles.enabled&&[0,1].forEach(function(o){if(i.handles.inverted=n.inverted,e.handles[o]=r.symbol(i.handles.symbols[o],-i.handles.width/2-1,0,i.handles.width,i.handles.height,i.handles),e.handles[o].attr({zIndex:7-o}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][o]).add(t),!n.styledMode){var a=i.handles;e.handles[o].attr({fill:a.backgroundColor,stroke:a.borderColor,"stroke-width":a.lineWidth}).css(s)}})},e.prototype.update=function(t){(this.series||[]).forEach(function(t){t.baseSeries&&delete t.baseSeries.navigatorSeries}),this.destroy(),C(!0,this.chart.options.navigator,this.options,t),this.init(this.chart)},e.prototype.render=function(t,e,i,o){var n,r,s=this.chart,a=this.scrollbarHeight,l=this.xAxis,h=l.pointRange||0,c=l.navigatorAxis.fake?s.xAxis[0]:l,d=this.navigatorEnabled,p=this.rendered,u=s.inverted,f=s.xAxis[0].minRange,y=s.xAxis[0].options.maxRange;
2if(!this.hasDragged||v(i)){if(t=m(t-h/2),e=m(e+h/2),!S(t)||!S(e)){if(!p)return;i=0,o=T(l.width,c.width)}this.left=T(l.left,s.plotLeft+a+(u?s.plotWidth:0)),this.size=r=n=T(l.len,(u?s.plotHeight:s.plotWidth)-2*a),s=u?a:n+2*a,i=T(i,l.toPixels(t,!0)),o=T(o,l.toPixels(e,!0)),S(i)&&1/0!==Math.abs(i)||(i=0,o=s),t=l.toValue(i,!0),e=l.toValue(o,!0);var x=Math.abs(m(e-t));x<f?this.grabbedLeft?i=l.toPixels(e-f-h,!0):this.grabbedRight&&(o=l.toPixels(t+f+h,!0)):v(y)&&m(x-h)>y&&(this.grabbedLeft?i=l.toPixels(e-y-h,!0):this.grabbedRight&&(o=l.toPixels(t+y+h,!0))),this.zoomedMax=g(Math.max(i,o),0,r),this.zoomedMin=g(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(i,o),0,r),this.range=this.zoomedMax-this.zoomedMin,r=Math.round(this.zoomedMax),i=Math.round(this.zoomedMin),d&&(this.navigatorGroup.attr({visibility:"visible"}),p=p&&!this.hasDragged?"animate":"attr",this.drawMasks(i,r,u,p),this.drawOutline(i,r,u,p),this.navigatorOptions.handles.enabled&&(this.drawHandle(i,0,u,p),this.drawHandle(r,1,u,p))),this.scrollbar&&(u?(u=this.top-a,c=this.left-a+(d||!c.opposite?0:(c.titleOffset||0)+c.axisTitleMargin),a=n+2*a):(u=this.top+(d?this.height:-a),c=this.left-a),this.scrollbar.position(c,u,s,a),this.scrollbar.setRange(this.zoomedMin/(n||1),this.zoomedMax/(n||1))),this.rendered=!0}},e.prototype.addMouseEvents=function(){var t,e,i=this,o=i.chart,n=o.container,r=[];i.mouseMoveHandler=t=function(t){i.onMouseMove(t)},i.mouseUpHandler=e=function(t){i.onMouseUp(t)},(r=i.getPartsEvents("mousedown")).push(f(o.renderTo,"mousemove",t),f(n.ownerDocument,"mouseup",e)),d&&(r.push(f(o.renderTo,"touchmove",t),f(n.ownerDocument,"touchend",e)),r.concat(i.getPartsEvents("touchstart"))),i.eventsToUnbind=r,i.series&&i.series[0]&&r.push(f(i.series[0].xAxis,"foundExtremes",function(){o.navigator.modifyNavigatorAxisExtremes()}))},e.prototype.getPartsEvents=function(t){var e=this,i=[];return["shades","handles"].forEach(function(o){e[o].forEach(function(n,r){i.push(f(n.element,t,function(t){e[o+"Mousedown"](t,r)}))})}),i},e.prototype.shadesMousedown=function(t,e){t=this.chart.pointer.normalize(t);var i=this.chart,o=this.xAxis,n=this.zoomedMin,r=this.left,s=this.size,a=this.range,l=t.chartX;if(i.inverted&&(l=t.chartY,r=this.top),1===e)this.grabbedCenter=l,this.fixedWidth=a,this.dragOffset=l-n;else{if(t=l-r-a/2,0===e)t=Math.max(0,t);else if(2===e&&t+a>=s)if(t=s-a,this.reversedExtremes){t-=a;var h=this.getUnionExtremes().dataMin}else var c=this.getUnionExtremes().dataMax;t!==n&&(this.fixedWidth=a,e=o.navigatorAxis.toFixedRange(t,t+a,h,c),v(e.min)&&i.xAxis[0].setExtremes(Math.min(e.min,e.max),Math.max(e.min,e.max),!0,null,{trigger:"navigator"}))}},e.prototype.handlesMousedown=function(t,e){this.chart.pointer.normalize(t);var i=(t=this.chart).xAxis[0],o=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?i.min:i.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?i.max:i.min),t.fixedRange=null},e.prototype.onMouseMove=function(t){var e=this,i=e.chart,n=e.left,r=e.navigatorSize,s=e.range,a=e.dragOffset,l=i.inverted;t.touches&&0===t.touches[0].pageX||(t=i.pointer.normalize(t),i=t.chartX,l&&(n=e.top,i=t.chartY),e.grabbedLeft?(e.hasDragged=!0,e.render(0,0,i-n,e.otherHandlePos)):e.grabbedRight?(e.hasDragged=!0,e.render(0,0,e.otherHandlePos,i-n)):e.grabbedCenter&&(e.hasDragged=!0,i<a?i=a:i>r+a-s&&(i=r+a-s),e.render(0,0,i-a,i-a+s)),e.hasDragged&&e.scrollbar&&T(e.scrollbar.options.liveRedraw,o.svg&&!p&&!this.chart.isBoosting)&&(t.DOMType=t.type,setTimeout(function(){e.onMouseUp(t)},0)))},e.prototype.onMouseUp=function(t){var e=this.chart,i=this.xAxis,o=this.scrollbar,n=t.DOMEvent||t,r=e.inverted,s=this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!o||!o.hasDragged)||"scrollbar"===t.trigger){if(o=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos)var a=this.fixedExtreme;else if(this.zoomedMax===this.otherHandlePos)var l=this.fixedExtreme;this.zoomedMax===this.size&&(l=this.reversedExtremes?o.dataMin:o.dataMax),0===this.zoomedMin&&(a=this.reversedExtremes?o.dataMax:o.dataMin),i=i.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,a,l),v(i.min)&&e.xAxis[0].setExtremes(Math.min(i.min,i.max),Math.max(i.min,i.max),!0,!this.hasDragged&&null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:n})}"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&S(this.zoomedMin)&&S(this.zoomedMax)&&(e=Math.round(this.zoomedMin),t=Math.round(this.zoomedMax),this.shades&&this.drawMasks(e,t,r,s),this.outline&&this.drawOutline(e,t,r,s),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(e,0,r,s),this.drawHandle(t,1,r,s)))},e.prototype.removeEvents=function(){this.eventsToUnbind&&(this.eventsToUnbind.forEac
2h(function(t){t()}),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()},e.prototype.removeBaseSeriesEvents=function(){var t=this.baseSeries||[];this.navigatorEnabled&&t[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&t.forEach(function(t){A(t,"updatedData",this.updatedDataHandler)},this),t[0].xAxis&&A(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))},e.prototype.init=function(e){var i=e.options,o=i.navigator,r=o.enabled,s=i.scrollbar,l=s.enabled;i=r?o.height:0;var h=l?s.height:0;this.handles=[],this.shades=[],this.chart=e,this.setBaseSeries(),this.height=i,this.scrollbarHeight=h,this.scrollbarEnabled=l,this.navigatorEnabled=r,this.navigatorOptions=o,this.scrollbarOptions=s,this.outlineHeight=i+h,this.opposite=T(o.opposite,!(r||!e.inverted));var c=this;r=c.baseSeries,s=e.xAxis.length,l=e.yAxis.length;var d=r&&r[0]&&r[0].xAxis||e.xAxis[0]||{options:{}};e.isDirtyBox=!0,c.navigatorEnabled?(c.xAxis=new t(e,C({breaks:d.options.breaks,ordinal:d.options.ordinal},o.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:s,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},e.inverted?{offsets:[h,0,-h,0],width:i}:{offsets:[0,-h,0,h],height:i})),c.yAxis=new t(e,C(o.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:l,isInternal:!0,reversed:T(o.yAxis&&o.yAxis.reversed,e.yAxis[0]&&e.yAxis[0].reversed,!1),zoomEnabled:!1},e.inverted?{width:i}:{height:i})),r||o.series.data?c.updateNavigatorSeries(!1):0===e.series.length&&(c.unbindRedraw=f(e,"beforeRedraw",function(){0<e.series.length&&!c.series&&(c.setBaseSeries(),c.unbindRedraw())})),c.reversedExtremes=e.inverted&&!c.xAxis.reversed||!e.inverted&&c.xAxis.reversed,c.renderElements(),c.addMouseEvents()):(c.xAxis={chart:e,navigatorAxis:{fake:!0},translate:function(t,i){var o=e.xAxis[0],n=o.getExtremes(),r=o.len-2*h,s=O("min",o.options.min,n.dataMin);return o=O("max",o.options.max,n.dataMax)-s,i?t*o/r+s:r*(t-s)/o},toPixels:function(t){return this.translate(t)},toValue:function(t){return this.translate(t,!0)}},c.xAxis.navigatorAxis.axis=c.xAxis,c.xAxis.navigatorAxis.toFixedRange=n.AdditionsClass.prototype.toFixedRange.bind(c.xAxis.navigatorAxis)),e.options.scrollbar.enabled&&(e.scrollbar=c.scrollbar=new a(e.renderer,C(e.options.scrollbar,{margin:c.navigatorEnabled?0:10,vertical:e.inverted}),e),f(c.scrollbar,"changed",function(t){var e=c.size,i=e*this.to;e*=this.from,c.hasDragged=c.scrollbar.hasDragged,c.render(0,0,e,i),this.shouldUpdateExtremes(t.DOMType)&&setTimeout(function(){c.onMouseUp(t)})})),c.addBaseSeriesEvents(),c.addChartEvents()},e.prototype.getUnionExtremes=function(t){var e,i=this.chart.xAxis[0],o=this.xAxis,n=o.options,r=i.options;return t&&null===i.dataMin||(e={dataMin:T(n&&n.min,O("min",r.min,i.dataMin,o.dataMin,o.min)),dataMax:T(n&&n.max,O("max",r.max,i.dataMax,o.dataMax,o.max))}),e},e.prototype.setBaseSeries=function(t,e){var i=this.chart,o=this.baseSeries=[];t=t||i.options&&i.options.navigator.baseSeries||(i.series.length?w(i.series,function(t){return!t.options.isInternal}).index:0),(i.series||[]).forEach(function(e,i){e.options.isInternal||!e.options.showInNavigator&&(i!==t&&e.options.id!==t||!1===e.options.showInNavigator)||o.push(e)}),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,e)},e.prototype.updateNavigatorSeries=function(t,e){var i,o,n,r=this,s=r.chart,a=r.baseSeries,l=r.navigatorOptions.series,h={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:"navigator-x-axis",yAxis:"navigator-y-axis",showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},c=r.series=(r.series||[]).filter(function(t){var e=t.baseSeries;return!(0>a.indexOf(e)&&(e&&(A(e,"updatedData",r.updatedDataHandler),delete e.navigatorSeries),t.chart&&t.destroy(),1))});a&&a.length&&a.forEach(function(t){var d=t.navigatorSeries,p=b({color:t.color,visible:t.visible},k(l)?u.navigator.series:l);d&&!1===r.navigatorOptions.adaptToUpdatedData||(h.name="Navigator "+a.length,i=t.options||{},n=i.navigatorOptions||{},p.dataLabels=M(p.dataLabels),(o=C(i,h,p,n)).pointRange=T(p.pointRange,n.pointRange,u.plotOptions[o.type||"line"].pointRange),p=n.data||p.data,r.hasNavigatorData=r.hasNavigatorData||!!
2p,o.data=p||i.data&&i.data.slice(0),d&&d.options?d.update(o,e):(t.navigatorSeries=s.initSeries(o),t.navigatorSeries.baseSeries=t,c.push(t.navigatorSeries)))}),(!l.data||a&&a.length)&&!k(l)||(r.hasNavigatorData=!1,(l=M(l)).forEach(function(t,e){h.name="Navigator "+(c.length+1),(o=C(u.navigator.series,{color:s.series[e]&&!s.series[e].options.isInternal&&s.series[e].color||s.options.colors[e]||s.options.colors[0]},h,t)).data=t.data,o.data&&(r.hasNavigatorData=!0,c.push(s.initSeries(o)))})),t&&this.addBaseSeriesEvents()},e.prototype.addBaseSeriesEvents=function(){var t=this,e=t.baseSeries||[];e[0]&&e[0].xAxis&&e[0].eventsToUnbind.push(f(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),e.forEach(function(e){e.eventsToUnbind.push(f(e,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)})),e.eventsToUnbind.push(f(e,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)})),!1!==this.navigatorOptions.adaptToUpdatedData&&e.xAxis&&e.eventsToUnbind.push(f(e,"updatedData",this.updatedDataHandler)),e.eventsToUnbind.push(f(e,"remove",function(){this.navigatorSeries&&(x(t.series,this.navigatorSeries),v(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))},this)},e.prototype.getBaseSeriesMin=function(t){return this.baseSeries.reduce(function(t,e){return Math.min(t,e.xData?e.xData[0]:t)},t)},e.prototype.modifyNavigatorAxisExtremes=function(){var t,e=this.xAxis;void 0!==e.getExtremes&&(!(t=this.getUnionExtremes(!0))||t.dataMin===e.min&&t.dataMax===e.max||(e.min=t.dataMin,e.max=t.dataMax))},e.prototype.modifyBaseAxisExtremes=function(){var t=this.chart.navigator,e=this.getExtremes(),i=e.dataMin,o=e.dataMax;e=e.max-e.min;var n=t.stickToMin,r=t.stickToMax,s=T(this.options.overscroll,0),a=t.series&&t.series[0],l=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(n)var h=i,c=i+e;r&&(c=o+s,n||(h=Math.max(i,c-e,t.getBaseSeriesMin(a&&a.xData?a.xData[0]:-Number.MAX_VALUE)))),l&&(n||r)&&S(h)&&(this.min=this.userMin=h,this.max=this.userMax=c)}t.stickToMin=t.stickToMax=null},e.prototype.updatedDataHandler=function(){var t=this.chart.navigator,e=this.navigatorSeries;t.stickToMax=t.reversedExtremes?0===Math.round(t.zoomedMin):Math.round(t.zoomedMax)>=Math.round(t.size),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))},e.prototype.shouldStickToMin=function(t,e){e=e.getBaseSeriesMin(t.xData[0]);var i=t.xAxis;t=i.max;var o=i.min;return i=i.options.range,!(!S(t)||!S(o))&&(i&&0<t-e?t-e<i:o<=e)},e.prototype.addChartEvents=function(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(f(this.chart,"redraw",function(){var t=this.navigator,e=t&&(t.baseSeries&&t.baseSeries[0]&&t.baseSeries[0].xAxis||this.xAxis[0]);e&&t.render(e.min,e.max)}),f(this.chart,"getMargins",function(){var t=this.navigator,e=t.opposite?"plotTop":"marginBottom";this.inverted&&(e=t.opposite?"marginRight":"plotLeft"),this[e]=(this[e]||0)+(t.navigatorEnabled||!this.inverted?t.outlineHeight:0)+t.navigatorOptions.margin}))},e.prototype.destroy=function(){this.removeEvents(),this.xAxis&&(x(this.chart.xAxis,this.xAxis),x(this.chart.axes,this.xAxis)),this.yAxis&&(x(this.chart.yAxis,this.yAxis),x(this.chart.axes,this.yAxis)),(this.series||[]).forEach(function(t){t.destroy&&t.destroy()}),"series xAxis yAxis shades outline scrollbarTrack scrollbarRifles scrollbarGroup scrollbar navigatorGroup rendered".split(" ").forEach(function(t){this[t]&&this[t].destroy&&this[t].destroy(),this[t]=null},this),[this.handles].forEach(function(t){y(t)},this)},e}();return o.Navigator||(o.Navigator=P,n.compose(t),f(e,"beforeShowResetZoom",function(){var t=this.options,e=t.navigator,i=t.rangeSelector;if((e&&e.enabled||i&&i.enabled)&&(!p&&"x"===t.chart.zoomType||p&&"x"===t.chart.pinchType))return!1}),f(e,"beforeRender",function(){var t=this.options;(t.navigator.enabled||t.scrollbar.enabled)&&(this.scroller=this.navigator=new P(this))}),f(e,"afterSetChartSize",function(){var t=this.legend,e=this.navigator;if(e){var i=t&&t.options,o=e.xAxis,n=e.yAxis,r=e.scrollbarHeight;this.inverted?(e.left=e.opposite?this.chartWidth-r-e.height:this.spacing[3]+r,e.top=this.plotTop+r):(e.left=T(o.left,this.plotLeft+r),e.to
2p=e.navigatorOptions.top||this.chartHeight-e.height-r-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(i&&"bottom"===i.verticalAlign&&"proximate"!==i.layout&&i.enabled&&!i.floating?t.legendHeight+T(i.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),o&&n&&(this.inverted?o.options.left=n.options.left=e.left:o.options.top=n.options.top=e.top,o.setAxisSize(),n.setAxisSize())}}),f(e,"update",function(t){var e=t.options.navigator||{},i=t.options.scrollbar||{};this.navigator||this.scroller||!e.enabled&&!i.enabled||(C(!0,this.options.navigator,e),C(!0,this.options.scrollbar,i),delete t.options.navigator,delete t.options.scrollbar)}),f(e,"afterUpdate",function(t){this.navigator||this.scroller||!this.options.navigator.enabled&&!this.options.scrollbar.enabled||(this.scroller=this.navigator=new P(this),T(t.redraw,!0)&&this.redraw(t.animation))}),f(e,"afterAddSeries",function(){this.navigator&&this.navigator.setBaseSeries(null,!1)}),f(l,"afterUpdate",function(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}),e.prototype.callbacks.push(function(t){var e=t.navigator;e&&t.xAxis[0]&&(t=t.xAxis[0].getExtremes(),e.render(t.min,t.max))})),o.Navigator=P,o.Navigator}),e(t,"Extensions/RangeSelector.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Utilities.js"]],function(t,e,i,o,n,r){var s=o.defaultOptions,a=r.addEvent,l=r.createElement,h=r.css,c=r.defined,d=r.destroyObjectProperties,p=r.discardElement,u=r.extend,f=r.find,g=r.fireEvent,m=r.isNumber,v=r.merge,y=r.objectEach,x=r.pad,b=r.pick,w=r.pInt,k=r.splat;u(s,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#335cad",cursor:"pointer"},labelStyle:{color:"#666666"}}}),u(s.lang,{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"â"});var S=function(){function e(t){this.buttons=void 0,this.buttonOptions=e.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.options=void 0,this.chart=t,this.init(t)}return e.prototype.clickButton=function(e,i){var o=this.chart,n=this.buttonOptions[e],r=o.xAxis[0],s=o.scroller&&o.scroller.getUnionExtremes()||r||{},l=s.dataMin,h=s.dataMax,d=r&&Math.round(Math.min(r.max,b(h,r.max))),p=n.type;s=n._range;var u,f=n.dataGrouping;if(null!==l&&null!==h){if(o.fixedRange=s,this.setSelected(e),f&&(this.forcedDataGrouping=!0,t.prototype.setDataGrouping.call(r||{chart:this.chart},f,!1),this.frozenStates=n.preserveDataGrouping),"month"===p||"year"===p)if(r){p={range:n,max:d,chart:o,dataMin:l,dataMax:h};var v=r.minFromRange.call(p);m(p.newMax)&&(d=p.newMax)}else s=n;else if(s)v=Math.max(d-s,l),d=Math.min(v+s,h);else if("ytd"===p){if(!r)return void(this.deferredYTDClick=e);void 0===h&&(l=Number.MAX_VALUE,h=Number.MIN_VALUE,o.series.forEach(function(t){t=t.xData,l=Math.min(t[0],l),h=Math.max(t[t.length-1],h)}),i=!1),v=u=(d=this.getYTDExtremes(h,l,o.time.useUTC)).min,d=d.max}else"all"===p&&r&&(o.navigator&&o.navigator.baseSeries[0]&&(o.navigator.baseSeries[0].xAxis.options.range=void 0),v=l,d=h);if(c(v)&&(v+=n._offsetMin),c(d)&&(d+=n._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=e+1),r)r.setExtremes(v,d,b(i,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:n});else{var y=k(o.options.xAxis)[0],x=y.range;y.range=s;var w=y.min;y.min=u,a(o,"load",function(){y.range=x,y.min=w})}g(this,"afterBtnClick")}},e.prototype.setSelected=function(t){this.selected=this.options.selected=t},e.prototype.init=function(t){var e=this,i=t.options.rangeSelector,o=i.buttons||e.defaultButtons.slice(),n=i.selected,r=function(){var t=e.minInput,i=e.maxInput;t&&t.blur&&g(t,"blur"),i&&i.blur&&g(i,"blur")};e.chart=t,e.options=i,e.buttons=[],e.buttonOptions=o,this.eventsToUnbind=[],this.eventsToUnbind.push(a(t.container,"mousedown",r)),this.eventsToUnbind.push(a(t,"resize",r)),o.forEach(e.computeButtonRange),void 0!==n&&o[n]&&this.clickButton(n,!1),this.eventsToUnbind.push(a(t,"load",function(){t.xAxis&&t.xAxis[0]&&a(t.xAxis[0],"setExtremes",function(i){this.max-this.min!==t.fixedRange&&"rangeSelectorButton"!==i.trigger&&"updatedData"!==i.trigger&&e.forcedDataGrouping&&!e.frozenStates&&this.setDataGrouping(!1,!1)})}))},e.prototype.updateButtonStates=function(){var t=this,e=this.chart,i=this.dropdown,o=e.xAxis[0],n=Math.round(o.max-o.min),r=!o.hasVisibleSeries,s=e.scroller&&e.scroller.getUnionExtremes()||o,a=s.dataMin,l=s.dataMax,h=(e=t.getYTDExtremes(l,a,e.time.useUTC)).min,c=e.max,d=t.selected,p=m(d),u=t.options.allButtonsEnabled,f=t.buttons;t.buttonOptions.forEach(function(e,s){var g=e._range,m=e.type,v=e.count||1,y=f[s],x=0,b=e._offsetMax-e._offsetMin;e=s===d;var w=g>
2l-a,k=g<o.minRange,S=!1,C=!1;g=g===n,("month"===m||"year"===m)&&n+36e5>=864e5*{month:28,year:365}[m]*v-b&&n-36e5<=864e5*{month:31,year:366}[m]*v+b?g=!0:"ytd"===m?(g=c-h+b===n,S=!e):"all"===m&&(g=o.max-o.min>=l-a,C=!e&&p&&g),m=!u&&(w||k||C||r),v=e&&g||g&&!p&&!S||e&&t.frozenStates,m?x=3:v&&(p=!0,x=2),y.state!==x&&(y.setState(x),i&&(i.options[s+1].disabled=m,2===x&&(i.selectedIndex=s+1)),0===x&&d===s&&t.setSelected())})},e.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,o={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};o[e]?t._range=o[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=b(t.offsetMin,0),t._offsetMax=b(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},e.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},e.prototype.setInputValue=function(t,e){var i=this.options,o=this.chart.time,n="min"===t?this.minInput:this.maxInput;if(t="min"===t?this.minDateBox:this.maxDateBox,n){var r=n.getAttribute("data-hc-time");r=c(r)?Number(r):void 0,c(e)&&(c(r)&&n.setAttribute("data-hc-time-previous",r),n.setAttribute("data-hc-time",e),r=e),n.value=o.dateFormat(this.inputTypeFormats[n.type]||i.inputEditDateFormat,r),t&&t.attr({text:o.dateFormat(i.inputDateFormat,r)})}},e.prototype.setInputExtremes=function(t,e,i){if(t="min"===t?this.minInput:this.maxInput){var o=this.inputTypeFormats[t.type],n=this.chart.time;o&&(e=n.dateFormat(o,e),t.min!==e&&(t.min=e),i=n.dateFormat(o,i),t.max!==i&&(t.max=i))}},e.prototype.showInput=function(t){var e="min"===t?this.minDateBox:this.maxDateBox;if((t="min"===t?this.minInput:this.maxInput)&&e&&this.inputGroup){var i="text"===t.type,o=this.inputGroup,n=o.translateX;o=o.translateY;var r=this.options.inputBoxWidth;h(t,{width:i?e.width+(r?-2:20)+"px":"auto",height:i?e.height-2+"px":"auto",border:"2px solid silver"}),h(t,i&&r?{left:n+e.x+"px",top:o+"px"}:{left:Math.min(Math.round(e.x+n-(t.offsetWidth-e.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:o-(t.offsetHeight-e.height)/2+"px"})}},e.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&h(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},e.prototype.defaultInputDateParser=function(t,e,o){var n,r=t.split("/").join("-").split(" ").join("T");return-1===r.indexOf("T")&&(r+="T00:00"),e?r+="Z":((n=i.isSafari)&&(n=!(6<(n=r).length&&(n.lastIndexOf("-")===n.length-6||n.lastIndexOf("+")===n.length-6))),n&&(r+=0>=(n=new Date(r).getTimezoneOffset()/60)?"+"+x(-n)+":00":"-"+x(n)+":00")),r=Date.parse(r),m(r)||(t=t.split("-"),r=Date.UTC(w(t[0]),w(t[1])-1,w(t[2]))),o&&e&&m(r)&&(r+=o.getTimezoneOffset(r)),r},e.prototype.drawInput=function(t){function e(){var e=a.getInputValue(t),i=o.xAxis[0],n=o.scroller&&o.scroller.xAxis?o.scroller.xAxis:i,r=n.dataMin;n=n.dataMax;var s=a.maxInput,l=a.minInput;e!==Number(y.getAttribute("data-hc-time-previous"))&&m(e)&&(y.setAttribute("data-hc-time-previous",e),f&&s&&m(r)?e>Number(s.getAttribute("data-hc-time"))?e=void 0:e<r&&(e=r):l&&m(n)&&(e<Number(l.getAttribute("data-hc-time"))?e=void 0:e>n&&(e=n)),void 0!==e&&i.setExtremes(f?e:i.min,f?i.max:e,void 0,void 0,{trigger:"rangeSelectorInput"}))}var o=this.chart,n=this.div,r=this.inputGroup,a=this,c=o.renderer.style||{},d=o.renderer,p=o.options.rangeSelector,f="min"===t,g=s.lang[f?"rangeSelectorFrom":"rangeSelectorTo"]||"";g=d.label(g,0).addClass("highcharts-range-label").attr({padding:g?2:0,height:g?p.inputBoxHeight:0}).add(r),d=d.label("",0).addClass("highcharts-range-input").attr({padding:2,width:p.inputBoxWidth,height:p.inputBoxHeight,"text-align":"center"}).on("click",function(){a.showInput(t),a[t+"Input"].focus()}),o.styledMode||d.attr({stroke:p.inputBoxBorderColor,"stroke-width":1}),d.add(r);var y=l("input",{name:t,className:"highcharts-range-selector"},void 0,n);y.setAttribute("type",function(t){if(-1!==t.indexOf("%L"))return"text";var e="aAdewbBmoyY".split("").some(function(e){return-1!==t.indexOf("%"+e)}),i="HkIlMS".split("").some(function(e){return-1!==t.indexOf("%"+e)});return e&&i?"datetime-local":e?"date":i?"time":"text"}(p.inputDateFormat||"%b %e, %Y")),o.styledMode||(g.css(v(c,p.labelStyle)),d.css(v({color:"#333333"},c,p.inputStyle)),h(y,u({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:c.fontSize,fontFamily:c.fontFamily,top:"-9999em"},p.inputStyle))),y.onfocus=function(){a.showInput(t)},y.onblur=function(){y===i.doc.activeElement&&e(),a.hideInput(t),a.setInputValue(t),y.blur()};var x=!1;return y.onchange=function(){x||(e(),a.hideInput(t),y.blur())},y.onkeypress=function(t){13===t.keyCode&&e()},y.onkeydown=function(t){x=!0,38!==t.keyCode&&40!==t.keyCode||e()},y.onkeyup=function(){x=!1},{dateBox:d,input:y,label:g}},e.prototype.getPosition=function(){var t=this.chart,e=t.options.rangeSelector;return{buttonTop:(t="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0)+e.buttonPosition.y,inputTop:t+e.inputPosition.y-10}}
2,e.prototype.getYTDExtremes=function(t,e,i){var o=this.chart.time,n=new o.Date(t),r=o.get("FullYear",n);return i=i?o.Date.UTC(r,0,1):+new o.Date(r,0,1),e=Math.max(e,i),n=n.getTime(),{max:Math.min(t||n,n),min:e}},e.prototype.render=function(t,e){var i=this.chart,o=i.renderer,n=i.container,r=i.options,s=r.rangeSelector,a=b(r.chart.style&&r.chart.style.zIndex,0)+1;if(r=s.inputEnabled,!1!==s.enabled){if(this.rendered||(this.group=o.g("range-selector-group").attr({zIndex:7}).add(),this.div=l("div",void 0,{position:"relative",height:0,zIndex:a}),this.buttonOptions.length&&this.renderButtons(),n.parentNode&&n.parentNode.insertBefore(this.div,n),r&&(this.inputGroup=o.g("input-group").add(this.group),o=this.drawInput("min"),this.minDateBox=o.dateBox,this.minLabel=o.label,this.minInput=o.input,o=this.drawInput("max"),this.maxDateBox=o.dateBox,this.maxLabel=o.label,this.maxInput=o.input)),r&&(this.setInputValue("min",t),this.setInputValue("max",e),t=i.scroller&&i.scroller.getUnionExtremes()||i.xAxis[0]||{},c(t.dataMin)&&c(t.dataMax)&&(i=i.xAxis[0].minRange||0,this.setInputExtremes("min",t.dataMin,Math.min(t.dataMax,this.getInputValue("max"))-i),this.setInputExtremes("max",Math.max(t.dataMin,this.getInputValue("min"))+i,t.dataMax)),this.inputGroup)){var h=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(function(t){if(t){var e=t.getBBox().width;e&&(t.attr({x:h}),h+=e+s.inputSpacing)}})}this.alignElements(),this.rendered=!0}},e.prototype.renderButtons=function(){var t=this,e=this.buttons,o=this.options,n=s.lang,r=this.chart.renderer,h=v(o.buttonTheme),c=h&&h.states,d=h.width||28;delete h.width,delete h.states,this.buttonGroup=r.g("range-selector-buttons").add(this.group);var p=this.dropdown=l("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);a(p,"touchstart",function(){p.style.fontSize="16px"}),[[i.isMS?"mouseover":"mouseenter"],[i.isMS?"mouseout":"mouseleave"],["change","click"]].forEach(function(i){var o=i[0],n=i[1];a(p,o,function(){var i=e[t.currentButtonIndex()];i&&g(i.element,n||o)})}),this.zoomText=r.label(n&&n.rangeSelectorZoom||"",0).attr({padding:o.buttonTheme.padding,height:o.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(o.labelStyle),h["stroke-width"]=b(h["stroke-width"],0)),l("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,p),this.buttonOptions.forEach(function(i,o){l("option",{textContent:i.title||i.text},void 0,p),e[o]=r.button(i.text,0,0,function(e){var n,r=i.events&&i.events.click;r&&(n=r.call(i,e)),!1!==n&&t.clickButton(o),t.isActive=!0},h,c&&c.hover,c&&c.select,c&&c.disabled).attr({"text-align":"center",width:d}).add(t.buttonGroup),i.title&&e[o].attr("title",i.title)})},e.prototype.alignElements=function(){var t=this,e=this.buttonGroup,i=this.buttons,o=this.chart,n=this.group,r=this.inputGroup,s=this.options,a=this.zoomText,l=o.options,h=l.exporting&&!1!==l.exporting.enabled&&l.navigation&&l.navigation.buttonOptions;l=s.buttonPosition;var c=s.inputPosition,d=s.verticalAlign,p=function(e,i){return h&&t.titleCollision(o)&&"top"===d&&"right"===i.align&&i.y-e.getBBox().height-12<(h.y||0)+(h.height||0)+o.spacing[0]?-40:0},u=o.plotLeft;if(n&&l&&c){var f=l.x-o.spacing[3];if(e){if(this.positionButtons(),!this.initialButtonGroupWidth){var g=0;a&&(g+=a.getBBox().width+5),i.forEach(function(t,e){g+=t.width,e!==i.length-1&&(g+=s.buttonSpacing)}),this.initialButtonGroupWidth=g}u-=o.spacing[3],this.updateButtonStates(),a=p(e,l),this.alignButtonGroup(a),n.placed=e.placed=o.hasLoaded}e=0,r&&(e=p(r,c),"left"===c.align?f=u:"right"===c.align&&(f=-Math.max(o.axisOffset[1],-e)),r.align({y:c.y,width:r.getBBox().width,align:c.align,x:c.x+f-2},!0,o.spacingBox),r.placed=o.hasLoaded),this.handleCollision(e),n.align({verticalAlign:d},!0,o.spacingBox),r=n.alignAttr.translateY,e=n.getBBox().height+20,p=0,"bottom"===d&&(p=r-(e=e+(p=(p=o.legend&&o.legend.options)&&"bottom"===p.verticalAlign&&p.enabled&&!p.floating?o.legend.legendHeight+b(p.margin,10):0)-20)-(s.floating?0:s.y)-(o.titleOffset?o.titleOffset[2]:0)-10),"top"===d?(s.floating&&(p=0),o.titleOffset&&o.titleOffset[0]&&(p=o.titleOffset[0]),p+=o.margin[0]-o.spacing[0]||0):"middle"===d&&(c.y===l.y?p=r:(c.y||l.y)&&(p=0>c.y||0>l.y?p-Math.min(c.y,l.y):r-e)),n.translate(s.x,s.y+Math.floor(p)),l=this.minInput,c=this.maxInput,r=this.dropdown,s.inputEnabled&&l&&c&&(l.style.marginTop=n.translateY+"px",c.style.marginTop=n.translateY+"px"),r&&(r.style.marginTop=n.translateY+"px")}},e.prototype.alignButtonGroup=function(t,e){var i=this.chart,o=this.buttonGroup,n=this.options.buttonPosition,r=i.plotLeft-i.spacing[3],s=n.x-i.spacing[3];"right"===n.align?s+=t-r:"center"===n.align&&(s-=r/2),o&&o.align({y:n.y,width:b(e,this.initialButtonGroupWidth),align:n.align,x:s},!0,i.spacingBox)},e.prototype.positionButtons=function(){var t=this.buttons,e=this.chart,i=this.options,o=this.zoomText,n=e.hasLoaded?"animate":"attr",r=i.buttonPosition,s=e.plotLeft,a=s;
2o&&"hidden"!==o.visibility&&(o[n]({x:b(s+r.x,s)}),a+=r.x+o.getBBox().width+5),this.buttonOptions.forEach(function(e,o){"hidden"!==t[o].visibility?(t[o][n]({x:a}),a+=t[o].width+i.buttonSpacing):t[o][n]({x:s})})},e.prototype.handleCollision=function(t){var e=this,i=this.chart,o=this.buttonGroup,n=this.inputGroup,r=this.options,s=r.buttonPosition,a=r.dropdown,l=r.inputPosition;r=function(){var t=0;return e.buttons.forEach(function(e){(e=e.getBBox()).width>t&&(t=e.width)}),t};var h=function(e){if(n&&o){var i=n.alignAttr.translateX+n.alignOptions.x-t+n.getBBox().x+2,r=n.alignOptions.width,a=o.alignAttr.translateX+o.getBBox().x;return a+e>i&&i+r>a&&s.y<l.y+n.getBBox().height}return!1},c=function(){n&&o&&n.attr({translateX:n.alignAttr.translateX+(i.axisOffset[1]>=-t?0:-t),translateY:n.alignAttr.translateY+o.getBBox().height+10})};if(o){if("always"===a)return this.collapseButtons(t),void(h(r())&&c());"never"===a&&this.expandButtons()}n&&o?l.align===s.align||h(this.initialButtonGroupWidth+20)?"responsive"===a?(this.collapseButtons(t),h(r())&&c()):c():"responsive"===a&&this.expandButtons():o&&"responsive"===a&&(this.initialButtonGroupWidth>i.plotWidth?this.collapseButtons(t):this.expandButtons())},e.prototype.collapseButtons=function(t){var e=this.buttons,i=this.buttonOptions,o=this.chart,n=this.dropdown,r=this.options,s=this.zoomText,a=o.userOptions.rangeSelector&&o.userOptions.rangeSelector.buttonTheme||{},l=function(t){return{text:t?t+" â¾":"â¾",width:"auto",paddingLeft:b(r.buttonTheme.paddingLeft,a.padding,8),paddingRight:b(r.buttonTheme.paddingRight,a.padding,8)}};s&&s.hide();var h=!1;i.forEach(function(t,i){2!==(i=e[i]).state?i.hide():(i.show(),i.attr(l(t.text)),h=!0)}),h||(n&&(n.selectedIndex=0),e[0].show(),e[0].attr(l(this.zoomText&&this.zoomText.textStr))),i=r.buttonPosition.align,this.positionButtons(),"right"!==i&&"center"!==i||this.alignButtonGroup(t,e[this.currentButtonIndex()].getBBox().width),this.showDropdown()},e.prototype.expandButtons=function(){var t=this.buttons,e=this.buttonOptions,i=this.options,o=this.zoomText;this.hideDropdown(),o&&o.show(),e.forEach(function(e,o){(o=t[o]).show(),o.attr({text:e.text,width:i.buttonTheme.width||28,paddingLeft:b(i.buttonTheme.paddingLeft,"unset"),paddingRight:b(i.buttonTheme.paddingRight,"unset")}),2>o.state&&o.setState(0)}),this.positionButtons()},e.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0<t.selectedIndex?t.selectedIndex-1:0},e.prototype.showDropdown=function(){var t=this.buttonGroup,e=this.buttons,i=this.chart,o=this.dropdown;if(t&&o){var n=t.translateX;t=t.translateY,e=e[this.currentButtonIndex()].getBBox(),h(o,{left:i.plotLeft+n+"px",top:t+.5+"px",width:e.width+"px",height:e.height+"px"}),this.hasVisibleDropdown=!0}},e.prototype.hideDropdown=function(){var t=this.dropdown;t&&(h(t,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)},e.prototype.getHeight=function(){var t=this.options,e=this.group,i=t.y,o=t.buttonPosition.y,n=t.inputPosition.y;return t.height?t.height:(this.alignElements(),t=e?e.getBBox(!0).height+13+i:0,e=Math.min(n,o),(0>n&&0>o||0<n&&0<o)&&(t+=Math.abs(e)),t)},e.prototype.titleCollision=function(t){return!(t.options.title.text||t.options.subtitle.text)},e.prototype.update=function(t){var e=this.chart;v(!0,e.options.rangeSelector,t),this.destroy(),this.init(e),this.render()},e.prototype.destroy=function(){var t=this,i=t.minInput,o=t.maxInput;t.eventsToUnbind&&(t.eventsToUnbind.forEach(function(t){return t()}),t.eventsToUnbind=void 0),d(t.buttons),i&&(i.onfocus=i.onblur=i.onchange=null),o&&(o.onfocus=o.onblur=o.onchange=null),y(t,function(i,o){i&&"chart"!==o&&(i instanceof n?i.destroy():i instanceof window.HTMLElement&&p(i)),i!==e.prototype[o]&&(t[o]=null)},this)},e}();if(S.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],S.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"},t.prototype.minFromRange=function(){var t=this.range,e=t.type,i=this.max,o=this.chart.time,n=function(t,i){var n="year"===e?"FullYear":"Month",r=new o.Date(t),s=o.get(n,r);return o.set(n,r,s+i),s===o.get(n,r)&&o.set("Date",r,0),r.getTime()-t};
2if(m(t))var r=i-t,s=t;else r=i+n(i,-t.count),this.chart&&(this.chart.fixedRange=i-r);var a=b(this.dataMin,Number.MIN_VALUE);return m(r)||(r=a),r<=a&&(r=a,void 0===s&&(s=n(r,t.count)),this.newMax=Math.min(r+s,this.dataMax)),m(i)||(r=void 0),r},!i.RangeSelector){var C=[],T=function(t){function e(){s&&(i=t.xAxis[0].getExtremes(),o=t.legend,r=s&&s.options.verticalAlign,m(i.min)&&s.render(i.min,i.max),o.display&&"top"===r&&r===o.options.verticalAlign&&((n=v(t.spacingBox)).y="vertical"===o.options.layout?t.plotTop:n.y+s.getHeight(),o.group.placed=!1,o.align(n)))}var i,o,n,r,s=t.rangeSelector;s&&(f(C,function(e){return e[0]===t})||C.push([t,[a(t.xAxis[0],"afterSetExtremes",function(t){s&&s.render(t.min,t.max)}),a(t,"redraw",e)]]),e())};a(e,"afterGetContainer",function(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new S(this))}),a(e,"beforeRender",function(){var t=this.axes,e=this.rangeSelector;e&&(m(e.deferredYTDClick)&&(e.clickButton(e.deferredYTDClick),delete e.deferredYTDClick),t.forEach(function(t){t.updateNames(),t.setScale()}),this.getAxisMargins(),e.render(),t=e.options.verticalAlign,e.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0)))}),a(e,"update",function(t){var e=t.options.rangeSelector;t=this.rangeSelector;var i=this.extraBottomMargin,o=this.extraTopMargin;e&&e.enabled&&!c(t)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=t=new S(this)),this.extraTopMargin=this.extraBottomMargin=!1,t&&(T(this),e=e&&e.verticalAlign||t.options&&t.options.verticalAlign,t.options.floating||("bottom"===e?this.extraBottomMargin=!0:"middle"!==e&&(this.extraTopMargin=!0)),this.extraBottomMargin!==i||this.extraTopMargin!==o)&&(this.isDirtyBox=!0)}),a(e,"render",function(){var t=this.rangeSelector;t&&!t.options.floating&&(t.render(),"bottom"===(t=t.options.verticalAlign)?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0))}),a(e,"getMargins",function(){var t=this.rangeSelector;t&&(t=t.getHeight(),this.extraTopMargin&&(this.plotTop+=t),this.extraBottomMargin&&(this.marginBottom+=t))}),e.prototype.callbacks.push(T),a(e,"destroy",function(){for(var t=0;t<C.length;t++){var e=C[t];
2if(e[0]===this){e[1].forEach(function(t){return t()}),C.splice(t,1);break}}}),i.RangeSelector=S}return S}),e(t,"Core/Chart/StockChart.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/FormatUtilities.js"],t["Core/DefaultOptions.js"],t["Core/Series/Series.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(t,e,i,o,n,r,s,a){function l(t,e){return"xAxis"===t?{minPadding:0,maxPadding:0,overscroll:0,ordinal:!0,title:{text:null},labels:{overflow:"justify"},showLastLabel:!0}:"yAxis"===t?{labels:{y:-2},opposite:b(e.opposite,!0),showLastLabel:!(!e.categories&&"category"!==e.type),title:{text:null}}:{}}function h(t,e){if("xAxis"===t){t=p();var i={type:"datetime",categories:void 0};return b(e.navigator&&e.navigator.enabled,t.navigator.enabled,!0)&&(i.startOnTick=!1,i.endOnTick=!1),i}return{}}var c=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),d=o.format,p=n.getOptions;t=a.addEvent;
2var u=a.clamp,f=a.defined,g=a.extend,m=a.find,v=a.isNumber,y=a.isString,x=a.merge,b=a.pick,w=a.splat;return a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.init=function(e,i){var o=p(),n=e.xAxis,r=e.yAxis,s=b(e.navigator&&e.navigator.enabled,o.navigator.enabled,!0);e.xAxis=e.yAxis=void 0,s=x({chart:{panning:{enabled:!0,type:"x"},pinchType:"x"},navigator:{enabled:s},scrollbar:{enabled:b(o.scrollbar&&o.scrollbar.enabled,!0)},rangeSelector:{enabled:b(o.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:b(o.tooltip.split,!0),crosshairs:!0},legend:{enabled:!1}},e,{isStock:!0}),e.xAxis=n,e.yAxis=r,s.xAxis=w(e.xAxis||{}).map(function(t,i){return x(l("xAxis",t),o.xAxis,o.xAxis&&o.xAxis[i],t,h("xAxis",e))}),s.yAxis=w(e.yAxis||{}).map(function(t,e){return x(l("yAxis",t),o.yAxis,o.yAxis&&o.yAxis[e],t)}),t.prototype.init.call(this,s,i)},e.prototype.createAxis=function(e,i){return i.axis=x(l(e,i.axis),i.axis,h(e,this.userOptions)),t.prototype.createAxis.call(this,e,i)},e}(i),function(t){t.stockChart=function(e,i,o){return new t(e,i,o)}}(a||(a={})),t(r,"setOptions",function(t){var e;this.chart.options.isStock&&(this.is("column")||this.is("columnrange")?e={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(e={marker:{enabled:!1,radius:2}}),e&&(t.plotOptions[this.type]=x(t.plotOptions[this.type],e)))}),t(e,"autoLabelAlign",function(t){var e=this.chart,i=this.options;e=e._labelPanes=e._labelPanes||{};var o=this.options.labels;this.chart.options.isStock&&"yAxis"===this.coll&&!e[i=i.top+","+i.height]&&o.enabled&&(15===o.x&&(o.x=0),void 0===o.align&&(o.align="right"),e[i]=this,t.align="right",t.preventDefault())}),t(e,"destroy",function(){var t=this.chart,e=this.options&&this.options.top+","+this.options.height;e&&t._labelPanes&&t._labelPanes[e]===this&&delete t._labelPanes[e]}),t(e,"getPlotLinePath",function(t){var e,i,o,n,r=this,s=this.isLinked&&!this.series?this.linkedParent.series:this.series,a=r.chart,l=a.renderer,h=r.left,c=r.top,d=[],p=[],g=t.translatedValue,x=t.value,w=t.force;if(a.options.isStock&&!1!==t.acrossPanes&&"xAxis"===r.coll||"yAxis"===r.coll){t.preventDefault(),p=function(t){var e="xAxis"===t?"yAxis":"xAxis";return t=r.options[e],v(t)?[a[e][t]]:y(t)?[a.get(t)]:s.map(function(t){return t[e]})}(r.coll),(r.isXAxis?a.yAxis:a.xAxis).forEach(function(t){if(!f(t.options.id)||-1===t.options.id.indexOf("navigator")){var e=t.isXAxis?"yAxis":"xAxis";e=f(t.options[e])?a[e][t.options[e]]:a[e][0],r===e&&p.push(t)}});var k=p.length?[]:[r.isXAxis?a.yAxis[0]:a.xAxis[0]];p.forEach(function(t){-1!==k.indexOf(t)||m(k,function(e){return e.pos===t.pos&&e.len===t.len})||k.push(t)});var S=b(g,r.translate(x,null,null,t.old));v(S)&&(r.horiz?k.forEach(function(t){var s;i=t.pos,n=i+t.len,e=o=Math.round(S+r.transB),"pass"!==w&&(e<h||e>h+r.width)&&(w?e=o=u(e,h,h+r.width):s=!0),s||d.push(["M",e,i],["L",o,n])}):k.forEach(function(t){var s;e=t.pos,o=e+t.len,i=n=Math.round(c+r.height-S),"pass"!==w&&(i<c||i>c+r.height)&&(w?i=n=u(i,c,c+r.height):s=!0),s||d.push(["M",e,i],["L",o,n])})),t.path=0<d.length?l.crispPolyLine(d,t.lineWidth||1):null}}),s.prototype.crispPolyLine=function(t,e){for(var i=0;i<t.length;i+=2){var o=t[i],n=t[i+1];o[1]===n[1]&&(o[1]=n[1]=Math.round(o[1])-e%2/2),o[2]===n[2]&&(o[2]=n[2]=Math.round(o[2])+e%2/2)}return t},t(e,"afterHideCrosshair",function(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())}),t(e,"afterDrawCrosshair",function(t){var e,i;if(this.crosshair&&this.crosshair.label&&this.crosshair.label.enabled&&this.cross&&v(this.min)&&v(this.max)){var o=this.chart,n=this.logarithmic,r=this.crosshair.label,s=this.horiz,a=this.opposite,l=this.left,h=this.top,c=this.crossLabel,p=r.format,u="",f="inside"===this.options.tickPosition,m=!1!==this.crosshair.snap,y=0,x=t.e||this.cross&&this.cross.e;t=t.point;var w=this.min,k=this.max;n&&(w=n.lin2log(w),k=n.lin2log(k)),n=s?"center":a?"right"===this.labelAlign?"right":"left":"left"===this.labelAlign?"left":"center",c||(c=this.crossLabel=o.renderer.label("",0,void 0,r.shape||"callout").addClass("highcharts-crosshair-label highcharts-color-"+(t?t.series.colorIndex:this.series[0]&&this.series[0].c
2olorIndex)).attr({align:r.align||n,padding:b(r.padding,8),r:b(r.borderRadius,3),zIndex:2}).add(this.labelGroup),o.styledMode||c.attr({fill:r.backgroundColor||t&&t.series&&t.series.color||"#666666",stroke:r.borderColor||"","stroke-width":r.borderWidth||0}).css(g({color:"#ffffff",fontWeight:"normal",fontSize:"11px",textAlign:"center"},r.style||{}))),s?(n=m?(t.plotX||0)+l:x.chartX,h+=a?0:this.height):(n=a?this.width+l:0,h=m?(t.plotY||0)+h:x.chartY),p||r.formatter||(this.dateTime&&(u="%b %d, %Y"),p="{value"+(u?":"+u:"")+"}"),u=m?this.isXAxis?t.x:t.y:this.toValue(s?x.chartX:x.chartY),m=t?t.series.isPointInside(t):v(u)&&u>w&&u<k,x="",p?x=d(p,{value:u},o):r.formatter&&v(u)&&(x=r.formatter.call(this,u)),c.attr({text:x,x:n,y:h,visibility:m?"visible":"hidden"}),r=c.getBBox(),v(c.y)&&(s?(f&&!a||!f&&a)&&(h=c.y-r.height):h=c.y-r.height/2),s?(e=l-r.x,i=l+this.width-r.x):(e="left"===this.labelAlign?l:0,i="right"===this.labelAlign?l+this.width:o.chartWidth),c.translateX<e&&(y=e-c.translateX),c.translateX+r.width>=i&&(y=-(c.translateX+r.width-i)),c.attr({x:n+y,y:h,anchorX:s?n:this.opposite?0:o.chartWidth,anchorY:s?this.opposite?o.chartHeight:0:h+r.height/2})}}),r.prototype.forceCropping=function(){var t=this.chart,e=this.options.dataGrouping;return!1!==this.allowDG&&e&&b(e.enabled,t.options.isStock)},t(i,"update",function(t){"scrollbar"in(t=t.options)&&this.navigator&&(x(!0,this.options.scrollbar,t.scrollbar),this.navigator.update({},!1),delete t.scrollbar)}),a}),e(t,"masters/modules/stock.src.js",[t["Core/Globals.js"],t["Core/Axis/OrdinalAxis.js"],t["Series/DataModifyComposition.js"],t["Core/Scrollbar.js"],t["Core/Chart/StockChart.js"]],function(t,e,i,o,n){t.Scrollbar=o,t.StockChart=t.stockChart=n.stockChart,o.compose(t.Axis),e.compose(t.Axis,t.Series,t.Chart),i.compose(t.Series,t.Axis,t.Point)})},t.exports?(r.default=r,t.exports=r):(o=[i(4783)],void 0===(n=function(t){return r(t),r.Highcharts=t,r}.apply(e,o))||(t.exports=n))},9034(){},1932(){},3222(t,e,i){t.exports=i(2e3)},6789(t,e,i){"use strict";var o=i(8187),n=i(8893),r=i(1951),s=i(6653),a=i(3009),l=i(1914);t.exports=function(t){return new Promise(function(e,h){var c=t.data,d=t.headers;o.isFormData(c)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var u=t.auth.username||"",f=t.auth.password||"";d.Authorization="Basic "+btoa(u+":"+f)}if(p.open(t.method.toUpperCase(),r(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var i="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:i,config:t,request:p};n(e,h,o),p=null}},p.onabort=function(){p&&(h(l("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){h(l("Network Error",t,null,p)),p=null},p.ontimeout=function(){h(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",p)),p=null},o.isStandardBrowserEnv()){var g=i(527),m=(t.withCredentials||a(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;m&&(d[t.xsrfHeaderName]=m)}if("setRequestHeader"in p&&o.forEach(d,function(t,e){void 0===c&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){p&&(p.abort(),h(t),p=null)}),void 0===c&&(c=null),p.send(c)})}},2e3(t,e,i){"use strict";var o=i(8187),n=i(2781),r=i(6010),s=i(4070);function a(t){var e=new r(t),i=n(r.prototype.request,e);return o.extend(i,r.prototype,e),o.extend(i,e),i}var l=a(i(9502));l.Axios=r,l.create=function(t){return a(s(l.defaults,t))},l.Cancel=i(5443),l.CancelToken=i(2410),l.isCancel=i(9367),l.all=function(t){return Promise.all(t)},l.spread=i(9885),t.exports=l,t.exports.default=l},5443(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")}
vendor: 12,146 bytes, line 2
2,e.prototype.__CANCEL__=!0,t.exports=e},2410(t,e,i){"use strict";var o=i(5443);function n(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var i=this;t(function(t){i.reason||(i.reason=new o(t),e(i.reason))})}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var t;return{token:new n(function(e){t=e}),cancel:t}},t.exports=n},9367(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},6010(t,e,i){"use strict";var o=i(8187),n=i(1951),r=i(8904),s=i(7387),a=i(4070);function l(t){this.defaults=t,this.interceptors={request:new r,response:new r}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method=t.method?t.method.toLowerCase():"get";var e=[s,void 0],i=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)i=i.then(e.shift(),e.shift());return i},l.prototype.getUri=function(t){return t=a(this.defaults,t),n(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(t){l.prototype[t]=function(e,i){return this.request(o.merge(i||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){l.prototype[t]=function(e,i,n){return this.request(o.merge(n||{},{method:t,url:e,data:i}))}}),t.exports=l},8904(t,e,i){"use strict";var o=i(8187);function n(){this.handlers=[]}n.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=n},1914(t,e,i){"use strict";var o=i(6310);t.exports=function(t,e,i,n,r){var s=new Error(t);return o(s,e,i,n,r)}},7387(t,e,i){"use strict";var o=i(8187),n=i(2112),r=i(9367),s=i(9502),a=i(8410),l=i(1011);function h(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return h(t),t.baseURL&&!a(t.url)&&(t.url=l(t.baseURL,t.url)),t.headers=t.headers||{},t.data=n(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return h(t),e.data=n(e.data,e.headers,t.transformResponse),e},function(e){return r(e)||(h(t),e&&e.response&&(e.response.data=n(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},6310(t){"use strict";t.exports=function(t,e,i,o,n){return t.config=e,i&&(t.code=i),t.request=o,t.response=n,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},4070(t,e,i){"use strict";var o=i(8187);t.exports=function(t,e){e=e||{};var i={};return o.forEach(["url","method","params","data"],function(t){void 0!==e[t]&&(i[t]=e[t])}),o.forEach(["headers","auth","proxy"],function(n){o.isObject(e[n])?i[n]=o.deepMerge(t[n],e[n]):void 0!==e[n]?i[n]=e[n]:o.isObject(t[n])?i[n]=o.deepMerge(t[n]):void 0!==t[n]&&(i[n]=t[n])}),o.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(o){void 0!==e[o]?i[o]=e[o]:void 0!==t[o]&&(i[o]=t[o])}),i}},8893(t,e,i){"use strict";var o=i(1914);t.exports=function(t,e,i){var n=i.config.validateStatus;!n||n(i.status)?t(i):e(o("Request failed with status code "+i.status,i.config,null,i.request,i))}},2112(t,e,i){"use strict";var o=i(8187);t.exports=function(t,e,i){return o.forEach(i,function(i){t=i(t,e)}),t}},9502(t,e,i){"use strict";var o=i(7629),n=i(8187),r=i(8169),s={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var l,h={adapter:((void 0!==o&&"[object process]"===Object.prototype.toString.call(o)||"undefined"!=typeof XMLHttpRequest)&&(l=i(6789)),l),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};h.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],function(t){h.headers[t]={}}),n.forEach(["post","put","patch"],function(t){h.headers[t]=n.merge(s)}),t.exports=h},2781(t){"use strict";t.exports=function(t,e){return function(){for(var i=new Array(arguments.length),o=0;o<i.length;o++)i[o]=arguments[o];return t.apply(e,i)}}},1951(t,e,i){"use strict";var o=i(8187);function n(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var r;if(i)r=i(e);else if(o.isURLSearchParams(e))r=e.toString();else{var s=[];o.forEach(e,function(t,e){null!=t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),s.push(n(e)+"="+n(t))}))}),r=s.join("&")}if(r){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+r}return t}},1011(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},527(t,e,i){"use strict";var o=i(8187);t.exports=o.isStandardBrowserEnv()?{write:function(t,e,i,n,r,s){var a=[];a.push(t+"="+encodeURIComponent(e)),o.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),o.isString(n)&&a.push("path="+n),o.isString(r)&&a.push("domain="+r),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},8410(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},3009(t,e,i){"use strict";var o=i(8187);t.exports=o.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function n(t){var o=t;return e&&(i.setAttribute("href",o),o=i.href),i.setAttribute("href",o),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=n(window.location.href),function(e){var i=o.isString(e)?n(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}},8169(t,e,i){"use strict";var o=i(8187);t.exports=function(t,e){o.forEach(t,function(i,o){o!==e&&o.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[o])})}},6653(t,e,i){"use strict";var o=i(8187),n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,i,r,s={};return t?(o.forEach(t.split("\n"),function(t){if(r=t.indexOf(":"),e=o.trim(t.substr(0,r)).toLowerCase(),i=o.trim(t.substr(r+1)),e){if(s[e]&&n.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([i]):s[e]?s[e]+", "+i:i}}),s):s}},9885(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},8187(t,e,i){"use strict";var o=i(2781),n=i(9579),r=Object.prototype.toString;function s(t){return"[object Array]"===r.call(t)}function a(t){return null!==t&&"object"==typeof t}function l(t){return"[object Function]"===r.call(t)}function h(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),s(t))for(var i=0,o=t.length;i<o;i++)e.call(null,t[i],i,t);else for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.call(null,t[n],n,t)}t.exports={isArray:s,isArrayBuffer:function(t){return"[object ArrayBuffer]"===r.call(t)},isBuffer:n,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===r.call(t)},isFile:function(t){return"[object File]"===r.call(t)},isBlob:function(t){return"[object Blob]"===r.call(t)},isFunction:l,isStream:function(t){return a(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:h,merge:function t(){var e={};function i(i,o){"object"==typeof e[o]&&"object"==typeof i?e[o]=t(e[o],i):e[o]=i}for(var o=0,n=arguments.length;o<n;o++)h(arguments[o],i);return e},deepMerge:function t(){var e={};function i(i,o){"object"==typeof e[o]&&"object"==typeof i?e[o]=t(e[o],i):e[o]="object"==typeof i?t({},i):i}for(var o=0,n=arguments.length;o<n;o++)h(arguments[o],i);return e},extend:function(t,e,i){return h(e,function(e,n){t[n]=i&&"function"==typeof e?o(e,i):e}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},9579(t){t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},7629(t){var e,i,o=t.exports={};function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(i){try{return e.call(null,t,0)}catch(i){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:n}catch(t){e=n}try{i="function"==typeof clearTimeout?clearTimeout:r}catch(t){i=r}}();var a,l=[],h=!1,c=-1;function d(){h&&a&&(h=!1,a.length?l=a.concat(l):c=-1,l.length&&p())}function p(){if(!h){var t=s(d);h=!0;for(var e=l.length;e;){for(a=l,l=[];++c<e;)a&&a[c].run();c=-1,e=l.length}a=null,h=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===r||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function u(t,e){this.fun=t,this.array=e}function f(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];l.push(new u(t,e)),1!==l.length||h||s(p)},u.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=f,o.addListener=f,o.once=f,o.off=f,o.removeListener=f,o.removeAllListeners=f,o.emit=f,o.prependListener=f,o.prependOnceListener=f,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},1669(t){"use strict";
vendor: 1,630 bytes, lines 2-3
2t.exports=jQuery}},i={};function o(t){var n=i[t];if(void 0!==n)return n.exports;var r=i[t]={id:t,loaded:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=e,t=[],o.O=(e,i,n,r)=>{if(!i){var s=1/0;for(c=0;c<t.length;c++){for(var[i,n,r]=t[c],a=!0,l=0;l<i.length;l++)(!1&r||s>=r)&&Object.keys(o.O).every(t=>o.O[t](i[l]))?i.splice(l--,1):(a=!1,r<s&&(s=r));if(a){t.splice(c--,1);var h=n();void 0!==h&&(e=h)}}return e}r=r||0;for(var c=t.length;c>0&&t[c-1][2]>r;c--)t[c]=t[c-1];t[c]=[i,n,r]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{var t={426:0,705:0,899:0};o.O.j=e=>0===t[e];var e=(e,i)=>{var n,r,[s,a,l]=i,h=0;if(s.some(e=>0!==t[e])){for(n in a)o.o(a,n)&&(o.m[n]=a[n]);if(l)var c=l(o)}for(e&&e(i);h<s.length;h++)r=s[h],o.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return o.O(c)},i=self.webpackChunk=self.webpackChunk||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})(),o.O(void 0,[705,899],()=>o(3916)),o.O(void 0,[705,899],()=>o(9034));var n=o.O(void 0,[705,899],()=>o(1932));n=o.O(n)})(); 3//# sourceMappingURL=app.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.