Net Zero by 2050

A Roadmap for the Global Energy Sector

This report is part of Net Zero Emissions

About this report

The number of countries announcing pledges to achieve net zero emissions over the coming decades continues to grow. But the pledges by governments to date – even if fully achieved – fall well short of what is required to bring global energy-related carbon dioxide emissions to net zero by 2050 and give the world an even chance of limiting the global temperature rise to 1.5 °C. This special report is the world’s first comprehensive study of how to transition to a net zero energy system by 2050 while ensuring stable and affordable energy supplies, providing universal energy access, and enabling robust economic growth. It sets out a cost-effective and economically productive pathway, resulting in a clean, dynamic and resilient energy economy dominated by renewables like solar and wind instead of fossil fuels. The report also examines key uncertainties, such as the roles of bioenergy, carbon capture and behavioural changes in reaching net zero.

',render:function(t){return t("div",{ref:"chart"})},props:{constructorType:{type:String,default:"chart"},options:{type:Object,required:!0},callback:Function,updateArgs:{type:Array,default:function(){return[!0,!0]}},highcharts:{type:Object},deepCopyOnUpdate:{type:Boolean,default:!0}},watch:{options:{handler:function(t){var e;(e=this.chart).update.apply(e,[Object(a.a)(t,this.deepCopyOnUpdate)].concat(n(this.updateArgs)))},deep:!0}},mounted:function(){var e=this.highcharts||t;this.options&&e[this.constructorType]?this.chart=e[this.constructorType](this.$refs.chart,Object(a.a)(this.options,!0),this.callback?this.callback:null):this.options?console.warn("'".concat(this.constructorType,"' constructor-type is incorrect. Sometimes this error is caused by the fact, that the corresponding module wasn't imported.")):console.warn('The "options" parameter was not passed.')},beforeDestroy:function(){this.chart&&this.chart.destroy()}}};e.a=l},function(t,e,i){"use strict";function n(t,e,i){function r(r,s){!o.a.isObject(r,!i)||o.a.isClass(r)||o.a.isDOMElement(r)?t[s]=e[s]:t[s]=n(t[s]||o.a.isArray(r)?[]:{},r,i)}return o.a.isArray(e)?e.forEach(r):o.a.objectEach(e,r),t}i.d(e,"a",(function(){return s}));var r=i(0),o=i.n(r),s=function(t,e){return n({},t,e)}}])}))},"44ad":function(t,e,i){var n=i("d039"),r=i("c6b6"),o="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,i){var n=i("b622"),r=i("7c73"),o=i("9bf2"),s=n("unscopables"),a=Array.prototype;void 0==a[s]&&o.f(a,s,{configurable:!0,value:r(null)}),t.exports=function(t){a[s][t]=!0}},"44e7":function(t,e,i){var n=i("861d"),r=i("c6b6"),o=i("b622"),s=o("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==r(t))}},"459a":function(t,e,i){"use strict";i("e79c")},4840:function(t,e,i){var n=i("825a"),r=i("1c0b"),o=i("b622"),s=o("species");t.exports=function(t,e){var i,o=n(t).constructor;return void 0===o||void 0==(i=n(o)[s])?e:r(i)}},4930:function(t,e,i){var n=i("605d"),r=i("2d00"),o=i("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(n?38===r:r>37&&r<41)}))},"499e":function(t,e,i){"use strict";function n(t,e){for(var i=[],n={},r=0;ri.parts.length&&(n.parts.length=i.parts.length)}else{var s=[];for(r=0;r0){for(e-=1e-4,n=0;n=e)return r[n];return r.pop()}n=r.length,e+=1e-4;while(n--)if(r[n]<=e)return r[n];return r[0]}},Tt=function(t,e,i,n){return i.split(",").forEach((function(i){return t(e,i,n)}))},At=function(t,e,i){return t.addEventListener(e,i,{passive:!0})},Ot=function(t,e,i){return t.removeEventListener(e,i)},Pt={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Et={toggleActions:"play",anticipatePin:0},Lt={top:0,left:0,center:.5,bottom:1,right:1},Dt=function(t,e){if(V(t)){var i=t.indexOf("="),n=~i?+(t.charAt(i-1)+1)*parseFloat(t.substr(i+1)):0;~i&&(t.indexOf("%")>i&&(n*=e/100),t=t.substr(0,i-1)),t=n+(t in Lt?Lt[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},zt=function(t,e,i,n,o,a,l){var h=o.startColor,c=o.endColor,u=o.fontSize,d=o.indent,p=o.fontWeight,f=r.createElement("div"),g=B(i)||"fixed"===F(i,"pinType"),m=-1!==t.indexOf("scroller"),y=g?s:i,v=-1!==t.indexOf("start"),b=v?h:c,x="border-color:"+b+";font-size:"+u+";color:"+b+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return x+="position:"+(m&&g?"fixed;":"absolute;"),(m||!g)&&(x+=(n===vt?rt:ot)+":"+(a+parseFloat(d))+"px;"),l&&(x+="box-sizing:border-box;text-align:left;width:"+l.offsetWidth+"px;"),f._isStart=v,f.setAttribute("class","gsap-marker-"+t),f.style.cssText=x,f.innerText=e||0===e?t+"-"+e:t,y.children[0]?y.insertBefore(f,y.children[0]):y.appendChild(f),f._offset=f["offset"+n.op.d2],It(f,0,n,v),f},It=function(t,i,n,r){var o={display:"block"},s=n[r?"os2":"p2"],a=n[r?"p2":"os2"];t._isFlipped=r,o[n.a+"Percent"]=r?-100:0,o[n.a]=r?"1px":0,o["border"+s+ft]=1,o["border"+a+ft]=0,o[n.p]=i+"px",e.set(t,o)},Rt=[],Nt={},jt=function(){return c||(c=h(Qt))},Bt=function(){c||(c=h(Qt),D||Ut("scrollStart"),D=E())},Ft=function(){return!g&&!C&&!r.fullscreenElement&&l.restart(!0)},Wt={},Gt=[],Ht=[],Xt=function(t){var r,o=e.ticker.frame,s=[],a=0;if(T!==o||A){for($t();a=50,n=t&&Rt[0].scroll();if(Jt=Kt>n?-1:1,Kt=n,i&&(D&&!m&&e-D>200&&(D=0,Ut("scrollEnd")),p=L,L=e),Jt<0){v=t;while(v-- >0)Rt[v]&&Rt[v].update(0,i);Jt=1}else for(v=0;v20),i-=i-m}if(a){var w=t+i,_=a._isStart;f="scroll"+n.d2,It(a,w,n,_&&w>20||!_&&(p?Math.max(s[f],o[f]):a.parentNode[f])<=w+1),p&&(c=_t(l),p&&(a.style[n.op.p]=c[n.op.p]-n.op.m-a._offset+mt))}return Math.round(t)},ce=/(?:webkit|moz|length|cssText|inset)/i,ue=function(t,i,n,r){if(t.parentNode!==i){var o,a,l=t.style;if(i===s){for(o in t._stOrig=l.cssText,a=bt(t),a)+o||ce.test(o)||!a[o]||"string"!==typeof l[o]||"0"===o||(l[o]=a[o]);l.top=n,l.left=r}else l.cssText=t._stOrig;e.core.getCache(t).uncache=1,i.appendChild(t)}},de=function(t,i){var n,r,o=W(t,i),s="_scroll"+i.p2,a=function i(a,l,h,c,u){var d=i.tween,p=l.onComplete,f={};return d&&d.kill(),n=Math.round(h),l[s]=a,l.modifiers=f,f[s]=function(t){return t=R(o()),t!==n&&t!==r&&Math.abs(t-n)>2?(d.kill(),i.tween=0):t=h+c*d.ratio+u*d.ratio*d.ratio,r=n,n=R(t)},l.onComplete=function(){i.tween=0,p&&p.call(d)},d=i.tween=e.to(t,l),d};return t[s]=o,t.addEventListener("wheel",(function(){return a.tween&&a.tween.kill()&&(a.tween=0)})),a};yt.op=vt;var pe=function(){function t(n,r){i||t.register(e)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(n,r)}var c=t.prototype;return c.init=function(i,a){if(this.progress=this.start=0,this.vars&&this.kill(1),z){i=wt(V(i)||$(i)||i.nodeType?{trigger:i}:i,Et);var l,h,c,f,y,b,x,w,C,T,O,P,L,R,N,j,G,U,K,J,tt,et,it,nt,rt,ot,Ct,Tt,Lt,It,jt,Wt,Gt,Ht,Xt,Ut,Vt,qt=i.horizontal?yt:vt,$t=i,Zt=$t.onUpdate,Kt=$t.toggleClass,Qt=$t.id,te=$t.onToggle,ee=$t.onRefresh,re=$t.scrub,le=$t.trigger,ce=$t.pin,pe=$t.pinSpacing,fe=$t.invalidateOnRefresh,ge=$t.anticipatePin,me=$t.onScrubComplete,ye=$t.onSnapComplete,ve=$t.once,be=$t.snap,xe=$t.pinReparent,we=!re&&0!==re,_e=u(i.scroller||n)[0],Se=e.core.getCache(_e),Ce=B(_e),Me="pinType"in i?"fixed"===i.pinType:Ce||"fixed"===F(_e,"pinType"),ke=[i.onEnter,i.onLeave,i.onEnterBack,i.onLeaveBack],Te=we&&i.toggleActions.split(" "),Ae="markers"in i?i.markers:Et.markers,Oe=Ce?0:parseFloat(bt(_e)["border"+qt.p2+ft])||0,Pe=this,Ee=i.onRefreshInit&&function(){return i.onRefreshInit(Pe)},Le=H(_e,Ce,qt),De=X(_e,Ce);Pe.media=k,ge*=45,Rt.push(Pe),Pe.scroller=_e,Pe.scroll=W(_e,qt),y=Pe.scroll(),Pe.vars=i,a=a||i.animation,"refreshPriority"in i&&(_=1),Se.tweenScroll=Se.tweenScroll||{top:de(_e,vt),left:de(_e,yt)},Pe.tweenTo=l=Se.tweenScroll[qt.p],a&&(a.vars.lazy=!1,a._initted||!1!==a.vars.immediateRender&&!1!==i.immediateRender&&a.render(0,!0,!0),Pe.animation=a.pause(),a.scrollTrigger=Pe,Wt=$(re)&&re,Wt&&(jt=e.to(a,{ease:"power3",duration:Wt,onComplete:function(){return me&&me(Pe)}})),Lt=0,Qt||(Qt=a.vars.id)),be&&(Z(be)||(be={snapTo:be}),"scrollBehavior"in s.style&&e.set(Ce?[s,o]:_e,{scrollBehavior:"auto"}),c=q(be.snapTo)?be.snapTo:"labels"===be.snapTo?Mt(a):"labelsDirectional"===be.snapTo?kt(a):e.utils.snap(be.snapTo),Gt=be.duration||{min:.1,max:2},Gt=Z(Gt)?d(Gt.min,Gt.max):d(Gt,Gt),Ht=e.delayedCall(be.delay||Wt/2||.1,(function(){if(Math.abs(Pe.getVelocity())<10&&!m){var t=a&&!we?a.totalProgress():Pe.progress,e=(t-It)/(E()-p)*1e3||0,i=Q(e/2)*e/.185,n=t+(!1===be.inertia?0:i),r=d(0,1,c(n,Pe)),o=Pe.scroll(),s=Math.round(x+r*R),h=be,u=h.onStart,f=h.onInterrupt,g=h.onComplete,y=l.tween;if(o<=w&&o>=x&&s!==o){if(y&&!y._initted&&y.data<=Math.abs(s-o))return;l(s,{duration:Gt(Q(.185*Math.max(Q(n-t),Q(r-t))/e/.05||0)),ease:be.ease||"power3",data:Math.abs(s-o),onInterrupt:function(){return Ht.restart(!0)&&f&&f(Pe)},onComplete:function(){Lt=It=a&&!we?a.totalProgress():Pe.progress,ye&&ye(Pe),g&&g(Pe)}},o,i*R,s-o-i*R),u&&u(Pe,l.tween)}}else Pe.isActive&&Ht.restart(!0)})).pause()),Qt&&(Nt[Qt]=Pe),le=Pe.trigger=u(le||ce)[0],ce=!0===ce?le:u(ce)[0],V(Kt)&&(Kt={targets:le,className:Kt}),ce&&(!1===pe||pe===pt||(pe=!(!pe&&"flex"===bt(ce.parentNode).display)&&dt),Pe.pin=ce,!1!==i.force3D&&e.set(ce,{force3D:!0}),h=e.core.getCache(ce),h.spacer?N=h.pinState:(h.spacer=U=r.createElement("div"),U.setAttribute("class","pin-spacer"+(Qt?" pin-spacer-"+Qt:"")),h.pinState=N=se(ce)),Pe.spacer=U=h.spacer,Tt=bt(ce),nt=Tt[pe+qt.os2],J=e.getProperty(ce),tt=e.quickSetter(ce,qt.a,mt),ne(ce,U,Tt),G=se(ce)),Ae&&(L=Z(Ae)?wt(Ae,Pt):Pt,O=zt("scroller-start",Qt,_e,qt,L,0),P=zt("scroller-end",Qt,_e,qt,L,0,O),K=O["offset"+qt.op.d2],C=zt("start",Qt,_e,qt,L,K),T=zt("end",Qt,_e,qt,L,K),Me||(xt(Ce?s:_e),e.set([O,P],{force3D:!0}),ot=e.quickSetter(O,qt.a,mt),Ct=e.quickSetter(P,qt.a,mt))),Pe.revert=function(t){var e=!1!==t||!Pe.enabled,i=g;e!==f&&(e&&(Ut=Math.max(Pe.scroll(),Pe.scroll.rec||0),Xt=Pe.progress,Vt=a&&a.progress()),C&&[C,T,O,P].forEach((function(t){return t.style.display=e?"none":"block"})),e&&(g=1),Pe.update(e),g=i,ce&&(e?ie(ce,U,N):(!xe||!Pe.isActive)&&ne(ce,U,bt(ce),rt)),f=e)},Pe.refresh=function(n,r){if(!g&&Pe.enabled||r)if(ce&&n&&D)At(t,"scrollEnd",Yt);else{g=1,jt&&jt.pause(),fe&&a&&a.progress(0).invalidate(),f||Pe.revert();var o,l,h,c,u,d,p,m,v,_=Le(),M=De(),k=Y(_e,qt),A=0,E=0,L=i.end,z=i.endTrigger||le,I=i.start||(0!==i.start&&le?ce?"0 0":"0 100%":0),B=le&&Math.max(0,Rt.indexOf(Pe))||0,F=B;while(F--)d=Rt[F],d.end||d.refresh(0,1)||(g=1),p=d.pin,p&&(p===le||p===ce)&&d.revert();x=he(I,le,_,qt,Pe.scroll(),C,O,Pe,M,Oe,Me,k)||(ce?-.001:0),q(L)&&(L=L(Pe)),V(L)&&!L.indexOf("+=")&&(~L.indexOf(" ")?L=(V(I)?I.split(" ")[0]:"")+L:(A=Dt(L.substr(2),_),L=V(I)?I:x+A,z=le)),w=Math.max(x,he(L||(z?"100% 0":k),z,_,qt,Pe.scroll()+A,T,P,Pe,M,Oe,Me,k))||-.001,R=w-x||(x-=.01)&&.001,A=0,F=B;while(F--)d=Rt[F],p=d.pin,p&&d.start-d._pinPush1&&((Ce?s:_e).style["overflow-"+qt.a]="scroll"),ne(ce,U,o),G=se(ce),l=_t(ce,!0),m=Me&&W(_e,c?yt:vt)(),pe&&(rt=[pe+qt.os2,R+E+mt],rt.t=U,F=pe===dt?St(ce,qt)+R+E:0,F&&rt.push(qt.d,F+mt),oe(rt),Me&&Pe.scroll(Ut)),Me&&(u={top:l.top+(c?h-x:m)+mt,left:l.left+(c?m:h-x)+mt,boxSizing:"border-box",position:"fixed"},u[st]=u["max"+ft]=Math.ceil(l.width)+mt,u[at]=u["max"+gt]=Math.ceil(l.height)+mt,u[pt]=u[pt+ct]=u[pt+lt]=u[pt+ut]=u[pt+ht]="0",u[dt]=o[dt],u[dt+ct]=o[dt+ct],u[dt+lt]=o[dt+lt],u[dt+ut]=o[dt+ut],u[dt+ht]=o[dt+ht],j=ae(N,u,xe)),a?(v=a._initted,S(1),a.progress(1,!0),it=J(qt.a)-et+R+E,R!==it&&j.splice(j.length-2,2),a.progress(0,!0),v||a.invalidate(),S(0)):it=R;else if(le&&Pe.scroll()){l=le.parentNode;while(l&&l!==s)l._pinOffset&&(x-=l._pinOffset,w-=l._pinOffset),l=l.parentNode}for(F=0;F1?1:f||0,v=Pe.progress;if(e&&(b=y,y=d,be&&(It=Lt,Lt=a&&!we?a.totalProgress():m)),ge&&!m&&ce&&!g&&!A&&D&&xv?1:-1,Pe.progress=m,we||(!jt||g||A?a&&a.totalProgress(m,!!g):(jt.vars.totalProgress=m,jt.invalidate().restart())),ce)if(t&&pe&&(U.style[pe+qt.os2]=nt),Me){if(h){if(o=!t&&m>v&&w+1>d&&d+1>=Y(_e,qt),xe)if(t||!i&&!o)ue(ce,U);else{var _=_t(ce,!0),S=d-x;ue(ce,s,_.top+(qt===vt?S:0)+mt,_.left+(qt===vt?0:S)+mt)}oe(i||o?j:G),it!==R&&m<1&&i||tt(et+(1!==m||o?0:it))}}else tt(et+it*m);be&&!l.tween&&!g&&!A&&Ht.restart(!0),Kt&&(c||ve&&m&&(m<1||!M))&&u(Kt.targets).forEach((function(t){return t.classList[i||ve?"add":"remove"](Kt.className)})),Zt&&!we&&!t&&Zt(Pe),h&&!g?(r=m&&!v?0:1===m?1:1===v?2:3,we&&(o=!c&&"none"!==Te[r+1]&&Te[r+1]||Te[r],a&&("complete"===o||"reset"===o||o in a)&&("complete"===o?a.pause().totalProgress(1):"reset"===o?a.restart(!0).pause():a[o]()),Zt&&Zt(Pe)),!c&&M||(te&&c&&te(Pe),ke[r]&&ke[r](Pe),ve&&(1===m?Pe.kill(!1,1):ke[r]=0),c||(r=1===m?1:3,ke[r]&&ke[r](Pe)))):we&&Zt&&!g&&Zt(Pe)}Ct&&(ot(d+(O._isFlipped?1:0)),Ct(d))},Pe.enable=function(){Pe.enabled||(Pe.enabled=!0,At(_e,"resize",Ft),At(_e,"scroll",Bt),Ee&&At(t,"refreshInit",Ee),a&&a.add?e.delayedCall(.01,(function(){return x||w||Pe.refresh()}))&&(R=.01)&&(x=w=0):Pe.refresh())},Pe.disable=function(e,i){if(Pe.enabled&&(!1!==e&&Pe.revert(),Pe.enabled=Pe.isActive=!1,i||jt&&jt.pause(),Ut=0,h&&(h.uncache=1),Ee&&Ot(t,"refreshInit",Ee),Ht&&(Ht.pause(),l.tween&&l.tween.kill()&&(l.tween=0)),!Ce)){var n=Rt.length;while(n--)if(Rt[n].scroller===_e&&Rt[n]!==Pe)return;Ot(_e,"resize",Ft),Ot(_e,"scroll",Bt)}},Pe.kill=function(t,e){Pe.disable(t,e),Qt&&delete Nt[Qt];var i=Rt.indexOf(Pe);Rt.splice(i,1),i===v&&Jt>0&&v--,a&&(a.scrollTrigger=null,t&&a.render(-1),e||a.kill()),C&&[C,T,O,P].forEach((function(t){return t.parentNode.removeChild(t)})),ce&&(h&&(h.uncache=1),i=0,Rt.forEach((function(t){return t.pin===ce&&i++})),i||(h.spacer=0))},Pe.enable()}else this.update=this.refresh=this.kill=I},t.register=function(c){if(!i&&(e=c||j(),N()&&window.document&&(n=window,r=document,o=r.documentElement,s=r.body),e&&(u=e.utils.toArray,d=e.utils.clamp,S=e.core.suppressOverwrites||I,e.core.globals("ScrollTrigger",t),s))){h=n.requestAnimationFrame||function(t){return setTimeout(t,16)},At(n,"wheel",Bt),a=[n,r,o,s],At(r,"scroll",Bt);var p,g=s.style,v=g.borderTop;g.borderTop="1px solid #000",p=_t(s),vt.m=Math.round(p.top+vt.sc())||0,yt.m=Math.round(p.left+yt.sc())||0,v?g.borderTop=v:g.removeProperty("border-top"),f=setInterval(jt,200),e.delayedCall(.5,(function(){return A=0})),At(r,"touchcancel",I),At(s,"touchstart",I),Tt(At,r,"pointerdown,touchstart,mousedown",(function(){return m=1})),Tt(At,r,"pointerup,touchend,mouseup",(function(){return m=0})),y=e.utils.checkPrefix("transform"),ee.push(y),i=E(),l=e.delayedCall(.2,Zt).pause(),w=[r,"visibilitychange",function(){var t=n.innerWidth,e=n.innerHeight;r.hidden?(b=t,x=e):b===t&&x===e||Ft()},r,"DOMContentLoaded",Zt,n,"load",function(){return D||Zt()},n,"resize",Ft],U(At)}return i},t.defaults=function(t){for(var e in t)Et[e]=t[e]},t.kill=function(){z=0,Rt.slice(0).forEach((function(t){return t.kill(1)}))},t.config=function(t){"limitCallbacks"in t&&(M=!!t.limitCallbacks);var e=t.syncInterval;e&&clearInterval(f)||(f=e)&&setInterval(jt,e),"autoRefreshEvents"in t&&(U(Ot)||U(At,t.autoRefreshEvents||"none"),C=-1===(t.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var i=u(t)[0],r=P.indexOf(i),a=B(i);~r&&P.splice(r,a?6:2),a?O.unshift(n,e,s,e,o,e):O.unshift(i,e)},t.matchMedia=function(t){var e,i,r,o,s;for(i in t)r=Ht.indexOf(i),o=t[i],k=i,"all"===i?o():(e=n.matchMedia(i),e&&(e.matches&&(s=o()),~r?(Ht[r+1]=J(Ht[r+1],o),Ht[r+2]=J(Ht[r+2],s)):(r=Ht.length,Ht.push(i,o,s),e.addListener?e.addListener(Xt):e.addEventListener("change",Xt)),Ht[r+3]=e.matches)),k=0;return Ht},t.clearMatchMedia=function(t){t||(Ht.length=0),t=Ht.indexOf(t),t>=0&&Ht.splice(t,4)},t}();pe.version="3.6.1",pe.saveStyles=function(t){return t?u(t).forEach((function(t){if(t&&t.style){var i=Vt.indexOf(t);i>=0&&Vt.splice(i,4),Vt.push(t,t.style.cssText,e.core.getCache(t),k)}})):Vt},pe.revert=function(t,e){return $t(!t,e)},pe.create=function(t,e){return new pe(t,e)},pe.refresh=function(t){return t?Ft():Zt(!0)},pe.update=Qt,pe.maxScroll=function(t,e){return Y(t,e?yt:vt)},pe.getScrollFunc=function(t,e){return W(u(t)[0],e?yt:vt)},pe.getById=function(t){return Nt[t]},pe.getAll=function(){return Rt.slice(0)},pe.isScrolling=function(){return!!D},pe.addEventListener=function(t,e){var i=Wt[t]||(Wt[t]=[]);~i.indexOf(e)||i.push(e)},pe.removeEventListener=function(t,e){var i=Wt[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},pe.batch=function(t,i){var n,r=[],o={},s=i.interval||.016,a=i.batchMax||1e9,l=function(t,i){var n=[],r=[],o=e.delayedCall(s,(function(){i(n,r),n=[],r=[]})).pause();return function(t){n.length||o.restart(!0),n.push(t.trigger),r.push(t),a<=n.length&&o.progress(1)}};for(n in i)o[n]="on"===n.substr(0,2)&&q(i[n])&&"onRefreshInit"!==n?l(n,i[n]):i[n];return q(a)&&(a=a(),At(pe,"refresh",(function(){return a=i.batchMax()}))),u(t).forEach((function(t){var e={};for(n in o)e[n]=o[n];e.trigger=t,r.push(pe.create(e))})),r},pe.sort=function(t){return Rt.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},j()&&e.registerPlugin(pe),t.ScrollTrigger=pe,t.default=pe,Object.defineProperty(t,"__esModule",{value:!0})}))},"4d35":function(t){t.exports=JSON.parse('[{"2020":1.9,"2025":1.7,"2030":0.9,"2035":0.1,"2040":-0.5,"2045":-0.8,"2050":-1,"id":6,"type":"sector","label":"Other","group":"emission"},{"2020":13.5,"2025":10.8,"2030":5.8,"2035":2.1,"2040":-0.1,"2045":-0.3,"2050":-0.4,"id":2,"type":"sector","label":"Electricity and heating","group":"emission"},{"2020":8.5,"2025":8.1,"2030":6.9,"2035":5.2,"2040":3.5,"2045":1.8,"2050":0.5,"id":3,"type":"sector","label":"Industry","group":"emission"},{"2020":7.2,"2025":7.2,"2030":5.7,"2035":4.1,"2040":2.7,"2045":1.5,"2050":0.7,"id":4,"type":"sector","label":"Transport","group":"emission"},{"2020":2.9,"2025":2.4,"2030":1.8,"2035":1.2,"2040":0.7,"2045":0.3,"2050":0.1,"id":5,"type":"sector","label":"Buildings","group":"emission"},{"id":7,"type":"orbit","label":"milestone","group":"emission","color":"#b1b1b1"},{"id":7,"type":"emission","label":"total emissions","group":null,"data":{"2020":33.9,"2025":30.2,"2030":21.1,"2035":12.8,"2040":6.3,"2045":2.5,"2050":0}}]')},"4d64":function(t,e,i){var n=i("fc6a"),r=i("50c4"),o=i("23cb"),s=function(t){return function(e,i,s){var a,l=n(e),h=r(l.length),c=o(s,h);if(t&&i!=i){while(h>c)if(a=l[c++],a!=a)return!0}else for(;h>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"4de4":function(t,e,i){"use strict";var n=i("23e7"),r=i("b727").filter,o=i("1dde"),s=o("filter");n({target:"Array",proto:!0,forced:!s},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,i){"use strict";var n=i("0366"),r=i("7b0b"),o=i("9bdd"),s=i("e95a"),a=i("50c4"),l=i("8418"),h=i("35a1");t.exports=function(t){var e,i,c,u,d,p,f=r(t),g="function"==typeof this?this:Array,m=arguments.length,y=m>1?arguments[1]:void 0,v=void 0!==y,b=h(f),x=0;if(v&&(y=n(y,m>2?arguments[2]:void 0,2)),void 0==b||g==Array&&s(b))for(e=a(f.length),i=new g(e);e>x;x++)p=v?y(f[x],x):f[x],l(i,x,p);else for(u=b.call(f),d=u.next,i=new g;!(c=d.call(u)).done;x++)p=v?o(u,y,[c.value,x],!0):c.value,l(i,x,p);return i.length=x,i}},"50c4":function(t,e,i){var n=i("a691"),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},5135:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},5319:function(t,e,i){"use strict";var n=i("d784"),r=i("825a"),o=i("50c4"),s=i("a691"),a=i("1d80"),l=i("8aa5"),h=i("0cb2"),c=i("14c3"),u=Math.max,d=Math.min,p=function(t){return void 0===t?t:String(t)};n("replace",2,(function(t,e,i,n){var f=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,m=f?"$":"$0";return[function(i,n){var r=a(this),o=void 0==i?void 0:i[t];return void 0!==o?o.call(i,r,n):e.call(String(r),i,n)},function(t,n){if(!f&&g||"string"===typeof n&&-1===n.indexOf(m)){var a=i(e,t,this,n);if(a.done)return a.value}var y=r(t),v=String(this),b="function"===typeof n;b||(n=String(n));var x=y.global;if(x){var w=y.unicode;y.lastIndex=0}var _=[];while(1){var S=c(y,v);if(null===S)break;if(_.push(S),!x)break;var C=String(S[0]);""===C&&(y.lastIndex=l(v,o(y.lastIndex),w))}for(var M="",k=0,T=0;T<_.length;T++){S=_[T];for(var A=String(S[0]),O=u(d(s(S.index),v.length),0),P=[],E=1;E=k&&(M+=v.slice(k,O)+z,k=O+A.length)}return M+v.slice(k)}]}))},5365:function(t,e,i){var n=i("af5f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("499e").default;r("74b20c40",n,!0,{sourceMap:!1,shadowMode:!1})},5692:function(t,e,i){var n=i("c430"),r=i("c6cd");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.10.2",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56c3":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".nze-sm-sm{display:block}",""]),t.exports=e},"56ef":function(t,e,i){var n=i("d066"),r=i("241c"),o=i("7418"),s=i("825a");t.exports=n("Reflect","ownKeys")||function(t){var e=r.f(s(t)),i=o.f;return i?e.concat(i(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,i){var n=i("1d80"),r=i("5899"),o="["+r+"]",s=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),l=function(t){return function(e){var i=String(n(e));return 1&t&&(i=i.replace(s,"")),2&t&&(i=i.replace(a,"")),i}};t.exports={start:l(1),end:l(2),trim:l(3)}},"5a34":function(t,e,i){var n=i("44e7");t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5f25":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".nze-scrubber{width:inherit;padding:0 20px;box-sizing:border-box;position:relative}.nze-scrubber__inner{z-index:1;display:flex;vertical-align:top}.nze-scrubber__inner,.nze-scrubber__SVG{overflow:visible;width:100%;position:relative}.nze-scrubber__SVG{box-sizing:border-box;min-height:100%;z-index:2;top:0}.nze-scrubber__text{width:100%;height:100%;position:absolute;box-sizing:border-box;display:flex;align-items:center;justify-content:center;z-index:3}.nze-scrubber__text>h1{font-family:Graphik;opacity:0;position:absolute;width:50%;max-width:1000px;text-align:center;line-height:3rem;font-weight:700;letter-spacing:-.02rem;font-size:2rem}.nze-scrubber__text>h1>a{box-shadow:none!important;text-decoration:none;color:#04f}.nze-scrubber__prompt{width:100%;height:50px;margin:100px auto;display:flex;flex-flow:column;align-items:center;justify-content:center}.scrub-emission-label{font-family:Graphik;font-size:1rem;font-weight:500}.scroll-arrows{display:block;transform:rotate(45deg);border-right:2px solid #04f;border-bottom:2px solid #04f;margin:0 0 0 4px;width:12px;height:12px}.arrow-top{margin-top:1px}.arrow-bottom,.arrow-top{-webkit-animation:arrows-fade 1s infinite;animation:arrows-fade 1s infinite}.arrow-top{-webkit-animation-delay:.1s;-moz-animation-delay:.1s;-webkit-animation-delay:alternate;animation-delay:alternate}.arrow-bottom,.arrow-top{-webkit-animation-direction:alternate;animation-direction:alternate}.arrow-bottom{-webkit-animation-delay:.2s;-moz-animation-delay:.2s;animation-delay:.2s;margin-top:-6px}@-webkit-keyframes arrows-fade{0%{opacity:0}50%{opacity:.5}to{opacity:1}}@keyframes arrows-fade{0%{opacity:0}50%{opacity:.5}to{opacity:1}}@media screen and (min-width:1480px){.nze-scrubber__inner{height:40vw}}@media screen and (max-width:1479px) and (min-width:1280px){.nze-scrubber__inner{height:50vw}}@media screen and (max-width:1279px) and (min-width:730px){.nze-scrubber__inner{height:50vw}.nze-scrubber__text>h1{width:80%;line-height:2rem;font-size:1.5rem}}@media screen and (max-width:729px) and (min-width:450px){.nze-scrubber__inner{height:75vw}.nze-scrubber__text>h1{width:80%;line-height:1.5rem;font-size:1.2rem}}@media screen and (max-width:449px){.nze-scrubber__inner{height:100vw}.nze-scrubber__text>h1{width:100%;line-height:1.5rem;font-size:1.2rem}}",""]),t.exports=e},"605d":function(t,e,i){var n=i("c6b6"),r=i("da84");t.exports="process"==n(r.process)},6547:function(t,e,i){var n=i("a691"),r=i("1d80"),o=function(t){return function(e,i){var o,s,a=String(r(e)),l=n(i),h=a.length;return l<0||l>=h?t?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===h||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,i){var n=i("861d"),r=i("e8b5"),o=i("b622"),s=o("species");t.exports=function(t,e){var i;return r(t)&&(i=t.constructor,"function"!=typeof i||i!==Array&&!r(i.prototype)?n(i)&&(i=i[s],null===i&&(i=void 0)):i=void 0),new(void 0===i?Array:i)(0===e?0:e)}},"69f3":function(t,e,i){var n,r,o,s=i("7f9a"),a=i("da84"),l=i("861d"),h=i("9112"),c=i("5135"),u=i("c6cd"),d=i("f772"),p=i("d012"),f="Object already initialized",g=a.WeakMap,m=function(t){return o(t)?r(t):n(t,{})},y=function(t){return function(e){var i;if(!l(e)||(i=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}};if(s){var v=u.state||(u.state=new g),b=v.get,x=v.has,w=v.set;n=function(t,e){if(x.call(v,t))throw new TypeError(f);return e.facade=t,w.call(v,t,e),e},r=function(t){return b.call(v,t)||{}},o=function(t){return x.call(v,t)}}else{var _=d("state");p[_]=!0,n=function(t,e){if(c(t,_))throw new TypeError(f);return e.facade=t,h(t,_,e),e},r=function(t){return c(t,_)?t[_]:{}},o=function(t){return c(t,_)}}t.exports={set:n,get:r,has:o,enforce:m,getterFor:y}},"6a5d":function(t){t.exports=JSON.parse('[{"id":"bubbles","steps":[{"id":2020,"title":"The path to net zero emissions is narrow","subtitle":2020,"text":["Staying on it requires the massive deployment of all available clean energy technologies – such as renewables, EVs and energy efficient building retrofits – between now and 2030.","For solar power, it is equivalent to installing the world’s current largest solar park roughly every day."]},{"id":2025,"title":"A surge in clean energy investment can bring jobs and growth","subtitle":2025,"text":["To reach net zero emissions by 2050, annual clean energy investment worldwide will need to more than triple by 2030 to around $4 trillion.","This will create millions of new jobs, significantly lift global economic growth, and achieve universal access to electricity and clean cooking worldwide by the end of the decade."]},{"id":2030,"title":"We need to drive huge leaps in clean energy innovation","subtitle":2030,"text":["Most of the reductions in CO2 emissions through 2030 come from technologies already on the market today. But in 2050, almost half the reductions come from technologies that are currently at the demonstration or prototype phase.","Major innovation efforts must take place this decade in order to bring these new technologies to market in time."]},{"id":2035,"title":"A rapid shift away from fossil fuels","subtitle":2035,"text":["Net zero means huge declines in the use of coal, oil and gas.","This requires steps such as halting sales of new internal combustion engine passenger cars by 2035, and phasing out all unabated coal and oil power plants by 2040."]},{"id":2040,"title":"Electricity becomes the core of the energy system","subtitle":2040,"text":["It will play a key role across all sectors, from transport and buildings to industry. Electricity generation will need to reach net zero emissions globally in 2040 and be well on its way to supplying almost half of total energy consumption.","This will require huge increases in electricity system flexibility – such as batteries, demand response, hydrogen-based fuels, hydropower and more – to ensure reliable supplies."]},{"id":2045,"title":"New low-emissions industries flourish","subtitle":2045,"text":["By 2045, new energy technologies will be widespread.","The vast majority of cars on the roads will be running on electricity or fuel cells, planes will be relying largely on advanced biofuels and synthetic fuels, and hundreds of industrial plants will be using carbon capture or hydrogen around the world."]},{"id":2050,"title":"A clean energy world","subtitle":2050,"text":["The global energy sector in 2050 is based largely on renewables, with solar the single largest source of supply. Achieving this cleaner, healthier future will rely on a singular, unwavering focus from all governments, working closely with businesses, investors and citizens.","It will also require greater international cooperation among countries, notably to ensure that developing economies have the financing and technologies they need to reach net zero in time."]}]},{"id":"small-multiples","steps":[{"id":"renewables","title":"Renewables","text":["Renewable energy technologies like solar and wind are the key to reducing emissions in the electricity sector, which is today the single largest source of CO2 emissions.","In our pathway to net zero, almost 90% of global electricity generation in 2050 comes from renewable sources, with solar PV and wind together accounting for nearly 70%."]},{"id":"energy efficiency","title":"Energy efficiency","text":["Many energy efficient solutions for buildings, vehicles, home appliances and industry are available today and can be scaled up quickly, creating lots of jobs in the process.","Our pathway rapidly puts all of them to use on a massive scale in order to push the average rate of energy efficiency improvements in the 2020s to about three times the average of the last two decades."]},{"id":"electrification","title":"Electrification","text":["As electricity generation becomes progressively cleaner, electrification of areas previously dominated by fossil fuels emerges as a crucial economy-wide tool for reducing emissions.","This takes place through technologies like electric cars, buses and trucks on the roads, heat pumps in buildings, and electric furnaces for steel production."]},{"id":"bioenergy","title":"Bioenergy","text":["Sustainable bioenergy delivers emissions reductions across a wide range of areas, including low-emissions fuels for planes, ships and other forms of transport, and the replacement of natural gas with biomethane to provide heating and electricity. Sustainable bioenergy is also essential for bringing clean cooking solutions to the 2.6 billion people who currently lack them."]},{"id":"CCUS","title":"CCUS","text":["Carbon capture, utilisation and storage (CCUS) contributes to the transition to net zero in multiple ways. These include tackling emissions from existing energy assets, providing solutions in some of the sectors where emissions are hardest to reduce like cement, supporting the rapid scaling up of low‐emissions hydrogen production, and enabling some CO2 to be removed from the atmosphere."]},{"id":"hydrogen","title":"Hydrogen and hydrogen based fuels","text":["Hydrogen and hydrogen-based fuels will need to fill the gaps where electricity cannot easily or economically replace fossil fuels and where limited sustainable bioenergy supplies cannot cope with demand. This includes using hydrogen-based fuels for ships and planes, as well as hydrogen in heavy industries like steel and chemicals."]},{"id":"behaviour","title":"Behavioural changes","text":["Achieving net zero by 2050 cannot be achieved without the sustained support and participation from citizens. Behavioural changes, particularly in advanced economies – such as replacing car trips with walking, cycling or public transport, or foregoing a long-haul flight –provide around 4% of the cumulative emissions reductions in our pathway."]}]}]')},"6de5":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".nze-sm-chart__wrapper{width:100%;height:800px;position:absolute;box-sizing:border-box;z-index:1;display:inline-block;visibility:visible;vertical-align:top;padding:0 20px;width:inherit;overflow:visible}.nze-sm-chart__inner{width:100%;height:100%}.nze-sm__wrapper{width:calc(100% - 300px);height:100%;float:right;display:flex;flex-flow:column;justify-content:space-between}.nze-sm__category{width:300px;height:100%;display:flex;justify-content:flex-start}.nze-sm__category>h3{margin:0;padding:0;line-height:5rem;font-size:5.2rem;color:#e3e3e3;opacity:.5;font-weight:600;writing-mode:vertical-rl;-ms-writing-mode:vertical-rl;text-orientation:mixed;-webkit-text-orientation:mixed}.nze-sm__inner{width:100%;height:100%;padding:30px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}",""]),t.exports=e},"6eeb":function(t,e,i){var n=i("da84"),r=i("9112"),o=i("5135"),s=i("ce4e"),a=i("8925"),l=i("69f3"),h=l.get,c=l.enforce,u=String(String).split("String");(t.exports=function(t,e,i,a){var l,h=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||o(i,"name")||r(i,"name",e),l=c(i),l.source||(l.source=u.join("string"==typeof e?e:""))),t!==n?(h?!p&&t[e]&&(d=!0):delete t[e],d?t[e]=i:r(t,e,i)):d?t[e]=i:s(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&h(this).source||a(this)}))},"6fce":function(t,e,i){"use strict";i("5365")},7156:function(t,e,i){var n=i("861d"),r=i("d2bb");t.exports=function(t,e,i){var o,s;return r&&"function"==typeof(o=e.constructor)&&o!==i&&n(s=o.prototype)&&s!==i.prototype&&r(t,s),t}},7235:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".nze-legend{width:100%;flex-flow:row wrap;justify-content:center;margin-bottom:25px}.nze-legend,.nze-legend-item{display:flex;align-items:center}.nze-legend-item{margin-left:16px;margin-bottom:10px;font-size:.8rem}.nze-legend-symbol{width:12px;height:12px;box-sizing:border-box;border-radius:50%;margin-right:5px}@media screen and (max-width:1279px){.nze-legend{margin-bottom:0}.nze-legend-item{margin-bottom:7px}}",""]),t.exports=e},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,i){var n=i("428f"),r=i("5135"),o=i("e538"),s=i("9bf2").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});r(e,t)||s(e,t,{value:o.f(t)})}},7678:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".nze-bubble-chart__wrapper{position:absolute;box-sizing:border-box;z-index:1;display:inline-block;vertical-align:top;padding:0 20px;width:inherit;overflow:visible}.nze-bubble-chart__svg{height:780px;width:100%;overflow:visible}.labels{font-size:.85rem;text-transform:capitalize;font-family:Graphik;font-weight:600;fill:#2b2b2b}.emission-progress__value{font-weight:500!important;font-size:1.5rem!important}.emission-progress__label,.emission-progress__value{text-anchor:middle;font-family:Graphik;font-weight:400;fill:#717171;font-size:.8rem}.year__label{font-size:6rem;fill:#e3e3e3;opacity:.6;transform:rotate(90);font-weight:600}.left{text-align:end}.right{text-align:start}.middle{text-align:center}.milestoneLabel-container{overflow:visible;font-size:.75rem;line-height:.8rem;color:#2b2b2b}.milestoneLabel{width:140px;cursor:default}.sector__tooltip-container{overflow:visible}.sector__tooltip{background:#fff;color:#2b2b2b;text-align:center;font-size:.8rem;padding:8px 14px;box-sizing:border-box;line-height:1rem;min-width:170px}.sector__tooltip span{display:block;margin-top:5px;font-size:1rem;font-weight:500}@media screen and (max-width:1279px){.nze-bubble-chart__wrapper{position:relative;display:inline-block;width:100%}.sector__tooltip{background:#fff;color:#2b2b2b;font-size:.8rem;padding:8px 14px;box-sizing:border-box;line-height:1.2rem;width:100px}.sector__tooltip span{font-size:1rem;font-weight:500}}",""]),t.exports=e},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"78d6":function(t,e,i){"use strict";i("97de")},"7b0b":function(t,e,i){var n=i("1d80");t.exports=function(t){return Object(n(t))}},"7c73":function(t,e,i){var n,r=i("825a"),o=i("37e8"),s=i("7839"),a=i("d012"),l=i("1be4"),h=i("cc12"),c=i("f772"),u=">",d="<",p="prototype",f="script",g=c("IE_PROTO"),m=function(){},y=function(t){return d+f+u+t+d+"/"+f+u},v=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=h("iframe"),i="java"+f+":";return e.style.display="none",l.appendChild(e),e.src=String(i),t=e.contentWindow.document,t.open(),t.write(y("document.F=Object")),t.close(),t.F},x=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}x=n?v(n):b();var t=s.length;while(t--)delete x[p][s[t]];return x()};a[g]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(m[p]=r(t),i=new m,m[p]=null,i[g]=t):i=x(),void 0===e?i:o(i,e)}},"7da2":function(t,e,i){var n=i("5f25");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("499e").default;r("62c8d91e",n,!0,{sourceMap:!1,shadowMode:!1})},"7dd0":function(t,e,i){"use strict";var n=i("23e7"),r=i("9ed3"),o=i("e163"),s=i("d2bb"),a=i("d44e"),l=i("9112"),h=i("6eeb"),c=i("b622"),u=i("c430"),d=i("3f8c"),p=i("ae93"),f=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=c("iterator"),y="keys",v="values",b="entries",x=function(){return this};t.exports=function(t,e,i,c,p,w,_){r(i,e,c);var S,C,M,k=function(t){if(t===p&&E)return E;if(!g&&t in O)return O[t];switch(t){case y:return function(){return new i(this,t)};case v:return function(){return new i(this,t)};case b:return function(){return new i(this,t)}}return function(){return new i(this)}},T=e+" Iterator",A=!1,O=t.prototype,P=O[m]||O["@@iterator"]||p&&O[p],E=!g&&P||k(p),L="Array"==e&&O.entries||P;if(L&&(S=o(L.call(new t)),f!==Object.prototype&&S.next&&(u||o(S)===f||(s?s(S,f):"function"!=typeof S[m]&&l(S,m,x)),a(S,T,!0,!0),u&&(d[T]=x))),p==v&&P&&P.name!==v&&(A=!0,E=function(){return P.call(this)}),u&&!_||O[m]===E||l(O,m,E),d[e]=E,p)if(C={values:k(v),keys:w?E:k(y),entries:k(b)},_)for(M in C)(g||A||!(M in O))&&h(O,M,C[M]);else n({target:e,proto:!0,forced:g||A},C);return C}},"7eac":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".nze-sm-sm-step{display:flex;margin-bottom:70px}.nze-sm-sm-subtitle{display:block;color:#949494;font-size:1.5rem;font-weight:700}.nze-sm-sm-title{font-size:1.75rem;line-height:2rem;font-weight:700;width:calc(50vw - 54px)}.nze-sm-sm-text{font-size:1rem;width:calc(50vw - 54px);margin-left:28px;line-height:1.4rem}@media screen and (max-width:729px){.nze-sm-sm-step{align-items:center;flex-flow:column;align-items:flex-start}.nze-sm-sm-title{margin-bottom:18px;line-height:2rem;width:unset}.nze-sm-sm-text{width:100%;margin-left:0;text-align:left}}",""]),t.exports=e},"7f9a":function(t,e,i){var n=i("da84"),r=i("8925"),o=n.WeakMap;t.exports="function"===typeof o&&/native code/.test(r(o))},"825a":function(t,e,i){var n=i("861d");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,i){var n=i("d039");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,i){"use strict";var n=i("c04e"),r=i("9bf2"),o=i("5c6c");t.exports=function(t,e,i){var s=n(e);s in t?r.f(t,s,o(0,i)):t[s]=i}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,i){var n,r,o;(function(i,s){r=[],n=s,o="function"===typeof n?n.apply(e,r):n,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var i,n,r,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,a=o.exec(p.stack)||s.exec(p.stack),l=a&&a[1]||!1,h=a&&a[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");l===c&&(i=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(h-2)+"}[^<]*
',backgroundColor:e(i.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:i.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:i.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};l.chart.styledMode=!1;var h=new n(a(l.global,l.time));return{defaultOptions:l,defaultTime:h,getOptions:function(){return l},setOptions:function(e){return a(!0,l,e),(e.time||e.global)&&(t.time?t.time.update(a(l.global,l.time,e.global,e.time)):t.time=h),l}}})),e(i,"Core/Animation/Fx.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=t.parse,r=e.win,o=i.isNumber,s=i.objectEach;return function(){function t(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=this.now||0,n=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var r=0;r=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=a[this.prop]=!0;s(a,(function(t){!0!==t&&(l=!1)})),l&&r&&r.call(n),t=!1}else this.pos=i.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,i){function n(t,e){for(;t.lengthc[1]){var d=e+ +c[1];0<=d?(c[0]=(+c[0]).toExponential(d).split("e")[0],e=d):(c[0]=c[0].split(".")[0]||0,t=20>e?(c[0]*Math.pow(10,c[1])).toFixed(e):0,c[1]=0)}}else e=2;d=(Math.abs(c[1]?c[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e),h=String(l(d));var p=3t?"-":"")+(p?h.substr(0,p)+r:""),t=0>+c[1]&&!u?"0":t+h.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+r),e&&(t+=i+d.slice(-e)),c[1]&&0!==+t&&(t+="e"+c[1]),t}var n=t.defaultOptions,r=t.defaultTime,o=e.getNestedProperty,s=e.isNumber,a=e.pick,l=e.pInt;return{dateFormat:function(t,e,i){return r.dateFormat(t,e,i)},format:function(t,e,s){var a="{",l=!1,h=/f$/,c=/\.([0-9])/,u=n.lang,d=s&&s.time||r;s=s&&s.numberFormatter||i;for(var p=[];t;){var f=t.indexOf(a);if(-1===f)break;var g=t.slice(0,f);if(l){if(g=g.split(":"),a=o(g.shift()||"",e),g.length&&"number"===typeof a)if(g=g.join(":"),h.test(g)){var m=parseInt((g.match(c)||["","-1"])[1],10);null!==a&&(a=s(a,m,u.decimalPoint,-1u.width)&&(u={width:0,height:0})}else u=this.htmlGetBBox();if(n.isSVG&&(e=u.width,n=u.height,c&&(u.height=n={"11px,17":14,"13px,20":16}[o&&o.fontSize+","+Math.round(n)]||n),i&&(o=i*h,u.width=Math.abs(n*Math.sin(o))+Math.abs(e*Math.cos(o)),u.height=Math.abs(n*Math.cos(o))+Math.abs(e*Math.sin(o)))),p&&0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var n=this.shadows;if(n)for(var r=n.length;r--;)i.call(n[r],"height"===t?Math.max(e-(n[r].cutHeight||0),0):"d"===t?this.d:e,t,n[r])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,n=this.rotation,r=this.matrix,o=this.element,s=this.translateX||0,a=this.translateY||0;i&&(s+=this.width,a+=this.height),s=["translate("+s+","+a+")"],b(r)&&s.push("matrix("+r.join(",")+")"),i?s.push("rotate(90) scale(-1,1)"):n&&s.push("rotate("+n+" "+O(this.rotationOriginX,o.getAttribute("x"),0)+" "+O(this.rotationOriginY,o.getAttribute("y")||0)+")"),(b(t)||b(e))&&s.push("scale("+O(t,1)+" "+O(e,1)+")"),s.length&&o.setAttribute("transform",s.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,n=this.parentGroup,r=(n||i).element||i.box,o=this.element;i=r===i.box;var s,a=!1,l=this.added;if(b(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):b(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&n&&(n.handleZ=!0),e=r.childNodes,s=e.length-1;0<=s&&!a;s--){n=e[s],l=n.getAttribute("data-z-index");var h=!b(l);n!==o&&(0>t&&h&&!i&&!s?(r.insertBefore(o,e[s]),a=!0):(P(l)<=t||h&&(!b(t)||0<=t))&&(r.insertBefore(o,e[s+1]||null),a=!0))}a||(r.insertBefore(o,e[i?3:0]||null),a=!0)}return a},t}(),t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e){s(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=e.defined,o=e.extend,s=e.isNumber,a=e.merge,l=e.pick,h=e.removeEvent;return function(e){function c(t,n,r,o,s,a,l,h,u,d){var p=e.call(this)||this;if(p.paddingSetter=i,p.paddingLeftSetter=i,p.paddingRightSetter=i,p.init(t,"g"),p.textStr=n,p.x=r,p.y=o,p.anchorX=a,p.anchorY=l,p.baseline=u,p.className=d,"button"!==d&&p.addClass("highcharts-label"),d&&p.addClass("highcharts-"+d),p.text=t.text("",0,0,h).attr({zIndex:1}),"string"===typeof s){var f=/^url\((.*?)\)$/.test(s);(p.renderer.symbols[s]||f)&&(p.symbolKey=s)}return p.bBox=c.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||f,p.deferredAttr={},p.alignFactor=0,p}return n(c,e),c.prototype.alignSetter=function(t){t={left:0,center:.5,right:1}[t],t!==this.alignFactor&&(this.alignFactor=t,this.bBox&&s(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var i={},n=void 0;e=a(e),c.textProps.forEach((function(t){"undefined"!==typeof e[t]&&(i[t]=e[t],delete e[t])})),this.text.css(i),n="width"in i,"fontSize"in i||"fontWeight"in i?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){h(this.element,"mouseenter"),h(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=l(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.on=function(e,i){var n=this,r=n.text,o=r&&"SPAN"===r.element.tagName?r:void 0;if(o){var s=function(t){("mouseenter"===e||"mouseleave"===e)&&t.relatedTarget instanceof Element&&(n.element.compareDocumentPosition(t.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY||o.element.compareDocumentPosition(t.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||i.call(n.element,t)};o.on(e,s)}return t.prototype.on.call(n,e,s||i),n},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:r(t)?t:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,n=this.bBox=s(this.widthSetting)&&s(this.heightSetting)&&!this.textAlign||!r(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||n.height||0)+2*i,this.baselineOffset=i+Math.min(this.renderer.fontMetrics(t&&t.fontSize,this.text).b,n.height||1/0),this.needsBox&&(this.box||(t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),e.x=t,e.y=(this.baseline?-this.baselineOffset:0)+t,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(o(e,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,i=l(this.paddingLeft,this.padding);r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),i===t.x&&e===t.y||(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),"undefined"!==typeof e&&t.attr("y",e)),t.x=i,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=s(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=l(this.paddingLeft,t);return t=l(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)})),e(i,"Core/Renderer/SVG/TextBuilder.js",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/Renderer/HTML/AST.js"]],(function(t,e,i){var n=t.doc,r=t.SVG_NS,o=e.attr,s=e.isString,a=e.objectEach,l=e.pick;return function(){function t(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return t.prototype.buildSVG=function(){var t=this.svgElement,e=t.element,r=t.renderer,o=l(t.textStr,"").toString(),a=-1!==o.indexOf("<"),h=e.childNodes,c=h.length;r=this.width&&!t.added&&r.box;var u=//g,d=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(d!==t.textCache){for(t.textCache=d,delete t.actualWidth;c--;)e.removeChild(h[c]);a||this.ellipsis||this.width||-1!==o.indexOf(" ")&&(!this.noWrap||u.test(o))?""!==o&&(r&&r.appendChild(e),o=new i(o),this.modifyTree(o.nodes),o.addToDOM(t.element),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),r&&r.removeChild(e)):e.appendChild(n.createTextNode(this.unescapeEntities(o))),s(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},t.prototype.modifyDOM=function(){var t=this,e=this.svgElement,i=o(e.element,"x");[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),(function(e){e.nextSibling&&e.previousSibling&&o(e,{dy:t.getLineHeight(e.nextSibling),x:i})}));var s=this.width||0;if(s){var a=function(a,l){var h=a.textContent||"",c=h.replace(/([^\^])-/g,"$1- ").split(" "),u=!t.noWrap&&(1r){for(;u<=d;)p=Math.ceil((u+d)/2),i&&(s=o(i,p)),g=f(p,s&&s.length-1),u===d?u=d+1:g>r?d=p-1:u=p;0===d?t.textContent="":e&&d===e.length-1||(t.textContent=s||o(e||i,p))}i&&i.splice(0,p),a.actualWidth=g,a.rotation=h},t.prototype.unescapeEntities=function(t,e){return a(this.renderer.escapes,(function(i,n){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),n))})),t},t}()})),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/TextBuilder.js"],i["Core/Utilities.js"]],(function(t,e,i,n,r,o,s,a){var l,h=a.addEvent,c=a.attr,u=a.createElement,d=a.css,p=a.defined,f=a.destroyObjectProperties,g=a.extend,m=a.isArray,y=a.isNumber,v=a.isObject,b=a.isString,x=a.merge,w=a.pick,_=a.pInt,S=a.uniqueKey,C=e.charts,M=e.deg2rad,k=e.doc,T=e.isFirefox,A=e.isMS,O=e.isWebKit,P=e.noop,E=e.SVG_NS,L=e.symbolSizes,D=e.win;a=function(){function e(t,e,i,n,r,o,s){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,i,n,r,o,s)}return e.prototype.init=function(t,e,i,n,r,o,s){var a,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"});s||l.css(this.getStyle(n)),n=l.element,t.appendChild(n),c(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&c(n,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=n,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(k.createTextNode("Created with Highcharts 9.1.0")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),T&&t.getBoundingClientRect&&(e=function(){d(t,{left:0,top:0}),a=t.getBoundingClientRect(),d(t,{left:Math.ceil(a.left)-a.left+"px",top:Math.ceil(a.top)-a.top+"px"})},e(),this.unSubPixelFix=h(D,"resize",e))},e.prototype.definition=function(t){return new o([t]).addToDOM(this.defs.element)},e.prototype.getReferenceURL=function(){if((T||O)&&k.getElementsByTagName("base").length){if(!p(l)){var t=S();t=new o([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:t},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+t+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(k.body),d(t,{position:"fixed",top:0,left:0,zIndex:9e5});var e=k.elementFromPoint(6,6);l="hitme"===(e&&e.id),k.body.removeChild(t)}if(l)return D.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},e.prototype.getStyle=function(t){return this.style=g({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},e.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},e.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},e.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),f(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},e.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},e.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},e.prototype.buildText=function(t){new s(t).buildSVG()},e.prototype.getContrast=function(e){return e=t.parse(e).rgba,e[0]*=1,e[1]*=1.2,e[2]*=.5,459t?t+3:Math.round(1.2*t),{h:e,b:Math.round(.8*e),f:t}},e.prototype.rotCorr=function(t,e,i){var n=t;return e&&i&&(n=Math.max(n*Math.cos(e*M),4)),{x:-t/3*Math.sin(e*M),y:n}},e.prototype.pathToSegments=function(t){for(var e=[],i=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r":">","'":"'",'"':"""};var z=function(t,e,i,n,r){return r=r&&r.r||0,[["M",t+r,e],["L",t+i-r,e],["C",t+i,e,t+i,e,t+i,e+r],["L",t+i,e+n-r],["C",t+i,e+n,t+i,e+n,t+i-r,e+n],["L",t+r,e+n],["C",t,e+n,t,e+n,t,e+n-r],["L",t,e+r],["C",t,e,t,e,t+r,e]]};return P=function(t,e,i,n,r){return r&&r.r?z(t,e,i,n,r):[["M",t,e],["L",t+i,e],["L",t+i,e+n],["L",t,e+n],["Z"]]},a.prototype.symbols={circle:function(t,e,i,n){return this.arc(t+i/2,e+n/2,i/2,n/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},rect:P,square:P,triangle:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,i,n){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+n],["Z"]]},diamond:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n/2],["L",t+i/2,e+n],["L",t,e+n/2],["Z"]]},arc:function(t,e,i,n,r){var o=[];if(r){var s=r.start||0,a=w(r.r,i);i=w(r.r,n||i);var l=(r.end||0)-.001;n=r.innerR;var h=w(r.open,.001>Math.abs((r.end||0)-s-2*Math.PI)),c=Math.cos(s),u=Math.sin(s),d=Math.cos(l),f=Math.sin(l);s=w(r.longArc,.001>l-s-Math.PI?0:1),o.push(["M",t+a*c,e+i*u],["A",a,i,0,s,w(r.clockwise,1),t+a*d,e+i*f]),p(n)&&o.push(h?["M",t+n*d,e+n*f]:["L",t+n*d,e+n*f],["A",n,n,0,s,p(r.clockwise)?1-r.clockwise:0,t+n*c,e+n*u]),h||o.push(["Z"])}return o},callout:function(t,e,i,n,r){var o=Math.min(r&&r.r||0,i,n),s=o+6,a=r&&r.anchorX;r=r&&r.anchorY||0;var l=z(t,e,i,n,{r:o});return y(a)?(t+a>=i?r>e+s&&r=t+a?r>e+s&&rn&&a>t+s&&ar&&a>t+s&&athis.oldTextWidth)&&((f=this.textPxLength)||(a(e,{width:"",whiteSpace:c||"nowrap"}),f=e.offsetWidth),f=f>p),f&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)?(a(e,{width:p+"px",display:"block",whiteSpace:c||"normal"}),this.oldTextWidth=p,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,g!==this.cTT&&(p=t.fontMetrics(e.style.fontSize,e).b,!l(d)||d===(this.oldRotation||0)&&s===this.oldAlign||this.setSpanRotation(d,h,p),this.getSpanCorrection(!l(d)&&this.textPxLength||e.offsetWidth,p,h,d,s)),a(e,{left:r+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=g,this.oldRotation=d,this.oldAlign=s}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,i){var l={},h=r&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":o?"-webkit-transform":n?"MozTransform":s.opera?"-o-transform":void 0;h&&(l[h]=l.transform="rotate("+t+"deg)",l[h+(n?"Origin":"-origin")]=l.transformOrigin=100*e+"% "+i+"px",a(this.element,l))},getSpanCorrection:function(t,e,i){this.xCorr=-t*i,this.yCorr=-e}}),e})),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var r=n.attr,o=n.createElement,s=n.extend,a=n.pick;return s(i.prototype,{html:function(i,n,l){var h=this.createElement("span"),c=h.element,u=h.renderer,d=u.isSVG,p=function(t,i){["opacity","visibility"].forEach((function(n){t[n+"Setter"]=function(r,o,s){var a=t.div?t.div.style:i;e.prototype[n+"Setter"].call(this,r,o,s),a&&(a[o]=r)}})),t.addedSetters=!0};return h.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,a(e,"")),this.textStr=e,h.doTransform=!0)},d&&p(h,h.element.style),h.xSetter=h.ySetter=h.alignSetter=h.rotationSetter=function(t,e){"align"===e?h.alignValue=h.textAlign=t:h[e]=t,h.doTransform=!0},h.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},h.attr({text:i,x:Math.round(n),y:Math.round(l)}).css({position:"absolute"}),u.styledMode||h.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),c.style.whiteSpace="nowrap",h.css=h.htmlCss,d&&(h.add=function(t){var e=u.box.parentNode,i=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach((function(t){function a(e,i){t[i]=e,"translateX"===i?u.left=e+"px":u.top=e+"px",t.doTransform=!0}var l=r(t.element,"class"),c=t.styles||{};n=t.div=t.div||o("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:c.cursor,pointerEvents:c.pointerEvents},n||e);var u=n.style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(n),on:function(){return i[0].div&&h.on.apply({element:i[0].div,onEvents:h.onEvents},arguments),t},translateXSetter:a,translateYSetter:a}),t.addedSetters||p(t)}))}}else n=e;return n.appendChild(c),h.added=!0,h.alignOnAdd&&h.htmlUpdateTransform(),h}),h}}),i})),e(i,"Core/Axis/Tick.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=e.deg2rad,r=i.clamp,o=i.correctFloat,s=i.defined,a=i.destroyObjectProperties,l=i.extend,h=i.fireEvent,c=i.isNumber,u=i.merge,d=i.objectEach,p=i.pick;return i=function(){function e(t,e,i,n,r){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,h(this,"init"),i||n||this.addLabel()}return e.prototype.addLabel=function(){var e,i,n=this,r=n.axis,a=r.options,u=r.chart,d=r.categories,f=r.logarithmic,g=r.names,m=n.pos,y=p(n.options&&n.options.labels,a.labels),v=r.tickPositions,b=m===v[0],x=m===v[v.length-1],w=n.label,_=(!y.step||1===y.step)&&1===r.tickInterval;if(v=v.info,d=this.parameters.category||(d?p(d[m],g[m],m):m),f&&c(d)&&(d=o(f.lin2log(d))),r.dateTime&&v)var S=u.time.resolveDTLFormat(a.dateTimeLabelFormats[!a.grid&&v.higherRanks[m]||v.unitName]),C=S.main;n.isFirst=b,n.isLast=x;var M={axis:r,chart:u,dateTimeLabelFormat:C,isFirst:b,isLast:x,pos:m,tick:n,tickPositionInfo:v,value:d};h(this,"labelFormat",M);var k=function(e){return y.formatter?y.formatter.call(e,e):y.format?(e.text=r.defaultLabelFormatter.call(e),t.format(y.format,e,u)):r.defaultLabelFormatter.call(e,e)};a=k.call(M,M),(i=S&&S.list)&&(n.shortenLabel=function(){for(e=0;ec&&r-u*ds&&(l=Math.round((o-r)/Math.cos(c*n))):(o=r+(1-u)*d,r-u*ds&&(g=s-t.x+g*u,m=-1),g=Math.min(f,g),gg||e.autoRotation&&(h.styles||{}).width)&&(l=g)),l&&(this.shortenLabel?this.shortenLabel():(y.width=Math.floor(l)+"px",(i.style||{}).textOverflow||(y.textOverflow="ellipsis"),h.css(y)))},e.prototype.moveLabel=function(t,e){var i=this,n=i.label,r=!1,o=i.axis,s=o.reversed;if(n&&n.textStr===t?(i.movedLabel=n,r=!0,delete i.label):d(o.ticks,(function(e){r||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,r=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),!r&&(i.labelPos||n)){var a=i.labelPos||n.xy;n=o.horiz?s?0:o.width+o.left:a.x,o=o.horiz?a.y:s?o.width+o.left:0,i.movedLabel=i.createLabel({x:n,y:o},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,i){var n=this.axis,r=n.horiz,o=this.pos,s=p(this.tickmarkOffset,n.tickmarkOffset);o=this.getPosition(r,o,s,e),s=o.x;var a=o.y;n=r&&s===n.pos+n.len||!r&&a===n.pos?-1:1,r=p(i,this.label&&this.label.newOpacity,1),i=p(i,1),this.isActive=!0,this.renderGridLine(e,i,n),this.renderMark(o,i,n),this.renderLabel(o,e,r,t),this.isNew=!1,h(this,"afterRender")},e.prototype.renderGridLine=function(t,e,i){var n=this.axis,r=n.options,o=this.gridLine,s={},a=this.pos,l=this.type,h=p(this.tickmarkOffset,n.tickmarkOffset),c=n.chart.renderer,u=r.gridLineWidth,d=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(u=r.minorGridLineWidth,d=r.minorGridLineColor,f=r.minorGridLineDashStyle),o||(n.chart.styledMode||(s.stroke=d,s["stroke-width"]=u||0,s.dashstyle=f),l||(s.zIndex=1),t&&(e=0),this.gridLine=o=c.path().attr(s).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(n.gridGroup)),o&&(i=n.getPlotLinePath({value:a+h,lineWidth:o.strokeWidth()*i,force:"pass",old:t}))&&o[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},e.prototype.renderMark=function(t,e,i){var n=this.axis,r=n.options,o=n.chart.renderer,s=this.type,a=n.tickSize(s?s+"Tick":"tick"),l=this.mark,h=!l,c=t.x;t=t.y;var u=p(r["minor"!==s?"tickWidth":"minorTickWidth"],!s&&n.isXAxis?1:0);r=r["minor"!==s?"tickColor":"minorTickColor"],a&&(n.opposite&&(a[0]=-a[0]),h&&(this.mark=l=o.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||l.attr({stroke:r,"stroke-width":u})),l[h?"attr":"animate"]({d:this.getMarkPath(c,t,a[0],l.strokeWidth()*i,n.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,i,n){var r=this.axis,o=r.horiz,s=r.options,a=this.label,l=s.labels,h=l.step;r=p(this.tickmarkOffset,r.tickmarkOffset);var u=!0,d=t.x;t=t.y,a&&c(d)&&(a.xy=t=this.getLabelPosition(d,t,a,o,l,r,n,h),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?u=!1:!o||l.step||l.rotation||e||0===i||this.handleOverflow(t),h&&n%h&&(u=!1),u&&c(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(a.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var n=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:n,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}(),e.Tick=i,e.Tick})),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Options.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"]],(function(t,e,i,n,r,o,s){var a=t.animObject,l=r.defaultOptions,h=s.addEvent,c=s.arrayMax,u=s.arrayMin,d=s.clamp,p=s.correctFloat,f=s.defined,g=s.destroyObjectProperties,m=s.erase,y=s.error,v=s.extend,b=s.fireEvent,x=s.getMagnitude,w=s.isArray,_=s.isFunction,S=s.isNumber,C=s.isString,M=s.merge,k=s.normalizeTickInterval,T=s.objectEach,A=s.pick,O=s.relativeLength,P=s.removeEvent,E=s.splat,L=s.syncTimeout,D=i.deg2rad;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX,n=this;n.chart=t,n.horiz=t.inverted&&!n.isZAxis?!i:i,n.isXAxis=i,n.coll=n.coll||(i?"xAxis":"yAxis"),b(this,"init",{userOptions:e}),n.opposite=A(e.opposite,n.opposite),n.side=A(e.side,n.side,n.horiz?n.opposite?0:2:n.opposite?1:3),n.setOptions(e);var r=this.options,o=r.labels,s=r.type;n.userOptions=e,n.minPixelPadding=0,n.reversed=A(r.reversed,n.reversed),n.visible=r.visible,n.zoomEnabled=r.zoomEnabled,n.hasNames="category"===s||!0===r.categories,n.categories=r.categories||n.hasNames,n.names||(n.names=[],n.names.keys={}),n.plotLinesAndBandsGroups={},n.positiveValuesOnly=!!n.logarithmic,n.isLinked=f(r.linkedTo),n.ticks={},n.labelEdge=[],n.minorTicks={},n.plotLinesAndBands=[],n.alternateBands={},n.len=0,n.minRange=n.userMinRange=r.minRange||r.maxZoom,n.range=r.range,n.offset=r.offset||0,n.max=null,n.min=null,e=A(r.crosshair,E(t.options.tooltip.crosshairs)[i?0:1]),n.crosshair=!0===e?{}:e,e=n.options.events,-1===t.axes.indexOf(n)&&(i?t.axes.splice(t.xAxis.length,0,n):t.axes.push(n),t[n.coll].push(n)),n.series=n.series||[],t.inverted&&!n.isZAxis&&i&&"undefined"===typeof n.reversed&&(n.reversed=!0),n.labelRotation=S(o.rotation)?o.rotation:void 0,T(e,(function(t,e){_(t)&&h(n,e,t)})),b(this,"afterInit")},t.prototype.setOptions=function(e){this.options=M(t.defaultOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],M(l[this.coll],e)),b(this,"afterSetOptions",{userOptions:e})},t.prototype.defaultLabelFormatter=function(){var t=this.axis,e=S(this.value)?this.value:NaN,i=t.chart.time,n=this.dateTimeLabelFormat,r=l.lang,o=r.numericSymbols;r=r.numericSymbolMagnitude||1e3;var s=o&&o.length,a=t.logarithmic?Math.abs(e):t.tickInterval,h=this.chart.numberFormatter;if(t.categories)var c=""+this.value;else if(n)c=i.dateFormat(n,e);else if(s&&1e3<=a)for(;s--&&"undefined"===typeof c;)t=Math.pow(r,s+1),a>=t&&0===10*e%t&&null!==o[s]&&0!==e&&(c=h(e/t,-1)+o[s]);return"undefined"===typeof c&&(c=1e4<=Math.abs(e)?h(e,-1):h(e,-1,void 0,"")),c},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;b(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(n){if(n.visible||!i.options.chart.ignoreHiddenSeries){var r=n.options,o=r.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if(r=n.xData,r.length){r=e.logarithmic?r.filter(e.validatePositiveValue):r,t=n.getXExtremes(r);var s=t.min,a=t.max;S(s)||s instanceof Date||(r=r.filter(S),t=n.getXExtremes(r),s=t.min,a=t.max),r.length&&(e.dataMin=Math.min(A(e.dataMin,s),s),e.dataMax=Math.max(A(e.dataMax,a),a))}}else n=n.applyExtremes(),S(n.dataMin)&&(s=n.dataMin,e.dataMin=Math.min(A(e.dataMin,s),s)),S(n.dataMax)&&(a=n.dataMax,e.dataMax=Math.max(A(e.dataMax,a),a)),f(o)&&(e.threshold=o),(!r.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),b(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,n,r,o){var s=this.linkedParent||this,a=1,l=0,h=n&&s.old?s.old.transA:s.transA;n=n&&s.old?s.old.min:s.min;var c=s.minPixelPadding;return r=(s.isOrdinal||s.brokenAxis&&s.brokenAxis.hasBreaks||s.logarithmic&&r)&&s.lin2val,h||(h=s.transA),i&&(a*=-1,l=s.len),s.reversed&&(a*=-1,l-=a*(s.sector||s.len)),e?(t=(t*a+l-c)/h+n,r&&(t=s.lin2val(t))):(r&&(t=s.val2lin(t)),t=S(n)?a*(t-n)*h+l+a*c+(S(o)?h*o:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==m&&ti)&&(m?t=d(t,e,i):s=!0),t}var i,n,r,o,s,a=this,l=a.chart,h=a.left,c=a.top,u=t.old,p=t.value,f=t.translatedValue,g=t.lineWidth,m=t.force,y=u&&l.oldChartHeight||l.chartHeight,v=u&&l.oldChartWidth||l.chartWidth,x=a.transB;return t={value:p,lineWidth:g,old:u,force:m,acrossPanes:t.acrossPanes,translatedValue:f},b(this,"getPlotLinePath",t,(function(t){f=A(f,a.translate(p,null,null,u)),f=d(f,-1e5,1e5),i=r=Math.round(f+x),n=o=Math.round(y-f-x),S(f)?a.horiz?(n=c,o=y-a.bottom,i=r=e(i,h,h+a.width)):(i=h,r=v-a.right,n=o=e(n,c,c+a.height)):(s=!0,m=!1),t.path=s&&!m?null:l.renderer.crispLine([["M",i,n],["L",r,o]],g||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var n=p(Math.floor(e/t)*t);i=p(Math.ceil(i/t)*t);var r,o=[];if(p(n+t)===n&&(r=20),this.single)return[e];for(e=n;e<=i;){if(o.push(e),e=p(e+t,r),e===s)break;var s=e}return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?A(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,n=[],r=this.pointRangePadding||0,o=this.min-r;r=this.max+r;var s=r-o;if(s&&s/i=this.minRange,d=this.minRange,p=(d-s+o)/2;p=[o-p,A(r.min,o-p)],h&&(p[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),o=c(p),s=[o+d,A(r.max,o+d)],h&&(s[2]=a?a.log2lin(this.dataMax):this.dataMax),s=u(s),s-o=d)w=d,l=0;else if(e.dataMax<=d){var _=d;a=0}e.min=A(m,w,e.dataMin),e.max=A(v,_,e.dataMax)}n&&(e.positiveValuesOnly&&!t&&0>=Math.min(e.min,A(e.dataMin,e.min))&&y(10,1,i),e.min=p(n.log2lin(e.min),16),e.max=p(n.log2lin(e.max),16)),e.range&&f(e.max)&&(e.userMin=e.min=m=Math.max(e.dataMin,e.minFromRange()),e.userMax=v=e.max,e.range=null),b(e,"foundExtremes"),e.beforePadding&&e.beforePadding(),e.adjustForMinRange(),!(u||e.axisPointRange||e.stacking&&e.stacking.usePercentage||s)&&f(e.min)&&f(e.max)&&(i=e.max-e.min)&&(!f(m)&&l&&(e.min-=i*l),!f(v)&&a&&(e.max+=i*a)),S(e.userMin)||(S(r.softMin)&&r.softMine.max&&(e.max=v=r.softMax),S(r.ceiling)&&(e.max=Math.min(e.max,r.ceiling))),g&&f(e.dataMin)&&(d=d||0,!f(m)&&e.min=d?e.min=e.options.minRange?Math.min(d,e.max-e.minRange):d:!f(v)&&e.max>d&&e.dataMax<=d&&(e.max=e.options.minRange?Math.max(d,e.min+e.minRange):d)),S(e.min)&&S(e.max)&&!this.chart.polar&&e.min>e.max&&(f(e.options.min)?e.max=e.min:f(e.options.max)&&(e.min=e.max)),e.tickInterval=e.min===e.max||"undefined"===typeof e.min||"undefined"===typeof e.max?1:s&&e.linkedParent&&!h&&c===e.linkedParent.options.tickPixelInterval?h=e.linkedParent.tickInterval:A(h,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,u?1:(e.max-e.min)*c/Math.max(e.len,c)),o&&!t&&e.series.forEach((function(t){t.processData(e.min!==(e.old&&e.old.min)||e.max!==(e.old&&e.old.max))})),e.setAxisTranslation(),b(this,"initialAxisTranslation"),e.pointRange&&!h&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval)),t=A(r.minTickInterval,e.dateTime&&!e.series.some((function(t){return t.noSharedTooltip}))?e.closestPointRange:0),!h&&e.tickIntervale.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(e.tickInterval=e.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),n=t.tickPositioner,r=this.hasVerticalPanning(),o="colorAxis"===this.coll,s=(o||!r)&&t.startOnTick;r=(o||!r)&&t.endOnTick,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&f(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?i=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(i=[this.min,this.max],y(19,!1,this.chart)),i.length>this.len&&(i=[i[0],i.pop()],i[0]===i[1]&&(i.length=1)),this.tickPositions=i,n&&(n=n.apply(this,[this.min,this.max])))&&(this.tickPositions=i=n),this.paddedTicks=i.slice(0),this.trimTicks(i,s,r),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||n||this.adjustTickAmount()),b(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var n=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(b(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-o>t[0];)t.shift();if(i)this.max=r;else for(;this.max+oe&&(this.finalTickAmt=e,e=5),this.tickAmount=e},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,i=this.tickPositions,n=this.tickAmount,r=this.finalTickAmt,o=i&&i.length,s=A(this.threshold,this.softThreshold?0:null);if(this.hasData()&&S(this.min)&&S(this.max)){if(on&&(this.tickInterval*=2,this.setTickPositions());if(f(r)){for(e=t=i.length;e--;)(3===r&&1===e%2||2>=r&&0a&&(e=a)),f(r)&&(oa&&(o=a))),i.displayBtn="undefined"!==typeof e||"undefined"!==typeof o,i.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],n=this.horiz,r=this.width=Math.round(O(A(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),o=this.height=Math.round(O(A(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),s=this.top=Math.round(O(A(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(O(A(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-s,this.right=t.chartWidth-r-e,this.len=Math.max(n?r:o,0),this.pos=n?e:s},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?p(t.lin2log(this.min)):this.min,max:t?p(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:ee?t.align="right":195e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,i=e["tick"===t?"tickLength":"minorTickLength"],n=A(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0);if(n&&i){"inside"===e[t+"Position"]&&(i=-i);var r=[i,n]}return t={tickSize:r},b(this,"afterTickSize",t),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i=this.options.labels,n=this.horiz,r=this.tickInterval,o=r,s=this.len/(((this.categories?1:0)+this.max-this.min)/r),a=i.rotation,l=this.labelMetrics(),h=Number.MAX_VALUE,c=Math.max(this.max-this.min,0),u=function(t){var e=t/(s||1);return e=1c&&1/0!==t&&1/0!==s&&c&&(e=Math.ceil(c/r)),p(e*r)};if(n){if(!i.staggerLines&&!i.step)if(S(a))var d=[a];else s=i){e=u(Math.abs(l.h/Math.sin(D*i)));var n=e+Math.abs(i/360);nn.step)return n.rotation?0:(this.staggerLines||1)*this.len/r;if(!i){if(t=n.style.width,void 0!==t)return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,n=this.ticks,r=this.options.labels,o=r.style,s=this.horiz,a=this.getSlotWidth(),l=Math.max(1,Math.round(a-2*r.padding)),h={},c=this.labelMetrics(),u=o.textOverflow,d=0;if(C(r.rotation)||(h.rotation=r.rotation||0),i.forEach((function(t){t=n[t],t.movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>d&&(d=t.label.textPxLength)})),this.maxLabelLength=d,this.autoRotation)d>l&&d>c.h?h.rotation=this.labelRotation:this.labelRotation=0;else if(a){var p=l;if(!u){var f="clip";for(l=i.length;!s&&l--;){var g=i[l];(g=n[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}h.rotation&&(p=d>.5*t.chartHeight?.33*t.chartHeight:d,u||(f="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(h.align=this.labelAlign),i.forEach((function(t){var e=(t=n[t])&&t.label,i=o.width,r={};e&&(e.attr(h),t.shortenLabel?t.shortenLabel():p&&!i&&"nowrap"!==o.whiteSpace&&(p=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(i[t]||(i[t]=new o(this,t)),n&&i[t].isNew&&i[t].render(e,!0,-1),i[t].render(e))},t.prototype.render=function(){var t,e,n=this,r=n.chart,s=n.logarithmic,l=n.options,h=n.isLinked,c=n.tickPositions,u=n.axisTitle,d=n.ticks,p=n.minorTicks,f=n.alternateBands,g=l.stackLabels,m=l.alternateGridColor,y=n.tickmarkOffset,v=n.axisLine,x=n.showAxis,w=a(r.renderer.globalAnimation);n.labelEdge.length=0,n.overlap=!1,[d,p,f].forEach((function(t){T(t,(function(t){t.isActive=!1}))})),(n.hasData()||h)&&(n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t)})),c.length&&(c.forEach((function(t,e){n.renderTick(t,e)})),y&&(0===n.min||n.single)&&(d[-1]||(d[-1]=new o(n,-1,null,!0)),d[-1].render(-1))),m&&c.forEach((function(o,a){e="undefined"!==typeof c[a+1]?c[a+1]+y:n.max-y,0===a%2&&oe&&(!s||h<=i)&&"undefined"!==typeof h&&c.push(h),h>i&&(p=!0),h=g}}}else e=this.lin2log(e),i=this.lin2log(i),t=s?a.getMinorTickInterval():h.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,h.tickPixelInterval/(s?5:1)*(i-e)/((s?l/a.tickPositions.length:l)||1)),t=r(t,void 0,n(t)),c=a.getLinearTickPositions(t,e,i).map(this.log2lin),s||(this.minorAutoInterval=t/5);return s||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();return e=function(){function t(){}return t.compose=function(t){t.keepProps.push("logarithmic"),i(t,"init",(function(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new s(this))})),i(t,"afterInit",(function(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}))},t}(),e.compose(t),e})),e(i,"Core/Axis/PlotLineOrBand.js",[i["Core/Axis/Axis.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var r=n.arrayMax,o=n.arrayMin,s=n.defined,a=n.destroyObjectProperties,l=n.erase,h=n.extend,c=n.fireEvent,u=n.isNumber,d=n.merge,p=n.objectEach,f=n.pick;return n=function(){function t(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return t.prototype.render=function(){c(this,"render");var t=this,e=t.axis,n=e.horiz,r=e.logarithmic,o=t.options,a=o.label,l=t.label,h=o.to,u=o.from,g=o.value,m=s(u)&&s(h),y=s(g),v=t.svgElem,b=!v,x=[],w=o.color,_=f(o.zIndex,0),S=o.events;x={class:"highcharts-plot-"+(m?"band ":"line ")+(o.className||"")};var C={},M=e.chart.renderer,k=m?"bands":"lines";if(r&&(u=r.log2lin(u),h=r.log2lin(h),g=r.log2lin(g)),e.chart.styledMode||(y?(x.stroke=w||i.neutralColor40,x["stroke-width"]=f(o.width,1),o.dashStyle&&(x.dashstyle=o.dashStyle)):m&&(x.fill=w||i.highlightColor10,o.borderWidth&&(x.stroke=o.borderColor,x["stroke-width"]=o.borderWidth))),C.zIndex=_,k+="-"+_,(r=e.plotLinesAndBandsGroups[k])||(e.plotLinesAndBandsGroups[k]=r=M.g("plot-"+k).attr(C).add()),b&&(t.svgElem=v=M.path().attr(x).add(r)),y)x=e.getPlotLinePath({value:g,lineWidth:v.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!m)return;x=e.getPlotBandPath(u,h,o)}return!t.eventsAdded&&S&&(p(S,(function(e,i){v.on(i,(function(e){S[i].apply(t,[e])}))})),t.eventsAdded=!0),(b||!v.d)&&x&&x.length?v.attr({d:x}):v&&(x?(v.show(!0),v.animate({d:x})):v.d&&(v.hide(),l&&(t.label=l=l.destroy()))),a&&(s(a.text)||s(a.formatter))&&x&&x.length&&0this.max&&e>this.max,i&&n){if(t){var a=i.toString()===n.toString();s=0}for(t=0;tt){l=a;break}if(s[l]&&o.substr(s[l])!=="01-01 00:00:00.000".substr(s[l]))break;"week"!==l&&(a=l)}if(l)var h=r.resolveDTLFormat(n[l]).main;return h},t.prototype.getLabel=function(){var t,i=this,n=this.chart.renderer,r=this.chart.styledMode,o=this.options,s="tooltip"+(l(o.className)?" "+o.className:""),h=o.style&&o.style.pointerEvents||(!this.followPointer&&o.stickOnContact?"auto":"none"),c=function(){i.inContact=!0},u=function(){var t=i.chart.hoverSeries;i.inContact=!1,t&&t.onMouseOut&&t.onMouseOut()};if(!this.label){if(this.outside){var d=this.chart.options.chart.style;this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",a(t,{position:"absolute",top:"1px",pointerEvents:h,zIndex:Math.max(this.options.style&&this.options.style.zIndex||0,(d&&d.zIndex||0)+3)}),e.doc.body.appendChild(t),this.renderer=n=new e.Renderer(t,0,0,d,void 0,void 0,n.styledMode)}if(this.split?this.label=n.g(s):(this.label=n.label("",0,0,o.shape||"callout",null,null,o.useHTML,null,s).attr({padding:o.padding,r:o.borderRadius}),r||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:h}).shadow(o.shadow)),r&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index)),i.outside&&!i.split){var p=this.label,f=p.xSetter,g=p.ySetter;p.xSetter=function(e){f.call(p,i.distance),t.style.left=e+"px"},p.ySetter=function(e){g.call(p,i.distance),t.style.top=e+"px"}}this.label.on("mouseenter",c).on("mouseleave",u).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,i){var n,r=this.chart,s=this.distance,a={},l=r.inverted&&i.h||0,h=this.outside,c=h?o.documentElement.clientWidth-2*s:r.chartWidth,u=h?Math.max(o.body.scrollHeight,o.documentElement.scrollHeight,o.body.offsetHeight,o.documentElement.offsetHeight,o.documentElement.clientHeight):r.chartHeight,d=r.pointer.getChartPosition(),p=function(n){var o="x"===n;return[n,o?c:u,o?t:e].concat(h?[o?t*d.scaleX:e*d.scaleY,o?d.left-s+(i.plotX+r.plotLeft)*d.scaleX:d.top-s+(i.plotY+r.plotTop)*d.scaleY,0,o?c:u]:[o?t:e,o?i.plotX+r.plotLeft:i.plotY+r.plotTop,o?r.plotLeft:r.plotTop,o?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},f=p("y"),g=p("x"),y=!this.followPointer&&m(i.ttBelow,!r.inverted===!!i.negative),v=function(t,e,i,n,r,o,c){var u=h?"y"===t?s*d.scaleY:s*d.scaleX:s,p=(i-n)/2,f=nm-l?m:m-l);else{if(!g)return!1;a[t]=Math.max(o,r+l+i>e?r:r+l)}},b=function(t,e,i,n,r){var o;return re-s?o=!1:a[t]=re-n/2?e-n-2:r-i/2,o},x=function(t){var e=f;f=g,g=e,n=t},w=function(){!1!==v.apply(0,f)?!1!==b.apply(0,g)||n||(x(!0),w()):n?a.x=a.y=0:(x(!0),w())};return(r.inverted||1e}))&&(t=t.map((function(t){var e=r(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return c(t,{target:e.y,x:e.x})}))),a.cleanSplit(),e.distribute(t,z);var I=E,R=E;t.forEach((function(t){var e=t.x,i=t.boxWidth;t=t.isHeader,t||(a.outside&&E+eR&&(R=E+e))})),t.forEach((function(t){var e=t.x,i=t.anchorX,n=t.pos,r=t.point.isHeader;if(n={visibility:"undefined"===typeof n?"hidden":"inherit",x:e,y:n+L,anchorX:i,anchorY:t.anchorY},a.outside&&ei[0]?Math.max(Math.abs(i[0]),r.width-i[0]):Math.max(Math.abs(i[0]),r.width),n.height=0>i[1]?Math.max(Math.abs(i[1]),r.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),r.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=e?"footer":"header",n=t.series,o=n.tooltipOptions,s=o.xDateFormat,a=n.xAxis,l=a&&"datetime"===a.options.type&&p(t.key),h=o[i+"Format"];return e={isFooter:e,labelConfig:t},u(this,"headerFormatter",e,(function(e){l&&!s&&(s=this.getXDateFormat(t,o,a)),l&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){h=h.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(h=this.styledModeFormat(h)),e.text=r(h,{point:t,series:n},this.chart)})),e.text},t.prototype.update=function(t){this.destroy(),g(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,g(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,i=e.pointer,n=this.getLabel(),r=t.plotX+e.plotLeft;if(e=t.plotY+e.plotTop,i=i.getChartPosition(),t=(this.options.positioner||this.getPosition).call(this,n.width,n.height,t),this.outside){var o=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(n.width+o,n.height+o,!1),1===i.scaleX&&1===i.scaleY||(a(this.container,{transform:"scale("+i.scaleX+", "+i.scaleY+")"}),r*=i.scaleX,e*=i.scaleY),r+=i.left-t.x,e+=i.top-t.y}this.move(Math.round(t.x),Math.round(t.y||0),r,e)},t}(),e.Tooltip=t,e.Tooltip})),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],(function(t,e,i,n,r){var o=t.parse,s=e.charts,a=e.noop,l=r.addEvent,h=r.attr,c=r.css,u=r.defined,d=r.extend,p=r.find,f=r.fireEvent,g=r.isNumber,m=r.isObject,y=r.objectEach,v=r.offset,b=r.pick,x=r.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach((function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var t=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),y(t,(function(e,i){t[i]=void 0}))},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,r=t.chartX,s=t.chartY,a=this.zoomHor,l=this.zoomVert,h=e.plotLeft,c=e.plotTop,u=e.plotWidth,d=e.plotHeight,p=this.selectionMarker,f=this.mouseDownX||0,g=this.mouseDownY||0,y=m(n.panning)?n.panning&&n.panning.enabled:n.panning,v=n.panKey&&t[n.panKey+"Key"];if((!p||!p.touch)&&(rh+u&&(r=h+u),sc+d&&(s=c+d),this.hasDragged=Math.sqrt(Math.pow(f-r,2)+Math.pow(g-s,2)),10t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,r),(r=m(t,!0)&&t.series)&&!(r=!m(n,!0))){r=n.distX-t.distX;var o=n.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);r=0<(0!==r&&e?r:0!==o?o:0!==s?s:n.series.index>t.series.index?-1:1)}r&&(n=t)})),n)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,n=i.xAxis;i=i.yAxis;var r=t.shapeArgs;if(n&&i){var o=b(t.clientX,t.plotX),s=t.plotY||0;return t.isNode&&r&&g(r.x)&&g(r.y)&&(o=r.x,s=r.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:s+i.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var i=t.offsetWidth;return t=t.offsetHeight,2v.max&&(e=v.max-l,C=!0);C?(w-=.8*(w-s[u][0]),"number"===typeof S&&(S-=.8*(S-s[u][1])),i()):s[u]=[w,S],y||(o[u]=h-g,o[f]=l),o=y?1/m:m,r[f]=l,r[u]=e,n[y?t?"scaleY":"scaleX":"scale"+d]=m,n["translate"+d]=o*g+(w-o*x)},t.prototype.reset=function(t,e){var i=this.chart,n=i.hoverSeries,r=i.hoverPoint,o=i.hoverPoints,s=i.tooltip,a=s&&s.shared?o:r;t&&a&&x(a).forEach((function(e){e.series.isCartesian&&"undefined"===typeof e.plotX&&(t=!1)})),t?s&&a&&x(a).length&&(s.refresh(a),s.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):r&&(r.setState(r.state,!0),i.axes.forEach((function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),o&&o.forEach((function(t){t.setState()})),n&&n.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(t,i){var n=this.chart,r=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,o=!!r&&r.shared,a=i||n.hoverPoint,h=a&&a.series||n.hoverSeries;h=this.getHoverData(a,h,n.series,(!t||"touchmove"!==t.type)&&(!!i||h&&h.directTouch&&this.isDirectTouch),o,t),a=h.hoverPoint;var c=h.hoverPoints;if(i=(h=h.hoverSeries)&&h.tooltipOptions.followPointer&&!h.tooltipOptions.split,o=o&&h&&!h.noSharedTooltip,a&&(a!==n.hoverPoint||r&&r.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===c.indexOf(t)&&t.setState()})),n.hoverSeries!==h&&h.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!a.series)return;n.hoverPoints=c,n.hoverPoint=a,a.firePointEvent("mouseOver"),r&&r.refresh(o?c:a,t)}else i&&r&&!r.isHidden&&(a=r.getAnchor([{}],t),n.isInsidePlot(a[0],a[1],{visiblePlotOnly:!0})&&r.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=l(n.container.ownerDocument,"mousemove",(function(t){var i=s[e.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(t)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(e){var i,r=b((e.crosshair||{}).snap,!0);r&&((i=n.hoverPoint)&&i.series[e.coll]===e||(i=p(c,(function(t){return t.series[e.coll]===e})))),i||!r?e.drawCrosshair(t,i):e.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var i,n=this.chart;n.series.forEach((function(r){i=t||r.getPlotBox(),r.xAxis&&r.xAxis.zoomEnabled&&r.group&&(r.group.attr(i),r.markerGroup&&(r.markerGroup.attr(i),r.markerGroup.clip(e?n.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(i))})),n.clipRect.attr(e||n.clipBox)},t.prototype.setDOMEvents=function(){var t=this,i=this.chart.container,n=i.ownerDocument;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(i,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(l(i,"mouseleave",this.onContainerMouseLeave.bind(this))),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=l(n,"mouseup",this.onDocumentMouseUp.bind(this)));for(var r=this.chart.renderTo.parentElement;r&&"BODY"!==r.tagName;)this.eventsToUnbind.push(l(r,"scroll",(function(){delete t.chartPosition}))),r=r.parentElement;e.hasTouch&&(this.eventsToUnbind.push(l(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(l(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=l(n,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var t=this.chart,i=e.charts[b(e.hoverChartIndex,-1)];i&&i!==t&&i.pointer.onContainerMouseLeave({relatedTarget:!0}),i&&i.mouseIsDown||(e.hoverChartIndex=t.index)},t.prototype.touch=function(t,e){var i=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type){e=this.pinchDown;var n=!!e[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))}b(n,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart,n=i.zoomType||"";e=e.inverted,/touch/.test(t.type)&&(n=b(i.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=n=/y/.test(n),this.zoomHor=t&&!e||n&&e,this.zoomVert=n&&!e||t&&e,this.hasZoom=t||n},t}(),e.Pointer=t})),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],(function(t,e,i){function n(){var t=[];return t.item=function(t){return this[t]},u(p,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function r(e,i,r,o){"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!s[t.hoverChartIndex]||(o(e),o=s[t.hoverChartIndex].pointer,o[i]({type:r,target:e.currentTarget,preventDefault:l,touches:n()}))}var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.charts,a=t.doc,l=t.noop,h=i.addEvent,c=i.css,u=i.objectEach,d=i.removeEvent,p={},f=!!t.win.PointerEvent;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.batchMSEvents=function(t){t(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},e.prototype.destroy=function(){this.batchMSEvents(d),t.prototype.destroy.call(this)},e.prototype.init=function(e,i){t.prototype.init.call(this,e,i),this.hasZoom&&c(e.container,{"-ms-touch-action":"none","touch-action":"none"})},e.prototype.onContainerPointerDown=function(t){r(t,"onContainerTouchStart","touchstart",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},e.prototype.onContainerPointerMove=function(t){r(t,"onContainerTouchMove","touchmove",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY},p[t.pointerId].target||(p[t.pointerId].target=t.currentTarget)}))},e.prototype.onDocumentPointerUp=function(t){r(t,"onDocumentTouchEnd","touchend",(function(t){delete p[t.pointerId]}))},e.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(h)},e}(e)})),e(i,"Core/Series/Point.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Options.js"],i["Core/Utilities.js"]],(function(t,e,i,n,r,o){var s=e.animObject,a=i.format,l=r.defaultOptions,h=o.addEvent,c=o.defined,u=o.erase,d=o.extend,p=o.fireEvent,f=o.getNestedProperty,g=o.isArray,m=o.isFunction,y=o.isNumber,v=o.isObject,b=o.merge,x=o.objectEach,w=o.pick,_=o.syncTimeout,S=o.removeEvent,C=o.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t,e=this,i={x:e.startXPos,opacity:0},n=e.getGraphicalProps();n.singular.forEach((function(n){t="dataLabel"===n,e[n]=e[n].animate(t?{x:e[n].startXPos,y:e[n].startYPos,opacity:0}:i)})),n.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(d({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,i){var n=this.series,r=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),d(this,t),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=e.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=w(this.isValid&&!this.isValid(),null===this.x||!y(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof i&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),"undefined"===typeof this.x&&n&&(this.x="undefined"===typeof i?n.autoIncrement(this):i),this},e.prototype.destroy=function(){function t(){for(r in(e.graphic||e.dataLabel||e.dataLabels)&&(S(e),e.destroyElements()),e)e[r]=null}var e=this,i=e.series,n=i.chart;i=i.options.dataSorting;var r,o=n.hoverPoints,a=s(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),o&&(e.setState(),u(o,e),o.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),_(t,a.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;t=e.getGraphicalProps(t),t.singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,i){var n=this,r=this.series.options;(r.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&r.allowPointSelect&&(i=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),p(n,t,e,i)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,i=this,n=[],r={singular:[],plural:[]};for(t=t||{graphic:1,dataLabel:1},t.graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var o=n[e];i[o]&&r.singular.push(o)}return["dataLabel","connector"].forEach((function(e){var n=e+"s";t[e]&&i[n]&&r.plural.push(n)})),r},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?f(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,n=0;for(i=e[n];this[t]>=i.value;)i=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=c(this.id)?this.id:C(),this.resolveColor(),t.chart.pointCount++,p(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var i={},n=this.series,r=n.options.keys,o=r||n.pointArrayMap||["y"],s=o.length,a=0,l=0;if(y(t)||null===t)i[o[0]]=t;else if(g(t))for(!r&&t.length>s&&(n=typeof t[0],"string"===n?i.name=t[0]:"number"===n&&(i.x=t[0]),a++);ln-6&&sl?this.maxItemWidth:t.itemWidth,n&&this.itemX-i+e>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=s+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=s+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var i=e&&e.options;e&&v(i.showInLegend,!d(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))})),g(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,n=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,s){o.test(r)&&!d(t[s])&&(i[l[s]]=Math.max(i[l[s]],i.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*n[s%2?"x":"y"]+v(n.margin,12)+e[s]+(i.titleOffset[s]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(i){var r,o=n;if(i.yAxis){i.xAxis.options.reversed&&(o=!o),i.points&&(r=f(o?i.points:i.points.slice(0).reverse(),(function(t){return m(t.plotY)}))),o=this.itemMarginTop+i.legendItem.getBBox().height+this.itemMarginBottom;var s=i.yAxis.top-t.plotTop;i.visible?(r=r?r.plotY:i.yAxis.height,r+=s-.3*o):r=s+i.yAxis.height,e.push({target:r,size:o,item:i})}}),this),i.distribute(e,t.plotHeight),e.forEach((function(e){e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.group,n=this.box,r=this.options,o=this.padding;this.itemX=o,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=b(r.width,t.spacingBox.width-o);var s=t.spacingBox.width-2*o-r.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,i||(this.group=i=e.g("legend").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(i),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle();var a=this.getAllItems();x(a,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),r.reversed&&a.reverse(),this.allItems=a,this.display=s=!!a.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,a.forEach(this.renderItem,this),a.forEach(this.layoutItem,this),a=(this.widthOption||this.offsetWidth)+o;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=o,n||(this.box=n=e.rect().addClass("highcharts-legend-box").attr({r:r.borderRadius}).add(i),n.isNew=!0),t.styledMode||n.attr({stroke:r.borderColor,"stroke-width":r.borderWidth||0,fill:r.backgroundColor||"none"}).shadow(r.shadow),0o&&!1!==u.enabled?(this.clipHeight=a=Math.max(o-20-this.titleHeight-s,0),this.currentPage=v(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,e){var i=t._legendItemPos[1],n=Math.round(t.legendItem.getBBox().height),r=g.length;(!r||i-g[r-1]>a&&(l||i)!==g[r-1])&&(g.push(l||i),r++),t.pageIx=r-1,l&&(m[e-1].pageIx=r-1),e===m.length-1&&i+n-g[r-1]>a&&i!==l&&(g.push(i),t.pageIx=r),i!==l&&(l=i)})),c||(c=e.clipRect=n.clipRect(0,s,9999,0),e.contentGroup.clip(c)),y(a),f||(this.nav=f=n.g().attr({zIndex:1}).add(this.group),this.up=n.symbol("triangle",0,0,p,p).add(f),b("upTracker").on("click",(function(){e.scroll(-1,d)})),this.pager=n.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(u.style),this.pager.add(f),this.down=n.symbol("triangle-down",0,0,p,p).add(f),b("downTracker").on("click",(function(){e.scroll(1,d)}))),e.scroll(0),t=o):f&&(y(),this.nav=f.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,n=this.chart,r=this.pages,a=r.length,l=this.currentPage+t;t=this.clipHeight;var h=this.options.navigation,c=this.pager,u=this.padding;l>a&&(l=a),0=Math.max(h+o,u.pos)&&a<=Math.min(h+o+r.width,u.pos+u.len)||(t.isInsidePlot=!1)}return!i.ignoreY&&t.isInsidePlot&&(n=c&&(n?c.xAxis:c.yAxis)||{pos:s,len:1/0},i=i.paneCoordinates?n.pos+e:s+e,i>=Math.max(l+s,n.pos)&&i<=Math.min(l+s+r.height,n.pos+n.len)||(t.isInsidePlot=!1)),z(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){z(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,n=this.pointer,r=this.legend,o=this.userOptions.legend,s=this.isDirtyLegend,a=this.isDirtyBox,l=this.renderer,h=l.isHidden(),c=[];for(this.setResponsive&&this.setResponsive(!1),g(!!this.hasRendered&&t,this),h&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var u=i[t];if(u.options.stacking||u.options.centerInCategory){var d=!0;if(u.isDirty){var p=!0;break}}}if(p)for(t=i.length;t--;)u=i[t],u.options.stacking&&(u.isDirty=!0);i.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"===typeof t.updateTotals&&t.updateTotals(),s=!0):o&&(o.labelFormatter||o.labelFormat)&&(s=!0)),t.isDirtyData&&z(t,"updatedData")})),s&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),d&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(a=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,c.push((function(){z(t,"afterSetExtremes",L(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(a||d)&&t.redraw()})),a&&this.drawChartBox(),z(this,"predraw"),i.forEach((function(t){(a||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),n&&n.reset(!0),l.draw(),z(this,"redraw"),z(this,"render"),h&&this.temporaryDisplay(!0),c.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}var i,n=this.series,r=D(this.axes,e)||D(this.series,e);for(i=0;!r&&i=a&&o<=l||h||!A(o))&&(c=!0),n[h?"zoomX":"zoomY"]&&c&&(e=s.zoom(t.min,t.max),s.displayBtn&&(r=!0))}));var s=i.resetZoomButton;r&&!s?i.showResetZoom():!r&&B(s)&&(i.resetZoomButton=s.destroy()),e&&i.redraw(H(i.options.chart.animation,t&&t.animation,100>i.pointCount))},t.prototype.pan=function(t,e){var i,n=this,r=n.hoverPoints,o=n.options.chart,s=n.options.mapNavigation&&n.options.mapNavigation.enabled;e="object"===typeof e?e:{enabled:e,type:"x"},o&&o.panning&&(o.panning=e);var a=e.type;z(this,"pan",{originalEvent:t},(function(){r&&r.forEach((function(t){t.setState()}));var e=[1];"xy"===a?e=[1,0]:"y"===a&&(e=[0]),e.forEach((function(e){var r=n[e?"xAxis":"yAxis"][0],o=r.horiz,l=t[o?"chartX":"chartY"];o=o?"mouseDownX":"mouseDownY";var h=n[o],c=(r.pointRange||0)/2,u=r.reversed&&!n.inverted||!r.reversed&&n.inverted?-1:1,d=r.getExtremes(),p=r.toValue(h-l,!0)+c*u;u=r.toValue(h+r.len-l,!0)-c*u;var f=u

=e&&p<=c&&(r.setExtremes(h,p,!1,!1,{trigger:"pan"}),n.resetZoomButton||s||h===e||p===c||!a.match("y")||(n.showResetZoom(),r.displayBtn=!1),i=!0),n[o]=l)})),i&&n.redraw(!1),T(n.container,{cursor:"move"})}))},t}();return L(K.prototype,{callbacks:[],collectionsWithInit:{xAxis:[K.prototype.addAxis,[!0]],yAxis:[K.prototype.addAxis,[!1]],series:[K.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),n.chart=function(t,e,i){return new K(t,e,i)},n.Chart=K,K})),e(i,"Mixins/LegendSymbol.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.merge,n=e.pick;return t.LegendSymbolMixin={drawRectangle:function(t,e){var i=t.symbolHeight,r=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(r?(t.symbolWidth-i)/2:0,t.baseline-i+1,r?i:t.symbolWidth,i,n(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e=this.options,r=e.marker,o=t.symbolWidth,s=t.symbolHeight,a=s/2,l=this.chart.renderer,h=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={};this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=l.path([["M",0,t],["L",o,t]]).addClass("highcharts-graph").attr(c).add(h),r&&!1!==r.enabled&&o&&(e=Math.min(n(r.radius,a),a),0===this.symbol.indexOf("url")&&(r=i(r,{width:s,height:s}),e=0),this.legendSymbol=r=l.symbol(this.symbol,o/2-e,t-e,2*e,2*e,r).addClass("highcharts-point").add(h),r.isMarker=!0)}}})),e(i,"Core/Series/Series.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Options.js"],i["Core/Color/Palette.js"],i["Core/Series/Point.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i,n,r,o,s,a,l){var h=t.animObject,c=t.setAnimation,u=e.hasTouch,d=e.svg,p=e.win,f=n.defaultOptions,g=s.seriesTypes,m=l.addEvent,y=l.arrayMax,v=l.arrayMin,b=l.clamp,x=l.cleanRecursively,w=l.correctFloat,_=l.defined,S=l.erase,C=l.error,M=l.extend,k=l.find,T=l.fireEvent,A=l.getNestedProperty,O=l.isArray,P=l.isFunction,E=l.isNumber,L=l.isString,D=l.merge,z=l.objectEach,I=l.pick,R=l.removeEvent,N=l.splat,j=l.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){T(this,"init",{options:e});var i,n=this,r=t.series;this.eventOptions=this.eventOptions||{},this.eventsToUnbind=[],n.chart=t,n.options=n.setOptions(e);var o=n.options;n.linkedSeries=[],n.bindAxes(),M(n,{name:o.name,state:"",visible:!1!==o.visible,selected:!0===o.selected}),e=o.events,z(e,(function(t,e){P(t)&&n.eventOptions[e]!==t&&(P(n.eventOptions[e])&&R(n,e,n.eventOptions[e]),n.eventOptions[e]=t,m(n,e,t))})),(e&&e.click||o.point&&o.point.events&&o.point.events.click||o.allowPointSelect)&&(t.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(t){n[t+"Data"]||(n[t+"Data"]=[])})),n.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(i=r[r.length-1]),n._i=I(i&&i._i,-1)+1,n.opacity=n.options.opacity,t.orderSeries(this.insert(r)),o.dataSorting&&o.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(o.data,!1),T(this,"afterInit")},t.prototype.is=function(t){return g[t]&&this instanceof g[t]},t.prototype.insert=function(t){var e,i=this.options.index;if(E(i)){for(e=t.length;e--;)if(i>=I(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return I(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,i=e.options,n=e.chart;T(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(r){var o=0;n[r].forEach((function(n){t=n.options,(i[r]===o&&!t.isInternal||"undefined"!==typeof i[r]&&i[r]===t.id||"undefined"===typeof i[r]&&0===t.index)&&(e.insert(n.series),e[r]=n,n.isDirty=!0),t.isInternal||o++})),e[r]||e.optionalAxis===r||C(18,!0,n)}))})),T(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var i=t.series,n=arguments,r=E(e)?function(n){var r="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=r}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(n,2))};i.parallelArrays.forEach(r)},t.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0=this.cropStart?h-this.cropStart:h),!i&&o[h]&&o[h].touched&&(h=void 0),h},t.prototype.updateData=function(t,e){var i,n,r,o=this.options,s=o.dataSorting,a=this.points,l=[],h=this.requireSorting,c=t.length===a.length,u=!0;if(this.xIncrement=null,t.forEach((function(t,e){var n=_(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},u=n.x;n.id||E(u)?(u=this.findPointIndex(n,r),-1===u||"undefined"===typeof u?l.push(t):a[u]&&t!==o.data[u]?(a[u].update(t,!1,null,!1),a[u].touched=!0,h&&(r=u+1)):a[u]&&(a[u].touched=!0),(!c||e!==u||s&&s.enabled||this.hasDerivedData)&&(i=!0)):l.push(t)}),this),i)for(t=a.length;t--;)(n=a[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!c||s&&s.enabled?u=!1:(t.forEach((function(t,e){a[e].update&&t!==a[e].y&&a[e].update(t,!1,null,!1)})),l.length=0);return a.forEach((function(t){t&&(t.touched=!1)})),!!u&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,i,n){var r,o=this,s=o.points,a=s&&s.length||0,l=o.options,h=o.chart,c=l.dataSorting,u=null,d=o.xAxis;u=l.turboThreshold;var p,f=this.xData,g=this.yData,m=(r=o.pointArrayMap)&&r.length,y=l.keys,v=0,b=1;if(t=t||[],r=t.length,e=I(e,!0),c&&c.enabled&&(t=this.sortData(t)),!1!==n&&r&&a&&!o.cropped&&!o.hasGroupedData&&o.visible&&!o.isSeriesBoosting&&(p=this.updateData(t,i)),!p){if(o.xIncrement=null,o.colorCounter=0,this.parallelArrays.forEach((function(t){o[t+"Data"].length=0})),u&&r>u)if(u=o.getFirstValidPoint(t),E(u))for(i=0;it?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var i=e.options,r=i.data;i.dataSorting&&i.dataSorting.enabled||!r||(r.forEach((function(i,o){r[o]=n(e,i),t[o]&&(r[o].x=t[o].x,r[o].index=o)})),e.setData(r,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xData,i=this.yData,n=e.length,r=0,o=this.xAxis,s=this.options,a=s.cropThreshold,l=t||this.getExtremesFromAll||s.getExtremesFromAll,h=this.isCartesian;t=o&&o.val2lin,s=!(!o||!o.logarithmic);var c=this.requireSorting;if(o){o=o.getExtremes();var u=o.min,d=o.max}if(h&&this.sorted&&!l&&(!a||n>a||this.forceCrop))if(e[n-1]d)e=[],i=[];else if(this.yData&&(e[0]d)){r=this.cropData(this.xData,this.yData,u,d),e=r.xData,i=r.yData,r=r.start;var p=!0}for(a=e.length||1;--a;)if(n=s?t(e[a])-t(e[a-1]):e[a]-e[a-1],0n&&c&&(C(15,!1,this.chart),c=!1);return{xData:e,yData:i,cropped:p,cropStart:r,closestPointRange:f}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange},t.prototype.cropData=function(t,e,i,n,r){var o,s=t.length,a=0,l=s;for(r=I(r,this.cropShoulder),o=0;o=i){a=Math.max(0,o-r);break}for(i=o;in){l=i+r;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}},t.prototype.generatePoints=function(){var t,e,i=this.options,n=i.data,r=this.data,o=this.processedXData,s=this.processedYData,a=this.pointClass,l=o.length,h=this.cropStart||0,c=this.hasGroupedData,u=i.keys,d=[];for(i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,r||c||(r=[],r.length=n.length,r=this.data=r),u&&c&&(this.options.keys=!1),e=0;e=l&&(o[i-c]||d)<=h,f&&d)if(f=p.length)for(;f--;)E(p[f])&&(s[a++]=p[f]);else s[a++]=p}return t={dataMin:v(s),dataMax:y(s)},T(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=null,i=t.length,n=0;null===e&&n=S&&(S=null),y.total=y.stackTotal=M.total,y.percentage=M.total&&y.y/M.total*100,y.stackY=x,this.irregularWidths||M.setOffset(this.pointXOffset||0,this.barW||0)),y.yBottom=_(S)?b(a.translate(S,0,1,0,1),-1e5,1e5):null,c&&(x=this.modifyValue(x,y)),y.plotY=void 0,E(x)&&(x=a.translate(x,!1,!0,!1,!0),"undefined"!==typeof x&&(y.plotY=b(x,-1e5,1e5))),y.isInside=this.isPointInside(y),y.clientX=d?w(r.translate(v,0,0,0,1,u)):e,y.negative=y[g]<(i[g+"Threshold"]||p||0),y.category=o&&"undefined"!==typeof o[y.x]?o[y.x]:y.x,!y.isNull&&!1!==y.visible){"undefined"!==typeof P&&(m=Math.min(m,Math.abs(e-P)));var P=e}y.zone=this.zones.length&&y.getZone(),!y.graphic&&this.group&&s&&(y.isNew=!0)}this.closestPointRangePx=m,T(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,i){var n=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&(!1!==t.visible&&(i||!t.isNull))}))},t.prototype.getClipBox=function(t,e){var i=this.options,n=this.chart,r=n.inverted,o=this.xAxis,s=o&&this.yAxis,a=n.options.chart.scrollablePlotArea||{};return t&&!1===i.clip&&s?t=r?{y:-n.chartWidth+s.len+s.pos,height:n.chartWidth,width:n.chartHeight,x:-n.chartHeight+o.len+o.pos}:{y:-s.pos,height:n.chartHeight,width:n.chartWidth,x:-o.pos}:(t=this.clipBox||n.clipBox,e&&(t.width=n.plotSizeX,t.x=(n.scrollablePixelsX||0)*(a.scrollPositionX||0))),e?{width:t.width,x:t.x}:t},t.prototype.getSharedClipKey=function(t){if(this.sharedClipKey)return this.sharedClipKey;var e=[t&&t.duration,t&&t.easing,t&&t.defer,this.getClipBox(t).height,this.options.xAxis,this.options.yAxis].join();return(!1!==this.options.clip||t)&&(this.sharedClipKey=e),e},t.prototype.setClip=function(t){var e=this.chart,i=this.options,n=e.renderer,r=e.inverted,o=this.clipBox,s=this.getClipBox(t),a=this.getSharedClipKey(t),l=e.sharedClips[a],h=e.sharedClips[a+"m"];t&&(s.width=0,r&&(s.x=e.plotHeight+(!1!==i.clip?0:e.plotTop))),l?e.hasLoaded||l.attr(s):(t&&(e.sharedClips[a+"m"]=h=n.clipRect(r?(e.plotSizeX||0)+99:-99,r?-e.plotLeft:-e.plotTop,99,r?e.chartWidth:e.chartHeight)),e.sharedClips[a]=l=n.clipRect(s),l.count={length:0}),t&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),(!1!==i.clip||t)&&(this.group.clip(t||o?l:e.clipRect),this.markerGroup.clip(h)),t||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&(o||(e.sharedClips[a]=l.destroy()),h&&(e.sharedClips[a+"m"]=h.destroy())))},t.prototype.animate=function(t){var e=this.chart,i=h(this.options.animation),n=this.sharedClipKey;if(t)this.setClip(i);else if(n){t=e.sharedClips[n],n=e.sharedClips[n+"m"];var r=this.getClipBox(i,!0);t&&t.animate(r,i),n&&n.animate({width:r.width+99,x:r.x-(e.inverted?0:99)},i)}},t.prototype.afterAnimate=function(){this.setClip(),T(this,"afterAnimate"),this.finishedAnimating=!0},t.prototype.drawPoints=function(){var t,e,i=this.points,n=this.chart,r=this.options.marker,o=this[this.specialGroup]||this.markerGroup,s=this.xAxis,a=I(r.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(t=0;t_.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=d}else l.visible&&(p&&p.show(!0),f&&f.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){i[e]&&(n.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(!i.isRadialSeries&&t))}))}var i=this,n=i.chart;i.xAxis&&(i.eventsToUnbind.push(m(n,"resize",e)),e(),i.invertGroups=e)},t.prototype.plotGroup=function(t,e,i,n,r){var o=this[t],s=!o;return i={visibility:i,zIndex:n||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),s&&(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(_(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(i)[s?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||R(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,i=t.options,n=h(i.animation),r=!t.finishedAnimating&&e.renderer.isSVG&&n.duration,o=t.visible?"inherit":"hidden",s=i.zIndex,a=t.hasRendered,l=e.seriesGroup,c=e.inverted;T(this,"render");var u=t.plotGroup("group","series",o,s,l);t.markerGroup=t.plotGroup("markerGroup","markers",o,s,l),r&&t.animate&&t.animate(!0),u.inverted=!!I(t.invertible,t.isCartesian)&&c,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(c),!1===i.clip||t.sharedClipKey||a||u.clip(e.clipRect),r&&t.animate&&t.animate(),a||(r&&n.defer&&(r+=n.defer),t.animationTimeout=j((function(){t.afterAnimate()}),r||0)),t.isDirty=!1,t.hasRendered=!0,T(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,n=this.xAxis,r=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:I(n&&n.left,t.plotLeft),translateY:I(r&&r.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var i=this.xAxis,n=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:r?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,n,r){var o;if(o=t&&t.length){var s=i.kdAxisArray[n%r];return t.sort((function(t,e){return t[s]-e[s]})),o=Math.floor(o/2),{point:t[o],left:e(t.slice(0,o),n+1,r),right:e(t.slice(o+1),n+1,r)}}}this.buildingKdTree=!0;var i=this,n=-1c?"left":"right",d=0>c?"right":"left",e[p]&&(p=n(t,e[p],i+1,l),u=p[a]p;)f--;this.updateParallelArrays(d,"splice",f,0,0),this.updateParallelArrays(d,f),l&&d.name&&(l[p]=d.name),c.splice(f,0,t),h&&(this.data.splice(f,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(d,"shift"),c.shift())),!1!==r&&T(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(n)},t.prototype.removePoint=function(t,e,i){var n=this,r=n.data,o=r[t],s=n.points,a=n.chart,l=function(){s&&s.length===r.length&&s.splice(t,1),r.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(o||{series:n},"splice",t,1),o&&o.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&a.redraw()};c(i,a),e=I(e,!0),o?o.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,i,n){function r(){o.destroy(n),s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),I(t,!0)&&s.redraw(e)}var o=this,s=o.chart;!1!==i?T(o,"remove",null,r):r()},t.prototype.update=function(t,e){t=x(t,this.userOptions),T(this,"update",{options:t});var i,n=this,r=n.chart,o=n.userOptions,s=n.initialType||n.type,a=r.options.plotOptions,l=t.type||o.type||r.options.chart.type,h=!(this.hasDerivedData||l&&l!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys")),c=g[s].prototype,u=["eventOptions","navigatorSeries","baseSeries"],d=n.finishedAnimating&&{animation:!1},p={};if(l=l||s,h&&(u.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&u.push("area","graph"),n.parallelArrays.forEach((function(t){u.push(t+"Data")})),t.data&&(t.dataSorting&&M(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=D(o,d,{index:"undefined"===typeof o.index?n.index:o.index,pointStart:I(a&&a.series&&a.series.pointStart,o.pointStart,n.xData[0])},!h&&{data:n.options.data},t),h&&t.data&&(t.data=n.options.data),u=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(u),u.forEach((function(t){u[t]=n[t],delete n[t]})),o=!1,g[l]){if(o=l!==n.type,n.remove(!1,!1,!1,!0),o)if(Object.setPrototypeOf)Object.setPrototypeOf(n,g[l].prototype);else{for(i in a=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,c)n[i]=void 0;M(n,g[l].prototype),a?n.hcEvents=a:delete n.hcEvents}}else C(17,!0,r,{missingModuleFor:l});if(u.forEach((function(t){n[t]=u[t]})),n.init(r,t),h&&this.points){var f=n.options;!1===f.visible?(p.graphic=1,p.dataLabel=1):n._hasPointLabels||(t=f.marker,l=f.dataLabels,t&&(!1===t.enabled||"symbol"in t)&&(p.graphic=1),l&&!1===l.enabled&&(p.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(p).length&&t.destroyElements(p),!1===f.showInLegend&&t.legendItem&&r.legend.destroyItem(t))}),this)}n.initialType=s,r.linkSeries(),o&&n.linkedSeries.length&&(n.isDirtyData=!0),T(this,"afterUpdate"),I(e,!0)&&r.redraw(!!h&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==I(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&T(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&T(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var i=this,n=i.options,r=i.graph,o=n.inactiveOtherPoints,s=n.states,a=n.lineWidth,l=n.opacity,h=I(s[t||"normal"]&&s[t||"normal"].animation,i.chart.options.chart.animation);if(n=0,t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(a=s[t].lineWidth||a+(s[t].lineWidthPlus||0),l=I(s[t].opacity,l)),r&&!r.dashstyle)for(s={"stroke-width":a},r.animate(s,h);i["zone-graph-"+n];)i["zone-graph-"+n].animate(s,h),n+=1;o||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach((function(t){t&&t.animate({opacity:l},h)}))}e&&o&&i.points&&i.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var i=this,n=i.chart,r=i.legendItem,o=n.options.chart.ignoreHiddenSeries,s=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible="undefined"===typeof t?!s:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){i[t]&&i[t][a]()})),n.hoverSeries!==i&&(n.hoverPoint&&n.hoverPoint.series)!==i||i.onMouseOut(),r&&n.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&n.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),o&&(n.isDirtyBox=!0),T(i,a),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),T(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,i){return void 0===i&&(i={}),i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},t.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:r.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:r.neutralColor20,lineColor:r.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},t}(),M(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:i.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t})),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i,n,r,o){var s=t.stop,a=o.addEvent,l=o.createElement,h=o.merge,c=o.pick;a(i,"afterSetChartSize",(function(t){var e=this.options.chart.scrollablePlotArea,i=e&&e.minWidth;if(e=e&&e.minHeight,!this.renderer.forExport){if(i){if(this.scrollablePixelsX=i=Math.max(0,i-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.width=this.plotWidth+=i,this.inverted?this.clipBox.height+=i:this.clipBox.width+=i;var n={1:{name:"right",value:i}}}}else e&&(this.scrollablePixelsY=i=Math.max(0,e-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.height=this.plotHeight+=i,this.inverted?this.clipBox.width+=i:this.clipBox.height+=i,n={2:{name:"bottom",value:i}});n&&!t.skipAxes&&this.axes.forEach((function(t){n[t.side]?t.getPlotLinePath=function(){var e=n[t.side].name,i=this[e];this[e]=i-n[t.side].value;var o=r.Axis.prototype.getPlotLinePath.apply(this,arguments);return this[e]=i,o}:(t.setAxisSize(),t.setAxisTranslation())}))}})),a(i,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),i.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),a(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},i.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},i.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea;t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new r.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":c(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0);var n=this.chartHeight+(this.scrollablePixelsY||0);s(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,i=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),h=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",i,h],["L",i,this.chartHeight],["L",n,this.chartHeight],["L",n,h],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),a(n,"show",(function(){this.chart.scrollableDirty=!0}))})),e(i,"Core/Axis/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.getDeferredAnimation,n=e.addEvent,r=e.destroyObjectProperties,o=e.fireEvent,s=e.isNumber,a=e.objectEach,l=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,n=e.options.reversedStacks,r=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=r;t--;){var s=i[n?t:r-t-1];s.setStackedPoints(),s.setGroupedPoints()}for(t=0;to&&i.shadow)),a&&(a.startX=n.xMap,a.isArea=n.isArea)}))},n.prototype.getGraphPath=function(t,e,i){var n,r,s=this,a=s.options,l=a.step,h=[],c=[];return t=t||s.points,(n=t.reversed)&&t.reverse(),(l={right:1,center:2}[l]||l&&3)&&n&&(l=4-l),t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!i)),t.forEach((function(n,u){var d=n.plotX,p=n.plotY,f=t[u-1];(n.leftCliff||f&&f.rightCliff)&&!i&&(r=!0),n.isNull&&!o(e)&&0t&&c>r?(c=Math.max(t,r),u=2*r-c):ci&&u>r?(u=Math.max(i,r),c=2*r-u):u=Math.abs(e)&&.5t.closestPointRange*t.xAxis.transA;n=t.borderWidth=x(i.borderWidth,n?0:1);var r=t.xAxis,s=t.yAxis,a=i.threshold,l=t.translatedThreshold=s.getThreshold(a),h=x(i.minPointLength,5),c=t.getColumnMetrics(),u=c.width,p=t.barW=Math.max(u,1+2*n),g=t.pointXOffset=c.offset,m=t.dataMin,y=t.dataMax;e.inverted&&(l-=.5),i.pointPadding&&(p=Math.ceil(p)),o.prototype.translate.apply(t),t.points.forEach((function(n){var o=x(n.yBottom,l),b=999+Math.abs(o),w=u,_=n.plotX||0;b=d(n.plotY,-b,s.len+b),_+=g;var S=p,C=Math.min(b,o),M=Math.max(b,o)-C;if(h&&Math.abs(M)h?o-h:l-(k?h:0)}f(n.options.pointWidth)&&(w=S=Math.ceil(n.options.pointWidth),_-=Math.round((w-u)/2)),i.centerInCategory&&(_=t.adjustForMissingColumns(_,w,n,c)),n.barX=_,n.pointWidth=w,n.tooltipPos=e.inverted?[d(s.len+s.pos-e.plotLeft-b,s.pos-e.plotLeft,s.len+s.pos-e.plotLeft),r.len+r.pos-e.plotTop-_-S/2,M]:[r.left-e.plotLeft+_+S/2,d(b+s.pos-e.plotTop,s.pos-e.plotTop,s.len+s.pos-e.plotTop),M],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[_,l,S,0]:[_,C,S,M])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var i=this.options,n=this.pointAttrToOptions||{},r=n.stroke||"borderColor",o=n["stroke-width"]||"borderWidth",s=t&&t.color||this.color,a=t&&t[r]||i[r]||s,l=t&&t[o]||i[o]||this[o]||0;n=t&&t.options.dashStyle||i.dashStyle;var h=x(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var u=t.getZone();s=t.options.color||u&&(u.color||t.nonZonedColor)||this.color,u&&(a=u.borderColor||a,n=u.dashStyle||n,l=u.borderWidth||l)}return e&&t&&(t=b(i.states[e],t.options.states&&t.options.states[e]||{}),e=t.brightness,s=t.color||"undefined"!==typeof e&&c(s).brighten(t.brightness).get()||s,a=t[r]||a,l=t[o]||l,n=t.dashStyle||n,h=x(t.opacity,h)),r={fill:s,stroke:a,"stroke-width":l,opacity:h},n&&(r.dashstyle=n),r},e.prototype.drawPoints=function(){var t,e=this,i=this.chart,n=e.options,r=i.renderer,o=n.animationLimit||250;e.points.forEach((function(s){var a=s.graphic,l=!!a,h=a&&i.pointCount {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),i}(e),s(n.prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(n,"afterTranslate",(function(){this.applyJitter()})),i.registerSeriesType("scatter",n),n})),e(i,"Mixins/CenteredSeries.js",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=i.isNumber,r=i.pick,o=i.relativeLength,s=t.deg2rad;return t.CenteredSeriesMixin={getCenter:function(){var t=this.options,i=this.chart,n=2*(t.slicedOffset||0),s=i.plotWidth-2*n,a=i.plotHeight-2*n,l=t.center,h=Math.min(s,a),c=t.size,u=t.innerSize||0;for("string"===typeof c&&(c=parseFloat(c)),"string"===typeof u&&(u=parseFloat(u)),t=[r(l[0],"50%"),r(l[1],"50%"),r(c&&0>c?void 0:t.size,"100%"),r(u&&0>u?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),l=0;4>l;++l)c=t[l],i=2>l||2===l&&/%$/.test(c),t[l]=o(c,[s,a,h,t[2]][l])+(i?n:0);return t[3]>t[2]&&(t[3]=t[2]),t},getStartAndEndRadians:function(t,e){return t=n(t)?t:0,e=n(e)&&e>t&&360>e-t?e:t+360,{start:s*(t+-90),end:s*(e+-90)}}}})),e(i,"Series/Pie/PiePoint.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=t.setAnimation,o=i.addEvent,s=i.defined;t=i.extend;var a=i.isNumber,l=i.pick,h=i.relativeLength;return i=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(i,t),i.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=e.connectorShape,n=this.connectorShapes;return n[i]&&(i=n[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},i.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},i.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},i.prototype.init=function(){e.prototype.init.apply(this,arguments);var t=this;t.name=l(t.name,"Slice");var i=function(e){t.slice("select"===e.type)};return o(t,"select",i),o(t,"unselect",i),t},i.prototype.isValid=function(){return a(this.y)&&0<=this.y},i.prototype.setVisible=function(t,e){var i=this,n=i.series,r=n.chart,o=n.options.ignoreHiddenPoint;e=l(e,o),t!==i.visible&&(i.visible=i.options.visible=t="undefined"===typeof t?!i.visible:t,n.options.data[n.data.indexOf(i)]=i.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){i[e]&&i[e][t?"show":"hide"](t)})),i.legendItem&&r.legend.colorizeItem(i,t),t||"hover"!==i.state||i.setState(""),o&&(n.isDirty=!0),e&&r.redraw())},i.prototype.slice=function(t,e,i){var n=this.series;r(i,n.chart),l(e,!0),this.sliced=this.options.sliced=s(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},i}(e),t(i.prototype,{connectorShapes:{fixedOffset:function(t,e,i){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var n=this.series,r=n.center[0],o=n.chart.plotWidth,s=n.chart.plotLeft;n=t.alignment;var a=this.shapeArgs.r;return i=h(i.crookDistance,1),o="left"===n?r+a+(o+s-r-a)*(1-i):s+(r-a)*i,i=["L",o,t.y],r=!0,("left"===n?o>t.x||oe.x)&&(r=!1),t=[["M",t.x,t.y]],r&&t.push(i),t.push(["L",e.x,e.y]),t}}}),i})),e(i,"Series/Pie/PieSeries.js",[i["Mixins/CenteredSeries.js"],i["Series/Column/ColumnSeries.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Color/Palette.js"],i["Series/Pie/PiePoint.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,n,r,o,s,a,l,h){var c=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),u=t.getStartAndEndRadians;i=i.noop;var d=h.clamp,p=h.extend,f=h.fireEvent,g=h.merge,m=h.pick,y=h.relativeLength;return h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,i=e.points,n=e.startAngleRad;t||i.forEach((function(t){var i=t.graphic,r=t.shapeArgs;i&&r&&(i.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),i.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var n=this.center[0],o=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,o,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:l.prototype.symbols.arc(n,o,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||r.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,i){var n=this.center,r=this.radii?this.radii[i.index]||0:n[2]/2;return t=Math.asin(d((t-n[1])/(r+i.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(r+i.labelDistance)+(01.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(g)*n),translateY:Math.round(Math.sin(g)*n)},v=Math.cos(g)*t[2]/2;var b=Math.sin(g)*t[2]/2;d.tooltipPos=[t[0]+.7*v,t[1]+.7*b],d.half=g<-Math.PI/2||g>Math.PI/2?1:0,d.angle=g,p=Math.min(r,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+v+Math.cos(g)*d.labelDistance,y:t[1]+b+Math.sin(g)*d.labelDistance},final:{},alignment:0>d.labelDistance?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+v+Math.cos(g)*p,y:t[1]+b+Math.sin(g)*p},touchingSliceAt:{x:t[0]+v,y:t[1]+b}}}}f(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=0,i=this.points,n=i.length,r=this.options.ignoreHiddenPoint;for(t=0;tu){for(x(t,(function(t,e){return(e.rank||0)-(t.rank||0)})),h=o=0;h<=u;)h+=t[o].size,o++;l=t.splice(o-1,t.length)}for(x(t,r),t=t.map((function(t){return{size:t.size,targets:[t.target],align:y(t.align,.5)}}));s;){for(o=t.length;o--;)s=t[o],h=(Math.min.apply(0,s.targets)+Math.max.apply(0,s.targets))/2,s.pos=c(h-s.size*s.align,0,e-s.size);for(o=t.length,s=!1;o--;)0t[o].pos&&(t[o-1].size+=t[o].size,t[o-1].targets=t[o-1].targets.concat(t[o].targets),t[o-1].align=.5,t[o-1].pos+t[o-1].size>e&&(t[o-1].pos=e-t[o-1].size),t.splice(o,1),s=!0)}a.push.apply(a,l),o=0,t.some((function(t){var r=0;if(t.targets.some((function(){if(a[o].pos=t.pos+r,"undefined"!==typeof n&&Math.abs(a[o].pos-a[o].target)>n)return a.slice(0,o+1).forEach((function(t){delete t.pos})),a.reducedLen=(a.reducedLen||e)-.1*e,a.reducedLen>.1*e&&i.distribute(a,e,n),!0;r+=a[o].size,o++})))return!0})),x(a,r)},r.prototype.drawDataLabels=function(){function t(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}function e(t,e){var i,n=[];if(f(t)&&!f(e))n=t.map((function(t){return g(t,e)}));else if(f(e)&&!f(t))n=e.map((function(e){return g(t,e)}));else if(f(t)||f(e))for(i=Math.max(t.length,e.length);i--;)n[i]=g(t[i],e[i]);else n=g(t,e);return n}var i,r=this,o=r.chart,s=r.options,h=s.dataLabels,c=r.points,d=r.hasRendered||0,v=h.animation;v=h.defer?a(o,v,r):{defer:0,duration:0};var x=o.renderer;if(h=e(e(o.options.plotOptions&&o.options.plotOptions.series&&o.options.plotOptions.series.dataLabels,o.options.plotOptions&&o.options.plotOptions[r.type]&&o.options.plotOptions[r.type].dataLabels),h),p(this,"drawDataLabels"),f(h)||h.enabled||r._hasPointLabels){var w=r.plotGroup("dataLabelsGroup","data-labels",d?"inherit":"hidden",h.zIndex||6);w.attr({opacity:+d}),!d&&(d=r.dataLabelsGroup)&&(r.visible&&w.show(!0),d[s.animation?"animate":"attr"]({opacity:1},v)),c.forEach((function(a){i=b(e(h,a.dlOptions||a.options&&a.options.dataLabels)),i.forEach((function(e,i){var h=e.enabled&&(!a.isNull||a.dataLabelOnNull)&&t(a,e),c=a.dataLabels?a.dataLabels[i]:a.dataLabel,d=a.connectors?a.connectors[i]:a.connector,p=y(e.distance,a.labelDistance),f=!c;if(h){var g=a.getLabelConfig(),v=y(e[a.formatPrefix+"Format"],e.format);g=u(v)?l(v,g,o):(e[a.formatPrefix+"Formatter"]||e.formatter).call(g,e),v=e.style;var b=e.rotation;o.styledMode||(v.color=y(e.color,v.color,r.color,n.neutralColor100),"contrast"===v.color?(a.contrastColor=x.getContrast(a.color||r.color),v.color=!u(p)&&e.inside||0>p||s.stacking?a.contrastColor:n.neutralColor100):delete a.contrastColor,s.cursor&&(v.cursor=s.cursor));var _={r:e.borderRadius||0,rotation:b,padding:e.padding,zIndex:1};o.styledMode||(_.fill=e.backgroundColor,_.stroke=e.borderColor,_["stroke-width"]=e.borderWidth),m(_,(function(t,e){"undefined"===typeof t&&delete _[e]}))}!c||h&&u(g)?h&&u(g)&&(c?_.text=g:(a.dataLabels=a.dataLabels||[],c=a.dataLabels[i]=b?x.text(g,0,-9999,e.useHTML).addClass("highcharts-data-label"):x.label(g,0,-9999,e.shape,null,null,e.useHTML,null,"data-label"),i||(a.dataLabel=c),c.addClass(" highcharts-data-label-color-"+a.colorIndex+" "+(e.className||"")+(e.useHTML?" highcharts-tracker":""))),c.options=e,c.attr(_),o.styledMode||c.css(v).shadow(e.shadow),c.added||c.add(w),e.textPath&&!e.useHTML&&(c.setTextPath(a.getDataLabelPath&&a.getDataLabelPath(c)||a.graphic,e.textPath),a.dataLabelPath&&!e.textPath.enabled&&(a.dataLabelPath=a.dataLabelPath.destroy())),r.alignDataLabel(a,c,e,null,f)):(a.dataLabel=a.dataLabel&&a.dataLabel.destroy(),a.dataLabels&&(1===a.dataLabels.length?delete a.dataLabels:delete a.dataLabels[i]),i||delete a.dataLabel,d&&(a.connector=a.connector.destroy(),a.connectors&&(1===a.connectors.length?delete a.connectors:delete a.connectors[i])))}))}))}p(this,"afterDrawDataLabels")},r.prototype.alignDataLabel=function(t,e,i,n,r){var o=this,s=this.chart,a=this.isCartesian&&s.inverted,l=this.enabledDataSorting,h=y(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),c=y(t.plotY,-9999),u=e.getBBox(),p=i.rotation,f=i.align,g=s.isInsidePlot(h,Math.round(c),{inverted:a,paneCoordinates:!0,series:o}),m="justify"===y(i.overflow,l?"none":"justify"),v=this.visible&&!1!==t.visible&&(t.series.forceDL||l&&!m||g||y(i.inside,!!this.options.stacking)&&n&&s.isInsidePlot(h,a?n.x+1:n.y+n.height-1,{inverted:a,paneCoordinates:!0,series:o})),b=function(i){l&&o.xAxis&&!m&&o.setDataLabelStartPos(t,e,r,g,i)};if(v){var x=s.renderer.fontMetrics(s.styledMode?void 0:i.style.fontSize,e).b;n=d({x:a?this.yAxis.len-c:h,y:Math.round(a?this.xAxis.len-h:c),width:0,height:0},n),d(i,{width:u.width,height:u.height}),p?(m=!1,h=s.renderer.rotCorr(x,p),h={x:n.x+(i.x||0)+n.width/2+h.x,y:n.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*n.height},b(h),e[r?"attr":"animate"](h).attr({align:f}),b=(p+720)%360,b=180b,"left"===f?h.y-=b?u.height:0:"center"===f?(h.x-=u.width/2,h.y-=u.height/2):"right"===f&&(h.x-=u.width,h.y-=b?0:u.height),e.placed=!0,e.alignAttr=h):(b(n),e.align(i,void 0,n),h=e.alignAttr),m&&0<=n.height?this.justifyDataLabel(e,i,h,u,n,r):y(i.crop,!0)&&(v=s.isInsidePlot(h.x,h.y,{paneCoordinates:!0,series:o})&&s.isInsidePlot(h.x+u.width,h.y+u.height,{paneCoordinates:!0,series:o})),i.shape&&!p&&e[r?"attr":"animate"]({anchorX:a?s.plotWidth-t.plotY:t.plotX,anchorY:a?s.plotHeight-t.plotX:t.plotY})}r&&l&&(e.placed=!1),v||l&&!m||(e.hide(!0),e.placed=!1)},r.prototype.setDataLabelStartPos=function(t,e,i,n,r){var o=this.chart,s=o.inverted,a=this.xAxis,l=a.reversed,h=s?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,a=s?r.x:l?-h-t:a.width-h+t,r=s?l?this.yAxis.height-h+t:-h-t:r.y,e.startXPos=a,e.startYPos=r,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)},r.prototype.justifyDataLabel=function(t,e,i,n,r,o){var s=this.chart,a=e.align,l=e.verticalAlign,h=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var u=e.y,d=void 0===u?0:u;if(u=(i.x||0)+h,0>u){"right"===a&&0<=c?(e.align="left",e.inside=!0):c-=u;var p=!0}return u=(i.x||0)+n.width-h,u>s.plotWidth&&("left"===a&&0>=c?(e.align="right",e.inside=!0):c+=s.plotWidth-u,p=!0),u=i.y+h,0>u&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=u,p=!0),u=(i.y||0)+n.height-h,u>s.plotHeight&&("top"===l&&0>=d?(e.verticalAlign="bottom",e.inside=!0):d+=s.plotHeight-u,p=!0),p&&(e.x=c,e.y=d,t.placed=!o,t.align(e,void 0,r)),p},o.pie&&(o.pie.prototype.dataLabelPositioners={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,i,n){return t.getX(ie.bottom-2?n:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,n){return t=t.getBBox().width,e?t+n:i-t-n},alignToConnectors:function(t,e,i,n){var r,o=0;return t.forEach((function(t){r=t.dataLabel.getBBox().width,r>o&&(o=r)})),e?o+n:i-o-n}},o.pie.prototype.drawDataLabels=function(){var t,e,o,s,a,l,c,d,p,f,m,v,b=this,x=b.data,w=b.chart,_=b.options.dataLabels||{},S=_.connectorPadding,C=w.plotWidth,M=w.plotHeight,k=w.plotLeft,T=Math.round(w.chartWidth/3),A=b.center,O=A[2]/2,P=A[1],E=[[],[]],L=[0,0,0,0],D=b.dataLabelPositioners;b.visible&&(_.enabled||b._hasPointLabels)&&(x.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),r.prototype.drawDataLabels.apply(b),x.forEach((function(t){t.dataLabel&&(t.visible?(E[t.half].push(t),t.dataLabel._pos=null,!u(_.style.width)&&!u(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>T&&(t.dataLabel.css({width:Math.round(.7*T)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),E.forEach((function(e,n){var r,o=e.length,h=[];if(o){if(b.sortByAngle(e,n-.5),0C-S&&0===n&&(g=Math.round(d+a-C+S),L[1]=Math.max(g,L[1])),0>p-c/2?L[0]=Math.max(Math.round(c/2-p),L[0]):p+c/2>M&&(L[2]=Math.max(Math.round(p+c/2-M),L[2])),s.sideOverflow=g)}}})),0===h(L)||this.verifyDataLabelOverflow(L))&&(this.placeDataLabels(),this.points.forEach((function(t){var i;(v=g(_,t.options.dataLabels),e=y(v.connectorWidth,1))&&(o=t.connector,(s=t.dataLabel)&&s._pos&&t.visible&&0y(this.translatedThreshold,a.yAxis.len)),c=y(i.inside,!!this.options.stacking);l&&(n=g(l),0>n.y&&(n.height+=n.y,n.y=0),l=n.y+n.height-a.yAxis.len,0=d.x+d.width||p.x+p.width<=d.x||p.y>=d.y+d.height||p.y+p.height<=d.y||((u.labelrank=a(i.minWidth,0)&&this.chartHeight>=a(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.currentOptions=function(t){function e(t,o,a,h){var c;s(t,(function(t,s){if(!h&&-1t.length)&&(e=t.length);for(var i=0,n=new Array(e);io)s=s._prev}return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t,e},Rt=function(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r=e._prev,o=e._next;r?r._next=o:t[i]===e&&(t[i]=o),o?o._prev=r:t[n]===e&&(t[n]=r),e._next=e._prev=e.parent=null},Nt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},jt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0)){var i=t;while(i)i._dirty=1,i=i.parent}return t},Bt=function(t){var e=t.parent;while(e&&e.parent)e._dirty=1,e.totalDuration(),e=e.parent;return t},Ft=function t(e){return!e||e._ts&&t(e.parent)},Wt=function(t){return t._repeat?Gt(t._tTime,t=t.duration()+t._rDelay)*t:0},Gt=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},Ht=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Xt=function(t){return t._end=wt(t._start+(t._tDur/Math.abs(t._ts||t._rts||L)||0))},Yt=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=wt(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Xt(t),i._dirty||jt(i,t)),t},Ut=function(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=Ht(t.rawTime(),e),(!e._dur||re(0,e.totalDuration(),i)-e._tTime>L)&&e.render(i,!0)),jt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&i.totalTime(i._tTime),i=i._dp}t._zTime=-L}},Vt=function(t,e,i,n){return e.parent&&Nt(e),e._start=wt(i+e._delay),e._end=wt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),It(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,n||Ut(t,e),t},qt=function(t,e){return(it.ScrollTrigger||ot("scrollTrigger",e))&&it.ScrollTrigger.create(e,t)},$t=function(t,e,i,n){return ai(t,e),t._initted?!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&k!==je.frame?(ct.push(t),t._lazy=[e,n],1):void 0:1},Zt=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||t(i))},Kt=function(t,e,i,n){var r,o,s,a=t.ratio,l=e<0||!e&&(!t._start&&Zt(t)||(t._ts<0||t._dp._ts<0)&&"isFromStart"!==t.data&&"isStart"!==t.data)?0:1,h=t._rDelay,c=0;if(h&&t._repeat&&(c=re(0,t._tDur,e),o=Gt(c,h),s=Gt(t._tTime,h),t._yoyo&&1&o&&(l=1-l),o!==s&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||n||t._zTime===L||!e&&t._zTime){if(!t._initted&&$t(t,e,n,i))return;s=t._zTime,t._zTime=e||(i?L:0),i||(i=e&&!s),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,r=t._pt;while(r)r.r(l,r.d),r=r._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!i&&ke(t,"onUpdate"),c&&t._repeat&&!i&&t.parent&&ke(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Nt(t,1),i||(ke(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Jt=function(t,e,i){var n;if(i>e){n=t._first;while(n&&n._start<=i){if(!n._dur&&"isPause"===n.data&&n._start>e)return n;n=n._next}}else{n=t._last;while(n&&n._start>=i){if(!n._dur&&"isPause"===n.data&&n._start=E?s.endTime(!1):e._dur;return B(i)&&(isNaN(i)||i in o)?(n=i.charAt(0),"<"===n||">"===n?("<"===n?s._start:s.endTime(s._repeat>=0))+(parseFloat(i.substr(1))||0):(n=i.indexOf("="),n<0?(i in o||(o[i]=a),o[i]):(r=+(i.charAt(n-1)+i.substr(n+1)),n>1?t(e,i.substr(0,n-1))+r:a+r))):null==i?a:+i},ne=function(t,e){return t||0===t?e(t):e},re=function(t,e,i){return ie?e:i},oe=function(t){if("string"!==typeof t)return"";var e=et.exec(t);return e?t.substr(e.index+e[0].length):""},se=function(t,e,i){return ne(i,(function(i){return re(t,e,i)}))},ae=[].slice,le=function(t,e){return t&&H(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&H(t[0]))&&!t.nodeType&&t!==_},he=function(t,e,i){return void 0===i&&(i=[]),t.forEach((function(t){var n;return B(t)&&!e||le(t,1)?(n=i).push.apply(n,ce(t)):i.push(t)}))||i},ce=function(t,e){return!B(t)||e||!S&&Be()?q(t)?he(t,e):le(t)?ae.call(t,0):t?[t]:[]:ae.call(C.querySelectorAll(t),0)},ue=function(t){return t.sort((function(){return.5-Math.random()}))},de=function(t){if(F(t))return t;var e=H(t)?t:{each:t},i=qe(e.ease),n=e.from||0,r=parseFloat(e.base)||0,o={},s=n>0&&n<1,a=isNaN(n)||s,l=e.axis,h=n,c=n;return B(n)?h=c={center:.5,edges:.5,end:1}[n]||0:!s&&a&&(h=n[0],c=n[1]),function(t,s,u){var d,p,f,g,m,y,v,b,x,w=(u||e).length,_=o[w];if(!_){if(x="auto"===e.grid?0:(e.grid||[1,E])[1],!x){v=-E;while(v<(v=u[x++].getBoundingClientRect().left)&&xv&&(v=m),mw?w-1:l?"y"===l?w/x:x:Math.max(x,w/x))||0)*("edges"===n?-1:1),_.b=w<0?r-w:r,_.u=oe(e.amount||e.each)||0,i=i&&w<0?Ue(i):i}return w=(_[t]-_.min)/_.max||0,wt(_.b+(i?i(w):w)*_.v)+_.u}},pe=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(i){var n=Math.round(parseFloat(i)/t)*t*e;return(n-n%1)/e+(W(i)?0:oe(i))}},fe=function(t,e){var i,n,r=q(t);return!r&&H(t)&&(i=r=t.radius||E,t.values?(t=ce(t.values),(n=!W(t[0]))&&(i*=i)):t=pe(t.increment)),ne(e,r?F(t)?function(e){return n=t(e),Math.abs(n-e)<=i?n:e}:function(e){var r,o,s=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),l=E,h=0,c=t.length;while(c--)n?(r=t[c].x-s,o=t[c].y-a,r=r*r+o*o):r=Math.abs(t[c]-s),rr?o-t:t)}))},_e=function(t){var e,i,n,r,o=0,s="";while(~(e=t.indexOf("random(",o)))n=t.indexOf(")",e),r="["===t.charAt(e+7),i=t.substr(e+7,n-e-7).match(r?tt:$),s+=t.substr(o,e-o)+ge(r?i:+i[0],r?0:+i[1],+i[2]||1e-5),o=n+1;return s+t.substr(o,t.length-o)},Se=function(t,e,i,n,r){var o=e-t,s=n-i;return ne(r,(function(e){return i+((e-t)/o*s||0)}))},Ce=function t(e,i,n,r){var o=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!o){var s,a,l,h,c,u=B(e),d={};if(!0===n&&(r=1)&&(n=null),u)e={p:e},i={p:i};else if(q(e)&&!q(i)){for(l=[],h=e.length,c=h-2,a=1;a(r=Math.abs(r))&&(o=n,a=r);return o},ke=function(t,e,i){var n,r,o=t.vars,s=o[e];if(s)return n=o[e+"Params"],r=o.callbackScope||t,i&&ct.length&&Ct(),n?s.apply(r,n):s.call(r)},Te=function(t){return Nt(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&ke(t,"onInterrupt"),t},Ae=function(t){t=!t.name&&t["default"]||t;var e=t.name,i=F(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:lt,render:wi,add:ri,kill:Si,modifier:_i,rawVars:0},o={targetTest:0,get:0,getSetter:yi,aliases:{},register:0};if(Be(),t!==n){if(dt[e])return;At(n,At(Lt(t,r),o)),Pt(n.prototype,Pt(r,Lt(t,o))),dt[n.prop=e]=n,t.targetTest&&(gt.push(n),ht[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}at(e,n),t.register&&t.register(Ei,n,ki)},Oe=255,Pe={aqua:[0,Oe,Oe],lime:[0,Oe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Oe],navy:[0,0,128],white:[Oe,Oe,Oe],olive:[128,128,0],yellow:[Oe,Oe,0],orange:[Oe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Oe,0,0],pink:[Oe,192,203],cyan:[0,Oe,Oe],transparent:[Oe,Oe,Oe,0]},Ee=function(t,e,i){return t=t<0?t+1:t>1?t-1:t,(6*t<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*Oe+.5|0},Le=function(t,e,i){var n,r,o,s,a,l,h,c,u,d,p=t?W(t)?[t>>16,t>>8&Oe,t&Oe]:0:Pe.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Pe[t])p=Pe[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),r=t.charAt(2),o=t.charAt(3),t="#"+n+n+r+r+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return p=parseInt(t.substr(1,6),16),[p>>16,p>>8&Oe,p&Oe,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),p=[t>>16,t>>8&Oe,t&Oe]}else if("hsl"===t.substr(0,3))if(p=d=t.match($),e){if(~t.indexOf("="))return p=t.match(Z),i&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,a=+p[1]/100,l=+p[2]/100,r=l<=.5?l*(a+1):l+a-l*a,n=2*l-r,p.length>3&&(p[3]*=1),p[0]=Ee(s+1/3,n,r),p[1]=Ee(s,n,r),p[2]=Ee(s-1/3,n,r);else p=t.match($)||Pe.transparent;p=p.map(Number)}return e&&!d&&(n=p[0]/Oe,r=p[1]/Oe,o=p[2]/Oe,h=Math.max(n,r,o),c=Math.min(n,r,o),l=(h+c)/2,h===c?s=a=0:(u=h-c,a=l>.5?u/(2-h-c):u/(h+c),s=h===n?(r-o)/u+(ra&&(h+=b-l),c+=b,y=c-h,g=y-d,(g>0||x)&&(v=++n.frame,r=y-1e3*n.time,n.time=y/=1e3,d+=g+(g>=u?4:u-g),m=1),x||(t=e(i)),m)for(o=0;o=e&&o--},_listeners:p},n}(),Be=function(){return!A&&je.wake()},Fe={},We=/^[\d.\-M][\d.\-,\s]/,Ge=/["']/g,He=function(t){for(var e,i,n,r={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,l=o.length;a1&&i.config?i.config.apply(null,~t.indexOf("{")?[He(e[1])]:Xe(t).split(",").map(kt)):Fe._CE&&We.test(t)?Fe._CE("",t):i},Ue=function(t){return function(e){return 1-t(1-e)}},Ve=function t(e,i){var n,r=e._first;while(r)r instanceof ei?t(r,i):!r.vars.yoyoEase||r._yoyo&&r._repeat||r._yoyo===i||(r.timeline?t(r.timeline,i):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=i)),r=r._next},qe=function(t,e){return t&&(F(t)?t:Fe[t]||Ye(t))||e},$e=function(t,e,i,n){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var r,o={easeIn:e,easeOut:i,easeInOut:n};return xt(t,(function(t){for(var e in Fe[t]=it[t]=o,Fe[r=t.toLowerCase()]=i,o)Fe[r+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Fe[t+"."+e]=o[e]})),o},Ze=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},Ke=function t(e,i,n){var r=i>=1?i:1,o=(n||(e?.3:.45))/(i<1?i:1),s=o/D*(Math.asin(1/r)||0),a=function(t){return 1===t?1:r*Math.pow(2,-10*t)*j((t-s)*o)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Ze(a);return o=D/o,l.config=function(i,n){return t(e,i,n)},l},Je=function t(e,i){void 0===i&&(i=1.70158);var n=function(t){return t?--t*t*((i+1)*t+i)+1:0},r="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:Ze(n);return r.config=function(i){return t(e,i)},r};xt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var i=e<5?e+1:e;$e(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},(function(t){return 1-Math.pow(1-t,i)}),(function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow(2*(1-t),i)/2}))})),Fe.Linear.easeNone=Fe.none=Fe.Linear.easeIn,$e("Elastic",Ke("in"),Ke("out"),Ke()),function(t,e){var i=1/e,n=2*i,r=2.5*i,o=function(o){return o0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Qt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Be(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){Yt(this,t),!i._dp||i.parent||Ut(i,this);while(i.parent)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&Vt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===L||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Mt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Wt(this))%this._dur||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Wt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?Gt(this._tTime,i)+1:1},e.timeScale=function(t){if(!arguments.length)return this._rts===-L?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Ht(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-L?0:this._rts,Bt(this.totalTime(re(-this._delay,this._tDur,e),!0))},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Be(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&(this._tTime-=L)&&Math.abs(this._zTime)!==L))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Vt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(X(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ht(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){var e=this,i=arguments.length?t:e.rawTime();while(e)i=e._start+i/(e._ts||1),e=e._dp;return i},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,te(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){return arguments.length?(this._rDelay=t,te(this)):this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(ie(this,t),X(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,X(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-L:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-L,this},e.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t1?(e?(n[t]=e,i&&(n[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this;return new Promise((function(i){var n=F(t)?t:Tt,r=function(){var t=e.then;e.then=null,F(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),i(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?r():e._prom=r}))},e.kill=function(){Te(this)},t}();At(ti.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-L,_prom:0,_ps:!1,_rts:1});var ei=function(t){function e(e,i){var n;return void 0===e&&(e={}),n=t.call(this,e,i)||this,n.labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=X(e.sortChildren),n.parent&&Ut(n.parent,v(n)),e.scrollTrigger&&qt(v(n),e.scrollTrigger),n}b(e,t);var i=e.prototype;return i.to=function(t,e,i){return new di(t,St(arguments,0,this),ie(this,W(e)?arguments[3]:i)),this},i.from=function(t,e,i){return new di(t,St(arguments,1,this),ie(this,W(e)?arguments[3]:i)),this},i.fromTo=function(t,e,i,n){return new di(t,St(arguments,2,this),ie(this,W(e)?arguments[4]:n)),this},i.set=function(t,e,i){return e.duration=0,e.parent=this,Dt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new di(t,e,ie(this,i),1),this},i.call=function(t,e,i){return Vt(this,di.delayedCall(0,t,e),ie(this,i))},i.staggerTo=function(t,e,i,n,r,o,s){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=o,i.onCompleteParams=s,i.parent=this,new di(t,i,ie(this,r)),this},i.staggerFrom=function(t,e,i,n,r,o,s){return i.runBackwards=1,Dt(i).immediateRender=X(i.immediateRender),this.staggerTo(t,e,i,n,r,o,s)},i.staggerFromTo=function(t,e,i,n,r,o,s,a){return n.startAt=i,Dt(n).immediateRender=X(n.immediateRender),this.staggerTo(t,e,n,r,o,s,a)},i.render=function(t,e,i){var n,r,o,s,a,l,h,c,u,d,p,f,g=this._time,m=this._dirty?this.totalDuration():this._tDur,y=this._dur,v=this!==w&&t>m-L&&t>=0?m:ty&&(n=y)),d=Gt(this._tTime,a),!g&&this._tTime&&d!==s&&(d=s),p&&1&s&&(n=y-n,f=1),s!==d&&!this._lock){var x=p&&1&d,_=x===(p&&1&s);if(s=g&&t>=0){r=this._first;while(r){if(o=r._next,(r._act||n>=r._start)&&r._ts&&h!==r){if(r.parent!==this)return this.render(t,e,i);if(r.render(r._ts>0?(n-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(n-r._start)*r._ts,e,i),n!==this._time||!this._ts&&!l){h=0,o&&(v+=this._zTime=-L);break}}r=o}}else{r=this._last;var S=t<0?t:n;while(r){if(o=r._prev,(r._act||S<=r._end)&&r._ts&&h!==r){if(r.parent!==this)return this.render(t,e,i);if(r.render(r._ts>0?(S-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(S-r._start)*r._ts,e,i),n!==this._time||!this._ts&&!l){h=0,o&&(v+=this._zTime=S?-L:L);break}}r=o}}if(h&&!e&&(this.pause(),h.render(n>=g?0:-L)._zTime=n>=g?1:-1,this._ts))return this._start=u,Xt(this),this.render(t,e,i);this._onUpdate&&!e&&ke(this,"onUpdate",!0),(v===m&&m>=this.totalDuration()||!v&&g)&&(u!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!y)&&(v===m&&this._ts>0||!v&&this._ts<0)&&Nt(this,1),e||t<0&&!g||!v&&!g||(ke(this,v===m?"onComplete":"onReverseComplete",!0),this._prom&&!(v0)&&this._prom())))}return this},i.add=function(t,e){var i=this;if(W(e)||(e=ie(this,e)),!(t instanceof ti)){if(q(t))return t.forEach((function(t){return i.add(t,e)})),this;if(B(t))return this.addLabel(t,e);if(!F(t))return this;t=di.delayedCall(0,t)}return this!==t?Vt(this,t,e):this},i.getChildren=function(t,e,i,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=-E);var r=[],o=this._first;while(o)o._start>=n&&(o instanceof di?e&&r.push(o):(i&&r.push(o),t&&r.push.apply(r,o.getChildren(!0,e,i)))),o=o._next;return r},i.getById=function(t){var e=this.getChildren(1,1,1),i=e.length;while(i--)if(e[i].vars.id===t)return e[i]},i.remove=function(t){return B(t)?this.removeLabel(t):F(t)?this.killTweensOf(t):(Rt(this,t),t===this._recent&&(this._recent=this._last),jt(this))},i.totalTime=function(e,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=wt(je.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,i),this._forcing=0,this):this._tTime},i.addLabel=function(t,e){return this.labels[t]=ie(this,e),this},i.removeLabel=function(t){return delete this.labels[t],this},i.addPause=function(t,e,i){var n=di.delayedCall(0,e||lt,i);return n.data="isPause",this._hasPause=1,Vt(this,n,ie(this,t))},i.removePause=function(t){var e=this._first;t=ie(this,t);while(e)e._start===t&&"isPause"===e.data&&Nt(e),e=e._next},i.killTweensOf=function(t,e,i){var n=this.getTweensOf(t,i),r=n.length;while(r--)ii!==n[r]&&n[r].kill(t,e);return this},i.getTweensOf=function(t,e){var i,n=[],r=ce(t),o=this._first,s=W(e);while(o)o instanceof di?_t(o._targets,r)&&(s?(!ii||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&n.push(o):(i=o.getTweensOf(r,e)).length&&n.push.apply(n,i),o=o._next;return n},i.tweenTo=function(t,e){e=e||{};var i=this,n=ie(i,t),r=e,o=r.startAt,s=r.onStart,a=r.onStartParams,l=r.immediateRender,h=di.to(i,At({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(o&&"time"in o?o.time:i._time))/i.timeScale())||L,onStart:function(){i.pause();var t=e.duration||Math.abs((n-i._time)/i.timeScale());h._dur!==t&&Qt(h,t,0,1).render(h._time,!0,!0),s&&s.apply(h,a||[])}},e));return l?h.render(0):h},i.tweenFromTo=function(t,e,i){return this.tweenTo(e,At({startAt:{time:ie(this,t)}},i))},i.recent=function(){return this._recent},i.nextLabel=function(t){return void 0===t&&(t=this._time),Me(this,ie(this,t))},i.previousLabel=function(t){return void 0===t&&(t=this._time),Me(this,ie(this,t),1)},i.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+L)},i.shiftChildren=function(t,e,i){void 0===i&&(i=0);var n,r=this._first,o=this.labels;while(r)r._start>=i&&(r._start+=t,r._end+=t),r=r._next;if(e)for(n in o)o[n]>=i&&(o[n]+=t);return jt(this)},i.invalidate=function(){var e=this._first;this._lock=0;while(e)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},i.clear=function(t){void 0===t&&(t=!0);var e,i=this._first;while(i)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),jt(this)},i.totalDuration=function(t){var e,i,n,r=0,o=this,s=o._last,a=E;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){n=o.parent;while(s)e=s._prev,s._dirty&&s.totalDuration(),i=s._start,i>a&&o._sort&&s._ts&&!o._lock?(o._lock=1,Vt(o,s,i-s._delay,1)._lock=0):a=i,i<0&&s._ts&&(r-=i,(!n&&!o._dp||n&&n.smoothChildTiming)&&(o._start+=i/o._ts,o._time-=i,o._tTime-=i),o.shiftChildren(-i,!1,-Infinity),a=0),s._end>r&&s._ts&&(r=s._end),s=e;Qt(o,o===w&&o._time>r?o._time:r,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(t){if(w._ts&&(Mt(w,Ht(t,w)),k=je.frame),je.frame>=ft){ft+=O.autoSleep||120;var e=w._first;if((!e||!e._ts)&&O.autoSleep&&je._listeners.length<2){while(e&&!e._ts)e=e._next;e||je.sleep()}}},e}(ti);At(ei.prototype,{_lock:0,_hasPause:0,_forcing:0});var ii,ni=function(t,e,i,n,r,o,s){var a,l,h,c,u,d,p,f,g=new ki(this._pt,t,e,0,1,xi,null,r),m=0,y=0;g.b=i,g.e=n,i+="",n+="",(p=~n.indexOf("random("))&&(n=_e(n)),o&&(f=[i,n],o(f,t,e),i=f[0],n=f[1]),l=i.match(J)||[];while(a=J.exec(n))c=a[0],u=n.substring(m,a.index),h?h=(h+1)%5:"rgba("===u.substr(-5)&&(h=1),c!==l[y++]&&(d=parseFloat(l[y-1])||0,g._pt={_next:g._pt,p:u||1===y?u:",",s:d,c:"="===c.charAt(1)?parseFloat(c.substr(2))*("-"===c.charAt(0)?-1:1):parseFloat(c)-d,m:h&&h<4?Math.round:0},m=J.lastIndex);return g.c=m0)O||(e._startAt=0);else if(E&&!(i<0&&D))return void(i&&(e._zTime=i))}else!1===O&&(e._startAt=0);else if(k&&E)if(D)!O&&(e._startAt=0);else if(i&&(b=!1),o=At({overwrite:!1,data:"isFromStart",lazy:b&&X(_),immediateRender:b,stagger:0,parent:I},n),f&&(o[c.prop]=f),Nt(e._startAt=di.set(z,o)),b){if(!i)return}else t(e._startAt,L);for(e._pt=0,_=E&&X(_)||_&&!E,r=0;r")}));else{if(h=A.length,d=b?de(b):lt,H(b))for(c in b)~ci.indexOf(c)&&(p||(p={}),p[c]=b[c]);for(a=0;ap-L&&t>=0?p:tf&&(n=f)),l=this._yoyo&&1&o,l&&(u=this._yEase,n=f-n),a=Gt(this._tTime,s),n===d&&!i&&this._initted)return this;o!==a&&(c&&this._yEase&&Ve(c,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=i=1,this.render(wt(s*o),!0).invalidate()._lock=0))}if(!this._initted){if($t(this,t<0?t:n,i,e))return this._tTime=0,this;if(f!==this._dur)return this.render(t,e,i)}this._tTime=g,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(u||this._ease)(n/f),this._from&&(this.ratio=h=1-h),n&&!d&&!e&&ke(this,"onStart"),r=this._pt;while(r)r.r(h,r.d),r=r._next;c&&c.render(t<0?t:!n&&l?-L:c._dur*h,e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,i),ke(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!e&&this.parent&&ke(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!f)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&Nt(this,1),e||t<0&&!d||!g&&!d||(ke(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g

0)&&this._prom()))}}else Kt(this,t,e,i);return this},i.targets=function(){return this._targets},i.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},i.kill=function(t,e){if(void 0===e&&(e="all"),!t&&(!e||"all"===e))return this._lazy=this._pt=0,this.parent?Te(this):this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,ii&&!0!==ii.vars.overwrite)._first||Te(this),this.parent&&i!==this.timeline.totalDuration()&&Qt(this,this._dur*this.timeline._tDur/i,0,1),this}var n,r,o,s,a,l,h,c=this._targets,u=t?ce(t):c,d=this._ptLookup,p=this._pt;if((!e||"all"===e)&&zt(c,u))return"all"===e&&(this._pt=0),Te(this);n=this._op=this._op||[],"all"!==e&&(B(e)&&(a={},xt(e,(function(t){return a[t]=1})),e=a),e=li(c,e)),h=c.length;while(h--)if(~u.indexOf(c[h]))for(a in r=d[h],"all"===e?(n[h]=e,s=r,o={}):(o=n[h]=n[h]||{},s=e),s)l=r&&r[a],l&&("kill"in l.d&&!0!==l.d.kill(a)||Rt(this,l,"_pt"),delete r[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&p&&Te(this),this},e.to=function(t,i){return new e(t,i,arguments[2])},e.from=function(t,i){return new e(t,St(arguments,1))},e.delayedCall=function(t,i,n,r){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:i,onReverseComplete:i,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:r})},e.fromTo=function(t,i,n){return new e(t,St(arguments,2))},e.set=function(t,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(t,i)},e.killTweensOf=function(t,e,i){return w.killTweensOf(t,e,i)},e}(ti);At(di.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),xt("staggerTo,staggerFrom,staggerFromTo",(function(t){di[t]=function(){var e=new ei,i=ae.call(arguments,0);return i.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,i)}}));var pi=function(t,e,i){return t[e]=i},fi=function(t,e,i){return t[e](i)},gi=function(t,e,i,n){return t[e](n.fp,i)},mi=function(t,e,i){return t.setAttribute(e,i)},yi=function(t,e){return F(t[e])?fi:G(t[e])&&t.setAttribute?mi:pi},vi=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},bi=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},xi=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{while(i)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round(1e4*(i.s+i.c*t))/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},wi=function(t,e){var i=e._pt;while(i)i.r(t,i.d),i=i._next},_i=function(t,e,i,n){var r,o=this._pt;while(o)r=o._next,o.p===n&&o.modifier(t,e,i),o=r},Si=function(t){var e,i,n=this._pt;while(n)i=n._next,n.p===t&&!n.op||n.op===t?Rt(this,n,"_pt"):n.dep||(e=1),n=i;return!e},Ci=function(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)},Mi=function(t){var e,i,n,r,o=t._pt;while(o){e=o._next,i=n;while(i&&i.pr>o.pr)i=i._next;(o._prev=i?i._prev:r)?o._prev._next=o:n=o,(o._next=i)?i._prev=o:r=o,o=e}t._pt=n},ki=function(){function t(t,e,i,n,r,o,s,a,l){this.t=e,this.s=n,this.c=r,this.p=i,this.r=o||vi,this.d=s||this,this.set=a||pi,this.pr=l||0,this._next=t,t&&(t._prev=this)}var e=t.prototype;return e.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=Ci,this.m=t,this.mt=i,this.tween=e},t}();xt(mt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return ht[t]=1})),it.TweenMax=it.TweenLite=di,it.TimelineLite=it.TimelineMax=ei,w=new ei({sortChildren:!1,defaults:P,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),O.stringFilter=Ne;var Ti={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i1){var n=t.map((function(t){return Ei.quickSetter(t,e,i)})),r=n.length;return function(t){var e=r;while(e--)n[e](t)}}t=t[0]||{};var o=dt[e],s=vt(t),a=s.harness&&(s.harness.aliases||{})[e]||e,l=o?function(e){var n=new o;T._pt=0,n.init(t,i?e+i:e,T,0,[t]),n.render(1,n),T._pt&&wi(1,T)}:s.set(t,a);return o?l:function(e){return l(t,a,i?e+i:e,s,1)}},isTweening:function(t){return w.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=qe(t.ease,P.ease)),Et(P,t||{})},config:function(t){return Et(O,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,n=t.plugins,r=t.defaults,o=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!dt[t]&&!it[t]&&st(e+" effect requires "+t+" plugin.")})),pt[e]=function(t,e,n){return i(ce(t),At(e||{},r),n)},o&&(ei.prototype[e]=function(t,i,n){return this.add(pt[e](t,H(i)?i:(n=i)&&{},this),n)})},registerEase:function(t,e){Fe[t]=qe(e)},parseEase:function(t,e){return arguments.length?qe(t,e):Fe},getById:function(t){return w.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var i,n,r=new ei(t);r.smoothChildTiming=X(t.smoothChildTiming),w.remove(r),r._dp=0,r._time=r._tTime=w._time,i=w._first;while(i)n=i._next,!e&&!i._dur&&i instanceof di&&i.vars.onComplete===i._targets[0]||Vt(r,i,i._start-i._delay),i=n;return Vt(w,r,0),r},utils:{wrap:xe,wrapYoyo:we,distribute:de,random:ge,snap:fe,normalize:ve,getUnit:oe,clamp:se,splitColor:Le,toArray:ce,mapRange:Se,pipe:me,unitize:ye,interpolate:Ce,shuffle:ue},install:rt,effects:pt,ticker:je,updateRoot:ei.updateRoot,plugins:dt,globalTimeline:w,core:{PropTween:ki,globals:at,Tween:di,Timeline:ei,Animation:ti,getCache:vt,_removeLinkedListItem:Rt,suppressOverwrites:function(t){return x=t}}};xt("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return Ti[t]=di[t]})),je.add(ei.updateRoot),T=Ti.to({},{duration:0});var Ai=function(t,e){var i=t._pt;while(i&&i.p!==e&&i.op!==e&&i.fp!==e)i=i._next;return i},Oi=function(t,e){var i,n,r,o=t._targets;for(i in e){n=o.length;while(n--)r=t._ptLookup[n][i],r&&(r=r.d)&&(r._pt&&(r=Ai(r,i)),r&&r.modifier&&r.modifier(e[i],t,o[n],i))}},Pi=function(t,e){return{name:t,rawVars:1,init:function(t,i,n){n._onInit=function(t){var n,r;if(B(i)&&(n={},xt(i,(function(t){return n[t]=1})),i=n),e){for(r in n={},i)n[r]=e(i[r]);i=n}Oi(t,i)}}}},Ei=Ti.registerPlugin({name:"attr",init:function(t,e,i,n,r){var o,s;for(o in e)s=this.add(t,"setAttribute",(t.getAttribute(o)||0)+"",e[o],n,r,0,0,o),s&&(s.op=o),this._props.push(o)}},{name:"endArray",init:function(t,e){var i=e.length;while(i--)this.add(t,i,t[i]||0,e[i])}},Pi("roundProps",pe),Pi("modifiers"),Pi("snap",fe))||Ti;di.version=ei.version=Ei.version="3.6.1",M=1,Y()&&Be();Fe.Power0,Fe.Power1,Fe.Power2,Fe.Power3,Fe.Power4,Fe.Linear,Fe.Quad,Fe.Cubic,Fe.Quart,Fe.Quint,Fe.Strong,Fe.Elastic,Fe.Back,Fe.SteppedEase,Fe.Bounce,Fe.Sine,Fe.Expo,Fe.Circ; /*! * CSSPlugin 3.6.1 * https://greensock.com * * Copyright 2008-2021, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, [email protected] */var Li,Di,zi,Ii,Ri,Ni,ji,Bi=function(){return"undefined"!==typeof window},Fi={},Wi=180/Math.PI,Gi=Math.PI/180,Hi=Math.atan2,Xi=1e8,Yi=/([A-Z])/g,Ui=/(?:left|right|width|margin|padding|x)/i,Vi=/[\s,\(]\S/,qi={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$i=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Zi=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Ki=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Ji=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Qi=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},tn=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},en=function(t,e,i){return t.style[e]=i},nn=function(t,e,i){return t.style.setProperty(e,i)},rn=function(t,e,i){return t._gsap[e]=i},on=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},sn=function(t,e,i,n,r){var o=t._gsap;o.scaleX=o.scaleY=i,o.renderTransform(r,o)},an=function(t,e,i,n,r){var o=t._gsap;o[e]=i,o.renderTransform(r,o)},ln="transform",hn=ln+"Origin",cn=function(t,e){var i=Di.createElementNS?Di.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Di.createElement(t);return i.style?i:Di.createElement(t)},un=function t(e,i,n){var r=getComputedStyle(e);return r[i]||r.getPropertyValue(i.replace(Yi,"-$1").toLowerCase())||r.getPropertyValue(i)||!n&&t(e,pn(i)||i,1)||""},dn="O,Moz,ms,Ms,Webkit".split(","),pn=function(t,e,i){var n=e||Ri,r=n.style,o=5;if(t in r&&!i)return t;t=t.charAt(0).toUpperCase()+t.substr(1);while(o--&&!(dn[o]+t in r));return o<0?null:(3===o?"ms":o>=0?dn[o]:"")+t},fn=function(){Bi()&&window.document&&(Li=window,Di=Li.document,zi=Di.documentElement,Ri=cn("div")||{style:{}},cn("div"),ln=pn(ln),hn=ln+"Origin",Ri.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ji=!!pn("perspective"),Ii=1)},gn=function t(e){var i,n=cn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(zi.appendChild(n),n.appendChild(this),this.style.display="block",e)try{i=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(a){}else this._gsapBBox&&(i=this._gsapBBox());return r&&(o?r.insertBefore(this,o):r.appendChild(this)),zi.removeChild(n),this.style.cssText=s,i},mn=function(t,e){var i=e.length;while(i--)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},yn=function(t){var e;try{e=t.getBBox()}catch(i){e=gn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===gn||(e=gn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+mn(t,["x","cx","x1"])||0,y:+mn(t,["y","cy","y1"])||0,width:0,height:0}},vn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!yn(t))},bn=function(t,e){if(e){var i=t.style;e in Fi&&e!==hn&&(e=ln),i.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty(e.replace(Yi,"-$1").toLowerCase())):i.removeAttribute(e)}},xn=function(t,e,i,n,r,o){var s=new ki(t._pt,e,i,0,1,o?tn:Qi);return t._pt=s,s.b=n,s.e=r,t._props.push(i),s},wn={deg:1,rad:1,turn:1},_n=function t(e,i,n,r){var o,s,a,l,h=parseFloat(n)||0,c=(n+"").trim().substr((h+"").length)||"px",u=Ri.style,d=Ui.test(i),p="svg"===e.tagName.toLowerCase(),f=(p?"client":"offset")+(d?"Width":"Height"),g=100,m="px"===r,y="%"===r;return r===c||!h||wn[r]||wn[c]?h:("px"!==c&&!m&&(h=t(e,i,n,"px")),l=e.getCTM&&vn(e),!y&&"%"!==c||!Fi[i]&&!~i.indexOf("adius")?(u[d?"width":"height"]=g+(m?c:r),s=~i.indexOf("adius")||"em"===r&&e.appendChild&&!p?e:e.parentNode,l&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==Di&&s.appendChild||(s=Di.body),a=s._gsap,a&&y&&a.width&&d&&a.time===je.time?wt(h/a.width*g):((y||"%"===c)&&(u.position=un(e,"position")),s===e&&(u.position="static"),s.appendChild(Ri),o=Ri[f],s.removeChild(Ri),u.position="absolute",d&&y&&(a=vt(s),a.time=je.time,a.width=s[f]),wt(m?o*h/g:o&&h?g/o*h:0))):(o=l?e.getBBox()[d?"width":"height"]:e[f],wt(y?h/o*g:h/100*o)))},Sn=function(t,e,i,n){var r;return Ii||fn(),e in qi&&"transform"!==e&&(e=qi[e],~e.indexOf(",")&&(e=e.split(",")[0])),Fi[e]&&"transform"!==e?(r=In(t,n),r="transformOrigin"!==e?r[e]:Rn(un(t,hn))+" "+r.zOrigin+"px"):(r=t.style[e],(!r||"auto"===r||n||~(r+"").indexOf("calc("))&&(r=An[e]&&An[e](t,e,i)||un(t,e)||bt(t,e)||("opacity"===e?1:0))),i&&!~(r+"").trim().indexOf(" ")?_n(t,e,r,i)+i:r},Cn=function(t,e,i,n){if(!i||"none"===i){var r=pn(e,t,1),o=r&&un(t,r,1);o&&o!==i?(e=r,i=o):"borderColor"===e&&(i=un(t,"borderTopColor"))}var s,a,l,h,c,u,d,p,f,g,m,y,v,b=new ki(this._pt,t.style,e,0,1,xi),x=0,w=0;if(b.b=i,b.e=n,i+="",n+="","auto"===n&&(t.style[e]=n,n=un(t,e)||n,t.style[e]=i),s=[i,n],Ne(s),i=s[0],n=s[1],l=i.match(K)||[],v=n.match(K)||[],v.length){while(a=K.exec(n))d=a[0],f=n.substring(x,a.index),c?c=(c+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(c=1),d!==(u=l[w++]||"")&&(h=parseFloat(u)||0,m=u.substr((h+"").length),y="="===d.charAt(1)?+(d.charAt(0)+"1"):0,y&&(d=d.substr(2)),p=parseFloat(d),g=d.substr((p+"").length),x=K.lastIndex-g.length,g||(g=g||O.units[e]||m,x===n.length&&(n+=g,b.e+=g)),m!==g&&(h=_n(t,e,u,g)||0),b._pt={_next:b._pt,p:f||1===w?f:",",s:h,c:y?y*p:p-h,m:c&&c<4||"zIndex"===e?Math.round:0});b.c=x-1)i=a[r],Fi[i]&&(n=1,i="transformOrigin"===i?hn:ln),bn(o,i)}n&&(bn(o,ln),l&&(l.svg&&o.removeAttribute("transform"),In(o,1),l.uncache=1))}},An={clearProps:function(t,e,i,n,r){if("isFromStart"!==r.data){var o=t._pt=new ki(t._pt,e,i,0,0,Tn);return o.u=n,o.pr=-10,o.tween=r,t._props.push(i),1}}},On=[1,0,0,1,0,0],Pn={},En=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Ln=function(t){var e=un(t,ln);return En(e)?On:e.substr(7).match(Z).map(wt)},Dn=function(t,e){var i,n,r,o,s=t._gsap||vt(t),a=t.style,l=Ln(t);return s.svg&&t.getAttribute("transform")?(r=t.transform.baseVal.consolidate().matrix,l=[r.a,r.b,r.c,r.d,r.e,r.f],"1,0,0,1,0,0"===l.join(",")?On:l):(l!==On||t.offsetParent||t===zi||s.svg||(r=a.display,a.display="block",i=t.parentNode,i&&t.offsetParent||(o=1,n=t.nextSibling,zi.appendChild(t)),l=Ln(t),r?a.display=r:bn(t,"display"),o&&(n?i.insertBefore(t,n):i?i.appendChild(t):zi.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},zn=function(t,e,i,n,r,o){var s,a,l,h,c=t._gsap,u=r||Dn(t,!0),d=c.xOrigin||0,p=c.yOrigin||0,f=c.xOffset||0,g=c.yOffset||0,m=u[0],y=u[1],v=u[2],b=u[3],x=u[4],w=u[5],_=e.split(" "),S=parseFloat(_[0])||0,C=parseFloat(_[1])||0;i?u!==On&&(a=m*b-y*v)&&(l=S*(b/a)+C*(-v/a)+(v*w-b*x)/a,h=S*(-y/a)+C*(m/a)-(m*w-y*x)/a,S=l,C=h):(s=yn(t),S=s.x+(~_[0].indexOf("%")?S/100*s.width:S),C=s.y+(~(_[1]||_[0]).indexOf("%")?C/100*s.height:C)),n||!1!==n&&c.smooth?(x=S-d,w=C-p,c.xOffset=f+(x*m+w*v)-x,c.yOffset=g+(x*y+w*b)-w):c.xOffset=c.yOffset=0,c.xOrigin=S,c.yOrigin=C,c.smooth=!!n,c.origin=e,c.originIsAbsolute=!!i,t.style[hn]="0px 0px",o&&(xn(o,c,"xOrigin",d,S),xn(o,c,"yOrigin",p,C),xn(o,c,"xOffset",f,c.xOffset),xn(o,c,"yOffset",g,c.yOffset)),t.setAttribute("data-svg-origin",S+" "+C)},In=function(t,e){var i=t._gsap||new Qe(t);if("x"in i&&!e&&!i.uncache)return i;var n,r,o,s,a,l,h,c,u,d,p,f,g,m,y,v,b,x,w,_,S,C,M,k,T,A,P,E,L,D,z,I,R=t.style,N=i.scaleX<0,j="px",B="deg",F=un(t,hn)||"0";return n=r=o=l=h=c=u=d=p=0,s=a=1,i.svg=!(!t.getCTM||!vn(t)),m=Dn(t,i.svg),i.svg&&(k=!i.uncache&&!e&&t.getAttribute("data-svg-origin"),zn(t,k||F,!!k||i.originIsAbsolute,!1!==i.smooth,m)),f=i.xOrigin||0,g=i.yOrigin||0,m!==On&&(x=m[0],w=m[1],_=m[2],S=m[3],n=C=m[4],r=M=m[5],6===m.length?(s=Math.sqrt(x*x+w*w),a=Math.sqrt(S*S+_*_),l=x||w?Hi(w,x)*Wi:0,u=_||S?Hi(_,S)*Wi+l:0,u&&(a*=Math.abs(Math.cos(u*Gi))),i.svg&&(n-=f-(f*x+g*_),r-=g-(f*w+g*S))):(I=m[6],D=m[7],P=m[8],E=m[9],L=m[10],z=m[11],n=m[12],r=m[13],o=m[14],y=Hi(I,L),h=y*Wi,y&&(v=Math.cos(-y),b=Math.sin(-y),k=C*v+P*b,T=M*v+E*b,A=I*v+L*b,P=C*-b+P*v,E=M*-b+E*v,L=I*-b+L*v,z=D*-b+z*v,C=k,M=T,I=A),y=Hi(-_,L),c=y*Wi,y&&(v=Math.cos(-y),b=Math.sin(-y),k=x*v-P*b,T=w*v-E*b,A=_*v-L*b,z=S*b+z*v,x=k,w=T,_=A),y=Hi(w,x),l=y*Wi,y&&(v=Math.cos(y),b=Math.sin(y),k=x*v+w*b,T=C*v+M*b,w=w*v-x*b,M=M*v-C*b,x=k,C=T),h&&Math.abs(h)+Math.abs(l)>359.9&&(h=l=0,c=180-c),s=wt(Math.sqrt(x*x+w*w+_*_)),a=wt(Math.sqrt(M*M+I*I)),y=Hi(C,M),u=Math.abs(y)>2e-4?y*Wi:0,p=z?1/(z<0?-z:z):0),i.svg&&(k=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!En(un(t,ln)),k&&t.setAttribute("transform",k))),Math.abs(u)>90&&Math.abs(u)<270&&(N?(s*=-1,u+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,u+=u<=0?180:-180)),i.x=n-((i.xPercent=n&&(i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+j,i.y=r-((i.yPercent=r&&(i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-r)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+j,i.z=o+j,i.scaleX=wt(s),i.scaleY=wt(a),i.rotation=wt(l)+B,i.rotationX=wt(h)+B,i.rotationY=wt(c)+B,i.skewX=u+B,i.skewY=d+B,i.transformPerspective=p+j,(i.zOrigin=parseFloat(F.split(" ")[2])||0)&&(R[hn]=Rn(F)),i.xOffset=i.yOffset=0,i.force3D=O.force3D,i.renderTransform=i.svg?Hn:ji?Gn:jn,i.uncache=0,i},Rn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Nn=function(t,e,i){var n=oe(e);return wt(parseFloat(e)+parseFloat(_n(t,"x",i+"px",n)))+n},jn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Gn(t,e)},Bn="0deg",Fn="0px",Wn=") ",Gn=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,o=i.x,s=i.y,a=i.z,l=i.rotation,h=i.rotationY,c=i.rotationX,u=i.skewX,d=i.skewY,p=i.scaleX,f=i.scaleY,g=i.transformPerspective,m=i.force3D,y=i.target,v=i.zOrigin,b="",x="auto"===m&&t&&1!==t||!0===m;if(v&&(c!==Bn||h!==Bn)){var w,_=parseFloat(h)*Gi,S=Math.sin(_),C=Math.cos(_);_=parseFloat(c)*Gi,w=Math.cos(_),o=Nn(y,o,S*w*-v),s=Nn(y,s,-Math.sin(_)*-v),a=Nn(y,a,C*w*-v+v)}g!==Fn&&(b+="perspective("+g+Wn),(n||r)&&(b+="translate("+n+"%, "+r+"%) "),(x||o!==Fn||s!==Fn||a!==Fn)&&(b+=a!==Fn||x?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+Wn),l!==Bn&&(b+="rotate("+l+Wn),h!==Bn&&(b+="rotateY("+h+Wn),c!==Bn&&(b+="rotateX("+c+Wn),u===Bn&&d===Bn||(b+="skew("+u+", "+d+Wn),1===p&&1===f||(b+="scale("+p+", "+f+Wn),y.style[ln]=b||"translate(0, 0)"},Hn=function(t,e){var i,n,r,o,s,a=e||this,l=a.xPercent,h=a.yPercent,c=a.x,u=a.y,d=a.rotation,p=a.skewX,f=a.skewY,g=a.scaleX,m=a.scaleY,y=a.target,v=a.xOrigin,b=a.yOrigin,x=a.xOffset,w=a.yOffset,_=a.forceCSS,S=parseFloat(c),C=parseFloat(u);d=parseFloat(d),p=parseFloat(p),f=parseFloat(f),f&&(f=parseFloat(f),p+=f,d+=f),d||p?(d*=Gi,p*=Gi,i=Math.cos(d)*g,n=Math.sin(d)*g,r=Math.sin(d-p)*-m,o=Math.cos(d-p)*m,p&&(f*=Gi,s=Math.tan(p-f),s=Math.sqrt(1+s*s),r*=s,o*=s,f&&(s=Math.tan(f),s=Math.sqrt(1+s*s),i*=s,n*=s)),i=wt(i),n=wt(n),r=wt(r),o=wt(o)):(i=g,o=m,n=r=0),(S&&!~(c+"").indexOf("px")||C&&!~(u+"").indexOf("px"))&&(S=_n(y,"x",c,"px"),C=_n(y,"y",u,"px")),(v||b||x||w)&&(S=wt(S+v-(v*i+b*r)+x),C=wt(C+b-(v*n+b*o)+w)),(l||h)&&(s=y.getBBox(),S=wt(S+l/100*s.width),C=wt(C+h/100*s.height)),s="matrix("+i+","+n+","+r+","+o+","+S+","+C+")",y.setAttribute("transform",s),_&&(y.style[ln]=s)},Xn=function(t,e,i,n,r,o){var s,a,l=360,h=B(r),c=parseFloat(r)*(h&&~r.indexOf("rad")?Wi:1),u=o?c*o:c-n,d=n+u+"deg";return h&&(s=r.split("_")[1],"short"===s&&(u%=l,u!==u%(l/2)&&(u+=u<0?l:-l)),"cw"===s&&u<0?u=(u+l*Xi)%l-~~(u/l)*l:"ccw"===s&&u>0&&(u=(u-l*Xi)%l-~~(u/l)*l)),t._pt=a=new ki(t._pt,e,i,n,u,Zi),a.e=d,a.u="deg",t._props.push(i),a},Yn=function(t,e){for(var i in e)t[i]=e[i];return t},Un=function(t,e,i){var n,r,o,s,a,l,h,c,u=Yn({},i._gsap),d="perspective,force3D,transformOrigin,svgOrigin",p=i.style;for(r in u.svg?(o=i.getAttribute("transform"),i.setAttribute("transform",""),p[ln]=e,n=In(i,1),bn(i,ln),i.setAttribute("transform",o)):(o=getComputedStyle(i)[ln],p[ln]=e,n=In(i,1),p[ln]=o),Fi)o=u[r],s=n[r],o!==s&&d.indexOf(r)<0&&(h=oe(o),c=oe(s),a=h!==c?_n(i,r,o,c):parseFloat(o),l=parseFloat(s),t._pt=new ki(t._pt,n,r,a,l-a,$i),t._pt.u=c||0,t._props.push(r));Yn(n,u)};xt("padding,margin,Width,Radius",(function(t,e){var i="Top",n="Right",r="Bottom",o="Left",s=(e<3?[i,n,r,o]:[i+o,i+n,r+n,r+o]).map((function(i){return e<2?t+i:"border"+i+t}));An[e>1?"border"+t:t]=function(t,e,i,n,r){var o,a;if(arguments.length<4)return o=s.map((function(e){return Sn(t,e,i)})),a=o.join(" "),5===a.split(o[0]).length?o[0]:a;o=(n+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,r)}}));var Vn={name:"css",register:fn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,r){var o,s,a,l,h,c,u,d,p,f,g,m,y,v,b,x=this._props,w=t.style,_=i.vars.startAt;for(u in Ii||fn(),e)if("autoRound"!==u&&(s=e[u],!dt[u]||!si(u,e,i,n,t,r)))if(h=typeof s,c=An[u],"function"===h&&(s=s.call(i,n,t,r),h=typeof s),"string"===h&&~s.indexOf("random(")&&(s=_e(s)),c)c(this,t,u,s,i)&&(b=1);else if("--"===u.substr(0,2))o=(getComputedStyle(t).getPropertyValue(u)+"").trim(),s+="",Ie.lastIndex=0,Ie.test(o)||(d=oe(o),p=oe(s)),p?d!==p&&(o=_n(t,u,o,p)+p):d&&(s+=d),this.add(w,"setProperty",o,s,n,r,0,0,u);else if("undefined"!==h){if(_&&u in _?(o="function"===typeof _[u]?_[u].call(i,n,t,r):_[u],u in O.units&&!oe(o)&&(o+=O.units[u]),"="===(o+"").charAt(1)&&(o=Sn(t,u))):o=Sn(t,u),l=parseFloat(o),f="string"===h&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0,f&&(s=s.substr(2)),a=parseFloat(s),u in qi&&("autoAlpha"===u&&(1===l&&"hidden"===Sn(t,"visibility")&&a&&(l=0),xn(this,w,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==u&&"transform"!==u&&(u=qi[u],~u.indexOf(",")&&(u=u.split(",")[0]))),g=u in Fi,g)if(m||(y=t._gsap,y.renderTransform&&!e.parseTransform||In(t,e.parseTransform),v=!1!==e.smoothOrigin&&y.smooth,m=this._pt=new ki(this._pt,w,ln,0,1,y.renderTransform,y,0,-1),m.dep=1),"scale"===u)this._pt=new ki(this._pt,y,"scaleY",y.scaleY,f?f*a:a-y.scaleY),x.push("scaleY",u),u+="X";else{if("transformOrigin"===u){s=kn(s),y.svg?zn(t,s,0,v,0,this):(p=parseFloat(s.split(" ")[2])||0,p!==y.zOrigin&&xn(this,y,"zOrigin",y.zOrigin,p),xn(this,w,u,Rn(o),Rn(s)));continue}if("svgOrigin"===u){zn(t,s,1,v,0,this);continue}if(u in Pn){Xn(this,y,u,l,s,f);continue}if("smoothOrigin"===u){xn(this,y,"smooth",y.smooth,s);continue}if("force3D"===u){y[u]=s;continue}if("transform"===u){Un(this,s,t);continue}}else u in w||(u=pn(u)||u);if(g||(a||0===a)&&(l||0===l)&&!Vi.test(s)&&u in w)d=(o+"").substr((l+"").length),a||(a=0),p=oe(s)||(u in O.units?O.units[u]:d),d!==p&&(l=_n(t,u,o,p)),this._pt=new ki(this._pt,g?y:w,u,l,f?f*a:a-l,g||"px"!==p&&"zIndex"!==u||!1===e.autoRound?$i:Ji),this._pt.u=p||0,d!==p&&(this._pt.b=o,this._pt.r=Ki);else if(u in w)Cn.call(this,t,u,o,s);else{if(!(u in t)){ot(u,s);continue}this.add(t,u,t[u],s,n,r)}x.push(u)}b&&Mi(this)},get:Sn,aliases:qi,getSetter:function(t,e,i){var n=qi[e];return n&&n.indexOf(",")<0&&(e=n),e in Fi&&e!==hn&&(t._gsap.x||Sn(t,"x"))?i&&Ni===i?"scale"===e?on:rn:(Ni=i||{})&&("scale"===e?sn:an):t.style&&!G(t.style[e])?en:~e.indexOf("-")?nn:yi(t,e)},core:{_removeProperty:bn,_getMatrix:Dn}};Ei.utils.checkPrefix=pn,function(t,e,i,n){var r=xt(t+","+e+","+i,(function(t){Fi[t]=1}));xt(e,(function(t){O.units[t]="deg",Pn[t]=1})),qi[r[13]]=t+","+e,xt(n,(function(t){var e=t.split(":");qi[e[1]]=r[e[0]]}))}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),xt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){O.units[t]="px"})),Ei.registerPlugin(Vn);var qn=Ei.registerPlugin(Vn)||Ei,$n=(qn.core.Tween,i("49dc"));function Zn(t){if(Array.isArray(t))return c(t)}function Kn(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Jn(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Qn(t){return Zn(t)||Kn(t)||u(t)||Jn()}i("4de4"),i("b64b"),i("caad"),i("2532"),i("d81d");var tr=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)};function er(){}var ir=function(t){return null==t?er:function(){return this.querySelector(t)}},nr=function(t){"function"!==typeof t&&(t=ir(t));for(var e=this._groups,i=e.length,n=new Array(i),r=0;r=w&&(w=x+1);while(!(b=m[w])&&++w=0;)(n=r[o])&&(s&&4^n.compareDocumentPosition(s)&&s.parentNode.insertBefore(n,s),s=n);return this},Er=function(t){function e(e,i){return e&&i?t(e.__data__,i.__data__):!e-!i}t||(t=Lr);for(var i=this._groups,n=i.length,r=new Array(n),o=0;oe?1:t>=e?0:NaN}var Dr=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},zr=function(){return Array.from(this)},Ir=function(){for(var t=this._groups,e=0,i=t.length;e=0&&"xmlns"!==(e=t.slice(0,i))&&(t=t.slice(i+1)),Fr.hasOwnProperty(e)?{space:Fr[e],local:t}:t};function Gr(t){return function(){this.removeAttribute(t)}}function Hr(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Xr(t,e){return function(){this.setAttribute(t,e)}}function Yr(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Ur(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttribute(t):this.setAttribute(t,i)}}function Vr(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}var qr=function(t,e){var i=Wr(t);if(arguments.length<2){var n=this.node();return i.local?n.getAttributeNS(i.space,i.local):n.getAttribute(i)}return this.each((null==e?i.local?Hr:Gr:"function"===typeof e?i.local?Vr:Ur:i.local?Yr:Xr)(i,e))},$r=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Zr(t){return function(){this.style.removeProperty(t)}}function Kr(t,e,i){return function(){this.style.setProperty(t,e,i)}}function Jr(t,e,i){return function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,i)}}var Qr=function(t,e,i){return arguments.length>1?this.each((null==e?Zr:"function"===typeof e?Jr:Kr)(t,e,null==i?"":i)):to(this.node(),t)};function to(t,e){return t.style.getPropertyValue(e)||$r(t).getComputedStyle(t,null).getPropertyValue(e)}function eo(t){return function(){delete this[t]}}function io(t,e){return function(){this[t]=e}}function no(t,e){return function(){var i=e.apply(this,arguments);null==i?delete this[t]:this[t]=i}}var ro=function(t,e){return arguments.length>1?this.each((null==e?eo:"function"===typeof e?no:io)(t,e)):this.node()[t]};function oo(t){return t.trim().split(/^|\s+/)}function so(t){return t.classList||new ao(t)}function ao(t){this._node=t,this._names=oo(t.getAttribute("class")||"")}function lo(t,e){var i=so(t),n=-1,r=e.length;while(++n=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var fo=function(t,e){var i=oo(t+"");if(arguments.length<2){var n=so(this.node()),r=-1,o=i.length;while(++r=0&&(e=t.slice(i+1),t=t.slice(0,i)),{type:t,name:e}}))}function Wo(t){return function(){var e=this.__on;if(e){for(var i,n=0,r=-1,o=e.length;n0)return[t];if((n=e0){let i=Math.round(t/s),n=Math.round(e/s);i*se&&--n,o=new Array(r=n-i+1);while(++ae&&--n,o=new Array(r=n-i+1);while(++a=0?(o>=is?10:o>=ns?5:o>=rs?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(o>=is?10:o>=ns?5:o>=rs?2:1)}function as(t,e,i){var n=Math.abs(e-t)/Math.max(0,i),r=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),o=n/r;return o>=is?r*=10:o>=ns?r*=5:o>=rs&&(r*=2),ee?1:t>=e?0:NaN},hs=function(t){let e=t,i=t;function n(t,e,n,r){null==n&&(n=0),null==r&&(r=t.length);while(n>>1;i(t[o],e)<0?n=o+1:r=o}return n}function r(t,e,n,r){null==n&&(n=0),null==r&&(r=t.length);while(n>>1;i(t[o],e)>0?r=o:n=o+1}return n}function o(t,i,r,o){null==r&&(r=0),null==o&&(o=t.length);const s=n(t,i,r,o-1);return s>r&&e(t[s-1],i)>-e(t[s],i)?s-1:s}return 1===t.length&&(e=(e,i)=>t(e)-i,i=cs(t)),{left:n,center:o,right:r}};function cs(t){return(e,i)=>ls(t(e),i)}var us=function(t){return null===t?NaN:+t};const ds=hs(ls),ps=ds.right;ds.left,hs(us).center;var fs=ps,gs=function(t,e,i){t.prototype=e.prototype=i,i.constructor=t};function ms(t,e){var i=Object.create(t.prototype);for(var n in e)i[n]=e[n];return i}function ys(){}var vs=.7,bs=1/vs,xs="\\s*([+-]?\\d+)\\s*",ws="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ss=/^#([0-9a-f]{3,8})$/,Cs=new RegExp("^rgb\\("+[xs,xs,xs]+"\\)$"),Ms=new RegExp("^rgb\\("+[_s,_s,_s]+"\\)$"),ks=new RegExp("^rgba\\("+[xs,xs,xs,ws]+"\\)$"),Ts=new RegExp("^rgba\\("+[_s,_s,_s,ws]+"\\)$"),As=new RegExp("^hsl\\("+[ws,_s,_s]+"\\)$"),Os=new RegExp("^hsla\\("+[ws,_s,_s,ws]+"\\)$"),Ps={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Es(){return this.rgb().formatHex()}function Ls(){return Xs(this).formatHsl()}function Ds(){return this.rgb().formatRgb()}function zs(t){var e,i;return t=(t+"").trim().toLowerCase(),(e=Ss.exec(t))?(i=e[1].length,e=parseInt(e[1],16),6===i?Is(e):3===i?new Bs(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===i?Rs(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===i?Rs(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Cs.exec(t))?new Bs(e[1],e[2],e[3],1):(e=Ms.exec(t))?new Bs(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ks.exec(t))?Rs(e[1],e[2],e[3],e[4]):(e=Ts.exec(t))?Rs(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=As.exec(t))?Hs(e[1],e[2]/100,e[3]/100,1):(e=Os.exec(t))?Hs(e[1],e[2]/100,e[3]/100,e[4]):Ps.hasOwnProperty(t)?Is(Ps[t]):"transparent"===t?new Bs(NaN,NaN,NaN,0):null}function Is(t){return new Bs(t>>16&255,t>>8&255,255&t,1)}function Rs(t,e,i,n){return n<=0&&(t=e=i=NaN),new Bs(t,e,i,n)}function Ns(t){return t instanceof ys||(t=zs(t)),t?(t=t.rgb(),new Bs(t.r,t.g,t.b,t.opacity)):new Bs}function js(t,e,i,n){return 1===arguments.length?Ns(t):new Bs(t,e,i,null==n?1:n)}function Bs(t,e,i,n){this.r=+t,this.g=+e,this.b=+i,this.opacity=+n}function Fs(){return"#"+Gs(this.r)+Gs(this.g)+Gs(this.b)}function Ws(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Gs(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function Hs(t,e,i,n){return n<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new Us(t,e,i,n)}function Xs(t){if(t instanceof Us)return new Us(t.h,t.s,t.l,t.opacity);if(t instanceof ys||(t=zs(t)),!t)return new Us;if(t instanceof Us)return t;t=t.rgb();var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.min(e,i,n),o=Math.max(e,i,n),s=NaN,a=o-r,l=(o+r)/2;return a?(s=e===o?(i-n)/a+6*(i0&&l<1?0:s,new Us(s,a,l,t.opacity)}function Ys(t,e,i,n){return 1===arguments.length?Xs(t):new Us(t,e,i,null==n?1:n)}function Us(t,e,i,n){this.h=+t,this.s=+e,this.l=+i,this.opacity=+n}function Vs(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}function qs(t,e,i,n,r){var o=t*t,s=o*t;return((1-3*t+3*o-s)*e+(4-6*o+3*s)*i+(1+3*t+3*o-3*s)*n+s*r)/6}gs(ys,zs,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Es,formatHex:Es,formatHsl:Ls,formatRgb:Ds,toString:Ds}),gs(Bs,js,ms(ys,{brighter:function(t){return t=null==t?bs:Math.pow(bs,t),new Bs(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?vs:Math.pow(vs,t),new Bs(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Fs,formatHex:Fs,formatRgb:Ws,toString:Ws})),gs(Us,Ys,ms(ys,{brighter:function(t){return t=null==t?bs:Math.pow(bs,t),new Us(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?vs:Math.pow(vs,t),new Us(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,n=i+(i<.5?i:1-i)*e,r=2*i-n;return new Bs(Vs(t>=240?t-240:t+120,r,n),Vs(t,r,n),Vs(t<120?t+240:t-120,r,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var $s=function(t){var e=t.length-1;return function(i){var n=i<=0?i=0:i>=1?(i=1,e-1):Math.floor(i*e),r=t[n],o=t[n+1],s=n>0?t[n-1]:2*r-o,a=n()=>t;function Js(t,e){return function(i){return t+i*e}}function Qs(t,e,i){return t=Math.pow(t,i),e=Math.pow(e,i)-t,i=1/i,function(n){return Math.pow(t+n*e,i)}}function ta(t){return 1===(t=+t)?ea:function(e,i){return i-e?Qs(e,i,t):Ks(isNaN(e)?i:e)}}function ea(t,e){var i=e-t;return i?Js(t,i):Ks(isNaN(t)?e:t)}var ia=function t(e){var i=ta(e);function n(t,e){var n=i((t=js(t)).r,(e=js(e)).r),r=i(t.g,e.g),o=i(t.b,e.b),s=ea(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=r(e),t.b=o(e),t.opacity=s(e),t+""}}return n.gamma=t,n}(1);function na(t){return function(e){var i,n,r=e.length,o=new Array(r),s=new Array(r),a=new Array(r);for(i=0;io&&(r=e.slice(o,r),a[s]?a[s]+=r:a[++s]=r),(i=i[0])===(n=n[0])?a[s]?a[s]+=n:a[++s]=n:(a[++s]=null,l.push({i:s,x:la(i,n)})),o=ua.lastIndex;return oe&&(i=t,t=e,e=i),function(i){return Math.max(t,Math.min(e,i))}}function Sa(t,e,i){var n=t[0],r=t[1],o=e[0],s=e[1];return r2?Ca:Sa,r=o=null,u}function u(e){return null==e||isNaN(e=+e)?i:(r||(r=n(s.map(t),a,l)))(t(h(e)))}return u.invert=function(i){return h(e((o||(o=n(a,s.map(t),la)))(i)))},u.domain=function(t){return arguments.length?(s=Array.from(t,va),c()):s.slice()},u.range=function(t){return arguments.length?(a=Array.from(t),c()):a.slice()},u.rangeRound=function(t){return a=Array.from(t),l=ma,c()},u.clamp=function(t){return arguments.length?(h=!!t||xa,c()):h!==xa},u.interpolate=function(t){return arguments.length?(l=t,c()):l},u.unknown=function(t){return arguments.length?(i=t,u):i},function(i,n){return t=i,e=n,c()}}function Ta(){return ka()(xa,xa)}function Aa(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}var Oa=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Pa(t){if(!(e=Oa.exec(t)))throw new Error("invalid format: "+t);var e;return new Ea({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Ea(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Pa.prototype=Ea.prototype,Ea.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var La=function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)};function Da(t,e){if((i=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var i,n=t.slice(0,i);return[n.length>1?n[0]+n.slice(2):n,+t.slice(i+1)]}var za,Ia,Ra,Na,ja=function(t){return t=Da(Math.abs(t)),t?t[1]:NaN},Ba=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ja(e)/3)))-ja(Math.abs(t)))},Fa=function(t,e){return function(i,n){var r=i.length,o=[],s=0,a=t[0],l=0;while(r>0&&a>0){if(l+a+1>n&&(a=Math.max(1,n-l)),o.push(i.substring(r-=a,r+a)),(l+=a+1)>n)break;a=t[s=(s+1)%t.length]}return o.reverse().join(e)}},Wa=function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}},Ga=function(t){t:for(var e,i=t.length,n=1,r=-1;n0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(e+1):t},Ha=function(t,e){var i=Da(t,e);if(!i)return t+"";var n=i[0],r=i[1],o=r-(za=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,s=n.length;return o===s?n:o>s?n+new Array(o-s+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+Da(t,Math.max(0,e+o-1))[0]},Xa=function(t,e){var i=Da(t,e);if(!i)return t+"";var n=i[0],r=i[1];return r<0?"0."+new Array(-r).join("0")+n:n.length>r+1?n.slice(0,r+1)+"."+n.slice(r+1):n+new Array(r-n.length+2).join("0")},Ya={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:La,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Xa(100*t,e),r:Xa,s:Ha,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)},Ua=function(t){return t},Va=Array.prototype.map,qa=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],$a=function(t){var e=void 0===t.grouping||void 0===t.thousands?Ua:Fa(Va.call(t.grouping,Number),t.thousands+""),i=void 0===t.currency?"":t.currency[0]+"",n=void 0===t.currency?"":t.currency[1]+"",r=void 0===t.decimal?".":t.decimal+"",o=void 0===t.numerals?Ua:Wa(Va.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",a=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function h(t){t=Pa(t);var h=t.fill,c=t.align,u=t.sign,d=t.symbol,p=t.zero,f=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):Ya[v]||(void 0===m&&(m=12),y=!0,v="g"),(p||"0"===h&&"="===c)&&(p=!0,h="0",c="=");var b="$"===d?i:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===d?n:/[%p]/.test(v)?s:"",w=Ya[v],_=/[defgprs%]/.test(v);function S(t){var i,n,s,d=b,S=x;if("c"===v)S=w(t)+S,t="";else{t=+t;var C=t<0||1/t<0;if(t=isNaN(t)?l:w(Math.abs(t),m),y&&(t=Ga(t)),C&&0===+t&&"+"!==u&&(C=!1),d=(C?"("===u?u:a:"-"===u||"("===u?"":u)+d,S=("s"===v?qa[8+za/3]:"")+S+(C&&"("===u?")":""),_){i=-1,n=t.length;while(++is||s>57){S=(46===s?r+t.slice(i+1):t.slice(i))+S,t=t.slice(0,i);break}}}g&&!p&&(t=e(t,1/0));var M=d.length+t.length+S.length,k=M>1)+d+t+S+k.slice(M);break;default:t=k+d+t+S;break}return o(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return t+""},S}function c(t,e){var i=h((t=Pa(t),t.type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(ja(e)/3))),r=Math.pow(10,-n),o=qa[8+n/3];return function(t){return i(r*t)+o}}return{format:h,formatPrefix:c}};function Za(t){return Ia=$a(t),Ra=Ia.format,Na=Ia.formatPrefix,Ia}Za({thousands:",",grouping:[3],currency:["$",""]});var Ka=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,ja(e)-ja(t))+1},Ja=function(t){return Math.max(0,-ja(Math.abs(t)))};function Qa(t,e,i,n){var r,o=as(t,e,i);switch(n=Pa(null==n?",f":n),n.type){case"s":var s=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(r=Ba(o,s))||(n.precision=r),Na(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=Ka(o,Math.max(Math.abs(t),Math.abs(e))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=Ja(o))||(n.precision=r-2*("%"===n.type));break}return Ra(n)}function tl(t){var e=t.domain;return t.ticks=function(t){var i=e();return os(i[0],i[i.length-1],null==t?10:t)},t.tickFormat=function(t,i){var n=e();return Qa(n[0],n[n.length-1],null==t?10:t,i)},t.nice=function(i){null==i&&(i=10);var n,r,o=e(),s=0,a=o.length-1,l=o[s],h=o[a],c=10;h0){if(r=ss(l,h,i),r===n)return o[s]=l,o[a]=h,e(o);if(r>0)l=Math.floor(l/r)*r,h=Math.ceil(h/r)*r;else{if(!(r<0))break;l=Math.ceil(l*r)/r,h=Math.floor(h*r)/r}n=r}return t},t}function el(){var t=Ta();return t.copy=function(){return Ma(t,el())},Aa.apply(t,arguments),tl(t)}function il(t,e){var i="bottom",n=60;return 1===t&&(i=e.offsetTop-parseFloat(getComputedStyle(e.previousSibling).marginTop)+n),t>1&&(i=e.previousElementSibling.offsetHeight+parseFloat(getComputedStyle(e.previousElementSibling).marginBottom)+n),"top ".concat(i)}function nl(t,e){return t===e[e.length-1]?"":"top 60"}function rl(t){var e=function(t){return $n["ScrollTrigger"].getAll().filter((function(e){return e.vars.group===t}))};e(t).forEach((function(t){return t.kill()}))}var ol={Buildings:{active:"#AF6AB1",default:"#B187EF"},Industry:{active:"#1DBE62",default:"#68F394"},Transport:{active:"#FFF45A",default:"#FED324"},"Electricity and heating":{active:"#3E7AD3",default:"#49D3FF"},Electricity:{active:"#3E7AD3",default:"#49D3FF"},Other:{active:"#B1B1B1",default:"#E6E6E6"}};function sl(t,e){var i=Object.keys(ol);return i.pop(),i.includes(t)?ol[t][e]:ol.Other[e]}function al(t,e){var i=Qn(t),n=i.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){var i="CH4"===t.subgroup,n=i?t[e]:"".concat(t.milestone," ").concat(t[e]).concat(t.unit);return{default:!!i,sector:t.sector,type:t.type,value:n}})).sort((function(t,e){return t.sector.localeCompare(e.sector)}));return n}var ll=function(t,e){return t.getBoundingClientRect()[e]};function hl(t,e){var i=Qo(".".concat(t,"-milestones")),n=Qo(".".concat(t,"-milestonesLabel"));i.style("fill",(function(t){return t.value===e.value?sl(e.sector,"active"):sl(t.sector,"default")})),n.style("opacity",(function(t){return t.value===e.value?1:0}))}function cl(t,e){var i=Qo(".".concat(t,"-milestones")),n=Qo(".".concat(t,"-milestonesLabel"));i.style("fill",(function(t){return"sm"===e?sl(t.sector,"default"):!0===t.default?sl(t.sector,"active"):sl(t.sector,"default")})),n.style("opacity",(function(t){return"sm"===e?0:!0===t.default?1:0}))}function ul(t,e,i,n,r,o,s){var a=t._groups[0][0],l=es(r,e.node()),h="sm"===s?50:10,c="\n

".concat(o.label,'
\n ').concat(o[n],"Gt\n
\n ");t.html((function(t){return c})).style("border","1px solid ".concat(sl(o.label,"default"))),e.attr("x","".concat(l[0]-ll(a,"width")/2)).attr("y","".concat(l[1]-ll(a,"height")-h)).attr("width",ll(a,"width")).attr("height",ll(a,"height")).style("visibility","visible"),i.style("opacity",(function(t){return t.label===o.label?1:.5}))}function dl(t,e){t.style("visibility","hidden"),e.style("opacity",1)}function pl(t,e,i,n,r){var o=ll(r,"x"===t?"width":"height"),s=el().domain([0,i.length]).range([0,2*Math.PI]),a=el().domain([0,i.length]).range([0,360]),l=n*Math.cos(s(e)),h=n*Math.sin(s(e)),c=a(e)>100&&a(e)<260,u=a(e)<80||a(e)>280,d=a(e)>185&&a(e)<355,p=a(e)>5&&a(e)<175;return"x"===t?c?l-o:u?l:l-o/2:d?h-o:p?h:h-o/2}function fl(t,e){var i=el().domain([0,e.length]).range([0,360]),n=i(t)>100&&i(t)<260,r=i(t)<80||i(t)>280;return n?"left":r?"right":"middle"}qn.registerPlugin($n["ScrollTrigger"]);var gl={data:function(){return{duration:.5,scene:null}},props:{data:{type:Array},phaseRef:{type:String}},mounted:function(){this._setScrollTrigger()},beforeDestroy:function(){rl("steps")},methods:{_setScrollTrigger:function(){var t=this.phaseRef,e=this.duration,i=this.viewChange,n=this.$refs[this.phaseRef];n.forEach((function(r,o){$n["ScrollTrigger"].create({trigger:r,group:"steps",start:function(){return il(o,r)},end:function(){return nl(r,n)},onEnter:function(t){return qn.to(t.trigger,{opacity:1,duration:e})},onEnterBack:function(t){return qn.to(t.trigger,{opacity:1,duration:e})},onLeave:function(t){return qn.to(t.trigger,{opacity:0,duration:e})},onLeaveBack:function(t){return qn.to(t.trigger,{opacity:.1,duration:e})},onToggle:function(t){return i(t)},id:"".concat(t,"-steps-").concat(o)})}))},viewChange:function(t){t.isActive&&(this.scene=t.trigger.dataset.anim,this.$emit("scroll",t.trigger.dataset.anim))}}},ml=gl;i("e0e4");function yl(t,e,i,n,r,o,s,a){var l,h="function"===typeof t?t.options:t;if(e&&(h.render=e,h.staticRenderFns=i,h._compiled=!0),n&&(h.functional=!0),o&&(h._scopeId="data-v-"+o),s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=l):r&&(l=a?function(){r.call(this,(h.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(h.functional){h._injectStyles=l;var c=h.render;h.render=function(t,e){return l.call(e),c(t,e)}}else{var u=h.beforeCreate;h.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:h}}var vl=yl(ml,m,y,!1,null,null,null),bl=vl.exports,xl=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"nze-bubble-chart__wrapper"},[i("svg",{ref:t.phaseRef,staticClass:"nze-bubble-chart__svg"})])},wl=[],_l=function(t){return"string"===typeof t?new Zo([[document.querySelector(t)]],[document.documentElement]):new Zo([[t]],$o)},Sl={value:()=>{}};function Cl(){for(var t,e=0,i=arguments.length,n={};e=0&&(i=t.slice(n+1),t=t.slice(0,n)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:i}}))}function Tl(t,e){for(var i,n=0,r=t.length;n0)for(var i,n,r=new Array(i),o=0;o=0&&e._call.call(null,t),e=e._next;--Ll}function Ul(){Nl=(Rl=Bl.now())+jl,Ll=Dl=0;try{Yl()}finally{Ll=0,ql(),Nl=0}}function Vl(){var t=Bl.now(),e=t-Rl;e>Il&&(jl-=e,Rl=t)}function ql(){var t,e,i=Ol,n=1/0;while(i)i._call?(n>i._time&&(n=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:Ol=e);Pl=t,$l(n)}function $l(t){if(!Ll){Dl&&(Dl=clearTimeout(Dl));var e=t-Nl;e>24?(t<1/0&&(Dl=setTimeout(Ul,t-Bl.now()-jl)),zl&&(zl=clearInterval(zl))):(zl||(Rl=Bl.now(),zl=setInterval(Vl,Il)),Ll=1,Fl(Ul))}}Hl.prototype=Xl.prototype={constructor:Hl,restart:function(t,e,i){if("function"!==typeof t)throw new TypeError("callback is not a function");i=(null==i?Wl():+i)+(null==e?0:+e),this._next||Pl===this||(Pl?Pl._next=this:Ol=this,Pl=this),this._call=t,this._time=i,$l()},stop:function(){this._call&&(this._call=null,this._time=1/0,$l())}};const Zl=1664525,Kl=1013904223,Jl=4294967296;var Ql=function(){let t=1;return()=>(t=(Zl*t+Kl)%Jl)/Jl};var th=10,eh=Math.PI*(3-Math.sqrt(5)),ih=function(t){var e,i=1,n=.001,r=1-Math.pow(n,1/300),o=0,s=.6,a=new Map,l=Xl(u),h=El("tick","end"),c=Ql();function u(){d(),h.call("tick",e),i1?(null==i?a.delete(t):a.set(t,f(i)),e):a.get(t)},find:function(e,i,n){var r,o,s,a,l,h=0,c=t.length;for(null==n?n=1/0:n*=n,h=0;h1?(h.on(t,i),e):h.on(t)}}},nh=function(t){return function(){return t}},rh=function(t){var e,i,n,r=nh(.1);function o(t){for(var r,o=0,s=e.length;o=(o=(g+y)/2))?g=o:y=o,(c=i>=(s=(m+v)/2))?m=s:v=s,r=p,!(p=p[u=c<<1|h]))return r[u]=f,t;if(a=+t._x.call(null,p.data),l=+t._y.call(null,p.data),e===a&&i===l)return f.next=p,r?r[u]=f:t._root=f,t;do{r=r?r[u]=new Array(4):t._root=new Array(4),(h=e>=(o=(g+y)/2))?g=o:y=o,(c=i>=(s=(m+v)/2))?m=s:v=s}while((u=c<<1|h)===(d=(l>=s)<<1|a>=o));return r[d]=p,r[u]=f,t}function lh(t){var e,i,n,r,o=t.length,s=new Array(o),a=new Array(o),l=1/0,h=1/0,c=-1/0,u=-1/0;for(i=0;ic&&(c=n),ru&&(u=r));if(l>c||h>u)return this;for(this.cover(l,h).cover(c,u),i=0;it||t>=r||n>e||e>=o)switch(a=(ed||(o=l.y0)>p||(s=l.x1)=y)<<1|t>=m)&&(l=f[f.length-1],f[f.length-1]=f[f.length-1-h],f[f.length-1-h]=l)}else{var v=t-+this._x.call(null,g.data),b=e-+this._y.call(null,g.data),x=v*v+b*b;if(x=(a=(f+m)/2))?f=a:m=a,(c=s>=(l=(g+y)/2))?g=l:y=l,e=p,!(p=p[u=c<<1|h]))return this;if(!p.length)break;(e[u+1&3]||e[u+2&3]||e[u+3&3])&&(i=e,d=u)}while(p.data!==t)if(n=p,!(p=p.next))return this;return(r=p.next)&&delete p.next,n?(r?n.next=r:delete n.next,this):e?(r?e[u]=r:delete e[u],(p=e[0]||e[1]||e[2]||e[3])&&p===(e[3]||e[2]||e[1]||e[0])&&!p.length&&(i?i[d]=p:this._root=p),this):(this._root=r,this)};function gh(t){for(var e=0,i=t.length;eh+f||oc+f||sl.index){var g=h-a.x-a.vx,m=c-a.y-a.vy,y=g*g+m*m;yt.r&&(t.r=t[e].r)}function l(){if(e){var n,r,o=e.length;for(i=new Array(o),n=0;n ".concat(i):i;return e?n:i},y:i?-4:2,color:"#2b2b2b",crop:!1,overflow:"none",style:{fontFamily:"Graphik",fontSize:"11px",fontWeight:"normal",textShadow:!1}}}]}}}},bc=vc,xc=(i("c376"),yl(bc,gc,mc,!1,null,null,null)),wc=xc.exports,_c={components:{TheSparkBar:wc},props:{data:{required:!1}},methods:{color:function(t){return sl(t,"default")},units:function(t){return"timeline"===t.type?"(".concat(t.unit,")"):""}}},Sc=_c,Cc=(i("e6bb"),yl(Sc,pc,fc,!1,null,null,null)),Mc=Cc.exports,kc=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"nze-sm-chart__wrapper"},[i("div",{ref:"chartContainer",staticClass:"nze-sm-chart__inner"},[i("div",{staticClass:"nze-sm__wrapper"},[i("div",{staticClass:"nze-sm__inner"},[i("TheSmallMultiple",{attrs:{data:t.data}})],1)]),t._m(0)])])},Tc=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"nze-sm__category"},[i("h3",[t._v("KEY "),i("br"),t._v("SOLUTIONS")])])}];qn.registerPlugin($n["ScrollTrigger"]);var Ac={components:{TheSmallMultiple:Mc},data:function(){return{lever:null,data:null}},props:{phaseRef:{required:!0},chartData:{required:!0},scene:{required:!1}},beforeDestroy:function(){rl("small-multiples")},mounted:function(){var t=this.phaseRef,e=this.scene;this.steps=this.$parent.$children.filter((function(e){return e.$refs[t]}))[0].$refs[t],$n["ScrollTrigger"].refresh(),this.container=this.$refs.chartContainer,this._setContainerPin(),this.filterData(e),this._animationScrollTrigger()},methods:{units:function(t){return"timeline"===t.type?"(".concat(t.unit,")"):""},filterData:function(t){var e=this.chartData;if(e&&t){var i=e[t].sort((function(t,e){return t.sector.localeCompare(e.sector)}));this.data=i}},_setContainerPin:function(){var t=this.steps,e=this.container;$n["ScrollTrigger"].create({id:"".concat(this.phaseRef,"-small-multiples-pinned-container"),trigger:e,group:"small-multiples",endTrigger:t[t.length-1],start:function(){return"50% 50%"},end:function(){return"100 25%"},pin:!0,pinSpacing:!1})},_animationScrollTrigger:function(){var t=this,e=this.steps,i=this.filterData;qn.config({nullTargetWarn:!1}),$n["ScrollTrigger"].config({limitCallbacks:!0}),e.forEach((function(n,r){var o=n.dataset.anim.split("-")[3];$n["ScrollTrigger"].create({id:"".concat(t.phaseRef,"-small-multiples-anim-scroll"),trigger:n,group:"small-multiples",start:function(){return il(r,n)},end:function(){return nl(n,e)},onEnter:function(){return i(o)},onEnterBack:function(){return i(o)}})}))}}},Oc=Ac,Pc=(i("91b8"),yl(Oc,kc,Tc,!1,null,null,null)),Ec=Pc.exports,Lc=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"nze-sm-sm"},t._l(t.steps,(function(e){return i("section",{key:e.id,staticClass:"nze-sm-container"},[i("TheTextSM",{attrs:{step:e}}),i("TheSmallMultiple",{attrs:{data:t.chartData[e.id],colors:t.colors}}),i("div",{staticClass:"nze-sm-sm-legend"},[i("LegendItems",{attrs:{legendItems:t.legendItems}})],1)],1)})),0)},Dc=[],zc={components:{TheSmallMultiple:Mc,LegendItems:ic,TheTextSM:Zh},props:{colors:{required:!1},clientWidth:{required:!1},chartData:{required:!1},phaseRef:{required:!1},steps:{required:!1},legendItems:{required:!1}}},Ic=zc,Rc=(i("b80f"),yl(Ic,Lc,Dc,!1,null,null,null)),Nc=Rc.exports,jc=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"legend-"+t.phaseRef,staticClass:"nze-legend__wrapper"},[i("div",{staticClass:"nze-story-container"},[i("div",{staticClass:"nze-legend__container"},[i("LegendItems",{attrs:{legendItems:t.legendItems}})],1)])])},Bc=[];qn.registerPlugin($n["ScrollTrigger"]);var Fc={components:{LegendItems:ic},props:{phaseRef:{required:!1},legendItems:{required:!1}},mounted:function(){var t=this.phaseRef;this.steps=this.$parent.$children.filter((function(e){return e.$refs[t]}))[0].$refs[t],this.parentContainer=this.$parent.$refs.nzeStory,this.container=this.$refs["legend-".concat(t)],this._setContainerPin()},beforeDestroy:function(){rl("legend")},methods:{_setContainerPin:function(){var t=this.steps,e=this.parentContainer,i=this.show,n=this.hide;$n["ScrollTrigger"].create({trigger:e,endTrigger:t[t.length-1],id:"legend",group:"legend",start:function(){return"top 25%"},end:function(){return"top 25%"},onEnter:function(){return i()},onEnterBack:function(){return i()},onLeave:function(){return n()},onLeaveBack:function(){return n()}})},show:function(){var t=this.container,e=this.delay;qn.to(t,{y:"0",delay:e})},hide:function(){var t=this.container;qn.to(t,{y:"100%"})}}},Wc=Fc,Gc=(i("459a"),yl(Wc,jc,Bc,!1,null,null,null)),Hc=Gc.exports,Xc={components:{TheBubbles:Wh,TheBubblesSM:dc,TheSmallMultiplesSM:Nc,TheSmallMultiples:Ec,TheSteps:bl,TheLegends:Hc},data:function(){return{width:null,height:null,padding:40,scene:null,screenSize:null,windowWidth:null}},props:{fluid:{type:Boolean,default:!1},milestoneData:{required:!1},data:{required:!1},phaseRef:{type:String,required:!0},phaseData:{type:Array},chartData:{required:!1},colors:{required:!1},phaseInterval:{required:!1}},watch:{windowWidth:function(t){this.screenSize=t>=1280?"large":"small"}},computed:{componentType:function(){var t=this.phaseRef.split(["-"])[1];return Number(t)},legendItems:function(){var t=this.componentType,e=this.colors,i=[];for(var n in e)i.push({item:n,color:e[n].default,type:"fill"});if(1===t){i.push({item:"Above zero",color:"#000",type:"fill"}),i.push({item:"Below zero",color:"#000",type:"line"});var r=i.findIndex((function(t){return"Electricity"===t.item}));i.splice(r,1)}else{var o=i.findIndex((function(t){return"Electricity and heating"===t.item}));i.splice(o,1)}return i}},mounted:function(){window.addEventListener("resize",this.handleResize),window.addEventListener("resize",this.handleWindowResize),this.width=this.$refs.nzeStoryContainer.clientWidth-this.padding,this.windowWidth=window.innerWidth,this.screenSize=this.windowWidth>=1280?"large":"small"},beforeUnmount:function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("resize",this.handleWindowResize)},methods:{handleWindowResize:function(){this.windowWidth=window.innerWidth},handleResize:function(){this.width=this.$refs.nzeStoryContainer.clientWidth-this.padding},handleScroll:function(t){var e=t.split(["-"]);"2"===e[1]&&(this.scene=e[3])}}},Yc=Xc,Uc=(i("d3a3"),yl(Yc,f,g,!1,null,null,null)),Vc=Uc.exports,qc=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:t.scrubRef+"-wrapper",staticClass:"nze-scrubber",style:"height: "+t.containerHeight+"vh;"},[t._m(0),i("div",{ref:t.scrubRef+"-first-narrative",staticClass:"nze-scrubber__inner"},[i("svg",{ref:t.scrubRef+"-SVGContainer",staticClass:"nze-scrubber__SVG"}),i("section",{staticClass:"nze-scrubber__text"},t._l(t.narratives.text,(function(e,n){return i("h1",{key:e+"-"+n,ref:t.scrubRef+"-text",refInFor:!0},[t._v(" "+t._s(e)+" ")])})),0)])])},$c=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"nze-scrubber__prompt"},[i("div",{staticClass:"scroll-label"},[t._v(" Scroll down ")]),i("div",[i("span",{staticClass:"scroll-arrows arrow-top"}),i("span",{staticClass:"scroll-arrows arrow-bottom"})])])}];i("e439"),i("dbb4");function Zc(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Kc(t){for(var e=1;e').concat(r[a],"

"));return s},setContainerPin:function(t){$n["ScrollTrigger"].create({trigger:this.container,endTrigger:this.wrapper,group:"third-narrative",start:function(){return"50% 50%"},end:function(){return"bottom bottom"},id:"".concat(t,"-pinned-container"),pin:!0,pinSpacing:!1})},getRadius:function(t){return this.h/2*t},addThirdElements:function(){var t=this.createRandomParticles,e=this.scrubRef,i=this.colors,n=this.w,r=this.h,o="translate(".concat(n/2," ").concat(r/2,")");this.thirdAnimParticles=t(100);var s=_l(this.svg).append("g").attr("transform","translate(".concat(n/2," ").concat(r/2,")")).attr("id","energy-particles".concat(e));this.thirdAnimNodes=s.selectAll("circle").data(this.thirdAnimParticles).enter().append("circle").attr("r",5).attr("opacity",0).attr("fill",(function(t){var e=t.id<=20?0:20
Summary for policy makers

Reaching net zero emissions globally by 2050 is a critical and formidable goal

The energy sector is the source of around three-quarters of greenhouse gas emissions today and holds the key to averting the worst effects of climate change, perhaps the greatest challenge humankind has faced. Reducing global carbon dioxide (CO2) emissions to net zero by 2050 is consistent with efforts to limit the long-term increase in average global temperatures to 1.5˚C. This calls for nothing less than a complete transformation of how we produce, transport and consume energy. The growing political consensus on reaching net zero is cause for considerable optimism about the progress the world can make, but the changes required to reach net zero emissions globally by 2050 are poorly understood. A huge amount of work is needed to turn today’s impressive ambitions into reality, especially given the range of different situations among countries and their differing capacities to make the necessary changes. This special IEA report sets out a pathway for achieving this goal, resulting in a clean and resilient energy system that would bring major benefits for human prosperity and well-being.

The global pathway to net zero emissions by 2050 detailed in this report requires all governments to significantly strengthen and then successfully implement their energy and climate policies. Commitments made to date fall far short of what is required by that pathway. The number of countries that have pledged to achieve net zero emissions has grown rapidly over the last year and now covers around 70% of global emissions of CO2. This is a huge step forward. However, most pledges are not yet underpinned by near-term policies and measures. Moreover, even if successfully fulfilled, the pledges to date would still leave around 22 billion tonnes of CO2 emissions worldwide in 2050. The continuation of that trend would be consistent with a temperature rise in 2100 of around 2.1 °C. Global emissions fell in 2020 because of the Covid-19 crisis but are already rebounding strongly as economies recover. Further delay in acting to reverse that trend will put net zero by 2050 out of reach.

In this Summary for Policy Makers, we outline the essential conditions for the global energy sector to reach net zero CO2 emissions by 2050. The pathway described in depth in this report achieves this objective with no offsets from outside the energy sector, and with low reliance on negative emissions technologies. It is designed to maximise technical feasibility, cost-effectiveness and social acceptance while ensuring continued economic growth and secure energy supplies. We highlight the priority actions that are needed today to ensure the opportunity of net zero by 2050 – narrow but still achievable – is not lost. The report provides a global view, but countries do not start in the same place or finish at the same time: advanced economies have to reach net zero before emerging markets and developing economies, and assist others in getting there. We also recognise that the route mapped out here is a path, not necessarily the path, and so we examine some key uncertainties, notably concerning the roles played by bioenergy, carbon capture and behavioural changes. Getting to net zero will involve countless decisions by people across the world, but our primary aim is to inform the decisions made by policy makers, who have the greatest scope to move the world closer to its climate goals.

Net zero by 2050 hinges on an unprecedented clean technology push to 2030

The path to net zero emissions is narrow: staying on it requires immediate and massive deployment of all available clean and efficient energy technologies. In the net zero emissions pathway presented in this report, the world economy in 2030 is some 40% larger than today but uses 7% less energy. A major worldwide push to increase energy efficiency is an essential part of these efforts, resulting in the annual rate of energy intensity improvements averaging 4% to 2030 – about three-times the average rate achieved over the last two decades. Emissions reductions from the energy sector are not limited to CO2: in our pathway, methane emissions from fossil fuel supply fall by 75% over the next ten years as a result of a global, concerted effort to deploy all available abatement measures and technologies.

Ever-cheaper renewable energy technologies give electricity the edge in the race to zero. Our pathway calls for scaling up solar and wind rapidly this decade, reaching annual additions of 630 gigawatts (GW) of solar photovoltaics (PV) and 390 GW of wind by 2030, four-times the record levels set in 2020. For solar PV, this is equivalent to installing the world’s current largest solar park roughly every day. Hydropower and nuclear, the two largest sources of low-carbon electricity today, provide an essential foundation for transitions. As the electricity sector becomes cleaner, electrification emerges as a crucial economy-wide tool for reducing emissions. Electric vehicles (EVs) go from around 5% of global car sales to more than 60% by 2030.  


Priority action: Make the 2020s the decade of massive clean energy expansion

All the technologies needed to achieve the necessary deep cuts in global emissions by 2030 already exist, and the policies that can drive their deployment are already proven.

As the world continues to grapple with the impacts of the Covid-19 pandemic, it is essential that the resulting wave of investment and spending to support economic recovery is aligned with the net zero pathway. Policies should be strengthened to speed the deployment of clean and efficient energy technologies. Mandates and standards are vital to drive consumer spending and industry investment into the most efficient technologies. Targets and competitive auctions can enable wind and solar to accelerate the electricity sector transition. Fossil fuel subsidy phase-outs, carbon pricing and other market reforms can ensure appropriate price signals. Policies should limit or provide disincentives for the use of certain fuels and technologies, such as unabated coal-fired power stations, gas boilers and conventional internal combustion engine vehicles. Governments must lead the planning and incentivising of the massive infrastructure investment, including in smart transmission and distribution grids.

Electric car sales in the net zero pathway, 2020-2030

Open

Capacity additions of solar PV and wind in the net zero pathway, 2020-2030

Open

Energy intensity of GDP in the net zero pathway, 2020-2030

Open

Net zero by 2050 requires huge leaps in clean energy innovation

Reaching net zero by 2050 requires further rapid deployment of available technologies as well as widespread use of technologies that are not on the market yet. Major innovation efforts must occur over this decade in order to bring these new technologies to market in time. Most of the global reductions in CO2 emissions through 2030 in our pathway come from technologies readily available today. But in 2050, almost half the reductions come from technologies that are currently at the demonstration or prototype phase. In heavy industry and long-distance transport, the share of emissions reductions from technologies that are still under development today is even higher.

The biggest innovation opportunities concern advanced batteries, hydrogen electrolysers, and direct air capture and storage. Together, these three technology areas make vital contributions the reductions in CO2 emissions between 2030 and 2050 in our pathway. Innovation over the next ten years – not only through research and development (R&D) and demonstration but also through deployment – needs to be accompanied by the large-scale construction of the infrastructure the technologies will need. This includes new pipelines to transport captured CO2 emissions and systems to move hydrogen around and between ports and industrial zones.


Priority action: Prepare for the next phase of the transition by boosting innovation

Clean energy innovation must accelerate rapidly, with governments putting R&D, demonstration and deployment at the core of energy and climate policy.

Government R&D spending needs to be increased and reprioritised. Critical areas such as electrification, hydrogen, bioenergy and carbon capture, utilisation and storage (CCUS) today receive only around one-third of the level of public R&D funding of the more established low-carbon electricity generation and energy efficiency technologies. Support is also needed to accelerate the roll-out of demonstration projects, to leverage private investment in R&D, and to boost overall deployment levels to help reduce costs. Around USD 90 billion of public money needs to be mobilised globally as soon as possible to complete a portfolio of demonstration projects before 2030. Currently, only roughly USD 25 billion is budgeted for that period. Developing and deploying these technologies would create major new industries, as well as commercial and employment opportunities.

Annual CO2 emissions savings in the net zero pathway, 2030 and 2050, relative to 2020

Open

The transition to net zero is for and about people

A transition of the scale and speed described by the net zero pathway cannot be achieved without sustained support and participation from citizens. The changes will affect multiple aspects of people’s lives – from transport, heating and cooking to urban planning and jobs. We estimate that around 55% of the cumulative emissions reductions in the pathway are linked to consumer choices such as purchasing an EV, retrofitting a house with energy-efficient technologies or installing a heat pump. Behavioural changes, particularly in advanced economies – such as replacing car trips with walking, cycling or public transport, or foregoing a long-haul flight – also provide around 4% of the cumulative emissions reductions.

Providing electricity to around 785 million people that have no access and clean cooking solutions to 2.6 billion people that lack those options is an integral part of our pathway. Emissions reductions have to go hand-in-hand with efforts to ensure energy access for all by 2030. This costs around USD 40 billion a year, equal to around 1% of average annual energy sector investment, while also bringing major co-benefits from reduced indoor air pollution.

Some of the changes brought by the clean energy transformation may be challenging to implement, so decisions must be transparent, just and cost-effective. Governments need to ensure that clean energy transitions are people-centred and inclusive. Household energy expenditure as a share of disposable income – including purchases of efficient appliances and fuel bills – rises modestly in emerging market and developing economies in our net zero pathway as more people gain access to energy and demand for modern energy services increases rapidly. Ensuring the affordability of energy for households demands close attention: policy tools that can direct support to the poorest include tax credits, loans and targeted subsidies.


Priority action: Clean energy jobs will grow strongly but must be spread widely

Energy transitions have to take account of the social and economic impacts on individuals and communities, and treat people as active participants.

The transition to net zero brings substantial new opportunities for employment, with 14 million jobs created by 2030 in our pathway thanks to new activities and investment in clean energy. Spending on more efficient appliances, electric and fuel cell vehicles, and building retrofits and energy-efficient construction would require a further 16 million workers. But these opportunities are often in different locations, skill sets and sectors than the jobs that will be lost as fossil fuels decline. In our pathway, around 5 million jobs are lost. Most of those jobs are located close to fossil fuel resources, and many are well paid, meaning structural changes can cause shocks for communities with impacts that persist over time. This requires careful policy attention to address the employment losses. It will be vital to minimise hardships associated with these disruptions, such as by retraining workers, locating new clean energy facilities in heavily affected areas wherever possible, and providing regional aid.

Global employment in energy supply in the Net Zero Scenario, 2019-2030

Open

An energy sector dominated by renewables

In the net zero pathway, global energy demand in 2050 is around 8% smaller than today, but it serves an economy more than twice as big and a population with 2 billion more people. More efficient use of energy, resource efficiency and behavioural changes combine to offset increases in demand for energy services as the world economy grows and access to energy is extended to all.

Instead of fossil fuels, the energy sector is based largely on renewable energy. Two-thirds of total energy supply in 2050 is from wind, solar, bioenergy, geothermal and hydro energy. Solar becomes the largest source, accounting for one-fifth of energy supplies. Solar PV capacity increases 20-fold between now and 2050, and wind power 11-fold.

Net zero means a huge decline in the use of fossil fuels. They fall from almost four-fifths of total energy supply today to slightly over one-fifth by 2050. Fossil fuels that remain in 2050 are used in goods where the carbon is embodied in the product such as plastics, in facilities fitted with CCUS, and in sectors where low-emissions technology options are scarce.

Electricity accounts for almost 50% of total energy consumption in 2050. It plays a key role across all sectors – from transport and buildings to industry – and is essential to produce low-emissions fuels such as hydrogen. To achieve this, total electricity generation increases over two-and-a-half-times between today and 2050. At the same time, no additional new final investment decisions should be taken for new unabated coal plants, the least efficient coal plants are phased out by 2030, and the remaining coal plants still in use by 2040 are retrofitted. By 2050, almost 90% of electricity generation comes from renewable sources, with wind and solar PV together accounting for nearly 70%. Most of the remainder comes from nuclear.    

Emissions from industry, transport and buildings take longer to reduce. Cutting industry emissions by 95% by 2050 involves major efforts to build new infrastructure. After rapid innovation progress through R&D, demonstration and initial deployment between now and 2030 to bring new clean technologies to market, the world then has to put them into action. Every month from 2030 onwards, ten heavy industrial plants are equipped with CCUS, three new hydrogen-based industrial plants are built, and 2 GW of electrolyser capacity are added at industrial sites. Policies that end sales of new internal combustion engine cars by 2035 and boost electrification underpin the massive reduction in transport emissions. In 2050, cars on the road worldwide run on electricity or fuel cells. Low-emissions fuels are essential where energy needs cannot easily or economically be met by electricity. For example, aviation relies largely on biofuels and synthetic fuels, and ammonia is vital for shipping. In buildings, bans on new fossil fuel boilers need to start being introduced globally in 2025, driving up sales of electric heat pumps. Most old buildings and all new ones comply with zero-carbon-ready building energy codes.1


Priority action: Set near-term milestones to get on track for long-term targets

Governments need to provide credible step-by-step plans to reach their net zero goals, building confidence among investors, industry, citizens and other countries.

Governments must put in place long-term policy frameworks to allow all branches of government and stakeholders to plan for change and facilitate an orderly transition. Long-term national low-emissions strategies, called for by the Paris Agreement, can set out a vision for national transitions, as this report has done on a global level. These long-term objectives need to be linked to measurable short-term targets and policies. Our pathway details more than 400 sectoral and technology milestones to guide the global journey to net zero by 2050.  


There is no need for investment in new fossil fuel supply in our net zero pathway

Beyond projects already committed as of 2021, there are no new oil and gas fields approved for development in our pathway, and no new coal mines or mine extensions are required. The unwavering policy focus on climate change in the net zero pathway results in a sharp decline in fossil fuel demand, meaning that the focus for oil and gas producers switches entirely to output – and emissions reductions – from the operation of existing assets. Unabated coal demand declines by 98% to just less than 1% of total energy use in 2050. Gas demand declines by 55% to 1 750 billion cubic metres and oil declines by 75% to 24 million barrels per day (mb/d), from around 90 mb/d in 2020.

Clean electricity generation, network infrastructure and end-use sectors are key areas for increased investment. Enabling infrastructure and technologies are vital for transforming the energy system. Annual investment in transmission and distribution grids expands from USD 260 billion today to USD 820 billion in 2030. The number of public charging points for EVs rises from around 1 million today to 40 million in 2030, requiring annual investment of almost USD 90 billion in 2030. Annual battery production for EVs leaps from 160 gigawatt-hours (GWh) today to 6 600 GWh in 2030 – the equivalent of adding almost 20 gigafactories2 each year for the next ten years. And the required roll-out of hydrogen and CCUS after 2030 means laying the groundwork now: annual investment in CO2 pipelines and hydrogen-enabling infrastructure increases from USD 1 billion today to around USD 40 billion in 2030.


Priority action: Drive a historic surge in clean energy investment

Policies need to be designed to send market signals that unlock new business models and mobilise private spending, especially in emerging economies.

Accelerated delivery of international public finance will be critical to energy transitions, especially in developing economies, but ultimately the private sector will need to finance most of the extra investment required. Mobilising the capital for large-scale infrastructure calls for closer co operation between developers, investors, public financial institutions and governments. Reducing risks for investors will be essential to ensure successful and affordable clean energy transitions. Many emerging market and developing economies, which rely mainly on public funding for new energy projects and industrial facilities, will need to reform their policy and regulatory frameworks to attract more private finance. International flows of long-term capital to these economies will be needed to support the development of both existing and emerging clean energy technologies.

Clean energy investment in the net zero pathway, 2016-2050

Open

An unparalleled clean energy investment boom lifts global economic growth

Total annual energy investment surges to USD 5 trillion by 2030, adding an extra 0.4 percentage point a year to annual global GDP growth, based on our joint analysis with the International Monetary Fund. This unparalleled increase – with investment in clean energy and energy infrastructure more than tripling already by 2030 – brings significant economic benefits as the world emerges from the Covid-19 crisis. The jump in private and government spending creates millions of jobs in clean energy, including energy efficiency, as well as in the engineering, manufacturing and construction industries. All of this puts global GDP 4% higher in 2030 than it would be based on current trends.

Governments have a key role in enabling investment-led growth and ensuring that the benefits are shared by all. There are large differences in macroeconomic impacts between regions. But government investment and public policies are essential to attract large amounts of private capital and to help offset the declines in fossil fuel income that many countries will experience. The major innovation efforts needed to bring new clean energy technologies to market could boost productivity and create entirely new industries, providing opportunities to locate them in areas that see job losses in incumbent industries. Improvements in air quality provide major health benefits, with 2 million fewer premature deaths globally from air pollution in 2030 than today in our net zero pathway. Achieving universal energy access by 2030 would provide a major boost to well-being and productivity in developing economies.

New energy security concerns emerge, and old ones remain

The contraction of oil and natural gas production will have far-reaching implications for all the countries and companies that produce these fuels. No new oil and natural gas fields are needed in our pathway, and oil and natural gas supplies become increasingly concentrated in a small number of low-cost producers. For oil, the OPEC share of a much-reduced global oil supply increases from around 37% in recent years to 52% in 2050, a level higher than at any point in the history of oil markets. Yet annual per capita income from oil and natural gas in producer economies falls by about 75%, from USD 1 800 in recent years to USD 450 by the 2030s, which could have knock-on societal effects. Structural reforms and new sources of revenue are needed, even though these are unlikely to compensate fully for the drop in oil and gas income. While traditional supply activities decline, the expertise of the oil and natural gas industry fits well with technologies such as hydrogen, CCUS and offshore wind that are needed to tackle emissions in sectors where reductions are likely to be most challenging.

The energy transition requires substantial quantities of critical minerals, and their supply emerges as a significant growth area. The total market size of critical minerals like copper, cobalt, manganese and various rare earth metals grows almost sevenfold between 2020 and 2030 in the net zero pathway. Revenues from those minerals are larger than revenues from coal well before 2030. This creates substantial new opportunities for mining companies. It also creates new energy security concerns, including price volatility and additional costs for transitions, if supply cannot keep up with burgeoning demand.

The rapid electrification of all sectors makes electricity even more central to energy security around the world than it is today. Electricity system flexibility – needed to balance wind and solar with evolving demand patterns – quadruples by 2050 even as retirements of fossil fuel capacity reduce conventional sources of flexibility. The transition calls for major increases in all sources of flexibility: batteries, demand response and low-carbon flexible power plants, supported by smarter and more digital electricity networks. The resilience of electricity systems to cyberattacks and other emerging threats needs to be enhanced.


Priority action: Address emerging energy security risks now

Ensuring uninterrupted and reliable supplies of energy and critical energy-related commodities at affordable prices will only rise in importance on the way to net zero.

The focus of energy security will evolve as reliance on renewable electricity grows and the role of oil and gas diminishes. Potential vulnerabilities from the increasing importance of electricity include the variability of supply and cybersecurity risks. Governments need to create markets for investment in batteries, digital solutions and electricity grids that reward flexibility and enable adequate and reliable supplies of electricity. The growing dependence on critical minerals required for key clean energy technologies calls for new international mechanisms to ensure both the timely availability of supplies and sustainable production. At the same time, traditional energy security concerns will not disappear, as oil production will become more concentrated.

Critical minerals demand in the net zero pathway, 2020-2050

Open

Oil supply in the net zero pathway, 2020-2050

Open

International co-operation is pivotal for achieving net zero emissions by 2050

Making net zero emissions a reality hinges on a singular, unwavering focus from all governments – working together with one another, and with businesses, investors and citizens. All stakeholders need to play their part. The wide-ranging measures adopted by governments at all levels in the net zero pathway help to frame, influence and incentivise the purchase by consumers and investment by businesses. This includes how energy companies invest in new ways of producing and supplying energy services, how businesses invest in equipment, and how consumers cool and heat their homes, power their devices and travel.

Underpinning all these changes are policy decisions made by governments. Devising cost-effective national and regional net zero roadmaps demands co-operation among all parts of government that breaks down silos and integrates energy into every country’s policy making on finance, labour, taxation, transport and industry. Energy or environment ministries alone cannot carry out the policy actions needed to reach net zero by 2050.

Changes in energy consumption result in a significant decline in fossil fuel tax revenues. In many countries today, taxes on diesel, gasoline and other fossil fuel consumption are an important source of public revenues, providing as much as 10% in some cases. In the net zero pathway, tax revenue from oil and gas retail sales falls by about 40% between 2020 and 2030. Managing this decline will require long-term fiscal planning and budget reforms.

The net zero pathway relies on unprecedented international co-operation among governments, especially on innovation and investment. The IEA stands ready to support governments in preparing national and regional net zero roadmaps, to provide guidance and assistance in implementing them, and to promote international co-operation to accelerate the energy transition worldwide. 


Priority action: Take international co-operation to new heights

This is not simply a matter of all governments seeking to bring their national emissions to net zero – it means tackling global challenges through co-ordinated actions.

Governments must work together in an effective and mutually beneficial manner to implement coherent measures that cross borders. This includes carefully managing domestic job creation and local commercial advantages with the collective global need for clean energy technology deployment. Accelerating innovation, developing international standards and co-ordinating to scale up clean technologies needs to be done in a way that links national markets. Co-operation must recognise differences in the stages of development of different countries and the varying situations of different parts of society. For many rich countries, achieving net zero emissions will be more difficult and costly without international co-operation. For many developing countries, the pathway to net zero without international assistance is not clear. Technical and financial support is needed to ensure deployment of key technologies and infrastructure. Without greater international co-operation, global CO2 emissions will not fall to net zero by 2050. 

Global energy-related CO2 emissions in the net zero pathway and Low International Cooperation Case, 2010-2090

Open

References
  1. A zero-carbon-ready building is highly energy efficient and either uses renewable energy directly or uses an energy supply that will be fully decarbonised by 2050, such as electricity or district heat.

  2. Battery gigafactory capacity assumption = 35 gigawatt-hours per year.