var HighchartsAdapter=function(){function f(k){function i(m,l,n){m.removeEventListener(l,n,!1)}function j(m,l,n){n=m.HCProxiedMethods[n.toString()];m.detachEvent("on"+l,n)}function h(l,r){var q=l.HCEvents,o,p,m,n;if(l.removeEventListener){o=i}else{if(l.attachEvent){o=j}else{return}}r?(p={},p[r]=!0):p=q;for(n in p){if(q[n]){for(m=q[n].length;m--;){o(l,n,q[n][m])}}}}k.HCExtended||Highcharts.extend(k,{HCExtended:!0,HCEvents:{},bind:function(l,m){var o=this,p=this.HCEvents,n;if(o.addEventListener){o.addEventListener(l,m,!1)}else{if(o.attachEvent){n=function(q){m.call(o,q)};if(!o.HCProxiedMethods){o.HCProxiedMethods={}}o.HCProxiedMethods[m.toString()]=n;o.attachEvent("on"+l,n)}}p[l]===c&&(p[l]=[]);p[l].push(m)},unbind:function(o,m){var n,l;o?(n=this.HCEvents[o]||[],m?(l=HighchartsAdapter.inArray(m,n),l>-1&&(n.splice(l,1),this.HCEvents[o]=n),this.removeEventListener?i(this,o,m):this.attachEvent&&j(this,o,m)):(h(this,o),this.HCEvents[o]=[])):(h(this),this.HCEvents={})},trigger:function(l,m){var q=this.HCEvents[l]||[],r=q.length,p,n,o;n=function(){m.defaultPrevented=!0};for(p=0;p=i.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();j=this.options.curAnim[this.prop]=!0;for(k in i.curAnim){i.curAnim[k]!==!0&&(j=!1)}j&&i.complete&&i.complete.call(this.elem);i=!1}else{k=l-this.startTime,this.state=k/i.duration,this.pos=i.easing(k,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),i=!0}}return i}};this.animate=function(k,q,j){var p,m="",o,l,n;k.stopAnimation=!1;if(typeof j!=="object"||j===null){p=arguments,j={duration:p[2],easing:p[3],complete:p[4]}}if(typeof j.duration!=="number"){j.duration=400}j.easing=Math[j.easing]||Math.easeInOutSine;j.curAnim=Highcharts.extend({},q);for(n in q){l=new g(k,j,n),o=null,n==="d"?(l.paths=h.init(k,k.d,q.d),l.toD=q.d,p=0,o=1):k.attr?p=k.attr(n):(p=parseFloat(HighchartsAdapter._getStyle(k,n))||0,n!=="opacity"&&(m="px")),o||(o=parseFloat(q[n])),l.custom(p,o,m)}}},_getStyle:function(i,h){return window.getComputedStyle(i).getPropertyValue(h)},getScript:function(k,i){var j=b.getElementsByTagName("head")[0],h=b.createElement("script");h.type="text/javascript";h.src=k;h.onload=i;j.appendChild(h)},inArray:function(i,h){return h.indexOf?h.indexOf(i):e.indexOf.call(h,i)},adapterRun:function(i,h){return parseInt(HighchartsAdapter._getStyle(i,h),10)},grep:function(i,h){return e.filter.call(i,h)},map:function(l,i){for(var k=[],h=0,j=l.length;h