403Webshell
Server IP : 65.109.86.83  /  Your IP : 216.73.217.84
Web Server : nginx/1.14.1
System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/thrive-comments/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/thrive-comments/assets/js/libs-admin.min.js
/*! For license information please see libs-admin.min.js.LICENSE.txt */
(()=>{var t={313:()=>{!function(t,e,i){"use strict";var o=e.View.prototype.delegateEvents,n=e.View.prototype.undelegateEvents,r=e.View.prototype.remove,s={};t.extend(e.View.prototype,{keyboardEvents:{},bindKeyboardEvents:function(e){if(e||(e=t.result(this,"keyboardEvents"))){for(var o in e){var n=e[o];if(t.isFunction(n)||(n=this[e[o]]),!n)throw new Error('Method "'+e[o]+'" does not exist');n=t.bind(n,this),!("bindGlobal"in i)||-1===o.indexOf("mod")&&-1===o.indexOf("command")&&-1===o.indexOf("ctrl")?i.bind(o,n):i.bindGlobal(o,n),s[o]=this}return this}},unbindKeyboardEvents:function(){for(var t in this.keyboardEvents)s[t]===this&&(i.unbind(t),delete s[t]);return this},delegateEvents:function(){var t=o.apply(this,arguments);return this.bindKeyboardEvents(),t},undelegateEvents:function(){var t=n.apply(this,arguments);return this.unbindKeyboardEvents&&this.unbindKeyboardEvents(),t},remove:function(){var t=r.apply(this,arguments);return this.unbindKeyboardEvents&&this.unbindKeyboardEvents(),t}})}(_,Backbone,Mousetrap)},155:()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}window.ClipboardJS=function(){var e={686:function(e,i,o){"use strict";o.d(i,{default:function(){return k}});var n=o(279),r=o.n(n),s=o(370),a=o.n(s),l=o(817),h=o.n(l);function c(t){try{return document.execCommand(t)}catch(t){return!1}}var p=function(t){var e=h()(t);return c("cut"),e},d=function(t,e){var i=function(t){var e="rtl"===document.documentElement.getAttribute("dir"),i=document.createElement("textarea");i.style.fontSize="12pt",i.style.border="0",i.style.padding="0",i.style.margin="0",i.style.position="absolute",i.style[e?"right":"left"]="-9999px";var o=window.pageYOffset||document.documentElement.scrollTop;return i.style.top="".concat(o,"px"),i.setAttribute("readonly",""),i.value=t,i}(t);e.container.appendChild(i);var o=h()(i);return c("copy"),i.remove(),o},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},i="";return"string"==typeof t?i=d(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?i=d(t.value,e):(i=h()(t),c("copy")),i};function f(e){return f="function"==typeof Symbol&&"symbol"==t(Symbol.iterator)?function(e){return t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t(e)},f(e)}function g(e){return g="function"==typeof Symbol&&"symbol"==t(Symbol.iterator)?function(e){return t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t(e)},g(e)}function m(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},y(t,e)}function v(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function x(t){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},x(t)}function b(t,e){var i="data-clipboard-".concat(t);if(e.hasAttribute(i))return e.getAttribute(i)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(r,t);var e,i,o,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,o=x(t);if(e){var n=x(this).constructor;i=Reflect.construct(o,arguments,n)}else i=o.apply(this,arguments);return v(this,i)}}(r);function r(t,e){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),(i=n.call(this)).resolveOptions(e),i.listenClick(t),i}return e=r,i=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===g(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=a()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,i=this.action(e)||"copy",o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,i=void 0===e?"copy":e,o=t.container,n=t.target,r=t.text;if("copy"!==i&&"cut"!==i)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==n){if(!n||"object"!==f(n)||1!==n.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===i&&n.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===i&&(n.hasAttribute("readonly")||n.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return r?u(r,{container:o}):n?"cut"===i?p(n):u(n,{container:o}):void 0}({action:i,container:this.container,target:this.target(e),text:this.text(e)});this.emit(o?"success":"error",{action:i,text:o,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return b("action",t)}},{key:"defaultTarget",value:function(t){var e=b("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return b("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}],o=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return u(t,e)}},{key:"cut",value:function(t){return p(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,i=!!document.queryCommandSupported;return e.forEach((function(t){i=i&&!!document.queryCommandSupported(t)})),i}}],i&&m(e.prototype,i),o&&m(e,o),r}(r()),k=w},828:function(t){if("undefined"!=typeof Element&&!Element.prototype.matches){var e=Element.prototype;e.matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,i){var o=i(828);function n(t,e,i,o,n){var s=r.apply(this,arguments);return t.addEventListener(i,s,n),{destroy:function(){t.removeEventListener(i,s,n)}}}function r(t,e,i,n){return function(i){i.delegateTarget=o(i.target,e),i.delegateTarget&&n.call(t,i)}}t.exports=function(t,e,i,o,r){return"function"==typeof t.addEventListener?n.apply(null,arguments):"function"==typeof i?n.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return n(t,e,i,o,r)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var i=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===i||"[object HTMLCollection]"===i)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,i){var o=i(879),n=i(438);t.exports=function(t,e,i){if(!t&&!e&&!i)throw new Error("Missing required arguments");if(!o.string(e))throw new TypeError("Second argument must be a String");if(!o.fn(i))throw new TypeError("Third argument must be a Function");if(o.node(t))return function(t,e,i){return t.addEventListener(e,i),{destroy:function(){t.removeEventListener(e,i)}}}(t,e,i);if(o.nodeList(t))return function(t,e,i){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,i)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,i)}))}}}(t,e,i);if(o.string(t))return function(t,e,i){return n(document.body,t,e,i)}(t,e,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var i=t.hasAttribute("readonly");i||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),i||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),n=document.createRange();n.selectNodeContents(t),o.removeAllRanges(),o.addRange(n),e=o.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,i){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:i}),this},once:function(t,e,i){var o=this;function n(){o.off(t,n),e.apply(i,arguments)}return n._=e,this.on(t,n,i)},emit:function(t){for(var e=[].slice.call(arguments,1),i=((this.e||(this.e={}))[t]||[]).slice(),o=0,n=i.length;o<n;o++)i[o].fn.apply(i[o].ctx,e);return this},off:function(t,e){var i=this.e||(this.e={}),o=i[t],n=[];if(o&&e)for(var r=0,s=o.length;r<s;r++)o[r].fn!==e&&o[r].fn._!==e&&n.push(o[r]);return n.length?i[t]=n:delete i[t],this}},t.exports=e,t.exports.TinyEmitter=e}},i={};function o(t){if(i[t])return i[t].exports;var n=i[t]={exports:{}};return e[t](n,n.exports,o),n.exports}return o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o(686)}().default},931:()=>{!function(t){function e(e,i,o,n){var r,c,p;o*=s,i*=s;var d,u,f,g=[];o*=-1,d=n.x,u=n.y,f=(0===n.z?1e-4:n.z)*(n.vd||25),f=Math.max(500,f);var m,y,v,x=a(o),b=l(o),w=a(i),k=l(i);return t.each(e,(function(t){m=t.x-d,y=t.y-u,v=t.z||0,r=(r=b*m-x*v)*((f-(p=x*k*m+b*k*v+w*y))/f)+d,c=(c=-x*w*m-b*w*v+k*y)*((f-p)/f)+u,g.push({x:h(r),y:h(c),z:h(p)})})),g}function i(t){return null!=t}function o(t,e,i,n,s,h,p,d){var u=[];return h>s&&h-s>r/2+1e-4?u=(u=u.concat(o(t,e,i,n,s,s+r/2,p,d))).concat(o(t,e,i,n,s+r/2,h,p,d)):h<s&&s-h>r/2+1e-4?u=(u=u.concat(o(t,e,i,n,s,s-r/2,p,d))).concat(o(t,e,i,n,s-r/2,h,p,d)):(u=h-s,["C",t+i*l(s)-i*c*u*a(s)+p,e+n*a(s)+n*c*u*l(s)+d,t+i*l(h)+i*c*u*a(h)+p,e+n*a(h)-n*c*u*l(h)+d,t+i*l(h)+p,e+n*a(h)+d])}function n(e){if(this.chart.is3d()){var i=this.chart.options.plotOptions.column.grouping;void 0!==i&&!i&&void 0!==this.group.zIndex&&this.group.attr({zIndex:10*this.group.zIndex});var o=this.options,n=this.options.states;this.borderWidth=o.borderWidth=o.edgeWidth||1,t.each(this.data,(function(e){null!==e.y&&(e=e.pointAttr,this.borderColor=t.pick(o.edgeColor,e[""].fill),e[""].stroke=this.borderColor,e.hover.stroke=t.pick(n.hover.edgeColor,this.borderColor),e.select.stroke=t.pick(n.select.edgeColor,this.borderColor))}))}e.apply(this,[].slice.call(arguments,1))}var r=Math.PI,s=r/180,a=Math.sin,l=Math.cos,h=Math.round,c=4*(Math.sqrt(2)-1)/3/(r/2);t.SVGRenderer.prototype.toLinePath=function(e,i){var o=[];return t.each(e,(function(t){o.push("L",t.x,t.y)})),o[0]="M",i&&o.push("Z"),o},t.SVGRenderer.prototype.cuboid=function(e){var o=this.g();return e=this.cuboidPath(e),o.front=this.path(e[0]).attr({zIndex:e[3],"stroke-linejoin":"round"}).add(o),o.top=this.path(e[1]).attr({zIndex:e[4],"stroke-linejoin":"round"}).add(o),o.side=this.path(e[2]).attr({zIndex:e[5],"stroke-linejoin":"round"}).add(o),o.fillSetter=function(e){var i=t.Color(e).brighten(.1).get(),o=t.Color(e).brighten(-.1).get();return this.front.attr({fill:e}),this.top.attr({fill:i}),this.side.attr({fill:o}),this.color=e,this},o.opacitySetter=function(t){return this.front.attr({opacity:t}),this.top.attr({opacity:t}),this.side.attr({opacity:t}),this},o.attr=function(e){return e.shapeArgs||i(e.x)?(e=this.renderer.cuboidPath(e.shapeArgs||e),this.front.attr({d:e[0],zIndex:e[3]}),this.top.attr({d:e[1],zIndex:e[4]}),this.side.attr({d:e[2],zIndex:e[5]})):t.SVGElement.prototype.attr.call(this,e),this},o.animate=function(e,o,n){return i(e.x)&&i(e.y)?(e=this.renderer.cuboidPath(e),this.front.attr({zIndex:e[3]}).animate({d:e[0]},o,n),this.top.attr({zIndex:e[4]}).animate({d:e[1]},o,n),this.side.attr({zIndex:e[5]}).animate({d:e[2]},o,n)):e.opacity?(this.front.animate(e,o,n),this.top.animate(e,o,n),this.side.animate(e,o,n)):t.SVGElement.prototype.animate.call(this,e,o,n),this},o.destroy=function(){return this.front.destroy(),this.top.destroy(),this.side.destroy(),null},o.attr({zIndex:-e[3]}),o},t.SVGRenderer.prototype.cuboidPath=function(t){var i=t.x,o=t.y,n=t.z,r=t.height,s=t.width,a=t.depth,l=t.alpha,h=t.beta;return t=["M",(i=e(i=[{x:i,y:o,z:n},{x:i+s,y:o,z:n},{x:i+s,y:o+r,z:n},{x:i,y:o+r,z:n},{x:i,y:o+r,z:n+a},{x:i+s,y:o+r,z:n+a},{x:i+s,y:o,z:n+a},{x:i,y:o,z:n+a}],l,h,t.origin))[0].x,i[0].y,"L",i[7].x,i[7].y,"L",i[6].x,i[6].y,"L",i[1].x,i[1].y,"Z"],o=["M",i[3].x,i[3].y,"L",i[2].x,i[2].y,"L",i[5].x,i[5].y,"L",i[4].x,i[4].y,"Z"],n=["M",i[1].x,i[1].y,"L",i[2].x,i[2].y,"L",i[5].x,i[5].y,"L",i[6].x,i[6].y,"Z"],r=["M",i[0].x,i[0].y,"L",i[7].x,i[7].y,"L",i[4].x,i[4].y,"L",i[3].x,i[3].y,"Z"],[["M",i[0].x,i[0].y,"L",i[1].x,i[1].y,"L",i[2].x,i[2].y,"L",i[3].x,i[3].y,"Z"],i[7].y<i[1].y?t:i[4].y>i[2].y?o:[],i[6].x>i[1].x?n:i[7].x<i[0].x?r:[],(i[0].z+i[1].z+i[2].z+i[3].z)/4,h>0?(i[0].z+i[7].z+i[6].z+i[1].z)/4:(i[3].z+i[2].z+i[5].z+i[4].z)/4,l>0?(i[1].z+i[2].z+i[5].z+i[6].z)/4:(i[0].z+i[7].z+i[4].z+i[3].z)/4]},t.SVGRenderer.prototype.arc3d=function(e){e.alpha*=s,e.beta*=s;var o=this.g(),n=this.arc3dPath(e),r=o.renderer,a=100*n.zTop;return o.shapeArgs=e,o.top=r.path(n.top).attr({zIndex:n.zTop}).add(o),o.side1=r.path(n.side2).attr({zIndex:n.zSide2}),o.side2=r.path(n.side1).attr({zIndex:n.zSide1}),o.inn=r.path(n.inn).attr({zIndex:n.zInn}),o.out=r.path(n.out).attr({zIndex:n.zOut}),o.fillSetter=function(e){this.color=e;var i=t.Color(e).brighten(-.1).get();return this.side1.attr({fill:i}),this.side2.attr({fill:i}),this.inn.attr({fill:i}),this.out.attr({fill:i}),this.top.attr({fill:e}),this},o.translateXSetter=function(t){this.out.attr({translateX:t}),this.inn.attr({translateX:t}),this.side1.attr({translateX:t}),this.side2.attr({translateX:t}),this.top.attr({translateX:t})},o.translateYSetter=function(t){this.out.attr({translateY:t}),this.inn.attr({translateY:t}),this.side1.attr({translateY:t}),this.side2.attr({translateY:t}),this.top.attr({translateY:t})},o.animate=function(e,o,n){return i(e.end)||i(e.start)?(this._shapeArgs=this.shapeArgs,t.SVGElement.prototype.animate.call(this,{_args:e},{duration:o,step:function(){var e=(n=arguments[1]).elem,i=e._shapeArgs,o=n.end,n=n.pos;i=t.merge(i,{x:i.x+(o.x-i.x)*n,y:i.y+(o.y-i.y)*n,r:i.r+(o.r-i.r)*n,innerR:i.innerR+(o.innerR-i.innerR)*n,start:i.start+(o.start-i.start)*n,end:i.end+(o.end-i.end)*n}),o=e.renderer.arc3dPath(i),e.shapeArgs=i,e.top.attr({d:o.top,zIndex:o.zTop}),e.inn.attr({d:o.inn,zIndex:o.zInn}),e.out.attr({d:o.out,zIndex:o.zOut}),e.side1.attr({d:o.side1,zIndex:o.zSide1}),e.side2.attr({d:o.side2,zIndex:o.zSide2})}},n)):t.SVGElement.prototype.animate.call(this,e,o,n),this},o.destroy=function(){this.top.destroy(),this.out.destroy(),this.inn.destroy(),this.side1.destroy(),this.side2.destroy(),t.SVGElement.prototype.destroy.call(this)},o.hide=function(){this.top.hide(),this.out.hide(),this.inn.hide(),this.side1.hide(),this.side2.hide()},o.show=function(){this.top.show(),this.out.show(),this.inn.show(),this.side1.show(),this.side2.show()},o.zIndex=a,o.attr({zIndex:a}),o},t.SVGRenderer.prototype.arc3dPath=function(t){var e=t.x,i=t.y,n=t.start,s=t.end-1e-5,h=t.r,c=t.innerR,p=t.depth,d=t.alpha,u=t.beta,f=l(n),g=a(n),m=(t=l(s),a(s)),y=h*l(u),v=h*l(d),x=c*l(u);c*=l(d);var b=p*a(u),w=p*a(d),k=(p=(p=(p=(p=(p=["M",e+y*f,i+v*g]).concat(o(e,i,y,v,n,s,0,0))).concat(["L",e+x*t,i+c*m])).concat(o(e,i,x,c,s,n,0,0))).concat(["Z"]),s<r-(d=d>0?0:r/2)?s:n<r-d?r-d:s);return d=(d=(d=(d=(d=["M",e+y*l(u=n>-(u=u>0?r/2:0)?n:s>-u?-u:n),i+v*a(u)]).concat(o(e,i,y,v,u,k,0,0))).concat(["L",e+y*l(k)+b,i+v*a(k)+w])).concat(o(e,i,y,v,k,u,b,w))).concat(["Z"]),u=(u=(u=(u=(u=["M",e+x*f,i+c*g]).concat(o(e,i,x,c,n,s,0,0))).concat(["L",e+x*l(s)+b,i+c*a(s)+w])).concat(o(e,i,x,c,s,n,b,w))).concat(["Z"]),f=["M",e+y*f,i+v*g,"L",e+y*f+b,i+v*g+w,"L",e+x*f+b,i+c*g+w,"L",e+x*f,i+c*g,"Z"],e=["M",e+y*t,i+v*m,"L",e+y*t+b,i+v*m+w,"L",e+x*t+b,i+c*m+w,"L",e+x*t,i+c*m,"Z"],i=a((n+s)/2),n=a(n),s=a(s),{top:p,zTop:h,out:d,zOut:Math.max(i,n,s)*h,inn:u,zInn:Math.max(i,n,s)*h,side1:f,zSide1:n*h*.99,side2:e,zSide2:s*h*.99}},t.Chart.prototype.is3d=function(){return this.options.chart.options3d&&this.options.chart.options3d.enabled},t.wrap(t.Chart.prototype,"isInsidePlot",(function(t){return!!this.is3d()||t.apply(this,[].slice.call(arguments,1))})),t.getOptions().chart.options3d={enabled:!1,alpha:0,beta:0,depth:100,viewDistance:25,frame:{bottom:{size:1,color:"rgba(255,255,255,0)"},side:{size:1,color:"rgba(255,255,255,0)"},back:{size:1,color:"rgba(255,255,255,0)"}}},t.wrap(t.Chart.prototype,"init",(function(e){var i,o=[].slice.call(arguments,1);o[0].chart.options3d&&o[0].chart.options3d.enabled&&((i=(i=o[0].plotOptions||{}).pie||{}).borderColor=t.pick(i.borderColor,void 0)),e.apply(this,o)})),t.wrap(t.Chart.prototype,"setChartSize",(function(t){if(t.apply(this,[].slice.call(arguments,1)),this.is3d()){var e=this.inverted,i=this.clipBox,o=this.margin;i[e?"y":"x"]=-(o[3]||0),i[e?"x":"y"]=-(o[0]||0),i[e?"height":"width"]=this.chartWidth+(o[3]||0)+(o[1]||0),i[e?"width":"height"]=this.chartHeight+(o[0]||0)+(o[2]||0)}})),t.wrap(t.Chart.prototype,"redraw",(function(t){this.is3d()&&(this.isDirtyBox=!0),t.apply(this,[].slice.call(arguments,1))})),t.Chart.prototype.retrieveStacks=function(e,i){var o={},n=1;return e||!i?this.series:(t.each(this.series,(function(t){o[t.options.stack||0]?o[t.options.stack||0].series.push(t):(o[t.options.stack||0]={series:[t],position:n},n++)})),o.totalStacks=n+1,o)},t.wrap(t.Axis.prototype,"init",(function(e){var i=arguments;i[1].is3d()&&(i[2].tickWidth=t.pick(i[2].tickWidth,0),i[2].gridLineWidth=t.pick(i[2].gridLineWidth,1)),e.apply(this,[].slice.call(arguments,1))})),t.wrap(t.Axis.prototype,"render",(function(t){if(t.apply(this,[].slice.call(arguments,1)),this.chart.is3d()){var e=this.chart,i=e.renderer,o=(u=e.options.chart.options3d).alpha,n=u.beta*(e.yAxis[0].opposite?-1:1),r=(a=u.frame).bottom,s=a.back,a=a.side,l=u.depth,h=this.height,c=this.width,p=this.left,d=this.top,u={x:e.plotLeft+e.plotWidth/2,y:e.plotTop+e.plotHeight/2,z:l,vd:u.viewDistance};if(this.horiz)this.axisLine&&this.axisLine.hide(),n={x:p,y:d+(e.yAxis[0].reversed?-r.size:h),z:0,width:c,height:r.size,depth:l,alpha:o,beta:n,origin:u},this.bottomFrame?this.bottomFrame.animate(n):this.bottomFrame=i.cuboid(n).attr({fill:r.color,zIndex:e.yAxis[0].reversed&&o>0?4:-1}).css({stroke:r.color}).add();else{var f={x:p,y:d,z:l+1,width:c,height:h+r.size,depth:s.size,alpha:o,beta:n,origin:u};this.backFrame?this.backFrame.animate(f):this.backFrame=i.cuboid(f).attr({fill:s.color,zIndex:-3}).css({stroke:s.color}).add(),this.axisLine&&this.axisLine.hide(),e={x:(e.yAxis[0].opposite?c:0)+p-a.size,y:d,z:0,width:a.size,height:h+r.size,depth:l+s.size,alpha:o,beta:n,origin:u},this.sideFrame?this.sideFrame.animate(e):this.sideFrame=i.cuboid(e).attr({fill:a.color,zIndex:-2}).css({stroke:a.color}).add()}}})),t.wrap(t.Axis.prototype,"getPlotLinePath",(function(t){var i=t.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d())return i;if(null===i)return i;var o=this.chart,n=o.options.chart.options3d,r=n.depth;n.origin={x:o.plotLeft+o.plotWidth/2,y:o.plotTop+o.plotHeight/2,z:r,vd:n.viewDistance},i=[{x:i[1],y:i[2],z:this.horiz||this.opposite?r:0},{x:i[1],y:i[2],z:r},{x:i[4],y:i[5],z:r},{x:i[4],y:i[5],z:this.horiz||this.opposite?0:r}],r=o.options.inverted?n.beta:n.alpha;var s=o.options.inverted?n.alpha:n.beta;return i=e(i,r,s*=o.yAxis[0].opposite?-1:1,n.origin),this.chart.renderer.toLinePath(i,!1)})),t.wrap(t.Axis.prototype,"getPlotBandPath",(function(t){if(this.chart.is3d()){var e=(i=arguments)[1],i=this.getPlotLinePath(i[2]);return(e=this.getPlotLinePath(e))&&i?e.push(i[7],i[8],i[4],i[5],i[1],i[2]):e=null,e}return t.apply(this,[].slice.call(arguments,1))})),t.wrap(t.Tick.prototype,"getMarkPath",(function(t){var i=t.apply(this,[].slice.call(arguments,1));if(!this.axis.chart.is3d())return i;var o=this.axis.chart,n=o.options.chart.options3d,r={x:o.plotLeft+o.plotWidth/2,y:o.plotTop+o.plotHeight/2,z:n.depth,vd:n.viewDistance},s=(i=[{x:i[1],y:i[2],z:0},{x:i[4],y:i[5],z:0}],o.inverted?n.beta:n.alpha);return n=o.inverted?n.alpha:n.beta,["M",(i=e(i,s,n*=o.yAxis[0].opposite?-1:1,r))[0].x,i[0].y,"L",i[1].x,i[1].y]})),t.wrap(t.Tick.prototype,"getLabelPosition",(function(t){var i=t.apply(this,[].slice.call(arguments,1));if(!this.axis.chart.is3d())return i;var o=this.axis.chart,n=o.options.chart.options3d,r={x:o.plotLeft+o.plotWidth/2,y:o.plotTop+o.plotHeight/2,z:n.depth,vd:n.viewDistance},s=o.inverted?n.beta:n.alpha;return n=o.inverted?n.alpha:n.beta,n*=o.yAxis[0].opposite?-1:1,e([{x:i.x,y:i.y,z:0}],s,n,r)[0]})),t.wrap(t.Axis.prototype,"drawCrosshair",(function(t){var e=arguments;this.chart.is3d()&&e[2]&&(e[2]={plotX:e[2].plotXold||e[2].plotX,plotY:e[2].plotYold||e[2].plotY}),t.apply(this,[].slice.call(e,1))})),t.wrap(t.seriesTypes.column.prototype,"translate",(function(i){if(i.apply(this,[].slice.call(arguments,1)),this.chart.is3d()){var o=this.chart,n=this.options,r=o.options.chart.options3d,s=n.depth||25,a={x:o.plotWidth/2,y:o.plotHeight/2,z:r.depth,vd:r.viewDistance},l=r.alpha,h=r.beta*(o.yAxis[0].opposite?-1:1),c=(n.stacking?n.stack||0:this._i)*(s+(n.groupZPadding||1));!1!==n.grouping&&(c=0),c+=n.groupZPadding||1,t.each(this.data,(function(t){if(null!==t.y){var i=t.shapeArgs,o=t.tooltipPos;t.shapeType="cuboid",i.alpha=l,i.beta=h,i.z=c,i.origin=a,i.depth=s,o=e([{x:o[0],y:o[1],z:c}],l,h,a)[0],t.tooltipPos=[o.x,o.y]}}))}})),t.wrap(t.seriesTypes.column.prototype,"animate",(function(e){if(this.chart.is3d()){var i=arguments[1],o=this.yAxis,n=this,r=this.yAxis.reversed;t.svg&&(i?t.each(n.data,(function(t){null===t.y||(t.height=t.shapeArgs.height,t.shapey=t.shapeArgs.y,t.shapeArgs.height=1,r)||(t.shapeArgs.y=t.stackY?t.plotY+o.translate(t.stackY):t.plotY+(t.negative?-t.height:t.height))})):(t.each(n.data,(function(t){null!==t.y&&(t.shapeArgs.height=t.height,t.shapeArgs.y=t.shapey,t.graphic&&t.graphic.animate(t.shapeArgs,n.options.animation))})),this.drawDataLabels(),n.animate=null))}else e.apply(this,[].slice.call(arguments,1))})),t.wrap(t.seriesTypes.column.prototype,"init",(function(t){if(t.apply(this,[].slice.call(arguments,1)),this.chart.is3d()){var e=this.options,i=e.grouping,o=e.stacking,n=0;if((void 0===i||i)&&o){for(i=this.chart.retrieveStacks(i,o),o=e.stack||0,n=0;n<i[o].series.length&&i[o].series[n]!==this;n++);n=10*i.totalStacks-10*(i.totalStacks-i[o].position)-n}e.zIndex=n}})),t.wrap(t.Series.prototype,"alignDataLabel",(function(t){if(this.chart.is3d()&&("column"===this.type||"columnrange"===this.type)){var i=this.chart,o=i.options.chart.options3d,n=arguments[4],r=e([r={x:n.x,y:n.y,z:0}],o.alpha,o.beta*(i.yAxis[0].opposite?-1:1),{x:i.plotWidth/2,y:i.plotHeight/2,z:o.depth,vd:o.viewDistance})[0];n.x=r.x,n.y=r.y}t.apply(this,[].slice.call(arguments,1))})),t.seriesTypes.columnrange&&t.wrap(t.seriesTypes.columnrange.prototype,"drawPoints",n),t.wrap(t.seriesTypes.column.prototype,"drawPoints",n);var p=t.getOptions();p.plotOptions.cylinder=t.merge(p.plotOptions.column),p=t.extendClass(t.seriesTypes.column,{type:"cylinder"}),t.seriesTypes.cylinder=p,t.wrap(t.seriesTypes.cylinder.prototype,"translate",(function(e){if(e.apply(this,[].slice.call(arguments,1)),this.chart.is3d()){var i=this.chart,o=(n=i.options).plotOptions.cylinder,n=n.chart.options3d,l=o.depth||0,h={x:i.inverted?i.plotHeight/2:i.plotWidth/2,y:i.inverted?i.plotWidth/2:i.plotHeight/2,z:n.depth,vd:n.viewDistance},c=n.alpha,p=o.stacking?(this.options.stack||0)*l:this._i*l;p+=l/2,!1!==o.grouping&&(p=0),t.each(this.data,(function(t){var e=t.shapeArgs;t.shapeType="arc3d",e.x+=l/2,e.z=p,e.start=0,e.end=2*r,e.r=.95*l,e.innerR=0,e.depth=e.height*(1/a((90-c)*s))-p,e.alpha=90-c,e.beta=0,e.origin=h}))}})),t.wrap(t.seriesTypes.pie.prototype,"translate",(function(e){if(e.apply(this,[].slice.call(arguments,1)),this.chart.is3d()){var i=this,o=i.chart,n=i.options,r=n.depth||0,c=o.options.chart.options3d,p={x:o.plotWidth/2,y:o.plotHeight/2,z:c.depth},d=c.alpha,u=c.beta,f=n.stacking?(n.stack||0)*r:i._i*r;f+=r/2,!1!==n.grouping&&(f=0),t.each(i.data,(function(t){t.shapeType="arc3d";var e=t.shapeArgs;t.y&&(e.z=f,e.depth=.75*r,e.origin=p,e.alpha=d,e.beta=u,e=(e.end+e.start)/2,t.slicedTranslation={translateX:h(l(e)*i.options.slicedOffset*l(d*s)),translateY:h(a(e)*i.options.slicedOffset*l(d*s))})}))}})),t.wrap(t.seriesTypes.pie.prototype.pointClass.prototype,"haloPath",(function(t){var e=arguments;return this.series.chart.is3d()?[]:t.call(this,e[1])})),t.wrap(t.seriesTypes.pie.prototype,"drawPoints",(function(e){if(this.chart.is3d()){var i=this.options,o=this.options.states;this.borderWidth=i.borderWidth=i.edgeWidth||1,this.borderColor=i.edgeColor=t.pick(i.edgeColor,i.borderColor,void 0),o.hover.borderColor=t.pick(o.hover.edgeColor,this.borderColor),o.hover.borderWidth=t.pick(o.hover.edgeWidth,this.borderWidth),o.select.borderColor=t.pick(o.select.edgeColor,this.borderColor),o.select.borderWidth=t.pick(o.select.edgeWidth,this.borderWidth),t.each(this.data,(function(t){var e=t.pointAttr;e[""].stroke=t.series.borderColor||t.color,e[""]["stroke-width"]=t.series.borderWidth,e.hover.stroke=o.hover.borderColor,e.hover["stroke-width"]=o.hover.borderWidth,e.select.stroke=o.select.borderColor,e.select["stroke-width"]=o.select.borderWidth}))}if(e.apply(this,[].slice.call(arguments,1)),this.chart.is3d()){var n=this.group;t.each(this.points,(function(t){t.graphic.out.add(n),t.graphic.inn.add(n),t.graphic.side1.add(n),t.graphic.side2.add(n)}))}})),t.wrap(t.seriesTypes.pie.prototype,"drawDataLabels",(function(e){this.chart.is3d()&&t.each(this.data,(function(t){var e=(n=t.shapeArgs).r,i=n.depth,o=n.alpha*s,n=(n.start+n.end)/2;(t=t.labelPos)[1]+=-e*(1-l(o))*a(n)+(a(n)>0?a(o)*i:0),t[3]+=-e*(1-l(o))*a(n)+(a(n)>0?a(o)*i:0),t[5]+=-e*(1-l(o))*a(n)+(a(n)>0?a(o)*i:0)})),e.apply(this,[].slice.call(arguments,1))})),t.wrap(t.seriesTypes.pie.prototype,"addPoint",(function(t){t.apply(this,[].slice.call(arguments,1)),this.chart.is3d()&&this.update()})),t.wrap(t.seriesTypes.pie.prototype,"animate",(function(e){if(this.chart.is3d()){var i=arguments[1],o=this.options.animation,n=this.center,r=this.group,s=this.markerGroup;t.svg&&(!0===o&&(o={}),i?(r.oldtranslateX=r.translateX,r.oldtranslateY=r.translateY,i={translateX:n[0],translateY:n[1],scaleX:.001,scaleY:.001},r.attr(i),s&&(s.attrSetters=r.attrSetters,s.attr(i))):(i={translateX:r.oldtranslateX,translateY:r.oldtranslateY,scaleX:1,scaleY:1},r.animate(i,o),s&&s.animate(i,o),this.animate=null))}else e.apply(this,[].slice.call(arguments,1))})),t.wrap(t.seriesTypes.scatter.prototype,"translate",(function(i){if(i.apply(this,[].slice.call(arguments,1)),this.chart.is3d()){var o=this.chart,n=(a=this.chart.options.chart.options3d).alpha,r=a.beta,s={x:o.inverted?o.plotHeight/2:o.plotWidth/2,y:o.inverted?o.plotWidth/2:o.plotHeight/2,z:a.depth,vd:a.viewDistance},a=a.depth,l=o.options.zAxis||{min:0,max:a},h=a/(l.max-l.min);t.each(this.data,(function(t){var i=e([i={x:t.plotX,y:t.plotY,z:(t.z-l.min)*h}],n,r,s)[0];t.plotXold=t.plotX,t.plotYold=t.plotY,t.plotX=i.x,t.plotY=i.y,t.plotZ=i.z}))}})),t.wrap(t.seriesTypes.scatter.prototype,"init",(function(t){var e=t.apply(this,[].slice.call(arguments,1));return this.chart.is3d()&&(this.pointArrayMap=["x","y","z"],this.tooltipOptions.pointFormat=this.userOptions.tooltip&&this.userOptions.tooltip.pointFormat||"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"),e})),t.VMLRenderer&&(t.setOptions({animate:!1}),t.VMLRenderer.prototype.cuboid=t.SVGRenderer.prototype.cuboid,t.VMLRenderer.prototype.cuboidPath=t.SVGRenderer.prototype.cuboidPath,t.VMLRenderer.prototype.toLinePath=t.SVGRenderer.prototype.toLinePath,t.VMLRenderer.prototype.createElement3D=t.SVGRenderer.prototype.createElement3D,t.VMLRenderer.prototype.arc3d=function(e){return(e=t.SVGRenderer.prototype.arc3d.call(this,e)).css({zIndex:e.zIndex}),e},t.VMLRenderer.prototype.arc3dPath=t.SVGRenderer.prototype.arc3dPath,t.Chart.prototype.renderSeries=function(){for(var t,e=this.series.length;e--;)(t=this.series[e]).translate(),t.setTooltipPoints&&t.setTooltipPoints(),t.render()},t.wrap(t.Axis.prototype,"render",(function(t){t.apply(this,[].slice.call(arguments,1)),this.sideFrame&&(this.sideFrame.css({zIndex:0}),this.sideFrame.front.attr({fill:this.sideFrame.color})),this.bottomFrame&&(this.bottomFrame.css({zIndex:1}),this.bottomFrame.front.attr({fill:this.bottomFrame.color})),this.backFrame&&(this.backFrame.css({zIndex:0}),this.backFrame.front.attr({fill:this.backFrame.color}))})))}(Highcharts)},399:()=>{!function(t,e){function i(t,e,i){this.init.call(this,t,e,i)}var o=t.arrayMin,n=t.arrayMax,r=t.each,s=t.extend,a=t.merge,l=t.map,h=t.pick,c=t.pInt,p=t.getOptions().plotOptions,d=t.seriesTypes,u=t.extendClass,f=t.splat,g=t.wrap,m=t.Axis,y=t.Tick,v=t.Point,x=t.Pointer,b=t.CenteredSeriesMixin,w=t.TrackerMixin,k=t.Series,T=Math,S=T.round,P=T.floor,A=T.max,L=t.Color,C=function(){};s(i.prototype,{init:function(t,e,i){var o=this,n=o.defaultOptions;o.chart=e,e.angular&&(n.background={}),o.options=t=a(n,t),(t=t.background)&&r([].concat(f(t)).reverse(),(function(t){var e=t.backgroundColor;t=a(o.defaultBackgroundOptions,t),e&&(t.backgroundColor=e),t.color=t.backgroundColor,i.options.plotBands.unshift(t)}))},defaultOptions:{center:["50%","50%"],size:"85%",startAngle:0},defaultBackgroundOptions:{shape:"circle",borderWidth:1,borderColor:"silver",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#FFF"],[1,"#DDD"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"}});var M,z=m.prototype,I=(y=y.prototype,{getOffset:C,redraw:function(){this.isDirty=!1},render:function(){this.isDirty=!1},setScale:C,setCategories:C,setTitle:C}),O={isRadial:!0,defaultRadialGaugeOptions:{labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},defaultRadialXOptions:{gridLineWidth:1,labels:{align:null,distance:15,x:0,y:null},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},defaultRadialYOptions:{gridLineInterpolation:"circle",labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},setOptions:function(t){(t=this.options=a(this.defaultOptions,this.defaultRadialOptions,t)).plotBands||(t.plotBands=[])},getOffset:function(){z.getOffset.call(this),this.chart.axisOffset[this.side]=0,this.center=this.pane.center=b.getCenter.call(this.pane)},getLinePath:function(t,e){var i=this.center;return e=h(e,i[2]/2-this.offset),this.chart.renderer.symbols.arc(this.left+i[0],this.top+i[1],e,e,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})},setAxisTranslation:function(){z.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.center[2]/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)},beforeSetTickPositions:function(){this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)},setAxisSize:function(){z.setAxisSize.call(this),this.isRadial&&(this.center=this.pane.center=t.CenteredSeriesMixin.getCenter.call(this.pane),this.isCircular&&(this.sector=this.endAngleRad-this.startAngleRad),this.len=this.width=this.height=this.center[2]*h(this.sector,1)/2)},getPosition:function(t,e){return this.postTranslate(this.isCircular?this.translate(t):0,h(this.isCircular?e:this.translate(t),this.center[2]/2)-this.offset)},postTranslate:function(t,e){var i=this.chart,o=this.center;return t=this.startAngleRad+t,{x:i.plotLeft+o[0]+Math.cos(t)*e,y:i.plotTop+o[1]+Math.sin(t)*e}},getPlotBandPath:function(t,e,i){var o,n=this.center,r=this.startAngleRad,s=n[2]/2,a=[h(i.outerRadius,"100%"),i.innerRadius,h(i.thickness,10)],p=/%$/,d=this.isCircular;return"polygon"===this.options.gridLineInterpolation?n=this.getPlotLinePath(t).concat(this.getPlotLinePath(e,!0)):(d||(a[0]=this.translate(t),a[1]=this.translate(e)),a=l(a,(function(t){return p.test(t)&&(t=c(t,10)*s/100),t})),"circle"!==i.shape&&d?(t=r+this.translate(t),e=r+this.translate(e)):(t=-Math.PI/2,e=1.5*Math.PI,o=!0),n=this.chart.renderer.symbols.arc(this.left+n[0],this.top+n[1],a[0],a[0],{start:t,end:e,innerR:h(a[1],a[0]-a[2]),open:o})),n},getPlotLinePath:function(t,e){var i,o,n,s=this,a=s.center,l=s.chart,h=s.getPosition(t);return s.isCircular?n=["M",a[0]+l.plotLeft,a[1]+l.plotTop,"L",h.x,h.y]:"circle"===s.options.gridLineInterpolation?(t=s.translate(t))&&(n=s.getLinePath(0,t)):(r(l.xAxis,(function(t){t.pane===s.pane&&(i=t)})),n=[],t=s.translate(t),a=i.tickPositions,i.autoConnect&&(a=a.concat([a[0]])),e&&(a=[].concat(a).reverse()),r(a,(function(e,r){o=i.getPosition(e,t),n.push(r?"L":"M",o.x,o.y)}))),n},getTitlePosition:function(){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)}}};g(z,"init",(function(t,o,n){var r,l,c=o.angular,p=o.polar,d=n.isX,u=c&&d;l=o.options;var g=n.pane||0;c?(s(this,u?I:O),(r=!d)&&(this.defaultRadialOptions=this.defaultRadialGaugeOptions)):p&&(s(this,O),this.defaultRadialOptions=(r=d)?this.defaultRadialXOptions:a(this.defaultYAxisOptions,this.defaultRadialYOptions)),t.call(this,o,n),u||!c&&!p||(t=this.options,o.panes||(o.panes=[]),this.pane=g=o.panes[g]=o.panes[g]||new i(f(l.pane)[g],o,this),g=g.options,o.inverted=!1,l.chart.zoomType=null,this.startAngleRad=o=(g.startAngle-90)*Math.PI/180,this.endAngleRad=l=(h(g.endAngle,g.startAngle+360)-90)*Math.PI/180,this.offset=t.offset||0,(this.isCircular=r)&&n.max===e&&l-o==2*Math.PI&&(this.autoConnect=!0))})),g(y,"getPosition",(function(t,e,i,o,n){var r=this.axis;return r.getPosition?r.getPosition(i):t.call(this,e,i,o,n)})),g(y,"getLabelPosition",(function(t,e,i,o,n,r,s,a,l){var c=this.axis,p=r.y,d=r.align,u=(c.translate(this.pos)+c.startAngleRad+Math.PI/2)/Math.PI*180%360;return c.isRadial?(t=c.getPosition(this.pos,c.center[2]/2+h(r.distance,-25)),"auto"===r.rotation?o.attr({rotation:u}):null===p&&(p=c.chart.renderer.fontMetrics(o.styles.fontSize).b-o.getBBox().height/2),null===d&&(d=c.isCircular?u>20&&u<160?"left":u>200&&u<340?"right":"center":"center",o.attr({align:d})),t.x+=r.x,t.y+=p):t=t.call(this,e,i,o,n,r,s,a,l),t})),g(y,"getMarkPath",(function(t,e,i,o,n,r,s){var a=this.axis;return e=a.isRadial?["M",e,i,"L",(t=a.getPosition(this.pos,a.center[2]/2+o)).x,t.y]:t.call(this,e,i,o,n,r,s)})),p.arearange=a(p.area,{lineWidth:1,marker:null,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:null,verticalAlign:null,xLow:0,xHigh:0,yLow:0,yHigh:0},states:{hover:{halo:!1}}}),d.arearange=u(d.area,{type:"arearange",pointArrayMap:["low","high"],toYData:function(t){return[t.low,t.high]},pointValKey:"low",getSegments:function(){var t=this;r(t.points,(function(e){t.options.connectNulls||null!==e.low&&null!==e.high?null===e.low&&null!==e.high&&(e.y=e.high):e.y=null})),k.prototype.getSegments.call(this)},translate:function(){var t=this.yAxis;d.area.prototype.translate.apply(this),r(this.points,(function(e){var i=e.low,o=e.high,n=e.plotY;null===o&&null===i?e.y=null:null===i?(e.plotLow=e.plotY=null,e.plotHigh=t.translate(o,0,1,0,1)):null===o?(e.plotLow=n,e.plotHigh=null):(e.plotLow=n,e.plotHigh=t.translate(o,0,1,0,1))}))},getSegmentPath:function(t){var e,i,o,n=[],r=t.length,s=k.prototype.getSegmentPath,a=(o=this.options).step;for(e=HighchartsAdapter.grep(t,(function(t){return null!==t.plotLow}));r--;)null!==(i=t[r]).plotHigh&&n.push({plotX:i.plotX,plotY:i.plotHigh});return t=s.call(this,e),a&&(!0===a&&(a="left"),o.step={left:"right",center:"center",right:"left"}[a]),n=s.call(this,n),o.step=a,o=[].concat(t,n),n[0]="L",this.areaPath=this.areaPath.concat(t,n),o},drawDataLabels:function(){var t,e,i=this.data,o=i.length,n=[],r=k.prototype,s=this.options.dataLabels,a=s.align,l=this.chart.inverted;if(s.enabled||this._hasPointLabels){for(t=o;t--;)(e=i[t]).y=e.high,e._plotY=e.plotY,e.plotY=e.plotHigh,n[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=!1,l?(a||(s.align="left"),s.x=s.xHigh):s.y=s.yHigh;for(r.drawDataLabels&&r.drawDataLabels.apply(this,arguments),t=o;t--;)(e=i[t]).dataLabelUpper=e.dataLabel,e.dataLabel=n[t],e.y=e.low,e.plotY=e._plotY,e.below=!0,l?(a||(s.align="right"),s.x=s.xLow):s.y=s.yLow;r.drawDataLabels&&r.drawDataLabels.apply(this,arguments)}s.align=a},alignDataLabel:function(){d.column.prototype.alignDataLabel.apply(this,arguments)},getSymbol:C,drawPoints:C}),p.areasplinerange=a(p.arearange),d.areasplinerange=u(d.arearange,{type:"areasplinerange",getPointSpline:d.spline.prototype.getPointSpline}),M=d.column.prototype,p.columnrange=a(p.column,p.arearange,{lineWidth:1,pointRange:null}),d.columnrange=u(d.arearange,{type:"columnrange",translate:function(){var t,e=this,i=e.yAxis;M.translate.apply(e),r(e.points,(function(o){var n,r=o.shapeArgs,s=e.options.minPointLength;o.tooltipPos=null,o.plotHigh=t=i.translate(o.high,0,1,0,1),o.plotLow=o.plotY,n=t,(o=o.plotY-t)<s&&(o+=s-=o,n-=s/2),r.height=o,r.y=n}))},trackerGroups:["group","dataLabelsGroup"],drawGraph:C,pointAttrToOptions:M.pointAttrToOptions,drawPoints:M.drawPoints,drawTracker:M.drawTracker,animate:M.animate,getColumnMetrics:M.getColumnMetrics}),p.gauge=a(p.line,{dataLabels:{enabled:!0,defer:!1,y:15,borderWidth:1,borderColor:"silver",borderRadius:3,crop:!1,style:{fontWeight:"bold"},verticalAlign:"top",zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1}),w={type:"gauge",pointClass:u(v,{setState:function(t){this.state=t}}),angular:!0,drawGraph:C,fixedBox:!0,forceDL:!0,trackerGroups:["group","dataLabelsGroup"],translate:function(){var t=this.yAxis,e=this.options,i=t.center;this.generatePoints(),r(this.points,(function(o){var n=a(e.dial,o.dial),r=c(h(n.radius,80))*i[2]/200,s=c(h(n.baseLength,70))*r/100,l=c(h(n.rearLength,10))*r/100,p=n.baseWidth||3,d=n.topWidth||1,u=e.overshoot,f=t.startAngleRad+t.translate(o.y,null,null,null,!0);u&&"number"==typeof u?(u=u/180*Math.PI,f=Math.max(t.startAngleRad-u,Math.min(t.endAngleRad+u,f))):!1===e.wrap&&(f=Math.max(t.startAngleRad,Math.min(t.endAngleRad,f))),f=180*f/Math.PI,o.shapeType="path",o.shapeArgs={d:n.path||["M",-l,-p/2,"L",s,-p/2,r,-d/2,r,d/2,s,p/2,-l,p/2,"z"],translateX:i[0],translateY:i[1],rotation:f},o.plotX=i[0],o.plotY=i[1]}))},drawPoints:function(){var t=this,e=t.yAxis.center,i=t.pivot,o=t.options,n=o.pivot,s=t.chart.renderer;r(t.points,(function(e){var i=e.graphic,n=e.shapeArgs,r=n.d,l=a(o.dial,e.dial);i?(i.animate(n),n.d=r):e.graphic=s[e.shapeType](n).attr({stroke:l.borderColor||"none","stroke-width":l.borderWidth||0,fill:l.backgroundColor||"black",rotation:n.rotation}).add(t.group)})),i?i.animate({translateX:e[0],translateY:e[1]}):t.pivot=s.circle(0,0,h(n.radius,5)).attr({"stroke-width":n.borderWidth||0,stroke:n.borderColor||"silver",fill:n.backgroundColor||"black"}).translate(e[0],e[1]).add(t.group)},animate:function(t){var e=this;t||(r(e.points,(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.animate=null)},render:function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup),k.prototype.render.call(this),this.group.clip(this.chart.clipRect)},setData:function(t,e){k.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),h(e,!0)&&this.chart.redraw()},drawTracker:w&&w.drawTrackerPoint},d.gauge=u(d.line,w),p.boxplot=a(p.column,{fillColor:"#FFFFFF",lineWidth:1,medianWidth:2,states:{hover:{brightness:-.3}},threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</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%",whiskerWidth:2}),d.boxplot=u(d.column,{type:"boxplot",pointArrayMap:["low","q1","median","q3","high"],toYData:function(t){return[t.low,t.q1,t.median,t.q3,t.high]},pointValKey:"high",pointAttrToOptions:{fill:"fillColor",stroke:"color","stroke-width":"lineWidth"},drawDataLabels:C,translate:function(){var t=this.yAxis,e=this.pointArrayMap;d.column.prototype.translate.apply(this),r(this.points,(function(i){r(e,(function(e){null!==i[e]&&(i[e+"Plot"]=t.translate(i[e],0,1,0,1))}))}))},drawPoints:function(){var t,i,o,n,s,a,l,c,p,d,u,f,g,m,y,v,x,b,w,k,T,A,L=this,C=L.points,M=L.options,z=L.chart.renderer,I=!1!==L.doQuartiles,O=parseInt(L.options.whiskerLength,10)/100;r(C,(function(r){p=r.graphic,T=r.shapeArgs,u={},m={},v={},A=r.color||L.color,r.plotY!==e&&(t=r.pointAttr[r.selected?"selected":""],x=T.width,b=P(T.x),w=b+x,k=S(x/2),i=P(I?r.q1Plot:r.lowPlot),o=P(I?r.q3Plot:r.lowPlot),n=P(r.highPlot),s=P(r.lowPlot),u.stroke=r.stemColor||M.stemColor||A,u["stroke-width"]=h(r.stemWidth,M.stemWidth,M.lineWidth),u.dashstyle=r.stemDashStyle||M.stemDashStyle,m.stroke=r.whiskerColor||M.whiskerColor||A,m["stroke-width"]=h(r.whiskerWidth,M.whiskerWidth,M.lineWidth),v.stroke=r.medianColor||M.medianColor||A,v["stroke-width"]=h(r.medianWidth,M.medianWidth,M.lineWidth),v["stroke-linecap"]="round",l=u["stroke-width"]%2/2,d=["M",c=b+k+l,o,"L",c,n,"M",c,i,"L",c,s],I&&(l=t["stroke-width"]%2/2,c=P(c)+l,i=P(i)+l,o=P(o)+l,f=["M",b+=l,o,"L",b,i,"L",w+=l,i,"L",w,o,"L",b,o,"z"]),O&&(l=m["stroke-width"]%2/2,g=["M",c-k*O,n+=l,"L",c+k*O,n,"M",c-k*O,s+=l,"L",c+k*O,s]),l=v["stroke-width"]%2/2,a=S(r.medianPlot)+l,y=["M",b,a,"L",w,a],p?(r.stem.animate({d}),O&&r.whiskers.animate({d:g}),I&&r.box.animate({d:f}),r.medianShape.animate({d:y})):(r.graphic=p=z.g().add(L.group),r.stem=z.path(d).attr(u).add(p),O&&(r.whiskers=z.path(g).attr(m).add(p)),I&&(r.box=z.path(f).attr(t).add(p)),r.medianShape=z.path(y).attr(v).add(p)))}))}}),p.errorbar=a(p.boxplot,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}),d.errorbar=u(d.boxplot,{type:"errorbar",pointArrayMap:["low","high"],toYData:function(t){return[t.low,t.high]},pointValKey:"high",doQuartiles:!1,drawDataLabels:d.arearange?d.arearange.prototype.drawDataLabels:C,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||d.column.prototype.getColumnMetrics.call(this)}}),p.waterfall=a(p.column,{lineWidth:1,lineColor:"#333",dashStyle:"dot",borderColor:"#333",states:{hover:{lineWidthPlus:0}}}),d.waterfall=u(d.column,{type:"waterfall",upColorProp:"fill",pointArrayMap:["low","y"],pointValKey:"y",init:function(t,e){e.stacking=!0,d.column.prototype.init.call(this,t,e)},translate:function(){var t,e,i,o,n,r,s,a,l,h,c=this.yAxis;for(t=this.options.threshold,d.column.prototype.translate.apply(this),a=l=t,e=0,t=(i=this.points).length;e<t;e++)n=(o=i[e]).shapeArgs,h=(r=this.getStack(e)).points[this.index+","+e],isNaN(o.y)&&(o.y=this.yData[e]),s=A(a,a+o.y)+h[0],n.y=c.translate(s,0,1),o.isSum?(n.y=c.translate(h[1],0,1),n.height=c.translate(h[0],0,1)-n.y):o.isIntermediateSum?(n.y=c.translate(h[1],0,1),n.height=c.translate(l,0,1)-n.y,l=h[1]):a+=r.total,n.height<0&&(n.y+=n.height,n.height*=-1),o.plotY=n.y=S(n.y)-this.borderWidth%2/2,n.height=A(S(n.height),.001),o.yBottom=n.y+n.height,n=o.plotY+(o.negative?n.height:0),this.chart.inverted?o.tooltipPos[0]=c.len-n:o.tooltipPos[1]=n},processData:function(t){var e,i,o,n,r,s,a,l=this.yData,h=this.points,c=l.length;for(o=i=n=r=this.options.threshold||0,a=0;a<c;a++)s=l[a],e=h&&h[a]?h[a]:{},"sum"===s||e.isSum?l[a]=o:"intermediateSum"===s||e.isIntermediateSum?l[a]=i:(o+=s,i+=s),n=Math.min(o,n),r=Math.max(o,r);k.prototype.processData.call(this,t),this.dataMin=n,this.dataMax=r},toYData:function(t){return t.isSum?0===t.x?null:"sum":t.isIntermediateSum?0===t.x?null:"intermediateSum":t.y},getAttribs:function(){d.column.prototype.getAttribs.apply(this,arguments);var e=(o=this.options).states,i=o.upColor||this.color,o=t.Color(i).brighten(.1).get(),n=a(this.pointAttr),s=this.upColorProp;n[""][s]=i,n.hover[s]=e.hover.upColor||o,n.select[s]=e.select.upColor||i,r(this.points,(function(t){t.y>0&&!t.color&&(t.pointAttr=n,t.color=i)}))},getGraphPath:function(){var t,e,i,o=this.data,n=o.length,r=S(this.options.lineWidth+this.borderWidth)%2/2,s=[];for(i=1;i<n;i++)e=o[i].shapeArgs,e=["M",(t=o[i-1].shapeArgs).x+t.width,t.y+r,"L",e.x,t.y+r],o[i-1].y<0&&(e[2]+=t.height,e[5]+=t.height),s=s.concat(e);return s},getExtremes:C,getStack:function(t){var e=this.yAxis.stacks,i=this.stackKey;return this.processedYData[t]<this.options.threshold&&(i="-"+i),e[i][t]},drawGraph:k.prototype.drawGraph}),p.bubble=a(p.scatter,{dataLabels:{formatter:function(){return this.point.z},inside:!0,style:{color:"white",textShadow:"0px 0px 3px black"},verticalAlign:"middle"},marker:{lineColor:null,lineWidth:1},minSize:8,maxSize:"20%",states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0}),w=u(v,{haloPath:function(){return v.prototype.haloPath.call(this,this.shapeArgs.r+this.series.options.states.hover.halo.size)}}),d.bubble=u(d.scatter,{type:"bubble",pointClass:w,pointArrayMap:["y","z"],parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],bubblePadding:!0,pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor"},applyOpacity:function(t){var e=this.options.marker,i=h(e.fillOpacity,.5);return t=t||e.fillColor||this.color,1!==i&&(t=L(t).setOpacity(i).get("rgba")),t},convertAttribs:function(){var t=k.prototype.convertAttribs.apply(this,arguments);return t.fill=this.applyOpacity(t.fill),t},getRadii:function(t,e,i,o){var n,r,s,a=this.zData,l=[],h="width"!==this.options.sizeBy;for(r=0,n=a.length;r<n;r++)s=(s=e-t)>0?(a[r]-t)/(e-t):.5,h&&s>=0&&(s=Math.sqrt(s)),l.push(T.ceil(i+s*(o-i))/2);this.radii=l},animate:function(t){var e=this.options.animation;t||(r(this.points,(function(t){var i=t.graphic;t=t.shapeArgs,i&&t&&(i.attr("r",1),i.animate({r:t.r},e))})),this.animate=null)},translate:function(){var t,i,o,n=this.data,r=this.radii;for(d.scatter.prototype.translate.call(this),t=n.length;t--;)i=n[t],o=r?r[t]:0,i.negative=i.z<(this.options.zThreshold||0),o>=this.minPxSize/2?(i.shapeType="circle",i.shapeArgs={x:i.plotX,y:i.plotY,r:o},i.dlBox={x:i.plotX-o,y:i.plotY-o,width:2*o,height:2*o}):i.shapeArgs=i.plotY=i.dlBox=e},drawLegendSymbol:function(t,e){var i=c(t.itemStyle.fontSize)/2;e.legendSymbol=this.chart.renderer.circle(i,t.baseline-i,i).attr({zIndex:3}).add(e.legendGroup),e.legendSymbol.isMarker=!0},drawPoints:d.column.prototype.drawPoints,alignDataLabel:d.column.prototype.alignDataLabel}),m.prototype.beforePadding=function(){var t=this,i=this.len,s=this.chart,a=0,l=i,p=this.isXAxis,d=p?"xData":"yData",u=this.min,f={},g=T.min(s.plotWidth,s.plotHeight),m=Number.MAX_VALUE,y=-Number.MAX_VALUE,v=this.max-u,x=i/v,b=[];this.tickPositions&&(r(this.series,(function(e){var i=e.options;!e.bubblePadding||!e.visible&&s.options.chart.ignoreHiddenSeries||(t.allowZoomOutside=!0,b.push(e),p&&(r(["minSize","maxSize"],(function(t){var e=i[t],o=/%$/.test(e);e=c(e),f[t]=o?g*e/100:e})),e.minPxSize=f.minSize,(e=e.zData).length&&(m=h(i.zMin,T.min(m,T.max(o(e),!1===i.displayNegative?i.zThreshold:-Number.MAX_VALUE))),y=h(i.zMax,T.max(y,n(e))))))})),r(b,(function(t){var e,i=t[d],o=i.length;if(p&&t.getRadii(m,y,f.minSize,f.maxSize),v>0)for(;o--;)"number"==typeof i[o]&&(e=t.radii[o],a=Math.min((i[o]-u)*x-e,a),l=Math.max((i[o]-u)*x+e,l))})),b.length&&v>0&&h(this.options.min,this.userMin)===e&&h(this.options.max,this.userMax)===e&&(x*=(i+a-(l-=i))/i,this.min+=a/x,this.max+=l/x))},function(){function t(t,e,i){t.call(this,e,i),this.chart.polar&&(this.closeSegment=function(t){var e=this.xAxis.center;t.push("L",e[0],e[1])},this.closedStacks=!0)}function e(t,e){var i=this.chart,o=this.options.animation,n=this.group,r=this.markerGroup,s=this.xAxis.center,a=i.plotLeft,l=i.plotTop;i.polar?i.renderer.isSVG&&(!0===o&&(o={}),e?(i={translateX:s[0]+a,translateY:s[1]+l,scaleX:.001,scaleY:.001},n.attr(i),r&&r.attr(i)):(i={translateX:a,translateY:l,scaleX:1,scaleY:1},n.animate(i,o),r&&r.animate(i,o),this.animate=null)):t.call(this,e)}var i,o=k.prototype,n=x.prototype;o.toXY=function(t){var e,i=this.chart,o=t.plotX;e=t.plotY,t.rectPlotX=o,t.rectPlotY=e,(o=(o/Math.PI*180+this.xAxis.pane.options.startAngle)%360)<0&&(o+=360),t.clientX=o,e=this.xAxis.postTranslate(t.plotX,this.yAxis.len-e),t.plotX=t.polarPlotX=e.x-i.plotLeft,t.plotY=t.polarPlotY=e.y-i.plotTop},o.orderTooltipPoints=function(t){this.chart.polar&&(t.sort((function(t,e){return t.clientX-e.clientX})),t[0])&&(t[0].wrappedClientX=t[0].clientX+360,t.push(t[0]))},d.area&&g(d.area.prototype,"init",t),d.areaspline&&g(d.areaspline.prototype,"init",t),d.spline&&g(d.spline.prototype,"getPointSpline",(function(t,e,i,o){var n,r,s,a,l,h,c;return this.chart.polar?(n=i.plotX,r=i.plotY,t=e[o-1],s=e[o+1],this.connectEnds&&(t||(t=e[e.length-2]),s||(s=e[1])),t&&s&&(a=t.plotX,l=t.plotY,e=s.plotX,h=s.plotY,a=(1.5*n+a)/2.5,l=(1.5*r+l)/2.5,s=(1.5*n+e)/2.5,c=(1.5*r+h)/2.5,e=Math.sqrt(Math.pow(a-n,2)+Math.pow(l-r,2)),h=Math.sqrt(Math.pow(s-n,2)+Math.pow(c-r,2)),a=Math.atan2(l-r,a-n),l=Math.atan2(c-r,s-n),c=Math.PI/2+(a+l)/2,Math.abs(a-c)>Math.PI/2&&(c-=Math.PI),a=n+Math.cos(c)*e,l=r+Math.sin(c)*e,s=n+Math.cos(Math.PI+c)*h,c=r+Math.sin(Math.PI+c)*h,i.rightContX=s,i.rightContY=c),o?(i=["C",t.rightContX||t.plotX,t.rightContY||t.plotY,a||n,l||r,n,r],t.rightContX=t.rightContY=null):i=["M",n,r]):i=t.call(this,e,i,o),i})),g(o,"translate",(function(t){if(t.call(this),this.chart.polar&&!this.preventPostTranslate)for(var e=(t=this.points).length;e--;)this.toXY(t[e])})),g(o,"getSegmentPath",(function(t,e){var i=this.points;return this.chart.polar&&!1!==this.options.connectEnds&&e[e.length-1]===i[i.length-1]&&null!==i[0].y&&(this.connectEnds=!0,e=[].concat(e,[i[0]])),t.call(this,e)})),g(o,"animate",e),g(o,"setTooltipPoints",(function(t,e){return this.chart.polar&&s(this.xAxis,{tooltipLen:360}),t.call(this,e)})),d.column&&(i=d.column.prototype,g(i,"animate",e),g(i,"translate",(function(t){var e,i,o=this.xAxis,n=this.yAxis.len,r=o.center,s=o.startAngleRad,a=this.chart.renderer;if(this.preventPostTranslate=!0,t.call(this),o.isRadial)for(i=(o=this.points).length;i--;)t=(e=o[i]).barX+s,e.shapeType="path",e.shapeArgs={d:a.symbols.arc(r[0],r[1],n-e.plotY,null,{start:t,end:t+e.pointWidth,innerR:n-h(e.yBottom,n)})},this.toXY(e),e.tooltipPos=[e.plotX,e.plotY],e.ttBelow=e.plotY>r[1]})),g(i,"alignDataLabel",(function(t,e,i,n,r,s){this.chart.polar?(t=e.rectPlotX/Math.PI*180,null===n.align&&(n.align=t>20&&t<160?"left":t>200&&t<340?"right":"center"),null===n.verticalAlign&&(n.verticalAlign=t<45||t>315?"bottom":t>135&&t<225?"top":"middle"),o.alignDataLabel.call(this,e,i,n,r,s)):t.call(this,e,i,n,r,s)}))),g(n,"getIndex",(function(t,e){var i,o,n=this.chart;return n.polar?(o=n.xAxis[0].center,i=e.chartX-o[0]-n.plotLeft,n=e.chartY-o[1]-n.plotTop,i=180-Math.round(Math.atan2(i,n)/Math.PI*180)):i=t.call(this,e),i})),g(n,"getCoordinates",(function(t,e){var i=this.chart,o={xAxis:[],yAxis:[]};return i.polar?r(i.axes,(function(t){var n=t.isXAxis,r=t.center,s=e.chartX-r[0]-i.plotLeft;r=e.chartY-r[1]-i.plotTop,o[n?"xAxis":"yAxis"].push({axis:t,value:t.translate(n?Math.PI-Math.atan2(s,r):Math.sqrt(Math.pow(s,2)+Math.pow(r,2)),!0)})})):o=t.call(this,e),o}))}()}(Highcharts)},211:()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}!function(){function e(t,e){var i;for(i in t||(t={}),e)t[i]=e[i];return t}function i(){var e,i,o=arguments,n={},r=function e(i,o){var n,r;for(r in"object"!==t(i)&&(i={}),o)o.hasOwnProperty(r)&&(n=o[r],i[r]=n&&"object"===t(n)&&"[object Array]"!==Object.prototype.toString.call(n)&&"renderTo"!==r&&"number"!=typeof n.nodeType?e(i[r]||{},n):o[r]);return i};for(!0===o[0]&&(n=o[1],o=Array.prototype.slice.call(o,2)),i=o.length,e=0;e<i;e++)n=r(n,o[e]);return n}function o(t,e){return parseInt(t,e||10)}function n(t){return"string"==typeof t}function r(e){return e&&"object"===t(e)}function s(t){return"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"number"==typeof t}function l(t){return pt.log(t)/pt.LN10}function h(t){return pt.pow(10,t)}function c(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}}function p(t){return t!==E&&null!==t}function d(t,e,i){var o,s;if(n(e))p(i)?t.setAttribute(e,i):t&&t.getAttribute&&(s=t.getAttribute(e));else if(p(e)&&r(e))for(o in e)t.setAttribute(o,e[o]);return s}function u(t){return s(t)?t:[t]}function f(){var t,e,i=arguments,o=i.length;for(t=0;t<o;t++)if((e=i[t])!==E&&null!==e)return e}function g(t,i){St&&!zt&&i&&i.opacity!==E&&(i.filter="alpha(opacity="+100*i.opacity+")"),e(t.style,i)}function m(t,i,o,n,r){return t=ht.createElement(t),i&&e(t,i),r&&g(t,{padding:0,border:Yt,margin:0}),o&&g(t,o),n&&n.appendChild(t),t}function y(t,i){var o=function(){return E};return e(o.prototype=new t,i),o}function v(t,e,i,n){var r=at.numberFormat,s=G.lang,a=+t||0,l=-1===e?(a.toString().split(".")[1]||"").length:isNaN(e=yt(e))?2:e,h=void 0===i?s.decimalPoint:i,c=(s=void 0===n?s.thousandsSep:n,a<0?"-":""),p=String(o(a=yt(a).toFixed(l))),d=p.length>3?p.length%3:0;return r!==v?r(t,e,i,n):c+(d?p.substr(0,d)+s:"")+p.substr(d).replace(/(\d{3})(?=\d)/g,"$1"+s)+(l?h+yt(a-p).toFixed(l).slice(2):"")}function x(t,e){return Array((e||2)+1-String(t).length).join(0)+t}function b(t,e,i){var o=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments);return t.unshift(o),i.apply(this,t)}}function w(t,e){for(var i,o,n,r,s,a="{",l=!1,h=[];-1!==(a=t.indexOf(a));){if(i=t.slice(0,a),l){for(s=(n=(o=i.split(":")).shift().split(".")).length,i=e,r=0;r<s;r++)i=i[n[r]];o.length&&(o=o.join(":"),n=/\.([0-9])/,r=G.lang,s=void 0,/f$/.test(o)?(s=(s=o.match(n))?s[1]:-1,null!==i&&(i=v(i,s,r.decimalPoint,o.indexOf(",")>-1?r.thousandsSep:""))):i=F(o,i))}h.push(i),t=t.slice(a+1),a=(l=!l)?"}":"{"}return h.push(t),h.join("")}function k(t){return pt.pow(10,ut(pt.log(t)/pt.LN10))}function T(t,e,i,o){var n;for(n=t/(i=f(i,1)),e||(e=[1,2,2.5,5,10],!1===o&&(1===i?e=[1,2,5,10]:i<=.1&&(e=[1/i]))),o=0;o<e.length&&(t=e[o],!(n<=(e[o]+(e[o+1]||e[o]))/2));o++);return t*i}function S(t,e){var i,o,n=t.length;for(o=0;o<n;o++)t[o].ss_i=o;for(t.sort((function(t,o){return 0===(i=e(t,o))?t.ss_i-o.ss_i:i})),o=0;o<n;o++)delete t[o].ss_i}function P(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i}function A(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i}function L(t,e){for(var i in t)t[i]&&t[i]!==e&&t[i].destroy&&t[i].destroy(),delete t[i]}function C(t){B||(B=m(Ht)),t&&B.appendChild(t),B.innerHTML=""}function M(t){return parseFloat(t.toPrecision(14))}function z(t,e){N=f(t,e.animation)}function I(){var t=G.global.useUTC,e=t?"getUTC":"get",i=t?"setUTC":"set";U=G.global.Date||window.Date,Z=6e4*(t&&G.global.timezoneOffset||0),K=t?U.UTC:function(t,e,i,o,n,r){return new U(t,e,f(i,1),f(o,0),f(n,0),f(r,0)).getTime()},q=e+"Minutes",$=e+"Hours",Q=e+"Day",J=e+"Date",tt=e+"Month",et=e+"FullYear",it=i+"Minutes",ot=i+"Hours",nt=i+"Date",rt=i+"Month",st=i+"FullYear"}function O(){}function D(t,e,i,o){this.axis=t,this.pos=e,this.type=i||"",this.isNew=!0,!i&&!o&&this.addLabel()}function R(){this.init.apply(this,arguments)}function X(){this.init.apply(this,arguments)}function W(t,e,i,o,n){var r=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e,this.x=o,this.total=null,this.points={},this.stack=n,this.alignOptions={align:e.align||(r?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":i?"bottom":"top"),y:f(e.y,r?4:i?14:-6),x:f(e.x,r?i?-6:6:0)},this.textAlign=e.textAlign||(r?i?"right":"left":"center")}var E,H,Y,B,G,F,N,_,V,j,U,K,Z,q,$,Q,J,tt,et,it,ot,nt,rt,st,at,lt,ht=document,ct=window,pt=Math,dt=pt.round,ut=pt.floor,ft=pt.ceil,gt=pt.max,mt=pt.min,yt=pt.abs,vt=pt.cos,xt=pt.sin,bt=pt.PI,wt=2*bt/360,kt=navigator.userAgent,Tt=ct.opera,St=/msie/i.test(kt)&&!Tt,Pt=8===ht.documentMode,At=/AppleWebKit/.test(kt),Lt=/Firefox/.test(kt),Ct=/(Mobile|Android|Windows Phone)/.test(kt),Mt="http://www.w3.org/2000/svg",zt=!!ht.createElementNS&&!!ht.createElementNS(Mt,"svg").createSVGRect,It=Lt&&parseInt(kt.split("Firefox/")[1],10)<4,Ot=!zt&&!St&&!!ht.createElement("canvas").getContext,Dt={},Rt=0,Xt=function(){return E},Wt=[],Et=0,Ht="div",Yt="none",Bt=/^[0-9]+$/,Gt={};ct.Highcharts?j(16,!0):at=ct.Highcharts={},F=function(t,i,o){if(!p(i)||isNaN(i))return"Invalid date";t=f(t,"%Y-%m-%d %H:%M:%S");var n,r=(u=new U(i-Z))[$](),s=u[Q](),a=u[J](),l=u[tt](),h=u[et](),c=G.lang,d=c.weekdays,u=e({a:d[s].substr(0,3),A:d[s],d:x(a),e:a,b:c.shortMonths[l],B:c.months[l],m:x(l+1),y:h.toString().substr(2,2),Y:h,H:x(r),I:x(r%12||12),l:r%12||12,M:x(u[q]()),p:r<12?"AM":"PM",P:r<12?"am":"pm",S:x(u.getSeconds()),L:x(dt(i%1e3),3)},at.dateFormats);for(n in u)for(;-1!==t.indexOf("%"+n);)t=t.replace("%"+n,"function"==typeof u[n]?u[n](i):u[n]);return o?t.substr(0,1).toUpperCase()+t.substr(1):t},j=function(t,e){var i="Highcharts error #"+t+": www.highcharts.com/errors/"+t;if(e)throw i;ct.console&&console.log(i)},V={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:26784e5,year:31556952e3},_={init:function(t,e,i){e=e||"";var o,n,r,s=t.shift,a=e.indexOf("C")>-1,l=a?7:3,h=(e=e.split(" "),i=[].concat(i),function(t){for(o=t.length;o--;)"M"===t[o]&&t.splice(o+1,0,t[o+1],t[o+2],t[o+1],t[o+2])});if(a&&(h(e),h(i)),t.isArea&&(n=e.splice(e.length-6,6),r=i.splice(i.length-6,6)),s<=i.length/l&&e.length===i.length)for(;s--;)i=[].concat(i).splice(0,l).concat(i);if(t.shift=0,e.length)for(t=i.length;e.length<t;)s=[].concat(e).splice(e.length-l,l),a&&(s[l-6]=s[l-2],s[l-5]=s[l-1]),e=e.concat(s);return n&&(e=e.concat(n),i=i.concat(r)),[e,i]},step:function(t,e,i,o){var n=[],r=t.length;if(1===i)n=o;else if(r===e.length&&i<1)for(;r--;)o=parseFloat(t[r]),n[r]=isNaN(o)?t[r]:i*parseFloat(e[r]-o)+o;else n=e;return n}},lt=ct.jQuery,ct.HighchartsAdapter=ct.HighchartsAdapter||lt&&{init:function(t){var e=lt.fx;lt.extend(lt.easing,{easeOutQuad:function(t,e,i,o,n){return-o*(e/=n)*(e-2)+i}}),lt.each(["cur","_default","width","height","opacity"],(function(t,i){var o,n=e.step;"cur"===i?n=e.prototype:"_default"===i&&lt.Tween&&(n=lt.Tween.propHooks[i],i="set"),(o=n[i])&&(n[i]=function(e){var n;if("align"!==(e=t?e:this).prop)return(n=e.elem).attr?n.attr(e.prop,"cur"===i?E:e.now):o.apply(this,arguments)})})),b(lt.cssHooks.opacity,"get",(function(t,e,i){return e.attr?e.opacity||0:t.call(this,e,i)})),this.addAnimSetter("d",(function(e){var i,o=e.elem;e.started||(i=t.init(o,o.d,o.toD),e.start=i[0],e.end=i[1],e.started=!0),o.attr("d",t.step(e.start,e.end,e.pos,o.toD))})),this.each=Array.prototype.forEach?function(t,e){return Array.prototype.forEach.call(t,e)}:function(t,e){var i,o=t.length;for(i=0;i<o;i++)if(!1===e.call(t[i],t[i],i,t))return i},lt.fn.highcharts=function(){var t,e,i="Chart",o=arguments;return this[0]&&(n(o[0])&&(i=o[0],o=Array.prototype.slice.call(o,1)),(t=o[0])!==E&&(t.chart=t.chart||{},t.chart.renderTo=this[0],new at[i](t,o[1]),e=this),t===E&&(e=Wt[d(this[0],"data-highcharts-chart")])),e}},addAnimSetter:function(t,e){lt.Tween?lt.Tween.propHooks[t]={set:e}:lt.fx.step[t]=e},getScript:lt.getScript,inArray:lt.inArray,adapterRun:function(t,e){return lt(t)[e]()},grep:lt.grep,map:function(t,e){for(var i=[],o=0,n=t.length;o<n;o++)i[o]=e.call(t[o],t[o],o,t);return i},offset:function(t){return lt(t).offset()},addEvent:function(t,e,i){lt(t).bind(e,i)},removeEvent:function(t,e,i){var o=ht.removeEventListener?"removeEventListener":"detachEvent";ht[o]&&t&&!t[o]&&(t[o]=function(){}),lt(t).unbind(e,i)},fireEvent:function(t,i,o,n){var r,s=lt.Event(i),a="detached"+i;!St&&o&&(delete o.layerX,delete o.layerY,delete o.returnValue),e(s,o),t[i]&&(t[a]=t[i],t[i]=null),lt.each(["preventDefault","stopPropagation"],(function(t,e){var i=s[e];s[e]=function(){try{i.call(s)}catch(t){"preventDefault"===e&&(r=!0)}}})),lt(t).trigger(s),t[a]&&(t[i]=t[a],t[a]=null),n&&!s.isDefaultPrevented()&&!r&&n(s)},washMouseEvent:function(t){var e=t.originalEvent||t;return e.pageX===E&&(e.pageX=t.pageX,e.pageY=t.pageY),e},animate:function(t,e,i){var o=lt(t);t.style||(t.style={}),e.d&&(t.toD=e.d,e.d=1),o.stop(),e.opacity!==E&&t.attr&&(e.opacity+="px"),t.hasAnim=1,o.animate(e,i)},stop:function(t){t.hasAnim&&lt(t).stop()}};var Ft=(oe=ct.HighchartsAdapter)||{};oe&&oe.init.call(oe,_);var Nt=Ft.adapterRun,_t=Ft.getScript,Vt=Ft.inArray,jt=Ft.each,Ut=Ft.grep,Kt=Ft.offset,Zt=Ft.map,qt=Ft.addEvent,$t=Ft.removeEvent,Qt=Ft.fireEvent,Jt=Ft.washMouseEvent,te=Ft.animate,ee=Ft.stop,ie=(Ft={enabled:!0,x:0,y:15,style:{color:"#606060",cursor:"default",fontSize:"11px"}},(G={colors:"#7cb5ec,#434348,#90ed7d,#f7a35c,#8085e9,#f15c80,#e4d354,#8085e8,#8d4653,#91e8e1".split(","),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:"k,M,G,T,P,E".split(","),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:","},global:{useUTC:!0,canvasToolsURL:"http://code.highcharts.com/4.0.4/modules/canvas-tools.js",VMLRadialGradientURL:"http://code.highcharts.com/4.0.4/gfx/vml-radial-gradient.png"},chart:{borderColor:"#4572A7",borderRadius:0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],backgroundColor:"#FFFFFF",plotBorderColor:"#C0C0C0",resetZoomButton:{theme:{zIndex:20},position:{align:"right",x:-10,y:10}}},title:{text:"Chart title",align:"center",margin:15,style:{color:"#333333",fontSize:"18px"}},subtitle:{text:"",align:"center",style:{color:"#555555"}},plotOptions:{line:{allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},lineWidth:2,marker:{lineWidth:0,radius:4,lineColor:"#FFFFFF",states:{hover:{enabled:!0,lineWidthPlus:1,radiusPlus:2},select:{fillColor:"#FFFFFF",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:i(Ft,{align:"center",enabled:!1,formatter:function(){return null===this.y?"":v(this.y,-1)},verticalAlign:"bottom",y:0}),cropThreshold:300,pointRange:0,states:{hover:{lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1e3}},labels:{style:{position:"absolute",color:"#3E576F"}},legend:{enabled:!0,align:"center",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#909090",borderRadius:0,navigation:{activeColor:"#274b6d",inactiveColor:"#CCC"},shadow:!1,itemStyle:{color:"#333333",fontSize:"12px",fontWeight:"bold"},itemHoverStyle:{color:"#000"},itemHiddenStyle:{color:"#CCC"},itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"white",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:zt,backgroundColor:"rgba(249, 249, 249, .85)",borderWidth:1,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"},headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.y}</b><br/>',shadow:!0,snap:Ct?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",whiteSpace:"nowrap"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}}).plotOptions),oe=ie.line;I();var ne=/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*\)/,re=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,se=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,ae=function t(e){var n,r,s=[];return function(e){e&&e.stops?r=Zt(e.stops,(function(e){return t(e[1])})):(n=ne.exec(e))?s=[o(n[1]),o(n[2]),o(n[3]),parseFloat(n[4],10)]:(n=re.exec(e))?s=[o(n[1],16),o(n[2],16),o(n[3],16),1]:(n=se.exec(e))&&(s=[o(n[1]),o(n[2]),o(n[3]),1])}(e),{get:function(t){var o;return r?((o=i(e)).stops=[].concat(o.stops),jt(r,(function(e,i){o.stops[i]=[o.stops[i][0],e.get(t)]}))):o=s&&!isNaN(s[0])?"rgb"===t?"rgb("+s[0]+","+s[1]+","+s[2]+")":"a"===t?s[3]:"rgba("+s.join(",")+")":e,o},brighten:function(t){if(r)jt(r,(function(e){e.brighten(t)}));else if(a(t)&&0!==t){var e;for(e=0;e<3;e++)s[e]+=o(255*t),s[e]<0&&(s[e]=0),s[e]>255&&(s[e]=255)}return this},rgba:s,setOpacity:function(t){return s[3]=t,this}}};O.prototype={opacity:1,textProps:"fontSize,fontWeight,fontFamily,color,lineHeight,width,textDecoration,textShadow,HcTextStroke".split(","),init:function(t,e){this.element="span"===e?m(e):ht.createElementNS(Mt,e),this.renderer=t},animate:function(t,e,o){return e=f(e,N,!0),ee(this),e?(e=i(e,{}),o&&(e.complete=o),te(this,t,e)):(this.attr(t),o&&o()),this},colorGradient:function(t,e,o){var n,r,a,l,h,c,d,u,f,g,m=this.renderer,y=[];if(t.linearGradient?r="linearGradient":t.radialGradient&&(r="radialGradient"),r){for(g in a=t[r],l=m.gradients,c=t.stops,f=o.radialReference,s(a)&&(t[r]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===r&&f&&!p(a.gradientUnits)&&(a=i(a,{cx:f[0]-f[2]/2+a.cx*f[2],cy:f[1]-f[2]/2+a.cy*f[2],r:a.r*f[2],gradientUnits:"userSpaceOnUse"})),a)"id"!==g&&y.push(g,a[g]);for(g in c)y.push(c[g]);l[y=y.join(",")]?t=l[y].attr("id"):(a.id=t="highcharts-"+Rt++,l[y]=h=m.createElement(r).attr(a).add(m.defs),h.stops=[],jt(c,(function(t){0===t[1].indexOf("rgba")?(n=ae(t[1]),d=n.get("rgb"),u=n.get("a")):(d=t[1],u=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":d,"stop-opacity":u}).add(h),h.stops.push(t)}))),o.setAttribute(e,"url("+m.url+"#"+t+")")}},attr:function(t,e){var i,o,n,r,s=this.element,a=this;if("string"==typeof t&&e!==E&&(i=t,(t={})[i]=e),"string"==typeof t)a=(this[t+"Getter"]||this._defaultGetter).call(this,t,s);else{for(i in t)o=t[i],r=!1,this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)/.test(i)&&(n||(this.symbolAttr(t),n=!0),r=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),r||(this[i+"Setter"]||this._defaultSetter).call(this,o,i,s),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,o);this.doTransform&&(this.updateTransform(),this.doTransform=!1)}return a},updateShadows:function(t,e){for(var i=this.shadows,o=i.length;o--;)i[o].setAttribute(t,"height"===t?gt(e-(i[o].cutHeight||0),0):"d"===t?this.d:e)},addClass:function(t){var e=this.element,i=d(e,"class")||"";return-1===i.indexOf(t)&&d(e,"class",i+" "+t),this},symbolAttr:function(t){var e=this;jt("x,y,r,start,end,width,height,innerR,anchorX,anchorY".split(","),(function(i){e[i]=f(t[i],e[i])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},clip:function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":Yt)},crisp:function(t){var e,i,o={},n=t.strokeWidth||this.strokeWidth||0;for(e in i=dt(n)%2/2,t.x=ut(t.x||this.x||0)+i,t.y=ut(t.y||this.y||0)+i,t.width=ut((t.width||this.width||0)-2*i),t.height=ut((t.height||this.height||0)-2*i),t.strokeWidth=n,t)this[e]!==t[e]&&(this[e]=o[e]=t[e]);return o},css:function(t){var i,n,r=this.styles,s={},a=this.element,l="";if(i=!r,t&&t.color&&(t.fill=t.color),r)for(n in t)t[n]!==r[n]&&(s[n]=t[n],i=!0);if(i){if(i=this.textWidth=t&&t.width&&"text"===a.nodeName.toLowerCase()&&o(t.width),r&&(t=e(r,s)),this.styles=t,i&&(Ot||!zt&&this.renderer.forExport)&&delete t.width,St&&!zt)g(this.element,t);else{for(n in r=function(t,e){return"-"+e.toLowerCase()},t)l+=n.replace(/([A-Z])/g,r)+":"+t[n]+";";d(a,"style",l)}i&&this.added&&this.renderer.buildText(this)}return this},on:function(t,e){var i=this,o=i.element;return Y&&"click"===t?(o.ontouchstart=function(t){i.touchEventFired=U.now(),t.preventDefault(),e.call(o,t)},o.onclick=function(t){(-1===kt.indexOf("Android")||U.now()-(i.touchEventFired||0)>1100)&&e.call(o,t)}):o["on"+t]=e,this},setRadialReference:function(t){return this.element.radialReference=t,this},translate:function(t,e){return this.attr({translateX:t,translateY:e})},invert:function(){return this.inverted=!0,this.updateTransform(),this},updateTransform:function(){var t=this.translateX||0,e=this.translateY||0,i=this.scaleX,o=this.scaleY,n=this.inverted,r=this.rotation,s=this.element;n&&(t+=this.attr("width"),e+=this.attr("height")),t=["translate("+t+","+e+")"],n?t.push("rotate(90) scale(-1,1)"):r&&t.push("rotate("+r+" "+(s.getAttribute("x")||0)+" "+(s.getAttribute("y")||0)+")"),(p(i)||p(o))&&t.push("scale("+f(i,1)+" "+f(o,1)+")"),t.length&&s.setAttribute("transform",t.join(" "))},toFront:function(){var t=this.element;return t.parentNode.appendChild(t),this},align:function(t,e,i){var o,r,s,a,l={};return s=(r=this.renderer).alignedObjects,t?(this.alignOptions=t,this.alignByTranslate=e,(!i||n(i))&&(this.alignTo=o=i||"renderer",c(s,this),s.push(this),i=null)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=f(i,r[o],r),o=t.align,r=t.verticalAlign,s=(i.x||0)+(t.x||0),a=(i.y||0)+(t.y||0),"right"!==o&&"center"!==o||(s+=(i.width-(t.width||0))/{right:1,center:2}[o]),l[e?"translateX":"x"]=dt(s),"bottom"!==r&&"middle"!==r||(a+=(i.height-(t.height||0))/({bottom:1,middle:2}[r]||1)),l[e?"translateY":"y"]=dt(a),this[this.placed?"animate":"attr"](l),this.placed=!0,this.alignAttr=l,this},getBBox:function(){var t,i,o=this.bBox,n=this.renderer,r=this.rotation;t=this.element;var s,a=this.styles,l=r*wt;if((""===(i=this.textStr)||Bt.test(i))&&(s="num."+i.toString().length+(a?"|"+a.fontSize+"|"+a.fontFamily:"")),s&&(o=n.cache[s]),!o){if(t.namespaceURI===Mt||n.forExport){try{o=t.getBBox?e({},t.getBBox()):{width:t.offsetWidth,height:t.offsetHeight}}catch(t){}(!o||o.width<0)&&(o={width:0,height:0})}else o=this.htmlGetBBox();n.isSVG&&(t=o.width,i=o.height,St&&a&&"11px"===a.fontSize&&"16.9"===i.toPrecision(3)&&(o.height=i=14),r&&(o.width=yt(i*xt(l))+yt(t*vt(l)),o.height=yt(i*vt(l))+yt(t*xt(l)))),this.bBox=o,s&&(n.cache[s]=o)}return o},show:function(t){return t&&this.element.namespaceURI===Mt?this.element.removeAttribute("visibility"):this.attr({visibility:t?"inherit":"visible"}),this},hide:function(){return this.attr({visibility:"hidden"})},fadeOut:function(t){var e=this;e.animate({opacity:0},{duration:t||150,complete:function(){e.attr({y:-9999})}})},add:function(t){var e,i,n=this.renderer,r=t||n,s=r.element||n.box,a=this.element,l=this.zIndex;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&n.buildText(this),l&&(r.handleZ=!0,l=o(l)),r.handleZ)for(t=s.childNodes,e=0;e<t.length;e++)if(r=d(n=t[e],"zIndex"),n!==a&&(o(r)>l||!p(l)&&p(r))){s.insertBefore(a,n),i=!0;break}return i||s.appendChild(a),this.added=!0,this.onAdd&&this.onAdd(),this},safeRemoveChild:function(t){var e=t.parentNode;e&&e.removeChild(t)},destroy:function(){var t,e,i=this,o=i.element||{},n=i.shadows,r=i.renderer.isSVG&&"SPAN"===o.nodeName&&i.parentGroup;if(o.onclick=o.onmouseout=o.onmouseover=o.onmousemove=o.point=null,ee(i),i.clipPath&&(i.clipPath=i.clipPath.destroy()),i.stops){for(e=0;e<i.stops.length;e++)i.stops[e]=i.stops[e].destroy();i.stops=null}for(i.safeRemoveChild(o),n&&jt(n,(function(t){i.safeRemoveChild(t)}));r&&r.div&&0===r.div.childNodes.length;)o=r.parentGroup,i.safeRemoveChild(r.div),delete r.div,r=o;for(t in i.alignTo&&c(i.renderer.alignedObjects,i),i)delete i[t];return null},shadow:function(t,e,i){var o,n,r,s,a,l,h=[],c=this.element;if(t){for(s=f(t.width,3),a=(t.opacity||.15)/s,l=this.parentInverted?"(-1,-1)":"("+f(t.offsetX,1)+", "+f(t.offsetY,1)+")",o=1;o<=s;o++)r=2*s+1-2*o,d(n=c.cloneNode(0),{isShadow:"true",stroke:t.color||"black","stroke-opacity":a*o,"stroke-width":r,transform:"translate"+l,fill:Yt}),i&&(d(n,"height",gt(d(n,"height")-r,0)),n.cutHeight=r),e?e.element.appendChild(n):c.parentNode.insertBefore(n,c),h.push(n);this.shadows=h}return this},xGetter:function(t){return"circle"===this.element.nodeName&&(t={x:"cx",y:"cy"}[t]||t),this._defaultGetter(t)},_defaultGetter:function(t){return t=f(this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},dSetter:function(t,e,i){t&&t.join&&(t=t.join(" ")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),i.setAttribute(e,t),this[e]=t},dashstyleSetter:function(t){var e;if(t=t&&t.toLowerCase()){for(e=(t=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(",")).length;e--;)t[e]=o(t[e])*this["stroke-width"];t=t.join(",").replace("NaN","none"),this.element.setAttribute("stroke-dasharray",t)}},alignSetter:function(t){this.element.setAttribute("text-anchor",{left:"start",center:"middle",right:"end"}[t])},opacitySetter:function(t,e,i){this[e]=t,i.setAttribute(e,t)},titleSetter:function(t){var e=this.element.getElementsByTagName("title")[0];e||(e=ht.createElementNS(Mt,"title"),this.element.appendChild(e)),e.textContent=f(t,"").replace(/<[^>]*>/g,"")},textSetter:function(t){t!==this.textStr&&(delete this.bBox,this.textStr=t,this.added&&this.renderer.buildText(this))},fillSetter:function(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.colorGradient(t,e,i)},zIndexSetter:function(t,e,i){i.setAttribute(e,t),this[e]=t},_defaultSetter:function(t,e,i){i.setAttribute(e,t)}},O.prototype.yGetter=O.prototype.xGetter,O.prototype.translateXSetter=O.prototype.translateYSetter=O.prototype.rotationSetter=O.prototype.verticalAlignSetter=O.prototype.scaleXSetter=O.prototype.scaleYSetter=function(t,e){this[e]=t,this.doTransform=!0},O.prototype["stroke-widthSetter"]=O.prototype.strokeSetter=function(t,e,i){this[e]=t,this.stroke&&this["stroke-width"]?(this.strokeWidth=this["stroke-width"],O.prototype.fillSetter.call(this,this.stroke,"stroke",i),i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===e&&0===t&&this.hasStroke&&(i.removeAttribute("stroke"),this.hasStroke=!1)};var le,he,ce=function(){this.init.apply(this,arguments)};if(ce.prototype={Element:O,init:function(t,e,i,o,n){var r,s,a=location;r=(o=this.createElement("svg").attr({version:"1.1"}).css(this.getStyle(o))).element,t.appendChild(r),-1===t.innerHTML.indexOf("xmlns")&&d(r,"xmlns",Mt),this.isSVG=!0,this.box=r,this.boxWrapper=o,this.alignedObjects=[],this.url=(Lt||At)&&ht.getElementsByTagName("base").length?a.href.replace(/#.*?$/,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(ht.createTextNode("Created with Highcharts 4.0.4")),this.defs=this.createElement("defs").add(),this.forExport=n,this.gradients={},this.cache={},this.setSize(e,i,!1),Lt&&t.getBoundingClientRect&&(this.subPixelFix=e=function(){g(t,{left:0,top:0}),s=t.getBoundingClientRect(),g(t,{left:ft(s.left)-s.left+"px",top:ft(s.top)-s.top+"px"})},e(),qt(ct,"resize",e))},getStyle:function(t){return this.style=e({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),L(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.subPixelFix&&$t(ct,"resize",this.subPixelFix),this.alignedObjects=null},createElement:function(t){var e=new this.Element;return e.init(this,t),e},draw:function(){},buildText:function(t){for(var e,i,n=t.element,r=this,s=r.forExport,a=f(t.textStr,"").toString(),l=-1!==a.indexOf("<"),h=n.childNodes,c=d(n,"x"),p=t.styles,u=t.textWidth,m=p&&p.lineHeight,y=p&&p.HcTextStroke,v=h.length,x=function(t){return m?o(m):r.fontMetrics(/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:p&&p.fontSize||r.style.fontSize||12,t).h};v--;)n.removeChild(h[v]);l||y||-1!==a.indexOf(" ")?(e=/<.*style="([^"]+)".*>/,i=/<.*href="(http[^"]+)".*>/,u&&!t.added&&this.box.appendChild(n),""===(a=l?a.replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">').replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(/<br.*?>/g):[a])[a.length-1]&&a.pop(),jt(a,(function(o,a){var l,h=0;o=o.replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||"),l=o.split("|||"),jt(l,(function(o){if(""!==o||1===l.length){var f,m={},y=ht.createElementNS(Mt,"tspan");if(e.test(o)&&d(y,"style",f=o.match(e)[1].replace(/(;| |^)color([ :])/,"$1fill$2")),i.test(o)&&!s&&(d(y,"onclick",'location.href="'+o.match(i)[1]+'"'),g(y,{cursor:"pointer"}))," "!==(o=(o.replace(/<(.|\n)*?>/g,"")||" ").replace(/&lt;/g,"<").replace(/&gt;/g,">"))){if(y.appendChild(ht.createTextNode(o)),h?m.dx=0:a&&null!==c&&(m.x=c),d(y,m),n.appendChild(y),!h&&a&&(!zt&&s&&g(y,{display:"block"}),d(y,"dy",x(y))),u){o=o.replace(/([^\^])-/g,"$1- ").split(" "),m=l.length>1||o.length>1&&"nowrap"!==p.whiteSpace;for(var v,b=p.HcHeight,w=[],k=x(y),T=1;m&&(o.length||w.length);)delete t.bBox,v=t.getBBox().width,!zt&&r.forExport&&(v=r.measureSpanWidth(y.firstChild.data,t.styles)),v>u&&1!==o.length?(y.removeChild(y.firstChild),w.unshift(o.pop())):(o=w,w=[],o.length&&(T++,b&&T*k>b?(o=["..."],t.attr("title",t.textStr)):(d(y=ht.createElementNS(Mt,"tspan"),{dy:k,x:c}),f&&d(y,"style",f),n.appendChild(y))),v>u&&(u=v)),o.length&&y.appendChild(ht.createTextNode(o.join(" ").replace(/- /g,"-")))}h++}}}))}))):n.appendChild(ht.createTextNode(a))},button:function(t,o,n,r,s,a,l,h,c){var p,d,u,f,g,m,y=this.label(t,o,n,c,null,null,null,null,"button"),v=0;return s=i({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:t={x1:0,y1:0,x2:0,y2:1},stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}},s),u=s.style,delete s.style,a=i(s,{stroke:"#68A",fill:{linearGradient:t,stops:[[0,"#FFF"],[1,"#ACF"]]}},a),f=a.style,delete a.style,l=i(s,{stroke:"#68A",fill:{linearGradient:t,stops:[[0,"#9BD"],[1,"#CDF"]]}},l),g=l.style,delete l.style,h=i(s,{style:{color:"#CCC"}},h),m=h.style,delete h.style,qt(y.element,St?"mouseover":"mouseenter",(function(){3!==v&&y.attr(a).css(f)})),qt(y.element,St?"mouseout":"mouseleave",(function(){3!==v&&(p=[s,a,l][v],d=[u,f,g][v],y.attr(p).css(d))})),y.setState=function(t){(y.state=v=t)?2===t?y.attr(l).css(g):3===t&&y.attr(h).css(m):y.attr(s).css(u)},y.on("click",(function(){3!==v&&r.call(y)})).attr(s).css(e({cursor:"default"},u))},crispLine:function(t,e){return t[1]===t[4]&&(t[1]=t[4]=dt(t[1])-e%2/2),t[2]===t[5]&&(t[2]=t[5]=dt(t[2])+e%2/2),t},path:function(t){var i={fill:Yt};return s(t)?i.d=t:r(t)&&e(i,t),this.createElement("path").attr(i)},circle:function(t,e,i){return t=r(t)?t:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=function(t){this.element.setAttribute("cx",t)},e.ySetter=function(t){this.element.setAttribute("cy",t)},e.attr(t)},arc:function(t,e,i,o,n,s){return r(t)&&(e=t.y,i=t.r,o=t.innerR,n=t.start,s=t.end,t=t.x),(t=this.symbol("arc",t||0,e||0,i||0,i||0,{innerR:o||0,start:n||0,end:s||0})).r=i,t},rect:function(t,e,i,o,n,s){n=r(t)?t.r:n;var a=this.createElement("rect");return t=r(t)?t:t===E?{}:{x:t,y:e,width:gt(i,0),height:gt(o,0)},s!==E&&(t.strokeWidth=s,t=a.crisp(t)),n&&(t.r=n),a.rSetter=function(t){d(this.element,{rx:t,ry:t})},a.attr(t)},setSize:function(t,e,i){var o=this.alignedObjects,n=o.length;for(this.width=t,this.height=e,this.boxWrapper[f(i,!0)?"animate":"attr"]({width:t,height:e});n--;)o[n].align()},g:function(t){var e=this.createElement("g");return p(t)?e.attr({class:"highcharts-"+t}):e},image:function(t,i,o,n,r){var s={preserveAspectRatio:Yt};return arguments.length>1&&e(s,{x:i,y:o,width:n,height:r}),(s=this.createElement("image").attr(s)).element.setAttributeNS?s.element.setAttributeNS("http://www.w3.org/1999/xlink","href",t):s.element.setAttribute("hc-svg-href",t),s},symbol:function(t,i,o,n,r,s){var a,l,h,c,p=/^url\((.*?)\)$/;return(l=(l=this.symbols[t])&&l(dt(i),dt(o),n,r,s))?(e(a=this.path(l),{symbolName:t,x:i,y:o,width:n,height:r}),s&&e(a,s)):p.test(t)&&(c=function(t,e){t.element&&(t.attr({width:e[0],height:e[1]}),t.alignByTranslate||t.translate(dt((n-e[0])/2),dt((r-e[1])/2)))},h=t.match(p)[1],t=Dt[h]||s&&s.width&&s.height&&[s.width,s.height],(a=this.image(h).attr({x:i,y:o})).isImg=!0,t?c(a,t):(a.attr({width:0,height:0}),m("img",{onload:function(){c(a,Dt[h]=[this.width,this.height])},src:h}))),a},symbols:{circle:function(t,e,i,o){var n=.166*i;return["M",t+i/2,e,"C",t+i+n,e,t+i+n,e+o,t+i/2,e+o,"C",t-n,e+o,t-n,e,t+i/2,e,"Z"]},square:function(t,e,i,o){return["M",t,e,"L",t+i,e,t+i,e+o,t,e+o,"Z"]},triangle:function(t,e,i,o){return["M",t+i/2,e,"L",t+i,e+o,t,e+o,"Z"]},"triangle-down":function(t,e,i,o){return["M",t,e,"L",t+i,e,t+i/2,e+o,"Z"]},diamond:function(t,e,i,o){return["M",t+i/2,e,"L",t+i,e+o/2,t+i/2,e+o,t,e+o/2,"Z"]},arc:function(t,e,i,o,n){var r=n.start,s=(i=n.r||i||o,n.end-.001),a=(o=n.innerR,n.open),l=vt(r),h=xt(r),c=vt(s);return s=xt(s),["M",t+i*l,e+i*h,"A",i,i,0,n=n.end-r<bt?0:1,1,t+i*c,e+i*s,a?"M":"L",t+o*c,e+o*s,"A",o,o,0,n,0,t+o*l,e+o*h,a?"":"Z"]},callout:function(t,e,i,o,n){var r=mt(n&&n.r||0,i,o),s=r+6,a=n&&n.anchorX,l=n&&n.anchorY;return n=["M",(t+=n=dt(n.strokeWidth||0)%2/2)+r,e+=n,"L",t+i-r,e,"C",t+i,e,t+i,e,t+i,e+r,"L",t+i,e+o-r,"C",t+i,e+o,t+i,e+o,t+i-r,e+o,"L",t+r,e+o,"C",t,e+o,t,e+o,t,e+o-r,"L",t,e+r,"C",t,e,t,e,t+r,e],a&&a>i&&l>e+s&&l<e+o-s?n.splice(13,3,"L",t+i,l-6,t+i+6,l,t+i,l+6,t+i,e+o-r):a&&a<0&&l>e+s&&l<e+o-s?n.splice(33,3,"L",t,l+6,t-6,l,t,l-6,t,e+r):l&&l>o&&a>t+s&&a<t+i-s?n.splice(23,3,"L",a+6,e+o,a,e+o+6,a-6,e+o,t+r,e+o):l&&l<0&&a>t+s&&a<t+i-s&&n.splice(3,3,"L",a-6,e,a,e-6,a+6,e,i-r,e),n}},clipRect:function(t,e,i,o){var n="highcharts-"+Rt++,r=this.createElement("clipPath").attr({id:n}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=n,t.clipPath=r,t},text:function(t,e,i,o){var n=Ot||!zt&&this.forExport,r={};return o&&!this.forExport?this.html(t,e,i):(r.x=Math.round(e||0),i&&(r.y=Math.round(i)),(t||0===t)&&(r.text=t),t=this.createElement("text").attr(r),n&&t.css({position:"absolute"}),o||(t.xSetter=function(t,e,i){var o,n,r=i.getElementsByTagName("tspan"),s=i.getAttribute(e);for(n=0;n<r.length;n++)(o=r[n]).getAttribute(e)===s&&o.setAttribute(e,t);i.setAttribute(e,t)}),t)},fontMetrics:function(t,e){t=t||this.style.fontSize,e&&ct.getComputedStyle&&(e=e.element||e,t=ct.getComputedStyle(e,"").fontSize);var i=(t=/px/.test(t)?o(t):/em/.test(t)?12*parseFloat(t):12)<24?t+4:dt(1.2*t);return{h:i,b:dt(.8*i),f:t}},label:function(t,o,n,r,s,a,l,h,c){function d(){var t,i;t=P.element.style,m=(void 0===y||void 0===v||S.styles.textAlign)&&P.textStr&&P.getBBox(),S.width=(y||m.width||0)+2*L+C,S.height=(v||m.height||0)+2*L,w=L+T.fontMetrics(t&&t.fontSize,P).b,k&&(g||(t=dt(-A*L),i=h?-w:0,S.box=g=r?T.symbol(r,t,i,S.width,S.height,z):T.rect(t,i,S.width,S.height,0,z["stroke-width"]),g.attr("fill",Yt).add(S)),g.isImg||g.attr(e({width:dt(S.width),height:dt(S.height)},z)),z=null)}function u(){var t,e=(e=S.styles)&&e.textAlign,i=C+L*(1-A);t=h?0:w,p(y)&&m&&("center"===e||"right"===e)&&(i+={center:.5,right:1}[e]*(y-m.width)),i===P.x&&t===P.y||(P.attr("x",i),t!==E&&P.attr("y",t)),P.x=i,P.y=t}function f(t,e){g?g.attr(t,e):z[t]=e}var g,m,y,v,x,b,w,k,T=this,S=T.g(c),P=T.text("",0,0,l).attr({zIndex:1}),A=0,L=3,C=0,M=0,z={};S.onAdd=function(){P.add(S),S.attr({text:t||0===t?t:"",x:o,y:n}),g&&p(s)&&S.attr({anchorX:s,anchorY:a})},S.widthSetter=function(t){y=t},S.heightSetter=function(t){v=t},S.paddingSetter=function(t){p(t)&&t!==L&&(L=t,u())},S.paddingLeftSetter=function(t){p(t)&&t!==C&&(C=t,u())},S.alignSetter=function(t){A={left:0,center:.5,right:1}[t]},S.textSetter=function(t){t!==E&&P.textSetter(t),d(),u()},S["stroke-widthSetter"]=function(t,e){t&&(k=!0),M=t%2/2,f(e,t)},S.strokeSetter=S.fillSetter=S.rSetter=function(t,e){"fill"===e&&t&&(k=!0),f(e,t)},S.anchorXSetter=function(t,e){s=t,f(e,t+M-x)},S.anchorYSetter=function(t,e){a=t,f(e,t-b)},S.xSetter=function(t){S.x=t,A&&(t-=A*((y||m.width)+L)),x=dt(t),S.attr("translateX",x)},S.ySetter=function(t){b=S.y=dt(t),S.attr("translateY",b)};var I=S.css;return e(S,{css:function(t){if(t){var e={};t=i(t),jt(S.textProps,(function(i){t[i]!==E&&(e[i]=t[i],delete t[i])})),P.css(e)}return I.call(S,t)},getBBox:function(){return{width:m.width+2*L,height:m.height+2*L,x:m.x-L,y:m.y-L}},shadow:function(t){return g&&g.shadow(t),S},destroy:function(){$t(S.element,"mouseenter"),$t(S.element,"mouseleave"),P&&(P=P.destroy()),g&&(g=g.destroy()),O.prototype.destroy.call(S),S=T=d=u=f=null}})}},H=ce,e(O.prototype,{htmlCss:function(t){var i=this.element;return(i=t&&"SPAN"===i.tagName&&t.width)&&(delete t.width,this.textWidth=i,this.updateTransform()),this.styles=e(this.styles,t),g(this.element,t),this},htmlGetBBox:function(){var t=this.element,e=this.bBox;return e||("text"===t.nodeName&&(t.style.position="absolute"),e=this.bBox={x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}),e},htmlUpdateTransform:function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,n=this.translateY||0,r=this.x||0,s=this.y||0,a=this.textAlign||"left",l={left:0,center:.5,right:1}[a],h=this.shadows;if(g(e,{marginLeft:i,marginTop:n}),h&&jt(h,(function(t){g(t,{marginLeft:i+1,marginTop:n+1})})),this.inverted&&jt(e.childNodes,(function(i){t.invertChild(i,e)})),"SPAN"===e.tagName){var c,d=this.rotation,u=o(this.textWidth),m=[d,a,e.innerHTML,this.textWidth].join(",");m!==this.cTT&&(c=t.fontMetrics(e.style.fontSize).b,p(d)&&this.setSpanRotation(d,l,c),(h=f(this.elemWidth,e.offsetWidth))>u&&/[ \-]/.test(e.textContent||e.innerText)&&(g(e,{width:u+"px",display:"block",whiteSpace:"normal"}),h=u),this.getSpanCorrection(h,c,l,d,a)),g(e,{left:r+(this.xCorr||0)+"px",top:s+(this.yCorr||0)+"px"}),At&&(c=e.offsetHeight),this.cTT=m}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,i){var o={},n=St?"-ms-transform":At?"-webkit-transform":Lt?"MozTransform":Tt?"-o-transform":"";o[n]=o.transform="rotate("+t+"deg)",o[n+(Lt?"Origin":"-origin")]=o.transformOrigin=100*e+"% "+i+"px",g(this.element,o)},getSpanCorrection:function(t,e,i){this.xCorr=-t*i,this.yCorr=-e}}),e(ce.prototype,{html:function(t,i,o){var n=this.createElement("span"),r=n.element,s=n.renderer;return n.textSetter=function(t){t!==r.innerHTML&&delete this.bBox,r.innerHTML=this.textStr=t},n.xSetter=n.ySetter=n.alignSetter=n.rotationSetter=function(t,e){"align"===e&&(e="textAlign"),n[e]=t,n.htmlUpdateTransform()},n.attr({text:t,x:dt(i),y:dt(o)}).css({position:"absolute",whiteSpace:"nowrap",fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),n.css=n.htmlCss,s.isSVG&&(n.add=function(t){var i,o=s.box.parentNode,a=[];if(this.parentGroup=t){if(!(i=t.div)){for(;t;)a.push(t),t=t.parentGroup;jt(a.reverse(),(function(t){var n;i=t.div=t.div||m(Ht,{className:d(t.element,"class")},{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px"},i||o),n=i.style,e(t,{translateXSetter:function(e,i){n.left=e+"px",t[i]=e,t.doTransform=!0},translateYSetter:function(e,i){n.top=e+"px",t[i]=e,t.doTransform=!0},visibilitySetter:function(t,e){n[e]=t}})}))}}else i=o;return i.appendChild(r),n.added=!0,n.alignOnAdd&&n.htmlUpdateTransform(),n}),n}}),!zt&&!Ot){le={init:function(t,e){var i=["<",e,' filled="f" stroked="f"'],o=["position: ","absolute",";"],n=e===Ht;("shape"===e||n)&&o.push("left:0;top:0;width:1px;height:1px;"),o.push("visibility: ",n?"hidden":"visible"),i.push(' style="',o.join(""),'"/>'),e&&(i=n||"span"===e||"img"===e?i.join(""):t.prepVML(i),this.element=m(i)),this.renderer=t},add:function(t){var e=this.renderer,i=this.element,o=e.box;return o=t?t.element||t:o,t&&t.inverted&&e.invertChild(i,o),o.appendChild(i),this.added=!0,this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(),this.onAdd&&this.onAdd(),this},updateTransform:O.prototype.htmlUpdateTransform,setSpanRotation:function(){var t=this.rotation,e=vt(t*wt),i=xt(t*wt);g(this.element,{filter:t?["progid:DXImageTransform.Microsoft.Matrix(M11=",e,", M12=",-i,", M21=",i,", M22=",e,", sizingMethod='auto expand')"].join(""):Yt})},getSpanCorrection:function(t,e,i,o,n){var r,s=o?vt(o*wt):1,a=o?xt(o*wt):0,l=f(this.elemHeight,this.element.offsetHeight);this.xCorr=s<0&&-t,this.yCorr=a<0&&-l,r=s*a<0,this.xCorr+=a*e*(r?1-i:i),this.yCorr-=s*e*(o?r?i:1-i:1),n&&"left"!==n&&(this.xCorr-=t*i*(s<0?-1:1),o&&(this.yCorr-=l*i*(a<0?-1:1)),g(this.element,{textAlign:n}))},pathToVML:function(t){for(var e=t.length,i=[];e--;)a(t[e])?i[e]=dt(10*t[e])-5:"Z"===t[e]?i[e]="x":(i[e]=t[e],!t.isArc||"wa"!==t[e]&&"at"!==t[e]||(i[e+5]===i[e+7]&&(i[e+7]+=t[e+7]>t[e+5]?1:-1),i[e+6]===i[e+8]&&(i[e+8]+=t[e+8]>t[e+6]?1:-1)));return i.join(" ")||"x"},clip:function(t){var e,i=this;return t?(c(e=t.members,i),e.push(i),i.destroyClip=function(){c(e,i)},t=t.getCSS(i)):(i.destroyClip&&i.destroyClip(),t={clip:Pt?"inherit":"rect(auto)"}),i.css(t)},css:O.prototype.htmlCss,safeRemoveChild:function(t){t.parentNode&&C(t)},destroy:function(){return this.destroyClip&&this.destroyClip(),O.prototype.destroy.apply(this)},on:function(t,e){return this.element["on"+t]=function(){var t=ct.event;t.target=t.srcElement,e(t)},this},cutOffPath:function(t,e){var i;return 9!==(i=(t=t.split(/[ ,]/)).length)&&11!==i||(t[i-4]=t[i-2]=o(t[i-2])-10*e),t.join(" ")},shadow:function(t,e,i){var n,r,s,a,l,h,c,p=[],d=this.element,u=this.renderer,g=d.style,y=d.path;if(y&&"string"!=typeof y.value&&(y="x"),l=y,t){for(h=f(t.width,3),c=(t.opacity||.15)/h,n=1;n<=3;n++)a=2*h+1-2*n,i&&(l=this.cutOffPath(y.value,a+.5)),s=['<shape isShadow="true" strokeweight="',a,'" filled="false" path="',l,'" coordsize="10 10" style="',d.style.cssText,'" />'],r=m(u.prepVML(s),null,{left:o(g.left)+f(t.offsetX,1),top:o(g.top)+f(t.offsetY,1)}),i&&(r.cutOff=a+1),s=['<stroke color="',t.color||"black",'" opacity="',c*n,'"/>'],m(u.prepVML(s),null,null,r),e?e.element.appendChild(r):d.parentNode.insertBefore(r,d),p.push(r);this.shadows=p}return this},updateShadows:Xt,setAttr:function(t,e){Pt?this.element[t]=e:this.element.setAttribute(t,e)},classSetter:function(t){this.element.className=t},dashstyleSetter:function(t,e,i){(i.getElementsByTagName("stroke")[0]||m(this.renderer.prepVML(["<stroke/>"]),null,null,i))[e]=t||"solid",this[e]=t},dSetter:function(t,e,i){var o=this.shadows;if(t=t||[],this.d=t.join&&t.join(" "),i.path=t=this.pathToVML(t),o)for(i=o.length;i--;)o[i].path=o[i].cutOff?this.cutOffPath(t,o[i].cutOff):t;this.setAttr(e,t)},fillSetter:function(t,e,i){var o=i.nodeName;"SPAN"===o?i.style.color=t:"IMG"!==o&&(i.filled=t!==Yt,this.setAttr("fillcolor",this.renderer.color(t,i,e,this)))},opacitySetter:Xt,rotationSetter:function(t,e,i){i=i.style,this[e]=i[e]=t,i.left=-dt(xt(t*wt)+1)+"px",i.top=dt(vt(t*wt))+"px"},strokeSetter:function(t,e,i){this.setAttr("strokecolor",this.renderer.color(t,i,e))},"stroke-widthSetter":function(t,e,i){i.stroked=!!t,this[e]=t,a(t)&&(t+="px"),this.setAttr("strokeweight",t)},titleSetter:function(t,e){this.setAttr(e,t)},visibilitySetter:function(t,e,i){"inherit"===t&&(t="visible"),this.shadows&&jt(this.shadows,(function(i){i.style[e]=t})),"DIV"===i.nodeName&&(t="hidden"===t?"-999em":0,Pt||(i.style[e]=t?"visible":"hidden"),e="top"),i.style[e]=t},xSetter:function(t,e,i){this[e]=t,"x"===e?e="left":"y"===e&&(e="top"),this.updateClipping?(this[e]=t,this.updateClipping()):i.style[e]=t},zIndexSetter:function(t,e,i){i.style[e]=t}},at.VMLElement=le=y(O,le),le.prototype.ySetter=le.prototype.widthSetter=le.prototype.heightSetter=le.prototype.xSetter;var pe={Element:le,isIE8:kt.indexOf("MSIE 8.0")>-1,init:function(t,i,o,n){var r;if(this.alignedObjects=[],r=(n=this.createElement(Ht).css(e(this.getStyle(n),{position:"relative"}))).element,t.appendChild(n.element),this.isVML=!0,this.box=r,this.boxWrapper=n,this.cache={},this.setSize(i,o,!1),!ht.namespaces.hcv){ht.namespaces.add("hcv","urn:schemas-microsoft-com:vml");try{ht.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}catch(t){ht.styleSheets[0].cssText+="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}}},isHidden:function(){return!this.box.offsetWidth},clipRect:function(t,i,o,n){var s=this.createElement(),a=r(t);return e(s,{members:[],left:(a?t.x:t)+1,top:(a?t.y:i)+1,width:(a?t.width:o)-1,height:(a?t.height:n)-1,getCSS:function(t){var i=(r=t.element).nodeName,o=(t=t.inverted,this.top-("shape"===i?r.offsetTop:0)),n=this.left,r=n+this.width,s=o+this.height;return o={clip:"rect("+dt(t?n:o)+"px,"+dt(t?s:r)+"px,"+dt(t?r:s)+"px,"+dt(t?o:n)+"px)"},!t&&Pt&&"DIV"===i&&e(o,{width:r+"px",height:s+"px"}),o},updateClipping:function(){jt(s.members,(function(t){t.element&&t.css(s.getCSS(t))}))}})},color:function(t,e,i,o){var n,r,s,a=this,l=/^rgba/,h=Yt;if(t&&t.linearGradient?s="gradient":t&&t.radialGradient&&(s="pattern"),s){var c,p,d,u,f,g,y,v,x=t.linearGradient||t.radialGradient,b="",w=(t=t.stops,[]),k=function(){r=['<fill colors="'+w.join(",")+'" opacity="',f,'" o:opacity2="',u,'" type="',s,'" ',b,'focus="100%" method="any" />'],m(a.prepVML(r),null,null,e)};if(d=t[0],v=t[t.length-1],d[0]>0&&t.unshift([0,d[1]]),v[0]<1&&t.push([1,v[1]]),jt(t,(function(t,e){l.test(t[1])?(n=ae(t[1]),c=n.get("rgb"),p=n.get("a")):(c=t[1],p=1),w.push(100*t[0]+"% "+c),e?(f=p,g=c):(u=p,y=c)})),"fill"===i)if("gradient"===s)i=x.x1||x[0]||0,t=x.y1||x[1]||0,d=x.x2||x[2]||0,x=x.y2||x[3]||0,b='angle="'+(90-180*pt.atan((x-t)/(d-i))/bt)+'"',k();else{var T,S=2*(h=x.r),P=2*h,A=x.cx,L=x.cy,C=e.radialReference;h=function(){C&&(T=o.getBBox(),A+=(C[0]-T.x)/T.width-.5,L+=(C[1]-T.y)/T.height-.5,S*=C[2]/T.width,P*=C[2]/T.height),b='src="'+G.global.VMLRadialGradientURL+'" size="'+S+","+P+'" origin="0.5,0.5" position="'+A+","+L+'" color2="'+y+'" ',k()},o.added?h():o.onAdd=h,h=g}else h=c}else l.test(t)&&"IMG"!==e.tagName?(n=ae(t),r=["<",i,' opacity="',n.get("a"),'"/>'],m(this.prepVML(r),null,null,e),h=n.get("rgb")):((h=e.getElementsByTagName(i)).length&&(h[0].opacity=1,h[0].type="solid"),h=t);return h},prepVML:function(t){var e=this.isIE8;return t=t.join(""),t=e?-1===(t=t.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />')).indexOf('style="')?t.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):t.replace('style="','style="display:inline-block;behavior:url(#default#VML);'):t.replace("<","<hcv:")},text:ce.prototype.html,path:function(t){var i={coordsize:"10 10"};return s(t)?i.d=t:r(t)&&e(i,t),this.createElement("shape").attr(i)},circle:function(t,e,i){var o=this.symbol("circle");return r(t)&&(i=t.r,e=t.y,t=t.x),o.isCircle=!0,o.r=i,o.attr({x:t,y:e})},g:function(t){var e;return t&&(e={className:"highcharts-"+t,class:"highcharts-"+t}),this.createElement(Ht).attr(e)},image:function(t,e,i,o,n){var r=this.createElement("img").attr({src:t});return arguments.length>1&&r.attr({x:e,y:i,width:o,height:n}),r},createElement:function(t){return"rect"===t?this.symbol(t):ce.prototype.createElement.call(this,t)},invertChild:function(t,e){var i=this,n=e.style,r="IMG"===t.tagName&&t.style;g(t,{flip:"x",left:o(n.width)-(r?o(r.top):1),top:o(n.height)-(r?o(r.left):1),rotation:-90}),jt(t.childNodes,(function(e){i.invertChild(e,t)}))},symbols:{arc:function(t,e,i,o,n){var r=n.start,s=n.end,a=n.r||i||o,l=(i=n.innerR,o=vt(r),xt(r)),h=vt(s),c=xt(s);return s-r==0?["x"]:(r=["wa",t-a,e-a,t+a,e+a,t+a*o,e+a*l,t+a*h,e+a*c],n.open&&!i&&r.push("e","M",t,e),r.push("at",t-i,e-i,t+i,e+i,t+i*h,e+i*c,t+i*o,e+i*l,"x","e"),r.isArc=!0,r)},circle:function(t,e,i,o,n){return n&&(i=o=2*n.r),n&&n.isCircle&&(t-=i/2,e-=o/2),["wa",t,e,t+i,e+o,t+i,e+o/2,t+i,e+o/2,"e"]},rect:function(t,e,i,o,n){return ce.prototype.symbols[p(n)&&n.r?"callout":"square"].call(0,t,e,i,o,n)}}};at.VMLRenderer=le=function(){this.init.apply(this,arguments)},le.prototype=i(ce.prototype,pe),H=le}ce.prototype.measureSpanWidth=function(t,e){var i,o=ht.createElement("span");return i=ht.createTextNode(t),o.appendChild(i),g(o,e),this.box.appendChild(o),i=o.offsetWidth,C(o),i},Ot&&(at.CanVGRenderer=le=function(){Mt="http://www.w3.org/1999/xhtml"},le.prototype.symbols={},he=function(){function t(){var t,i=e.length;for(t=0;t<i;t++)e[t]();e=[]}var e=[];return{push:function(i,o){0===e.length&&_t(o,t),e.push(i)}}}(),H=le),D.prototype={addLabel:function(){var t,i=this.axis,o=i.options,n=i.chart,r=i.horiz,s=i.categories,l=i.names,c=this.pos,d=o.labels,u=d.rotation,g=i.tickPositions,m=(r=r&&s&&!d.step&&!d.staggerLines&&!d.rotation&&n.plotWidth/g.length||!r&&(n.margin[3]||.33*n.chartWidth),c===g[0]),y=c===g[g.length-1],v=(l=s?f(s[c],l[c],c):c,s=this.label,g.info);i.isDatetimeAxis&&v&&(t=o.dateTimeLabelFormats[v.higherRanks[c]||v.unitName]),this.isFirst=m,this.isLast=y,o=i.labelFormatter.call({axis:i,chart:n,isFirst:m,isLast:y,dateTimeLabelFormat:t,value:i.isLog?M(h(l)):l}),c=r&&{width:gt(1,dt(r-2*(d.padding||10)))+"px"},p(s)?s&&s.attr({text:o}).css(c):(t={align:i.labelAlign},a(u)&&(t.rotation=u),r&&d.ellipsis&&(c.HcHeight=i.len/g.length),this.label=s=p(o)&&d.enabled?n.renderer.text(o,0,0,d.useHTML).attr(t).css(e(c,d.style)).add(i.labelGroup):null,i.tickBaseline=n.renderer.fontMetrics(d.style.fontSize,s).b,u&&2===i.side&&(i.tickBaseline*=vt(u*wt))),this.yOffset=s?f(d.y,i.tickBaseline+(2===i.side?8:-s.getBBox().height/2)):0},getLabelSize:function(){var t=this.label,e=this.axis;return t?t.getBBox()[e.horiz?"height":"width"]:0},getLabelSides:function(){var t,e=this.label.getBBox(),i=(t=this.axis).horiz,o=t.options.labels;return e=i?e.width:e.height,[t=i?o.x-e*{left:0,center:.5,right:1}[t.labelAlign]:0,i?e+t:e]},handleOverflow:function(t,e){var i,o,n,r=!0,s=this.axis,a=this.isFirst,l=this.isLast,h=s.horiz?e.x:e.y,c=s.reversed,p=s.tickPositions,d=(u=this.getLabelSides())[0],u=u[1],f=this.label.line;if(i=f||0,o=s.labelEdge,n=s.justifyLabels&&(a||l),o[i]===E||h+d>o[i]?o[i]=h+u:n||(r=!1),n){i=(o=s.justifyToPlot)?s.pos:0,o=o?i+s.len:s.chart.chartWidth;do{t+=a?1:-1,n=s.ticks[p[t]]}while(p[t]&&(!n||!n.label||n.label.line!==f));s=n&&n.label.xy&&n.label.xy.x+n.getLabelSides()[a?0:1],a&&!c||l&&c?h+d<i&&(h=i-d,n&&h+u>s&&(r=!1)):h+u>o&&(h=o-u,n&&h+d<s&&(r=!1)),e.x=h}return r},getPosition:function(t,e,i,o){var n=this.axis,r=n.chart,s=o&&r.oldChartHeight||r.chartHeight;return{x:t?n.translate(e+i,null,null,o)+n.transB:n.left+n.offset+(n.opposite?(o&&r.oldChartWidth||r.chartWidth)-n.right-n.left:0),y:t?s-n.bottom+n.offset-(n.opposite?n.height:0):s-n.translate(e+i,null,null,o)-n.transB}},getLabelPosition:function(t,e,i,o,n,r,s,a){var l=this.axis,h=l.transA,c=l.reversed,p=l.staggerLines;return t=t+n.x-(r&&o?r*h*(c?-1:1):0),e=e+this.yOffset-(r&&!o?r*h*(c?1:-1):0),p&&(i.line=s/(a||1)%p,e+=i.line*(l.labelOffset/p)),{x:t,y:e}},getMarkPath:function(t,e,i,o,n,r){return r.crispLine(["M",t,e,"L",t+(n?0:-i),e+(n?i:0)],o)},render:function(t,e,i){var o=this.axis,n=o.options,r=o.chart.renderer,s=o.horiz,a=this.type,l=this.label,h=this.pos,c=n.labels,p=this.gridLine,d=a?a+"Tick":"tick",u=n[(v=a?a+"Grid":"grid")+"LineWidth"],g=n[v+"LineColor"],m=n[v+"LineDashStyle"],y=n[d+"Length"],v=n[d+"Width"]||0,x=n[d+"Color"],b=n[d+"Position"],w=(d=this.mark,c.step),k=!0,T=o.tickmarkOffset,S=(P=this.getPosition(s,h,T,e)).x,P=P.y,A=s&&S===o.pos+o.len||!s&&P===o.pos?-1:1;i=f(i,1),this.isActive=!0,u&&(h=o.getPlotLinePath(h+T,u*A,e,!0),p===E&&(p={stroke:g,"stroke-width":u},m&&(p.dashstyle=m),a||(p.zIndex=1),e&&(p.opacity=0),this.gridLine=p=u?r.path(h).attr(p).add(o.gridGroup):null),!e&&p&&h&&p[this.isNew?"attr":"animate"]({d:h,opacity:i})),v&&y&&("inside"===b&&(y=-y),o.opposite&&(y=-y),a=this.getMarkPath(S,P,y,v*A,s,r),d?d.animate({d:a,opacity:i}):this.mark=r.path(a).attr({stroke:x,"stroke-width":v,opacity:i}).add(o.axisGroup)),l&&!isNaN(S)&&(l.xy=P=this.getLabelPosition(S,P,l,s,c,T,t,w),this.isFirst&&!this.isLast&&!f(n.showFirstLabel,1)||this.isLast&&!this.isFirst&&!f(n.showLastLabel,1)?k=!1:!o.isRadial&&!c.step&&!c.rotation&&!e&&0!==i&&(k=this.handleOverflow(t,P)),w&&t%w&&(k=!1),k&&!isNaN(P.y)?(P.opacity=i,l[this.isNew?"attr":"animate"](P),this.isNew=!1):l.attr("y",-9999))},destroy:function(){L(this,this.axis)}},at.PlotLineOrBand=function(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)},at.PlotLineOrBand.prototype={render:function(){var t,e=this,o=e.axis,n=o.horiz,r=(o.pointRange||0)/2,s=e.options,a=s.label,h=e.label,c=s.width,d=s.to,u=s.from,f=p(u)&&p(d),g=s.value,m=s.dashStyle,y=e.svgElem,v=[],x=s.color,b=s.zIndex,w=s.events,k={},T=o.chart.renderer;if(o.isLog&&(u=l(u),d=l(d),g=l(g)),c)v=o.getPlotLinePath(g,c),k={stroke:x,"stroke-width":c},m&&(k.dashstyle=m);else{if(!f)return;u=gt(u,o.min-r),d=mt(d,o.max+r),v=o.getPlotBandPath(u,d,s),x&&(k.fill=x),s.borderWidth&&(k.stroke=s.borderColor,k["stroke-width"]=s.borderWidth)}if(p(b)&&(k.zIndex=b),y)v?y.animate({d:v},null,y.onGetPath):(y.hide(),y.onGetPath=function(){y.show()},h&&(e.label=h=h.destroy()));else if(v&&v.length&&(e.svgElem=y=T.path(v).attr(k).add(),w))for(t in r=function(t){y.on(t,(function(i){w[t].apply(e,[i])}))},w)r(t);return a&&p(a.text)&&v&&v.length&&o.width>0&&o.height>0?(a=i({align:n&&f&&"center",x:n?!f&&4:10,verticalAlign:!n&&f&&"middle",y:n?f?16:10:f?6:-4,rotation:n&&!f&&90},a),h||(k={align:a.textAlign||a.align,rotation:a.rotation},p(b)&&(k.zIndex=b),e.label=h=T.text(a.text,0,0,a.useHTML).attr(k).css(a.style).add()),o=[v[1],v[4],f?v[6]:v[1]],f=[v[2],v[5],f?v[7]:v[2]],v=P(o),n=P(f),h.align(a,!1,{x:v,y:n,width:A(o)-v,height:A(f)-n}),h.show()):h&&h.hide(),e},destroy:function(){c(this.axis.plotLinesAndBands,this),delete this.axis,L(this)}},R.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0",labels:Ft,lineColor:"#C0D0E0",lineWidth:1,minPadding:.01,maxPadding:.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#707070"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8,y:3},lineWidth:0,maxPadding:.05,minPadding:.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return v(this.total,-1)},style:Ft.style}},defaultLeftAxisOptions:{labels:{x:-15,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{x:0,y:null},title:{rotation:0}},defaultTopAxisOptions:{labels:{x:0,y:-15},title:{rotation:0}},init:function(t,e){var i=e.isX;this.horiz=t.inverted?!i:i,this.coll=(this.isXAxis=i)?"xAxis":"yAxis",this.opposite=e.opposite,this.side=e.side||(this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var o=(r=this.options).type;this.labelFormatter=r.labels.formatter||this.defaultLabelFormatter,this.userOptions=e,this.minPixelPadding=0,this.chart=t,this.reversed=r.reversed,this.zoomEnabled=!1!==r.zoomEnabled,this.categories=r.categories||"category"===o,this.names=[],this.isLog="logarithmic"===o,this.isDatetimeAxis="datetime"===o,this.isLinked=p(r.linkedTo),this.tickmarkOffset=this.categories&&"between"===r.tickmarkPlacement&&1===f(r.tickInterval,1)?.5:0,this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=r.minRange||r.maxZoom,this.range=r.range,this.offset=r.offset||0,this.stacks={},this.oldStacks={},this.min=this.max=null,this.crosshair=f(r.crosshair,u(t.options.tooltip.crosshairs)[i?0:1],!1);var n,r=this.options.events;for(n in-1===Vt(this,t.axes)&&(i&&!this.isColorAxis?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&i&&this.reversed===E&&(this.reversed=!0),this.removePlotLine=this.removePlotBand=this.removePlotBandOrLine,r)qt(this,n,r[n]);this.isLog&&(this.val2lin=l,this.lin2val=h)},setOptions:function(t){this.options=i(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],i(G[this.coll],t))},defaultLabelFormatter:function(){var t,e=this.axis,i=this.value,o=e.categories,n=this.dateTimeLabelFormat,r=G.lang.numericSymbols,s=r&&r.length,a=e.options.labels.format;if(e=e.isLog?i:e.tickInterval,a)t=w(a,this);else if(o)t=i;else if(n)t=F(n,i);else if(s&&e>=1e3)for(;s--&&t===E;)e>=(o=Math.pow(1e3,s+1))&&null!==r[s]&&(t=v(i/o,-1)+r[s]);return t===E&&(t=yt(i)>=1e4?v(i,0):v(i,-1,E,"")),t},getSeriesExtremes:function(){var t=this,e=t.chart;t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.ignoreMinPadding=t.ignoreMaxPadding=null,t.buildStacks&&t.buildStacks(),jt(t.series,(function(i){var o,n;!i.visible&&e.options.chart.ignoreHiddenSeries||(o=i.options.threshold,t.hasVisibleSeries=!0,t.isLog&&o<=0&&(o=null),t.isXAxis?(o=i.xData).length&&(t.dataMin=mt(f(t.dataMin,o[0]),P(o)),t.dataMax=gt(f(t.dataMax,o[0]),A(o))):(i.getExtremes(),n=i.dataMax,p(i=i.dataMin)&&p(n)&&(t.dataMin=mt(f(t.dataMin,i),i),t.dataMax=gt(f(t.dataMax,n),n)),p(o)&&(t.dataMin>=o?(t.dataMin=o,t.ignoreMinPadding=!0):t.dataMax<o&&(t.dataMax=o,t.ignoreMaxPadding=!0))))}))},translate:function(t,e,i,o,n,r){var s=1,l=0,h=o?this.oldTransA:this.transA,c=(o=o?this.oldMin:this.min,this.minPixelPadding);return n=(this.options.ordinal||this.isLog&&n)&&this.lin2val,h||(h=this.transA),i&&(s*=-1,l=this.len),this.reversed&&(l-=(s*=-1)*(this.sector||this.len)),e?(t=t*s+l,t=(t-=c)/h+o,n&&(t=this.lin2val(t))):(n&&(t=this.val2lin(t)),"between"===r&&(r=.5),t=s*(t-o)*h+l+s*c+(a(r)?h*r*this.pointRange:0)),t},toPixels:function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},toValue:function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(t,e,i,o,n){var r,s,a,l=this.chart,h=this.left,c=this.top,p=i&&l.oldChartHeight||l.chartHeight,d=i&&l.oldChartWidth||l.chartWidth;return r=this.transB,n=f(n,this.translate(t,null,null,i)),t=i=dt(n+r),r=s=dt(p-n-r),isNaN(n)?a=!0:this.horiz?(r=c,s=p-this.bottom,(t<h||t>h+this.width)&&(a=!0)):(t=h,i=d-this.right,(r<c||r>c+this.height)&&(a=!0)),a&&!o?null:l.renderer.crispLine(["M",t,r,"L",i,s],e||1)},getLinearTickPositions:function(t,e,i){var o,n=M(ut(e/t)*t),r=M(ft(i/t)*t),s=[];if(e===i&&a(e))return[e];for(e=n;e<=r&&(s.push(e),(e=M(e+t))!==o);)o=e;return s},getMinorTickPositions:function(){var t,e=this.options,i=this.tickPositions,o=this.minorTickInterval,n=[];if(this.isLog)for(t=i.length,e=1;e<t;e++)n=n.concat(this.getLogTickPositions(o,i[e-1],i[e],!0));else if(this.isDatetimeAxis&&"auto"===e.minorTickInterval)(n=n.concat(this.getTimeTicks(this.normalizeTimeTickInterval(o),this.min,this.max,e.startOfWeek)))[0]<this.min&&n.shift();else for(i=this.min+(i[0]-this.min)%o;i<=this.max;i+=o)n.push(i);return n},adjustForMinRange:function(){var t,e,i,o,n,r=this.options,s=this.min,a=this.max,l=this.dataMax-this.dataMin>=this.minRange;if(this.isXAxis&&this.minRange===E&&!this.isLog&&(p(r.min)||p(r.max)?this.minRange=null:(jt(this.series,(function(t){for(n=t.xData,i=t.xIncrement?1:n.length-1;i>0;i--)o=n[i]-n[i-1],(e===E||o<e)&&(e=o)})),this.minRange=mt(5*e,this.dataMax-this.dataMin))),a-s<this.minRange){var h=this.minRange;t=[s-(t=(h-a+s)/2),f(r.min,s-t)],l&&(t[2]=this.dataMin),a=[(s=A(t))+h,f(r.max,s+h)],l&&(a[2]=this.dataMax),(a=P(a))-s<h&&(t[0]=a-h,t[1]=f(r.min,a-h),s=A(t))}this.min=s,this.max=a},setAxisTranslation:function(t){var e,i=this,o=i.max-i.min,r=i.axisPointRange||0,s=0,a=0,l=i.linkedParent,h=!!i.categories,c=i.transA;(i.isXAxis||h||r)&&(l?(s=l.minPointOffset,a=l.pointRangePadding):jt(i.series,(function(t){var l=h?1:i.isXAxis?t.pointRange:i.axisPointRange||0,c=t.options.pointPlacement,d=t.closestPointRange;l>o&&(l=0),r=gt(r,l),s=gt(s,n(c)?0:l/2),a=gt(a,"on"===c?0:l),!t.noSharedTooltip&&p(d)&&(e=p(e)?mt(e,d):d)})),l=i.ordinalSlope&&e?i.ordinalSlope/e:1,i.minPointOffset=s*=l,i.pointRangePadding=a*=l,i.pointRange=mt(r,o),i.closestPointRange=e),t&&(i.oldTransA=c),i.translationSlope=i.transA=c=i.len/(o+a||1),i.transB=i.horiz?i.left:i.bottom,i.minPixelPadding=c*s},setTickPositions:function(t){var e,i=this,o=i.chart,n=i.options,r=n.startOnTick,s=n.endOnTick,h=i.isLog,c=i.isDatetimeAxis,d=i.isXAxis,u=i.isLinked,g=i.options.tickPositioner,m=n.maxPadding,y=n.minPadding,v=n.tickInterval,x=n.minTickInterval,b=n.tickPixelInterval,w=i.categories;u?(i.linkedParent=o[i.coll][n.linkedTo],o=i.linkedParent.getExtremes(),i.min=f(o.min,o.dataMin),i.max=f(o.max,o.dataMax),n.type!==i.linkedParent.options.type&&j(11,1)):(i.min=f(i.userMin,n.min,i.dataMin),i.max=f(i.userMax,n.max,i.dataMax)),h&&(!t&&mt(i.min,f(i.dataMin,i.min))<=0&&j(10,1),i.min=M(l(i.min)),i.max=M(l(i.max))),i.range&&p(i.max)&&(i.userMin=i.min=gt(i.min,i.max-i.range),i.userMax=i.max,i.range=null),i.beforePadding&&i.beforePadding(),i.adjustForMinRange(),w||i.axisPointRange||i.usePercentage||u||!p(i.min)||!p(i.max)||!(o=i.max-i.min)||(p(n.min)||p(i.userMin)||!y||!(i.dataMin<0)&&i.ignoreMinPadding||(i.min-=o*y),p(n.max)||p(i.userMax)||!m||!(i.dataMax>0)&&i.ignoreMaxPadding||(i.max+=o*m)),a(n.floor)&&(i.min=gt(i.min,n.floor)),a(n.ceiling)&&(i.max=mt(i.max,n.ceiling)),i.min===i.max||void 0===i.min||void 0===i.max?i.tickInterval=1:u&&!v&&b===i.linkedParent.options.tickPixelInterval?i.tickInterval=i.linkedParent.tickInterval:(i.tickInterval=f(v,w?1:(i.max-i.min)*b/gt(i.len,b)),!p(v)&&i.len<b&&!this.isRadial&&!this.isLog&&!w&&r&&s&&(e=!0,i.tickInterval/=4)),d&&!t&&jt(i.series,(function(t){t.processData(i.min!==i.oldMin||i.max!==i.oldMax)})),i.setAxisTranslation(!0),i.beforeSetTickPositions&&i.beforeSetTickPositions(),i.postProcessTickInterval&&(i.tickInterval=i.postProcessTickInterval(i.tickInterval)),i.pointRange&&(i.tickInterval=gt(i.pointRange,i.tickInterval)),!v&&i.tickInterval<x&&(i.tickInterval=x),c||h||v||(i.tickInterval=T(i.tickInterval,null,k(i.tickInterval),f(n.allowDecimals,!(i.tickInterval>1&&i.tickInterval<5&&i.max>1e3&&i.max<9999)))),i.minorTickInterval="auto"===n.minorTickInterval&&i.tickInterval?i.tickInterval/5:n.minorTickInterval,i.tickPositions=t=n.tickPositions?[].concat(n.tickPositions):g&&g.apply(i,[i.min,i.max]),t||(!i.ordinalPositions&&(i.max-i.min)/i.tickInterval>gt(2*i.len,200)&&j(19,!0),t=c?i.getTimeTicks(i.normalizeTimeTickInterval(i.tickInterval,n.units),i.min,i.max,n.startOfWeek,i.ordinalPositions,i.closestPointRange,!0):h?i.getLogTickPositions(i.tickInterval,i.min,i.max):i.getLinearTickPositions(i.tickInterval,i.min,i.max),e&&t.splice(1,t.length-2),i.tickPositions=t),u||(n=t[0],h=t[t.length-1],c=i.minPointOffset||0,r?i.min=n:i.min-c>n&&t.shift(),s?i.max=h:i.max+c<h&&t.pop(),0===t.length&&p(n)&&t.push((h+n)/2),1===t.length&&(r=yt(i.max)>1e13?1:.001,i.min-=r,i.max+=r))},setMaxTicks:function(){var t=this.chart,e=t.maxTicks||{},i=this.tickPositions,o=this._maxTicksKey=[this.coll,this.pos,this.len].join("-");!this.isLinked&&!this.isDatetimeAxis&&i&&i.length>(e[o]||0)&&!1!==this.options.alignTicks&&(e[o]=i.length),t.maxTicks=e},adjustTickAmount:function(){var t=this._maxTicksKey,e=this.tickPositions,i=this.chart.maxTicks;if(i&&i[t]&&!this.isDatetimeAxis&&!this.categories&&!this.isLinked&&!1!==this.options.alignTicks&&this.min!==E){var o=this.tickAmount,n=e.length;if(this.tickAmount=t=i[t],n<t){for(;e.length<t;)e.push(M(e[e.length-1]+this.tickInterval));this.transA*=(n-1)/(t-1),this.max=e[e.length-1]}p(o)&&t!==o&&(this.isDirty=!0)}},setScale:function(){var t,e,i,o,n=this.stacks;if(this.oldMin=this.min,this.oldMax=this.max,this.oldAxisLength=this.len,this.setAxisSize(),o=this.len!==this.oldAxisLength,jt(this.series,(function(t){(t.isDirtyData||t.isDirty||t.xAxis.isDirty)&&(i=!0)})),o||i||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax){if(!this.isXAxis)for(t in n)for(e in n[t])n[t][e].total=null,n[t][e].cum=0;this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickPositions(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=o||this.min!==this.oldMin||this.max!==this.oldMax)}else if(!this.isXAxis)for(t in this.oldStacks&&(n=this.stacks=this.oldStacks),n)for(e in n[t])n[t][e].cum=n[t][e].total;this.setMaxTicks()},setExtremes:function(t,i,o,n,r){var s=this,a=s.chart;o=f(o,!0),r=e(r,{min:t,max:i}),Qt(s,"setExtremes",r,(function(){s.userMin=t,s.userMax=i,s.eventArgs=r,s.isDirtyExtremes=!0,o&&a.redraw(n)}))},zoom:function(t,e){var i=this.dataMin,o=this.dataMax,n=this.options;return this.allowZoomOutside||(p(i)&&t<=mt(i,f(n.min,i))&&(t=E),p(o)&&e>=gt(o,f(n.max,o))&&(e=E)),this.displayBtn=t!==E||e!==E,this.setExtremes(t,e,!1,E,{trigger:"zoom"}),!0},setAxisSize:function(){var t=this.chart,e=(s=this.options).offsetLeft||0,i=this.horiz,o=f(s.width,t.plotWidth-e+(s.offsetRight||0)),n=f(s.height,t.plotHeight),r=f(s.top,t.plotTop),s=f(s.left,t.plotLeft+e);(e=/%$/).test(n)&&(n=parseInt(n,10)/100*t.plotHeight),e.test(r)&&(r=parseInt(r,10)/100*t.plotHeight+t.plotTop),this.left=s,this.top=r,this.width=o,this.height=n,this.bottom=t.chartHeight-n-r,this.right=t.chartWidth-o-s,this.len=gt(i?o:n,0),this.pos=i?s:r},getExtremes:function(){var t=this.isLog;return{min:t?M(h(this.min)):this.min,max:t?M(h(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(t){var e=(i=this.isLog)?h(this.min):this.min,i=i?h(this.max):this.max;return e>t||null===t?t=e:i<t&&(t=i),this.translate(t,0,1,0,1)},autoLabelAlign:function(t){return(t=(f(t,0)-90*this.side+720)%360)>15&&t<165?"right":t>195&&t<345?"left":"center"},getOffset:function(){var t,e,i,o,n,r,s,a,l,h=this,c=(P=h.chart).renderer,d=h.options,u=h.tickPositions,g=h.ticks,m=h.horiz,y=h.side,v=P.inverted?[1,0,3,2][y]:y,x=0,b=0,w=d.title,k=d.labels,T=0,S=P.axisOffset,P=P.clipOffset,A=[-1,1,1,-1][y],L=1,C=f(k.maxStaggerLines,5);if(h.hasData=t=h.hasVisibleSeries||p(h.min)&&p(h.max)&&!!u,h.showAxis=e=t||f(d.showEmpty,!0),h.staggerLines=h.horiz&&k.staggerLines,h.axisGroup||(h.gridGroup=c.g("grid").attr({zIndex:d.gridZIndex||1}).add(),h.axisGroup=c.g("axis").attr({zIndex:d.zIndex||2}).add(),h.labelGroup=c.g("axis-labels").attr({zIndex:k.zIndex||7}).addClass("highcharts-"+h.coll.toLowerCase()+"-labels").add()),t||h.isLinked){if(h.labelAlign=f(k.align||h.autoLabelAlign(k.rotation)),jt(u,(function(t){g[t]?g[t].addLabel():g[t]=new D(h,t)})),h.horiz&&!h.staggerLines&&C&&!k.rotation){for(t=h.reversed?[].concat(u).reverse():u;L<C;){for(n=[],r=!1,o=0;o<t.length;o++)s=t[o],l=o%L,(a=(a=g[s].label&&g[s].label.getBBox())?a.width:0)&&(s=h.translate(s),n[l]!==E&&s<n[l]&&(r=!0),n[l]=s+a);if(!r)break;L++}L>1&&(h.staggerLines=L)}jt(u,(function(t){0!==y&&2!==y&&{1:"left",3:"right"}[y]!==h.labelAlign||(T=gt(g[t].getLabelSize(),T))})),h.staggerLines&&(T*=h.staggerLines,h.labelOffset=T)}else for(o in g)g[o].destroy(),delete g[o];w&&w.text&&!1!==w.enabled&&(h.axisTitle||(h.axisTitle=c.text(w.text,0,0,w.useHTML).attr({zIndex:7,rotation:w.rotation||0,align:w.textAlign||{low:"left",middle:"center",high:"right"}[w.align]}).addClass("highcharts-"+this.coll.toLowerCase()+"-title").css(w.style).add(h.axisGroup),h.axisTitle.isNew=!0),e&&(x=h.axisTitle.getBBox()[m?"height":"width"],b=p(i=w.offset)?0:f(w.margin,m?5:10)),h.axisTitle[e?"show":"hide"]()),h.offset=A*f(d.offset,S[y]),c=2===y?h.tickBaseline:0,m=T+b+(T&&A*(m?f(k.y,h.tickBaseline+8):k.x)-c),h.axisTitleMargin=f(i,m),S[y]=gt(S[y],h.axisTitleMargin+x+A*h.offset,m),P[v]=gt(P[v],2*ut(d.lineWidth/2))},getLinePath:function(t){var e=this.chart,i=this.opposite,o=this.offset,n=this.horiz,r=this.left+(i?this.width:0)+o;return o=e.chartHeight-this.bottom-(i?this.height:0)+o,i&&(t*=-1),e.renderer.crispLine(["M",n?this.left:r,n?o:this.top,"L",n?e.chartWidth-this.right:r,n?o:e.chartHeight-this.bottom],t)},getTitlePosition:function(){var t=this.horiz,e=this.left,i=this.top,n=this.len,r=this.options.title,s=t?e:i,a=this.opposite,l=this.offset,h=o(r.style.fontSize||12);return n={low:s+(t?0:n),middle:s+n/2,high:s+(t?n:0)}[r.align],e=(t?i+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+(2===this.side?h:0),{x:t?n:e+(a?this.width:0)+l+(r.x||0),y:t?e-(a?this.height:0)+l:n+(r.y||0)}},render:function(){var t,e,i,o=this,n=o.horiz,r=o.reversed,s=o.chart,a=s.renderer,l=o.options,c=o.isLog,d=o.isLinked,u=o.tickPositions,f=o.axisTitle,g=o.ticks,m=o.minorTicks,y=o.alternateBands,v=l.stackLabels,x=l.alternateGridColor,b=o.tickmarkOffset,w=l.lineWidth,k=s.hasRendered&&p(o.oldMin)&&!isNaN(o.oldMin),T=o.hasData,S=o.showAxis,P=l.labels.overflow,A=o.justifyLabels=n&&!1!==P;o.labelEdge.length=0,o.justifyToPlot="justify"===P,jt([g,m,y],(function(t){for(var e in t)t[e].isActive=!1})),(T||d)&&(o.minorTickInterval&&!o.categories&&jt(o.getMinorTickPositions(),(function(t){m[t]||(m[t]=new D(o,t,"minor")),k&&m[t].isNew&&m[t].render(null,!0),m[t].render(null,!1,1)})),u.length&&(t=u.slice(),(n&&r||!n&&!r)&&t.reverse(),A&&(t=t.slice(1).concat([t[0]])),jt(t,(function(e,i){A&&(i=i===t.length-1?0:i+1),(!d||e>=o.min&&e<=o.max)&&(g[e]||(g[e]=new D(o,e)),k&&g[e].isNew&&g[e].render(i,!0,.1),g[e].render(i))})),b&&0===o.min&&(g[-1]||(g[-1]=new D(o,-1,null,!0)),g[-1].render(-1))),x&&jt(u,(function(t,n){n%2==0&&t<o.max&&(y[t]||(y[t]=new at.PlotLineOrBand(o)),e=t+b,i=u[n+1]!==E?u[n+1]+b:o.max,y[t].options={from:c?h(e):e,to:c?h(i):i,color:x},y[t].render(),y[t].isActive=!0)})),o._addedPlotLB||(jt((l.plotLines||[]).concat(l.plotBands||[]),(function(t){o.addPlotBandOrLine(t)})),o._addedPlotLB=!0)),jt([g,m,y],(function(t){var e,i,o=[],n=N?N.duration||500:0,r=function(){for(i=o.length;i--;)t[o[i]]&&!t[o[i]].isActive&&(t[o[i]].destroy(),delete t[o[i]])};for(e in t)t[e].isActive||(t[e].render(e,!1,0),t[e].isActive=!1,o.push(e));t!==y&&s.hasRendered&&n?n&&setTimeout(r,n):r()})),w&&(n=o.getLinePath(w),o.axisLine?o.axisLine.animate({d:n}):o.axisLine=a.path(n).attr({stroke:l.lineColor,"stroke-width":w,zIndex:7}).add(o.axisGroup),o.axisLine[S?"show":"hide"]()),f&&S&&(f[f.isNew?"attr":"animate"](o.getTitlePosition()),f.isNew=!1),v&&v.enabled&&o.renderStackTotals(),o.isDirty=!1},redraw:function(){this.render(),jt(this.plotLinesAndBands,(function(t){t.render()})),jt(this.series,(function(t){t.isDirty=!0}))},destroy:function(t){var e,i=this,o=i.stacks,n=i.plotLinesAndBands;for(e in t||$t(i),o)L(o[e]),o[e]=null;for(jt([i.ticks,i.minorTicks,i.alternateBands],(function(t){L(t)})),t=n.length;t--;)n[t].destroy();jt("stackTotalGroup,axisLine,axisTitle,axisGroup,cross,gridGroup,labelGroup".split(","),(function(t){i[t]&&(i[t]=i[t].destroy())})),this.cross&&this.cross.destroy()},drawCrosshair:function(t,e){if(this.crosshair)if(!1===(p(e)||!f(this.crosshair.snap,!0)))this.hideCrosshair();else{var i,o=this.crosshair,n=o.animation;f(o.snap,!0)?p(e)&&(i=this.chart.inverted!=this.horiz?e.plotX:this.len-e.plotY):i=this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos,null===(i=this.isRadial?this.getPlotLinePath(this.isXAxis?e.x:f(e.stackY,e.y)):this.getPlotLinePath(null,null,null,null,i))?this.hideCrosshair():this.cross?this.cross.attr({visibility:"visible"})[n?"animate":"attr"]({d:i},n):(n={"stroke-width":o.width||1,stroke:o.color||"#C0C0C0",zIndex:o.zIndex||2},o.dashStyle&&(n.dashstyle=o.dashStyle),this.cross=this.chart.renderer.path(i).attr(n).add())}},hideCrosshair:function(){this.cross&&this.cross.hide()}},e(R.prototype,{getPlotBandPath:function(t,e){var i=this.getPlotLinePath(e),o=this.getPlotLinePath(t);return o&&i?o.push(i[4],i[5],i[1],i[2]):o=null,o},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(t,e){var i=new at.PlotLineOrBand(this,t).render(),o=this.userOptions;return i&&(e&&(o[e]=o[e]||[],o[e].push(t)),this.plotLinesAndBands.push(i)),i},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,i=this.options,o=this.userOptions,n=e.length;n--;)e[n].id===t&&e[n].destroy();jt([i.plotLines||[],o.plotLines||[],i.plotBands||[],o.plotBands||[]],(function(e){for(n=e.length;n--;)e[n].id===t&&c(e,e[n])}))}}),R.prototype.getTimeTicks=function(t,i,o,n){var r,s=[],a={},l=G.global.useUTC,h=new U(i-Z),c=t.unitRange,d=t.count;if(p(i)){c>=V.second&&(h.setMilliseconds(0),h.setSeconds(c>=V.minute?0:d*ut(h.getSeconds()/d))),c>=V.minute&&h[it](c>=V.hour?0:d*ut(h[q]()/d)),c>=V.hour&&h[ot](c>=V.day?0:d*ut(h[$]()/d)),c>=V.day&&h[nt](c>=V.month?1:d*ut(h[J]()/d)),c>=V.month&&(h[rt](c>=V.year?0:d*ut(h[tt]()/d)),r=h[et]()),c>=V.year&&(r-=r%d,h[st](r)),c===V.week&&h[nt](h[J]()-h[Q]()+f(n,1)),i=1,Z&&(h=new U(h.getTime()+Z)),r=h[et](),n=h.getTime();for(var u=h[tt](),g=h[J](),m=(V.day+(l?Z:6e4*h.getTimezoneOffset()))%V.day;n<o;)s.push(n),c===V.year?n=K(r+i*d,0):c===V.month?n=K(r,u+i*d):l||c!==V.day&&c!==V.week?n+=c*d:n=K(r,u,g+i*d*(c===V.day?1:7)),i++;s.push(n),jt(Ut(s,(function(t){return c<=V.hour&&t%V.day===m})),(function(t){a[t]="day"}))}return s.info=e(t,{higherRanks:a,totalRange:c*d}),s},R.prototype.normalizeTimeTickInterval=function(t,e){var i,o=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]],n=o[o.length-1],r=V[n[0]],s=n[1];for(i=0;i<o.length&&(n=o[i],r=V[n[0]],s=n[1],!(o[i+1]&&t<=(r*s[s.length-1]+V[o[i+1][0]])/2));i++);return r===V.year&&t<5*r&&(s=[1,2,5]),{unitRange:r,count:o=T(t/r,s,"year"===n[0]?gt(k(t/r),1):1),unitName:n[0]}},R.prototype.getLogTickPositions=function(t,e,i,o){var n=this.options,r=this.len,s=[];if(o||(this._minorAutoInterval=null),t>=.5)t=dt(t),s=this.getLinearTickPositions(t,e,i);else if(t>=.08){var a,c,p,d,u;for(r=ut(e),n=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];r<i+1&&!u;r++)for(c=n.length,a=0;a<c&&!u;a++)(p=l(h(r)*n[a]))>e&&(!o||d<=i)&&d!==E&&s.push(d),d>i&&(u=!0),d=p}else e=h(e),i=h(i),t=T(t=f("auto"===(t=n[o?"minorTickInterval":"tickInterval"])?null:t,this._minorAutoInterval,(i-e)*(n.tickPixelInterval/(o?5:1))/((o?r/this.tickPositions.length:r)||1)),null,k(t)),s=Zt(this.getLinearTickPositions(t,e,i),l),o||(this._minorAutoInterval=t/5);return o||(this.tickInterval=t),s};var de,ue=at.Tooltip=function(){this.init.apply(this,arguments)};ue.prototype={init:function(t,e){var i=e.borderWidth,n=e.style,r=o(n.padding);this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.label=t.renderer.label("",0,0,e.shape||"callout",null,null,e.useHTML,null,"tooltip").attr({padding:r,fill:e.backgroundColor,"stroke-width":i,r:e.borderRadius,zIndex:8}).css(n).css({padding:0}).add().attr({y:-9999}),Ot||this.label.shadow(e.shadow),this.shared=e.shared},destroy:function(){this.label&&(this.label=this.label.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(t,i,o,n){var r=this,s=r.now,a=!1!==r.options.animation&&!r.isHidden&&(yt(t-s.x)>1||yt(i-s.y)>1),l=r.followPointer||r.len>1;e(s,{x:a?(2*s.x+t)/3:t,y:a?(s.y+i)/2:i,anchorX:l?E:a?(2*s.anchorX+o)/3:o,anchorY:l?E:a?(s.anchorY+n)/2:n}),r.label.attr(s),a&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){r&&r.move(t,i,o,n)}),32))},hide:function(t){var e,i=this;clearTimeout(this.hideTimer),this.isHidden||(e=this.chart.hoverPoints,this.hideTimer=setTimeout((function(){i.label.fadeOut(),i.isHidden=!0}),f(t,this.options.hideDelay,500)),e&&jt(e,(function(t){t.setState()})),this.chart.hoverPoints=null)},getAnchor:function(t,e){var i,o,n=this.chart,r=n.inverted,s=n.plotTop,a=0,l=0;return i=(t=u(t))[0].tooltipPos,this.followPointer&&e&&(e.chartX===E&&(e=n.pointer.normalize(e)),i=[e.chartX-n.plotLeft,e.chartY-s]),i||(jt(t,(function(t){o=t.series.yAxis,a+=t.plotX,l+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!r&&o?o.top-s:0)})),a/=t.length,l/=t.length,i=[r?n.plotWidth-l:a,this.shared&&!r&&t.length>1&&e?e.chartY-s:r?n.plotHeight-a:l]),Zt(i,dt)},getPosition:function(t,e,i){var o,n=this.chart,r=this.distance,s={},a=["y",n.chartHeight,e,i.plotY+n.plotTop],l=["x",n.chartWidth,t,i.plotX+n.plotLeft],h=i.ttBelow||n.inverted&&!i.negative||!n.inverted&&i.negative,c=function(t,e,i,o){var n=i<o-r;if(e=o+r+i<e,i=o-r-i,o+=r,h&&e)s[t]=o;else if(!h&&n)s[t]=i;else if(n)s[t]=i;else{if(!e)return!1;s[t]=o}},p=function(t,e,i,o){if(o<r||o>e-r)return!1;s[t]=o<i/2?1:o>e-i/2?e-i-2:o-i/2},d=function(t){var e=a;a=l,l=e,o=t};return(n.inverted||this.len>1)&&d(),function t(){!1!==c.apply(0,a)?!1===p.apply(0,l)&&!o&&(d(!0),t()):o?s.x=s.y=0:(d(!0),t())}(),s},defaultFormatter:function(t){var e,i=this.points||u(this),o=i[0].series;return e=[t.tooltipHeaderFormatter(i[0])],jt(i,(function(t){o=t.series,e.push(o.tooltipFormatter&&o.tooltipFormatter(t)||t.point.tooltipFormatter(o.tooltipOptions.pointFormat))})),e.push(t.options.footerFormat||""),e.join("")},refresh:function(t,e){var i,o,n,r=this.chart,s=this.label,a=this.options,l={},h=[];n=a.formatter||this.defaultFormatter,l=r.hoverPoints;var c,p=this.shared;clearTimeout(this.hideTimer),this.followPointer=u(t)[0].series.tooltipOptions.followPointer,i=(o=this.getAnchor(t,e))[0],o=o[1],!p||t.series&&t.series.noSharedTooltip?l=t.getLabelConfig():(r.hoverPoints=t,l&&jt(l,(function(t){t.setState()})),jt(t,(function(t){t.setState("hover"),h.push(t.getLabelConfig())})),(l={x:t[0].category,y:t[0].y}).points=h,this.len=h.length,t=t[0]),n=n.call(l,this),l=t.series,this.distance=f(l.tooltipOptions.distance,16),!1===n?this.hide():(this.isHidden&&(ee(s),s.attr("opacity",1).show()),s.attr({text:n}),c=a.borderColor||t.color||l.color||"#606060",s.attr({stroke:c}),this.updatePosition({plotX:i,plotY:o,negative:t.negative,ttBelow:t.ttBelow}),this.isHidden=!1),Qt(r,"tooltipRefresh",{text:n,x:i+r.plotLeft,y:o+r.plotTop,borderColor:c})},updatePosition:function(t){var e=this.chart,i=this.label;i=(this.options.positioner||this.getPosition).call(this,i.width,i.height,t),this.move(dt(i.x),dt(i.y),t.plotX+e.plotLeft,t.plotY+e.plotTop)},tooltipHeaderFormatter:function(t){var e,i=t.series,o=(s=i.tooltipOptions).dateTimeLabelFormats,n=s.xDateFormat,r=(l=i.xAxis)&&"datetime"===l.options.type&&a(t.key),s=s.headerFormat,l=l&&l.closestPointRange;if(r&&!n){if(l){for(e in V)if(V[e]>=l||V[e]<=V.day&&t.key%V[e]>0){n=o[e];break}}else n=o.day;n=n||o.year}return r&&n&&(s=s.replace("{point.key}","{point.key:"+n+"}")),w(s,{point:t,series:i})}},Y=ht.documentElement.ontouchstart!==E;var fe=at.Pointer=function(t,e){this.init(t,e)};if(fe.prototype={init:function(t,e){var i,o=(r=e.chart).events,n=Ot?"":r.zoomType,r=t.inverted;this.options=e,this.chart=t,this.zoomX=i=/x/.test(n),this.zoomY=n=/y/.test(n),this.zoomHor=i&&!r||n&&r,this.zoomVert=n&&!r||i&&r,this.hasZoom=i||n,this.runChartClick=o&&!!o.click,this.pinchDown=[],this.lastValidTouch={},at.Tooltip&&e.tooltip.enabled&&(t.tooltip=new ue(t,e.tooltip),this.followTouchMove=e.tooltip.followTouchMove),this.setDOMEvents()},normalize:function(t,i){var o,n;return t=t||window.event,(t=Jt(t)).target||(t.target=t.srcElement),n=t.touches?t.touches.length?t.touches.item(0):t.changedTouches[0]:t,i||(this.chartPosition=i=Kt(this.chart.container)),n.pageX===E?(o=gt(t.x,t.clientX-i.left),n=t.y):(o=n.pageX-i.left,n=n.pageY-i.top),e(t,{chartX:dt(o),chartY:dt(n)})},getCoordinates:function(t){var e={xAxis:[],yAxis:[]};return jt(this.chart.axes,(function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})})),e},getIndex:function(t){var e=this.chart;return e.inverted?e.plotHeight+e.plotTop-t.chartY:t.chartX-e.plotLeft},runPointActions:function(t){var e,i,o,n,r=this.chart,s=r.series,a=r.tooltip,l=r.hoverPoint,h=r.hoverSeries,c=r.chartWidth,p=this.getIndex(t);if(a&&this.options.tooltip.shared&&(!h||!h.noSharedTooltip)){for(i=[],o=s.length,n=0;n<o;n++)s[n].visible&&!1!==s[n].options.enableMouseTracking&&!s[n].noSharedTooltip&&!0!==s[n].singularTooltips&&s[n].tooltipPoints.length&&(e=s[n].tooltipPoints[p])&&e.series&&(e._dist=yt(p-e.clientX),c=mt(c,e._dist),i.push(e));for(o=i.length;o--;)i[o]._dist>c&&i.splice(o,1);i.length&&i[0].clientX!==this.hoverX&&(a.refresh(i,t),this.hoverX=i[0].clientX)}s=h&&h.tooltipOptions.followPointer,h&&h.tracker&&!s?(e=h.tooltipPoints[p])&&e!==l&&e.onMouseOver(t):a&&s&&!a.isHidden&&(h=a.getAnchor([{}],t),a.updatePosition({plotX:h[0],plotY:h[1]})),a&&!this._onDocumentMouseMove&&(this._onDocumentMouseMove=function(t){Wt[de]&&Wt[de].pointer.onDocumentMouseMove(t)},qt(ht,"mousemove",this._onDocumentMouseMove)),jt(r.axes,(function(i){i.drawCrosshair(t,f(e,l))}))},reset:function(t,e){var i=this.chart,o=i.hoverSeries,n=i.hoverPoint,r=i.tooltip,s=r&&r.shared?i.hoverPoints:n;(t=t&&r&&s)&&u(s)[0].plotX===E&&(t=!1),t?(r.refresh(s),n&&n.setState(n.state,!0)):(n&&n.onMouseOut(),o&&o.onMouseOut(),r&&r.hide(e),this._onDocumentMouseMove&&($t(ht,"mousemove",this._onDocumentMouseMove),this._onDocumentMouseMove=null),jt(i.axes,(function(t){t.hideCrosshair()})),this.hoverX=null)},scaleGroups:function(t,e){var i,o=this.chart;jt(o.series,(function(n){i=t||n.getPlotBox(),n.xAxis&&n.xAxis.zoomEnabled&&(n.group.attr(i),n.markerGroup&&(n.markerGroup.attr(i),n.markerGroup.clip(e?o.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(i))})),o.clipRect.attr(e||o.clipBox)},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},drag:function(t){var e,i=this.chart,o=i.options.chart,n=t.chartX,r=t.chartY,s=this.zoomHor,a=this.zoomVert,l=i.plotLeft,h=i.plotTop,c=i.plotWidth,p=i.plotHeight,d=this.mouseDownX,u=this.mouseDownY,f=o.panKey&&t[o.panKey+"Key"];n<l?n=l:n>l+c&&(n=l+c),r<h?r=h:r>h+p&&(r=h+p),this.hasDragged=Math.sqrt(Math.pow(d-n,2)+Math.pow(u-r,2)),this.hasDragged>10&&(e=i.isInsidePlot(d-l,u-h),i.hasCartesianSeries&&(this.zoomX||this.zoomY)&&e&&!f&&!this.selectionMarker&&(this.selectionMarker=i.renderer.rect(l,h,s?1:c,a?1:p,0).attr({fill:o.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add()),this.selectionMarker&&s&&(n-=d,this.selectionMarker.attr({width:yt(n),x:(n>0?0:n)+d})),this.selectionMarker&&a&&(n=r-u,this.selectionMarker.attr({height:yt(n),y:(n>0?0:n)+u})),e&&!this.selectionMarker&&o.panning&&i.pan(t,o.panning))},drop:function(t){var i=this.chart,o=this.hasPinched;if(this.selectionMarker){var n,r={xAxis:[],yAxis:[],originalEvent:t.originalEvent||t},s=this.selectionMarker,a=s.attr?s.attr("x"):s.x,l=s.attr?s.attr("y"):s.y,h=s.attr?s.attr("width"):s.width,c=s.attr?s.attr("height"):s.height;(this.hasDragged||o)&&(jt(i.axes,(function(e){if(e.zoomEnabled){var i=e.horiz,o="touchend"===t.type?e.minPixelPadding:0,s=e.toValue((i?a:l)+o);i=e.toValue((i?a+h:l+c)-o),!isNaN(s)&&!isNaN(i)&&(r[e.coll].push({axis:e,min:mt(s,i),max:gt(s,i)}),n=!0)}})),n&&Qt(i,"selection",r,(function(t){i.zoom(e(t,o?{animation:!1}:null))}))),this.selectionMarker=this.selectionMarker.destroy(),o&&this.scaleGroups()}i&&(g(i.container,{cursor:i._cursor}),i.cancelClick=this.hasDragged>10,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},onContainerMouseDown:function(t){(t=this.normalize(t)).preventDefault&&t.preventDefault(),this.dragStart(t)},onDocumentMouseUp:function(t){Wt[de]&&Wt[de].pointer.drop(t)},onDocumentMouseMove:function(t){var e=this.chart,i=this.chartPosition,o=e.hoverSeries;t=this.normalize(t,i),i&&o&&!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)&&this.reset()},onContainerMouseLeave:function(){var t=Wt[de];t&&(t.pointer.reset(),t.pointer.chartPosition=null)},onContainerMouseMove:function(t){var e=this.chart;de=e.index,(t=this.normalize(t)).returnValue=!1,"mousedown"===e.mouseIsDown&&this.drag(t),(this.inClass(t.target,"highcharts-tracker")||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop))&&!e.openMenu&&this.runPointActions(t)},inClass:function(t,e){for(var i;t;){if(i=d(t,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentNode}},onTrackerMouseOut:function(t){var e=this.chart.hoverSeries,i=(t=t.relatedTarget||t.toElement)&&t.point&&t.point.series;!e||e.options.stickyTracking||this.inClass(t,"highcharts-tooltip")||i===e||e.onMouseOut()},onContainerClick:function(t){var i=this.chart,o=i.hoverPoint,n=i.plotLeft,r=i.plotTop;(t=this.normalize(t)).cancelBubble=!0,i.cancelClick||(o&&this.inClass(t.target,"highcharts-tracker")?(Qt(o.series,"click",e(t,{point:o})),i.hoverPoint&&o.firePointEvent("click",t)):(e(t,this.getCoordinates(t)),i.isInsidePlot(t.chartX-n,t.chartY-r)&&Qt(i,"click",t)))},setDOMEvents:function(){var t=this,e=t.chart.container;e.onmousedown=function(e){t.onContainerMouseDown(e)},e.onmousemove=function(e){t.onContainerMouseMove(e)},e.onclick=function(e){t.onContainerClick(e)},qt(e,"mouseleave",t.onContainerMouseLeave),1===Et&&qt(ht,"mouseup",t.onDocumentMouseUp),Y&&(e.ontouchstart=function(e){t.onContainerTouchStart(e)},e.ontouchmove=function(e){t.onContainerTouchMove(e)},1===Et&&qt(ht,"touchend",t.onDocumentTouchEnd))},destroy:function(){var t;for(t in $t(this.chart.container,"mouseleave",this.onContainerMouseLeave),Et||($t(ht,"mouseup",this.onDocumentMouseUp),$t(ht,"touchend",this.onDocumentTouchEnd)),clearInterval(this.tooltipTimeout),this)this[t]=null}},e(at.Pointer.prototype,{pinchTranslate:function(t,e,i,o,n,r){(this.zoomHor||this.pinchHor)&&this.pinchTranslateDirection(!0,t,e,i,o,n,r),(this.zoomVert||this.pinchVert)&&this.pinchTranslateDirection(!1,t,e,i,o,n,r)},pinchTranslateDirection:function(t,e,i,o,n,r,s,a){var l,h,c,p=this.chart,d=t?"x":"y",u=t?"X":"Y",f="chart"+u,g=t?"width":"height",m=p["plot"+(t?"Left":"Top")],y=a||1,v=p.inverted,x=p.bounds[t?"h":"v"],b=1===e.length,w=e[0][f],k=i[0][f],T=!b&&e[1][f],S=!b&&i[1][f];(i=function(){!b&&yt(w-T)>20&&(y=a||yt(k-S)/yt(w-T)),h=(m-k)/y+w,l=p["plot"+(t?"Width":"Height")]/y})(),(e=h)<x.min?(e=x.min,c=!0):e+l>x.max&&(e=x.max-l,c=!0),c?(k-=.8*(k-s[d][0]),b||(S-=.8*(S-s[d][1])),i()):s[d]=[k,S],v||(r[d]=h-m,r[g]=l),r=v?1/y:y,n[g]=l,n[d]=e,o[v?t?"scaleY":"scaleX":"scale"+u]=y,o["translate"+u]=r*m+(k-r*w)},pinch:function(t){var i=this,o=i.chart,n=i.pinchDown,r=i.followTouchMove,s=t.touches,a=s.length,l=i.lastValidTouch,h=i.hasZoom,c=i.selectionMarker,p={},d=1===a&&(i.inClass(t.target,"highcharts-tracker")&&o.runTrackerClick||i.runChartClick),u={};(h||r)&&!d&&t.preventDefault(),Zt(s,(function(t){return i.normalize(t)})),"touchstart"===t.type?(jt(s,(function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}})),l.x=[n[0].chartX,n[1]&&n[1].chartX],l.y=[n[0].chartY,n[1]&&n[1].chartY],jt(o.axes,(function(t){if(t.zoomEnabled){var e=o.bounds[t.horiz?"h":"v"],i=t.minPixelPadding,n=t.toPixels(f(t.options.min,t.dataMin)),r=t.toPixels(f(t.options.max,t.dataMax)),s=mt(n,r);n=gt(n,r),e.min=mt(t.pos,s-i),e.max=gt(t.pos+t.len,n+i)}})),i.res=!0):n.length&&(c||(i.selectionMarker=c=e({destroy:Xt},o.plotBox)),i.pinchTranslate(n,s,p,c,u,l),i.hasPinched=h,i.scaleGroups(p,u),!h&&r&&1===a?this.runPointActions(i.normalize(t)):i.res&&(i.res=!1,this.reset(!1,0)))},onContainerTouchStart:function(t){var e=this.chart;de=e.index,1===t.touches.length?(t=this.normalize(t),e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)?(this.runPointActions(t),this.pinch(t)):this.reset()):2===t.touches.length&&this.pinch(t)},onContainerTouchMove:function(t){(1===t.touches.length||2===t.touches.length)&&this.pinch(t)},onDocumentTouchEnd:function(t){Wt[de]&&Wt[de].pointer.drop(t)}}),ct.PointerEvent||ct.MSPointerEvent){var ge={},me=!!ct.PointerEvent,ye=function(){var t,e=[];for(t in e.item=function(t){return this[t]},ge)ge.hasOwnProperty(t)&&e.push({pageX:ge[t].pageX,pageY:ge[t].pageY,target:ge[t].target});return e},ve=function(t,e,i,o){"touch"!==(t=t.originalEvent||t).pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!Wt[de]||(o(t),(o=Wt[de].pointer)[e]({type:i,target:t.currentTarget,preventDefault:Xt,touches:ye()}))};e(fe.prototype,{onContainerPointerDown:function(t){ve(t,"onContainerTouchStart","touchstart",(function(t){ge[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},onContainerPointerMove:function(t){ve(t,"onContainerTouchMove","touchmove",(function(t){ge[t.pointerId]={pageX:t.pageX,pageY:t.pageY},ge[t.pointerId].target||(ge[t.pointerId].target=t.currentTarget)}))},onDocumentPointerUp:function(t){ve(t,"onContainerTouchEnd","touchend",(function(t){delete ge[t.pointerId]}))},batchMSEvents:function(t){t(this.chart.container,me?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,me?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(ht,me?"pointerup":"MSPointerUp",this.onDocumentPointerUp)}}),b(fe.prototype,"init",(function(t,e,i){t.call(this,e,i),(this.hasZoom||this.followTouchMove)&&g(e.container,{"-ms-touch-action":Yt,"touch-action":Yt})})),b(fe.prototype,"setDOMEvents",(function(t){t.apply(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(qt)})),b(fe.prototype,"destroy",(function(t){this.batchMSEvents($t),t.call(this)}))}var xe=at.Legend=function(t,e){this.init(t,e)};xe.prototype={init:function(t,e){var o=this,n=e.itemStyle,r=f(e.padding,8),s=e.itemMarginTop||0;this.options=e,e.enabled&&(o.itemStyle=n,o.itemHiddenStyle=i(n,e.itemHiddenStyle),o.itemMarginTop=s,o.padding=r,o.initialItemX=r,o.initialItemY=r-5,o.maxItemWidth=0,o.chart=t,o.itemHeight=0,o.lastLineHeight=0,o.symbolWidth=f(e.symbolWidth,16),o.pages=[],o.render(),qt(o.chart,"endResize",(function(){o.positionCheckboxes()})))},colorizeItem:function(t,e){var i,o=this.options,n=t.legendItem,r=t.legendLine,s=t.legendSymbol,a=this.itemHiddenStyle.color,l=(o=e?o.itemStyle.color:a,e?t.legendColor||t.color||"#CCC":a),h=(a=t.options&&t.options.marker,{fill:l});if(n&&n.css({fill:o,color:o}),r&&r.attr({stroke:l}),s){if(a&&s.isMarker)for(i in h.stroke=l,a=t.convertAttribs(a))(n=a[i])!==E&&(h[i]=n);s.attr(h)}},positionItem:function(t){var e=(i=this.options).symbolPadding,i=!i.rtl,o=(n=t._legendItemPos)[0],n=n[1],r=t.checkbox;t.legendGroup&&t.legendGroup.translate(i?o:this.legendWidth-o-2*e-4,n),r&&(r.x=o,r.y=n)},destroyItem:function(t){var e=t.checkbox;jt(["legendItem","legendLine","legendSymbol","legendGroup"],(function(e){t[e]&&(t[e]=t[e].destroy())})),e&&C(t.checkbox)},destroy:function(){var t=this.group,e=this.box;e&&(this.box=e.destroy()),t&&(this.group=t.destroy())},positionCheckboxes:function(t){var e,i=this.group.alignAttr,o=this.clipHeight||this.legendHeight;i&&(e=i.translateY,jt(this.allItems,(function(n){var r,s=n.checkbox;s&&(r=e+s.y+(t||0)+3,g(s,{left:i.translateX+n.checkboxOffset+s.x-20+"px",top:r+"px",display:r>e-6&&r<e+o-6?"":Yt}))})))},renderTitle:function(){var t=this.padding,e=this.options.title,i=0;e.text&&(this.title||(this.title=this.chart.renderer.label(e.text,t-3,t-4,null,null,null,null,null,"legend-title").attr({zIndex:1}).css(e.style).add(this.group)),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},renderItem:function(t){var e=this.chart,o=e.renderer,n=this.options,r="horizontal"===n.layout,s=this.symbolWidth,a=n.symbolPadding,l=this.itemStyle,h=this.itemHiddenStyle,c=this.padding,p=r?f(n.itemDistance,20):0,d=!n.rtl,u=n.width,g=n.itemMarginBottom||0,m=this.itemMarginTop,y=this.initialItemX,v=t.legendItem,x=t.series&&t.series.drawLegendSymbol?t.series:t,b=x.options,k=(b=this.createCheckboxForItem&&b&&b.showCheckbox,n.useHTML);v||(t.legendGroup=o.g("legend-item").attr({zIndex:1}).add(this.scrollGroup),t.legendItem=v=o.text(n.labelFormat?w(n.labelFormat,t):n.labelFormatter.call(t),d?s+a:-a,this.baseline||0,k).css(i(t.visible?l:h)).attr({align:d?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.baseline=o.fontMetrics(l.fontSize,v).f+3+m,v.attr("y",this.baseline)),x.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,v,k,l,h),this.colorizeItem(t,t.visible),b&&this.createCheckboxForItem(t)),o=v.getBBox(),s=t.checkboxOffset=n.itemWidth||t.legendItemWidth||s+a+o.width+p+(b?20:0),this.itemHeight=a=dt(t.legendItemHeight||o.height),r&&this.itemX-y+s>(u||e.chartWidth-2*c-y-n.x)&&(this.itemX=y,this.itemY+=m+this.lastLineHeight+g,this.lastLineHeight=0),this.maxItemWidth=gt(this.maxItemWidth,s),this.lastItemY=m+this.itemY+g,this.lastLineHeight=gt(a,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=s:(this.itemY+=m+a+g,this.lastLineHeight=a),this.offsetWidth=u||gt((r?this.itemX-y-p:s)+c,this.offsetWidth)},getAllItems:function(){var t=[];return jt(this.chart.series,(function(e){var i=e.options;f(i.showInLegend,!p(i.linkedTo)&&E,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))})),t},render:function(){var t,i,o,n,r=this,s=r.chart,a=s.renderer,l=r.group,h=r.box,c=r.options,p=r.padding,d=c.borderWidth,u=c.backgroundColor;r.itemX=r.initialItemX,r.itemY=r.initialItemY,r.offsetWidth=0,r.lastItemY=0,l||(r.group=l=a.g("legend").attr({zIndex:7}).add(),r.contentGroup=a.g().attr({zIndex:1}).add(l),r.scrollGroup=a.g().add(r.contentGroup)),r.renderTitle(),S(t=r.getAllItems(),(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),c.reversed&&t.reverse(),r.allItems=t,r.display=i=!!t.length,jt(t,(function(t){r.renderItem(t)})),o=c.width||r.offsetWidth,n=r.lastItemY+r.lastLineHeight+r.titleHeight,n=r.handleOverflow(n),(d||u)&&(o+=p,n+=p,h?o>0&&n>0&&(h[h.isNew?"attr":"animate"](h.crisp({width:o,height:n})),h.isNew=!1):(r.box=h=a.rect(0,0,o,n,c.borderRadius,d||0).attr({stroke:c.borderColor,"stroke-width":d||0,fill:u||Yt}).add(l).shadow(c.shadow),h.isNew=!0),h[i?"show":"hide"]()),r.legendWidth=o,r.legendHeight=n,jt(t,(function(t){r.positionItem(t)})),i&&l.align(e({width:o,height:n},c),!0,"spacingBox"),s.isResizing||this.positionCheckboxes()},handleOverflow:function(t){var e,i,o=this,n=this.chart,r=n.renderer,s=this.options,a=s.y,l=(a=n.spacingBox.height+("top"===s.verticalAlign?-a:a)-this.padding,s.maxHeight),h=this.clipRect,c=s.navigation,p=f(c.animation,!0),d=c.arrowSize||12,u=this.nav,g=this.pages,m=this.allItems;return"horizontal"===s.layout&&(a/=2),l&&(a=mt(a,l)),g.length=0,t>a&&!s.useHTML?(this.clipHeight=e=gt(a-20-this.titleHeight-this.padding,0),this.currentPage=f(this.currentPage,1),this.fullHeight=t,jt(m,(function(t,o){var n=t._legendItemPos[1],r=dt(t.legendItem.getBBox().height),s=g.length;(!s||n-g[s-1]>e&&(i||n)!==g[s-1])&&(g.push(i||n),s++),o===m.length-1&&n+r-g[s-1]>e&&g.push(n),n!==i&&(i=n)})),h||(h=o.clipRect=r.clipRect(0,this.padding,9999,0),o.contentGroup.clip(h)),h.attr({height:e}),u||(this.nav=u=r.g().attr({zIndex:1}).add(this.group),this.up=r.symbol("triangle",0,0,d,d).on("click",(function(){o.scroll(-1,p)})).add(u),this.pager=r.text("",15,10).css(c.style).add(u),this.down=r.symbol("triangle-down",0,0,d,d).on("click",(function(){o.scroll(1,p)})).add(u)),o.scroll(0),t=a):u&&(h.attr({height:n.chartHeight}),u.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},scroll:function(t,e){var i=this.pages,o=i.length,n=this.currentPage+t,r=this.clipHeight,s=(a=this.options.navigation).activeColor,a=a.inactiveColor,l=this.pager,h=this.padding;n>o&&(n=o),n>0&&(e!==E&&z(e,this.chart),this.nav.attr({translateX:h,translateY:r+this.padding+7+this.titleHeight,visibility:"visible"}),this.up.attr({fill:1===n?a:s}).css({cursor:1===n?"default":"pointer"}),l.attr({text:n+"/"+o}),this.down.attr({x:18+this.pager.getBBox().width,fill:n===o?a:s}).css({cursor:n===o?"default":"pointer"}),i=-i[n-1]+this.initialItemY,this.scrollGroup.animate({translateY:i}),this.currentPage=n,this.positionCheckboxes(i))}},Ft=at.LegendSymbolMixin={drawRectangle:function(t,e){var i=t.options.symbolHeight||12;e.legendSymbol=this.chart.renderer.rect(0,t.baseline-5-i/2,t.symbolWidth,i,t.options.symbolRadius||0).attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e,i=this.options,o=i.marker;e=t.symbolWidth;var n,r=this.chart.renderer,s=this.legendGroup;t=t.baseline-dt(.3*r.fontMetrics(t.options.itemStyle.fontSize,this.legendItem).b),i.lineWidth&&(n={"stroke-width":i.lineWidth},i.dashStyle&&(n.dashstyle=i.dashStyle),this.legendLine=r.path(["M",0,t,"L",e,t]).attr(n).add(s)),o&&!1!==o.enabled&&(i=o.radius,this.legendSymbol=e=r.symbol(this.symbol,e/2-i,t-i,2*i,2*i).add(s),e.isMarker=!0)}},(/Trident\/7\.0/.test(kt)||Lt)&&b(xe.prototype,"positionItem",(function(t,e){var i=this,o=function(){e._legendItemPos&&t.call(i,e)};o(),setTimeout(o)})),X.prototype={init:function(t,e){var o,n=t.series;t.series=null,(o=i(G,t)).series=t.series=n,this.userOptions=t,n=o.chart,this.margin=this.splashArray("margin",n),this.spacing=this.splashArray("spacing",n);var r=n.events;this.bounds={h:{},v:{}},this.callback=e,this.isResizing=0,this.options=o,this.axes=[],this.series=[],this.hasCartesianSeries=n.showAxes;var s,a=this;if(a.index=Wt.length,Wt.push(a),Et++,!1!==n.reflow&&qt(a,"load",(function(){a.initReflow()})),r)for(s in r)qt(a,s,r[s]);a.xAxis=[],a.yAxis=[],a.animation=!Ot&&f(n.animation,!0),a.pointCount=a.colorCounter=a.symbolCounter=0,a.firstRender()},initSeries:function(t){var e=this.options.chart;return(e=Gt[t.type||e.type||e.defaultSeriesType])||j(17,!0),(e=new e).init(this,t),e},isInsidePlot:function(t,e,i){var o=i?e:t;return t=i?t:e,o>=0&&o<=this.plotWidth&&t>=0&&t<=this.plotHeight},adjustTickAmounts:function(){!1!==this.options.chart.alignTicks&&jt(this.axes,(function(t){t.adjustTickAmount()})),this.maxTicks=null},redraw:function(t){var i,o,n=this.axes,r=this.series,s=this.pointer,a=this.legend,l=this.isDirtyLegend,h=this.hasCartesianSeries,c=this.isDirtyBox,p=r.length,d=p,u=this.renderer,f=u.isHidden(),g=[];for(z(t,this),f&&this.cloneRenderTo(),this.layOutTitles();d--;)if((t=r[d]).options.stacking&&(i=!0,t.isDirty)){o=!0;break}if(o)for(d=p;d--;)(t=r[d]).options.stacking&&(t.isDirty=!0);jt(r,(function(t){t.isDirty&&"point"===t.options.legendType&&(l=!0)})),l&&a.options.enabled&&(a.render(),this.isDirtyLegend=!1),i&&this.getStacks(),h&&(this.isResizing||(this.maxTicks=null,jt(n,(function(t){t.setScale()}))),this.adjustTickAmounts()),this.getMargins(),h&&(jt(n,(function(t){t.isDirty&&(c=!0)})),jt(n,(function(t){t.isDirtyExtremes&&(t.isDirtyExtremes=!1,g.push((function(){Qt(t,"afterSetExtremes",e(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(c||i)&&t.redraw()}))),c&&this.drawChartBox(),jt(r,(function(t){t.isDirty&&t.visible&&(!t.isCartesian||t.xAxis)&&t.redraw()})),s&&s.reset(!0),u.draw(),Qt(this,"redraw"),f&&this.cloneRenderTo(!0),jt(g,(function(t){t.call()}))},get:function(t){var e,i,o=this.axes,n=this.series;for(e=0;e<o.length;e++)if(o[e].options.id===t)return o[e];for(e=0;e<n.length;e++)if(n[e].options.id===t)return n[e];for(e=0;e<n.length;e++)for(i=n[e].points||[],o=0;o<i.length;o++)if(i[o].id===t)return i[o];return null},getAxes:function(){var t=this,e=(i=this.options).xAxis=u(i.xAxis||{}),i=i.yAxis=u(i.yAxis||{});jt(e,(function(t,e){t.index=e,t.isX=!0})),jt(i,(function(t,e){t.index=e})),e=e.concat(i),jt(e,(function(e){new R(t,e)})),t.adjustTickAmounts()},getSelectedPoints:function(){var t=[];return jt(this.series,(function(e){t=t.concat(Ut(e.points||[],(function(t){return t.selected})))})),t},getSelectedSeries:function(){return Ut(this.series,(function(t){return t.selected}))},getStacks:function(){var t=this;jt(t.yAxis,(function(t){t.stacks&&t.hasVisibleSeries&&(t.oldStacks=t.stacks)})),jt(t.series,(function(e){!e.options.stacking||!0!==e.visible&&!1!==t.options.chart.ignoreHiddenSeries||(e.stackKey=e.type+f(e.options.stack,""))}))},setTitle:function(t,e,o){var n,r,s=this,a=s.options;r=a.title=i(a.title,t),n=a.subtitle=i(a.subtitle,e),jt([["title",t,r],["subtitle",e,a=n]],(function(t){var e=t[0],i=s[e],o=t[1];t=t[2],i&&o&&(s[e]=i=i.destroy()),t&&t.text&&!i&&(s[e]=s.renderer.text(t.text,0,0,t.useHTML).attr({align:t.align,class:"highcharts-"+e,zIndex:t.zIndex||4}).css(t.style).add())})),s.layOutTitles(o)},layOutTitles:function(t){var i=0,o=this.title,n=this.subtitle,r=(s=this.options).title,s=s.subtitle,a=this.renderer,l=this.spacingBox.width-44;!o||(o.css({width:(r.width||l)+"px"}).align(e({y:a.fontMetrics(r.style.fontSize,o).b-3},r),!1,"spacingBox"),r.floating||r.verticalAlign)||(i=o.getBBox().height),n&&(n.css({width:(s.width||l)+"px"}).align(e({y:i+(r.margin-13)+a.fontMetrics(r.style.fontSize,n).b},s),!1,"spacingBox"),!s.floating&&!s.verticalAlign&&(i=ft(i+n.getBBox().height))),o=this.titleOffset!==i,this.titleOffset=i,!this.isDirtyBox&&o&&(this.isDirtyBox=o,this.hasRendered&&f(t,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var t=(e=this.options.chart).width,e=e.height,i=this.renderToClone||this.renderTo;p(t)||(this.containerWidth=Nt(i,"width")),p(e)||(this.containerHeight=Nt(i,"height")),this.chartWidth=gt(0,t||this.containerWidth||600),this.chartHeight=gt(0,f(e,this.containerHeight>19?this.containerHeight:400))},cloneRenderTo:function(t){var e=this.renderToClone,i=this.container;t?e&&(this.renderTo.appendChild(i),C(e),delete this.renderToClone):(i&&i.parentNode===this.renderTo&&this.renderTo.removeChild(i),this.renderToClone=e=this.renderTo.cloneNode(0),g(e,{position:"absolute",top:"-9999px",display:"block"}),e.style.setProperty&&e.style.setProperty("display","block","important"),ht.body.appendChild(e),i&&e.appendChild(i))},getContainer:function(){var t,i,r,s,a=this.options.chart;this.renderTo=t=a.renderTo,s="highcharts-"+Rt++,n(t)&&(this.renderTo=t=ht.getElementById(t)),t||j(13,!0),i=o(d(t,"data-highcharts-chart")),!isNaN(i)&&Wt[i]&&Wt[i].hasRendered&&Wt[i].destroy(),d(t,"data-highcharts-chart",this.index),t.innerHTML="",!a.skipClone&&!t.offsetWidth&&this.cloneRenderTo(),this.getChartSize(),i=this.chartWidth,r=this.chartHeight,this.container=t=m(Ht,{className:"highcharts-container"+(a.className?" "+a.className:""),id:s},e({position:"relative",overflow:"hidden",width:i+"px",height:r+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},a.style),this.renderToClone||t),this._cursor=t.style.cursor,this.renderer=a.forExport?new ce(t,i,r,a.style,!0):new H(t,i,r,a.style),Ot&&this.renderer.create(this,t,i,r)},getMargins:function(){var t,e=this.spacing,i=this.legend,o=this.margin,n=this.options.legend,r=f(n.margin,20),s=n.x,a=n.y,l=n.align,h=n.verticalAlign,c=this.titleOffset;this.resetMargins(),t=this.axisOffset,c&&!p(o[0])&&(this.plotTop=gt(this.plotTop,c+this.options.title.margin+e[0])),i.display&&!n.floating&&("right"===l?p(o[1])||(this.marginRight=gt(this.marginRight,i.legendWidth-s+r+e[1])):"left"===l?p(o[3])||(this.plotLeft=gt(this.plotLeft,i.legendWidth+s+r+e[3])):"top"===h?p(o[0])||(this.plotTop=gt(this.plotTop,i.legendHeight+a+r+e[0])):"bottom"!==h||p(o[2])||(this.marginBottom=gt(this.marginBottom,i.legendHeight-a+r+e[2]))),this.extraBottomMargin&&(this.marginBottom+=this.extraBottomMargin),this.extraTopMargin&&(this.plotTop+=this.extraTopMargin),this.hasCartesianSeries&&jt(this.axes,(function(t){t.getOffset()})),p(o[3])||(this.plotLeft+=t[3]),p(o[0])||(this.plotTop+=t[0]),p(o[2])||(this.marginBottom+=t[2]),p(o[1])||(this.marginRight+=t[1]),this.setChartSize()},reflow:function(t){var e=this,i=e.options.chart,o=e.renderTo,n=i.width||Nt(o,"width"),r=i.height||Nt(o,"height");i=t?t.target:ct,o=function(){e.container&&(e.setSize(n,r,!1),e.hasUserSize=null)},e.hasUserSize||!n||!r||i!==ct&&i!==ht||(n===e.containerWidth&&r===e.containerHeight||(clearTimeout(e.reflowTimeout),t?e.reflowTimeout=setTimeout(o,100):o()),e.containerWidth=n,e.containerHeight=r)},initReflow:function(){var t=this,e=function(e){t.reflow(e)};qt(ct,"resize",e),qt(t,"destroy",(function(){$t(ct,"resize",e)}))},setSize:function(t,e,i){var o,n,r,s=this;s.isResizing+=1,r=function(){s&&Qt(s,"endResize",null,(function(){s.isResizing-=1}))},z(i,s),s.oldChartHeight=s.chartHeight,s.oldChartWidth=s.chartWidth,p(t)&&(s.chartWidth=o=gt(0,dt(t)),s.hasUserSize=!!o),p(e)&&(s.chartHeight=n=gt(0,dt(e))),(N?te:g)(s.container,{width:o+"px",height:n+"px"},N),s.setChartSize(!0),s.renderer.setSize(o,n,i),s.maxTicks=null,jt(s.axes,(function(t){t.isDirty=!0,t.setScale()})),jt(s.series,(function(t){t.isDirty=!0})),s.isDirtyLegend=!0,s.isDirtyBox=!0,s.layOutTitles(),s.getMargins(),s.redraw(i),s.oldChartHeight=null,Qt(s,"resize"),!1===N?r():setTimeout(r,N&&N.duration||500)},setChartSize:function(t){var e,i,o,n,r=this.inverted,s=this.renderer,a=this.chartWidth,l=this.chartHeight,h=this.options.chart,c=this.spacing,p=this.clipOffset;this.plotLeft=e=dt(this.plotLeft),this.plotTop=i=dt(this.plotTop),this.plotWidth=o=gt(0,dt(a-e-this.marginRight)),this.plotHeight=n=gt(0,dt(l-i-this.marginBottom)),this.plotSizeX=r?n:o,this.plotSizeY=r?o:n,this.plotBorderWidth=h.plotBorderWidth||0,this.spacingBox=s.spacingBox={x:c[3],y:c[0],width:a-c[3]-c[1],height:l-c[0]-c[2]},this.plotBox=s.plotBox={x:e,y:i,width:o,height:n},a=2*ut(this.plotBorderWidth/2),r=ft(gt(a,p[3])/2),s=ft(gt(a,p[0])/2),this.clipBox={x:r,y:s,width:ut(this.plotSizeX-gt(a,p[1])/2-r),height:gt(0,ut(this.plotSizeY-gt(a,p[2])/2-s))},t||jt(this.axes,(function(t){t.setAxisSize(),t.setAxisTranslation()}))},resetMargins:function(){var t=this.spacing,e=this.margin;this.plotTop=f(e[0],t[0]),this.marginRight=f(e[1],t[1]),this.marginBottom=f(e[2],t[2]),this.plotLeft=f(e[3],t[3]),this.axisOffset=[0,0,0,0],this.clipOffset=[0,0,0,0]},drawChartBox:function(){var t,e=this.options.chart,i=this.renderer,o=this.chartWidth,n=this.chartHeight,r=this.chartBackground,s=this.plotBackground,a=this.plotBorder,l=this.plotBGImage,h=e.borderWidth||0,c=e.backgroundColor,p=e.plotBackgroundColor,d=e.plotBackgroundImage,u=e.plotBorderWidth||0,f=this.plotLeft,g=this.plotTop,m=this.plotWidth,y=this.plotHeight,v=this.plotBox,x=this.clipRect,b=this.clipBox;t=h+(e.shadow?8:0),(h||c)&&(r?r.animate(r.crisp({width:o-t,height:n-t})):(r={fill:c||Yt},h&&(r.stroke=e.borderColor,r["stroke-width"]=h),this.chartBackground=i.rect(t/2,t/2,o-t,n-t,e.borderRadius,h).attr(r).addClass("highcharts-background").add().shadow(e.shadow))),p&&(s?s.animate(v):this.plotBackground=i.rect(f,g,m,y,0).attr({fill:p}).add().shadow(e.plotShadow)),d&&(l?l.animate(v):this.plotBGImage=i.image(d,f,g,m,y).add()),x?x.animate({width:b.width,height:b.height}):this.clipRect=i.clipRect(b),u&&(a?a.animate(a.crisp({x:f,y:g,width:m,height:y,strokeWidth:-u})):this.plotBorder=i.rect(f,g,m,y,0,-u).attr({stroke:e.plotBorderColor,"stroke-width":u,fill:Yt,zIndex:1}).add()),this.isDirtyBox=!1},propFromSeries:function(){var t,e,i,o=this,n=o.options.chart,r=o.options.series;jt(["inverted","angular","polar"],(function(s){for(t=Gt[n.type||n.defaultSeriesType],i=o[s]||n[s]||t&&t.prototype[s],e=r&&r.length;!i&&e--;)(t=Gt[r[e].type])&&t.prototype[s]&&(i=!0);o[s]=i}))},linkSeries:function(){var t=this,e=t.series;jt(e,(function(t){t.linkedSeries.length=0})),jt(e,(function(e){var i=e.options.linkedTo;n(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&(i.linkedSeries.push(e),e.linkedParent=i)}))},renderSeries:function(){jt(this.series,(function(t){t.translate(),t.setTooltipPoints&&t.setTooltipPoints(),t.render()}))},renderLabels:function(){var t=this,i=t.options.labels;i.items&&jt(i.items,(function(n){var r=e(i.style,n.style),s=o(r.left)+t.plotLeft,a=o(r.top)+t.plotTop+12;delete r.left,delete r.top,t.renderer.text(n.html,s,a).attr({zIndex:2}).css(r).add()}))},render:function(){var t=this.axes,e=this.renderer,i=this.options;this.setTitle(),this.legend=new xe(this,i.legend),this.getStacks(),jt(t,(function(t){t.setScale()})),this.getMargins(),this.maxTicks=null,jt(t,(function(t){t.setTickPositions(!0),t.setMaxTicks()})),this.adjustTickAmounts(),this.getMargins(),this.drawChartBox(),this.hasCartesianSeries&&jt(t,(function(t){t.render()})),this.seriesGroup||(this.seriesGroup=e.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.showCredits(i.credits),this.hasRendered=!0},showCredits:function(t){t.enabled&&!this.credits&&(this.credits=this.renderer.text(t.text,0,0).on("click",(function(){t.href&&(location.href=t.href)})).attr({align:t.position.align,zIndex:8}).css(t.style).add().align(t.position))},destroy:function(){var t,e=this,i=e.axes,o=e.series,n=e.container,r=n&&n.parentNode;for(Qt(e,"destroy"),Wt[e.index]=E,Et--,e.renderTo.removeAttribute("data-highcharts-chart"),$t(e),t=i.length;t--;)i[t]=i[t].destroy();for(t=o.length;t--;)o[t]=o[t].destroy();for(t in jt("title,subtitle,chartBackground,plotBackground,plotBGImage,plotBorder,seriesGroup,clipRect,credits,pointer,scroller,rangeSelector,legend,resetZoomButton,tooltip,renderer".split(","),(function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())})),n&&(n.innerHTML="",$t(n),r&&C(n)),e)delete e[t]},isReadyToRender:function(){var t=this;return!(!zt&&ct==ct.top&&"complete"!==ht.readyState||Ot&&!ct.canvg)||(Ot?he.push((function(){t.firstRender()}),t.options.global.canvasToolsURL):ht.attachEvent("onreadystatechange",(function(){ht.detachEvent("onreadystatechange",t.firstRender),"complete"===ht.readyState&&t.firstRender()})),!1)},firstRender:function(){var t=this,e=t.options,i=t.callback;t.isReadyToRender()&&(t.getContainer(),Qt(t,"init"),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),jt(e.series||[],(function(e){t.initSeries(e)})),t.linkSeries(),Qt(t,"beforeRender"),at.Pointer&&(t.pointer=new fe(t,e)),t.render(),t.renderer.draw(),i&&i.apply(t,[t]),jt(t.callbacks,(function(e){e.apply(t,[t])})),t.cloneRenderTo(!0),Qt(t,"load"))},splashArray:function(t,e){var i=r(i=e[t])?i:[i,i,i,i];return[f(e[t+"Top"],i[0]),f(e[t+"Right"],i[1]),f(e[t+"Bottom"],i[2]),f(e[t+"Left"],i[3])]}},X.prototype.callbacks=[],le=at.CenteredSeriesMixin={getCenter:function(){var t,e,i=this.options,n=this.chart,r=2*(i.slicedOffset||0),s=n.plotWidth-2*r,a=n.plotHeight-2*r,l=(i=[f((n=i.center)[0],"50%"),f(n[1],"50%"),i.size||"100%",i.innerSize||0],mt(s,a));return Zt(i,(function(i,n){return e=/%$/.test(i),t=n<2||2===n&&e,(e?[s,a,l,l][n]*o(i)/100:i)+(t?r:0)}))}};var be=function(){};be.prototype={init:function(t,e,i){return this.series=t,this.applyOptions(e,i),this.pointAttr={},t.options.colorByPoint&&(e=t.options.colors||t.chart.options.colors,this.color=this.color||e[t.colorCounter++],t.colorCounter===e.length)&&(t.colorCounter=0),t.chart.pointCount++,this},applyOptions:function(t,i){var o=this.series,n=o.options.pointValKey||o.pointValKey;return e(this,t=be.prototype.optionsToObject.call(this,t)),this.options=this.options?e(this.options,t):t,n&&(this.y=this[n]),this.x===E&&o&&(this.x=i===E?o.autoIncrement():i),this},optionsToObject:function(e){var i={},o=this.series,n=o.pointArrayMap||["y"],r=n.length,a=0,l=0;if("number"==typeof e||null===e)i[n[0]]=e;else if(s(e))for(e.length>r&&("string"===(o=t(e[0]))?i.name=e[0]:"number"===o&&(i.x=e[0]),a++);l<r;)i[n[l++]]=e[a++];else"object"===t(e)&&(i=e,e.dataLabels&&(o._hasPointLabels=!0),e.marker&&(o._hasPointMarkers=!0));return i},destroy:function(){var t,e=this.series.chart,i=e.hoverPoints;for(t in e.pointCount--,i&&(this.setState(),c(i,this),!i.length)&&(e.hoverPoints=null),this===e.hoverPoint&&this.onMouseOut(),(this.graphic||this.dataLabel)&&($t(this),this.destroyElements()),this.legendItem&&e.legend.destroyItem(this),this)this[t]=null},destroyElements:function(){for(var t,e="graphic,dataLabel,dataLabelUpper,group,connector,shadowGroup".split(","),i=6;i--;)this[t=e[i]]&&(this[t]=this[t].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(t){var e=this.series,i=e.tooltipOptions,o=f(i.valueDecimals,""),n=i.valuePrefix||"",r=i.valueSuffix||"";return jt(e.pointArrayMap||["y"],(function(e){e="{point."+e,(n||r)&&(t=t.replace(e+"}",n+e+"}"+r)),t=t.replace(e+"}",e+":,."+o+"f}")})),w(t,{point:this,series:this.series})},firePointEvent:function(t,e,i){var o=this,n=this.series.options;(n.point.events[t]||o.options&&o.options.events&&o.options.events[t])&&this.importEvents(),"click"===t&&n.allowPointSelect&&(i=function(t){o.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),Qt(this,t,e,i)}};var we=function(){};we.prototype={isCartesian:!0,type:"line",pointClass:be,sorted:!0,requireSorting:!0,pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor",r:"radius"},axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],init:function(t,i){var o,n,r=this,s=t.series,a=function(t,e){return f(t.options.index,t._i)-f(e.options.index,e._i)};for(o in r.chart=t,r.options=i=r.setOptions(i),r.linkedSeries=[],r.bindAxes(),e(r,{name:i.name,state:"",pointAttr:{},visible:!1!==i.visible,selected:!0===i.selected}),Ot&&(i.animation=!1),n=i.events)qt(r,o,n[o]);(n&&n.click||i.point&&i.point.events&&i.point.events.click||i.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),jt(r.parallelArrays,(function(t){r[t+"Data"]=[]})),r.setData(i.data,!1),r.isCartesian&&(t.hasCartesianSeries=!0),s.push(r),r._i=s.length-1,S(s,a),this.yAxis&&S(this.yAxis.series,a),jt(s,(function(t,e){t.index=e,t.name=t.name||"Series "+(e+1)}))},bindAxes:function(){var t,e=this,i=e.options,o=e.chart;jt(e.axisTypes||[],(function(n){jt(o[n],(function(o){t=o.options,(i[n]===t.index||i[n]!==E&&i[n]===t.id||i[n]===E&&0===t.index)&&(o.series.push(e),e[n]=o,o.isDirty=!0)})),!e[n]&&e.optionalAxis!==n&&j(18,!0)}))},updateParallelArrays:function(t,e){var i=t.series,o=arguments;jt(i.parallelArrays,"number"==typeof e?function(o){var n="y"===o&&i.toYData?i.toYData(t):t[o];i[o+"Data"][e]=n}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(o,2))})},autoIncrement:function(){var t=this.options,e=f(e=this.xIncrement,t.pointStart,0);return this.pointInterval=f(this.pointInterval,t.pointInterval,1),this.xIncrement=e+this.pointInterval,e},getSegments:function(){var t,e=-1,i=[],o=this.points,n=o.length;if(n)if(this.options.connectNulls){for(t=n;t--;)null===o[t].y&&o.splice(t,1);o.length&&(i=[o])}else jt(o,(function(t,r){null===t.y?(r>e+1&&i.push(o.slice(e+1,r)),e=r):r===n-1&&i.push(o.slice(e+1,r+1))}));this.segments=i},setOptions:function(t){var e,o=(e=this.chart).options.plotOptions,n=(e=e.userOptions||{}).plotOptions||{},r=o[this.type];return this.userOptions=t,o=i(r,o.series,t),this.tooltipOptions=i(G.tooltip,G.plotOptions[this.type].tooltip,e.tooltip,n.series&&n.series.tooltip,n[this.type]&&n[this.type].tooltip,t.tooltip),null===r.marker&&delete o.marker,o},getCyclic:function(t,e,i){var o=this.userOptions,n="_"+t+"Index",r=t+"Counter";e||(p(o[n])?e=o[n]:(o[n]=e=this.chart[r]%i.length,this.chart[r]+=1),e=i[e]),this[t]=e},getColor:function(){this.options.colorByPoint||this.getCyclic("color",this.options.color||ie[this.type].color,this.chart.options.colors)},getSymbol:function(){var t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols),/^url/.test(this.symbol)&&(t.radius=0)},drawLegendSymbol:Ft.drawLineMarker,setData:function(t,e,i,o){var r,l=this,h=l.points,c=h&&h.length||0,p=l.options,d=l.chart,u=null,g=l.xAxis,m=g&&!!g.categories,y=l.tooltipPoints,v=p.turboThreshold,x=this.xData,b=this.yData,w=(r=l.pointArrayMap)&&r.length;if(r=(t=t||[]).length,e=f(e,!0),!1===o||!r||c!==r||l.cropped||l.hasGroupedData){if(l.xIncrement=null,l.pointRange=m?1:p.pointRange,l.colorCounter=0,jt(this.parallelArrays,(function(t){l[t+"Data"].length=0})),v&&r>v){for(i=0;null===u&&i<r;)u=t[i],i++;if(a(u)){for(m=f(p.pointStart,0),p=f(p.pointInterval,1),i=0;i<r;i++)x[i]=m,b[i]=t[i],m+=p;l.xIncrement=m}else if(s(u))if(w)for(i=0;i<r;i++)p=t[i],x[i]=p[0],b[i]=p.slice(1,w+1);else for(i=0;i<r;i++)p=t[i],x[i]=p[0],b[i]=p[1];else j(12)}else for(i=0;i<r;i++)t[i]!==E&&(p={series:l},l.pointClass.prototype.applyOptions.apply(p,[t[i]]),l.updateParallelArrays(p,i),m&&p.name)&&(g.names[p.x]=p.name);for(n(b[0])&&j(14,!0),l.data=[],l.options.data=t,i=c;i--;)h[i]&&h[i].destroy&&h[i].destroy();y&&(y.length=0),g&&(g.minRange=g.userMinRange),l.isDirty=l.isDirtyData=d.isDirtyBox=!0,i=!1}else jt(t,(function(t,e){h[e].update(t,!1,null,!1)}));e&&d.redraw(i)},processData:function(t){var e,i=this.xData,o=this.yData,n=i.length;e=0;var r,s,a,l=this.xAxis,h=this.options;a=h.cropThreshold;var c,p,d=0,u=this.isCartesian;if(u&&!this.isDirty&&!l.isDirty&&!this.yAxis.isDirty&&!t)return!1;for(l&&(p=(c=l.getExtremes()).min,c=c.max),u&&this.sorted&&(!a||n>a||this.forceCrop)&&(i[n-1]<p||i[0]>c?(i=[],o=[]):(i[0]<p||i[n-1]>c)&&(i=(e=this.cropData(this.xData,this.yData,p,c)).xData,o=e.yData,e=e.start,r=!0,d=i.length)),a=i.length-1;a>=0;a--)n=i[a]-i[a-1],!r&&i[a]>p&&i[a]<c&&d++,n>0&&(s===E||n<s)?s=n:n<0&&this.requireSorting&&j(15);this.cropped=r,this.cropStart=e,this.processedXData=i,this.processedYData=o,this.activePointCount=d,null===h.pointRange&&(this.pointRange=s||1),this.closestPointRange=s},cropData:function(t,e,i,o){var n,r=t.length,s=0,a=r,l=f(this.cropShoulder,1);for(n=0;n<r;n++)if(t[n]>=i){s=gt(0,n-l);break}for(;n<r;n++)if(t[n]>o){a=n+l;break}return{xData:t.slice(s,a),yData:e.slice(s,a),start:s,end:a}},generatePoints:function(){var t,e,i,o,n=this.options.data,r=this.data,s=this.processedXData,a=this.processedYData,l=this.pointClass,h=s.length,c=this.cropStart||0,p=this.hasGroupedData,d=[];for(r||p||((r=[]).length=n.length,r=this.data=r),o=0;o<h;o++)e=c+o,p?d[o]=(new l).init(this,[s[o]].concat(u(a[o]))):(r[e]?i=r[e]:n[e]!==E&&(r[e]=i=(new l).init(this,n[e],s[o])),d[o]=i),d[o].index=e;if(r&&(h!==(t=r.length)||p))for(o=0;o<t;o++)o===c&&!p&&(o+=h),r[o]&&(r[o].destroyElements(),r[o].plotX=E);this.data=r,this.points=d},getExtremes:function(t){var e,i,o,n,r,s=this.yAxis,a=this.processedXData,l=[],h=0,c=(e=this.xAxis.getExtremes()).min,p=e.max;for(e=(t=t||this.stackedYData||this.processedYData).length,r=0;r<e;r++)if(o=a[r],i=null!==(n=t[r])&&n!==E&&(!s.isLog||n.length||n>0),o=this.getExtremesFromAll||this.cropped||(a[r+1]||o)>=c&&(a[r-1]||o)<=p,i&&o)if(i=n.length)for(;i--;)null!==n[i]&&(l[h++]=n[i]);else l[h++]=n;this.dataMin=f(void 0,P(l)),this.dataMax=f(void 0,A(l))},translate:function(){this.processedXData||this.processData(),this.generatePoints();for(var t=(d=this.options).stacking,e=this.xAxis,i=e.categories,o=this.yAxis,n=this.points,r=n.length,s=!!this.modifyValue,l=d.pointPlacement,h="between"===l||a(l),c=d.threshold,d=0;d<r;d++){var u=n[d],g=u.x,m=u.y,y=u.low,v=t&&o.stacks[(this.negStacks&&m<c?"-":"")+this.stackKey];o.isLog&&m<=0&&(u.y=m=null,j(10)),u.plotX=e.translate(g,0,0,0,1,l,"flags"===this.type),t&&this.visible&&v&&v[g]&&(y=(m=(v=v[g]).points[this.index+","+d])[0],m=m[1],0===y&&(y=f(c,o.min)),o.isLog&&y<=0&&(y=null),u.total=u.stackTotal=v.total,u.percentage=v.total&&u.y/v.total*100,u.stackY=m,v.setOffset(this.pointXOffset||0,this.barW||0)),u.yBottom=p(y)?o.translate(y,0,1,0,1):null,s&&(m=this.modifyValue(m,u)),u.plotY="number"==typeof m&&m!==1/0?o.translate(m,0,1,0,1):E,u.clientX=h?e.translate(g,0,0,0,1):u.plotX,u.negative=u.y<(c||0),u.category=i&&i[u.x]!==E?i[u.x]:u.x}this.getSegments()},animate:function(t){var i,o=this.chart,n=o.renderer;i=this.options.animation;var s,a=this.clipBox||o.clipBox,l=o.inverted;i&&!r(i)&&(i=ie[this.type].animation),s=["_sharedClip",i.duration,i.easing,a.height].join(","),t?(t=o[s],i=o[s+"m"],t||(o[s]=t=n.clipRect(e(a,{width:0})),o[s+"m"]=i=n.clipRect(-99,l?-o.plotLeft:-o.plotTop,99,l?o.chartWidth:o.chartHeight)),this.group.clip(t),this.markerGroup.clip(i),this.sharedClipKey=s):((t=o[s])&&t.animate({width:o.plotSizeX},i),o[s+"m"]&&o[s+"m"].animate({width:o.plotSizeX+99},i),this.animate=null)},afterAnimate:function(){var t=this.chart,e=this.sharedClipKey,i=this.group,o=this.clipBox;i&&!1!==this.options.clip&&(e&&o||i.clip(o?t.renderer.clipRect(o):t.clipRect),this.markerGroup.clip()),Qt(this,"afterAnimate"),setTimeout((function(){e&&t[e]&&(o||(t[e]=t[e].destroy()),t[e+"m"]&&(t[e+"m"]=t[e+"m"].destroy()))}),100)},drawPoints:function(){var t,i,o,n,r,s,a,l,h,c,p,d,u=this.points,g=this.chart,m=this.options.marker,y=this.pointAttr[""],v=this.markerGroup,x=f(m.enabled,!this.requireSorting||this.activePointCount<.5*this.xAxis.len/m.radius);if(!1!==m.enabled||this._hasPointMarkers)for(n=u.length;n--;)r=u[n],i=ut(r.plotX),o=r.plotY,h=r.graphic,c=r.marker||{},p=!!r.marker,t=x&&c.enabled===E||c.enabled,d=g.isInsidePlot(dt(i),o,g.inverted),t&&o!==E&&!isNaN(o)&&null!==r.y?(s=(t=r.pointAttr[r.selected?"select":""]||y).r,l=0===(a=f(c.symbol,this.symbol)).indexOf("url"),h?h[d?"show":"hide"](!0).animate(e({x:i-s,y:o-s},h.symbolName?{width:2*s,height:2*s}:{})):d&&(s>0||l)&&(r.graphic=g.renderer.symbol(a,i-s,o-s,2*s,2*s,p?c:m).attr(t).add(v))):h&&(r.graphic=h.destroy())},convertAttribs:function(t,e,i,o){var n,r,s=this.pointAttrToOptions,a={};for(n in t=t||{},e=e||{},i=i||{},o=o||{},s)r=s[n],a[n]=f(t[r],e[n],i[n],o[n]);return a},getAttribs:function(){var t,i=this,o=i.options,n=ie[i.type].marker?o.marker:o,r=n.states,s=r.hover,a=i.color;t={stroke:a,fill:a};var l,h,c=i.points||[],d=[],u=i.pointAttrToOptions;h=i.hasPointSpecificOptions;var f,g=o.negativeColor,m=n.lineColor,y=n.fillColor;if(l=o.turboThreshold,o.marker?(s.radius=s.radius||n.radius+s.radiusPlus,s.lineWidth=s.lineWidth||n.lineWidth+s.lineWidthPlus):s.color=s.color||ae(s.color||a).brighten(s.brightness).get(),d[""]=i.convertAttribs(n,t),jt(["hover","select"],(function(t){d[t]=i.convertAttribs(r[t],d[""])})),i.pointAttr=d,a=c.length,!l||a<l||h)for(;a--;){if((n=(l=c[a]).options&&l.options.marker||l.options)&&!1===n.enabled&&(n.radius=0),l.negative&&g&&(l.color=l.fillColor=g),h=o.colorByPoint||l.color,l.options)for(f in u)p(n[u[f]])&&(h=!0);h?(h=[],t=(r=(n=n||{}).states||{}).hover=r.hover||{},o.marker||(t.color=t.color||!l.options.color&&s.color||ae(l.color).brighten(t.brightness||s.brightness).get()),t={color:l.color},y||(t.fillColor=l.color),m||(t.lineColor=l.color),h[""]=i.convertAttribs(e(t,n),d[""]),h.hover=i.convertAttribs(r.hover,d.hover,h[""]),h.select=i.convertAttribs(r.select,d.select,h[""])):h=d,l.pointAttr=h}},destroy:function(){var t,e,i,o,n,r=this,s=r.chart,a=/AppleWebKit\/533/.test(kt),l=r.data||[];for(Qt(r,"destroy"),$t(r),jt(r.axisTypes||[],(function(t){(n=r[t])&&(c(n.series,r),n.isDirty=n.forceRedraw=!0)})),r.legendItem&&r.chart.legend.destroyItem(r),e=l.length;e--;)(i=l[e])&&i.destroy&&i.destroy();for(o in r.points=null,clearTimeout(r.animationTimeout),jt("area,graph,dataLabelsGroup,group,markerGroup,tracker,graphNeg,areaNeg,posClip,negClip".split(","),(function(e){r[e]&&(t=a&&"group"===e?"hide":"destroy",r[e][t]())})),s.hoverSeries===r&&(s.hoverSeries=null),c(s.series,r),r)delete r[o]},getSegmentPath:function(t){var e=this,i=[],o=e.options.step;return jt(t,(function(n,r){var s,a=n.plotX,l=n.plotY;e.getPointSpline?i.push.apply(i,e.getPointSpline(t,n,r)):(i.push(r?"L":"M"),o&&r&&(s=t[r-1],"right"===o?i.push(s.plotX,l):"center"===o?i.push((s.plotX+a)/2,s.plotY,(s.plotX+a)/2,l):i.push(a,s.plotY)),i.push(n.plotX,n.plotY))})),i},getGraphPath:function(){var t,e=this,i=[],o=[];return jt(e.segments,(function(n){t=e.getSegmentPath(n),n.length>1?i=i.concat(t):o.push(n[0])})),e.singlePoints=o,e.graphPath=i},drawGraph:function(){var t=this,e=this.options,i=[["graph",e.lineColor||this.color]],o=e.lineWidth,n=e.dashStyle,r="square"!==e.linecap,s=this.getGraphPath(),a=e.negativeColor;a&&i.push(["graphNeg",a]),jt(i,(function(i,a){var l=i[0],h=t[l];h?(ee(h),h.animate({d:s})):o&&s.length&&(h={stroke:i[1],"stroke-width":o,fill:Yt,zIndex:1},n?h.dashstyle=n:r&&(h["stroke-linecap"]=h["stroke-linejoin"]="round"),t[l]=t.chart.renderer.path(s).attr(h).add(t.group).shadow(!a&&e.shadow))}))},clipNeg:function(){var t,e=this.options,i=this.chart,o=i.renderer,n=e.negativeColor||e.negativeFillColor,r=this.graph,s=this.area,a=this.posClip,l=this.negClip;t=i.chartWidth;var h=i.chartHeight,c=gt(t,h),p=this.yAxis;n&&(r||s)&&((n=dt(p.toPixels(e.threshold||0,!0)))<0&&(c-=n),e={x:0,y:0,width:c,height:n},c={x:0,y:n,width:c,height:c},i.inverted&&(e.height=c.y=i.plotWidth-n,o.isVML&&(e={x:i.plotWidth-n-i.plotLeft,y:0,width:t,height:h},c={x:n+i.plotLeft-t,y:0,width:i.plotLeft+n,height:t})),p.reversed?(i=c,t=e):(i=e,t=c),a?(a.animate(i),l.animate(t)):(this.posClip=a=o.clipRect(i),this.negClip=l=o.clipRect(t),r&&this.graphNeg&&(r.clip(a),this.graphNeg.clip(l)),s&&(s.clip(a),this.areaNeg.clip(l))))},invertGroups:function(){function t(){var t={width:e.yAxis.len,height:e.xAxis.len};jt(["group","markerGroup"],(function(i){e[i]&&e[i].attr(t).invert()}))}var e=this,i=e.chart;e.xAxis&&(qt(i,"resize",t),qt(e,"destroy",(function(){$t(i,"resize",t)})),t(),e.invertGroups=t)},plotGroup:function(t,e,i,o,n){var r=this[t],s=!r;return s&&(this[t]=r=this.chart.renderer.g(e).attr({visibility:i,zIndex:o||.1}).add(n)),r[s?"attr":"animate"](this.getPlotBox()),r},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}},render:function(){var t,e=this,i=e.chart,o=e.options,n=(t=o.animation)&&!!e.animate&&i.renderer.isSVG&&f(t.duration,500)||0,r=e.visible?"visible":"hidden",s=o.zIndex,a=e.hasRendered,l=i.seriesGroup;t=e.plotGroup("group","series",r,s,l),e.markerGroup=e.plotGroup("markerGroup","markers",r,s,l),n&&e.animate(!0),e.getAttribs(),t.inverted=!!e.isCartesian&&i.inverted,e.drawGraph&&(e.drawGraph(),e.clipNeg()),jt(e.points,(function(t){t.redraw&&t.redraw()})),e.drawDataLabels&&e.drawDataLabels(),e.visible&&e.drawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),i.inverted&&e.invertGroups(),!1!==o.clip&&!e.sharedClipKey&&!a&&t.clip(i.clipRect),n&&e.animate(),a||(n?e.animationTimeout=setTimeout((function(){e.afterAnimate()}),n):e.afterAnimate()),e.isDirty=e.isDirtyData=!1,e.hasRendered=!0},redraw:function(){var t=this.chart,e=this.isDirtyData,i=this.group,o=this.xAxis,n=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:f(o&&o.left,t.plotLeft),translateY:f(n&&n.top,t.plotTop)})),this.translate(),this.setTooltipPoints&&this.setTooltipPoints(!0),this.render(),e&&Qt(this,"updatedData")}},W.prototype={destroy:function(){L(this,this.axis)},render:function(t){var e=this.options,i=(i=e.format)?w(i,this):e.formatter.call(this);this.label?this.label.attr({text:i,visibility:"hidden"}):this.label=this.axis.chart.renderer.text(i,null,null,e.useHTML).css(e.style).attr({align:this.textAlign,rotation:e.rotation,visibility:"hidden"}).add(t)},setOffset:function(t,e){var i=(s=this.axis).chart,o=i.inverted,n=this.isNegative,r=s.translate(s.usePercentage?100:this.total,0,0,0,1),s=s.translate(0),a=(s=yt(r-s),i.xAxis[0].translate(this.x)+t),l=i.plotHeight;n={x:o?n?r:r-s:a,y:o?l-a-e:n?l-r-s:l-r,width:o?s:e,height:o?e:s},(o=this.label)&&(o.align(this.alignOptions,null,n),n=o.alignAttr,o[!1===this.options.crop||i.isInsidePlot(n.x,n.y)?"show":"hide"](!0))}},R.prototype.buildStacks=function(){var t=this.series,e=f(this.options.reversedStacks,!0),i=t.length;if(!this.isXAxis){for(this.usePercentage=!1;i--;)t[e?i:t.length-i-1].setStackedPoints();if(this.usePercentage)for(i=0;i<t.length;i++)t[i].setPercentStacks()}},R.prototype.renderStackTotals=function(){var t,e,i=this.chart,o=i.renderer,n=this.stacks,r=this.stackTotalGroup;for(t in r||(this.stackTotalGroup=r=o.g("stack-labels").attr({visibility:"visible",zIndex:6}).add()),r.translate(i.plotLeft,i.plotTop),n)for(e in i=n[t])i[e].render(r)},we.prototype.setStackedPoints=function(){if(this.options.stacking&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var t,e,i,o,n,r,s=this.processedXData,a=this.processedYData,l=[],h=a.length,c=(d=this.options).threshold,p=d.stack,d=d.stacking,u=this.stackKey,f="-"+u,g=this.negStacks,m=this.yAxis,y=m.stacks,v=m.oldStacks;for(o=0;o<h;o++)n=s[o],r=a[o],i=this.index+","+o,y[e=(t=g&&r<c)?f:u]||(y[e]={}),y[e][n]||(v[e]&&v[e][n]?(y[e][n]=v[e][n],y[e][n].total=null):y[e][n]=new W(m,m.options.stackLabels,t,n,p)),(e=y[e][n]).points[i]=[e.cum||0],"percent"===d?(t=t?u:f,g&&y[t]&&y[t][n]?(t=y[t][n],e.total=t.total=gt(t.total,e.total)+yt(r)||0):e.total=M(e.total+(yt(r)||0))):e.total=M(e.total+(r||0)),e.cum=(e.cum||0)+(r||0),e.points[i].push(e.cum),l[o]=e.cum;"percent"===d&&(m.usePercentage=!0),this.stackedYData=l,m.oldStacks={}}},we.prototype.setPercentStacks=function(){var t=this,e=t.stackKey,i=t.yAxis.stacks,o=t.processedXData;jt([e,"-"+e],(function(e){for(var n,r,s=o.length;s--;)n=o[s],(n=(r=i[e]&&i[e][n])&&r.points[t.index+","+s])&&(r=r.total?100/r.total:0,n[0]=M(n[0]*r),n[1]=M(n[1]*r),t.stackedYData[s]=n[1])}))},e(X.prototype,{addSeries:function(t,e,i){var o,n=this;return t&&(e=f(e,!0),Qt(n,"addSeries",{options:t},(function(){o=n.initSeries(t),n.isDirtyLegend=!0,n.linkSeries(),e&&n.redraw(i)}))),o},addAxis:function(t,e,o,n){var r=e?"xAxis":"yAxis",s=this.options;new R(this,i(t,{index:this[r].length,isX:e})),s[r]=u(s[r]||{}),s[r].push(t),f(o,!0)&&this.redraw(n)},showLoading:function(t){var i=this,o=i.options,n=i.loadingDiv,r=o.loading,s=function(){n&&g(n,{left:i.plotLeft+"px",top:i.plotTop+"px",width:i.plotWidth+"px",height:i.plotHeight+"px"})};n||(i.loadingDiv=n=m(Ht,{className:"highcharts-loading"},e(r.style,{zIndex:10,display:Yt}),i.container),i.loadingSpan=m("span",null,r.labelStyle,n),qt(i,"redraw",s)),i.loadingSpan.innerHTML=t||o.lang.loading,i.loadingShown||(g(n,{opacity:0,display:""}),te(n,{opacity:r.style.opacity},{duration:r.showDuration||0}),i.loadingShown=!0),s()},hideLoading:function(){var t=this.options,e=this.loadingDiv;e&&te(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){g(e,{display:Yt})}}),this.loadingShown=!1}}),e(be.prototype,{update:function(t,e,i,o){function n(){l.applyOptions(t),r(t)&&!s(t)&&(l.redraw=function(){c&&(t&&t.marker&&t.marker.symbol?l.graphic=c.destroy():c.attr(l.pointAttr[l.state||""])),t&&t.dataLabels&&l.dataLabel&&(l.dataLabel=l.dataLabel.destroy()),l.redraw=null}),a=l.index,h.updateParallelArrays(l,a),d.data[a]=l.options,h.isDirty=h.isDirtyData=!0,!h.fixedBox&&h.hasCartesianSeries&&(p.isDirtyBox=!0),"point"===d.legendType&&p.legend.destroyItem(l),e&&p.redraw(i)}var a,l=this,h=l.series,c=l.graphic,p=h.chart,d=h.options;e=f(e,!0),!1===o?n():l.firePointEvent("update",{options:t},n)},remove:function(t,e){var i,o=this,n=o.series,r=n.points,s=n.chart,a=n.data;z(e,s),t=f(t,!0),o.firePointEvent("remove",null,(function(){i=Vt(o,a),a.length===r.length&&r.splice(i,1),a.splice(i,1),n.options.data.splice(i,1),n.updateParallelArrays(o,"splice",i,1),o.destroy(),n.isDirty=!0,n.isDirtyData=!0,t&&s.redraw()}))}}),e(we.prototype,{addPoint:function(t,e,i,o){var n,r=this.options,s=this.data,a=this.graph,l=this.area,h=this.chart,c=this.xAxis&&this.xAxis.names,p=a&&a.shift||0,d=r.data,u=this.xData;if(z(o,h),i&&jt([a,l,this.graphNeg,this.areaNeg],(function(t){t&&(t.shift=p+1)})),l&&(l.isArea=!0),e=f(e,!0),o={series:this},this.pointClass.prototype.applyOptions.apply(o,[t]),a=o.x,l=u.length,this.requireSorting&&a<u[l-1])for(n=!0;l&&u[l-1]>a;)l--;this.updateParallelArrays(o,"splice",l,0,0),this.updateParallelArrays(o,l),c&&o.name&&(c[a]=o.name),d.splice(l,0,t),n&&(this.data.splice(l,0,null),this.processData()),"point"===r.legendType&&this.generatePoints(),i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(o,"shift"),d.shift())),this.isDirtyData=this.isDirty=!0,e&&(this.getAttribs(),h.redraw())},remove:function(t,e){var i=this,o=i.chart;t=f(t,!0),i.isRemoving||(i.isRemoving=!0,Qt(i,"remove",null,(function(){i.destroy(),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),t&&o.redraw(e)}))),i.isRemoving=!1},update:function(t,o){var n,r=this,s=this.chart,a=this.userOptions,l=this.type,h=Gt[l].prototype,c=["group","markerGroup","dataLabelsGroup"];for(n in jt(c,(function(t){c[t]=r[t],delete r[t]})),t=i(a,{animation:!1,index:this.index,pointStart:this.xData[0]},{data:this.options.data},t),this.remove(!1),h)h.hasOwnProperty(n)&&(this[n]=E);e(this,Gt[t.type||l].prototype),jt(c,(function(t){r[t]=c[t]})),this.init(s,t),s.linkSeries(),f(o,!0)&&s.redraw(!1)}}),e(R.prototype,{update:function(t,o){var n=this.chart;t=n.options[this.coll][this.options.index]=i(this.userOptions,t),this.destroy(!0),this._addedPlotLB=E,this.init(n,e(t,{events:E})),n.isDirtyBox=!0,f(o,!0)&&n.redraw()},remove:function(t){for(var e=this.chart,i=this.coll,o=this.series,n=o.length;n--;)o[n]&&o[n].remove(!1);c(e.axes,this),c(e[i],this),e.options[i].splice(this.options.index,1),jt(e[i],(function(t,e){t.options.index=e})),this.destroy(),e.isDirtyBox=!0,f(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}}),pe=y(we),Gt.line=pe,ie.area=i(oe,{threshold:0});var ke=y(we,{type:"area",getSegments:function(){var t,e,i,o,n=this,r=[],s=[],a=[],l=this.xAxis,h=this.yAxis,c=h.stacks[this.stackKey],p={},d=this.points,u=this.options.connectNulls;if(this.options.stacking&&!this.cropped){for(i=0;i<d.length;i++)p[d[i].x]=d[i];for(o in c)null!==c[o].total&&a.push(+o);a.sort((function(t,e){return t-e})),jt(a,(function(o){var r,a=0;if(!u||p[o]&&null!==p[o].y)if(p[o])s.push(p[o]);else{for(i=n.index;i<=h.series.length;i++)if(r=c[o].points[i+","+o]){a=r[1];break}t=l.translate(o),e=h.toPixels(a,!0),s.push({y:null,plotX:t,clientX:t,plotY:e,yBottom:e,onMouseOver:Xt})}})),s.length&&r.push(s)}else we.prototype.getSegments.call(this),r=this.segments;this.segments=r},getSegmentPath:function(t){var e,i=we.prototype.getSegmentPath.call(this,t),o=[].concat(i),n=this.options;e=i.length;var r,s=this.yAxis.getThreshold(n.threshold);if(3===e&&o.push("L",i[1],i[2]),n.stacking&&!this.closedStacks)for(e=t.length-1;e>=0;e--)r=f(t[e].yBottom,s),e<t.length-1&&n.step&&o.push(t[e+1].plotX,r),o.push(t[e].plotX,r);else this.closeSegment(o,t,s);return this.areaPath=this.areaPath.concat(o),i},closeSegment:function(t,e,i){t.push("L",e[e.length-1].plotX,i,"L",e[0].plotX,i)},drawGraph:function(){this.areaPath=[],we.prototype.drawGraph.apply(this);var t=this,e=this.areaPath,i=this.options,o=i.negativeColor,n=i.negativeFillColor,r=[["area",this.color,i.fillColor]];(o||n)&&r.push(["areaNeg",o,n]),jt(r,(function(o){var n=o[0],r=t[n];r?r.animate({d:e}):t[n]=t.chart.renderer.path(e).attr({fill:f(o[2],ae(o[1]).setOpacity(f(i.fillOpacity,.75)).get()),zIndex:0}).add(t.group)}))},drawLegendSymbol:Ft.drawRectangle});Gt.area=ke,ie.spline=i(oe),pe=y(we,{type:"spline",getPointSpline:function(t,e,i){var o,n,r,s,a,l=e.plotX,h=e.plotY,c=t[i-1],p=t[i+1];return c&&p&&(t=c.plotY,r=p.plotX,s=(1.5*h+(p=p.plotY))/2.5,s+=a=(s-(n=(1.5*h+t)/2.5))*((r=(1.5*l+r)/2.5)-l)/(r-(o=(1.5*l+c.plotX)/2.5))+h-s,(n+=a)>t&&n>h?s=2*h-(n=gt(t,h)):n<t&&n<h&&(s=2*h-(n=mt(t,h))),s>p&&s>h?n=2*h-(s=gt(p,h)):s<p&&s<h&&(n=2*h-(s=mt(p,h))),e.rightContX=r,e.rightContY=s),i?(e=["C",c.rightContX||c.plotX,c.rightContY||c.plotY,o||l,n||h,l,h],c.rightContX=c.rightContY=null):e=["M",l,h],e}}),Gt.spline=pe,ie.areaspline=i(ie.area),pe=y(pe,{type:"areaspline",closedStacks:!0,getSegmentPath:(ke=ke.prototype).getSegmentPath,closeSegment:ke.closeSegment,drawGraph:ke.drawGraph,drawLegendSymbol:Ft.drawRectangle}),Gt.areaspline=pe,ie.column=i(oe,{borderColor:"#FFFFFF",borderRadius:0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{brightness:.1,shadow:!1,halo:!1},select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}},dataLabels:{align:null,verticalAlign:null,y:null},stickyTracking:!1,tooltip:{distance:6},threshold:0}),pe=y(we,{type:"column",pointAttrToOptions:{stroke:"borderColor",fill:"color",r:"borderRadius"},cropShoulder:0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){we.prototype.init.apply(this,arguments);var t=this,e=t.chart;e.hasRendered&&jt(e.series,(function(e){e.type===t.type&&(e.isDirty=!0)}))},getColumnMetrics:function(){var t,e,i=this,o=i.options,n=i.xAxis,r=i.yAxis,s=n.reversed,a={},l=0;!1===o.grouping?l=1:jt(i.chart.series,(function(o){var n=o.options,s=o.yAxis;o.type===i.type&&o.visible&&r.len===s.len&&r.pos===s.pos&&(n.stacking?(t=o.stackKey,a[t]===E&&(a[t]=l++),e=a[t]):!1!==n.grouping&&(e=l++),o.columnIndex=e)}));var h=(n=mt(yt(n.transA)*(n.ordinalSlope||o.pointRange||n.closestPointRange||n.tickInterval||1),n.len))*o.groupPadding,c=(n-2*h)/l,d=f(d=o.pointWidth,c-2*(o=p(d)?(c-d)/2:c*o.pointPadding));return i.columnMetrics={width:d,offset:o+(h+((s?l-(i.columnIndex||0):i.columnIndex)||0)*c-n/2)*(s?-1:1)}},translate:function(){var t=this,e=t.chart,i=t.options,o=t.borderWidth=f(i.borderWidth,t.activePointCount>.5*t.xAxis.len?0:1),n=t.yAxis,r=t.translatedThreshold=n.getThreshold(i.threshold),s=f(i.minPointLength,5),a=t.getColumnMetrics(),l=a.width,h=t.barW=gt(l,1+2*o),c=t.pointXOffset=a.offset,p=-(o%2?.5:0),d=o%2?.5:1;e.renderer.isVML&&e.inverted&&(d+=1),i.pointPadding&&(h=ft(h)),we.prototype.translate.apply(t),jt(t.points,(function(i){var o,a=f(i.yBottom,r),u=mt(gt(-999-a,i.plotY),n.len+999+a),g=i.plotX+c,m=h,y=mt(u,a);o=gt(u,a)-y,yt(o)<s&&s&&(o=s,y=dt(yt(y-r)>s?a-s:r-(n.translate(i.y,0,1,0,1)<=r?s:0))),i.barX=g,i.pointWidth=l,i.tooltipPos=e.inverted?[n.len-u,t.xAxis.len-g-m/2]:[g+m/2,u+n.pos-e.plotTop],m=dt(g+m)+p,m-=g=dt(g)+p,a=yt(y)<.5,o=dt(y+o)+d,o-=y=dt(y)+d,a&&(y-=1,o+=1),i.shapeType="rect",i.shapeArgs={x:g,y,width:m,height:o}}))},getSymbol:Xt,drawLegendSymbol:Ft.drawRectangle,drawGraph:Xt,drawPoints:function(){var t,e,o=this,n=this.chart,r=o.options,s=n.renderer,a=r.animationLimit||250;jt(o.points,(function(l){var h=l.plotY,c=l.graphic;h===E||isNaN(h)||null===l.y?c&&(l.graphic=c.destroy()):(t=l.shapeArgs,h=p(o.borderWidth)?{"stroke-width":o.borderWidth}:{},e=l.pointAttr[l.selected?"select":""]||o.pointAttr[""],c?(ee(c),c.attr(h)[n.pointCount<a?"animate":"attr"](i(t))):l.graphic=s[l.shapeType](t).attr(e).attr(h).add(o.group).shadow(r.shadow,null,r.stacking&&!r.borderRadius))}))},animate:function(t){var e=this.yAxis,i=this.options,o=this.chart.inverted,n={};zt&&(t?(n.scaleY=.001,t=mt(e.pos+e.len,gt(e.pos,e.toPixels(i.threshold))),o?n.translateX=t-e.len:n.translateY=t,this.group.attr(n)):(n.scaleY=1,n[o?"translateX":"translateY"]=e.pos,this.group.animate(n,this.options.animation),this.animate=null))},remove:function(){var t=this,e=t.chart;e.hasRendered&&jt(e.series,(function(e){e.type===t.type&&(e.isDirty=!0)})),we.prototype.remove.apply(t,arguments)}}),Gt.column=pe,ie.bar=i(ie.column),ke=y(pe,{type:"bar",inverted:!0}),Gt.bar=ke,ie.scatter=i(oe,{lineWidth:0,tooltip:{headerFormat:'<span style="color:{series.color}">●</span> <span style="font-size: 10px;"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"},stickyTracking:!1}),ke=y(we,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,singularTooltips:!0,drawGraph:function(){this.options.lineWidth&&we.prototype.drawGraph.call(this)}}),Gt.scatter=ke,ie.pie=i(oe,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name}},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,states:{hover:{brightness:.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}}),oe={type:"pie",isCartesian:!1,pointClass:y(be,{init:function(){be.prototype.init.apply(this,arguments);var t,i=this;return i.y<0&&(i.y=null),e(i,{visible:!1!==i.visible,name:f(i.name,"Slice")}),t=function(t){i.slice("select"===t.type)},qt(i,"select",t),qt(i,"unselect",t),i},setVisible:function(t){var e=this,i=e.series,o=i.chart;e.visible=e.options.visible=t=t===E?!e.visible:t,i.options.data[Vt(e,i.data)]=e.options,jt(["graphic","dataLabel","connector","shadowGroup"],(function(i){e[i]&&e[i][t?"show":"hide"](!0)})),e.legendItem&&o.legend.colorizeItem(e,t),!i.isDirty&&i.options.ignoreHiddenPoint&&(i.isDirty=!0,o.redraw())},slice:function(t,e,i){var o=this.series;z(i,o.chart),f(e,!0),this.sliced=this.options.sliced=t=p(t)?t:!this.sliced,o.options.data[Vt(this,o.data)]=this.options,t=t?this.slicedTranslation:{translateX:0,translateY:0},this.graphic.animate(t),this.shadowGroup&&this.shadowGroup.animate(t)},haloPath:function(t){var e=this.shapeArgs,i=this.series.chart;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(i.plotLeft+e.x,i.plotTop+e.y,e.r+t,e.r+t,{innerR:this.shapeArgs.r,start:e.start,end:e.end})}}),requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},singularTooltips:!0,getColor:Xt,animate:function(t){var e=this,i=e.points,o=e.startAngleRad;t||(jt(i,(function(t){var i=t.graphic;t=t.shapeArgs,i&&(i.attr({r:e.center[3]/2,start:o,end:o}),i.animate({r:t.r,start:t.start,end:t.end},e.options.animation))})),e.animate=null)},setData:function(t,e,i,o){we.prototype.setData.call(this,t,!1,i,o),this.processData(),this.generatePoints(),f(e,!0)&&this.chart.redraw(i)},generatePoints:function(){var t,e,i,o,n=0,r=this.options.ignoreHiddenPoint;for(we.prototype.generatePoints.call(this),i=(e=this.points).length,t=0;t<i;t++)o=e[t],n+=r&&!o.visible?0:o.y;for(this.total=n,t=0;t<i;t++)(o=e[t]).percentage=n>0?o.y/n*100:0,o.total=n},translate:function(t){this.generatePoints();var e,i,o,n,r,s=0,a=(u=this.options).slicedOffset,l=a+u.borderWidth,h=u.startAngle||0,c=this.startAngleRad=bt/180*(h-90),p=(h=(this.endAngleRad=bt/180*(f(u.endAngle,h+360)-90))-c,this.points),d=u.dataLabels.distance,u=u.ignoreHiddenPoint,g=p.length;for(t||(this.center=t=this.getCenter()),this.getX=function(e,i){return o=pt.asin(mt((e-t[1])/(t[2]/2+d),1)),t[0]+(i?-1:1)*vt(o)*(t[2]/2+d)},n=0;n<g;n++)r=p[n],e=c+s*h,u&&!r.visible||(s+=r.percentage/100),i=c+s*h,r.shapeType="arc",r.shapeArgs={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:dt(1e3*e)/1e3,end:dt(1e3*i)/1e3},(o=(i+e)/2)>1.5*bt?o-=2*bt:o<-bt/2&&(o+=2*bt),r.slicedTranslation={translateX:dt(vt(o)*a),translateY:dt(xt(o)*a)},e=vt(o)*t[2]/2,i=xt(o)*t[2]/2,r.tooltipPos=[t[0]+.7*e,t[1]+.7*i],r.half=o<-bt/2||o>bt/2?1:0,r.angle=o,l=mt(l,d/2),r.labelPos=[t[0]+e+vt(o)*d,t[1]+i+xt(o)*d,t[0]+e+vt(o)*l,t[1]+i+xt(o)*l,t[0]+e,t[1]+i,d<0?"center":r.half?"right":"left",o]},drawGraph:null,drawPoints:function(){var t,i,o,n,r=this,s=r.chart.renderer,a=r.options.shadow;a&&!r.shadowGroup&&(r.shadowGroup=s.g("shadow").add(r.group)),jt(r.points,(function(l){i=l.graphic,n=l.shapeArgs,o=l.shadowGroup,a&&!o&&(o=l.shadowGroup=s.g("shadow").add(r.shadowGroup)),t=l.sliced?l.slicedTranslation:{translateX:0,translateY:0},o&&o.attr(t),i?i.animate(e(n,t)):l.graphic=i=s[l.shapeType](n).setRadialReference(r.center).attr(l.pointAttr[l.selected?"select":""]).attr({"stroke-linejoin":"round"}).attr(t).add(r.group).shadow(a,o),void 0!==l.visible&&l.setVisible(l.visible)}))},sortByAngle:function(t,e){t.sort((function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e}))},drawLegendSymbol:Ft.drawRectangle,getCenter:le.getCenter,getSymbol:Xt},oe=y(we,oe),Gt.pie=oe,we.prototype.drawDataLabels=function(){var t,o,n,r,s=this,a=s.options,l=a.cursor,h=a.dataLabels,c=s.points,d=s.hasRendered||0;(h.enabled||s._hasPointLabels)&&(s.dlProcessOptions&&s.dlProcessOptions(h),r=s.plotGroup("dataLabelsGroup","data-labels",h.defer?"hidden":"visible",h.zIndex||6),f(h.defer,!0)&&(r.attr({opacity:+d}),d||qt(s,"afterAnimate",(function(){s.visible&&r.show(),r[a.animation?"animate":"attr"]({opacity:1},{duration:200})}))),o=h,jt(c,(function(a){var c,d,u,g=a.dataLabel,m=a.connector,y=!0;if(c=f((t=a.options&&a.options.dataLabels)&&t.enabled,o.enabled),g&&!c)a.dataLabel=g.destroy();else if(c){if(c=(h=i(o,t)).rotation,d=a.getLabelConfig(),n=h.format?w(h.format,d):h.formatter.call(d,h),h.style.color=f(h.color,h.style.color,s.color,"black"),g)p(n)?(g.attr({text:n}),y=!1):(a.dataLabel=g=g.destroy(),m&&(a.connector=m.destroy()));else if(p(n)){for(u in g={fill:h.backgroundColor,stroke:h.borderColor,"stroke-width":h.borderWidth,r:h.borderRadius||0,rotation:c,padding:h.padding,zIndex:1})g[u]===E&&delete g[u];g=a.dataLabel=s.chart.renderer[c?"text":"label"](n,0,-999,null,null,null,h.useHTML).attr(g).css(e(h.style,l&&{cursor:l})).add(r).shadow(h.shadow)}g&&s.alignDataLabel(a,g,h,null,y)}})))},we.prototype.alignDataLabel=function(t,i,o,n,r){var s=this.chart,a=s.inverted,l=f(t.plotX,-999),h=f(t.plotY,-999),c=i.getBBox();(t=this.visible&&(t.series.forceDL||s.isInsidePlot(l,dt(h),a)||n&&s.isInsidePlot(l,a?n.x+1:n.y+n.height-1,a)))&&(n=e({x:a?s.plotWidth-h:l,y:dt(a?s.plotHeight-l:h),width:0,height:0},n),e(o,{width:c.width,height:c.height}),o.rotation?i[r?"attr":"animate"]({x:n.x+o.x+n.width/2,y:n.y+o.y+n.height/2}).attr({align:o.align}):(i.align(o,null,n),a=i.alignAttr,"justify"===f(o.overflow,"justify")?this.justifyDataLabel(i,o,a,c,n,r):f(o.crop,!0)&&(t=s.isInsidePlot(a.x,a.y)&&s.isInsidePlot(a.x+c.width,a.y+c.height)))),t||(i.attr({y:-999}),i.placed=!1)},we.prototype.justifyDataLabel=function(t,e,i,o,n,r){var s,a,l=this.chart,h=e.align,c=e.verticalAlign;(s=i.x)<0&&("right"===h?e.align="left":e.x=-s,a=!0),(s=i.x+o.width)>l.plotWidth&&("left"===h?e.align="right":e.x=l.plotWidth-s,a=!0),(s=i.y)<0&&("bottom"===c?e.verticalAlign="top":e.y=-s,a=!0),(s=i.y+o.height)>l.plotHeight&&("top"===c?e.verticalAlign="bottom":e.y=l.plotHeight-s,a=!0),a&&(t.placed=!r,t.align(e,null,n))},Gt.pie&&(Gt.pie.prototype.drawDataLabels=function(){var t,e,i,o,n,r,s,a,l,h,c,p=this,d=p.data,u=p.chart,g=p.options.dataLabels,m=f(g.connectorPadding,10),y=f(g.connectorWidth,1),v=u.plotWidth,x=u.plotHeight,b=f(g.softConnector,!0),w=g.distance,k=p.center,T=k[2]/2,S=k[1],P=w>0,L=[[],[]],C=[0,0,0,0],M=function(t,e){return e.y-t.y};if(p.visible&&(g.enabled||p._hasPointLabels)){for(we.prototype.drawDataLabels.apply(p),jt(d,(function(t){t.dataLabel&&t.visible&&L[t.half].push(t)})),h=2;h--;){var z,I=[],O=[],D=L[h],R=D.length;if(R){for(p.sortByAngle(D,h-.5),c=d=0;!d&&D[c];)d=D[c]&&D[c].dataLabel&&(D[c].dataLabel.getBBox().height||21),c++;if(w>0){for(n=mt(S+T+w,u.plotHeight),c=gt(0,S-T-w);c<=n;c+=d)I.push(c);if(R>(n=I.length)){for((t=[].concat(D)).sort(M),c=R;c--;)t[c].rank=c;for(c=R;c--;)D[c].rank>=n&&D.splice(c,1);R=D.length}for(c=0;c<R;c++){var X,W;for(t=D[c],r=t.labelPos,t=9999,W=0;W<n;W++)(X=yt(I[W]-r[1]))<t&&(t=X,z=W);if(z<c&&null!==I[c])z=c;else for(n<R-c+z&&null!==I[c]&&(z=n-R+c);null===I[z];)z++;O.push({i:z,y:I[z]}),I[z]=null}O.sort(M)}for(c=0;c<R;c++)t=D[c],r=t.labelPos,o=t.dataLabel,l=!1===t.visible?"hidden":"visible",t=r[1],w>0?(z=(n=O.pop()).i,(t>(a=n.y)&&null!==I[z+1]||t<a&&null!==I[z-1])&&(a=mt(gt(0,t),u.plotHeight))):a=t,s=g.justify?k[0]+(h?-1:1)*(T+w):p.getX(a===S-T-w||a===S+T+w?t:a,h),o._attr={visibility:l,align:r[6]},o._pos={x:s+g.x+({left:m,right:-m}[r[6]]||0),y:a+g.y-10},o.connX=s,o.connY=a,null===this.options.size&&(n=o.width,s-n<m?C[3]=gt(dt(n-s+m),C[3]):s+n>v-m&&(C[1]=gt(dt(s+n-v+m),C[1])),a-d/2<0?C[0]=gt(dt(d/2-a),C[0]):a+d/2>x&&(C[2]=gt(dt(a+d/2-x),C[2])))}}(0===A(C)||this.verifyDataLabelOverflow(C))&&(this.placeDataLabels(),P&&y&&jt(this.points,(function(t){e=t.connector,r=t.labelPos,(o=t.dataLabel)&&o._pos?(l=o._attr.visibility,s=o.connX,a=o.connY,i=b?["M",s+("left"===r[6]?5:-5),a,"C",s,a,2*r[2]-r[4],2*r[3]-r[5],r[2],r[3],"L",r[4],r[5]]:["M",s+("left"===r[6]?5:-5),a,"L",r[2],r[3],"L",r[4],r[5]],e?(e.animate({d:i}),e.attr("visibility",l)):t.connector=e=p.chart.renderer.path(i).attr({"stroke-width":y,stroke:g.connectorColor||t.color||"#606060",visibility:l}).add(p.dataLabelsGroup)):e&&(t.connector=e.destroy())})))}},Gt.pie.prototype.placeDataLabels=function(){jt(this.points,(function(t){var e;(t=t.dataLabel)&&((e=t._pos)?(t.attr(t._attr),t[t.moved?"animate":"attr"](e),t.moved=!0):t&&t.attr({y:-999}))}))},Gt.pie.prototype.alignDataLabel=Xt,Gt.pie.prototype.verifyDataLabelOverflow=function(t){var e,i=this.center,o=this.options,n=o.center,r=o=o.minSize||80;return null!==n[0]?r=gt(i[2]-gt(t[1],t[3]),o):(r=gt(i[2]-t[1]-t[3],o),i[0]+=(t[3]-t[1])/2),null!==n[1]?r=gt(mt(r,i[2]-gt(t[0],t[2])),o):(r=gt(mt(r,i[2]-t[0]-t[2]),o),i[1]+=(t[0]-t[2])/2),r<i[2]?(i[2]=r,this.translate(i),jt(this.points,(function(t){t.dataLabel&&(t.dataLabel._pos=null)})),this.drawDataLabels&&this.drawDataLabels()):e=!0,e}),Gt.column&&(Gt.column.prototype.alignDataLabel=function(t,e,o,n,r){var s=this.chart,a=s.inverted,l=t.dlBox||t.shapeArgs,h=t.below||t.plotY>f(this.translatedThreshold,s.plotSizeY),c=f(o.inside,!!this.options.stacking);l&&(n=i(l),a&&(n={x:s.plotWidth-n.y-n.height,y:s.plotHeight-n.x-n.width,width:n.height,height:n.width}),!c)&&(a?(n.x+=h?0:n.width,n.width=0):(n.y+=h?n.height:0,n.height=0)),o.align=f(o.align,!a||c?"center":h?"right":"left"),o.verticalAlign=f(o.verticalAlign,a||c?"middle":h?"top":"bottom"),we.prototype.alignDataLabel.call(this,t,e,o,n,r)}),oe=at.TrackerMixin={drawTrackerPoint:function(){var t=this,e=t.chart,i=e.pointer,o=t.options.cursor,n=o&&{cursor:o},r=function(i){var o,n=i.target;for(e.hoverSeries!==t&&t.onMouseOver();n&&!o;)o=n.point,n=n.parentNode;o!==E&&o!==e.hoverPoint&&o.onMouseOver(i)};jt(t.points,(function(t){t.graphic&&(t.graphic.element.point=t),t.dataLabel&&(t.dataLabel.element.point=t)})),t._hasTracking||(jt(t.trackerGroups,(function(e){t[e]&&(t[e].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",(function(t){i.onTrackerMouseOut(t)})).css(n),Y)&&t[e].on("touchstart",r)})),t._hasTracking=!0)},drawTrackerGraph:function(){var t,e=this,i=e.options,o=i.trackByArea,n=[].concat(o?e.areaPath:e.graphPath),r=n.length,s=e.chart,a=s.pointer,l=s.renderer,h=s.options.tooltip.snap,c=e.tracker,p=(d=i.cursor)&&{cursor:d},d=e.singlePoints,u=function(){s.hoverSeries!==e&&e.onMouseOver()},f="rgba(192,192,192,"+(zt?1e-4:.002)+")";if(r&&!o)for(t=r+1;t--;)"M"===n[t]&&n.splice(t+1,0,n[t+1]-h,n[t+2],"L"),(t&&"M"===n[t]||t===r)&&n.splice(t,0,"L",n[t-2]+h,n[t-1]);for(t=0;t<d.length;t++)r=d[t],n.push("M",r.plotX-h,r.plotY,"L",r.plotX+h,r.plotY);c?c.attr({d:n}):(e.tracker=l.path(n).attr({"stroke-linejoin":"round",visibility:e.visible?"visible":"hidden",stroke:f,fill:o?f:Yt,"stroke-width":i.lineWidth+(o?0:2*h),zIndex:2}).add(e.group),jt([e.tracker,e.markerGroup],(function(t){t.addClass("highcharts-tracker").on("mouseover",u).on("mouseout",(function(t){a.onTrackerMouseOut(t)})).css(p),Y&&t.on("touchstart",u)})))}},Gt.column&&(pe.prototype.drawTracker=oe.drawTrackerPoint),Gt.pie&&(Gt.pie.prototype.drawTracker=oe.drawTrackerPoint),Gt.scatter&&(ke.prototype.drawTracker=oe.drawTrackerPoint),e(xe.prototype,{setItemEvents:function(t,e,i,o,n){var r=this;(i?e:t.legendGroup).on("mouseover",(function(){t.setState("hover"),e.css(r.options.itemHoverStyle)})).on("mouseout",(function(){e.css(t.visible?o:n),t.setState()})).on("click",(function(e){var i=function(){t.setVisible()};e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):Qt(t,"legendItemClick",e,i)}))},createCheckboxForItem:function(t){t.checkbox=m("input",{type:"checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),qt(t.checkbox,"click",(function(e){Qt(t,"checkboxClick",{checked:e.target.checked},(function(){t.select()}))}))}}),G.legend.itemStyle.cursor="pointer",e(X.prototype,{showResetZoom:function(){var t=this,e=G.lang,i=t.options.chart.resetZoomButton,o=i.theme,n=o.states,r="chart"===i.relativeTo?null:"plotBox";this.resetZoomButton=t.renderer.button(e.resetZoom,null,null,(function(){t.zoomOut()}),o,n&&n.hover).attr({align:i.position.align,title:e.resetZoomTitle}).add().align(i.position,!1,r)},zoomOut:function(){var t=this;Qt(t,"selection",{resetSelection:!0},(function(){t.zoom()}))},zoom:function(t){var e,i,o=this.pointer,n=!1;!t||t.resetSelection?jt(this.axes,(function(t){e=t.zoom()})):jt(t.xAxis.concat(t.yAxis),(function(t){var i=t.axis,r=i.isXAxis;(o[r?"zoomX":"zoomY"]||o[r?"pinchX":"pinchY"])&&(e=i.zoom(t.min,t.max),i.displayBtn&&(n=!0))})),i=this.resetZoomButton,n&&!i?this.showResetZoom():!n&&r(i)&&(this.resetZoomButton=i.destroy()),e&&this.redraw(f(this.options.chart.animation,t&&t.animation,this.pointCount<100))},pan:function(t,e){var i,o=this,n=o.hoverPoints;n&&jt(n,(function(t){t.setState()})),jt("xy"===e?[1,0]:[1],(function(e){var n=t[e?"chartX":"chartY"],r=o[e?"xAxis":"yAxis"][0],s=o[e?"mouseDownX":"mouseDownY"],a=(r.pointRange||0)/2,l=r.getExtremes(),h=r.toValue(s-n,!0)+a;s=r.toValue(s+o[e?"plotWidth":"plotHeight"]-n,!0)-a,r.series.length&&h>mt(l.dataMin,l.min)&&s<gt(l.dataMax,l.max)&&(r.setExtremes(h,s,!1,!1,{trigger:"pan"}),i=!0),o[e?"mouseDownX":"mouseDownY"]=n})),i&&o.redraw(!1),g(o.container,{cursor:"move"})}}),e(be.prototype,{select:function(t,e){var i=this,o=i.series,n=o.chart;t=f(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,o.options.data[Vt(i,o.data)]=i.options,i.setState(t&&"select"),e||jt(n.getSelectedPoints(),(function(t){t.selected&&t!==i&&(t.selected=t.options.selected=!1,o.options.data[Vt(t,o.data)]=t.options,t.setState(""),t.firePointEvent("unselect"))}))}))},onMouseOver:function(t){var e=this.series,i=e.chart,o=i.tooltip,n=i.hoverPoint;n&&n!==this&&n.onMouseOut(),this.firePointEvent("mouseOver"),o&&(!o.shared||e.noSharedTooltip)&&o.refresh(this,t),this.setState("hover"),i.hoverPoint=this},onMouseOut:function(){var t=this.series.chart,e=t.hoverPoints;this.firePointEvent("mouseOut"),e&&-1!==Vt(this,e)||(this.setState(),t.hoverPoint=null)},importEvents:function(){if(!this.hasImportedEvents){var t,e=i(this.series.options.point,this.options).events;for(t in this.events=e,e)qt(this,t,e[t]);this.hasImportedEvents=!0}},setState:function(t,o){var n,r=this.plotX,s=this.plotY,a=this.series,l=a.options.states,h=ie[a.type].marker&&a.options.marker,c=h&&!h.enabled,p=h&&h.states[t],d=p&&!1===p.enabled,u=a.stateMarkerGraphic,f=this.marker||{},g=a.chart,m=a.halo;t=t||"",n=this.pointAttr[t]||a.pointAttr[t],t===this.state&&!o||this.selected&&"select"!==t||l[t]&&!1===l[t].enabled||t&&(d||c&&!1===p.enabled)||t&&f.states&&f.states[t]&&!1===f.states[t].enabled||(this.graphic?(h=h&&this.graphic.symbolName&&n.r,this.graphic.attr(i(n,h?{x:r-h,y:s-h,width:2*h,height:2*h}:{})),u&&u.hide()):(t&&p&&(h=p.radius,f=f.symbol||a.symbol,u&&u.currentSymbol!==f&&(u=u.destroy()),u?u[o?"animate":"attr"]({x:r-h,y:s-h}):f&&(a.stateMarkerGraphic=u=g.renderer.symbol(f,r-h,s-h,2*h,2*h).attr(n).add(a.markerGroup),u.currentSymbol=f)),u&&u[t&&g.isInsidePlot(r,s,g.inverted)?"show":"hide"]()),(r=l[t]&&l[t].halo)&&r.size?(m||(a.halo=m=g.renderer.path().add(a.seriesGroup)),m.attr(e({fill:ae(this.color||a.color).setOpacity(r.opacity).get()},r.attributes))[o?"animate":"attr"]({d:this.haloPath(r.size)})):m&&m.attr({d:[]}),this.state=t)},haloPath:function(t){var e=this.series,i=e.chart,o=e.getPlotBox(),n=i.inverted;return i.renderer.symbols.circle(o.translateX+(n?e.yAxis.len-this.plotY:this.plotX)-t,o.translateY+(n?e.xAxis.len-this.plotX:this.plotY)-t,2*t,2*t)}}),e(we.prototype,{onMouseOver:function(){var t=this.chart,e=t.hoverSeries;e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&Qt(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},onMouseOut:function(){var t=this.options,e=this.chart,i=e.tooltip,o=e.hoverPoint;o&&o.onMouseOut(),this&&t.events.mouseOut&&Qt(this,"mouseOut"),i&&!t.stickyTracking&&(!i.shared||this.noSharedTooltip)&&i.hide(),this.setState(),e.hoverSeries=null},setState:function(t){var e=this.options,i=this.graph,o=this.graphNeg,n=e.states;e=e.lineWidth,t=t||"",this.state!==t&&(this.state=t,n[t]&&!1===n[t].enabled||(t&&(e=n[t].lineWidth||e+(n[t].lineWidthPlus||0)),i&&!i.dashstyle&&(t={"stroke-width":e},i.attr(t),o&&o.attr(t))))},setVisible:function(t,e){var i,o=this,n=o.chart,r=o.legendItem,s=n.options.chart.ignoreHiddenSeries,a=o.visible;i=(o.visible=t=o.userOptions.visible=t===E?!a:t)?"show":"hide",jt(["group","dataLabelsGroup","markerGroup","tracker"],(function(t){o[t]&&o[t][i]()})),n.hoverSeries===o&&o.onMouseOut(),r&&n.legend.colorizeItem(o,t),o.isDirty=!0,o.options.stacking&&jt(n.series,(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),jt(o.linkedSeries,(function(e){e.setVisible(t,!1)})),s&&(n.isDirtyBox=!0),!1!==e&&n.redraw(),Qt(o,i)},setTooltipPoints:function(t){var e,i,o,n,r=[],s=this.xAxis,a=s&&s.getExtremes(),l=s?s.tooltipLen||s.len:this.chart.plotSizeX,h=[];if(!1!==this.options.enableMouseTracking&&!this.singularTooltips){for(t&&(this.tooltipPoints=null),jt(this.segments||this.points,(function(t){r=r.concat(t)})),s&&s.reversed&&(r=r.reverse()),this.orderTooltipPoints&&this.orderTooltipPoints(r),t=r.length,n=0;n<t;n++)if((e=(s=r[n]).x)>=a.min&&e<=a.max)for(o=r[n+1],e=i===E?0:i+1,i=r[n+1]?mt(gt(0,ut((s.clientX+(o?o.wrappedClientX||o.clientX:l))/2)),l):l;e>=0&&e<=i;)h[e++]=s;this.tooltipPoints=h}},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){this.selected=t=t===E?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),Qt(this,t?"select":"unselect")},drawTracker:oe.drawTrackerGraph}),e(at,{Axis:R,Chart:X,Color:ae,Point:be,Tick:D,Renderer:H,Series:we,SVGElement:O,SVGRenderer:ce,arrayMin:P,arrayMax:A,charts:Wt,dateFormat:F,format:w,pathAnim:_,getOptions:function(){return G},hasBidiBug:It,isTouchDevice:Ct,numberFormat:v,seriesTypes:Gt,setOptions:function(t){return G=i(!0,G,t),I(),G},addEvent:qt,removeEvent:$t,createElement:m,discardElement:C,css:g,each:jt,extend:e,map:Zt,merge:i,pick:f,splat:u,extendClass:y,pInt:o,wrap:b,svg:zt,canvas:Ot,vml:!zt&&!Ot,product:"Highcharts",version:"4.0.4"})}()},764:(t,e,i)=>{var o;!function(n,r,s){function a(t,e,i){t.addEventListener?t.addEventListener(e,i,!1):t.attachEvent("on"+e,i)}function l(t){if("keypress"==t.type){var e=String.fromCharCode(t.which);return t.shiftKey||(e=e.toLowerCase()),e}return f[t.which]?f[t.which]:g[t.which]?g[t.which]:String.fromCharCode(t.which).toLowerCase()}function h(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function c(t,e){var i,o,n,r=[];for(i="+"===(i=t)?["+"]:(i=i.replace(/\+{2}/g,"+plus")).split("+"),n=0;n<i.length;++n)o=i[n],y[o]&&(o=y[o]),e&&"keypress"!=e&&m[o]&&(o=m[o],r.push("shift")),h(o)&&r.push(o);if(i=o,!(n=e)){if(!u)for(var s in u={},f)95<s&&112>s||f.hasOwnProperty(s)&&(u[f[s]]=s);n=u[i]?"keydown":"keypress"}return"keypress"==n&&r.length&&(n="keydown"),{key:o,modifiers:r,action:n}}function p(t,e){return null!==t&&t!==r&&(t===e||p(t.parentNode,e))}function d(t){function e(t){t=t||{};var e,i=!1;for(e in g)t[e]?i=!0:g[e]=0;i||(v=!1)}function i(t,e,i,o,n,r){var s,a,l=[],c=i.type;if(!u._callbacks[t])return[];for("keyup"==c&&h(t)&&(e=[t]),s=0;s<u._callbacks[t].length;++s){var p;a=u._callbacks[t][s],!o&&a.seq&&g[a.seq]!=a.level||c!=a.action||((p="keypress"==c&&!i.metaKey&&!i.ctrlKey)||(p=a.modifiers,p=e.sort().join(",")===p.sort().join(",")),p&&(p=o&&a.seq==o&&a.level==r,(!o&&a.combo==n||p)&&u._callbacks[t].splice(s,1),l.push(a)))}return l}function o(t,e,i,o){u.stopCallback(e,e.target||e.srcElement,i,o)||!1!==t(e,i)||(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}function n(t){"number"!=typeof t.which&&(t.which=t.keyCode);var e=l(t);e&&("keyup"==t.type&&m===e?m=!1:u.handleKey(e,function(t){var e=[];return t.shiftKey&&e.push("shift"),t.altKey&&e.push("alt"),t.ctrlKey&&e.push("ctrl"),t.metaKey&&e.push("meta"),e}(t),t))}function s(t,i,n,r){function s(i){return function(){v=i,++g[t],clearTimeout(f),f=setTimeout(e,1e3)}}function a(i){o(n,i,t),"keyup"!==r&&(m=l(i)),setTimeout(e,10)}for(var h=g[t]=0;h<i.length;++h){var d=h+1===i.length?a:s(r||c(i[h+1]).action);p(i[h],d,r,t,h)}}function p(t,e,o,n,r){u._directMap[t+":"+o]=e;var a=(t=t.replace(/\s+/g," ")).split(" ");1<a.length?s(t,a,e,o):(o=c(t,o),u._callbacks[o.key]=u._callbacks[o.key]||[],i(o.key,o.modifiers,{type:o.action},n,t,r),u._callbacks[o.key][n?"unshift":"push"]({callback:e,modifiers:o.modifiers,action:o.action,seq:n,level:r,combo:t}))}var u=this;if(t=t||r,!(u instanceof d))return new d(t);u.target=t,u._callbacks={},u._directMap={};var f,g={},m=!1,y=!1,v=!1;u._handleKey=function(t,n,r){var s,a=i(t,n,r);n={};var l=0,c=!1;for(s=0;s<a.length;++s)a[s].seq&&(l=Math.max(l,a[s].level));for(s=0;s<a.length;++s)a[s].seq?a[s].level==l&&(c=!0,n[a[s].seq]=1,o(a[s].callback,r,a[s].combo,a[s].seq)):c||o(a[s].callback,r,a[s].combo);a="keypress"==r.type&&y,r.type!=v||h(t)||a||e(n),y=c&&"keydown"==r.type},u._bindMultiple=function(t,e,i){for(var o=0;o<t.length;++o)p(t[o],e,i)},a(t,"keypress",n),a(t,"keydown",n),a(t,"keyup",n)}if(n){var u,f={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},g={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},m={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},y={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"};for(s=1;20>s;++s)f[111+s]="f"+s;for(s=0;9>=s;++s)f[s+96]=s.toString();d.prototype.bind=function(t,e,i){return t=t instanceof Array?t:[t],this._bindMultiple.call(this,t,e,i),this},d.prototype.unbind=function(t,e){return this.bind.call(this,t,(function(){}),e)},d.prototype.trigger=function(t,e){return this._directMap[t+":"+e]&&this._directMap[t+":"+e]({},t),this},d.prototype.reset=function(){return this._callbacks={},this._directMap={},this},d.prototype.stopCallback=function(t,e){return!(-1<(" "+e.className+" ").indexOf(" mousetrap ")||p(e,this.target))&&("INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable)},d.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},d.addKeycodes=function(t){for(var e in t)t.hasOwnProperty(e)&&(f[e]=t[e]);u=null},d.init=function(){var t,e=d(r);for(t in e)"_"!==t.charAt(0)&&(d[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},d.init(),n.Mousetrap=d,t.exports&&(t.exports=d),void 0===(o=function(){return d}.call(e,i,e,t))||(t.exports=o)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},409:function(t,e,i){var o,n;o=[i(311)],void 0===(n=function(t){"use strict";function e(e){if(o.webkit&&!e)return{height:0,width:0};if(!o.data.outer){var i={border:"none","box-sizing":"content-box",height:"200px",margin:"0",padding:"0",width:"200px"};o.data.inner=t("<div>").css(t.extend({},i)),o.data.outer=t("<div>").css(t.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},i)).append(o.data.inner).appendTo("body")}return o.data.outer.scrollLeft(1e3).scrollTop(1e3),{height:Math.ceil(o.data.outer.offset().top-o.data.inner.offset().top||0),width:Math.ceil(o.data.outer.offset().left-o.data.inner.offset().left||0)}}function i(t){var e=t.originalEvent;return!(e.axis&&e.axis===e.HORIZONTAL_AXIS||e.wheelDeltaX)}var o={data:{index:0,name:"scrollbar"},macosx:/mac/i.test(navigator.platform),mobile:/android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent),overlay:null,scroll:null,scrolls:[],webkit:/webkit/i.test(navigator.userAgent)&&!/edge\/\d+/i.test(navigator.userAgent)};o.scrolls.add=function(t){this.remove(t).push(t)},o.scrolls.remove=function(e){for(;t.inArray(e,this)>=0;)this.splice(t.inArray(e,this),1);return this};var n={autoScrollSize:!0,autoUpdate:!0,debug:!1,disableBodyScroll:!1,duration:200,ignoreMobile:!1,ignoreOverlay:!1,scrollStep:30,showArrows:!1,stepScrolling:!0,scrollx:null,scrolly:null,onDestroy:null,onInit:null,onScroll:null,onUpdate:null},r=function(i){o.scroll||(o.overlay=function(){var t=e(!0);return!(t.height||t.width)}(),o.scroll=e(),a(),t(window).resize((function(){var t=!1;if(o.scroll&&(o.scroll.height||o.scroll.width)){var i=e();(i.height!==o.scroll.height||i.width!==o.scroll.width)&&(o.scroll=i,t=!0)}a(t)}))),this.container=i,this.namespace=".scrollbar_"+o.data.index++,this.options=t.extend({},n,window.jQueryScrollbarOptions||{}),this.scrollTo=null,this.scrollx={},this.scrolly={},i.data(o.data.name,this),o.scrolls.add(this)};r.prototype={destroy:function(){if(this.wrapper){this.container.removeData(o.data.name),o.scrolls.remove(this);var e=this.container.scrollLeft(),i=this.container.scrollTop();this.container.insertBefore(this.wrapper).css({height:"",margin:"","max-height":""}).removeClass("scroll-content scroll-scrollx_visible scroll-scrolly_visible").off(this.namespace).scrollLeft(e).scrollTop(i),this.scrollx.scroll.removeClass("scroll-scrollx_visible").find("div").andSelf().off(this.namespace),this.scrolly.scroll.removeClass("scroll-scrolly_visible").find("div").andSelf().off(this.namespace),this.wrapper.remove(),t(document).add("body").off(this.namespace),t.isFunction(this.options.onDestroy)&&this.options.onDestroy.apply(this,[this.container])}},init:function(e){var n=this,r=this.container,s=this.containerWrapper||r,a=this.namespace,l=t.extend(this.options,e||{}),h={x:this.scrollx,y:this.scrolly},c=this.wrapper,p={scrollLeft:r.scrollLeft(),scrollTop:r.scrollTop()};if(o.mobile&&l.ignoreMobile||o.overlay&&l.ignoreOverlay||o.macosx&&!o.webkit)return!1;if(c)s.css({height:"auto","margin-bottom":-1*o.scroll.height+"px","margin-right":-1*o.scroll.width+"px","max-height":""});else{if(this.wrapper=c=t("<div>").addClass("scroll-wrapper").addClass(r.attr("class")).css("position","absolute"==r.css("position")?"absolute":"relative").insertBefore(r).append(r),r.is("textarea")&&(this.containerWrapper=s=t("<div>").insertBefore(r).append(r),c.addClass("scroll-textarea")),s.addClass("scroll-content").css({height:"auto","margin-bottom":-1*o.scroll.height+"px","margin-right":-1*o.scroll.width+"px","max-height":""}),r.on("scroll"+a,(function(e){t.isFunction(l.onScroll)&&l.onScroll.call(n,{maxScroll:h.y.maxScrollOffset,scroll:r.scrollTop(),size:h.y.size,visible:h.y.visible},{maxScroll:h.x.maxScrollOffset,scroll:r.scrollLeft(),size:h.x.size,visible:h.x.visible}),h.x.isVisible&&h.x.scroll.bar.css("left",r.scrollLeft()*h.x.kx+"px"),h.y.isVisible&&h.y.scroll.bar.css("top",r.scrollTop()*h.y.kx+"px")})),c.on("scroll"+a,(function(){c.scrollTop(0).scrollLeft(0)})),l.disableBodyScroll){var d=function(t){i(t)?h.y.isVisible&&h.y.mousewheel(t):h.x.isVisible&&h.x.mousewheel(t)};c.on("MozMousePixelScroll"+a,d),c.on("mousewheel"+a,d),o.mobile&&c.on("touchstart"+a,(function(e){var i=e.originalEvent.touches&&e.originalEvent.touches[0]||e,o=i.pageX,n=i.pageY,s=r.scrollLeft(),l=r.scrollTop();t(document).on("touchmove"+a,(function(t){var e=t.originalEvent.targetTouches&&t.originalEvent.targetTouches[0]||t;r.scrollLeft(s+o-e.pageX),r.scrollTop(l+n-e.pageY),t.preventDefault()})),t(document).on("touchend"+a,(function(){t(document).off(a)}))}))}t.isFunction(l.onInit)&&l.onInit.apply(this,[r])}t.each(h,(function(e,o){var s=null,c=1,p="x"===e?"scrollLeft":"scrollTop",d=l.scrollStep,u=function(){var t=r[p]();r[p](t+d),1==c&&t+d>=f&&(t=r[p]()),-1==c&&f>=t+d&&(t=r[p]()),r[p]()==t&&s&&s()},f=0;o.scroll||(o.scroll=n._getScroll(l["scroll"+e]).addClass("scroll-"+e),l.showArrows&&o.scroll.addClass("scroll-element_arrows_visible"),o.mousewheel=function(t){if(!o.isVisible||"x"===e&&i(t))return!0;if("y"===e&&!i(t))return h.x.mousewheel(t),!0;var s=-1*t.originalEvent.wheelDelta||t.originalEvent.detail,a=o.size-o.visible-o.offset;return(s>0&&a>f||0>s&&f>0)&&(0>(f+=s)&&(f=0),f>a&&(f=a),n.scrollTo=n.scrollTo||{},n.scrollTo[p]=f,setTimeout((function(){n.scrollTo&&(r.stop().animate(n.scrollTo,240,"linear",(function(){f=r[p]()})),n.scrollTo=null)}),1)),t.preventDefault(),!1},o.scroll.on("MozMousePixelScroll"+a,o.mousewheel).on("mousewheel"+a,o.mousewheel).on("mouseenter"+a,(function(){f=r[p]()})),o.scroll.find(".scroll-arrow, .scroll-element_track").on("mousedown"+a,(function(i){if(1!=i.which)return!0;c=1;var a={eventOffset:i["x"===e?"pageX":"pageY"],maxScrollValue:o.size-o.visible-o.offset,scrollbarOffset:o.scroll.bar.offset()["x"===e?"left":"top"],scrollbarSize:o.scroll.bar["x"===e?"outerWidth":"outerHeight"]()},h=0,g=0;return t(this).hasClass("scroll-arrow")?(c=t(this).hasClass("scroll-arrow_more")?1:-1,d=l.scrollStep*c,f=c>0?a.maxScrollValue:0):(c=a.eventOffset>a.scrollbarOffset+a.scrollbarSize?1:a.eventOffset<a.scrollbarOffset?-1:0,d=Math.round(.75*o.visible)*c,f=a.eventOffset-a.scrollbarOffset-(l.stepScrolling?1==c?a.scrollbarSize:0:Math.round(a.scrollbarSize/2)),f=r[p]()+f/o.kx),n.scrollTo=n.scrollTo||{},n.scrollTo[p]=l.stepScrolling?r[p]()+d:f,l.stepScrolling&&(s=function(){f=r[p](),clearInterval(g),clearTimeout(h),h=0,g=0},h=setTimeout((function(){g=setInterval(u,40)}),l.duration+100)),setTimeout((function(){n.scrollTo&&(r.animate(n.scrollTo,l.duration),n.scrollTo=null)}),1),n._handleMouseDown(s,i)})),o.scroll.bar.on("mousedown"+a,(function(i){if(1!=i.which)return!0;var s=i["x"===e?"pageX":"pageY"],l=r[p]();return o.scroll.addClass("scroll-draggable"),t(document).on("mousemove"+a,(function(t){var i=parseInt((t["x"===e?"pageX":"pageY"]-s)/o.kx,10);r[p](l+i)})),n._handleMouseDown((function(){o.scroll.removeClass("scroll-draggable"),f=r[p]()}),i)})))})),t.each(h,(function(t,e){var i="scroll-scroll"+t+"_visible",o="x"==t?h.y:h.x;e.scroll.removeClass(i),o.scroll.removeClass(i),s.removeClass(i)})),t.each(h,(function(e,i){t.extend(i,"x"==e?{offset:parseInt(r.css("left"),10)||0,size:r.prop("scrollWidth"),visible:c.width()}:{offset:parseInt(r.css("top"),10)||0,size:r.prop("scrollHeight"),visible:c.height()})})),this._updateScroll("x",this.scrollx),this._updateScroll("y",this.scrolly),t.isFunction(l.onUpdate)&&l.onUpdate.apply(this,[r]),t.each(h,(function(t,e){var i="x"===t?"left":"top",o="x"===t?"outerWidth":"outerHeight",n="x"===t?"width":"height",s=parseInt(r.css(i),10)||0,a=e.size,h=e.visible+s,c=e.scroll.size[o]()+(parseInt(e.scroll.size.css(i),10)||0);l.autoScrollSize&&(e.scrollbarSize=parseInt(c*h/a,10),e.scroll.bar.css(n,e.scrollbarSize+"px")),e.scrollbarSize=e.scroll.bar[o](),e.kx=(c-e.scrollbarSize)/(a-h)||1,e.maxScrollOffset=a-h})),r.scrollLeft(p.scrollLeft).scrollTop(p.scrollTop).trigger("scroll")},_getScroll:function(e){var i={advanced:['<div class="scroll-element">','<div class="scroll-element_corner"></div>','<div class="scroll-arrow scroll-arrow_less"></div>','<div class="scroll-arrow scroll-arrow_more"></div>','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_inner-wrapper">','<div class="scroll-element_inner scroll-element_track">','<div class="scroll-element_inner-bottom"></div>',"</div>","</div>",'<div class="scroll-bar">','<div class="scroll-bar_body">','<div class="scroll-bar_body-inner"></div>',"</div>",'<div class="scroll-bar_bottom"></div>','<div class="scroll-bar_center"></div>',"</div>","</div>","</div>"].join(""),simple:['<div class="scroll-element">','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_track"></div>','<div class="scroll-bar"></div>',"</div>","</div>"].join("")};return i[e]&&(e=i[e]),e||(e=i.simple),e="string"==typeof e?t(e).appendTo(this.wrapper):t(e),t.extend(e,{bar:e.find(".scroll-bar"),size:e.find(".scroll-element_size"),track:e.find(".scroll-element_track")}),e},_handleMouseDown:function(e,i){var o=this.namespace;return t(document).on("blur"+o,(function(){t(document).add("body").off(o),e&&e()})),t(document).on("dragstart"+o,(function(t){return t.preventDefault(),!1})),t(document).on("mouseup"+o,(function(){t(document).add("body").off(o),e&&e()})),t("body").on("selectstart"+o,(function(t){return t.preventDefault(),!1})),i&&i.preventDefault(),!1},_updateScroll:function(e,i){var n=this.container,r=this.containerWrapper||n,s="scroll-scroll"+e+"_visible",a="x"===e?this.scrolly:this.scrollx,l=parseInt(this.container.css("x"===e?"left":"top"),10)||0,h=this.wrapper,c=i.size,p=i.visible+l;i.isVisible=c-p>1,i.isVisible?(i.scroll.addClass(s),a.scroll.addClass(s),r.addClass(s)):(i.scroll.removeClass(s),a.scroll.removeClass(s),r.removeClass(s)),"y"===e&&(n.is("textarea")||p>c?r.css({height:p+o.scroll.height+"px","max-height":"none"}):r.css({"max-height":p+o.scroll.height+"px"})),(i.size!=n.prop("scrollWidth")||a.size!=n.prop("scrollHeight")||i.visible!=h.width()||a.visible!=h.height()||i.offset!=(parseInt(n.css("left"),10)||0)||a.offset!=(parseInt(n.css("top"),10)||0))&&(t.extend(this.scrollx,{offset:parseInt(n.css("left"),10)||0,size:n.prop("scrollWidth"),visible:h.width()}),t.extend(this.scrolly,{offset:parseInt(n.css("top"),10)||0,size:this.container.prop("scrollHeight"),visible:h.height()}),this._updateScroll("x"===e?"y":"x",a))}};var s=r;t.fn.scrollbar=function(e,i){return"string"!=typeof e&&(i=e,e="init"),void 0===i&&(i=[]),t.isArray(i)||(i=[i]),this.not("body, .scroll-wrapper").each((function(){var n=t(this),r=n.data(o.data.name);(r||"init"===e)&&(r||(r=new s(n)),r[e]&&r[e].apply(r,i))})),this},t.fn.scrollbar.options=n;var a=function(){var t=0;return function(e){var i,n,r,s,l,h,c;for(i=0;i<o.scrolls.length;i++)n=(s=o.scrolls[i]).container,r=s.options,l=s.wrapper,h=s.scrollx,c=s.scrolly,(e||r.autoUpdate&&l&&l.is(":visible")&&(n.prop("scrollWidth")!=h.size||n.prop("scrollHeight")!=c.size||l.width()!=h.visible||l.height()!=c.visible))&&(s.init(),r.debug&&(window.console&&console.log({scrollHeight:n.prop("scrollHeight")+":"+s.scrolly.size,scrollWidth:n.prop("scrollWidth")+":"+s.scrollx.size,visibleHeight:l.height()+":"+s.scrolly.visible,visibleWidth:l.width()+":"+s.scrollx.visible},!0)));clearTimeout(t),t=setTimeout(a,300)}}();window.angular&&function(t){t.module("jQueryScrollbar",[]).provider("jQueryScrollbar",(function(){var e=n;return{setOptions:function(i){t.extend(e,i)},$get:function(){return{options:t.copy(e)}}}})).directive("jqueryScrollbar",["jQueryScrollbar","$parse",function(t,e){return{restrict:"AC",link:function(i,o,n){var r=e(n.jqueryScrollbar)(i);o.scrollbar(r||t.options).on("$destroy",(function(){o.scrollbar("destroy")}))}}}])}(window.angular)}.apply(e,o))||(t.exports=n)},695:(t,e,i)=>{var o,n,r;n=[i(311)],void 0===(r="function"==typeof(o=function(t){var e=t(document),i=t(window),o=t("body"),n="displayController",r="hasActiveHover",s="forcedOpen",a="hasMouseMove",l="mouseOnToPopup",h="originalTitle",c="powertip",p="powertipjq",d="powertiptarget",u=180/Math.PI,f={isTipOpen:!1,isFixedTipOpen:!1,isClosing:!1,tipOpenImminent:!1,activeHover:null,currentX:0,currentY:0,previousX:0,previousY:0,desyncTimeout:null,mouseTrackingActive:!1,delayInProgress:!1,windowWidth:0,windowHeight:0,scrollTop:0,scrollLeft:0},g=0,m=1,y=2,v=4,x=8;function b(){var e=this;e.top="auto",e.left="auto",e.right="auto",e.bottom="auto",e.set=function(i,o){t.isNumeric(o)&&(e[i]=Math.round(o))}}function w(t,e,i){var o=null;function n(l,h){a(),t.data(r)||(l?(h&&t.data(s,!0),i.showTip(t)):(f.tipOpenImminent=!0,o=setTimeout((function(){o=null,Math.abs(f.previousX-f.currentX)+Math.abs(f.previousY-f.currentY)<e.intentSensitivity?i.showTip(t):(f.previousX=f.currentX,f.previousY=f.currentY,n())}),e.intentPollInterval)))}function a(){o=clearTimeout(o),f.delayInProgress=!1}this.show=n,this.hide=function(n){a(),f.tipOpenImminent=!1,t.data(r)&&(t.data(s,!1),n?i.hideTip(t):(f.delayInProgress=!0,o=setTimeout((function(){o=null,i.hideTip(t),f.delayInProgress=!1}),e.closeDelay)))},this.cancel=a,this.resetPosition=function(){i.resetPosition(t)}}function k(){this.compute=function(t,e,i,o,n){var r,s=e.split("-")[0],a=new b;switch(r=function(t){return window.SVGElement&&t[0]instanceof SVGElement}(t)?function(t,e){var i,o,n,r,s=t.closest("svg")[0],a=t[0],l=s.createSVGPoint(),h=a.getBBox(),c=a.getScreenCTM(),p=h.width/2,d=h.height/2,g=[],m=["nw","n","ne","e","se","s","sw","w"];function y(){g.push(l.matrixTransform(c))}if(l.x=h.x,l.y=h.y,y(),l.x+=p,y(),l.x+=p,y(),l.y+=d,y(),l.y+=d,y(),l.x-=p,y(),l.x-=p,y(),l.y-=d,y(),g[0].y!==g[1].y||g[0].x!==g[7].x)for(o=Math.atan2(c.b,c.a)*u,(n=Math.ceil((o%360-22.5)/45))<1&&(n+=8);n--;)m.push(m.shift());for(r=0;r<g.length;r++)if(m[r]===e){i=g[r];break}return{top:i.y+f.scrollTop,left:i.x+f.scrollLeft}}(t,s):function(t,e){var i,o,n=t.offset(),r=t.outerWidth(),s=t.outerHeight();switch(e){case"n":i=n.left+r/2,o=n.top;break;case"e":i=n.left+r,o=n.top+s/2;break;case"s":i=n.left+r/2,o=n.top+s;break;case"w":i=n.left,o=n.top+s/2;break;case"nw":i=n.left,o=n.top;break;case"ne":i=n.left+r,o=n.top;break;case"sw":i=n.left,o=n.top+s;break;case"se":i=n.left+r,o=n.top+s}return{top:o,left:i}}(t,s),e){case"n":a.set("left",r.left-i/2),a.set("bottom",f.windowHeight-r.top+n);break;case"e":a.set("left",r.left+n),a.set("top",r.top-o/2);break;case"s":a.set("left",r.left-i/2),a.set("top",r.top+n);break;case"w":a.set("top",r.top-o/2),a.set("right",f.windowWidth-r.left+n);break;case"nw":a.set("bottom",f.windowHeight-r.top+n),a.set("right",f.windowWidth-r.left-20);break;case"nw-alt":a.set("left",r.left),a.set("bottom",f.windowHeight-r.top+n);break;case"ne":a.set("left",r.left-20),a.set("bottom",f.windowHeight-r.top+n);break;case"ne-alt":a.set("bottom",f.windowHeight-r.top+n),a.set("right",f.windowWidth-r.left);break;case"sw":a.set("top",r.top+n),a.set("right",f.windowWidth-r.left-20);break;case"sw-alt":a.set("left",r.left),a.set("top",r.top+n);break;case"se":a.set("left",r.left-20),a.set("top",r.top+n);break;case"se-alt":a.set("top",r.top+n),a.set("right",f.windowWidth-r.left)}return a}}function T(h){var u=new k,m=t("#"+h.popupId);function v(e){var i;if(e.data(r)){if(f.isTipOpen)return f.isClosing||w(f.activeHover),void m.delay(100).queue((function(t){v(e),t()}));e.trigger("powerTipPreRender"),(i=function(e){var i,o,n=e.data(c),r=e.data(p),s=e.data(d);return n?(t.isFunction(n)&&(n=n.call(e[0])),o=n):r?(t.isFunction(r)&&(r=r.call(e[0])),r.length>0&&(o=r.clone(!0,!0))):s&&(i=t("#"+s)).length>0&&(o=i.html()),o}(e))&&(m.empty().append(i),e.trigger("powerTipRender"),f.activeHover=e,f.isTipOpen=!0,m.data(l,h.mouseOnToPopup),h.followMouse?T():(S(e),f.isFixedTipOpen=!0),m.fadeIn(h.fadeInTime,(function(){f.desyncTimeout||(f.desyncTimeout=setInterval(C,500)),e.trigger("powerTipOpen")})))}}function w(t){f.isClosing=!0,f.activeHover=null,f.isTipOpen=!1,f.desyncTimeout=clearInterval(f.desyncTimeout),t.data(r,!1),t.data(s,!1),m.fadeOut(h.fadeOutTime,(function(){var e=new b;f.isClosing=!1,f.isFixedTipOpen=!1,m.removeClass(),e.set("top",f.currentY+h.offset),e.set("left",f.currentX+h.offset),m.css(e),t.trigger("powerTipClose")}))}function T(){if(!f.isFixedTipOpen&&(f.isTipOpen||f.tipOpenImminent&&m.data(a))){var t,e=m.outerWidth(),i=m.outerHeight(),o=new b;o.set("top",f.currentY+h.offset),o.set("left",f.currentX+h.offset),(t=A(o,e,i))!==g&&(1===function(t){for(var e=0;t;)t&=t-1,e++;return e}(t)?t===x?o.set("left",f.windowWidth-e):t===y&&o.set("top",f.scrollTop+f.windowHeight-i):(o.set("left",f.currentX-e-h.offset),o.set("top",f.currentY-i-h.offset))),m.css(o)}}function S(e){var i,o;h.smartPlacement?(i=t.fn.powerTip.smartPlacementLists[h.placement],t.each(i,(function(t,i){var n=A(L(e,i),m.outerWidth(),m.outerHeight());if(o=i,n===g)return!1}))):(L(e,h.placement),o=h.placement),m.addClass(o)}function L(t,e){var i,o,n=0,r=new b;r.set("top",0),r.set("left",0),m.css(r);do{i=m.outerWidth(),o=m.outerHeight(),r=u.compute(t,e,i,o,h.offset),m.css(r)}while(++n<=5&&(i!==m.outerWidth()||o!==m.outerHeight()));return r}function C(){var t=!1;!f.isTipOpen||f.isClosing||f.delayInProgress||(!1===f.activeHover.data(r)||f.activeHover.is(":disabled")?t=!0:P(f.activeHover)||f.activeHover.is(":focus")||f.activeHover.data(s)||m.data(l)&&P(m)||(t=!0),t&&w(f.activeHover))}0===m.length&&(m=t("<div/>",{id:h.popupId}),0===o.length&&(o=t("body")),o.append(m)),h.followMouse&&(m.data(a)||(e.on("mousemove",T),i.on("scroll",T),m.data(a,!0))),h.mouseOnToPopup&&m.on({mouseenter:function(){m.data(l)&&f.activeHover&&f.activeHover.data(n).cancel()},mouseleave:function(){f.activeHover&&f.activeHover.data(n).hide()}}),this.showTip=function(t){t.data(r,!0),m.queue((function(e){v(t),e()}))},this.hideTip=w,this.resetPosition=S}function S(t){f.currentX=t.pageX,f.currentY=t.pageY}function P(t){var e=t.offset(),i=t[0].getBoundingClientRect(),o=i.right-i.left,n=i.bottom-i.top;return f.currentX>=e.left&&f.currentX<=e.left+o&&f.currentY>=e.top&&f.currentY<=e.top+n}function A(t,e,i){var o=f.scrollTop,n=f.scrollLeft,r=o+f.windowHeight,s=n+f.windowWidth,a=g;return(t.top<o||Math.abs(t.bottom-f.windowHeight)-i<o)&&(a|=m),(t.top+i>r||Math.abs(t.bottom-f.windowHeight)>r)&&(a|=y),(t.left<n||t.right+e>s)&&(a|=v),(t.left+e>s||t.right<n)&&(a|=x),a}t.fn.powerTip=function(o,r){if(!this.length)return this;if("string"===t.type(o)&&t.powerTip[o])return t.powerTip[o].call(this,this,r);var s=t.extend({},t.fn.powerTip.defaults,o),a=new T(s);return f.mouseTrackingActive||(f.mouseTrackingActive=!0,t((function(){f.scrollLeft=i.scrollLeft(),f.scrollTop=i.scrollTop(),f.windowWidth=i.width(),f.windowHeight=i.height()})),e.on("mousemove",S),i.on({resize:function(){f.windowWidth=i.width(),f.windowHeight=i.height()},scroll:function(){var t=i.scrollLeft(),e=i.scrollTop();t!==f.scrollLeft&&(f.currentX+=t-f.scrollLeft,f.scrollLeft=t),e!==f.scrollTop&&(f.currentY+=e-f.scrollTop,f.scrollTop=e)}})),this.each((function(){var e,i=t(this),o=i.data(c),r=i.data(p),l=i.data(d);i.data(n)&&t.powerTip.destroy(i),e=i.attr("title"),o||l||r||!e||(i.data(c,e),i.data(h,e),i.removeAttr("title")),i.data(n,new w(i,s,a))})),s.manual||this.on({"mouseenter.powertip":function(e){t.powerTip.show(this,e)},"mouseleave.powertip":function(){t.powerTip.hide(this)},"focus.powertip":function(){t.powerTip.show(this)},"blur.powertip":function(){t.powerTip.hide(this,!0)},"keydown.powertip":function(e){27===e.keyCode&&t.powerTip.hide(this,!0)}}),this},t.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:!1,popupId:"powerTip",intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:!1,offset:10,mouseOnToPopup:!1,manual:!1},t.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]},t.powerTip={show:function(e,i){return i?(S(i),f.previousX=i.pageX,f.previousY=i.pageY,t(e).data(n).show()):t(e).first().data(n).show(!0,!0),e},reposition:function(e){return t(e).first().data(n).resetPosition(),e},hide:function(e,i){return e?t(e).first().data(n).hide(i):f.activeHover&&f.activeHover.data(n).hide(!0),e},destroy:function(e){return t(e).off(".powertip").each((function(){var e=t(this),i=[h,n,r,s];e.data(h)&&(e.attr("title",e.data(h)),i.push(c)),e.removeData(i)})),e}},t.powerTip.showTip=t.powerTip.show,t.powerTip.closeTip=t.powerTip.hide})?o.apply(e,n):o)||(t.exports=r)},311:t=>{"use strict";t.exports=jQuery}},e={};function i(o){var n=e[o];if(void 0!==n)return n.exports;var r=e[o]={exports:{}};return t[o].call(r.exports,r,r.exports,i),r.exports}i(211),i(399),i(931),i(695),i(764),i(313),i(409),i(155)})();

Youez - 2016 - github.com/yon3zu
LinuXploit