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