PageSourceSearch

https://atlasculture.fr/packs/js/data_view-c1932b6520777a802112.js

js atlasculture.fr collected 2026-10-05 09:48:09 UTC 611,789 bytes, 3 lines download raw bytes

1/*! For license information please see data_view-c1932b6520777a802112.js.LICENSE.txt */
2!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/packs/",i(i.s=29)}({1:function(t,e,i){var n,o,r;o="undefined"!==typeof window?window:this,r=function(t){function e(e,i,n,o){e.hasOwnProperty(i)||(e[i]=o.apply(null,n),"function"===typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:e[i]}})))}var i={};return e(i,"Core/Globals.js",[],(function(){var e;return function(e){e.SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.3.1",e.win="undefined"!==typeof t?t:{},e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&4>parseInt(e.userAgent.split("Firefox/")[1],10),e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=function(){var t=!1;if(!e.isMS){var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,i),e.win.removeEventListener("testPassive",e.noop,i))}return t}(),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0}(e||(e={})),e})),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],(function(t){function e(i,n,o,r){var s=n?"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("undefined"!==typeof r){var c="";a&&(h+="?"),m(r,(function(t,e){c+="\n - ".concat(e,": ").concat(t),a&&(h+=encodeURI(e)+"="+encodeURI(t))})),h+=c}v(t,"displayError",{chart:o,code:i,message:h,params:r},(function(){if(n)throw Error(h);w.console&&-1===e.messages.indexOf(h)&&console.warn(h)})),e.messages.push(h)}function i(t,e){return parseInt(t,e||10)}function n(t){return"string"===typeof t}function o(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function r(t,e){return!!t&&"object"===typeof t&&(!e||!o(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"undefined"!==typeof t&&null!==t}function c(t,e,i){var o,r=n(e)&&!h(i),s=function(e,i){h(e)?t.setAttribute(i,e):r?(o=t.getAttribute(i))||"class"!==i||(o=t.getAttribute(i+"Name")):t.removeAttribute(i)};return n(e)?s(i,e):m(e,s),o}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 n=t[i];if("undefined"!==typeof n&&null!==n)return n}}function u(e,i){t.isMS&&!t.svg&&i&&h(i.opacity)&&(i.filter="alpha(opacity=".concat(100*i.opacity,")")),d(e.style,i)}function f(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function g(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,i){for(var n in t)Object.hasOwnProperty.call(t,n)&&e.call(i||t[n],t[n],n,t)}function y(e,i,n){function o(i,n){var o=e.removeEventListener||t.removeEventListenerPolyfill;o&&o.call(e,i,n,!1)}function r(t){var n;if(e.nodeName){if(i){var r={};r[i]=!0}else r=t;m(r,(function(e,i){if(t[i])for(n=t[i].length;n--;)o(i,t[i][n].fn)}))}}var s="function"===typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(s,"hcEvents")){var a=s.hcEvents;i?(s=a[i]||[],n?(a[i]=s.filter((function(t){return n!==t.fn})),o(i,n)):(r(a),a[i]=[])):(r(a),delete s.hcEvents)}}function v(e,i,n,o){if(n=n||{}
2,b.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var r=b.createEvent("Events");r.initEvent(i,!0,!0),n=d(r,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(i,n)}else if(e.hcEvents){n.target||d(n,{preventDefault:function(){n.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,n)&&n.preventDefault()}))}o&&!n.defaultPrevented&&o.call(e,n)}var x=t.charts,b=t.doc,w=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var S=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var i,n=t.length;for(i=0;i<n;i++)if(e(t[i],i))return t[i]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(i,n){t[n]=function(t){var o;return e(32,!1,void 0,((o={})["Highcharts.".concat(n)]="use Array.".concat(i),o)),Array.prototype[i].apply(t,[].slice.call(arguments,1))}}));var C,k=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(C?"":t)+e++}}();return w.jQuery&&(w.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[n(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):x[c(this[0],"data-highcharts-chart")]}),S={addEvent:function(e,i,n,o){void 0===o&&(o={});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,n,!!t.supportsPassiveEvents&&{passive:void 0===o.passive?-1!==i.indexOf("touch"):o.passive,capture:!1}),r[i]||(r[i]=[]),r[i].push({fn:n,order:"number"===typeof o.order?o.order:1/0}),r[i].sort((function(t,e){return t.order-e.order})),function(){y(e,i,n)}},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},attr:c,clamp:function(t,e,i){return t>e?t<i?t:i:e},cleanRecursively:function t(e,i){var n={};return m(e,(function(o,s){r(e[s],!0)&&!e.nodeType&&i[s]?(o=t(e[s],i[s]),Object.keys(o).length&&(n[s]=o)):(r(e[s])||e[s]!==i[s]||s in e&&!(s in i))&&(n[s]=e[s])})),n},clearTimeout:function(t){h(t)&&clearTimeout(t)},correctFloat:g,createElement:function(t,e,i,n,o){return t=b.createElement(t),e&&d(t,e),o&&u(t,{padding:"0",border:"none",margin:"0"}),i&&u(t,i),n&&n.appendChild(t),t},css:u,defined:h,destroyObjectProperties:function(t,e){m(t,(function(i,n){i&&i!==e&&i.destroy&&i.destroy(),delete t[n]}))},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:S,fireEvent:v,getMagnitude:f,getNestedProperty:function(t,e){for(t=t.split(".");t.length&&h(e);){var i=t.shift();if("undefined"===typeof i||"__proto__"===i)return;
2if(!h(e=e[i])||"function"===typeof e||"number"===typeof e.nodeType||e===w)return}return e},getStyle:function n(o,r,s){var a=t.getStyle||n;if("width"===r)return r=Math.min(o.offsetWidth,o.scrollWidth),(s=o.getBoundingClientRect&&o.getBoundingClientRect().width)<r&&s>=r-1&&(r=Math.floor(s)),Math.max(0,r-(a(o,"padding-left",!0)||0)-(a(o,"padding-right",!0)||0));if("height"===r)return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(a(o,"padding-top",!0)||0)-(a(o,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),o=w.getComputedStyle(o,void 0)){var l=o.getPropertyValue(r);p(s,"opacity"!==r)&&(l=i(l))}return l},inArray:function(t,i,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,n)},isArray:o,isClass:a,isDOMElement:s,isFunction:function(t){return"function"===typeof t},isNumber:l,isObject:r,isString:n,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,i={},n=function(t,e){return"object"!==typeof t&&(t={}),m(e,(function(i,o){"__proto__"!==o&&"constructor"!==o&&(!r(i,!0)||a(i)||s(i)?t[o]=e[o]:t[o]=n(t[o]||{},i))})),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var o=e.length;for(t=0;t<o;t++)i=n(i,e[t]);return i},normalizeTickInterval:function(t,e,i,n,o){var r=t,s=t/(i=p(i,f(t)));for(e||(e=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===i?e=e.filter((function(t){return 0===t%1})):.1>=i&&(e=[1/i]))),n=0;n<e.length&&(r=e[n],!(o&&r*i>=t||!o&&s<=(e[n]+(e[n+1]||e[n]))/2));n++);return g(r*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=b.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.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:y,splat:function(t){return o(t)?t:[t]},stableSort:function(t,e){var i,n,o=t.length;for(n=0;n<o;n++)t[n].safeI=n;for(t.sort((function(t,n){return 0===(i=e(t,n))?t.safeI-n.safeI:i})),n=0;n<o;n++)delete t[n].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:k,useSerialIds:function(t){return C=p(t,C)},wrap:function(t,e,i){var n=t[e];t[e]=function(){var t=arguments,e=this;return i.apply(this,[function(){return n.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}},S})),e(i,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},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,n=e.merge,o=e.pInt;return e=function(){function e(i){this.rgba=[NaN,NaN,NaN,NaN],this.input=i;var n=t.Color;return n&&n!==e?new n(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&&"undefined"!==typeof 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 n=t.length,o=parseInt(t.substr(1),16);7===n?i=[(16711680&o)>>16,(65280&o)>>8,255&o,1]:4===n&&(i=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])}if(!i)for(o=e.parsers.length;o--&&!i;){var r=e.parsers[o];(n=r.regex.exec(t))&&(i=r.parse(n))}}i&&(this.rgba=i)},e.prototype.get=function(t){var e=this.input,o=this.rgba;if("object"===typeof e&&"undefined"!==typeof this.stops){var r=n(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 o&&i(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?"".concat(o[3]):"rgba("+o.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 n=0;3>n;n++)e[n]+=o(255*t),0>e[n]&&(e[n]=0),255<e[n]&&(e[n]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var n=this.rgba,o=t.rgba;return i(n[0])&&i(o[0])?((t=1!==o[3]||1!==n[3])?"rgba(":"rgb(")+Math.round(o[0]+(n[0]-o[0])*(1-e))+","+Math.round(o[1]+(n[1]-o[1])*(1-e))+","+Math.round(o[2]+(n[2]-o[2])*(1-e))+(t?","+(o[3]+(n[3]-o[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[o(t[1]),o(t[2]),o(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[o(t[1]),o(t[2]),o(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,n=e.defined,o=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(),n=i-this.getTimezoneOffset(e);return e.setTime(n),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 n=this.getTimezoneOffset(e);return n=e.getTime()-n,e.setTime(n),e["setUTC"+t](i),t=this.getTimezoneOffset(e),n=e.getTime()+t,e.setTime(n)}return this.useUTC||u&&"FullYear"===t?e["setUTC"+t](i):e["set"+t](i)},e.prototype.update=function(t){void 0===t&&(t={});var e=c(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||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,i,n,o,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(n,0),c(o,0),c(r,0)).getTime();return s},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=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()};o(25)}return this.useUTC&&n?function(t){return 6e4*n(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,i,o){if(!n(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,y=m&&m.weekdays,v=m&&m.shortWeekdays;return a=r({a:v?v[p]:y[p].substr(0,3),A:y[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,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"===typeof t?t.call(s,i):t)})),o?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,o){var s,a=this,l=[],h={},d=new a.Date(e),u=t.unitRange,f=t.count||1;if(o=c(o,1),n(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+o+(g<o?-7:0))),g=a.get("FullYear",d),o=a.get("Month",d);var m=a.get("Date",d),y=a.get("Hours",d);for(e=d.getTime(),!a.variableTimezone&&a.useUTC||!n(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,o+d*f):!s||u!==p.day&&u!==p.week?s&&u===p.hour&&1<f?a.makeTime(g,o,m,y+d*f):e+u*f:a.makeTime(g,o,m+d*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,n){var o=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"===o.substr(6)){var a="week";break}if(p[a]>t){a=s;break}if(r[a]&&o.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(s=a)}return this.resolveDTLFormat(n[a]).main},e}(),e})),e(i,"Core/Defaults.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,
2i,n,o,r){e=e.parse;var s=r.merge,a={colors:n.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}">\u25cf</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 o(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 n=t.parse,o=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,n=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var o=0;o<t.length;o++){for(var s=e[o],a=t[o],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}n.push(l)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,i=this.now,n=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,n&&n.call(t,i,this)},t.prototype.run=function(e,i,n){var r=this,s=r.options,a=function(t){return!a.stopped&&r.step(t)},l=o.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=n,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,n=this.elem,o=i.complete,r=i.duration,a=i.curAnim;if(n.attr&&!n.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&&o&&o.call(n),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 n(t,e){for(;t.length<p;){var i=t[0],n=e[p-t.length];n&&"M"===i[0]&&(t[0]="C"===n[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 o(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}}"undefined"===typeof c&&(e=[])}if(e.length&&r(c)){var p=i.length+c*h;d?(n(e,i),o(i,e)):(n(i,e),o(e,i))}return[e,i]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,n(this.start).tweenTo(n(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 n(e,i){for(var n=t.timers.length;n--;)t.timers[n].elem!==e||i&&i!==t.timers[n].prop||(t.timers[n].stopped=!0)}var o=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,o){var d,p,u,f="";if(!l(o)){var g=arguments;o={duration:g[2],easing:g[3],complete:g[4]}}a(o.duration)||(o.duration=400),o.easing="function"===typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=h(i),c(i,(function(a,l){n(e,l),u=new t(e,o,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,n){var r=i(e),s=0,a=0;return(n?[n]:t.series).forEach((function(t){t=i(t.options.animation),s=e&&o(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:n}})),e(i,"Core/Renderer/HTML/AST.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.SVG_NS,n=e.attr,o=e.createElement,r=e.css,s=e.error,a=e.isFunction,l=e.isString,h=e.objectEach,c=e.splat,d=(e=t.win.trustedTypes)&&a(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),p=d?d.createHTML(""):"";try{var u=!!(new DOMParser).parseFromString(p,"text/html")}catch(f){u=!1}return a=function(){function e(t){this.nodes="string"===typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return h(t,(function(i,n){var o=!0;-1===e.allowedAttributes.indexOf(n)&&(o=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(o=l(i)&&e.allowedReferences.some((function(t){return 0===i.indexOf(t)}))),o||(s(33,!1,void 0,{"Invalid attribute in config":"".concat(n)}),delete t[n])})),t},e.parseStyle=function(t){return t.split(";").reduce((function(t,e){e=e.split(":").map((function(t){return t.trim()}));var i=e.shift();return i&&e.length&&(t[i.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))]=e.join(":")),t}),{})},e.setElementHTML=function(t,i){t.innerHTML=e.emptyHTML,i&&new e(i).addToDOM(t)},e.prototype.addToDOM=function(o){return function o(a,l){var d;return c(a).forEach((function(a){var c=a.tagName,p=a.textContent?t.doc.createTextNode(a.textContent):void 0,u=e.bypassHTMLFiltering;if(c)if("#text"===c)var f=p;
2else if(-1!==e.allowedTags.indexOf(c)||u){c=t.doc.createElementNS("svg"===c?i:l.namespaceURI||i,c);var g=a.attributes||{};h(a,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(g[e]=t)})),n(c,u?g:e.filterUserAttributes(g)),a.style&&r(c,a.style),p&&c.appendChild(p),o(a.children||[],c),f=c}else s(33,!1,void 0,{"Invalid tagName in config":c});f&&l.appendChild(f),d=f})),d}(this.nodes,o)},e.prototype.parseMarkup=function(t){var i=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),u)t=(new DOMParser).parseFromString(d?d.createHTML(t):t,"text/html");else{var n=o("div");n.innerHTML=t,t={body:n}}var r=function(t,i){var n=t.nodeName.toLowerCase(),o={tagName:n};if("#text"===n&&(o.textContent=t.textContent||""),n=t.attributes){var s={};[].forEach.call(n,(function(t){"data-style"===t.name?o.style=e.parseStyle(t.value):s[t.name]=t.value})),o.attributes=s}if(t.childNodes.length){var a=[];[].forEach.call(t.childNodes,(function(t){r(t,a)})),a.length&&(o.children=a)}i.push(o)};return[].forEach.call(t.body.childNodes,(function(t){return r(t,i)})),i},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 text-anchor 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 textPath thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=p,e.bypass
2HTMLFiltering=!1,e}(),a})),e(i,"Core/FormatUtilities.js",[i["Core/Defaults.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e,i,o){t=+t||0,e=+e;var r=n.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),o=a(o,r.thousandsSep),t=(0>t?"-":"")+(u?h.substr(0,u)+o:""),t=0>+c[1]&&!d?"0":t+h.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+o),e&&(t+=i+p.slice(-e)),c[1]&&0!==+t&&(t+="e"+c[1]),t}var n=t.defaultOptions,o=t.defaultTime,r=e.getNestedProperty,s=e.isNumber,a=e.pick,l=e.pInt;return{dateFormat:function(t,e,i){return o.dateFormat(t,e,i)},format:function(t,e,s){var a="{",l=!1,h=/f$/,c=/\.([0-9])/,d=n.lang,p=s&&s.time||o;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,n=t.pick,o=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(o(e,c),f=a=0;f<=h;)f+=e[a].size,a++;u=e.splice(a-1,e.length)}for(o(e,d),e=e.map((function(t){return{size:t.size,targets:[t.target],align:n(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,"undefined"!==typeof 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)}))})),o(l,d),l}}(e||(e={})),e})),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=t.animate,r=t.animObject,s=t.stop,a=i.deg2rad,l=i.doc,h=i.svg,c=i.SVG_NS,d=i.win,p=n.addEvent,u=n.attr,f=n.createElement,g=n.css,m=n.defined,y=n.erase,v=n.extend,x=n.fireEvent,b=n.isArray,w=n.isFunction,S=n.isString,C=n.merge,k=n.objectEach,T=n.pick,M=n.pInt,A=n.syncTimeout,P=n.uniqueKey;return t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=c,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY roun
2ded".split(" ")}return t.prototype._defaultGetter=function(t){return t=T(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,"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(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 n,o,r,s={},a=this.renderer,l=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||S(i))&&(this.alignTo=n=i||"renderer",y(l,this),l.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),i=T(i,a[n],"scrollablePlotBox"===n?a.plotBox:void 0,a),n=t.align;var h=t.verticalAlign;return a=(i.x||0)+(t.x||0),l=(i.y||0)+(t.y||0),"right"===n?o=1:"center"===n&&(o=2),o&&(a+=(i.width-(t.width||0))/o),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 n=this,s=r(T(e,this.renderer.globalAnimation,!0));return e=s.defer,T(l.hidden,l.msHidden,l.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),A((function(){n.element&&o(n,t,s)}),e)):(this.attr(t,void 0,i||s.complete),k(t,(function(t,e){s.step&&s.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 n=t.split(" ");if(t=n[n.length-1],(n=n[0])&&"none"!==n&&i.svg){this.fakeTS=!0,n=n.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,i){return 2*Number(e)+i})),this.removeTextOutline();var o=l.createElementNS(c,"tspan");u(o,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":n,"stroke-linejoin":"round"}),t=e.querySelector("textPath")||e,[].forEach.call(t.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),o.appendChild(e)}));var r=0;[].forEach.call(t.querySelectorAll("text tspan"),(function(t){r+=Number(t.getAttribute("dy"))})),(n=l.createElementNS(c,"tspan")).textContent="\u200b",u(n,{x:Number(e.getAttribute("x")),dy:-r}),o.appendChild(n),t.insertBefore(o,t.firstChild)}},t.prototype.attr=function(t,e,i,n){var o,r,a,l=this.element,h=this.symbolCustomAttribs,c=this;if("string"===typeof t&&"undefined"!==typeof e){var d=t;(t={})[d]=e}return"string"===typeof t?c=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(k(t,(function(e,i){r=!1,n||s(this,i),this.symbolName&&-1!==h.indexOf(i)&&(o||(this.symbolAttr(t),o=!0),r=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),r||((a=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,a))}),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),m(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,i,n){var o,r,s,a,l,h,c,d,p,u,f,g=this.renderer,y=[];x(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=n.radialReference,b(s)&&(t[r]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===r&&p&&!m(s.gradientUnits)&&(a=s,s=C(s,g.getRadialAttr(p,a),{gradientUnits:"userSpaceOnUse"})),k(s,(function(t,e){"id"!==e&&y.push(e,t)})),k(h,(function(t){y.push(t)})),y=y.join(","),l[y])u=l[y].attr("id");else{s.id=u=P();var v=l[y]=g.createElement(r).attr(s).add(g.defs);v.radAttr=a,v.stops=[],h.forEach((function(t){0===t[1].indexOf("rgba")?(o=e.parse(t[1]),c=o.get("rgb"),d=o.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+")",n.setAttribute(i,f),n.gradient=y,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,i={},n=this.element,o=!e;if(t.color&&(t.fill=t.color),e&&k(t,(function(t,n){e&&e[n]!==t&&(i[n]=t,o=!0)})),o){if(e&&(t=v(e,i)),null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&t.width)var r=this.textWidth=M(t.width);this.styles=t,r&&!h&&this.renderer.forExport&&delete t.width;var s=C(t);n.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach((function(t){return s&&delete s[t]})),g(n,s),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),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]=""+M(i[t])*T(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,n=e.ownerSVGElement,o=i.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&n){var r=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(r.element.i
2d)&&t.removeAttribute("clip-path")})),t.clipPath=r.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),i.styledMode||t.destroyShadows();o&&o.div&&0===o.div.childNodes.length;)e=o.parentGroup,t.safeRemoveChild(o.div),delete o.div,o=e;t.alignTo&&y(i.alignedObjects,t),k(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.dSetter=function(t,e,i){b(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},{duration:T(t,150),complete:function(){e.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 n=this.alignValue,o=this.element,r=this.renderer,s=this.styles,l=this.textStr,h=r.cache,c=r.cacheKeys,d=o.namespaceURI===this.SVG_NS;i=T(i,this.rotation,0);var p,u=r.styledMode?o&&t.prototype.getStyle.call(o,"font-size"):s&&s.fontSize;if(m(l)){var f=l.toString();-1===f.indexOf("<")&&(f=f.replace(/[0-9]/g,"0")),f+=["",i,u,this.textWidth,n,s&&s.textOverflow,s&&s.fontWeight].join()}if(f&&!e&&(p=h[f]),!p){if(d||r.forExport){try{var y=this.fakeTS&&function(t){var e=o.querySelector(".highcharts-text-outline");e&&g(e,{display:t})};w(y)&&y("none"),p=o.getBBox?v({},o.getBBox()):{width:o.offsetWidth,height:o.offsetHeight,x:0,y:0},w(y)&&y("")}catch(b){}(!p||0>p.width)&&(p={x:0,y:0,width:0,height:0})}else p=this.htmlGetBBox();if(r.isSVG&&(r=p.width,e=p.height,d&&(p.height=e={"11px,17":14,"13px,20":16}[""+(u||"")+",".concat(Math.round(e))]||e),i)){d=Number(o.getAttribute("y")||0)-p.y,n={right:1,center:.5}[n||0]||0,s=i*a,u=(i-90)*a;var x=r*Math.cos(s);i=r*Math.sin(s),y=Math.cos(u),s=Math.sin(u),x=(y=(u=(r=p.x+n*(r-x)+d*y)+x)-e*y)-x,i=(e=(n=(d=p.y+d-n*i+d*s)+i)-e*s)-i,p.x=Math.min(r,u,y,x),p.y=Math.min(d,n,e,i),p.width=Math.max(r,u,y,x)-p.x,p.height=Math.max(d,n,e,i)-p.y}if(f&&(""===l||0<p.height)){for(;250<c.length;)delete h[c.shift()];h[f]||c.push(f),h[f]=p}}return p},t.prototype.getStyle=function(t){return d.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(){return this.attr({visibility:"hidden"})},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?f(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,x(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]=p(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(S(t)?new RegExp("(^| )".concat(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,e){var i=this;e=C(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);var n=this.renderer.url,o=this.text||this,r=o.textPath,s=e.attributes,a=e.enabled;return t=t||r&&r.path,r&&r.undo(),t&&a?(e=p(o,"afterModifyTree",(function(e){if(t&&a){var r=t.attr("id");r||t.attr("id",r=P());var l={x:0,y:0};m(s.dx)&&(l.dx=s.dx,delete s.dx),m(s.dy)&&(l.dy=s.dy,delete s.dy),o.attr(l),i.attr({transform:""}),i.box&&(i.box=i.box.destroy()),l=e.nodes.slice(0),e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:v(s,{"text-anchor":s.textAnchor,href:""+n+"#".concat(r)}),children:l}}}
2)),o.textPath={path:t,undo:e}):(o.attr({dx:0,dy:0}),delete o.textPath),this.added&&(o.textCache="",this.renderer.buildText(o)),this},t.prototype.shadow=function(t,e,i){var n,o=[],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?n=a:"object"===typeof t&&(n=v(a,t)),n&&(n&&s&&k(n,(function(t,e){t!==s[e]&&(l=!0)})),l&&this.destroyShadows(),this.oldShadowOptions=n),n){if(!this.shadows){var h=n.opacity/n.width,c=this.parentInverted?"translate(".concat(n.offsetY,", ").concat(n.offsetX,")"):"translate(".concat(n.offsetX,", ").concat(n.offsetY,")");for(a=1;a<=n.width;a++){var d=r.cloneNode(!1),p=2*n.width+1-2*a;u(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&&(u(d,"height",Math.max(u(d,"height")-p,0)),d.cutHeight=p),e?e.element.appendChild(d):r.parentNode&&r.parentNode.insertBefore(d,r),o.push(d)}this.shadows=o}}else this.destroyShadows();return this},t.prototype.show=function(t){return void 0===t&&(t=!0),this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,i,n){this[i]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.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=M(t);else if(""!==t){var i=l.createElementNS(c,"rect");u(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]=T(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]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=String(T(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/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 n=this.shadows;if(n)for(var o=n.length;o--;)i.call(n[o],"height"===t?Math.max(e-(n[o].cutHeight||0),0):"d"===t?this.d:e,t,n[o])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,n=this.rotation,o=this.matrix,r=this.element,s=this.translateX||0,a=this.translateY||0;i&&(s+=this.width,a+=this.height),s=["translate("+s+","+a+")"],m(o)&&s.push("matrix("+o.join(",")+")"),i?s.push("rotate(90) scale(-1,1)"):n&&s.push("rotate("+n+" "+T(this.rotationOriginX,r.getAttribute("x"),0)+" "+T(this.rotationOriginY,r.getAttribute("y")||0)+")"),(m(t)||m(e))&&s.push("scale("+T(t,1)+" "+T(e,1)+")"),s.length&&!(this.text||this).textPath&&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,n=this.parentGroup,o=(n||i).element||i.box,r=this.element;i=o===i.box;var s,a=!1,l=this.added;if(m(t)?(r.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):m(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&n&&(n.handleZ=!0),s=(e=o.childNodes).length-1;0<=s&&!a;s--){l=(n=e[s]).getAttribute("data-z-index");var h=!m(l);n!==r&&(0>t&&h&&!i&&!s?(o.insertBefore(r,e[s]),a=!0):(M(l)<=t||h&&(!m(t)||0<=t))&&(o.insertBefore(r,e[s+1]||null),a=!0))}a||(o.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(n,o,r){e.rendererTypes[n]=o,i&&!r||(i=n,t.Renderer=o)}}(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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=e.defined,o=e.extend,r=e.isNumber,s=e.merge,a=e.pick,l=e.removeEvent;return function(e){function h(t,i,n,o,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=n,u.y=o,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){"undefined"!==typeof e[t]&&(i[t]=e[t],delete e[t])})),this.text.css(i);var n="width"in i;"fontSize"in i||"fontWeight"in i?this.updateTextPadding():n&&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:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(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){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateTextPadding()},h.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,i={},s=this.padding,a=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!n(t.textStr)?h.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*s,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=s+Math.min((this.text.firstLineMetrics||e).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=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":"")),t.add(this)),t=this.getCrispAdjust(),i.x=t,i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(o(i,this.deferredAttr)),this.deferredAttr={})},h.prototype.updateTextPadding=function(){var t=this.text;if(!t.textPath){this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,i=a(this.paddingLeft,this.padding);n(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)),"undefined"!==typeof 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,n,r){var a=[];if(r){var l=r.start||0,h=s(r.r,i);i=s(r.r,n||i);var c=(r.end||0)-.001;n=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]),o(n)&&a.push(d?["M",t+n*f,e+n*g]:["L",t+n*f,e+n*g],["A",n,n,0,l,o(r.clockwise)?1-r.clockwise:0,t+n*p,e+n*u]),d||a.push(["Z"])}return a}function i(t,e,i,o,r){return r&&r.r?n(t,e,i,o,r):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function n(t,e,i,n,o){return[["M",t+(o=o&&o.r||0),e],["L",t+i-o,e],["C",t+i,e,t+i,e,t+i,e+o],["L",t+i,e+n-o],["C",t+i,e+n,t+i,e+n,t+i-o,e+n],["L",t+o,e+n],["C",t,e+n,t,e+n,t,e+n-o],["L",t,e+o],["C",t,e,t,e,t+o,e]]}var o=t.defined,r=t.isNumber,s=t.pick;return{arc:e,callout:function(t,e,i,o,s){var a=Math.min(s&&s.r||0,i,o),l=a+6,h=s&&s.anchorX;s=s&&s.anchorY||0;var c=n(t,e,i,o,{r:a});return r(h)?(t+h>=i?s>e+l&&s<e+o-l?c.splice(3,1,["L",t+i,s-6],["L",t+i+6,s],["L",t+i,s+6],["L",t+i,e+o-a]):c.splice(3,1,["L",t+i,o/2],["L",h,s],["L",t+i,o/2],["L",t+i,e+o-a]):0>=t+h?s>e+l&&s<e+o-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,o/2],["L",h,s],["L",t,o/2],["L",t,e+a]):s&&s>o&&h>t+l&&h<t+i-l?c.splice(5,1,["L",h+6,e+o],["L",h,e+o+6],["L",h-6,e+o],["L",t+a,e+o]):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,n,o){return e(t+n/2,i+o/2,n/2,o/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n/2],["L",t+i/2,e+n],["L",t,e+n/2],["Z"]]},rect:i,roundedRect:n,square:i,triangle:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,i,n){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+n],["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 n=e.doc,o=e.SVG_NS,r=e.win,s=i.attr,a=i.extend,l=i.fireEvent,h=i.isString,c=i.objectEach,d=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,o=e.renderer,r=d(e.textStr,"").toString(),s=-1!==r.indexOf("<"),a=i.childNodes;o=this.width&&!e.added&&o.box;var l=[r,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(l!==e.textCache){for(e.textCache=l,delete e.actualWidth,l=a.length;l--;)i.removeChild(a[l]);s||this.ellipsis||this.width||e.textPath||-1!==r.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(r))?""!==r&&(o&&o.appendChild(i),r=new t(r),this.modifyTree(r.nodes),r.addToDOM(i),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("\u2026")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),o&&o.removeChild(i)):i.appendChild(n.createTextNode(this.unescapeEntities(r))),h(this.textOutline)&&e.a
2pplyTextOutline&&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,n){t.nextSibling&&t.previousSibling&&(0===n&&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)+"\u2026"}));else if(d){for(h=[],d=[];r.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(n.createTextNode(e),t),(e=n.createElementNS(o,"tspan")).textContent="\u200b",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(n,o){var r=n.attributes;r=void 0===r?{}:r;var s=n.children,l=n.style;l=void 0===l?{}:l;var h=n.tagName,c=e.renderer.styledMode;"b"===h||"strong"===h?c?r.class="highcharts-strong":l.fontWeight="bold":"i"!==h&&"em"!==h||(c?r.class="highcharts-emphasized":l.fontStyle="italic"),l&&l.color&&(l.fill=l.color),"br"===h?(r.class="highcharts-br",n.textContent="\u200b",(o=t[o+1])&&o.textContent&&(o.textContent=o.textContent.replace(/^ +/gm,""))):"a"===h&&s&&s.some((function(t){return"#text"===t.tagName}))&&(n.children=[{children:s,tagName:"tspan"}]),"#text"!==h&&"a"!==h&&(n.tagName="tspan"),a(n,{attributes:r,style:l}),s&&s.filter((function(t){return"#text"!==t.tagName})).forEach(i)};t.forEach(i),l(this.svgElement,"afterModifyTree",{nodes:t})},e.prototype.truncate=function(t,e,i,n,o,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(o,s){s=s||o;var h=t.parentNode;if(h&&"undefined"===typeof c[s])if(h.getSubStringLength)try{c[s]=n+h.getSubStringLength(0,i?s+1:s)}catch(d){}else l.getSpanWidth&&(t.textContent=r(e||i,o),c[s]=n+l.getSpanWidth(a,t));return c[s]};a.rotation=0;var g=f(t.textContent.length);if(n+g>o){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>o?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 c(this.renderer.escapes,(function(i,n){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),n))})),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,n,o,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,y=i.SVG_NS,v=i.symbolSizes,x=i.win,b=l.addEvent,w=l.attr,S=l.createElement,C=l.css,k=l.defined,T=l.destroyObjectProperties,M=l.extend,A=l.isArray,P=l.isNumber,E=l.isObject,L=l.isString,_=l.merge,O=l.pick,D=l.pInt,j=l.uniqueKey;return i=function(){function i(t,e,i,n,o,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,n,o,r,s)}
2return i.prototype.init=function(t,e,i,n,o,r,s){var a,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),h=l.element;s||l.css(this.getStyle(n)),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 10.3.1")),this.defs=this.createElement("defs").add(),this.allowHTML=r,this.forExport=o,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),u&&t.getBoundingClientRect&&((e=function(){C(t,{left:0,top:0}),a=t.getBoundingClientRect(),C(t,{left:Math.ceil(a.left)-a.left+"px",top: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(!k(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(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body),C(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=M({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 1.05/(.05+(t=.2126*(t=e.parse(t).rgba.map((function(t){return.03928>=(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4)})))[0]+.7152*t[1]+.0722*t[2]))>(t+.05)/.05?"#FFFFFF":"#000000"},i.prototype.button=function(e,i,n,o,r,s,a,l,h,c){void 0===r&&(r={});var d=this.label(e,i,n,h,void 0,void 0,c,void 0,"button"),p=this.styledMode;e=r.states||{};var u=0;delete(r=_(r)).states;var g=_({color:"#333333",cursor:"pointer",fontWeight:"normal"},r.style);delete r.style;var m=t.filterUserAttributes(r);if(d.attr(_({padding:8,r:2},m)),!p){m=_({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},m);var y=(s=_(m,{fill:"#e6e6e6"},t.filterUserAttributes(s||e.hover||{}))).style;delete s.style;var v=(a=_(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(a||e.select||{}))).style;delete a.style;var x=(l=_(m,{style:{color:"#cccccc"}},t.filterUserAttributes(l||e.disabled||{}))).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([m,s,a,l][t||0]),E(t=[g,y,v,x][t||0])&&d.css(t))},p||(d.attr(m).css(M({cursor:"default"},g)),c&&d.text.css({pointerEvents:"none"})),d.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==u&&o.call(d,t)}))},i.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var n=t[0],o=t[1];return k(n[1])&&n[1]===o[1]&&(n[1]=o[1]=Math[i](n[1])-e%2/2),k(n[2])&&n[2]===o[2]&&(n[2]=o[2]=Math[i](n[2])+e%2/2),t},i.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return A(t)?e.d=t:E(t)&&M(e,t),this.createElement("path").attr(e)}
2,i.prototype.circle=function(t,e,i){return t=E(t)?t:"undefined"===typeof 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,n,o,r){return E(t)?(e=(n=t).y,i=n.r,t=n.x):n={innerR:n,start:o,end:r},(t=this.symbol("arc",t,e,i,i,n)).r=i,t},i.prototype.rect=function(t,e,i,n,o,r){o=E(t)?t.r:o;var s=this.createElement("rect");return t=E(t)?t:"undefined"===typeof t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(n,0)},this.styledMode||("undefined"!==typeof r&&(t["stroke-width"]=r,t=s.crisp(t)),t.fill="none"),o&&(t.r=o),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:O(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,n,o,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)};P(e)&&(s.x=e),P(i)&&(s.y=i),P(n)&&(s.width=n),P(o)&&(s.height=o);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,n,o,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),n||0,o||0,r));var f=this.path(s);a.styledMode||f.attr("fill","none"),M(f,{symbolName:d||void 0,x:e,y:i,width:n,height:o}),r&&M(f,r)}else if(h){var g=t.match(l)[1],m=f=this.image(g);m.imgwidth=O(v[g]&&v[g].width,r&&r.width),m.imgheight=O(v[g]&&v[g].height,r&&r.height);var y=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){m[t+"Setter"]=function(t,e){this[e]=t,t=this.alignByTranslate;var i=this.element,n=this.width,o=this.height,s=this.imgwidth,a=this.imgheight,l=this["img"+e];if(k(l)){var h=1;r&&"within"===r.backgroundSize&&n&&o?(h=Math.min(n/s,o/a),l=Math.round(l*h),w(i,{width:Math.round(s*h),height:Math.round(a*h)})):i&&i.setAttribute(e,l),t||this.translate(((n||0)-l*h)/2,((o||0)-l*h)/2)}}})),k(e)&&m.attr({x:e,y:i}),m.isImg=!0,k(m.imgwidth)&&k(m.imgheight)?y(m):(m.attr({width:0,height:0}),S("img",{onload:function(){var t=c[a.chartIndex];0===this.width&&(C(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),v[g]={width:this.width,height:this.height},m.imgwidth=this.width,m.imgheight=this.height,m.element&&y(m),this.parentNode&&this.parentNode.removeChild(this),a.imgCount--,a.imgCount||!t||t.hasLoaded||t.onload()},src:g}),this.imgCount++)}return f},i.prototype.clipRect=function(t,e,i,n){var o=j()+"-",r=this.createElement("clipPath").attr({id:o}).add(this.defs);return(t=this.rect(t,e,i,n,0).add(r)).id=o,t.clipPath=r,t.count=0,t},i.prototype.text=function(t,e,i,n){var o={};return!n||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),i&&(o.y=Math.round(i)),k(t)&&(o.text=t),t=this.createElement("text").attr(o),(!n||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,i){for(var n,o=i.getElementsByTagName("tspan"),r=i.getAttribute(e),s=0;s<o.length;s++)(n=o[s]).getAttribute(e)===r&&n.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&&o.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?D(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},i.prototype.rotCorr=function(t,e,i){var n=t;return e&&i&&(n=Math.max(n*Math.cos(e*d),4)),{x:-t/3*Math.sin(e*d),y:n}},i.prototype.pathToSegments=function(t){for(var e=[],i=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},o=0;o<t.length;o++)L(i[0])&&P(t[o])&&i.length===n[i[0].toUpperCase()]&&t.splice(o,0,i[0].replace("M","L").replace("m","l")),"string"===typeof t[o]&&
2(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[o]);return e.push(i.slice(0)),e},i.prototype.label=function(t,e,i,n,o,s,a,l,h){return new r(this,t,e,i,n,o,s,a,l,h)},i.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},i}(),M(i.prototype,{Element:o,SVG_NS:y,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:s,draw:m}),n.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 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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=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 n(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var i=e.prototype,n=t.prototype;n.getSpanCorrection=i.getSpanCorrection,n.htmlCss=i.htmlCss,n.htmlGetBBox=i.htmlGetBBox,n.htmlUpdateTransform=i.htmlUpdateTransform,n.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 n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),l(this.element,t),n&&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,n=this.translateY||0,o=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:n}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:i+1,marginTop:n+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.getSpanCorrection(!h(d)&&this.textPxLength||e.offsetWidth,g,a,d,s)),l(e,{left:o+(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 n={},h=r&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":s?"-webkit-transform":o?"MozTransform":a.opera?"-o-transform":void 0;h&&(n[h]=n.transform="rotate("+t+"deg)",n[h+(o?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+i+"px",l(this.element,n))},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,n){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=n.attr,s=n.createElement,a=n.extend,l=n.pick;return function(i){function n(){return null!==i&&i.apply(this,arguments)||this}
2return o(n,i),n.compose=function(t){return-1===n.composedClasses.indexOf(t)&&(n.composedClasses.push(t),t.prototype.html=n.prototype.html),t},n.prototype.html=function(i,n,o){var h=this.createElement("span"),c=h.element,d=h.renderer,p=d.isSVG,u=function(t,i){["opacity","visibility"].forEach((function(n){t[n+"Setter"]=function(o,r,s){var a=t.div?t.div.style:i;e.prototype[n+"Setter"].call(this,o,r,s),a&&(a[r]=o)}})),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(n),y:Math.round(o)}).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 n=t.div;if(!n){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach((function(t){function o(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=(n=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},n||e)).style;a(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(n),on:function(){return i[0].div&&h.on.apply({element:i[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:o,translateYSetter:o}),t.addedSetters||u(t)}))}}else n=e;return n.appendChild(c),h.added=!0,h.alignOnAdd&&h.htmlUpdateTransform(),h}),h},n.composedClasses=[],n}(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||0,-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,n=t.isFunction,o=t.objectEach,r=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},o(e.events,(function(e,o){t.eventOptions[o]!==e&&(t.eventOptions[o]&&(r(t,o,t.eventOptions[o]),delete t.eventOptions[o]),n(e)&&(t.eventOptions[o]=e,i(t,o,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 n=e.deg2rad,o=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,n,o){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,h(this,"init"),i||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,i=e.axis,n=i.options,o=i.chart,a=i.categories,d=i.logarithmic,p=i.names,f=e.pos,g=u(e.options&&e.options.labels,n.labels),m=i.tickPositions,y=f===m[0],v=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 S=o.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&m.higherRanks[f]||m.unitName]),C=S.main;else c(a)&&(C=i.dateTime.getXDateFormat(a,n.dateTimeLabelFormats||{}));e.isFirst=y,e.isLast=v;var k={axis:i,chart:o,dateTimeLabelFormat:C,isFirst:y,isLast:v,pos:f,tick:e,tickPositionInfo:m,value:a};h(this,"labelFormat",k);var T=function(e){return g.formatter?g.formatter.call(e,e):g.format?(e.text=i.defaultLabelFormatter.call(e,e),t.format(g.format,e,o)):i.defaultLabelFormatter.call(e,e)};n=T.call(k,k);var M=S&&S.list;e.shortenLabel=M?function(){for(b=0;b<M.length;b++)if(l(k,{dateTimeLabelFormat:M[b]}),w.attr({text:T.call(k,k)}),w.getBBox().width<i.getSlotWidth(e)-2*g.padding)return;w.attr({text:""})}:void 0,x&&i._addedPlotLB&&e.moveLabel(n,g),s(w)||e.movedLabel?w&&w.textStr!==n&&!x&&(!w.textWidth||g.style.width||w.styles.width||w.css({width:null}),w.attr({text:n}),w.textPxLength=w.getBBox().width):(e.label=w=e.createLabel({x:0,y:0},n,g),e.rotation=0)},e.prototype.createLabel=function(t,e,i){var n=this.axis,o=n.chart;return(t=s(e)&&i.enabled?o.renderer.text(e,t.x,t.y,i.useHTML).add(n.labelGroup):null)&&(o.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,n){var s=this.axis,a=s.chart,l=n&&a.oldChartHeight||a.chartHeight;return(t={x:t?r(s.translate(e+i,void 0,void 0,n)+s.transB):s.left+s.offset+(s.opposite?(n&&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,void 0,void 0,n)-s.transB)}).y=o(t.y,-1e5,1e5),h(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,i,o,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=o||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),y={};return i=0===d.side?i.rotation?-8:-i.getBBox().height:2===d.side?g.y+8:Math.cos(i.rotation*n)*(g.y-i.getBBox(!1,0).height/2),s(r.y)&&(i=0===d.side&&d.horiz?r.y+i:r.y),t=t+r.x+m+g.x-(a&&o?a*p*(u?-1:1):0),e=e+i-(a&&!o?a*p*(u?1:-1):0),f&&(o=l/(c||1)%f,d.opposite&&(o=f-o-1),e+=d.labelOffset/f*o),y.x=t,y.y=Math.round(e),h(this,"afterGetLabelPosition",{pos:y,tickmarkOffset:a,index:l}),y},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,i,n,o,r){return r.crispLine([["M",t,e],["L",t+(o?0:-i),e+(o?i:0)]],n)},e.prototype.handleOverflow=function(t){var e=this.axis,i=e.options.labels,o=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,y=1;c||"justify"!==i.overflow?0>c&&o-d*p<a?l=Math.round(o/Math.cos(c*n)-a):0<c&&o+d*p>s&&(l=Math.round((r-o)/Math.cos(c*n))):(r=o+(1-d)*p,o-d*p<a?m=t.x+m*(1-d)-a:r>s&&(m=s-t.x+m*d,y=-1),(m=Math.min(f,m))<f&&"center"===e.labelAlign&&(t.x+=y*(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,n=i.label,o=i.axis,r=o.reversed,s=!1;if(n&&n.textStr===t?(i.movedLabel=n,s=!0,delete i.label):p(o.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||n)){var a=i.labelPos||n.xy;n=o.horiz?r?0:o.width+o.left:a.x,o=o.horiz?a.y:r?o.width+o.left:0,i.movedLabel=i.createLabel({x:n,y:o},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0}
2)}},e.prototype.render=function(t,e,i){var n=this.axis,o=n.horiz,r=this.pos,s=u(this.tickmarkOffset,n.tickmarkOffset);s=(r=this.getPosition(o,r,s,e)).x;var a=r.y;n=o&&s===n.pos+n.len||!o&&a===n.pos?-1:1,o=u(i,this.label&&this.label.newOpacity,1),i=u(i,1),this.isActive=!0,this.renderGridLine(e,i,n),this.renderMark(r,i,n),this.renderLabel(r,e,o,t),this.isNew=!1,h(this,"afterRender")},e.prototype.renderGridLine=function(t,e,i){var n=this.axis,o=n.options,r={},s=this.pos,a=this.type,l=u(this.tickmarkOffset,n.tickmarkOffset),h=n.chart.renderer,c=this.gridLine,d=o.gridLineWidth,p=o.gridLineColor,f=o.gridLineDashStyle;"minor"===this.type&&(d=o.minorGridLineWidth,p=o.minorGridLineColor,f=o.minorGridLineDashStyle),c||(n.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(n.gridGroup)),c&&(i=n.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 n=this.axis,o=n.options,r=n.chart.renderer,s=this.type,a=n.tickSize(s?s+"Tick":"tick"),l=t.x;t=t.y;var h=u(o["minor"!==s?"tickWidth":"minorTickWidth"],!s&&n.isXAxis?1:0);o=o["minor"!==s?"tickColor":"minorTickColor"];var c=this.mark,d=!c;a&&(n.opposite&&(a[0]=-a[0]),c||(this.mark=c=r.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||c.attr({stroke:o,"stroke-width":h})),c[d?"attr":"animate"]({d:this.getMarkPath(l,t,a[0],c.strokeWidth()*i,n.horiz,r),opacity:e}))},e.prototype.renderLabel=function(t,e,i,n){var o=this.axis,r=o.horiz,s=o.options,a=this.label,l=s.labels,h=l.step;o=u(this.tickmarkOffset,o.tickmarkOffset);var d=t.x;t=t.y;var p=!0;a&&c(d)&&(a.xy=t=this.getLabelPosition(d,t,a,r,l,o,n,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&&n%h&&(p=!1),p&&c(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var n=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:n,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/Defaults.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a){var l=t.animObject,h=n.defaultOptions,c=o.registerEventOptions,d=r.deg2rad,p=a.arrayMax,u=a.arrayMin,f=a.clamp,g=a.correctFloat,m=a.defined,y=a.destroyObjectProperties,v=a.erase,x=a.error,b=a.extend,w=a.fireEvent,S=a.isArray,C=a.isNumber,k=a.isString,T=a.merge,M=a.normalizeTickInterval,A=a.objectEach,P=a.pick,E=a.relativeLength,L=a.removeEvent,_=a.splat,O=a.syncTimeout,D=function(t,e){return M(e,void 0,void 0,P(t.options.allowDecimals,.5>e||void 0!==t.tickAmount),!!t.tickAmount)};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.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 n=this.options,o=n.labels,r=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=P(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===r||!0===n.categories,this.categories=n.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=m(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,e=P(n.crosshair,_(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&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=C(o.rotation)?o.rotation:void 0,c(this,n),w(this,"afterInit")},t.prototype.setOptions=function(t){this.options=T(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],T(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,n=e.chart.time,o=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="".concat(this.value);else if(o)c=n.dateFormat(o,i);else if(l&&1e3<=a)for(;l--&&"undefined"===typeof 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"undefined"===typeof 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(n){if(n.visible||!i.options.chart.ignoreHiddenSeries){var o=n.options,r=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=r&&(r=null),e.isXAxis){if((o=n.xData).length){o=e.logarithmic?o.filter(e.validatePositiveValue):o;var s=(t=n.getXExtremes(o)).min,a=t.max;C(s)||s instanceof Date||(o=o.filter(C),s=(t=n.getXExtremes(o)).min,a=t.max),o.length&&(e.dataMin=Math.min(P(e.dataMin,s),s),e.dataMax=Math.max(P(e.dataMax,a),a))}}else n=n.applyExtremes(),C(n.dataMin)&&(s=n.dataMin,e.dataMin=Math.min(P(e.dataMin,s),s)),C(n.dataMax)&&(a=n.dataMax,e.dataMax=Math.max(P(e.dataMax,a),a)),m(r)&&(e.threshold=r),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),w(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,n,o,r){var s=this.linkedParent||this,a=n&&s.old?s.old.min:s.min;if(!C(a))return NaN;var l=s.minPixelPadding;o=(s.isOrdinal||s.brokenAxis&&s.brokenAxis.hasBreaks||s.logarithmic&&o)&&s.lin2val;var h=1,c=0;return(n=n&&s.old?s.old.transA:s.transA)||(n=s.transA),i&&(h*=-1,c=s.len),s.reversed&&(c-=(h*=-1)*(s.sector||s.len)),e?(r=(t*h+c-l)/n+a,o&&(r=s.lin2val(r))):(o&&(t=s.val2lin(t)),t=h*(t-a)*n,r=(s.isRadial?t:g(t))+c+h*l+(C(r)?n*r:0)),r},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!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,n,o,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,y=a.transB,v=t.translatedValue,x=t.force;return t={value:p,lineWidth:u,old:d,force:x,acrossPanes:t.acrossPanes,translatedValue:v},w(this,"getPlotLinePath",t,(function(t){v=P(v,a.translate(p,void 0,void 0,d)),v=f(v,-1e5,1e5),i=o=Math.round(v+y),n=r=Math.round(g-v-y),C(v)?a.horiz?(n=c,r=g-a.bottom,i=o=e(i,h,h+a.width)):(i=h,o=m-a.right,n=r=e(n,c,c+a.height)):(s=!0,x=!1),t.path=s&&!x?null:l.renderer.crispLine([["M",i,n],["L",o,r]],u||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var n=g(Math.floor(e/t)*t);i=g(Math.ceil(i/t)*t);var o,r=[];if(g(n+t)===n&&(o=20),this.single)return[e];for(e=n;e<=i&&(r.push(e),(e=g(e+t,o))!==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,n=this.pointRangePadding||0,o=this.min-n,r=(n=this.max+n)-o,s=[];if(r&&r/i<this.len/3){var a=this.logarithmic;if(a)this.paddedTicks.forEach((function(t,e,n){e&&s.push.apply(s,a.getLogTickPositions(i,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())s=s.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),o,n,t.startOfWeek));else for(t=o+(e[0]-o)%i;t<=n&&t!==s[0];t+=i)s.push(t)}return 0!==s.length&&this.trimTicks(s),s},t.prototype.adjustForMinRange=function(){var t,e,i,n,o=this.options,r=this.logarithmic,s=this.min,a=this.max,l=0;if(this.isXAxis&&"undefined"===typeof this.minRange&&!r&&(m(o.min)||m(o.max)||m(o.floor)||m(o.ceiling)?this.minRange=null:(this.series.forEach((function(o){if(i=o.xData,n=o.xIncrement?1:i.length-1,1<i.length)for(t=n;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(o.min,s-d)],h&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),a=[(s=p(d))+c,P(o.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(o.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,n=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&m(i)&&n&&(t=m(t)?Math.min(t,i):i)})),t},t.prototype.nameToX=function(t){var e=S(this.options.categories),i=e?this.categories:this.names,n=t.options.x;if(t.series.requireSorting=!1,m(n)||(n=this.options.uniqueNames&&i?e?i.indexOf(t.name):P(i.keys[t.name],-1):t.series.autoIncrement()),-1===n){if(!e&&i)var o=i.length}else o=n;return"undefined"!==typeof o?(this.names[o]=t.name,this.names.keys[t.name]=o):t.x&&(o=t.x),o},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,n){if(i&&i.options&&"undefined"!==typeof i.name){var o=t.nameToX(i);"undefined"!==typeof o&&o!==i.x&&(i.x=o,e.xData[n]=o)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,i=t.linkedParent,n=!!t.categories,o=t.isXAxis,r=t.axisPointRange||0,s=0,a=0,l=t.transA;if(o||n||r){var h=t.getClosest();i?(s=i.minPointOffset,a=i.pointRangePadding):t.series.forEach((function(e){var i=n?1:o?P(e.options.pointRange,h,0):t.axisPointRange||0,l=e.options.pointPlacement;r=Math.max(r,i),t.single&&!n||(e=e.is("xrange")?!o:o,s=Math.max(s,e&&k(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&&n?1:e),o&&(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,n=this.options,o=this.isXAxis,r=this.isLinked,s=n.tickPixelInterval,a=this.categories,l=this.softThreshold,h=n.maxPadding,c=n.minPadding,d=C(n.tickInterval)&&0<=n.tickInterval?n.tickInterval:void 0,p=C(this.threshold)?this.threshold:null;this.dateTime||a||r||this.getTickAmount();var u=P(this.userMin,n.min),f=P(this.userMax,n.max);if(r){this.linkedParent=e[this.coll][n.linkedTo];var y=this.linkedParent.getExtremes();this.min=P(y.min,y.dataMin),this.max=P(y.max,y.dataMax),n.type!==this.linkedParent.options.type&&x(11,1,e)}else{if(l&&m(p))if(this.dataMin>=p)y=p,c=0;else if(this.dataMax<=p){var v=p;h=0}this.min=P(u,y,this.dataMin),this.max=P(f,v,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(n.softMin)&&n.softMin<this.min&&(this.min=u=n.softMin),C(n.floor)&&(this.min=Math.max(this.min,n.floor))),C(this.userMax)||(C(n.softMax)&&n.softMax>this.max&&(this.max=f=n.softMax),C(n.ceiling)&&(this.max=Math.min(this.max,n.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||"undefined"===typeof this.min||"undefined"===typeof 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)),o&&!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",{hasExtremesChanged:b})}this.setAxisTranslation(),w(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=P(n.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=D(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t,e=this.options,i=e.tickPositions,n=e.tickPositioner,o=this.getMinorTickInterval(),r=this.hasVerticalPanning(),s="colorAxis"===this.coll,a=(s||!r)&&e.startOnTick;if(r=(s||!r)&&e.endOnTick,s=[],this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===o&&this.tickInterval?this.tickInterval/5:o,this.single=this.min===this.max&&m(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),i)s=i.slice();else if(C(this.min)&&C(this.max)){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)s=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)s=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(o=e=this.tickInterval;o<=2*e&&(s=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&s.length>this.tickAmount);)this.tickInterval=D(this,o*=1.1);else s=[this.min,this.max],x(19,!1,this.chart);s.length>this.len&&(s=[s[0],s[s.length-1]])[0]===s[1]&&(s.length=1),n&&(this.tickPositions=s,(t=n.apply(this,[this.min,this.max]))&&(s=t))}this.tickPositions=s,this.paddedTicks=s.slice(0),this.trimTicks(s,a,r),!this.isLinked&&C(this.min)&&C(this.max)&&(this.single&&2>s.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),i||t||this.adjustTickAmount()),w(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var n=t[0],o=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-r>t[0];)t.shift();if(i)this.max=o;else for(;this.max+r<t[t.length-1];)t.pop();0===t.length&&m(n)&&!this.options.tickPositions&&t.push((o+n)/2)}},t.prototype.alignToOthers=function(){var t,e=this,i=[this],n=e.options,o="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,r=[];if(e.thresholdAlignment=void 0,(!1!==this.chart.options.chart.alignTicks&&n.alignTicks||o)&&!1!==n.startOnTick&&!1!==n.endOnTick&&!e.logarithmic){var s=function(t){var e=t.options;return[t.horiz?e.left:e.top,e.width,e.height,e.pane].join()},a=s(this);this.chart[this.coll].forEach((function(n){var o=n.series;o.length&&o.some((function(t){return t.visible}))&&n!==e&&s(n)===a&&(t=!0,i.push(n))}))}if(t&&o){i.forEach((function(t){t=t.getThresholdAlignment(e),C(t)&&r.push(t)}));var l=1<r.length?r.reduce((function(t,e){return t+e}),0)/r.length:void 0;i.forEach((function(t){t.thresholdAlignment=l}))}return t},t.prototype.getThresholdAlignment=function(t){if((!C(this.dataMin)||this!==t&&this.series.some((function(t){return t.isDirty||t.isDirtyData})))&&this.getSeriesExtremes(),C(this.threshold))return t=f((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(t=1-t),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,e=t.finalTickAmt,i=t.max,n=t.min,o=t.options,r=t.tickPositions,s=t.t
2ickAmount,a=t.thresholdAlignment,l=r&&r.length,h=P(t.threshold,t.softThreshold?0:null),c=t.tickInterval;if(C(a)){var d=.5>a?Math.ceil(a*(s-1)):Math.floor(a*(s-1));o.reversed&&(d=s-1-d)}if(t.hasData()&&C(n)&&C(i)){if(a=function(){t.transA*=(l-1)/(s-1),t.min=o.startOnTick?r[0]:Math.min(n,r[0]),t.max=o.endOnTick?r[r.length-1]:Math.max(i,r[r.length-1])},C(d)&&C(t.threshold)){for(;r[d]!==h||r.length!==s||r[0]>n||r[r.length-1]<i;){for(r.length=0,r.push(t.threshold);r.length<s;)void 0===r[d]||r[d]>t.threshold?r.unshift(g(r[0]-c)):r.push(g(r[r.length-1]+c));if(c>8*t.tickInterval)break;c*=2}a()}else if(l<s){for(;r.length<s;)r.length%2||n===h?r.push(g(r[r.length-1]+c)):r.unshift(g(r[0]-c));a()}if(m(e)){for(c=h=r.length;c--;)(3===e&&1===c%2||2>=e&&0<c&&c<h-1)&&r.splice(c,1);t.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.getSeriesExtremes(),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,n,o){var r=this,s=r.chart;i=P(i,!0),r.series.forEach((function(t){delete t.kdTree})),o=b(o,{min:t,max:e}),w(r,"setExtremes",o,(function(){r.userMin=t,r.userMax=e,r.eventArgs=o,i&&s.redraw(n)}))},t.prototype.zoom=function(t,e){var i=this,n=this.dataMin,o=this.dataMax,r=this.options,s=Math.min(n,P(r.min,n)),a=Math.max(o,P(r.max,o));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(n)&&(e<s&&(e=s),e>a&&(e=a)),m(o)&&(r<s&&(r=s),r>a&&(r=a))),i.displayBtn="undefined"!==typeof e||"undefined"!==typeof 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],n=this.horiz,o=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-o-e,this.len=Math.max(n?o:r,0),this.pos=n?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),n=e["tick"===t?"tickLength":"minorTickLength"];if(i&&n){"inside"===e[t+"Position"]&&(n=-n);var o=[n,i]}return w(this,"afterTickSize",t={tickSize:o}),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=this.options.labels,e=this.horiz,i=this.tickInterval,n=this.len/(((this.categories?1:0)+this.max-this.min)/i),o=t.rotation,r=this.labelMetrics(),s=Math.max(this.max-this.min,0),a=function(t){var e=t/(n||1);return(e=1<e?Math.ceil(e):1)*i>s&&1/0!==t&&1/0!==n&&s&&(e=Math.ceil(s/i)),g(e*i)},l=i,h=Number.MAX_VALUE;if(e){if(!t.staggerLines)if(C(o))var c=[o];else n<t.autoRotationLimit&&(c=t.autoRotation);if(c)for(var p=e=void 0,u=0,f=c;u<f.length;u++){var m=f[u];if((m===o||m&&-90<=m&&90>=m)&&(p=(e=a(Math.abs(r.h/Math.sin(d*m))))+Math.abs(m/360))<h){h=p;var y=m;l=e}}}else l=a(r.h);return this.autoRotation=c,this.labelRotation=P(y,C(o)?o:0),t.step?i:l},t.prototype.getSlotWidth=function(t){var e=this.chart,i=this.horiz,n=this.options.labels,o=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>n.step)return n.rotation?0:(this.staggerLines||1)*this.len/o;if(!i){if(void 0!==(t=n.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,n=this.ticks,o=this.options.labels,r=o.style,s=this.horiz,a=this.getSlotWidth(),l=Math.max(1,Math.round(a-2*o.padding)),h={},c=this.labelMetrics(),d=r.textOverflow,p=0;
2if(k(o.rotation)||(h.rotation=o.rotation||0),i.forEach((function(t){(t=n[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=n[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=o.align||this.autoLabelAlign(this.labelRotation))&&(h.align=this.labelAlign),i.forEach((function(t){var e=(t=n[t])&&t.label,i=r.width,o={};e&&(e.attr(h),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u<e.textPxLength||"SPAN"===e.element.tagName)?(o.width=u+"px",d||(o.textOverflow=e.specificTextOverflow||f),e.css(o)):e.styles&&e.styles.width&&!o.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,n=this.horiz,o=this.opposite,r=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=r.textAlign)||(e=(n?{low:"left",middle:"center",high:"right"}:{low:o?"right":"left",middle:"center",high:o?"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(T(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,n=e.horiz,o=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=o.title,f=o.labels,g=i.axisOffset;i=i.clipOffset;var y,v=[-1,1,1,-1][r],x=o.className,b=0,S=0,C=0;if(e.showAxis=y=p||o.showEmpty,e.staggerLines=e.horiz&&f.staggerLines||void 0,!e.axisGroup){var k=function(e,i,n){return c.g(e).attr({zIndex:n}).addClass("highcharts-".concat(l.toLowerCase()).concat(i," ")+(t.isRadial?"highcharts-radial-axis".concat(i," "):"")+(x||"")).add(h)};e.gridGroup=k("grid","-grid",o.gridZIndex),e.axisGroup=k("axis","",o.zIndex),e.labelGroup=k("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){C=Math.max(s[t].getLabelSize(),C)})),e.staggerLines&&(C*=e.staggerLines),e.labelOffset=C*(e.opposite?-1:1)):A(s,(function(t,e){t.destroy(),delete s[e]})),u&&u.text&&!1!==u.enabled&&(e.addTitle(y),y&&!1!==u.reserveSpace)){e.titleOffset=b=e.axisTitle.getBBox()[n?"height":"width"];var T=u.offset;S=m(T)?0:P(u.margin,n?5:10)}e.renderLine(),e.offset=v*P(o.offset,g[r]?g[r]+(o.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(C)+S,C&&(p=p-u+v*(n?P(f.y,e.tickRotCorr.y+8*v):f.x)),e.axisTitleMargin=P(T,p),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(s,a)),"colorAxis"!==l&&(n=this.tickSize("tick"),g[r]=Math.max(g[r],(e.axisTitleMargin||0)+b+v*e.offset,p,a&&a.length&&n?n[0]+v*e.offset:0),o=!e.axisLine||o.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),i[d]=Math.max(i[d],o)),w(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,i=this.opposite,n=this.offset,o=this.horiz,r=this.left+(i?this.width:0)+n;return n=e.chartHeight-this.bottom-(i?this.height:0)+n,i&&(t*=-1),e.renderer.crispLine([["M",o?this.left:r,o?
2n:this.top],["L",o?e.chartWidth-this.right:r,o?n: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,n=this.len,o=this.options.title,r=t?e:i,s=this.opposite,a=this.offset,l=o.x,h=o.y,c=this.axisTitle,d=this.chart.renderer.fontMetrics(o.style.fontSize,c);return c=c?Math.max(c.getBBox(!1,0).height-d.h-1,0):0,n={low:r+(t?0:n),middle:r+n/2,high:r+(t?n:0)}[o.align],e=(t?i+this.height:e)+(t?1:-1)*(s?-1:1)*(this.axisTitleMargin||0)+[-c,c,d.f,-c][this.side],t={x:t?n+l:e+(s?this.width:0)+a+l,y:t?e+h-(s?this.height:0)+a:n+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)},t.prototype.renderTick=function(t,e,i){var n=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new s(this,t)),i&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,i=this,n=i.chart,o=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,y=i.tickmarkOffset,v=i.axisLine,x=i.showAxis,b=l(n.renderer.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[p,u,f].forEach((function(t){A(t,(function(t){t.isActive=!1}))})),i.hasData()||h){var S=i.chart.hasRendered&&i.old&&C(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach((function(t){i.renderMinorTick(t,S)})),c.length&&(c.forEach((function(t,e){i.renderTick(t,e,S)})),y&&(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="undefined"!==typeof c[a+1]?c[a+1]+y:i.max-y,0===a%2&&s<i.max&&e<=i.max+(n.polar?-y:y)&&(f[s]||(f[s]=new r.PlotLineOrBand(i)),t=s+y,f[s].options={from:o?o.lin2log(t):t,to:o?o.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;A(t,(function(t,i){t.isActive||(t.render(i,!1,0),t.isActive=!1,e.push(i))})),O((function(){for(var i=e.length;i--;)t[e[i]]&&!t[e[i]].isActive&&(t[e[i]].destroy(),delete t[e[i]])}),t!==f&&n.hasRendered&&i?i:0)})),v&&(v[v.isPlaced?"animate":"attr"]({d:this.getLinePath(v.strokeWidth())}),v.isPlaced=!0,v[x?"show":"hide"](x)),d&&x&&(a=i.getTitlePosition(),d[d.isNew?"attr":"animate"](a),d.isNew=!1),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,n=this.eventOptions;if(w(this,"destroy",{keepEvents:t}),t||L(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){y(t)})),i)for(t=i.length;t--;)i[t].destroy();for(var o in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[o]=e.plotLinesAndBandsGroups[o].destroy();A(e,(function(t,i){-1===e.getKeepProps().indexOf(i)&&delete e[i]})),this.eventOptions=n},t.prototype.drawCrosshair=function(t,e){var n,o=this.crosshair,r=P(o&&o.snap,!0),s=this.chart,a=this.cross;if(w(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),o&&!1!==(m(e)||!r)){if(r?m(e)&&(n=P("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):n=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),m(n)){var l={value:e&&(this.isXAxis?e.x:P(e.stackY,e.y)),translatedValue:n};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 ")+(o.className||"")).attr({zIndex:P(o.zIndex,2)}).add(),s.styledMode||(a.attr({stroke:o.color||(r?i.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":P(o.width,1)}).css({"pointer-events":"none"}),o.dashStyle&&a.attr({dashstyle:o.dashStyle}))),a.show().attr({d:l}),r&&!o.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=T(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,n=this.series,o=n.length;o--;)n[o]&&n[o].remove(!1);
2v(e.axes,this),v(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,n=t.getMagnitude,o=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=o(t/a,l,"year"===e[0]?Math.max(n(t/a),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var i=this.axis,n=i.chart.time;return i.closestPointRange?n.getDateFormat(i.closestPointRange,t,i.options.startOfWeek,e)||n.resolveDTLFormat(e.year).main:n.resolveDTLFormat(e.day).main},t}();t.Additions=l}(e||(e={})),e})),e(i,"Core/Axis/LogarithmicAxis.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.addEvent,n=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new a(this))}function r(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("logarithmic"),i(t,"init",e),i(t,"afterInit",r)),t};var a=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,i,r){var s=this.axis,a=s.len,l=s.options,h=[];if(r||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),h=s.getLinearTickPositions(t,e,i);else if(.08<=t){var c,d=Math.floor(e),p=l=void 0;for(a=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];d<i+1&&!p;d++){var u=a.length;for(c=0;c<u&&!p;c++){var f=this.log2lin(this.lin2log(d)*a[c]);f>e&&(!r||l<=i)&&"undefined"!==typeof l&&h.push(l),l>i&&(p=!0),l=f}}}else e=this.lin2log(e),i=this.lin2log(i),t=r?s.getMinorTickInterval():l.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(r?5:1)*(i-e)/((r?a/s.tickPositions.length:a)||1)),t=n(t),h=s.getLinearTickPositions(t,e,i).map(this.log2lin),r||(this.minorAutoInterval=t/5);return r||(s.tickInterval=t),h},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=a}(e||(e={})),e})),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.erase,n=t.extend,o=t.isNumber;return function(t){var e,r=[];t.compose=function(t,i){return e||(e=t),-1===r.indexOf(i)&&(r.push(i),n(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 n=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes}),r=[],s=this.horiz;if(e=!o(this.min)||!o(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&&n){if(e){var a=t.toString()===n.toString();i=0}for(e=0;e<t.length;e+=2){var l=t[e],h=t[e+1],c=n[e],d=n[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 n=this,o=this.userOptions,r=new e(this,t);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(o.plotLines||[]).concat(o.plotBands||[]).forEac
2h((function(t){n.addPlotBandOrLine(t)}))),i){var s=o[i]||[];s.push(t),o[i]=s}this.plotLinesAndBands.push(r)}return r},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,n=this.options,o=this.userOptions;if(e){for(var r=e.length;r--;)e[r].id===t&&e[r].destroy();[n.plotLines||[],o.plotLines||[],n.plotBands||[],o.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,n=e.arrayMin,o=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,n=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,y=r.to,v=r.from,x=r.value,b=t.svgElem,w=[],S=o(v)&&o(y);w=o(x);var C=!b,k={class:"highcharts-plot-"+(S?"band ":"line ")+(r.className||"")},T=S?"bands":"lines";if(n&&(v=n.log2lin(v),y=n.log2lin(y),x=n.log2lin(x)),e.chart.styledMode||(w?(k.stroke=s||"#999999",k["stroke-width"]=c(r.width,1),r.dashStyle&&(k.dashstyle=r.dashStyle)):S&&(k.fill=s||"#e6ebf5",r.borderWidth&&(k.stroke=r.borderColor,k["stroke-width"]=r.borderWidth))),u.zIndex=d,T+="-"+d,(n=e.plotLinesAndBandsGroups[T])||(e.plotLinesAndBandsGroups[T]=n=f.g("plot-"+T).attr(u).add()),C&&(t.svgElem=b=f.path().attr(k).add(n)),w)w=e.getPlotLinePath({value:x,lineWidth:b.strokeWidth(),acrossPanes:r.acrossPanes});else{if(!S)return;w=e.getPlotBandPath(v,y,r)}return!t.eventsAdded&&p&&(h(p,(function(e,i){b.on(i,(function(e){p[i].apply(t,[e])}))})),t.eventsAdded=!0),(C||!b.d)&&w&&w.length?b.attr({d:w}):b&&(w?(b.show(),b.animate({d:w})):b.d&&(b.hide(),m&&(t.label=m=m.destroy()))),g&&(o(g.text)||o(g.formatter))&&w&&w.length&&0<e.width&&0<e.height&&!w.isFlat?(g=l({align:i&&S&&"center",x:i?!S&&4:10,verticalAlign:!i&&S&&"middle",y:i?S?16:10:S?6:-4,rotation:i&&!S&&90},g),this.renderLabel(g,w,S,d)):m&&m.hide(),t},e.prototype.renderLabel=function(t,e,o,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-"+(o?"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],o?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],o?e[2][2]:e[0][2]],o=n(r),a=n(e),h.align(t,!1,{x:o,y:a,width:i(r)-o,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 o(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){s(this.axis.plotLinesAndBands,this),delete this.axis,r(this)},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,n,o){var r=t.format,s=e.doc,a=i.distribute,l=o.clamp,h=o.css,c=o.defined,d=o.discardElement,p=o.extend,u=o.fireEvent,f=o.isArray,g=o.isNumber,m=o.isString,y=o.merge,v=o.pick,x=o.splat,b=o.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||x(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(),d(this.container)),o.clearTimeout(this.hideTimer),o.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var i,n,o=this.chart,r=o.pointer,s=o.inverted,a=o.plotTop,l=o.plotLeft,h=0,c=0;return t=x(t),this.followPointer&&e?("undefined"===typeof 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,n=t.series.xAxis,h+=t.plotX||0,c+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,n&&i&&(s?(h+=a+o.plotHeight-n.len-n.pos,c+=l+o.plotWidth-i.len-i.pos):(h+=n.pos-l,c+=i.pos-a))})),h/=t.length,c/=t.length,r=[s?o.plotWidth-c:h,s?o.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,o=this.chart.styledMode,r=this.options,s=this.split&&this.allowShared,a="tooltip"+(c(r.className)?" "+r.className:""),l=r.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none"),d=this.chart.renderer;if(i.label){var p=!i.label.hasClass("highcharts-label");(s&&!p||!s&&p)&&i.destroy()}if(!this.label){if(this.outside){p=this.chart.options.chart.style;var u=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",h(t,{position:"absolute",top:"1px",pointerEvents:l,zIndex:Math.max(this.options.style.zIndex||0,(p&&p.zIndex||0)+3)}),e.doc.body.appendChild(t),this.renderer=d=new u(t,0,0,p,void 0,void 0,d.styledMode)}if(s?this.label=d.g(a):(this.label=d.label("",0,0,r.shape,void 0,void 0,r.useHTML,void 0,a).attr({padding:r.padding,r:r.borderRadius}),o||this.label.attr({fill:r.backgroundColor,"stroke-width":r.borderWidth}).css(r.style).css({pointerEvents:l}).shadow(r.shadow)),o&&r.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),i.outside&&!i.split){var f=this.label,g=f.xSetter,m=f.ySetter;f.xSetter=function(e){g.call(f,i.distance),t.style.left=e+"px"},f.ySetter=function(e){m.call(f,i.distance),t.style.top=e+"px"}}this.label.attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,i){var n,o=this.chart,r=this.distance,a={},l=o.inverted&&i.h||0,h=this.outside,c=h?s.documentElement.clientWidth-2*r:o.chartWidth,d=h?Math.max(s.body.scrollHeight,s.documentElement.scrollHeight,s.body.offsetHeight,s.documentElement.offsetHeight,s.documentElement.clientHeight):o.chartHeight,p=o.pointer.getChartPosition(),u=function(n){var s="x"===n;return[n,s?c:d,s?t:e].concat(h?[s?t*p.scaleX:e*p.scaleY,s?p.left-r+(i.plotX+o.plotLeft)*p.scaleX:p.top-r+(i.plotY+o.plotTop)*p.scaleY,0,s?c:d]:[s?t:e,s?i.plotX+o.plotLeft:i.plotY+o.plotTop,s?o.plotLeft:o.plotTop,s?o.plotLeft+o.plotWidth:o.plotTop+o.plotHeight])},f=u("y"),g=u("x");u=!!i.negative,!o.polar&&o.hoverSeries&&o.hoverSeries.yAxis&&o.hoverSeries.yAxis.reversed&&(u=!u);var m=!this.followPointer&&v(i.ttBelow,!o.inverted===u),y=function(t,e,i,n,o,s,c){var d=h?"y"===t?r*p.scaleY:r*p.scaleX:r,u=(i-n)/2,f=n<o-r,g=o+r+n<e,y=o-d-i+u;if(o=o+d-u,m&&g)a[t]=o;else if(!m&&f)a[t]=y;else if(f)a[t]=Math.min(c-n,0>y-l?y:y-l);else{if(!g)return!1;a[t]=Math.max(s,o+l+i>e?o:o+l)}},x=function(t,e,i,n,o){var s;return o<r||o>e-r?s=!1:a[t]=o<i/2?1:o>e-n/2?e-n-2:o-i/2,s},b=function(t){var e=f;f=g,g=e,n=t},w=function(){!1!==y.apply(0,f)?!1!==x.apply(0,g)||n||(b(!0),w()):n?a.x=a.y=0:(b(!0),w())};return(o.inverted||1<this.len)&&b(),w(),a},t.prototype.hide=function(t){var e=this;o.clearTimeout(this.hideTimer),t=v(t,this.options.hideDelay),this.isHidden||(this.hideTimer=b((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=v(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.chart.pointer.inClass(t.target,"highcharts-tooltip"))}
2,t.prototype.move=function(t,e,i,n){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;p(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+n)/2:n}),r.getLabel().attr(s),r.drawTracker(),a&&(o.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){r&&r.move(t,e,i,n)}),32))},t.prototype.refresh=function(t,e){var i=this.chart,n=this.options,r=x(t),s=r[0],a=[],l=n.formatter||this.defaultFormatter,h=this.shared,c=i.styledMode,d={};if(n.enabled&&s.series){o.clearTimeout(this.hideTimer),this.allowShared=!(!f(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&s.series.tooltipOptions.followPointer;var p=(t=this.getAnchor(t,e))[0],g=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=v(h.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,r);else{var m=p,y=g;if(e&&i.pointer.isDirectTouch&&(m=e.chartX-i.plotLeft,y=e.chartY-i.plotTop),!i.polar&&!1!==h.options.clip&&!r.some((function(t){return t.series.shouldShowTooltip(m,y)})))return void this.hide();e=this.getLabel(),n.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-"+v(s.colorIndex,h.colorIndex)),c||e.attr({stroke:n.borderColor||s.color||h.color||"#666666"}),this.updatePosition({plotX:p,plotY:g,negative:s.negative,ttBelow:s.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}u(this,"refresh")}},t.prototype.renderSplit=function(t,e){function i(t,e,i,o,r){return void 0===r&&(r=!0),i?(e=E?0:D,t=l(t-o/2,M.left,M.right-o-(n.outside?L:0))):(e-=_,t=l(t=r?t-o-C:t+C,r?t:M.left,M.right)),{x:t,y:e}}var n=this,o=n.chart,r=n.chart,h=r.chartWidth,c=r.chartHeight,d=r.plotHeight,u=r.plotLeft,f=r.plotTop,g=r.pointer,y=r.scrollablePixelsY;y=void 0===y?0:y;var x=r.scrollablePixelsX,b=r.scrollingContainer,w=(b=void 0===b?{scrollLeft:0,scrollTop:0}:b).scrollLeft;b=b.scrollTop;var S=r.styledMode,C=n.distance,k=n.options,T=n.options.positioner,M=n.outside&&"number"!==typeof x?s.documentElement.getBoundingClientRect():{left:w,right:w+h,top:b,bottom:b+c},A=n.getLabel(),P=this.renderer||o.renderer,E=!(!o.xAxis[0]||!o.xAxis[0].opposite),L=(o=g.getChartPosition()).left;o=o.top;var _=f+b,O=0,D=d-y;m(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,o,r){if(!1!==o&&""!==o){var s=(r=e[r-1]||{isHeader:!0,plotX:e[0].plotX,plotY:d,series:{}}).isHeader,a=s?n:r.series;o=o.toString();var h=a.tt,c=r.isHeader,p=r.series,g="highcharts-color-"+v(r.colorIndex,p.colorIndex,"none");if(h||(h={padding:k.padding,r:k.borderRadius},S||(h.fill=k.backgroundColor,h["stroke-width"]=k.borderWidth),h=P.label("",0,0,k[c?"headerShape":"shape"],void 0,void 0,k.useHTML).addClass((c?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+g).attr(h).add(A)),h.isActive=!0,h.attr({text:o}),S||h.css(k.style).shadow(k.shadow).attr({stroke:k.borderColor||r.color||p.color||"#333333"}),o=(c=(a=a.tt=h).getBBox()).width+a.strokeWidth(),s&&(O=c.height,D+=O,E&&(_-=O)),p=void 0===(p=r.plotX)?0:p,g=void 0===(g=r.plotY)?0:g,h=r.series,r.isHeader){p=u+p;var m=f+d/2}else{var y=h.xAxis,x=h.yAxis;p=y.pos+l(p,-C,y.len+C),h.shouldShowTooltip(0,x.pos-f+g,{ignoreX:!0})&&(m=x.pos+g)}p=l(p,M.left-C,M.right+C),"number"===typeof m?(c=c.height+1,g=T?T.call(n,o,c,r):i(p,m,s,o),t.push({align:T?0:void 0,anchorX:p,anchorY:m,boxWidth:o,point:r,rank:v(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=(n.outside?L:0)+t.anchorX;return e<M.left&&e+t.boxWidth<M.right||e<L-M.left+t.boxWidth&&M.right-e>e}))&&(t=t.map((function(t){var e=i(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return p(t,{target:e.y,x:e.x})}))),n.cleanSplit(),a(t,D);var j=L,N=L;t.forEach((function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(n.outside&&L+e<j&&(j=L+e),!t&&n.outside&&j+i>N&&(N=L+e))})),t.forEach((function(t){var e=t.x,i=t.anchorX,o=t.pos,r=t.point.isHeader;if(o={visibility:"undefined"===typeof o?"hidden":"inherit",x:e,y:o+_,anchorX:i,anchorY:t.anchorY},n.outside&&e<i){var s=L-j;0<s&&(r||(o.x=e+s,o.anchorX=i+s),r&&(o.x=(N-j)/2,o.anchorX=i+s))}t.tt.attr(o)})),t=n.container,y=n.renderer,n.outside&&t&&y&&(r=A.getBBox(),y.setSize(r.width+r.x,r.height+r.y,!1),t.style.left=j+"px",t.style.top=o+"px")},t.prototype.drawTracker=function(){if(this.shouldStickOnContact()){var t=this.chart,e=this.label,i=this.shared?t.hoverPoints:t.hoverPoint;if(e&&i){var n={x:0,y:0,width:0,height:0};i=this.getAnchor(i);var o=e.getBBox();i[0]+=t.plotLeft-e.translateX,i[1]+=t.plotTop-e.translateY,n.x=Math.min(0,i[0]),n.y=Math.min(0,i[1]),n.width=0>i[0]?Math.max(Math.abs(i[0]),o.width-i[0]):Math.max(Math.abs(i[0]),o.width),n.height=0>i[1]?Math.max(Math.abs(i[1]),o.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),o.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()},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,n=i.tooltipOptions,o=i.xAxis,s=o&&o.dateTime;o={isFooter:e,labelConfig:t};var a=n.xDateFormat,l=n[e?"footerFormat":"headerFormat"];return u(this,"headerFormatter",o,(function(e){s&&!a&&g(t.key)&&(a=s.getXDateFormat(t.key,n.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)})),o.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,n=e.pointer,o=this.getLabel();n=n.getChartPosition();var r=(i.positioner||this.getPosition).call(this,o.width,o.height,t),s=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(i=i.borderWidth+2*this.distance,this.renderer.setSize(o.width+i,o.height+i,!1),1===n.scaleX&&1===n.scaleY||(h(this.container,{transform:"scale(".concat(n.scaleX,", ").concat(n.scaleY,")")}),s*=n.scaleX,t*=n.scaleY),s+=n.left-r.x,t+=n.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/Defaults.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r=e.animObject,s=i.defaultOptions,a=n.format,l=o.addEvent,h=o.defined,c=o.erase,d=o.extend,p=o.fireEvent,u=o.getNestedProperty,f=o.isArray,g=o.isFunction,m=o.isNumber,y=o.isObject,v=o.merge,x=o.objectEach,b=o.pick,w=o.syncTimeout,S=o.removeEvent,C=o.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.shapeArgs=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 n=this.series,o=n.options.pointValKey||n.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,o&&(this.y=e.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof i&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),"undefined"===typeof this.x&&n?this.x="undefined"===typeof i?n.autoIncrement():i:m(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(o in(e.graphic||e.graphics||e.dataLabel||e.dataLabels)&&(S(e),e.destroyElements()),e)e[o]=null}var e=this,i=e.series,n=i.chart;i=i.options.dataSorting;var o,s=n.hoverPoints,a=r(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),s&&(e.setState(),c(s,e),s.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),w(t,a.duration)):t(),n.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 n=this,o=this.series.options;(o.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&o.allowPointSelect&&(i=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),p(n,t,e,i)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof 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,n=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}
2).graphic&&n.push("graphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelPath","dataLabelUpper","connector"),e=n.length;e--;){var r=n[e];i[r]&&o.singular.push(r)}return["graphic","dataLabel","connector"].forEach((function(e){var n=e+"s";t[e]&&i[n]&&o.plural.push(n)})),o},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,n=0;for(i=e[n];this[t]>=i.value;)i=e[++n];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:C(),this.resolveColor(),t.chart.pointCount++,p(this,"afterInit"),this},e.prototype.isValid=function(){return null!==this.x&&m(this.y)},e.prototype.optionsToObject=function(t){var i=this.series,n=i.options.keys,o=n||i.pointArrayMap||["y"],r=o.length,s={},a=0,l=0;if(m(t)||null===t)s[o[0]]=t;else if(f(t))for(!n&&t.length>r&&("string"===(i=typeof t[0])?s.name=t[0]:"number"===i&&(s.x=t[0]),a++);l<r;)n&&"undefined"===typeof t[a]||(0<o[l].indexOf(".")?e.prototype.setNestedProperty(s,t[a],o[l]):s[o[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 n=(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||(n=t.color),e=t.colorIndex;this.colorIndex=b(this.options.colorIndex,e),this.color=b(this.options.color,n)},e.prototype.setNestedProperty=function(t,e,i){return i.split(".").reduce((function(t,i,n,o){return t[i]=o.length-1===n?e:y(t[i],!0)?t[i]:{},t[i]}),t),t},e.prototype.shouldDraw=function(){return!this.isNull},e.prototype.tooltipFormatter=function(t){var e=this.series,i=e.tooltipOptions,n=b(i.valueDecimals,""),o=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,(o||r)&&(t=t.replace(RegExp(e+"}","g"),o+e+"}"+r)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")})),a(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,i,n){function o(){s.applyOptions(t);var n=l&&s.hasMockGraphic;n=null===s.y?!n:n,l&&n&&(s.graphic=l.destroy(),delete s.hasMockGraphic),y(t,!0)&&(l&&l.element&&t&&t.marker&&"undefined"!==typeof 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]=y(c.data[r],!0)||y(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===n?o():s.firePointEvent("update",{options:t},o)},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,n=i.series,o=n.chart;this.selectedStaging=t=b(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,n.options.data[n.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||o.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(o.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=v(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 n,o=this.series,r=this.state,a=o.options.states[e||"normal"]||{},l=s.plotOptions[o.type].marker&&o.options.marker,h=l&&!1===l.enabled,c=l&&l.states&&l.states[e||"normal"]||{},u=!1===c.enabled,f=this.marker||{},g=o.chart,y=l&&o.markerAttribs,v=o.halo,x=o.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,y&&(n=o.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(r&&this.graphic.removeClass("highcharts-point-"+r),e&&this.graphic.addClass("highcharts-point-"+e),!g.styledMode){r=o.pointAttribs(this,e);var w=b(g.options.chart.animation,a.animation),S=r.opacity;m(S)&&((this.dataLabels||[]).forEach((function(t){t&&!t.hasClass("highcharts-data-label-hidden")&&t.animate({opacity:S},w)})),this.connector&&this.connector.animate({opacity:S},w)),this.graphic.animate(r,w)}n&&this.graphic.animate(n,b(g.options.chart.animation,c.animation,l.animation)),x&&x.hide()}else e&&c&&(l=f.symbol||o.symbol,x&&x.currentSymbol!==l&&(x=x.destroy()),n&&(x?x[i?"animate":"attr"]({x:n.x,y:n.y}):l&&(o.stateMarkerGraphic=x=g.renderer.symbol(l,n.x,n.y,n.width,n.height).add(o.markerGroup),x.currentSymbol=l)),!g.styledMode&&x&&"inactive"!==this.state&&x.attr(o.pointAttribs(this,e))),x&&(x[e&&this.isInside?"show":"hide"](),x.element.point=this,x.addClass(this.getClassName(),!0));a=a.halo,n=(x=this.graphic||x)&&x.visibility||"inherit",a&&a.size&&x&&"hidden"!==n&&!this.isCluster?(v||(o.halo=v=g.renderer.path().add(x.parentGroup)),v.show()[i?"animate":"attr"]({d:this.haloPath(a.size)}),v.attr({class:"highcharts-halo highcharts-color-"+b(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),v.point=this,g.styledMode||v.attr(d({fill:this.color||o.color,"fill-opacity":a.opacity},t.filterUserAttributes(a.attributes||{})))):v&&v.point&&v.point.haloPath&&v.animate({d:v.point.haloPath(0)},null,v.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,n){var o=t.parse,r=e.charts,s=e.noop,a=n.addEvent,l=n.attr,h=n.css,c=n.defined,d=n.extend,p=n.find,u=n.fireEvent,f=n.isNumber,g=n.isObject,m=n.objectEach,y=n.offset,v=n.pick,x=n.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.getSelectionMarkerAttrs=function(t,e){var i=this,n={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return u(this,"getSelectionMarkerAttrs",n,(function(n){var o=i.chart,r=i.mouseDownX;r=void 0===r?0:r;var s=i.mouseDownY;s=void 0===s?0:s;var a=i.zoomHor,l=i.zoomVert;(n=n.attrs).x=o.plotLeft,n.y=o.plotTop,n.width=a?1:o.plotWidth,n.height=l?1:o.plotHeight,a&&(o=t-r,n.width=Math.abs(o),n.x=(0<o?0:o)+r),l&&(o=e-s,n.height=Math.abs(o),n.y=(0<o?0:o)+s)})),n},t.prototype.drag=function(t){var e=this.chart,i=e.options.chart,n=e.plotLeft,r=e.plotTop,s=e.plotWidth,a=e.plotHeight,l=this.mouseDownX||0,h=this.mouseDownY||0,c=g(i.panning)?i.panning&&i.panning.enabled:i.panning,d=i.panKey&&t[i.panKey+"Key"],p=t.chartX,u=t.chartY,f=this.selectionMarker;f&&f.touch||(p<n?p=n:p>n+s&&(p=n+s),u<r?u=r:u>r+a&&(u=r+a),this.hasDragged=Math.sqrt(Math.pow(l-p,2)+Math.pow(h-u,2)),10<this.hasDragged&&(n=e.isInsidePlot(l-n,h-r,{visiblePlotOnly:!0}),p=(u=this.getSelectionMarkerAttrs(p,u)).shapeType,u=u.attrs,!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&
2!this.zoomY||!n||d||f||(this.selectionMarker=f=e.renderer[p](),f.attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||f.attr({fill:i.selectionMarkerFill||o("#335cad").setOpacity(.25).get()})),f&&f.attr(u),n&&!f&&c&&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.getSelectionBox=function(t){var e={args:{marker:t},result:{}};return u(this,"getSelectionBox",e,(function(e){e.result={x:t.attr?+t.attr("x"):t.x,y:t.attr?+t.attr("y"):t.y,width:t.attr?t.attr("width"):t.width,height:t.attr?t.attr("height"):t.height}})),e.result},t.prototype.drop=function(t){var e=this,i=this.chart,n=this.hasPinched;if(this.selectionMarker){var o=this.getSelectionBox(this.selectionMarker),r=o.x,s=o.y,a=o.width,l=o.height,p={originalEvent:t,xAxis:[],yAxis:[],x:r,y:s,width:a,height:l},g=!!i.mapView;(this.hasDragged||n)&&(i.axes.forEach((function(i){if(i.zoomEnabled&&c(i.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&f(r)&&f(s)&&f(a)&&f(l)){var o=i.horiz,h="touchend"===t.type?i.minPixelPadding:0,d=i.toValue((o?r:s)+h);o=i.toValue((o?r+a:s+l)-h),p[i.coll].push({axis:i,min:Math.min(d,o),max:Math.max(d,o)}),g=!0}})),g&&u(i,"selection",p,(function(t){i.zoom(d(t,n?{animation:!1}:null))}))),f(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),n&&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 n;return t.forEach((function(t){var o=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,o),(o=g(t,!0)&&t.series)&&!(o=!g(n,!0))){o=n.distX-t.distX;var r=n.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);o=0<(0!==o&&e?o:0!==r?r:0!==s?s:n.series.index>t.series.index?-1:1)}o&&(n=t)})),n},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,n=i.xAxis;i=i.yAxis;var o=t.shapeArgs;if(n&&i){var r=v(t.clientX,t.plotX),s=t.plotY||0;return t.isNode&&o&&f(o.x)&&f(o.y)&&(r=o.x,s=o.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-r}:{chartX:r+n.pos,chartY:s+i.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=y(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,n,o,r){var s=[];n=!(!n||!t);var a=function(t){return t.visible&&!(!o&&t.directTouch)&&v(t.options.enableMouseTracking,!0)},l={chartX:r?r.chartX:void 0,chartY:r?r.chartY:void 0,shared:o};u(this,"beforeGetHoverData",l);var h=e&&!e.stickyTracking?[e]:i.filter((function(t){return t.stickyTracking&&(l.filter||a)(t)})),c=n||!r?t:this.findNearestKDPoint(h,o,r);return e=c&&c.series,c&&(o&&!e.noSharedTooltip?(h=i.filter((function(t){return l.filter?l.filter(t):a(t)&&!t.noSharedTooltip})),h.forEach((function(t){var e=p(t.points,(function(t){return t.x===c.x&&!t.isNull}));g(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),s.push(e))}))):s.push(c)),u(this,"afterGetHoverData",l={hoverPoint:c}),{hoverPoint:l.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.parentElement}},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.setDOMEvents()},t.prototype.normalize=function(t,e){var i=t.touches,n=i?i.length?i.item(0):v(i.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),i=n.pageX-e.left,n=n.pageY-e.top,i/=e.scaleX,n/=e.scaleY,d(t,{chartX:Math.round(i),chartY:Math.round(n)})},t.prototype.onContainerClick=function(t){var e=this.chart,i=e.hoverPoint;t=this.normalize(t);var n=e.plotLeft,o=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-n,t.chartY-o,{visiblePlotOnly:!0})&&u(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var i=1===(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),("undefined"===typeof t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var i=r[v(t.hoverChartIndex,-1)],n=this.chart.tooltip;e=this.normalize(e),i&&(e.relatedTarget||e.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset()},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart,i=e.tooltip;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})||i&&i.shouldStickOnContact(t)||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var i=r[v(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=e.tooltip,n=this.chartPosition;t=this.normalize(t,n),!n||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||i&&i.shouldStickOnContact(t)||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var i=r[v(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,i=e.chart,n=e.pinchDown,o=t.touches||[],r=o.length,a=e.lastValidTouch,l=e.hasZoom,h={},c=1===r&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),p={},f=e.chart.tooltip;f=1===r&&v(f&&f.options.followTouchMove,!0);var g=e.selectionMarker;1<r?e.initiated=!0:f&&(e.initiated=!1),l&&e.initiated&&!c&&!1!==t.cancelable&&t.preventDefault(),[].map.call(o,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(o,(function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}})),a.x=[n[0].chartX,n[1]&&n[1].chartX],a.y=[n[0].chartY,n[1]&&n[1].chartY],i.axes.forEach((function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,o=t.toPixels(Math.min(v(t.options.min,t.dataMin),t.dataMin)),r=t.toPixels(Math.max(v(t.options.max,t.dataMax),t.dataMax)),s=Math.max(o,r);e.min=Math.min(t.pos,Math.min(o,r)-n),e.max=Math.max(t.pos+t.len,s+n)}})),e.res=!0):f?this.runPointActions(e.normalize(t)):n.length&&(u(i,"touchpan",{originalEvent:t},(function(){g||(e.selectionMarker=g=d({destroy:s,touch:!0},i.plotBox)),e.pinchTranslate(n,o,h,g,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,n,o,r){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,n,o,r),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,n,o,r)}
2,t.prototype.pinchTranslateDirection=function(t,e,i,n,o,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,y=e[0][d],v=!m&&e[1][d];e=function(){"number"===typeof C&&20<Math.abs(y-v)&&(w=a||Math.abs(S-C)/Math.abs(y-v)),b=(u-S)/w+y,x=l["plot"+(t?"Width":"Height")]/w};var x,b,w=a||1,S=i[0][d],C=!m&&i[1][d];if(e(),(i=b)<g.min){i=g.min;var k=!0}else i+x>g.max&&(i=g.max-x,k=!0);k?(S-=.8*(S-s[h][0]),"number"===typeof C&&(C-=.8*(C-s[h][1])),e()):s[h]=[S,C],f||(r[h]=b-u,r[p]=x),r=f?1/w:w,o[p]=x,o[h]=i,n[f?t?"scaleY":"scaleX":"scale"+c]=w,n["translate"+c]=r*u+(S-r*y)},t.prototype.reset=function(t,e){var i=this.chart,n=i.hoverSeries,o=i.hoverPoint,r=i.hoverPoints,s=i.tooltip,a=s&&s.shared?r:o;t&&a&&x(a).forEach((function(e){e.series.isCartesian&&"undefined"===typeof 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))})):o&&(o.setState(o.state,!0),i.axes.forEach((function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)})))):(o&&o.onMouseOut(),r&&r.forEach((function(t){t.setState()})),n&&n.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 n=this.chart,o=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,s=!!o&&o.shared,l=i||n.hoverPoint,h=l&&l.series||n.hoverSeries;i=this.getHoverData(l,h,n.series,(!e||"touchmove"!==e.type)&&(!!i||h&&h.directTouch&&this.isDirectTouch),s,e),l=i.hoverPoint,h=i.hoverSeries;var c=i.hoverPoints;i=h&&h.tooltipOptions.followPointer&&!h.tooltipOptions.split;var d=s&&h&&!h.noSharedTooltip;if(l&&(l!==n.hoverPoint||o&&o.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===c.indexOf(t)&&t.setState()})),n.hoverSeries!==h&&h.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!l.series)return;n.hoverPoints=c,n.hoverPoint=l,l.firePointEvent("mouseOver",void 0,(function(){o&&l&&o.refresh(d?c:l,e)}))}else i&&o&&!o.isHidden&&(s=o.getAnchor([{}],e),n.isInsidePlot(s[0],s[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:s[0],plotY:s[1]}));this.unDocMouseMove||(this.unDocMouseMove=a(n.container.ownerDocument,"mousemove",(function(e){var i=r[t.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(t){var i,o=v((t.crosshair||{}).snap,!0);o&&((i=n.hoverPoint)&&i.series[t.coll]===t||(i=p(c,(function(e){return e.series&&e.series[t.coll]===t})))),i||!o?t.drawCrosshair(e,i):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var i=this.chart;i.series.forEach((function(n){var o=t||n.getPlotBox();n.group&&(n.xAxis&&n.xAxis.zoomEnabled||i.mapView)&&(n.group.attr(o),n.markerGroup&&(n.markerGroup.attr(o),n.markerGroup.clip(e?i.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(o))})),i.clipRect.attr(e||i.clipBox)},t.prototype.setDOMEvents=function(){var i=this,n=this.chart.container,o=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(a(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(a(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=a(o,"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(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(a(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=a(o,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var i=this.chart,n=e.charts[v(t.hoverChartIndex,-1)];n&&n!==i&&n.pointer.onContainerMouseLeave({relatedTarget:i.container}),n&&n.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 n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));v(n,!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.zooming.singleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart;e=e.inverted;var n=i.zooming.type||"";/touch/.test(t.type)&&(n=v(i.zooming.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=i=/y/.test(n),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 n(){var t=[];return t.item=function(t){return this[t]},p(g,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function o(t,i,o,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:o,target:t.currentTarget,preventDefault:l,touches: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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.charts,a=t.doc,l=t.noop,h=t.win,c=i.addEvent,d=i.css,p=i.objectEach,u=i.pick,f=i.removeEvent,g={},m=!!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,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},i.prototype.destroy=function(){this.batchMSEvents(f),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){o(t,"onContainerTouchStart","touchstart",(function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},i.prototype.onContainerPointerMove=function(t){o(t,"onContainerTouchMove","touchmove",(function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY},g[t.pointerId].target||(g[t.pointerId].target=t.currentTarget)}))},i.prototype.onDocumentPointerUp=function(t){o(t,"onDocumentTouchEnd","touchend",(function(t){delete g[t.pointerId]}))},i.prototype.setDOMEvents=function(){var t=this.chart.tooltip;e.prototype.setDOMEvents.call(this),(this.hasZoom||u(t&&t.options.followTouchMove,!0))&&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,n,o,r){var s=t.animObject,a=t.setAnimation,l=e.format,h=i.marginNames,c=o.distribute,d=r.addEvent,p=r.createElement,u=r.css,f=r.defined,g=r.discardElement,m=r.find,y=r.fireEvent,v=r.isNumber,x=r.merge,b=r.pick,w=r.relativeLength,S=r.stableSort,C=r.syncTimeout;return t=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=void 0,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(),y(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){var i=t.legendItem||{},n=i.group,o=i.label,r=i.line;if(i=i.symbol,n&&n[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var s=this.options;n=this.itemHiddenStyle.color,s=e?s.itemStyle.color:n;var a=e&&t.color||n,l=t.options&&t.options.marker,h={fill:a};o&&o.css({fill:s,color:s}),r&&r.attr({stroke:a}),i&&(l&&i.isMarker&&(h=t.pointAttribs(),e||(h.stroke=h.fill=n)),i.attr(h))}y(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=t.legendItem||{},n=i.group,o=i.x;o=void 0===o?0:o,i=void 0===(i=i.y)?0:i;var r=this.options,s=r.symbolPadding,a=!r.rtl;r=t.checkbox,n&&n.element&&(s={translateX:a?o:this.legendWidth-o-2*s-4,translateY:i},n[f(n.translateY)?"animate":"attr"](s,void 0,(function(){y(e,"afterPositionItem",{item:t})}))),r&&(r.x=o,r.y=i)},t.prototype.destroyItem=function(t){for(var e=t.checkbox,i=t.legendItem||{},n=0,o=["group","label","line","symbol"];n<o.length;n++){var r=o[n];i[r]&&(i[r]=i[r].destroy())}e&&g(e),t.legendItem=void 0},t.prototype.destroy=function(){for(var t=0,e=this.getAllItems();t<e.length;t++)this.destroyItem(e[t]);for(t=0,e="clipRect up down pager nav box title group".split(" ");t<e.length;t++){var i=e[t];this[i]&&(this[i]=this[i].destroy())}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 n=t.translateY;this.allItems.forEach((function(o){var r=o.checkbox;if(r){var s=n+i+r.y+(this.scrollOffset||0)+3;u(r,{left:t.translateX+o.checkboxOffset+r.x-20+"px",top:s+"px",display:this.proximate||s>n-6&&s<n+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,i=t.title,n=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,e-3,e-4,void 0,void 0,void 0,t.useHTML,void 0,"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"}),n=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n},t.prototype.setText=function(t){var e=this.options;t.legendItem.label.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=t.legendItem=t.legendItem||{},i=this.chart,n=i.renderer,o=this.options,r=this.symbolWidth,s=o.symbolPadding||0,a=this.itemStyle,l=this.itemHiddenStyle,h="horizontal"===o.layout?b(o.itemDistance,20):0,c=!o.rtl,d=!t.series,p=!d&&t.series.drawLegendSymbol?t.series:t,u=p.options,f=this.createCheckboxForItem&&u&&u.showCheckbox,g=o.useHTML,m=t.options.className,y=e.label;u=r+s+h+(f?20:0),y||(e.group=n.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=y=n.text("",c?r+s:-s,this.baseline||0,g),i.styledMode||y.css(x(t.visible?a:l)),y.attr({align:c?"left":"right",zIndex:2}).add(e.group),this.baseline||(this.fontMetrics=n.fontMetrics(i.styledMode?12:a.fontSize,y),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,y.attr("y",this.baseline),this.symbolHeight=o.symbolHeight||this.fontMetrics.f,o.squareSymbol&&(this.symbolWidth=b(o.symbolWidth,Math.max(this.symbolHeight,16)),u=this.symbolWidth+s+h+(f?20:0),c&&y.attr("x",this.symbolWidth+s))),p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,y,g)),f&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!i.styledMode&&a.width||y.css({width:(o.itemWidth||this.widthOption||i.spacingBox.width)-u+"px"}),this.setText(t),i=y.getBBox(),n=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=o.itemWidth||e.labelWidth||i.width+u,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(i.height>1.5*n?i.height:n))},t.prototype.layoutItem=function(t){var e=this.options,i=this.padding,n="horizontal"===e.layout,o=t.itemHeight,r=this.itemMarginBottom,s=this.itemMarginTop,a=n?b(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth;var h=t.legendItem||{};n&&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(o,this.lastLineHeight),h.x=this.itemX,h.y=this.itemY,n?this.itemX+=e:(this.itemY+=s+o+r,this.lastLineHeight=o
2),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return 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.legendItem||{}).labels||("point"===i.legendType?e.data:e)))})),y(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,n=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(r,s){r.test(o)&&!f(t[s])&&(i[h[s]]=Math.max(i[h[s]],i.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*n[s%2?"x":"y"]+b(n.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(n){var o,r=i;if(n.yAxis){n.xAxis.options.reversed&&(r=!r),n.points&&(o=m(r?n.points:n.points.slice(0).reverse(),(function(t){return v(t.plotY)}))),r=this.itemMarginTop+n.legendItem.label.getBBox().height+this.itemMarginBottom;var s=n.yAxis.top-t.plotTop;n.visible?(o=o?o.plotY:n.yAxis.height,o+=s-.3*r):o=s+n.yAxis.height,e.push({target:o,size:r,item:n})}}),this);for(var n,o=0,r=c(e,t.plotHeight);o<r.length;o++){var s=r[o];n=s.item.legendItem||{},s.pos&&(n.y=t.plotTop-t.spacing[0]+s.pos)}},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.options,n=this.padding,o=this.getAllItems(),r=this.group,s=this.box;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=w(i.width,t.spacingBox.width-n);var a=t.spacingBox.width-2*n-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(),S(o,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),i.reversed&&o.reverse(),this.allItems=o,this.display=a=!!o.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,o.forEach(this.renderItem,this),o.forEach(this.layoutItem,this),o=(this.widthOption||this.offsetWidth)+n;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=n,s||(this.box=s=e.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(r)),t.styledMode||s.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0<o&&0<l&&s[s.placed?"animate":"attr"](s.crisp.call({},{x:0,y:0,width:o,height:l},s.strokeWidth())),r[a?"show":"hide"](),t.styledMode&&"none"===r.getStyle("display")&&(o=l=0),this.legendWidth=o,this.legendHeight=l,a&&this.align(),this.proximate||this.positionItems(),y(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,i=this.options,n=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?n+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(n-=e.titleOffset[2]),n!==t.y&&(t=x(t,{y:n})),e.hasRendered||(this.group.placed=!1),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,n,o=this,r=this.chart,s=r.renderer,a=this.options,l=a.y,h="top"===a.verticalAlign,c=this.padding,d=a.maxHeight,p=a.navigation,u=b(p.animation,!0),f=p.arrowSize||12,g=this.pages,m=this.allItems,y=function(t){"number"===typeof t?w.attr({height:t}):w&&(o.clipRect=w.destroy(),o.contentGroup.clip()),o.contentGroup.div&&(o.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")},v=function(t){return o[t]=s.circle(0,0,1.3*f).translate(f/2,f/2).add(x),r.styledMode||o[t].attr("fill","rgba(0,0,0,0.0001)"),o[t]};l=r.spacingBox.height+(h?-l:l)-c;var x=this.nav,w=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(l/=2),d&&(l=Math.min(l,d)),g.length=0,t&&0<l&&t>l&&!1!==p.enabled?(this.clipHeight=e=Math.max(l-20-this.titleHeight-c,0),this.currentPage=b(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,o){t=(n=t.legendItem||{}).y||0;var r=Math.round(n.label.getBBox().height),s=g.length;(!s||t-g[s-1]>e&&(i||t)!==g[s-1])&&(g.push(i||t),s++),n.pageIx=s-1,i&&((m[o-1].legendItem||{}).pageIx=s-1),o===m.length-1&&t+r-g[s-1]>e&&r<=e&&(g.push(t),n.pageIx=s),t!==i&&(i=t)})),w||(w=o.clipRect=s.clipRect(0,c,9999,0),o.contentGroup.clip(w)),y(e),x||(this.nav=x=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,f,f).add(x),v("upTracker").on("click",(function(){o.scroll(-1,u)})),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),!r.styledMode&&p.style&&this.pager.css(p.style),this.pager.add(x),this.down=s.symbol("triangle-down",0,0,f,f).add(x),v("downTracker").on("click",(function(){o.scroll(1,u)}))),o.scroll(0),t=l):x&&(y(),this.nav=x.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,n=this.chart,o=this.pages,r=o.length,l=this.clipHeight,h=this.options.navigation,c=this.pager,d=this.padding,p=this.currentPage+t;p>r&&(p=r),0<p&&("undefined"!==typeof e&&a(e,n),this.nav.attr({translateX:d,translateY:l+this.padding+7+this.titleHeight,visibility:"inherit"}),[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"})}
2),this),n.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=-o[p-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=p,this.positionCheckboxes(),t=s(b(e,n.renderer.globalAnimation,!0)),C((function(){y(i,"afterScroll",{currentPage:p})}),t.duration))},t.prototype.setItemEvents=function(t,e,i){var o=this,r=t.legendItem||{},s=o.chart.renderer.boxWrapper,a=t instanceof n,l="highcharts-legend-"+(a?"point":"series")+"-active",h=o.chart.styledMode,c=function(e){o.allItems.forEach((function(i){t!==i&&[i].concat(i.linkedSeries||[]).forEach((function(t){t.setState(e,!a)}))}))},d=0;for(i=i?[e,r.symbol]:[r.group];d<i.length;d++)(r=i[d])&&r.on("mouseover",(function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&s.addClass(l),h||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(x(t.visible?o.itemStyle:o.itemHiddenStyle)),c(""),s.removeClass(l),t.setState()})).on("click",(function(e){var i=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};s.removeClass(l),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):y(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){y(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),t})),e(i,"Core/Series/SeriesRegistry.js",[i["Core/Globals.js"],i["Core/Defaults.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o,r=e.defaultOptions,s=n.extendClass,a=n.merge;return function(e){function n(t,n){var o=r.plotOptions||{},s=n.defaultOptions,a=n.prototype;a.type=t,a.pointClass||(a.pointClass=i),s&&(o[t]=s),e.seriesTypes[t]=n}e.seriesTypes=t.seriesTypes,e.registerSeriesType=n,e.seriesType=function(t,o,l,h,c){var d=r.plotOptions||{};return o=o||"",d[t]=a(d[o],l),n(t,s(e.seriesTypes[o]||function(){},h)),e.seriesTypes[t].prototype.type=t,c&&(e.seriesTypes[t].prototype.pointClass=s(i,c)),e.seriesTypes[t]}}(o||(o={})),o})),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Defaults.js"],i["Core/FormatUtilities.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend/Legend.js"],i["Core/MSPointer.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,n,o,r,s,a,l,h,c,d,p,u,f){var g=t.animate,m=t.animObject,y=t.setAnimation,v=i.defaultOptions,x=i.defaultTime,b=n.numberFormat,w=o.registerEventOptions,S=r.charts,C=r.doc,k=r.marginNames,T=r.svg,M=r.win,A=c.seriesTypes,P=u.addEvent,E=u.attr,L=u.cleanRecursively,_=u.createElement,O=u.css,D=u.defined,j=u.discardElement,N=u.erase,I=u.error,R=u.extend,B=u.find,z=u.fireEvent,H=u.getStyle,X=u.isArray,W=u.isNumber,F=u.isObject,Y=u.isString,G=u.merge,U=u.objectEach,q=u.pick,V=u.pInt,K=u.relativeLength,$=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,n){return new t(e,i,n)},t.prototype.getArgs=function(t,e,i){Y(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 n=G(v,t),o=n.chart;U(n.plotOptions,(function(t,e){F(t)&&(t.tooltip=i[e]&&G(i[e].tooltip)||void 0)})),n.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;var s=o.zooming=o.zooming||{};t.chart&&!t.chart.zooming&&(s.resetButton=o.resetZoomButton),s.key=q(s.key,o.zoomKey),s.pinchType=q(s.pinchType,o.pinchType),s.singleTouch=q(s.singleTouch,o.zoomBySingleTouch),s.type=q(s.type,o.zoomType),this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new p(t.time):r.time,this.numberFormatter=o.numberFormatter||b,this.styledMode=o.styledMode,this.hasCartesianSeries=o.showAxes,this.index=S.length,S.push(this),r.chartCount++,w(this,o),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=A[e];return i||I(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 n=this.inverted,o=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(o=i.visiblePlotOnly&&a||o,t={x:a=i.inverted?e:t,y:e=i.inverted?t:e,isInsidePlot:!0,options:i},!i.ignoreX){var d=c&&(n&&!this.polar?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+o.width,d.pos+d.len)||(t.isInsidePlot=!1)}return!i.ignoreY&&t.isInsidePlot&&(n=i.axis&&!i.axis.isXAxis&&i.axis||c&&(n?c.xAxis:c.yAxis)||{pos:s,len:1/0},(i=i.paneCoordinates?n.pos+e:s+e)>=Math.max(h+s,n.pos)&&i<=Math.min(h+s+o.height,n.pos+n.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,n=this.pointer,o=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),y(!!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&&o&&o.options.enabled&&(o.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})),n&&n.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,n=B(this.axes,e)||B(this.series,e),o=0;!n&&o<i.length;o++)n=B(i[o].points||[],e);return n},t.prototype.getAxes=function(){var t=this,i=this.options,n=i.xAxis=Z(i.xAxis||{});i=i.yAxis=Z(i.yAxis||{}),z(this,"getAxes"),n.forEach((function(t,e){t.index=e,t.isX=!0})),i.forEach((function(t,e){t.index=e})),n.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){q(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,n="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};n=this.options[t]=G(!this.styledMode&&{style:n},this.options[t],e);var o=this[t];o&&e&&(this[t]=o=o.destroy()),n&&!o&&((o=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,class:"highcharts-"+t,zIndex:n.zIndex||4}
2).add()).update=function(e){i[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||o.css(n.style),this[t]=o)},t.prototype.layOutTitles=function(t){var e=[0,0,0],i=this.renderer,n=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var o,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||(o=s.style&&s.style.fontSize),o=i.fontMetrics(o,r).b,r.css({width:(s.width||n.width+(s.widthAdjust||0))+"px"});var l=Math.round(r.getBBox(s.useHTML).height);r.align(R({y:"bottom"===a?o:t+o,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 o=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,z(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&q(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;D(e)||(this.containerWidth=H(i,"width")),D(t)||(this.containerHeight=H(i,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,K(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&&(O(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(C.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(C.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,C.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),O(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==C.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,i=e.chart,n=J(),o=this.renderTo;o||(this.renderTo=o=i.renderTo),Y(o)&&(this.renderTo=o=C.getElementById(o)),o||I(13,!0,this);var r=V(E(o,"data-highcharts-chart"));W(r)&&S[r]&&S[r].hasRendered&&S[r].destroy(),E(o,"data-highcharts-chart",this.index),o.innerHTML=f.emptyHTML,i.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize(),r=this.chartWidth;var s=this.chartHeight;if(O(o,{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=n=_("div",{id:n},t,o),this._cursor=n.style.cursor,this.renderer=new(i.renderer||!T?h.getRendererType(i.renderer):d)(n,r,s,void 0,i.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),y(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,n=this.titleOffset;this.resetMargins(),n[0]&&!D(i[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+e[0])),n[2]&&!D(i[2])&&(this.marginBottom=Math.max(this.marginBottom,n[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,n=t.margin,o=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?o(t.axes):i&&i.length&&o(i),k.forEach((function(i,o){D(n[o])||(t[i]+=e[o])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,i=e.options.chart,n=e.renderTo,o=D(i.width)&&D(i.height),r=i.width||H(n,"width");
2i=i.height||H(n,"height"),n=t?t.target:M,delete e.pointer.chartPosition,o||e.isPrinting||!r||!i||n!==M&&n!==C||(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=P(M,"resize",(function(t){e.options&&e.reflow(t)})),P(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,i){var n=this,o=n.renderer;n.isResizing+=1,y(i,n),i=o.globalAnimation,n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,"undefined"!==typeof t&&(n.options.chart.width=t),"undefined"!==typeof e&&(n.options.chart.height=e),n.getChartSize(),n.styledMode||(i?g:O)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},i),n.setChartSize(!0),o.setSize(n.chartWidth,n.chartHeight,i),n.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(i),n.oldChartHeight=null,z(n,"resize"),Q((function(){n&&z(n,"endResize",null,(function(){--n.isResizing}))}),m(i).duration)},t.prototype.setChartSize=function(t){var e,i,n,o,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=n=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(l-i-this.marginBottom)),this.plotSizeX=r?o:n,this.plotSizeY=r?n:o,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:n,height:o},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 n=e[i],o=F(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach((function(n,r){t[i][r]=q(e[i+n],o[r])}))})),k.forEach((function(e,i){t[e]=q(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,n=this.chartWidth,o=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,y=this.chartBackground,v=this.plotBackground,x=this.plotBorder,b="animate";if(y||(this.chartBackground=y=i.rect().addClass("highcharts-background").add(),b="attr"),r)var w=t=y.strokeWidth();else t=(w=e.borderWidth||0)+(e.shadow?8:0),a={fill:a||"none"},(w||y["stroke-width"])&&(a.stroke=e.borderColor,a["stroke-width"]=w),y.attr(a).shadow(e.shadow);y[b]({x:t/2,y:t/2,width:n-t-w%2,height:o-t-w%2,r:e.borderRadius}),b="animate",v||(b="attr",this.plotBackground=v=i.rect().addClass("highcharts-plot-background").add()),v[b](f),r||(v.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,n=this,o=n.options.chart,r=n.options.series;["inverted","angular","polar"].forEach((function(s){for(e=A[o.type||o.defaultSeriesType],i=o[s]||e&&e.prototype[s],t=r&&r.length;!i&&t--;)(e=A[r[t].type])&&e.prototype[s]&&(i=!0);n[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;Y(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=q(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 n=R(e.style,i.style),o=V(n.left)+t.plotLeft,r=V(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(i.html,o,r).attr({zIndex:2}).css(n).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,i=this.renderer,n=this.options,o=function(t){t.forEach((function(t){t.visible&&t.render()}))},r=0;this.setTitle(),this.legend=new s(this,n.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),n=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return r=21,!0}));var a=this.plotHeight=Math.max(this.plotHeight-r,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var l=1.1<n/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?o(t):e&&e.length&&o(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=G(!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&&(M.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,n=e.series,o=e.container,s=o&&o.parentNode;for(z(e,"destroy"),e.renderer.forExport?N(S,e):S[e.index]=void 0,r.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),$(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[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())})),o&&(o.innerHTML=f.emptyHTML,$(o),s&&j(o)),U(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(),(X(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),z(t,"beforeRender"),l&&(a.isRequired()?t.pointer=new a(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&&"undefined"!==typeof this.index&&t.apply(this,[this])}),this),z(this,"load"),z(this,"render"),D(this.index)&&this.setReflow(this.options.chart.reflow),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0},t.prototype.warnIfA11yModuleNotLoaded=function(){var t=this.options,e=this.title;t&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":e&&e.element.textContent||""}),t.accessibility&&!1===t.accessibility.enabled||I('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))},t.prototype.addSeries=function(t,e,i){var n,o=this;return t&&(e=q(e,!0),z(o,"addSeries",{options:t},(function(){n=o.initSeries(t),o.isDirtyLegend=!0,o.linkSeries(),n.enabledDataSorting&&n.setData(t.data,!1),z(o,"afterAddSeries",{series:n}),e&&o.redraw(i)}))),n},t.prototype.addAxis=function(t,e,i,n){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:n})},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,G(i.axis,{index:this[t].length,isX:"xAxis"===t})),q(i.redraw,!0)&&this.redraw(i.animation),t},t.prototype.showLoading=function(t){var e=this,i=e.options,n=i.loading,o=function(){r&&O(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=_("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=_("span",{className:"highcharts-loading-inner"},null,r),P(e,"redraw",o)),r.className="highcharts-loading",f.setElementHTML(s,q(t,i.lang.loading,"")),e.styledMode||(O(r,R(n.style,{zIndex:10})),O(s,n.labelStyle),e.loadingShown||(O(r,{opacity:0,display:""}),g(r,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,o()},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(){O(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,i,n){var o,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=L(t,s.options),s.userOptions=G(s.userOptions,t);var c=t.chart;if(c){if(G(!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&&w(this,c),U(c,(function(t,e){-1!==s.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!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===x&&(this.time=new p(t.time)),G(!0,s.options.time,t.time)),U(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)&&G(!0,s.options[i],t[i]),"chart"!==i&&-1!==s.propsRequireUpdateSeries.indexOf(i)&&(o=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var n=[];s[e].forEach((function(t,e){t.options.isInternal||n.push(q(t.options.index,e))}
2)),Z(t[e]).forEach((function(t,o){var r,a=D(t.id);a&&(r=s.get(t.id)),!r&&s[e]&&(r=s[e][n?n[o]:o])&&a&&D(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)})),d&&s.axes.forEach((function(t){t.update({},!1)})),o&&s.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),d=c&&c.width,c=c&&(Y(c.height)?K(c.height,d||s.chartWidth):c.height),r||W(d)&&d!==s.chartWidth||W(c)&&c!==s.chartHeight?s.setSize(d,c,n):q(e,!0)&&s.redraw(n),z(s,"afterUpdate",{options:t,redraw:e,animation:n})},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=v.lang,n=e.options.chart.zooming.resetButton,o=n.theme,r="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";z(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(i.resetZoom,null,null,t,o).attr({align:n.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,r)})),z(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){z(this,"selection",{resetSelection:!0}
2,this.zoom)},t.prototype.zoom=function(t){var e,i=this,n=i.pointer,o=!1;!t||t.resetSelection?(i.axes.forEach((function(t){e=t.zoom()})),n.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var r=t.axis;(n[r.isXAxis?"zoomX":"zoomY"]&&D(n.mouseDownX)&&D(n.mouseDownY)&&i.isInsidePlot(n.mouseDownX-i.plotLeft,n.mouseDownY-i.plotTop,{axis:r})||!D(i.inverted?n.mouseDownX:n.mouseDownY))&&(e=r.zoom(t.min,t.max),r.displayBtn&&(o=!0))}));var r=i.resetZoomButton;o&&!r?i.showResetZoom():!o&&F(r)&&(i.resetZoomButton=r.destroy()),e&&i.redraw(q(i.options.chart.animation,t&&t.animation,100>i.pointCount))},t.prototype.pan=function(t,e){var i=this,n=i.hoverPoints;e="object"===typeof e?e:{enabled:e,type:"x"};var o=i.options.chart;o&&o.panning&&(o.panning=e);var r,s=e.type;z(this,"pan",{originalEvent:t},(function(){n&&n.forEach((function(t){t.setState()}));var e=i.xAxis;"xy"===s?e=e.concat(i.yAxis):"y"===s&&(e=i.yAxis);var o={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,a=t[n?"chartX":"chartY"],l=i[n=n?"mouseDownX":"mouseDownY"],h=e.minPointOffset||0,c=e.reversed&&!i.inverted||!e.reversed&&i.inverted?-1:1,d=e.getExtremes(),p=e.toValue(l-a,!0)+h*c,u=e.toValue(l+e.len-a,!0)-(h*c||e.isXAxis&&e.pointRangePadding||0),f=u<p;c=e.hasVerticalPanning(),l=f?u:p,p=f?p:u;var g=e.panningState;!c||e.isXAxis||g&&!g.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),g||(g={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),W(e.dataMin)&&W(e.dataMax)&&(g.startMin=Math.min(q(t.options.threshold,1/0),e.dataMin,g.startMin),g.startMax=Math.max(q(t.options.threshold,-1/0),e.dataMax,g.startMax))}
2)),c=Math.min(q(g&&g.startMin,d.dataMin),h?d.min:e.toValue(e.toPixels(d.min)-e.minPixelPadding)),u=Math.max(q(g&&g.startMax,d.dataMax),h?d.max:e.toValue(e.toPixels(d.max)+e.minPixelPadding)),e.panningState=g,e.isOrdinal||(0<(h=c-l)&&(p+=h,l=c),0<(h=p-u)&&(p=u,l-=h),e.series.length&&l!==d.min&&p!==d.max&&l>=c&&p<=u&&(e.setExtremes(l,p,!1,!1,{trigger:"pan"}),!i.resetZoomButton&&l!==c&&p!==u&&s.match("y")&&(i.showResetZoom(),e.displayBtn=!1),r=!0),o[n]=a)}})),U(o,(function(t,e){i[e]=t})),r&&i.redraw(!1),O(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 plotBackgroundColor 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,n=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.legendItem=this.legendItem||{},o=this.options,r=t.symbolWidth,s=t.symbolHeight,a=s/2,l=this.chart.renderer,h=e.group;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={},d=o.marker;this.chart.styledMode||(c={"stroke-width":o.lineWidth||0},o.dashStyle&&(c.dashstyle=o.dashStyle)),e.line=l.path([["M",0,t],["L",r,t]]).addClass("highcharts-graph").attr(c).add(h),d&&!1!==d.enabled&&r&&(o=Math.min(n(d.radius,a),a),0===this.symbol.indexOf("url")&&(d=i(d,{width:s,height:s}),o=0),e.symbol=e=l.symbol(this.symbol,r/2-o,t-o,2*o,2*o,d).addClass("highcharts-point").add(h),e.isMarker=!0)},t.drawRectangle=function(t,e){e=e.legendItem||{};var i=t.symbolHeight,o=t.options.squareSymbol;e.symbol=this.chart.renderer.rect(o?(t.symbolWidth-i)/2:0,t.baseline-i+1,o?i:t.symbolWidth,i,n(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.group)}}(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/Defaults.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,n,o,r,s,a,l,h){var c=t.animObject,d=t.setAnimation,p=e.defaultOptions,u=i.registerEventOptions,f=n.hasTouch,g=n.svg,m=n.win,y=a.seriesTypes,v=h.addEvent,x=h.arrayMax,b=h.arrayMin,w=h.clamp,S=h.cleanRecursively,C=h.correctFloat,k=h.defined,T=h.erase,M=h.error,A=h.extend,P=h.find,E=h.fireEvent,L=h.getNestedProperty,_=h.isArray,O=h.isNumber,D=h.isString,j=h.merge,N=h.objectEach,I=h.pick,R=h.removeEvent,B=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){E(this,"init",{options:e});var i=this,n=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e),e=i.options,i.linkedSeries=[],i.bindAxes(),A(i,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),u(this,e);var o,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),n.length&&(o=n[n.length-1]),i._i=I(o&&o._i,-1)+1,i.opacity=i.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(e.data,!1),E(this,"afterInit")},t.prototype.is=function(t){return y[t]&&this instanceof y[t]},t.prototype.insert=function(t){var e,i=this.options.index;if(O(i)){for(e=t.length;e--;)if(i>=I(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 I(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,i=e.options,n=e.chart;
2E(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(o){var r=0;n[o].forEach((function(n){t=n.options,(i[o]===r&&!t.isInternal||"undefined"!==typeof i[o]&&i[o]===t.id||"undefined"===typeof i[o]&&0===t.index)&&(e.insert(n.series),e[o]=n,n.isDirty=!0),t.isInternal||r++})),e[o]||e.optionalAxis===o||M(18,!0,n)}))})),E(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var i=t.series,n=arguments,o=O(e)?function(n){var o="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=o}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(n,2))};i.parallelArrays.forEach(o)},t.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,i=this.options,n=i.pointIntervalUnit,o=i.relativeXValue,r=this.chart.time,s=this.xIncrement;return s=I(s,i.pointStart,0),this.pointInterval=e=I(this.pointInterval,i.pointInterval,1),o&&O(t)&&(e*=t),n&&(i=new r.Date(s),"day"===n?r.set("Date",i,r.get("Date",i)+e):"month"===n?r.set("Month",i,r.get("Month",i)+e):"year"===n&&r.set("FullYear",i,r.get("FullYear",i)+e),e=i.getTime()-s),o&&O(t)?s+e:(this.xIncrement=s+e,s)},t.prototype.setDataSortingOptions=function(){var t=this.options;A(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),k(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,i=e.options,n=i.plotOptions,o=e.userOptions||{};t=j(t),e=e.styledMode;var r={plotOptions:n,userOptions:t};E(this,"setOptions",r);var s=r.plotOptions[this.type],a=o.plotOptions||{};return this.userOptions=r.userOptions,o=j(s,n.series,o.plotOptions&&o.plotOptions[this.type],t),this.tooltipOptions=j(p.tooltip,p.plotOptions.series&&p.plotOptions.series.tooltip,p.plotOptions[this.type].tooltip,i.tooltip.userOptions,n.series&&n.series.tooltip,n[this.type].tooltip,t.tooltip),this.stickyTracking=I(t.stickyTracking,a[this.type]&&a[this.type].stickyTracking,a.series&&a.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||o.stickyTracking),null===s.marker&&delete o.marker,this.zoneAxis=o.zoneAxis,n=this.zones=(o.zones||[]).slice(),!o.negativeColor&&!o.negativeFillColor||o.zones||(i={value:o[this.zoneAxis+"Threshold"]||o.threshold||0,className:"highcharts-negative"},e||(i.color=o.negativeColor,i.fillColor=o.negativeFillColor),n.push(i)),n.length&&k(n[n.length-1].value)&&n.push(e?{}:{color:this.color,fillColor:this.fillColor}),E(this,"afterSetOptions",{options:o}),o},t.prototype.getName=function(){return I(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,i){var n=this.chart,o=this.userOptions,r=t+"Index",s=t+"Counter",a=i?i.length:I(n.options.chart[t+"Count"],n[t+"Count"]);if(!e){var l=I(o[r],o["_"+r]);k(l)||(n.series.length||(n[s]=0),o["_"+r]=l=n[s]%a,n[s]+=1),i&&(e=i[l])}"undefined"!==typeof 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,n,o=t.id,s=t.x,a=this.points,l=this.options.dataSorting;if(o)(l=this.chart.get(o))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=P(a,i))))return;if(i){var h=i&&i.index;"undefined"!==typeof h&&(n=!0)}return"undefined"===typeof h&&O(s)&&(h=this.xData.indexOf(s,e)),-1!==h&&"undefined"!==typeof h&&this.cropped&&(h=h>=this.cropStart?h-this.cropStart:h),!n&&O(h)&&a[h]&&a[h].touched&&(h=void 0),h},t.prototype.updateData=function(t,e){var i,n,o,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 n=k(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=n.x;n.id||O(d)?(-1===(n=this.findPointIndex(n,o))||"undefined"===typeof n?l.push(t):a[n]&&t!==r.data[n]?(a[n].update(t,!1,null,!1),a[n].touched=!0,h&&(o=n+1)):a[n]&&(a[n].touched=!0),(!c||e!==n||s&&s.enabled||this.hasDerivedData)&&(i=!0)):l.push(t)}),this),i)for(t=a.length;t--;)(n=a[t])&&!n.touched&&n.remove&&n.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,n){void 0===e&&(e=!0);var o=this,r=o.points,s=r&&r.length||0,a=o.options,l=o.chart,h=a.dataSorting,c=o.xAxis,d=a.turboThreshold,p=this.xData,u=this.yData,f=o.pointArrayMap;f=f&&f.length;var g,m=a.keys,y=0,v=1,x=null;if(!l.options.chart.allowMutatingData){a.data&&delete o.options.data,o.userOptions.data&&delete o.userOptions.data;var b=j(!0,t)}if(b=(t=b||t||[]).length,h&&h.enabled&&(t=this.sortData(t)),l.options.chart.allowMutatingData&&!1!==n&&b&&s&&!o.cropped&&!o.hasGroupedData&&o.visible&&!o.boosted&&(g=this.updateData(t,i)),!g){if(o.xIncrement=null,o.colorCounter=0,this.parallelArrays.forEach((function(t){o[t+"Data"].length=0})),d&&b>d)if(x=o.getFirstValidPoint(t),O(x))for(i=0;i<b;i++)p[i]=this.autoIncrement(),u[i]=t[i];else if(_(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++)n=t[i],p[i]=n[0],u[i]=n.slice(1,f+1);else if(m&&(y=0<=(y=m.indexOf("x"))?y:0,v=0<=(v=m.indexOf("y"))?v:1),1===x.length&&(v=0),y===v)for(i=0;i<b;i++)p[i]=this.autoIncrement(),u[i]=t[i][v];else for(i=0;i<b;i++)n=t[i],p[i]=n[y],u[i]=n[v];else M(12,!1,l);else for(i=0;i<b;i++)"undefined"!==typeof t[i]&&(n={series:o},o.pointClass.prototype.applyOptions.apply(n,[t[i]]),o.updateParallelArrays(n,i));for(u&&D(u[0])&&M(14,!0,l),o.data=[],o.options.data=o.userOptions.data=t,i=s;i--;)r[i]&&r[i].destroy&&r[i].destroy();c&&(c.minRange=c.userMinRange),o.isDirty=l.isDirtyBox=!0,o.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",n=function(t,e){return k(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(i,o){t[o]=n(e,i),t[o].index=o}),this),t.concat().sort((function(t,e){return t=L(i,t),(e=L(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,o=i.data;i.dataSorting&&i.dataSorting.enabled||!o||(o.forEach((function(i,r){o[r]=n(e,i),t[r]&&(o[r].x=t[r].x,o[r].index=r)})),e.setData(o,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,i=this.options,n=i.cropThreshold,o=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&&!o&&(!n||d>n||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(n=a.length||1;--n;)if(0<(e=i?t(a[n])-t(a[n-1]):a[n]-a[n-1])&&("undefined"===typeof g||e<g))var g=e;else 0>e&&h&&!c&&(M(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,E(this,"afterProcessData")},t.prototype.cropData=function(t,e,i,n,o){var r,s=t.length,a=0,l=s;for(o=I(o,this.cropShoulder),r=0;r<s;r++)if(t[r]>=i){a=Math.max(0,r-o);break}for(i=r;i<s;i++)if(t[i]>n){l=i+o;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=this.processedData||t.data,i=this.processedXData,n=this.processedYData,o=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 o).init(this,[i[d]].concat(B(n[d])));f.dataGroup=this.groupMap[t+d],f.dataGroup.options&&(f.options=f.dataGroup.options,A(f,f.dataGroup.options),delete f.dataLabels)}else(f=p[u])||"undefined"===typeof e[u]||(p[u]=f=(new o).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,E(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:b(t),max:x(t)}},t.prototype.getExtremes=function(t,e){var i=this.xAxis,n=this.yAxis,o=this.processedXData||this.xData,r=[],s=this.requireSorting?this.cropShoulder:0;
2n=!!n&&n.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=o[a];p=t[a];var f=(O(p)||_(p))&&(p.length||0<p||!n);if(u=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!i||(o[a+s]||u)>=l&&(o[a-s]||u)<=h,f&&u)if(f=p.length)for(;f--;)O(p[f])&&(r[c++]=p[f]);else r[c++]=p}return t={activeYData:r,dataMin:b(r),dataMax:x(r)},E(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,n=null;null===n&&i<e;)n=t[i],i++;return n},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,i=this.options,n=i.stacking,o=this.xAxis,r=o.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],y=m.x,v=void 0,x=void 0,b=m.y,S=m.low,T=n&&a.stacking&&a.stacking.stacks[(this.negStacks&&b<(u?0:p)?"-":"")+this.stackKey];if((a.positiveValuesOnly&&!a.validatePositiveValue(b)||o.positiveValuesOnly&&!o.validatePositiveValue(y))&&(m.isNull=!0),m.plotX=e=C(w(o.translate(y,0,0,0,1,c,"flags"===this.type),-1e5,1e5)),n&&this.visible&&T&&T[y]){var M=this.getStackIndicator(M,y,this.index);m.isNull||(x=(v=T[y]).points[M.key])}if(_(x)&&(S=x[0],b=x[1],S===u&&M.key===T[y].base&&(S=I(O(p)&&p,a.min)),a.positiveValuesOnly&&0>=S&&(S=null),m.total=m.stackTotal=v.total,m.percentage=v.total&&m.y/v.total*100,m.stackY=b,this.irregularWidths||v.setOffset(this.pointXOffset||0,this.barW||0)),m.yBottom=k(S)?w(a.translate(S,0,1,0,1),-1e5,1e5):null,this.dataModify&&(b=this.dataModify.modifyValue(b,t)),m.plotY=void 0,O(b)&&"undefined"!==typeof(v=a.translate(b,!1,!0,!1,!0))&&(m.plotY=w(v,-1e5,1e5)),m.isInside=this.isPointInside(m),m.clientX=d?C(o.translate(y,0,0,0,1,c)):e,m.negative=m[f]<(i[f+"Threshold"]||p||0),m.category=I(r&&r[m.x],m.x),!m.isNull&&!1!==m.visible){"undefined"!==typeof A&&(g=Math.min(g,Math.abs(e-A)));var A=e}m.zone=this.zones.length?m.getZone():void 0,!m.graphic&&this.group&&s&&(m.isNew=!0)}this.closestPointRangePx=g,E(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,i){var n=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&!1!==t.visible&&(i||!t.isNull)}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis,n=j(t.clipBox);return e&&e.len!==t.plotSizeX&&(n.width=e.len),i&&i.len!==t.plotSizeY&&(n.height=i.len),n},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,n=t.sharedClips;t=t.renderer;var o=this.getClipBox(),r=this.getSharedClipKey(),s=n[r];s?s.animate(o):n[r]=s=t.clipRect(o),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,n=this.markerGroup,o=e.inverted,r=c(this.options.animation),s=[this.getSharedClipKey(),r.duration,r.easing,r.defer].join(),a=e.sharedCl
2ips[s],l=e.sharedClips[s+"m"];if(t&&i)r=this.getClipBox(),a?a.attr("height",r.height):(r.width=0,o&&(r.x=e.plotHeight),a=e.renderer.clipRect(r),e.sharedClips[s]=a,l=e.renderer.clipRect({x:o?(e.plotSizeX||0)+99:-99,y:o?-e.plotLeft:-e.plotTop,width:99,height:o?e.chartWidth:e.chartHeight}),e.sharedClips[s+"m"]=l),i.clip(a),n&&n.clip(l);else if(a&&!a.hasClass("highcharts-animating")){e=this.getClipBox();var h=r.step;n&&n.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(),N(this.chart.sharedClips,(function(e,i,n){e&&!t.chart.container.querySelector('[clip-path="url(#'.concat(e.id,')"]'))&&(e.destroy(),delete n[i])})),this.finishedAnimating=!0,E(this,"afterAnimate")},t.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var e,i,n=this.chart,o=this.options.marker,r=this[this.specialGroup]||this.markerGroup,s=this.xAxis,a=I(o.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=o.enabledThreshold*o.radius);if(!1!==o.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++){var l=t[e],h=(i=l.graphic)?"animate":"attr",c=l.marker||{},d=!!l.marker;if((a&&"undefined"===typeof c.enabled||c.enabled)&&!l.isNull&&!1!==l.visible){var p=I(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;i?i[f?"show":"hide"](f).animate(u):f&&(0<(u.width||0)||l.hasImage)&&(l.graphic=i=n.renderer.symbol(p,u.x,u.y,u.width,u.height,d?c:o).add(r),this.enabledDataSorting&&n.hasRendered&&(i.attr({x:l.startXPos}),h="animate")),i&&"animate"===h&&i[f?"show":"hide"](f).animate(u),i&&!n.styledMode&&i[h](this.pointAttribs(l,l.selected&&"select")),i&&i.addClass(l.getClassName(),!0)}else i&&(l.graphic=i.destroy())}},t.prototype.markerAttribs=function(t,e){var i=this.options,n=i.marker,o=t.marker||{},r=o.symbol||n.symbol,s=I(o.radius,n&&n.radius);return e&&(n=n.states[e],e=o.states&&o.states[e],s=I(e&&e.radius,n&&n.radius,s&&s+(n&&n.radiusPlus||0))),t.hasImage=r&&0===r.indexOf("url"),t.hasImage&&(s=0),t=O(s)?{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,n=t&&t.options,o=n&&n.marker||{},r=n&&n.color,s=t&&t.color,a=t&&t.zone&&t.zone.color,l=this.color;return t=I(o.lineWidth,i.lineWidth),n=1,l=r||a||s||l,r=o.fillColor||i.fillColor||l,s=o.lineColor||i.lineColor||l,e=e||"normal",i=i.states[e]||{},e=o.states&&o.states[e]||{},t=I(e.lineWidth,i.lineWidth,t+I(e.lineWidthPlus,i.lineWidthPlus,0)),r=e.fillColor||i.fillColor||r,{stroke:s=e.lineColor||i.lineColor||s,"stroke-width":t,fill:r,opacity:n=I(e.opacity,i.opacity,n)}},t.prototype.destroy=function(t){var e,i,n,o=this,r=o.chart,s=/AppleWebKit\/533/.test(m.navigator.userAgent),a=o.data||[];for(E(o,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(o.axisTypes||[]).forEach((function(t){(n=o[t])&&n.series&&(T(n.series,o),n.isDirty=n.forceRedraw=!0)})),o.legendItem&&o.chart.legend.destroyItem(o),e=a.length;e--;)(i=a[e])&&i.destroy&&i.destroy();o.clips&&o.clips.forEach((function(t){return t.destroy()})),h.clearTimeout(o.animationTimeout),N(o,(function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()})),r.hoverSeries===o&&(r.hoverSeries=void 0),T(r.series,o),r.orderSeries(),N(o,(function(e,i){t&&"hcEvents"===i||delete o[i]}))},t.prototype.applyZones=function(){var t,e,i,n,o,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.plotWidth,h.plotHeight),m=this[(this.zoneAxis||"y")+"Axis"],y=h.inverted,v=!1;if(d.length&&(u||f)&&m&&"undefined"!==typeof m.min){var x=m.reversed,b=m.horiz;u&&!this.showLine&&u.hide(),f&&f.hide();var S=m.getExtremes();d.forEach((function(d,C){t=x?b?h.plotWidth:0:b?0:m.toPixels(S.min)||0,t=w(I(e,t),0,g),e=w(Math.round(m.toPixels(I(d.value,S.max),!0)||0),0,g),v&&(t=e=m.toPixels(S.max)),n=Math.abs(t-e),o=Math.min(t,e),r=Math.max(t,e),m.isXAxis?(i={x:y?r:o,y:0,width:n,height:g},b||(i.x=h.plotHeight-i.x)):(i={x:0,y:y?r:o,width:g,height:n},b&&(i.y=h.plotWidth-i.y)),y&&c.isVML&&(i=m.isXAxis?{x:0,y:x?o:r,height:i.width,width:h.chartWidth}:{x:i.y-h.plotLeft-h.spacingBox.x,y:0,width:i.height,height:h.chartHe
2ight}),p[C]?p[C].animate(i):p[C]=c.clipRect(i),s=l["zone-area-"+C],a=l["zone-graph-"+C],u&&a&&a.clip(p[C]),f&&s&&s.clip(p[C]),v=d.value>S.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=p}else l.visible&&(u&&u.show(),f&&f.show())},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){i[e]&&(n.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,n=i.chart;i.xAxis&&(i.eventsToUnbind.push(v(n,"resize",e)),e(),i.invertGroups=e)},t.prototype.plotGroup=function(t,e,i,n,o){var r=this[t],s=!r;return i={visibility:i,zIndex:n||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),s&&(this[t]=r=this.chart.renderer.g().add(o)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(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,n=c(i.animation),o=t.visible?"inherit":"hidden",r=i.zIndex,s=t.hasRendered,a=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?n.duration:0,E(this,"render");var h=t.plotGroup("group","series",o,r,a);t.markerGroup=t.plotGroup("markerGroup","markers",o,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),h.inverted=!!I(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&&n.defer&&(e+=n.defer),t.animationTimeout=z((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,E(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,n=this.xAxis,o=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:I(n&&n.left,t.plotLeft),translateY:I(o&&o.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var i=this.xAxis,n=this.yAxis,o=this.chart.inverted;return this.searchKDTree({clientX:o?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:o?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,n,o){var r=t&&t.length;if(r){var s=i.kdAxisArray[n%o];return t.sort((function(t,e){return t[s]-e[s]})),{point:t[r=Math.floor(r/2)],left:e(t.slice(0,r),n+1,o),right:e(t.slice(r+1),n+1,o)}}}this.buildingKdTree=!0;var i=this,n=-1<i.options.findNearestPointBy.indexOf("y")?2:1;delete i.kdTree,z((function(){i.kdTree=e(i.getValidPoints(null,!i.directTouch),n,n),i.buildingKdTree=!1}),i.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,i){var n=this,o=this.kdAxisArray[0],r=this.kdAxisArray[1],s=e?"distX":"dist";if(e=-1<n.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=n.kdAxisArray[a%l],d=h,p=k(e[o])&&k(h[o])?Math.pow(e[o]-h[o],2):null,u=k(e[r])&&k(h[r])?Math.pow(e[r]-h[r],2):null;return u=(p||0)+(u||0),h.dist=k(u)?Math.sqrt(u):Number.MAX_VALUE,h.distX=k(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),O(t)?t*(e||i.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,i=this.xAxis,n=this.yAxis;return"undefined"!==typeof t.plotY&&"undefined"!==typeof t.plotX&&0<=t.plotY&&t.plotY<=(n?n.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,n=[].concat(i?t.areaPath:t.graphPath),o=t.chart,r=o.pointer,s=o.renderer,a=o.options.tooltip.snap,l=t.tracker,h=function(e){o.hoverSeries!==t&&t.onMouseOver()},c="rgba(192,192,192,"+(g?1e-4:.002)+")";l?l.attr({d:n}):t.graph&&(t.tracker=s.path(n).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),o.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&&!o.styledMode&&t.css({cursor:e.cursor}),f)&&t.on("touchstart",h)}))),E(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,i,n,o){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=I(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.processedData)&&(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!==o&&E(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(n)},t.prototype.removePoint=function(t,e,i){var n=this,o=n.data,r=o[t],s=n.points,a=n.chart,l=function(){s&&s.length===o.length&&s.splice(t,1),o.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(r||{series:n},"splice",t,1),r&&r.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&a.redraw()};d(i,a),e=I(e,!0),r?r.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,i,n){function o(){r.destroy(n),s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),I(t,!0)&&s.redraw(e)}var r=this,s=r.chart;!1!==i?E(r,"remove",null,o):o()},t.prototype.update=function(t,e){t=S(t,this.userOptions),E(this,"update",{options:t});var i=this,n=i.chart,o=i.userOptions,r=i.initialType||i.type,s=n.options.plotOptions,a=y[r].prototype,l=i.finishedAnimating&&{animation:!1},h={},c=["eventOptions","navigatorSeries","baseSeries"],d=t.type||o.type||n.options.chart.type,p=!(this.hasDerivedData||d&&d!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||"undefined"!==typeof t.relativeXValue||t.joinBy||t.mapData||i.hasOptionChanged("dataGrouping")||i.hasOptionChanged("pointStart")||i.hasOptionChanged("pointInterval")||i.hasOptionChanged("pointIntervalUnit")||i.hasOptionChanged("keys"));if(d=d||r,p&&(c.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&c.push("area","graph"),i.parallelArrays.forEach((function(t){c.push(t+"Data")})),t.data&&(t.dataSorting&&A(i.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=j(o,l,{index:"undefined"===typeof o.index?i.index:o.index,pointStart:I(s&&s.series&&s.series.pointStart,o.pointStart,i.xData[0])},!p&&{data:i.options.data},t),p&&t.data&&(t.data=i.options.data),(c=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(c)).forEach((function(t){c[t]=i[t],delete i[t]})),s=!1,y[d]){if(s=d!==i.type,i.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(i,y[d].prototype);else{for(u in l=Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents,a)i[u]=void 0;A(i,y[d].prototype),l?i.hcEvents=l:delete i.hcEvents}}else M(17,!0,n,{missingModuleFor:d});if(c.forEach((function(t){i[t]=c[t]})),i.init(n,t),p&&this.points){if(!1===(t=i.options).visible)h.graphic=1,h.dataLabel=1;else if(!i._hasPointLabels){a=t.marker;var u=t.dataLabels;!a||!1!==a.enabled&&(o.marker&&o.marker.symbol)===a.symbol||(h.graphic=1),u&&!1===u.enabled&&(h.dataLabel=1)}for(o=0,a=this.points;o<a.length;o++)(u=a[o])&&u.series&&(u.resolveColor(),Object.keys(h).length&&u.destroyElements(h),!1===t.showInLegend&&u.legendItem&&n.legend.destroyItem(u))}i.initialType=r,n.linkSeries(),s&&i.linkedSeries.length&&(i.isDirtyData=!0),E(this,"afterUpdate"),I(e,!0)&&n.redraw(!!p&&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,n=this.userOptions[t];return n?e!==n:e!==I(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&&E(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&E(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,n=i.options,o=i.graph,r=n.inactiveOtherPoints,s=n.states,a=I(s[t||"normal"]&&s[t||"normal"].animation,i.chart.options.chart.animation),l=n.lineWidth,h=0,c=n.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=I(s[t].opacity,c)),o&&!o.dashstyle)for(n={"stroke-width":l},o.animate(n,a);i["zone-graph-"+h];)i["zone-graph-"+h].animate(n,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,n=i.chart,o=n.options.chart.ignoreHiddenSeries,r=i.visible,s=(i.visible=t=i.options.visible=i.userOptions.visible="undefined"===typeof t?!r:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){i[t]&&i[t][s]()})),n.hoverSeries!==i&&(n.hoverPoint&&n.hoverPoint.series)!==i||i.onMouseOut(),i.legendItem&&n.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&n.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),o&&(n.isDirtyBox=!0),E(i,s),!1!==e&&n.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="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),E(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.types=a.seriesTypes,t.registerType=a.registerSeriesType,t}(),A(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:o.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,n,o,r){var s=t.stop,a=r.addEvent,l=r.createElement,h=r.defined,c=r.merge,d=r.pick;a(i,"afterSetChartSize",(function(t){var i=this.options.chart.scrollablePlotArea,n=i&&i.minWidth;if(i=i&&i.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var o={1:{name:"right",value:n}}}}else i&&(this.scrollablePixelsY=n=Math.max(0,i-this.chartHeight),h(n)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,o={2:{name:"bottom",value:n}}));o&&!t.skipAxes&&this.axes.forEach((function(t){o[t.side]?t.getPlotLinePath=function(){var i=o[t.side].name,n=this[i];this[i]=n-o[t.side].value;var r=e.prototype.getPlotLinePath.apply(this,arguments);return this[i]=n,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,n=".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&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEac
2h((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,n=o.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterApplyDrilldown",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),n=this.chartHeight+(this.scrollablePixelsY||0),s(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),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)),n=this.axisOffset,t=this.plotTop-n[0]-1,i=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[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",n,this.plotTop-1],["L",n,0],["Z"],["M",i,h],["L",i,this.chartHeight],["L",n,this.chartHeight],["L",n,h],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),a(n,"show",(function(){this.chart.scrollableDirty=!0}))})),e(i,"Core/Axis/Stacking/StackItem.js",[i["Core/FormatUtilities.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=t.format,o=e.series,r=i.defined,s=i.destroyObjectProperties,a=i.isNumber,l=i.pick;return t=function(){function t(t,e,i,n,o){var r=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=n,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=o,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(){s(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,i=this.options,o=i.format;o=o?n(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:l(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},t.prototype.setOffset=function(t,e,i,n,s){var h=this.axis,c=h.chart;n=h.translate(h.stacking.usePercentage?100:n||this.total,0,0,0,1),i=h.translate(i||0),t=l(s,c.xAxis[0].translate(this.x))+t,h=r(n)&&this.getStackBox(c,this,t,n,e,Math.abs(n-i),h),e=this.label,i=this.isNegative;var d=this.textAlign;e&&h&&(t=e.getBBox(),s=e.padding,n="justify"===l(this.options.overflow,"justify"),d="left"===d?c.inverted?-s:s:"right"===d?t.width:c.inverted&&"center"===d?t.width/2:c.inverted?i?t.width+s:-s:t.width/2,i=c.inverted?t.he
2ight/2:i?-s:t.height,this.alignOptions.x=l(this.options.x,0),this.alignOptions.y=l(this.options.y,0),h.x-=d,h.y-=i,e.align(this.alignOptions,null,h),c.isInsidePlot(e.alignAttr.x+d-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.hide(),n=!1),n&&o.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,t,h),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),l(!n&&this.options.crop,!0)&&((c=a(e.x)&&a(e.y)&&c.isInsidePlot(e.x-s+e.width,e.y)&&c.isInsidePlot(e.x+s,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,i,n,o,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?n-s.right:n-r+s.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:l?s.height-i-o:e?h-n-r:h-n,width:l?r:o,height:l?o:r}},t}(),t})),e(i,"Core/Axis/Stacking/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Axis/Stacking/StackItem.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){function r(){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 n=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,k(i.options.stack,""),e?n.top:n.left,e?n.height:n.width].join())}))}function s(){var t=this.stacking;if(t){var e=t.stacks;C(e,(function(t,i){x(t),e[i]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function a(){this.stacking||(this.stacking=new T(this))}function l(t,e,i,n){return!v(t)||t.x!==e||n&&t.stackKey!==n?t={x:e,index:0,key:n,stackKey:n}:t.index++,t.key=[i,e,t.index].join(),t}function h(){var t,e=this,i=e.stackKey,n=e.yAxis.stacking.stacks,o=e.processedXData,r=e[e.options.stacking+"Stacker"];r&&[i,"-"+i].forEach((function(i){for(var s,a,l=o.length;l--;)s=o[l],t=e.getStackIndicator(t,s,e.index,i),(a=(s=n[i]&&n[i][s])&&s.points[t.key])&&r.call(e,a,s,l)}))}function c(t,e,i){e=e.total?100/e.total:0,t[0]=y(t[0]*e),t[1]=y(t[1]*e),this.stackedYData[i]=t[1]}function d(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?g.setStackedPoints.call(this,"group"):t&&C(t.stacks,(function(e,i){"group"===i.slice(-5)&&(C(e,(function(t){return t.destroy()})),delete t.stacks[i])}))}function p(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,r=[],s=o.length,a=this.options,l=a.threshold,h=k(a.startFromThreshold&&l,0);a=a.stack;var c,d,p="-"+(t=t?""+this.type+",".concat(e):this.stackKey),u=this.negStacks,f=this.yAxis,g=f.stacking.stacks,m=f.stacking.oldStacks;for(f.stacking.stacksTouched+=1,d=0;d<s;d++){var x=i[d],b=o[d],S=this.getStackIndicator(S,x,this.index),C=S.key,T=(c=u&&b<(h?0:l))?p:t;g[T]||(g[T]={}),g[T][x]||(m[T]&&m[T][x]?(g[T][x]=m[T][x],g[T][x].total=null):g[T][x]=new n(f,f.options.stackLabels,!!c,x,a)),T=g[T][x],null!==b?(T.points[C]=T.points[this.index]=[k(T.cumulative,h)],v(T.cumulative)||(T.base=C),T.touched=f.stacking.stacksTouched,0<S.index&&!1===this.singleStacks&&(T.points[C][0]=T.points[this.index+","+x+",0"][0])):T.points[C]=T.points[this.index]=null,"percent"===e?(c=c?t:p,u&&g[c]&&g[c][x]?(c=g[c][x],T.total=c.total=Math.max(c.total,T.total)+Math.abs(b)||0):T.total=y(T.total+(Math.abs(b)||0))):"group"===e?(w(b)&&(b=b[0]),null!==b&&(T.total=(T.total||0)+1)):T.total=y(T.total+(b||0)),T.cumulative="group"===e?(T.total||1)-1:k(T.cumulative,h)+(b||0),null!==b&&(T.points[C].push(T.cumulative),r[d]=T.cumulative,T.hasValidPoints=!0)}"percent"===e&&(f.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=r),f.stacking.oldStacks={}}}var u,f=t.getDeferredAnimation,g=i.series.prototype,m=o.addEvent,y=o.correctFloat,v=o.defined,x=o.destroyObjectProperties,b=o.fireEvent,w=o.isArray,S=o.isNumber,C=o.objectEach,k=o.pick,T=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,n=e.options.reversedStacks,o=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=o;t--;){var r=i[n?t:o-t-1];r.setStackedPoints(),r.setGroupedPoints()}for(t=0;t<o;t++)i[t].modifyStacks();b(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;C(t,(function(t){C(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||C(e,(function(e){C(e,(function(i,n){S(i.touched)&&i.touched<t.stacksTouched?(i.destroy(),delete e[n]):(i.total=null,i.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,i=e.renderer,n=this.stacks;t=f(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var o=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({zIndex:6,opacity:0}
2).add();o.translate(e.plotLeft,e.plotTop),C(n,(function(t){C(t,(function(t){t.render(o)}))})),o.animate({opacity:1},t)},t}();return function(t){var e=[];t.compose=function(t,i,n){-1===e.indexOf(t)&&(e.push(t),m(t,"init",a),m(t,"destroy",s)),-1===e.indexOf(i)&&(e.push(i),i.prototype.getStacks=r),-1===e.indexOf(n)&&(e.push(n),(t=n.prototype).getStackIndicator=l,t.modifyStacks=h,t.percentStacker=c,t.setGroupedPoints=d,t.setStackedPoints=p)}}(u||(u={})),u})),e(i,"Series/Line/LineSeries.js",[i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=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 n(i,e),i.prototype.drawGraph=function(){var t=this,e=this.options,i=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode,o=[["graph","highcharts-graph"]];n||o[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(o=t.getZonesGraphs(o)).forEach((function(o,r){var s=o[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(o[1]).attr({zIndex:1}).add(t.group)),a&&!n&&(s={stroke:o[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},o[3]?s.dashstyle=o[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 n,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&&(n=!0),c.isNull&&!o(e)&&0<d?n=!s.connectNulls:c.isNull&&!e?n=!0:(0===d||n?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),n=!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,n){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=t.parse,s=i.seriesTypes.line;t=n.extend;var a=n.merge,l=n.objectEach,h=n.pick;return n=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.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,i=this.areaPath,n=this.options,o=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach((function(t,i){o.push(["zone-area-"+i,"highcharts-area highcharts-zone-area-"+i+" "+t.className,t.color||e.color,t.fillColor||n.fillColor])})),o.forEach((function(t){var o=t[0],s={},a=e[o],l=a?"animate":"attr";a?(a.endX=e.preventGraphAnimation?null:i.xMap,a.animate({d:i})):(s.zIndex=0,(a=e[o]=e.chart.renderer.path(i).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(s.fill=h(t[3],r(t[2]).setOpacity(h(n.fillOpacity,.75)).get())),a[l](s),a.startX=i.xMap,a.shiftUnit=n.step?2:1}))},e.prototype.getGraphPath=function(t){var e=s.prototype.getGraphPath,i=this.options,n=i.stacking,o=this.yAxis,r=[],a=[],l=this.index,c=o.stacking.stacks[this.stackKey],d=i.threshold,p=Math.round(o.getThreshold(i.threshold));i=h(i.connectNulls,"percent"===n);var u=function(e,i,s){var h=t[e];e=n&&c[h.x].points[l];var u=h[s+"Null"]||0;if(s=h[s+"Cliff"]||0,h=!0,s||u){var f=(u?e[0]:e[1])+s,g=e[0]+s;h=!!u}else!n&&t[i]&&t[i].isNull&&(f=g=d);"undefined"!==typeof f&&(a.push({plotX:y,plotY:null===f?p:o.getThreshold(f),isNull:h,isCliff:!0}),r.push({plotX:y,plotY:null===g?p:o.getThreshold(g),doCurve:!1}))};t=t||this.points,n&&(t=this.getStackPoints(t));for(var f=0,g=t.length;f<g;
2++f){n||(t[f].leftCliff=t[f].rightCliff=t[f].leftNull=t[f].rightNull=void 0);var m=t[f].isNull,y=h(t[f].rectPlotX,t[f].plotX),v=n?h(t[f].yBottom,p):p;m&&!i||(i||u(f,f-1,"left"),m&&!n&&i||(a.push(t[f]),r.push({x:f,plotX:y,plotY:v})),i||u(f,f+1,"right"))}return u=e.call(this,a,!0,!0),r.reversed=!0,(v=(m=e.call(this,r,!0,!0))[0])&&"M"===v[0]&&(m[0]=["L",v[1],v[2]]),(m=u.concat(m)).length&&m.push(["Z"]),e=e.call(this,a,!1,i),m.xMap=u.xMap,this.areaPath=m,e},e.prototype.getStackPoints=function(t){var e=this,i=[],n=[],o=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&&n.push(e)})),n.sort((function(t,e){return t-e}));var g=c.map((function(t){return t.visible}));n.forEach((function(t,l){var f,m,y=0;if(a[t]&&!a[t].isNull)i.push(a[t]),[-1,1].forEach((function(i){var o=1===i?"rightNull":"leftNull",r=s[n[l+i]],h=0;if(r)for(var y=u;0<=y&&y<d;){var v=c[y].index;(f=r.points[v])||(v===e.index?a[t][o]=!0:g[y]&&(m=s[t].points[v])&&(h-=m[1]-m[0])),y+=p}a[t][1===i?"rightCliff":"leftCliff"]=h}));else{for(var v=u;0<=v&&v<d;){if(f=s[t].points[c[v].index]){y=f[1];break}v+=p}y=h(y,0),y=r.translate(y,0,1,0,1),i.push({isNull:!0,plotX:o.translate(t,0,0,0,1),x:t,plotY:y,yBottom:y})}}))}return i},e.defaultOptions=a(s.defaultOptions,{threshold:0}),e}(s),t(n.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),i.registerSeriesType("area",n),n})),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])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=t.seriesTypes.line,o=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 n=e.plotX||0,o=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*n+(s.plotX||0))/2.5,c=(1.5*o+t)/2.5,d=(1.5*o+i)/2.5;(a=(1.5*n+a)/2.5)!==h&&(l=(d-c)*(a-n)/(a-h)+o-d),d+=l,(c+=l)>t&&c>o?d=2*o-(c=Math.max(t,o)):c<t&&c<o&&(d=2*o-(c=Math.min(t,o))),d>i&&d>o?c=2*o-(d=Math.max(i,o)):d<i&&d<o&&(c=2*o-(d=Math.min(i,o))),e.rightContX=a,e.rightContY=d}return e=["C",r(s.rightContX,s.plotX,0),r(s.rightContY,s.plotY,0),r(h,n,0),r(c,o,0),n,o],s.rightContX=s.rightContY=void 0,e},e.defaultOptions=o(n.defaultOptions),e}(n),t.registerSeriesType("spline",e),e})),e(i,"Series/AreaSpline/AreaSplineSeries.js",[i["Series/Spline/SplineSeries.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=i.seriesTypes,s=r.area;r=r.area.prototype;var a=n.extend,l=n.merge;return n=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(i,e),i.defaultOptions=l(t.defaultOptions,s.defaultOptions),i}(t),a(n.prototype,{getGraphPath:r.getGraphPath,getStackPoints:r.getStackPoints,drawGraph:r.drawGraph,drawLegendSymbol:e.drawRectangle}),i.registerSeriesType("areaspline",n),n})),e(i,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{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(i,"Series/Column/ColumnSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Series/Column/ColumnSeriesDefaults.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,
2i,n,o,r,s,a){var l=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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),h=t.animObject,c=e.parse,d=n.hasTouch;t=n.noop;var p=a.clamp,u=a.css,f=a.defined,g=a.extend,m=a.fireEvent,y=a.isArray,v=a.isNumber,x=a.merge,b=a.pick,w=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return l(e,t),e.prototype.animate=function(t){var e=this,i=this.yAxis,n=e.options,o=this.chart.inverted,r={},s=o?"translateX":"translateY";if(t)r.scaleY=.001,t=p(i.toPixels(n.threshold),i.pos,i.pos+i.len),o?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},g(h(e.options.animation),{step:function(t,n){e.group&&(r[s]=a+n.pos*(i.pos-a),e.group.attr(r))}}))}},e.prototype.init=function(e,i){t.prototype.init.apply(this,arguments);var n=this;(e=n.chart).hasRendered&&e.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,i=t.xAxis,n=t.yAxis,o=i.options.reversedStacks;o=i.reversed&&!o||!i.reversed&&o;var r,s={},a=0;!1===e.grouping?a=1:t.chart.series.forEach((function(e){var i=e.yAxis,o=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&n.len===i.len&&n.pos===i.pos){if(o.stacking&&"group"!==o.stacking){r=e.stackKey,"undefined"===typeof s[r]&&(s[r]=a++);var l=s[r]}else!1!==o.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,b(e.pointWidth,c*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(c-e)/2+(h+((t.columnIndex||0)+(o?1:0))*c-l/2)*(o?-1:1),paddedWidth:c,columnCount:a},t.columnMetrics},e.prototype.crispCol=function(t,e,i,n){var o=this.chart,r=this.borderWidth,s=-(r%2?.5:0);return r=r%2?.5:1,o.inverted&&o.renderer.isVML&&(r+=1),this.options.crisp&&(i=Math.round(t+i)+s,i-=t=Math.round(t)+s),n=Math.round(e+n)+r,s=.5>=Math.abs(e)&&.5<n,n-=e=Math.round(e)+r,s&&n&&(--e,n+=1),{x:t,y:e,width:i,height:n}},e.prototype.adjustForMissingColumns=function(t,e,i,n){var o=this,r=this.options.stacking;if(!i.isNull&&1<n.columnCount){var s=this.yAxis.options.reversedStacks,a=0,l=s?0:-n.columnCount;w(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"===typeof i.x){var e=t[i.x.toString()];e&&(t=e.points[o.index],r?(t&&(a=l),e.hasValidPoints&&(s?l++:l--)):y(t)&&(t=Object.keys(e.points).filter((function(t){return!t.match(",")&&e.points[t]&&1<e.points[t].length})).map(parseFloat).sort((function(t,e){return e-t})),a=t.indexOf(o.index),l=t.length))}})),t=(i.plotX||0)+((l-1)*n.paddedWidth+e)/2-e-a*n.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,i=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=b(i.borderWidth,n?0:1);var o=t.xAxis,s=t.yAxis,a=i.threshold,l=t.translatedThreshold=s.getThreshold(a),h=b(i.minPointLength,5),c=t.getColumnMetrics(),d=c.width,u=t.pointXOffset=c.offset,g=t.dataMin,m=t.dataMax,y=t.barW=Math.max(d,1+2*n);e.inverted&&(l-=.5),i.pointPadding&&(y=Math.ceil(y)),r.prototype.translate.apply(t),t.points.forEach((function(n){var r=b(n.yBottom,l),x=999+Math.abs(r),w=n.plotX||0;x=p(n.plotY,-x,s.len+x);var S=Math.min(x,r),C=Math.max(x,r)-S,k=d,T=w+u,M=y;h&&Math.abs(C)<h&&(C=h,w=!s.reversed&&!n.negative||s.reversed&&n.negative,v(a)&&v(m)&&n.y===a&&m<=a&&(s.min||0)<a&&(g!==m||(s.max||0)<=a)&&(w=!w),S=Math.abs(S-l)>h?r-h:l-(w?h:0)),f(n.options.pointWidth)&&(k=M=Math.ceil(n.options.pointWidth),T-=Math.round((k-d)/2)),i.centerInCategory&&(T=t.adjustForMissingColumns(T,k,n,c)),n.barX=T,n.pointWidth=k,n.tooltipPos=e.inverted?[p(s.len+s.pos-e.plotLeft-x,s.pos-e.plotLeft,s.len+s.pos-e.plotLeft),o.len+o.pos-e.plotTop-T-M/2,C]:[o.left-e.plotLeft+T+M/2,p(x+s.pos-e.plotTop,s.pos-e.plotTop,s.len+s.pos-e.plotTop),C],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[T,l,M,0]:[T,S,M,C])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var i=this.options,n=this.pointAttrToOptions||{},o=n.stroke||"borderColor",r=n["stroke-width"]||"borderWidth",s=t&&t.color||this.color,a=t&&t[o]||i[o]||s;n=t&&t.options.dashStyle||i.dashStyle;var l=t&&t[r]||i[r]||this[r]||0,h=b(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,n=d.dashStyle||n,l=d.borderWidth||l)}return e&&t&&(e=(t=x(i.states[e],t.options.states&&t.options.states[e]||{})).brightness,s=t.color||"undefined"!==typeof e&&c(s).brighten(t.brightness).get()||s,a=t[o]||a,l=t[r]||l,n=t.dashStyle||n,h=b(t.opacity,h)),o={fill:s,stroke:a,"stroke-width":l,opacity:h},n&&(o.dashstyle=n),o},e.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var e,i=this,n=this.chart,o=i.options,r=n.renderer,s=o.animationLimit||250;t.forEach((function(t){var a=t.graphic,l=!!a,h=a&&n.pointCount<s?"animate":"attr";v(t.plotY)&&null!==t.y?(e=t.shapeArgs,a&&t.hasNewShapeType()&&(a=a.destroy()),i.enabledDataSorting&&(t.startXPos=i.xAxis.reversed?-(e&&e.width||0):i.xAxis.width),a||(t.graphic=a=r[t.shapeType](e).add(t.group||i.group))&&i.enabledDataSorting&&n.hasRendered&&n.pointCount<s&&(a.attr({x:t.startXPos}),l=!0,h="animate"),a&&l&&a[h](x(e)),o.borderRadius&&a[h]({r:o.borderRadius}),n.styledMode||a[h](i.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&o.shadow,null,o.stacking&&!o.borderRadius),a&&(a.addClass(t.getClassName(),!0),a.attr({visibility:t.visible?"inherit":"hidden"}))):a&&(t.graphic=a.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,i=e.chart,n=i.pointer,o=function(t){var e=n.getPointFromEvent(t);"undefined"!==typeof e&&(n.isDirectTouch=!0,e.onMouseOver(t))};
2e.points.forEach((function(e){t=y(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",o).on("mouseout",(function(t){n.onTrackerMouseOut(t)})),d&&e[t].on("touchstart",o),!i.styledMode&&e.options.cursor&&e[t].css(u).css({cursor:e.options.cursor}))})),e._hasTracking=!0),m(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)})),r.prototype.remove.apply(t,arguments)},e.defaultOptions=x(r.defaultOptions,i),e}(r),g(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:o.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("column",a),a})),e(i,"Core/Series/DataLabel.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],(function(t,e,i){var n,o=t.getDeferredAnimation,r=e.format,s=i.defined,a=i.extend,l=i.fireEvent,h=i.isArray,c=i.isString,d=i.merge,p=i.objectEach,u=i.pick,f=i.splat;return function(t){function e(t,e,i,n,o){var r=this,l=this.chart,h=this.isCartesian&&l.inverted,c=this.enabledDataSorting,d=u(t.dlBox&&t.dlBox.centerX,t.plotX),p=t.plotY,f=i.rotation,g=i.align,m=s(d)&&s(p)&&l.isInsidePlot(d,Math.round(p),{inverted:h,paneCoordinates:!0,series:r}),y=function(i){c&&r.xAxis&&!v&&r.setDataLabelStartPos(t,e,o,m,i)},v="justify"===u(i.overflow,c?"none":"justify"),x=this.visible&&!1!==t.visible&&(t.series.forceDL||c&&!v||m||u(i.inside,!!this.options.stacking)&&n&&l.isInsidePlot(d,h?n.x+1:n.y+n.height-1,{inverted:h,paneCoordinates:!0,series:r}));if(x&&s(d)&&s(p)){f&&e.attr({align:g}),g=e.getBBox(!0);var b=[0,0],w=l.renderer.fontMetrics(l.styledMode?void 0:i.style.fontSize,e).b;n=a({x:h?this.yAxis.len-p:d,y:Math.round(h?this.xAxis.len-d:p),width:0,height:0},n),a(i,{width:g.width,height:g.height}),f?(v=!1,b=l.renderer.rotCorr(w,f),d={x:n.x+(i.x||0)+n.width/2+b.x,y:n.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*n.height},b=[g.x-Number(e.attr("x")),g.y-Number(e.attr("y"))],y(d),e[o?"attr":"animate"](d)):(y(n),e.align(i,void 0,n),d=e.alignAttr),v&&0<=n.height?this.justifyDataLabel(e,i,d,g,n,o):u(i.crop,!0)&&(n=d.x,y=d.y,n+=b[0],y+=b[1],x=l.isInsidePlot(n,y,{paneCoordinates:!0,series:r})&&l.isInsidePlot(n+g.width,y+g.height,{paneCoordinates:!0,series:r})),i.shape&&!f&&e[o?"attr":"animate"]({anchorX:h?l.plotWidth-t.plotY:t.plotX,anchorY:h?l.plotHeight-t.plotX:t.plotY})}o&&c&&(e.placed=!1),x||c&&!v?e.show():(e.hide(),e.placed=!1)}function i(t){void 0===t&&(t=this.points);var e=this,i=e.chart,n=e.options,a=e.hasRendered||0,d=i.renderer,m=i.options.chart,y=m.backgroundColor;
2m=m.plotBackgroundColor;var v=d.getContrast(c(m)&&m||c(y)&&y||"#000000"),x=n.dataLabels;if(y=x.animation,y=x.defer?o(i,y,e):{defer:0,duration:0},x=g(g(i.options.plotOptions&&i.options.plotOptions.series&&i.options.plotOptions.series.dataLabels,i.options.plotOptions&&i.options.plotOptions[e.type]&&i.options.plotOptions[e.type].dataLabels),x),l(this,"drawDataLabels"),h(x)||x.enabled||e._hasPointLabels){var b=e.plotGroup("dataLabelsGroup","data-labels",a?"inherit":"hidden",x.zIndex||6);b.attr({opacity:+a}),!a&&(a=e.dataLabelsGroup)&&(e.visible&&b.show(),a[n.animation?"animate":"attr"]({opacity:1},y)),t.forEach((function(t){f(g(x,t.dlOptions||t.options&&t.options.dataLabels)).forEach((function(o,a){var l=o.enabled&&(!t.isNull||t.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)}(t,o),h=t.connectors?t.connectors[a]:t.connector,c=t.dataLabels?t.dataLabels[a]:t.dataLabel,f=!c,g=u(o.distance,t.labelDistance);if(l){var m=t.getLabelConfig(),y=u(o[t.formatPrefix+"Format"],o.format);m=s(y)?r(y,m,i):(o[t.formatPrefix+"Formatter"]||o.formatter).call(m,o),y=o.style;var x=o.rotation;i.styledMode||(y.color=u(o.color,y.color,e.color,"#000000"),"contrast"===y.color?(t.contrastColor=d.getContrast(t.color||e.color),y.color=!s(g)&&o.inside||0>g||n.stacking?t.contrastColor:v):delete t.contrastColor,n.cursor&&(y.cursor=n.cursor));var w={r:o.borderRadius||0,rotation:x,padding:o.padding,zIndex:1};i.styledMode||(w.fill=o.backgroundColor,w.stroke=o.borderColor,w["stroke-width"]=o.borderWidth),p(w,(function(t,e){"undefined"===typeof t&&delete w[e]}))}!c||l&&s(m)&&!!c.div===!!o.useHTML&&(c.rotation&&o.rotation||c.rotation===o.rotation)||(f=!0,t.dataLabel=c=t.dataLabel&&t.dataLabel.destroy(),t.dataLabels&&(1===t.dataLabels.length?delete t.dataLabels:delete t.dataLabels[a]),a||delete t.dataLabel,h&&(t.connector=t.connector.destroy(),t.connectors&&(1===t.connectors.length?delete t.connectors:delete t.connectors[a]))),l&&s(m)?(c?w.text=m:(t.dataLabels=t.dataLabels||[],c=t.dataLabels[a]=x?d.text(m,0,0,o.useHTML).addClass("highcharts-data-label"):d.label(m,0,0,o.shape,null,null,o.useHTML,null,"data-label"),a||(t.dataLabel=c),c.addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(o.className||"")+(o.useHTML?" highcharts-tracker":""))),c.options=o,c.attr(w),i.styledMode||c.css(y).shadow(o.shadow),(a=o[t.formatPrefix+"TextPath"]||o.textPath)&&!o.useHTML&&(c.setTextPath(t.getDataLabelPath&&t.getDataLabelPath(c)||t.graphic,a),t.dataLabelPath&&!a.enabled&&(t.dataLabelPath=t.dataLabelPath.destroy())),c.added||c.add(b),e.alignDataLabel(t,c,o,null,f)):c&&c.hide()}))}))}l(this,"afterDrawDataLabels")}function n(t,e,i,n,o,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)+n.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)+n.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,o)),u}function g(t,e){var i,n=[];if(h(t)&&!h(e))n=t.map((function(t){return d(t,e)}));else if(h(e)&&!h(t))n=e.map((function(e){return d(t,e)}));else if(h(t)||h(e))for(i=Math.max(t.length,e.length);i--;)n[i]=d(t[i],e[i]);else n=d(t,e);return n}function m(t,e,i,n,o){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?o.x:l?-h-t:a.width-h+t,e.startYPos=s?l?this.yAxis.height-h+t:-h-t:o.y,n?"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 y=[];t.compose=function(t){if(-1===y.indexOf(t)){var o=t.prototype;y.push(t),o.alignDataLabel=e,o.drawDataLabels=i,o.justifyDataLabel=n,o.setDataLabelStartPos=m}}}(n||(n={})),n})),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 n,o=e.series,r=i.merge,s=i.pick;return function(e){function i(t,e,i,n,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>(n=r(d)).y&&(n.height+=n.y,n.y=0),0<(d=n.y+n.height-h)&&d<n.height&&(n.height-=d),l&&(n={x:h-n.y-n.height,y:c-n.x-n.width,width:n.height,height:n.width}),u||(l?(n.x+=p?0:n.width,n.width=0):(n.y+=p?n.height:0,n.height=0))),i.align=s(i.align,!l||u?"center":p?"right":"left"),i.verticalAlign=s(i.verticalAlign,l||u?"middle":p?"top":"bottom"),o.prototype.alignDataLabel.call(this,t,e,i,n,a),i.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var n=[];e.compose=function(e){t.compose(o),-1===n.indexOf(e)&&(n.push(e),e.prototype.alignDataLabel=i)}}(n||(n={})),n})),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 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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=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 n(i,e),i.defaultOptions=r(t.defaultOptions,{}),i}(t),o(i.prototype,{inverted:!0}),e.registerSeriesType("bar",i),i})),e(i,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}})),e(i,"Series/Scatter/ScatterSeries.js",[i["Series/Scatter/ScatterSeriesDefaults.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=e.seriesTypes,r=o.column,s=o.line;o=i.addEvent;var a=i.extend,l=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 n(i,e),i.prototype.applyJitter=function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach((function(n,o){["x","y"].forEach((function(r,s){var a="plot"+r.toUpperCase();if(e[r]&&!n.isNull){var l=t[r+"Axis"],h=e[r]*l.transA;if(l&&!l.isLog){var c=Math.max(0,n[a]-h);l=Math.min(l.len,n[a]+h),s=1e4*Math.sin(o+s*i),n[a]=c+(l-c)*(s-Math.floor(s)),"x"===r&&(n.clientX=n.plotX)}}}))}))},i.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},i.defaultOptions=l(s.defaultOptions,t),i}(s),a(i.prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(i,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",i),i})),e(i,"Series/CenteredUtilities.js",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],(function(t,e,
2i){var n,o=t.deg2rad,r=i.fireEvent,s=i.isNumber,a=i.pick,l=i.relativeLength;return function(t){t.getCenter=function(){var t=this.options,i=this.chart,n=2*(t.slicedOffset||0),o=i.plotWidth-2*n,h=i.plotHeight-2*n,c=t.center,d=Math.min(o,h),p=t.thickness,u=t.size,f=t.innerSize||0;for("string"===typeof u&&(u=parseFloat(u)),"string"===typeof f&&(f=parseFloat(f)),t=[a(c[0],"50%"),a(c[1],"50%"),a(u&&0>u?void 0:t.size,"100%"),a(f&&0>f?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),c=0;4>c;++c)u=t[c],i=2>c||2===c&&/%$/.test(u),t[c]=l(u,[o,h,d,t[2]][c])+(i?n:0);return t[3]>t[2]&&(t[3]=t[2]),s(p)&&2*p<t[2]&&0<p&&(t[3]=t[2]-2*p),r(this,"afterGetCenter",{positions:t}),t},t.getStartAndEndRadians=function(t,e){return t=s(t)?t:0,e=s(e)&&e>t&&360>e-t?e:t+360,{start:o*(t+-90),end:o*(e+-90)}}}(n||(n={})),n})),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 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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=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 n(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=this.connectorShapes,n=e.connectorShape;return i[n]&&(n=i[n]),n.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,n=this.series,o=n.chart,r=n.options.ignoreHiddenPoint;e=l(e,r),t!==this.visible&&(this.visible=this.options.visible=t="undefined"===typeof t?!this.visible:t,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){i[e]&&i[e][t?"show":"hide"](t)})),this.legendItem&&o.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),r&&(n.isDirty=!0),e&&o.redraw())},e.prototype.slice=function(t,e,i){var n=this.series;o(i,n.chart),l(e,!0),this.sliced=this.options.sliced=s(t)?t:!this.sliced,n.options.data[n.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 n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.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 n=this.series,o=n.center[0],r=n.chart.plotWidth,s=n.chart.plotLeft;n=t.alignment;var a=this.shapeArgs.r;return i=h(i.crookDistance,1),i=["L",r="left"===n?o+a+(r+s-o-a)*(1-i):s+(o-a)*i,t.y],o=!0,("left"===n?r>t.x||r<e.x:r<t.x||r>e.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e})),e(i,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{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,legendT
2ype:"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(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["Series/Pie/PieSeriesDefaults.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,n,o,r,s,a,l,h){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),d=t.getStartAndEndRadians;i=i.noop;var p=h.clamp,u=h.extend,f=h.fireEvent,g=h.merge,m=h.pick,y=h.relativeLength;return h=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 c(e,t),e.prototype.animate=function(t){var e=this,i=e.points,n=e.startAngleRad;t||i.forEach((function(t){var i=t.graphic,o=t.shapeArgs;i&&o&&(i.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),i.animate({r:o.r,start:o.start,end:o.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 n=this.center[0],o=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,o,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:l.arc(n,o,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;this.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 n=this.center,o=this.radii?this.radii[i.index]||0:n[2]/2;return t=Math.asin(p((t-n[1])/(o+i.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(o+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,n,o=this,r=o.chart,s=r.renderer,a=o.options.shadow;this.drawEmpty(),!a||o.shadowGroup||r.styledMode||(o.shadowGroup=s.g("shadow").attr({zIndex:-1}).add(o.group)),o.points.forEach((function(l){var h={};if(e=l.graphic,!l.isNull&&e){var c=void 0;n=l.shapeArgs,t=l.getTranslate(),r.styledMode||(c=l.shadowGroup,a&&!c&&(c=l.shadowGroup=s.g("shadow").add(o.shadowGroup)),c&&c.attr(t),i=o.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(o.center).attr(n).attr(t),r.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}).shadow(a,c),l.delayedRendering=!1):(e.setRadialReference(o.center),r.styledMode||g(!0,h,i),g(!0,h,n,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"undefined"!==typeof t.angle&&(i.angle-t.angle)*e}))},e.prototype.translate=function(t){f(this,"translate"),this.generatePoints();var e=this.options,i=e.slicedOffset,n=i+(e.borderWidth||0),o=d(e.startAngle,e.endAngle),r=this.startAngleRad=o.start;o=(this.endAngleRad=o.end)-r;var s=this.points,a=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,h=s.length,c=0;for(t||(this.center=t=this.getCenter()),l=0;l<h;l++){var p=s[l],u=r+c*o;!p.isValid()||e&&!p.visible||(c+=p.percentage/100);var g=r+c*o,v={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*u)/1e3,end:Math.round(1e3*g)/1e3};p.shapeType="arc",p.shapeArgs=v,p.labelDistance=m(p.options.dataLabels&&p.options.dataLabels.distance,a),p.labelDistance=y(p.labelDistance,v.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(g=(g+u)/2)>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(g)*i),translateY:Math.round(Math.sin(g)*i)},v=Math.cos(g)*t[2]/2;var x=Math.sin(g)*t[2]/2;p.tooltipPos=[t[0]+.7*v,t[1]+.7*x],p.half=g<-Math.PI/2||g>
2Math.PI/2?1:0,p.angle=g,u=Math.min(n,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+v+Math.cos(g)*p.labelDistance,y:t[1]+x+Math.sin(g)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+v+Math.cos(g)*u,y:t[1]+x+Math.sin(g)*u},touchingSliceAt:{x:t[0]+v,y:t[1]+x}}}}f(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,i=e.length,n=this.options.ignoreHiddenPoint,o=0;for(t=0;t<i;t++){var r=e[t];!r.isValid()||n&&!r.visible||(o+=r.y)}for(this.total=o,t=0;t<i;t++)(r=e[t]).percentage=0<o&&(r.visible||!n)?r.y/o*100:0,r.total=o},e.defaultOptions=g(s.defaultOptions,r),e}(s),u(h.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:n.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:i,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:o,requireSorting:!1,searchPoint:i,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",h),h})),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,n,o){var r,s=e.noop,a=i.distribute,l=n.series,h=o.arrayMax,c=o.clamp,d=o.defined,p=o.merge,u=o.pick,f=o.relativeLength;return function(e){function i(){var t,e,i,n,o,r,s,c,f,g,m,y,v=this,x=v.data,b=v.chart,w=v.options.dataLabels||{},S=w.connectorPadding,C=b.plotWidth,k=b.plotHeight,T=b.plotLeft,M=Math.round(b.chartWidth/3),A=v.center,P=A[2]/2,E=A[1],L=[[],[]],_=[0,0,0,0],O=v.dataLabelPositioners;v.visible&&(w.enabled||v._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(v),x.forEach((function(t){t.dataLabel&&(t.visible?(L[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>M&&(t.dataLabel.css({width:Math.round(.7*M)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),L.forEach((function(e,i){var l,h=e.length,p=[];if(h){if(v.sortByAngle(e,i-.5),0<v.maxLabelDistance){var x=Math.max(0,E-P-v.maxLabelDistance),M=Math.min(E+P+v.maxLabelDistance,b.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,E-P-t.labelDistance),t.bottom=Math.min(E+P+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=M+l-x,x/5)}for(m=0;m<h;m++){if(t=e[m],r=t.labelPosition,n=t.dataLabel,g=!1===t.visible?"hidden":"inherit",f=x=r.natural.y,p&&d(t.distributeBox)&&("undefined"===typeof t.distributeBox.pos?g="hidden":(s=t.distributeBox.size,f=O.radialDistributionY(t))),delete t.positionIndex,w.justify)c=O.justify(t,P,A);else switch(w.alignTo){case"connectors":c=O.alignToConnectors(e,i,C,T);break;case"plotEdges":c=O.alignToPlotEdges(n,i,C,T);break;default:c=O.radialDistributionX(v,t,f,x)}n._attr={visibility:g,align:r.alignment},y=t.options.dataLabels||{},n._pos={x:c+u(y.x,w.x)+({left:S,right:-S}[r.alignment]||0),y:f+u(y.y,w.y)-10},r.final.x=c,r.final.y=f,u(w.crop,!0)&&(o=n.getBBox().width,x=null,c-o<S&&1===i?(x=Math.round(o-c+S),_[3]=Math.max(x,_[3])):c+o>C-S&&0===i&&(x=Math.round(c+o-C+S),_[1]=Math.max(x,_[1])),0>f-s/2?_[0]=Math.max(Math.round(s/2-f),_[0]):f+s/2>k&&(_[2]=Math.max(Math.round(f+s/2-k),_[2])),n.sideOverflow=x)}}})),0===h(_)||this.verifyDataLabelOverflow(_))&&(this.placeDataLabels(),this.points.forEach((function(t){var o;y=p(w,t.options.dataLabels),(e=u(y.connectorWidth,1))&&(i=t.connector,(n=t.dataLabel)&&n._pos&&t.visible&&0<t.labelDistance?(g=n._attr.visibility,(o=!i)&&(t.connector=i=b.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(v.dataLabelsGroup),b.styledMode||i.attr({"stroke-width":e,stroke:y.connectorColor||t.color||"#666666"})),i[o?"attr":"animate"]({d:t.getConnectorPath()}),i.attr("visibility",g)):i&&(t.connector=i.destroy()))})))}
2function n(){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 o(t){var e=this.center,i=this.options,n=i.center,o=i.minSize||80,r=null!==i.size;if(!r){if(null!==n[0])var s=Math.max(e[2]-Math.max(t[1],t[3]),o);else s=Math.max(e[2]-t[1]-t[3],o),e[0]+=(t[3]-t[1])/2;null!==n[1]?s=c(s,o,e[2]-Math.max(t[0],t[2])):(s=c(s,o,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),s<e[2]?(e[2]=s,e[3]=Math.min(i.thickness?Math.max(0,s-2*i.thickness):Math.max(0,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},radialDistributionX:function(t,e,i,n){return t.getX(i<e.top+2||i>e.bottom-2?n:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,n){return t=t.getBBox().width,e?t+n:i-t-n},alignToConnectors:function(t,e,i,n){var o,r=0;return t.forEach((function(t){(o=t.dataLabel.getBBox().width)>r&&(r=o)})),e?r+n:i-r-n}};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=n,e.verifyDataLabelOverflow=o)}}(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 n=t.newOpacity;t.oldOpacity!==n&&(t.alignAttr&&t.placed?(t[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),i=!0,t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:n?"auto":"none"})})),o(e,"afterHideOverlappingLabel")):t.attr({opacity:n})),t.isOld=!0}return i}var n=e.addEvent,o=e.fireEvent,r=e.isArray,s=e.isNumber,a=e.objectEach,l=e.pick;n(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&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(n){var o=n.options.dataLabels;n.visible&&(!1!==o.enabled||n._hasPointLabels)&&(o=function(n){return n.forEach((function(n){n.visible&&(r(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach((function(o){var r=o.options;o.labelrank=l(r.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),r.allowOverlap?(o.oldOpacity=o.opacity,o.newOpacity=1,i(o,t)):e.push(o)}))}))},o(n.nodes||[]),o(n.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,n,r,a=this,l=t.length,h=a.renderer,c=!1,d=function(t){var e,i,n=t.box?0:t.padding||0,o=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*n;return(i={left:"0",center:"0.5",right:"1"}[t.alignValue])?o=+i*l:s(t.x)&&Math.round(t.x)!==t.translateX&&(o=t.x-t.translateX),{x:r.x+(a.translateX||0)+n-(o||0),y:r.y+(a.translateY||0)+n-e,width:t.width-2*n,height:t.height-2*n}}};for(n=0;n<l;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=d(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),n=0;n<l;n++){var p=(d=t[n])&&d.absoluteBox;for(e=n+1;e<l;++e){var u=(r=t[e])&&r.absoluteBox;!p||!u||d===r||0===d.newOpacity||0===r.newOpacity||"hidden"===d.visibility||"hidden"===r.visibility||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&&o(a,"afterHideAllOverlappingLabels")}})),e(i,"Core/Responsive.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.extend,n=t.find,o=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,n,s,l){var c;
2a(i,(function(i,a){if(!l&&-1<e.collectionsWithUpdate.indexOf(a)&&n[a])for(i=h(i),s[a]=[],c=0;c<Math.max(i.length,n[a].length);c++)n[a][c]&&(void 0===i[c]?s[a][c]=n[a][c]:(s[a][c]={},t(i[c],n[a][c],s[a][c],l+1)));else r(i)?(s[a]=o(i)?[]:{},t(i,n[a]||{},s[a],l+1)):s[a]="undefined"===typeof n[a]?null:n[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,o=this.options.responsive,r=this.currentResponsive,a=[];!e&&o&&o.rules&&o.rules.forEach((function(t){"undefined"===typeof t._id&&(t._id=c()),i.matchResponsiveRule(t,a)}),this),e=s.apply(void 0,a.map((function(t){return n((o||{}).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/Defaults.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/Axis/Stacking/StackingAxis.js"],i["Core/Axis/Stacking/StackItem.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,n,o,r,s,a,l,h,c,d,p,u,f,g,m,y,v,x,b,w,S,C,k,T,M,A,P,E,L,_,O,D,j){return t.animate=o.animate,t.animObject=o.animObject,t.getDeferredAnimation=o.getDeferredAnimation,t.setAnimation=o.setAnimation,t.stop=o.stop,t.timers=n.timers,t.AST=r,t.Axis=p,t.Chart=S,t.chart=S.chart,t.Fx=n,t.Legend=w,t.PlotLineOrBand=g,t.Point=v,t.Pointer=b.isRequired()?b:x,t.Series=T,t.StackItem=k,t.SVGElement=l,t.SVGRenderer=h,t.Tick=m,t.Time=j,t.Tooltip=y,t.Color=D,t.color=D.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=M.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,P.compose(A),_.compose(T),u.compose(p),f.compose(p),L.compose(E),g.compose(p),O.compose(S),C.compose(p,S,T),t})),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]},t.exports?(r.default=r,t.exports=o.document?r(o):r):void 0===(n=function(){return r(o)}.call(e,i,e,t))||(t.exports=n)}
vendor: 7,066 bytes, line 2
2,11:function(t,e,i){!function(t,e,i){"use strict";function n(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var o=n(e),r=n(i);function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,i){return e&&s(t.prototype,e),i&&s(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(){return l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},l.apply(this,arguments)}function h(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,c(t,e)}function c(t,e){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c(t,e)}var d="transitionend",p=1e6,u=1e3;function f(t){return null===t||"undefined"===typeof t?""+t:{}.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()}function g(){return{bindType:d,delegateType:d,handle:function(t){if(o.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}}function m(t){var e=this,i=!1;return o.default(this).one(v.TRANSITION_END,(function(){i=!0})),setTimeout((function(){i||v.triggerTransitionEnd(e)}),t),this}function y(){o.default.fn.emulateTransitionEnd=m,o.default.event.special[v.TRANSITION_END]=g()}var v={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(Math.random()*p)}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(n){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=o.default(t).css("transition-duration"),i=o.default(t).css("transition-delay"),n=parseFloat(e),r=parseFloat(i);return n||r?(e=e.split(",")[0],i=i.split(",")[0],(parseFloat(e)+parseFloat(i))*u):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){o.default(t).trigger(d)},supportsTransitionEnd:function(){return Boolean(d)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var o=i[n],r=e[n],s=r&&v.isElement(r)?"element":f(r);if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+s+'" but expected type "'+o+'".')}},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?v.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if("undefined"===typeof o.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=o.default.fn.jquery.split(" ")[0].split("."),e=1,i=2,n=9,r=1,s=4;if(t[0]<i&&t[1]<n||t[0]===e&&t[1]===n&&t[2]<r||t[0]>=s)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};v.jQueryDetection(),y();var x="alert",b="4.6.2",w="bs.alert",S="."+w,C=".data-api",k=o.default.fn[x],T="alert",M="fade",A="show",P="close"+S,E="closed"+S,L="click"+S+C,_='[data-dismiss="alert"]',O=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){o.default.removeData(this._element,w),this._element=null},e._getRootElement=function(t){var e=v.getSelectorFromElement(t),i=!1;return e&&(i=document.querySelector(e)),i||(i=o.default(t).closest("."+T)[0]),i},e._triggerCloseEvent=function(t){var e=o.default.Event(P);return o.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(o.default(t).removeClass(A),o.default(t).hasClass(M)){var i=v.getTransitionDurationFromElement(t);o.default(t).one(v.TRANSITION_END,(function(i){return e._destroyElement(t,i)})).emulateTransitionEnd(i)}else this._destroyElement(t)},e._destroyElement=function(t){o.default(t).detach().trigger(E).remove()},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data(w);n||(n=new t(this),i.data(w,n)),"close"===e&&n[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},a(t,null,[{key:"VERSION",get:function(){return b}}]),t}();o.default(document).on(L,_,O._handleDismiss(new O)),o.default.fn[x]=O._jQueryInterface,o.default.fn[x].Constructor=O,o.default.fn[x].noConflict=function(){return o.default.fn[x]=k,O._jQueryInterface};var D="button",j="4.6.2",N="bs.button",I="."+N,R=".data-api",B=o.default.fn[D],z="active",H="btn",X="focus",W="click"+I+R,F="focus"+I+R+" blur"+I+R,Y="load"+I+R,G='[data-toggle^="button"]',U='[data-toggle="buttons"]',q='[data-toggle="button"]',V='[data-toggle="buttons"] .btn',K='input:not([type="hidden"])',$=".active",Z=".btn",Q=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,i=o.default(this._element).closest(U)[0];if(i){var n=this._element.querySelector(K);if(n){if("radio"===n.type)if(n.checked&&this._element.classList.contains(z))t=!1;else{var r=i.querySelector($);r&&o.default(r).removeClass(z)}t&&("checkbox"!==n.type&&"radio"!==n.type||(n.checked=!this._element.classList.contains(z)),this.shouldAvoidTriggerChange||o.default(n).trigger("change")),n.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(z)),t&&o.default(this._element).toggleClass(z))},e.dispose=function(){o.default.removeData(this._element,N),this._element=null},t._jQueryInterface=function(e,i){return this.each((function(){var n=o.default(this),r=n.data(N);r||(r=new t(this),n.data(N,r)),r.shouldAvoidTriggerChange=i,"toggle"===e&&r[e]()}))},a(t,null,[{key:"VERSION",get:function(){return j}}]),t}();o.default(document).on(W,G,(function(t){var e=t.target,i=e;if(o.default(e).hasClass(H)||(e=o.default(e).closest(Z)[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var n=e.querySelector(K);if(n&&(n.hasAttribute("disabled")||n.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==i.tagName&&"LABEL"===e.tagName||Q._jQueryInterface.call(o.default(e),"toggle","INPUT"===i.tagName)}})).on(F,G,(function(t){var e=o.default(t.target).closest(Z)[0];o.default(e).toggleClass(X,/^focus(in)?$/.test(t.type))})),o.default(window).on(Y,(function(){for(var t=[].slice.call(document.querySelectorAll(V)),e=0,i=t.length;e<i;e++){var n=t[e],o=n.querySelector(K);o.checked||o.hasAttribute("checked")?n.classList.add(z):n.classList.remove(z)}for(var r=0,s=(t=[].slice.call(document.querySelectorAll(q))).length;r<s;r++){var a=t[r];"true"===a.getAttribute("aria-pressed")?a.classList.add(z):a.classList.remove(z)}}
vendor: 13,077 bytes, line 2
2)),o.default.fn[D]=Q._jQueryInterface,o.default.fn[D].Constructor=Q,o.default.fn[D].noConflict=function(){return o.default.fn[D]=B,Q._jQueryInterface};var J="carousel",tt="4.6.2",et="bs.carousel",it="."+et,nt=".data-api",ot=o.default.fn[J],rt=37,st=39,at=500,lt=40,ht="carousel",ct="active",dt="slide",pt="carousel-item-right",ut="carousel-item-left",ft="carousel-item-next",gt="carousel-item-prev",mt="pointer-event",yt="next",vt="prev",xt="left",bt="right",wt="slide"+it,St="slid"+it,Ct="keydown"+it,kt="mouseenter"+it,Tt="mouseleave"+it,Mt="touchstart"+it,At="touchmove"+it,Pt="touchend"+it,Et="pointerdown"+it,Lt="pointerup"+it,_t="dragstart"+it,Ot="load"+it+nt,Dt="click"+it+nt,jt=".active",Nt=".active.carousel-item",It=".carousel-item",Rt=".carousel-item img",Bt=".carousel-item-next, .carousel-item-prev",zt=".carousel-indicators",Ht="[data-slide], [data-slide-to]",Xt='[data-ride="carousel"]',Wt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Ft={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Yt={TOUCH:"touch",PEN:"pen"},Gt=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(zt),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(yt)},e.nextWhenVisible=function(){var t=o.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(vt)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(Bt)&&(v.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(Nt);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)o.default(this._element).one(St,(function(){return e.to(t)}));else{if(i===t)return this.pause(),void this.cycle();var n=t>i?yt:vt;this._slide(n,this._items[t])}},e.dispose=function(){o.default(this._element).off(it),o.default.removeData(this._element,et),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=l({},Wt,t),v.typeCheckConfig(J,t,Ft),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=lt)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&o.default(this._element).on(Ct,(function(e){return t._keydown(e)})),"hover"===this._config.pause&&o.default(this._element).on(kt,(function(e){return t.pause(e)})).on(Tt,(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&Yt[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t.touchDeltaX=e.originalEvent.touches&&e.originalEvent.touches.length>1?0:e.originalEvent.touches[0].clientX-t.touchStartX},n=function(e){t._pointerEvent&&Yt[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),at+t._config.interval))};o.default(this._element.querySelectorAll(Rt)).on(_t,(function(t){return t.preventDefault()})),this._pointerEvent?(o.default(this._element).on(Et,(function(t){return e(t)})),o.default(this._element).on(Lt,(function(t){return n(t)})),this._element.classList.add(mt)):(o.default(this._element).on(Mt,(function(t){return e(t)})),o.default(this._element).on(At,(function(t){return i(t)})),o.default(this._element).on(Pt,(function(t){return n(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case rt:t.preventDefault(),this.prev();break;case st:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(It)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var i=t===yt,n=t===vt,o=this._getItemIndex(e),r=this._items.length-1;if((n&&0===o||i&&o===r)&&!this._config.wrap)return e;var s=(o+(t===vt?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(this._element.querySelector(Nt)),r=o.default.Event(wt,{relatedTarget:t,direction:e,from:n,to:i});return o.default(this._element).trigger(r),r},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(jt));o.default(e).removeClass(ct);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&o.default(i).addClass(ct)}},e._updateInterval=function(){var t=this._activeElement||this._element.querySelector(Nt);if(t){var e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}},e._slide=function(t,e){var i,n,r,s=this,a=this._element.querySelector(Nt),l=this._getItemIndex(a),h=e||a&&this._getItemByDirection(t,a),c=this._getItemIndex(h),d=Boolean(this._interval);if(t===yt?(i=ut,n=ft,r=xt):(i=pt,n=gt,r=bt),h&&o.default(h).hasClass(ct))this._isSliding=!1;else if(!this._triggerSlideEvent(h,r).isDefaultPrevented()&&a&&h){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(h),this._activeElement=h;var p=o.default.Event(St,{relatedTarget:h,direction:r,from:l,to:c});if(o.default(this._element).hasClass(dt)){o.default(h).addClass(n),v.reflow(h),o.default(a).addClass(i),o.default(h).addClass(i);var u=v.getTransitionDurationFromElement(a);o.default(a).one(v.TRANSITION_END,(function(){o.default(h).removeClass(i+" "+n).addClass(ct),o.default(a).removeClass(ct+" "+n+" "+i),s._isSliding=!1,setTimeout((function(){return o.default(s._element).trigger(p)}),0)})).emulateTransitionEnd(u)}else o.default(a).removeClass(ct),o.default(h).addClass(ct),this._isSliding=!1,o.default(this._element).trigger(p);d&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this).data(et),n=l({},Wt,o.default(this).data());"object"===typeof e&&(n=l({},n,e));var r="string"===typeof e?e:n.slide;if(i||(i=new t(this,n),o.default(this).data(et,i)),"number"===typeof e)i.to(e);else if("string"===typeof r){if("undefined"===typeof i[r])throw new TypeError('No method named "'+r+'"');i[r]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}))},t._dataApiClickHandler=function(e){var i=v.getSelectorFromElement(this);if(i){var n=o.default(i)[0];if(n&&o.default(n).hasClass(ht)){var r=l({},o.default(n).data(),o.default(this).data()),s=this.getAttribute("data-slide-to");s&&(r.interval=!1),t._jQueryInterface.call(o.default(n),r),s&&o.default(n).data(et).to(s),e.preventDefault()}}},a(t,null,[{key:"VERSION",get:function(){return tt}},{key:"Default",get:function(){return Wt}}]),t}();o.default(document).on(Dt,Ht,Gt._dataApiClickHandler),o.default(window).on(Ot,(function(){for(var t=[].slice.call(document.querySelectorAll(Xt)),e=0,i=t.length;e<i;e++){var n=o.default(t[e]);Gt._jQueryInterface.call(n,n.data())}})),o.default.fn[J]=Gt._jQueryInterface,o.default.fn[J].Constructor=Gt,o.default.fn[J].noConflict=function(){return o.default.fn[J]=ot,Gt._jQueryInterface};var Ut="collapse",qt="4.6.2",Vt="bs.collapse",Kt="."+Vt,$t=".data-api",Zt=o.default.fn[Ut],Qt="show",Jt="collapse",te="collapsing",ee="collapsed",ie="width",ne="height",oe="show"+Kt,re="shown"+Kt,se="hide"+Kt,ae="hidden"+Kt,le="click"+Kt+$t,he=".show, .collapsing",ce='[data-toggle="collapse"]',de={toggle:!0,parent:""},pe={toggle:"boolean",parent:"(string|element)"},ue=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(ce)),n=0,o=i.length;n<o;n++){var r=i[n],s=v.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter((function(e){return e===t}));null!==s&&a.length>0&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){o.default(this._element).hasClass(Qt)?this.hide():this.show()},e.show=function(){var e,i,n=this;if(!this._isTransitioning&&!o.default(this._element).hasClass(Qt)&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(he)).filter((function(t){return"string"===typeof n._config.parent?t.getAttribute("data-parent")===n._config.parent:t.classList.contains(Jt)}))).length&&(e=null),!(e&&(i=o.default(e).not(this._selector).data(Vt))&&i._isTransitioning))){var r=o.default.Event(oe);if(o.default(this._element).trigger(r),!r.isDefaultPrevented()){e&&(t._jQueryInterface.call(o.default(e).not(this._selector),"hide"),i||o.default(e).data(Vt,null));var s=this._getDimension();o.default(this._element).removeClass(Jt).addClass(te),this._element.style[s]=0,this._triggerArray.length&&o.default(this._triggerArray).removeClass(ee).attr("aria-expanded",!0),this.setTransitioning(!0);var a=function(){o.default(n._element).removeClass(te).addClass(Jt+" "+Qt),n._element.style[s]="",n.setTransitioning(!1),o.default(n._element).trigger(re)},l="scroll"+(s[0].toUpperCase()+s.slice(1)),h=v.getTransitionDurationFromElement(this._element);o.default(this._element).one(v.TRANSITION_END,a).emulateTransitionEnd(h),this._element.style[s]=this._element[l]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&o.default(this._element).hasClass(Qt)){var e=o.default.Event(se);if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",v.reflow(this._element),o.default(this._element).addClass(te).removeClass(Jt+" "+Qt);var n=this._triggerArray.length;if(n>0)for(var r=0;r<n;r++){var s=this._triggerArray[r],a=v.getSelectorFromElement(s);null!==a&&(o.default([].slice.call(document.querySelectorAll(a))).hasClass(Qt)||o.default(s).addClass(ee).attr("aria-expanded",!1))}this.setTransitioning(!0);var l=function(){t.setTransitioning(!1),o.default(t._element).removeClass(te).addClass(Jt).trigger(ae)};this._element.style[i]="";var h=v.getTransitionDurationFromElement(this._element);o.default(this._element).one(v.TRANSITION_END,l).emulateTransitionEnd(h)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){o.default.removeData(this._element,Vt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=l({},de,t)).toggle=Boolean(t.toggle),v.typeCheckConfig(Ut,t,pe),t},e._getDimension=function(){return o.default(this._element).hasClass(ie)?ie:ne},e._getParent=function(){var e,i=this;v.isElement(this._config.parent)?(e=this._config.parent,"undefined"!==typeof this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(e.querySelectorAll(n));return o.default(r).each((function(e,n){i._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])})),e},e._addAriaAndCollapsedClass=function(t,e){var i=o.default(t).hasClass(Qt);e.length&&o.default(e).toggleClass(ee,!i).attr("aria-expanded",i)},t._getTargetFromElement=function(t){var e=v.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data(Vt),r=l({},de,i.data(),"object"===typeof e&&e?e:{});if(!n&&r.toggle&&"string"===typeof e&&/show|hide/.test(e)&&(r.toggle=!1),n||(n=new t(this,r),i.data(Vt,n)),"string"===typeof e){if("undefined"===typeof n[e])throw new TypeError('No method n
2amed "'+e+'"');n[e]()}}))},a(t,null,[{key:"VERSION",get:function(){return qt}},{key:"Default",get:function(){return de}}]),t}();o.default(document).on(le,ce,(function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=o.default(this),i=v.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(i));o.default(n).each((function(){var t=o.default(this),i=t.data(Vt)?"toggle":e.data();ue._jQueryInterface.call(t,i)}))})),o.default.fn[Ut]=ue._jQueryInterface,o.default.fn[Ut].Constructor=ue,o.default.fn[Ut].noConflict=function(){return o.default.fn[Ut]=Zt,ue._jQueryInterface};var fe="dropdown",ge="4.6.2",me="bs.dropdown",ye="."+me,ve=".data-api",xe=o.default.fn[fe],be=27,we=32,Se=9,Ce=38,ke=40,Te=3,Me=new RegExp(Ce+"|"+ke+"|"+be),Ae="disabled",Pe="show",Ee="dropup",Le="dropright",_e="dropleft",Oe="dropdown-menu-right",De="position-static",je="hide"+ye,Ne="hidden"+ye,Ie="show"+ye,Re="shown"+ye,Be="click"+ye,ze="click"+ye+ve,He="keydown"+ye+ve,Xe="keyup"+ye+ve,We='[data-toggle="dropdown"]',Fe=".dropdown form",Ye=".dropdown-menu",Ge=".navbar-nav",Ue=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qe="top-start",Ve="top-end",Ke="bottom-start",$e="bottom-end",Ze="right-start",Qe="left-start",Je={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},ti={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},ei=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!o.default(this._element).hasClass(Ae)){var e=o.default(this._menu).hasClass(Pe);t._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||o.default(this._element).hasClass(Ae)||o.default(this._menu).hasClass(Pe))){var i={relatedTarget:this._element},n=o.default.Event(Ie,i),s=t._getParentFromElement(this._element);if(o.default(s).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&e){if("undefined"===typeof r.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var a=this._element;"parent"===this._config.reference?a=s:v.isElement(this._config.reference)&&(a=this._config.reference,"undefined"!==typeof this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&o.default(s).addClass(De),this._popper=new r.default(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===o.default(s).closest(Ge).length&&o.default(document.body).children().on("mouseover",null,o.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),o.default(this._menu).toggleClass(Pe),o.default(s).toggleClass(Pe).trigger(o.default.Event(Re,i))}}},e.hide=function(){if(!this._element.disabled&&!o.default(this._element).hasClass(Ae)&&o.default(this._menu).hasClass(Pe)){var e={relatedTarget:this._element},i=o.default.Event(je,e),n=t._getParentFromElement(this._element);o.default(n).trigger(i),i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),o.default(this._menu).toggleClass(Pe),o.default(n).toggleClass(Pe).trigger(o.default.Event(Ne,e)))}},e.dispose=function(){o.default.removeData(this._element,me),o.default(this._element).off(ye),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;o.default(this._element).on(Be,(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},e._getConfig=function(t){return t=l({},this.constructor.Default,o.default(this._element).data(),t),v.typeCheckConfig(fe,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(Ye))}return this._menu},e._getPlacement=function(){var t=o.default(this._element.parentNode),e=Ke;return t.hasClass(Ee)?e=o.default(this._menu).hasClass(Oe)?Ve:qe:t.hasClass(Le)?e=Ze:t.hasClass(_e)?e=Qe:o.default(this._menu).hasClass(Oe)&&(e=$e),e},e._detectNavbar=function(){return o.default(this._element).closest(".
2navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"===typeof this._config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,t._config.offset(e.offsets,t._element)),e}:e.offset=this._config.offset,e},e._getPopperConfig=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}),l({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this).data(me);if(i||(i=new t(this,"object"===typeof e?e:null),o.default(this).data(me,i)),"string"===typeof e){if("undefined"===typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},t._clearMenus=function(e){if(!e||e.which!==Te&&("keyup"!==e.type||e.which===Se))for(var i=[].slice.call(document.querySelectorAll(We)),n=0,r=i.length;n<r;n++){var s=t._getParentFromElement(i[n]),a=o.default(i[n]).data(me),l={relatedTarget:i[n]};if(e&&"click"===e.type&&(l.clickEvent=e),a){var h=a._menu;if(o.default(s).hasClass(Pe)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&e.which===Se)&&o.default.contains(s,e.target))){var c=o.default.Event(je,l);o.default(s).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),i[n].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),o.default(h).removeClass(Pe),o.default(s).removeClass(Pe).trigger(o.default.Event(Ne,l)))}}}},t._getParentFromElement=function(t){var e,i=v.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?e.which===we||e.which!==be&&(e.which!==ke&&e.which!==Ce||o.default(e.target).closest(Ye).length):!Me.test(e.which))&&!this.disabled&&!o.default(this).hasClass(Ae)){var i=t._getParentFromElement(this),n=o.default(i).hasClass(Pe);if(n||e.which!==be){if(e.preventDefault(),e.stopPropagation(),!n||e.which===be||e.which===we)return e.which===be&&o.default(i.querySelector(We)).trigger("focus"),void o.default(this).trigger("click");var r=[].slice.call(i.querySelectorAll(Ue)).filter((function(t){return o.default(t).is(":visible")}));if(0!==r.length){var s=r.indexOf(e.target);e.which===Ce&&s>0&&s--,e.which===ke&&s<r.length-1&&s++,s<0&&(s=0),r[s].focus()}}}},a(t,null,[{key:"VERSION",get:function(){return ge}},{key:"Default",get:function(){return Je}},{key:"DefaultType",get:function(){return ti}}]),t}();o.default(document).on(He,We,ei._dataApiKeydownHandler).on(He,Ye,ei._dataApiKeydownHandler).on(ze+" "+Xe,ei._clearMenus).on(ze,We,(function(t){t.preventDefault(),t.stopPropagation(),ei._jQueryInterface.call(o.default(this),"toggle")})).on(ze,Fe,(function(t){t.stopPropagation()})),o.default.fn[fe]=ei._jQueryInterface,o.default.fn[fe].Constructor=ei,o.default.fn[fe].noConflict=function(){return o.default.fn[fe]=xe,ei._jQueryInterface};var ii="modal",ni="4.6.2",oi="bs.modal",ri="."+oi,si=".data-api",ai=o.default.fn[ii],li=27,hi="modal-dialog-scrollable",ci="modal-scrollbar-measure",di="modal-backdrop",pi="modal-open",ui="fade",fi="show",gi="modal-static",mi="hide"+ri,yi="hidePrevented"+ri,vi="hidden"+ri,xi="show"+ri,bi="shown"+ri,wi="focusin"+ri,Si="resize"+ri,Ci="click.dismiss"+ri,ki="keydown.dismiss"+ri,Ti="mouseup.dismiss"+ri,Mi="mousedown.dismiss"+ri,Ai="click"+ri+si,Pi=".modal-dialog",Ei=".modal-body",Li='[data-toggle="modal"]',_i='[data-dismiss="modal"]',Oi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Di=".sticky-top",ji={backdrop:!0,keyboard:!0,focus:!0,show:!0},Ni={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Ii=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(Pi),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){var i=o.default.Event(xi,{relatedTarget:t});o.default(this._element).trigger(i),i.isDefaultPrevented()||(this._isShown=!0,o.default(this._element).hasClass(ui)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o.default(this._element).on(Ci,_i,(function(t){return e.hide(t)})),o.default(this._dialog).on(Mi,(function(){o.default(e._element).one(Ti,(function(t){o.default(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return e._showElement(t)})))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=o.default.Event(mi);if(o.default(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var n=o.default(this._element).hasClass(ui);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o.default(document).off(wi),o.default(this._element).removeClass(fi),o.default(this._element).off(Ci),o.default(this._dialog).off(Mi),n){var r=v.getTransitionDurationFromElement(this._element);o.default(this._element).one(v.TRANSITION_END,(function(t){return e._hideModal(t)})).emulateTransitionEnd(r)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach((function(t){return o.default(t).off(ri)})),o.default(document).off(wi),o.default.removeData(this._element,oi),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},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=l({},ji,t),v.typeCheckConfig(ii,t,Ni),t},e._triggerBackdropTransition=function(){var t=this,e=o.default.Event(yi);if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._element.scrollHeight>document.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add(gi);var n=v.getTransitionDurationFromElement(this._dialog);o.default(this._element).off(v.TRANSITION_END),o.default(this._element).one(v.TRANSITION_END,(function(){t._element.classList.remove(gi),i||o.default(t._element).one(v.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,n)}
vendor: 5,518 bytes, line 2
2)).emulateTransitionEnd(n),this._element.focus()}},e._showElement=function(t){var e=this,i=o.default(this._element).hasClass(ui),n=this._dialog?this._dialog.querySelector(Ei):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),this._element.setAttribute("role","dialog"),o.default(this._dialog).hasClass(hi)&&n?n.scrollTop=0:this._element.scrollTop=0,i&&v.reflow(this._element),o.default(this._element).addClass(fi),this._config.focus&&this._enforceFocus();var r=o.default.Event(bi,{relatedTarget:t}),s=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,o.default(e._element).trigger(r)};if(i){var a=v.getTransitionDurationFromElement(this._dialog);o.default(this._dialog).one(v.TRANSITION_END,s).emulateTransitionEnd(a)}else s()},e._enforceFocus=function(){var t=this;o.default(document).off(wi).on(wi,(function(e){document!==e.target&&t._element!==e.target&&0===o.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?o.default(this._element).on(ki,(function(e){t._config.keyboard&&e.which===li?(e.preventDefault(),t.hide()):t._config.keyboard||e.which!==li||t._triggerBackdropTransition()})):this._isShown||o.default(this._element).off(ki)},e._setResizeEvent=function(){var t=this;this._isShown?o.default(window).on(Si,(function(e){return t.handleUpdate(e)})):o.default(window).off(Si)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){o.default(document.body).removeClass(pi),t._resetAdjustments(),t._resetScrollbar(),o.default(t._element).trigger(vi)}))},e._removeBackdrop=function(){this._backdrop&&(o.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,i=o.default(this._element).hasClass(ui)?ui:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=di,i&&this._backdrop.classList.add(i),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on(Ci,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())})),i&&v.reflow(this._backdrop),o.default(this._backdrop).addClass(fi),!t)return;if(!i)return void t();var n=v.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(v.TRANSITION_END,t).emulateTransitionEnd(n)}else if(!this._isShown&&this._backdrop){o.default(this._backdrop).removeClass(fi);var r=function(){e._removeBackdrop(),t&&t()};if(o.default(this._element).hasClass(ui)){var s=v.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(v.TRANSITION_END,r).emulateTransitionEnd(s)}else r()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(Oi)),i=[].slice.call(document.querySelectorAll(Di));o.default(e).each((function(e,i){var n=i.style.paddingRight,r=o.default(i).css("padding-right");o.default(i).data("padding-right",n).css("padding-right",parseFloat(r)+t._scrollbarWidth+"px")})),o.default(i).each((function(e,i){var n=i.style.marginRight,r=o.default(i).css("margin-right");o.default(i).data("margin-right",n).css("margin-right",parseFloat(r)-t._scrollbarWidth+"px")}));var n=document.body.style.paddingRight,r=o.default(document.body).css("padding-right");o.default(document.body).data("padding-right",n).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}o.default(document.body).addClass(pi)},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(Oi));o.default(t).each((function(t,e){var i=o.default(e).data("padding-right");o.default(e).removeData("padding-right"),e.style.paddingRight=i||""}));var e=[].slice.call(document.querySelectorAll(""+Di));o.default(e).each((function(t,e){var i=o.default(e).data("margin-right");"undefined"!==typeof i&&o.default(e).css("margin-right",i).removeData("margin-right")}));var i=o.default(document.body).data("padding-right");o.default(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className=ci,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,i){return this.each((function(){var n=o.default(this).data(oi),r=l({},ji,o.default(this).data(),"object"===typeof e&&e?e:{});if(n||(n=new t(this,r),o.default(this).data(oi,n)),"string"===typeof e){if("undefined"===typeof n[e])throw new TypeError('No method n
2amed "'+e+'"');n[e](i)}else r.show&&n.show(i)}))},a(t,null,[{key:"VERSION",get:function(){return ni}},{key:"Default",get:function(){return ji}}]),t}();o.default(document).on(Ai,Li,(function(t){var e,i=this,n=v.getSelectorFromElement(this);n&&(e=document.querySelector(n));var r=o.default(e).data(oi)?"toggle":l({},o.default(e).data(),o.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=o.default(e).one(xi,(function(t){t.isDefaultPrevented()||s.one(vi,(function(){o.default(i).is(":visible")&&i.focus()}))}));Ii._jQueryInterface.call(o.default(e),r,this)})),o.default.fn[ii]=Ii._jQueryInterface,o.default.fn[ii].Constructor=Ii,o.default.fn[ii].noConflict=function(){return o.default.fn[ii]=ai,Ii._jQueryInterface};var Ri=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Bi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},zi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Hi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Xi(t,e){var i=t.nodeName.toLowerCase();if(-1!==e.indexOf(i))return-1===Ri.indexOf(i)||Boolean(zi.test(t.nodeValue)||Hi.test(t.nodeValue));for(var n=e.filter((function(t){return t instanceof RegExp})),o=0,r=n.length;o<r;o++)if(n[o].test(i))return!0;return!1}function Wi(t,e,i){if(0===t.length)return t;if(i&&"function"===typeof i)return i(t);for(var n=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),r=[].slice.call(n.body.querySelectorAll("*")),s=function(t,i){var n=r[t],s=n.nodeName.toLowerCase();if(-1===o.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var a=[].slice.call(n.attributes),l=[].concat(e["*"]||[],e[s]||[]);a.forEach((function(t){Xi(t,l)||n.removeAttribute(t.nodeName)}))},a=0,l=r.length;a<l;a++)s(a);return n.body.innerHTML}var Fi="tooltip",Yi="4.6.2",Gi="bs.tooltip",Ui="."+Gi,qi=o.default.fn[Fi],Vi="bs-tooltip",Ki=new RegExp("(^|\\s)"+Vi+"\\S+","g"),$i=["sanitize","whiteList","sanitizeFn"],Zi="fade",Qi="show",Ji="show",tn="out",en=".tooltip-inner",nn=".arrow",on="hover",rn="focus",sn="click",an="manual",ln={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},hn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:Bi,popperConfig:null},cn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},dn={HIDE:"hide"+Ui,HIDDEN:"hidden"+Ui,SHOW:"show"+Ui,SHOWN:"shown"+Ui,INSERTED:"inserted"+Ui,CLICK:"click"+Ui,FOCUSIN:"focusin"+Ui,FOCUSOUT:"focusout"+Ui,MOUSEENTER:"mouseenter"+Ui,MOUSELEAVE:"mouseleave"+Ui},pn=function(){function t(t,e){if("undefined"===typeof r.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=o.default(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(o.default(this.getTipElement()).hasClass(Qi))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),o.default.removeData(this.element,this.constructor.DATA_KEY),o.default(this.element).off(this.constructor.EVENT_KEY),o.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&o.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===o.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=o.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o.default(this.element).trigger(e);var i=v.findShadowRoot(this.element),n=o.default.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var s=this.getTipElement(),a=v.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&o.default(s).addClass(Zi);var l="function"===typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,h=this._getAttachment(l);this.addAttachmentClass(h);var c=this._getContainer();o.default(s).data(this.constructor.DATA_KEY,this),o.default.contains(this.element.ownerDocument.documentElement,this.tip)||o.default(s).appendTo(c),o.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new r.default(this.element,s,this._getPopperConfig(h)),o.default(s).addClass(Qi),o.default(s).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&o.default(document.body).children().on("mouseover",null,o.default.noop);var d=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,o.default(t.element).trigger(t.constructor.Event.SHOWN),e===tn&&t._leave(null,t)};if(o.default(this.tip).hasClass(Zi)){var p=v.getTransitionDurationFromElement(this.tip);o.default(this.tip).one(v.TRANSITION_END,d).emulateTransitionEnd(p)}else d()}},e.hide=function(t){var e=this,i=this.getTipElement(),n=o.default.Event(this.constructor.Event.HIDE),r=function(){e._hoverState!==Ji&&i.parentNode&&i.parentNode.removeChild(i),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),o.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(o.default(this.element).trigger(n),!n.isDefaultPrevented()){if
vendor: 5,667 bytes, line 2
2(o.default(i).removeClass(Qi),"ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),this._activeTrigger[sn]=!1,this._activeTrigger[rn]=!1,this._activeTrigger[on]=!1,o.default(this.tip).hasClass(Zi)){var s=v.getTransitionDurationFromElement(i);o.default(i).one(v.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass(Vi+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(o.default(t.querySelectorAll(en)),this.getTitle()),o.default(t).removeClass(Zi+" "+Qi)},e.setElementContent=function(t,e){"object"!==typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=Wi(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?o.default(e).parent().is(t)||t.empty().append(e):t.text(o.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"===typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return l({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:nn},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"===typeof this.config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,t.config.offset(e.offsets,t.element)),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:v.isElement(this.config.container)?o.default(this.config.container):o.default(document).find(this.config.container)},e._getAttachment=function(t){return ln[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)o.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if(e!==an){var i=e===on?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,n=e===on?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;o.default(t.element).on(i,t.config.selector,(function(e){return t._enter(e)})).on(n,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},o.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?rn:on]=!0),o.default(e.getTipElement()).hasClass(Qi)||e._hoverState===Ji?e._hoverState=Ji:(clearTimeout(e._timeout),e._hoverState=Ji,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===Ji&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?rn:on]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=tn,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===tn&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=o.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==$i.indexOf(t)&&delete e[t]})),"number"===typeof(t=l({},this.constructor.Default,e,"object"===typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"===typeof t.title&&(t.title=t.title.toString()),"number"===typeof t.content&&(t.content=t.content.toString()),v.typeCheckConfig(Fi,t,this.constructor.DefaultType),t.sanitize&&(t.template=Wi(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr("class").match(Ki);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(o.default(t).removeClass(Zi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data(Gi),r="object"===typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,r),i.data(Gi,n)
2),"string"===typeof e)){if("undefined"===typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},a(t,null,[{key:"VERSION",get:function(){return Yi}},{key:"Default",get:function(){return hn}},{key:"NAME",get:function(){return Fi}},{key:"DATA_KEY",get:function(){return Gi}},{key:"Event",get:function(){return dn}},{key:"EVENT_KEY",get:function(){return Ui}},{key:"DefaultType",get:function(){return cn}}]),t}();o.default.fn[Fi]=pn._jQueryInterface,o.default.fn[Fi].Constructor=pn,o.default.fn[Fi].noConflict=function(){return o.default.fn[Fi]=qi,pn._jQueryInterface};var un="popover",fn="4.6.2",gn="bs.popover",mn="."+gn,yn=o.default.fn[un],vn="bs-popover",xn=new RegExp("(^|\\s)"+vn+"\\S+","g"),bn="fade",wn="show",Sn=".popover-header",Cn=".popover-body",kn=l({},pn.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Tn=l({},pn.DefaultType,{content:"(string|element|function)"}),Mn={HIDE:"hide"+mn,HIDDEN:"hidden"+mn,SHOW:"show"+mn,SHOWN:"shown"+mn,INSERTED:"inserted"+mn,CLICK:"click"+mn,FOCUSIN:"focusin"+mn,FOCUSOUT:"focusout"+mn,MOUSEENTER:"mouseenter"+mn,MOUSELEAVE:"mouseleave"+mn},An=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var i=e.prototype;return i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass(vn+"-"+t)},i.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},i.setContent=function(){var t=o.default(this.getTipElement());this.setElementContent(t.find(Sn),this.getTitle());var e=this._getContent();"function"===typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Cn),e),t.removeClass(bn+" "+wn)},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr("class").match(xn);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._jQueryInterface=function(t){return this.each((function(){var i=o.default(this).data(gn),n="object"===typeof t?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new e(this,n),o.default(this).data(gn,i)),"string"===typeof t)){if("undefined"===typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}}))},a(e,null,[{key:"VERSION",get:function(){return fn}},{key:"Default",get:function(){return kn}},{key:"NAME",get:function(){return un}},{key:"DATA_KEY",get:function(){return gn}},{key:"Event",get:function(){return Mn}},{key:"EVENT_KEY",get:function(){return mn}},{key:"DefaultType",get:function(){return Tn}}]),e}(pn);o.default.fn[un]=An._jQueryInterface,o.default.fn[un].Constructor=An,o.default.fn[un].noConflict=function(){return o.default.fn[un]=yn,An._jQueryInterface};var Pn="scrollspy",En="4.6.2",Ln="bs.scrollspy",_n="."+Ln,On=".data-api",Dn=o.default.fn[Pn],jn="dropdown-item",Nn="active",In="activate"+_n,Rn="scroll"+_n,Bn="load"+_n+On,zn="offset",Hn="position",Xn='[data-spy="scroll"]',Wn=".nav, .list-group",Fn=".nav-link",Yn=".nav-item",Gn=".list-group-item",Un=".dropdown",qn=".dropdown-item",Vn=".dropdown-toggle",Kn={offset:10,method:"auto",target:""},$n={offset:"number",method:"string",target:"(string|element)"},Zn=function(){function t(t,e){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+Fn+","+this._config.target+" "+Gn+","+this._config.target+" "+qn,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o.default(this._scrollElement).on(Rn,(function(t){return i._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?zn:Hn,i="auto"===this._config.method?e:this._config.method,n=i===Hn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,r=v.getSelectorFromElement(t);if(r&&(e=document.querySelector(r)),e){var s=e.getBoundingClientRect();if(s.width||s.height)return[o.default(e)[i]().top+n,r]}return null}
vendor: 8,919 bytes, line 2
2)).filter(Boolean).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){o.default.removeData(this._element,Ln),o.default(this._scrollElement).off(_n),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!==typeof(t=l({},Kn,"object"===typeof t&&t?t:{})).target&&v.isElement(t.target)){var e=o.default(t.target).attr("id");e||(e=v.getUID(Pn),o.default(t.target).attr("id",e)),t.target="#"+e}return v.typeCheckConfig(Pn,t,$n),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"===typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map((function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'})),i=o.default([].slice.call(document.querySelectorAll(e.join(","))));i.hasClass(jn)?(i.closest(Un).find(Vn).addClass(Nn),i.addClass(Nn)):(i.addClass(Nn),i.parents(Wn).prev(Fn+", "+Gn).addClass(Nn),i.parents(Wn).prev(Yn).children(Fn).addClass(Nn)),o.default(this._scrollElement).trigger(In,{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(t){return t.classList.contains(Nn)})).forEach((function(t){return t.classList.remove(Nn)}))},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this).data(Ln);if(i||(i=new t(this,"object"===typeof e&&e),o.default(this).data(Ln,i)),"string"===typeof e){if("undefined"===typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},a(t,null,[{key:"VERSION",get:function(){return En}},{key:"Default",get:function(){return Kn}}]),t}();o.default(window).on(Bn,(function(){for(var t=[].slice.call(document.querySelectorAll(Xn)),e=t.length;e--;){var i=o.default(t[e]);Zn._jQueryInterface.call(i,i.data())}})),o.default.fn[Pn]=Zn._jQueryInterface,o.default.fn[Pn].Constructor=Zn,o.default.fn[Pn].noConflict=function(){return o.default.fn[Pn]=Dn,Zn._jQueryInterface};var Qn="tab",Jn="4.6.2",to="bs.tab",eo="."+to,io=".data-api",no=o.default.fn[Qn],oo="dropdown-menu",ro="active",so="disabled",ao="fade",lo="show",ho="hide"+eo,co="hidden"+eo,po="show"+eo,uo="shown"+eo,fo="click"+eo+io,go=".dropdown",mo=".nav, .list-group",yo=".active",vo="> li > .active",xo='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',bo=".dropdown-toggle",wo="> .dropdown-menu .active",So=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&o.default(this._element).hasClass(ro)||o.default(this._element).hasClass(so)||this._element.hasAttribute("disabled"))){var e,i,n=o.default(this._element).closest(mo)[0],r=v.getSelectorFromElement(this._element);if(n){var s="UL"===n.nodeName||"OL"===n.nodeName?vo:yo;i=(i=o.default.makeArray(o.default(n).find(s)))[i.length-1]}var a=o.default.Event(ho,{relatedTarget:this._element}),l=o.default.Event(po,{relatedTarget:i});if(i&&o.default(i).trigger(a),o.default(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(e=document.querySelector(r)),this._activate(this._element,n);var h=function(){var e=o.default.Event(co,{relatedTarget:t._element}),n=o.default.Event(uo,{relatedTarget:i});o.default(i).trigger(e),o.default(t._element).trigger(n)};e?this._activate(e,e.parentNode,h):h()}}},e.dispose=function(){o.default.removeData(this._element,to),this._element=null},e._activate=function(t,e,i){var n=this,r=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?o.default(e).children(yo):o.default(e).find(vo))[0],s=i&&r&&o.default(r).hasClass(ao),a=function(){return n._transitionComplete(t,r,i)};if(r&&s){var l=v.getTransitionDurationFromElement(r);o.default(r).removeClass(lo).one(v.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},e._transitionComplete=function(t,e,i){if(e){o.default(e).removeClass(ro);var n=o.default(e.parentNode).find(wo)[0];n&&o.default(n).removeClass(ro),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}o.default(t).addClass(ro),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),v.reflow(t),t.classList.contains(ao)&&t.classList.add(lo);var r=t.parentNode;if(r&&"LI"===r.nodeName&&(r=r.parentNode),r&&o.default(r).hasClass(oo)){var s=o.default(t).closest(go)[0];if(s){var a=[].slice.call(s.querySelectorAll(bo));o.default(a).addClass(ro)}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data(to);if(n||(n=new t(this),i.data(to,n)),"string"===typeof e){if("undefined"===typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},a(t,null,[{key:"VERSION",get:function(){return Jn}}]),t}();o.default(document).on(fo,xo,(function(t){t.preventDefault(),So._jQueryInterface.call(o.default(this),"show")})),o.default.fn[Qn]=So._jQueryInterface,o.default.fn[Qn].Constructor=So,o.default.fn[Qn].noConflict=function(){return o.default.fn[Qn]=no,So._jQueryInterface};var Co="toast",ko="4.6.2",To="bs.toast",Mo="."+To,Ao=o.default.fn[Co],Po="fade",Eo="hide",Lo="show",_o="showing",Oo="click.dismiss"+Mo,Do="hide"+Mo,jo="hidden"+Mo,No="show"+Mo,Io="shown"+Mo,Ro='[data-dismiss="toast"]',Bo={animation:!0,autohide:!0,delay:500},zo={animation:"boolean",autohide:"boolean",delay:"number"},Ho=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this,e=o.default.Event(No);if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add(Po);var i=function(){t._element.classList.remove(_o),t._element.classList.add(Lo),o.default(t._element).trigger(Io),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove(Eo),v.reflow(this._element),this._element.classList.add(_o),this._config.animation){var n=v.getTransitionDurationFromElement(this._element);o.default(this._element).one(v.TRANSITION_END,i).emulateTransitionEnd(n)}else i()}},e.hide=function(){if(this._element.classList.contains(Lo)){var t=o.default.Event(Do);o.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains(Lo)&&this._element.classList.remove(Lo),o.default(this._element).off(Oo),o.default.removeData(this._element,To),this._element=null,this._config=null},e._getConfig=function(t){return t=l({},Bo,o.default(this._element).data(),"object"===typeof t&&t?t:{}),v.typeCheckConfig(Co,t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;o.default(this._element).on(Oo,Ro,(function(){return t.hide()}))},e._close=function(){var t=this,e=function(){t._element.classList.add(Eo),o.default(t._element).trigger(jo)};if(this._element.classList.remove(Lo),this._config.animation){var i=v.getTransitionDurationFromElement(this._element);o.default(this._element).one(v.TRANSITION_END,e).emulateTransitionEnd(i)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data(To);if(n||(n=new t(this,"object"===typeof e&&e),i.data(To,n)),"string"===typeof e){if("undefined"===typeof n[e])throw new TypeError('No method named "'+e+'"');n[e](this)}}))},a(t,null,[{key:"VERSION",get:function(){return ko}},{key:"DefaultType",get:function(){return zo}},{key:"Default",get:function(){return Bo}}]),t}();o.default.fn[Co]=Ho._jQueryInterface,o.default.fn[Co].Constructor=Ho,o.default.fn[Co].noConflict=function(){return o.default.fn[Co]=Ao,Ho._jQueryInterface},t.Alert=O,t.Button=Q,t.Carousel=Gt,t.Collapse=ue,t.Dropdown=ei,t.Modal=Ii,t.Popover=An,t.Scrollspy=Zn,t.Tab=So,t.Toast=Ho,t.Tooltip=pn,t.Util=v,Object.defineProperty(t,"__esMo
2dule",{value:!0})}(e,i(6),i(12))},12:function(t,e,i){"use strict";i.r(e),function(t){var i="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,n=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(i&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var o=i&&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()}),n))}};function r(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(i+o+n)?t:l(a(t))}function h(t){return t&&t.referenceNode?t.referenceNode:t}var c=i&&!(!window.MSInputMethodContext||!document.documentMode),d=i&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?c:10===t?d:c||d}function u(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===s(i,"position")?u(i):i:t?t.ownerDocument.documentElement:document.documentElement}function f(t){return null!==t.parentNode?f(t.parentNode):t}function g(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,r=document.createRange();r.setStart(n,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&u(s.firstElementChild)!==s?u(l):l;var h=f(t);return h.host?g(h.host,e):g(t,f(e).host)}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[i]}return t[i]}function y(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=m(e,"top"),o=m(e,"left"),r=i?-1:1;return t.top+=n*r,t.bottom+=n*r,t.left+=o*r,t.right+=o*r,t}function v(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"])+parseFloat(t["border"+n+"Width"])}function x(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],p(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function b(t){var e=t.body,i=t.documentElement,n=p(10)&&getComputedStyle(i);return{height:x("Height",e,i,n),width:x("Width",e,i,n)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},S=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),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},k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function T(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(p(10)){e=t.getBoundingClientRect();var i=m(t,"top"),n=m(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}else e=t.getBoundingClientRect()}catch(u){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?b(t.ownerDocument):{},a=r.width||t.clientWidth||o.width,l=r.height||t.clientHeight||o.height,h=t.offsetWidth-a,c=t.offsetHeight-l;if(h||c){var d=s(t);h-=v(d,"x"),c-=v(d,"y"),o.width-=h,o.height-=c}return T(o)}function A(t,e){var i=arguments.length>
vendor: 5,900 bytes, line 2
22&&void 0!==arguments[2]&&arguments[2],n=p(10),o="HTML"===e.nodeName,r=M(t),a=M(e),h=l(t),c=s(e),d=parseFloat(c.borderTopWidth),u=parseFloat(c.borderLeftWidth);i&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=T({top:r.top-a.top-d,left:r.left-a.left-u,width:r.width,height:r.height});if(f.marginTop=0,f.marginLeft=0,!n&&o){var g=parseFloat(c.marginTop),m=parseFloat(c.marginLeft);f.top-=d-g,f.bottom-=d-g,f.left-=u-m,f.right-=u-m,f.marginTop=g,f.marginLeft=m}return(n&&!i?e.contains(h):e===h&&"BODY"!==h.nodeName)&&(f=y(f,e)),f}function P(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=A(t,i),o=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),s=e?0:m(i),a=e?0:m(i,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:r};return T(l)}function E(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var i=a(t);return!!i&&E(i)}function L(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function _(t,e,i,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?L(t):g(t,h(e));if("viewport"===n)r=P(s,o);else{var c=void 0;"scrollParent"===n?"BODY"===(c=l(a(e))).nodeName&&(c=t.ownerDocument.documentElement):c="window"===n?t.ownerDocument.documentElement:n;var d=A(c,s,o);if("HTML"!==c.nodeName||E(s))r=d;else{var p=b(t.ownerDocument),u=p.height,f=p.width;r.top+=d.top-d.marginTop,r.bottom=u+d.top,r.left+=d.left-d.marginLeft,r.right=f+d.left}}var m="number"===typeof(i=i||0);return r.left+=m?i:i.left||0,r.top+=m?i:i.top||0,r.right-=m?i:i.right||0,r.bottom-=m?i:i.bottom||0,r}function O(t){return t.width*t.height}function D(t,e,i,n,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=_(i,n,r,o),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 k({key:t},a[t],{area:O(a[t])})})).sort((function(t,e){return e.area-t.area})),h=l.filter((function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight})),c=h.length>0?h[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function j(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?L(e):g(e,h(i));return A(i,o,n)}function N(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,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 R(t,e,i){i=i.split("-")[0];var n=N(t),o={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",h=r?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=i===a?e[a]-n[h]:e[I(a)],o}function B(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function z(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 n=B(t,(function(t){return t[e]===i}));return t.indexOf(n)}(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&&r(i)&&(e.offsets.popper=T(e.offsets.popper),e.offsets.reference=T(e.offsets.reference),e=i(e,t))})),e}function H(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=j(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=R(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=z(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function X(t,e){return t.some((function(t){var i=t.name;return t.enabled&&i===e}))}function W(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],r=o?""+o+i:t;if("undefined"!==typeof document.body.style[r])return r}return null}function F(){return this.state.isDestroyed=!0,X(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[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Y(t){var e=t.ownerDocument;return e?e.defaultView:window}function G(t,e,i,n){var o="BODY"===t.nodeName,r=o?t.ownerDocument.defaultView:t;r.addEventListener(e,i,{passive:!0}),o||G(l(r.parentNode),e,i,n),n.push(r)}function U(t,e,i,n){i.updateBound=n,Y(t).addEventListener("resize",i.updateBound,{passive:!0});var o=l(t);return G(o,"scroll",i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function q(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function V(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,Y(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEac
vendor: 8,850 bytes, line 2
2h((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function K(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).forEach((function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&K(e[i])&&(n="px"),t.style[i]=e[i]+n}))}var Z=i&&/Firefox/i.test(navigator.userAgent);function Q(t,e,i){var n=B(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===i&&t.enabled&&t.order<n.order}));if(!o){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 o}var J=["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"],tt=J.slice(3);function et(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=tt.indexOf(t),n=tt.slice(i+1).concat(tt.slice(0,i));return e?n.reverse():n}var it="flip",nt="clockwise",ot="counterclockwise";function rt(t,e,i,n){var o=[0,0],r=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(B(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,n){var o=(1===n?!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,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){return T("%p"===s?i:n)[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,o,e,i)}))})),h.forEach((function(t,e){t.forEach((function(i,n){K(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))}))})),o}var st={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,r=o.reference,s=o.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=k({},s,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=K(+i)?[+i,0]:rt(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||u(t.instance.popper);t.instance.reference===i&&(i=u(i));var n=W("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=_(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);o.top=r,o.left=s,o[n]=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",n=c[i];return c[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(c[i],l[t]-("right"===t?c.width:c.height))),C({},i,n)}};return h.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=k({},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,n=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",h=s?"width":"height";return i[a]<r(n[l])&&(t.offsets.popper[l]=r(n[l])-i[h]),i[l]>r(n[a])&&(t.offsets.popper[l]=r(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"===typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,a=r.popper,l=r.reference,h=-1!==["left","right"].indexOf(o),c=h?"height":"width",d=h?"Top":"Left",p=d.toLowerCase(),u=h?"left":"top",f=h?"bottom":"right",g=N(n)[c];l[f]-g<a[p]&&(t.offsets.popper[p]-=a[p]-(l[f]-g)),l[p]+g>a[f]&&(t.offsets.popper[p]+=l[p]+g-a[f]),t.offsets.popper=T(t.offsets.popper);var m=l[p]+l[c]/2-g/2,y=s(t.instance.popper),v=parseFloat(y["margin"+d]),x=parseFloat(y["border"+d+"Width"]),b=m-t.offsets.popper[p]-v-x;return b=Math.max(Math.min(a[c]-g,b),0),t.arrowElement=n,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(X(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=_(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=I(n),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case it:s=[n,o];break;case nt:s=et(n);break;case ot:s=et(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=I(n);var h=t.offsets.popper,c=t.offsets.reference,d=Math.floor,p="left"===n&&d(h.right)>d(c.left)||"right"===n&&d(h.left)<d(c.right)||"top"===n&&d(h.bottom)>d(c.top)||"bottom"===n&&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),y="left"===n&&u||"right"===n&&f||"top"===n&&g||"bottom"===n&&m,v=-1!==["top","bottom"].indexOf(n),x=!!e.flipVariations&&(v&&"start"===r&&u||v&&"end"===r&&f||!v&&"start"===r&&g||!v&&"end"===r&&m),b=!!e.flipVariationsByContent&&(v&&"start"===r&&f||v&&"end"===r&&u||!v&&"start"===r&&m||!v&&"end"===r&&g),w=x||b;(p||y||w)&&(t.flipped=!0,(p||y)&&(n=s[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=n+(r?"-"+r:""),t.offsets.popper=k({},t.offsets.popper,R(t.instance.popper,t.offsets.reference,t.placement)),t=z(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],n=t.offsets,o=n.popper,r=n.reference,s=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[s?"left":"top"]=r[i]-(a?o[s?"width":"height"]:0),t.placement=I(e),t.offsets.popper=T(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=B(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,n=e.y,o=t.offsets.popper,r=B(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=u(t.instance.popper),l=M(a),h={position:o.position},c=function(t,e){var i=t.offsets,n=i.popper,o=i.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(o.width),h=r(n.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?n.left-1:n.left),top:u(n.top),bottom:u(n.bottom),right:p(n.right)}}(t,window.devicePixelRatio<2||!Z),d="bottom"===i?"top":"bottom",p="right"===n?"left":"right",f=W("transform"),g=void 0,m=void 0;if(m="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,g="right"===p?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,s&&f)h[f]="translate3d("+g+"px, "+m+"px, 0)",h[d]=0,h[p]=0,h.willChange="transform";else{var y="bottom"===d?-1:1,v="right"===p?-1:1;h[d]=m*y,h[p]=g*v,h.willChange=d+", "+p}var x={"x-placement":t.placement};return t.attributes=k({},x,t.attributes),t.styles=k({},h,t.styles),t.arrowStyles=k({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return $(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEac
2h((function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&$(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var r=j(o,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),$(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}},at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:st},lt=function(){function t(e,i){var n=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=o(this.update.bind(this)),this.options=k({},t.Defaults,s),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(k({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){n.options.modifiers[e]=k({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return k({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&r(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return S(t,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return F.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),t}();lt.Utils=("undefined"!==typeof window?window:t).PopperUtils,lt.placements=J,lt.Defaults=at,e.default=lt}.call(this,i(3))},15:function(t,e,i){var n,o,r;r=function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Core/Chart/ChartNavigationComposition.js",[],(function(){var t;return function(t){t.compose=function(t){return t.navigation||(t.navigation=new e(t)),t};var e=function(){function t(t){this.updates=[],this.chart=t}return t.prototype.addUpdate=function(t){this.chart.navigation.updates.push(t)},t.prototype.update=function(t,e){var i=this;this.updates.forEach((function(n){n.call(i.chart,t,e)}))},t}();t.Additions=e}(t||(t={})),t})),e(t,"Extensions/Exporting/ExportingDefaults.js",[t["Core/Globals.js"]],(function(t){return t=t.isTouchDevice,{exporting:{type:"image/png",url:"https://export.highcharts.com/",pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen&&this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}},menuStyle:{border:"1px solid ".concat("#999999"),background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:t?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"}}}})),e(t,"Extensions/Exporting/ExportingSymbols.js",[],(function(){var t;return function(t){function e(t,e,i,n){return[["M",t,e+2.5],["L",t+i,e+2.5],["M",t,e+n/2+.5],["L",t+i,e+n/2+.5],["M",t,e+n-1.5],["L",t+i,e+n-1.5]]}function i(t,e,i,n){return t=n/3-2,(n=[]).concat(this.circle(i-t,e,t,t),this.circle(i-t,e+t+4,t,t),this.circle(i-t,e+2*(t+4),t,t))}var n=[];t.compose=function(t){-1===n.indexOf(t)&&(n.push(t),(t=t.prototype.symbols).menu=e,t.menuball=i.bind(t))}}(t||(t={})),t})),e(t,"Extensions/Exporting/Fullscreen.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Utilities.js"]],(function(t,e){function i(){this.fullscreen=new s(this)}var n=e.addEvent,o=e.fireEvent,r=[],s=function(){function e(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"===typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return e.compose=function(t){-1===r.indexOf(t)&&(r.push(t),n(t,"beforeRender",i))},e.prototype.close=function(){var t=this,e=t.chart,i=e.options.chart;o(e,"fullscreenClose",null,(function(){t.isOpen&&t.browserProps&&e.container.ownerDocument instanceof Document&&e.container.ownerDocument[t.browserProps.exitFullscreen](),t.unbindFullscreenEvent&&(t.unbindFullscreenEvent=t.unbindFullscreenEvent()),e.setSize(t.origWidth,t.origHeight,!1),t.origWidth=void 0,t.origHeight=void 0,i.width=t.origWidthOption,i.height=t.origHeightOption,t.origWidthOption=void 0,t.origHeightOption=void 0,t.isOpen=!1,t.setButtonText()}))},e.prototype.open=function(){var t=this,e=t.chart,i=e.options.chart;o(e,"fullscreenOpen",null,(function(){if(i&&(t.origWidthOption=i.width,t.origHeightOption=i.height),t.origWidth=e.chartWidth,t.origHeight=e.chartHeight,t.browserProps){var o=n(e.container.ownerDocument,t.browserProps.fullscreenChange,(function(){t.isOpen?(t.isOpen=!1,t.close()):(e.setSize(null,null,!1),t.isOpen=!0,t.setButtonText())})),r=n(e,"destroy",o);t.unbindFullscreenEvent=function(){o(),r()};var s=e.renderTo[t.browserProps.requestFullscreen]();s&&s.catch((function(){alert("Full screen is not supported inside a frame.")}))}}))},e.prototype.setButtonText=function(){var e=this.chart,i=e.exportDivElements,n=e.options.exporting,o=n&&n.buttons&&n.buttons.contextButton.menuItems;e=e.options.lang,n&&n.menuItemDefinitions&&e&&e.exitFullscreen&&e.viewFullscreen&&o&&i&&(i=i[o.indexOf("viewFullscreen")])&&t.setElementHTML(i,this.isOpen?e.exitFullscreen:n.menuItemDefinitions.viewFullscreen.text||e.viewFullscreen)},e.prototype.toggle=function(){this.isOpen?this.close():this.open()},e}();return s})),e(t,"Core/HttpUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var i=t.doc,n=e.createElement,o=e.discardElement,r=e.merge,s=e.objectEach,a={ajax:function(t){var e={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},i=new XMLHttpRequest;if(!t.url)return!1;i.open((t.type||"get").toUpperCase(),t.url,!0),t.headers&&t.headers["Content-Type"]||i.setRequestHeader("Content-Type",e[t.dataType||"json"]||e.text),s(t.headers,(function(t,e){i.setRequestHeader(e,t)})),t.responseType&&(i.responseType=t.responseType),i.onreadystatechange=function(){if(4===i.readyState){if(200===i.status){if("blob"!==t.responseType){var e=i.responseText;if("json"===t.dataType)try{e=JSON.parse(e)}catch(n){if(n instanceof Error)return void(t.error&&t.error(i,n))}}return t.success&&t.success(e,i)}t.error&&t.error(i,i.responseText)}},t.data&&"string"!==typeof t.data&&(t.data=JSON.stringify(t.data)),i.send(t.data)},getJSON:function(t,e){a.ajax({url:t,success:e,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(t,e,a){var l=n("form",r({method:"post",action:t,enctype:"multipart/form-data"},a),{display:"none"},i.body);s(e,(function(t,e){n("input",{type:"hidden",name:e,value:t},void 0,l)})),l.submit(),o(l)}};return a})),e(t,"Extensions/Exporting/Exporting.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Chart/Chart.js"],t["Core/Chart/ChartNavigationComposition.js"],t["Core/Defaults.js"],t["Extensions/Exporting/ExportingDefaults.js"],t["Extensions/Exporting/ExportingSymbols.js"],t["Extensions/Exporting/Fullscreen.js"],t["Core/Globals.js"],t["Core/HttpUtilities.js"],t["Core/Utilities.js"]],(function(t,e,
2i,n,o,r,s,a,l,h){var c,d=n.defaultOptions,p=n.setOptions,u=a.doc,f=a.SVG_NS,g=a.win,m=h.addEvent,y=h.css,v=h.createElement,x=h.discardElement,b=h.extend,w=h.find,S=h.fireEvent,C=h.isObject,k=h.merge,T=h.objectEach,M=h.pick,A=h.removeEvent,P=h.uniqueKey;return function(e){function n(t){var e=this,i=e.renderer,n=k(e.options.navigation.buttonOptions,t),o=n.onclick,r=n.menuItems,s=n.symbolSize||12;if(e.btnCount||(e.btnCount=0),e.exportDivElements||(e.exportDivElements=[],e.exportSVGElements=[]),!1!==n.enabled&&n.theme){var a,l=n.theme;e.styledMode||(l.fill=M(l.fill,"#ffffff"),l.stroke=M(l.stroke,"none")),o?a=function(t){t&&t.stopPropagation(),o.call(e,t)}:r&&(a=function(t){t&&t.stopPropagation(),e.contextMenu(h.menuClassName,r,h.translateX,h.translateY,h.width,h.height,h),h.setState(2)}),n.text&&n.symbol?l.paddingLeft=M(l.paddingLeft,30):n.text||b(l,{width:n.width,height:n.height,padding:0}),e.styledMode||(l["stroke-linecap"]="round",l.fill=M(l.fill,"#ffffff"),l.stroke=M(l.stroke,"none"));var h=i.button(n.text,0,0,a,l,void 0,void 0,void 0,void 0,n.useHTML).addClass(t.className).attr({title:M(e.options.lang[n._titleKey||n.titleKey],"")});if(h.menuClassName=t.menuClassName||"highcharts-menu-"+e.btnCount++,n.symbol){var c=i.symbol(n.symbol,n.symbolX-s/2,n.symbolY-s/2,s,s,{width:s,height:s}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(h);e.styledMode||c.attr({stroke:n.symbolStroke,fill:n.symbolFill,"stroke-width":n.symbolStrokeWidth||1})}h.add(e.exportingGroup).align(b(n,{width:h.width,x:M(n.x,e.buttonOffset)}),!0,"spacingBox"),e.buttonOffset+=(h.width+n.buttonSpacing)*("right"===n.align?-1:1),e.exportSVGElements.push(h,c)}}function c(){if(this.printReverseInfo){var t=this.printReverseInfo,e=t.childNodes,i=t.origDisplay;t=t.resetParams,this.moveContainers(this.renderTo),[].forEach.call(e,(function(t,e){1===t.nodeType&&(t.style.display=i[e]||"")})),this.isPrinting=!1,t&&this.setSize.apply(this,t),delete this.printReverseInfo,V=void 0,S(this,"afterPrint")}}function E(){var t=u.body,e=this.options.exporting.printMaxWidth,i={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),S(this,"beforePrint"),e&&this.chartWidth>e&&(i.resetParams=[this.options.chart.width,void 0,!1],this.setSize(e,void 0,!1)),[].forEach.call(i.childNodes,(function(t,e){1===t.nodeType&&(i.origDisplay[e]=t.style.display,t.style.display="none")})),this.moveContainers(t),this.printReverseInfo=i}function L(t){t.renderExporting(),m(t,"redraw",t.renderExporting),m(t,"de
2stroy",t.destroyExport)}function _(e,i,n,o,r,s,a){var l=this,c=l.options.navigation,d=l.chartWidth,p=l.chartHeight,f="cache-"+e,x=Math.max(r,s),w=l[f];if(!w){l.exportContextMenu=l[f]=w=v("div",{className:e},{position:"absolute",zIndex:1e3,padding:x+"px",pointerEvents:"auto"},l.fixedDiv||l.container);var k=v("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},w);l.styledMode||y(k,b({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},c.menuStyle)),w.hideMenu=function(){y(w,{display:"none"}),a&&a.setState(0),l.openMenu=!1,y(l.renderTo,{overflow:"hidden"}),y(l.container,{overflow:"hidden"}),h.clearTimeout(w.hideTimer),S(l,"exportMenuHidden")},l.exportEvents.push(m(w,"mouseleave",(function(){w.hideTimer=g.setTimeout(w.hideMenu,500)})),m(w,"mouseenter",(function(){h.clearTimeout(w.hideTimer)})),m(u,"mouseup",(function(t){l.pointer.inClass(t.target,e)||w.hideMenu()})),m(w,"click",(function(){l.openMenu&&w.hideMenu()}))),i.forEach((function(e){if("string"===typeof e&&(e=l.options.exporting.menuItemDefinitions[e]),C(e,!0)){var i=void 0;e.separator?i=v("hr",void 0,void 0,k):("viewData"===e.textKey&&l.isDataTableVisible&&(e.textKey="hideData"),i=v("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),w.hideMenu(),e.onclick&&e.onclick.apply(l,arguments)}},void 0,k),t.setElementHTML(i,e.text||l.options.lang[e.textKey]),l.styledMode||(i.onmouseover=function(){y(this,c.menuItemHoverStyle)},i.onmouseout=function(){y(this,c.menuItemStyle)},y(i,b({cursor:"pointer"},c.menuItemStyle||{})))),l.exportDivElements.push(i)}})),l.exportDivElements.push(k,w),l.exportMenuWidth=w.offsetWidth,l.exportMenuHeight=w.offsetHeight}i={display:"block"},n+l.exportMenuWidth>d?i.right=d-n-r-x+"px":i.left=n-x+"px",o+s+l.exportMenuHeight>p&&"top"!==a.alignOptions.verticalAlign?i.bottom=p-o-x+"px":i.top=o+s-x+"px",y(w,i),y(l.renderTo,{overflow:""}),y(l.container,{overflow:""}),l.openMenu=!0,S(l,"exportMenuShown")}function O(t){var e,i=t?t.target:this,n=i.exportSVGElements,o=i.exportDivElements;t=i.exportEvents,n&&(n.forEach((function(t,o){t&&(t.onclick=t.ontouchstart=null,e="cache-"+t.menuClassName,i[e]&&delete i[e],n[o]=t.destroy())})),n.length=0),i.exportingGroup&&(i.exportingGroup.destroy(),delete i.exportingGroup),o&&(o.forEach((function(t,e){t&&(h.clearTimeout(t.hideTimer),A(t,"mouseleave"),o[e]=t.onmouseout=t.onmouseover=t.ontouchstart=t.onclick=null,x(t))})),o.length=0),t&&(t.forEach((function(t){t()})),t.length=0)}function D(t,e){e=this.getSVGForExport(t,e),t=k(this.options.exporting,t),l.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:e},t.formAttributes)}function j(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function N(){var t=this.userOptions.title&&this.userOptions.title.text,e=this.options.exporting.filename;return e?e.replace(/\//g,"-"):("string"===typeof t&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||5>e.length)&&(e="chart"),e)}function I(t){var e,i=k(this.options,t);i.plotOptions=k(this.userOptions.plotOptions,t&&t.plotOptions),i.time=k(this.userOptions.time,t&&t.time);var n=v("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},u.body),o=this.renderTo.style.width,r=this.renderTo.style.height;o=i.exporting.sourceWidth||i.chart.width||/px$/.test(o)&&parseInt(o,10)||(i.isGantt?800:600),r=i.exporting.sourceHeight||i.chart.height||/px$/.test(r)&&parseInt(r,10)||400,b(i.chart,{animation:!1,renderTo:n,forExport:!0,renderer:"SVGRenderer",width:o,height:r}),i.exporting.enabled=!1,delete i.data,i.series=[],this.series.forEach((function(t){(e=k(t.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:t.visible})).isInternal||i.series.push(e)}));var s={};this.axes.forEach((function(t){t.userOptions.internalKey||(t.userOptions.internalKey=P()),t.options.isInternal||(s[t.coll]||(s[t.coll]=!0,i[t.coll]=[]),i[t.coll].push(k(t.userOptions,{visible:t.visible})))}));var a=new this.constructor(i,this.callback);return t&&["xAxis","yAxis","series"].forEach((function(e){var i={};t[e]&&(i[e]=t[e],a.update(i))}
2)),this.axes.forEach((function(t){var e=w(a.axes,(function(e){return e.options.internalKey===t.userOptions.internalKey})),i=t.getExtremes(),n=i.userMin;i=i.userMax,e&&("undefined"!==typeof n&&n!==e.min||"undefined"!==typeof i&&i!==e.max)&&e.setExtremes(n,i,!0,!1)})),r=a.getChartHTML(),S(this,"getSVG",{chartCopy:a}),r=this.sanitizeSVG(r,i),i=null,a.destroy(),x(n),r}function R(t,e){var i=this.options.exporting;return this.getSVG(k({chart:{borderRadius:0}},i.chartOptions,e,{exporting:{sourceWidth:t&&t.sourceWidth||i.sourceWidth,sourceHeight:t&&t.sourceHeight||i.sourceHeight}}))}function B(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}function z(){var t,i=U,n=e.inlineAllowlist,o={},r=u.createElement("iframe");y(r,{width:"1px",height:"1px",visibility:"hidden"}),u.body.appendChild(r);var s=r.contentWindow&&r.contentWindow.document;s&&s.body.appendChild(s.createElementNS(f,"svg")),function e(r){var l={};if(s&&1===r.nodeType&&-1===K.indexOf(r.nodeName)){var h=g.getComputedStyle(r,null),c="svg"===r.nodeName?{}:g.getComputedStyle(r.parentNode,null);if(!o[r.nodeName]){t=s.getElementsByTagName("svg")[0];var d=s.createElementNS(r.namespaceURI,r.nodeName);t.appendChild(d);var p=g.getComputedStyle(d,null),u={};for(var f in p)"string"!==typeof p[f]||/^[0-9]+$/.test(f)||(u[f]=p[f]);o[r.nodeName]=u,"text"===r.nodeName&&delete o.text.fill,t.removeChild(d)}for(var m in h)if(a.isFirefox||a.isMS||a.isSafari||Object.hasOwnProperty.call(h,m)){f=h[m];var v=m;if(d=p=!1,n.length){for(u=n.length;u--&&!p;)p=n[u].test(v);d=!p}for("transform"===v&&"none"===f&&(d=!0),u=i.length;u--&&!d;)d=i[u].test(v)||"function"===typeof f;d||c[v]===f&&"svg"!==r.nodeName||o[r.nodeName][v]===f||(q&&-1===q.indexOf(v)?l[v]=f:f&&r.setAttribute(B(v),f))}y(r,l),"svg"===r.nodeName&&r.setAttribute("stroke-width","1px"),"text"!==r.nodeName&&[].forEach.call(r.children||r.childNodes,e)}}(this.container.querySelector("svg")),t.parentNode.removeChild(t),r.parentNode.removeChild(r)}function H(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach((function(e){t.appendChild(e)}))}function X(){var t=this;t.exporting={update:function(e,i){t.isDirtyExporting=!0,k(!0,t.options.exporting,e),M(i,!0)&&t.redraw()}},i.compose(t).navigation.addUpdate((function(e,i){t.isDirtyExporting=!0,k(!0,t.options.navigation,e),M(i,!0)&&t.redraw()}))}function W(){var t=this;t.isPrinting||(V=t,a.isSafari||t.beforePrint(),setTimeout((function(){g.focus(),g.print(),a.isSafari||setTimeout((function(){t.afterPrint()}),1e3)}),1))}function F(){var t=this,e=t.options.exporting,i=e.buttons,n=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),n&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),T(i,(function(e){t.addButton(e)})),t.isDirtyExporting=!1)}function Y(t,e){var i=t.indexOf("</svg>")+6,n=t.substr(i);return t=t.substr(0,i),e&&e.exporting&&e.exporting.allowHTML&&n&&(n='<foreignObject x="0" y="0" width="'+e.chart.width+'" height="'+e.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+n.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",t=t.replace("</svg>",n+"</svg>")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g,"\xa0").replace(/&shy;/g,"\xad"),this.ieSanitizeSVG&&(t=this.ieSanitizeSVG(t)),t}var G=[],U=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/^parentRule$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/,/^[0-9]+$/],q="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");e.inlineAllowlist=[];var V,K=["clipPath","defs","desc"];e.compose=function(t,e){r.compose(e),s.compose(t),-1===G.indexOf(t)&&(G.push(t),(e=t.prototype).afterPrint=c,e.exportChart=D,e.
2inlineStyles=z,e.print=W,e.sanitizeSVG=Y,e.getChartHTML=j,e.getSVG=I,e.getSVGForExport=R,e.getFilename=N,e.moveContainers=H,e.beforePrint=E,e.contextMenu=_,e.addButton=n,e.destroyExport=O,e.renderExporting=F,e.callbacks.push(L),m(t,"init",X),a.isSafari&&a.win.matchMedia("print").addListener((function(t){V&&(t.matches?V.beforePrint():V.afterPrint())}))),-1===G.indexOf(p)&&(G.push(p),d.exporting=k(o.exporting,d.exporting),d.lang=k(o.lang,d.lang),d.navigation=k(o.navigation,d.navigation))}}(c||(c={})),c})),e(t,"masters/modules/exporting.src.js",[t["Core/Globals.js"],t["Extensions/Exporting/Exporting.js"],t["Core/HttpUtilities.js"]],(function(t,e,i){t.HttpUtilities=i,t.ajax=i.ajax,t.getJSON=i.getJSON,t.post=i.post,e.compose(t.Chart,t.Renderer)}))},t.exports?(r.default=r,t.exports=r):(n=[i(1)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))},24:function(t,e,i){var n,o,r;r=function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o){function r(t,e,i,n,o){var r=!0,s=i[0],h=i[1],c=Math.sqrt(Math.pow(t-s,2)+Math.pow(e-h,2));return l(n)&&l(o)&&(t=Math.atan2(a(e-h,8),a(t-s,8)),o!==n&&(r=n>o?t>=n&&t<=Math.PI||t<=o&&t>=-Math.PI:t>=n&&t<=a(o,8))),c<=Math.ceil(i[2]/2)&&r}var s=o.addEvent,a=o.correctFloat,l=o.defined,h=o.extend,c=o.merge,d=o.pick,p=o.splat;return t.prototype.collectionsWithUpdate.push("pane"),o=function(){function t(t,e){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(t,e)}return t.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},t.prototype.setOptions=function(t){this.options=c(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},t.prototype.render=function(){var t=this.options,e=this.options.background,i=this.chart.renderer;if(this.group||(this.group=i.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=p(e),t=Math.max(e.length,this.background.length||0),i=0;i<t;i++)e[i]&&this.axis?this.renderBackground(c(this.defaultBackgroundOptions,e[i]),i):this.background[i]&&(this.background[i]=this.background[i].destroy(),this.background.splice(i,1))},t.prototype.renderBackground=function(t,e){var i="animate",n={class:"highcharts-pane "+(t.className||"")};this.chart.styledMode||h(n,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),i="attr"),this.background[e][i]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(n)},t.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=e.getCenter.call(this)},t.prototype.update=function(t,e){c(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t){t.pane===this&&(t.pane=null,t.update({},e))}),this)},t}(),t.prototype.getHoverPane=function(t){var e,i=this;return t&&i.pane.forEach((function(n){r(t.chartX-i.plotLeft,t.chartY-i.plotTop,n.center)&&(e=n)})),e},s(t,"afterIsInsidePlot",(function(t){if(this.polar){var e=t.x-(t.options.paneCoordinates?this.plotLeft:0),i=t.y-(t.options.paneCoordinates?this.plotTop:0);if(t.options.inverted){var n=[i,e];e=n[0],i=n[1]}t.isInsidePlot=this.pane.some((function(t){return r(e,i,t.center,t.axis&&t.axis.normalizedStartAngleRad,t.axis&&t.axis.normalizedEndAngleRad)}))}})),s(n,"beforeGetHoverData",(function(t){var e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(i){return i.visible&&!(!t.shared&&i.directTouch)&&d(i.options.enableMouseTracking,!0)&&(!e.hoverPane||i.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0})),s(n,"afterGetHoverData",(function(t){var e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!r(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)})),i.Pane=o,i.Pane})),e(t,"Series/AreaRange/AreaRangePoint.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])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=(t=t.seriesTypes.area.prototype).pointClass.prototype,o=e.defined,r=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;
2return e.high=void 0,e.low=void 0,e.options=void 0,e.plotX=void 0,e.series=void 0,e}return i(e,t),e.prototype.setState=function(){var t=this.state,e=this.series,i=e.chart.polar;o(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),o(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.stateMarkerGraphic&&(e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic),this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,i&&r(this.plotHighX)&&(this.plotX=this.plotHighX),n.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],i&&r(this.plotLowX)&&(this.plotX=this.plotLowX),e.stateMarkerGraphic&&(e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0),n.setState.apply(this,arguments)},e.prototype.haloPath=function(){var t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&r(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e=n.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&r(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(n.haloPath.apply(this,arguments))),e},e.prototype.isValid=function(){return r(this.low)&&r(this.high)},e}(t.pointClass)})),e(t,"Series/AreaRange/AreaRangeSeries.js",[t["Series/AreaRange/AreaRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();e=e.noop;var r=i.seriesTypes,s=r.area,a=r.area.prototype,l=r.column.prototype;r=n.addEvent;var h=n.defined,c=n.extend,d=n.isArray,p=n.isNumber,u=n.pick,f=n.merge,g={lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};return n=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.lowerStateMarkerGraphic=void 0,e.xAxis=void 0,e}return o(e,t),e.prototype.toYData=function(t){return[t.low,t.high]},e.prototype.highToXY=function(t){var e=this.chart,i=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-(t.plotHigh||0));t.plotHighX=i.x-e.plotLeft,t.plotHigh=i.y-e.plotTop,t.plotLowX=t.plotX},e.prototype.getGraphPath=function(t){var e,i=[],n=[],o=a.getGraphPath,r=this.options,s=this.chart.polar,l=s&&!1!==r.connectEnds,h=r.connectNulls,c=r.step;for(e=(t=t||this.points).length;e--;){var d=t[e],p=s?{plotX:d.rectPlotX,plotY:d.yBottom,doCurve:!1}:{plotX:d.plotX,plotY:d.plotY,doCurve:!1};d.isNull||l||h||t[e+1]&&!t[e+1].isNull||n.push(p);var f={polarPlotY:d.polarPlotY,rectPlotX:d.rectPlotX,yBottom:d.yBottom,plotX:u(d.plotHighX,d.plotX),plotY:d.plotHigh,isNull:d.isNull};n.push(f),i.push(f),d.isNull||l||h||t[e-1]&&!t[e-1].isNull||n.push(p)}return t=o.call(this,t),c&&(!0===c&&(c="left"),r.step={left:"right",center:"center",right:"left"}[c]),i=o.call(this,i),n=o.call(this,n),r.step=c,r=[].concat(t,i),!this.chart.polar&&n[0]&&"M"===n[0][0]&&(n[0]=["L",n[0][1],n[0][2]]),this.graphPath=r,this.areaPath=t.concat(n),r.isArea=!0,r.xMap=t.xMap,this.areaPath.xMap=t.xMap,r},e.prototype.drawDataLabels=function(){var t,e,i=this.points,n=i.length,o=[],r=this.options.dataLabels,s=this.chart.inverted;if(r){if(d(r))var l=r[0]||{enabled:!1},h=r[1]||{enabled:!1};else(l=c({},r)).x=r.xHigh,l.y=r.yHigh,(h=c({},r)).x=r.xLow,h.y=r.yLow;if(l.enabled||this._hasPointLabels){for(t=n;t--;)if(e=i[t]){var p=e.plotHigh;p=void 0===p?0:p;var u=e.plotLow;u=void 0===u?0:u,u=l.inside?p<u:p>u,e.y=e.high,e._plotY=e.plotY,e.plotY=p,o[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=u,s?l.align||(l.align=u?"right":"left"):l.verticalAlign||(l.verticalAlign=u?"top":"bottom")}for(this.options.dataLabels=l,a.drawDataLabels&&a.drawDataLabels.apply(this,arguments),t=n;t--;)(e=i[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=o[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(h.enabled||this._hasPointLabels){for(t=n;t--;)(e=i[t])&&(p=void 0===(o=e.plotHigh)?0:o,u=void 0===(o=e.plotLow)?0:o,u=h.inside?p<u:p>
2u,e.below=!u,s?h.align||(h.align=u?"left":"right"):h.verticalAlign||(h.verticalAlign=u?"bottom":"top"));this.options.dataLabels=h,a.drawDataLabels&&a.drawDataLabels.apply(this,arguments)}if(l.enabled)for(t=n;t--;)(e=i[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter((function(t){return!!t})));this.options.dataLabels=r}},e.prototype.alignDataLabel=function(){l.alignDataLabel.apply(this,arguments)},e.prototype.drawPoints=function(){var t,e=this.points.length;for(a.drawPoints.apply(this,arguments),t=0;t<e;){var i=this.points[t];i.graphics=i.graphics||[],i.origProps={plotY:i.plotY,plotX:i.plotX,isInside:i.isInside,negative:i.negative,zone:i.zone,y:i.y},i.graphic&&(i.graphics[0]=i.graphic),i.graphic=i.graphics[1],i.plotY=i.plotHigh,h(i.plotHighX)&&(i.plotX=i.plotHighX),i.y=u(i.high,i.origProps.y),i.negative=i.y<(this.options.threshold||0),this.zones.length&&(i.zone=i.getZone()),this.chart.polar||(i.isInside=i.isTopInside="undefined"!==typeof i.plotY&&0<=i.plotY&&i.plotY<=this.yAxis.len&&0<=i.plotX&&i.plotX<=this.xAxis.len),t++}for(a.drawPoints.apply(this,arguments),t=0;t<e;)(i=this.points[t]).graphics=i.graphics||[],i.graphic&&(i.graphics[1]=i.graphic),i.graphic=i.graphics[0],i.origProps&&(c(i,i.origProps),delete i.origProps),t++},e.defaultOptions=f(s.defaultOptions,g),e}(s),r(n,"afterTranslate",(function(){var t=this;"low,high"===this.pointArrayMap.join(",")&&this.points.forEach((function(e){var i=e.high,n=e.plotY;e.isNull?e.plotY=void 0:(e.plotLow=n,e.plotHigh=p(i)?t.yAxis.translate(t.dataModify?t.dataModify.modifyValue(i):i,!1,!0,void 0,!0):void 0,t.dataModify&&(e.yBottom=e.plotHigh))}))}),{order:0}),r(n,"afterTranslate",(function(){var t=this;this.chart.polar&&this.points.forEach((function(e){t.highToXY(e),e.plotLow=e.plotY,e.tooltipPos=[((e.plotHighX||0)+(e.plotLowX||0))/2,((e.plotHigh||0)+(e.plotLow||0))/2]}))}),{order:3}),c(n.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:t,pointValKey:"low",setStackedPoints:e}),i.registerSeriesType("arearange",n),n})),e(t,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[t["Series/AreaRange/AreaRangeSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=e.seriesTypes.spline.prototype,r=i.merge;i=i.extend;var s=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.data=void 0,t.points=void 0,t}return n(i,e),i.defaultOptions=r(t.defaultOptions),i}(t);return i(s.prototype,{getPointSpline:o.getPointSpline}),e.registerSeriesType("areasplinerange",s),s})),e(t,"Series/BoxPlot/BoxPlotSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();e=e.noop;var r=n.extend,s=n.merge,a=n.pick;return n=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.pointAttribs=function(){return{}},i.prototype.translate=function(){var t=this.yAxis,i=this.pointArrayMap;e.prototype.translate.apply(this),this.points.forEach((function(e){i.forEach((function(i){null!==e[i]&&(e[i+"Plot"]=t.translate(e[i],0,1,0,1))})),e.plotHigh=e.highPlot}))},i.prototype.drawPoints=function(){var t,e,i,n,o,r,s,l,h,c,d,p=this,u=p.options,f=p.chart,g=f.renderer,m=0,y=!1!==p.doQuartiles,v=p.options.whiskerLength;p.points.forEach((function(x){var b=x.graphic,w=b?"animate":"attr",S=x.shapeArgs,C={},k={},T={},M={},A=x.color||p.color;"undefined"!==typeof x.plotY&&(s=Math.round(S.width),l=Math.floor(S.x),h=l+s,c=Math.round(s/2),t=Math.floor(y?x.q1Plot:
2x.lowPlot),e=Math.floor(y?x.q3Plot:x.lowPlot),i=Math.floor(x.highPlot),n=Math.floor(x.lowPlot),b||(x.graphic=b=g.g("point").add(p.group),x.stem=g.path().addClass("highcharts-boxplot-stem").add(b),v&&(x.whiskers=g.path().addClass("highcharts-boxplot-whisker").add(b)),y&&(x.box=g.path(void 0).addClass("highcharts-boxplot-box").add(b)),x.medianShape=g.path(void 0).addClass("highcharts-boxplot-median").add(b)),f.styledMode||(k.stroke=x.stemColor||u.stemColor||A,k["stroke-width"]=a(x.stemWidth,u.stemWidth,u.lineWidth),k.dashstyle=x.stemDashStyle||u.stemDashStyle||u.dashStyle,x.stem.attr(k),v&&(T.stroke=x.whiskerColor||u.whiskerColor||A,T["stroke-width"]=a(x.whiskerWidth,u.whiskerWidth,u.lineWidth),T.dashstyle=x.whiskerDashStyle||u.whiskerDashStyle||u.dashStyle,x.whiskers.attr(T)),y&&(C.fill=x.fillColor||u.fillColor||A,C.stroke=u.lineColor||A,C["stroke-width"]=u.lineWidth||0,C.dashstyle=x.boxDashStyle||u.boxDashStyle||u.dashStyle,x.box.attr(C)),M.stroke=x.medianColor||u.medianColor||A,M["stroke-width"]=a(x.medianWidth,u.medianWidth,u.lineWidth),M.dashstyle=x.medianDashStyle||u.medianDashStyle||u.dashStyle,x.medianShape.attr(M)),r=x.stem.strokeWidth()%2/2,b=[["M",m=l+c+r,e],["L",m,i],["M",m,t],["L",m,n]],x.stem[w]({d:b}),y&&(r=x.box.strokeWidth()%2/2,t=Math.floor(t)+r,e=Math.floor(e)+r,b=[["M",l+=r,e],["L",l,t],["L",h+=r,t],["L",h,e],["L",l,e],["Z"]],x.box[w]({d:b})),v&&(r=x.whiskers.strokeWidth()%2/2,i+=r,n+=r,d=/%$/.test(v)?c*parseFloat(v)/100:v/2,b=[["M",m-d,i],["L",m+d,i],["M",m-d,n],["L",m+d,n]],x.whiskers[w]({d:b})),o=Math.round(x.medianPlot),r=x.medianShape.strokeWidth()%2/2,b=[["M",l,o+=r],["L",h,o]],x.medianShape[w]({d:b}))}))},i.prototype.toYData=function(t){return[t.low,t.q1,t.median,t.q3,t.high]},i.defaultOptions=s(t.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),i}(t),r(n.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:e,setStackedPoints:e}),i.registerSeriesType("boxplot",n),n})),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}})),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,i,n){var o=t.parse,r=i.noop,s=n.arrayMax,a=n.arrayMin,l=n.isNumber,h=n.merge,c=n.pick,d=n.stableSort;return t=function(){function t(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=r,this.init(t,e)}return t.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},t.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},t.prototype.drawLegendSymbol=function(t){var e=this.chart,i=c(t.options.itemDistance,20),n=this.legendItem||{},o=this.options,r=o.ranges,s=o.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(o.labels.style.fontSize),r&&r.length&&l(r[0].value)?(d(r,(function(t,e){return e.value-t.value})),this.ranges=r,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(r=this.ranges[0].radius),s=0<(s=s-r+t.width)?s:0,this.maxLabel=t,this.movementX="left"===o.labels.align?s:0,n.labelWidth=e+s+i,n.labelHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,i=this.chart.series[e.seriesIndex],n=this.legend.baseline,r={zIndex:e.zIndex,"stroke-width":e.borderWidth},s={zIndex:e.zIndex,"stroke-width":e.connectorWidth},a={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},l=i.options.marker.fillOpacity,d=this.chart.styledMode;t.forEach((function(p,u){d||(r.stroke=c(p.borderColor,e.borderColor,i.color),r.fill=c(p.color,e.color,1!==l?o(i.color).setOpacity(l).get("rgba"):i.color),s.stroke=c(p.connectorColor,e.connectorColor,i.color)),t[u].radius=this.getRangeRadius(p.value),t[u]=h(t[u],{center:t[0].radius-t[u].radius+n}),d||h(!0,t[u],{bubbleAttribs:h(r),connectorAttribs:h(s),labelAttribs:a})}),this)},t.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},t.prototype.render=function(){var t=this.legendItem||{},e=this.chart.renderer,i=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item"),t.symbol.translateX=0,e=t.symbol.translateY=0;for(var n=this.ranges;e<n.length;e++){var o=n[e];o.value>=i&&this.renderRange(o)}t.symbol.add(t.label),t.label.add(t.group),this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.options,i=e.labels,n=this.chart,o=n.series[e.seriesIndex],r=n.renderer,s=this.symbols;n=s.labels;var a=t.center,l=Math.abs(t.radius),h=e.connectorDistance||0,c=i.align,d=e.connectorWidth,p=this.ranges[0].radius||0,u=a-l-e.borderWidth/2+d/2,f=this.fontMetrics;f=f.f/2-(f.h-f.f)/2;var g=r.styledMode;h=this.legend.options.rtl||"left"===c?-h:h,"center"===c&&(h=0,e.connectorDistance=0,t.labelAttribs.align="center"),c=u+e.labels.y;var m=p+h+e.labels.x;s.bubbleItems.push(r.circle(p,a+((u%1?1:.5)-(d%2?0:.5)),l).attr(g?{}:t.bubbleAttribs).addClass((g?"highcharts-color-"+o.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendItem.symbol)),s.connectors.push(r.path(r.crispLine([["M",p,u],["L",p+h,u]],e.connectorWidth)).attr(g?{}:t.connectorAttribs).addClass((g?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendItem.symbol)),t=r.text(this.formatLabel(t),m,c+f).attr(g?{}:t.labelAttribs).css(g?{}:i.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendItem.symbol),n.push(t),t.placed=!0,t.alignAttr={x:m,y:c+f}},t.prototype.getMaxLabelSize=function(){var t,e;
2return this.symbols.labels.forEach((function(i){e=i.getBBox(!0),t=t?e.width>t.width?e:t:e})),t||{}},t.prototype.formatLabel=function(t){var i=this.options,n=i.labels.formatter;i=i.labels.format;var o=this.chart.numberFormatter;return i?e.format(i,t):n?n.call(t):o(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(t.hideOverlappingLabels(e.labels),e.labels.forEach((function(t,i){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[i].show():e.connectors[i].hide()})))},t.prototype.getRanges=function(){var t,e=this.legend.bubbleLegend,i=e.options.ranges,n=Number.MAX_VALUE,o=-Number.MAX_VALUE;e.chart.series.forEach((function(e){e.isBubble&&!e.ignoreSeries&&(t=e.zData.filter(l)).length&&(n=c(e.options.zMin,Math.min(n,Math.max(a(t),!1===e.options.displayNegative?e.options.zThreshold:-Number.MAX_VALUE))),o=c(e.options.zMax,Math.max(o,s(t))))}));var r=n===o?[{value:o}]:[{value:n},{value:(n+o)/2},{value:o,autoRanges:!0}];return i.length&&i[0].radius&&r.reverse(),r.forEach((function(t,e){i&&i[e]&&(r[e]=h(i[e],t))})),r},t.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,i=t.legend.options,n=i.floating,o=(i="horizontal"===i.layout)?t.legend.lastLineHeight:0,r=t.plotSizeX,s=t.plotSizeY,a=t.series[this.options.seriesIndex],l=a.getPxExtremes();t=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var h=Math.min(s,r);return a=a.options.maxSize,n||!/%$/.test(a)?e=l:(a=parseFloat(a),e=(h+o-e.h/2)*a/100/(a/100+1),(i&&s-e>=r||!i&&r-e>=s)&&(e=l)),[t,Math.ceil(e)]},t.prototype.updateRanges=function(t,e){var i=this.legend.options.bubbleLegend;i.minSize=t,i.maxSize=e,i.ranges=this.getRanges()},t.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())},t}(),t})),e(t,"Series/Bubble/BubbleLegendComposition.js",[t["Series/Bubble/BubbleLegendDefaults.js"],t["Series/Bubble/BubbleLegendItem.js"],t["Core/Defaults.js"],t["Core/Utilities.js"]],(function(t,e,i,n){function o(t,e,i){var n,o=this.legend,a=0<=r(this);if(o&&o.options.enabled&&o.bubbleLegend&&o.options.bubbleLegend.autoRanges&&a){var l=o.bubbleLegend.options;a=o.bubbleLegend.predictBubbleSizes(),o.bubbleLegend.updateRanges(a[0],a[1]),l.placed||(o.group.placed=!1,o.allItems.forEach((function(t){(n=t.legendItem||{}).group&&(n.group.translateY=null)}))),o.render(),this.getMargins(),this.axes.forEach((function(t){t.visible&&t.render(),l.placed||(t.setScale(),t.updateNames(),p(t.ticks,(function(t){t.isNew=!0,t.isNewLabel=!0})))})),l.placed=!0,this.getMargins(),t.call(this,e,i),o.bubbleLegend.correctSizes(),h(o,s(o))}else t.call(this,e,i),o&&o.options.enabled&&o.bubbleLegend&&(o.render(),h(o,s(o)))}function r(t){t=t.series;for(var e=0;e<t.length;){if(t[e]&&t[e].isBubble&&t[e].visible&&t[e].zData.length)return e;e++}return-1}function s(t){var e,i=[],n=(t=t.allItems).length,o=0;for(e=0;e<n;e++){var r=t[e].legendItem||{},s=(t[e+1]||{}).legendItem||{};if(r.labelHeight&&(t[e].itemHeight=r.labelHeight),t[e]===t[n-1]||r.y!==s.y){for(i.push({height:0}),r=i[i.length-1];o<=e;o++)t[o].itemHeight>r.height&&(r.height=t[o].itemHeight);r.step=e}}return i}function a(t){var i=this.bubbleLegend,n=this.options,o=n.bubbleLegend,s=r(this.chart);i&&i.ranges&&i.ranges.length&&(o.ranges.length&&(o.autoRanges=!!o.ranges[0].autoRanges),this.destroyItem(i)),0<=s&&n.enabled&&o.enabled&&(o.seriesIndex=s,this.bubbleLegend=new e(o,this),this.bubbleLegend.addToLegend(t.allItems))}function l(){var t=this.chart,e=this.visible,i=this.chart.legend;i&&i.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=r(t),i.bubbleLegend.visible!==t&&(i.update({bubbleLegend:{enabled:t}}),i.bubbleLegend.visible=t),this.visible=e)}function h(t,e){var i,n,o,r,s=t.options.rtl,a=0;t.allItems.forEach((function(t,l){(r=t.legendItem||{}).group&&(i=r.group.translateX||0,n=r.y||0,((o=t.movementX)||s&&t.ranges)&&(o=s?i-t.options.maxSize/2:i+o,r.group.attr({translateX:o})),l>e[a].step&&a++,r.group.attr({translateY:Math.round(n+e[a].height/2)}),r.y=n+e[a].height/2)}))}var c=i.setOptions,d=n.addEvent,p=n.objectEach,u=n.wrap,f=[];return{compose:function(e,i,n){-1===f.indexOf(e)&&(f.push(e),c({legend:{bubbleLegend:t}}),u(e.prototype,"drawChartBox",o)),-1===f.indexOf(i)&&(f.push(i),d(i,"afterGetAllItems",a)),-1===f.indexOf(n)&&(f.push(n),d(n,"legendItemClick",l))}}})),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,
2i){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();return i=i.extend,e=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return n(i,e),i.prototype.haloPath=function(e){return t.prototype.haloPath.call(this,0===e?0:(this.marker&&this.marker.radius||0)+e)},i}(e.seriesTypes.scatter.prototype.pointClass),i(e.prototype,{ttBelow:!1}),e})),e(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o,r){function s(){var t,e=this,i=this.len,n=this.chart,o=this.isXAxis,r=o?"xData":"yData",s=this.min,a=this.max-s,l=0,h=i,c=i/a;this.series.forEach((function(i){if(i.bubblePadding&&(i.visible||!n.options.chart.ignoreHiddenSeries)){t=e.allowZoomOutside=!0;var d=i[r];if(o&&((i.onPoint||i).getRadii(0,0,i),i.onPoint&&(i.radii=i.onPoint.radii)),0<a)for(var p=d.length;p--;)if(m(d[p])&&e.dataMin<=d[p]&&d[p]<=e.max){var u=i.radii&&i.radii[p]||0;l=Math.min((d[p]-s)*c-u,l),h=Math.max((d[p]-s)*c+u,h)}}})),t&&0<a&&!this.logarithmic&&(h-=i,c*=(i+Math.max(0,l)-Math.min(h,i))/i,[["min","userMin",l],["max","userMax",h]].forEach((function(t){"undefined"===typeof v(e.options[t[0]],e[t[1]])&&(e[t[0]]+=t[2]/c)})))}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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),l=i.parse;i=n.noop;var h=o.series,c=o.seriesTypes;n=c.column.prototype;var d=c.scatter;c=r.addEvent;var p=r.arrayMax,u=r.arrayMin,f=r.clamp,g=r.extend,m=r.isNumber,y=r.merge,v=r.pick,x=[];return r=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.maxPxSize=void 0,t.minPxSize=void 0,t.options=void 0,t.points=void 0,t.radii=void 0,t.yData=void 0,t.zData=void 0,t}return a(i,e),i.compose=function(e,i,n,o){t.compose(i,n,o),-1===x.indexOf(e)&&(x.push(e),e.prototype.beforePadding=s)},i.prototype.animate=function(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t){var e=t.graphic;e&&e.width&&(this.hasRendered||e.attr({x:t.plotX,y:t.plotY,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))}),this)},i.prototype.getRadii=function(){var t=this,e=this.zData,i=this.yData,n=[],o=this.chart.bubbleZExtremes,r=this.getPxExtremes(),s=r.minPxSize,a=r.maxPxSize;if(!o){var l,h=Number.MAX_VALUE,c=-Number.MAX_VALUE;this.chart.series.forEach((function(e){e.bubblePadding&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&(e=(e.onPoint||e).getZExtremes())&&(h=Math.min(h||e.zMin,e.zMin),c=Math.max(c||e.zMax,e.zMax),l=!0)})),l?(o={zMin:h,zMax:c},this.chart.bubbleZExtremes=o):o={zMin:0,zMax:0}}var d=0;for(r=e.length;d<r;d++){var p=e[d];n.push(this.getRadius(o.zMin,o.zMax,s,a,p,i&&i[d]))}this.radii=n},i.prototype.getRadius=function(t,e,i,n,o,r){var s=this.options,a="width"!==s.sizeBy,l=s.zThreshold,h=e-t,c=.5;if(null===r||null===o)return null;if(m(o)){if(s.sizeByAbsoluteValue&&(o=Math.abs(o-l),h=Math.max(e-l,Math.abs(t-l)),t=0),o<t)return i/2-1;0<h&&(c=(o-t)/h)}return a&&0<=c&&(c=Math.sqrt(c)),Math.ceil(i+c*(n-i))/2},i.prototype.hasData=function(){return!!this.processedXData.length},i.prototype.pointAttribs=function(t,e){var i=this.options.marker.fillOpacity;return t=h.prototype.pointAttribs.call(this,t,e),1!==i&&(t.fill=l(t.fill).setOpacity(i).get("rgba")),t},i.prototype.translate=function(){e.prototype.translate.call(this),this.getRadii(),this.translateBubble()},i.prototype.translateBubble=function(){for(var t=this.data,e=this.radii,i=this.getPxExtremes().minPxSize,n=t.length;n--;){var o=t[n],r=e?e[n]:0;m(r)&&r>=i/2?(o.marker=g(o.marker,{radius:r,width:2*r,height:2*r}
2),o.dlBox={x:o.plotX-r,y:o.plotY-r,width:2*r,height:2*r}):(o.shapeArgs=o.dlBox=void 0,o.plotY=0,o.marker={width:0,height:0})}},i.prototype.getPxExtremes=function(){var t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=function(e){if("string"===typeof e){var i=/%$/.test(e);e=parseInt(e,10)}return i?t*e/100:e},i=e(v(this.options.minSize,8));return{minPxSize:i,maxPxSize:e=Math.max(e(v(this.options.maxSize,"20%")),i)}},i.prototype.getZExtremes=function(){var t=this.options,e=(this.zData||[]).filter(m);if(e.length){var i=v(t.zMin,f(u(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(t=v(t.zMax,p(e)),m(i)&&m(t))return{zMin:i,zMax:t}}},i.defaultOptions=y(d.defaultOptions,{dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.z;return m(e)?t(e,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),i}(d),g(r.prototype,{alignDataLabel:n.alignDataLabel,applyZones:i,bubblePadding:!0,buildKDTree:i,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:e,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),c(r,"updatedData",(function(t){delete t.target.chart.bubbleZExtremes})),c(r,"remove",(function(t){delete t.target.chart.bubbleZExtremes})),o.registerSeriesType("bubble",r),r})),e(t,"Series/ColumnRange/ColumnRangePoint.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])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=t.seriesTypes;t=n.column.prototype.pointClass.prototype;var o=e.extend,r=e.isNumber;return e=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 r(this.low)},e}(n.arearange.prototype.pointClass),o(e.prototype,{setState:t.setState}),e})),e(t,"Series/ColumnRange/ColumnRangeSeries.js",[t["Series/ColumnRange/ColumnRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();e=e.noop;var r=i.seriesTypes,s=r.arearange,a=r.column,l=r.column.prototype,h=n.clamp;r=n.extend;var c=n.isNumber,d=n.merge,p=n.pick,u={pointRange:null,marker:null,states:{hover:{halo:!1}}};return n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.setOptions=function(){return d(!0,arguments[0],{stacking:void 0}),s.prototype.setOptions.apply(this,arguments)},e.prototype.translate=function(){var t,e,i,n,o=this,r=this.yAxis,s=this.xAxis,a=s.startAngleRad,d=this.chart,u=this.xAxis.isRadial,f=Math.max(d.chartWidth,d.chartHeight)+999;l.translate.apply(this),this.points.forEach((function(l){var g=l.shapeArgs||{},m=o.options.minPointLength,y=l.plotY,v=r.translate(l.high,0,1,0,1);c(v)&&c(y)&&(l.plotHigh=h(v,-f,f),l.plotLow=h(y,-f,f),n=l.plotHigh,t=p(l.rectPlotY,l.plotY)-l.plotHigh,Math.abs(t)<m?(t+=e=m-t,n-=e/2):0>t&&(n-=t*=-1),u&&o.polar?(i=l.barX+a,l.shapeType="arc",l.shapeArgs=o.polar.arc(n+t,n,i,i+l.pointWidth)):(g.height=t,g.y=n,m=void 0===(m=g.x)?0:m,g=void 0===(g=g.width)?0:g,l.tooltipPos=d.inverted?[r.len+r.pos-d.plotLeft-n-t/2,s.len+s.pos-d.plotTop-m-g/2,t]:[s.left-d.plotLeft+m+g/2,r.pos-d.plotTop+n+t/2,t]))}))},e.prototype.pointAttribs=function(){return l.pointAttribs.apply(this,arguments)},e.prototype.translate3dPoints=function(){return l.translate3dPoints.apply(this,arguments)},e.prototype.translate3dShapes=function(){return l.translate3dShapes.apply(this,arguments)},e.defaultOptions=d(a.defaultOptions,s.defaultOptions,u),e}(s),r(n.prototype,{directTouch:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:l.adjustForMissingColumns,animate:l.animate,crispCol:l.crispCol,drawGraph:e,drawPoints:l.drawPoints,getSymbol:e,drawTracker:l.drawTracker,getColumnMetrics:l.getColumnMetrics}),i.registerSeriesType("columnrange",n),n})),e(t,"Series/ColumnPyramid/ColumnPyramidSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,
2i){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.prototype,r=i.clamp,s=i.merge,a=i.pick;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 n(i,e),i.prototype.translate=function(){var t=this,e=t.chart,i=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=a(i.borderWidth,n?0:1);var s=t.yAxis,l=i.threshold,h=t.translatedThreshold=s.getThreshold(l),c=a(i.minPointLength,5),d=t.getColumnMetrics(),p=d.width,u=t.barW=Math.max(p,1+2*n),f=t.pointXOffset=d.offset;e.inverted&&(h-=.5),i.pointPadding&&(u=Math.ceil(u)),o.translate.apply(t),t.points.forEach((function(n){var o=a(n.yBottom,h),d=999+Math.abs(o),g=r(n.plotY,-d,s.len+d);d=n.plotX+f;var m,y=u/2,v=Math.min(g,o);o=Math.max(g,o)-v,n.barX=d,n.pointWidth=p,n.tooltipPos=e.inverted?[s.len+s.pos-e.plotLeft-g,t.xAxis.len-d-y,o]:[d+y,g+s.pos-e.plotTop,o],g=l+(n.total||n.y),"percent"===i.stacking&&(g=l+(0>n.y)?-100:100),g=s.toPixels(g,!0);var x=(m=e.plotHeight-g-(e.plotHeight-h))?y*(v-g)/m:0,b=m?y*(v+o-g)/m:0;m=d-x+y,x=d+x+y;var w=d+b+y;b=d-b+y;var S=v-c,C=v+o;0>n.y&&(S=v,C=v+o+c),e.inverted&&(b=y*(g-((w=s.width-v)-o))/(m=g-(s.width-h)),x=(m=d+y+(x=y*(g-w)/m))-2*x,w=d-b+y,b=d+b+y,S=v,C=v+o-c,0>n.y&&(C=v+o+c)),n.shapeType="path",n.shapeArgs={x:m,y:S,width:x-m,height:o,d:[["M",m,S],["L",x,S],["L",w,C],["L",b,C],["Z"]]}}))},i.defaultOptions=s(t.defaultOptions,{}),i}(t),e.registerSeriesType("columnpyramid",i),i})),e(t,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],(function(){return{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}})),e(t,"Series/ErrorBar/ErrorBarSeries.js",[t["Series/BoxPlot/BoxPlotSeries.js"],t["Series/Column/ColumnSeries.js"],t["Series/ErrorBar/ErrorBarSeriesDefaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n,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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=n.seriesTypes.arearange,a=o.addEvent,l=o.merge;o=o.extend;var h=function(n){function o(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(o,n),o.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||e.prototype.getColumnMetrics.call(this)},o.prototype.drawDataLabels=function(){var t=this.pointValKey;s&&(s.prototype.drawDataLabels.call(this),this.data.forEach((function(e){e.y=e[t]})))},o.prototype.toYData=function(t){return[t.low,t.high]},o.defaultOptions=l(t.defaultOptions,i),o}(t);return a(h,"afterTranslate",(function(){this.points.forEach((function(t){t.plotLow=t.plotY}))}),{order:0}),o(h.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),n.registerSeriesType("errorbar",h),h})),e(t,"Series/Gauge/GaugePoint.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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();return function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e.shapeArgs=void 0,e}return e(i,t),i.prototype.setState=function(t){this.state=t},i}(t.series.prototype.pointClass)})),e(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,
2i,n){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();e=e.noop;var r=i.series,s=i.seriesTypes.column,a=n.clamp,l=n.isNumber,h=n.extend,c=n.merge,d=n.pick,p=n.pInt;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e.yAxis=void 0,e}return o(e,t),e.prototype.translate=function(){var t=this.yAxis,e=this.options,i=t.center;this.generatePoints(),this.points.forEach((function(n){var o=c(e.dial,n.dial),r=p(o.radius)*i[2]/200,s=p(o.baseLength)*r/100,h=p(o.rearLength)*r/100,d=o.baseWidth,u=o.topWidth,f=e.overshoot,g=t.startAngleRad+t.translate(n.y,void 0,void 0,void 0,!0);(l(f)||!1===e.wrap)&&(f=l(f)?f/180*Math.PI:0,g=a(g,t.startAngleRad-f,t.endAngleRad+f)),g=180*g/Math.PI,n.shapeType="path",n.shapeArgs={d:o.path||[["M",-h,-d/2],["L",s,-d/2],["L",r,-u/2],["L",r,u/2],["L",s,d/2],["L",-h,d/2],["Z"]],translateX:i[0],translateY:i[1],rotation:g},n.plotX=i[0],n.plotY=i[1]}))},e.prototype.drawPoints=function(){var t=this,e=t.chart,i=t.yAxis.center,n=t.pivot,o=t.options,r=o.pivot,s=e.renderer;t.points.forEach((function(i){var n=i.graphic,r=i.shapeArgs,a=r.d,l=c(o.dial,i.dial);n?(n.animate(r),r.d=a):i.graphic=s[i.shapeType](r).attr({rotation:r.rotation,zIndex:1}).addClass("highcharts-dial").add(t.group),e.styledMode||i.graphic[n?"animate":"attr"]({stroke:l.borderColor,"stroke-width":l.borderWidth,fill:l.backgroundColor})})),n?n.animate({translateX:i[0],translateY:i[1]}):r&&(t.pivot=s.circle(0,0,r.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(i[0],i[1]).add(t.group),e.styledMode||t.pivot.attr({fill:r.backgroundColor,stroke:r.borderColor,"stroke-width":r.borderWidth}))},e.prototype.animate=function(t){var e=this;t||e.points.forEach((function(t){var i=t.graphic;i&&(i.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),i.animate({rotation:t.shapeArgs.rotation},e.options.animation))}))},e.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),r.prototype.render.call(this),this.group.clip(this.chart.clipRect)},e.prototype.setData=function(t,e){r.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),d(e,!0)&&this.chart.redraw()},e.prototype.hasData=function(){return!!this.points.length},e.defaultOptions=c(r.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1}),e}(r),h(n.prototype,{angular:!0,directTouch:!0,drawGraph:e,drawTracker:s.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),i.registerSeriesType("gauge",n),n})),e(t,"Series/DragNodesComposition.js",[t["Core/Utilities.js"]],(function(t){function e(){var t,e,n,o=this;o.container&&(t=i(o.container,"mousedown",(function(t){var r=o.hoverPoint;r&&r.series&&r.series.hasDraggableNodes&&r.series.options.draggable&&(r.series.onMouseDown(r,t),e=i(o.container,"mousemove",(function(t){return r&&r.series&&r.series.onMouseMove(r,t)})),n=i(o.container.ownerDocument,"mouseup",(function(t){return e(),n(),r&&r.series&&r.series.onMouseUp(r,t)})))}))),i(o,"destroy",(function(){t()}))}var i=t.addEvent,n=[];return{compose:function(t){-1===n.indexOf(t)&&(n.push(t),i(t,"load",e))},onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){var i=this.chart,n=i.pointer.normalize(e);e=t.fixedPosition.chartX-n.chartX,n=t.fixedPosition.chartY-n.chartY;var o=i.graphLayoutsLookup,r=void 0,s=void 0;(5<Math.abs(e)||5<Math.abs(n))&&(r=t.fixedPosition.plotX-e,s=t.fixedPosition.plotY-n,i.isInsidePlot(r,s)&&
2(t.plotX=r,t.plotY=s,t.hasDragged=!0,this.redrawHalo(t),o.forEach((function(t){t.restartSimulation()}))))}},onMouseUp:function(t,e){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath(this.options.states.hover.halo.size)})}}})),e(t,"Series/GraphLayoutComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Utilities.js"]],(function(t,e){function i(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation()})),this.redraw())}function n(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation(!1)})),this.redraw())}function o(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.stop()}))}function r(){var t=!1,e=function(e){e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()&&!e.enableSimulation&&(e.beforeStep&&e.beforeStep(),e.step(),i=!1,t=!0)};if(this.graphLayoutsLookup){for(s(!1,this),this.graphLayoutsLookup.forEach((function(t){return t.start()}));!i;){var i=!0;this.graphLayoutsLookup.forEach(e)}t&&this.series.forEach((function(t){t&&t.layout&&t.render()}))}}var s=t.setAnimation,a=e.addEvent,l=[];return{compose:function(t){l.indexOf(t)&&(l.push(t),a(t,"afterPrint",i),a(t,"beforePrint",n),a(t,"predraw",o),a(t,"render",r))},integrations:{},layouts:{}}})),e(t,"Series/PackedBubble/PackedBubblePoint.js",[t["Core/Chart/Chart.js"],t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"]],(function(t,e,i){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();return function(i){function o(){var t=null!==i&&i.apply(this,arguments)||this;return t.degree=NaN,t.mass=NaN,t.radius=NaN,t.options=void 0,t.series=void 0,t.value=null,t}return n(o,i),o.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e.prototype.destroy.apply(this,arguments)},o.prototype.firePointEvent=function(){var t=this.series.options;if(this.isParentNode&&t.parentNode){var i=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,e.prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=i}else e.prototype.firePointEvent.apply(this,arguments)},o.prototype.select=function(){var i=this.series.chart;this.isParentNode?(i.getSelectedPoints=i.getSelectedParentNodes,e.prototype.select.apply(this,arguments),i.getSelectedPoints=t.prototype.getSelectedPoints):e.prototype.select.apply(this,arguments)},o}(i.seriesTypes.bubble.prototype.pointClass)})),e(t,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[t["Core/Utilities.js"]],(function(t){var e=t.isNumber;return{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,i=this.point.value;return e(i)?t(i,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}})),e(t,"Series/Networkgraph/VerletIntegration.js",[],(function(){return{attractive:function(t,e,i){var n=t.getMass(),o=-i.x*e*this.diffTemperature;e=-i.y*e*this.diffTemperature,t.fromNode.fixedPosition||(t.fromNode.plotX-=o*n.fromNode/t.fromNode.degree,t.fromNode.plotY-=e*n.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=o*n.toNode/t.toNode.degree,t.toNode.plotY+=e*n.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return(e-t)/t},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,i=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*t,i=(i-(this.box.top+this.box.height)/2)*t,this.nodes.forEac
2h((function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=i/t.mass/t.degree)}))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)},integrate:function(t,e){var i=-t.options.friction,n=t.options.maxSpeed,o=(e.plotX+e.dispX-e.prevX)*i;i*=e.plotY+e.dispY-e.prevY;var r=Math.abs,s=r(o)/(o||1);r=r(i)/(i||1),o=s*Math.min(n,Math.abs(o)),i=r*Math.min(n,Math.abs(i)),e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=o,e.plotY+=i,e.temperature=t.vectorLength({x:o,y:i})},repulsive:function(t,e,i){e=e*this.diffTemperature/t.mass/t.degree,t.fixedPosition||(t.plotX+=i.x*e,t.plotY+=i.y*e)},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t?1:0)}}})),e(t,"Series/PackedBubble/PackedBubbleIntegration.js",[t["Core/Globals.js"],t["Series/Networkgraph/VerletIntegration.js"]],(function(t,e){return{barycenter:function(){for(var t,e,i=this.options.gravitationalConstant,n=this.box,o=this.nodes,r=0;r<o.length;r++){var s=o[r];this.options.splitSeries&&!s.isParentNode?(t=s.series.parentNode.plotX,e=s.series.parentNode.plotY):(t=n.width/2,e=n.height/2),s.fixedPosition||(s.plotX-=(s.plotX-t)*i/(s.mass*Math.sqrt(o.length)),s.plotY-=(s.plotY-e)*i/(s.mass*Math.sqrt(o.length)))}},getK:t.noop,integrate:e.integrate,repulsive:function(t,e,i,n){var o=e*this.diffTemperature/t.mass/t.degree;e=i.x*o,i=i.y*o,t.fixedPosition||(t.plotX+=e,t.plotY+=i),n.fixedPosition||(n.plotX-=e,n.plotY-=i)},repulsiveForceFunction:function(t,e,i,n){return Math.min(t,(i.marker.radius+n.marker.radius)/2)}}})),e(t,"Series/Networkgraph/EulerIntegration.js",[],(function(){return{attractive:function(t,e,i,n){var o=t.getMass(),r=i.x/n*e;e*=i.y/n,t.fromNode.fixedPosition||(t.fromNode.dispX-=r*o.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*o.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dis
2pX+=r*o.toNode/t.toNode.degree,t.toNode.dispY+=e*o.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return t*t/e},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,i=this.barycenter.yFactor;this.nodes.forEach((function(n){if(!n.fixedPosition){var o=n.getDegree();o*=1+o/2,n.dispX+=(e-n.plotX)*t*o/n.degree,n.dispY+=(i-n.plotY)*t*o/n.degree}}))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var i=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==i&&(e.plotX+=e.dispX/i*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/i*Math.min(Math.abs(e.dispY),t.temperature))},repulsive:function(t,e,i,n){t.dispX+=i.x/n*e/t.degree,t.dispY+=i.y/n*e/t.degree},repulsiveForceFunction:function(t,e){return e*e/t}}})),e(t,"Series/Networkgraph/QuadTreeNode.js",[],(function(){return function(){function t(t){this.isInternal=this.isEmpty=this.body=!1,this.nodes=[],this.box=t,this.boxSize=Math.min(t.width,t.height)}return t.prototype.divideBox=function(){var e=this.box.width/2,i=this.box.height/2;this.nodes[0]=new t({left:this.box.left,top:this.box.top,width:e,height:i}),this.nodes[1]=new t({left:this.box.left+e,top:this.box.top,width:e,height:i}),this.nodes[2]=new t({left:this.box.left+e,top:this.box.top+i,width:e,height:i}),this.nodes[3]=new t({left:this.box.left,top:this.box.top+i,width:e,height:i})},t.prototype.getBoxPosition=function(t){var e=t.plotY<this.box.top+this.box.height/2;return t.plotX<this.box.left+this.box.width/2?e?0:3:e?1:2},t.prototype.insert=function(e,i){this.isInternal?this.nodes[this.getBoxPosition(e)].insert(e,i-1):(this.isEmpty=!1,this.body?i?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,i-1),this.body=!0),this.nodes[this.getBoxPosition(e)].insert(e,i-1)):((i=new t({top:e.plotX||NaN,left:e.plotY||NaN,width:.1,height:.1})).body=e,i.isInternal=!1,this.nodes.push(i)):(this.isInternal=!1,this.body=e))},t.prototype.updateMassAndCenter=function(){var t=0,e=0,i=0;if(this.isInternal){for(var n=0,o=this.nodes;n<o.length;n++){var r=o[n];r.isEmpty||(t+=r.mass,e+=r.plotX*r.mass,i+=r.plotY*r.mass)}e/=t,i/=t}else this.body&&(t=this.body.mass,e=this.body.plotX,i=this.body.plotY);this.mass=t,this.plotX=e,this.plotY=i},t}()})),e(t,"Series/Networkgraph/QuadTree.js",[t["Series/Networkgraph/QuadTreeNode.js"]],(function(t){return function(){function e(e,i,n,o){this.box={left:e,top:i,width:n,height:o},this.maxDepth=25,this.root=new t(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}return e.prototype.calculateMassAndCenter=function(){this.visitNodeRecursive(null,null,(function(t){t.updateMassAndCenter()}))},e.prototype.insertNodes=function(t){for(var e=0;e<t.length;e++)this.root.insert(t[e],this.maxDepth)},e.prototype.visitNodeRecursive=function(t,e,i){var n;if(t||(t=this.root),t===this.root&&e&&(n=e(t)),!1!==n){for(var o=0,r=t.nodes;o<r.length;o++){var s=r[o];if(s.isInternal){if(e&&(n=e(s)),!1===n)continue;this.visitNodeRecursive(s,e,i)}else s.body&&e&&e(s.body);i&&i(s)}t===this.root&&i&&i(t)}},e}()})),e(t,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[t["Series/Networkgraph/EulerIntegration.js"],t["Core/Globals.js"],t["Series/GraphLayoutComposition.js"],t["Series/Networkgraph/QuadTree.js"],t["Core/Utilities.js"],t["Series/Networkgraph/VerletIntegration.js"]],(function(t,e,i,n,o,r){var s=e.win,a=o.clamp,l=o.defined,h=o.isFunction,c=o.pick;return function(){function e(){this.attractiveForce=void 0,this.box={},this.currentStep=0,this.initialRendering=!0,this.integration=void 0,this.links=[],this.nodes=[],this.repulsiveForce=this.quadTree=this.options=void 0,this.series=[],this.simulation=!1}return e.compose=function(n){i.compose(n),i.integrations.euler=t,i.integrations.verlet=r,i.layouts["reingold-fruchterman"]=e},e.prototype.init=function(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=i.integrations[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=c(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=c(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation},e.prototype.updateSimulation=function(t){this.enableSimulation=c(t,this.options.enableSimulation)},e.prototype.start=function(){var t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach((function(t){t.finishedAnimating=!0,t.render()}))),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()},e.prototype.step=function(){var t=this,e=this.series;this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter());for(var i=0,n=this.forces||[];i<n.length;i++)this[n[i]+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(i=0;i<e.length;i++)(n=e[i]).chart&&n.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&s.cancelAnimationFrame(this.simulation),this.simulation=s.requestAnimationFrame((function(){return t.step()}))):this.simulation=!1}},e.prototype.stop=function(){this.simulation&&s.cancelAnimationFrame(this.simulation)}
2,e.prototype.setArea=function(t,e,i,n){this.box={left:t,top:e,width:i,height:n}},e.prototype.setK=function(){this.k=this.options.linkLength||this.integration.getK(this)},e.prototype.addElementsToCollection=function(t,e){for(var i=0;i<t.length;i++){var n=t[i];-1===e.indexOf(n)&&e.push(n)}},e.prototype.removeElementFromCollection=function(t,e){-1!==(t=e.indexOf(t))&&e.splice(t,1)},e.prototype.clear=function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},e.prototype.resetSimulation=function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},e.prototype.restartSimulation=function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},e.prototype.setMaxIterations=function(t){this.maxIterations=c(t,this.options.maxIterations)},e.prototype.setTemperature=function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},e.prototype.setDiffTemperature=function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},e.prototype.setInitialRendering=function(t){this.initialRendering=t},e.prototype.createQuadTree=function(){this.quadTree=new n(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},e.prototype.initPositions=function(){var t=this.options.initialPositions;if(h(t)){t.call(this),t=0;for(var e=this.nodes;t<e.length;t++){var i=e[t];l(i.prevX)||(i.prevX=i.plotX),l(i.prevY)||(i.prevY=i.plotY),i.dispX=0,i.dispY=0}}else"circle"===t?this.setCircularPositions():this.setRandomPositions()},e.prototype.setCircularPositions=function(){for(var t=this.box,e=this.nodes,i=2*Math.PI/(e.length+1),n=e.filter((function(t){return 0===t.linksTo.length})),o={},r=this.options.initialPositionRadius,s=function(t){var e=0;for(t=t.linksFrom||[];e<t.length;e++){var i=t[e];o[i.toNode.id]||(o[i.toNode.id]=!0,a.push(i.toNode),s(i.toNode))}},a=[],l=0;l<n.length;l++){var h=n[l];a.push(h),s(h)}if(a.length)for(n=0;n<e.length;n++)l=e[n],-1===a.indexOf(l)&&a.push(l);else a=e;for(n=0,l=a.length;n<l;++n)(e=a[n]).plotX=e.prevX=c(e.plotX,t.width/2+r*Math.cos(n*i)),e.plotY=e.prevY=c(e.plotY,t.height/2+r*Math.sin(n*i)),e.dispX=0,e.dispY=0},e.prototype.setRandomPositions=function(){for(var t,e=this.box,i=this.nodes,n=i.length+1,o=function(t){return(t=t*t/Math.PI)-Math.floor(t)},r=0,s=i.length;r<s;++r)(t=i[r]).plotX=t.prevX=c(t.plotX,e.width*o(r)),t.plotY=t.prevY=c(t.plotY,e.height*o(n+r)),t.dispX=0,t.dispY=0},e.prototype.force=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];this.integration[t].apply(this,e)},e.prototype.barycenterForces=function(){this.getBarycenter(),this.force("barycenter")},e.prototype.getBarycenter=function(){for(var t=0,e=0,i=0,n=0,o=this.nodes;n<o.length;n++){var r=o[n];e+=r.plotX*r.mass,i+=r.plotY*r.mass,t+=r.mass}return this.barycenter={x:e,y:i,xFactor:e/t,yFactor:i/t}},e.prototype.barnesHutApproximation=function(t,e){var i=this.getDistXY(t,e),n=this.vectorLength(i);if(t!==e&&0!==n)if(e.isInternal)if(e.boxSize/n<this.options.theta&&0!==n){var o=this.repulsiveForce(n,this.k);this.force("repulsive",t,o*e.mass,i,n);var r=!1}else r=!0;else o=this.repulsiveForce(n,this.k),this.force("repulsive",t,o*e.mass,i,n);return r},e.prototype.repulsiveForces=function(){var t=this;if("barnes-hut"===this.approximation)for(var e=function(e){i.quadTree.visitNodeRecursive(null,(function(i){return t.barnesHutApproximation(e,i)}))},i=this,n=0,o=this.nodes;n<o.length;n++){var r=o[n];e(r)}else{o=n=e=void 0;for(var s=0,a=this.nodes;s<a.length;s++){r=a[s];for(var l=0,h=this.nodes;l<h.length;l++){var c=h[l];r===c||r.fixedPosition||(o=this.getDistXY(r,c),0!==(n=this.vectorLength(o))&&(e=this.repulsiveForce(n,this.k),this.force("repulsive",r,e*c.mass,o,n)))}}}},e.prototype.attractiveForces=function(){for(var t,e,i,n=0,o=this.links;n<o.length;n++){var r=o[n];r.fromNode&&r.toNode&&(t=this.getDistXY(r.fromNode,r.toNode),0!==(e=this.vectorLength(t))&&(i=this.attractiveForce(e,this.k),this.force("attractive",r,i,t,e)))}},e.prototype.applyLimits=function(){for(var t=0,e=this.nodes;t<e.length;t++){var i=e[t];if(i.fixedPosition)break;this.integration.integrate(this,i),this.applyLimitBox(i,this.box),i.dispX=0,i.dispY=0}},e.prototype.applyLimitBox=function(t,e){var i=t.radius;t.plotX=a(t.plotX,e.left+i,e.width-i),t.plotY=a(t.plotY,e.top+i,e.height-i)}
2,e.prototype.coolDown=function(t,e,i){return t-e*i},e.prototype.isStable=function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},e.prototype.getSystemTemperature=function(){for(var t=0,e=0,i=this.nodes;e<i.length;e++)t+=i[e].temperature;return t},e.prototype.vectorLength=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.prototype.getDistR=function(t,e){return t=this.getDistXY(t,e),this.vectorLength(t)},e.prototype.getDistXY=function(t,e){var i=t.plotX-e.plotX;return{x:i,y:t=t.plotY-e.plotY,absX:Math.abs(i),absY:Math.abs(t)}},e}()})),e(t,"Series/PackedBubble/PackedBubbleLayout.js",[t["Series/GraphLayoutComposition.js"],t["Series/PackedBubble/PackedBubbleIntegration.js"],t["Series/Networkgraph/ReingoldFruchtermanLayout.js"],t["Core/Utilities.js"]],(function(t,e,i,n){function o(){var t=[];return this.series.forEach((function(e){e.parentNode&&e.parentNode.selected&&t.push(e.parentNode)})),t}function r(){this.allDataPoints&&delete this.allDataPoints}var s=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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),a=n.addEvent,l=n.pick,h=[];return n=function(n){function c(){var t=null!==n&&n.apply(this,arguments)||this;return t.index=NaN,t.nodes=[],t.options=void 0,t.series=[],t}return s(c,n),c.compose=function(n){i.compose(n),t.integrations.packedbubble=e,t.layouts.packedbubble=c,-1===h.indexOf(n)&&(h.push(n),a(n,"beforeRedraw",r),n.prototype.getSelectedParentNodes=o)},c.prototype.beforeStep=function(){this.options.marker&&this.series.forEach((function(t){t&&t.calculateParentRadius()}))},c.prototype.isStable=function(){var t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>t||0>=this.temperature},c.prototype.setCircularPositions=function(){for(var t,e,i=this.box,n=this.nodes,o=2*Math.PI/(n.length+1),r=this.options.initialPositionRadius,s=0,a=0;a<n.length;a++){var h=n[a];this.options.splitSeries&&!h.isParentNode?(t=h.series.parentNode.plotX,e=h.series.parentNode.plotY):(t=i.width/2,e=i.height/2),h.plotX=h.prevX=l(h.plotX,t+r*Math.cos(h.index||s*o)),h.plotY=h.prevY=l(h.plotY,e+r*Math.sin(h.index||s*o)),h.dispX=0,h.dispY=0,s++}},c.prototype.repulsiveForces=function(){var t,e,i,n=this,o=n.options.bubblePadding;n.nodes.forEach((function(r){r.degree=r.mass,r.neighbours=0,n.nodes.forEach((function(s){t=0,r===s||r.fixedPosition||!n.options.seriesInteraction&&r.series!==s.series||(i=n.getDistXY(r,s),0>(e=n.vectorLength(i)-(r.marker.radius+s.marker.radius+o))&&(r.degree+=.01,r.neighbours++,t=n.repulsiveForce(-e/Math.sqrt(r.neighbours),n.k,r,s)),n.force("repulsive",r,t*s.mass,i,s,e))}))}))},c.prototype.applyLimitBox=function(t,e){if(this.options.splitSeries&&!t.isParentNode&&this.options.parentNodeLimit){var i=this.getDistXY(t,t.series.parentNode),o=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(i);0>o&&o>-2*t.marker.radius&&(t.plotX-=.01*i.x,t.plotY-=.01*i.y)}
2n.prototype.applyLimitBox.call(this,t,e)},c}(i),t.layouts.packedbubble=n})),e(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Series/DragNodesComposition.js"],t["Series/GraphLayoutComposition.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],t["Series/PackedBubble/PackedBubbleLayout.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o,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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),c=t.parse;t=n.noop;var d=a.series.prototype,p=a.seriesTypes.bubble,u=l.addEvent,f=l.clamp,g=l.defined,m=l.extend,y=l.fireEvent,v=l.isArray,x=l.isNumber,b=l.merge,w=l.pick;return l=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.layout=void 0,e.options=void 0,e.parentNodeMass=0,e.points=void 0,e.xData=void 0,e}return h(n,t),n.compose=function(t,i,n,o){p.compose(t,i,n,o),e.compose(i),s.compose(i)},n.prototype.accumulateAllPoints=function(){for(var t,e=this.chart,i=[],n=0,o=e.series;n<o.length;n++){var r=o[n];if(r.is("packedbubble")&&r.visible||!e.options.chart.ignoreHiddenSeries){t=r.yData||[];for(var s=0;s<t.length;s++)i.push([null,null,t[s],r.index,s,{id:s,marker:{radius:0}}])}}return i},n.prototype.addLayout=function(){var t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",n=this.chart.options.chart,o=this.chart.graphLayoutsStorage,r=this.chart.graphLayoutsLookup;o||(this.chart.graphLayoutsStorage=o={},this.chart.graphLayoutsLookup=r=[]);var s=o[e];s||(t.enableSimulation=g(n.forExport)?!n.forExport:t.enableSimulation,o[e]=s=new i.layouts[e],s.init(t),r.splice(s.index,0,s)),this.layout=s,this.points.forEach((function(t){t.mass=2,t.degree=1,t.collisionNmb=1})),s.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),s.addElementsToCollection([this],s.series),s.addElementsToCollection(this.points,s.nodes)},n.prototype.addSeriesLayout=function(){var t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",n=this.chart.graphLayoutsStorage,o=this.chart.graphLayoutsLookup;t=b(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation});var r=n[e+"-series"];r||(n[e+"-series"]=r=new i.layouts[e],r.init(t),o.splice(r.index,0,r)),this.parentNodeLayout=r,this.createParentNodes()},n.prototype.calculateParentRadius=function(){var t=this.seriesBox();this.parentNodeRadius=f(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},n.prototype.calculateZExtremes=function(){var t=this.options.zMin,e=this.options.zMax,i=1/0,n=-1/0;return t&&e?[t,e]:(this.chart.series.forEach((function(t){t.yData.forEach((function(t){g(t)&&(t>n&&(n=t),t<i&&(i=t))}))})),[t=w(t,i),e=w(e,n)])},n.prototype.checkOverlap=function(t,e){var i=t[0]-e[0],n=t[1]-e[1];return-.001>Math.sqrt(i*i+n*n)-Math.abs(t[2]+e[2])},n.prototype.createParentNodes=function(){var t,e=this,i=this.pointClass,n=this.chart,o=this.parentNodeLayout,r=this.layout.options,s=this.parentNode,a={radius:this.parentNodeRadius,lineColor:this.color,fillColor:c(this.color).brighten(.4).get()};r.parentNodeOptions&&(a=b(r.parentNodeOptions.marker||{},a)),this.parentNodeMass=0,this.points.forEach((function(t){e.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)})),this.calculateParentRadius(),o.nodes.forEach((function(i){i.seriesIndex===e.index&&(t=!0)})),o.setArea(0,0,n.plotWidth,n.plotHeight),t||(s||(s=(new i).init(this,{mass:this.parentNodeRadius/2,marker:a,dataLabels:{inside:!1},states:{normal:{marker:a},hover:{marker:a}}
2,dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index})),this.parentNode&&(s.plotX=this.parentNode.plotX,s.plotY=this.parentNode.plotY),this.parentNode=s,o.addElementsToCollection([this],o.series),o.addElementsToCollection([s],o.nodes))},n.prototype.deferLayout=function(){var t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())},n.prototype.destroy=function(){var t=this;this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(e){e.removeElementFromCollection(t,e.series)}),this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),d.destroy.apply(this,arguments)},n.prototype.drawDataLabels=function(){d.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",d.drawDataLabels.call(this,[this.parentNode]))},n.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var t=this.chart,e=this.layout.options.parentNodeOptions.marker;e={fill:e.fillColor||c(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":w(e.lineWidth,this.options.lineWidth)},this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius();var i=b({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},e);this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(e.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(i)}},n.prototype.drawTracker=function(){var e=this.parentNode;if(t.prototype.drawTracker.call(this),e){var i=v(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[];e.graphic&&(e.graphic.element.point=e),i.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))}},n.prototype.getPointRadius=function(){var t,e,i,n,o=this,r=this.chart,s=this.options,a=s.useSimulation,l=Math.min(r.plotWidth,r.plotHeight),h={},c=[],d=r.allDataPoints||[],p=d.length;["minSize","maxSize"].forEach((function(t){var e=parseInt(s[t],10),i=/%$/.test(s[t]);h[t]=i?l*e/100:e*Math.sqrt(p)})),r.minRadius=t=h.minSize/Math.sqrt(p),r.maxRadius=e=h.maxSize/Math.sqrt(p);var u=a?this.calculateZExtremes():[t,e];d.forEach((function(r,s){i=a?f(r[2],u[0],u[1]):r[2],0===(n=o.getRadius(u[0],u[1],t,e,i))&&(n=null),d[s][2]=n,c.push(n)})),this.radii=c},n.prototype.init=function(){return d.init.apply(this,arguments),this.eventsToUnbind.push(u(this,"updatedData",(function(){var t=this;this.chart.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)}),this)}))),this},n.prototype.onMouseUp=function(t){var i=t;if(i.fixedPosition&&!i.removed){var n,o=this.layout,r=this.parentNodeLayout;r&&o.options.dragBetweenSeries&&r.nodes.forEach((function(t){i&&i.marker&&t!==i.series.parentNode&&(n=o.getDistXY(i,t),0>o.vectorLength(n)-t.marker.radius-i.marker.radius&&(t.series.addPoint(b(i.options,{plotX:i.plotX,plotY:i.plotY}),!1),o.removeElementFromCollection(i,o.nodes),i.remove()))})),e.onMouseUp.apply(this,arguments)}},n.prototype.placeBubbles=function(t){var e,i=this.checkOverlap,n=this.positionBubble,o=[],r=1,s=0,a=0,l=[];if(t=t.sort((function(t,e){return e[2]-t[2]})),t.length){if(o.push([[0,0,t[0][2],t[0][3],t[0][4]]]),1<t.length)for(o.push([[0,0-t[1][2]-t[0][2],t[1][2],t[1][3],t[1][4]]]),e=2;e<t.length;e++)t[e][2]=t[e][2]||1,i(l=n(o[r][s],o[r-1][a],t[e]),o[r][0])?(o.push([]),a=0,o[r+1].push(n(o[r][s],o[r][0],t[e])),r++,s=0):1<r&&o[r-1][a+1]&&i(l,o[r-1][a+1])?(a++,o[r].push(n(o[r][s],o[r-1][a],t[e])),s++):(s++,o[r].push(l));this.chart.stages=o,this.chart.rawPositions=[].concat.apply([],o),this.resizeRadius(),l=this.chart.rawPositions}return l},n.prototype.pointAttribs=function(t,e){var i=this.options,n=i.marker;return t&&t.isParentNode&&i.layoutAlgorithm&&i.layoutAlgorithm.parentNodeOptions&&(n=i.layoutAlgorithm.parentNodeOptions.marker),i=n.fillOpacity,t=d.pointAttribs.call(this,t,e),1!==i&&(t["fill-opacity"]=i),t}
2,n.prototype.positionBubble=function(t,e,i){var n=Math.sqrt,o=Math.asin,r=Math.acos,s=Math.pow,a=Math.abs;return n=n(s(t[0]-e[0],2)+s(t[1]-e[1],2)),r=r((s(n,2)+s(i[2]+e[2],2)-s(i[2]+t[2],2))/(2*(i[2]+e[2])*n)),o=o(a(t[0]-e[0])/n),t=(0>t[1]-e[1]?0:Math.PI)+r+o*(0>(t[0]-e[0])*(t[1]-e[1])?1:-1),[e[0]+(e[2]+i[2])*Math.sin(t),e[1]-(e[2]+i[2])*Math.cos(t),i[2],i[3],i[4]]},n.prototype.render=function(){var t=[];d.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(e){v(e.dataLabels)&&e.dataLabels.forEach((function(e){t.push(e)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))},n.prototype.resizeRadius=function(){for(var t,e,i=this.chart,n=i.rawPositions,o=Math.min,r=Math.max,s=i.plotLeft,a=i.plotTop,l=i.plotHeight,h=i.plotWidth,c=t=Number.POSITIVE_INFINITY,d=e=Number.NEGATIVE_INFINITY,p=0;p<n.length;p++){var u=n[p],f=u[2];c=o(c,u[0]-f),d=r(d,u[0]+f),t=o(t,u[1]-f),e=r(e,u[1]+f)}if(u=[d-c,e-t],o=o.apply([],[(h-s)/u[0],(l-a)/u[1]]),1e-10<Math.abs(o-1)){for(i=0;i<n.length;i++)(u=n[i])[2]*=o;this.placeBubbles(n)}else i.diffY=l/2+a-t-(e-t)/2,i.diffX=h/2+s-c-(d-c)/2},n.prototype.seriesBox=function(){var t,e=this.chart,i=Math.max,n=Math.min,o=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return this.data.forEach((function(e){g(e.plotX)&&g(e.plotY)&&e.marker.radius&&(t=e.marker.radius,o[0]=n(o[0],e.plotX-t),o[1]=i(o[1],e.plotX+t),o[2]=n(o[2],e.plotY-t),o[3]=i(o[3],e.plotY+t))})),x(o.width/o.height)?o:null},n.prototype.setVisible=function(){var t=this;d.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach((function(e){t.layout.removeElementFromCollection(e,t.layout.nodes)})))},n.prototype.translate=function(){var t=this.chart,e=this.data,i=this.index,n=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),g(t.allDataPoints)||(t.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),n)var o=t.allDataPoints;else o=this.placeBubbles(t.allDataPoints),this.options.draggable=!1;for(var r=0,s=o;r<s.length;r++){var a=s[r];if(a[3]===i){o=e[a[4]];var l=w(a[2],void 0);n||(o.plotX=a[0]-t.plotLeft+t.diffX,o.plotY=a[1]-t.plotTop+t.diffY),x(l)&&(o.marker=m(o.marker,{radius:l,width:2*l,height:2*l}),o.radius=l)}}n&&this.deferLayout(),y(this,"afterTranslate")},n.defaultOptions=b(p.defaultOptions,r),n}(p),m(l.prototype,{pointClass:o,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],alignDataLabel:d.alignDataLabel,indexateNodes:t,onMouseDown:e.onMouseDown,onMouseMove:e.onMouseMove,redrawHalo:e.redrawHalo,searchPoint:t}),a.registerSeriesType("packedbubble",l),l})),e(t,"Series/Polygon/PolygonSeries.js",[t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();t=t.noop;var r=i.series,s=i.seriesTypes,a=s.area,l=s.line,h=s.scatter;s=n.extend;var c=n.merge;return n=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.getGraphPath=function(){for(var t=l.prototype.getGraphPath.call(this),e=t.length+1;e--;)(e===t.length||"M"===t[e][0])&&0<e&&t.splice(e,0,["Z"]);return this.areaPath=t},e.prototype.drawGraph=function(){this.options.fillColor=this.color,a.prototype.drawGraph.call(this)},e.defaultOptions=c(h.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),e}(h),s(n.prototype,{type:"polygon",drawLegendSymbol:e.drawRectangle,drawTracker:r.prototype.drawTracker,setStackedPoints:t}),i.registerSeriesType("polygon",n),n})),e(t,"Core/Axis/WaterfallAxis.js",[t["Core/Axis/Stacking/StackItem.js"],t["Core/Utilities.js"]],(function(t,e){var i,n=e.addEvent,o=e.objectEach;return function(e){function i(){var t=this.waterfall.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function r(){var t=this.options.stackLabels;
2t&&t.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function s(){for(var t=this.axes,e=this.series,i=e.length;i--;)e[i].options.stacking&&(t.forEach((function(t){t.isXAxis||(t.waterfall.stacks.changed=!0)})),i=0)}function a(){this.waterfall||(this.waterfall=new l(this))}var l=function(){function e(t){this.axis=t,this.stacks={changed:!1}}return e.prototype.renderStackTotals=function(){var e=this.axis,i=e.waterfall.stacks,n=e.stacking&&e.stacking.stackTotalGroup,r=new t(e,e.options.stackLabels,!1,0,void 0);this.dummyStackItem=r,o(i,(function(e){o(e,(function(e){r.total=e.stackTotal,e.label&&(r.label=e.label),t.prototype.render.call(r,n),e.label=r.label,delete r.label}))})),r.total=null},e}();e.Composition=l,e.compose=function(t,e){n(t,"init",a),n(t,"afterBuildStacks",i),n(t,"afterRender",r),n(e,"beforeRedraw",s)}}(i||(i={})),i})),e(t,"Series/Waterfall/WaterfallPoint.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,i){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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=i.isNumber;return function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return n(i,t),i.prototype.getClassName=function(){var t=e.prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t},i.prototype.isValid=function(){return o(this.y)||this.isSum||!!this.isIntermediateSum},i}(t.prototype.pointClass)})),e(t,"Series/Waterfall/WaterfallSeries.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Axis/WaterfallAxis.js"],t["Series/Waterfall/WaterfallPoint.js"]],(function(t,e,i,n,o,r){var s=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 n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),a=i.seriesTypes,l=a.column,h=a.line,c=n.arrayMax,d=n.arrayMin,p=n.correctFloat;a=n.extend;var u=n.isNumber,f=n.merge,g=n.objectEach,m=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.options=void 0,e.points=void 0,e.stackedYNeg=void 0,e.stackedYPos=void 0,e.stackKey=void 0,e.xData=void 0,e.yAxis=void 0,e.yData=void 0,e}return s(e,t),e.prototype.generatePoints=function(){var t;l.prototype.generatePoints.apply(this);var e=0;for(t=this.points.length;e<t;e++){var i=this.points[e],n=this.processedYData[e];(i.isIntermediateSum||i.isSum)&&(i.y=p(n))}},e.prototype.translate=function(){var t=this.options,e=this.yAxis,i=m(t.minPointLength,5),n=i/2,o=t.threshold||0,r=o,s=o;t=t.stacking;var a=e.waterfall.stacks[this.stackKey];l.prototype.translate.apply(this);for(var h=this.points,c=0;c<h.length;c++){var d=h[c],p=this.processedYData[c],f=d.shapeArgs;if(f&&u(p)){var g=[0,p],y=d.y;if(t){if(a){if(g=a[c],"overlap"===t){var v=g.stackState[g.stateIndex--];v=0<=y?v:v-y,Object.hasOwnProperty.call(g,"absolutePos")&&delete g.absolutePos,Object.hasOwnProperty.call(g,"absoluteNeg")&&delete g.absoluteNeg}else 0<=y?(v=g.threshold+g.posTotal,g.posTotal-=y):(v=g.threshold+g.negTotal,g.negTotal-=y,v-=y),!g.posTotal&&Object.hasOwnProperty.call(g,"absolutePos")&&(g.posTotal=g.absolutePos,delete g.absolutePos),!g.negTotal&&Object.hasOwnProperty.call(g,"absoluteNeg")&&(g.negTotal=g.absoluteNeg,delete g.absoluteNeg);d.isSum||(g.connectorThreshold=g.threshold+g.stackTotal),e.reversed?(p=0<=y?v-y:v+y,y=v):(p=v,y=v-y),d.below=p<=o,f.y=e.translate(p,!1,!0,!1,!0),f.height=Math.abs(f.y-e.translate(y,!1,!0,!1,!0)),(y=e.waterfall.dummyStackItem)&&(y.x=c,y.label=a[c].label,y.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[c],this.stackedYPos[c]))}}else v=Math.max(r,r+y)+g[0],f.y=e.translate(v,!1,!0,!1,!0),d.isSum?(f.y=e.translate(g[1],!1,!0,!1,!0),f.height=Math.min(e.translate(g[0],!1,!0,!1,!0),e.len)-f.y,d.below=g[1]<=o):d.isIntermediateSum?(0<=y?(p=g[1]+s,y=s):(p=s,y=g[1]+s),e.reversed&&(p^=y,p^=y^=p),f.y=e.translate(p,!1,!0,!1,!0),f.height=Math.abs(f.y-Math.min(e.translate(y,!1,!0,!1,!0),e.len)),s+=g[1],d.below=p<=o):(f.height=0<p?e.translate(r,!1,!0,!1,!0)-f.y:e.translate(r,!1,!0,!1,!0)-e.translate(r-p,!1,!0,!1,!0),r+=p,d.below=r<o),0>f.height&&(f.y+=f.height,f.height*=-1);d.plotY=f.y=Math.round(f.y||0)-this.borderWidth%2/2,f.height=Math.max(Math.round(f.height||0),.001),d.yBottom=f.y+f.height,f.height<=i&&!d.isNull?(f.height=i,f.y-=n,d.plotY=f.y,d.minPointLengthOffset=0>d.y?-n:n):(d.isNull&&(f.width=0),d.minPointLengthOffset=0),y=d.plotY+(d.negative?f.height:0),d.below&&(d.plotY+=f.height),d.tooltipPos&&(this.chart.inverted?d.tooltipPos[0]=e.len-y:d.tooltipPos[1]=y),d.isInside=this.isPointInside(d)}}},e.prototype.processData=function(e){var i,n,o,r,s,a=this.options,l=this.yData,h=a.data,c=l.length,d=a.threshold||0;for(s=n=i=o=r=0;s<c;s++){var u=l[s],f=h&&h[s]?h[s]:{};"sum"===u||f.isSum?l[s]=p(n):"intermediateSum"===u||f.isIntermediateSum?(l[s]=p(i),i=0):(n+=u,i+=u),o=Math.min(n,o),r=Math.max(n,r)}t.prototype.processData.call(this,e),a.stacking||(this.dataMin=o+d,this.dataMax=r)},e.prototype.toYData=function(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y},e.prototype.updateParallelArrays=function(e,i){t.prototype.updateParallelArrays.call(this,e,i),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},e.prototype.pointAttribs=function(t,e){var i=this.options.upColor;return i&&!t.options.color&&(t.color=0<t.y?i:null),delete(t=l.prototype.pointAttribs.call(this,t,e)).dashstyle,t},e.prototype.getGraphPath=function(){return[["M",0,0]]},e.prototype.getCrispPath=function(){var t,e=this.data,i=this.yAxis,n=e.length,o=Math.round(this.graph.strokeWidth())%2/2,r=Math.round(this.borderWidth)%2/2,s=this.xAxis.reversed,a=this.yAxis.reversed,l=this.options.stacking,h=[];for(t=1;t<n;t++){var c=e[t].shapeArgs,d=e[t-1],p=e[t-1].shapeArgs,u=i.waterfall.stacks[this.stackKey],f=0<d.y?-p.height:0;u&&p&&c&&(u=u[t-1],l?(u=u.connectorThreshold,f=Math.round(i.translate(u,0,1,0,1)+(a?f:0))-o):f=p.y+d.minPointLengthOffset+r-o,h.push(["M",(p.x||0)+(s?0:p.width||0),f],["L",(c.x||0)+(s&&c.width||0),f])),p&&h.length&&(!l&&0>d.y&&!a||0<d.y&&a)&&((d=h[h.length-2])&&"number"===typeof d[2]&&(d[2]+=p.height||0),(d=h[h.length-1])&&"number"===typeof d[2]&&(d[2]+=p.height||0))}return h},e.prototype.drawGraph=function(){h.prototype.drawGraph.call(this),this.graph.attr({d:this.getCrispPath()})},e.prototype.setStackedPoints=function(){function t(t,e,i,n){if(b)for(;i<b;i++)m.stackState[i]+=n;
2else m.stackState[0]=t,b=m.stackState.length;m.stackState.push(m.stackState[b-1]+e)}var e,i,n,o=this.options,r=this.yAxis.waterfall.stacks,s=o.threshold,a=s||0,l=a,h=this.stackKey,c=this.xData,d=c.length;this.yAxis.stacking.usePercentage=!1;var p=i=n=a;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var u=r.changed;(e=r.alreadyChanged)&&0>e.indexOf(h)&&(u=!0),r[h]||(r[h]={}),e=r[h];for(var f=0;f<d;f++){var g=c[f];e[g]&&!u||(e[g]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:u&&e[g]?e[g].label:void 0});var m=e[g],y=this.yData[f];0<=y?m.posTotal+=y:m.negTotal+=y;var v=o.data[f];g=m.absolutePos=m.posTotal;var x=m.absoluteNeg=m.negTotal;m.stackTotal=g+x;var b=m.stackState.length;v&&v.isIntermediateSum?(t(n,i,0,n),n=i,i=s,a^=l,a^=l^=a):v&&v.isSum?(t(s,p,b),a=s):(t(a,y,0,p),v&&(p+=y,i+=y)),m.stateIndex++,m.threshold=a,a+=m.stackTotal}r.changed=!1,r.alreadyChanged||(r.alreadyChanged=[]),r.alreadyChanged.push(h)}},e.prototype.getExtremes=function(){var t=this.options.stacking;if(t){var e=this.yAxis;e=e.waterfall.stacks;var i=this.stackedYNeg=[],n=this.stackedYPos=[];return g(e[this.stackKey],"overlap"===t?function(t){i.push(d(t.stackState)),n.push(c(t.stackState))}:function(t){i.push(t.negTotal+t.threshold),n.push(t.posTotal+t.threshold)}),{dataMin:d(i),dataMax:c(n)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},e.defaultOptions=f(l.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),e}(l),a(n.prototype,{getZonesGraphs:h.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:r}),i.registerSeriesType("waterfall",n),o.compose(t,e),n})),e(t,"Core/Axis/RadialAxis.js",[t["Core/Axis/AxisDefaults.js"],t["Core/Defaults.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,i,n){var o,r=e.defaultOptions,s=i.noop,a=n.addEvent,l=n.correctFloat,h=n.defined,c=n.extend,d=n.fireEvent,p=n.merge,u=n.pick,f=n.relativeLength,g=n.wrap;return function(e){function i(){this.autoConnect=this.isCircular&&"undefined"===typeof u(this.userMax,this.options.max)&&l(this.endAngleRad-this.startAngleRad)===l(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)}function n(){var t=this;return function(){if(t.isRadial&&t.tickPositions&&t.options.labels&&!0!==t.options.labels.allowOverlap)return t.tickPositions.map((function(e){return t.ticks[e]&&t.ticks[e].label})).filter((function(t){return!!t}))}}function o(){return s}function m(t,e,i){var n=this.pane.center,o=t.value;if(this.isCircular){if(h(o))t.point&&(r=t.point.shapeArgs||{}).start&&(o=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x);else{var r=t.chartX||0,s=t.chartY||0;o=this.translate(Math.atan2(s-i,r-e)-this.startAngleRad,!0)}r=(t=this.getPosition(o)).x,s=t.y}else h(o)||(r=t.chartX,s=t.chartY),h(r)&&h(s)&&(i=n[1]+this.chart.plotTop,o=this.translate(Math.min(Math.sqrt(Math.pow(r-e,2)+Math.pow(s-i,2)),n[2]/2)-n[3]/2,!0));return[o,r||0,s||0]}function y(t,e,i){t=this.pane.center;var n=this.chart,o=this.left||0,r=this.top||0,s=u(e,t[2]/2-this.offset);return"undefined"===typeof i&&(i=this.horiz?0:this.center&&-this.center[3]/2),i&&(s+=i),this.isCircular||"undefined"!==typeof e?((e=this.chart.renderer.symbols.arc(o+t[0],r+t[1],s,s,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[o+t[0]],e.yBounds=[r+t[1]-s]):(e=this.postTranslate(this.angleRad,s),e=[["M",this.center[0]+n.plotLeft,this.center[1]+n.plotTop],["L",e.x,e.y]]),e}function v(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function x(t,e,i){var n=this.chart,o=function(t){if("string"===typeof t){var e=parseInt(t,10);return d.test(t)&&(e=e*a/100),e}return t},r=this.center,s=this.startAngleRad,a=r[2]/2,l=Math.min(this.offset,0),h=this.left||0,c=this.top||0,d=/%$/,p=this.isCircular,f=u(o(i.outerRadius),a),g=o(i.innerRadius);if(o=u(o(i.thickness),10),"polygon"===this.options.gridLineInterpolation)l=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{if(t=Math.max(t,this.min),e=Math.min(e,this.max),t=this.translate(t),e=this.translate(e),p||(f=t||0,g=e||0),"circle"!==i.shape&&p)i=s+(t||0),s+=e||0;else{i=-Math.PI/2,s=1.5*Math.PI;var m=!0}f-=l,l=n.renderer.symbols.arc(h+r[0],c+r[1],f,f,{start:Math.min(i,s),end:Math.max(i,s),innerR:u(g,f-(o-l)),open:m}),p&&(p=(s+i)/2,h=h+r[0]+r[2]/2*Math.cos(p),l.xBounds=p>-Math.PI/2&&p<Math.PI/2?[h,n.plotWidth]:[0,h],l.yBounds=[c+r[1]+r[2]/2*Math.sin(p)],l.yBounds[0]+=p>-Math.PI&&0>p||p>Math.PI?-10:10)}return l}function b(t){var e=this,i=this.pane.center,n=this.chart,o=n.inverted,r=t.reverse,s=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},a=s.innerRadius||"0%",l=s.outerRadius||"100%",h=i[0]+n.plotLeft,c=i[1]+n.plotTop,d=this.height,p=t.isCrosshair;s=i[3]/2;var u,g=t.value,m=this.getPosition(g),y=m.x;if(m=m.y,p&&(g=(m=this.getCrosshairPosition(t,h,c))[0],y=m[1],m=m[2]),this.isCircular)g=Math.sqrt(Math.pow(y-h,2)+Math.pow(m-c,2)),r="string"===typeof a?f(a,1):a/g,n="string"===typeof l?f(l,1):l/g,i&&s&&(r<(s/=g)&&(r=s),n<s&&(n=s)),i=[["M",h+r*(y-h),c-r*(c-m)],["L",y-(1-n)*(y-h),m+(1-n)*(c-m)]];else if((g=this.translate(g))&&(0>g||g>d)&&(g=0),"circle"===this.options.gridLineInterpolation)i=this.getLinePath(0,g,s);else if(i=[],n[o?"yAxis":"xAxis"].forEach((function(t){t.pane===e.pane&&(u=t)})),u)for(h=u.tickPositions,u.autoConnect&&(h=h.concat([h[0]])),r&&(h=h.slice().reverse()),g&&(g+=s),c=0;c<h.length;c++)s=u.getPosition(h[c],g),i.push(c?["L",s.x,s.y]:["M",s.x,s.y]);return i}function w(t,e){return t=this.translate(t),this.postTranslate(this.isCircular?t:this.angleRad,u(this.isCircular?e:0>t?0:t,this.center[2]/2)-this.offset)}function S(){var t=this.center,e=this.chart,i=this.options.title;return{x:e.plotLeft+t[0]+(i.x||0),y:e.plotTop+t[1]-{high:.5,middle:.25,low:0}[i.align]*t[2]+(i.y||0)}}function C(t){t.beforeSetTickPositions=i,t.createLabelCollector=n,t.getCrosshairPosition=m,t.getLinePath=y,t.getOffset=v,t.getPlotBandPath=x,t.getPlotLinePath=b,t.getPosition=w,t.getTitlePosition=S,t.postTranslate=_,t.setAxisSize=D,t.setAxisTranslation=j,t.setOptions=N}function k(){var t=this.chart,e=this.options,i=this.pane,n=i&&i.options;t.angular&&this.isXAxis||!i||!t.angular&&!t.polar||(t=2*Math.PI,i=(u(n.startAngle,0)-90)*Math.PI/180,n=(u(n.endAngle,u(n.startAngle,0)+360)-90)*Math.PI/180,this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=i,this.endAngleRad=n,this.offset=e.offset||0,n=(n%t+t)%t,(e=(i%t+t)%t)>Math.PI&&(e-=t),n>Math.PI&&(n-=t),this.normalizedStartAngleRad=e,this.normalizedEndAngleRad=n)}function T(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function M(){if(this.chart&&this.chart.labelCollectors){var t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=t&&this.chart.labelCollectors.splice(t,1)}}function A(e){var i,n=this.chart,r=n.inverted,a=n.angular,l=n.polar,h=this.isXAxis,c=this.coll,d=a&&h;e=e.userOptions.pane||0,e=this.pane=n.pane&&n.pane[e],"colorAxis"===c?this.isRadial=!1:(a?(d?(this.isHidden=!0,this.createLabelCollector=o,this.getOffset=s,this.render=this.redraw=O,this.setTitle=this.setCategories=this.setScale=s):C(this),(i=!h)&&(this.defaultPolarOptions=z)):l&&(C(this),this.defaultPolarOptions=(i=this.horiz)?B:p("xAxis"===c?t.defaultXAxisOptions:t.defaultYAxisOptions,H),r&&"yAxis"===c&&(this.defaultPolarOptions.stackLabels=t.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),a||l?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&n.labelCollectors.push(this.labelCollector)):this.isRadial=!1,e&&i&&(e.axis=this),this.isCircular=i)}function P(){this.isRadial&&this.beforeSetTickPositions()}function E(t){var e=this.label;if(e){var i=this.axis,n=e.getBBox(),o=i.options.labels,r=(i.translate(this.pos)+i.startAngleRad+Math.PI/2)/Math.PI*180%360,s=Math.round(r),a=h(o.y)?0:.3*-n.height,l=o.y,c=20,d=o.align,p="end",g=0>s?s+360:s,m=g,y=0,v=0;if(i.isRadial){var x=i.getPosition(this.pos,i.center[2]/2+f(u(o.distance,-25),i.center[2]/2,-i.center[2]/2));"auto"===o.rotation?e.attr({rotation:r}):h(l)||(l=i.chart.renderer.fontMetrics(e.styles&&e.styles.fontSize).b-n.height/2),h(d)||
2(i.isCircular?(n.width>i.len*i.tickInterval/(i.max-i.min)&&(c=0),d=r>c&&r<180-c?"left":r>180+c&&r<360-c?"right":"center"):d="center",e.attr({align:d})),"auto"===d&&2===i.tickPositions.length&&i.isCircular&&(90<g&&180>g?g=180-g:270<g&&360>=g&&(g=540-g),180<m&&360>=m&&(m=360-m),i.pane.options.startAngle!==s&&i.pane.options.startAngle!==s+360&&i.pane.options.startAngle!==s-360||(p="start"),d=-90<=s&&90>=s||-360<=s&&-270>=s||270<=s&&360>=s?"start"===p?"right":"left":"start"===p?"left":"right",70<m&&110>m&&(d="center"),15>g||180<=g&&195>g?y=.3*n.height:15<=g&&35>=g?y="start"===p?0:.75*n.height:195<=g&&215>=g?y="start"===p?.75*n.height:0:35<g&&90>=g?y="start"===p?.25*-n.height:n.height:215<g&&270>=g&&(y="start"===p?n.height:.25*-n.height),15>m?v="start"===p?.15*-n.height:.15*n.height:165<m&&180>=m&&(v="start"===p?.15*n.height:.15*-n.height),e.attr({align:d}),e.translate(v,y+a)),t.pos.x=x.x+(o.x||0),t.pos.y=x.y+(l||0)}}}function L(t){this.axis.getPosition&&c(t.pos,this.axis.getPosition(this.pos))}function _(t,e){var i=this.chart,n=this.center;return t=this.startAngleRad+t,{x:i.plotLeft+n[0]+Math.cos(t)*e,y:i.plotTop+n[1]+Math.sin(t)*e}}function O(){this.isDirty=!1}function D(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var t=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var e=this.postTranslate(this.angleRad,t[3]/2);t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop}this.len=this.width=this.height=(t[2]-t[3])*u(this.sector,1)/2}}function j(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function N(t){(t=this.options=p(this.constructor.defaultOptions,this.defaultPolarOptions,r[this.coll],t)).plotBands||(t.plotBands=[]),d(this,"afterSetOptions")}function I(t,e,i,n,o,r,s){var a=this.axis;return e=a.isRadial?["M",e,i,"L",(t=a.getPosition(this.pos,a.center[2]/2+n)).x,t.y]:t.call(this,e,i,n,o,r,s)}var R=[],B={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},z={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},H={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};e.compose=function(t,e){return-1===R.indexOf(t)&&(R.push(t),a(t,"afterInit",k),a(t,"autoLabelAlign",T),a(t,"destroy",M),a(t,"init",A),a(t,"initialAxisTranslation",P)),-1===R.indexOf(e)&&(R.push(e),a(e,"afterGetLabelPosition",E),a(e,"afterGetPosition",L),g(e.prototype,"getMarkPath",I)),t}}(o||(o={})),o})),e(t,"Series/PolarComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Extensions/Pane.js"],t["Core/Axis/RadialAxis.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o){function r(t,e,i,n){var o=n?1:0,s=0<=e&&e<=t.length-1?e:0>e?t.length-1+e:0,a=t[e=0>s-1?t.length-(1+o):s-1];o=t[s+1>t.length-1?o:s+1];var l=a.plotY,h=o.plotX,c=o.plotY;o=t[s].plotX,s=t[s].plotY,a=(1.5*o+a.plotX)/2.5,l=(1.5*s+l)/2.5,h=(1.5*o+h)/2.5;var d=(1.5*s+c)/2.5;c=Math.sqrt(Math.pow(a-o,2)+Math.pow(l-s,2));var p=Math.sqrt(Math.pow(h-o,2)+Math.pow(d-s,2));return a=Math.atan2(l-s,a-o),d=Math.PI/2+(a+Math.atan2(d-s,h-o))/2,Math.abs(a-d)>Math.PI/2&&(d-=Math.PI),a=o+Math.cos(d)*c,l=s+Math.sin(d)*c,o={rightContX:h=o+Math.cos(Math.PI+d)*p,rightContY:d=s+Math.sin(Math.PI+d)*p,leftContX:a,leftContY:l,plotX:o,plotY:s},i&&(o.prevPointCont=r(t,e,!1,n)),o}function s(){(this.pane||[]).forEach((function(t){t.render()}))}function a(t){var e=t.args[0].xAxis,i=t.args[0].yAxis;t=t.args[0].chart,e&&i&&("polygon"===i.gridLineInterpolation?(e.startOnTick=!0,e.endOnTick=!0):"polygon"===e.gridLineInterpolation&&t.inverted&&(i.startOnTick=!0,i.endOnTick=!0))}function l(){var t=this;this.pane||(this.pane=[]),this.options.pane=L(this.options.pane),this.options.pane.forEach((function(e){new i(e,t)}),this)}function h(t){var e=t.args.marker,i=this.chart.xAxis[0],n=this.chart.yAxis[0],o=this.chart.inverted,r=o?n:i;
2if(i=o?i:n,this.chart.polar){t.preventDefault(),n=(e.attr?e.attr("start"):e.start)-r.startAngleRad,o=e.attr?e.attr("r"):e.r;var s=(e.attr?e.attr("end"):e.end)-r.startAngleRad;e=e.attr?e.attr("innerR"):e.innerR,t.result.x=n+r.pos,t.result.width=s-n,t.result.y=i.len+i.pos-e,t.result.height=e-o}}function c(t){var e=this.chart;if(e.polar&&e.hoverPane&&e.hoverPane.axis){t.preventDefault();var i=e.hoverPane.center,n=this.mouseDownX||0,o=this.mouseDownY||0,r=t.args.chartY,s=t.args.chartX,a=2*Math.PI,l=e.hoverPane.axis.startAngleRad,h=e.hoverPane.axis.endAngleRad,c=e.inverted?e.xAxis[0]:e.yAxis[0],d={},p="arc";if(d.x=i[0]+e.plotLeft,d.y=i[1]+e.plotTop,this.zoomHor){var u=0<l?h-l:Math.abs(l)+Math.abs(h),g=Math.atan2(o-e.plotTop-i[1],n-e.plotLeft-i[0])-l,m=Math.atan2(r-e.plotTop-i[1],s-e.plotLeft-i[0])-l;d.r=i[2]/2,d.innerR=i[3]/2,0>=g&&(g+=a),0>=m&&(m+=a),m<g&&(m=[g,g=m][0]),u<a&&l+m>h+(a-u)/2&&(m=g,g=0>=l?l:0),a=d.start=Math.max(g+l,l),g=d.end=Math.min(m+l,h),"polygon"===c.options.gridLineInterpolation&&(u=a-(m=e.hoverPane.axis).startAngleRad+m.pos,g-=a,p=c.getPlotLinePath({value:c.max}),a=m.toValue(u),u=m.toValue(u+g),a<m.getExtremes().min&&(a=(g=m.getExtremes()).max-(g.min-a)),u<m.getExtremes().min&&(u=(g=m.getExtremes()).max-(g.min-u)),u<a&&(u=[a,a=u][0]),(p=f(p,a,u,m)).push(["L",i[0]+e.plotLeft,e.plotTop+i[1]]),d.d=p,p="path")}this.zoomVert&&(m=e.inverted?e.xAxis[0]:e.yAxis[0],n=Math.sqrt(Math.pow(n-e.plotLeft-i[0],2)+Math.pow(o-e.plotTop-i[1],2)),(r=Math.sqrt(Math.pow(s-e.plotLeft-i[0],2)+Math.pow(r-e.plotTop-i[1],2)))<n&&(n=[r,r=n][0]),r>i[2]/2&&(r=i[2]/2),n<i[3]/2&&(n=i[3]/2),this.zoomHor||(d.start=l,d.end=h),d.r=r,d.innerR=n,"polygon"===m.options.gridLineInterpolation&&(g=m.toValue(m.len+m.pos-n),a=m.toValue(m.len+m.pos-r),p=m.getPlotLinePath({value:a}).concat(m.getPlotLinePath({value:g,reverse:!0})),d.d=p,p="path")),this.zoomHor&&this.zoomVert&&"polygon"===c.options.gridLineInterpolation&&(m=e.hoverPane.axis,a=d.start||0,g=d.end||0,u=a-m.startAngleRad+m.pos,g-=a,a=m.toValue(u),u=m.toValue(u+g),d.d instanceof Array&&(i=d.d.slice(0,d.d.length/2),l=d.d.slice(d.d.length/2,d.d.length),l=C([],l,!0).reverse(),i=f(i,a,u,e=e.hoverPane.axis),(l=f(l,a,u,e))&&(l[0][0]="L"),l=C([],l,!0).reverse(),d.d=i.concat(l),p="path")),t.attrs=d,t.shapeType=p}}function d(){var t=this.chart;t.polar&&(this.polar=new j(this),t.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function p(){if(this.chart.polar&&this.xAxis){var t=this.chart;(this.kdByAngle=t.tooltip&&t.tooltip.shared)?this.searchPoint=u:this.options.findNearestPointBy="xy";for(var i=this.points,n=i.length;n--;)this.preventPostTranslate||this.polar.toXY(i[n]),t.hasParallelCoordinates||this.yAxis.reversed||(E(i[n].y,Number.MIN_VALUE)<this.yAxis.min||i[n].x<this.xAxis.min||i[n].x>this.xAxis.max?(i[n].isNull=!0,i[n].plotY=NaN):i[n].isNull=i[n].isValid&&!i[n].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(T(this,"afterRender",(function(){if(t.polar){var i=this.yAxis.pane.center;if(this.clipCircle)this.clipCircle.animate({x:i[0],y:i[1],r:i[2]/2,innerR:i[3]/2});else{var n=t.renderer,o=i[0],r=i[1],s=i[2]/2,a=i[3]/2;i=_();var l=n.createElement("clipPath").attr({id:i}).add(n.defs);(n=a?n.arc(o,r,s,a,0,2*Math.PI).add(l):n.circle(o,r,s).add(l)).id=i,n.clipPath=l,this.clipCircle=n}this.group.clip(this.clipCircle),this.setClip=e.noop}}))))}}function u(t){var e=this.chart,i=this.xAxis;return i=i.pane&&i.pane.center,this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(t.chartX-(i&&i[0]||0)-e.plotLeft,t.chartY-(i&&i[1]||0)-e.plotTop)})}function f(t,e,i,n){var o=n.tickInterval;n=n.tickPositions;var r=A(n,(function(t){return t>=i})),s=A(C([],n,!0).reverse(),(function(t){return t<=e}));return M(r)||(r=n[n.length-1]),M(s)||(s=n[0],r+=o,t[0][0]="L",t.unshift(t[t.length-3])),(t=t.slice(n.indexOf(s),n.indexOf(r)+1))[0][0]="M",t}function g(t,e){return A(this.pane||[],(function(t){return t.options.id===e}))||t.call(this,e)}function m(t,e,i,n,o,r){var s=this.chart,a=E(n.inside,!!this.options.stacking);s.polar?(t=e.rectPlotX/Math.PI*180,s.inverted?(this.forceDL=s.isInsidePlot(e.plotX,e.plotY),a&&e.shapeArgs?(o=e.shapeArgs,o={x:(o=this.yAxis.postTranslate(((o.start||0
2)+(o.end||0))/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-s.plotLeft,y:o.y-s.plotTop}):e.tooltipPos&&(o={x:e.tooltipPos[0],y:e.tooltipPos[1]}),n.align=E(n.align,"center"),n.verticalAlign=E(n.verticalAlign,"middle")):(null===n.align&&(n.align=20<t&&160>t?"left":200<t&&340>t?"right":"center"),null===n.verticalAlign&&(n.verticalAlign=45>t||315<t?"bottom":135<t&&225>t?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,e,i,n,o,r),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end?i.hide():i.show()):t.call(this,e,i,n,o,r)}function y(t){var e=this.options,i=e.stacking,n=this.chart,r=this.xAxis,s=this.yAxis,a=s.reversed,l=s.center,h=r.startAngleRad,c=r.endAngleRad-h,d=0,p=0,u=0;if(this.preventPostTranslate=!0,t.call(this),r.isRadial){r=(t=this.points).length;var f=s.translate(s.min),g=s.translate(s.max);for(e=e.threshold||0,n.inverted&&P(e)&&(d=s.translate(e),M(d)&&(0>d?d=0:d>c&&(d=c),this.translatedThreshold=d+h));r--;){var m=(e=t[r]).barX,y=e.x,v=e.y;e.shapeType="arc",n.inverted?(e.plotY=s.translate(v),i&&s.stacking?(v=s.stacking.stacks[(0>v?"-":"")+this.stackKey],this.visible&&v&&v[y]&&!e.isNull&&(u=v[y].points[this.getStackIndicator(void 0,y,this.index).key],p=s.translate(u[0]),u=s.translate(u[1]),M(p)&&(p=o.clamp(p,0,c)))):(p=d,u=e.plotY),p>u&&(u=[p,p=u][0]),a?u>f?u=f:p<g?p=g:(p>f||u<g)&&(p=u=c):p<f?p=f:u>g?u=g:(u<f||p>g)&&(p=u=0),s.min>s.max&&(p=u=a?c:0),p+=h,u+=h,l&&(e.barX=m+=l[3]/2),y=Math.max(m,0),v=Math.max(m+e.pointWidth,0),e.shapeArgs={x:l&&l[0],y:l&&l[1],r:v,innerR:y,start:p,end:u},e.opacity=p===u?0:void 0,e.plotY=(M(this.translatedThreshold)&&(p<this.translatedThreshold?p:u))-h):(p=m+h,e.shapeArgs=this.polar.arc(e.yBottom,e.plotY,p,p+e.pointWidth)),this.polar.toXY(e),n.inverted?(m=s.postTranslate(e.rectPlotY,m+e.pointWidth/2),e.tooltipPos=[m.x-n.plotLeft,m.y-n.plotTop]):e.tooltipPos=[e.plotX,e.plotY],l&&(e.ttBelow=e.plotY>l[1])}}}function v(t,e){var i=this;if(this.chart.polar){e=e||this.points;for(var n=0;n<e.length;n++)if(!e[n].isNull){var o=n;break}if(!1!==this.options.connectEnds&&"undefined"!==typeof o){this.connectEnds=!0,e.splice(e.length,0,e[o]);var r=!0}e.forEach((function(t){"undefined"===typeof t.polarPlotY&&i.polar.toXY(t)}))}return o=t.apply(this,[].slice.call(arguments,1)),r&&e.pop(),o}function x(t,e){var i=this.chart,n={xAxis:[],yAxis:[]};return i.polar?i.axes.forEach((function(t){if("colorAxis"!==t.coll){var o=t.isXAxis,r=t.center,s=e.chartX-r[0]-i.plotLeft;r=e.chartY-r[1]-i.plotTop,n[o?"xAxis":"yAxis"].push({axis:t,value:t.translate(o?Math.PI-Math.atan2(s,r):Math.sqrt(Math.pow(s,2)+Math.pow(r,2)),!0)})}})):n=t.call(this,e),n}function b(t,e){this.chart.polar||t.call(this,e)}function w(t,i){var n,o,r,s,a=this,l=this.chart,h=this.group,c=this.markerGroup,d=this.xAxis&&this.xAxis.center,p=l.plotLeft,u=l.plotTop,f=this.options.animation;if(l.polar){if(a.isRadialBar)i||(a.startAngleRad=E(a.translatedThreshold,a.xAxis.startAngleRad),e.seriesTypes.pie.prototype.animate.call(a,i));else if(l.renderer.isSVG)if(f=k(f),a.is("column")){if(!i){var g=d[3]/2;a.points.forEach((function(t){n=t.graphic,r=(o=t.shapeArgs)&&o.r,s=o&&o.innerR,n&&o&&(n.attr({r:g,innerR:g}),n.animate({r:r,innerR:s},a.options.animation))}))}}else i?(t={translateX:d[0]+p,translateY:d[1]+u,scaleX:.001,scaleY:.001},h.attr(t),c&&c.attr(t)):(t={translateX:p,translateY:u,scaleX:1,scaleY:1},h.animate(t,f),c&&c.animate(t,f))}else t.call(this,i)}function S(t,e,i,n){return this.chart.polar?n?(e=(t=r(e,n,!0,this.connectEnds)).prevPointCont&&t.prevPointCont.rightContX,i=t.prevPointCont&&t.prevPointCont.rightContY,t=["C",P(e)?e:t.plotX,P(i)?i:t.plotY,P(t.leftContX)?t.leftContX:t.plotX,P(t.leftContY)?t.leftContY:t.plotY,t.plotX,t.plotY]):t=["M",i.plotX,i.plotY]:t=t.call(this,e,i,n),t}var C=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))},k=t.animObject,T=o.addEvent,M=o.defined,A=o.find,P=o.isNumber,E=o.pick,L=o.splat,_=o.uniqueKey,O=o.wrap,D=[],j=function(){function t(t){this.series=t}
2return t.compose=function(t,e,i,o,r,u,f,C,k){n.compose(t,r),-1===D.indexOf(e)&&(D.push(e),T(e,"afterDrawChartBox",s),T(e,"getAxes",l),T(e,"init",a),O(e.prototype,"get",g)),-1===D.indexOf(i)&&(D.push(i),t=i.prototype,O(t,"getCoordinates",x),O(t,"pinch",b),T(i,"getSelectionMarkerAttrs",c),T(i,"getSelectionBox",h)),-1===D.indexOf(o)&&(D.push(o),T(o,"afterInit",d),T(o,"afterTranslate",p,{order:2}),O(o.prototype,"animate",w)),f&&-1===D.indexOf(f)&&(D.push(f),i=f.prototype,O(i,"alignDataLabel",m),O(i,"animate",w),O(i,"translate",y)),C&&-1===D.indexOf(C)&&(D.push(C),O(C.prototype,"getGraphPath",v)),k&&-1===D.indexOf(k)&&(D.push(k),C=k.prototype,O(C,"getPointSpline",S),u&&-1===D.indexOf(u)&&(D.push(u),u.prototype.getPointSpline=C.getPointSpline))},t.prototype.arc=function(t,e,i,n){var o=this.series,r=o.xAxis.center,s=o.yAxis.len,a=r[3]/2;return e=s-e+a,t=s-E(t,s)+a,o.yAxis.reversed&&(0>e&&(e=a),0>t&&(t=a)),{x:r[0],y:r[1],r:e,innerR:t,start:i,end:n}},t.prototype.toXY=function(t){var e=this.series,i=e.chart,n=e.xAxis,o=e.yAxis,r=t.plotX,s=i.inverted,a=t.y,l=t.plotY,h=s?r:o.len-l;s&&e&&!e.isRadialBar&&(t.plotY=l=P(a)?o.translate(a):0),t.rectPlotX=r,t.rectPlotY=l,o.center&&(h+=o.center[3]/2),P(l)&&(o=s?o.postTranslate(l,h):n.postTranslate(r,h),t.plotX=t.polarPlotX=o.x-i.plotLeft,t.plotY=t.polarPlotY=o.y-i.plotTop),e.kdByAngle?(0>(e=(r/Math.PI*180+n.pane.options.startAngle)%360)&&(e+=360),t.clientX=e):t.clientX=t.plotX},t}();return j})),e(t,"masters/highcharts-more.src.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Series/Bubble/BubbleSeries.js"],t["Series/PackedBubble/PackedBubbleSeries.js"],t["Series/PolarComposition.js"]],(function(t,e,i,n,o){i.compose(t.Axis,t.Chart,t.Legend,t.Series),n.compose(t.Axis,t.Chart,t.Legend,t.Series),o.compose(t.Axis,t.Chart,t.Pointer,t.Series,t.Tick,e.seriesTypes.areasplinerange,e.seriesTypes.column,e.seriesTypes.line,e.seriesTypes.spline)}))},t.exports?(r.default=r,t.exports=r):(n=[i(1)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))},29:function(t,e,i){"use strict";i.r(e);i(11);var n=i(1),o=i.n(n);function r(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var a=function(t){var e=t.series_data[0][0].data.flat().filter((function(t){return"string"!=typeof t})),i=Math.max.apply(Math,r(e));Math.min.apply(Math,r(e));Highcharts.chart("container",{chart:{type:"packedbubble",style:{fontFamily:"'Marianne', sans-serif"}},exporting:{buttons:{contextButton:{menuItems:["viewFullscreen","printChart"]}}},colors:t.colorsCol,legend:{verticalAlign:"top",enabled:!0,layout:"horizontal",title:{style:{fontWeight:"bolder",fontSize:"18"},text:""}},title:{text:"".concat(t.titleChart)},tooltip:{useHTML:!0,pointFormat:"<b>{point.name}:</b> {point.value} \u20ac<sub></sub>"},plotOptions:{packedbubble:{minSize:"5%",maxSize:"100%",layoutAlgorithm:{gravitationalConstant:.05,splitSeries:!0,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeLimit:!0},dataLabels:{enabled:!0,format:"{point.name}",filter:{property:"y",operator:">",value:i/10},style:{color:"black",textOutline:"none",fontWeight:"normal"}}}},series:t.series_data[0]})},l=function(t){var e=document.getElementById("btn-selected-option");e&&e.addEventListener("click",(function(i){t.forEach((function(t){t.classList.contains("btn-active")&&(e.dataset.target="idCat".concat(t.dataset.idCat),e.attributes["aria-controls"].value="fr-modal-".concat(t.dataset.idCat))}))}))},h=function(t){var e=document.getElementById("btn-selected-option");e&&t.forEach((function(t){t.classList.contains("btn-active")&&(e.dataset.target="idCat".concat(t.dataset.idCat),e.attributes["aria-controls"].value="fr-modal-".concat(t.dataset.idCat))}))},c=function(t){t.forEach((function(t){t.classList.remove("btn-active"),d(t,"fal
2se")}))},d=function(t,e){t.setAttribute("aria-current",e),t.setAttribute("aria-pressed",e)},p=function(){var t;t=document.querySelectorAll(".btn-data-views"),l(t),t.length>0&&t.forEach((function(e){e.addEventListener("click",(function(e){c(t),e.currentTarget.classList.toggle("btn-active"),e.currentTarget.classList.contains("btn-active")&&d(e.currentTarget,"true"),h(t)}))}));var e=document.getElementById("infos-dataviz");e&&("hist"==e.dataset.template?function(){var t=document.getElementById("infos-dataviz");if(t){var e=t.dataset.xaxisCategories;e=JSON.parse("["+e+"]")[0];var i=t.dataset.series;i=JSON.parse("["+i+"]");var n=t.dataset.titleChart,o=JSON.parse(t.dataset.colorsCol);Highcharts.chart("container",{chart:{type:"bar",style:{fontFamily:"'Marianne', sans-serif"},ignoreHiddenSeries:!1},colors:o,title:{text:n},xAxis:[{showEmpty:!1,opposite:!1,max:18,categories:e}],yAxis:{min:0,title:{text:""}},legend:{enabled:!0,layout:"vertical",reversed:!0,title:{style:{fontWeight:"bolder",fontSize:"18"},text:""}},plotOptions:{column:{stacking:"normal",pointWidth:10,minPointLength:0},funnel:{height:"10%"},series:{borderRadius:5}},series:i[0]})}}():"bar_cum"==e.dataset.template?function(){var t=document.getElementById("infos-dataviz");if(t){var e=t.dataset.series;e=JSON.parse("["+e+"]");var i=t.dataset.titleChart,n=JSON.parse(t.dataset.colorsCol);Highcharts.chart("container",{chart:{type:"column",style:{fontFamily:"'Marianne', sans-serif"}},legend:{enabled:!0,layout:"vertical",reversed:!0,title:{style:{fontWeight:"bolder",fontSize:"18"},text:""}},colors:n,title:{text:i},xAxis:[{max:18,type:"category",showEmpty:!1,labels:{format:"{text}",formatter:function(){return"number"==typeof this.value?"".concat(this.value," - Comparer "):this.value}}}],yAxis:{min:0,max:99,title:{text:"R\xe9partition en pourcentage"},labels:{format:"{value:.1f}%"}},tooltip:{pointFormat:'<span style="color:{series.color}">{series.name}</span>: <b>{point.y}</b> ({point.percentage:.0f}%)<br/>',shared:!0},plotOptions:{column:{stacking:"percent",pointWidth:10,minPointLength:0,dataSorting:{enabled:!0,matchByName:!1,sortKey:"x"}},funnel:{height:"10%"},series:{borderRadius:5}},series:e[0]})}}():"line"==e.dataset.template?function(){var t=document.getElementById("infos-dataviz");if(t){var e=t.dataset.xaxisCategories;e=JSON.parse("["+e+"]")[0];var i=t.dataset.series;i=JSON.parse("["+i+"]");var n=t.dataset.titleChart,o=JSON.parse(t.dataset.colorsCol);Highcharts.chart("container",{chart:{type:"bar",style:{fontFamily:"'Marianne', sans-serif"},ignoreHiddenSeries:!1},colors:o,title:{text:n},xAxis:[{max:18,categories:e}],yAxis:{min:0,title:{text:""}},legend:{enabled:!0,layout:"vertical",reversed:!1,title:{style:{fontWeight:"bolder",fontSize:"18"},text:"R\xe9partition par"}},plotOptions:{column:{stacking:"",pointWidth:5,minPointLength:0},funnel:{height:"10%"},series:{borderRadius:2}},series:i[0]})}}():"bubble"==e.dataset.template&&function(){var t=document.getElementById("infos-dataviz");if(t){var e=t.dataset.xaxisCategories;e=JSON.parse("["+e+"]")[0];var i=t.dataset.series;i=JSON.parse("["+i+"]");var n=t.dataset.titleChart,o=JSON.parse(t.dataset.colorsCol);a({titleChart:n,series_data:i,colorsCol:o})}}(),u({paramsAndId:"dataset"}),u({paramsAndId:"ordering-col"}),u({paramsAndId:"increase-col"})),document.querySelectorAll(".cta-radio-button-dataset").forEach((function(t){t&&t.addEventListener("click",(function(t){var e=document.querySelectorAll("#radio-button-dataset input:checked")[0];window.location=window.location.origin+window.location.pathname+"?dataset="+e.value+"#anchor-chart"}))}))},u=function(t){var e=document.getElementById(t.paramsAndId);e&&e.addEventListener("change",(function(e){var i=window.location.origin+window.location.pathname;"ordering-col"==t.paramsAndId?window.location=i+"?"+f(t)+"&"+g(t):"increase-col"==t.paramsAndId?window.location=i+"?"+g(t)+"&"+f(t):window.location=window.location.origin+window.location.pathname+"?"+"".concat(t.paramsAndId,"=")+e.currentTarget.value+"#anchor-chart"}))},f=function(t){if(document.getElementById("dataset"))document.getElementById("dataset").value;var e=document.getElementById("autocomplete-form").querySelectorAll("input"),i=[];return e.forEach((function(t){var e=t.name,n=t.value;i.push("".concat(e,"=").concat(n))})),"ordering-col="+document.querySelector("#ordering-col option:checked").value+"&".concat(i.join("&"))},g=function(t){return"upOrDown="+("radio-inline-up"==document.querySelector("#increase-col option:checked").id?"up":"down")};function m(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var y=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.links=document.querySelectorAll(".add_fields"),this.iterateLinks()}var e,i,n;return e=t,(i=[{key:"iterateLinks",value:function(){var t=this;0!==this.links.length&&this.links.forEach((function(e){e.addEventListener("click",(function(i){t.handleClick(e,i)}))}))}},{key:"handleClick",value:function(t,e){if(t&&e){e.preventDefault();var i=(new Date).getTime(),n=t.dataset.id,o=n?new RegExp(n,"g"):null,r=o?t.dataset.f
2ields.replace(o,i):null;r&&t.insertAdjacentHTML("beforebegin",r)}}}])&&m(e.prototype,i),n&&m(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function v(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var x=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.iterateLinks()}var e,i,n;return e=t,(i=[{key:"iterateLinks",value:function(){var t=this;document.addEventListener("click",(function(e){e.target&&e.target.className.includes("remove_fields")&&t.handleClick(e.target,e)}))}},{key:"handleClick",value:function(t,e){if(t&&e){e.preventDefault();var i=t.closest(".name_column_fields"),n=i?i.querySelector('input[type="hidden"]'):null;n&&(n.value=1,i.style.display="none")}}}])&&v(e.prototype,i),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),b=i(15);i.n(b)()(o.a),i(24)(o.a),document.addEventListener("turbolinks:load",(function(){window.Highcharts=o.a;var t="T\xe9l\xe9charger en";o.a.setOptions({lang:{downloadCSV:"".concat(t," CSV"),downloadJPEG:"".concat(t," JPEG image"),downloadPDF:"".concat(t," PDF document"),downloadPNG:"".concat(t," PNG image"),downloadSVG:"".concat(t," SVG vector image"),downloadXLS:"".concat(t," XLS"),viewFullscreen:"Voir en plein \xe9cran",printChart:"Imprimer le graphique",drillUpText:void 0,exitFullscreen:"Quitter le plein \xe9cran"}}
vendor: 4,099 bytes, line 2
2),p(),new y,new x}))},3:function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},6:function(t,e,i){var n;!function(e,i){"use strict";"object"===typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!==typeof window?window:this,(function(i,o){"use strict";var r=[],s=Object.getPrototypeOf,a=r.slice,l=r.flat?function(t){return r.flat.call(t)}:function(t){return r.concat.apply([],t)},h=r.push,c=r.indexOf,d={},p=d.toString,u=d.hasOwnProperty,f=u.toString,g=f.call(Object),m={},y=function(t){return"function"===typeof t&&"number"!==typeof t.nodeType&&"function"!==typeof t.item},v=function(t){return null!=t&&t===t.window},x=i.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,i){var n,o,r=(i=i||x).createElement("script");if(r.text=t,e)for(n in b)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&r.setAttribute(n,o);i.head.appendChild(r).parentNode.removeChild(r)}function S(t){return null==t?t+"":"object"===typeof t||"function"===typeof t?d[p.call(t)]||"object":typeof t}var C="3.6.1",k=function(t,e){return new k.fn.init(t,e)};function T(t){var e=!!t&&"length"in t&&t.length,i=S(t);return!y(t)&&!v(t)&&("array"===i||0===e||"number"===typeof e&&e>0&&e-1 in t)}k.fn=k.prototype={jquery:C,constructor:k,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=k.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return k.each(this,t)},map:function(t){return this.pushStack(k.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:r.sort,splice:r.splice},k.extend=k.fn.extend=function(){var t,e,i,n,o,r,s=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"===typeof s&&(h=s,s=arguments[a]||{},a++),"object"===typeof s||y(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=t[e],"__proto__"!==e&&s!==n&&(h&&n&&(k.isPlainObject(n)||(o=Array.isArray(n)))?(i=s[e],r=o&&!Array.isArray(i)?[]:o||k.isPlainObject(i)?i:{},o=!1,s[e]=k.extend(h,r,n)):void 0!==n&&(s[e]=n));return s},k.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==p.call(t))&&(!(e=s(t))||"function"===typeof(i=u.call(e,"constructor")&&e.constructor)&&f.call(i)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,i){w(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if(T(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},makeArray:function(t,e){var i=e||[];return null!=t&&(T(Object(t))?k.merge(i,"string"===typeof t?[t]:t):h.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:c.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;n<i;n++)t[o++]=e[n];return t.length=o,t},grep:function(t,e,i){for(var n=[],o=0,r=t.length,s=!i;o<r;o++)!e(t[o],o)!==s&&n.push(t[o]);return n},map:function(t,e,i){var n,o,r=0,s=[];if(T(t))for(n=t.length;r<n;r++)null!=(o=e(t[r],r,i))&&s.push(o);else for(r in t)null!=(o=e(t[r],r,i))&&s.push(o);return l(s)},guid:1,support:m}),"function"===typeof Symbol&&(k.fn[Symbol.iterator]=r[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){d["[object "+e+"]"]=e.toLowerCase()}));var M=function(t){var e,i,n,o,r,s,a,l,h,c,d,p,u,f,g,m,y,v,x,b="sizzle"+1*ne
vendor: 11,764 bytes, line 2
2w Date,w=t.document,S=0,C=0,k=lt(),T=lt(),M=lt(),A=lt(),P=function(t,e){return t===e&&(d=!0),0},E={}.hasOwnProperty,L=[],_=L.pop,O=L.push,D=L.push,j=L.slice,N=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",z="\\[[\\x20\\t\\r\\n\\f]*("+B+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+R+"*\\]",H=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",X=new RegExp(R+"+","g"),W=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),F=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),Y=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),G=new RegExp(R+"|>"),U=new RegExp(H),q=new RegExp("^"+B+"$"),V={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,$=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),it=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){p()},st=bt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{D.apply(L=j.call(w.childNodes),w.childNodes),L[w.childNodes.length].nodeType}catch(Tt){D={apply:L.length?function(t,e){O.apply(t,j.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function at(t,e,n,o){var r,a,h,c,d,f,y,v=e&&e.ownerDocument,w=e?e.nodeType:9;if(n=n||[],"string"!==typeof t||!t||1!==w&&9!==w&&11!==w)return n;if(!o&&(p(e),e=e||u,g)){if(11!==w&&(d=J.exec(t)))if(r=d[1]){if(9===w){if(!(h=e.getElementById(r)))return n;if(h.id===r)return n.push(h),n}else if(v&&(h=v.getElementById(r))&&x(e,h)&&h.id===r)return n.push(h),n}else{if(d[2])return D.apply(n,e.getElementsByTagName(t)),n;if((r=d[3])&&i.getElementsByClassName&&e.getElementsByClassName)return D.apply(n,e.getElementsByClassName(r)),n}if(i.qsa&&!A[t+" "]&&(!m||!m.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(y=t,v=e,1===w&&(G.test(t)||Y.test(t))){for((v=tt.test(t)&&yt(e.parentNode)||e)===e&&i.scope||((c=e.getAttribute("id"))?c=c.replace(nt,ot):e.setAttribute("id",c=b)),a=(f=s(t)).length;a--;)f[a]=(c?"#"+c:":scope")+" "+xt(f[a]);y=f.join(",")}try{return D.apply(n,v.querySelectorAll(y)),n}catch(S){A(t,!0)}finally{c===b&&e.removeAttribute("id")}}}return l(t.replace(W,"$1"),e,n,o)}function lt(){var t=[];return function e(i,o){return t.push(i+" ")>n.cacheLength&&delete e[t.shift()],e[i+" "]=o}}function ht(t){return t[b]=!0,t}function ct(t){var e=u.createElement("fieldset");try{return!!t(e)}catch(Tt){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var i=t.split("|"),o=i.length;o--;)n.attrHandle[i[o]]=e}function pt(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ut(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ft(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ht((function(e){return e=+e,ht((function(i,n){for(var o,r=t([],i.length,e),s=r.length;s--;)i[o=r[s]]&&(i[o]=!(n[o]=i[o]))}))}))}function yt(t){return t&&"undefined"!==typeof t.getElementsByTagName&&t}for(e in i=at.support={},r=at.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!K.test(e||i&&i.nodeName||"HTML")},p=at.setDocument=function(t){var e,o,s=t?t.ownerDocument||t:w;return s!=u&&9===s.nodeType&&s.documentElement?(f=(u=s).documentElement,g=!r(u),w!=u&&(o=u.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",rt,!1):o.attachEvent&&o.attachEvent("onunload",rt)),i.scope=ct((function(t){return f.appendChild(t).appendChild(u.createElement("div")),"undefined"!==typeof t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),i.attributes=ct((function(t){return t.className="i",!t.getAttribute("className")})),i.getElementsByTagName=ct((function(t){return t.appendChild(u.createComment("")),!t.getElementsByTagName("*").length})),i.getElementsByClassName=Q.test(u.getElementsByClassName),i.getById=ct((function(t){return f.appendChild(t).id=b,!u.getElementsByName||!u.getElementsByName(b).length})),i.getById?(n.filter.ID=function(t){var e=t.replace(et,it);return function(t){return t.getAttribute("id")===e}},n.find.ID=function(t,e){if("undefined"!==typeof e.getElementById&&g){var i=e.getElementById(t);return i?[i]:[]}}):(n.filter.ID=function(t){var e=t.replace(et,it);return function(t){var i="undefined"!==typeof t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},n.find.ID=function(t,e){if("undefined"!==typeof e.getElementById&&g){var i,n,o,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(o=e.getElementsByName(t),n=0;r=o[n++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),n.find.TAG=i.getElementsByTagName?function(t,e){return"undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t):i.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;i=r[o++];)1===i.nodeType&&n.push(i);return n}return r},n.find.CLASS=i.getElementsByClassName&&function(t,e){if("undefined"!==typeof e.getElementsByClassName&&g)return e.getElementsByClassName(t)},y=[],m=[],(i.qsa=Q.test(u.querySelectorAll))&&(ct((function(t){var e;f.appendChild(t).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+I+")"),t.querySelectorAll("[id~="+b+"-]").length||m.push("~="),(e=u.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ct((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=u.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(i.matchesSelector=Q.test(v=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ct((function(t){i.disconnectedMatch=v.call(t,"*"),v.call(t,"[s!='']:x"),y.push("!=",H)})),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),e=Q.test(f.compareDocumentPosition),x=e||Q.test(f.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},P=e?function(t,e){if(t===e)return d=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!i.sortDetached&&e.compareDocumentPosition(t)===n?t==u||t.ownerDocument==w&&x(w,t)?-1:e==u||e.ownerDocument==w&&x(w,e)?1:c?N(c,t)-N(c,e):0:4&n?-1:1)}:function(t,e){if(t===e)return d=!0,0;var i,n=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t==u?-1:e==u?1:o?-1:r?1:c?N(c,t)-N(c,e):0;if(o===r)return pt(t,e);for(i=t;i=i.parentNode;)s.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;s[n]===a[n];)n++;return n?pt(s[n],a[n]):s[n]==w?-1:a[n]==w?1:0},u):u},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(p(t),i.matchesSelector&&g&&!A[e+" "]&&(!y||!y.test(e))&&(!m||!m.test(e)))try{var n=v.call(t,e);if(n||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(Tt){A(e,!0)}return at(e,u,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=u&&p(t),x(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=u&&p(t);var o=n.attrHandle[e.toLowerCase()],r=o&&E.call(n.attrHandle,e.toLowerCase())?o(t,e,!g):void 0;return void 0!==r?r:i.attributes||!g?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},at.escape=function(t){return(t+"").replace(nt,ot)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,n=[],o=0,r=0;if(d=!i.detectDuplicates,c=!i.sortStable&&t.slice(0),t.sort(P),d){for(;e=t[r++];)e===t[r]&&(o=n.push(r));for(;o--;)t.splice(n[o],1)}return c=null,t},o=at.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"===typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=o(e);return i},n=at.selectors={cacheLength:50,createPseudo:ht,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,it),t[3]=(t[3]||t[4]||t[5]||"").replace(et,it),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&U.test(i)&&(e=s(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=k[t+" "];return e||(e=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+t+"("+R+"|$)"))&&k(t,(function(t){return e.test("string"===typeof t.className&&t.className||"undefined"!==typeof t.getAttribute&&t.getAttribute("class")||"")}))}
vendor: 10,059 bytes, line 2
2,ATTR:function(t,e,i){return function(n){var o=at.attr(n,t);return null==o?"!="===e:!e||(o+="","="===e?o===i:"!="===e?o!==i:"^="===e?i&&0===o.indexOf(i):"*="===e?i&&o.indexOf(i)>-1:"$="===e?i&&o.slice(-i.length)===i:"~="===e?(" "+o.replace(X," ")+" ").indexOf(i)>-1:"|="===e&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,l){var h,c,d,p,u,f,g=r!==s?"nextSibling":"previousSibling",m=e.parentNode,y=a&&e.nodeName.toLowerCase(),v=!l&&!a,x=!1;if(m){if(r){for(;g;){for(p=e;p=p[g];)if(a?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;f=g="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?m.firstChild:m.lastChild],s&&v){for(x=(u=(h=(c=(d=(p=m)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===S&&h[1])&&h[2],p=u&&m.childNodes[u];p=++u&&p&&p[g]||(x=u=0)||f.pop();)if(1===p.nodeType&&++x&&p===e){c[t]=[S,u,x];break}}else if(v&&(x=u=(h=(c=(d=(p=e)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===S&&h[1]),!1===x)for(;(p=++u&&p&&p[g]||(x=u=0)||f.pop())&&((a?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++x||(v&&((c=(d=p[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]=[S,x]),p!==e)););return(x-=o)===n||x%n===0&&x/n>=0}}},PSEUDO:function(t,e){var i,o=n.pseudos[t]||n.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return o[b]?o(e):o.length>1?(i=[t,t,"",e],n.setFilters.hasOwnProperty(t.toLowerCase())?ht((function(t,i){for(var n,r=o(t,e),s=r.length;s--;)t[n=N(t,r[s])]=!(i[n]=r[s])})):function(t){return o(t,0,i)}):o}},pseudos:{not:ht((function(t){var e=[],i=[],n=a(t.replace(W,"$1"));return n[b]?ht((function(t,e,i,o){for(var r,s=n(t,null,o,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))})):function(t,o,r){return e[0]=t,n(e,null,r,i),e[0]=null,!i.pop()}})),has:ht((function(t){return function(e){return at(t,e).length>0}})),contains:ht((function(t){return t=t.replace(et,it),function(e){return(e.textContent||o(e)).indexOf(t)>-1}})),lang:ht((function(t){return q.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,it).toLowerCase(),function(e){var i;do{if(i=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===f},focus:function(t){return t===u.activeElement&&(!u.hasFocus||u.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!n.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return $.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,i){return[i<0?i+e:i]})),even:mt((function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t})),odd:mt((function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t})),lt:mt((function(t,e,i){for(var n=i<0?i+e:i>e?e:i;--n>=0;)t.push(n);return t})),gt:mt((function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t}))}},n.pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=ut(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=ft(e);function vt(){}function xt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function bt(t,e,i){var n=e.dir,o=e.next,r=o||n,s=i&&"parentNode"===r,a=C++;return e.first?function(e,i,o){for(;e=e[n];)if(1===e.nodeType||s)return t(e,i,o);return!1}:function(e,i,l){var h,c,d,p=[S,a];if(l){for(;e=e[n];)if((1===e.nodeType||s)&&t(e,i,l))return!0}else for(;e=e[n];)if(1===e.nodeType||s)if(c=(d=e[b]||(e[b]={}))[e.uniqueID]||(d[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[n]||e;else{if((h=c[r])&&h[0]===S&&h[1]===a)return p[2]=h[2];if(c[r]=p,p[2]=t(e,i,l))return!0}return!1}}function wt(t){return t.length>1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function St(t,e,i,n,o){for(var r,s=[],a=0,l=t.length,h=null!=e;a<l;a++)(r=t[a])&&(i&&!i(r,n,o)||(s.push(r),h&&e.push(a)));return s}function Ct(t,e,i,n,o,r){return n&&!n[b]&&(n=Ct(n)),o&&!o[b]&&(o=Ct(o,r)),ht((function(r,s,a,l){var h,c,d,p=[],u=[],f=s.length,g=r||function(t,e,i){for(var n=0,o=e.length;n<o;n++)at(t,e[n],i);return i}(e||"*",a.nodeType?[a]:a,[]),m=!t||!r&&e?g:St(g,p,t,a,l),y=i?o||(r?t:f||n)?[]:s:m;if(i&&i(m,y,a,l),n)for(h=St(y,u),n(h,[],a,l),c=h.length;c--;)(d=h[c])&&(y[u[c]]=!(m[u[c]]=d));if(r){if(o||t){if(o){for(h=[],c=y.length;c--;)(d=y[c])&&h.push(m[c]=d);o(null,y=[],h,l)}for(c=y.length;c--;)(d=y[c])&&(h=o?N(r,d):p[c])>-1&&(r[h]=!(s[h]=d))}}else y=St(y===s?y.splice(f,y.length):y),o?o(null,s,y,l):D.apply(s,y)}))}function kt(t){for(var e,i,o,r=t.length,s=n.relative[t[0].type],a=s||n.relative[" "],l=s?1:0,c=bt((function(t){return t===e}),a,!0),d=bt((function(t){return N(e,t)>-1}),a,!0),p=[function(t,i,n){var o=!s&&(n||i!==h)||((e=i).nodeType?c(t,i,n):d(t,i,n));return e=null,o}];l<r;l++)if(i=n.relative[t[l].type])p=[bt(wt(p),i)];else{if((i=n.filter[t[l].type].apply(null,t[l].matches))[b]){for(o=++l;o<r&&!n.relative[t[o].type];o++);return Ct(l>1&&wt(p),l>1&&xt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(W,"$1"),i,l<o&&kt(t.slice(l,o)),o<r&&kt(t=t.slice(o)),o<r&&xt(t))}p.push(i)}return wt(p)}return vt.prototype=n.filters=n.pseudos,n.setFilters=new vt,s=at.tokenize=function(t,e){var i,o,r,s,a,l,h,c=T[t+" "];if(c)return e?0:c.slice(0);for(a=t,l=[],h=n.preFilter;a;){for(s in i&&!(o=F.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),i=!1,(o=Y.exec(a))&&(i=o.shift(),r.push({value:i,type:o[0].replace(W," ")}),a=a.slice(i.length)),n.filter)!(o=V[s].exec(a))||h[s]&&!(o=h[s](o))||(i=o.shift(),r.push({value:i,type:s,matches:o}),a=a.slice(i.length));if(!i)break}return e?a.length:a?at.error(t):T(t,l).slice(0)},a=at.compile=function(t,e){var i,o=[],r=[],a=M[t+" "];if(!a){for(e||(e=s(t)),i=e.length;i--;)(a=kt(e[i]))[b]?o.push(a):r.push(a);a=M(t,function(t,e){var i=e.length>0,o=t.length>0,r=function(r,s,a,l,c){var d,f,m,y=0,v="0",x=r&&[],b=[],w=h,C=r||o&&n.find.TAG("*",c),k=S+=null==w?1:Math.random()||.1,T=C.length;for(c&&(h=s==u||s||c);v!==T&&null!=(d=C[v]);v++){if(o&&d){for(f=0,s||d.ownerDocument==u||(p(d),a=!g);m=t[f++];)if(m(d,s||u,a)){l.push(d);break}c&&(S=k)}i&&((d=!m&&d)&&y--,r&&x.push(d))}if(y+=v,i&&v!==y){for(f=0;m=e[f++];)m(x,b,s,a);if(r){if(y>0)for(;v--;)x[v]||b[v]||(b[v]=_.call(l));b=St(b)}D.apply(l,b),c&&!r&&b.length>0&&y+e.length>1&&at.uniqueSort(l)}return c&&(S=k,h=w),x};return i?ht(r):r}(r,o)),a.selector=t}return a},l=at.select=function(t,e,i,o){var r,l,h,c,d,p="function"===typeof t&&t,u=!o&&s(t=p.selector||t);if(i=i||[],1===u.length){if((l=u[0]=u[0].slice(0)).length>2&&"ID"===(h=l[0]).type&&9===e.nodeType&&g&&n.relative[l[1].type]){if(!(e=(n.find.ID(h.matches[0].replace(et,it),e)||[])[0]))return i;p&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(r=V.needsContext.test(t)?0:l.length;r--&&(h=l[r],!n.relative[c=h.type]);)if((d=n.find[c])&&(o=d(h.matches[0].replace(et,it),tt.test(l[0].type)&&yt(e.parentNode)||e))){if(l.splice(r,1),!(t=o.length&&xt(l)))return D.apply(i,o),i;break}}return(p||a(t,u))(o,e,!g,i,!e||tt.test(t)&&yt(e.parentNode)||e),i},i.sortStable=b.split("").sort(P).join("")===b,i.detectDuplicates=!!d,p(),i.sortDetached=ct((function(t){return 1&t.compareDocumentPosition(u.createElement("fieldset"))})),ct((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||dt("type|href|height|width",(function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),i.attributes&&ct((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||dt("value",(function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ct((function(t){return null==t.getAttribute("disabled")}))||dt(I,(function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null})),at}(i);k.find=M,k.expr=M.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=M.uniqueSort,k.text=M.getText,k.isXMLDoc=M.isXML,k.contains=M.contains,k.escapeSelector=M.escape;var A=function(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&k(t).is(i))break;n.push(t)}return n},P=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},E=k.expr.match.needsContext;function L(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var _=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(t,e,i){return y(e)?k.grep(t,(function(t,n){return!!e.call(t,n,t)!==i})):e.nodeType?k.grep(t,(function(t){return t===e!==i})):"string"!==typeof e?k.grep(t,(function(t){return c.call(e,t)>-1!==i})):k.filter(e,t,i)}k.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?k.find.matchesSelector(n,t)?[n]:[]:k.find.matches(t,k.grep(e,(function(t){return 1===t.nodeType})))},k.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!==typeof t)return this.pushStack(k(t).filter((function(){for(e=0;e<n;e++)if(k.contains(o[e],this))return!0})));for(i=this.pushStack([]),e=0;e<n;e++)k.find(t,o[e],i);return n>1?k.uniqueSort(i):i},filter:function(t){return this.pushStack(O(this,t||[],!1))},not:function(t){return this.pushStack(O(this,t||[],!0))},is:function(t){return!!O(this,"string"===typeof t&&E.test(t)?k(t):t||[],!1).length}});var D,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
vendor: 4,787 bytes, line 2
2(k.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||D,"string"===typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:j.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof k?e[0]:e,k.merge(this,k.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:x,!0)),_.test(n[1])&&k.isPlainObject(e))for(n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=x.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(k):k.makeArray(t,this)}).prototype=k.fn,D=k(x);var N=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function R(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}k.fn.extend({has:function(t){var e=k(t,this),i=e.length;return this.filter((function(){for(var t=0;t<i;t++)if(k.contains(this,e[t]))return!0}))},closest:function(t,e){var i,n=0,o=this.length,r=[],s="string"!==typeof t&&k(t);if(!E.test(t))for(;n<o;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(s?s.index(i)>-1:1===i.nodeType&&k.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(r.length>1?k.uniqueSort(r):r)},index:function(t){return t?"string"===typeof t?c.call(k(t),this[0]):c.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),k.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return A(t,"parentNode")},parentsUntil:function(t,e,i){return A(t,"parentNode",i)},next:function(t){return R(t,"nextSibling")},prev:function(t){return R(t,"previousSibling")},nextAll:function(t){return A(t,"nextSibling")},prevAll:function(t){return A(t,"previousSibling")},nextUntil:function(t,e,i){return A(t,"nextSibling",i)},prevUntil:function(t,e,i){return A(t,"previousSibling",i)},siblings:function(t){return P((t.parentNode||{}).firstChild,t)},children:function(t){return P(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(L(t,"template")&&(t=t.content||t),k.merge([],t.childNodes))}},(function(t,e){k.fn[t]=function(i,n){var o=k.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"===typeof n&&(o=k.filter(n,o)),this.length>1&&(I[t]||k.uniqueSort(o),N.test(t)&&o.reverse()),this.pushStack(o)}}));var B=/[^\x20\t\r\n\f]+/g;function z(t){return t}function H(t){throw t}function X(t,e,i,n){var o;try{t&&y(o=t.promise)?o.call(t).done(e).fail(i):t&&y(o=t.then)?o.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}k.Callbacks=function(t){t="string"===typeof t?function(t){var e={};return k.each(t.match(B)||[],(function(t,i){e[i]=!0})),e}(t):k.extend({},t);var e,i,n,o,r=[],s=[],a=-1,l=function(){for(o=o||t.once,n=e=!0;s.length;a=-1)for(i=s.shift();++a<r.length;)!1===r[a].apply(i[0],i[1])&&t.stopOnFalse&&(a=r.length,i=!1);t.memory||(i=!1),e=!1,o&&(r=i?[]:"")},h={add:function(){return r&&(i&&!e&&(a=r.length-1,s.push(i)),function e(i){k.each(i,(function(i,n){y(n)?t.unique&&h.has(n)||r.push(n):n&&n.length&&"string"!==S(n)&&e(n)}))}(arguments),i&&!e&&l()),this},remove:function(){return k.each(arguments,(function(t,e){for(var i;(i=k.inArray(e,r,i))>-1;)r.splice(i,1),i<=a&&a--})),this},has:function(t){return t?k.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=i="",this},disabled:function(){return!r},lock:function(){return o=s=[],i||e||(r=i=""),this},locked:function(){return!!o},fireWith:function(t,i){return o||(i=[t,(i=i||[]).slice?i.slice():i],s.push(i),e||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},k.extend({Deferred:function(t){var e=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return k.Deferred((function(i){k.each(e,(function(e,n){var o=y(t[n[4]])&&t[n[4]];r[n[1]]((function(){var t=o&&o.apply(this,arguments);t&&y(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,o?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,o){var r=0;function s(t,e,n,o){return function(){var a=this,l=arguments,h=function(){var i,h;if(!(t<r)){if((i=n.apply(a,l))===e.promise())throw new TypeError("Thenable self
2-resolution");h=i&&("object"===typeof i||"function"===typeof i)&&i.then,y(h)?o?h.call(i,s(r,e,z,o),s(r,e,H,o)):(r++,h.call(i,s(r,e,z,o),s(r,e,H,o),s(r,e,z,e.notifyWith))):(n!==z&&(a=void 0,l=[i]),(o||e.resolveWith)(a,l))}},c=o?h:function(){try{h()}catch(i){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(i,c.stackTrace),t+1>=r&&(n!==H&&(a=void 0,l=[i]),e.rejectWith(a,l))}};t?c():(k.Deferred.getStackHook&&(c.stackTrace=k.Deferred.getStackHook()),i.setTimeout(c))}}return k.Deferred((function(i){e[0][3].add(s(0,i,y(o)?o:z,i.notifyWith)),e[1][3].add(s(0,i,y(t)?t:z)),e[2][3].add(s(0,i,y(n)?n:H))})).promise()},promise:function(t){return null!=t?k.extend(t,o):o}},r={};return k.each(e,(function(t,i){var s=i[2],a=i[5];o[i[1]]=s.add,a&&s.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=s.fireWith})),o.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,i=e,n=Array(i),o=a.call(arguments),r=k.Deferred(),s=function(t){return function(i){n[t]=this,o[t]=arguments.length>1?a.call(arguments):i,--e||r.resolveWith(n,o)}};if(e<=1&&(X(t,r.done(s(i)).resolve,r.reject,!e),"pending"===r.state()||y(o[i]&&o[i].then)))return r.then();for(;i--;)X(o[i],s(i),r.reject);return r.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&W.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},k.readyException=function(t){i.setTimeout((function(){throw t}))};var F=k.Deferred();function Y(){x.removeEventListener("DOMContentLoaded",Y),i.removeEventListener("load",Y),k.ready()}k.fn.ready=function(t){return F.then(t).catch((function(t){k.readyException(t)})),this},k.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==t&&--k.readyWait>0||F.resolveWith(x,[k]))}}),k.ready.then=F.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?i.setTimeout(k.ready):(x.addEventListener("DOMContentLoaded",Y),i.addEventListener("load",Y));var G=function(t,e,i,n,o,r,s){var a=0,l=t.length,h=null==i;if("object"===S(i))for(a in o=!0,i)G(t,e,a,i[a],!0,r,s);else if(void 0!==n&&(o=!0,y(n)||(s=!0),h&&(s?(e.call(t,n),e=null):(h=e,e=function(t,e,i){return h.call(k(t),i)})),e))for(;a<l;a++)e(t[a],i,s?n:n.call(t[a],a,e(t[a],i)));return o?t:h?e.call(t):l?e(t[0],i):r},U=/^-ms-/,q=/-([a-z])/g;function V(t,e){return e.toUpperCase()}function K(t){return t.replace(U,"ms-").replace(q,V)}var $=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Z(){this.expando=k.expando+Z.uid++}Z.uid=1,Z.prototype={cache:function(t){var e=t[this.expando];return e||(e={},$(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,o=this.cache(t);if("string"===typeof e)o[K(e)]=i;else for(n in e)o[K(n)]=e[n];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][K(e)]},access:function(t,e,i){return void 0===e||e&&"string"===typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(K):(e=K(e))in n?[e]:e.match(B)||[]).length;for(;i--;)delete n[e[i]]}
vendor: 4,562 bytes, line 2
2(void 0===e||k.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!k.isEmptyObject(e)}};var Q=new Z,J=new Z,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function it(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(et,"-$&").toLowerCase(),"string"===typeof(i=t.getAttribute(n))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(i)}catch(o){}J.set(t,e,i)}else i=void 0;return i}k.extend({hasData:function(t){return J.hasData(t)||Q.hasData(t)},data:function(t,e,i){return J.access(t,e,i)},removeData:function(t,e){J.remove(t,e)},_data:function(t,e,i){return Q.access(t,e,i)},_removeData:function(t,e){Q.remove(t,e)}}),k.fn.extend({data:function(t,e){var i,n,o,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(o=J.get(r),1===r.nodeType&&!Q.get(r,"hasDataAttrs"))){for(i=s.length;i--;)s[i]&&0===(n=s[i].name).indexOf("data-")&&(n=K(n.slice(5)),it(r,n,o[n]));Q.set(r,"hasDataAttrs",!0)}return o}return"object"===typeof t?this.each((function(){J.set(this,t)})):G(this,(function(e){var i;if(r&&void 0===e)return void 0!==(i=J.get(r,t))||void 0!==(i=it(r,t))?i:void 0;this.each((function(){J.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){J.remove(this,t)}))}}),k.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=Q.get(t,e),i&&(!n||Array.isArray(i)?n=Q.access(t,e,k.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=k.queue(t,e),n=i.length,o=i.shift(),r=k._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete r.stop,o.call(t,(function(){k.dequeue(t,e)}),r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Q.get(t,i)||Q.access(t,i,{empty:k.Callbacks("once memory").add((function(){Q.remove(t,[e+"queue",i])}))})}}),k.fn.extend({queue:function(t,e){var i=2;return"string"!==typeof t&&(e=t,t="fx",i--),arguments.length<i?k.queue(this[0],t):void 0===e?this:this.each((function(){var i=k.queue(this,t,e);k._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&k.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){k.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,o=k.Deferred(),r=this,s=this.length,a=function(){--n||o.resolveWith(r,[r])};for("string"!==typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(i=Q.get(r[s],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),o.promise(e)}});var nt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ot=new RegExp("^(?:([+-])=|)("+nt+")([a-z%]*)$","i"),rt=["Top","Right","Bottom","Left"],st=x.documentElement,at=function(t){return k.contains(t.ownerDocument,t)},lt={composed:!0};st.getRootNode&&(at=function(t){return k.contains(t.ownerDocument,t)||t.getRootNode(lt)===t.ownerDocument});var ht=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&at(t)&&"none"===k.css(t,"display")};function ct(t,e,i,n){var o,r,s=20,a=n?function(){return n.cur()}:function(){return k.css(t,e,"")},l=a(),h=i&&i[3]||(k.cssNumber[e]?"":"px"),c=t.nodeType&&(k.cssNumber[e]||"px"!==h&&+l)&&ot.exec(k.css(t,e));if(c&&c[3]!==h){for(l/=2,h=h||c[3],c=+l||1;s--;)k.style(t,e,c+h),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),c/=r;c*=2,k.style(t,e,c+h),i=i||[]}return i&&(c=+c||+l||0,o=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=h,n.start=c,n.end=o)),o}var dt={};function pt(t){var e,i=t.ownerDocument,n=t.nodeName,o=dt[n];return o||(e=i.body.appendChild(i.createElement(n)),o=k.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),dt[n]=o,o)}function ut(t,e){for(var i,n,o=[],r=0,s=t.length;r<s;r++)(n=t[r]).style&&(i=n.style.display,e?("none"===i&&(o[r]=Q.get(n,"display")||null,o[r]||(n.style.display="")),""===n.style.display&&ht(n)&&(o[r]=pt(n))):"none"!==i&&(o[r]="none",Q.set(n,"display",i)));for(r=0;r<s;r++)null!=o[r]&&(t[r].style.display=o[r]);return t}k.fn.extend({show:function(){return ut(this,!0)},hide:function(){return ut(this)},toggle:function(t){return"boolean"===typeof t?t?this.show():this.hide():this.each((function(){ht(this)?k(this).show():k(this).hide()}))}});var ft,gt,mt=/^(?:checkbox|radio)$/i,yt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;ft=x.createDocumentFragment().appendChild(x.createElement("div")),(gt=x.createElement("input")).setAttribute("type","radio"),gt.setAttribute("checked","checked"),gt.setAttribute("name","t"),ft.appendChild(gt),m.checkClone
vendor: 6,514 bytes, line 2
2=ft.cloneNode(!0).cloneNode(!0).lastChild.checked,ft.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!ft.cloneNode(!0).lastChild.defaultValue,ft.innerHTML="<option></option>",m.option=!!ft.lastChild;var xt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function bt(t,e){var i;return i="undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!==typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&L(t,e)?k.merge([t],i):i}function wt(t,e){for(var i=0,n=t.length;i<n;i++)Q.set(t[i],"globalEval",!e||Q.get(e[i],"globalEval"))}xt.tbody=xt.tfoot=xt.colgroup=xt.caption=xt.thead,xt.th=xt.td,m.option||(xt.optgroup=xt.option=[1,"<select multiple='multiple'>","</select>"]);var St=/<|&#?\w+;/;function Ct(t,e,i,n,o){for(var r,s,a,l,h,c,d=e.createDocumentFragment(),p=[],u=0,f=t.length;u<f;u++)if((r=t[u])||0===r)if("object"===S(r))k.merge(p,r.nodeType?[r]:r);else if(St.test(r)){for(s=s||d.appendChild(e.createElement("div")),a=(yt.exec(r)||["",""])[1].toLowerCase(),l=xt[a]||xt._default,s.innerHTML=l[1]+k.htmlPrefilter(r)+l[2],c=l[0];c--;)s=s.lastChild;k.merge(p,s.childNodes),(s=d.firstChild).textContent=""}else p.push(e.createTextNode(r));for(d.textContent="",u=0;r=p[u++];)if(n&&k.inArray(r,n)>-1)o&&o.push(r);else if(h=at(r),s=bt(d.appendChild(r),"script"),h&&wt(s),i)for(c=0;r=s[c++];)vt.test(r.type||"")&&i.push(r);return d}var kt=/^([^.]*)(?:\.(.+)|)/;function Tt(){return!0}function Mt(){return!1}function At(t,e){return t===function(){try{return x.activeElement}catch(t){}}()===("focus"===e)}function Pt(t,e,i,n,o,r){var s,a;if("object"===typeof e){for(a in"string"!==typeof i&&(n=n||i,i=void 0),e)Pt(t,a,i,n,e[a],r);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"===typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=Mt;else if(!o)return t;return 1===r&&(s=o,o=function(t){return k().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=k.guid++)),t.each((function(){k.event.add(this,e,o,n,i)}))}function Et(t,e,i){i?(Q.set(t,e,!1),k.event.add(t,e,{namespace:!1,handler:function(t){var n,o,r=Q.get(this,e);if(1&t.isTrigger&&this[e]){if(r.length)(k.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=a.call(arguments),Q.set(this,e,r),n=i(this,e),this[e](),r!==(o=Q.get(this,e))||n?Q.set(this,e,!1):o={},r!==o)return t.stopImmediatePropagation(),t.preventDefault(),o&&o.value}else r.length&&(Q.set(this,e,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,e)&&k.event.add(t,e,Tt)}k.event={global:{},add:function(t,e,i,n,o){var r,s,a,l,h,c,d,p,u,f,g,m=Q.get(t);if($(t))for(i.handler&&(i=(r=i).handler,o=r.selector),o&&k.find.matchesSelector(st,o),i.guid||(i.guid=k.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return"undefined"!==typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),h=(e=(e||"").match(B)||[""]).length;h--;)u=g=(a=kt.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),u&&(d=k.event.special[u]||{},u=(o?d.delegateType:d.bindType)||u,d=k.event.special[u]||{},c=k.extend({type:u,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:f.join(".")},r),(p=l[u])||((p=l[u]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,n,f,s)||t.addEventListener&&t.addEventListener(u,s)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=i.guid)),o?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[u]=!0)},remove:function(t,e,i,n,o){var r,s,a,l,h,c,d,p,u,f,g,m=Q.hasData(t)&&Q.get(t);if(m&&(l=m.events)){for(h=(e=(e||"").match(B)||[""]).length;h--;)if(u=g=(a=kt.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),u){for(d=k.event.special[u]||{},p=l[u=(n?d.delegateType:d.bindType)||u]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)c=p[r],!o&&g!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(p.splice(r,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(t,c));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,f,m.handle)||k.removeEvent(t,u,m.handle),delete l[u])}else for(u in l)k.event.remove(t,u+e[h],i,n,!0);k.isEmptyObject(l)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,r,s,a=new Array(arguments.length),l=k.event.fix(t),h=(Q.get(this,"events")||Object.create(null))[l.type]||[],c=k.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=k.event.handlers.call(this,l,h),e=0;(o=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,i=0;(r=o.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(n=((k.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,n,o,r,s,a=[],l=e.delegateCount,h=t.target;if(l&&h.nodeType&&!("click"===t.type&&t.button>=1))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==t.type||!0!==h.disabled)){for(r=[],s={},i=0;i<l;i++)void 0===s[o=(n=e[i]).selector+" "]&&(s[o]=n.needsContext?k(o,this).index(h)>-1:k.find(o,this,null,[h]).length),s[o]&&r.push(n);r.length&&a.push({elem:h,handlers:r})}return h=this,l<e.length&&a.push({elem:h,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[k.expando]?t:new k.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return mt.test(e.type)&&e.click&&L(e,"input")&&Et(e,"click",Tt),!1},trigger:function(t){var e=this||t;return mt.test(e.type)&&e.click&&L(e,"input")&&Et(e,"click"),!0},_default:function(t){var e=t.target;return mt.test(e.type)&&e.click&&L(e,"input")&&Q.get(e,"click")||L(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}}
vendor: 17,227 bytes, line 2
2,k.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},k.Event=function(t,e){if(!(this instanceof k.Event))return new k.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Tt:Mt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&k.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Mt,isPropagationStopped:Mt,isImmediatePropagationStopped:Mt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Tt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Tt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Tt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(t,e){k.event.special[t]={setup:function(){return Et(this,t,At),!1},trigger:function(){return Et(this,t),!0},_default:function(e){return Q.get(e.target,t)},delegateType:e}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){k.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,o=t.relatedTarget,r=t.handleObj;return o&&(o===n||k.contains(n,o))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}})),k.fn.extend({on:function(t,e,i,n){return Pt(this,t,e,i,n)},one:function(t,e,i,n){return Pt(this,t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,k(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"===typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!==typeof e||(i=e,e=void 0),!1===i&&(i=Mt),this.each((function(){k.event.remove(this,t,i,e)}))}});var Lt=/<script|<style|<link/i,_t=/checked\s*(?:[^=]|=\s*.checked.)/i,Ot=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Dt(t,e){return L(t,"table")&&L(11!==e.nodeType?e:e.firstChild,"tr")&&k(t).children("tbody")[0]||t}function jt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Nt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function It(t,e){var i,n,o,r,s,a;if(1===e.nodeType){if(Q.hasData(t)&&(a=Q.get(t).events))for(o in Q.remove(e,"handle events"),a)for(i=0,n=a[o].length;i<n;i++)k.event.add(e,o,a[o][i]);J.hasData(t)&&(r=J.access(t),s=k.extend({},r),J.set(e,s))}}function Rt(t,e){var i=e.nodeName.toLowerCase();"input"===i&&mt.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}function Bt(t,e,i,n){e=l(e);var o,r,s,a,h,c,d=0,p=t.length,u=p-1,f=e[0],g=y(f);if(g||p>1&&"string"===typeof f&&!m.checkClone&&_t.test(f))return t.each((function(o){var r=t.eq(o);g&&(e[0]=f.call(this,o,r.html())),Bt(r,e,i,n)}));if(p&&(r=(o=Ct(e,t[0].ownerDocument,!1,t,n)).firstChild,1===o.childNodes.length&&(o=r),r||n)){for(a=(s=k.map(bt(o,"script"),jt)).length;d<p;d++)h=o,d!==u&&(h=k.clone(h,!0,!0),a&&k.merge(s,bt(h,"script"))),i.call(t[d],h,d);if(a)for(c=s[s.length-1].ownerDocument,k.map(s,Nt),d=0;d<a;d++)h=s[d],vt.test(h.type||"")&&!Q.access(h,"globalEval")&&k.contains(c,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?k._evalUrl&&!h.noModule&&k._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},c):w(h.textContent.replace(Ot,""),h,c))}return t}function zt(t,e,i){for(var n,o=e?k.filter(e,t):t,r=0;null!=(n=o[r]);r++)i||1!==n.nodeType||k.cleanData(bt(n)),n.parentNode&&(i&&at(n)&&wt(bt(n,"script")),n.parentNode.removeChild(n));return t}k.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,r,s,a=t.cloneNode(!0),l=at(t);if(!m.noCloneChecked&&(1===t.nodeType||11===t.nodeType)&&!k.isXMLDoc(t))for(s=bt(a),n=0,o=(r=bt(t)).length;n<o;n++)Rt(r[n],s[n]);if(e)if(i)for(r=r||bt(t),s=s||bt(a),n=0,o=r.length;n<o;n++)It(r[n],s[n]);else It(t,a);return(s=bt(a,"script")).length>0&&wt(s,!l&&bt(t,"script")),a},cleanData:function(t){for(var e,i,n,o=k.event.special,r=0;void 0!==(i=t[r]);r++)if($(i)){if(e=i[Q.expando]){if(e.events)for(n in e.events)o[n]?k.event.remove(i,n):k.removeEvent(i,n,e.handle);i[Q.expando]=void 0}i[J.expando]&&(i[J.expando]=void 0)}}}),k.fn.extend({detach:function(t){return zt(this,t,!0)},remove:function(t){return zt(this,t)},text:function(t){return G(this,(function(t){return void 0===t?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Bt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Dt(this,t).appendChild(t)}))},prepend:function(){return Bt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Dt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Bt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Bt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(k.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return k.clone(this,t,e)}))},html:function(t){return G(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"===typeof t&&!Lt.test(t)&&!xt[(yt.exec(t)||["",""])[1].toLowerCase()]){t=k.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(k.cleanData(bt(e,!1)),e.innerHTML=t);e=0}catch(o){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Bt(this,arguments,(function(e){var i=this.parentNode;k.inArray(this,t)<0&&(k.cleanData(bt(this)),i&&i.replaceChild(e,this))}),t)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){k.fn[t]=function(t){for(var i,n=[],o=k(t),r=o.length-1,s=0;s<=r;s++)i=s===r?this:this.clone(!0),k(o[s])[e](i),h.apply(n,i.get());return this.pushStack(n)}}));var Ht=new RegExp("^("+nt+")(?!px)[a-z%]+$","i"),Xt=/^--/,Wt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)},Ft=function(t,e,i){var n,o,r={};for(o in e)r[o]=t.style[o],t.style[o]=e[o];for(o in n=i.call(t),e)t.style[o]=r[o];return n},Yt=new RegExp(rt.join("|"),"i"),Gt=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");function Ut(t,e,i){var n,o,r,s,a=Xt.test(e),l=t.style;return(i=i||Wt(t))&&(s=i.getPropertyValue(e)||i[e],a&&(s=s.replace(Gt,"$1")),""!==s||at(t)||(s=k.style(t,e)),!m.pixelBoxStyles()&&Ht.test(s)&&Yt.test(e)&&(n=l.width,o=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=i.width,l.width=n,l.minWidth=o,l.maxWidth=r)),void 0!==s?s+"":s}function qt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",st.appendChild(h).appendChild(c);var t=i.getComputedStyle(c);n="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",s=36===e(t.right),o=36===e(t.width),c.style.position="absolute",r=12===e(c.offsetWidth/3),st.removeChild(h),c=null}}function e(t){return Math.round(parseFloat(t))}var n,o,r,s,a,l,h=x.createElement("div"),c=x.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===c.style.backgroundClip,k.extend(m,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var t,e,n,o;return null==a&&(t=x.createElement("table"),e=x.createElement("tr"),n=x.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",st.appendChild(t).appendChild(e).appendChild(n),o=i.getComputedStyle(e),a=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===e.offsetHeight,st.removeChild(t)),a}}))}();var Vt=["Webkit","Moz","ms"],Kt=x.createElement("div").style,$t={};function Zt(t){var e=k.cssProps[t]||$t[t];return e||(t in Kt?t:$t[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=Vt.length;i--;)if((t=Vt[i]+e)in Kt)return t}(t)||t)}var Qt=/^(none|table(?!-c[ea]).+)/,Jt={position:"absolute",visibility:"hidden",display:"block"},te={letterSpacing:"0",fontWeight:"400"};function ee(t,e,i){var n=ot.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function ie(t,e,i,n,o,r){var s="width"===e?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;s<4;s+=2)"margin"===i&&(l+=k.css(t,i+rt[s],!0,o)),n?("content"===i&&(l-=k.css(t,"padding"+rt[s],!0,o)),"margin"!==i&&(l-=k.css(t,"border"+rt[s]+"Width",!0,o))):(l+=k.css(t,"padding"+rt[s],!0,o),"padding"!==i?l+=k.css(t,"border"+rt[s]+"Width",!0,o):a+=k.css(t,"border"+rt[s]+"Width",!0,o));return!n&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l}function ne(t,e,i){var n=Wt(t),o=(!m.boxSizingReliable()||i)&&"border-box"===k.css(t,"boxSizing",!1,n),r=o,s=Ut(t,e,n),a="offset"+e[0].toUpperCase()+e.slice(1);if(Ht.test(s)){if(!i)return s;s="auto"}return(!m.boxSizingReliable()&&o||!m.reliableTrDimensions()&&L(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===k.css(t,"display",!1,n))&&t.getClientRects().length&&(o="border-box"===k.css(t,"boxSizing",!1,n),(r=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+ie(t,e,i||(o?"border":"content"),r,n,s)+"px"}function oe(t,e,i,n,o){return new oe.prototype.init(t,e,i,n,o)}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Ut(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=K(e),l=Xt.test(e),h=t.style;if(l||(e=Zt(a)),s=k.cssHooks[e]||k.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(o=s.get(t,!1,n))?o:h[e];"string"===(r=typeof i)&&(o=ot.exec(i))&&o[1]&&(i=ct(t,e,o),r="number"),null!=i&&i===i&&("number"!==r||l||(i+=o&&o[3]||(k.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==i||0!==e.indexOf("background")||(h[e]="inherit"),s&&"set"in s&&void 0===(i=s.set(t,i,n))||(l?h.setProperty(e,i):h[e]=i))}},css:function(t,e,i,n){var o,r,s,a=K(e);return Xt.test(e)||(e=Zt(a)),(s=k.cssHooks[e]||k.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,i)),void 0===o&&(o=Ut(t,e,n)),"normal"===o&&e in te&&(o=te[e]),""===i||i?(r=parseFloat(o),!0===i||isFinite(r)?r||0:o):o}}),k.each(["height","width"],(function(t,e){k.cssHooks[e]={get:function(t,i,n){if(i)return!Qt.test(k.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ne(t,e,n):Ft(t,Jt,(function(){return ne(t,e,n)}))},set:function(t,i,n){var o,r=Wt(t),s=!m.scrollboxSize()&&"absolute"===r.position,a=(s||n)&&"border-box"===k.css(t,"boxSizing",!1,r),l=n?ie(t,e,n,a,r):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-ie(t,e,"border",!1,r)-.5)),l&&(o=ot.exec(i))&&"px"!==(o[3]||"px")&&(t.style[e]=i,i=k.css(t,e)),ee(0,i,l)}}})),k.cssHooks.marginLeft=qt(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-Ft(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(t,e){k.cssHooks[t+e]={expand:function(i){for(var n=0,o={},r="string"===typeof i?i.split(" "):[i];n<4;n++)o[t+rt[n]+e]=r[n]||r[n-2]||r[0];return o}},"margin"!==t&&(k.cssHooks[t+e].set=ee)})),k.fn.extend({css:function(t,e){return G(this,(function(t,e,i){var n,o,r={},s=0;if(Array.isArray(e)){for(n=Wt(t),o=e.length;s<o;s++)r[e[s]]=k.css(t,e[s],!1,n);return r}return void 0!==i?k.style(t,e,i):k.css(t,e)}),t,e,arguments.length>1)}}),k.Tween=oe,oe.prototype={constructor:oe,init:function(t,e,i,n,o,r){this.elem=t,this.prop=i,this.easing=o||k.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(k.cssNumber[i]?"":"px")},cur:function(){var t=oe.propHooks[this.prop];return t&&t.get?t.get(this):oe.propHooks._default.get(this)},run:function(t){var e,i=oe.propHooks[this.prop];return this.options.duration?this.pos=e=k.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):oe.propHooks._default.set(this),this}},oe.prototype.init.prototype=oe.prototype,oe.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=k.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){k.fx.step[t.prop]?k.fx.step[t.prop](t):1!==t.elem.nodeType||!k.cssHooks[t.prop]&&null==t.elem.style[Zt(t.prop)]?t.elem[t.prop]=t.now:k.style(t.elem,t.prop,t.now+t.unit)}}},oe.propHooks.scrollTop=oe.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},k.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},k.fx=oe.prototype.init,k.fx.step={};var re,se,ae=/^(?:toggle|show|hide)$/,le=/queueHooks$/;function he(){se&&(!1===x.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(he):i.setTimeout(he,k.fx.interval),k.fx.tick())}function ce(){return i.setTimeout((function(){re=void 0})),re=Date.now()}function de(t,e){var i,n=0,o={height:t};for(e=e?1:0;n<4;n+=2-e)o["margin"+(i=rt[n])]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function pe(t,e,i){for(var n,o=(ue.tweeners[e]||[]).concat(ue.tweeners["*"]),r=0,s=o.length;r<s;r++)if(n=o[r].call(i,e,t))return n}function ue(t,e,i){var n,o,r=0,s=ue.prefilters.length,a=k.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var e=re||ce(),i=Math.max(0,h.startTime+h.duration-e),n=1-(i/h.duration||0),r=0,s=h.tweens.length;r<s;r++)h.tweens[r].run(n);return a.notifyWith(t,[h,n,i]),n<1&&s?i:(s||a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h]),!1)},h=a.promise({elem:t,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},i),originalProperties:e,originalOptions:i,startTime:re||ce(),duration:i.duration,tweens:[],createTween:function(e,i){var n=k.Tween(t,h.opts,e,i,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(n),n},stop:function(e){var i=0,n=e?h.tweens.length:0;if(o)return this;for(o=!0;i<n;i++)h.tweens[i].run(1);return e?(a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h,e])):a.rejectWith(t,[h,e]),this}}),c=h.props;for(!function(t,e){var i,n,o,r,s;for(i in t)if(o=e[n=K(i)],r=t[i],Array.isArray(r)&&(o=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(s=k.cssHooks[n])&&"expand"in s)for(i in r=s.expand(r),delete t[n],r)i in t||(t[i]=r[i],e[i]=o);else e[n]=o}(c,h.opts.specialEasing);r<s;r++)if(n=ue.prefilters[r].call(h,t,c,h.opts))return y(n.stop)&&(k._queueHooks(h.elem,h.opts.queue).stop=n.stop.bind(n)),n;return k.map(c,pe,h),y(h.opts.start)&&h.opts.start.call(t,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),k.fx.timer(k.extend(l,{elem:t,anim:h,queue:h.opts.queue})),h}k.Animation=k.extend(ue,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return ct(i.elem,t,ot.exec(e),i),i}]},tweener:function(t,e){y(t)?(e=t,t=["*"]):t=t.match(B);for(var i,n=0,o=t.length;n<o;n++)i=t[n],ue.tweeners[i]=ue.tweeners[i]||[],ue.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,o,r,s,a,l,h,c,d="width"in e||"height"in e,p=this,u={},f=t.style,g=t.nodeType&&ht(t),m=Q.get(t,"fxshow");for(n in i.queue||(null==(s=k._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,p.always((function(){p.always((function(){s.unqueued--,k.queue(t,"fx").length||s.empty.fire()}))}))),e)if(o=e[n],ae.test(o)){if(delete e[n],r=r||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||
vendor: 4,607 bytes, line 2
2!m||void 0===m[n])continue;g=!0}u[n]=m&&m[n]||k.style(t,n)}if((l=!k.isEmptyObject(e))||!k.isEmptyObject(u))for(n in d&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(h=m&&m.display)&&(h=Q.get(t,"display")),"none"===(c=k.css(t,"display"))&&(h?c=h:(ut([t],!0),h=t.style.display||h,c=k.css(t,"display"),ut([t]))),("inline"===c||"inline-block"===c&&null!=h)&&"none"===k.css(t,"float")&&(l||(p.done((function(){f.display=h})),null==h&&(c=f.display,h="none"===c?"":c)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",p.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,u)l||(m?"hidden"in m&&(g=m.hidden):m=Q.access(t,"fxshow",{display:h}),r&&(m.hidden=!g),g&&ut([t],!0),p.done((function(){for(n in g||ut([t]),Q.remove(t,"fxshow"),u)k.style(t,n,u[n])}))),l=pe(g?m[n]:0,n,p),n in m||(m[n]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ue.prefilters.unshift(t):ue.prefilters.push(t)}}),k.speed=function(t,e,i){var n=t&&"object"===typeof t?k.extend({},t):{complete:i||!i&&e||y(t)&&t,duration:t,easing:i&&e||e&&!y(e)&&e};return k.fx.off?n.duration=0:"number"!==typeof n.duration&&(n.duration in k.fx.speeds?n.duration=k.fx.speeds[n.duration]:n.duration=k.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&k.dequeue(this,n.queue)},n},k.fn.extend({fadeTo:function(t,e,i,n){return this.filter(ht).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var o=k.isEmptyObject(t),r=k.speed(e,i,n),s=function(){var e=ue(this,k.extend({},t),r);(o||Q.get(this,"finish"))&&e.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!==typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,o=null!=t&&t+"queueHooks",r=k.timers,s=Q.get(this);if(o)s[o]&&s[o].stop&&n(s[o]);else for(o in s)s[o]&&s[o].stop&&le.test(o)&&n(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(i),e=!1,r.splice(o,1));!e&&i||k.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,i=Q.get(this),n=i[t+"queue"],o=i[t+"queueHooks"],r=k.timers,s=n?n.length:0;for(i.finish=!0,k.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish}))}}),k.each(["toggle","show","hide"],(function(t,e){var i=k.fn[e];k.fn[e]=function(t,n,o){return null==t||"boolean"===typeof t?i.apply(this,arguments):this.animate(de(e,!0),t,n,o)}})),k.each({slideDown:de("show"),slideUp:de("hide"),slideToggle:de("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){k.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}})),k.timers=[],k.fx.tick=function(){var t,e=0,i=k.timers;for(re=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||k.fx.stop(),re=void 0},k.fx.timer=function(t){k.timers.push(t),k.fx.start()},k.fx.interval=13,k.fx.start=function(){se||(se=!0,he())},k.fx.stop=function(){se=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(t,e){return t=k.fx&&k.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var o=i.setTimeout(e,t);n.stop=function(){i.clearTimeout(o)}}))},function(){var t=x.createElement("input"),e=x.createElement("select").appendChild(x.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=x.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var fe,ge=k.expr.attrHandle;k.fn.extend({attr:function(t,e){return G(this,k.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){k.removeAttr(this,t)}))}}),k.extend({attr:function(t,e,i){var n,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"===typeof t.getAttribute?k.prop(t,e,i):(1===r&&k.isXMLDoc(t)||(o=k.attrHooks[e.toLowerCase()]||(k.expr.match.bool.test(e)?fe:void 0)),void 0!==i?null===i?void k.removeAttr(t,e):o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i):o&&"get"in o&&null!==(n=o.get(t,e))?n:null==(n=k.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&L(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(B);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}
vendor: 3,931 bytes, line 2
2),fe={set:function(t,e,i){return!1===e?k.removeAttr(t,i):t.setAttribute(i,i),i}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(t,e){var i=ge[e]||k.find.attr;ge[e]=function(t,e,n){var o,r,s=e.toLowerCase();return n||(r=ge[s],ge[s]=o,o=null!=i(t,e,n)?s:null,ge[s]=r),o}}));var me=/^(?:input|select|textarea|button)$/i,ye=/^(?:a|area)$/i;function ve(t){return(t.match(B)||[]).join(" ")}function xe(t){return t.getAttribute&&t.getAttribute("class")||""}function be(t){return Array.isArray(t)?t:"string"===typeof t&&t.match(B)||[]}k.fn.extend({prop:function(t,e){return G(this,k.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[k.propFix[t]||t]}))}}),k.extend({prop:function(t,e,i){var n,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&k.isXMLDoc(t)||(e=k.propFix[e]||e,o=k.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=k.find.attr(t,"tabindex");return e?parseInt(e,10):me.test(t.nodeName)||ye.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(k.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(t){var e,i,n,o,r,s;return y(t)?this.each((function(e){k(this).addClass(t.call(this,e,xe(this)))})):(e=be(t)).length?this.each((function(){if(n=xe(this),i=1===this.nodeType&&" "+ve(n)+" "){for(r=0;r<e.length;r++)o=e[r],i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=ve(i),n!==s&&this.setAttribute("class",s)}})):this},removeClass:function(t){var e,i,n,o,r,s;return y(t)?this.each((function(e){k(this).removeClass(t.call(this,e,xe(this)))})):arguments.length?(e=be(t)).length?this.each((function(){if(n=xe(this),i=1===this.nodeType&&" "+ve(n)+" "){for(r=0;r<e.length;r++)for(o=e[r];i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");s=ve(i),n!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(t,e){var i,n,o,r,s=typeof t,a="string"===s||Array.isArray(t);return y(t)?this.each((function(i){k(this).toggleClass(t.call(this,i,xe(this),e),e)})):"boolean"===typeof e&&a?e?this.addClass(t):this.removeClass(t):(i=be(t),this.each((function(){if(a)for(r=k(this),o=0;o<i.length;o++)n=i[o],r.hasClass(n)?r.removeClass(n):r.addClass(n);else void 0!==t&&"boolean"!==s||((n=xe(this))&&Q.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":Q.get(this,"__className__")||""))})))},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+ve(xe(i))+" ").indexOf(e)>-1)return!0;return!1}});var we=/\r/g;k.fn.extend({val:function(t){var e,i,n,o=this[0];return arguments.length?(n=y(t),this.each((function(i){var o;1===this.nodeType&&(null==(o=n?t.call(this,i,k(this).val()):t)?o="":"number"===typeof o?o+="":Array.isArray(o)&&(o=k.map(o,(function(t){return null==t?"":t+""}))),(e=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))}))):o?(e=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:"string"===typeof(i=o.value)?i.replace(we,""):null==i?"":i:void 0}}),k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return null!=e?e:ve(k.text(t))}},select:{get:function(t){var e,i,n,o=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:o.length;for(n=r<0?l:s?r:0;n<l;n++)if(((i=o[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!L(i.parentNode,"optgroup"))){if(e=k(i).val(),s)return e;a.push(e)}return a}
vendor: 4,597 bytes, line 2
2,set:function(t,e){for(var i,n,o=t.options,r=k.makeArray(e),s=o.length;s--;)((n=o[s]).selected=k.inArray(k.valHooks.option.get(n),r)>-1)&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=k.inArray(k(t).val(),e)>-1}},m.checkOn||(k.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),m.focusin="onfocusin"in i;var Se=/^(?:focusinfocus|focusoutblur)$/,Ce=function(t){t.stopPropagation()};k.extend(k.event,{trigger:function(t,e,n,o){var r,s,a,l,h,c,d,p,f=[n||x],g=u.call(t,"type")?t.type:t,m=u.call(t,"namespace")?t.namespace.split("."):[];if(s=p=a=n=n||x,3!==n.nodeType&&8!==n.nodeType&&!Se.test(g+k.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),h=g.indexOf(":")<0&&"on"+g,(t=t[k.expando]?t:new k.Event(g,"object"===typeof t&&t)).isTrigger=o?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:k.makeArray(e,[t]),d=k.event.special[g]||{},o||!d.trigger||!1!==d.trigger.apply(n,e))){if(!o&&!d.noBubble&&!v(n)){for(l=d.delegateType||g,Se.test(l+g)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(n.ownerDocument||x)&&f.push(a.defaultView||a.parentWindow||i)}for(r=0;(s=f[r++])&&!t.isPropagationStopped();)p=s,t.type=r>1?l:d.bindType||g,(c=(Q.get(s,"events")||Object.create(null))[t.type]&&Q.get(s,"handle"))&&c.apply(s,e),(c=h&&s[h])&&c.apply&&$(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),e)||!$(n)||h&&y(n[g])&&!v(n)&&((a=n[h])&&(n[h]=null),k.event.triggered=g,t.isPropagationStopped()&&p.addEventListener(g,Ce),n[g](),t.isPropagationStopped()&&p.removeEventListener(g,Ce),k.event.triggered=void 0,a&&(n[h]=a)),t.result}},simulate:function(t,e,i){var n=k.extend(new k.Event,i,{type:t,isSimulated:!0});k.event.trigger(n,null,e)}}),k.fn.extend({trigger:function(t,e){return this.each((function(){k.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i)return k.event.trigger(t,e,i,!0)}}),m.focusin||k.each({focus:"focusin",blur:"focusout"},(function(t,e){var i=function(t){k.event.simulate(e,t.target,k.event.fix(t))};k.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,o=Q.access(n,e);o||n.addEventListener(t,i,!0),Q.access(n,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=Q.access(n,e)-1;o?Q.access(n,e,o):(n.removeEventListener(t,i,!0),Q.remove(n,e))}}}));var ke=i.location,Te={guid:Date.now()},Me=/\?/;k.parseXML=function(t){var e,n;if(!t||"string"!==typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(o){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Ae=/\[\]$/,Pe=/\r?\n/g,Ee=/^(?:submit|button|image|reset|file)$/i,Le=/^(?:input|select|textarea|keygen)/i;function _e(t,e,i,n){var o;if(Array.isArray(e))k.each(e,(function(e,o){i||Ae.test(t)?n(t,o):_e(t+"["+("object"===typeof o&&null!=o?e:"")+"]",o,i,n)}));else if(i||"object"!==S(e))n(t,e);else for(o in e)_e(t+"["+o+"]",e[o],i,n)}k.param=function(t,e){var i,n=[],o=function(t,e){var i=y(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!k.isPlainObject(t))k.each(t,(function(){o(this.name,this.value)}));else for(i in t)_e(i,t[i],e,o);return n.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=k.prop(this,"elements");return t?k.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!k(this).is(":disabled")&&Le.test(this.nodeName)&&!Ee.test(t)&&(this.checked||!mt.test(t))})).map((function(t,e){var i=k(this).val();return null==i?null:Array.isArray(i)?k.map(i,(function(t){return{name:e.name,value:t.replace(Pe,"\r\n")}})):{name:e.name,value:i.replace(Pe,"\r\n")}})).get()}});var Oe=/%20/g,De=/#.*$/,je=/([?&])_=[^&]*/,Ne=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ie=/^(?:GET|HEAD)$/,Re=/^\/\//,Be={},ze={},He="*/".concat("*"),Xe=x.createElement("a");function We(t){return function(e,i){"string"!==typeof e&&(i=e,e="*");var n,o=0,r=e.toLowerCase().match(B)||[];if(y(i))for(;n=r[o++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function Fe(t,e,i,n){var o={},r=t===ze;function s(a){var l;
vendor: 3,718 bytes, line 2
2return o[a]=!0,k.each(t[a]||[],(function(t,a){var h=a(e,i,n);return"string"!==typeof h||r||o[h]?r?!(l=h):void 0:(e.dataTypes.unshift(h),s(h),!1)})),l}return s(e.dataTypes[0])||!o["*"]&&s("*")}function Ye(t,e){var i,n,o=k.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&k.extend(!0,t,n),t}Xe.href=ke.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ke.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ke.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ye(Ye(t,k.ajaxSettings),e):Ye(k.ajaxSettings,t)},ajaxPrefilter:We(Be),ajaxTransport:We(ze),ajax:function(t,e){"object"===typeof t&&(e=t,t=void 0),e=e||{};var n,o,r,s,a,l,h,c,d,p,u=k.ajaxSetup({},e),f=u.context||u,g=u.context&&(f.nodeType||f.jquery)?k(f):k.event,m=k.Deferred(),y=k.Callbacks("once memory"),v=u.statusCode||{},b={},w={},S="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(h){if(!s)for(s={};e=Ne.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?r:null},setRequestHeader:function(t,e){return null==h&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==h&&(u.mimeType=t),this},statusCode:function(t){var e;if(t)if(h)C.always(t[C.status]);else for(e in t)v[e]=[v[e],t[e]];return this},abort:function(t){var e=t||S;return n&&n.abort(e),T(0,e),this}};if(m.promise(C),u.url=((t||u.url||ke.href)+"").replace(Re,ke.protocol+"//"),u.type=e.method||e.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(B)||[""],null==u.crossDomain){l=x.createElement("a");try{l.href=u.url,l.href=l.href,u.crossDomain=Xe.protocol+"//"+Xe.host!==l.protocol+"//"+l.host}catch(M){u.crossDomain=!0}}if(u.data&&u.processData&&"string"!==typeof u.data&&(u.data=k.param(u.data,u.traditional)),Fe(Be,u,e,C),h)return C;for(d in(c=k.event&&u.global)&&0===k.active++&&k.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!Ie.test(u.type),o=u.url.replace(De,""),u.hasContent?u.data&&u.processData&&0===(u.contentType||"").indexOf("application/x-www-form-urlencoded")&&(u.data=u.data.replace(Oe,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||"string"===typeof u.data)&&(o+=(Me.test(o)?"&":"?")+u.data,delete u.data),!1===u.cache&&(o=o.replace(je,"$1"),p=(Me.test(o)?"&":"?")+"_="+Te.guid+++p),u.url=o+p),u.ifModified&&(k.lastModified[o]&&C.setRequestHeader("If-Modified-Since",k.lastModified[o]),k.etag[o]&&C.setRequestHeader("If-None-Match",k.etag[o])),(u.data&&u.hasContent&&!1!==u.contentType||e.contentType)&&C.setRequestHeader("Content-Type",u.contentType),C.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+He+"; q=0.01":""):u.accepts["*"]),u.headers)C.setRequestHeader(d,u.headers[d]);if(u.beforeSend&&(!1===u.beforeSend.call(f,C,u)||h))return C.abort();if(S="abort",y.add(u.complete),C.done(u.success),C.fail(u.error),n=Fe(ze,u,e,C)){if(C.readyState=1,c&&g.trigger("ajaxSend",[C,u]),h)return C;u.async&&u.timeout>0&&(a=i.setTimeout((function(){C.abort("timeout")}),u.timeout));try{h=!1,n.send(b,T)}
vendor: 9,708 bytes, line 2
2catch(M){if(h)throw M;T(-1,M)}}else T(-1,"No Transport");function T(t,e,s,l){var d,p,x,b,w,S=e;h||(h=!0,a&&i.clearTimeout(a),n=void 0,r=l||"",C.readyState=t>0?4:0,d=t>=200&&t<300||304===t,s&&(b=function(t,e,i){for(var n,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(o in a)if(a[o]&&a[o].test(n)){l.unshift(o);break}if(l[0]in i)r=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),i[r]}(u,C,s)),!d&&k.inArray("script",u.dataTypes)>-1&&k.inArray("json",u.dataTypes)<0&&(u.converters["text script"]=function(){}),b=function(t,e,i,n){var o,r,s,a,l,h={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)h[s.toLowerCase()]=t.converters[s];for(r=c.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=h[l+" "+r]||h["* "+r]))for(o in h)if((a=o.split(" "))[1]===r&&(s=h[l+" "+a[0]]||h["* "+a[0]])){!0===s?s=h[o]:!0!==h[o]&&(r=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(M){return{state:"parsererror",error:s?M:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(u,b,C,d),d?(u.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(k.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(k.etag[o]=w)),204===t||"HEAD"===u.type?S="nocontent":304===t?S="notmodified":(S=b.state,p=b.data,d=!(x=b.error))):(x=S,!t&&S||(S="error",t<0&&(t=0))),C.status=t,C.statusText=(e||S)+"",d?m.resolveWith(f,[p,S,C]):m.rejectWith(f,[C,S,x]),C.statusCode(v),v=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[C,u,d?p:x]),y.fireWith(f,[C,S]),c&&(g.trigger("ajaxComplete",[C,u]),--k.active||k.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,i){return k.get(t,e,i,"json")},getScript:function(t,e){return k.get(t,void 0,e,"script")}}),k.each(["get","post"],(function(t,e){k[e]=function(t,i,n,o){return y(i)&&(o=o||n,n=i,i=void 0),k.ajax(k.extend({url:t,type:e,dataType:o,data:i,success:n},k.isPlainObject(t)&&t))}})),k.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),k._evalUrl=function(t,e,i){return k.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){k.globalEval(t,e,i)}})},k.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=k(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return y(t)?this.each((function(e){k(this).wrapInner(t.call(this,e))})):this.each((function(){var e=k(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e=y(t);return this.each((function(i){k(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(t){return!k.expr.pseudos.visible(t)},k.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Ge={0:200,1223:204},Ue=k.ajaxSettings.xhr();m.cors=!!Ue&&"withCredentials"in Ue,m.ajax=Ue=!!Ue,k.ajaxTransport((function(t){var e,n;if(m.cors||Ue&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(s,o[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!==typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Ge[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!==typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){e&&n()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(l){if(e)throw l}},abort:function(){e&&e()}}})),k.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return k.globalEval(t),t}}}),k.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),k.ajaxTransport("script",(function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(n,o){e=k("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),x.head.appendChild(e[0])},abort:function(){i&&i()}}}));var qe,Ve=[],Ke=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||k.expando+"_"+Te.guid++;return this[t]=!0,t}}),k.ajaxPrefilter("json jsonp",(function(t,e,n){var o,r,s,a=!1!==t.jsonp&&(Ke.test(t.url)?"url":"string"===typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ke.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ke,"$1"+o):!1!==t.jsonp&&(t.url+=(Me.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||k.error(o+" was not called"),s[0]},t.dataTypes[0]="json",r=i[o],i[o]=function(){s=arguments},n.always((function(){void 0===r?k(i).removeProp(o):i[o]=r,t[o]&&(t.jsonpCallback=e.jsonpCallback,Ve.push(o)),s&&y(r)&&r(s[0]),s=r=void 0})),"script"})),m.createHTMLDocument=((qe=x.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===qe.childNodes.length),k.parseHTML=function(t,e,i){return"string"!==typeof t?[]:("boolean"===typeof e&&(i=e,e=!1),e||(m.createHTMLDocument?((n=(e=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,e.head.appendChild(n)):e=x),r=!i&&[],(o=_.exec(t))?[e.createElement(o[1])]:(o=Ct([t],e,r),r&&r.length&&k(r).remove(),k.merge([],o.childNodes)));var n,o,r},k.fn.load=function(t,e,i){var n,o,r,s=this,a=t.indexOf(" ");return a>-1&&(n=ve(t.slice(a)),t=t.slice(0,a)),y(e)?(i=e,e=void 0):e&&"object"===typeof e&&(o="POST"),s.length>0&&k.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done((function(t){r=arguments,s.html(n?k("<div>").append(k.parseHTML(t)).find(n):t)})).always(i&&function(t,e){s.each((function(){i.apply(this,r||[t.responseText,e,t])}))}),this},k.expr.pseudos.animated=function(t){return k.grep(k.timers,(function(e){return t===e.elem})).length},k.offset={setOffset:function(t,e,i){var n,o,r,s,a,l,h=k.css(t,"position"),c=k(t),d={};"static"===h&&(t.style.position="relative"),a=c.offset(),r=k.css(t,"top"),l=k.css(t,"left"),("absolute"===h||"fixed"===h)&&(r+l).indexOf("auto")>-1?(s=(n=c.position()).top,o=n.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),y(e)&&(e=e.call(t,i,k.extend({},a))),null!=e.top&&(d.top=e.top-a.top+s),null!=e.left&&(d.left=e.left-a.left+o),"using"in e?e.using.call(t,d):c.css(d)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){k.offset.setOffset(this,t,e)}));var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===k.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===k.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=k(t).offset()).top+=k.css(t,"borderTopWidth",!0),o.left+=k.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-k.css(n,"marginTop",!0),left:e.left-o.left-k.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===k.css(t,"position");)t=t.offsetParent;return t||st}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i="pageYOffset"===e;k.fn[t]=function(n){return G(this,(function(t,n,o){var r;if(v(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===o)return r?r[e]:t[n];r?r.scrollTo(i?r.pageXOffset:o,i?o:r.pageYOffset):t[n]=o}),t,n,arguments.length)}})),k.each(["top","left"],(function(t,e){k.cssHooks[e]=qt(m.pixelPosition,(function(t,i){if(i)return i=Ut(t,e),Ht.test(i)?k(t).position()[e]+"px":i}))})),k.each({Height:"height",Width:"width"},(function(t,e){k.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,n){k.fn[n]=function(o,r){var s=arguments.length&&(i||"boolean"!==typeof o),a=i||(!0===o||!0===r?"margin":"border");return G(this,(function(e,i,o){var r;return v(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===o?k.css(e,i,a):k.style(e,i,o,a)}),e,s?o:void 0,s)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){k.fn[e]=function(t){return this.on(e,t)}}
vendor: 1,524 bytes, lines 2-3
2)),k.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){k.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}));var $e=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;k.proxy=function(t,e){var i,n,o;if("string"===typeof e&&(i=t[e],e=t,t=i),y(t))return n=a.call(arguments,2),o=function(){return t.apply(e||this,n.concat(a.call(arguments)))},o.guid=t.guid=t.guid||k.guid++,o},k.holdReady=function(t){t?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=L,k.isFunction=y,k.isWindow=v,k.camelCase=K,k.type=S,k.now=Date.now,k.isNumeric=function(t){var e=k.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},k.trim=function(t){return null==t?"":(t+"").replace($e,"$1")},void 0===(n=function(){return k}.apply(e,[]))||(t.exports=n);var Ze=i.jQuery,Qe=i.$;return k.noConflict=function(t){return i.$===k&&(i.$=Qe),t&&i.jQuery===k&&(i.jQuery=Ze),k},"undefined"===typeof o&&(i.jQuery=i.$=k),k}))}});
3//# sourceMappingURL=data_view-c1932b6520777a802112.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.