vendor: 72,766 bytes, lines 1-3
1!function t(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.Raphael=r():e.Raphael=r()}(this,function(){return function(t){function e(i){if(r[i])return r[i].exports;var n=r[i]={exports:{},id:i,loaded:!1};return t[i].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){var i,n;i=[r(1),r(3),r(4)],n=function(t){return t}.apply(e,i),!(void 0!==n&&(t.exports=n))},function(t,e,r){var i,n;i=[r(2)],n=function(t){function e(r){if(e.is(r,"function"))return w?r():t.on("raphael.DOMload",r);if(e.is(r,Q))return e._engine.create[z](e,r.splice(0,3+e.is(r[0],$))).add(r);var i=Array.prototype.slice.call(arguments,0);if(e.is(i[i.length-1],"function")){var n=i.pop();return w?n.call(e._engine.create[z](e,i)):t.on("raphael.DOMload",function(){n.call(e._engine.create[z](e,i))})}return e._engine.create[z](e,arguments)}function r(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var i in t)t[T](i)&&(e[i]=r(t[i]));return e}function i(t,e){for(var r=0,i=t.length;i>r;r++)if(t[r]===e)return t.push(t.splice(r,1)[0])}function n(t,e,r){function n(){var a=Array.prototype.slice.call(arguments,0),s=a.join("â"),o=n.cache=n.cache||{},l=n.count=n.count||[];return o[T](s)?(i(l,s),r?r(o[s]):o[s]):(l.length>=1e3&&delete o[l.shift()],l.push(s),o[s]=t[z](e,a),r?r(o[s]):o[s])}return n}function a(){return this.hex}function s(t,e){for(var r=[],i=0,n=t.length;n-2*!e>i;i+=2){var a=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?n-4==i?a[3]={x:+t[0],y:+t[1]}:n-2==i&&(a[2]={x:+t[0],y:+t[1]},a[3]={x:+t[2],y:+t[3]}):a[0]={x:+t[n-2],y:+t[n-1]}:n-4==i?a[3]=a[2]:i||(a[0]={x:+t[i],y:+t[i+1]}),r.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return r}function o(t,e,r,i,n){var a=-3*e+9*r-9*i+3*n,s=t*a+6*e-12*r+6*i;return t*s-3*e+3*r}function l(t,e,r,i,n,a,s,l,h){null==h&&(h=1),h=h>1?1:0>h?0:h;for(var u=h/2,c=12,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],p=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,g=0;c>g;g++){var x=u*f[g]+u,v=o(x,t,r,n,s),y=o(x,e,i,a,l),m=v*v+y*y;d+=p[g]*Y.sqrt(m)}return u*d}function h(t,e,r,i,n,a,s,o,h){if(!(0>h||l(t,e,r,i,n,a,s,o)<h)){var u=1,c=u/2,f=u-c,p,d=.01;for(p=l(t,e,r,i,n,a,s,o,f);H(p-h)>d;)c/=2,f+=(h>p?1:-1)*c,p=l(t,e,r,i,n,a,s,o,f);return f}}function u(t,e,r,i,n,a,s,o){if(!(W(t,r)<G(n,s)||G(t,r)>W(n,s)||W(e,i)<G(a,o)||G(e,i)>W(a,o))){var l=(t*i-e*r)*(n-s)-(t-r)*(n*o-a*s),h=(t*i-e*r)*(a-o)-(e-i)*(n*o-a*s),u=(t-r)*(a-o)-(e-i)*(n-s);if(u){var c=l/u,f=h/u,p=+c.toFixed(2),d=+f.toFixed(2);if(!(p<+G(t,r).toFixed(2)||p>+W(t,r).toFixed(2)||p<+G(n,s).toFixed(2)||p>+W(n,s).toFixed(2)||d<+G(e,i).toFixed(2)||d>+W(e,i).toFixed(2)||d<+G(a,o).toFixed(2)||d>+W(a,o).toFixed(2)))return{x:c,y:f}}}}function c(t,e){return p(t,e)}function f(t,e){return p(t,e,1)}function p(t,r,i){var n=e.bezierBBox(t),a=e.bezierBBox(r);if(!e.isBBoxIntersect(n,a))return i?0:[];for(var s=l.apply(0,t),o=l.apply(0,r),h=W(~~(s/5),1),c=W(~~(o/5),1),f=[],p=[],d={},g=i?0:[],x=0;h+1>x;x++){var v=e.findDotsAtSegment.apply(e,t.concat(x/h));f.push({x:v.x,y:v.y,t:x/h})}for(x=0;c+1>x;x++)v=e.findDotsAtSegment.apply(e,r.concat(x/c)),p.push({x:v.x,y:v.y,t:x/c});for(x=0;h>x;x++)for(var y=0;c>y;y++){var m=f[x],b=f[x+1],_=p[y],w=p[y+1],k=H(b.x-m.x)<.001?"y":"x",B=H(w.x-_.x)<.001?"y":"x",C=u(m.x,m.y,b.x,b.y,_.x,_.y,w.x,w.y);if(C){if(d[C.x.toFixed(4)]==C.y.toFixed(4))continue;d[C.x.toFixed(4)]=C.y.toFixed(4);var S=m.t+H((C[k]-m[k])/(b[k]-m[k]))*(b.t-m.t),T=_.t+H((C[B]-_[B])/(w[B]-_[B]))*(w.t-_.t);S>=0&&1.001>=S&&T>=0&&1.001>=T&&(i?g++:g.push({x:C.x,y:C.y,t1:G(S,1),t2:G(T,1)}))}}return g}function d(t,r,i){t=e._path2curve(t),r=e._path2curve(r);for(var n,a,s,o,l,h,u,c,f,d,g=i?0:[],x=0,v=t.length;v>x;x++){var y=t[x];if("M"==y[0])n=l=y[1],a=h=y[2];else{"C"==y[0]?(f=[n,a].concat(y.slice(1)),n=f[6],a=f[7]):(f=[n,a,n,a,l,h,l,h],n=l,a=h);for(var m=0,b=r.length;b>m;m++){var _=r[m];if("M"==_[0])s=u=_[1],o=c=_[2];else{"C"==_[0]?(d=[s,o].concat(_.slice(1)),s=d[6],o=d[7]):(d=[s,o,s,o,u,c,u,c],s=u,o=c);var w=p(f,d,i);if(i)g+=w;else{for(var k=0,B=w.length;B>k;k++)w[k].segment1=x,w[k].segment2=m,w[k].bez1=f,w[k].bez2=d;g=g.concat(w)}}}}}return g}function g(t,e,r,i,n,a){null!=t?(this.a=+t,this.b=+e,this.c=+r,this.d=+i,this.e=+n,this.f=+a):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function x(){return this.x+I+this.y}function v(){return this.x+I+this.y+I+this.width+" à "+this.height}function y(t,e,r,i,n,a){function s(t){return((c*t+u)*t+h)*t}function o(t,e){var r=l(t,e);return((d*r+p)*r+f)*r}function l(t,e){var r,i,n,a,o,l;for(n=t,l=0;8>l;l++){if(a=s(n)-t,H(a)<e)return n;if(o=(3*c*n+2*u)*n+h,H(o)<1e-6)break;n-=a/o}if(r=0,i=1,n=t,r>n)return r;if(n>i)return i;for(;i>r;){if(a=s(n),H(a-t)<e)return n;t>a?r=n:i=n,n=(i-r)/2+r}return n}var h=3*e,u=3*(i-e)-h,c=1-h-u,f=3*r,p=3*(n-r)-f,d=1-f-p;return o(t,1/(200*a))}function m(t,e){var r=[],i={};if(this.ms=e,this.times=1,t){for(var n in t)t[T](n)&&(i[ht(n)]=t[n],r.push(ht(n)));r.sort(Bt)}this.anim=i,this.top=r[r.length-1],this.percents=r}function b(r,i,n,a,s,o){n=ht(n);var l,h,u,c=[],f,p,d,x=r.ms,v={},m={},b={};if(a)for(w=0,B=Ee.length;B>w;w++){var _=Ee[w];if(_.el.id==i.id&&_.anim==r){_.percent!=n?(Ee.splice(w,1),u=1):h=_,i.attr(_.totalOrigin);break}}else a=+m;for(var w=0,B=r.percents.length;B>w;w++){if(r.percents[w]==n||r.percents[w]>a*r.top){n=r.percents[w],p=r.percents[w-1]||0,x=x/r.top*(n-p),f=r.percents[w+1],l=r.anim[n];break}a&&i.attr(r.anim[r.percents[w]])}if(l){if(h)h.initstatus=a,h.start=new Date-h.ms*a;else{for(var C in l)if(l[T](C)&&(pt[T](C)||i.paper.customAttributes[T](C)))switch(v[C]=i.attr(C),null==v[C]&&(v[C]=ft[C]),m[C]=l[C],pt[C]){case $:b[C]=(m[C]-v[C])/x;break;case"colour":v[C]=e.getRGB(v[C]);var S=e.getRGB(m[C]);b[C]={r:(S.r-v[C].r)/x,g:(S.g-v[C].g)/x,b:(S.b-v[C].b)/x};break;case"path":var A=Qt(v[C],m[C]),E=A[1];for(v[C]=A[0],b[C]=[],w=0,B=v[C].length;B>w;w++){b[C][w]=[0];for(var N=1,M=v[C][w].length;M>N;N++)b[C][w][N]=(E[w][N]-v[C][w][N])/x}break;case"transform":var L=i._,z=le(L[C],m[C]);if(z)for(v[C]=z.from,m[C]=z.to,b[C]=[],b[C].real=!0,w=0,B=v[C].length;B>w;w++)for(b[C][w]=[v[C][w][0]],N=1,M=v[C][w].length;M>N;N++)b[C][w][N]=(m[C][w][N]-v[C][w][N])/x;else{var F=i.matrix||new g,R={_:{transform:L.transform},getBBox:function(){return i.getBBox(1)}};v[C]=[F.a,F.b,F.c,F.d,F.e,F.f],se(R,m[C]),m[C]=R._.transform,b[C]=[(R.matrix.a-F.a)/x,(R.matrix.b-F.b)/x,(R.matrix.c-F.c)/x,(R.matrix.d-F.d)/x,(R.matrix.e-F.e)/x,(R.matrix.f-F.f)/x]}break;case"csv":var I=j(l[C])[q](k),D=j(v[C])[q](k);if("clip-rect"==C)for(v[C]=D,b[C]=[],w=D.length;w--;)b[C][w]=(I[w]-v[C][w])/x;m[C]=I;break;default:for(I=[][P](l[C]),D=[][P](v[C]),b[C]=[],w=i.paper.customAttributes[C].length;w--;)b[C][w]=((I[w]||0)-(D[w]||0))/x}var V=l.easing,O=e.easing_formulas[V];if(!O)if(O=j(V).match(st),O&&5==O.length){var Y=O;O=function(t){return y(t,+Y[1],+Y[2],+Y[3],+Y[4],x)}}else O=St;if(d=l.start||r.start||+new Date,_={anim:r,percent:n,timestamp:d,start:d+(r.del||0),status:0,initstatus:a||0,stop:!1,ms:x,easing:O,from:v,diff:b,to:m,el:i,callback:l.callback,prev:p,next:f,repeat:o||r.times,origin:i.attr(),totalOrigin:s},Ee.push(_),a&&!h&&!u&&(_.stop=!0,_.start=new Date-x*a,1==Ee.length))return Me();u&&(_.start=new Date-_.ms*a),1==Ee.length&&Ne(Me)}t("raphael.anim.start."+i.id,i,r)}}function _(t){for(var e=0;e<Ee.length;e++)Ee[e].el.paper==t&&Ee.splice(e--,1)}e.version="2.2.0",e.eve=t;var w,k=/[, ]+/,B={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},C=/\{(\d+)\}/g,S="prototype",T="hasOwnProperty",A={doc:document,win:window},E={was:Object.prototype[T].call(A.win,"Raphael"),is:A.win.Raphael},N=function(){this.ca=this.customAttributes={}},M,L="appendChild",z="apply",P="concat",F="ontouchstart"in A.win||A.win.DocumentTouch&&A.doc instanceof DocumentTouch,R="",I=" ",j=String,q="split",D="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[q](I),V={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},O=j.prototype.toLowerCase,Y=Math,W=Y.max,G=Y.min,H=Y.abs,X=Y.pow,U=Y.PI,$="number",Z="string",Q="array",J="toString",K="fill",tt=Object.prototype.toString,et={},rt="push",it=e._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,nt=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,at={NaN:1,Infinity:1,"-Infinity":1},st=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,ot=Y.round,lt="setAttribute",ht=parseFloat,ut=parseInt,ct=j.prototype.toUpperCase,ft=e._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,"class":""},pt=e._availableAnimAttrs={blur:$,"clip-rect":"csv",cx:$,cy:$,fill:"colour","fill-opacity":$,"font-size":$,height:$,opacity:$,path:"path",r:$,rx:$,ry:$,stroke:"colour","stroke-opacity":$,"stroke-width":$,transform:"transform",width:$,x:$,y:$},dt=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]/g,gt=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,xt={hs:1,rg:1},vt=/,?([achlmqrstvxz]),?/gi,yt=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,mt=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,bt=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,_t=e._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,wt={},kt=function(t,e){return t.key-e.key},Bt=function(t,e){return ht(t)-ht(e)},Ct=function(){},St=function(t){return t},Tt=e._rectPath=function(t,e,r,i,n){return n?[["M",t+n,e],["l",r-2*n,0],["a",n,n,0,0,1,n,n],["l",0,i-2*n],["a",n,n,0,0,1,-n,n],["l",2*n-r,0],["a",n,n,0,0,1,-n,-n],["l",0,2*n-i],["a",n,n,0,0,1,n,-n],["z"]]:[["M",t,e],["l",r,0],["l",0,i],["l",-r,0],["z"]]},At=function(t,e,r,i){return null==i&&(i=r),[["M",t,e],["m",0,-i],["a",r,i,0,1,1,0,2*i],["a",r,i,0,1,1,0,-2*i],["z"]]},Et=e._getPath={path:function(t){return t.attr("path")},circle:function(t){var e=t.attrs;return At(e.cx,e.cy,e.r)},ellipse:function(t){var e=t.attrs;return At(e.cx,e.cy,e.rx,e.ry)},rect:function(t){var e=t.attrs;return Tt(e.x,e.y,e.width,e.height,e.r)},image:function(t){var e=t.attrs;return Tt(e.x,e.y,e.width,e.height)},text:function(t){var e=t._getBBox();return Tt(e.x,e.y,e.width,e.height)},set:function(t){var e=t._getBBox();return Tt(e.x,e.y,e.width,e.height)}},Nt=e.mapPath=function(t,e){if(!e)return t;var r,i,n,a,s,o,l;for(t=Qt(t),n=0,s=t.length;s>n;n++)for(l=t[n],a=1,o=l.length;o>a;a+=2)r=e.x(l[a],l[a+1]),i=e.y(l[a],l[a+1]),l[a]=r,l[a+1]=i;return t};if(e._g=A,e.type=A.win.SVGAngle||A.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==e.type){var Mt=A.doc.createElement("div"),Lt;if(Mt.innerHTML='<v:shape adj="1"/>',Lt=Mt.firstChild,Lt.style.behavior="url(#default#VML)",!Lt||"object"!=typeof Lt.adj)return e.type=R;Mt=null}e.svg=!(e.vml="VML"==e.type),e._Paper=N,e.fn=M=N.prototype=e.prototype,e._id=0,e._oid=0,e.is=function(t,e){return e=O.call(e),"finite"==e?!at[T](+t):"array"==e?t instanceof Array:"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||"array"==e&&Array.isArray&&Array.isArray(t)||tt.call(t).slice(8,-1).toLowerCase()==e},e.angle=function(t,r,i,n,a,s){if(null==a){var o=t-i,l=r-n;return o||l?(180+180*Y.atan2(-l,-o)/U+360)%360:0}return e.angle(t,r,a,s)-e.angle(i,n,a,s)},e.rad=function(t){return t%360*U/180},e.deg=function(t){return Math.round(180*t/U%360*1e3)/1e3},e.snapTo=function(t,r,i){if(i=e.is(i,"finite")?i:10,e.is(t,Q)){for(var n=t.length;n--;)if(H(t[n]-r)<=i)return t[n]}else{t=+t;var a=r%t;if(i>a)return r-a;if(a>t-i)return r-a+t}return r};var zt=e.createUUID=function(t,e){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(t,e).toUpperCase()}}(/[xy]/g,function(t){var e=16*Y.random()|0,r="x"==t?e:3&e|8;return r.toString(16)});e.setWindow=function(r){t("raphael.setWindow",e,A.win,r),A.win=r,A.doc=A.win.document,e._engine.initWin&&e._engine.initWin(A.win)};var Pt=function(t){if(e.vml){var r=/^\s+|\s+$/g,i;try{var a=new ActiveXObject("htmlfile");a.write("<body>"),a.close(),i=a.body}catch(s){i=createPopup().document.body}var o=i.createTextRange();Pt=n(function(t){try{i.style.color=j(t).replace(r,R);var e=o.queryCommandValue("ForeColor");return e=(255&e)<<16|65280&e|(16711680&e)>>>16,"#"+("000000"+e.toString(16)).slice(-6)}catch(n){return"none"}})}else{var l=A.doc.createElement("i");l.title="Raphaël Colour Picker",l.style.display="none",A.doc.body.appendChild(l),Pt=n(function(t){return l.style.color=t,A.doc.defaultView.getComputedStyle(l,R).getPropertyValue("color")})}return Pt(t)},Ft=function(){return"hsb("+[this.h,this.s,this.b]+")"},Rt=function(){return"hsl("+[this.h,this.s,this.l]+")"},It=function(){return this.hex},jt=function(t,r,i){if(null==r&&e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(i=t.b,r=t.g,t=t.r),null==r&&e.is(t,Z)){var n=e.getRGB(t);t=n.r,r=n.g,i=n.b}return(t>1||r>1||i>1)&&(t/=255,r/=255,i/=255),[t,r,i]},qt=function(t,r,i,n){t*=255,r*=255,i*=255;var a={r:t,g:r,b:i,hex:e.rgb(t,r,i),toString:It};return e.is(n,"finite")&&(a.opacity=n),a};e.color=function(t){var r;return e.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(r=e.hsb2rgb(t),t.r=r.r,t.g=r.g,t.b=r.b,t.hex=r.hex):e.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(r=e.hsl2rgb(t),t.r=r.r,t.g=r.g,t.b=r.b,t.hex=r.hex):(e.is(t,"string")&&(t=e.getRGB(t)),e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(r=e.rgb2hsl(t),t.h=r.h,t.s=r.s,t.l=r.l,r=e.rgb2hsb(t),t.v=r.b):(t={hex:"none"},t.r=t.g=t.b=t.h=t.s=t.v=t.l=-1)),t.toString=It,t},e.hsb2rgb=function(t,e,r,i){this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(r=t.b,e=t.s,i=t.o,t=t.h),t*=360;var n,a,s,o,l;return t=t%360/60,l=r*e,o=l*(1-H(t%2-1)),n=a=s=r-l,t=~~t,n+=[l,o,0,0,o,l][t],a+=[o,l,l,o,0,0][t],s+=[0,0,o,l,l,o][t],qt(n,a,s,i)},e.hsl2rgb=function(t,e,r,i){this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(r=t.l,e=t.s,t=t.h),(t>1||e>1||r>1)&&(t/=360,e/=100,r/=100),t*=360;var n,a,s,o,l;return t=t%360/60,l=2*e*(.5>r?r:1-r),o=l*(1-H(t%2-1)),n=a=s=r-l/2,t=~~t,n+=[l,o,0,0,o,l][t],a+=[o,l,l,o,0,0][t],s+=[0,0,o,l,l,o][t],qt(n,a,s,i)},e.rgb2hsb=function(t,e,r){r=jt(t,e,r),t=r[0],e=r[1],r=r[2];var i,n,a,s;return a=W(t,e,r),s=a-G(t,e,r),i=0==s?null:a==t?(e-r)/s:a==e?(r-t)/s+2:(t-e)/s+4,i=(i+360)%6*60/360,n=0==s?0:s/a,{h:i,s:n,b:a,toString:Ft}},e.rgb2hsl=function(t,e,r){r=jt(t,e,r),t=r[0],e=r[1],r=r[2];var i,n,a,s,o,l;return s=W(t,e,r),o=G(t,e,r),l=s-o,i=0==l?null:s==t?(e-r)/l:s==e?(r-t)/l+2:(t-e)/l+4,i=(i+360)%6*60/360,a=(s+o)/2,n=0==l?0:.5>a?l/(2*a):l/(2-2*a),{h:i,s:n,l:a,toString:Rt}},e._path2string=function(){return this.join(",").replace(vt,"$1")};var Dt=e._preload=function(t,e){var r=A.doc.createElement("img");r.style.cssText="position:absolute;left:-9999em;top:-9999em",r.onload=function(){e.call(this),this.onload=null,A.doc.body.removeChild(this)},r.onerror=function(){A.doc.body.removeChild(this)},A.doc.body.appendChild(r),r.src=t};e.getRGB=n(function(t){if(!t||(t=j(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:a};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:a};!(xt[T](t.toLowerCase().substring(0,2))||"#"==t.charAt())&&(t=Pt(t));var r,i,n,s,o,l,h,u=t.match(nt);return u?(u[2]&&(s=ut(u[2].substring(5),16),n=ut(u[2].substring(3,5),16),i=ut(u[2].substring(1,3),16)),u[3]&&(s=ut((l=u[3].charAt(3))+l,16),n=ut((l=u[3].charAt(2))+l,16),i=ut((l=u[3].charAt(1))+l,16)),u[4]&&(h=u[4][q](gt),i=ht(h[0]),"%"==h[0].slice(-1)&&(i*=2.55),n=ht(h[1]),"%"==h[1].slice(-1)&&(n*=2.55),s=ht(h[2]),"%"==h[2].slice(-1)&&(s*=2.55),"rgba"==u[1].toLowerCase().slice(0,4)&&(o=ht(h[3])),h[3]&&"%"==h[3].slice(-1)&&(o/=100)),u[5]?(h=u[5][q](gt),i=ht(h[0]),"%"==h[0].slice(-1)&&(i*=2.55),n=ht(h[1]),"%"==h[1].slice(-1)&&(n*=2.55),s=ht(h[2]),"%"==h[2].slice(-1)&&(s*=2.55),("deg"==h[0].slice(-3)||"°"==h[0].slice(-1))&&(i/=360),"hsba"==u[1].toLowerCase().slice(0,4)&&(o=ht(h[3])),h[3]&&"%"==h[3].slice(-1)&&(o/=100),e.hsb2rgb(i,n,s,o)):u[6]?(h=u[6][q](gt),i=ht(h[0]),"%"==h[0].slice(-1)&&(i*=2.55),n=ht(h[1]),"%"==h[1].slice(-1)&&(n*=2.55),s=ht(h[2]),"%"==h[2].slice(-1)&&(s*=2.55),("deg"==h[0].slice(-3)||"°"==h[0].slice(-1))&&(i/=360),"hsla"==u[1].toLowerCase().slice(0,4)&&(o=ht(h[3])),h[3]&&"%"==h[3].slice(-1)&&(o/=100),e.hsl2rgb(i,n,s,o)):(u={r:i,g:n,b:s,toString:a},u.hex="#"+(16777216|s|n<<8|i<<16).toString(16).slice(1),e.is(o,"finite")&&(u.opacity=o),u)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:a}},e),e.hsb=n(function(t,r,i){return e.hsb2rgb(t,r,i).hex}),e.hsl=n(function(t,r,i){return e.hsl2rgb(t,r,i).hex}),e.rgb=n(function(t,e,r){function i(t){return t+.5|0}return"#"+(16777216|i(r)|i(e)<<8|i(t)<<16).toString(16).slice(1)}),e.getColor=function(t){var e=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},r=this.hsb2rgb(e.h,e.s,e.b);return e.h+=.075,e.h>1&&(e.h=0,e.s-=.2,e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})),r.hex},e.getColor.reset=function(){delete this.start},e.parsePathString=function(t){if(!t)return null;var r=Vt(t);if(r.arr)return Yt(r.arr);var i={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},n=[];return e.is(t,Q)&&e.is(t[0],Q)&&(n=Yt(t)),n.length||j(t).replace(yt,function(t,e,r){var a=[],s=e.toLowerCase();if(r.replace(bt,function(t,e){e&&a.push(+e)}),"m"==s&&a.length>2&&(n.push([e][P](a.splice(0,2))),s="l",e="m"==e?"l":"L"),"r"==s)n.push([e][P](a));else for(;a.length>=i[s]&&(n.push([e][P](a.splice(0,i[s]))),i[s]););}),n.toString=e._path2string,r.arr=Yt(n),n},e.parseTransformString=n(function(t){if(!t)return null;var r={r:3,s:4,t:2,m:6},i=[];return e.is(t,Q)&&e.is(t[0],Q)&&(i=Yt(t)),i.length||j(t).replace(mt,function(t,e,r){var n=[],a=O.call(e);r.replace(bt,function(t,e){e&&n.push(+e)}),i.push([e][P](n))}),i.toString=e._path2string,i});var Vt=function(t){var e=Vt.ps=Vt.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout(function(){for(var r in e)e[T](r)&&r!=t&&(e[r].sleep--,!e[r].sleep&&delete e[r])}),e[t]};e.findDotsAtSegment=function(t,e,r,i,n,a,s,o,l){var h=1-l,u=X(h,3),c=X(h,2),f=l*l,p=f*l,d=u*t+3*c*l*r+3*h*l*l*n+p*s,g=u*e+3*c*l*i+3*h*l*l*a+p*o,x=t+2*l*(r-t)+f*(n-2*r+t),v=e+2*l*(i-e)+f*(a-2*i+e),y=r+2*l*(n-r)+f*(s-2*n+r),m=i+2*l*(a-i)+f*(o-2*a+i),b=h*t+l*r,_=h*e+l*i,w=h*n+l*s,k=h*a+l*o,B=90-180*Y.atan2(x-y,v-m)/U;return(x>y||m>v)&&(B+=180),{x:d,y:g,m:{x:x,y:v},n:{x:y,y:m},start:{x:b,y:_},end:{x:w,y:k},alpha:B}},e.bezierBBox=function(t,r,i,n,a,s,o,l){e.is(t,"array")||(t=[t,r,i,n,a,s,o,l]);var h=Zt.apply(null,t);return{x:h.min.x,y:h.min.y,x2:h.max.x,y2:h.max.y,width:h.max.x-h.min.x,height:h.max.y-h.min.y}},e.isPointInsideBBox=function(t,e,r){return e>=t.x&&e<=t.x2&&r>=t.y&&r<=t.y2},e.isBBoxIntersect=function(t,r){var i=e.isPointInsideBBox;return i(r,t.x,t.y)||i(r,t.x2,t.y)||i(r,t.x,t.y2)||i(r,t.x2,t.y2)||i(t,r.x,r.y)||i(t,r.x2,r.y)||i(t,r.x,r.y2)||i(t,r.x2,r.y2)||(t.x<r.x2&&t.x>r.x||r.x<t.x2&&r.x>t.x)&&(t.y<r.y2&&t.y>r.y||r.y<t.y2&&r.y>t.y)},e.pathIntersection=function(t,e){return d(t,e)},e.pathIntersectionNumber=function(t,e){return d(t,e,1)},e.isPointInsidePath=function(t,r,i){var n=e.pathBBox(t);return e.isPointInsideBBox(n,r,i)&&d(t,[["M",r,i],["H",n.x2+10]],1)%2==1},e._removedFactory=function(e){return function(){t("raphael.log",null,"Raphaël: you are calling to method â"+e+"â of removed object",e)}};var Ot=e.pathBBox=function(t){var e=Vt(t);if(e.bbox)return r(e.bbox);if(!t)return{x:0,y:0,width:0,height:0,x2:0,y2:0};t=Qt(t);for(var i=0,n=0,a=[],s=[],o,l=0,h=t.length;h>l;l++)if(o=t[l],"M"==o[0])i=o[1],n=o[2],a.push(i),s.push(n);else{var u=Zt(i,n,o[1],o[2],o[3],o[4],o[5],o[6]);a=a[P](u.min.x,u.max.x),s=s[P](u.min.y,u.max.y),i=o[5],n=o[6]}var c=G[z](0,a),f=G[z](0,s),p=W[z](0,a),d=W[z](0,s),g=p-c,x=d-f,v={x:c,y:f,x2:p,y2:d,width:g,height:x,cx:c+g/2,cy:f+x/2};return e.bbox=r(v),v},Yt=function(t){var i=r(t);return i.toString=e._path2string,i},Wt=e._pathToRelative=function(t){var r=Vt(t);if(r.rel)return Yt(r.rel);e.is(t,Q)&&e.is(t&&t[0],Q)||(t=e.parsePathString(t));var i=[],n=0,a=0,s=0,o=0,l=0;"M"==t[0][0]&&(n=t[0][1],a=t[0][2],s=n,o=a,l++,i.push(["M",n,a]));for(var h=l,u=t.length;u>h;h++){var c=i[h]=[],f=t[h];if(f[0]!=O.call(f[0]))switch(c[0]=O.call(f[0]),c[0]){case"a":c[1]=f[1],c[2]=f[2],c[3]=f[3],c[4]=f[4],c[5]=f[5],c[6]=+(f[6]-n).toFixed(3),c[7]=+(f[7]-a).toFixed(3);break;case"v":c[1]=+(f[1]-a).toFixed(3);break;case"m":s=f[1],o=f[2];default:for(var p=1,d=f.length;d>p;p++)c[p]=+(f[p]-(p%2?n:a)).toFixed(3)}else{c=i[h]=[],"m"==f[0]&&(s=f[1]+n,o=f[2]+a);for(var g=0,x=f.length;x>g;g++)i[h][g]=f[g]}var v=i[h].length;switch(i[h][0]){case"z":n=s,a=o;break;case"h":n+=+i[h][v-1];break;case"v":a+=+i[h][v-1];break;default:n+=+i[h][v-2],a+=+i[h][v-1]}}return i.toString=e._path2string,r.rel=Yt(i),i},Gt=e._pathToAbsolute=function(t){var r=Vt(t);if(r.abs)return Yt(r.abs);if(e.is(t,Q)&&e.is(t&&t[0],Q)||(t=e.parsePathString(t)),!t||!t.length)return[["M",0,0]];var i=[],n=0,a=0,o=0,l=0,h=0;"M"==t[0][0]&&(n=+t[0][1],a=+t[0][2],o=n,l=a,h++,i[0]=["M",n,a]);for(var u=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),c,f,p=h,d=t.length;d>p;p++){if(i.push(c=[]),f=t[p],f[0]!=ct.call(f[0]))switch(c[0]=ct.call(f[0]),c[0]){case"A":c[1]=f[1],c[2]=f[2],c[3]=f[3],c[4]=f[4],c[5]=f[5],c[6]=+(f[6]+n),c[7]=+(f[7]+a);break;case"V":c[1]=+f[1]+a;break;case"H":c[1]=+f[1]+n;break;case"R":for(var g=[n,a][P](f.slice(1)),x=2,v=g.length;v>x;x++)g[x]=+g[x]+n,g[++x]=+g[x]+a;i.pop(),i=i[P](s(g,u));break;case"M":o=+f[1]+n,l=+f[2]+a;default:for(x=1,v=f.length;v>x;x++)c[x]=+f[x]+(x%2?n:a)}else if("R"==f[0])g=[n,a][P](f.slice(1)),i.pop(),i=i[P](s(g,u)),c=["R"][P](f.slice(-2));else for(var y=0,m=f.length;m>y;y++)c[y]=f[y];switch(c[0]){case"Z":n=o,a=l;break;case"H":n=c[1];break;case"V":a=c[1];break;case"M":o=c[c.length-2],l=c[c.length-1];default:n=c[c.length-2],a=c[c.length-1]}}return i.toString=e._path2string,r.abs=Yt(i),i},Ht=function(t,e,r,i){return[t,e,r,i,r,i]},Xt=function(t,e,r,i,n,a){var s=1/3,o=2/3;return[s*t+o*r,s*e+o*i,s*n+o*r,s*a+o*i,n,a]},Ut=function(t,e,r,i,a,s,o,l,h,u){var c=120*U/180,f=U/180*(+a||0),p=[],d,g=n(function(t,e,r){var i=t*Y.cos(r)-e*Y.sin(r),n=t*Y.sin(r)+e*Y.cos(r);return{x:i,y:n}});if(u)S=u[0],T=u[1],B=u[2],C=u[3];else{d=g(t,e,-f),t=d.x,e=d.y,d=g(l,h,-f),l=d.x,h=d.y;var x=Y.cos(U/180*a),v=Y.sin(U/180*a),y=(t-l)/2,m=(e-h)/2,b=y*y/(r*r)+m*m/(i*i);b>1&&(b=Y.sqrt(b),r=b*r,i=b*i);var _=r*r,w=i*i,k=(s==o?-1:1)*Y.sqrt(H((_*w-_*m*m-w*y*y)/(_*m*m+w*y*y))),B=k*r*m/i+(t+l)/2,C=k*-i*y/r+(e+h)/2,S=Y.asin(((e-C)/i).toFixed(9)),T=Y.asin(((h-C)/i).toFixed(9));S=B>t?U-S:S,T=B>l?U-T:T,0>S&&(S=2*U+S),0>T&&(T=2*U+T),o&&S>T&&(S-=2*U),!o&&T>S&&(T-=2*U)}var A=T-S;if(H(A)>c){var E=T,N=l,M=h;T=S+c*(o&&T>S?1:-1),l=B+r*Y.cos(T),h=C+i*Y.sin(T),p=Ut(l,h,r,i,a,0,o,N,M,[T,E,B,C])}A=T-S;var L=Y.cos(S),z=Y.sin(S),F=Y.cos(T),R=Y.sin(T),I=Y.tan(A/4),j=4/3*r*I,D=4/3*i*I,V=[t,e],O=[t+j*z,e-D*L],W=[l+j*R,h-D*F],G=[l,h];if(O[0]=2*V[0]-O[0],O[1]=2*V[1]-O[1],u)return[O,W,G][P](p);p=[O,W,G][P](p).join()[q](",");for(var X=[],$=0,Z=p.length;Z>$;$++)X[$]=$%2?g(p[$-1],p[$],f).y:g(p[$],p[$+1],f).x;return X},$t=function(t,e,r,i,n,a,s,o,l){var h=1-l;return{x:X(h,3)*t+3*X(h,2)*l*r+3*h*l*l*n+X(l,3)*s,y:X(h,3)*e+3*X(h,2)*l*i+3*h*l*l*a+X(l,3)*o}},Zt=n(function(t,e,r,i,n,a,s,o){var l=n-2*r+t-(s-2*n+r),h=2*(r-t)-2*(n-r),u=t-r,c=(-h+Y.sqrt(h*h-4*l*u))/2/l,f=(-h-Y.sqrt(h*h-4*l*u))/2/l,p=[e,o],d=[t,s],g;return H(c)>"1e12"&&(c=.5),H(f)>"1e12"&&(f=.5),c>0&&1>c&&(g=$t(t,e,r,i,n,a,s,o,c),d.push(g.x),p.push(g.y)),f>0&&1>f&&(g=$t(t,e,r,i,n,a,s,o,f),d.push(g.x),p.push(g.y)),l=a-2*i+e-(o-2*a+i),h=2*(i-e)-2*(a-i),u=e-i,c=(-h+Y.sqrt(h*h-4*l*u))/2/l,f=(-h-Y.sqrt(h*h-4*l*u))/2/l,H(c)>"1e12"&&(c=.5),H(f)>"1e12"&&(f=.5),c>0&&1>c&&(g=$t(t,e,r,i,n,a,s,o,c),d.push(g.x),p.push(g.y)),f>0&&1>f&&(g=$t(t,e,r,i,n,a,s,o,f),d.push(g.x),p.push(g.y)),{min:{x:G[z](0,d),y:G[z](0,p)},max:{x:W[z](0,d),y:W[z](0,p)}}}),Qt=e._path2curve=n(function(t,e){var r=!e&&Vt(t);if(!e&&r.curve)return Yt(r.curve);for(var i=Gt(t),n=e&&Gt(e),a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},o=(function(t,e,r){var i,n,a={T:1,Q:1};if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in a)&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][P](Ut[z](0,[e.x,e.y][P](t.slice(1))));break;case"S":"C"==r||"S"==r?(i=2*e.x-e.bx,n=2*e.y-e.by):(i=e.x,n=e.y),t=["C",i,n][P](t.slice(1));break;case"T":"Q"==r||"T"==r?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"][P](Xt(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][P](Xt(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][P](Ht(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][P](Ht(e.x,e.y,t[1],e.y));break;case"V":t=["C"][P](Ht(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][P](Ht(e.x,e.y,e.X,e.Y))}return t}),l=function(t,e){if(t[e].length>7){t[e].shift();for(var r=t[e];r.length;)u[e]="A",n&&(c[e]="A"),t.splice(e++,0,["C"][P](r.splice(0,6)));t.splice(e,1),g=W(i.length,n&&n.length||0)}},h=function(t,e,r,a,s){t&&e&&"M"==t[s][0]&&"M"!=e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),r.bx=0,r.by=0,r.x=t[s][1],r.y=t[s][2],g=W(i.length,n&&n.length||0))},u=[],c=[],f="",p="",d=0,g=W(i.length,n&&n.length||0);g>d;d++){i[d]&&(f=i[d][0]),"C"!=f&&(u[d]=f,d&&(p=u[d-1])),i[d]=o(i[d],a,p),"A"!=u[d]&&"C"==f&&(u[d]="C"),l(i,d),n&&(n[d]&&(f=n[d][0]),"C"!=f&&(c[d]=f,d&&(p=c[d-1])),n[d]=o(n[d],s,p),"A"!=c[d]&&"C"==f&&(c[d]="C"),l(n,d)),h(i,n,a,s,d),h(n,i,s,a,d);var x=i[d],v=n&&n[d],y=x.length,m=n&&v.length;a.x=x[y-2],a.y=x[y-1],a.bx=ht(x[y-4])||a.x,a.by=ht(x[y-3])||a.y,s.bx=n&&(ht(v[m-4])||s.x),s.by=n&&(ht(v[m-3])||s.y),s.x=n&&v[m-2],s.y=n&&v[m-1]}return n||(r.curve=Yt(i)),n?[i,n]:i},null,Yt),Jt=e._parseDots=n(function(t){for(var r=[],i=0,n=t.length;n>i;i++){var a={},s=t[i].match(/^([^:]*):?([\d\.]*)/);if(a.color=e.getRGB(s[1]),a.color.error)return null;a.opacity=a.color.opacity,a.color=a.color.hex,s[2]&&(a.offset=s[2]+"%"),r.push(a)}for(i=1,n=r.length-1;n>i;i++)if(!r[i].offset){for(var o=ht(r[i-1].offset||0),l=0,h=i+1;n>h;h++)if(r[h].offset){l=r[h].offset;break}l||(l=100,h=n),l=ht(l);for(var u=(l-o)/(h-i+1);h>i;i++)o+=u,r[i].offset=o+"%"}return r}),Kt=e._tear=function(t,e){t==e.top&&(e.top=t.prev),t==e.bottom&&(e.bottom=t.next),t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next)},te=e._tofront=function(t,e){e.top!==t&&(Kt(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},ee=e._toback=function(t,e){e.bottom!==t&&(Kt(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},re=e._insertafter=function(t,e,r){Kt(t,r),e==r.top&&(r.top=t),e.next&&(e.next.prev=t),t.next=e.next,t.prev=e,e.next=t},ie=e._insertbefore=function(t,e,r){Kt(t,r),e==r.bottom&&(r.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,e.prev=t,t.next=e},ne=e.toMatrix=function(t,e){var r=Ot(t),i={_:{transform:R},getBBox:function(){return r}};return se(i,e),i.matrix},ae=e.transformPath=function(t,e){return Nt(t,ne(t,e))},se=e._extractTransform=function(t,r){if(null==r)return t._.transform;r=j(r).replace(/\.{3}|\u2026/g,t._.transform||R);var i=e.parseTransformString(r),n=0,a=0,s=0,o=1,l=1,h=t._,u=new g;if(h.transform=i||[],i)for(var c=0,f=i.length;f>c;c++){var p=i[c],d=p.length,x=j(p[0]).toLowerCase(),v=p[0]!=x,y=v?u.invert():0,m,b,_,w,k;"t"==x&&3==d?v?(m=y.x(0,0),b=y.y(0,0),_=y.x(p[1],p[2]),w=y.y(p[1],p[2]),u.translate(_-m,w-b)):u.translate(p[1],p[2]):"r"==x?2==d?(k=k||t.getBBox(1),u.rotate(p[1],k.x+k.width/2,k.y+k.height/2),n+=p[1]):4==d&&(v?(_=y.x(p[2],p[3]),w=y.y(p[2],p[3]),u.rotate(p[1],_,w)):u.rotate(p[1],p[2],p[3]),n+=p[1]):"s"==x?2==d||3==d?(k=k||t.getBBox(1),u.scale(p[1],p[d-1],k.x+k.width/2,k.y+k.height/2),o*=p[1],l*=p[d-1]):5==d&&(v?(_=y.x(p[3],p[4]),w=y.y(p[3],p[4]),u.scale(p[1],p[2],_,w)):u.scale(p[1],p[2],p[3],p[4]),o*=p[1],l*=p[2]):"m"==x&&7==d&&u.add(p[1],p[2],p[3],p[4],p[5],p[6]),h.dirtyT=1,t.matrix=u}t.matrix=u,h.sx=o,h.sy=l,h.deg=n,h.dx=a=u.e,h.dy=s=u.f,1==o&&1==l&&!n&&h.bbox?(h.bbox.x+=+a,h.bbox.y+=+s):h.dirtyT=1},oe=function(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}},le=e._equaliseTransform=function(t,r){r=j(r).replace(/\.{3}|\u2026/g,t),t=e.parseTransformString(t)||[],r=e.parseTransformString(r)||[];for(var i=W(t.length,r.length),n=[],a=[],s=0,o,l,h,u;i>s;s++){if(h=t[s]||oe(r[s]),u=r[s]||oe(h),h[0]!=u[0]||"r"==h[0].toLowerCase()&&(h[2]!=u[2]||h[3]!=u[3])||"s"==h[0].toLowerCase()&&(h[3]!=u[3]||h[4]!=u[4]))return;for(n[s]=[],a[s]=[],o=0,l=W(h.length,u.length);l>o;o++)o in h&&(n[s][o]=h[o]),o in u&&(a[s][o]=u[o])}return{from:n,to:a}};e._getContainer=function(t,r,i,n){var a;return a=null!=n||e.is(t,"object")?t:A.doc.getElementById(t),null!=a?a.tagName?null==r?{container:a,width:a.style.pixelWidth||a.offsetWidth,height:a.style.pixelHeight||a.offsetHeight}:{container:a,width:r,height:i}:{container:1,x:t,y:r,width:i,height:n}:void 0},e.pathToRelative=Wt,e._engine={},e.path2curve=Qt,e.matrix=function(t,e,r,i,n,a){return new g(t,e,r,i,n,a)},function(t){function r(t){return t[0]*t[0]+t[1]*t[1]}function i(t){var e=Y.sqrt(r(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}t.add=function(t,e,r,i,n,a){var s=[[],[],[]],o=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],l=[[t,r,n],[e,i,a],[0,0,1]],h,u,c,f;for(t&&t instanceof g&&(l=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),h=0;3>h;h++)for(u=0;3>u;u++){for(f=0,c=0;3>c;c++)f+=o[h][c]*l[c][u];s[h][u]=f}this.a=s[0][0],this.b=s[1][0],this.c=s[0][1],this.d=s[1][1],this.e=s[0][2],this.f=s[1][2]},t.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new g(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},t.clone=function(){return new g(this.a,this.b,this.c,this.d,this.e,this.f)},t.translate=function(t,e){ 2this.add(1,0,0,1,t,e)},t.scale=function(t,e,r,i){null==e&&(e=t),(r||i)&&this.add(1,0,0,1,r,i),this.add(t,0,0,e,0,0),(r||i)&&this.add(1,0,0,1,-r,-i)},t.rotate=function(t,r,i){t=e.rad(t),r=r||0,i=i||0;var n=+Y.cos(t).toFixed(9),a=+Y.sin(t).toFixed(9);this.add(n,a,-a,n,r,i),this.add(1,0,0,1,-r,-i)},t.x=function(t,e){return t*this.a+e*this.c+this.e},t.y=function(t,e){return t*this.b+e*this.d+this.f},t.get=function(t){return+this[j.fromCharCode(97+t)].toFixed(4)},t.toString=function(){return e.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},t.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},t.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},t.split=function(){var t={};t.dx=this.e,t.dy=this.f;var n=[[this.a,this.c],[this.b,this.d]];t.scalex=Y.sqrt(r(n[0])),i(n[0]),t.shear=n[0][0]*n[1][0]+n[0][1]*n[1][1],n[1]=[n[1][0]-n[0][0]*t.shear,n[1][1]-n[0][1]*t.shear],t.scaley=Y.sqrt(r(n[1])),i(n[1]),t.shear/=t.scaley;var a=-n[0][1],s=n[1][1];return 0>s?(t.rotate=e.deg(Y.acos(s)),0>a&&(t.rotate=360-t.rotate)):t.rotate=e.deg(Y.asin(a)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},t.toTransformString=function(t){var e=t||this[q]();return e.isSimple?(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[e.dx,e.dy]:R)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:R)+(e.rotate?"r"+[e.rotate,0,0]:R)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(g.prototype);for(var he=function(){this.returnValue=!1},ue=function(){return this.originalEvent.preventDefault()},ce=function(){this.cancelBubble=!0},fe=function(){return this.originalEvent.stopPropagation()},pe=function(t){var e=A.doc.documentElement.scrollTop||A.doc.body.scrollTop,r=A.doc.documentElement.scrollLeft||A.doc.body.scrollLeft;return{x:t.clientX+r,y:t.clientY+e}},de=function(){return A.doc.addEventListener?function(t,e,r,i){var n=function(t){var e=pe(t);return r.call(i,t,e.x,e.y)};if(t.addEventListener(e,n,!1),F&&V[e]){var a=function(e){for(var n=pe(e),a=e,s=0,o=e.targetTouches&&e.targetTouches.length;o>s;s++)if(e.targetTouches[s].target==t){e=e.targetTouches[s],e.originalEvent=a,e.preventDefault=ue,e.stopPropagation=fe;break}return r.call(i,e,n.x,n.y)};t.addEventListener(V[e],a,!1)}return function(){return t.removeEventListener(e,n,!1),F&&V[e]&&t.removeEventListener(V[e],a,!1),!0}}:A.doc.attachEvent?function(t,e,r,i){var n=function(t){t=t||A.win.event;var e=A.doc.documentElement.scrollTop||A.doc.body.scrollTop,n=A.doc.documentElement.scrollLeft||A.doc.body.scrollLeft,a=t.clientX+n,s=t.clientY+e;return t.preventDefault=t.preventDefault||he,t.stopPropagation=t.stopPropagation||ce,r.call(i,t,a,s)};t.attachEvent("on"+e,n);var a=function(){return t.detachEvent("on"+e,n),!0};return a}:void 0}(),ge=[],xe=function(e){for(var r=e.clientX,i=e.clientY,n=A.doc.documentElement.scrollTop||A.doc.body.scrollTop,a=A.doc.documentElement.scrollLeft||A.doc.body.scrollLeft,s,o=ge.length;o--;){if(s=ge[o],F&&e.touches){for(var l=e.touches.length,h;l--;)if(h=e.touches[l],h.identifier==s.el._drag.id){r=h.clientX,i=h.clientY,(e.originalEvent?e.originalEvent:e).preventDefault();break}}else e.preventDefault();var u=s.el.node,c,f=u.nextSibling,p=u.parentNode,d=u.style.display;A.win.opera&&p.removeChild(u),u.style.display="none",c=s.el.paper.getElementByPoint(r,i),u.style.display=d,A.win.opera&&(f?p.insertBefore(u,f):p.appendChild(u)),c&&t("raphael.drag.over."+s.el.id,s.el,c),r+=a,i+=n,t("raphael.drag.move."+s.el.id,s.move_scope||s.el,r-s.el._drag.x,i-s.el._drag.y,r,i,e)}},ve=function(r){e.unmousemove(xe).unmouseup(ve);for(var i=ge.length,n;i--;)n=ge[i],n.el._drag={},t("raphael.drag.end."+n.el.id,n.end_scope||n.start_scope||n.move_scope||n.el,r);ge=[]},ye=e.el={},me=D.length;me--;)!function(t){e[t]=ye[t]=function(r,i){return e.is(r,"function")&&(this.events=this.events||[],this.events.push({name:t,f:r,unbind:de(this.shape||this.node||A.doc,t,r,i||this)})),this},e["un"+t]=ye["un"+t]=function(r){for(var i=this.events||[],n=i.length;n--;)i[n].name!=t||!e.is(r,"undefined")&&i[n].f!=r||(i[n].unbind(),i.splice(n,1),!i.length&&delete this.events);return this}}(D[me]);ye.data=function(r,i){var n=wt[this.id]=wt[this.id]||{};if(0==arguments.length)return n;if(1==arguments.length){if(e.is(r,"object")){for(var a in r)r[T](a)&&this.data(a,r[a]);return this}return t("raphael.data.get."+this.id,this,n[r],r),n[r]}return n[r]=i,t("raphael.data.set."+this.id,this,i,r),this},ye.removeData=function(t){return null==t?wt[this.id]={}:wt[this.id]&&delete wt[this.id][t],this},ye.getData=function(){return r(wt[this.id]||{})},ye.hover=function(t,e,r,i){return this.mouseover(t,r).mouseout(e,i||r)},ye.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var be=[];ye.drag=function(r,i,n,a,s,o){function l(l){(l.originalEvent||l).preventDefault();var h=l.clientX,u=l.clientY,c=A.doc.documentElement.scrollTop||A.doc.body.scrollTop,f=A.doc.documentElement.scrollLeft||A.doc.body.scrollLeft;if(this._drag.id=l.identifier,F&&l.touches)for(var p=l.touches.length,d;p--;)if(d=l.touches[p],this._drag.id=d.identifier,d.identifier==this._drag.id){h=d.clientX,u=d.clientY;break}this._drag.x=h+f,this._drag.y=u+c,!ge.length&&e.mousemove(xe).mouseup(ve),ge.push({el:this,move_scope:a,start_scope:s,end_scope:o}),i&&t.on("raphael.drag.start."+this.id,i),r&&t.on("raphael.drag.move."+this.id,r),n&&t.on("raphael.drag.end."+this.id,n),t("raphael.drag.start."+this.id,s||a||this,l.clientX+f,l.clientY+c,l)}return this._drag={},be.push({el:this,start:l}),this.mousedown(l),this},ye.onDragOver=function(e){e?t.on("raphael.drag.over."+this.id,e):t.unbind("raphael.drag.over."+this.id)},ye.undrag=function(){for(var r=be.length;r--;)be[r].el==this&&(this.unmousedown(be[r].start),be.splice(r,1),t.unbind("raphael.drag.*."+this.id));!be.length&&e.unmousemove(xe).unmouseup(ve),ge=[]},M.circle=function(t,r,i){var n=e._engine.circle(this,t||0,r||0,i||0);return this.__set__&&this.__set__.push(n),n},M.rect=function(t,r,i,n,a){var s=e._engine.rect(this,t||0,r||0,i||0,n||0,a||0);return this.__set__&&this.__set__.push(s),s},M.ellipse=function(t,r,i,n){var a=e._engine.ellipse(this,t||0,r||0,i||0,n||0);return this.__set__&&this.__set__.push(a),a},M.path=function(t){t&&!e.is(t,Z)&&!e.is(t[0],Q)&&(t+=R);var r=e._engine.path(e.format[z](e,arguments),this);return this.__set__&&this.__set__.push(r),r},M.image=function(t,r,i,n,a){var s=e._engine.image(this,t||"about:blank",r||0,i||0,n||0,a||0);return this.__set__&&this.__set__.push(s),s},M.text=function(t,r,i){var n=e._engine.text(this,t||0,r||0,j(i));return this.__set__&&this.__set__.push(n),n},M.set=function(t){!e.is(t,"array")&&(t=Array.prototype.splice.call(arguments,0,arguments.length));var r=new ze(t);return this.__set__&&this.__set__.push(r),r.paper=this,r.type="set",r},M.setStart=function(t){this.__set__=t||this.set()},M.setFinish=function(t){var e=this.__set__;return delete this.__set__,e},M.getSize=function(){var t=this.canvas.parentNode;return{width:t.offsetWidth,height:t.offsetHeight}},M.setSize=function(t,r){return e._engine.setSize.call(this,t,r)},M.setViewBox=function(t,r,i,n,a){return e._engine.setViewBox.call(this,t,r,i,n,a)},M.top=M.bottom=null,M.raphael=e;var _e=function(t){var e=t.getBoundingClientRect(),r=t.ownerDocument,i=r.body,n=r.documentElement,a=n.clientTop||i.clientTop||0,s=n.clientLeft||i.clientLeft||0,o=e.top+(A.win.pageYOffset||n.scrollTop||i.scrollTop)-a,l=e.left+(A.win.pageXOffset||n.scrollLeft||i.scrollLeft)-s;return{y:o,x:l}};M.getElementByPoint=function(t,e){var r=this,i=r.canvas,n=A.doc.elementFromPoint(t,e);if(A.win.opera&&"svg"==n.tagName){var a=_e(i),s=i.createSVGRect();s.x=t-a.x,s.y=e-a.y,s.width=s.height=1;var o=i.getIntersectionList(s,null);o.length&&(n=o[o.length-1])}if(!n)return null;for(;n.parentNode&&n!=i.parentNode&&!n.raphael;)n=n.parentNode;return n==r.canvas.parentNode&&(n=i),n=n&&n.raphael?r.getById(n.raphaelid):null},M.getElementsByBBox=function(t){var r=this.set();return this.forEach(function(i){e.isBBoxIntersect(i.getBBox(),t)&&r.push(i)}),r},M.getById=function(t){for(var e=this.bottom;e;){if(e.id==t)return e;e=e.next}return null},M.forEach=function(t,e){for(var r=this.bottom;r;){if(t.call(e,r)===!1)return this;r=r.next}return this},M.getElementsByPoint=function(t,e){var r=this.set();return this.forEach(function(i){i.isPointInside(t,e)&&r.push(i)}),r},ye.isPointInside=function(t,r){var i=this.realPath=Et[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(i=e.transformPath(i,this.attr("transform"))),e.isPointInsidePath(i,t,r)},ye.getBBox=function(t){if(this.removed)return{};var e=this._;return t?(!e.dirty&&e.bboxwt||(this.realPath=Et[this.type](this),e.bboxwt=Ot(this.realPath),e.bboxwt.toString=v,e.dirty=0),e.bboxwt):((e.dirty||e.dirtyT||!e.bbox)&&(!e.dirty&&this.realPath||(e.bboxwt=0,this.realPath=Et[this.type](this)),e.bbox=Ot(Nt(this.realPath,this.matrix)),e.bbox.toString=v,e.dirty=e.dirtyT=0),e.bbox)},ye.clone=function(){if(this.removed)return null;var t=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(t),t},ye.glow=function(t){if("text"==this.type)return null;t=t||{};var e={width:(t.width||10)+(+this.attr("stroke-width")||1),fill:t.fill||!1,opacity:null==t.opacity?.5:t.opacity,offsetx:t.offsetx||0,offsety:t.offsety||0,color:t.color||"#000"},r=e.width/2,i=this.paper,n=i.set(),a=this.realPath||Et[this.type](this);a=this.matrix?Nt(a,this.matrix):a;for(var s=1;r+1>s;s++)n.push(i.path(a).attr({stroke:e.color,fill:e.fill?e.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width/r*s).toFixed(3),opacity:+(e.opacity/r).toFixed(3)}));return n.insertBefore(this).translate(e.offsetx,e.offsety)};var we={},ke=function(t,r,i,n,a,s,o,u,c){return null==c?l(t,r,i,n,a,s,o,u):e.findDotsAtSegment(t,r,i,n,a,s,o,u,h(t,r,i,n,a,s,o,u,c))},Be=function(t,r){return function(i,n,a){i=Qt(i);for(var s,o,l,h,u="",c={},f,p=0,d=0,g=i.length;g>d;d++){if(l=i[d],"M"==l[0])s=+l[1],o=+l[2];else{if(h=ke(s,o,l[1],l[2],l[3],l[4],l[5],l[6]),p+h>n){if(r&&!c.start){if(f=ke(s,o,l[1],l[2],l[3],l[4],l[5],l[6],n-p),u+=["C"+f.start.x,f.start.y,f.m.x,f.m.y,f.x,f.y],a)return u;c.start=u,u=["M"+f.x,f.y+"C"+f.n.x,f.n.y,f.end.x,f.end.y,l[5],l[6]].join(),p+=h,s=+l[5],o=+l[6];continue}if(!t&&!r)return f=ke(s,o,l[1],l[2],l[3],l[4],l[5],l[6],n-p),{x:f.x,y:f.y,alpha:f.alpha}}p+=h,s=+l[5],o=+l[6]}u+=l.shift()+l}return c.end=u,f=t?p:r?c:e.findDotsAtSegment(s,o,l[0],l[1],l[2],l[3],l[4],l[5],1),f.alpha&&(f={x:f.x,y:f.y,alpha:f.alpha}),f}},Ce=Be(1),Se=Be(),Te=Be(0,1);e.getTotalLength=Ce,e.getPointAtLength=Se,e.getSubpath=function(t,e,r){if(this.getTotalLength(t)-r<1e-6)return Te(t,e).end;var i=Te(t,r,1);return e?Te(i,e).end:i},ye.getTotalLength=function(){var t=this.getPath();if(t)return this.node.getTotalLength?this.node.getTotalLength():Ce(t)},ye.getPointAtLength=function(t){var e=this.getPath();if(e)return Se(e,t)},ye.getPath=function(){var t,r=e._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return r&&(t=r(this)),t},ye.getSubpath=function(t,r){var i=this.getPath();if(i)return e.getSubpath(i,t,r)};var Ae=e.easing_formulas={linear:function(t){return t},"<":function(t){return X(t,1.7)},">":function(t){return X(t,.48)},"<>":function(t){var e=.48-t/1.04,r=Y.sqrt(.1734+e*e),i=r-e,n=X(H(i),1/3)*(0>i?-1:1),a=-r-e,s=X(H(a),1/3)*(0>a?-1:1),o=n+s+.5;return 3*(1-o)*o*o+o*o*o},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},elastic:function(t){return t==!!t?t:X(2,-10*t)*Y.sin((t-.075)*(2*U)/.3)+1},bounce:function(t){var e=7.5625,r=2.75,i;return 1/r>t?i=e*t*t:2/r>t?(t-=1.5/r,i=e*t*t+.75):2.5/r>t?(t-=2.25/r,i=e*t*t+.9375):(t-=2.625/r,i=e*t*t+.984375),i}};Ae.easeIn=Ae["ease-in"]=Ae["<"],Ae.easeOut=Ae["ease-out"]=Ae[">"],Ae.easeInOut=Ae["ease-in-out"]=Ae["<>"],Ae["back-in"]=Ae.backIn,Ae["back-out"]=Ae.backOut;var Ee=[],Ne=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},Me=function(){for(var r=+new Date,i=0;i<Ee.length;i++){var n=Ee[i];if(!n.el.removed&&!n.paused){var a=r-n.start,s=n.ms,o=n.easing,l=n.from,h=n.diff,u=n.to,c=n.t,f=n.el,p={},d,g={},x;if(n.initstatus?(a=(n.initstatus*n.anim.top-n.prev)/(n.percent-n.prev)*s,n.status=n.initstatus,delete n.initstatus,n.stop&&Ee.splice(i--,1)):n.status=(n.prev+(n.percent-n.prev)*(a/s))/n.anim.top,!(0>a))if(s>a){var v=o(a/s);for(var y in l)if(l[T](y)){switch(pt[y]){case $:d=+l[y]+v*s*h[y];break;case"colour":d="rgb("+[Le(ot(l[y].r+v*s*h[y].r)),Le(ot(l[y].g+v*s*h[y].g)),Le(ot(l[y].b+v*s*h[y].b))].join(",")+")";break;case"path":d=[];for(var m=0,_=l[y].length;_>m;m++){d[m]=[l[y][m][0]];for(var w=1,k=l[y][m].length;k>w;w++)d[m][w]=+l[y][m][w]+v*s*h[y][m][w];d[m]=d[m].join(I)}d=d.join(I);break;case"transform":if(h[y].real)for(d=[],m=0,_=l[y].length;_>m;m++)for(d[m]=[l[y][m][0]],w=1,k=l[y][m].length;k>w;w++)d[m][w]=l[y][m][w]+v*s*h[y][m][w];else{var B=function(t){return+l[y][t]+v*s*h[y][t]};d=[["m",B(0),B(1),B(2),B(3),B(4),B(5)]]}break;case"csv":if("clip-rect"==y)for(d=[],m=4;m--;)d[m]=+l[y][m]+v*s*h[y][m];break;default:var C=[][P](l[y]);for(d=[],m=f.paper.customAttributes[y].length;m--;)d[m]=+C[m]+v*s*h[y][m]}p[y]=d}f.attr(p),function(e,r,i){setTimeout(function(){t("raphael.anim.frame."+e,r,i)})}(f.id,f,n.anim)}else{if(function(r,i,n){setTimeout(function(){t("raphael.anim.frame."+i.id,i,n),t("raphael.anim.finish."+i.id,i,n),e.is(r,"function")&&r.call(i)})}(n.callback,f,n.anim),f.attr(u),Ee.splice(i--,1),n.repeat>1&&!n.next){for(x in u)u[T](x)&&(g[x]=n.totalOrigin[x]);n.el.attr(g),b(n.anim,n.el,n.anim.percents[0],null,n.totalOrigin,n.repeat-1)}n.next&&!n.stop&&b(n.anim,n.el,n.next,null,n.totalOrigin,n.repeat)}}}Ee.length&&Ne(Me)},Le=function(t){return t>255?255:0>t?0:t};ye.animateWith=function(t,r,i,n,a,s){var o=this;if(o.removed)return s&&s.call(o),o;var l=i instanceof m?i:e.animation(i,n,a,s),h,u;b(l,o,l.percents[0],null,o.attr());for(var c=0,f=Ee.length;f>c;c++)if(Ee[c].anim==r&&Ee[c].el==t){Ee[f-1].start=Ee[c].start;break}return o},ye.onAnimation=function(e){return e?t.on("raphael.anim.frame."+this.id,e):t.unbind("raphael.anim.frame."+this.id),this},m.prototype.delay=function(t){var e=new m(this.anim,this.ms);return e.times=this.times,e.del=+t||0,e},m.prototype.repeat=function(t){var e=new m(this.anim,this.ms);return e.del=this.del,e.times=Y.floor(W(t,0))||1,e},e.animation=function(t,r,i,n){if(t instanceof m)return t;!e.is(i,"function")&&i||(n=n||i||null,i=null),t=Object(t),r=+r||0;var a={},s,o;for(o in t)t[T](o)&&ht(o)!=o&&ht(o)+"%"!=o&&(s=!0,a[o]=t[o]);if(s)return i&&(a.easing=i),n&&(a.callback=n),new m({100:a},r);if(n){var l=0;for(var h in t){var u=ut(h);t[T](h)&&u>l&&(l=u)}l+="%",!t[l].callback&&(t[l].callback=n)}return new m(t,r)},ye.animate=function(t,r,i,n){var a=this;if(a.removed)return n&&n.call(a),a;var s=t instanceof m?t:e.animation(t,r,i,n);return b(s,a,s.percents[0],null,a.attr()),a},ye.setTime=function(t,e){return t&&null!=e&&this.status(t,G(e,t.ms)/t.ms),this},ye.status=function(t,e){var r=[],i=0,n,a;if(null!=e)return b(t,this,-1,G(e,1)),this;for(n=Ee.length;n>i;i++)if(a=Ee[i],a.el.id==this.id&&(!t||a.anim==t)){if(t)return a.status;r.push({anim:a.anim,status:a.status})}return t?0:r},ye.pause=function(e){for(var r=0;r<Ee.length;r++)Ee[r].el.id!=this.id||e&&Ee[r].anim!=e||t("raphael.anim.pause."+this.id,this,Ee[r].anim)!==!1&&(Ee[r].paused=!0);return this},ye.resume=function(e){for(var r=0;r<Ee.length;r++)if(Ee[r].el.id==this.id&&(!e||Ee[r].anim==e)){var i=Ee[r];t("raphael.anim.resume."+this.id,this,i.anim)!==!1&&(delete i.paused,this.status(i.anim,i.status))}return this},ye.stop=function(e){for(var r=0;r<Ee.length;r++)Ee[r].el.id!=this.id||e&&Ee[r].anim!=e||t("raphael.anim.stop."+this.id,this,Ee[r].anim)!==!1&&Ee.splice(r--,1);return this},t.on("raphael.remove",_),t.on("raphael.clear",_),ye.toString=function(){return"Raphaëlâs object"};var ze=function(t){if(this.items=[],this.length=0,this.type="set",t)for(var e=0,r=t.length;r>e;e++)!t[e]||t[e].constructor!=ye.constructor&&t[e].constructor!=ze||(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},Pe=ze.prototype;Pe.push=function(){for(var t,e,r=0,i=arguments.length;i>r;r++)t=arguments[r],!t||t.constructor!=ye.constructor&&t.constructor!=ze||(e=this.items.length,this[e]=this.items[e]=t,this.length++);return this},Pe.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},Pe.forEach=function(t,e){for(var r=0,i=this.items.length;i>r;r++)if(t.call(e,this.items[r],r)===!1)return this;return this};for(var Fe in ye)ye[T](Fe)&&(Pe[Fe]=function(t){return function(){var e=arguments;return this.forEach(function(r){r[t][z](r,e)})}}(Fe));return Pe.attr=function(t,r){if(t&&e.is(t,Q)&&e.is(t[0],"object"))for(var i=0,n=t.length;n>i;i++)this.items[i].attr(t[i]);else for(var a=0,s=this.items.length;s>a;a++)this.items[a].attr(t,r);return this},Pe.clear=function(){for(;this.length;)this.pop()},Pe.splice=function(t,e,r){t=0>t?W(this.length+t,0):t,e=W(0,G(this.length-t,e));var i=[],n=[],a=[],s;for(s=2;s<arguments.length;s++)a.push(arguments[s]);for(s=0;e>s;s++)n.push(this[t+s]);for(;s<this.length-t;s++)i.push(this[t+s]);var o=a.length;for(s=0;s<o+i.length;s++)this.items[t+s]=this[t+s]=o>s?a[s]:i[s-o];for(s=this.items.length=this.length-=e-o;this[s];)delete this[s++];return new ze(n)},Pe.exclude=function(t){for(var e=0,r=this.length;r>e;e++)if(this[e]==t)return this.splice(e,1),!0},Pe.animate=function(t,r,i,n){(e.is(i,"function")||!i)&&(n=i||null);var a=this.items.length,s=a,o,l=this,h;if(!a)return this;n&&(h=function(){!--a&&n.call(l)}),i=e.is(i,Z)?i:h;var u=e.animation(t,r,i,h);for(o=this.items[--s].animate(u);s--;)this.items[s]&&!this.items[s].removed&&this.items[s].animateWith(o,u,u),this.items[s]&&!this.items[s].removed||a--;return this},Pe.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},Pe.getBBox=function(){for(var t=[],e=[],r=[],i=[],n=this.items.length;n--;)if(!this.items[n].removed){var a=this.items[n].getBBox();t.push(a.x),e.push(a.y),r.push(a.x+a.width),i.push(a.y+a.height)}return t=G[z](0,t),e=G[z](0,e),r=W[z](0,r),i=W[z](0,i),{x:t,y:e,x2:r,y2:i,width:r-t,height:i-e}},Pe.clone=function(t){t=this.paper.set();for(var e=0,r=this.items.length;r>e;e++)t.push(this.items[e].clone());return t},Pe.toString=function(){return"Raphaëlâs set"},Pe.glow=function(t){var e=this.paper.set();return this.forEach(function(r,i){var n=r.glow(t);null!=n&&n.forEach(function(t,r){e.push(t)})}),e},Pe.isPointInside=function(t,e){var r=!1;return this.forEach(function(i){return i.isPointInside(t,e)?(r=!0,!1):void 0}),r},e.registerFont=function(t){if(!t.face)return t;this.fonts=this.fonts||{};var e={w:t.w,face:{},glyphs:{}},r=t.face["font-family"];for(var i in t.face)t.face[T](i)&&(e.face[i]=t.face[i]);if(this.fonts[r]?this.fonts[r].push(e):this.fonts[r]=[e],!t.svg){e.face["units-per-em"]=ut(t.face["units-per-em"],10);for(var n in t.glyphs)if(t.glyphs[T](n)){var a=t.glyphs[n];if(e.glyphs[n]={w:a.w,k:{},d:a.d&&"M"+a.d.replace(/[mlcxtrv]/g,function(t){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[t]||"M"})+"z"},a.k)for(var s in a.k)a[T](s)&&(e.glyphs[n].k[s]=a.k[s])}}return t},M.getFont=function(t,r,i,n){if(n=n||"normal",i=i||"normal",r=+r||{normal:400,bold:700,lighter:300,bolder:800}[r]||400,e.fonts){var a=e.fonts[t];if(!a){var s=new RegExp("(^|\\s)"+t.replace(/[^\w\d\s+!~.:_-]/g,R)+"(\\s|$)","i");for(var o in e.fonts)if(e.fonts[T](o)&&s.test(o)){a=e.fonts[o];break}}var l;if(a)for(var h=0,u=a.length;u>h&&(l=a[h],l.face["font-weight"]!=r||l.face["font-style"]!=i&&l.face["font-style"]||l.face["font-stretch"]!=n);h++);return l}},M.print=function(t,r,i,n,a,s,o,l){s=s||"middle",o=W(G(o||0,1),-1),l=W(G(l||1,3),1);var h=j(i)[q](R),u=0,c=0,f=R,p;if(e.is(n,"string")&&(n=this.getFont(n)),n){p=(a||16)/n.face["units-per-em"];for(var d=n.face.bbox[q](k),g=+d[0],x=d[3]-d[1],v=0,y=+d[1]+("baseline"==s?x+ +n.face.descent:x/2),m=0,b=h.length;b>m;m++){if("\n"==h[m])u=0,w=0,c=0,v+=x*l;else{var _=c&&n.glyphs[h[m-1]]||{},w=n.glyphs[h[m]];u+=c?(_.w||n.w)+(_.k&&_.k[h[m]]||0)+n.w*o:0,c=1}w&&w.d&&(f+=e.transformPath(w.d,["t",u*p,v*p,"s",p,p,g,y,"t",(t-g)/p,(r-y)/p]))}}return this.path(f).attr({fill:"#000",stroke:"none"})},M.add=function(t){if(e.is(t,"array"))for(var r=this.set(),i=0,n=t.length,a;n>i;i++)a=t[i]||{},B[T](a.type)&&r.push(this[a.type]().attr(a));return r},e.format=function(t,r){var i=e.is(r,Q)?[0][P](r):arguments;return t&&e.is(t,Z)&&i.length-1&&(t=t.replace(C,function(t,e){return null==i[++e]?R:i[e]})),t||R},e.fullfill=function(){var t=/\{([^\}]+)\}/g,e=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,r=function(t,r,i){var n=i;return r.replace(e,function(t,e,r,i,a){e=e||i,n&&(e in n&&(n=n[e]),"function"==typeof n&&a&&(n=n()))}),n=(null==n||n==i?t:n)+""};return function(e,i){return String(e).replace(t,function(t,e){return r(t,e,i)})}}(),e.ninja=function(){if(E.was)A.win.Raphael=E.is;else{window.Raphael=void 0;try{delete window.Raphael}catch(t){}}return e},e.st=Pe,t.on("raphael.DOMload",function(){w=!0}),function(t,r,i){function n(){/in/.test(t.readyState)?setTimeout(n,9):e.eve("raphael.DOMload")}null==t.readyState&&t.addEventListener&&(t.addEventListener(r,i=function(){t.removeEventListener(r,i,!1),t.readyState="complete"},!1),t.readyState="loading"),n()}(document,"DOMContentLoaded"),e}.apply(e,i),!(void 0!==n&&(t.exports=n))},function(t,e,r){var i,n;!function(r){var a="0.4.2",s="hasOwnProperty",o=/[\.\/]/,l="*",h=function(){},u=function(t,e){return t-e},c,f,p={n:{}},d=function(t,e){t=String(t);var r=p,i=f,n=Array.prototype.slice.call(arguments,2),a=d.listeners(t),s=0,o=!1,l,h=[],g={},x=[],v=c,y=[];c=t,f=0;for(var m=0,b=a.length;b>m;m++)"zIndex"in a[m]&&(h.push(a[m].zIndex),a[m].zIndex<0&&(g[a[m].zIndex]=a[m]));for(h.sort(u);h[s]<0;)if(l=g[h[s++]],x.push(l.apply(e,n)),f)return f=i,x;for(m=0;b>m;m++)if(l=a[m],"zIndex"in l)if(l.zIndex==h[s]){if(x.push(l.apply(e,n)),f)break;do if(s++,l=g[h[s]],l&&x.push(l.apply(e,n)),f)break;while(l)}else g[l.zIndex]=l;else if(x.push(l.apply(e,n)),f)break;return f=i,c=v,x.length?x:null};d._events=p,d.listeners=function(t){var e=t.split(o),r=p,i,n,a,s,h,u,c,f,d=[r],g=[];for(s=0,h=e.length;h>s;s++){for(f=[],u=0,c=d.length;c>u;u++)for(r=d[u].n,n=[r[e[s]],r[l]],a=2;a--;)i=n[a],i&&(f.push(i),g=g.concat(i.f||[]));d=f}return g},d.on=function(t,e){if(t=String(t),"function"!=typeof e)return function(){};for(var r=t.split(o),i=p,n=0,a=r.length;a>n;n++)i=i.n,i=i.hasOwnProperty(r[n])&&i[r[n]]||(i[r[n]]={n:{}});for(i.f=i.f||[],n=0,a=i.f.length;a>n;n++)if(i.f[n]==e)return h;return i.f.push(e),function(t){+t==+t&&(e.zIndex=+t)}},d.f=function(t){var e=[].slice.call(arguments,1);return function(){d.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},d.stop=function(){f=1},d.nt=function(t){return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(c):c},d.nts=function(){return c.split(o)},d.off=d.unbind=function(t,e){if(!t)return void(d._events=p={n:{}});var r=t.split(o),i,n,a,h,u,c,f,g=[p];for(h=0,u=r.length;u>h;h++)for(c=0;c<g.length;c+=a.length-2){if(a=[c,1],i=g[c].n,r[h]!=l)i[r[h]]&&a.push(i[r[h]]);else for(n in i)i[s](n)&&a.push(i[n]);g.splice.apply(g,a)}for(h=0,u=g.length;u>h;h++)for(i=g[h];i.n;){if(e){if(i.f){for(c=0,f=i.f.length;f>c;c++)if(i.f[c]==e){i.f.splice(c,1);break}!i.f.length&&delete i.f}for(n in i.n)if(i.n[s](n)&&i.n[n].f){var x=i.n[n].f;for(c=0,f=x.length;f>c;c++)if(x[c]==e){x.splice(c,1);break}!x.length&&delete i.n[n].f}}else{delete i.f;for(n in i.n)i.n[s](n)&&i.n[n].f&&delete i.n[n].f}i=i.n}},d.once=function(t,e){var r=function(){return d.unbind(t,r),e.apply(this,arguments)};return d.on(t,r)},d.version=a,d.toString=function(){return"You are running Eve "+a},"undefined"!=typeof t&&t.exports?t.exports=d:(i=[],n=function(){return d}.apply(e,i),!(void 0!==n&&(t.exports=n)))}(this)},function(t,e,r){var i,n;i=[r(1)],n=function(t){if(!t||t.svg){var e="hasOwnProperty",r=String,i=parseFloat,n=parseInt,a=Math,s=a.max,o=a.abs,l=a.pow,h=/[, ]+/,u=t.eve,c="",f=" ",p="http://www.w3.org/1999/xlink",d={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},g={};t.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var x=function(i,n){if(n){"string"==typeof i&&(i=x(i));for(var a in n)n[e](a)&&("xlink:"==a.substring(0,6)?i.setAttributeNS(p,a.substring(6),r(n[a])):i.setAttribute(a,r(n[a])))}else i=t._g.doc.createElementNS("http://www.w3.org/2000/svg",i),i.style&&(i.style.webkitTapHighlightColor="rgba(0,0,0,0)");return i},v=function(e,n){var h="linear",u=e.id+n,f=.5,p=.5,d=e.node,g=e.paper,v=d.style,y=t._g.doc.getElementById(u);if(!y){if(n=r(n).replace(t._radial_gradient,function(t,e,r){if(h="radial",e&&r){f=i(e),p=i(r);var n=2*(p>.5)-1;l(f-.5,2)+l(p-.5,2)>.25&&(p=a.sqrt(.25-l(f-.5,2))*n+.5)&&.5!=p&&(p=p.toFixed(5)-1e-5*n)}return c}),n=n.split(/\s*\-\s*/),"linear"==h){var b=n.shift();if(b=-i(b),isNaN(b))return null;var _=[0,0,a.cos(t.rad(b)),a.sin(t.rad(b))],w=1/(s(o(_[2]),o(_[3]))||1);_[2]*=w,_[3]*=w,_[2]<0&&(_[0]=-_[2],_[2]=0),_[3]<0&&(_[1]=-_[3],_[3]=0)}var k=t._parseDots(n);if(!k)return null;if(u=u.replace(/[\(\)\s,\xb0#]/g,"_"),e.gradient&&u!=e.gradient.id&&(g.defs.removeChild(e.gradient),delete e.gradient),!e.gradient){y=x(h+"Gradient",{id:u}),e.gradient=y,x(y,"radial"==h?{fx:f,fy:p}:{x1:_[0],y1:_[1],x2:_[2],y2:_[3],gradientTransform:e.matrix.invert()}),g.defs.appendChild(y);for(var B=0,C=k.length;C>B;B++)y.appendChild(x("stop",{offset:k[B].offset?k[B].offset:B?"100%":"0%","stop-color":k[B].color||"#fff","stop-opacity":isFinite(k[B].opacity)?k[B].opacity:1}))}}return x(d,{fill:m(u),opacity:1,"fill-opacity":1}),v.fill=c,v.opacity=1,v.fillOpacity=1,1},y=function(){var t=document.documentMode;return t&&(9===t||10===t)},m=function(t){if(y())return"url('#"+t+"')";var e=document.location,r=e.protocol+"//"+e.host+e.pathname+e.search;return"url('"+r+"#"+t+"')"},b=function(t){var e=t.getBBox(1);x(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})},_=function(i,n,a){if("path"==i.type){for(var s=r(n).toLowerCase().split("-"),o=i.paper,l=a?"end":"start",h=i.node,u=i.attrs,f=u["stroke-width"],p=s.length,v="classic",y,m,b,_,w,k=3,B=3,C=5;p--;)switch(s[p]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":v=s[p];break;case"wide":B=5;break;case"narrow":B=2;break;case"long":k=5;break;case"short":k=2}if("open"==v?(k+=2,B+=2,C+=2,b=1,_=a?4:1,w={fill:"none",stroke:u.stroke}):(_=b=k/2,w={fill:u.stroke,stroke:"none"}),i._.arrows?a?(i._.arrows.endPath&&g[i._.arrows.endPath]--,i._.arrows.endMarker&&g[i._.arrows.endMarker]--):(i._.arrows.startPath&&g[i._.arrows.startPath]--,i._.arrows.startMarker&&g[i._.arrows.startMarker]--):i._.arrows={},"none"!=v){var S="raphael-marker-"+v,T="raphael-marker-"+l+v+k+B+"-obj"+i.id;t._g.doc.getElementById(S)?g[S]++:(o.defs.appendChild(x(x("path"),{"stroke-linecap":"round",d:d[v],id:S})),g[S]=1);var A=t._g.doc.getElementById(T),E;A?(g[T]++,E=A.getElementsByTagName("use")[0]):(A=x(x("marker"),{id:T,markerHeight:B,markerWidth:k,orient:"auto",refX:_,refY:B/2}),E=x(x("use"),{"xlink:href":"#"+S,transform:(a?"rotate(180 "+k/2+" "+B/2+") ":c)+"scale("+k/C+","+B/C+")","stroke-width":(1/((k/C+B/C)/2)).toFixed(4)}),A.appendChild(E),o.defs.appendChild(A),g[T]=1),x(E,w);var N=b*("diamond"!=v&&"oval"!=v);a?(y=i._.arrows.startdx*f||0,m=t.getTotalLength(u.path)-N*f):(y=N*f,m=t.getTotalLength(u.path)-(i._.arrows.enddx*f||0)),w={},w["marker-"+l]="url(#"+T+")",(m||y)&&(w.d=t.getSubpath(u.path,y,m)),x(h,w),i._.arrows[l+"Path"]=S,i._.arrows[l+"Marker"]=T,i._.arrows[l+"dx"]=N,i._.arrows[l+"Type"]=v,i._.arrows[l+"String"]=n}else a?(y=i._.arrows.startdx*f||0,m=t.getTotalLength(u.path)-y):(y=0,m=t.getTotalLength(u.path)-(i._.arrows.enddx*f||0)),i._.arrows[l+"Path"]&&x(h,{d:t.getSubpath(u.path,y,m)}),delete i._.arrows[l+"Path"],delete i._.arrows[l+"Marker"],delete i._.arrows[l+"dx"],delete i._.arrows[l+"Type"],delete i._.arrows[l+"String"];for(w in g)if(g[e](w)&&!g[w]){var M=t._g.doc.getElementById(w);M&&M.parentNode.removeChild(M)}}},w={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},k=function(t,e,i){if(e=w[r(e).toLowerCase()]){for(var n=t.attrs["stroke-width"]||"1",a={round:n,square:n,butt:0}[t.attrs["stroke-linecap"]||i["stroke-linecap"]]||0,s=[],o=e.length;o--;)s[o]=e[o]*n+(o%2?1:-1)*a;x(t.node,{"stroke-dasharray":s.join(",")})}else x(t.node,{"stroke-dasharray":"none"})},B=function(i,a){var l=i.node,u=i.attrs,f=l.style.visibility;l.style.visibility="hidden";for(var d in a)if(a[e](d)){if(!t._availableAttrs[e](d))continue;var g=a[d];switch(u[d]=g,d){case"blur":i.blur(g);break;case"title":var y=l.getElementsByTagName("title");if(y.length&&(y=y[0]))y.firstChild.nodeValue=g;else{y=x("title");var m=t._g.doc.createTextNode(g);y.appendChild(m),l.appendChild(y)}break;case"href":case"target":var w=l.parentNode;if("a"!=w.tagName.toLowerCase()){var B=x("a");w.insertBefore(B,l),B.appendChild(l),w=B}"target"==d?w.setAttributeNS(p,"show","blank"==g?"new":g):w.setAttributeNS(p,d,g);break;case"cursor":l.style.cursor=g;break;case"transform":i.transform(g);break;case"arrow-start":_(i,g);break;case"arrow-end":_(i,g,1);break;case"clip-rect":var C=r(g).split(h);if(4==C.length){i.clip&&i.clip.parentNode.parentNode.removeChild(i.clip.parentNode);var T=x("clipPath"),A=x("rect");T.id=t.createUUID(),x(A,{x:C[0],y:C[1],width:C[2],height:C[3]}),T.appendChild(A),i.paper.defs.appendChild(T),x(l,{"clip-path":"url(#"+T.id+")"}),i.clip=A}if(!g){var E=l.getAttribute("clip-path");if(E){var N=t._g.doc.getElementById(E.replace(/(^url\(#|\)$)/g,c));N&&N.parentNode.removeChild(N),x(l,{"clip-path":c}),delete i.clip}}break;case"path":"path"==i.type&&(x(l,{d:g?u.path=t._pathToAbsolute(g):"M0,0"}),i._.dirty=1,i._.arrows&&("startString"in i._.arrows&&_(i,i._.arrows.startString),"endString"in i._.arrows&&_(i,i._.arrows.endString,1)));break;case"width":if(l.setAttribute(d,g),i._.dirty=1,!u.fx)break;d="x",g=u.x;case"x":u.fx&&(g=-u.x-(u.width||0));case"rx":if("rx"==d&&"rect"==i.type)break;case"cx":l.setAttribute(d,g),i.pattern&&b(i),i._.dirty=1;break;case"height":if(l.setAttribute(d,g),i._.dirty=1,!u.fy)break;d="y",g=u.y;case"y":u.fy&&(g=-u.y-(u.height||0));case"ry":if("ry"==d&&"rect"==i.type)break;case"cy":l.setAttribute(d,g),i.pattern&&b(i),i._.dirty=1;break;case"r":"rect"==i.type?x(l,{rx:g,ry:g}):l.setAttribute(d,g),i._.dirty=1;break;case"src":"image"==i.type&&l.setAttributeNS(p,"href",g);break;case"stroke-width":1==i._.sx&&1==i._.sy||(g/=s(o(i._.sx),o(i._.sy))||1),l.setAttribute(d,g),u["stroke-dasharray"]&&k(i,u["stroke-dasharray"],a),i._.arrows&&("startString"in i._.arrows&&_(i,i._.arrows.startString),"endString"in i._.arrows&&_(i,i._.arrows.endString,1));break;case"stroke-dasharray":k(i,g,a);break;case"fill":var M=r(g).match(t._ISURL);if(M){T=x("pattern");var L=x("image");T.id=t.createUUID(),x(T,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),x(L,{x:0,y:0,"xlink:href":M[1]}),T.appendChild(L),function(e){t._preload(M[1],function(){var t=this.offsetWidth,r=this.offsetHeight;x(e,{width:t,height:r}),x(L,{width:t,height:r})})}(T),i.paper.defs.appendChild(T),x(l,{fill:"url(#"+T.id+")"}),i.pattern=T,i.pattern&&b(i);break}var z=t.getRGB(g);if(z.error){if(("circle"==i.type||"ellipse"==i.type||"r"!=r(g).charAt())&&v(i,g)){ 3if("opacity"in u||"fill-opacity"in u){var P=t._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,c));if(P){var F=P.getElementsByTagName("stop");x(F[F.length-1],{"stop-opacity":("opacity"in u?u.opacity:1)*("fill-opacity"in u?u["fill-opacity"]:1)})}}u.gradient=g,u.fill="none";break}}else delete a.gradient,delete u.gradient,!t.is(u.opacity,"undefined")&&t.is(a.opacity,"undefined")&&x(l,{opacity:u.opacity}),!t.is(u["fill-opacity"],"undefined")&&t.is(a["fill-opacity"],"undefined")&&x(l,{"fill-opacity":u["fill-opacity"]});z[e]("opacity")&&x(l,{"fill-opacity":z.opacity>1?z.opacity/100:z.opacity});case"stroke":z=t.getRGB(g),l.setAttribute(d,z.hex),"stroke"==d&&z[e]("opacity")&&x(l,{"stroke-opacity":z.opacity>1?z.opacity/100:z.opacity}),"stroke"==d&&i._.arrows&&("startString"in i._.arrows&&_(i,i._.arrows.startString),"endString"in i._.arrows&&_(i,i._.arrows.endString,1));break;case"gradient":("circle"==i.type||"ellipse"==i.type||"r"!=r(g).charAt())&&v(i,g);break;case"opacity":u.gradient&&!u[e]("stroke-opacity")&&x(l,{"stroke-opacity":g>1?g/100:g});case"fill-opacity":if(u.gradient){P=t._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,c)),P&&(F=P.getElementsByTagName("stop"),x(F[F.length-1],{"stop-opacity":g}));break}default:"font-size"==d&&(g=n(g,10)+"px");var R=d.replace(/(\-.)/g,function(t){return t.substring(1).toUpperCase()});l.style[R]=g,i._.dirty=1,l.setAttribute(d,g)}}S(i,a),l.style.visibility=f},C=1.2,S=function(i,a){if("text"==i.type&&(a[e]("text")||a[e]("font")||a[e]("font-size")||a[e]("x")||a[e]("y"))){var s=i.attrs,o=i.node,l=o.firstChild?n(t._g.doc.defaultView.getComputedStyle(o.firstChild,c).getPropertyValue("font-size"),10):10;if(a[e]("text")){for(s.text=a.text;o.firstChild;)o.removeChild(o.firstChild);for(var h=r(a.text).split("\n"),u=[],f,p=0,d=h.length;d>p;p++)f=x("tspan"),p&&x(f,{dy:l*C,x:s.x}),f.appendChild(t._g.doc.createTextNode(h[p])),o.appendChild(f),u[p]=f}else for(u=o.getElementsByTagName("tspan"),p=0,d=u.length;d>p;p++)p?x(u[p],{dy:l*C,x:s.x}):x(u[0],{dy:0});x(o,{x:s.x,y:s.y}),i._.dirty=1;var g=i._getBBox(),v=s.y-(g.y+g.height/2);v&&t.is(v,"finite")&&x(u[0],{dy:v})}},T=function(t){return t.parentNode&&"a"===t.parentNode.tagName.toLowerCase()?t.parentNode:t},A=function(e,r){var i=0,n=0;this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.matrix=t.matrix(),this.realPath=null,this.paper=r,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!r.bottom&&(r.bottom=this),this.prev=r.top,r.top&&(r.top.next=this),r.top=this,this.next=null},E=t.el;A.prototype=E,E.constructor=A,t._engine.path=function(t,e){var r=x("path");e.canvas&&e.canvas.appendChild(r);var i=new A(r,e);return i.type="path",B(i,{fill:"none",stroke:"#000",path:t}),i},E.rotate=function(t,e,n){if(this.removed)return this;if(t=r(t).split(h),t.length-1&&(e=i(t[1]),n=i(t[2])),t=i(t[0]),null==n&&(e=n),null==e||null==n){var a=this.getBBox(1);e=a.x+a.width/2,n=a.y+a.height/2}return this.transform(this._.transform.concat([["r",t,e,n]])),this},E.scale=function(t,e,n,a){if(this.removed)return this;if(t=r(t).split(h),t.length-1&&(e=i(t[1]),n=i(t[2]),a=i(t[3])),t=i(t[0]),null==e&&(e=t),null==a&&(n=a),null==n||null==a)var s=this.getBBox(1);return n=null==n?s.x+s.width/2:n,a=null==a?s.y+s.height/2:a,this.transform(this._.transform.concat([["s",t,e,n,a]])),this},E.translate=function(t,e){return this.removed?this:(t=r(t).split(h),t.length-1&&(e=i(t[1])),t=i(t[0])||0,e=+e||0,this.transform(this._.transform.concat([["t",t,e]])),this)},E.transform=function(r){var i=this._;if(null==r)return i.transform;if(t._extractTransform(this,r),this.clip&&x(this.clip,{transform:this.matrix.invert()}),this.pattern&&b(this),this.node&&x(this.node,{transform:this.matrix}),1!=i.sx||1!=i.sy){var n=this.attrs[e]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":n})}return i.transform=this.matrix.toTransformString(),this},E.hide=function(){return this.removed||(this.node.style.display="none"),this},E.show=function(){return this.removed||(this.node.style.display=""),this},E.remove=function(){var e=T(this.node);if(!this.removed&&e.parentNode){var r=this.paper;r.__set__&&r.__set__.exclude(this),u.unbind("raphael.*.*."+this.id),this.gradient&&r.defs.removeChild(this.gradient),t._tear(this,r),e.parentNode.removeChild(e),this.removeData();for(var i in this)this[i]="function"==typeof this[i]?t._removedFactory(i):null;this.removed=!0}},E._getBBox=function(){if("none"==this.node.style.display){this.show();var t=!0}var e=!1,r;this.paper.canvas.parentElement?r=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(r=this.paper.canvas.parentNode.style),r&&"none"==r.display&&(e=!0,r.display="");var i={};try{i=this.node.getBBox()}catch(n){i={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{i=i||{},e&&(r.display="none")}return t&&this.hide(),i},E.attr=function(r,i){if(this.removed)return this;if(null==r){var n={};for(var a in this.attrs)this.attrs[e](a)&&(n[a]=this.attrs[a]);return n.gradient&&"none"==n.fill&&(n.fill=n.gradient)&&delete n.gradient,n.transform=this._.transform,n}if(null==i&&t.is(r,"string")){if("fill"==r&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==r)return this._.transform;for(var s=r.split(h),o={},l=0,c=s.length;c>l;l++)r=s[l],r in this.attrs?o[r]=this.attrs[r]:t.is(this.paper.customAttributes[r],"function")?o[r]=this.paper.customAttributes[r].def:o[r]=t._availableAttrs[r];return c-1?o:o[s[0]]}if(null==i&&t.is(r,"array")){for(o={},l=0,c=r.length;c>l;l++)o[r[l]]=this.attr(r[l]);return o}if(null!=i){var f={};f[r]=i}else null!=r&&t.is(r,"object")&&(f=r);for(var p in f)u("raphael.attr."+p+"."+this.id,this,f[p]);for(p in this.paper.customAttributes)if(this.paper.customAttributes[e](p)&&f[e](p)&&t.is(this.paper.customAttributes[p],"function")){var d=this.paper.customAttributes[p].apply(this,[].concat(f[p]));this.attrs[p]=f[p];for(var g in d)d[e](g)&&(f[g]=d[g])}return B(this,f),this},E.toFront=function(){if(this.removed)return this;var e=T(this.node);e.parentNode.appendChild(e);var r=this.paper;return r.top!=this&&t._tofront(this,r),this},E.toBack=function(){if(this.removed)return this;var e=T(this.node),r=e.parentNode;r.insertBefore(e,r.firstChild),t._toback(this,this.paper);var i=this.paper;return this},E.insertAfter=function(e){if(this.removed||!e)return this;var r=T(this.node),i=T(e.node||e[e.length-1].node);return i.nextSibling?i.parentNode.insertBefore(r,i.nextSibling):i.parentNode.appendChild(r),t._insertafter(this,e,this.paper),this},E.insertBefore=function(e){if(this.removed||!e)return this;var r=T(this.node),i=T(e.node||e[0].node);return i.parentNode.insertBefore(r,i),t._insertbefore(this,e,this.paper),this},E.blur=function(e){var r=this;if(0!==+e){var i=x("filter"),n=x("feGaussianBlur");r.attrs.blur=e,i.id=t.createUUID(),x(n,{stdDeviation:+e||1.5}),i.appendChild(n),r.paper.defs.appendChild(i),r._blur=i,x(r.node,{filter:"url(#"+i.id+")"})}else r._blur&&(r._blur.parentNode.removeChild(r._blur),delete r._blur,delete r.attrs.blur),r.node.removeAttribute("filter");return r},t._engine.circle=function(t,e,r,i){var n=x("circle");t.canvas&&t.canvas.appendChild(n);var a=new A(n,t);return a.attrs={cx:e,cy:r,r:i,fill:"none",stroke:"#000"},a.type="circle",x(n,a.attrs),a},t._engine.rect=function(t,e,r,i,n,a){var s=x("rect");t.canvas&&t.canvas.appendChild(s);var o=new A(s,t);return o.attrs={x:e,y:r,width:i,height:n,rx:a||0,ry:a||0,fill:"none",stroke:"#000"},o.type="rect",x(s,o.attrs),o},t._engine.ellipse=function(t,e,r,i,n){var a=x("ellipse");t.canvas&&t.canvas.appendChild(a);var s=new A(a,t);return s.attrs={cx:e,cy:r,rx:i,ry:n,fill:"none",stroke:"#000"},s.type="ellipse",x(a,s.attrs),s},t._engine.image=function(t,e,r,i,n,a){var s=x("image");x(s,{x:r,y:i,width:n,height:a,preserveAspectRatio:"none"}),s.setAttributeNS(p,"href",e),t.canvas&&t.canvas.appendChild(s);var o=new A(s,t);return o.attrs={x:r,y:i,width:n,height:a,src:e},o.type="image",o},t._engine.text=function(e,r,i,n){var a=x("text");e.canvas&&e.canvas.appendChild(a);var s=new A(a,e);return s.attrs={x:r,y:i,"text-anchor":"middle",text:n,"font-family":t._availableAttrs["font-family"],"font-size":t._availableAttrs["font-size"],stroke:"none",fill:"#000"},s.type="text",B(s,s.attrs),s},t._engine.setSize=function(t,e){return this.width=t||this.width,this.height=e||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},t._engine.create=function(){var e=t._getContainer.apply(0,arguments),r=e&&e.container,i=e.x,n=e.y,a=e.width,s=e.he
vendor: 1,352 bytes, line 3
3ight;if(!r)throw new Error("SVG container not found.");var o=x("svg"),l="overflow:hidden;",h;return i=i||0,n=n||0,a=a||512,s=s||342,x(o,{height:s,version:1.1,width:a,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),1==r?(o.style.cssText=l+"position:absolute;left:"+i+"px;top:"+n+"px",t._g.doc.body.appendChild(o),h=1):(o.style.cssText=l+"position:relative",r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o)),r=new t._Paper,r.width=a,r.height=s,r.canvas=o,r.clear(),r._left=r._top=0,h&&(r.renderfix=function(){}),r.renderfix(),r},t._engine.setViewBox=function(t,e,r,i,n){u("raphael.setViewBox",this,this._viewBox,[t,e,r,i,n]);var a=this.getSize(),o=s(r/a.width,i/a.height),l=this.top,h=n?"xMidYMid meet":"xMinYMin",c,p;for(null==t?(this._vbSize&&(o=1),delete this._vbSize,c="0 0 "+this.width+f+this.height):(this._vbSize=o,c=t+f+e+f+r+f+i),x(this.canvas,{viewBox:c,preserveAspectRatio:h});o&&l;)p="stroke-width"in l.attrs?l.attrs["stroke-width"]:1,l.attr({"stroke-width":p}),l._.dirty=1,l._.dirtyT=1,l=l.prev;return this._viewBox=[t,e,r,i,!!n],this},t.prototype.renderfix=function(){var t=this.canvas,e=t.style,r;try{r=t.getScreenCTM()||t.createSVGMatrix()}catch(i){r=t.createSVGMatrix()}var n=-r.e%1,a=-r.f%1;(n||a)&&(n&&(this._left=(this._left+n)%1,e.left=this._left+"px"),a&&(this._top=(this._top+a)%1,e.to
vendor: 18,398 bytes, line 3
3p=this._top+"px"))},t.prototype.clear=function(){t.eve("raphael.clear",this);for(var e=this.canvas;e.firstChild;)e.removeChild(e.firstChild);this.bottom=this.top=null,(this.desc=x("desc")).appendChild(t._g.doc.createTextNode("Created with Raphaël "+t.version)),e.appendChild(this.desc),e.appendChild(this.defs=x("defs"))},t.prototype.remove=function(){u("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null};var N=t.st;for(var M in E)E[e](M)&&!N[e](M)&&(N[M]=function(t){return function(){var e=arguments;return this.forEach(function(r){r[t].apply(r,e)})}}(M))}}.apply(e,i),!(void 0!==n&&(t.exports=n))},function(t,e,r){var i,n;i=[r(1)],n=function(t){if(!t||t.vml){var e="hasOwnProperty",r=String,i=parseFloat,n=Math,a=n.round,s=n.max,o=n.min,l=n.abs,h="fill",u=/[, ]+/,c=t.eve,f=" progid:DXImageTransform.Microsoft",p=" ",d="",g={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},x=/([clmz]),?([^clmz]*)/gi,v=/ progid:\S+Blur\([^\)]+\)/g,y=/-?[^,\s-]+/g,m="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",b=21600,_={path:1,rect:1,image:1},w={circle:1,ellipse:1},k=function(e){var i=/[ahqstv]/gi,n=t._pathToAbsolute;if(r(e).match(i)&&(n=t._path2curve),i=/[clmz]/g,n==t._pathToAbsolute&&!r(e).match(i)){var s=r(e).replace(x,function(t,e,r){var i=[],n="m"==e.toLowerCase(),s=g[e];return r.replace(y,function(t){n&&2==i.length&&(s+=i+g["m"==e?"l":"L"],i=[]),i.push(a(t*b))}),s+i});return s}var o=n(e),l,h;s=[];for(var u=0,c=o.length;c>u;u++){l=o[u],h=o[u][0].toLowerCase(),"z"==h&&(h="x");for(var f=1,v=l.length;v>f;f++)h+=a(l[f]*b)+(f!=v-1?",":d);s.push(h)}return s.join(p)},B=function(e,r,i){var n=t.matrix();return n.rotate(-e,.5,.5),{dx:n.x(r,i),dy:n.y(r,i)}},C=function(t,e,r,i,n,a){var s=t._,o=t.matrix,u=s.fillpos,c=t.node,f=c.style,d=1,g="",x,v=b/e,y=b/r;if(f.visibility="hidden",e&&r){if(c.coordsize=l(v)+p+l(y),f.rotation=a*(0>e*r?-1:1),a){var m=B(a,i,n);i=m.dx,n=m.dy}if(0>e&&(g+="x"),0>r&&(g+=" y")&&(d=-1),f.flip=g,c.coordorigin=i*-v+p+n*-y,u||s.fillsize){var _=c.getElementsByTagName(h);_=_&&_[0],c.removeChild(_),u&&(m=B(a,o.x(u[0],u[1]),o.y(u[0],u[1])),_.position=m.dx*d+p+m.dy*d),s.fillsize&&(_.size=s.fillsize[0]*l(e)+p+s.fillsize[1]*l(r)),c.appendChild(_)}f.visibility="visible"}};t.toString=function(){return"Your browser doesnât support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var S=function(t,e,i){for(var n=r(e).toLowerCase().split("-"),a=i?"end":"start",s=n.length,o="classic",l="medium",h="medium";s--;)switch(n[s]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":o=n[s];break;case"wide":case"narrow":h=n[s];break;case"long":case"short":l=n[s]}var u=t.node.getElementsByTagName("stroke")[0];u[a+"arrow"]=o,u[a+"arrowlength"]=l,u[a+"arrowwidth"]=h},T=function(n,l){n.attrs=n.attrs||{};var c=n.node,f=n.attrs,g=c.style,x,v=_[n.type]&&(l.x!=f.x||l.y!=f.y||l.width!=f.width||l.height!=f.height||l.cx!=f.cx||l.cy!=f.cy||l.rx!=f.rx||l.ry!=f.ry||l.r!=f.r),y=w[n.type]&&(f.cx!=l.cx||f.cy!=l.cy||f.r!=l.r||f.rx!=l.rx||f.ry!=l.ry),m=n;for(var B in l)l[e](B)&&(f[B]=l[B]);if(v&&(f.path=t._getPath[n.type](n),n._.dirty=1),l.href&&(c.href=l.href),l.title&&(c.title=l.title),l.target&&(c.target=l.target),l.cursor&&(g.cursor=l.cursor),"blur"in l&&n.blur(l.blur),(l.path&&"path"==n.type||v)&&(c.path=k(~r(f.path).toLowerCase().indexOf("r")?t._pathToAbsolute(f.path):f.path),n._.dirty=1,"image"==n.type&&(n._.fillpos=[f.x,f.y],n._.fillsize=[f.width,f.height],C(n,1,1,0,0,0))),"transform"in l&&n.transform(l.transform),y){var T=+f.cx,E=+f.cy,N=+f.rx||+f.r||0,L=+f.ry||+f.r||0;c.path=t.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",a((T-N)*b),a((E-L)*b),a((T+N)*b),a((E+L)*b),a(T*b)),n._.dirty=1}if("clip-rect"in l){var z=r(l["clip-rect"]).split(u);if(4==z.length){z[2]=+z[2]+ +z[0],z[3]=+z[3]+ +z[1];var P=c.clipRect||t._g.doc.createElement("div"),F=P.style;F.clip=t.format("rect({1}px {2}px {3}px {0}px)",z),c.clipRect||(F.position="absolute",F.top=0,F.left=0,F.width=n.paper.width+"px",F.height=n.paper.height+"px",c.parentNode.insertBefore(P,c),P.appendChild(c),c.clipRect=P)}l["clip-rect"]||c.clipRect&&(c.clipRect.style.clip="auto")}if(n.textpath){var R=n.textpath.style;l.font&&(R.font=l.font),l["font-family"]&&(R.fontFamily='"'+l["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,d)+'"'),l["font-size"]&&(R.fontSize=l["font-size"]),l["font-weight"]&&(R.fontWeight=l["font-weight"]),l["font-style"]&&(R.fontStyle=l["font-style"])}if("arrow-start"in l&&S(m,l["arrow-start"]),"arrow-end"in l&&S(m,l["arrow-end"],1),null!=l.opacity||null!=l.fill||null!=l.src||null!=l.stroke||null!=l["stroke-width"]||null!=l["stroke-opacity"]||null!=l["fill-opacity"]||null!=l["stroke-dasharray"]||null!=l["stroke-miterlimit"]||null!=l["stroke-linejoin"]||null!=l["stroke-linecap"]){var I=c.getElementsByTagName(h),j=!1;if(I=I&&I[0],!I&&(j=I=M(h)),"image"==n.type&&l.src&&(I.src=l.src),l.fill&&(I.on=!0),null!=I.on&&"none"!=l.fill&&null!==l.fill||(I.on=!1),I.on&&l.fill){var q=r(l.fill).match(t._ISURL);if(q){I.parentNode==c&&c.removeChild(I),I.rotate=!0,I.src=q[1],I.type="tile";var D=n.getBBox(1);I.position=D.x+p+D.y,n._.fillpos=[D.x,D.y],t._preload(q[1],function(){n._.fillsize=[this.offsetWidth,this.offsetHeight]})}else I.color=t.getRGB(l.fill).hex,I.src=d,I.type="solid",t.getRGB(l.fill).error&&(m.type in{circle:1,ellipse:1}||"r"!=r(l.fill).charAt())&&A(m,l.fill,I)&&(f.fill="none",f.gradient=l.fill,I.rotate=!1)}if("fill-opacity"in l||"opacity"in l){var V=((+f["fill-opacity"]+1||2)-1)*((+f.opacity+1||2)-1)*((+t.getRGB(l.fill).o+1||2)-1);V=o(s(V,0),1),I.opacity=V,I.src&&(I.color="none")}c.appendChild(I);var O=c.getElementsByTagName("stroke")&&c.getElementsByTagName("stroke")[0],Y=!1;!O&&(Y=O=M("stroke")),(l.stroke&&"none"!=l.stroke||l["stroke-width"]||null!=l["stroke-opacity"]||l["stroke-dasharray"]||l["stroke-miterlimit"]||l["stroke-linejoin"]||l["stroke-linecap"])&&(O.on=!0),("none"==l.stroke||null===l.stroke||null==O.on||0==l.stroke||0==l["stroke-width"])&&(O.on=!1);var W=t.getRGB(l.stroke);O.on&&l.stroke&&(O.color=W.hex),V=((+f["stroke-opacity"]+1||2)-1)*((+f.opacity+1||2)-1)*((+W.o+1||2)-1);var G=.75*(i(l["stroke-width"])||1);if(V=o(s(V,0),1),null==l["stroke-width"]&&(G=f["stroke-width"]),l["stroke-width"]&&(O.weight=G),G&&1>G&&(V*=G)&&(O.weight=1),O.opacity=V,l["stroke-linejoin"]&&(O.joinstyle=l["stroke-linejoin"]||"miter"),O.miterlimit=l["stroke-miterlimit"]||8,l["stroke-linecap"]&&(O.endcap="butt"==l["stroke-linecap"]?"flat":"square"==l["stroke-linecap"]?"square":"round"),"stroke-dasharray"in l){var H={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};O.dashstyle=H[e](l["stroke-dasharray"])?H[l["stroke-dasharray"]]:d}Y&&c.appendChild(O)}if("text"==m.type){m.paper.canvas.style.display=d;var X=m.paper.span,U=100,$=f.font&&f.font.match(/\d+(?:\.\d*)?(?=px)/);g=X.style,f.font&&(g.font=f.font),f["font-family"]&&(g.fontFamily=f["font-family"]),f["font-weight"]&&(g.fontWeight=f["font-weight"]),f["font-style"]&&(g.fontStyle=f["font-style"]),$=i(f["font-size"]||$&&$[0])||10,g.fontSize=$*U+"px",m.textpath.string&&(X.innerHTML=r(m.textpath.string).replace(/</g,"<").replace(/&/g,"&").replace(/\n/g,"<br>"));var Z=X.getBoundingClientRect();m.W=f.w=(Z.right-Z.left)/U,m.H=f.h=(Z.bottom-Z.top)/U,m.X=f.x,m.Y=f.y+m.H/2,("x"in l||"y"in l)&&(m.path.v=t.format("m{0},{1}l{2},{1}",a(f.x*b),a(f.y*b),a(f.x*b)+1));for(var Q=["x","y","text","font","font-family","font-weight","font-style","font-size"],J=0,K=Q.length;K>J;J++)if(Q[J]in l){m._.dirty=1;break}switch(f["text-anchor"]){case"start":m.textpath.style["v-text-align"]="left",m.bbx=m.W/2;break;case"end":m.textpath.style["v-text-align"]="right",m.bbx=-m.W/2;break;default:m.textpath.style["v-text-align"]="center",m.bbx=0}m.textpath.style["v-text-kern"]=!0}},A=function(e,a,s){e.attrs=e.attrs||{};var o=e.attrs,l=Math.pow,h,u,c="linear",f=".5 .5";if(e.attrs.gradient=a,a=r(a).replace(t._radial_gradient,function(t,e,r){return c="radial",e&&r&&(e=i(e),r=i(r),l(e-.5,2)+l(r-.5,2)>.25&&(r=n.sqrt(.25-l(e-.5,2))*(2*(r>.5)-1)+.5),f=e+p+r),d}),a=a.split(/\s*\-\s*/),"linear"==c){var g=a.shift();if(g=-i(g),isNaN(g))return null}var x=t._parseDots(a);if(!x)return null;if(e=e.shape||e.node,x.length){e.removeChild(s),s.on=!0,s.method="none",s.color=x[0].color,s.color2=x[x.length-1].color;for(var v=[],y=0,m=x.length;m>y;y++)x[y].offset&&v.push(x[y].offset+p+x[y].color);s.colors=v.length?v.join():"0% "+s.color,"radial"==c?(s.type="gradientTitle",s.focus="100%",s.focussize="0 0",s.focusposition=f,s.angle=0):(s.type="gradient",s.angle=(270-g)%360),e.appendChild(s)}return 1},E=function(e,r){this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=r,this.matrix=t.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!r.bottom&&(r.bottom=this),this.prev=r.top,r.top&&(r.top.next=this),r.top=this,this.next=null},N=t.el;E.prototype=N,N.constructor=E,N.transform=function(e){if(null==e)return this._.transform;var i=this.paper._viewBoxShift,n=i?"s"+[i.scale,i.scale]+"-1-1t"+[i.dx,i.dy]:d,a;i&&(a=e=r(e).replace(/\.{3}|\u2026/g,this._.transform||d)),t._extractTransform(this,n+e);var s=this.matrix.clone(),o=this.skew,l=this.node,h,u=~r(this.attrs.fill).indexOf("-"),c=!r(this.attrs.fill).indexOf("url(");if(s.translate(1,1),c||u||"image"==this.type)if(o.matrix="1 0 0 1",o.offset="0 0",h=s.split(),u&&h.noRotation||!h.isSimple){l.style.filter=s.toFilter();var f=this.getBBox(),g=this.getBBox(1),x=f.x-g.x,v=f.y-g.y;l.coordorigin=x*-b+p+v*-b,C(this,1,1,x,v,0)}else l.style.filter=d,C(this,h.scalex,h.scaley,h.dx,h.dy,h.rotate);else l.style.filter=d,o.matrix=r(s),o.offset=s.offset();return null!==a&&(this._.transform=a,t._extractTransform(this,a)),this},N.rotate=function(t,e,n){if(this.removed)return this;if(null!=t){if(t=r(t).split(u),t.length-1&&(e=i(t[1]),n=i(t[2])),t=i(t[0]),null==n&&(e=n),null==e||null==n){var a=this.getBBox(1);e=a.x+a.width/2,n=a.y+a.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",t,e,n]])),this}},N.translate=function(t,e){return this.removed?this:(t=r(t).split(u),t.length-1&&(e=i(t[1])),t=i(t[0])||0,e=+e||0,this._.bbox&&(this._.bbox.x+=t,this._.bbox.y+=e),this.transform(this._.transform.concat([["t",t,e]])),this)},N.scale=function(t,e,n,a){if(this.removed)return this;if(t=r(t).split(u),t.length-1&&(e=i(t[1]),n=i(t[2]),a=i(t[3]),isNaN(n)&&(n=null),isNaN(a)&&(a=null)),t=i(t[0]),null==e&&(e=t),null==a&&(n=a),null==n||null==a)var s=this.getBBox(1);return n=null==n?s.x+s.width/2:n,a=null==a?s.y+s.height/2:a,this.transform(this._.transform.concat([["s",t,e,n,a]])),this._.dirtyT=1,this},N.hide=function(){return!this.removed&&(this.node.style.display="none"),this},N.show=function(){return!this.removed&&(this.node.style.display=d),this},N.auxGetBBox=t.el.getBBox,N.getBBox=function(){var t=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var e={},r=1/this.paper._viewBoxShift.scale;return e.x=t.x-this.paper._viewBoxShift.dx,e.x*=r,e.y=t.y-this.paper._viewBoxShift.dy,e.y*=r,e.width=t.width*r,e.height=t.height*r,e.x2=e.x+e.width,e.y2=e.y+e.height,e}return t},N._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},N.remove=function(){if(!this.removed&&this.node.parentNode){this.paper.__set__&&this.paper.__set__.exclude(this),t.eve.unbind("raphael.*.*."+this.id),t._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;this.removed=!0}},N.attr=function(r,i){if(this.removed)return this;if(null==r){var n={};for(var a in this.attrs)this.attrs[e](a)&&(n[a]=this.attrs[a]);return n.gradient&&"none"==n.fill&&(n.fill=n.gradient)&&delete n.gradient,n.transform=this._.transform,n}if(null==i&&t.is(r,"string")){if(r==h&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var s=r.split(u),o={},l=0,f=s.length;f>l;l++)r=s[l],r in this.attrs?o[r]=this.attrs[r]:t.is(this.paper.customAttributes[r],"function")?o[r]=this.paper.customAttributes[r].def:o[r]=t._availableAttrs[r];return f-1?o:o[s[0]]}if(this.attrs&&null==i&&t.is(r,"array")){for(o={},l=0,f=r.length;f>l;l++)o[r[l]]=this.attr(r[l]);return o}var p;null!=i&&(p={},p[r]=i),null==i&&t.is(r,"object")&&(p=r);for(var d in p)c("raphael.attr."+d+"."+this.id,this,p[d]);if(p){for(d in this.paper.customAttributes)if(this.paper.customAttributes[e](d)&&p[e](d)&&t.is(this.paper.customAttributes[d],"function")){var g=this.paper.customAttributes[d].apply(this,[].concat(p[d]));this.attrs[d]=p[d];for(var x in g)g[e](x)&&(p[x]=g[x])}p.text&&"text"==this.type&&(this.textpath.string=p.text),T(this,p)}return this},N.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&t._tofront(this,this.paper),this},N.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),t._toback(this,this.paper)),this)},N.insertAfter=function(e){return this.removed?this:(e.constructor==t.st.constructor&&(e=e[e.length-1]),e.node.nextSibling?e.node.parentNode.insertBefore(this.node,e.node.nextSibling):e.node.parentNode.appendChild(this.node),t._insertafter(this,e,this.paper),this)},N.insertBefore=function(e){return this.removed?this:(e.constructor==t.st.constructor&&(e=e[0]),e.node.parentNode.insertBefore(this.node,e.node),t._insertbefore(this,e,this.paper),this)},N.blur=function(e){var r=this.node.runtimeStyle,i=r.filter;return i=i.replace(v,d),0!==+e?(this.attrs.blur=e,r.filter=i+p+f+".Blur(pixelradius="+(+e||1.5)+")",r.margin=t.format("-{0}px 0 0 -{0}px",a(+e||1.5))):(r.filter=i,r.margin=0,delete this.attrs.blur),this},t._engine.path=function(t,e){var r=M("shape");r.style.cssText=m,r.coordsize=b+p+b,r.coordorigin=e.coordorigin;var i=new E(r,e),n={fill:"none",stroke:"#000"};t&&(n.path=t),i.type="path",i.path=[],i.Path=d,T(i,n),e.canvas&&e.canvas.appendChild(r);var a=M("skew");return a.on=!0,r.appendChild(a),i.skew=a,i.transform(d),i},t._engine.rect=function(e,r,i,n,a,s){var o=t._rectPath(r,i,n,a,s),l=e.path(o),h=l.attrs;return l.X=h.x=r,l.Y=h.y=i,l.W=h.width=n,l.H=h.height=a,h.r=s,h.path=o,l.type="rect",l},t._engine.ellipse=function(t,e,r,i,n){var a=t.path(),s=a.attrs;return a.X=e-i,a.Y=r-n,a.W=2*i,a.H=2*n,a.type="ellipse",T(a,{cx:e,cy:r,rx:i,ry:n}),a},t._engine.circle=function(t,e,r,i){var n=t.path(),a=n.attrs;return n.X=e-i,n.Y=r-i,n.W=n.H=2*i,n.type="circle",T(n,{cx:e,cy:r,r:i}),n},t._engine.image=function(e,r,i,n,a,s){var o=t._rectPath(i,n,a,s),l=e.path(o).attr({stroke:"none"}),u=l.attrs,c=l.node,f=c.getElementsByTagName(h)[0];return u.src=r,l.X=u.x=i,l.Y=u.y=n,l.W=u.width=a,l.H=u.height=s,u.path=o,l.type="image",f.parentNode==c&&c.removeChild(f),f.rotate=!0,f.src=r,f.type="tile",l._.fillpos=[i,n],l._.fillsize=[a,s],c.appendChild(f),C(l,1,1,0,0,0),l},t._engine.text=function(e,i,n,s){var o=M("shape"),l=M("path"),h=M("textpath");i=i||0,n=n||0,s=s||"",l.v=t.format("m{0},{1}l{2},{1}",a(i*b),a(n*b),a(i*b)+1),l.textpathok=!0,h.string=r(s),h.on=!0,o.style.cssText=m,o.coordsize=b+p+b,o.coordorigin="0 0";var u=new E(o,e),c={fill:"#000",stroke:"none",font:t._availableAttrs.font,text:s};u.shape=o,u.path=l,u.textpath=h,u.type="text",u.attrs.text=r(s),u.attrs.x=i,u.attrs.y=n,u.attrs.w=1,u.attrs.h=1,T(u,c),o.appendChild(h),o.appendChild(l),e.canvas.appendChild(o);var f=M("skew");return f.on=!0,o.appendChild(f),u.skew=f,u.transform(d),u},t._engine.setSize=function(e,r){var i=this.canvas.style;return this.width=e,this.height=r,e==+e&&(e+="px"),r==+r&&(r+="px"),i.width=e,i.height=r,i.clip="rect(0 "+e+" "+r+" 0)",this._viewBox&&t._engine.setViewBox.apply(this,this._viewBox),this},t._engine.setViewBox=function(e,r,i,n,a){t.eve("raphael.setViewBox",this,this._viewBox,[e,r,i,n,a]);var s=this.getSize(),o=s.width,l=s.height,h,u;return a&&(h=l/n,u=o/i,o>i*h&&(e-=(o-i*h)/2/h),l>n*u&&(r-=(l-n*u)/2/u)),this._viewBox=[e,r,i,n,!!a],this._viewBoxShift={dx:-e,dy:-r,scale:s},this.forEach(function(t){t.transform("...")}),this};var M;t._engine.initWin=function(t){var e=t.document;e.styleSheets.length<31?e.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):e.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!e.namespaces.rvml&&e.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),M=function(t){return e.createElement("<rvml:"+t+' class="rvml">')}}catch(r){M=function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},t._engine.initWin(t._g.win),t._engine.create=function(){var e=t._getContainer.apply(0,arguments),r=e.container,i=e.height,n,a=e.width,s=e.x,o=e.y;if(!r)throw new Error("VML container not found.");var l=new t._Paper,h=l.canvas=t._g.doc.createElement("div"),u=h.style;return s=s||0,o=o||0,a=a||512,i=i||342,l.width=a,l.height=i,a==+a&&(a+="px"),i==+i&&(i+="px"),l.coordsize=1e3*b+p+1e3*b,l.coordorigin="0 0",l.span=t._g.doc.createElement("span"),l.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",h.appendChild(l.span),u.cssText=t.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",a,i),1==r?(t._g.doc.body.appendChild(h),u.left=s+"px",u.top=o+"px",u.position="absolute"):r.firstChild?r.insertBefore(h,r.firstChild):r.appendChild(h),l.renderfix=function(){},l},t.prototype.clear=function(){t.eve("raphael.clear",this),this.canvas.innerHTML=d,this.span=t._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},t.prototype.remove=function(){t.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;return!0};var L=t.st;for(var z in N)N[e](z)&&!L[e](z)&&(L[z]=function(t){return function(){var e=arguments;return this.forEach(function(r){r[t].apply(r,e)})}}(z))}}.apply(e,i),!(void 0!==n&&(t.exports=n))}])});
vendor: 35,533 bytes, lines 3-5
3 4(function(){var a,b,c,d,e=[].slice,f=function(a,b){return function(){return a.apply(b,arguments)}},g={}.hasOwnProperty,h=function(a,b){function c(){this.constructor=a}for(var d in b)g.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},i=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=window.Morris={},a=jQuery,b.EventEmitter=function(){function a(){}return a.prototype.on=function(a,b){return null==this.handlers&&(this.handlers={}),null==this.handlers[a]&&(this.handlers[a]=[]),this.handlers[a].push(b),this},a.prototype.fire=function(){var a,b,c,d,f,g,h;if(c=arguments[0],a=2<=arguments.length?e.call(arguments,1):[],null!=this.handlers&&null!=this.handlers[c]){for(g=this.handlers[c],h=[],d=0,f=g.length;f>d;d++)b=g[d],h.push(b.apply(null,a));return h}},a}(),b.commas=function(a){var b,c,d,e;return null!=a?(d=0>a?"-":"",b=Math.abs(a),c=Math.floor(b).toFixed(0),d+=c.replace(/(?=(?:\d{3})+$)(?!^)/g,","),e=b.toString(),e.length>c.length&&(d+=e.slice(c.length)),d):"-"},b.pad2=function(a){return(10>a?"0":"")+a},b.Grid=function(c){function d(b){this.resizeHandler=f(this.resizeHandler,this);var c=this;if(this.el="string"==typeof b.element?a(document.getElementById(b.element)):a(b.element),null==this.el||0===this.el.length)throw new Error("Graph container element not found");"static"===this.el.css("position")&&this.el.css("position","relative"),this.options=a.extend({},this.gridDefaults,this.defaults||{},b),"string"==typeof this.options.units&&(this.options.postUnits=b.units),this.raphael=new Raphael(this.el[0]),this.elementWidth=null,this.elementHeight=null,this.dirty=!1,this.selectFrom=null,this.init&&this.init(),this.setData(this.options.data),this.el.bind("mousemove",function(a){var b,d,e,f,g;return d=c.el.offset(),g=a.pageX-d.left,c.selectFrom?(b=c.data[c.hitTest(Math.min(g,c.selectFrom))]._x,e=c.data[c.hitTest(Math.max(g,c.selectFrom))]._x,f=e-b,c.selectionRect.attr({x:b,width:f})):c.fire("hovermove",g,a.pageY-d.top)}),this.el.bind("mouseleave",function(){return c.selectFrom&&(c.selectionRect.hide(),c.selectFrom=null),c.fire("hoverout")}),this.el.bind("touchstart touchmove touchend",function(a){var b,d;return d=a.originalEvent.touches[0]||a.originalEvent.changedTouches[0],b=c.el.offset(),c.fire("hovermove",d.pageX-b.left,d.pageY-b.top)}),this.el.bind("click",function(a){var b;return b=c.el.offset(),c.fire("gridclick",a.pageX-b.left,a.pageY-b.top)}),this.options.rangeSelect&&(this.selectionRect=this.raphael.rect(0,0,0,this.el.innerHeight()).attr({fill:this.options.rangeSelectColor,stroke:!1}).toBack().hide(),this.el.bind("mousedown",function(a){var b;return b=c.el.offset(),c.startRange(a.pageX-b.left)}),this.el.bind("mouseup",function(a){var b;return b=c.el.offset(),c.endRange(a.pageX-b.left),c.fire("hovermove",a.pageX-b.left,a.pageY-b.top)})),this.options.resize&&a(window).bind("resize",function(){return null!=c.timeoutId&&window.clearTimeout(c.timeoutId),c.timeoutId=window.setTimeout(c.resizeHandler,100)}),this.el.css("-webkit-tap-highlight-color","rgba(0,0,0,0)"),this.postInit&&this.postInit()}return h(d,c),d.prototype.gridDefaults={dateFormat:null,axes:!0,grid:!0,gridLineColor:"#aaa",gridStrokeWidth:.5,gridTextColor:"#888",gridTextSize:12,gridTextFamily:"sans-serif",gridTextWeight:"normal",hideHover:!1,yLabelFormat:null,xLabelAngle:0,numLines:5,padding:25,parseTime:!0,postUnits:"",preUnits:"",ymax:"auto",ymin:"auto 0",goals:[],goalStrokeWidth:1,goalLineColors:["#666633","#999966","#cc6666","#663333"],events:[],eventStrokeWidth:1,eventLineColors:["#005a04","#ccffbb","#3a5f0b","#005502"],rangeSelect:null,rangeSelectColor:"#eef",resize:!1},d.prototype.setData=function(a,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return null==c&&(c=!0),this.options.data=a,null==a||0===a.length?(this.data=[],this.raphael.clear(),null!=this.hover&&this.hover.hide(),void 0):(o=this.cumulative?0:null,p=this.cumulative?0:null,this.options.goals.length>0&&(h=Math.min.apply(Math,this.options.goals),g=Math.max.apply(Math,this.options.goals),p=null!=p?Math.min(p,h):h,o=null!=o?Math.max(o,g):g),this.data=function(){var c,d,g;for(g=[],f=c=0,d=a.length;d>c;f=++c)j=a[f],i={src:j},i.label=j[this.options.xkey],this.options.parseTime?(i.x=b.parseDate(i.label),this.options.dateFormat?i.label=this.options.dateFormat(i.x):"number"==typeof i.label&&(i.label=new Date(i.label).toString())):(i.x=f,this.options.xLabelFormat&&(i.label=this.options.xLabelFormat(i))),l=0,i.y=function(){var a,b,c,d;for(c=this.options.ykeys,d=[],e=a=0,b=c.length;b>a;e=++a)n=c[e],q=j[n],"string"==typeof q&&(q=parseFloat(q)),null!=q&&"number"!=typeof q&&(q=null),null!=q&&(this.cumulative?l+=q:null!=o?(o=Math.max(q,o),p=Math.min(q,p)):o=p=q),this.cumulative&&null!=l&&(o=Math.max(l,o),p=Math.min(l,p)),d.push(q);return d}.call(this),g.push(i);return g}.call(this),this.options.parseTime&&(this.data=this.data.sort(function(a,b){return(a.x>b.x)-(b.x>a.x)})),this.xmin=this.data[0].x,this.xmax=this.data[this.data.length-1].x,this.events=[],this.options.events.length>0&&(this.events=this.options.parseTime?function(){var a,c,e,f;for(e=this.options.events,f=[],a=0,c=e.length;c>a;a++)d=e[a],f.push(b.parseDate(d));return f}.call(this):this.options.events,this.xmax=Math.max(this.xmax,Math.max.apply(Math,this.events)),this.xmin=Math.min(this.xmin,Math.min.apply(Math,this.events))),this.xmin===this.xmax&&(this.xmin-=1,this.xmax+=1),this.ymin=this.yboundary("min",p),this.ymax=this.yboundary("max",o),this.ymin===this.ymax&&(p&&(this.ymin-=1),this.ymax+=1),((r=this.options.axes)===!0||"both"===r||"y"===r||this.options.grid===!0)&&(this.options.ymax===this.gridDefaults.ymax&&this.options.ymin===this.gridDefaults.ymin?(this.grid=this.autoGridLines(this.ymin,this.ymax,this.options.numLines),this.ymin=Math.min(this.ymin,this.grid[0]),this.ymax=Math.max(this.ymax,this.grid[this.grid.length-1])):(k=(this.ymax-this.ymin)/(this.options.numLines-1),this.grid=function(){var a,b,c,d;for(d=[],m=a=b=this.ymin,c=this.ymax;k>0?c>=a:a>=c;m=a+=k)d.push(m);return d}.call(this))),this.dirty=!0,c?this.redraw():void 0)},d.prototype.yboundary=function(a,b){var c,d;return c=this.options["y"+a],"string"==typeof c?"auto"===c.slice(0,4)?c.length>5?(d=parseInt(c.slice(5),10),null==b?d:Math[a](b,d)):null!=b?b:0:parseInt(c,10):c},d.prototype.autoGridLines=function(a,b,c){var d,e,f,g,h,i,j,k,l;return h=b-a,l=Math.floor(Math.log(h)/Math.log(10)),j=Math.pow(10,l),e=Math.floor(a/j)*j,d=Math.ceil(b/j)*j,i=(d-e)/(c-1),1===j&&i>1&&Math.ceil(i)!==i&&(i=Math.ceil(i),d=e+i*(c-1)),0>e&&d>0&&(e=Math.floor(a/i)*i,d=Math.ceil(b/i)*i),1>i?(g=Math.floor(Math.log(i)/Math.log(10)),f=function(){var a,b;for(b=[],k=a=e;i>0?d>=a:a>=d;k=a+=i)b.push(parseFloat(k.toFixed(1-g)));return b}()):f=function(){var a,b;for(b=[],k=a=e;i>0?d>=a:a>=d;k=a+=i)b.push(k);return b}(),f},d.prototype._calc=function(){var a,b,c,d,e,f,g,h;return e=this.el.width(),c=this.el.height(),(this.elementWidth!==e||this.elementHeight!==c||this.dirty)&&(this.elementWidth=e,this.elementHeight=c,this.dirty=!1,this.left=this.options.padding,this.right=this.elementWidth-this.options.padding,this.top=this.options.padding,this.bottom=this.elementHeight-this.options.padding,((g=this.options.axes)===!0||"both"===g||"y"===g)&&(f=function(){var a,c,d,e;for(d=this.grid,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(this.measureText(this.yAxisFormat(b)).width);return e}.call(this),this.left+=Math.max.apply(Math,f)),((h=this.options.axes)===!0||"both"===h||"x"===h)&&(a=function(){var a,b,c;for(c=[],d=a=0,b=this.data.length;b>=0?b>a:a>b;d=b>=0?++a:--a)c.push(this.measureText(this.data[d].text,-this.options.xLabelAngle).height);return c}.call(this),this.bottom-=Math.max.apply(Math,a)),this.width=Math.max(1,this.right-this.left),this.height=Math.max(1,this.bottom-this.top),this.dx=this.width/(this.xmax-this.xmin),this.dy=this.height/(this.ymax-this.ymin),this.calc)?this.calc():void 0},d.prototype.transY=function(a){return this.bottom-(a-this.ymin)*this.dy},d.prototype.transX=function(a){return 1===this.data.length?(this.left+this.right)/2:this.left+(a-this.xmin)*this.dx},d.prototype.redraw=function(){return this.raphael.clear(),this._calc(),this.drawGrid(),this.drawGoals(),this.drawEvents(),this.draw?this.draw():void 0},d.prototype.measureText=function(a,b){var c,d;return null==b&&(b=0),d=this.raphael.text(100,100,a).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).rotate(b),c=d.getBBox(),d.remove(),c},d.prototype.yAxisFormat=function(a){return this.yLabelFormat(a)},d.prototype.yLabelFormat=function(a){return"function"==typeof this.options.yLabelFormat?this.options.yLabelFormat(a):""+this.options.preUnits+b.commas(a)+this.options.postUnits},d.prototype.drawGrid=function(){var a,b,c,d,e,f,g,h;if(this.options.grid!==!1||(e=this.options.axes)===!0||"both"===e||"y"===e){for(f=this.grid,h=[],c=0,d=f.length;d>c;c++)a=f[c],b=this.transY(a),((g=this.options.axes)===!0||"both"===g||"y"===g)&&this.drawYAxisLabel(this.left-this.options.padding/2,b,this.yAxisFormat(a)),this.options.grid?h.push(this.drawGridLine("M"+this.left+","+b+"H"+(this.left+this.width))):h.push(void 0);return h}},d.prototype.drawGoals=function(){var a,b,c,d,e,f,g;for(f=this.options.goals,g=[],c=d=0,e=f.length;e>d;c=++d)b=f[c],a=this.options.goalLineColors[c%this.options.goalLineColors.length],g.push(this.drawGoal(b,a));return g},d.prototype.drawEvents=function(){var a,b,c,d,e,f,g;for(f=this.events,g=[],c=d=0,e=f.length;e>d;c=++d)b=f[c],a=this.options.eventLineColors[c%this.options.eventLineColors.length],g.push(this.drawEvent(b,a));return g},d.prototype.drawGoal=function(a,b){return this.raphael.path("M"+this.left+","+this.transY(a)+"H"+this.right).attr("stroke",b).attr("stroke-width",this.options.goalStrokeWidth)},d.prototype.drawEvent=function(a,b){return this.raphael.path("M"+this.transX(a)+","+this.bottom+"V"+this.top).attr("stroke",b).attr("stroke-width",this.options.eventStrokeWidth)},d.prototype.drawYAxisLabel=function(a,b,c){return this.raphael.text(a,b,c).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).attr("fill",this.options.gridTextColor).attr("text-anchor","end")},d.prototype.drawGridLine=function(a){return this.raphael.path(a).attr("stroke",this.options.gridLineColor).attr("stroke-width",this.options.gridStrokeWidth)},d.prototype.startRange=function(a){return this.hover.hide(),this.selectFrom=a,this.selectionRect.attr({x:a,width:0}).show()},d.prototype.endRange=function(a){var b,c;return this.selectFrom?(c=Math.min(this.selectFrom,a),b=Math.max(this.selectFrom,a),this.options.rangeSelect.call(this.el,{start:this.data[this.hitTest(c)].x,end:this.data[this.hitTest(b)].x}),this.selectFrom=null):void 0},d.prototype.resizeHandler=function(){return this.timeoutId=null,this.raphael.setSize(this.el.width(),this.el.height()),this.redraw()},d}(b.EventEmitter),b.parseDate=function(a){var b,c,d,e,f,g,h,i,j,k,l;return"number"==typeof a?a:(c=a.match(/^(\d+) Q(\d)$/),e=a.match(/^(\d+)-(\d+)$/),f=a.match(/^(\d+)-(\d+)-(\d+)$/),h=a.match(/^(\d+) W(\d+)$/),i=a.match(/^(\d+)-(\d+)-(\d+)[ T](\d+):(\d+)(Z|([+-])(\d\d):?(\d\d))?$/),j=a.match(/^(\d+)-(\d+)-(\d+)[ T](\d+):(\d+):(\d+(\.\d+)?)(Z|([+-])(\d\d):?(\d\d))?$/),c?new Date(parseInt(c[1],10),3*parseInt(c[2],10)-1,1).getTime():e?new Date(parseInt(e[1],10),parseInt(e[2],10)-1,1).getTime():f?new Date(parseInt(f[1],10),parseInt(f[2],10)-1,parseInt(f[3],10)).getTime():h?(k=new Date(parseInt(h[1],10),0,1),4!==k.getDay()&&k.setMonth(0,1+(4-k.getDay()+7)%7),k.getTime()+6048e5*parseInt(h[2],10)):i?i[6]?(g=0,"Z"!==i[6]&&(g=60*parseInt(i[8],10)+parseInt(i[9],10),"+"===i[7]&&(g=0-g)),Date.UTC(parseInt(i[1],10),parseInt(i[2],10)-1,parseInt(i[3],10),parseInt(i[4],10),parseInt(i[5],10)+g)):new Date(parseInt(i[1],10),parseInt(i[2],10)-1,parseInt(i[3],10),parseInt(i[4],10),parseInt(i[5],10)).getTime():j?(l=parseFloat(j[6]),b=Math.floor(l),d=Math.round(1e3*(l-b)),j[8]?(g=0,"Z"!==j[8]&&(g=60*parseInt(j[10],10)+parseInt(j[11],10),"+"===j[9]&&(g=0-g)),Date.UTC(parseInt(j[1],10),parseInt(j[2],10)-1,parseInt(j[3],10),parseInt(j[4],10),parseInt(j[5],10)+g,b,d)):new Date(parseInt(j[1],10),parseInt(j[2],10)-1,parseInt(j[3],10),parseInt(j[4],10),parseInt(j[5],10),b,d).getTime()):new Date(parseInt(a,10),0,1).getTime())},b.Hover=function(){function c(c){null==c&&(c={}),this.options=a.extend({},b.Hover.defaults,c),this.el=a("<div class='"+this.options["class"]+"'></div>"),this.el.hide(),this.options.parent.append(this.el)}return c.defaults={"class":"morris-hover morris-default-style"},c.prototype.update=function(a,b,c){return a?(this.html(a),this.show(),this.moveTo(b,c)):this.hide()},c.prototype.html=function(a){return this.el.html(a)},c.prototype.moveTo=function(a,b){var c,d,e,f,g,h;return g=this.options.parent.innerWidth(),f=this.options.parent.innerHeight(),d=this.el.outerWidth(),c=this.el.outerHeight(),e=Math.min(Math.max(0,a-d/2),g-d),null!=b?(h=b-c-10,0>h&&(h=b+10,h+c>f&&(h=f/2-c/2))):h=f/2-c/2,this.el.css({left:e+"px",top:parseInt(h)+"px"})},c.prototype.show=function(){return this.el.show()},c.prototype.hide=function(){return this.el.hide()},c}(),b.Line=function(a){function c(a){return this.hilight=f(this.hilight,this),this.onHoverOut=f(this.onHoverOut,this),this.onHoverMove=f(this.onHoverMove,this),this.onGridClick=f(this.onGridClick,this),this instanceof b.Line?(c.__super__.constructor.call(this,a),void 0):new b.Line(a)}return h(c,a),c.prototype.init=function(){return"always"!==this.options.hideHover?(this.hover=new b.Hover({parent:this.el}),this.on("hovermove",this.onHoverMove),this.on("hoverout",this.onHoverOut),this.on("gridclick",this.onGridClick)):void 0},c.prototype.defaults={lineWidth:3,pointSize:4,lineColors:["#0b62a4","#7A92A3","#4da74d","#afd8f8","#edc240","#cb4b4b","#9440ed"],pointStrokeWidths:[1],pointStrokeColors:["#ffffff"],pointFillColors:[],smooth:!0,xLabels:"auto",xLabelFormat:null,xLabelMargin:24,hideHover:!1},c.prototype.calc=function(){return this.calcPoints(),this.generatePaths()},c.prototype.calcPoints=function(){var a,b,c,d,e,f;for(e=this.data,f=[],c=0,d=e.length;d>c;c++)a=e[c],a._x=this.transX(a.x),a._y=function(){var c,d,e,f;for(e=a.y,f=[],c=0,d=e.length;d>c;c++)b=e[c],null!=b?f.push(this.transY(b)):f.push(b);return f}.call(this),f.push(a._ymax=Math.min.apply(Math,[this.bottom].concat(function(){var c,d,e,f;for(e=a._y,f=[],c=0,d=e.length;d>c;c++)b=e[c],null!=b&&f.push(b);return f}())));return f},c.prototype.hitTest=function(a){var b,c,d,e,f;if(0===this.data.length)return null;for(f=this.data.slice(1),b=d=0,e=f.length;e>d&&(c=f[b],!(a<(c._x+this.data[b]._x)/2));b=++d);return b},c.prototype.onGridClick=function(a,b){var c;return c=this.hitTest(a),this.fire("click",c,this.data[c].src,a,b)},c.prototype.onHoverMove=function(a){var b;return b=this.hitTest(a),this.displayHoverForRow(b)},c.prototype.onHoverOut=function(){return this.options.hideHover!==!1?this.displayHoverForRow(null):void 0},c.prototype.displayHoverForRow=function(a){var b;return null!=a?((b=this.hover).update.apply(b,this.hoverContentForRow(a)),this.hilight(a)):(this.hover.hide(),this.hilight())},c.prototype.hoverContentForRow=function(a){var b,c,d,e,f,g,h;for(d=this.data[a],b="<div class='morris-hover-row-label'>"+d.label+"</div>",h=d.y,c=f=0,g=h.length;g>f;c=++f)e=h[c],b+="<div class='morris-hover-point' style='color: "+this.colorFor(d,c,"label")+"'>\n "+this.options.labels[c]+":\n "+this.yLabelFormat(e)+"\n</div>";return"function"==typeof this.options.hoverCallback&&(b=this.options.hoverCallback(a,this.options,b,d.src)),[b,d._x,d._ymax]},c.prototype.generatePaths=function(){var a,c,d,e;return this.paths=function(){var f,g,h,j;for(j=[],c=f=0,g=this.options.ykeys.length;g>=0?g>f:f>g;c=g>=0?++f:--f)e="boolean"==typeof this.options.smooth?this.options.smooth:(h=this.options.ykeys[c],i.call(this.options.smooth,h)>=0),a=function(){var a,b,e,f;for(e=this.data,f=[],a=0,b=e.length;b>a;a++)d=e[a],void 0!==d._y[c]&&f.push({x:d._x,y:d._y[c]});return f}.call(this),a.length>1?j.push(b.Line.createPath(a,e,this.bottom)):j.push(null);return j}.call(this)},c.prototype.draw=function(){var a;return((a=this.options.axes)===!0||"both"===a||"x"===a)&&this.drawXAxis(),this.drawSeries(),this.options.hideHover===!1?this.displayHoverForRow(this.data.length-1):void 0},c.prototype.drawXAxis=function(){var a,c,d,e,f,g,h,i,j,k,l=this;for(h=this.bottom+this.options.padding/2,f=null,e=null,a=function(a,b){var c,d,g,i,j;return c=l.drawXAxisLabel(l.transX(b),h,a),j=c.getBBox(),c.transform("r"+-l.options.xLabelAngle),d=c.getBBox(),c.transform("t0,"+d.height/2+"..."),0!==l.options.xLabelAngle&&(i=-.5*j.width*Math.cos(l.options.xLabelAngle*Math.PI/180),c.transform("t"+i+",0...")),d=c.getBBox(),(null==f||f>=d.x+d.width||null!=e&&e>=d.x)&&d.x>=0&&d.x+d.width<l.el.width()?(0!==l.options.xLabelAngle&&(g=1.25*l.options.gridTextSize/Math.sin(l.options.xLabelAngle*Math.PI/180),e=d.x-g),f=d.x-l.options.xLabelMargin):c.remove()},d=this.options.parseTime?1===this.data.length&&"auto"===this.options.xLabels?[[this.data[0].label,this.data[0].x]]:b.labelSeries(this.xmin,this.xmax,this.width,this.options.xLabels,this.options.xLabelFormat):function(){var a,b,c,d;for(c=this.data,d=[],a=0,b=c.length;b>a;a++)g=c[a],d.push([g.label,g.x]);return d}.call(this),d.reverse(),k=[],i=0,j=d.length;j>i;i++)c=d[i],k.push(a(c[0],c[1]));return k},c.prototype.drawSeries=function(){var a,b,c,d,e,f;for(this.seriesPoints=[],a=b=d=this.options.ykeys.length-1;0>=d?0>=b:b>=0;a=0>=d?++b:--b)this._drawLineFor(a);for(f=[],a=c=e=this.options.ykeys.length-1;0>=e?0>=c:c>=0;a=0>=e?++c:--c)f.push(this._drawPointFor(a));return f},c.prototype._drawPointFor=function(a){var b,c,d,e,f,g;for(this.seriesPoints[a]=[],f=this.data,g=[],d=0,e=f.length;e>d;d++)c=f[d],b=null,null!=c._y[a]&&(b=this.drawLinePoint(c._x,c._y[a],this.colorFor(c,a,"point"),a)),g.push(this.seriesPoints[a].push(b));return g},c.prototype._drawLineFor=function(a){var b;return b=this.paths[a],null!==b?this.drawLinePath(b,this.colorFor(null,a,"line"),a):void 0},c.createPath=function(a,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r;for(k="",c&&(g=b.Line.gradients(a)),l={y:null},h=q=0,r=a.length;r>q;h=++q)e=a[h],null!=e.y&&(null!=l.y?c?(f=g[h],j=g[h-1],i=(e.x-l.x)/4,m=l.x+i,o=Math.min(d,l.y+i*j),n=e.x-i,p=Math.min(d,e.y-i*f),k+="C"+m+","+o+","+n+","+p+","+e.x+","+e.y):k+="L"+e.x+","+e.y:c&&null==g[h]||(k+="M"+e.x+","+e.y)),l=e;return k},c.gradients=function(a){var b,c,d,e,f,g,h,i;for(c=function(a,b){return(a.y-b.y)/(a.x-b.x)},i=[],d=g=0,h=a.length;h>g;d=++g)b=a[d],null!=b.y?(e=a[d+1]||{y:null},f=a[d-1]||{y:null},null!=f.y&&null!=e.y?i.push(c(f,e)):null!=f.y?i.push(c(f,b)):null!=e.y?i.push(c(b,e)):i.push(null)):i.push(null);return i},c.prototype.hilight=function(a){var b,c,d,e,f;if(null!==this.prevHilight&&this.prevHilight!==a)for(b=c=0,e=this.seriesPoints.length-1;e>=0?e>=c:c>=e;b=e>=0?++c:--c)this.seriesPoints[b][this.prevHilight]&&this.seriesPoints[b][this.prevHilight].animate(this.pointShrinkSeries(b));if(null!==a&&this.prevHilight!==a)for(b=d=0,f=this.seriesPoints.length-1;f>=0?f>=d:d>=f;b=f>=0?++d:--d)this.seriesPoints[b][a]&&this.seriesPoints[b][a].animate(this.pointGrowSeries(b));return this.prevHilight=a},c.prototype.colorFor=function(a,b,c){return"function"==typeof this.options.lineColors?this.options.lineColors.call(this,a,b,c):"point"===c?this.options.pointFillColors[b%this.options.pointFillColors.length]||this.options.lineColors[b%this.options.lineColors.length]:this.options.lineColors[b%this.options.lineColors.length]},c.prototype.drawXAxisLabel=function(a,b,c){return this.raphael.text(a,b,c).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).attr("fill",this.options.gridTextColor)},c.prototype.drawLinePath=function(a,b,c){return this.raphael.path(a).attr("stroke",b).attr("stroke-width",this.lineWidthForSeries(c))},c.prototype.drawLinePoint=function(a,b,c,d){return this.raphael.circle(a,b,this.pointSizeForSeries(d)).attr("fill",c).attr("stroke-width",this.pointStrokeWidthForSeries(d)).attr("stroke",this.pointStrokeColorForSeries(d))},c.prototype.pointStrokeWidthForSeries=function(a){return this.options.pointStrokeWidths[a%this.options.pointStrokeWidths.length]},c.prototype.pointStrokeColorForSeries=function(a){return this.options.pointStrokeColors[a%this.options.pointStrokeColors.length]},c.prototype.lineWidthForSeries=function(a){return this.options.lineWidth instanceof Array?this.options.lineWidth[a%this.options.lineWidth.length]:this.options.lineWidth},c.prototype.pointSizeForSeries=function(a){return this.options.pointSize instanceof Array?this.options.pointSize[a%this.options.pointSize.length]:this.options.pointSize},c.prototype.pointGrowSeries=function(a){return Raphael.animation({r:this.pointSizeForSeries(a)+3},25,"linear")},c.prototype.pointShrinkSeries=function(a){return Raphael.animation({r:this.pointSizeForSeries(a)},25,"linear")},c}(b.Grid),b.labelSeries=function(c,d,e,f,g){var h,i,j,k,l,m,n,o,p,q,r;if(j=200*(d-c)/e,i=new Date(c),n=b.LABEL_SPECS[f],void 0===n)for(r=b.AUTO_LABEL_ORDER,p=0,q=r.length;q>p;p++)if(k=r[p],m=b.LABEL_SPECS[k],j>=m.span){n=m;break}for(void 0===n&&(n=b.LABEL_SPECS.second),g&&(n=a.extend({},n,{fmt:g})),h=n.start(i),l=[];(o=h.getTime())<=d;)o>=c&&l.push([n.fmt(h),o]),n.incr(h);return l},c=function(a){return{span:60*a*1e3,start:function(a){return new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours())},fmt:function(a){return""+b.pad2(a.getHours())+":"+b.pad2(a.getMinutes())},incr:function(b){return b.setUTCMinutes(b.getUTCMinutes()+a)}}},d=function(a){return{span:1e3*a,start:function(a){return new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes())},fmt:function(a){return""+b.pad2(a.getHours())+":"+b.pad2(a.getMinutes())+":"+b.pad2(a.getSeconds())},incr:function(b){return b.setUTCSeconds(b.getUTCSeconds()+a)}}},b.LABEL_SPECS={decade:{span:1728e8,start:function(a){return new Date(a.getFullYear()-a.getFullYear()%10,0,1)},fmt:function(a){return""+a.getFullYear()},incr:function(a){return a.setFullYear(a.getFullYear()+10)}},year:{span:1728e7,start:function(a){return new Date(a.getFullYear(),0,1)},fmt:function(a){return""+a.getFullYear()},incr:function(a){return a.setFullYear(a.getFullYear()+1)}},month:{span:24192e5,start:function(a){return new Date(a.getFullYear(),a.getMonth(),1)},fmt:function(a){return""+a.getFullYear()+"-"+b.pad2(a.getMonth()+1)},incr:function(a){return a.setMonth(a.getMonth()+1)}},week:{span:6048e5,start:function(a){return new Date(a.getFullYear(),a.getMonth(),a.getDate())},fmt:function(a){return""+a.getFullYear()+"-"+b.pad2(a.getMonth()+1)+"-"+b.pad2(a.getDate())},incr:function(a){return a.setDate(a.getDate()+7)}},day:{span:864e5,start:function(a){return new Date(a.getFullYear(),a.getMonth(),a.getDate())},fmt:function(a){return""+a.getFullYear()+"-"+b.pad2(a.getMonth()+1)+"-"+b.pad2(a.getDate())},incr:function(a){return a.setDate(a.getDate()+1)}},hour:c(60),"30min":c(30),"15min":c(15),"10min":c(10),"5min":c(5),minute:c(1),"30sec":d(30),"15sec":d(15),"10sec":d(10),"5sec":d(5),second:d(1)},b.AUTO_LABEL_ORDER=["decade","year","month","week","day","hour","30min","15min","10min","5min","minute","30sec","15sec","10sec","5sec","second"],b.Area=function(c){function d(c){var f;return this instanceof b.Area?(f=a.extend({},e,c),this.cumulative=!f.behaveLikeLine,"auto"===f.fillOpacity&&(f.fillOpacity=f.behaveLikeLine?.8:1),d.__super__.constructor.call(this,f),void 0):new b.Area(c)}var e;return h(d,c),e={fillOpacity:"auto",behaveLikeLine:!1},d.prototype.calcPoints=function(){var a,b,c,d,e,f,g;for(f=this.data,g=[],d=0,e=f.length;e>d;d++)a=f[d],a._x=this.transX(a.x),b=0,a._y=function(){var d,e,f,g;for(f=a.y,g=[],d=0,e=f.length;e>d;d++)c=f[d],this.options.behaveLikeLine?g.push(this.transY(c)):(b+=c||0,g.push(this.transY(b)));return g}.call(this),g.push(a._ymax=Math.max.apply(Math,a._y));return g},d.prototype.drawSeries=function(){var a,b,c,d,e,f,g,h;for(this.seriesPoints=[],b=this.options.behaveLikeLine?function(){f=[];for(var a=0,b=this.options.ykeys.length-1;b>=0?b>=a:a>=b;b>=0?a++:a--)f.push(a);return f}.apply(this):function(){g=[];for(var a=e=this.options.ykeys.length-1;0>=e?0>=a:a>=0;0>=e?a++:a--)g.push(a);return g}.apply(this),h=[],c=0,d=b.length;d>c;c++)a=b[c],this._drawFillFor(a),this._drawLineFor(a),h.push(this._drawPointFor(a));return h},d.prototype._drawFillFor=function(a){var b;return b=this.paths[a],null!==b?(b+="L"+this.transX(this.xmax)+","+this.bottom+"L"+this.transX(this.xmin)+","+this.bottom+"Z",this.drawFilledPath(b,this.fillForSeries(a))):void 0},d.prototype.fillForSeries=function(a){var b;return b=Raphael.rgb2hsl(this.colorFor(this.data[a],a,"line")),Raphael.hsl(b.h,this.options.behaveLikeLine?.9*b.s:.75*b.s,Math.min(.98,this.options.behaveLikeLine?1.2*b.l:1.25*b.l))},d.prototype.drawFilledPath=function(a,b){return this.raphael.path(a).attr("fill",b).attr("fill-opacity",this.options.fillOpacity).attr("stroke","none")},d}(b.Line),b.Bar=function(c){function d(c){return this.onHoverOut=f(this.onHoverOut,this),this.onHoverMove=f(this.onHoverMove,this),this.onGridClick=f(this.onGridClick,this),this instanceof b.Bar?(d.__super__.constructor.call(this,a.extend({},c,{parseTime:!1})),void 0):new b.Bar(c)}return h(d,c),d.prototype.init=function(){return this.cumulative=this.options.stacked,"always"!==this.options.hideHover?(this.hover=new b.Hover({parent:this.el}),this.on("hovermove",this.onHoverMove),this.on("hoverout",this.onHoverOut),this.on("gridclick",this.onGridClick)):void 0},d.prototype.defaults={barSizeRatio:.75,barGap:3,barColors:["#0b62a4","#7a92a3","#4da74d","#afd8f8","#edc240","#cb4b4b","#9440ed"],barOpacity:1,barRadius:[0,0,0,0],xLabelMargin:50},d.prototype.calc=function(){var a;return this.calcBars(),this.options.hideHover===!1?(a=this.hover).update.apply(a,this.hoverContentForRow(this.data.length-1)):void 0},d.prototype.calcBars=function(){var a,b,c,d,e,f,g;for(f=this.data,g=[],a=d=0,e=f.length;e>d;a=++d)b=f[a],b._x=this.left+this.width*(a+.5)/this.data.length,g.push(b._y=function(){var a,d,e,f;for(e=b.y,f=[],a=0,d=e.length;d>a;a++)c=e[a],null!=c?f.push(this.transY(c)):f.push(null);return f}.call(this));return g},d.prototype.draw=function(){var a;return((a=this.options.axes)===!0||"both"===a||"x"===a)&&this.drawXAxis(),this.drawSeries()},d.prototype.drawXAxis=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m;for(j=this.bottom+(this.options.xAxisLabelTopPadding||this.options.padding/2),g=null,f=null,m=[],a=k=0,l=this.data.length;l>=0?l>k:k>l;a=l>=0?++k:--k)h=this.data[this.data.length-1-a],b=this.drawXAxisLabel(h._x,j,h.label),i=b.getBBox(),b.transform("r"+-this.options.xLabelAngle),c=b.getBBox(),b.transform("t0,"+c.height/2+"..."),0!==this.options.xLabelAngle&&(e=-.5*i.width*Math.cos(this.options.xLabelAngle*Math.PI/180),b.transform("t"+e+",0...")),(null==g||g>=c.x+c.width||null!=f&&f>=c.x)&&c.x>=0&&c.x+c.width<this.el.width()?(0!==this.options.xLabelAngle&&(d=1.25*this.options.gridTextSize/Math.sin(this.options.xLabelAngle*Math.PI/180),f=c.x-d),m.push(g=c.x-this.options.xLabelMargin)):m.push(b.remove());return m},d.prototype.drawSeries=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;return c=this.width/this.options.data.length,h=this.options.stacked?1:this.options.ykeys.length,a=(c*this.options.barSizeRatio-this.options.barGap*(h-1))/h,this.options.barSize&&(a=Math.min(a,this.options.barSize)),l=c-a*h-this.options.barGap*(h-1),g=l/2,o=this.ymin<=0&&this.ymax>=0?this.transY(0):null,this.bars=function(){var h,l,p,q;for(p=this.data,q=[],d=h=0,l=p.length;l>h;d=++h)i=p[d],e=0,q.push(function(){var h,l,p,q;for(p=i._y,q=[],j=h=0,l=p.length;l>h;j=++h)n=p[j],null!==n?(o?(m=Math.min(n,o),b=Math.max(n,o)):(m=n,b=this.bottom),f=this.left+d*c+g,this.options.stacked||(f+=j*(a+this.options.barGap)),k=b-m,this.options.verticalGridCondition&&this.options.verticalGridCondition(i.x)&&this.drawBar(this.left+d*c,this.top,c,Math.abs(this.top-this.bottom),this.options.verticalGridColor,this.options.verticalGridOpacity,this.options.barRadius),this.options.stacked&&(m-=e),this.drawBar(f,m,a,k,this.colorFor(i,j,"bar"),this.options.barOpacity,this.options.barRadius),q.push(e+=k)):q.push(null);return q}.call(this));return q}.call(this)},d.prototype.colorFor=function(a,b,c){var d,e;return"function"==typeof this.options.barColors?(d={x:a.x,y:a.y[b],label:a.label},e={index:b,key:this.options.ykeys[b],label:this.options.labels[b]},this.options.barColors.call(this,d,e,c)):this.options.barColors[b%this.options.barColors.length]},d.prototype.hitTest=function(a){return 0===this.data.length?null:(a=Math.max(Math.min(a,this.right),this.left),Math.min(this.data.length-1,Math.floor((a-this.left)/(this.width/this.data.length))))},d.prototype.onGridClick=function(a,b){var c;return c=this.hitTest(a),this.fire("click",c,this.data[c].src,a,b)},d.prototype.onHoverMove=function(a){var b,c;return b=this.hitTest(a),(c=this.hover).update.apply(c,this.hoverContentForRow(b))},d.prototype.onHoverOut=function(){return this.options.hideHover!==!1?this.hover.hide():void 0},d.prototype.hoverContentForRow=function(a){var b,c,d,e,f,g,h,i;for(d=this.data[a],b="<div class='morris-hover-row-label'>"+d.label+"</div>",i=d.y,c=g=0,h=i.length;h>g;c=++g)f=i[c],b+="<div class='morris-hover-point' style='color: "+this.colorFor(d,c,"label")+"'>\n "+this.options.labels[c]+":\n "+this.yLabelFormat(f)+"\n</div>";return"function"==typeof this.options.hoverCallback&&(b=this.options.hoverCallback(a,this.options,b,d.src)),e=this.left+(a+.5)*this.width/this.data.length,[b,e]},d.prototype.drawXAxisLabel=function(a,b,c){var d;return d=this.raphael.text(a,b,c).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).attr("fill",this.options.gridTextColor)},d.prototype.drawBar=function(a,b,c,d,e,f,g){var h,i;return h=Math.max.apply(Math,g),i=0===h||h>d?this.raphael.rect(a,b,c,d):this.raphael.path(this.roundedRect(a,b,c,d,g)),i.attr("fill",e).attr("fill-opacity",f).attr("stroke","none")},d.prototype.roundedRect=function(a,b,c,d,e){return null==e&&(e=[0,0,0,0]),["M",a,e[0]+b,"Q",a,b,a+e[0],b,"L",a+c-e[1],b,"Q",a+c,b,a+c,b+e[1],"L",a+c,b+d-e[2],"Q",a+c,b+d,a+c-e[2],b+d,"L",a+e[3],b+d,"Q",a,b+d,a,b+d-e[3],"Z"]},d}(b.Grid),b.Donut=function(c){function d(c){this.resizeHandler=f(this.resizeHandler,this),this.select=f(this.select,this),this.click=f(this.click,this);var d=this;if(!(this instanceof b.Donut))return new b.Donut(c);if(this.options=a.extend({},this.defaults,c),this.el="string"==typeof c.element?a(document.getElementById(c.element)):a(c.element),null===this.el||0===this.el.length)throw new Error("Graph placeholder not found.");void 0!==c.data&&0!==c.data.length&&(this.raphael=new Raphael(this.el[0]),this.options.resize&&a(window).bind("resize",function(){return null!=d.timeoutId&&window.clearTimeout(d.timeoutId),d.timeoutId=window.setTimeout(d.resizeHandler,100)}),this.setData(c.data))}return h(d,c),d.prototype.defaults={colors:["#0B62A4","#3980B5","#679DC6","#95BBD7","#B0CCE1","#095791","#095085","#083E67","#052C48","#042135"],backgroundColor:"#FFFFFF",labelColor:"#000000",formatter:b.commas,resize:!1},d.prototype.redraw=function(){var a,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;for(this.raphael.clear(),c=this.el.width()/2,d=this.el.height()/2,n=(Math.min(c,d)-10)/3,l=0,u=this.values,o=0,r=u.length;r>o;o++)m=u[o],l+=m;for(i=5/(2*n),a=1.9999*Math.PI-i*this.data.length,g=0,f=0,this.segments=[],v=this.values,e=p=0,s=v.length;s>p;e=++p)m=v[e],j=g+i+a*(m/l),k=new b.DonutSegment(c,d,2*n,n,g,j,this.data[e].color||this.options.colors[f%this.options.colors.length],this.options.backgroundColor,f,this.raphael),k.render(),this.segments.push(k),k.on("hover",this.select),k.on("click",this.click),g=j,f+=1;for(this.text1=this.drawEmptyDonutLabel(c,d-10,this.options.labelColor,15,800),this.text2=this.drawEmptyDonutLabel(c,d+10,this.options.labelColor,14),h=Math.max.apply(Math,this.values),f=0,w=this.values,x=[],q=0,t=w.length;t>q;q++){if(m=w[q],m===h){this.select(f); 5break}x.push(f+=1)}return x},d.prototype.setData=function(a){var b;return this.data=a,this.values=function(){var a,c,d,e;for(d=this.data,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(parseFloat(b.value));return e}.call(this),this.redraw()},d.prototype.click=function(a){return this.fire("click",a,this.data[a])},d.prototype.select=function(a){var b,c,d,e,f,g;for(g=this.segments,e=0,f=g.length;f>e;e++)c=g[e],c.deselect();return d=this.segments[a],d.select(),b=this.data[a],this.setLabels(b.label,this.options.formatter(b.value,b))},d.prototype.setLabels=function(a,b){var c,d,e,f,g,h,i,j;return c=2*(Math.min(this.el.width()/2,this.el.height()/2)-10)/3,f=1.8*c,e=c/2,d=c/3,this.text1.attr({text:a,transform:""}),g=this.text1.getBBox(),h=Math.min(f/g.width,e/g.height),this.text1.attr({transform:"S"+h+","+h+","+(g.x+g.width/2)+","+(g.y+g.height)}),this.text2.attr({text:b,transform:""}),i=this.text2.getBBox(),j=Math.min(f/i.width,d/i.height),this.text2.attr({transform:"S"+j+","+j+","+(i.x+i.width/2)+","+i.y})},d.prototype.drawEmptyDonutLabel=function(a,b,c,d,e){var f;return f=this.raphael.text(a,b,"").attr("font-size",d).attr("fill",c),null!=e&&f.attr("font-weight",e),f},d.prototype.resizeHandler=function(){return this.timeoutId=null,this.raphael.setSize(this.el.width(),this.el.height()),this.redraw()},d}(b.EventEmitter),b.DonutSegment=function(a){function b(a,b,c,d,e,g,h,i,j,k){this.cx=a,this.cy=b,this.inner=c,this.outer=d,this.color=h,this.backgroundColor=i,this.index=j,this.raphael=k,this.deselect=f(this.deselect,this),this.select=f(this.select,this),this.sin_p0=Math.sin(e),this.cos_p0=Math.cos(e),this.sin_p1=Math.sin(g),this.cos_p1=Math.cos(g),this.is_long=g-e>Math.PI?1:0,this.path=this.calcSegment(this.inner+3,this.inner+this.outer-5),this.selectedPath=this.calcSegment(this.inner+3,this.inner+this.outer),this.hilight=this.calcArc(this.inner)}return h(b,a),b.prototype.calcArcPoints=function(a){return[this.cx+a*this.sin_p0,this.cy+a*this.cos_p0,this.cx+a*this.sin_p1,this.cy+a*this.cos_p1]},b.prototype.calcSegment=function(a,b){var c,d,e,f,g,h,i,j,k,l;return k=this.calcArcPoints(a),c=k[0],e=k[1],d=k[2],f=k[3],l=this.calcArcPoints(b),g=l[0],i=l[1],h=l[2],j=l[3],"M"+c+","+e+("A"+a+","+a+",0,"+this.is_long+",0,"+d+","+f)+("L"+h+","+j)+("A"+b+","+b+",0,"+this.is_long+",1,"+g+","+i)+"Z"},b.prototype.calcArc=function(a){var b,c,d,e,f;return f=this.calcArcPoints(a),b=f[0],d=f[1],c=f[2],e=f[3],"M"+b+","+d+("A"+a+","+a+",0,"+this.is_long+",0,"+c+","+e)},b.prototype.render=function(){var a=this;return this.arc=this.drawDonutArc(this.hilight,this.color),this.seg=this.drawDonutSegment(this.path,this.color,this.backgroundColor,function(){return a.fire("hover",a.index)},function(){return a.fire("click",a.index)})},b.prototype.drawDonutArc=function(a,b){return this.raphael.path(a).attr({stroke:b,"stroke-width":2,opacity:0})},b.prototype.drawDonutSegment=function(a,b,c,d,e){return this.raphael.path(a).attr({fill:b,stroke:c,"stroke-width":3}).hover(d).click(e)},b.prototype.select=function(){return this.selected?void 0:(this.seg.animate({path:this.selectedPath},150,"<>"),this.arc.animate({opacity:1},150,"<>"),this.selected=!0)},b.prototype.deselect=function(){return this.selected?(this.seg.animate({path:this.path},150,"<>"),this.arc.animate({opacity:0},150,"<>"),this.selected=!1):void 0},b}(b.EventEmitter)}).call(this);
5 6function cryptoDominanceDonut(response) 7{ 8 $("#morris-donut-chart").html(''); //reset 9 Morris.Donut({ 10 element: 'morris-donut-chart', 11 data: response, 12 resize: true, 13 backgroundColor: '#fff', 14 labelColor: '#000000', 15 colors: [ 16 '#5E209F','#A14DEE','#B372EF','#E7DCFF','#F1EBFF' 17 ] 18 }); 19} 20!function(t){var e=window.webpackJsonp;window.webpackJsonp=function(i,o,a){for(var s,u,l,h=0,c=[];h<i.length;h++)u=i[h],n[u]&&c.push(n[u][0]),n[u]=0;for(s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s]);for(e&&e(i,o,a);c.length;)c.shift()();if(a)for(h=0;h<a.length;h++)l=r(r.s=a[h]);return l};var i={},n={327:0};function r(e){if(i[e])return i[e].exports;var n=i[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(t){var e=n[t];if(0===e)return new Promise(function(t){t()});if(e)return e[2];var i=new Promise(function(i,r){e=n[t]=[i,r]});e[2]=i;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,r.nc&&a.setAttribute("nonce",r.nc),a.src=r.p+"deps/"+({0:"pdfmake",1:"xlsx",2:"responsivedefaults",3:"canvg"}[t]||t)+".js";var s=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(s);var e=n[t];0!==e&&(e&&e[1](new Error("Loading chunk "+t+" failed.")),n[t]=void 0)}return a.onerror=a.onload=u,o.appendChild(a),i},r.m=t,r.c=i,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r.oe=function(t){throw console.error(t),t},r(r.s=343)}([function(t,e,i){"use strict";e.c=function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},i.d(e,"a",function(){return r}),e.b=function(t,e,i,n){return new(i||(i=Promise))(function(r,o){function a(t){try{u(n.next(t))}catch(t){o(t)}}function s(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){t.done?r(t.value):new i(function(e){e(t.value)}).then(a,s)}u((n=n.apply(t,e||[])).next())})},e.d=function(t,e){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},e.g=o,e.e=a,e.f=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t};var n=function(t,e){return(n=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)};var r=function(){return(r=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function o(t){var e="function"==typeof Symbol&&t[Symbol.iterator],i=0;return e?e.call(t):{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}}function a(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,o=i.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return l}),i.d(e,"b",function(){return h});var n=i(57),r=i(26),o=i(154),a=i(3),s=i(105),u=i(16),l=function(){function t(){this.events=new n.a,this.themes=[],this.loadedThemes={},this._uidCount=0,this.registeredClasses={},this._placeholders={},this.invalidSprites={},this.invalidDatas={},this.invalidRawDatas=[],this.invalidDataItems=[],this.invalidDataRange=[],this.invalidPositions={},this.invalidLayouts={},this.baseSprites=[],this.baseSpritesByUid={},this.uid=this.getUniqueId(),this.invalidSprites.noBase=[],this.invalidDatas.noBase=[],this.invalidLayouts.noBase=[],this.invalidPositions.noBase=[]}return t.prototype.getUniqueId=function(){var t=this._uidCount;return this._uidCount+=1,"id-"+t},Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new r.a),this._map},enumerable:!0,configurable:!0}),t.prototype.setCache=function(t,e,i){o.b.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),o.b.get(this.uid,t,e)},t.prototype.dispatch=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatch(t,{type:t,target:this})):this.events.dispatch(t,{type:t,target:this}))},t.prototype.dispatchImmediately=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatchImmediately(t,e)):this.events.dispatchImmediately(t,{type:t,target:this}))},t.prototype.getPlaceholder=function(t){return a.hasValue(this._placeholders[t])?this._placeholders[t]:(this._placeholders[t]="__amcharts_"+t+"_"+s.random(8)+"__",this._placeholders[t])},t.prototype.addToInvalidComponents=function(t){t.baseId?u.move(this.invalidDatas[t.baseId],t):u.move(this.invalidDatas.noBase,t)},t.prototype.removeFromInvalidComponents=function(t){t.baseId&&u.remove(this.invalidDatas[t.baseId],t),u.remove(this.invalidDatas.noBase,t)},t.prototype.addToInvalidSprites=function(t){t.baseId?u.add(this.invalidSprites[t.baseId],t):u.add(this.invalidSprites.noBase,t)},t.prototype.removeFromInvalidSprites=function(t){t.baseId&&u.remove(this.invalidSprites[t.baseId],t),u.remove(this.invalidSprites.noBase,t)},t.prototype.addToInvalidPositions=function(t){t.baseId?u.add(this.invalidPositions[t.baseId],t):u.add(this.invalidPositions.noBase,t)},t.prototype.removeFromInvalidPositions=function(t){t.baseId&&u.remove(this.invalidPositions[t.baseId],t),u.remove(this.invalidPositions.noBase,t)},t.prototype.addToInvalidLayouts=function(t){t.baseId?u.add(this.invalidLayouts[t.baseId],t):u.add(this.invalidLayouts.noBase,t)},t.prototype.removeFromInvalidLayouts=function(t){t.baseId&&u.remove(this.invalidLayouts[t.baseId],t),u.remove(this.invalidLayouts.noBase,t)},t}(),h=new l},function(t,e,i){var n=i(17),r=i(52),o=i(31),a=i(32),s=i(44),u=function(t,e,i){var l,h,c,p,d=t&u.F,f=t&u.G,g=t&u.S,y=t&u.P,m=t&u.B,b=f?n:g?n[e]||(n[e]={}):(n[e]||{}).prototype,v=f?r:r[e]||(r[e]={}),_=v.prototype||(v.prototype={});for(l in f&&(i=e),i)c=((h=!d&&b&&void 0!==b[l])?b:i)[l],p=m&&h?s(c,n):y&&"function"==typeof c?s(Function.call,c):c,b&&a(b,l,c,t&u.U),v[l]!=c&&o(v,l,p),y&&_[l]!=c&&(_[l]=c)};n.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNaN=r,e.getType=o,e.getDefault=function(t,e){return t||e},e.checkString=function(t){if("string"==typeof t)return!0;throw new Error("Expected a string but got "+o(t))},e.checkBoolean=function(t){if("boolean"==typeof t)return!0;throw new Error("Expected a boolean but got "+o(t))},e.checkNumber=function(t){if("number"!=typeof t)throw new Error("Expected a number but got "+o(t));if(r(t))throw new Error("Expected a number but got NaN");return!0},e.checkObject=function(t){var e=o(t);if("[object Object]"===e)return!0;throw new Error("Expected an object but got "+e)},e.checkArray=function(t){if(Array.isArray(t))return!0;throw new Error("Expected an array but got "+o(t))},e.checkDate=function(t){var e=o(t);if("[object Date]"===e)return!0;throw new Error("Expected a date but got "+e)},e.castString=a,e.castNumber=function(t){if("string"==typeof t){var e=+t;if(r(e))throw new Error("Cannot cast string "+JSON.stringify(t)+" to a number");return e}if("number"==typeof t){if(r(t))throw new Error("Expected a number but got NaN");return t}var i=o(t);if("[object Date]"===i)return t.getTime();throw new Error("Expected a string, number, or date but got "+i)},e.toBoolean=function(t){return!!t},e.toNumber=s,e.toText=function(t){if(u(t)&&!l(t))return a(t);return t},e.toNumberOrPercent=function(t){if(!u(t)||h(t)||Object(n.b)(t))return t;if(l(t)&&-1!=t.indexOf("%"))return Object(n.c)(s(t));return s(t)},e.hasValue=u,e.getValue=function(t){if(u(t))return t;throw new Error("Value doesn't exist")},e.getValueDefault=function(t,e){return u(t)?t:e},e.isDate=function(t){return"[object Date]"===o(t)},e.isString=l,e.isNumber=h,e.isObject=function(t){return"object"==typeof t},e.isArray=function(t){return Array.isArray(t)};var n=i(8);function r(t){return Number(t)!==t}function o(t){return{}.toString.call(t)}function a(t){if("string"==typeof t)return t;if("number"==typeof t)return""+t;throw new Error("Expected a string or number but got "+o(t))}function s(t){if(u(t)&&!h(t)){var e=Number(t);return r(e)&&l(t)&&""!=t?s(t.replace(/[^0-9.\-]+/g,"")):e}return t}function u(t){return null!=t}function l(t){return"string"==typeof t}function h(t){return"number"==typeof t&&!r(t)}}
20,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"PI",function(){return r}),i.d(e,"HALFPI",function(){return o}),i.d(e,"RADIANS",function(){return a}),i.d(e,"DEGREES",function(){return s}),e.toNumberRange=function(t,e,i){if(n.hasValue(t))return l(t=n.toNumber(t),e,i);return t},e.round=u,e.ceil=function(t,e){if(!n.isNumber(e)||e<=0)return Math.ceil(t);var i=Math.pow(10,e);return Math.ceil(t*i)/i},e.stretch=function(t,e,i){return t*(i-e)+e},e.fitToRange=l,e.sin=h,e.tan=function(t){return u(Math.tan(a*t),10)},e.cos=c,e.max=p,e.min=d,e.closest=function(t,e){return t.reduce(function(t,i){return Math.abs(i-e)<Math.abs(t-e)?i:t})},e.intersect=function(t,e){var i=n.getValue(t.start),r=n.getValue(e.start),o=n.getValue(t.end),a=n.getValue(e.end);return Math.max(i,r)<=Math.min(o,a)},e.invertRange=function(t){var e=n.getValue(t.start);return{start:1-n.getValue(t.end),end:1-e}},e.intersection=function(t,e){var i=n.getValue(t.start),r=n.getValue(e.start),o=n.getValue(t.end),a=n.getValue(e.end),s=Math.max(i,r),u=Math.min(o,a);return u<s?void 0:{start:s,end:u}},e.getDistance=f,e.getScale=function(t,e,i,n){var r=f(e,n),o=f(t,i);return Math.abs(o/r)},e.getMidPoint=function(t,e,i){n.isNumber(i)||(i=.5);return{x:t.x+(e.x-t.x)*i,y:t.y+(e.y-t.y)*i}},e.getRotation=g,e.getAngle=y,e.getCenterShift=function(t,e,i,n,r){var o=g(e,i,n,r)-90;o<0&&(o+=360);var a=f(e,n),s=Math.cos(o)/a+e.x,u=Math.cos(o)/a+e.y;return{x:s-t.x,y:u-t.y}},e.getBBox=function(t){if(t){var e=t.length;if(0!==e){for(var i,r=void 0,o=void 0,a=void 0,s=0;s<e;s++){var u=t[s];(!n.isNumber(o)||u.x>o)&&(o=u.x),(!n.isNumber(r)||u.x<r)&&(r=u.x),(!n.isNumber(i)||u.y<i)&&(i=u.y),(!n.isNumber(a)||u.y>a)&&(a=u.y)}return{x:r,y:i,width:o-r,height:a-i}}}return{x:0,y:0,width:0,height:0}},e.getCommonRectangle=function(t){var e=t.length;if(0!==e){for(var i=void 0,n=void 0,r=void 0,o=void 0,a=0;a<e;a++){var s=t[a];i=d(s.x,i),n=d(s.y,n),r=p(s.x+s.width,r),o=p(s.y+s.height,o)}return{x:i,y:n,width:r-i,height:o-n}}},e.getPointOnQuadraticCurve=function(t,e,i,n){var r=(1-n)*(1-n)*t.x+2*(1-n)*n*i.x+n*n*e.x,o=(1-n)*(1-n)*t.y+2*(1-n)*n*i.y+n*n*e.y;return{x:r,y:o}},e.getPointOnCubicCurve=function(t,e,i,n,r){var o={x:0,y:0},a=1-r,s=a*a,u=s*a;return o.x=t.x*u+3*i.x*s*r+3*n.x*a*r*r+e.x*r*r*r,o.y=t.y*u+3*i.y*s*r+3*n.y*a*r*r+e.y*r*r*r,o},e.getCubicControlPointA=function(t,e,i,n,r,o){return r=m(r),o=m(o),{x:(-t.x+e.x/r+i.x)*r,y:(-t.y+e.y/o+i.y)*o}},e.getCubicControlPointB=function(t,e,i,n,r,o){return r=m(r),o=m(o),{x:(e.x+i.x/r-n.x)*r,y:(e.y+i.y/o-n.y)*o}},e.adjustTension=m,e.normalizeAngle=b,e.fitAngleToRange=function(t,e,i){if(e>i){var n=e;e=i,i=n}t=b(t);var r=(e-b(e))/360;t<e&&(t+=360*(r+1));t>i&&(t-360>e?t-=360:t=t<e+(i-e)/2+180?i:e);t<e&&(t=t>e+(i-e)/2-180?e:i);return t},e.getArcRect=function(t,e,i){n.isNumber(i)||(i=1);t==e&&(e+=360);if(t>e){var r=e;e=t,t=r}for(var o,a,s,u,l=(e-t)/720,f=t;f<e;f+=l)o=d(c(f)*i,o),a=p(c(f)*i,a),s=d(h(f)*i,s),u=p(h(f)*i,u);return{x:o,y:s,width:a-o,height:u-s}},e.isInRectangle=function(t,e){if(t.x>=e.x&&t.x<=e.x+e.width&&t.y>e.y&&t.y<e.y+e.height)return!0;return!1},e.getLineIntersection=function(t,e,i,n){var r=((t.x*e.y-e.x*t.y)*(i.x-n.x)-(t.x-e.x)*(i.x*n.y-i.y*n.x))/((t.x-e.x)*(i.y-n.y)-(t.y-e.y)*(i.x-n.x)),o=((t.x*e.y-e.x*t.y)*(i.y-n.y)-(t.y-e.y)*(i.x*n.y-i.y*n.x))/((t.x-e.x)*(i.y-n.y)-(t.y-e.y)*(i.x-n.x));return{x:r,y:o}};var n=i(3),r=Math.PI,o=r/2,a=r/180,s=180/r;function u(t,e,i){if(!n.isNumber(e)||e<=0){var r=Math.round(t);return i&&r-t==.5&&r--,r}var o=Math.pow(10,e);return Math.round(t*o)/o}function l(t,e,i){if(n.isNumber(e)){if(n.isNumber(i)&&i<e){var r=i;i=e,e=r}t<e&&(t=e)}return n.isNumber(i)&&t>i&&(t=i),t}function h(t){return u(Math.sin(a*t),10)}function c(t){return u(Math.cos(a*t),10)}function p(t,e){return n.isNumber(t)?n.isNumber(e)&&e>t?e:t:n.isNumber(e)?e:null}function d(t,e){return n.isNumber(t)?n.isNumber(e)&&e<t?e:t:n.isNumber(e)?e:null}function f(t,e){return e||(e={x:0,y:0}),Math.sqrt(Math.pow(Math.abs(t.x-e.x),2)+Math.pow(Math.abs(t.y-e.y),2))}function g(t,e,i,n){var r=y(e,n)-y(t,i);return r<0&&(r+=360),r}function y(t,e){e||(e={x:2*t.x,y:2*t.y});var i=e.x-t.x,n=e.y-t.y,r=Math.atan2(n,i)*s;return r<0&&(r+=360),b(r)}function m(t){return 1-t+1e-5}function b(t){return 360==t?360:t%360}}
20,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fromArray=r,e.length=function(t){var e=0;return t(function(t){return++e,!0}),e},e.toArray=o,e.eachContinue=function(t,e){return t(e)},e.each=function(t,e){return t(function(t){return e(t),!0})},e.sort=function(t,e){return r(o(t).sort(e))},e.map=function(t,e){return function(i){return t(function(t){return i(e(t))})}},e.filter=function(t,e){return function(i){return t(function(t){return!e(t)||i(t)})}},e.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){for(var i=!0,n=function(t){return i=e(t)},r=t.length,o=0;o<r&&(t[o](n),i);++o);}},e.flatten=function(t){return function(e){var i=!0,n=function(t){return i=e(t)};return t(function(t){return t(n),i})}},e.indexed=function(t){return function(e){var i=0;return t(function(t){return e([i++,t])})}},e.findIndex=function(t,e){var i=!1,n=0;return t(function(t){return e(t)?(i=!0,!1):(++n,!0)}),i?n:-1},e.find=function(t,e){var i;return t(function(t){return!e(t)||(i=t,!1)}),i},e.findMap=function(t,e){var i;return t(function(t){var n=e(t);return null===n||(i=n,!1)}),i},e.contains=function(t,e){var i=!1;return t(function(t){return!e(t)||(i=!0,!1)}),i},e.foldl=a,e.min=function(t){return a(t,null,s)},e.max=function(t){return a(t,null,u)},e.join=function(t,e){void 0===e&&(e="");var i=!0,n="";return t(function(t){return i?i=!1:n+=e,n+=t,!0}),n},i.d(e,"ListIterator",function(){return l});var n=i(16);function r(t){return function(e){for(var i=t.length,n=0;n<i&&e(t[n]);++n);}}function o(t){var e=[];return t(function(t){return e.push(t),!0}),e}function a(t,e,i){return t(function(t){return e=i(e,t),!0}),e}function s(t,e){return null==t||e<t?e:t}function u(t,e){return null==t||e>t?e:t}var l=function(){function t(t,e){this.createNewItems=!1,this.list=t,this._create=e,this.reset()}return t.prototype.reset=function(){this._listCopy=o(this.list.iterator())},t.prototype.clear=function(){this._listCopy.length=0},t.prototype.getFirst=function(){return this.returnItem(0)},t.prototype.getLast=function(){return this.returnItem(this._listCopy.length-1)},t.prototype.find=function(t){var e=n.findIndex(this._listCopy,t);if(-1!==e){var i=this._listCopy[e];return n.remove(this._listCopy,i),i}return this.getLast()},t.prototype.removeItem=function(t){return n.remove(this._listCopy,t)},t.prototype.returnItem=function(t){if(t>=0&&t<this._listCopy.length){var e=this._listCopy[t];return n.remove(this._listCopy,e),e}if(this.createNewItems)return this._create()},t.prototype.iterator=function(){return r(this._listCopy)},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.copyProperties=function(t,e){return u.each(t,function(t,i){o.hasValue(i)&&(e[t]=i)}),e},e.softCopyProperties=function(t,e){return u.each(t,function(t,i){o.hasValue(i)&&!o.hasValue(e[t])&&(e[t]=i)}),e},e.copy=function(t,e){return u.each(t,function(t,i){e[t]=i}),e},e.isNotEmpty=function(t){return o.hasValue(t)&&""!==t.toString()},e.relativeToValue=function(t,e){return o.isNumber(t)?t:null!=t&&o.isNumber(t.value)&&o.isNumber(e)?e*t.value:0},e.relativeRadiusToValue=function(t,e,i){var n;o.isNumber(t)?(n=t)<0&&(n=i?e+n:e-n):null!=t&&o.isNumber(t.value)&&(n=e*t.value);return n},e.valueToRelative=function(t,e){return t instanceof n.a?t.value:t/e},e.getPixelRatio=function(){return window.devicePixelRatio||1},e.camelToDashed=function(t){return t.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase()},e.capitalize=function(t){var e=t.split("");return e[0]=e[0].toUpperCase(),e.join("")},e.stringify=function(t){return JSON.stringify(t)},e.escapeForRgex=function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},e.splitTextByCharCount=h,e.truncateWithEllipsis=function(t,e,i,n,r){if(t.length<=e)return t;(e-=i.length)<1&&(e=1);return(h(t,e,n,r)[0]||"")+i},e.trim=function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.rtrim=function(t){return t.replace(/[\s\uFEFF\xA0]+$/g,"")},e.ltrim=function(t){return t.replace(/^[\s\uFEFF\xA0]+/g,"")},e.reverseString=c,e.unquote=function(t){var e=t.trim();(e=t.replace(/^'(.*)'$/,"$1"))==t&&(e=t.replace(/^"(.*)"$/,"$1"));return e}
20,e.padString=function(t,e,i){void 0===e&&(e=0);void 0===i&&(i="0");"string"!=typeof t&&(t=t.toString());return e>t.length?Array(e-t.length+1).join(i)+t:t},e.getFormat=function(t){if(void 0===t)return s.g;var e=(t=(t=(t=t.toLowerCase().replace(/^\[[^\]]*\]/,"")).replace(/\[[^\]]+\]/,"")).trim()).match(/\/(date|number|duration)$/);if(e)return e[1];if(t===s.c)return s.c;if(t===s.a)return s.a;if(t===s.b)return s.b;if(t.match(/[#0]/))return s.c;if(t.match(/[ymwdhnsqaxkzgtei]/))return s.a;return s.g},e.cleanFormat=function(t){return t.replace(/\/(date|number|duration)$/i,"")},e.stripTags=p,e.plainText=function(t){return t?p(t.replace(/[\n\r]+/g,". ")):t},e.numberToString=function(t){if(o.isNaN(t))return"NaN";if(t===1/0)return"Infinity";if(t===-1/0)return"-Infinity";if(0===t&&1/t==-1/0)return"-0";var e=t<0;t=Math.abs(t);var i,n=o.getValue(/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+t)),r=n[1],s=n[2]||"";if(null==n[3])i=""===s?r:r+"."+s;else{var u=+n[3];if(t<1){var l=u-1;i="0."+a.repeat("0",l)+r+s}else{var l=u-s.length;i=0===l?r+s:l<0?r+s.slice(0,l)+"."+s.slice(l):r+s+a.repeat("0",l)}}return e?"-"+i:i},e.anyToDate=function(t){if(o.isDate(t))return new Date(t);if(o.isNumber(t))return new Date(t);var e=Number(t);return o.isNumber(e)?new Date(e):new Date(t)},e.anyToNumber=function(t){if(o.isDate(t))return t.getTime();if(o.isNumber(t))return t;if(o.isString(t)){var e=Number(t);return o.isNumber(e)?e:void 0}},e.getYearDay=d,e.getWeek=f,e.getMonthWeek=function(t,e){void 0===e&&(e=!1);var i=f(new Date(t.getFullYear(),t.getMonth(),1),e),n=f(t,e);1==n&&(n=53);return n-i+1},e.getDayFromWeek=function(t,e,i,n){void 0===i&&(i=1);void 0===n&&(n=!1);var r=new Date(e,0,4,0,0,0,0);n&&r.setUTCFullYear(e);return 7*t+i-((r.getDay()||7)+3)},e.get12Hours=function(t,e){t>12?t-=12:0===t&&(t=12);return o.hasValue(e)?t+(e-1):t},e.getTimeZone=function(t,e,i,n){void 0===e&&(e=!1);void 0===i&&(i=!1);void 0===n&&(n=!1);if(n)return e?"Coordinated Universal Time":"UTC";var r=t.toLocaleString("UTC"),o=t.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(r.length);!1===i&&(o=o.replace(/ (standard|daylight|summer|winter) /i," "));return o},e.random=function(t,e){return Math.floor(Math.random()*e)+t},e.fitNumber=function(t,e,i){if(t>i)return i;if(t<e)return e;return t},e.fitNumberRelative=function(t,e,i){var n=i-e;t>i?t=e+(t-n*Math.floor(t/n)):t<e&&(t=e+(t-n*Math.floor(t/n)));return t},e.svgPointToSprite=g,e.spritePointToSvg=y,e.spritePointToSprite=function(t,e,i){return g(y(t,e),i)},e.svgRectToSprite=function(t,e){var i=g(t,e),n=g({x:t.x+t.width,y:t.y+t.height},e);return{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y}},e.spriteRectToSvg=function(t,e){var i=y(t,e),n=y({x:t.x+t.width,y:t.y+t.height},e);return{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y}}
20,e.documentPointToSvg=m,e.svgPointToDocument=b,e.documentPointToSprite=function(t,e){if(e){var i=m(t,o.getValue(e.htmlContainer));return g(i,e)}return t},e.spritePointToDocument=function(t,e){if(e){var i=y(t,e);return b(i,o.getValue(e.htmlContainer))}return t},e.width=function(t){return t.clientWidth},e.height=function(t){return t.clientHeight},e.decimalPlaces=function(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);if(!e)return 0;return Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0))},e.parseUrl=_,e.serializeUrl=x,e.joinUrl=function(t,e){var i=_(t),n=_(e);if(P(i))throw new Error("Left URL is not absolute");if(P(n)){if(""!==n.path)if("/"===n.path[0])i.path=n.path;else{var r=i.path.split(/\//),o=n.path.split(/\//);if(0===r.length?0!==o.length&&r.push(""):r.length>1&&r.pop(),l.pushAll(r,o),i.path=r.join("/"),""!==i.path&&"/"!==i.path[0])throw new Error("URL path must start with /")}return i.query=n.query,i.hash=n.hash,x(i)}return x(n)};var n=i(8),r=i(4),o=i(3),a=i(105),s=i(68),u=i(18),l=i(16);function h(t,e,i,n){if(t.length<=e)return[t];var r=[];if(i)for(var o=-1,a=t.replace(/([,;:!?\\\/\.\s]+)/g,s.d+"$1"+s.d).split(s.d),u=0;u<a.length;u++){var l=a[u],h=l.length;if(0!==h){var p;if(h>e){if(n&&(l=c(l)),p=l.match(new RegExp(".{1,"+e+"}","g"))){if(n)for(var d=0;d<p.length;d++)p[d]=c(p[d]);r=r.concat(p)}}else-1===o&&(r.push(""),o=0),r[o].length+h+1>e&&""!==r[o]&&(r.push(""),o++),r[o]+=l;o=r.length-1}}else if(p=t.match(new RegExp(".{1,"+e+"}","g"))){if(n)for(d=0;d<p.length;d++)p[d]=c(p[d]);r=p}return 1==r.length&&i&&r[0].length>e&&(r=[]),r}function c(t){return t.split("").reverse().join("")}function p(t){return t?t.replace(/<[^>]*>/g,""):t}function d(t,e){void 0===e&&(e=!1);var i=new Date(t.getFullYear(),0,1,0,0,0,0);return Math.floor((t.getTime()-i.getTime())/864e5)+1}function f(t,e){void 0===e&&(e=!1);var i=d(t,e)-1,n=Math.floor((i-(t.getDay()||7)+10)/7);return 0===n?n=53:53===n&&(n=1),n}function g(t,e){var i=t.x,n=t.y,a=[];if(e){for(;o.hasValue(e.parent);)a.push(e),e=e.parent;a.reverse();for(var s=0;s<a.length;s++){var u=a[s],l=u.rotation,h=i-u.pixelX-u.ex,c=n-u.pixelY-u.ey;u.dx&&(i-=u.dx),u.dy&&(n-=u.dy),i=(r.cos(-l)*h-r.sin(-l)*c)/u.scale-u.pixelPaddingLeft,n=(r.cos(-l)*c+r.sin(-l)*h)/u.scale-u.pixelPaddingTop}}return{x:i,y:n}}function y(t,e){var i=t.x,n=t.y;if(e)for(;o.hasValue(e.parent);){var a=e.rotation;i+=e.pixelPaddingLeft+e.ex,n+=e.pixelPaddingTop+e.ey,e.dx&&(i+=e.dx),e.dy&&(n+=e.dy);var s=e.pixelX+(i*r.cos(a)-n*r.sin(a))*e.scale,u=e.pixelY+(i*r.sin(a)+n*r.cos(a))*e.scale;i=s,n=u,e=e.parent}return{x:i,y:n}}function m(t,e){var i=e.getBoundingClientRect();return{x:t.x-i.left,y:t.y-i.top}}function b(t,e){var i=e.getBoundingClientRect();return{x:t.x+i.left,y:t.y+i.top}}var v=/^([a-zA-Z][a-zA-Z0-9\+\.\-]*:)?(?:(\/\/)([^\@]+\@)?([^\/\?\#\:]*)(\:[0-9]+)?)?([^\?\#]*)(\?[^\#]*)?(\#.*)?$/;function _(t){var e=v.exec(t);return{protocol:e&&e[1]||"",separator:e&&e[2]||"",authority:e&&e[3]||"",domain:e&&e[4]||"",port:e&&e[5]||"",path:e&&e[6]||"",query:e&&e[7]||"",hash:e&&e[8]||""}}function x(t){return t.protocol+t.separator+t.authority+t.domain+t.port+t.path+t.query+t.hash}function P(t){return""===t.protocol&&""===t.separator&&""===t.authority&&""===t.domain&&""===t.port}},function(t,e,i){"use strict";i.d(e,"b",function(){return a}),i.d(e,"c",function(){return s}),i.d(e,"d",function(){return u}),i.d(e,"a",function(){return l});var n=i(0),r=i(16),o=i(3),a=function(){function t(t){this._disposed=!1,this._dispose=t}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._dispose())},t}(),s=function(t){function e(e){return t.call(this,function(){r.each(e,function(t){t.dispose()})})||this}return n.c(e,t),e}(a),u=function(t){function e(){var e=t.call(this,function(){o.hasValue(e._disposer)&&(e._disposer.dispose(),e._disposer=void 0)})||this;return e}return n.c(e,t),e.prototype.get=function(){return this._value},e.prototype.set=function(t,e){o.hasValue(this._disposer)&&this._disposer.dispose(),this._disposer=e,this._value=t},e.prototype.reset=function(){this.set(void 0,void 0)},e}(a),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._counter=0,e}return n.c(e,t),e.prototype.increment=function(){var t=this;return++this._counter,new a(function(){--t._counter,0===t._counter&&t.dispose()})},e}(a)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return n}),e.c=function(t){return new n(t)},e.b=function(t){return t instanceof n};var n=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value/100},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"percent",{get:function(){return this._value},enumerable:!0,configurable:!0}),t}()},function(t,e,i){"use strict";i.d(e,"a",function(){return b});var n=i(0),r=i(10),o=i(120),a=i(11),s=i(7),u=i(26),l=i(102),h=i(8),c=i(1),p=i(13),d=i(5),f=i(16),g=i(4),y=i(3),m=i(66),b=function(t){function e(){var e=t.call(this)||this;return e._childrenByLayout=[],e._childrenDisposers=new u.a,e.hasFocused=!1,e.setStateOnChildren=!1,e.setStateOnSprites=[],e.layoutInvalid=!1,e._absoluteWidth=0,e._absoluteHeight=0,e._shouldBeReady=[],e.className="Container",e._element=e.paper.addGroup("g"),e.group.add(e.element),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("layout","absolute"),e.setPropertyValue("fixedWidthGrid",!1),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e._positionPrecision=4,e._disposers.push(new u.b(e._childrenDisposers)),e.children.events.on("inserted",e.handleChildAdded,e),e.children.events.on("removed",e.handleChildRemoved,e),e.applyTheme(),e}return n.c(e,t),e.prototype.handleChildAdded=function(t){this.processChild(t.newValue)},e.prototype.processChild=function(t){try{this._childrenDisposers.insertKey(t.uid,new s.c([t.events.on("transformed",this.handleChildTransform,this),t.events.on("zIndexChanged",this.sortAndAdd,this)]))}catch(t){}this.element&&this.element.add(t.group);t.parent=this,t.paper=this.paper,this.dispatchImmediately("childadded",{type:"childadded",newValue:t}),this.invalidate()},e.prototype.sortAndAdd=function(){this.sortChildren(),this.addChildren()},e.prototype.handleChildRemoved=function(t){var e=t.oldValue;(this._childrenDisposers.removeKey(e.uid),this.element)&&this.element.removeElement(e.group);e.isMeasured&&this.invalidateLayout(),this.dispatchImmediately("childremoved",{type:"childremoved",oldValue:e})},e.prototype.handleChildTransform=function(t){t.target.isMeasured&&this.invalidateLayout()},e.prototype.invalidateLayout=function(){this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||this.layoutInvalid||(this.layoutInvalid=!0,c.b.addToInvalidLayouts(this),m.b.requestFrame())},e.prototype.invalidate=function(){t.prototype.invalidate.call(this),this.invalidateLayout()},e.prototype.deepInvalidate=function(){t.prototype.invalidate.call(this),f.each(this._childrenByLayout,function(t){t instanceof e?t.deepInvalidate():t.invalidate()}),this.invalidateLayout()},Object.defineProperty(e.prototype,"children",{get:function(){return this._children||(this._children=new a.b),this._children},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(t){this.setPropertyValue("minWidth",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")},set:function(t){this.setPropertyValue("minHeight",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),e.prototype.removeElement=function(){},e.prototype.sortChildren=function(){var t=this;if(this._childrenByLayout=[],"none"!=this.layout&&"absolute"!=this.layout&&this.layout){var e=[],i=[];d.each(this.children.iterator(),function(n){"horizontal"==t.layout||"grid"==t.layout?y.isNumber(n.percentWidth)?i.push(n):e.push(n):"vertical"==t.layout&&y.isNumber(n.percentHeight)?i.push(n):e.push(n)}),this._childrenByLayout=e.concat(i)}else this._childrenByLayout=this.children.values;this.calculateRelativeSize()},e.prototype.calculateRelativeSize=function(){var t=this,e=0,i=0;f.each(this._childrenByLayout,function(t){t.isMeasured&&(y.isNumber(t.percentWidth)&&(e+=t.percentWidth),y.isNumber(t.percentHeight)&&(i+=t.percentHeight))}),f.each(this._childrenByLayout,function(n){n.isMeasured&&("horizontal"==t.layout&&(y.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/e),y.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100)),"vertical"==t.layout&&(y.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/i),y.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100)),"grid"==t.layout&&(y.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100),y.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100))),"absolute"!=t.layout&&n.isMeasured||(y.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100),y.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100))})},e.prototype.addChildren=function(){if(this.element){var t=f.copy(this.children.values),e=t.map(function(t,e){return{idx:e,data:t}});
20e.sort(function(t,e){var i=t.data.zIndex||0,n=e.data.zIndex||0;return i<n?-1:i>n?1:t.idx-e.idx}),t=e.map(function(t){return t.data});var i=this.element,n=!0;if(i.node&&i.node.childNodes)for(var r=0,o=i.node.childNodes.length;r<o;r++)if(i.node.childNodes[r]!=t[r].group.node){n=!1;break}n||(f.each(t,function(t){t.group&&i.add(t.group)}),this._background&&this.group.addToBack(this._background.group),this.invalidateLayout())}},e.prototype.createChild=function(t){var e=new t;return e.parent=this,e},e.prototype.removeChildren=function(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.parent=void 0,this.children.removeValue(t)}},e.prototype.disposeChildren=function(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.dispose(),this.children.removeValue(t)}},Object.defineProperty(e.prototype,"background",{get:function(){return this._background||(this._background=this.createBackground(),this.processBackground()),this._background},set:function(t){this._background&&this.background!=t&&this.removeDispose(this._background),t&&(this._background=t,this._disposers.push(t),this.processBackground())},enumerable:!0,configurable:!0}),e.prototype.handleGlobalScale=function(){t.prototype.handleGlobalScale.call(this),this.children.each(function(t){t.handleGlobalScale()})},e.prototype.createBackground=function(){return new l.a},e.prototype.processBackground=function(){var t=this._background;t&&(t.isMeasured=!1,this._background.fill=(new p.a).getFor("background"),t.parent=this,t.isMeasured=!1,this.children.removeValue(t),this._disposers.push(t),this.group.addToBack(this._background.group))},e.prototype.validateLayout=function(){var t=this;c.b.removeFromInvalidLayouts(this),this.layoutInvalid=!1,this._availableWidth=this.innerWidth,this._availableHeight=this.innerHeight;var e=0,i=0,n=!0;this.children&&(this.sortChildren(),f.each(this._childrenByLayout,function(r){var o,a;if(y.isNumber(r.relativeWidth)?(o=g.round(t._availableWidth*r.relativeWidth,2),"horizontal"==t.layout&&(o-=r.pixelMarginRight+r.pixelMarginLeft)):"horizontal"==t.layout&&r.invalid&&r.validate(),y.isNumber(r.relativeHeight)?(a=g.round(t._availableHeight*r.relativeHeight,2),"vertical"==t.layout&&(a-=r.pixelMarginTop+r.pixelMarginBottom)):"vertical"==t.layout&&r.invalid&&r.validate(),0==r.invalid){if(y.isNumber(r.relativeWidth)&&(r.maxWidth=o),y.isNumber(r.relativeHeight)&&(r.maxHeight=a),r.isMeasured){"horizontal"==t.layout&&(y.isNumber(r.percentWidth)||r.measuredWidth>0&&(t._availableWidth-=r.measuredWidth+r.pixelMarginLeft+r.pixelMarginRight)),"vertical"==t.layout&&(y.isNumber(r.percentHeight)||r.measuredHeight>0&&(t._availableHeight-=r.measuredHeight+r.pixelMarginTop+r.pixelMarginBottom));var s=r.measuredWidth,u=r.measuredHeight;"none"!=r.align&&(s+=r.pixelMarginLeft+r.pixelMarginRight),"none"!=r.valign&&(u+=r.pixelMarginTop+r.pixelMarginBottom),e=Math.max(e,s),i=Math.max(i,u)}}else r.isMeasured&&(y.isNumber(r.relativeWidth)&&r.maxWidth!=o&&(r.maxWidth=o,n=!1),y.isNumber(r.relativeHeight)&&r.maxHeight!=a&&(r.maxHeight=a,n=!1))})),this._absoluteWidth=e,this._absoluteHeight=i,n&&this.arrange()},e.prototype.arrange=function(){var t,e,i,n,r,o,a,s,u,l,c,p=this,m=this.children,b=0,v=0,_=g.max(this.innerWidth,this._absoluteWidth),x=g.max(this.innerHeight,this._absoluteHeight),P=(this.pixelPaddingLeft,this.pixelPaddingRight,this.pixelPaddingTop,this.pixelPaddingBottom,0),w=0,O=0,S=0,k=[],T=[],C=this.maxWidth,V=this.maxHeight,I=this.minWidth,j=this.minHeight,D=f.copy(m.values);if(this.reverseOrder&&D.reverse(),"grid"==this.layout){o=C,r=1;for(var M=0,E=D.length;M<E;M++){if((N=D[M]).isMeasured&&!N.disabled&&!N.__disabled){var F=N.measuredWidth;F<o&&(o=F),F>r&&(r=F)}}o=g.fitToRange(o,1,C),r=g.fitToRange(r,1,C),a=this.fixedWidthGrid?C/r:C/o,a=g.max(1,Math.floor(a)),a=g.min(this.maxColumns,a),k=this.getColumnWidth(D,a,r)}for(M=0,E=D.length;M<E;M++){var N;if(!(N=D[M]).isMeasured||N.disabled||N.__disabled)N.validatePosition();else{var R=void 0,L=void 0,A=N.pixelMarginLeft,B=N.pixelMarginRight,H=N.pixelMarginTop,W=N.pixelMarginBottom,z=N.measuredWidth,G=N.measuredHeight,U=void 0,Y=void 0,K=void 0,X=void 0;switch(this.layout){case"none":break;case"absolute":switch(N.align){case"left":R=A-N.maxLeft;break;case"center":R=(_-z)/2-N.maxLeft;break;case"right":R=_-B-N.maxRight;break;default:N.x instanceof h.a||(R=N.pixelX)}switch(N.valign){case"top":L=H-N.maxTop;break;case"middle":L=(x-G)/2-N.maxTop;break;case"bottom":L=x-W-N.maxBottom;break;default:N.y instanceof h.a||(L=N.pixelY)}break;case"vertical":switch(N.align){case"left":R=A-N.maxLeft;break;case"center":R=(_-z)/2-N.maxLeft;break;case"right":R=_-B-N.maxRight;break;default:R=N.pixelX}w=(L=w+H-N.maxTop)+N.maxBottom+W;break;case"horizontal":switch(N.valign){case"top":L=H-N.maxTop;break;case"middle":L=(x-G)/2-N.maxTop;break;case"bottom":L=x-W-N.maxBottom;break;default:L=N.pixelY}P=(R=P+A-N.maxLeft)+N.maxRight+B;break;case"grid":switch(R=P+A-N.maxLeft,N.valign){case"top":L=w+H-N.maxTop;break;case"middle":L=w+(x-G)/2-N.maxTop;break;case"bottom":L=w+x-W-N.maxBottom;break;default:L=w-N.maxTop}P+=k[S],T[O]=g.max(T[O],G);var q=k[++S];if(y.isNumber(q)||(q=r),P>g.min(this.innerWidth,C)-q+1&&S<a){a=S,P=0,w=0,O=0,S=0,k=this.getColumnWidth(D,a,r),T=[],M=-1;continue}S>=a&&(S=0,w+=T[O],O++,P=0)}"none"!==this.layout&&(N.moveTo({x:R,y:L}
20),U=R+N.maxLeft-A,Y=R+N.maxRight+B,K=L+N.maxTop-H,X=L+N.maxBottom+W,(Y>e||!y.isNumber(e))&&(e=Y),(U<t||!y.isNumber(t))&&(t=U),(K<i||!y.isNumber(i))&&(i=K),(X>n||!y.isNumber(n))&&(n=X),(Y>u||!y.isNumber(u))&&(u=Y),(U<s||!y.isNumber(s))&&(s=U),(K<l||!y.isNumber(l))&&(l=K),(X>c||!y.isNumber(c))&&(c=c))}}if("none"==this.layout){var Z=this.bbox;t=Z.x,e=Z.x+Z.width,i=Z.y,n=Z.y+Z.height}y.isNumber(t)||(t=0,s=0),y.isNumber(e)||(u=e=this._availableWidth),y.isNumber(i)||(i=0,l=0),y.isNumber(n)||(c=n=this._availableHeight),y.isNumber(l)||(l=0),y.isNumber(c)||(c=l),y.isNumber(s)||(s=0),y.isNumber(u)||(u=s),b=e-t,v=n-i,y.isNumber(this.relativeWidth)&&(t=0,e=b=C-this.pixelPaddingLeft-this.pixelPaddingRight),y.isNumber(this.relativeHeight)&&(i=0,n=v=V-this.pixelPaddingTop-this.pixelPaddingBottom),y.isNumber(this._pixelWidth)&&(t=0,b=this._pixelWidth),y.isNumber(I)&&b<I&&(t=0,b=this.minWidth),y.isNumber(this._pixelHeight)&&(i=0,v=this._pixelHeight),y.isNumber(j)&&v<j&&(i=0,v=j);var J=u-s,$=c-l;if("none"!=this.layout){var Q,tt,et=b,it=v;et<J&&(et=J),it<$&&(it=$),"center"==this.contentAlign&&(Q=(et-J)/2),"right"==this.contentAlign&&(Q=et-J),"middle"==this.contentValign&&(tt=(it-$)/2),"bottom"==this.contentValign&&(tt=it-$),y.isNumber(Q)&&d.each(m.iterator(),function(t){var e=t.maxLeft,i=Q;"horizontal"==p.layout&&(t.x=t.pixelX+i),"grid"==p.layout&&(t.x=t.pixelX+i),"vertical"==p.layout&&(i+=t.pixelMarginLeft,"none"==t.align&&(t.x=i-e)),"absolute"==p.layout&&(i+=t.pixelMarginLeft,"none"==t.align&&(t.x=i-e))}),y.isNumber(tt)&&d.each(m.iterator(),function(t){var e=t.maxTop,i=tt;"horizontal"==p.layout&&(i+=t.pixelMarginTop,"none"==t.valign&&(t.y=i-e)),"grid"==p.layout&&(i+=t.pixelMarginTop,t.y=i-e),"vertical"==p.layout&&(t.y=t.pixelY+i),"absolute"==p.layout&&(i+=t.pixelMarginTop,"none"==t.valign&&(t.y=i-e))})}var nt=this.bbox;b=g.max(b,I),v=g.max(v,j),this.contentWidth=b,this.contentHeight=v,b=g.min(b,C),v=g.min(v,V),this._bbox={x:t,y:i,width:b,height:v};var rt=this.maxLeft,ot=this.maxTop,at=this.maxBottom,st=this.maxRight;if(this.measure(),(rt!=this.maxLeft||st!=this.maxRight||ot!=this.maxTop||at!=this.maxBottom)&&this.events.isEnabled("transformed")){var ut={type:"transformed",target:this};nt&&(ut.dummyData=nt.width+" "+b+" "+nt.height+" "+v),this.events.dispatchImmediately("transformed",ut)}},e.prototype.updateCenter=function(){t.prototype.updateCenter.call(this),this.updateBackgroun
20d()},e.prototype.updateBackground=function(){var t=this._background;t&&(t.x=this.maxLeft,t.y=this.maxTop,t.width=this.maxRight-this.maxLeft,t.height=this.maxBottom-this.maxTop)},e.prototype.getColumnWidth=function(t,e,i){var n=this,r=[],o=0;return f.each(t,function(t){t.isMeasured&&(n.fixedWidthGrid?r[o]=i:r[o]=g.max(r[o],t.measuredWidth+t.pixelMarginRight+t.pixelMarginLeft),++o==e&&(o=0))}),r},Object.defineProperty(e.prototype,"layout",{get:function(){return this.getPropertyValue("layout")},set:function(t){this.setPropertyValue("layout",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentValign",{get:function(){return this.getPropertyValue("contentValign")},set:function(t){this.setPropertyValue("contentValign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentAlign",{get:function(){return this.getPropertyValue("contentAlign")},set:function(t){this.setPropertyValue("contentAlign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedWidthGrid",{get:function(){return this.getPropertyValue("fixedWidthGrid")},set:function(t){this.setPropertyValue("fixedWidthGrid",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxColumns",{get:function(){return this.getPropertyValue("maxColumns")},set:function(t){this.setPropertyValue("maxColumns",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reverseOrder",{get:function(){return this.getPropertyValue("reverseOrder")},set:function(t){this.setPropertyValue("reverseOrder",t,!0)},enumerable:!0,configurable:!0}),e.prototype.fitsToBounds=function(t){var e=t.x,i=t.y;return e>=-.5&&e<=this.pixelWidth+.5&&i>=-.5&&i<=this.pixelHeight+.5},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.layout=e.layout,this.setStateOnChildren=e.setStateOnChildren,e._background&&(this.background=e._background.clone(),this.background.copyFrom(e._background)),d.each(e.children.iterator(),function(t){t.shouldClone&&(t.clone().parent=i)})},Object.defineProperty(e.prototype,"preloader",{get:function(){var t=this._preloader;return t||(this.parent?this.parent.preloader:void 0)},set:function(t){this._preloader&&this.removeDispose(this._preloader),this._preloader=t,t&&(t.parent=this.tooltipContainer,this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(e){var i=this,n=t.prototype.setPaper.call(this,e);return n&&(this._background&&(this._background.paper=e,this._background.topParent=this.topParent),this.children.each(function(t){t.setPaper(e),t.topParent=i.topParent})),n},e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),c.b.removeFromInvalidLayouts(this)},e.prototype.setDataItem=function(e){this._dataItem!=e&&d.each(this.children.iterator(),function(t){t.dataItem=e}),t.prototype.setDataItem.call(this,e)},e.prototype.measureElement=function(){this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||this.validateLayout()},e.prototype.getTooltipX=function(){return t.prototype.getTooltipX.call(this)},e.prototype.getTooltipY=function(){return t.prototype.getTooltipY.call(this)},Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.getPropertyValue("fontFamily")},set:function(t){this.setPropertyValue("fontFamily",t,!0)&&(this.setSVGAttribute({"font-family":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this.getPropertyValue("fontSize")},set:function(t){this.setPropertyValue("fontSize",t,!0)&&(this.setSVGAttribute({"font-size":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),e.prototype.invalidateLabels=function(){this.children.each(function(t){t.hardInvalidate?t.hardInvalidate():t instanceof e&&t.invalidateLabels()})},Object.defineProperty(e.prototype,"fontWeight",{get:function(){return this.getPropertyValue("fontWeight")},set:function(t){this.setPropertyValue("fontWeight",t),this.setSVGAttribute({"font-weight":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDecoration",{get:function(){return this.getPropertyValue("textDecoration")},set:function(t){this.setPropertyValue("textDecoration",t),this.setSVGAttribute({"text-decoration":t})},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._background&&this._background.dispose(),this._shouldBeReady=[],this.disposeChildren(),t.prototype.dispose.call(this)},e.prototype.setState=function(e,i,n){var r=e;return e instanceof o.a&&(r=e.name),this.setStateOnChildren&&d.each(this.children.iterator(),function(t){t.setState(r,i,n),"active"!=r&&(t.isActive=!1)}),this._background&&this._background.setState(r),this.setStateOnSprites.length&&f.each(this.setStateOnSprites,function(t){t.setState(r,i,n)}),t.prototype.setState.call(this,e,i,n)},e.prototype.setActive=function(e){t.prototype.setActive.call(this,e),this._background&&(this._background.isActive=e)},e.prototype.dispatchReady=function(){if(!this.isReady()&&!this.isDisposed()){var e=!0;this.children.each(function(t){t.__disabled||t.disabled||t.isReady()||(e=!1)}),f.each(this._shouldBeReady,function(t){t.__disabled||t.disabled||t.isReady()||(e=!1)}),e?t.prototype.dispatchReady.call(this):(c.b.events.once("exitframe",this.dispatchReady,this,!1),m.b.requestFrame())}},e}(r.a)}
20,function(t,e,i){"use strict";i.d(e,"b",function(){return R}),i.d(e,"a",function(){return L});var n=i(0),r=i(120),o=i(222),a=i(21),s=i(28),u=i(26),l=i(11),h=i(7),c=i(36),p=i(59),d=i(9),f=i(124),g=i(69),y=i(125),m=i(14),b=i(34),v=i(70),_=i(67),x=i(1),P=i(223),w=i(107),O=i(225),S=i(92),k=i(60),T=i(226),C=i(6),V=i(4),I=i(68),j=i(16),D=i(18),M=i(3),E=i(5),F=i(66),N=i(8),R=["fill","fillOpacity","stroke","strokeOpacity","strokeWidth","strokeDasharray"],L=function(t){function e(){var e=t.call(this)||this;return e.properties={},e.events=new o.a(e),e.adapter=new s.a(e),e._bindings={},e._isTemplate=!1,e._inited=!1,e._ready=!1,e.isHiding=!1,e._isHidden=!1,e.isShowing=!1,e.isStandaloneInstance=!1,e._isActive=!1,e._mask=new h.d,e._positionPrecision=3,e._language=new h.d,e._rtl=!1,e._exporting=new h.d,e._bbox={x:0,y:0,width:0,height:0},e.invalid=!1,e.positionInvalid=!1,e.propertyFields={},e.applyOnClones=!1,e.maxLeft=0,e.maxRight=0,e.maxTop=0,e.maxBottom=0,e._isDragged=!1,e._disabled=!1,e._internalDisabled=!1,e._updateDisabled=!1,e._internalDefaultsApplied=!1,e.rollOutDelay=0,e.isBaseSprite=!1,e.shouldClone=!0,e.appeared=!1,e.ex=0,e.ey=0,e.className="Sprite",e.uid,e.group=e.paper.addGroup("g"),e.setPropertyValue("scale",1),e.setPropertyValue("rotation",0),e.setPropertyValue("align","none"),e.setPropertyValue("valign","none"),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("visible",!0),e.setPropertyValue("tooltipPosition","fixed"),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e.setPropertyValue("marginTop",0),e.setPropertyValue("marginBottom",0),e.setPropertyValue("marginLeft",0),e.setPropertyValue("marginRight",0),e.setPropertyValue("dx",0),e.setPropertyValue("dy",0),e.setPropertyValue("paddingTop",0),e.setPropertyValue("paddingBottom",0),e.setPropertyValue("paddingRight",0),e.setPropertyValue("paddingLeft",0),e.setPropertyValue("togglable",!1),e.setPropertyValue("hidden",!1),e.setPropertyValue("urlTarget","_self"),e._prevMeasuredWidth=0,e._prevMeasuredHeight=0,e._measuredWidth=0,e._measuredHeight=0,e._isMeasured=!0,e.invalidate(),e.applyTheme(),e._disposers.push(e.events),e._disposers.push(e.group),e._disposers.push(e._mask),e._disposers.push(e._language),e._disposers.push(e._exporting),e._disposers.push(new h.b(function(){D.each(e._bindings,function(t,e){e.dispose()})})),e.setPropertyValue("interactionsEnabled",!0),e}return n.c(e,t),e.prototype.applyTheme=function(){t.prototype.applyTheme.call(this),_.a.autoSetClassName&&this.setClassName()},e.prototype.getCurrentThemes=function(){var t=this._themes;if(t)return t;var e=this.parent;return e?e.getCurrentThemes():x.b.themes},e.prototype.applyInternalDefaults=function(){this._internalDefaultsApplied=!0},e.prototype.invalidate=function(){this.disabled||this._isTemplate||this.invalid||(this.invalid=!0,x.b.addToInvalidSprites(this),F.b.requestFrame())},e.prototype.validate=function(){this.dispatchImmediately("beforevalidated"),this._internalDefaultsApplied||this.applyInternalDefaults(),this.beforeDraw(),this.draw(),this.invalid=!1,x.b.removeFromInvalidSprites(this),this.afterDraw()},e.prototype.invalidatePosition=function(){this.disabled||this._isTemplate||this.positionInvalid||(this.positionInvalid=!0,x.b.addToInvalidPositions(this),F.b.requestFrame())},e.prototype.validatePosition=function(){var t=this.pixelX,e=this.pixelY,i=this.dx,n=this.dy,r=t+i,o=e+n;this._updateDisabled&&(this._internalDisabled?this.group.attr({display:"none"}):this.disabled||this.removeSVGAttribute("display"),this._updateDisabled=!1);var a=this.measure(),s=this.group.transformString;this.group.moveTo({x:r,y:o}),this.group.rotation=this.rotation,this.nonScaling?this.group.scale=this.scale/this.globalScale:this.group.scale=this.scale,(s!=this.group.transformString||a)&&(null==s?this.dispatch("transformed"):this.dispatchImmediately("transformed"),this.dispatch("positionchanged")),t+i==r&&e+n==o&&(x.b.removeFromInvalidPositions(this),this.positionInvalid=!1);var u=this._maskRectangle;u&&this._clipElement.moveTo({x:u.x-t,y:u.y-e})},e.prototype.beforeDraw=function(){},e.prototype.draw=function(){},e.prototype.afterDraw=function(){if((this.isMeasured||"none"!==this.horizontalCenter||"none"!==this.verticalCenter)&&this.measureElement(),this._inited)this.dispatch("validated");
20else{try{for(var t=n.g(this.adapter.keys()),e=t.next();!e.done;e=t.next()){var i=e.value;switch(i){case"mask":case"fill":case"opacity":case"fillOpacity":case"stroke":case"strokeOpacity":case"shapeRendering":case"strokeDasharray":this[i]=this[i]}}}catch(t){r={error:t}}finally{try{e&&!e.done&&(o=t.return)&&o.call(t)}finally{if(r)throw r.error}}this.applyFilters(),this.visible=this.visible,this.interactionsEnabled=this.getPropertyValue("interactionsEnabled"),this._inited=!0,this.applyMask(),this.dispatch("validated"),this.dispatch("inited"),this.dispatchReady()}var r,o},e.prototype.dispatchReady=function(){this.isReady()||(this._ready=!0,this.dispatch("ready"))},e.prototype.reinit=function(){this._inited=!1,this.setState(this.defaultState),this.invalidate()},e.prototype.handleGlobalScale=function(){this.dispatch("globalscalechanged"),this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth),this.nonScaling&&this.invalidatePosition(),this.updateFilterScale()},e.prototype.updateFilterScale=function(){var t=this;E.each(this.filters.iterator(),function(e){e.scale=t.globalScale})},e.prototype.removeFromInvalids=function(){x.b.removeFromInvalidSprites(this),x.b.removeFromInvalidPositions(this)},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.events.copyFrom(e.events),this.isMeasured=e.isMeasured,this.states.copyFrom(e.states),e.filters.length>0&&e.filters.each(function(t){i.filters.push(t.clone())}),this.adapter.copyFrom(e.adapter),e._interaction&&this.interactions.copyFrom(e.interactions),this.configField=e.configField,this.applyOnClones=e.applyOnClones,this.disabled=e.disabled,this.virtualParent=e.virtualParent,this.exportable=e.exportable,e._tooltip&&(this._tooltip?this._tooltip.copyFrom(e.tooltip):this.tooltip=e.tooltip.clone()),e._tooltip&&!this._tooltip&&(this._tooltip=e._tooltip),this._showSystemTooltip=e.showSystemTooltip,C.copyProperties(e.propertyFields,this.propertyFields),C.copyProperties(e.properties,this),e.fillModifier&&(this.fillModifier=e.fillModifier.clone()),e.strokeModifier&&(this.strokeModifier=e.strokeModifier.clone())},e.prototype.dispose=function(){if(!this.isDisposed()){if(this.isBaseSprite){if(this.htmlContainer)for(;this.htmlContainer.childNodes.length>0;)this.htmlContainer.removeChild(this.htmlContainer.firstChild);this.isBaseSprite=!1}if(t.prototype.dispose.call(this),this.adapter.clear(),this.applyOnClones&&this._clones)for(var e=this._clones.length-1;e>=0;e--){this._clones.getIndex(e).dispose()}if(this._svgContainer&&this._svgContainer.dispose(),this._interactionDisposer&&this._interactionDisposer.dispose(),this._urlDisposer&&this._urlDisposer.dispose(),this.removeFromInvalids(),this.element&&this.element.dispose(),this.group&&this.group.dispose(),this._numberFormatter&&this._numberFormatter.dispose(),this._focusFilter&&this._focusFilter.dispose(),!this.stroke||this.stroke instanceof m.a||this.stroke.dispose(),!this.fill||this.fill instanceof m.a||this.fill.dispose(),M.hasValue(this.id)&&this.map.removeKey(this.id),this.parent=void 0,this._filters)for(;this._filters.length>0;){var i=this._filters.getIndex(0);i.dispose(),this._filters.removeValue(i)}}},Object.defineProperty(e.prototype,"isTemplate",{get:function(){return this._isTemplate},set:function(t){t=M.toBoolean(t),this._isTemplate!=t&&(this._isTemplate=t,this instanceof d.a&&E.each(this.children.iterator(),function(e){e.isTemplate=t}),t?(this.parent=this.parent,this.removeFromInvalids()):this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showSystemTooltip",{get:function(){return M.hasValue(this._showSystemTooltip)?this._showSystemTooltip:!!this.parent&&this.parent.showSystemTooltip},set:function(t){t=M.toBoolean(t),this._showSystemTooltip=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topParent",{get:function(){return this._topParent?this._topParent:this.parent?this.parent.topParent:void 0},set:function(t){this._topParent=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(t){if(!this._isTemplate){this.paper;var e=this._parent;e!=t&&(e&&e.children.removeValue(this),this._parent=t,t?(this.topParent=t.topParent,t.isTemplate&&(this.isTemplate=!0),this.baseId=t.baseId,t.children.push(this),this._tooltip&&!this._tooltipContainer&&(this._tooltip.parent=t.tooltipContainer),this._dataItem||(this.dataItem=t.dataItem)):this.topParent=void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"virtualParent",{get:function(){return this._virtualParent},set:function(t){this._virtualParent=t},enumerable:!0,configurable:!0}),e.prototype.appendDefs=function(){this.filterElement&&this.paper.appendDef(this.filterElement);var t=this.fill;t&&t.element&&this.paper.appendDef(t.element);var e=this.stroke;if(e&&e.element&&this.paper.appendDef(e.element),this.fillModifier&&this.fill instanceof m.a){var i=this.fillModifier.modify(this.fill);i&&i.element&&this.paper.appendDef(i.element)}if(this.strokeModifier&&this.stroke instanceof m.a){var n=this.strokeModifier.modify(this.stroke);n&&n.element&&this.paper.appendDef(n.element)}this._clipPath&&this.paper.appendDef(this._clipPath)},Object.defineProperty(e.prototype,"map",{get:function(){var t=this.topParent;return t?t.map:(this._map||(this._map=new u.a),this._map)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){if(this._id!=t){if(this._id=t,this.map.hasKey(t))throw Error("Duplicate id ("+t+") used on multiple objects.");this.map.setKey(t,this),_.a.autoSetClassName&&this.setClassName()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dom",{get:function(){return this.group.node},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:this.parent?this.parent.paper:Object(p.b)()},set:function(t){this.setPaper(t)},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(t){return this._paper!=t&&(this._paper=t,this.appendDefs(),!0)},Object.defineProperty(e.prototype,"htmlContainer",{get:function(){return this._htmlContainer?this._htmlContainer:this.parent?this.parent.htmlContainer:void 0},set:function(t){this._htmlContainer=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titleElement",{get:function(){return this._titleElement||(this._titleElement=this.paper.add("title"),this.group.add(this._titleElement)),this._titleElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"descriptionElement",{get:function(){return this._descriptionElement||(this._descriptionElement=this.paper.add("desc"),this.group.add(this._descriptionElement)),this._descriptionElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filters",{get:function(){return this._filters||(this._filters=new l.b,this._disposers.push(this._filters.events.onAll(this.applyFilters,this)),this._disposers.push(new l.c(this._filters))),this._filters},enumerable:!0,configurable:!0}),e.prototype.setSVGAttributes=function(){this.fill=this.fill,this.opacity=this.opacity,this.fillOpacity=this.fillOpacity,this.stroke=this.stroke,this.strokeOpacity=this.strokeOpacity,this.shapeRendering=this.shapeRendering,this.strokeDasharray=this.strokeDasharray,this.focusable=this.focusable,this.tabindex=this.tabindex,this.role=this.role},e.prototype.setSVGAttribute=function(t){this.group.attr(t)},e.prototype.removeSVGAttribute=function(t){this.group.removeAttr(t)},e.prototype.setClassName=function(){var t=this.className,e=_.a.classNamePrefix;this.element&&this.element.addClass(e+t),this.group.addClass(e+t+"-group"),M.hasValue(this.id
20)&&this.group.addClass(e+this.id)},e.prototype.uidAttr=function(){return this.setSVGAttribute({id:this.uid}),this.uid},e.prototype.updateClipPath=function(){var t=this._clipElement;t&&t.moveTo({x:this.mask.pixelX,y:this.mask.pixelY})},e.prototype.createClipPath=function(){if(!this._clipPath){this._clipPath=this.paper.addGroup("clipPath"),this.paper.appendDef(this._clipPath),this._disposers.push(this._clipPath);var t=x.b.getUniqueId();this._clipPath.attr({id:t}),this.group.attr({"clip-path":"url(#"+t+")"})}},e.prototype.applyMask=function(){var t=this.mask;this._clipPath&&t&&(t instanceof d.a?this._clipElement.attr({width:V.max(0,t.pixelWidth),height:V.max(0,t.pixelHeight)}):(t.element&&t.element!=this._clipElement&&(this._clipElement=t.element,this._clipPath.add(this._clipElement)),this._clipPath.scale=t.scale,this._clipPath.x=t.pixelX,this._clipPath.y=t.pixelY,this._clipPath.rotation=t.rotation))},e.prototype.applyFilters=function(){var t=this;if(this._filters&&this._filters.length>0){var e=100,i=100;this.filterElement?this.filterElement.removeChildNodes():(this.filterElement=this.paper.addGroup("filter"),this._disposers.push(this.filterElement)),this.paper.appendDef(this.filterElement);var n="filter-"+this.uid;this.filterElement.attr({id:n}),E.each(this.filters.iterator(),function(n){n.sprite=t,n.paper=t.paper,n.appendPrimitives(t.filterElement),n.width>e&&(e=n.width),n.height>i&&(i=n.height),n.scale=t.globalScale}),this.filterElement.attr({width:e+"%",height:i+"%",x:-(e-100)/2+"%",y:-(i-100)/2+"%"}),this.group.attr({filter:"url(#"+n+")"})}else this.filterElement&&(this.group.removeAttr("filter"),this.filterElement.removeChildNodes())},e.prototype.removeClipPath=function(){this._clipPath&&(this.removeDispose(this._clipPath),this._clipPath=void 0)},e.prototype.setElement=function(t){this.element=t,this.setSVGAttributes(),this.applyAccessibility()},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},set:function(t){this.removeElement(),this._element=t,this.group.add(t),this.invalid||this.validate(),_.a.autoSetClassName&&this.setClassName()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"svgContainer",{get:function(){return this._svgContainer?this._svgContainer:this.parent?this.parent.svgContainer:void 0},set:function(t){this._svgContainer=t},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){if(this.element)if(this.definedBBox)this._bbox=this.definedBBox;else{var t=this.element.getBBox();this._bbox={x:t.x,y:t.y,width:t.width,height:t.height}}},e.prototype.updateCenter=function(){if(this.element){var t=this.element.transformString,e=this.bbox,i=0,n=0,r=e.x,o=e.y,a=e.width,s=e.height,u=this.pixelPaddingLeft,l=this.pixelPaddingRight,h=this.pixelPaddingTop,c=this.pixelPaddingBottom,p=V.max(e.width+u+l,this.pixelWidth),d=V.max(e.height+h+c,this.pixelHeight),f=e.x,g=e.x+p,y=e.y,m=e.y+d,b=this.horizontalCenter,v=this.verticalCenter;switch(b){case"none":i=r+u;break;case"left":i=u;break;case"middle":i=u-(a+l+u)/2;break;case"right":i=-l-a}switch(v){case"none":n=o+h;break;case"top":n=h;break;case"middle":n=h-(s+c+h)/2;break;case"bottom":n=-c-s}this._measuredHeight=d,this._measuredWidth=p;var _=V.round(i-r,this._positionPrecision,!0),x=V.round(n-o,this._positionPrecision,!0);this.ex=_-u,this.ey=x-h,this.maxLeft=f+_-u,this.maxRight=g+_-u,this.maxTop=y+x-h,this.maxBottom=m+x-h,this.pixelPerfect&&(_-=.5,x-=.5),this.element.moveTo({x:_,y:x}),t!=this.element.transformString&&this.dispatchImmediately("transformed")}},e.prototype.measure=function(){this.updateCenter();this.bbox;var t=this._measuredWidth,e=this._measuredHeight,i=this.maxLeft,n=this.maxRight,r=this.maxTop,o=this.maxBottom;this._measuredWidthSelf=t,this._measuredHeightSelf=e;var a=this._positionPrecision;if(0!==this.rotation||1!==this.scale){this.handleGlobalScale();var s=this.paper.svg,u=s.createSVGMatrix(),l=this.rotation;u.a=V.cos(l)*this.scale,u.c=-V.sin(l)*this.scale,u.e=0,u.b=V.sin(l)*this.scale,u.d=V.cos(l)*this.scale,u.f=0;var h=s.createSVGPoint();h.x=i,h.y=r;var c=s.createSVGPoint();c.x=n,c.y=r;var p=s.createSVGPoint();p.x=n,p.y=o;var d=s.createSVGPoint();d.x=i,d.y=o;var f=h.matrixTransform(u),g=c.matrixTransform(u),y=p.matrixTransform(u),m=d.matrixTransform(u);i=Math.min(f.x,g.x,y.x,m.x),n=Math.max(f.x,g.x,y.x,m.x),r=Math.min(f.y,g.y,y.y,m.y),t=n-i,e=(o=Math.max(f.y,g.y,y.y,m.y))-r,this.maxLeft=V.round(i,a,!0),this.maxRight=V.round(n,a,!0),this.maxTop=V.round(r,a,!0),this.maxBottom=V.round(o,a,!0)}return this._measuredWidth=V.round(t,a,!0),this._measuredHeight=V.round(e,a,!0),(this._measuredWidth!=this._prevMeasuredWidth||this._measuredHeight!=this._prevMeasuredHeight)&&(this._prevMeasuredHeight=this._measuredHeight,this._prevMeasuredWidth=this._measuredWidth,this.dispatch("sizechanged"),this.isHover&&this.tooltip&&this.tooltip.visible&&this.updateTooltipPosition(),!0)},e.prototype.insertBefore=function(t){var e=this.parent;if(e){var i=e.children.indexOf(t);-1!==i&&(e.children.moveValue(this,i),e.sortChildren())}return this},e.prototype.insertAfter=function(t){var e=this.parent;if(e){var i=e.children.indexOf(t);-1!==i&&(e.children.moveValue(this,i+1),e.sortChildren())}return this},e.prototype.removeElement=function(){this._element&&(this.removeDispose(this._element),this._element=void 0)},e.prototype.getRelativeX=function(t){return t instanceof N.a?t.value:this.parent?t/this.parent.innerWidth:0},e.prototype.getRelativeY=function(t){return t instanceof N.a?t.value:this.parent?t/this.parent.innerHe
20ight:0},e.prototype.getPixelX=function(t){var e=0;if(M.isNumber(t))e=t;else if(t instanceof N.a){var i=t.value;this.parent&&(e=V.round(this.parent.innerWidth*i,this._positionPrecision,!0))}return e},e.prototype.getPixelY=function(t){var e=0;if(M.isNumber(t))e=t;else if(t instanceof N.a){var i=t.value;this.parent&&(e=V.round(this.parent.innerHeight*i,this._positionPrecision,!0))}return e},e.prototype.moveTo=function(t,e,i,n){this.isDragged&&!n||(t&&(M.isNumber(t.x)&&this.setPropertyValue("x",t.x),M.isNumber(t.y)&&this.setPropertyValue("y",t.y)),M.isNumber(e)&&(this.rotation=e),M.isNumber(i)&&(this.scale=i),this.invalidatePosition())},Object.defineProperty(e.prototype,"mask",{get:function(){return this.adapter.apply("mask",this._mask.get())},set:function(t){var e=this;this._mask.get()!==t&&(t?(this.createClipPath(),t instanceof d.a?this._clipElement=this.paper.add("rect"):(t.isMeasured=!1,t.element&&(this._clipElement=t.element)),this._clipElement&&this._clipPath.add(this._clipElement),this._mask.set(t,new h.c([t.events.on("maxsizechanged",function(){e.inited&&e.applyMask},void 0,!1),t.events.on("validated",this.applyMask,this,!1),t.events.on("positionchanged",this.applyMask,this,!1)])),this.applyMask()):(this._mask.reset(),this.group.removeAttr("clip-path"),this.removeClipPath()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maskRectangle",{get:function(){return this._maskRectangle},set:function(t){t?(this.createClipPath(),this._clipElement||(this._clipElement=this.paper.add("rect"),this._clipPath.add(this._clipElement)),this._clipElement.attr({width:t.width,height:t.height})):(this.removeClipPath(),this._clipElement=void 0),this._maskRectangle=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isMeasured",{get:function(){return this._isMeasured},set:function(t){(t=M.toBoolean(t))||(this._measuredWidth=0,this._measuredHeight=0),this._isMeasured!=t&&(this._isMeasured=t,this.invalidatePosition())},enumerable:!0,configurable:!0}),e.prototype.hitTest=function(t){this.invalid&&this.validate(),t.invalid&&t.validate();var e=this.pixelX,i=this.pixelY,n=e+this.measuredWidth,r=i+this.measuredHeight,o=t.pixelX,a=t.pixelY,s=o+t.measuredWidth,u=a+t.measuredHeight;return!(o>n||s<e||a>r||u<i)},Object.defineProperty(e.prototype,"inited",{get:function(){return this._inited},enumerable:!0,configurable:!0}),e.prototype.isReady=function(){return this._ready},Object.defineProperty(e.prototype,"states",{get:function(){if(!this._states){var t=new r.a;this._states=new u.c(t),this._disposers.push(this._states.events.on("insertKey",this.processState,this,!1)),this._disposers.push(this._states.events.on("setKey",this.processState,this,!1)),this._disposers.push(new u.b(this._states)),this._disposers.push(t)}return this._states},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenState",{get:function(){if(!this.states.getKey("hidden")){var t=this.states.create("hidden");t.properties.opacity=0,t.properties.visible=!1}return this.states.getKey("hidden")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultState",{get:function(){this.states.getKey("default")||(this.states.create("default").properties.opacity=1);return this.states.getKey("default")},enumerable:!0,configurable:!0}),e.prototype.processState=function(t){var e=t.newValue;e.sprite=this,e.name=t.key,(this.states.hasKey("hover")||M.hasValue(this.tooltipHTML)||M.hasValue(this.tooltipText))&&(this.hoverable=!0),this.states.hasKey("down")&&(this.clickable=!0),this.states.hasKey("focus")&&(this.focusable=!0)},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new c.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),e.prototype.getSvgPoint=function(t){var e=this.htmlContainer.getBoundingClientRect();return{x:t.x-e.left,y:t.y-e.top}},e.prototype.animate=function(t,e,i){return new c.a(this,t,e,i).start()},e.prototype.setState=function(t,e,i){var n;if(t instanceof r.a)this.states.setKey(t.name,t),n=t;else if(!(n=this.states.getKey(t)))return;if("hover"==n.name){if(this.isHidden)return;this.isHover=!0}return"hidden"==n.name?this.isHiding=!0:this.visible||this.setVisibility(n.properties.visible||this.defaultState.properties.visible),"active"==n.name&&(this.isActive=!0),M.isNumber(e)||(e=n.transitionDuration),M.hasValue(i)||(i=n.transitionEasing),this.transitTo(n,e,i)},e.prototype.applyCurrentState=function(t){var e=this.setState(this.defaultState,t);return this.isHover&&(e=this.setState("hover",t)),this.isDown&&this.interactions.downPointers.length&&(e=this.setState("down",t)),this.isFocused=this.isFocused,this.isActive&&(e=this.setState("active",t),this.isHover&&this.states.hasKey("hoverActive")&&(e=this.setState("hoverActive",t))),e}
20,e.prototype.transitTo=function(t,e,i){var n,r=this,o=[],a=t.allValues;if(D.each(a,function(t,e){var i=r[t];if(e!=i&&void 0==r.defaultState.properties[t]&&(r.defaultState.properties[t]=i),M.hasValue(e)){var n={from:i,to:e,property:t};o.push(n)}}),o.length>0&&((n=this.animate(o,e,i))&&!n.isFinished()?this._disposers.push(n.events.on("animationended",function(){r.dispatchImmediately("transitionended")})):this.dispatchImmediately("transitionended")),t.filters.length>0){var s=[];E.each(t.filters.iterator(),function(t){var n=t.clone();s.push(n);var o=[];E.each(r.filters.iterator(),function(t){t.className==n.className&&(E.contains(r.defaultState.filters.iterator(),function(t){return t.className===n.className})||r.defaultState.filters.push(t),D.each(n.properties,function(e,i){var n=t.properties[e];n!=i&&o.push({property:e,from:n,to:i})}))}),n.animate(o,e,i)}),this.filters.clear(),this.filters.pushAll(s)}return n},e.prototype.isInTransition=function(){return this.animations.length>0},Object.defineProperty(e.prototype,"isHover",{get:function(){return!!this.isInteractive()&&this.interactions.isHover},set:function(t){(t=M.toBoolean(t))!==this.isHover&&this.isInteractive()&&(this.interactions.isHover=t,t?this.handleOver():this.handleOut())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDragged",{get:function(){return this._isDragged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDown",{get:function(){return!!this.isInteractive()&&this.interactions.isDown},set:function(t){t=M.toBoolean(t),this.isInteractive()&&this.isDown!=t&&(this.interactions.isDown=t,t?this.handleDown():this.handleUp())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return!!this.isInteractive()&&this.interactions.isFocused},set:function(t){t=M.toBoolean(t),this.focusable&&this.isFocused!=t&&this.isInteractive()&&(this.interactions.isFocused=t,!0===t?this.handleFocus():this.handleBlur())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this._isActive},set:function(t){this.setActive(t)},enumerable:!0,configurable:!0}),e.prototype.setActive=function(t){t=M.toBoolean(t),this._isActive!==t&&(this._isActive=t,t&&this.states.hasKey("active")?(this.setState("active"),this.isHover&&this.states.hasKey("hoverActive")&&this.setState("hoverActive")):this.applyCurrentState(),this.dispatchImmediately("toggled"))},Object.defineProperty(e.prototype,"disabled",{get:function(){var t=this.getPropertyValue("disabled");return M.hasValue(t)?t:this.virtualParent?this.virtualParent.disabled:!!this.parent&&this.parent.disabled},set:function(t){this.setDisabled(t)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(t){return t=M.toBoolean(t),this.getPropertyValue("disabled")!=t&&(this.setPropertyValue("disabled",t,!0),t?(this.parent=this.parent,this.removeFromInvalids(),this.group.attr({display:"none"})):(this instanceof d.a?this.deepInvalidate():this.invalidate(),this.__disabled||this.removeSVGAttribute("display")),this.dispatch("transformed"),F.b.requestFrame(),!0)},Object.defineProperty(e.prototype,"__disabled",{get:function(){return this._internalDisabled},set:function(t){this._internalDisabled!=t&&(this._internalDisabled=t,this._updateDisabled=!0,this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormatter",{get:function(){return this._numberFormatter?this._numberFormatter:this.virtualParent?this.virtualParent.numberFormatter:this.parent?this.parent.numberFormatter:(this._numberFormatter=new P.a,this._numberFormatter.language=this.language,this.numberFormatter)},set:function(t){this._numberFormatter=t,this._numberFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.virtualParent?this.virtualParent.dateFormatter:this.parent?this.parent.dateFormatter:(this._dateFormatter=new w.a,this._dateFormatter.language=this.language,this.dateFormatter)},set:function(t){this._dateFormatter=t,this._dateFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormatter",{get:function(){return this._durationFormatter?this._durationFormatter:this.virtualParent?this.virtualParent.durationFormatter:this.parent?this.parent.durationFormatter:(this._durationFormatter=new O.a,this._durationFormatter.language=this.language,this.durationFormatter)},set:function(t){this._durationFormatter=t,this._durationFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){var t=this._language.get();return t||(this.virtualParent?this.virtualParent.language:this.parent?this.parent.language:(t=new k.a,this.language=t,t))},set:function(t){var e=this;this._language.get()!==t&&this._language.set(t,t.events.on("localechanged",function(t){e instanceof d.a&&e.deepInvalidate()}))},enumerable:!0,configurable:!0}),e.prototype.populateString=function(t,e){if(M.hasValue(t)){t=M.castString(t);var i=(t=Object(S.b)().escape(t)).match(/\{([^}]+)\}/g),n=void 0;if(i)for(n=0;n<i.length;n++){var r=i[n].replace(/\{([^}]+)\}/,"$1"),o=this.getTagValue(r,"",e);M.hasValue(o)||(o=""),t=t.split(i[n]).join(o)}t=Object(S.b)().unescape(t)}else t="";return this.adapter.apply("populateString",t)}
20,e.prototype.getTagValue=function(t,e,i){var n;M.hasValue(i)||(i=this.dataItem);for(var r,o=[],a=/([^.]+)\(([^)]*)\)|([^.]+)/g;null!==(r=a.exec(t));)if(r[3])o.push({prop:r[3]});else{var s=[];if(""!=C.trim(r[2]))for(var u=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g,l=void 0;null!==(l=u.exec(r[2]));)s.push(l[1]||l[2]||l[3]);o.push({method:r[1],params:s})}if(i){n=this.getTagValueFromObject(o,i.values),M.hasValue(n)&&!M.isObject(n)||(n=this.getTagValueFromObject(o,i));var h=i.dataContext;!M.hasValue(n)&&h&&(n=this.getTagValueFromObject(o,i.dataContext),!M.hasValue(n)&&h.dataContext&&(n=this.getTagValueFromObject(o,h.dataContext))),!M.hasValue(n)&&i.component&&i.component.dataItem!==i&&(n=i.component.getTagValue(t,e))}return M.hasValue(n)||(n=this.getTagValueFromObject(o,this.populateStringFrom||this)),!M.hasValue(n)&&this.parent&&(n=this.parent.getTagValue(t,e)),n},e.prototype.getTagValueFromObject=function(t,e,i){for(var n=e,r=!1,o=0,a=t.length;o<a;o++){var s=t[o];if(s.prop){if(n=n[s.prop],!M.hasValue(n))return}else switch(s.method){case"formatNumber":var u=C.anyToNumber(n);M.hasValue(u)&&(n=this.numberFormatter.format(u,i||s.params[0]||void 0),r=!0);break;case"formatDate":var l=C.anyToDate(n);if(!M.isDate(l)||M.isNaN(l.getTime()))return;M.hasValue(l)&&(n=this.dateFormatter.format(l,i||s.params[0]||void 0),r=!0);break;case"formatDuration":var h=C.anyToNumber(n);M.hasValue(h)&&(n=this.durationFormatter.format(h,i||s.params[0]||void 0,s.params[1]||void 0),r=!0);break;case"urlEncode":case"encodeURIComponent":n=encodeURIComponent(n);break;default:n[s.method]&&n[s.method].apply(this,s.params)}}if(!r){var c=[{method:"",params:i}];if(M.hasValue(i)){var p=C.getFormat(i);p===I.c?c[0].method="formatNumber":p===I.a?c[0].method="formatDate":p===I.b&&(c[0].method="formatDuration")}else M.isNumber(n)?(c[0].method="formatNumber",c[0].params=""):M.isDate(n)&&(c[0].method="formatDate",c[0].params="");c[0].method&&(n=this.getTagValueFromObject(c,n))}return n},Object.defineProperty(e.prototype,"dataItem",{get:function(){if(!this._dataItem){if(this.virtualParent)return this.virtualParent.dataItem;if(this.parent)return this.parent.dataItem}return this._dataItem},set:function(t){this.setDataItem(t)},enumerable:!0,configurable:!0}),e.prototype.setDataItem=function(t){if(this._dataItem!=t){this._dataItem=t,this.configField&&t.dataContext&&(this.config=t.dataContext[this.configField]);var e=t.dataContext;if(e)for(var i in this.propertyFields){var n=this.propertyFields[i];if(M.hasValue(e[n])){this[i]=e[n]}}this.invalidate()}},e.prototype.getPropertyValue=function(t){var e=this.properties[t];return this._isTemplate||(e=this.adapter.apply(t,e)),e},e.prototype.setColorProperty=function(t,e,i){var n=this.properties[t];return!(e instanceof m.a&&n instanceof m.a&&e.hex==n.hex)&&this.setPropertyValue(t,e,i)},e.prototype.setPercentProperty=function(t,e,i,n,r,o){if(e=M.toNumberOrPercent(e),M.isNumber(e))return e=V.round(e,r,o),this.setPropertyValue(t,e,i,n);var a=this.properties[t];return!(e instanceof N.a&&a instanceof N.a&&e.value==a.value)&&this.setPropertyValue(t,e,i,n)},e.prototype.setPropertyValue=function(t,e,i,n){this.properties[t];if(this.properties[t]!==e){if(this.properties[t]=e,this.events.isEnabled("propertychanged")){var r={type:"propertychanged",target:this,property:t};this.events.dispatchImmediately("propertychanged",r)}if(i&&this.invalidate(),n&&this.invalidatePosition(),this.applyOnClones)for(var o=this.clones.values,a=o.length,s=0;s<a;++s){var u=o[s];u.isDisposed()||(u[t]=e)}return!0}return!1},e.prototype.bind=function(t,e,i,n){var r=this;void 0===i&&(i=t),M.hasValue(this._bindings[t])&&this._bindings[t].dispose(),this[t]=e[i],this._bindings[t]=e.events.on("propertychanged",function(o){if(o.property===i){var a=e[i];n&&(a=n(a)),r[t]=a}})},e.prototype.observe=function(t,e,i){var n=this;return new h.c(j.map(j.toArray(t),function(t){return n.events.on("propertychanged",function(n){n.property===t&&e.call(i,n)})}))},e.prototype.applyAccessibility=function(){var t=this.readerTitle,e=this.readerDescription,i=this.role,n=this.readerHidden,r=this.readerChecked,o=this.readerControls,a=this.readerLive,s=[],u=[],l=this.readerLabelledBy;l&&s.push(l);var h=this.readerDescribedBy;if(h&&u.push(h),!t||e||this.showSystemTooltip){if(t){var c=this.titleElement,p=this.uid+"-title";c.node.textContent!=t&&(c.node.textContent=t,c.attr({id:p})),s.push(p)}else this._titleElement&&(this.group.removeElement(this._titleElement),this._titleElement=void 0);if(e){var d=this.descriptionElement,f=this.uid+"-description";d.node.textContent!=e&&(d.node.textContent=e,d.attr({id:f})),s.push(f)}else this._descriptionElement&&(this.group.removeElement(this._descriptionElement),this._descriptionElement=void 0)}else this.setSVGAttribute({"aria-label":t}),this.removeSVGAttribute("aria-description"),this._titleElement&&(this.group.removeElement(this._titleElement),this._titleElement=void 0),this._descriptionElement&&(this.group.removeElement(this._descriptionElement),this._descriptionElement=void 0);s.length&&this.setSVGAttribute({"aria-labelledby":s.join(" ")}),u.length&&this.setSVGAttribute({"aria-describedby":u.join(" ")}),i?this.setSVGAttribute({role:i}):this.removeSVGAttribute("role"),n?this.setSVGAttribute({"aria-hidden":"true"}):this.removeSVGAttribute("aria-hidden"),r?this.setSVGAttribute({"aria-checked":"true"}):!1===r?this.setSVGAttribute({"aria-checked":"false"}):this.removeSVGAttribute("aria-checked"),o?this.setSVGAttribute({"aria-controls":o}):this.removeSVGAttribute("aria-controls"),a?this.setSVGAttribute({"aria-live":a}):this.removeSVGAttribute("aria-live")},Object.defineProperty(e.prototype,"readerTitle",{get:function(){return this.getPropertyValue("readerTitle")}
20,set:function(t){t=M.toText(t),this.setPropertyValue("readerTitle",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerDescription",{get:function(){return this.getPropertyValue("readerDescription")},set:function(t){t=M.toText(t),this.setPropertyValue("readerDescription",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"role",{get:function(){return this.getPropertyValue("role")},set:function(t){t=M.toText(t),this.setPropertyValue("role",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerHidden",{get:function(){return this.getPropertyValue("readerHidden")},set:function(t){t=M.toBoolean(t),this.setPropertyValue("readerHidden",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerChecked",{get:function(){return this.getPropertyValue("readerChecked")},set:function(t){t=M.toBoolean(t),this.setPropertyValue("readerChecked",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerControls",{get:function(){return this.getPropertyValue("readerControls")},set:function(t){t=M.toText(t),this.setPropertyValue("readerControls",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerLive",{get:function(){return this.getPropertyValue("readerLive")},set:function(t){t=M.toText(t),this.setPropertyValue("readerLive",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerLabelledBy",{get:function(){return this.getPropertyValue("readerLabelledBy")},set:function(t){t=M.toText(t),this.setPropertyValue("readerLabelledBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerDescribedBy",{get:function(){return this.getPropertyValue("readerDescribedBy")},set:function(t){t=M.toText(t),this.setPropertyValue("readerDescribedBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyboardOptions",{get:function(){if(!this.interactions.keyboardOptions){if(this.virtualParent)return this.virtualParent.keyboardOptions;if(this.parent)return this.parent.keyboardOptions}return this.interactions.keyboardOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"interactions",{get:function(){if(!this._interaction){var t=Object(b.b)().getInteraction(this.dom);this._interaction=t,this._interaction.clickable=this.clickable,this._interaction.hoverable=this.hoverable,this._interaction.trackable=this.trackable,this._interaction.draggable=this.draggable,this._interaction.swipeable=this.swipeable,this._interaction.resizable=this.resizable,this._interaction.wheelable=this.wheelable,this._interaction.inert=this.inert,this._disposers.push(this._interaction)}return this._interaction},enumerable:!0,configurable:!0}),e.prototype.isInteractive=function(){return!!this._interaction},Object.defineProperty(e.prototype,"focusable",{get:function(){return this.getPropertyValue("focusable")},set:function(t){var e=this;t=M.toBoolean(t),this.setPropertyValue("focusable",t)&&(t||this.isInteractive())&&(this.interactions.focusable=t,t?this.setSVGAttribute({focusable:t}):this.removeSVGAttribute("focusable"),this.interactions.setEventDisposer("sprite-focusable",t,function(){return new h.c([e.events.on("blur",e.handleBlur,e,!1),e.events.on("focus",e.handleFocus,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleFocus=function(t){this.focusable&&(this.topParent&&(this.topParent.hasFocused=!0),this.focusFilter&&this.filters.push(this.focusFilter),this.hoverOnFocus&&(this.isHover=!0,this.handleOver()))},e.prototype.handleBlur=function(t){this.focusable&&(this.topParent&&(this.topParent.hasFocused=!1),this.focusFilter&&this.filters.removeValue(this.focusFilter),this.hoverOnFocus&&(this.isHover=!1,this.handleOut()))},Object.defineProperty(e.prototype,"focusFilter",{get:function(){var t=this._focusFilter;return t||(this.virtualParent?this.virtualParent.focusFilter:this.parent?this.parent.focusFilter:void 0)},set:function(t){this._focusFilter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOnFocus",{get:function(){return this.getPropertyValue("hoverOnFocus")},set:function(t){t!==this.hoverOnFocus&&this.setPropertyValue("hoverOnFocus",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){var t=this._tabindex;return null!=t?t:this.virtualParent?this.virtualParent.tabindex:this.parent?this.parent.tabindex:void 0},set:function(t){t=M.toNumber(t),this.setPropertyValue("tabindex",t)&&M.isNumber(t)&&(this.interactions.tabindex=t,this.setSVGAttribute({tabindex:t}),this.focusable=t>-1||void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inertiaOptions",{get:function(){return!this.interactions.inertiaOptions&&this.parent?this.parent.inertiaOptions:this.interactions.inertiaOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this.getPropertyValue("draggable")}
20,set:function(t){var e=this;t=M.toBoolean(t),this.setPropertyValue("draggable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.draggable=t,this.interactions.setEventDisposer("sprite-draggable",t,function(){return new h.c([e.events.on("down",e.handleDown,e,!1),e.events.on("dragstart",e.handleDragStart,e,!1),e.events.on("drag",e.handleDragMove,e,!1),e.events.on("dragstop",e.handleDragStop,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleDragStart=function(){this.interactions.originalPosition={x:this.pixelX,y:this.pixelY},this._isDragged=!0,this.hideTooltip(0)},e.prototype.dragStart=function(t){this._isDragged=!0,Object(b.b)().dragStart(this.interactions,t)},e.prototype.handleDragStop=function(){this._isDragged=!1,this.showTooltip(),this.interactions.originalPosition=void 0},e.prototype.dragStop=function(t){this._isDragged=!1,Object(b.b)().dragStop(this.interactions,t)},e.prototype.handleDragMove=function(t){var e=this.interactions.originalPosition;if(e){var i=this.parent.globalScale;this.moveTo({x:e.x+t.shift.x/i,y:e.y+t.shift.y/i},void 0,void 0,!0)}},Object.defineProperty(e.prototype,"inert",{get:function(){return this.getPropertyValue("inert")},set:function(t){t=M.toBoolean(t),this.setPropertyValue("inert",t)&&(t||this.isInteractive())&&(this.interactions.inert=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOptions",{get:function(){if(!this.interactions.hoverOptions){if(this.virtualParent)return this.virtualParent.hoverOptions;if(this.parent)return this.parent.hoverOptions}return this.interactions.hoverOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverable",{get:function(){return this.getPropertyValue("hoverable")},set:function(t){var e=this;t=M.toBoolean(t),this.setPropertyValue("hoverable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.hoverable=t,this.interactions.setEventDisposer("sprite-hoverable",t,function(){return new h.c([e.events.on("over",e.handleOver,e,!1),e.events.on("out",e.handleOut,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleOver=function(t){if(this._outTimeout&&this._outTimeout.dispose(),this.isHover){this.states.hasKey("hover")&&(this.isHidden||this.applyCurrentState());var e=void 0;t&&t.pointer&&(e=C.documentPointToSvg(t.pointer.point,this.svgContainer.SVGContainer)),this.showTooltip(e)}else this.hideTooltip(),!this.isHidden&&this.states.hasKey("hover")&&this.applyCurrentState()},e.prototype.handleOut=function(t){this.hideTooltip(),this._outTimeout=this.setTimeout(this.handleOutReal.bind(this),this.rollOutDelay)},e.prototype.handleOutReal=function(){this.isHidden||this.isHiding||!this.states.hasKey("hover")||this.applyCurrentState()},Object.defineProperty(e.prototype,"hitOptions",{get:function(){if(!this.interactions.hitOptions){if(this.virtualParent)return this.virtualParent.hitOptions;if(this.parent)return this.parent.hitOptions}return this.interactions.hitOptions},enumerable:!0,configurable:!0}),e.prototype.handleDown=function(t){1===this.interactions.downPointers.length&&(this.interactions.originalPosition={x:this.pixelX,y:this.pixelY},this.interactions.originalAngle=this.rotation,this.interactions.originalScale=this.scale,this.states.hasKey("down")&&this.setState("down"))},e.prototype.handleUp=function(t){this.states.hasKey("down")&&this.applyCurrentState()},Object.defineProperty(e.prototype,"clickable",{get:function(){return this.getPropertyValue("clickable")},set:function(t){var e=this;t=M.toBoolean(t),this.setPropertyValue("clickable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.clickable=t,this.interactions.setEventDisposer("sprite-clickable",t,function(){return new h.c([e.events.on("down",e.handleDown,e,!1),e.events.on("up",e.handleUp,e,!1)])}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"togglable",{get:function(){return this.getPropertyValue("togglable")},set:function(t){var e=this;t=M.toBoolean(t),this.setPropertyValue("togglable",t)&&(t||this.isInteractive())&&this.interactions.setEventDisposer("sprite-togglable",t,function(){return e.events.on("hit",e.handleToggle,e,!1)})},enumerable:!0,configurable:!0}),e.prototype.handleToggle=function(t){this.isActive=!this.isActive},Object.defineProperty(e.prototype,"url",{get:function(){return this.getPropertyValue("url")}
20,set:function(t){this.setPropertyValue("url",t)&&(this._urlDisposer&&this._urlDisposer.dispose(),C.isNotEmpty(t)&&(this._urlDisposer=this.events.on("hit",this.urlHandler,this,!1),this.clickable=!0,this.cursorOverStyle=v.a.pointer))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseId",{get:function(){return!this._baseId&&this.parent&&(this.baseId=this.parent.baseId),this._baseId},set:function(t){this.setBaseId(t)},enumerable:!0,configurable:!0}),e.prototype.setBaseId=function(t){t!=this._baseId&&(this.invalid&&(this.invalid=!1,x.b.removeFromInvalidSprites(this),this.invalidate()),this._baseId=t)},Object.defineProperty(e.prototype,"urlTarget",{get:function(){return this.getPropertyValue("urlTarget")},set:function(t){this.setPropertyValue("urlTarget",t)},enumerable:!0,configurable:!0}),e.prototype.urlHandler=function(t){if(C.isNotEmpty(this.url)){var e=this.populateString(this.url);"_self"===this.urlTarget?window.location.href=e:window.open(e,this.urlTarget)}},Object.defineProperty(e.prototype,"swipeOptions",{get:function(){if(!this.interactions.swipeOptions){if(this.virtualParent)return this.virtualParent.swipeOptions;if(this.parent)return this.parent.swipeOptions}return this.interactions.swipeOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeable",{get:function(){return this.getPropertyValue("swipeable")},set:function(t){t=M.toBoolean(t),this.setPropertyValue("swipeable",t)&&(this.applyCursorStyle(),(t||this.isInteractive())&&(this.interactions.swipeable=t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackable",{get:function(){return this.getPropertyValue("trackable")},set:function(t){t=M.toBoolean(t),this.setPropertyValue("trackable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.trackable=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wheelable",{get:function(){return this.getPropertyValue("wheelable")},set:function(t){this.setPropertyValue("wheelable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.wheelable=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this.getPropertyValue("resizable")},set:function(t){var e=this;t=M.toBoolean(t),this.setPropertyValue("resizable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.resizable=t,this.interactions.setEventDisposer("sprite-resizable",t,function(){return new h.c([e.events.on("down",e.handleDown,e,!1),e.events.on("resize",e.handleResize,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleResize=function(t){if(this.scale=this.interactions.originalScale*t.scale,this.validatePosition(),this.draggable){var e=C.documentPointToSvg(t.point1,this.htmlContainer),i=C.documentPointToSvg(t.point2,this.htmlContainer),n=V.getMidPoint(e,i),r=C.documentPointToSprite(t.startPoint1,this.parent),o=C.documentPointToSprite(t.startPoint2,this.parent),a=this.interactions.originalPosition,s=this.interactions.originalScale;if(a){var u={x:(r.x-a.x)/s,y:(r.y-a.y)/s},l={x:(o.x-a.x)/s,y:(o.y-a.y)/s},h=V.getMidPoint(u,l),c=C.svgPointToSprite(n,this.parent);this.moveTo({x:c.x-h.x*this.scale,y:c.y-h.y*this.scale})}}},Object.defineProperty(e.prototype,"cursorOptions",{get:function(){if(!this.interactions.cursorOptions){if(this.virtualParent)return this.virtualParent.cursorOptions;if(this.parent)return this.parent.cursorOptions}return this.interactions.cursorOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorOverStyle",{set:function(t){this.cursorOptions.overStyle=t,Object(b.b)().applyCursorOverStyle(this.interactions)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorDownStyle",{set:function(t){this.cursorOptions.downStyle=t},enumerable:!0,configurable:!0}),e.prototype.applyCursorStyle=function(){},Object.defineProperty(e.prototype,"interactionsEnabled",{get:function(){return!1!==this.getPropertyValue("interactionsEnabled")&&(this.virtualParent?this.virtualParent.interactionsEnabled:!this.parent||this.parent.interactionsEnabled)},set:function(t){if(t=M.toBoolean(t),this.setPropertyValue("interactionsEnabled",t)){var e=null;t?this.group.node.style.pointerEvents="":e="none",this.group.node.style.pointerEvents=e}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"exporting",{get:function(){return this.getExporting()},set:function(t){this._exporting.set(t,t)},enumerable:!0,configurable:!0}),e.prototype.getExporting=function(){var t=this._exporting.get();return t||(!this.isStandaloneInstance&&this.parent?this.parent.exporting:((t=new T.a(this.svgContainer.SVGContainer)).sprite=this,t.language=this.language,t.dateFormatter=this.dateFormatter,this._exporting.set(t,t),t))},Object.defineProperty(e.prototype,"exportable",{get:function(){var t=this.svgContainer;return!t||-1==j.indexOf(t.nonExportableSprites,this)},set:function(t){var e=this.svgContainer;e&&t!=this.exportable&&(t?j.remove(e.nonExportableSprites,this):e.nonExportableSprites.push(this))},enumerable:!0,configurable:!0}),e.prototype.modalPrefix=function(t){return t=_.a.classNamePrefix+t},Object.defineProperty(e.prototype,"modal",{get:function(){var t=this.svgContainer;if(t){var e=t.modal;return e.adapter.has("classPrefix",this.modalPrefix)||e.adapter.add("classPrefix",this.modalPrefix),e}},enumerable:!0,configurable:!0}),e.prototype.openModal=function(t,e){var i=this.svgContainer;if(i)return i.openModal(t,e)},e.prototype.closeModal=function(){var t=this.svgContainer;t&&t.closeModal()}
20,Object.defineProperty(e.prototype,"popups",{get:function(){var t=this.svgContainer;if(t){var e=t.popups;return e.template.sprite=this,e.template.adapter.has("classPrefix",this.modalPrefix)||e.template.adapter.add("classPrefix",this.modalPrefix),e}},enumerable:!0,configurable:!0}),e.prototype.openPopup=function(t,e){var i=this.svgContainer;if(i)return i.openPopup(t,e)},e.prototype.closeAllPopups=function(){var t=this.svgContainer;if(t)return t.closeAllPopups()},Object.defineProperty(e.prototype,"x",{get:function(){return this.getPropertyValue("x")},set:function(t){this.isDragged||this.setPercentProperty("x",t,!1,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelX",{get:function(){return this.adapter.apply("pixelX",V.fitToRange(this.getPixelX(this.x),this.minX,this.maxX))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeX",{get:function(){return this.adapter.apply("relativeX",this.getRelativeX(this.x))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minX",{get:function(){return this.getPropertyValue("minX")},set:function(t){M.isNumber(t)&&(t=V.round(t,this._positionPrecision,!0),this.setPropertyValue("minX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxX",{get:function(){return this.getPropertyValue("maxX")},set:function(t){M.isNumber(t)&&(t=V.round(t,this._positionPrecision,!0),this.setPropertyValue("maxX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.getPropertyValue("y")},set:function(t){this.isDragged||this.setPercentProperty("y",t,!1,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelY",{get:function(){return this.adapter.apply("pixelY",V.fitToRange(this.getPixelY(this.y),this.minY,this.maxY))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeY",{get:function(){return this.adapter.apply("relativeY",this.getRelativeX(this.y))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minY",{get:function(){return this.getPropertyValue("minY")},set:function(t){M.isNumber(t)&&(t=V.round(t,this._positionPrecision,!0),this.setPropertyValue("minY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxY",{get:function(){return this.getPropertyValue("maxY")},set:function(t){M.isNumber(t)&&(t=V.round(t,this._positionPrecision,!0),this.setPropertyValue("maxY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx",{get:function(){return this.getPropertyValue("dx")},set:function(t){M.isNumber(t)&&(t=V.round(t,this._positionPrecision,!0),this.setPropertyValue("dx",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy",{get:function(){return this.getPropertyValue("dy")},set:function(t){M.isNumber(t)&&(t=V.round(t,this._positionPrecision,!0),this.setPropertyValue("dy",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.getPropertyValue("rotation")},set:function(t){t=M.toNumber(t),M.isNumber(t)||(t=0),this.setPropertyValue("rotation",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.getPropertyValue("align")},set:function(t){t=M.toText(t),this.setPropertyValue("align",t)&&this.parent&&this.parent.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valign",{get:function(){return this.getPropertyValue("valign")},set:function(t){t=M.toText(t),this.setPropertyValue("valign",t)&&this.parent&&this.parent.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalCenter",{get:function(){return this.getPropertyValue("horizontalCenter")},set:function(t){t=M.toText(t),this.setPropertyValue("horizontalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalCenter",{get:function(){return this.getPropertyValue("verticalCenter")},set:function(t){t=M.toText(t),this.setPropertyValue("verticalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){var t=this.getPropertyValue("maxWidth");return!M.isNumber(t)&&this.parent?this.parent.maxWidth:t},set:function(t){this.setMaxWidth(t)},enumerable:!0,configurable:!0}),e.prototype.setMaxWidth=function(t){var e=this.maxWidth,i=this.maxHeight;if(this.setPropertyValue("maxWidth",t)){M.isNumber(this.relativeWidth)&&this.invalidate();var n={type:"maxsizechanged",target:this,previousWidth:e,previousHeight:i};this.dispatchImmediately("maxsizechanged",n)}},Object.defineProperty(e.prototype,"maxHeight",{get:function(){var t=this.getPropertyValue("maxHeight");return!M.isNumber(t)&&this.parent?this.parent.maxHeight:t},set:function(t){this.setMaxHeight(t)},enumerable:!0,configurable:!0}),e.prototype.setMaxHeight=function(t){var e=this.maxWidth;this.maxHeight;if(this.setPropertyValue("maxHeight",t)){M.isNumber(this.relativeHeight)&&this.invalidate();var i={type:"maxsizechanged",target:this,previousWidth:e,previousHeight:e};this.dispatchImmediately("maxsizechanged",i)}},Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(t){this.setPropertyValue("minWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")}
20,set:function(t){this.setPropertyValue("minHeight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.getPropertyValue("width")},set:function(t){this.setPercentProperty("width",t,!0,!1,this._positionPrecision,!0)&&(this.percentWidth=void 0,this.relativeWidth=void 0,t instanceof N.a?(this.percentWidth=t.percent,M.isNumber(this._pixelWidth)&&(this.maxWidth=void 0),this._pixelWidth=void 0):(this._pixelWidth=Number(t),this.maxWidth=this._pixelWidth),this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.getPropertyValue("height")},set:function(t){this.setPercentProperty("height",t,!0,!1,this._positionPrecision,!0)&&(this.percentHeight=void 0,this._relativeHeight=void 0,t instanceof N.a?(this.percentHeight=t.percent,M.isNumber(this._pixelHeight)&&(this.maxHeight=void 0),this._pixelHeight=void 0):(this._pixelHeight=Number(t),this.maxHeight=this._pixelHeight),this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelWidth",{get:function(){var t;t=M.isNumber(this.percentWidth)?this.maxWidth:M.isNumber(this._pixelWidth)?this._pixelWidth:0;var e=this.minWidth;return null!=e&&t<e&&(t=e),this.adapter.apply("pixelWidth",V.round(t,this._positionPrecision,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelHeight",{get:function(){var t;t=M.isNumber(this.percentHeight)?this.maxHeight:M.isNumber(this._pixelHeight)?this._pixelHeight:0;var e=this.minHeight;return null!=e&&t<e&&(t=e),this.adapter.apply("pixelHeight",V.round(t,this._positionPrecision,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeWidth",{get:function(){var t=this._relativeWidth;if(M.isNumber(t))return this.adapter.apply("relativeWidth",t)},set:function(t){this._relativeWidth!=t&&(this._relativeWidth=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeHeight",{get:function(){var t=this._relativeHeight;if(M.isNumber(t))return this.adapter.apply("relativeHeight",t)},set:function(t){this._relativeHeight!=t&&(this._relativeHeight=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"measuredWidth",{get:function(){return this.disabled||this.__disabled?0:this.adapter.apply("measuredWidth",this._measuredWidth)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"measuredHeight",{get:function(){return this.disabled||this.__disabled?0:this.adapter.apply("measuredHeight",this._measuredHeight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outerWidth",{get:function(){return this.adapter.apply("outerWidth",this.pixelWidth+this.pixelMarginRight+this.pixelMarginLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outerHeight",{get:function(){return this.adapter.apply("outerHeight",this.pixelHeight+this.pixelMarginTop+this.pixelMarginBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerWidth",{get:function(){return this.adapter.apply("innerWidth",Math.max(0,this.pixelWidth-this.pixelPaddingRight-this.pixelPaddingLeft))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerHeight",{get:function(){return this.adapter.apply("innerHeight",Math.max(0,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"globalScale",{get:function(){var t=this.scale;return this.parent&&(t*=this.parent.globalScale),this.adapter.apply("globalScale",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this.getPropertyValue("scale")},set:function(t){(t=M.toNumber(t))<0&&(t=0),t!=this.getPropertyValue("scale")&&(this.setPropertyValue("scale",t,!1,!0),this.handleGlobalScale())},enumerable:!0,configurable:!0}),e.prototype.margin=function(t,e,i,n){return this.marginTop=t,this.marginRight=e,this.marginBottom=i,this.marginLeft=n,this},Object.defineProperty(e.prototype,"marginLeft",{get:function(){return this.getPropertyValue("marginLeft")},set:function(t){this.setPercentProperty("marginLeft",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginRight",{get:function(){return this.getPropertyValue("marginRight")}
20,set:function(t){this.setPercentProperty("marginRight",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginTop",{get:function(){return this.getPropertyValue("marginTop")},set:function(t){this.setPercentProperty("marginTop",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginBottom",{get:function(){return this.getPropertyValue("marginBottom")},set:function(t){this.setPercentProperty("marginBottom",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginRight",{get:function(){return this.adapter.apply("pixelMarginRight",this.getPixelX(this.marginRight))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginRight",{get:function(){return this.adapter.apply("relativeMarginRight",this.getRelativeX(this.marginRight))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginLeft",{get:function(){return this.adapter.apply("pixelMarginLeft",this.getPixelX(this.marginLeft))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginLeft",{get:function(){return this.adapter.apply("relativeMarginLeft",this.getRelativeX(this.marginLeft))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginTop",{get:function(){return this.adapter.apply("pixelMarginTop",this.getPixelY(this.marginTop))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginTop",{get:function(){return this.adapter.apply("relativeMarginTop",this.getRelativeY(this.marginTop))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginBottom",{get:function(){return this.adapter.apply("pixelMarginBottom",this.getPixelY(this.marginBottom))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginBottom",{get:function(){return this.adapter.apply("relativeMarginBottom",this.getRelativeY(this.marginBottom))},enumerable:!0,configurable:!0}),e.prototype.padding=function(t,e,i,n){return this.paddingTop=t,this.paddingRight=e,this.paddingBottom=i,this.paddingLeft=n,this},Object.defineProperty(e.prototype,"paddingLeft",{get:function(){return this.getPropertyValue("paddingLeft")},set:function(t){this.setPercentProperty("paddingLeft",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingRight",{get:function(){return this.getPropertyValue("paddingRight")},set:function(t){this.setPercentProperty("paddingRight",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingTop",{get:function(){return this.getPropertyValue("paddingTop")},set:function(t){this.setPercentProperty("paddingTop",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingBottom",{get:function(){return this.getPropertyValue("paddingBottom")},set:function(t){this.setPercentProperty("paddingBottom",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingRight",{get:function(){return this.getPixelX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingRight",{get:function(){return this.getRelativeX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingLeft",{get:function(){return this.getPixelX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingLeft",{get:function(){return this.getRelativeX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingTop",{get:function(){return this.getPixelY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingTop",{get:function(){return this.getRelativeY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingBottom",{get:function(){return this.getPixelY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingBottom",{get:function(){return this.getRelativeY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.getPropertyValue("path")},set:function(t){this.setPropertyValue("path",t)&&(this.element||(this.element=this.paper.add("path")),this.element.attr({d:t}),this.invalidatePosition(),this.inited||this.events.once("inited",this.validatePosition,this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillModifier",{get:function(){return this.getPropertyValue("fillModifier")},set:function(t){this.setPropertyValue("fillModifier",t)&&this.setFill(this.fill)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeModifier",{get:function(){return this.getPropertyValue("strokeModifier")},set:function(t){this.setPropertyValue("strokeModifier",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillOpacity",{get:function(){return this.getPropertyValue("fillOpacity")},set:function(t){t=V.toNumberRange(t,0,1),this.setPropertyValue("fillOpacity",t)&&this.setSVGAttribute({"fill-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.getPropertyValue("fill")}
20,set:function(t){this.setFill(t)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(t){if(M.isObject(t)||(t=Object(m.e)(t)),this.setColorProperty("fill",t)||this.fillModifier)if(t instanceof m.a&&this.fillModifier&&(t=this.fillModifier.modify(t)),this.realFill=t,t instanceof m.a)this.setSVGAttribute({fill:t.toString()});else if(M.hasValue(t)){if(t instanceof f.a||t instanceof g.a||t instanceof y.a){var e=t;e.paper=this.paper,this.setSVGAttribute({fill:"url(#"+e.id+")"})}}else this.removeSVGAttribute("fill")},Object.defineProperty(e.prototype,"opacity",{get:function(){return this.getPropertyValue("opacity")},set:function(t){t=V.toNumberRange(t,0,1),this.setPropertyValue("opacity",t)&&this.setSVGAttribute({opacity:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.getPropertyValue("stroke")},set:function(t){this.setStroke(t)},enumerable:!0,configurable:!0}),e.prototype.setStroke=function(t){if(M.isObject(t)||(t=Object(m.e)(t)),this.setColorProperty("stroke",t)||this.strokeModifier)if(t instanceof m.a&&this.strokeModifier&&(t=this.strokeModifier.modify(t)),this.realStroke=t,t instanceof m.a)"none"==t.hex?this.removeSVGAttribute("stroke"):this.setSVGAttribute({stroke:t.toString()});else if(M.hasValue(t)){if(t instanceof f.a||t instanceof g.a||t instanceof y.a){var e=t;e.paper=this.paper,this.setSVGAttribute({stroke:"url(#"+e.id+")"})}}else this.removeSVGAttribute("stroke")},Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.getPropertyValue("strokeOpacity")},set:function(t){t=V.toNumberRange(t,0,1),this.setPropertyValue("strokeOpacity",t)&&this.setSVGAttribute({"stroke-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonScalingStroke",{get:function(){return this.getPropertyValue("nonScalingStroke")},set:function(t){t=M.toBoolean(t),this.setPropertyValue("nonScalingStroke",t)&&(this.strokeWidth=this.strokeWidth)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonScaling",{get:function(){return this.getPropertyValue("nonScaling")},set:function(t){t=M.toBoolean(t),this.setPropertyValue("nonScaling",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.getPropertyValue("strokeWidth")},set:function(t){t=M.toNumber(t),this.setPropertyValue("strokeWidth",t,!0),this.nonScalingStroke&&(M.isNumber(t)||(t=1),t/=this.globalScale),this.setSVGAttribute({"stroke-width":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.getPropertyValue("strokeDasharray")},set:function(t){t=M.toText(t),this.setPropertyValue("strokeDasharray",t)&&this.setSVGAttribute({"stroke-dasharray":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shapeRendering",{get:function(){return this.getPropertyValue("shapeRendering")},set:function(t){t=M.toText(t),this.setPropertyValue("shapeRendering",t)&&this.setSVGAttribute({"shape-rendering":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPerfect",{get:function(){return this.getPropertyValue("pixelPerfect")},set:function(t){t=M.toBoolean(t),this._positionPrecision=t?0:3,this.setPropertyValue("pixelPerfect",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rtl",{get:function(){return M.hasValue(this._rtl)?this._rtl:this.virtualParent?this.virtualParent.rtl:this.parent?this.parent.rtl:(this.rtl=!1,this.rtl)},set:function(t){t=M.toBoolean(t),this._rtl=t},enumerable:!0,configurable:!0}),e.prototype.show=function(t){return this.showReal(t)},e.prototype.showReal=function(t){var e,i=this,n=this.defaultState.properties;if(!this.disabled&&(this.isHidden||!this.visible||this.isHiding||null!=n.opacity&&this.opacity<n.opacity&&!this.isShowing)){this.invalid&&this.validate(),this.positionInvalid&&this.validatePosition(),M.isNumber(t)||(t=this.defaultState.transitionDuration),this._hideAnimation&&(this._hideAnimation.kill(),this._hideAnimation=void 0),this._showHideDisposer&&this.removeDispose(this._showHideDisposer),this._isHidden=!1,this.isHiding=!1,this.isShowing=!0,(e=this.applyCurrentState(t))&&
20!e.isFinished()?(this._showHideDisposer=e.events.on("animationended",function(){i.isShowing=!1}),this._disposers.push(this._showHideDisposer)):this.isShowing=!1;var r=this.defaultState.properties.visible;M.hasValue(r)||(r=!0),this.visible=r,this.dispatchImmediately("shown")}return e},e.prototype.hide=function(t){return this.hideReal(t)},e.prototype.hideReal=function(t){var e,i=this;if(!this.isHiding&&this.visible){this.hideTooltip(0),this._hideAnimation&&(this._hideAnimation.kill(),this._hideAnimation=void 0),this.isShowing=!1,this._showHideDisposer&&this.removeDispose(this._showHideDisposer);var n=this.hiddenState;n?(e=this.setState(n,t,void 0))&&!e.isFinished()?(this._hideAnimation=e,this._showHideDisposer=e.events.on("animationended",function(){i.isHiding=!1,i._isHidden=!0},this),this._disposers.push(this._showHideDisposer),this._disposers.push(e)):(this.isHiding=!1,this._isHidden=!0):(this.visible=!1,this.isHiding=!1,this._isHidden=!0),this.dispatchImmediately("hidden"),this.invalidate()}return M.isNumber(t)||(t=this.hiddenState.transitionDuration),e},Object.defineProperty(e.prototype,"visible",{get:function(){return this.getVisibility()},set:function(t){t=M.toBoolean(t),this.setVisibility(t)},enumerable:!0,configurable:!0}),e.prototype.getVisibility=function(){var t=this.getPropertyValue("visible");return M.hasValue(t)||(t=!0),t},e.prototype.setVisibility=function(t){if(this.setPropertyValue("visible",t)&&(t?this.group.removeAttr("visibility"):this.group.attr({visibility:"hidden"}),this.events.isEnabled("visibilitychanged"))){var e={type:"visibilitychanged",target:this,visible:t};this.events.dispatchImmediately("visibilitychanged",e)}},Object.defineProperty(e.prototype,"zIndex",{get:function(){return this.getPropertyValue("zIndex")},set:function(t){t=M.toNumber(t),this.setPropertyValue("zIndex",t)&&this.dispatch("zIndexChanged")},enumerable:!0,configurable:!0}),e.prototype.toFront=function(){var t=this.parent;t&&t.children.indexOf(this)!=t.children.length-1&&(t.children.moveValue(this,t.children.length-1),this.dispatch("zIndexChanged"))},e.prototype.toBack=function(){var t=this.parent;t&&0!=t.children.indexOf(this)&&(t.children.moveValue(this,0),this.dispatch("zIndexChanged"))},Object.defineProperty(e.prototype,"tooltip",{get:function(){return this._tooltip?this._tooltip:this.virtualParent?this.virtualParent.tooltip:this.parent?this.parent.tooltip:void 0},set:function(t){this._tooltip&&this.removeDispose(this._tooltip),this._tooltip=t,t&&(t.parent=this.tooltipContainer)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDataItem",{get:function(){var t=this._tooltipDataItem;return t||this.dataItem},set:function(t){this._tooltipDataItem=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipColorSource",{get:function(){return this._tooltipColorSource},set:function(t){this._tooltipColorSource=t},enumerable:!0,configurable:!0}),e.prototype.showTooltip=function(t){for(var e=this;void 0!=e;){if(!e.visible||e.disabled||e.__disabled)return;e=e.parent}if(M.hasValue(this.tooltipText)||M.hasValue(this.tooltipHTML)){var i=this.tooltip,n=this.tooltipDataItem;if(i){var r=this,o=this.tooltipColorSource;if((i.getStrokeFromObject||i.getFillFromObject)&&o&&(o.isTemplate?n&&j.eachContinue(n.sprites,function(t){return t.clonedFrom!=o||(r=t,!1)}):r=o),i.getStrokeFromObject){for(var a=this.stroke,s=r;void 0!=s.parent&&(void 0==(a=s.stroke)&&(s=s.parent),void 0==a););a instanceof m.a?i.background.animate({property:"stroke",to:a},i.animationDuration):i.background.stroke=a}if(i.dataItem=n,i.label.populateStringFrom=this,i.getFillFromObject){var u=this.fill;for(s=r;void 0!=s.parent;)if(void 0==(u=s.fill)||u instanceof m.a&&void 0==u.rgb)s=s.parent;else if(void 0!=u)break;void 0==u&&(u=Object(m.c)("#000000")),u instanceof m.a&&i.visible?i.background.animate({property:"fill",to:u},i.animationDuration):i.background.fill=u,i.autoTextColor&&u instanceof m.a&&(i.label.fill=u.alternative)}var l="";if(this.tooltipHTML&&(i.html=this.tooltipHTML,l=this.tooltipHTML),this.tooltipText&&(i.text=this.tooltipText,l=this.tooltipText),this.updateTooltipPosition(t)){if(i.readerDescribedBy=this.uidAttr(),i.label.invali
20d&&i.label.validate(),void 0!=l&&""!=l&&""!=i.label.currentText){i&&!i.parent&&(i.parent=this.tooltipContainer);var h=i.defaultState.transitionDuration;return h<=0&&(h=1),i.show(h),!0}}else this.hideTooltip(0)}}return!1},e.prototype.updateTooltipPosition=function(t){var e=this;if("pointer"!=this.tooltipPosition){var i=C.spritePointToSvg({x:this.tooltipX,y:this.tooltipY},this);return this.pointTooltipTo(i)}if(this._interactionDisposer=Object(b.b)().body.events.on("track",function(t){return e.pointTooltipTo(C.documentPointToSvg(t.point,e.svgContainer.SVGContainer),!0)}),t)return this.pointTooltipTo(t,!0)},e.prototype.pointTooltipTo=function(t,e){var i=this.tooltip;return!(!i||!V.isInRectangle(t,{x:0,y:0,width:this.topParent.maxWidth,height:this.topParent.maxHeight}))&&(i.pointTo(t,e),!0)},e.prototype.hideTooltip=function(t){var e=this.tooltip;e&&(e.hide(t),this._interactionDisposer&&this._interactionDisposer.dispose())},Object.defineProperty(e.prototype,"tooltipHTML",{get:function(){return this.getPropertyValue("tooltipHTML")},set:function(t){t=M.toText(t),this.hoverable=!0,this.setPropertyValue("tooltipHTML",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipText",{get:function(){return this.getPropertyValue("tooltipText")},set:function(t){(t=M.toText(t))&&(this.hoverable=!0),this.setPropertyValue("tooltipText",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipContainer",{get:function(){return this._tooltipContainer?this._tooltipContainer:this.parent?this.parent.tooltipContainer:void 0},set:function(t){this._tooltipContainer=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipX",{get:function(){return this.getTooltipX()},set:function(t){t=M.toNumber(t),this.setPropertyValue("tooltipX",t)&&this.tooltip&&this.tooltip.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipPosition",{get:function(){return this.getPropertyValue("tooltipPosition")},set:function(t){this.setPropertyValue("tooltipPosition",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipY",{get:function(){return this.getTooltipY()},set:function(t){t=M.toNumber(t),this.setPropertyValue("tooltipY",t)&&this.tooltip&&this.tooltip.invalidate()},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");return M.isNumber(t)||(t=this.maxLeft+this.measuredWidth/2-this.pixelPaddingLeft-this.ex),t},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipY");return M.isNumber(t)||(t=this.maxTop+this.measuredHeight/2-this.pixelPaddingTop-this.ey),t},e.prototype.raiseCriticalError=function(t){this.svgContainer&&(this.modal.content=t.message,this.modal.closable=!1,this.modal.open(),this.disabled=!0),_.a.verbose&&console.log(t)},e.prototype.processConfig=function(e){e&&(M.hasValue(e.tooltipColorSource)&&M.isString(e.tooltipColorSource)&&this.map.hasKey(e.tooltipColorSource)&&(e.tooltipColorSource=this.map.getKey(e.tooltipColorSource)),M.hasValue(e.cursorOverStyle)&&M.isString(e.cursorOverStyle)&&(e.cursorOverStyle=this.getCursorStyle(e.cursorOverStyle)),M.hasValue(e.cursorDowntyle)&&M.isString(e.cursorDowntyle)&&(e.cursorDowntyle=this.getCursorStyle(e.cursorDowntyle)),M.hasValue(e.cursorOptions)&&(M.hasValue(e.cursorOptions.overStyle)&&M.isString(e.cursorOptions.overStyle)&&(e.cursorOptions.overStyle=this.getCursorStyle(e.cursorOptions.overStyle)),M.hasValue(e.cursorOptions.downStyle)&&M.isString(e.cursorOptions.downStyle)&&(e.cursorOptions.downStyle=this.getCursorStyle(e.cursorOptions.downStyle)))),t.prototype.processConfig.call(this,e)},e.prototype.getCursorStyle=function(t){switch(t){case"grab":return v.a.grab;case"grabbing":return v.a.grabbing;case"pointer":return v.a.pointer;case"horizontalResize":return v.a.horizontalResize;case"verticalResize":return v.a.verticalResize;default:return v.a.default}},e.prototype.configOrder=function(e,i){return e==i?0:"tooltipColorSource"==e?1:"tooltipColorSource"==i?-1:t.prototype.configOrder.call(this,e,i)},Object.defineProperty(e.prototype,"isHidden",{get:function(){return this._isHidden?this._isHidden:!!this._parent&&this._parent.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showOnInit",{get:function(){return this.getPropertyValue("showOnInit")}
20,set:function(t){t=M.toBoolean(t),this.setShowOnInit(t)},enumerable:!0,configurable:!0}),e.prototype.setShowOnInit=function(t){this.setPropertyValue("showOnInit",t)&&(this.isTemplate||(!t||this.inited||this.hidden?this._showOnInitDisposer&&this._showOnInitDisposer.dispose():(this._showOnInitDisposer=new h.c([x.b.events.once("enterframe",this.hideInitially,this),this.events.once("beforevalidated",this.hideInitially,this,!1),this.events.on("inited",this.appear,this,!1)]),this._disposers.push(this._showOnInitDisposer))))},e.prototype.hideInitially=function(){this.isDisposed()||(this.appeared=!1,this.inited||this.hide(0))},e.prototype.appear=function(){var t=this;if(this.appeared=!1,this.hidden||this.isHidden||this.hide(0),this.hidden)this.appeared=!0;else{var e=this.show();e&&!e.isFinished()?e.events.on("animationended",function(){t.appeared=!0}):this.appeared=!0}},Object.defineProperty(e.prototype,"hidden",{get:function(){return this.getPropertyValue("hidden")},set:function(t){t=M.toBoolean(t),this.setPropertyValue("hidden",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this._bbox},enumerable:!0,configurable:!0}),e}(a.b);x.b.registeredClasses.Sprite=L},function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"d",function(){return l}),i.d(e,"c",function(){return h}),i.d(e,"b",function(){return p}),i.d(e,"e",function(){return d});var n=i(0),r=i(7),o=i(57),a=i(16),s=i(5),u=function(){function t(t,e,i){this._array=t,this._start=e,this._end=i}return t.prototype.iterator=function(){var t=this;return function(e){if(t._start!==t._end)if(t._start<t._end)for(var i=t._start;i<t._end&&e(t._array[i]);++i);else for(i=t._start-1;i>=t._end&&e(t._array[i]);--i);}},t.prototype.backwards=function(){return new t(this._array,this._end,this._start)},t.prototype.range=function(e,i){if(e<=i){if(this._start===this._end)return this;if(this._start<this._end){var n=i-e;return e=Math.max(this._start+e,this._start),i=Math.min(e+n,this._end),new t(this._array,e,i)}n=i-e;return e=Math.max(this._start-e,this._end),i=Math.max(e-n,this._end),new t(this._array,e,i)}throw new Error("Start index must be lower than end index")},t}(),l=function(t){function e(e,i,n){var r=t.call(this,[e.events.on("inserted",function(t){var i=t.newValue,n=r._getKey(i),o=0;s.eachContinue(e.iterator(),function(t){return t!==i&&(r._getKey(t)===n&&++o,!0)}),r._insert(i,n,o)},void 0,!1),e.events.on("removed",function(t){r._remove(t.oldValue)},void 0,!1)])||this;return r._keys=[],r._groups={},r._getKey=i,r._sort=n,s.each(e.iterator(),function(t){r._insert(t,i(t))}),r}return n.c(e,t),e.prototype._insert=function(t,e,i){if(null==this._groups[e]){this._groups[e]=[];var n=a.getSortedIndex(this._keys,this._sort,e),r=n.found,o=n.index;if(r)throw new Error("Key already exists: "+e);a.insertIndex(this._keys,o,e)}null==i?this._groups[e].push(t):a.insertIndex(this._groups[e],i,t)},e.prototype._remove=function(t){var e=this._getKey(t),i=this._groups[e];if(null!=i&&(a.remove(i,t),0===i.length)){delete this._groups[e];var n=a.getSortedIndex(this._keys,this._sort,e),r=n.found,o=n.index;if(!r)throw new Error("Key doesn't exist: "+e);a.removeIndex(this._keys,o)}},e.prototype.iterator=function(){var t=this;return s.flatten(s.map(s.fromArray(this._keys),function(e){return s.fromArray(t._groups[e])}))},e}(r.c),h=function(t){function e(e){var i=e.events.on("removed",function(t){t.oldValue.dispose()},void 0,!1);return t.call(this,function(){i.dispose(),s.each(e.iterator(),function(t){t.dispose()})})||this}return n.c(e,t),e}(r.b);function c(t,e){if(!(t>=0&&t<e))throw new Error("Index out of bounds: "+t)}var p=function(){function t(t){void 0===t&&(t=[]),this.events=new o.a,this._values=t}return Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),t.prototype.contains=function(t){return-1!==this._values.indexOf(t)},t.prototype.removeValue=function(t){for(var e=0,i=this._values.length;e<i;)this._values[e]===t?(this.removeIndex(e),--i):++e},t.prototype.indexOf=function(t){return a.indexOf(this._values,t)},Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.hasIndex=function(t){return t>=0&&t<this._values.length},t.prototype.getIndex=function(t){return this._values[t]},t.prototype.setIndex=function(t,e){c(t,this._values.length);var i=this._values[t];return i!==e&&(this._values[t]=e,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:t,oldValue:i,newValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:e})),i},t.prototype.insertIndex=function(t,e){c(t,this._values.length+1),a.insertIndex(this._values,t,e),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:t,newValue:e}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:e})}
20,t.prototype._sortQuicksort=function(t,e,i){if(t<e){var n=this._sortPartition(t,e,i);this._sortQuicksort(t,n,i),this._sortQuicksort(n+1,e,i)}},t.prototype._sortPartition=function(t,e,i){for(var n=this._values,r=n[t],o=t-1,a=e+1;;){do{++o}while(i(n[o],r)<0);do{--a}while(i(n[a],r)>0);if(o>=a)return a;this.swap(o,a)}},t.prototype.sort=function(t){this._sortQuicksort(0,this._values.length-1,t)},t.prototype.swap=function(t,e){var i=this._values.length;if(c(t,i),c(e,i),t!==e){var n=this._values[t],r=this._values[e];this._values[t]=r,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:t,oldValue:n,newValue:r}),this._values[e]=n,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:e,oldValue:r,newValue:n})}},t.prototype.removeIndex=function(t){c(t,this._values.length);var e=this._values[t];return a.removeIndex(this._values,t),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e}),e},t.prototype.moveValue=function(t,e){var i=this.indexOf(t);if(-1!==i){var n=this._values[i];a.removeIndex(this._values,i),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:i,oldValue:n})}null==e?(e=this._values.length,this._values.push(t)):a.insertIndex(this._values,e,t),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),-1===i&&this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t})},t.prototype.push=function(t){var e=this._values.push(t)-1;return this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t}),t},t.prototype.unshift=function(t){return this.insertIndex(0,t)},t.prototype.pushAll=function(t){var e=this;a.each(t,function(t){e.push(t)})},t.prototype.copyFrom=function(t){this.pushAll(t._values)},t.prototype.pop=function(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)},t.prototype.shift=function(){return this._values.length?this.removeIndex(0):void 0},t.prototype.setAll=function(t){var e=this,i=a.copy(this._values);this._values.length=0,a.each(t,function(t){e._values.push(t)}),this.events.isEnabled("setAll")&&this.events.dispatchImmediately("setAll",{type:"setAll",target:this,oldArray:i,newArray:this._values}),this.events.isEnabled("removed")&&a.each(i,function(t){e.events.dispatchImmediately("removed",{type:"removed",target:e,oldValue:t})}),this.events.isEnabled("inserted")&&a.each(this._values,function(t){e.events.dispatchImmediately("inserted",{type:"inserted",target:e,newValue:t})})},t.prototype.clear=function(){this.setAll([])},t.prototype.iterator=function(){return s.fromArray(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return n.d(this,function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:return e<t?[4,this._values[e]]:[3,4];case 2:i.sent(),i.label=3;case 3:return++e,[3,1];case 4:return[2]}})},t.prototype.each=function(t){a.each(this._values,t)},t.prototype.range=function(t,e){if(t<=e){var i=e-t;return t=Math.max(t,0),e=Math.min(t+i,this._values.length),new u(this._values,t,e)}throw new Error("Start index must be lower than end index")},t.prototype.backwards=function(){return new u(this._values,this._values.length,0)},t}(),d=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return n.c(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;s.each(t.iterator(),function(t){e.push(t.clone())})},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.push(e),e},e.prototype.clone=function(){for(var t=new e(this.template),i=this.values,n=i.length,r=0;r<n;++r)t.push(i[r].clone());return t},e}(p)}
20,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.polyline=function(t){for(var e=s(t[0]),i={x:0,y:0},r=0,o=t.length;r<o;r++){var a=t[r];n.getDistance(a,i)>.5&&(e+=s(a),i=a)}return e},e.moveTo=a,e.lineTo=s,e.quadraticCurveTo=function(t,e){return" Q"+n.round(e.x,4)+","+n.round(e.y,4)+" "+n.round(t.x,4)+","+n.round(t.y,4)},e.cubicCurveTo=function(t,e,i){return" C"+n.round(e.x,4)+","+n.round(e.y,4)+" "+n.round(i.x,4)+","+n.round(i.y,4)+" "+n.round(t.x,4)+","+n.round(t.y,4)},e.closePath=u,e.arcTo=l,e.arc=function(t,e,i,o,u,c,p){if(0==e)return"";r.isNumber(o)||(o=0);if(0==i&&o<=0)return"";if(i<o){var d=i;i=o,o=d,r.isNumber(u)&&(u=u/o*i)}360==(e=n.min(e,360))&&(c=0,p=0);var f=t+e,g=n.sin(n.min(e,45)/2);u=r.isNumber(u)?u:i,c=c||0,p=r.isNumber(p)?p:c;var y=u/i*o,m=u/i*c,b=u/i*p;c=n.fitToRange(c,0,(i-o)/2),m=n.fitToRange(m,0,(u-y)/2),p=n.fitToRange(p,0,(i-o)/2),b=n.fitToRange(b,0,(u-y)/2),c=n.round(n.fitToRange(c,0,i*g),4),m=n.round(n.fitToRange(m,0,u*g),4),p=n.round(n.fitToRange(p,0,o*g),4),b=n.round(n.fitToRange(b,0,y*g),4);var v=Math.asin(c/i/2)*n.DEGREES*2,_=Math.asin(m/u/2)*n.DEGREES*2;o<p&&(o=p);y<b&&(y=b);var x=Math.asin(p/o/2)*n.DEGREES*2,P=Math.asin(b/y/2)*n.DEGREES*2;r.isNumber(x)||(x=0);r.isNumber(P)||(P=0);var w=t+e/2,O={x:n.round(n.cos(w)*o,4),y:n.sin(w)*y},S={x:n.cos(t)*(o+p),y:n.sin(t)*(y+b)},k={x:n.cos(t)*(i-c),y:n.sin(t)*(u-m)},T={x:n.cos(f)*(i-c),y:n.sin(f)*(u-m)},C={x:n.cos(f)*(o+p),y:n.sin(f)*(y+b)},V={x:n.cos(t+v)*i,y:n.sin(t+_)*u},I={x:n.cos(f-x)*o,y:n.sin(f-P)*y};p+=p*n.sin(x/2),b+=b*n.sin(P/2),x>(f-t)/2&&(I=O);var j="";360==e?j=a(k):(j=a(S),j+=s(k),j+=h(V,c,m,!0));j+=l(t+v,e-2*v,i,u),r.isNumber(o)&&0!=o?(360==e&&0==c?j+=a(C):(j+=h(T,c,m,!0),j+=s(C),j+=h(I,p,b,!0)),j+=l(f-x,-(e-2*x),o,y),(e<360||c>0)&&(j+=h(S,p,b,!0)),j+=s(S)):(j+=h(T,c,m,!0),e<360&&(j+=s(S)));return j},e.arcToPoint=h,e.rectangle=function(t,e,i,n){r.isNumber(i)||(i=0);r.isNumber(n)||(n=0);return a({x:i,y:n})+s({x:i+t,y:n})+s({x:i+t,y:n+e})+s({x:i,y:n+e})+" Z"},e.rectToPath=function(t,e){var i=",",n=" L";return e?"M"+t.x+i+t.y+n+t.x+i+(t.y+t.height)+n+(t.x+t.width)+i+(t.y+t.height)+n+(t.x+t.width)+i+t.y+n+t.x+i+t.y:"M"+t.x+i+t.y+n+(t.x+t.width)+i+t.y+n+(t.x+t.width)+i+(t.y+t.height)+n+t.x+i+(t.y+t.height)+n+t.x+i+t.y},e.pathToPoints=function(t,e){var i=Object(o.b)().add("path").node;if(i.setAttribute("d",t),i.getPointAtLength&&i.getTotalLength){for(var n=i.getTotalLength(),r=[],a=0;a<e;a++){var s=i.getPointAtLength(a/e*n);r.push({x:s.x,y:s.y})}return r}i.remove()};var n=i(4),r=i(3),o=i(59);function a(t){return" M"+n.round(t.x,4)+","+n.round(t.y,4)+" "}function s(t){return" L"+n.round(t.x,4)+","+n.round(t.y,4)+" "}function u(){return" Z"}function l(t,e,i,o){if(0==e)return"";r.isNumber(o)||(o=i);var a="",u=",",l=Math.ceil(Math.abs(e)/180),h=1;e<0&&(h=0);var c=0,p=0,d=-n.cos(t)*i,f=-n.sin(t)*o;if(e<.5&&i>3e3){var g=t+e;return s({x:m=n.round(n.cos(g)*i,4),y:b=n.round(n.sin(g)*o,4)})}for(var y=0;y<l;y++){var m,b;g=t+e/l*(y+1);a+=" a"+i+u+o+u+0+u+0+u+h+u+(m=n.round(n.cos(g)*i+d-c,4))+u+(b=n.round(n.sin(g)*o+f-p,4)),c=m,p=b}return a}function h(t,e,i,r,o,a){if(0==e)return"";var s=",";return" A"+e+s+i+s+(a=a||0)+s+ +(o=Boolean(o))+s+ +(r=Boolean(r))+s+n.round(t.x,4)+s+n.round(t.y,4)}},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(21),o=i(14),a=function(t){function e(){var e=t.call(this)||this;return e._purposes={stroke:Object(o.c)("#e5e5e5"),fill:Object(o.c)("#f3f3f3"),primaryButton:Object(o.c)("#6794dc"),primaryButtonHover:Object(o.c)("#6771dc"),primaryButtonDown:Object(o.c)("#68dc75"),primaryButtonActive:Object(o.c)("#68dc75"),primaryButtonText:Object(o.c)("#FFFFFF"),primaryButtonStroke:Object(o.c)("#FFFFFF"),secondaryButton:Object(o.c)("#d9d9d9"),secondaryButtonHover:Object(o.c)("#d9d9d9").brighten(-.25),secondaryButtonDown:Object(o.c)("#d9d9d9").brighten(-.35),secondaryButtonActive:Object(o.c)("#d9d9d9").brighten(.35),secondaryButtonText:Object(o.c)("#000000"),secondaryButtonStroke:Object(o.c)("#FFFFFF"),grid:Object(o.c)("#000000"),background:Object(o.c)("#ffffff"),alternativeBackground:Object(o.c)("#000000"),text:Object(o.c)("#000000"),alternativeText:Object(o.c)("#FFFFFF"),disabledBackgroun
20d:Object(o.c)("#999999"),positive:Object(o.c)("#67dc75"),negative:Object(o.c)("#dc6788")},e.className="InterfaceColorSet",e.applyTheme(),e}return n.c(e,t),e.prototype.debug=function(){},e.prototype.getFor=function(t){return this._purposes[t]},e.prototype.setFor=function(t,e){this._purposes[t]=e},e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return a}),e.c=s,e.d=u,e.b=l,e.e=function(t){if(o.hasValue(t)&&!u(t))return l(t);return t};var n=i(1),r=i(91),o=i(3),a=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"rgb",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hex",{get:function(){return this._value?r.rgbToHex(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rgba",{get:function(){return this._value?r.rgbToRGBA(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return null!=this._value&&null!=this._value.a?this._value.a:1},set:function(t){this._value&&(this._value.a=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lightColor",{get:function(){return this._lightColor||(this._lightColor=new t({r:255,g:255,b:255})),this._lightColor},set:function(t){this._lightColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"darkColor",{get:function(){return this._darkColor||(this._darkColor=new t({r:0,g:0,b:0})),this._darkColor},set:function(t){this._darkColor=t},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.alpha<1?this.rgba:this.hex},t.prototype.lighten=function(e){return new t(r.lighten(this.rgb,e))},t.prototype.brighten=function(e){return new t(r.brighten(this.rgb,e))},t.prototype.saturate=function(e){return new t(r.saturate(this.rgb,e))},Object.defineProperty(t.prototype,"alternative",{get:function(){if(null!=this.rgb)return r.isLight(this.rgb)?this.darkColor:this.lightColor;throw new Error("Color does not exist")},enumerable:!0,configurable:!0}),t}();function s(t,e){if(!o.hasValue(t))return new a(void 0);if("string"==typeof t){var i="_color_"+t+"_"+(e||"1"),s=n.b.getCache(i);if(s)return new a({r:s.r,g:s.g,b:s.b,a:s.a});var u=r.rgb(t,e);return n.b.setCache(i,u),new a(u)}return t instanceof a?(o.hasValue(e)&&(t.alpha=e),t):new a(t)}function u(t){return t instanceof a}function l(t){return s(t)}},function(t,e,i){var n=i(20);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.indexOf=o,e.any=function(t,e){for(var i=t.length,n=0;n<i;++n)if(e(t[n]))return!0;return!1},e.map=function(t,e){for(var i=t.length,n=new Array(i),r=0;r<i;++r)n[r]=e(t[r],r);return n},e.each=function(t,e){for(var i=t.length,n=0;n<i;++n)e(t[n],n)},e.eachReverse=function(t,e){var i=t.length;for(;i--;)e(t[i],i)},e.eachContinue=function(t,e){for(var i=t.length,n=0;n<i&&e(t[n],n);++n);},e.shiftLeft=function(t,e){for(var i=t.length,n=e;n<i;++n)t[n-e]=t[n];t.length=i-e},e.last=function(t){var e=t.length;return e?t[e-1]:void 0},e.first=function(t){return t[0]},e.insert=a,e.setIndex=function(t,e,i){s(t,e),a(t,e,i)},e.pushAll=function(t,e){for(var i=e.length,n=0;n<i;++n)t.push(e[n])},e.remove=s,e.move=function(t,e,i){var n=o(t,e);-1!==n&&l(t,n);null==i?t.push(e):u(t,i,e)},e.add=function(t,e,i){r.isNumber(i)?0===i?t.unshift(e):t.splice(i,0,e):t.push(e)},e.replace=function(t,e,i){var n=t.indexOf(e);-1!==n&&t.splice(n,1);r.isNumber(i)?t.splice(i,0,e):t.push(e)},e.toArray=function(t){return Array.isArray(t)?t:[t]},e.has=function(t,e){return-1!==o(t,e)},e.copy=function(t){for(var e=t.length,i=new Array(e),n=0;n<e;++n)i[n]=t[n];return i},e.slice=function(t,e,i){void 0===i&&(i=t.length);for(var n=new Array(i-e),r=e;r<i;++r)n[r-e]=t[r];return n},e.insertIndex=u,e.removeIndex=l,e.getSortedIndex=function(t,e,i){var n=0,r=t.length,o=!1;for(;n<r;){var a=n+r>>1,s=e(i,t[a]);s<0?r=a:0===s?(o=!0,n=a+1):n=a+1}return{found:o,index:o?n-1:n}},e.findIndex=h,e.find=function(t,e){var i=h(t,e);if(-1!==i)return t[i]};var n=i(4),r=i(3);function o(t,e){for(var i=t.length,n=0;n<i;++n)if(t[n]===e)return n;return-1}function a(t,e,i){i=n.fitToRange(i,0,t.length),t.splice(i,0,e)}function s(t,e){var i=!1,n=t.indexOf(e);if(-1!==n){i=!0,t.splice(n,1);for(var r=t.length;n<r;)t[n]===e?(t.splice(n,1),--r):++n}return i}function u(t,e,i){t.splice(e,0,i)}function l(t,e){t.splice(e,1)}function h(t,e){for(var i=t.length,n=0;n<i;++n)if(e(t[n],n))return n;return-1}},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)}
20,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.entries=function(t){return function(e){for(var i in t)if(s(t,i)&&!e([i,t[i]]))break}},e.keys=o,e.keysOrdered=a,e.hasKey=s,e.getKey=function(t,e){return t[e]},e.eachContinue=u,e.each=function(t,e){u(t,function(t,i){return e(t,i),!0})},e.eachOrdered=function(t,e,i){n.each(a(t,i),function(i){e(i,t[i])})},e.copy=function(t){return Object.assign({},t)},e.merge=function(t,e){return Object.assign({},t,e)},e.copyProperties=l,e.softCopyProperties=function(t,e,i){n.each(i,function(i){r.hasValue(t[i])&&!r.hasValue(e[i])&&(e[i]=t[i])})},e.forceCopyProperties=function(t,e,i){n.each(i,function(i){e[i]=t[i]})},e.copyAllProperties=function(t,e){l(t,e,o(t))};var n=i(16),r=i(3);function o(t){var e=[];for(var i in t)s(t,i)&&e.push(i);return e}function a(t,e){return o(t).sort(e)}function s(t,e){return{}.hasOwnProperty.call(t,e)}function u(t,e){for(var i in t)if(s(t,i)&&!e(i,t[i]))break}function l(t,e,i){n.each(i,function(i){r.hasValue(t[i])&&(e[i]=t[i])})}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){"use strict";i.d(e,"a",function(){return y}),i.d(e,"b",function(){return m});var n=i(0),r=i(11),o=i(26),a=i(7),s=i(57),u=i(28),l=i(14),h=i(8),c=i(1),p=i(154),d=i(16),f=i(18),g=i(3),y=function(){function t(){this._disposed=!1,this._disposers=[],this.className="BaseObject"}return t.prototype.debug=function(){},Object.defineProperty(t.prototype,"uid",{get:function(){return this._uid||(this._uid=c.b.getUniqueId(),c.b.map.setKey(this._uid,this)),this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new o.a),this._map},enumerable:!0,configurable:!0}),t.prototype.applyTheme=function(){var t=this;if(c.b){var e=this.getCurrentThemes();e&&d.each(e,function(e,i){e(t)})}},Object.defineProperty(t.prototype,"themes",{get:function(){return this._themes},set:function(t){this._themes=t},enumerable:!0,configurable:!0}),t.prototype.getCurrentThemes=function(){return this.themes||c.b.themes},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;){t.shift().dispose()}this.clearCache(),this.clonedFrom&&this.clonedFrom.clones.removeValue(this);var e=this._uid;null!=e&&c.b.map.removeKey(e)}},t.prototype.addDisposer=function(t){this._disposers.push(t)},t.prototype.removeDispose=function(t){if(!this._disposed){var e=d.indexOf(this._disposers,t);e>-1&&this._disposers.splice(e,1)}t.dispose()},t.prototype.clone=function(t){t||(t="clone-"+c.b.getUniqueId());var e=new this.constructor;return e.cloneId=t,e.copyFrom(this),e},Object.defineProperty(t.prototype,"clones",{get:function(){return this._clones||(this._clones=new r.b),this._clones},enumerable:!0,configurable:!0}),t.prototype.copyFrom=function(t){t.clones.moveValue(this),this.clonedFrom=t},Object.defineProperty(t.prototype,"className",{get:function(){return this._className},set:function(t){this._className=t},enumerable:!0,configurable:!0}),t.prototype.setCache=function(t,e,i){p.b.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),p.b.get(this.uid,t,e)},t.prototype.clearCache=function(){p.b.clear(this.uid)},t.prototype.setTimeout=function(t,e){var i=this,n=setTimeout(function(){i.removeDispose(r),t()},e),r=new a.b(function(){clearTimeout(n)});return this._disposers.push(r),r},t.prototype.setInterval=function(t,e){var i=this,n=setInterval(function(){i.removeDispose(r),t()},e),r=new a.b(function(){clearTimeout(n)});return this._disposers.push(r),r},Object.defineProperty(t.prototype,"config",{set:function(t){try{this.processConfig(t)}catch(t){this.raiseCriticalError(t)}},enumerable:!0,configurable:!0}),t.prototype.processConfig=function(e){var i=this;if(e){var n=this;f.eachOrdered(e,function(e,a){var c,p=a;if("callback"==e&&"function"==typeof a&&a.call(n),i.hasProperty(e))if(g.isObject(p)&&g.hasValue(p.type)&&(c=i.createClassInstance(p.type))?n[e]=c:c=n[e],c instanceof u.a)i.processAdapters(c,p);else if(c instanceof s.a)i.processEvents(c,p);else if(i.asIs(e))n[e]=p;else if(p instanceof t)n[e]=p;else if(c instanceof t)c.config=p;else if(c instanceof r.e)if(g.isArray(p))for(d.each(p,function(e,n){var r,o=i.getConfigEntryType(e);if(c.hasIndex(n)&&!e.forceCreate)r=c.getIndex(n);else{if(e instanceof t)return void c.push(e);r=o?c.create(o):c.create()}g.isObject(e)&&(r instanceof t?r.config=e:g.isObject(r)&&g.isObject(e)?f.copyAllProperties(e,r):c.setIndex(c.indexOf(r),e))});p.length>c.length;)c.pop();else g.isObject(p)&&(p instanceof t?c.template=p:c.template instanceof t?c.template.config=p:f.each(p,function(e,n){var a=c.template[e];a instanceof u.a?i.processAdapters(a,n):a instanceof s.a?i.processEvents(a,n):a instanceof o.c?i.processDictionaryTemplate(a,n):c.template[e]instanceof t?c.template[e].config=n:g.isObject(n)&&g.hasValue(n.type)?(a=i.createClassInstance(n.type))?(a instanceof t&&(a.config=n),c.template[e]=a):c.template[e]=n:a instanceof r.b?i.processList(n,a):c.template[e]=i.maybeColorOrPercent(n)}));
20else c instanceof r.b?i.processList(p,c):c instanceof o.c?i.processDictionaryTemplate(c,p):c instanceof o.a?i.processDictionary(c,p):c instanceof l.a||c instanceof h.a?n[e]=i.maybeColorOrPercent(p):g.isObject(c)&&g.isObject(p)?f.copyAllProperties(p,c):(p=i.maybeColorOrPercent(p),n[e]=p)},this.configOrder)}},t.prototype.maybeColorOrPercent=function(t){if(g.isString(t)){if(t.match(/^[0-9.\-]+\%$/))return Object(h.c)(g.toNumber(t));if(t.match(/^\#[0-9abcdef]{3,}$/i))return Object(l.c)(t)}return t},t.prototype.processAdapters=function(t,e){var i=this;g.isObject(e)?f.each(e,function(e,i){t.has(e,i)||t.add(e,i)}):g.isArray(e)&&d.each(e,function(e,n){t.add(e.type,e.callback,e.priority||0,i)})},t.prototype.processEvents=function(t,e){var i=this;g.isObject(e)?f.each(e,function(e,i){t.has(e,i)||t.on(e,i)}):g.isArray(e)&&d.each(e,function(e,n){t.on(e.type,e.callback,i)})},t.prototype.processDictionaryTemplate=function(e,i){g.isObject(i)&&f.each(i,function(i,n){var r;(r="template"==i?e.template:e.hasKey(i)?e.getKey(i):e.create(i))instanceof t?r.config=n:g.isObject(r)&&g.isObject(n)?f.copyAllProperties(n,r):r.setKey(i,n)})},t.prototype.processDictionary=function(t,e){g.isObject(e)&&f.each(e,function(e,i){t.setKey(e,i)})},t.prototype.processList=function(e,i){var n=this;for(g.isArray(e)||(e=[e]),d.each(e,function(e,r){if(g.isObject(e)){var o=void 0;if(i.hasIndex(r)&&!e.forceCreate)o=i.getIndex(r);else{if(e instanceof t)return void i.push(e);o=n.createEntryInstance(e),i.push(o)}o instanceof t&&(o.config=e)}else i.hasIndex(r)?i.setIndex(r,e):i.push(e)});e.length>i.length;)i.pop()},t.prototype.configOrder=function(t,e){return t==e?0:"language"==t?-1:"language"==e?1:0},t.prototype.asIs=function(t){return-1!=d.indexOf(["locale"],t)},t.prototype.createClassInstance=function(t){if(g.hasValue(c.b.registeredClasses[t]))return new c.b.registeredClasses[t]},t.prototype.createEntryInstance=function(t){var e;return g.hasValue(t.type)&&(e=this.createClassInstance(t.type)),e||t},t.prototype.getConfigEntryType=function(t){if(g.hasValue(t.type)){if(g.hasValue(c.b.registeredClasses[t.type]))return c.b.registeredClasses[t.type];throw Error('Invalid type: "'+t.type+'".')}},t.prototype.hasProperty=function(t){return t in this},t}(),m=function(t){function e(){var e=t.call(this)||this;return e.events=new s.a,e.className="BaseObjectEvents",e._disposers.push(e.events),e}return n.c(e,t),e.prototype.dispatch=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatch(t,{type:t,target:this})):this.events.dispatch(t,{type:t,target:this}))},e.prototype.dispatchImmediately=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatchImmediately(t,e)):this.events.dispatchImmediately(t,{type:t,target:this}))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.events.copyFrom(e.events)},e}(y)},function(t,e,i){var n=i(134)("wks"),r=i(78),o=i(17).Symbol,a="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=n},function(t,e,i){t.exports=!i(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,i){var n=i(15),r=i(276),o=i(47),a=Object.defineProperty;e.f=i(23)?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),r)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(49),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return h}),i.d(e,"c",function(){return c});var n=i(0),r=i(7),o=i(57),a=i(18),s=i(5),u=i(105),l=function(t){function e(e){var i=e.events.on("removed",function(t){t.oldValue.dispose()},void 0,!1);return t.call(this,function(){i.dispose(),s.each(e.iterator(),function(t){t[1].dispose()})})||this}return n.c(e,t),e}(r.b),h=function(){function t(){this.events=new o.a,this._dictionary={}}return t.prototype.hasKey=function(t){return a.hasKey(this._dictionary,t)},t.prototype.getKey=function(t){return this._dictionary[t]},t.prototype.insertKey=function(t,e){if(a.hasKey(this._dictionary,t))throw new Error("Ke
20y "+t+" already exists in dictionary");this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.setKey=function(t,e){if(a.hasKey(this._dictionary,t)){var i=this._dictionary[t];i!==e&&(this._dictionary[t]=e,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))}else this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.updateKey=function(t,e){if(!a.hasKey(this._dictionary,t))throw new Error("Key "+t+" doesn't exist in dictionary");var i=this._dictionary[t],n=e(i);i!==n&&(this._dictionary[t]=n,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:n}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))},t.prototype.removeKey=function(t){if(a.hasKey(this._dictionary,t)){var e=this._dictionary[t];delete this._dictionary[t],this.events.isEnabled("removeKey")&&this.events.dispatchImmediately("removeKey",{type:"removeKey",target:this,key:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e})}},t.prototype.insertKeyIfEmpty=function(t,e){return this.hasKey(t)||this.insertKey(t,e()),this.getKey(t)},t.prototype.clear=function(){var t=this;this.events.isEnabled("removed")&&a.each(this._dictionary,function(e,i){t.events.dispatchImmediately("removed",{type:"removed",target:t,oldValue:i})}),this._dictionary={},this.events.isEnabled("cleared")&&this.events.dispatchImmediately("cleared",{type:"cleared",target:this})},t.prototype.copyFrom=function(t){var e=this;s.each(t.iterator(),function(t){e.setKey(t[0],t[1])})},t.prototype.iterator=function(){return a.entries(this._dictionary)},t.prototype[Symbol.iterator]=function(){var t,e,i,r;return n.d(this,function(n){switch(n.label){case 0:for(e in t=[],this._dictionary)t.push(e);i=0,n.label=1;case 1:return i<t.length?(r=t[i],a.hasKey(this._dictionary,r)?[4,[r,this._dictionary[r]]]:[3,3]):[3,4];case 2:n.sent(),n.label=3;case 3:return i++,[3,1];case 4:return[2]}})},t.prototype.each=function(t){s.each(this.iterator(),function(e){var i=n.e(e,2),r=i[0],o=i[1];return t(r,o)})},t.prototype.sortedIterator=function(){return s.sort(this.iterator(),function(t,e){return u.order(t[0],e[0])})},t}(),c=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return n.c(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;s.each(t.iterator(),function(t){e.setKey(t[0],t[1].clone())})},e.prototype.create=function(t){var e=this;return this.insertKeyIfEmpty(t,function(){return e.template.clone()})},e}(h)},function(t,e,i){var n=i(48);t.exports=function(t){return Object(n(t))}},function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"c",function(){return h}),i.d(e,"a",function(){return c});var n=i(121),r=i(106),o=i(122),a=i(5),s=i(16),u=i(3),l=function(){function t(){this._callbackId=0,this._callbacks=new n.c(function(t,e){return o.a(r.order(t.priority,e.priority),r.order(t.id,e.id))})}return t.prototype.addAll=function(t,e,i,n,r){void 0===n&&(n=0),this._callbacks.insert({id:++this._callbackId,key:e,callback:i,priority:n,scope:r,type:t})},t.prototype.isEnabled=function(t,e){return this._callbacks.length>0},t.prototype.applyAll=function(t,e,i){var n=this._callbacks.values,r=n.length;if(0==r)return i;for(var o=0;o<r;++o){var a=n[o];a.key===e&&t instanceof a.type&&(i=a.callback.call(a.scope,i,t,e))}return i},t}(),h=new l,c=function(){function t(t){this._callbackId=0,this._callbacks=new n.c(function(t,e){return o.a(r.order(t.priority,e.priority),r.order(t.id,e.id))}),this.object=t,this.events=this._callbacks.events}
20return t.prototype.add=function(t,e,i,n){void 0===i&&(i=0),this._callbacks.insert({id:++this._callbackId,key:t,callback:e,priority:i,scope:n})},t.prototype.has=function(t,e,i,n){return void 0===i&&(i=0),!1},t.prototype.remove=function(t,e){var i=this;s.each(a.toArray(this._callbacks.iterator()),function(n){n.key!==t||u.isNumber(e)&&e!==n.priority||i._callbacks.remove(n)})},t.prototype.isEnabled=function(t){return this._callbacks.length>0||h.isEnabled(this.object,t)},t.prototype.apply=function(t,e){var i=this._callbacks.values,n=i.length;if(n>0)for(var r=0;r<n;++r){var o=i[r];o.key===t&&(e=o.callback.call(o.scope,e,this.object,t))}return e=h.applyAll(this.object,t,e)},t.prototype.keys=function(){return a.toArray(a.map(this._callbacks.iterator(),function(t){return t.key}))},t.prototype.copyFrom=function(t){var e=this;a.each(t._callbacks.iterator(),function(t){e.add(t.key,t.callback,t.priority,t.scope)})},t.prototype.clear=function(){this._callbacks.clear()},t}()},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(21),o=i(14),a=i(91),s=i(3),u=i(6),l=function(t){function e(){var e=t.call(this)||this;return e._list=[],e._currentStep=0,e._currentPass=0,e.baseColor=new o.a({r:103,g:183,b:220}),e.stepOptions={},e.passOptions={brighten:-.2},e.step=1,e.minColors=20,e.minLightness=.2,e.maxLightness=.9,e.shuffle=!1,e.wrap=!0,e.reuse=!1,e.saturation=1,e.className="ColorSet",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"list",{get:function(){return this._list||this.generate(this.minColors),this._list},set:function(t){this._list=t},enumerable:!0,configurable:!0}),e.prototype.next=function(){this.list.length<=this._currentStep&&(this.reuse&&0==this._currentPass&&this._list.length&&(this.minColors=this._list.length),this.generate(this.minColors));var t=this.list[this._currentStep];return this._currentStep+=this.step,t.saturate(this.saturation)},e.prototype.getIndex=function(t){return this.list.length<=t?(this.reuse&&0==this._currentPass&&this._list.length&&(this.minColors=this._list.length),this.generate(this.minColors),this.getIndex(t)):this.list[t].saturate(this.saturation)},e.prototype.reset=function(){this._currentStep=0},e.prototype.generate=function(t){var e=this.currentColor,i=a.rgbToHsl(s.getValue(e.rgb)),n=s.hasValue(this.stepOptions.hue)?this.stepOptions.hue:1/t,r={brighten:0,lighten:0,hue:i.h,lightness:i.l,saturation:i.s},l=[];if(this.reuse)for(var h=0;h<t;h++)l.push(a.rgbToHsl(s.getValue(this._list[h].rgb)).h);else for(h=0;h<t;h++){var c=i.h+n*h;this.wrap&&c>1&&(c-=1),l.push(c)}this.shuffle&&l.sort(function(t,e){return Math.random()-.5});for(h=0;h<t;h++){this.reuse?i=a.rgbToHsl(s.getValue(this._list[h].rgb)):i.h=l.shift(),this.applyStepOptions(i,r,h+1,this._currentPass);var p=Object(o.c)(a.hslToRgb(i)),d=(this.stepOptions.brighten||0)*(h+1)+(this.passOptions.brighten||0)*this._currentPass;0!=d&&(d=this.wrap?u.fitNumberRelative(d,this.minLightness,this.maxLightness):u.fitNumber(d,this.minLightness,this.maxLightness),p=p.brighten(d));var f=(this.stepOptions.lighten||0)*(h+1)+(this.passOptions.lighten||0)*this._currentPass;0!=f&&(f=this.wrap?u.fitNumberRelative(f,this.minLightness,this.maxLightness):u.fitNumber(f,this.minLightness,this.maxLightness),p=p.lighten(f)),this._list.push(p)}this._currentPass++},Object.defineProperty(e.prototype,"currentColor",{get:function(){return 0==this._list.length?this.baseColor.saturate(this.saturation):this._list[this._list.length-1].saturate(this.saturation)},enumerable:!0,configurable:!0}),e.prototype.applyStepOptions=function(t,e,i,n){t.l=e.lightness+(this.stepOptions.lightness||0)*i+(this.passOptions.lightness||0)*n,this.wrap?(t.l>1?t.l=t.l-Math.floor(t.l):t.l<0&&(t.l=-(t.l-Math.floor(t.l))),t.l=u.fitNumberRelative(t.l,this.minLightness,this.maxLightness)):(t.l>1?t.l=1:t.l<0&&(t.l=0),t.l=u.fitNumber(t.l,this.minLightness,this.maxLightness))},e.prototype.processConfig=function(e){if(e&&s.hasValue(e.list)&&s.isArray(e.list))for(var i=0,n=e.list.length;i<n;i++)e.list[i]instanceof o.a||(e.list[i]=Object(o.c)(e.list[i]));t.prototype.processConfig.call(this,e)},e}(r.a)}
20,function(t,e,i){var n=i(24),r=i(77);t.exports=i(23)?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(17),r=i(31),o=i(38),a=i(78)("src"),s=Function.toString,u=(""+s).split("toString");i(52).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,i,s){var l="function"==typeof i;l&&(o(i,"name")||r(i,"name",e)),t[e]!==i&&(l&&(o(i,a)||r(i,a,t[e]?""+t[e]:u.join(String(e)))),t===n?t[e]=i:s?t[e]?t[e]=i:r(t,e,i):(delete t[e],r(t,e,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,i){var n=i(2),r=i(19),o=i(48),a=/"/g,s=function(t,e,i,n){var r=String(o(t)),s="<"+e;return""!==i&&(s+=" "+i+'="'+String(n).replace(a,""")+'"'),s+">"+r+"</"+e+">"};t.exports=function(t,e){var i={};i[t]=e(s),n(n.P+n.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",i)}},function(t,e,i){"use strict";i.d(e,"a",function(){return _}),e.b=P;var n=i(0),r=i(21),o=i(11),a=i(36),s=i(7),u=i(218),l=i(220),h=i(26),c=i(221),p=i(35),d=i(55),f=i(66),g=i(43),y=i(4),m=i(5),b=i(3),v=i(157),_=function(t){function e(){var e=t.call(this)||this;e._globalEventsAdded=!1,e._pointerEvents={pointerdown:"mousedown",pointerup:"mouseup",pointermove:"mousemove",pointercancel:"mouseup",pointerover:"mouseover",pointerout:"mouseout",wheel:"wheel"},e._usePointerEventsOnly=!1,e._passiveSupported=!1,e._delayedEvents={out:[]},e.overObjects=new o.b,e.downObjects=new o.b,e.trackedObjects=new o.b,e.transformedObjects=new o.b,e.pointers=new h.a,e.inertiaOptions=new h.a,e.hitOptions={doubleHitTime:300,hitTolerance:10,noFocus:!0},e.hoverOptions={touchOutBehavior:"leave",touchOutDelay:1e3},e.swipeOptions={time:500,verticalThreshold:75,horizontalThreshold:30},e.keyboardOptions={speed:.1,accelleration:1.2,accellerationDelay:2e3},e.className="Interaction",e.body=e.getInteraction(document.body),e._disposers.push(e.body),window.hasOwnProperty("PointerEvent")?(e._pointerEvents.pointerdown="pointerdown",e._pointerEvents.pointerup="pointerup",e._pointerEvents.pointermove="pointermove",e._pointerEvents.pointercancel="pointercancel",e._pointerEvents.pointerover="pointerover",e._pointerEvents.pointerout="pointerout"):window.hasOwnProperty("MSPointerEvent")&&(e._pointerEvents.pointerdown="MSPointerDown",e._pointerEvents.pointerup="MSPointerUp",e._pointerEvents.pointermove="MSPointerMove",e._pointerEvents.pointercancel="MSPointerUp",e._pointerEvents.pointerover="MSPointerOver",e._pointerEvents.pointerout="MSPointerOut"),"onwheel"in document.createElement("div")?e._pointerEvents.wheel="wheel":b.hasValue(document.onmousewheel)?e._pointerEvents.wheel="mousewheel":e._pointerEvents.wheel="DOMMouseScroll",e.inertiaOptions.setKey("move",{time:100,duration:500,factor:1,easing:g.polyOut3}),e.inertiaOptions.setKey("resize",{time:100,duration:500,factor:1,easing:g.polyOut3});try{var i=e,n=Object.defineProperty({},"passive",{get:function(){i._passiveSupported=!0}
20});window.addEventListener("test",n,n),window.removeEventListener("test",n,n)}catch(t){e._passiveSupported=!1}return e.applyTheme(),e}return n.c(e,t),e.prototype.debug=function(){},e.prototype.addGlobalEvents=function(){var t=this;this._globalEventsAdded||(this._disposers.push(Object(p.g)(document,this._pointerEvents.pointerdown,function(e){t.handleGlobalPointerDown(e)})),this._disposers.push(Object(p.g)(document,this._pointerEvents.pointermove,function(e){t.handleGlobalPointerMove(e)})),this._disposers.push(Object(p.g)(document,this._pointerEvents.pointerup,function(e){t.handleGlobalPointerUp(e)})),this._disposers.push(Object(p.g)(document,this._pointerEvents.pointercancel,function(e){t.handleGlobalPointerUp(e,!0)})),this._usePointerEventsOnly||(this._disposers.push(Object(p.g)(document,"touchstart",function(e){t.handleGlobalTouchStart(e)})),this._disposers.push(Object(p.g)(document,"touchmove",function(e){t.handleGlobalTouchMove(e)})),this._disposers.push(Object(p.g)(document,"touchend",function(e){t.handleGlobalTouchEnd(e)}))),this._disposers.push(Object(p.g)(document,"keydown",function(e){t.handleGlobalKeyDown(e)})),this._disposers.push(Object(p.g)(document,"keyup",function(e){t.handleGlobalKeyUp(e)})),this._globalEventsAdded=!0)},e.prototype.processClickable=function(t){this.processTouchable(t)},e.prototype.processHoverable=function(t){var e=this;if(t.hoverable||t.trackable)this.addGlobalEvents(),this.applyCursorOverStyle(t),t.eventDisposers.hasKey("hoverable")||t.eventDisposers.setKey("hoverable",new s.c([Object(p.g)(t.element,this._pointerEvents.pointerout,function(i){return e.handlePointerOut(t,i)}),Object(p.g)(t.element,this._pointerEvents.pointerover,function(i){return e.handlePointerOver(t,i)})])),t.trackable;else{var i=t.eventDisposers.getKey("hoverable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("hoverable"))}this.processTouchable(t)},e.prototype.processMovable=function(t){(t.draggable||t.swipeable||t.trackable||t.resizable)&&(this.isGlobalElement(t)||this.prepElement(t),this.applyCursorOverStyle(t)),this.processTouchable(t)},e.prototype.processTrackable=function(t){this.processHoverable(t),this.processMovable(t),t.trackable?this.trackedObjects.moveValue(t):this.trackedObjects.removeValue(t)},e.prototype.processDraggable=function(t){this.processMovable(t)},e.prototype.processSwipeable=function(t){this.processMovable(t)},e.prototype.processResizable=function(t){this.processMovable(t)},e.prototype.processWheelable=function(t){var e=this;if(t.wheelable)t.eventDisposers.hasKey("wheelable")||t.eventDisposers.setKey("wheelable",new s.c([Object(p.g)(t.element,this._pointerEvents.wheel,function(i){return e.handleMouseWheel(t,i)}),t.events.on("out",function(i){t.wheelable&&e.unlockWheel()}),t.events.on("over",function(i){t.wheelable&&e.lockWheel()})]));else{var i=t.eventDisposers.getKey("wheelable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("wheelable"))}},e.prototype.processFocusable=function(t){var e=this;if(!0===t.focusable&&t.tabindex>-1)t.eventDisposers.hasKey("focusable")||t.eventDisposers.setKey("focusable",new s.c([Object(p.g)(t.element,"focus",function(i){return e.handleFocus(t,i)}),Object(p.g)(t.element,"blur",function(i){return e.handleBlur(t,i)}),Object(p.g)(t.element,this._pointerEvents.pointerdown,function(i){return e.handleFocusBlur(t,i)}),Object(p.g)(t.element,"touchstart",function(i){return e.handleFocusBlur(t,i)},!!this._passiveSupported&&{passive:!1})]));else{var i=t.eventDisposers.getKey("focusable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("focusable"))}},e.prototype.processTouchable=function(t){var e=this;if(t.clickable||t.hoverable||t.trackable||t.draggable||t.swipeable||t.resizable)this.addGlobalEvents(),t.eventDisposers.hasKey("touchable")||t.eventDisposers.setKey("touchable",new s.c([Object(p.g)(t.element,this._pointerEvents.pointerdown,function(i){return e.handlePointerDown(t,i)}),Object(p.g)(t.element,"touchstart",function(i){return e.handleTouchDown(t,i)},!!this._passiveSupported&&{passive:!1})]));else{var i=t.eventDisposers.getKey("touchable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("touchable"))}},e.prototype.handleFocus=function(t,e){if(t.focusable){if(t.isFocused=!0,t.events.isEnabled("focus")&&!f.b.isPaused){var i={type:"focus",target:t,event:e};t.events.dispatchImmediately("focus",i)}}else e.preventDefault()},e.prototype.handleFocusBlur=function(t,e){!1!==t.focusable&&this.getHitOption(t,"noFocus")&&t.events.once("focus",p.h)},e.prototype.handleBlur=function(t,e){if(t.focusable){if(t.isFocused=!1,t.events.isEnabled("blur")&&!f.b.isPaused){var i={type:"blur",target:t,event:e};t.events.dispatchImmediately("blur",i)}}else e.preventDefault()},e.prototype.handleGlobalKeyDown=function(t){if(this.focusedObject)if(d.b.isKey(t,"esc"))p.h();else if(this.focusedObject.draggable&&d.b.isKey(t,["up","down","left","right"])){t.preventDefault();var e=this.focusedObject;if(e.eventDisposers.hasKey("interactionKeyboardObject"))return;var i=new l.a(e,t);switch(e.eventDisposers.setKey("interactionKeyboardObject",i),d.b.getEventKey(t)){case"up":i.directionY=-1;break;case"down":i.directionY=1;break;case"left":i.directionX=-1;break;case"right":i.directionX=1}}},e.prototype.handleGlobalKeyUp=function(t){if(this.focusedObject){var e=this.focusedObject.eventDisposers.getKey("interactionKeyboardObject");null!=e&&(t.preventDefault(),e.dispose(),this.focusedObject.eventDisposers.removeKey("interactionKeyboardObject"))}},e.prototype.handleGlobalPointerMove=function(t){var e=this.getPointer(t);if(e.point=this.getPointerPoint(t),this.events.isEnabled("track")&&!f.b.isPaused){var i={type:"track",target:this,event:t,pointer:e};this.events.dispatchImmediately("track",i)}this.addBreadCrumb(e,e.point),this.handleGlobalMove(e,t)},e.prototype.handleGlobalPointerDown=function(t){this.processDelayed();var e=this.getPointer(t);if(this.events.isEnabled("down")&&!f.b.isPaused){var i={type:"down",target:this,event:t,pointer:e};this.events.dispatchImmediately("down",i)}},e.prototype.preventTouchAction=function(t){t.defaultPrevented||t.preventDefault()},e.prototype.handleGlobalPointerUp=function(t,e){void 0===e&&(e=!1);var i=this.getPointer(t);if(this.events.isEnabled("up")&&!f.b.isPaused){var n={type:"up",target:this,event:t,pointer:i};this.events.dispatchImmediately("up",n)}this.handleGlobalUp(i,t,e)},e.prototype.handleGlobalTouchMove=function(t){for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(i.point=this.getPointerPoint(t.changedTouches[e]),this.events.isEnabled("track")&&!f.b.isPaused){var n={type:"track",target:this,event:t,pointer:i};
20this.events.dispatchImmediately("track",n)}this.addBreadCrumb(i,i.point),this.handleGlobalMove(i,t)}},e.prototype.handleGlobalTouchStart=function(t){this.processDelayed();for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(!this._usePointerEventsOnly&&this.events.isEnabled("down")&&!f.b.isPaused){var n={type:"down",target:this,event:t,pointer:i};this.events.dispatchImmediately("down",n)}}},e.prototype.handleGlobalTouchEnd=function(t){for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(this.events.isEnabled("up")&&!f.b.isPaused){var n={type:"up",target:this,event:t,pointer:i};this.events.dispatchImmediately("up",n)}this.handleGlobalUp(i,t)}},e.prototype.handlePointerDown=function(t,e){var i=this.getPointer(e);!i.touch&&e.which>1||(i.button=e.which,this.resetPointer(i,e),this.handleDown(t,i,e))},e.prototype.handlePointerOver=function(t,e){var i=this.getPointer(e);this.handleOver(t,i,e)},e.prototype.handlePointerOut=function(t,e){var i=this.getPointer(e);this.handleOut(t,i,e)},e.prototype.handleMouseWheel=function(t,e){var i=this.getPointer(e);i.point=this.getPointerPoint(e);var n=0,r=0,o=1;if(1==e.deltaMode&&(o=50),!(e instanceof WheelEvent))throw new Error("Invalid event type");n=Math.round(e.deltaX)*o,r=Math.round(e.deltaY)*o,this.handleWheel(t,i,n,r,e)},e.prototype.handleTouchDown=function(t,e){this.maybePreventDefault(t,e);for(var i=0;i<e.changedTouches.length;i++){var n=this.getPointer(e.changedTouches[i]);this.resetPointer(n,e.changedTouches[i]),this.handleDown(t,n,e)}},e.prototype.handleHit=function(t,e,i){var n=v.getTime();if(t.lastHit&&t.lastHit>=n-this.getHitOption(t,"doubleHitTime")){if(n-t.lastHit<100)return;if(t.lastHit=void 0,t.lastHitPointer=void 0,t.events.isEnabled("doublehit")&&!f.b.isPaused){var r={type:"doublehit",target:t,point:e.point,event:i};t.events.dispatchImmediately("doublehit",r)}}else if(t.lastHit=n,t.lastHitPointer=e,3===e.button){if(t.events.isEnabled("rightclick")&&!f.b.isPaused){r={type:"rightclick",target:t,event:i};t.events.dispatchImmediately("rightclick",r)}}else if(t.events.isEnabled("hit")&&!f.b.isPaused){r={type:"hit",target:t,event:i,point:e.point};t.events.dispatchImmediately("hit",r)}},e.prototype.handleOver=function(t,e,i,n){if(void 0===n&&(n=!1),t.hoverable&&(this.processDelayed(),t.overPointers.moveValue(e),!t.isHover&&(t.isHover=!0,this.overObjects.moveValue(t),this.handleTrack(this.body,e,i,!0),t.events.isEnabled("over")&&!f.b.isPaused))){var r={type:"over",target:t,event:i,pointer:e};t.events.dispatchImmediately("over",r)}},e.prototype.handleOut=function(t,e,i,n,r){var o=this;if(void 0===n&&(n=!1),void 0===r&&(r=!1),t.hoverable&&(t.overPointers.removeValue(e),t.isHover&&(!t.hasDelayedOut||r))){if(n&&t.overPointers.length)return;if(e.touch&&!r&&!this.old(e)){var a=this.getHoverOption(t,"touchOutBehavior");if("leave"==a)return this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:v.getTime()+500}),void(t.hasDelayedOut=!0);if("delay"==a&&this.getHoverOption(t,"touchOutDelay"))return void this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:v.getTime()+500,timeout:this.setTimeout(function(){o.handleOut(t,e,i,!0)},this.getHoverOption(t,"touchOutDelay"))})}if(t.isHover=!1,this.overObjects.removeValue(t),t.events.isEnabled("out")&&!f.b.isPaused){var s={type:"out",target:t,event:i,pointer:e};t.events.dispatchImmediately("out",s)}t.overPointers.clear(),t.hasDelayedOut=!1}},e.prototype.processDelayed=function(){for(var t;t=this._delayedEvents.out.pop();)t.timeout&&t.timeout.dispose(),this.handleOut(t.io,t.pointer,t.event,!1,!0)},e.prototype.handleDown=function(t,e,i){if(this.maybePreventDefault(t,i),t.inert&&this.stopInertia(t),this.handleOver(t,e,i,!0),t.downPointers.moveValue(e),this.applyCursorDownStyle(t,e),t.isDown||(!1!==t.focusable&&this.getHitOption(t,"noFocus")&&this.focusedObject&&p.h(),t.isDown=!0,this.downObjects.moveValue(t),t.draggable&&this.processDragStart(t,e,i),t.resizable&&this.processResizeStart(t,e,i)),t.events.isEnabled("down")&&!f.b.isPaused){var n={type:"down",target:t,event:i,pointer:e};t.events.dispatchImmediately("down",n)}}
20,e.prototype.handleGlobalUp=function(t,e,i){var n=this;void 0===i&&(i=!1),m.each(this.downObjects.backwards().iterator(),function(r){r.downPointers.contains(t)&&n.handleUp(r,t,e,i)})},e.prototype.handleUp=function(t,e,i,n){if(void 0===n&&(n=!1),this.restoreCursorDownStyle(t,e),t.downPointers.removeValue(e),this.handleOut(t,e,i,!0),t.isDown){if(0==t.downPointers.length&&(t.isDown=!1,this.downObjects.removeValue(t)),t.events.isEnabled("up")&&!f.b.isPaused){var r={type:"up",target:t,event:i,pointer:e};t.events.dispatchImmediately("up",r)}n||(t.swipeable&&this.swiped(t,e)?this.handleSwipe(t,e,i):(t.clickable&&!this.moved(e,this.getHitOption(t,"hitTolerance"))&&this.handleHit(t,e,i),t.inert&&this.moved(e,this.getHitOption(t,"hitTolerance"))?this.handleInertia(t,e):t.draggable&&this.processDragStop(t,e,i),t.resizable&&this.processResizeStop(t,e,i)))}},e.prototype.maybePreventDefault=function(t,e){b.hasValue(e)&&(t.draggable||t.swipeable||t.trackable||t.resizable)&&!this.isGlobalElement(t)&&e.preventDefault()},e.prototype.handleGlobalMove=function(t,e){var i=this;t.touch||m.each(this.overObjects.backwards().iterator(),function(n){if(n.overPointers.contains(t)&&n.hoverable){var r=!1;n.element&&t.lastEvent&&p.i(n.element,t.lastEvent.target)||(r=!0),r&&i.handleOut(n,t,e,!0)}}),m.each(this.transformedObjects.backwards().iterator(),function(n){!n.downPointers.contains(t)||n.swipeable&&i.swiping(n,t)||!n.draggable&&!n.resizable||i.handleTransform(n,e)}),m.each(this.trackedObjects.backwards().iterator(),function(n){n.overPointers.contains(t)||i.handleTrack(n,t,e)})},e.prototype.handleTrack=function(t,e,i,n){if(void 0===n&&(n=!1),(n||this.moved(e,0))&&t.events.isEnabled("track")&&!f.b.isPaused){var r={type:"track",target:t,event:i,point:e.point,pointer:e};t.events.dispatchImmediately("track",r)}},e.prototype.handleSwipe=function(t,e,i){if(t.events.isEnabled("swipe")&&!f.b.isPaused){var n={type:"swipe",target:t,event:i};t.events.dispatchImmediately("swipe",n)}if(e.startPoint.x<e.point.x){if(t.events.isEnabled("swiperight")&&!f.b.isPaused){n={type:"swiperight",target:t,event:i};t.events.dispatchImmediately("swiperight",n)}}else if(t.events.isEnabled("swipeleft")&&!f.b.isPaused){n={type:"swipeleft",target:t,event:i};t.events.dispatchImmediately("swipeleft",n)}},e.prototype.handleWheel=function(t,e,i,n,r){var o={x:i,y:n};t.events.isEnabled("wheel")&&!f.b.isPaused&&t.events.dispatchImmediately("wheel",{type:"wheel",target:t,event:r,point:e.point,shift:o}),i<0?t.events.isEnabled("wheelleft")&&!f.b.isPaused&&t.events.dispatchImmediately("wheelleft",{type:"wheelleft",target:t,event:r,point:e.point,shift:o}):i>0?t.events.isEnabled("swiperight")&&!f.b.isPaused&&t.events.dispatchImmediately("wheelright",{type:"wheelright",target:t,event:r,point:e.point,shift:o}):n<0?t.events.isEnabled("wheelup")&&!f.b.isPaused&&t.events.dispatchImmediately("wheelup",{type:"wheelup",target:t,event:r,point:e.point,shift:o}):n>0&&t.events.isEnabled("wheeldown")&&!f.b.isPaused&&t.events.dispatchImmediately("wheeldown",{type:"wheeldown",target:t,event:r,point:e.point,shift:o})},e.prototype.handleInertia=function(t,e){t.draggable&&0===t.downPointers.length&&this.handleMoveInertia(t,e),t.resizable&&t.downPointers.length>1&&this.handleResizeInertia(t,e)},e.prototype.handleMoveInertia=function(t,e){var i=t,n={x:e.point.x,y:e.point.y},r={x:e.startPoint.x,y:e.startPoint.y},o=new c.a(i,"move",n,r),s=this.getTrailPoint(e,v.getTime()-this.getInertiaOption(t,"move","time"));if(void 0!==s){var u=this.getInertiaOption(t,"move","factor"),l=[{to:e.point.x+(e.point.x-s.point.x)*u,property:"x"},{to:e.point.y+(e.point.y-s.point.y)*u,property:"y"}],h=new a.a(o,l,this.getInertiaOption(t,"move","duration"),this.getInertiaOption(t,"move","easing")).start();this._disposers.push(h.events.on("animationended",function(t){o.done()})),t.inertias.setKey("move",o)}else this.processDragStop(t,e,e.lastUpEvent)},e.prototype.handleResizeInertia=function(t,e){},e.prototype.handleTransform=function(t,e){var i,n,r,o=t.downPointers.getIndex(0),a=null,s=null;o&&(a=o.point,s=o.startPoint),r=n={x:t.originalPosition.x,y:t.originalPosition.y};for(var u=!0,l=1;l<t.downPointers.length;l++){var h=t.downPointers.getIndex(l);if(s.x!=h.startPoint.x||s.y!=h.startPoint.y){u=!1,n=(i=h).point,r=i.startPoint;break}}var c=o&&this.moved(o,0);if(t.draggable&&o&&o.dragStartEvents&&o.dragStartEvents.length&&c&&t.events.isEnabled("dragstart")&&!f.b.isPaused&&t.events.dispatchImmediately("dragstart",o.dragStartEvents.shift()),u&&t.draggable)this.handleTransformMove(t,a,s,e,c);else{var p=i&&this.moved(i,0);t.draggable&&t.resizable?(this.handleTransformMove(t,a,s,e,c&&p),this.handleTransformResize(t,a,s,n,r,e,c&&p)):(t.draggable&&this.handleTransformMove(t,a,s,e,c),t.resizable&&this.handleTransformResize(t,a,s,n,r,e,c&&p))}}
20,e.prototype.handleTransformMove=function(t,e,i,n,r){if(r&&t.events.isEnabled("drag")&&!f.b.isPaused){var o={type:"drag",target:t,event:n,shift:{x:e.x-i.x,y:e.y-i.y},startPoint:i,point:e};t.events.dispatchImmediately("drag",o)}},e.prototype.handleTransformResize=function(t,e,i,n,r,o,a){if(t.events.isEnabled("resize")&&!f.b.isPaused){var s={type:"resize",target:t,event:o,scale:y.getScale(e,i,n,r),startPoint1:i,point1:e,startPoint2:r,point2:n};t.events.dispatchImmediately("resize",s)}},e.prototype.processDragStart=function(t,e,i){this.transformedObjects.moveValue(t);var n={type:"dragstart",target:t,event:i};e&&(e.dragTarget=t),e&&e.dragStartEvents?e.dragStartEvents.push(n):f.b.isPaused||t.dispatchImmediately("dragstart",n)},e.prototype.processDragStop=function(t,e,i){if(e||(e=this.getDragPointer(t)),e&&(e.dragTarget=void 0),this.transformedObjects.removeValue(t),(!e||this.moved(e,0))&&t.events.isEnabled("dragstop")&&!f.b.isPaused){var n={type:"dragstop",target:t};t.events.dispatchImmediately("dragstop",n)}},e.prototype.processResizeStart=function(t,e,i){this.transformedObjects.moveValue(t)},e.prototype.processResizeStop=function(t,e,i){this.transformedObjects.removeValue(t)},e.prototype.dragStart=function(t,e){(e||(e=this.getDragPointer(t)))&&this.handleDown(t,e,e.lastDownEvent)},e.prototype.dragStop=function(t,e){(e||(e=this.getDragPointer(t)))&&this.handleGlobalUp(e,e.lastUpEvent)},e.prototype.getDragPointer=function(t){return t?t.downPointers.getIndex(0):this.transformedObjects.length?this.getDragPointer(this.transformedObjects.getIndex(0)):void 0},e.prototype.getPointerId=function(t){return(b.hasValue(t.identifier)?""+t.identifier:b.hasValue(t.pointerId)?""+t.pointerId:"m").replace("-","")},e.prototype.getPointerPoint=function(t){return{x:t.clientX,y:t.clientY}},e.prototype.getPointer=function(t){var e,i=this.getPointerId(t),n=this.getPointerPoint(t);return this.pointers.hasKey(i)?(e=this.pointers.getKey(i)).touch=this.isPointerTouch(t):(e={id:i,touch:this.isPointerTouch(t),startPoint:n,startTime:v.getTime(),point:n,track:[],swipeCanceled:!1,dragStartEvents:[]},this.addBreadCrumb(e,n),this.pointers.setKey(i,e)),e.lastEvent=t,e},e.prototype.isPointerTouch=function(t){if("undefined"!=typeof Touch&&t instanceof Touch)return!0;if("undefined"!=typeof PointerEvent&&t instanceof PointerEvent&&b.hasValue(t.pointerType))switch(t.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(t instanceof MouseEvent)}else if(b.hasValue(t.type)&&t.type.match(/^mouse/))return!1;return!0},e.prototype.resetPointer=function(t,e){var i=this.getPointerPoint(e);t.startTime=v.getTime(),t.startPoint={x:i.x,y:i.y},t.point={x:i.x,y:i.y},t.track=[],t.swipeCanceled=!1},e.prototype.addBreadCrumb=function(t,e){t.track.push({timestamp:v.getTime(),point:e})},e.prototype.lockDocument=function(){this.prepElement(this.body)},e.prototype.unlockDocument=function(){0==this.transformedObjects.length&&this.restoreAllStyles(this.body)},e.prototype.lockElement=function(t){this.prepElement(t)},e.prototype.unlockElement=function(t){this.restoreAllStyles(t)},e.prototype.lockWheel=function(){window.addEventListener(this._pointerEvents.wheel,this.wheelLockEvent)},e.prototype.unlockWheel=function(){window.removeEventListener(this._pointerEvents.wheel,this.wheelLockEvent)},e.prototype.isLocalElement=function(t,e,i){var n=this.getCache("local_pointer_"+t.id);if(b.hasValue(n))return n;var r=document.elementFromPoint(t.point.x,t.point.y),o=r&&(e===r||p.i(e,r));return this.setCache("local_pointer_"+t.id+"_"+i,o,100),o},e.prototype.wheelLockEvent=function(t){return t.preventDefault(),!1},e.prototype.prepElement=function(t,e){var i=t.element;if(i){for(var n=["touchAction","webkitTouchAction","MozTouchAction","MSTouchAction","msTouchAction","oTouchAction","userSelect","webkitUserSelect","MozUserSelect","MSUserSelect","msUserSelect","oUserSelect","touchSelect","webkitTouchSelect","MozTouchSelect","MSTouchSelect","msTouchSelect","oTouchSelect","touchCallout","webkitTouchCallout","MozTouchCallout","MSTouchCallout","msTouchCallout","oTouchCallout","contentZooming","
20webkitContentZooming","MozContentZooming","MSContentZooming","msContentZooming","oContentZooming","userDrag","webkitUserDrag","MozUserDrag","MSUserDrag","msUserDrag","oUserDrag"],r=0;r<n.length;r++)n[r]in i.style&&this.setTemporaryStyle(t,n[r],"none");this.setTemporaryStyle(t,"tapHighlightColor","rgba(0, 0, 0, 0)")}},e.prototype.getHitOption=function(t,e){var i=t.hitOptions[e];return void 0===i&&(i=this.hitOptions[e]),i},e.prototype.getHoverOption=function(t,e){var i=t.hoverOptions[e];return void 0===i&&(i=this.hoverOptions[e]),i},e.prototype.getSwipeOption=function(t,e){var i=t.swipeOptions[e];return void 0===i&&(i=this.swipeOptions[e]),i},e.prototype.getKeyboardOption=function(t,e){var i=t.keyboardOptions[e];return void 0===i&&(i=this.keyboardOptions[e]),i},e.prototype.getInertiaOption=function(t,e,i){var n=t.inertiaOptions.getKey(e);return n&&b.hasValue(n[e])?n[e]:this.inertiaOptions.getKey(e)[i]},e.prototype.stopInertia=function(t){for(var e,i=["move","resize"],n=0;n<i.length;n++)if(e=i[n],t.inertias.hasKey(e)){var r=t.inertias.getKey(e);if(r){r.dispose();continue}}},e.prototype.swiping=function(t,e){var i=v.getTime();return!(e.swipeCanceled||!t.swipeable)&&(Math.abs(e.startPoint.y-e.point.y)<this.getSwipeOption(t,"verticalThreshold")&&e.startTime>i-this.getSwipeOption(t,"time"))},e.prototype.swiped=function(t,e){var i=v.getTime();return!e.swipeCanceled&&(Math.abs(e.startPoint.x-e.point.x)>this.getSwipeOption(t,"horizontalThreshold")&&Math.abs(e.startPoint.y-e.point.y)<this.getSwipeOption(t,"verticalThreshold")&&e.startTime>i-this.getSwipeOption(t,"time"))},e.prototype.applyCursorOverStyle=function(t){var e=t.cursorOptions;if(b.hasValue(e.overStyle))for(var i=0;i<e.overStyle.length;i++)p.r(t.element,e.overStyle[i].property,e.overStyle[i].value)},e.prototype.applyCursorDownStyle=function(t,e){if(!e.touch){var i=t.cursorOptions.downStyle;if(t.downPointers.contains(e)&&b.hasValue(i))for(var n=0;n<i.length;n++)this.setTemporaryStyle(this.body,i[n].property,i[n].value),this.setTemporaryStyle(t,i[n].property,i[n].value)}},e.prototype.restoreCursorDownStyle=function(t,e){if(!e.touch){var i=t.cursorOptions.downStyle;if(t.downPointers.contains(e)&&b.hasValue(i))for(var n=0;n<i.length;n++)this.restoreStyle(this.body,i[n].property),this.restoreStyle(t,i[n].property)}},e.prototype.setGlobalStyle=function(t){for(var e=P().body,i=b.isArray(t)?t:[t],n=0;n<i.length;n++)this.setTemporaryStyle(e,i[n].property,i[n].value)},e.prototype.restoreGlobalStyle=function(t){for(var e=P().body,i=b.isArray(t)?t:[t],n=0;n<i.length;n++)this.restoreStyle(e,i[n].property)},e.prototype.isGlobalElement=function(t){return document.body===t.element},e.prototype.moved=function(t,e,i){void 0===i&&(i=300);var n=this.getShift(t);return Math.abs(n.x)>e||Math.abs(n.y)>e},e.prototype.old=function(t,e){return void 0===e&&(e=300),v.getTime()-t.startTime>e},e.prototype.getShift=function(t){return{x:t.startPoint.x-t.point.x,y:t.startPoint.y-t.point.y}},e.prototype.getTrailPoint=function(t,e){for(var i,n=0;n<t.track.length;n++)if(t.track[n].timestamp>=e){i=t.track[n];break}return i},e.prototype.pointerExists=function(t,e){var i=!1;return t.each(function(t){t!=e&&(i=t.point.x==e.point.x&&t.point.y==e.point.y)}),i},e.prototype.getInteraction=function(t){return new u.a(t)},e.prototype.setTemporaryStyle=function(t,e,i){var n=t.element;b.hasValue(n.style[e])&&!t.replacedStyles.hasKey(e)&&t.replacedStyles.setKey(e,n.style[e]),p.r(n,e,i)},e.prototype.restoreStyle=function(t,e){t.replacedStyles.hasKey(e)?(t.element.style[e]=t.replacedStyles.getKey(e),t.replacedStyles.removeKey(e)):delete t.element.style[e]},e.prototype.restoreAllStyles=function(t){m.each(t.replacedStyles.iterator(),function(e){var i=e[0],n=e[1];t.element.style[i]=n,t.replacedStyles.removeKey(i)})},e.prototype.dispose=function(){this.isDisposed||(t.prototype.dispose.call(this),this.restoreAllStyles(this.body),this.unlockWheel())},e.prototype.log=function(t,e,i){if(e.changedTouches)for(var n=0;n<e.changedTouches.length;n++)this.logTouch(t,e.type,e.changedTouches[n]);else{var r="";if(e.pointerType)switch(e.pointerType){case 2:r="touch";break;case 4:r="mouse";break;default:r=e.pointerType}else r="undefined"!=typeof TouchEvent&&e instanceof TouchEvent?"touch":e.type.match(/^mouse/)?"mouse":"???";var o="";o=b.hasValue(e.identifier)?e.identifier:b.hasValue(e.pointerId)?e.pointerId:"???",i?console.log(t+" ("+i.uid+") "+e.type+" "+r+" "+o):console.log(t+" "+e.type+" "+r+" "+o)}}
20,e.prototype.logTouch=function(t,e,i){console.log(t+" "+e+" touch "+i.identifier)},e}(r.b),x=null;function P(){return null==x&&(x=new _),x}},function(t,e,i){"use strict";i.d(e,"a",function(){return h}),i.d(e,"e",function(){return c}),i.d(e,"d",function(){return p}),e.g=function(t,e,i,n){return t.addEventListener(e,i,n||!1),new o.b(function(){t.removeEventListener(e,i,n||!1)})},e.m=function(t){if(l.isString(t)){var e=document.getElementById(t);if(null==e&&(e=document.getElementsByClassName(t)[0]),e instanceof HTMLElement)return e}else if(t instanceof HTMLElement)return t},e.f=function(t,e){if(t.classList)t.classList.add(e);else{var i=t.getAttribute("class");i?t.setAttribute("class",i.split(" ").filter(function(t){return t!==e}).join(" ")+" "+e):t.setAttribute("class",e)}},e.q=function(t,e){if(t.classList)t.classList.remove(e);else{var i=t.getAttribute("class");i&&t.setAttribute("class",i.split(" ").filter(function(t){return t!==e}).join(" "))}},e.r=function(t,e,i){t.style[e]=i},e.h=function(){var t=document.createElement("input");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focus(),t.blur(),document.body.removeChild(t)},e.l=function(t){if(t instanceof HTMLElement)t.focus();else{var e=document.createElement("input"),i=document.createElementNS(h,"foreignObject");i.appendChild(e),t.appendChild(i),e.focus(),e.disabled=!0,i.remove()}},e.o=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div"),i=t.cloneNode(!0);e.appendChild(i);var n=e.innerHTML;return n},e.n=function(t){return t instanceof Object&&t&&1===t.nodeType},e.i=function(t,e){return t!==e&&(t.contains?t.contains(e):!t.compareDocumentPosition||!!(16&t.compareDocumentPosition(e)))},e.j=function(t,e){for(var i in t.attributes){var n=t.attributes[i].nodeValue;null!=n&&e.setAttribute(t.attributes[i].nodeName,n)}},e.k=function(t){Object(a.c)(function(){try{var e=t.getBoundingClientRect(),i=e.left-Math.round(e.left),n=e.top-Math.round(e.top);0!==i&&Object(a.f)(function(){t.style.left=i+"px"}),0!==n&&Object(a.f)(function(){t.style.top=n+"px"})}catch(t){}})},i.d(e,"c",function(){return f}),i.d(e,"b",function(){return y}),e.p=function(t){if("loading"!==document.readyState)t();else{var e=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",e),t())};document.addEventListener("readystatechange",e)}};var n,r=i(0),o=i(7),a=i(90),s=i(18),u=i(16),l=i(3),h="http://www.w3.org/2000/svg",c="http://www.w3.org/2000/xmlns/",p="http://www.w3.org/1999/xlink";function d(){if(!l.hasValue(n)){var t=document.createElement("style");t.type="text/css",document.head.appendChild(t),n=t.sheet}return n}var f=function(t){function e(e,i){var n=t.call(this,function(){var t=d(),e=u.indexOf(t.cssRules,n._rule);if(-1===e)throw new Error("Could not dispose StyleRule");t.deleteRule(e)})||this;return n._rule=function(t){var e=d(),i=e.cssRules.length;return e.insertRule(t+"{}",i),e.cssRules[i]}(e),s.each(i,function(t,e){n.setStyle(t,e)}),n}return r.c(e,t),Object.defineProperty(e.prototype,"selector",{get:function(){return this._rule.selectorText},set:function(t){this._rule.selectorText=t},enumerable:!0,configurable:!0}),e.prototype._setVendorPrefixName=function(t,e){var i=this._rule.style;i.setProperty("-webkit-"+t,e,""),i.setProperty("-moz-"+t,e,""),i.setProperty("-ms-"+t,e,""),i.setProperty("-o-"+t,e,""),i.setProperty(t,e,"")},e.prototype.setStyle=function(t,e){"transition"===t?this._setVendorPrefixName(t,e):this._rule.style.setProperty(t,e,"")},e}(o.b),g=0,y=function(t){function e(e,i){var n=this,r=l.hasValue(i)?i:"__style_"+ ++g+"__";return(n=t.call(this,"."+r,e)||this)._className=r,n}return r.c(e,t),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},set:function(t){this._className=t,this.selector="."+t},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this._className},e}(f)},function(t,e,i){"use strict";e.c=function(t,e){var i=!1,n=Date.now();return l.a(function r(o){if(!i){var a=o-n;a>=t?e(1):(l.a(r),e(a/t))}}),new a.b(function(){i=!0})},i.d(e,"d",function(){return y}),i.d(e,"b",function(){return x}),i.d(e,"a",function(){return P});var n=i(0),r=i(21),o=i(217),a=i(7),s=i(14),u=i(8),l=i(90),h=i(43),c=i(91),p=i(4),d=i(16),f=i(3),g=i(66);var y=[];function m(t,e,i){return e+(i-e)*t}function b(t,e,i){return new u.a(m(t,e.percent,i.percent))}function v(t,e,i){return new s.a(c.interpolate(e.rgb,i.rgb,t))}function _(t,e){return e+t.charAt(0).toUpperCase()+t.substr(1)}var x=function(){function t(t){this._disposer=new a.b(function(){for(;0!==t.length;)t[0].dispose()})}return t.prototype.isDisposed=function(){return this._disposer.isDisposed()},t.prototype.dispose=function(){this._disposer.dispose()},t}(),P=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.duration=0,o.easing=h.linear,o.progress=0,o._loop=0,o._pause=!1,o._delayTimeout=null,o._time=0,o._isFinished=!1,o.className="Animation",o.object=e,o.animationOptions=d.toArray(i),o.duration=n,r&&(
20o.easing=r),o.applyTheme(),o}return n.c(e,t),e.prototype.debug=function(){},e.prototype.dispose=function(){t.prototype.dispose.call(this),this.pause()},e.prototype.delay=function(t){var e=this;if(t>0){this.pause(),d.move(this.object.animations,this);var i=setTimeout(function(){e._delayTimeout=null,e.start()},t);this._delayTimeout=new a.b(function(){clearTimeout(i)})}return this},e.prototype._start=function(){this._isFinished=!1,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),this.stopSameAnimations(),this._pause=!1,d.move(y,this),d.move(this.object.animations,this),g.b.requestFrame()},e.prototype.start=function(){this._start(),this._startTime=Date.now(),this._time=0,this.staticOptions=[];for(var t=this.animationOptions.length-1;t>=0;t--){var e=this.animationOptions[t];if(f.hasValue(e.from)||(e.childObject?e.from=e.childObject[e.property]:(e.from=this.object[e.property],f.hasValue(e.from)||(e.from=o.a[e.property]))),e.from==e.to)d.remove(this.animationOptions,e);else if(f.isNumber(e.to)){if(e.updateMethod=m,e.from instanceof u.a){var i=this.object[_(e.property,"pixel")];isNaN(i)||(e.from=i)}}else if(e.to instanceof s.a)e.from?e.updateMethod=v:(this.staticOptions.push(e),d.remove(this.animationOptions,e));else if(e.to instanceof u.a){if(e.updateMethod=b,!isNaN(e.from)){i=this.object[_(e.property,"relative")];isNaN(i)||(e.from=Object(u.c)(100*i))}}else this.staticOptions.push(e),d.remove(this.animationOptions,e)}if(this.applyStaticOptions(),this.events.isEnabled("animationstarted")){var n={type:"animationstarted",target:this,progress:this.progress};this.events.dispatchImmediately("animationstarted",n)}return this.update(),0===this.duration&&this.end(),this},e.prototype.loop=function(t){return f.isNumber(t)||(t=1/0),this._loop=t,this},e.prototype.pause=function(){return this._pause=!0,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),d.remove(y,this),d.remove(this.object.animations,this),this},e.prototype.resume=function(){return this._start(),this._startTime=Date.now()-this._time,this},e.prototype.end=function(){if(0==this._loop&&this.pause(),this.setProgress(1),this.applyStaticOptions(),this.events.isEnabled("animationended")){var t={type:"animationended",target:this,progress:this.progress};this.events.dispatchImmediately("animationended",t)}return this._loop>0?(this._loop--,this.start()):(this.stop(),this._isFinished=!0),this},e.prototype.kill=function(){this.pause(),this._isFinished=!0},e.prototype.isFinished=function(){return this._isFinished},e.prototype.applyStaticOptions=function(){var t=this;d.each(this.staticOptions,function(e){e.childObject?e.childObject[e.property]=1==t.progress?e.to:e.from:t.object[e.property]=1==t.progress?e.to:e.from})},e.prototype.stop=function(t){if(this.pause(),!t&&this.events.isEnabled("animationstopped")){var e={type:"animationstopped",target:this,progress:this.progress};this.events.dispatchImmediately("animationstopped",e)}return this},e.prototype.setProgress=function(t){var e=this;if(this._time=this.duration*t,d.each(this.animationOptions,function(i){if(i.updateMethod&&f.hasValue(i.from)){var n=i.updateMethod(t,i.from,i.to);i.childObject?i.childObject[i.property]=n:e.object[i.property]=n}}),this.progress=t,this.events.isEnabled("animationprogress")){var i={type:"animationprogress",target:this,progress:this.progress};this.events.dispatchImmediately("animationprogress",i)}g.b.requestFrame()},e.prototype.update=function(){if(!this._pause){var t=void 0;this._time=p.fitToRange(Date.now()-this._startTime,0,this.duration);var e=this._time/this.duration;t=this.easing(e),(0==this.duration||!f.isNumber(t)||e>=1)&&(t=1),this.setProgress(t),1==p.round(this._time/this.duration,6)&&this.end()}return this},Object.defineProperty(e.prototype,"delayed",{get:function(){return!!this._delayTimeout},enumerable:!0,configurable:!0}),e.prototype.stopSameAnimations=function(){var t=this;d.each(d.copy(this.object.animations),function(e){if(e!==t&&!e.delayed){var i=[];d.each(t.animationOptions,function(t){d.each(e.animationOptions,function(n){t.property==n.property&&t.childObject==n.childObject&&(i.push(n),0==e.animationOptions.length&&e.kill())})}),d.each(i,function(t){d.remove(e.animationOptions,t)})}})},e}(r.b)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n=i(0),r=i(9),o=i(1),a=i(92),s=i(7),u=i(13),l=i(4),h=i(6),c=i(3),p=function(t){function e(){var e=t.call(this)||this;return e.isOversized=!1,e.className="Label",e.fill=(new u.a).getFor("text"),e.wrap=!1,e.truncate=!1,e.fullWords=!0,e.ellipsis="...",e.textAlign="start",e.textValign="top",e.layout="absolute",e.adapter.add("readerTitle",function(t){return t||(t=e.populateString(h.plainText(h.isNotEmpty(e.html)?e.html:e.text))),t}),e.events.on("maxsizechanged",function(){e.inited&&e.handleMaxSize()},e,!1),e.events.once("validated",e.handleValidate,e,!1),e.applyTheme(),e}return n.c(e,t),e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.validatePosition()},e.prototype.setPaper=function(e){var i=t.prototype.setPaper.call(this,e);return i&&this.hardInvalidate(),i},e.prototype.handleValidate=function(){!this.currentText&&!this.text||0!=this.bbox.width&&0!=this.bbox.height||o.b.events.once("exitframe",this.hardInvalidate,this)},e.prototype.handleMaxSize=function(){this.bbox.width>this.availableWidth||this.bbox.width<this.availableWidth&&(this.isOversized||this.truncate)||this.bbox.height>this.availableHeight||this.bbox.height<this.availableHeight&&this.isOversized?this.invalidate():this.alignSVGText()},e.prototype.arrange=function(){},e.prototype.updateCurrentText=function(){var t,e;h.isNotEmpty(this.html)&&this.paper.supportsForeignObject()?(t="html",e=this.html):(t="svg",e=this.text),c.hasValue(e)&&""!==e&&(e=this.populateString(e,this.dataItem));var i=(e="html"==t?this.adapter.apply("htmlOutput",e):this.adapter.apply("textOutput",e))!=this.currentText||t!=this._currentFormat;return this.currentText=e,this._currentFormat=t,i},e.prototype.hardInvalidate=function(){this._prevStatus="",this.invalidate()},e.prototype.getLineBBox=function(t){t.bbox=t.element.getBBox()},e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.bbox.width,i=this.bbox.height,n=this.topParent;if(!n||n.maxWidth&&n.maxHeight){var r=l.max(this.availableWidth-this.pixelPaddingLeft-this.pixelPaddingRight,0),o=l.max(this.availableHeight-this.pixelPaddingTop-this.pixelPaddingBottom,0),s=o+","+r+this.wrap+this.truncate+this.fullWords+this.rtl+this.ellipsis;if(this.updateCurrentText()||!this.inited||this._prevStatus!=s){this._measuredWidth=0,this._measuredHeight=0,this.isOversized=!1;var u=this._currentFormat,p=this.currentText;if(c.hasValue(p)&&""!=p){var d=p.split("\n");this._prevStatus=s,this.textAlign=this.textAlign;var f=this.group.getAttr("display");if("none"==f&&this.group.removeAttr("display"),"svg"===u){this.element.removeAttr("display");var g=this.element;this.resetBBox();for(var y=0,m="",b=0;b<d.length;b++){var v=d[b];if(""!=v){var _=Object(a.b)().chunk(v,null,this.ignoreFormatting),x=0,P=!0,w=!1,O=void 0;(O=this.getLineInfo(b))?O.element.textContent="":(O={element:this.getSVGLineElement("",0),complex:!1},g.add(O.element)),O.element.removeAttr("display"),O.element.removeChildren(),this.rtl&&_.reverse();for(var S=0;S<_.length;S++){S&&(O.complex=!0);var k=_[S];if("format"===k.type)m=k.text;else{if(w)continue;if(O.text=k.text,O.style=Object(a.b)().translateStyleShortcuts(m),O.element.add(this.getSvgElement(O.text,O.style)),this.getLineBBox(O),O.bbox.width=Math.ceil(O.bbox.width),x<O.bbox.height&&(x=O.bbox.height),(this.wrap||this.truncate)&&O.bbox.width>r){this.isOversized=!0;var T=O.element.textContent,C=O.bbox.width/T.length,V=l.min(Math.ceil((O.bbox.width-r)/C),T.length);if(this.truncate){var I=!1,j=O.element.node;if(j&&j.childNodes)for(var D=O.element.node.childNodes.length-1;D>=0;D--){var M=O.element.node.childNodes[D];if(I&&O.bbox.width<=r&&(M.textContent+=" "+this.ellipsis,O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),O.bbox.width<=r))break;I=!1;var E=M.textContent;for(T=O.element.textContent,V=l.min(Math.ceil((O.bbox.width-r)/C),T.length);O.bbox.width>r&&V<=T.length&&V>0;){(R=l.max(E.length-V-this.ellipsis.length,1))<=1&&(V=0,D>0&&(I=!0,O.element.node.removeChild(M))),(E=h.truncateWithEllipsis(E,R,this.ellipsis,this.fullWords,this.rtl)).length>R&&this.fullWords&&(E=h.truncateWithEllipsis(E,R,this.ellipsis,!1,this.rtl)),M.textContent=E,O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),V=Math.ceil(1.1*V)}w=!0}}else{if(O.element.node){for(var F=O.element.node.lastChild,N=void 0;O.bbox.width>r&&V<=T.length&&V>0;){var R=l.max(k.text.length-V,1);
20P?N=h.splitTextByCharCount(k.text,R,!0,this.rtl):((N=h.splitTextByCharCount(k.text,R,!0,this.rtl))[0].length>R||1===R)&&(O.element.node.removeChild(F),V=0),V>0&&(F.textContent=Object(a.b)().cleanUp(h.trim(N.shift()))),O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),V=Math.ceil(1.1*V)}if(N.length>0){var L="";c.hasValue(N)&&(this.rtl?L+=N.join("")+m:L+=m+N.join(""));for(var A=S+1;A<_.length;A++)L+=_[A].text;d.splice(b+1,0,L)}w=!0}}}this.bbox.width<O.bbox.width&&(this.bbox.width=O.bbox.width),this.bbox.height=y+x,O.element.attr({x:"0",y:y+x,dy:l.round(-.2*x,3).toString()}),P=!1}}var B=O.element.node;if(B)(F=B.lastChild)&&(F.textContent=this.rtl?h.ltrim(F.textContent):h.rtrim(F.textContent));y+=x,this.addLineInfo(O,b)}else{var H=this.getSVGLineElement("",0);H.add(this.getSvgElement(".",Object(a.b)().translateStyleShortcuts(m))),g.add(H);var W=Math.ceil(H.getBBox().height);W>0&&(y+=W),g.removeElement(H)}}this.hideOversized&&(this.availableWidth<this.bbox.width||this.availableHeight<this.bbox.height?(this.element.attr({display:"none"}),this.isOversized=!0):(this.element.removeAttr("display"),this.isOversized=!1)),this._measuredWidth=l.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight),this._measuredHeight=l.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom),this.alignSVGText(),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,i==this._measuredHeight&&e==this._measuredWidth||this.dispatch("transformed"),this.hideUnused(d.length)}else{var z=h.getPixelRatio();this.element.removeAttr("display"),this.resetBBox(),(g=this.element).removeChildren();var G=this.paper.foreignObject();g.add(G);r>0&&r.toString(),o>0&&o.toString();var U=this.getHTMLLineElement(p);G.node.appendChild(U),U.style.display="inline-block";var Y=U.getBoundingClientRect();U.style.display="block",this._bbox={x:0,y:0,width:Y.width/z,height:Y.height/z},G.attr({width:Y.width/z,height:Y.height/z}),this._measuredWidth=l.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight),this._measuredHeight=l.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,this.truncate&&(U.style.overflow="hidden"),(Y.width>r||Y.height>o)&&(this.isOversized=!0)}
20this.setStyles(),this.updateCenter(),this.updateBackground(),"none"==f&&this.group.attr({display:"none"})}else this.element.attr({display:"none"})}}else n.events.once("maxsizechanged",this.hardInvalidate,this,!1)},e.prototype.alignSVGText=function(){var t=this.element,e=t.node.children||t.node.childNodes;if(e&&(!e||0!=e.length))for(var i=this._measuredWidth,n=this._measuredHeight,r=(this.pixelPaddingLeft,this.pixelPaddingRight,this.pixelPaddingTop,this.pixelPaddingBottom,e.length-1);r>=0;r--){var o=e[r];switch(o.setAttribute("text-anchor",this.textAlign),this.textAlign){case"middle":o.setAttribute("x",(i/2).toString()+"px");break;case"end":this.rtl||o.setAttribute("x",i.toString());break;default:this.rtl?o.setAttribute("x",i.toString()):o.removeAttribute("text-anchor")}var a=c.toNumber(o.getAttribute("y"));switch(this.textValign){case"middle":o.setAttribute("y",(a+(n-this.bbox.height)/2).toString());break;case"bottom":o.setAttribute("y",(a+n-this.bbox.height).toString());break;default:o.setAttribute("y",a.toString())}}},e.prototype.getSVGLineElement=function(t,e){var i=this.paper.addGroup("text");return i.textContent=t,i.attr({x:"0"}),c.hasValue(e)&&i.attr({y:e.toString()}),(this.truncate||this.wrap)&&i.attr({overflow:"hidden"}),this.rtl&&i.attr({direction:"rtl","unicode-bidi":"bidi-override"}),i},e.prototype.resetBBox=function(){this._bbox={x:0,y:0,width:0,height:0}},e.prototype.getHTMLLineElement=function(t){var e=document.createElement("div");switch(e.innerHTML=t,this.textAlign){case"middle":e.style.textAlign="center";break;case"end":e.style.textAlign="right"}return this.wrap?e.style.wordWrap="break-word":e.style.whiteSpace="nowrap",this.rtl&&(e.style.direction="rtl",e.style.unicodeBidi="bidi-override"),c.hasValue(this.fill)&&(e.style.color=this.fill.toString()),e},e.prototype.setStyles=function(){var t=this.element;!this.selectable||this.draggable||this.resizable||this.swipeable?t.addStyle({webkitUserSelect:"none",msUserSelect:"none"}):this.selectable&&(t.removeStyle("webkitUserSelect"),t.removeStyle("msUserSelect"))},e.prototype.hideUnused=function(t){this.initLineCache();var e=this.getCache("lineInfo");if(e.length>=t)for(var i=t;i<e.length;i++){var n=e[i];n&&n.element&&n.element.attr({display:"none"})}},Object.defineProperty(e.prototype,"text",{get:function(){return this.getPropertyValue("text")},set:function(t){this.setPropertyValue("text",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrap",{get:function(){return this.getPropertyValue("wrap")},set:function(t){this.resetBBox(),this.setPropertyValue("wrap",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"truncate",{get:function(){return this.getPropertyValue("truncate")},set:function(t){this.resetBBox(),this.setPropertyValue("truncate",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWords",{get:function(){return this.getPropertyValue("fullWords")},set:function(t){this.setPropertyValue("fullWords",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ellipsis",{get:function(){return this.getPropertyValue("ellipsis")},set:function(t){this.setPropertyValue("ellipsis",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this.getPropertyValue("selectable")},set:function(t){this.setPropertyValue("selectable",t,!0),this.setStyles()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textAlign",{get:function(){return this.getPropertyValue("textAlign")},set:function(t){this.setPropertyValue("textAlign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textValign",{get:function(){return this.getPropertyValue("textValign")},set:function(t){this.setPropertyValue("textValign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.getPropertyValue("html")},set:function(t){this.setPropertyValue("html",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideOversized",{get:function(){return this.getPropertyValue("hideOversized")},set:function(t){this.setPropertyValue("hideOversized",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreFormatting",{get:function(){return this.getPropertyValue("ignoreFormatting")}
20,set:function(t){this.setPropertyValue("ignoreFormatting",t,!0)},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){},e.prototype.getLineInfo=function(t){this.initLineCache();var e=this.getCache("lineInfo");return e.length>t?e[t]:void 0},e.prototype.addLineInfo=function(t,e){this.initLineCache(),this.getCache("lineInfo")[e]=t},e.prototype.initLineCache=function(){c.hasValue(this.getCache("lineInfo"))||this.setCache("lineInfo",[],0)},e.prototype.setDataItem=function(e){this._sourceDataItemEvents&&this._sourceDataItemEvents.dispose(),e&&(this._sourceDataItemEvents=new s.c([e.events.on("valuechanged",this.invalidate,this,!1),e.events.on("workingvaluechanged",this.invalidate,this,!1),e.events.on("calculatedvaluechanged",this.invalidate,this,!1),e.events.on("propertychanged",this.invalidate,this,!1)])),t.prototype.setDataItem.call(this,e)},Object.defineProperty(e.prototype,"availableWidth",{get:function(){return c.hasValue(this.maxWidth)?this.maxWidth:this.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"availableHeight",{get:function(){return c.hasValue(this.maxHeight)?this.maxHeight:this.pixelHeight},enumerable:!0,configurable:!0}),e.prototype.getSvgElement=function(t,e){var i=this.paper.add("tspan");return i.textContent=t,e&&i.node.setAttribute("style",e),i},e}(r.a);o.b.registeredClasses.Label=p},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,i){var n=i(111),r=i(48);t.exports=function(t){return n(r(t))}},function(t,e,i){var n=i(112),r=i(77),o=i(39),a=i(47),s=i(38),u=i(276),l=Object.getOwnPropertyDescriptor;e.f=i(23)?l:function(t,e){if(t=o(t),e=a(e,!0),u)try{return l(t,e)}catch(t){}if(s(t,e))return r(!n.f.call(t,e),t[e])}},function(t,e,i){var n=i(38),r=i(27),o=i(182)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(10),o=i(1),a=i(4),s=i(3),u=function(t){function e(){var e=t.call(this)||this;return e.className="RoundedRectangle",e.element=e.paper.add("path"),e.cornerRadius(3,3,3,3),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight;if(s.isNumber(e)&&s.isNumber(i)){var n=a.min(Math.abs(e/2),Math.abs(i/2)),r=a.fitToRange(this.cornerRadiusTopLeft,0,n),o=a.fitToRange(this.cornerRadiusTopRight,0,n),u=a.fitToRange(this.cornerRadiusBottomRight,0,n),l=a.fitToRange(this.cornerRadiusBottomLeft,0,n),h="M"+r+",0 L"+(e-o)+",0"+(" a"+o+","+o+" 0 0 1 "+o+","+o)+(" L"+e+","+(i-u))+(" a"+u+","+u+" 0 0 1 -"+u+","+u)+(" L"+l+","+i)+(" a"+l+","+l+" 0 0 1 -"+l+",-"+l)+(" L0,"+r)+(" a"+r+","+r+" 0 0 1 "+r+",-"+r)+" Z";this.path=h}},e.prototype.cornerRadius=function(t,e,i,n){this.cornerRadiusTopLeft=t,this.cornerRadiusTopRight=e,this.cornerRadiusBottomLeft=i,this.cornerRadiusBottomRight=n},Object.defineProperty(e.prototype,"cornerRadiusTopLeft",{get:function(){return this.getPropertyValue("cornerRadiusTopLeft")},set:function(t){this.setPropertyValue("cornerRadiusTopLeft",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusTopRight",{get:function(){return this.getPropertyValue("cornerRadiusTopRight")},set:function(t){this.setPropertyValue("cornerRadiusTopRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomRight",{get:function(){return this.getPropertyValue("cornerRadiusBottomRight")},set:function(t){this.setPropertyValue("cornerRadiusBottomRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomLeft",{get:function(){return this.getPropertyValue("cornerRadiusBottomLeft")},set:function(t){this.setPropertyValue("cornerRadiusBottomLeft",t,!0)},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){this._bbox={x:0,y:0,width:this.innerWidth,height:this.innerHeight}},e}(r.a);o.b.registeredClasses.RoundedRectangle=u}
20,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.linear=function(t){return+t},e.quadIn=function(t){return t*t},e.quadOut=function(t){return t*(2-t)},e.quadInOut=function(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2},e.polyIn=r,e.polyOut=o,e.polyInOut=a,e.polyIn3=function(t){return r(t,3)},e.polyOut3=function(t){return o(t,3)},e.polyInOut3=function(t){return a(t,3)},e.expIn=function(t){return Math.pow(2,10*t-10)},e.expOut=function(t){return 1-Math.pow(2,-10*t)},e.expInOut=function(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2},e.sinIn=function(t){return 1-Math.cos(t*n.HALFPI)},e.sinOut=function(t){return Math.sin(t*n.HALFPI)},e.sinInOut=function(t){return(1-Math.cos(n.PI*t))/2},e.cubicIn=function(t){return t*t*t},e.cubicOut=function(t){return--t*t*t+1},e.cubicInOut=function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2},e.circleIn=function(t){return 1-Math.sqrt(1-t*t)},e.circleOut=function(t){return Math.sqrt(1- --t*t)},e.circleInOut=function(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2},e.bounceIn=function(t){return 1-m(1-t)},e.bounceOut=m,e.bounceInOut=function(t){return((t*=2)<=1?1-m(1-t):m(t-1)+1)/2},e.elasticIn=function(t){return b*Math.pow(2,10*--t)*Math.sin((_-t)/v)},e.elasticOut=function(t){return 1-b*Math.pow(2,-10*(t=+t))*Math.sin((t+_)/v)},e.elasticInOut=function(t){return((t=2*t-1)<0?b*Math.pow(2,10*t)*Math.sin((_-t)/v):2-b*Math.pow(2,-10*t)*Math.sin((_+t)/v))/2};var n=i(4);function r(t,e){return Math.pow(t,e)}function o(t,e){return 1-Math.pow(1-t,e)}function a(t,e){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}var s=4/11,u=6/11,l=8/11,h=.75,c=9/11,p=10/11,d=.9375,f=21/22,g=63/64,y=1/s/s;function m(t){return(t=+t)<s?y*t*t:t<l?y*(t-=u)*t+h:t<p?y*(t-=c)*t+d:y*(t-=f)*t+g}var b=1,v=.3/(2*Math.PI),_=Math.asin(1/b)*v},function(t,e,i){var n=i(29);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,i){"use strict";var n=i(19);t.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,i){var n=i(20);t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,i){var n=i(2),r=i(52),o=i(19);t.exports=function(t,e){var i=(r.Object||{})[t]||Object[t],a={};a[t]=e(i),n(n.S+n.F*o(function(){i(1)}),"Object",a)}},function(t,e,i){var n=i(44),r=i(111),o=i(27),a=i(25),s=i(199);t.exports=function(t,e){var i=1==t,u=2==t,l=3==t,h=4==t,c=6==t,p=5==t||c,d=e||s;return function(e,s,f){for(var g,y,m=o(e),b=r(m),v=n(s,f,3),_=a(b.length),x=0,P=i?d(e,_):u?d(e,0):void 0;_>x;x++)if((p||x in b)&&(y=v(g=b[x],x,m),t))if(i)P[x]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:P.push(g)}else if(h)return!1;return c?-1:l||h?h:P}}},function(t,e){var i=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=i)},function(t,e,i){"use strict";if(i(23)){var n=i(79),r=i(17),o=i(19),a=i(2),s=i(144),u=i(205),l=i(44),h=i(85),c=i(77),p=i(31),d=i(87),f=i(49),g=i(25),y=i(302),m=i(81),b=i(47),v=i(38),_=i(113),x=i(20),P=i(27),w=i(196),O=i(82),S=i(41),k=i(83).f,T=i(198),C=i(78),V=i(22),I=i(51),j=i(135),D=i(142),M=i(201),E=i(99),F=i(139),N=i(84),R=i(200),L=i(292),A=i(24),B=i(40),H=A.f,W=B.f,z=r.RangeError,G=r.TypeError,U=r.Uint8Array,Y=Array.prototype,K=u.ArrayBuffer,X=u.DataView,q=I(0),Z=I(2),J=I(3),$=I(4),Q=I(5),tt=I(6),et=j(!0),it=j(!1),nt=M.values,rt=M.keys,ot=M.entries,at=Y.lastIndexOf,st=Y.reduce,ut=Y.reduceRight,lt=Y.join,ht=Y.sort,ct=Y.slice,pt=Y.toString,dt=Y.toLocaleStr
vendor: 6,111 bytes, line 20
20ing,ft=V("iterator"),gt=V("toStringTag"),yt=C("typed_constructor"),mt=C("def_constructor"),bt=s.CONSTR,vt=s.TYPED,_t=s.VIEW,xt=I(1,function(t,e){return kt(D(t,t[mt]),e)}),Pt=o(function(){return 1===new U(new Uint16Array([1]).buffer)[0]}),wt=!!U&&!!U.prototype.set&&o(function(){new U(1).set({})}),Ot=function(t,e){var i=f(t);if(i<0||i%e)throw z("Wrong offset!");return i},St=function(t){if(x(t)&&vt in t)return t;throw G(t+" is not a typed array!")},kt=function(t,e){if(!(x(t)&&yt in t))throw G("It is not a typed array constructor!");return new t(e)},Tt=function(t,e){return Ct(D(t,t[mt]),e)},Ct=function(t,e){for(var i=0,n=e.length,r=kt(t,n);n>i;)r[i]=e[i++];return r},Vt=function(t,e,i){H(t,e,{get:function(){return this._d[i]}})},It=function(t){var e,i,n,r,o,a,s=P(t),u=arguments.length,h=u>1?arguments[1]:void 0,c=void 0!==h,p=T(s);if(void 0!=p&&!w(p)){for(a=p.call(s),n=[],e=0;!(o=a.next()).done;e++)n.push(o.value);s=n}for(c&&u>2&&(h=l(h,arguments[2],2)),e=0,i=g(s.length),r=kt(this,i);i>e;e++)r[e]=c?h(s[e],e):s[e];return r},jt=function(){for(var t=0,e=arguments.length,i=kt(this,e);e>t;)i[t]=arguments[t++];return i},Dt=!!U&&o(function(){dt.call(new U(1))}),Mt=function(){return dt.apply(Dt?ct.call(St(this)):St(this),arguments)},Et={copyWithin:function(t,e){return L.call(St(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return $(St(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(St(this),arguments)},filter:function(t){return Tt(this,Z(St(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(St(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(St(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){q(St(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return it(St(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(St(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return lt.apply(St(this),arguments)},lastIndexOf:function(t){return at.apply(St(this),arguments)},map:function(t){return xt(St(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(St(this),arguments)},reduceRight:function(t){return ut.apply(St(this),arguments)},reverse:function(){for(var t,e=St(this).length,i=Math.floor(e/2),n=0;n<i;)t=this[n],this[n++]=this[--e],this[e]=t;return this},some:function(t){return J(St(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ht.call(St(this),t)},subarray:function(t,e){var i=St(this),n=i.length,r=m(t,n);return new(D(i,i[mt]))(i.buffer,i.byteOffset+r*i.BYTES_PER_ELEMENT,g((void 0===e?n:m(e,n))-r))}},Ft=function(t,e){return Tt(this,ct.call(St(this),t,e))},Nt=function(t){St(this);var e=Ot(arguments[1],1),i=this.length,n=P(t),r=g(n.length),o=0;if(r+e>i)throw z("Wrong length!");for(;o<r;)this[e+o]=n[o++]},Rt={entries:function(){return ot.call(St(this))},keys:function(){return rt.call(St(this))},values:function(){return nt.call(St(this))}},Lt=function(t,e){return x(t)&&t[vt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},At=function(t,e){return Lt(t,e=b(e,!0))?c(2,t[e]):W(t,e)},Bt=function(t,e,i){return!(Lt(t,e=b(e,!0))&&x(i)&&v(i,"value"))||v(i,"get")||v(i,"set")||i.configurable||v(i,"writable")&&!i.writable||v(i,"enumerable")&&!i.enumerable?H(t,e,i):(t[e]=i.value,t)};bt||(B.f=At,A.f=Bt),a(a.S+a.F*!bt,"Object",{getOwnPropertyDescriptor:At,defineProperty:Bt}),o(function(){pt.call({})})&&(pt=dt=function(){return lt.call(this)});var Ht=d({},Et);d(Ht,Rt),p(Ht,ft,Rt.values),d(Ht,{slice:Ft,set:Nt,constructor:function(){},toString:pt,toLocaleString:Mt}),Vt(Ht,"buffer","b"),Vt(Ht,"byteOffset","o"),Vt(Ht,"byteLength","l"),Vt(Ht,"length","e"),H(Ht,gt,{get:function(){return this[vt]}}),t.exports=function(t,e,i,u){var l=t+((u=!!u)?"Clamped":"")+"Array",c="get"+t,d="set"+t,f=r[l],m=f||{},b=f&&S(f),v=!f||!s.ABV,P={},w=f&&f.prototype,T=function(t,i){H(t,i,{get:function(){return function(t,i){var n=t._d;return n.v[c](i*e+n.o,Pt)}(this,i)},set:function(t){return function(t,i,n){var r=t._d;u&&(n=(n=Math.round(n))<0?0:n>255?255:255&n),r.v[d](i*e+r.o,n,Pt)}(this,i,t)},enumerable:!0})};v?(f=i(function(t,i,n,r){h(t,f,l,"_d");var o,a,s,u,c=0,d=0;if(x(i)){if(!(i instanceof K||"ArrayBuffer"==(u=_(i))||"SharedArrayBuffer"==u))return vt in i?Ct(f,i):It.call(f,i);o=i,d=Ot(n,e);var m=i.byteLength;if(void 0===r){if(m%e)throw z("Wrong length!");if((a=m-d)<0)throw z("Wrong length!")}else if((a=g(r)*e)+d>m)throw z("Wrong length!");s=a/e}else s=y(i),o=new K(a=s*e);for(p(t,"_d",{b:o,o:d,l:a,e:s,v:new X(o)});c<s;)T(t,c++)}),w=f.prototype=O(Ht),p(w,"constructor",f)):o(function(){f(1)})&&o(function(){new f(-1)})&&F(function(t){new f,new f(null),new f(1.5),new f(t)},!0)||(f=i(function(t,i,n,r){var o;return h(t,f,l),x(i)?i instanceof K||"ArrayBuffer"==(o=_(i))||"SharedArrayBuffer"==o?void 0!==r?new m(i,Ot(n,e),r):void 0!==n?new m(i,Ot(n,e)):new m(i):vt in i?Ct(f,i):It.call(f,i):new m(y(i))}),q(b!==Function.prototype?k(m).concat(k(b)):k(m),function(t){t in f||p(f,t,m[t])}),f.prototype=w,n||(w.constructor=f));var C=w[ft],V=!!C&&("values"==C.name||void 0==C.name),I=Rt.values;p(f,yt,!0),p(w,vt,l),p(w,_t,!0),p(w,mt,f),(u?new f(1)[gt]==l:gt in w)||H(w,gt,{get:function(){return l}}),P[l]=f,a(a.G+a.W+a.F*(f!=m),P),a(a.S,l,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*o(function(){m.of.call(f,1)}),l,{from:It,of:jt}),"BYTES_PER_ELEMENT"in w||p(w,"BYTES_PER_ELEMENT",e),a(a.P,l,Et),N(l),a(a.P+a.F*wt,l,{set:Nt}),a(a.P+a.F*!V,l,Rt),n||w.toString==pt||(w.toString=pt),a(a.P+a.F*o(function(){new f(1).slice()}),l,{slice:Ft}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new f([1,2]).toLocaleString()})||!o(function(){w.toLocaleString.call([1,2])})),l,{toLocaleString:Mt}),E[l]=V?C:I,n||V||p(w,ft,I)}}else t.exports=function(){}},function(t,e,i){var n=i(297),r=i(2),o=i(134)("metadata"),a=o.store||(o.store=new(i(300))),s=function(t,e,i){var r=a.get(t);if(!r){if(!i)return;a.set(t,r=new n)}var o=r.get(e);if(!o){if(!i)return;r.set(e,o=new n)}return o};t.exports={store:a,map:s,has:function(t,e,i){var n=s(e,i,!1);return void 0!==n&&n.has(t)}
20,get:function(t,e,i){var n=s(e,i,!1);return void 0===n?void 0:n.get(t)},set:function(t,e,i,n){s(i,n,!0).set(t,e)},keys:function(t,e){var i=s(t,e,!1),n=[];return i&&i.forEach(function(t,e){n.push(e)}),n},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){r(r.S,"Reflect",t)}}},function(t,e,i){"use strict";i.d(e,"a",function(){return r}),i.d(e,"b",function(){return o});var n=i(3),r=function(){function t(){}return t.prototype.getEventKey=function(t){var e;switch(t.keyCode||t.which){case 38:e="up";break;case 40:e="down";break;case 37:e="left";break;case 39:e="right";break;case 13:e="enter";break;case 27:e="esc";break;case 36:e="home";break;case 35:e="end";break;case 9:e="tab";break;case 17:e="ctrl";break;case 18:e="alt";break;case 16:e="shift";break;case 32:e="space";break;case 36:e="home";break;case 35:e="end";break;case 33:e="pgup";break;case 34:e="pgdn";break;case 45:e="ins";break;case 46:e="del";break;case 107:e="plus";break;case 109:e="minus";break;default:e="other"}return e},t.prototype.isKey=function(t,e){var i=this.getEventKey(t);return n.isString(e)&&(e=[e]),-1!==e.indexOf(i)},t.prototype.shiftKey=function(t){return t.shiftKey},t.prototype.ctrlKey=function(t){return t.ctrlKey},t.prototype.altKey=function(t){return t.altKey},t.prototype.metaKey=function(t){return t.metaKey},t}(),o=new r},function(t,e,i){"use strict";i.d(e,"a",function(){return x});var n=i(0),r=i(9),o=i(11),a=i(121),s=i(26),u=i(7),l=i(229),h=i(231),c=i(66),p=i(73),d=i(1),f=i(4),g=i(16),y=i(43),m=i(6),b=i(5),v=i(18),_=i(3),x=function(t){function e(){var e=t.call(this)||this;return e.dataFields={},e._dataSources={},e._parseDataFrom=0,e._dataDisposers=[],e._start=0,e._end=1,e.skipRangeEvent=!1,e.rangeChangeDuration=0,e.rangeChangeEasing=y.cubicOut,e.parsingStepDuration=50,e.dataInvalid=!1,e.rawDataInvalid=!1,e.dataRangeInvalid=!1,e.dataItemsInvalid=!1,e.interpolationDuration=0,e.interpolationEasing=y.cubicOut,e.sequencedInterpolation=!0,e.sequencedInterpolationDelay=0,e.dataValidationProgress=0,e._addAllDataItems=!0,e.className="Component",e.invalidateData(),e.dataUsers.events.on("inserted",e.handleDataUserAdded,e,!1),e._disposers.push(new u.c(e._dataDisposers)),e._start=0,e._end=1,e.applyTheme(),e}return n.c(e,t),e.prototype.createDataItem=function(){return new p.a},e.prototype.handleDataUserAdded=function(t){t.newValue.dataProvider=this},e.prototype.handleDataItemValueChange=function(t){this.dataItemsInvalid||this.invalidateDataItems()},e.prototype.handleDataItemWorkingValueChange=function(t){},e.prototype.handleDataItemWorkingLocationChange=function(t){},e.prototype.handleDataItemCalculatedValueChange=function(t){},e.prototype.handleDataItemPropertyChange=function(t){},e.prototype.processDataItem=function(t,e){var i=this;if(t){e||(e={}),t.dataContext=e;var n=!1;v.each(this.dataFields,function(r,s){var u=r,l=e[s];if(l=i.adapter.apply("dataContextValue",{field:u,value:l,dataItem:t}).value,t.hasChildren[u]){if(l){n=!0;var h=new a.b(i.createDataItem());h.events.on("inserted",i.handleDataItemAdded,i,!1),h.events.on("removed",i.handleDataItemRemoved,i,!1),i._dataDisposers.push(new o.c(h));for(var c=l.length,p=0;p<c;p++){var d=l[p],f=h.create();f.parent=t,i.processDataItem(f,d)}t[u]=h}}else _.hasValue(l)&&(n=!0,t[u]=l)}),v.each(this.propertyFields,function(i,r){var o=i,a=e[r];_.hasValue(a)&&(n=!0,t.setProperty(o,a))}),this._addAllDataItems||n||this.dataItems.remove(t)}},e.prototype.updateDataItem=function(t){var e=this;if(t){var i=t.dataContext;v.each(this.dataFields,function(n,r){var o=n,a=i[r];if(a=e.adapter.apply("dataContextValue",{field:o,value:a,dataItem:t}).value,t.hasChildren[o]){if(a){var s=t[o];b.each(s.iterator(),function(t){e.updateDataItem(t)})}}else _.hasValue(a)&&(t[o]=a)}),v.each(this.propertyFields,function(e,n){var r=e,o=i[n];_.hasValue(o)&&t.setProperty(r,o)})}},e.prototype.validateDataElements=function(){for(var t=this.endIndex,e=this.startIndex;e<t;e++){var i=this.dataItems.getIndex(e);i&&this.validateDataElement(i)}},e.prototype.validate=function(){this.validateDataElements(),t.prototype.validate.call(this)},e.prototype.validateDataElement=function(t){},e.prototype.addData=function(t,e){var i=this;this.dataInvalid||(this._parseDataFrom=this.data.length),t instanceof Array?g.each(t,function(t){i.data.push(t)}):this.data.push(t),this.removeData(e),this.invalidateData()},e.prototype.removeData=function(t){if(_.isNumber(t))for(;t>0;){var e=this.dataItems.getIndex(0);e&&this.dataItems.remove(e),b.each(this.dataUsers.iterator(),function(t){var e=t.dataItems.getIndex(0);e&&t.dataItems.remove(e)}),this.data.shift(),this._parseDataFrom--,t--}},e.prototype.invalidateData=function(){this.disabled||this.isTemplate||(d.b.addToInvalidComponents(this),c.b.requestFrame(),this.dataInvalid=!0,b.each(this.dataUsers.iterator(),function(t){t.invalidateDataItems()}))},e.prototype.invalidateDataUsers=function(){b.each(this.dataUsers.iterator(),function(t){t.invalidate()})},e.prototype.invalidateDataItems=function(){this.disabled||this.isTemplate||(g.move(d.b.invalidDataItems,this),c.b.requestFrame(),this.dataItemsInvali
20d=!0,b.each(this.dataUsers.iterator(),function(t){t.invalidateDataItems()}))},e.prototype.invalidateDataRange=function(){this.disabled||this.isTemplate||(this.dataRangeInvalid=!0,g.move(d.b.invalidDataRange,this),c.b.requestFrame())},e.prototype.validateDataRange=function(){g.remove(d.b.invalidDataRange,this),this.dataRangeInvalid=!1,this.startIndex==this._prevStartIndex&&this.endIndex==this._prevEndIndex||(this.rangeChangeUpdate(),this.appendDataItems(),this.invalidate(),this.dispatchImmediately("datarangechanged"))},e.prototype.sliceData=function(){this._workingStartIndex=this.startIndex,this._workingEndIndex=this.endIndex},e.prototype.rangeChangeUpdate=function(){this.sliceData(),this._prevStartIndex=this.startIndex,this._prevEndIndex=this.endIndex},e.prototype.appendDataItems=function(){for(var t=this.endIndex,e=this.startIndex;e<t;e++){(i=this.dataItems.getIndex(e))&&(i.__disabled=!1)}for(e=0;e<this.startIndex;e++){(i=this.dataItems.getIndex(e)).__disabled=!0}for(e=this.endIndex;e<this.dataItems.length;e++){var i;(i=this.dataItems.getIndex(e)).__disabled=!0}},e.prototype.invalidateRawData=function(){this.disabled||this.isTemplate||(g.move(d.b.invalidRawDatas,this),c.b.requestFrame(),this.rawDataInvalid=!0,b.each(this.dataUsers.iterator(),function(t){t.invalidateRawData()}))},e.prototype.validateRawData=function(){var t=this;g.remove(d.b.invalidRawDatas,this),b.each(this.dataItems.iterator(),function(e){e&&t.updateDataItem(e)})},e.prototype.disposeData=function(){this.inited&&(g.each(this._dataDisposers,function(t){t.dispose()}),b.each(this.dataUsers.iterator(),function(t){t.disposeData()}),this._dataDisposers.length=0,this._startIndex=void 0,this._endIndex=void 0,this.dataItems.clear())},e.prototype.validateData=function(){if(this.dispatchImmediately("beforedatavalidated"),this.dataInvalid=!1,d.b.removeFromInvalidComponents(this),this.dataValidationProgress=0,this._prevStartIndex=void 0,this._prevEndIndex=void 0,this._startIndex=void 0,this._endIndex=void 0,this.dataFields.data&&this.dataItem){var t=this.dataItem.dataContext;this._data=t[this.dataFields.data]}if(0===this._parseDataFrom&&this.data.length>0&&this.disposeData(),this.data.length>0){var e=this.preloader;b.each(this.dataUsers.iterator(),function(t){t._startIndex=void 0,t._endIndex=void 0});for(var i=0,n=Date.now(),r=this._parseDataFrom,o=this.data.length,a=function(){var t=s.data[r],o=s.dataItems.create();if((s.processDataItem(o,t),b.each(s.dataUsers.iterator(),function(e){if(0==e.data.length){var i=e.dataItems.create();e.processDataItem(i,t)}}),100==++i)&&(i=0,Date.now()-n>s.parsingStepDuration&&r<s.data.length-10))return s._parseDataFrom=r+1,e&&(r/s.data.length>.5&&!e.visible||(e.progress=r/s.data.length)),s.dataValidationProgress=r/s.data.length,r=s.data.length,s.invalidateData(),{value:void 0}},s=this;r<o;r++){var u=a();if("object"==typeof u)return u.value}e&&(e.progress=1)}this.dataValidationProgress=1,this._parseDataFrom=0,this.invalidateDataItems(),this._internalDefaultsApplied||this.applyInternalDefaults(),this.dispatch("datavalidated")},e.prototype.validateDataItems=function(){g.remove(d.b.invalidDataItems,this),this.dataItemsInvalid=!1,this.invalidateDataRange(),this.invalidate(),this.dispatch("dataitemsvalidated")},Object.defineProperty(e.prototype,"data",{get:function(){return this._data||(this._data=[]),this.adapter.apply("data",this._data)},set:function(t){this.disposeData(),this._data=t,t&&t.length>0&&this.invalidateData()},enumerable:!0,configurable:!0}),e.prototype.getDataSource=function(t){var e=this;return _.hasValue(this._dataSources[t])||(this._dataSources[t]=new l.a,this._dataSources[t].component=this,this.setDataSourceEvents(this._dataSources[t],t),this._dataSources[t].adapter.add("dateFields",function(t){return e.dataSourceDateFields(t)}),this._dataSources[t].adapter.add("numberFields",function(t){return e.dataSourceNumberFields(t)}),this.events.on("inited",function(){e.loadData(t)},this,!1)),this._dataSources[t]},Object.defineProperty(e.prototype,"dataSource",{get:function(){return this._dataSources.data||this.getDataSource("data"),this._dataSources.data},set:function(t){var e=this;this._dataSources.data&&this.removeDispose(this._dataSources.data),this._dataSources.data=t,this._dataSources.data.component=this,this.events.on("inited",function(){e.loadData("data")},this,!1),this.setDataSourceEvents(t,"data")},enumerable:!0,configurable:!0}),e.prototype.loadData=function(t){this._dataSources[t].load()},e.prototype.dataSourceDateFields=function(t){return t},e.prototype.dataSourceNumberFields=function(t){return t}
20,e.prototype.populateDataSourceFields=function(t,e,i){return g.each(i,function(i){e[i]&&-1===g.indexOf(t,e[i])&&t.push(e[i])}),t},e.prototype.setDataSourceEvents=function(t,e){var i=this;t.events.on("started",function(t){var e=i.preloader;e&&(e.progress=0)},void 0,!1),t.events.on("loadstarted",function(t){var e=i.preloader;e&&(e.progress=.25)},void 0,!1),t.events.on("loadended",function(t){var e=i.preloader;e&&(e.progress=.5)},void 0,!1),t.events.on("parseended",function(t){var e=i.preloader;e&&(e.progress=.75)},void 0,!1),t.events.on("ended",function(t){var e=i.preloader;e&&(e.progress=1)},void 0,!1),t.events.on("error",function(t){var e=i.preloader;e&&(e.progress=1),i.openModal(t.message)},void 0,!1),e&&t.events.on("done",function(n){var r=i.preloader;r&&(r.progress=1),"data"!=e||_.isArray(n.data)||(n.data=[n.data]),t.incremental&&"data"==e&&i.data.length?i.addData(n.data,t.keepCount?n.data.length:0):i[e]=n.data})},Object.defineProperty(e.prototype,"responsive",{get:function(){return this._responsive||(this._responsive=new h.a,this._responsive.component=this),this._responsive},set:function(t){this._responsive=t,this._responsive.component=this},enumerable:!0,configurable:!0}),e.prototype.zoom=function(t,e,i){var n=this;void 0===e&&(e=!1),void 0===i&&(i=!1);var r=t.start,o=t.end,a=t.priority;if(!_.isNumber(r)||!_.isNumber(o))return{start:this.start,end:this.end};if(this._finalStart!=r||this._finalEnd!=o){var s=this.maxZoomFactor;if("start"==a?(1/(o-r)>s&&(o=r+1/s),o>1&&o-r<1/s&&(r=o-1/s)):(1/(o-r)>s&&(r=o-1/s),r<0&&o-r<1/s&&(o=r+1/s)),this._finalEnd=o,this._finalStart=r,this.skipRangeEvent=e,this.rangeChangeDuration>0&&!i){var u=this.rangeChangeAnimation;if(u&&u.progress<1){var l=u.animationOptions;if(l.length>1&&l[0].to==r&&l[1].to==o)return{start:r,end:o}}this.dispatchImmediately("rangechangestarted"),this.rangeChangeAnimation&&this.rangeChangeAnimation.kill(),u=this.animate([{property:"start",to:r},{property:"end",to:o}],this.rangeChangeDuration,this.rangeChangeEasing),this.rangeChangeAnimation=u,u&&!u.isFinished()?u.events.on("animationended",function(){n.dispatchImmediately("rangechangeended")}):this.dispatchImmediately("rangechangeended")}else this.start=r,this.end=o}return{start:r,end:o}},e.prototype.zoomToIndexes=function(t,e,i,n){if(_.isNumber(t)&&_.isNumber(e)){var r=t/this.dataItems.length,o=e/this.dataItems.length;this.zoom({start:r,end:o},i,n)}},Object.defineProperty(e.prototype,"zoomFactor",{get:function(){return f.fitToRange(1/(this.end-this.start),1,this.maxZoomFactor)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomFactor",{get:function(){return this.getPropertyValue("maxZoomFactor")},set:function(t){this.setPropertyValue("maxZoomFactor",t)&&this.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return _.isNumber(this._startIndex)||(this._startIndex=0),this._startIndex},set:function(t){this._startIndex=f.fitToRange(Math.round(t),0,this.dataItems.length),this.start=this.indexToPosition(this._startIndex)},enumerable:!0,configurable:!0}),e.prototype.indexToPosition=function(t){return t/this.dataItems.length},Object.defineProperty(e.prototype,"endIndex",{get:function(){return _.isNumber(this._endIndex)||(this._endIndex=this.dataItems.length),this._endIndex},set:function(t){this._endIndex=f.fitToRange(Math.round(t),0,this.dataItems.length),this.end=this.indexToPosition(this._endIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(t){if(t=f.round(t,5),this._start!=t){this._start=t;var e=Math.max(0,Math.floor(this.dataItems.length*t)||0);this._startIndex=Math.min(e,this.dataItems.length),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("startchanged")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},set:function(t){t=f.round(t,5),this._end!=t&&(this._end=t,this._endIndex=Math.min(this.dataItems.length,Math.ceil(this.dataItems.length*t)||0),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("endchanged"))},enumerable:!0,configurable:!0}),e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),d.b.removeFromInvalidComponents(this),g.remove(d.b.invalidDataItems,this),g.remove(d.b.invalidDataRange,this),g.remove(d.b.invalidRawDatas,this)},Object.defineProperty(e.prototype,"dataItems",{get:function(){return this._dataItems||(this._dataItems=new a.b(this.createDataItem()),this._dataItems.events.on("inserted",this.handleDataItemAdded,this,!1),this._dataItems.events.on("removed",this.invalidateDataItems,this,!1),this._disposers.push(new o.c(this._dataItems)),this._disposers.push(this._dataItems.template)),this._dataItems},enumerable:!0,configurable:!0}),e.prototype.handleDataItemAdded=function(t){t.newValue.component=this,this.invalidateDataItems()},e.prototype.handleDataItemRemoved=function(t){t.oldValue.component=void 0,this.invalidateDataItems()},Object.defineProperty(e.prototype,"dataMethods",{get:function(){return this._dataMethods||(this._dataMethods=new s.a),this._dataMethods},enumerable:!0,configurable:!0}),e.prototype.bindDataField=function(t,e){this.dataFields[t]=e,this.invalidateDataRange()},e.prototype.invalidateProcessedData=function(){this.resetProcessedRange(),this.invalidateDataRange()},e.prototype.resetProcessedRange=function(){this._prevEndIndex=null,this._prevStartIndex=null},Object.defineProperty(e.prototype,"dataUsers",{get:function(){var t=this;return this._dataUsers||(this._dataUsers=new o.b,this._disposers.push(new u.b(function(){b.each(t._dataUsers.iterator(),function(t){t.dispose()})}))),this._dataUsers},enumerable:!0,configurable:!0}),e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.dataFields=m.copyProperties(this.dataFields,{}),e},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.data=e.data,this.sequencedInterpolation=e.sequencedInterpolation,this.sequencedInterpolationDelay=e.sequencedInterpolationDelay,this.interpolationDuration=e.interpolationDuration,this.interpolationEasing=e.interpolationEasing},e.prototype.reinit=function(){this._inited=!1,this.deepInvalidate()},e.prototype.getExporting=function(){var e=t.prototype.getExporting.call(this);return e.adapter.has("data",this._exportData,null,this)||e.adapter.add("data",this._exportData,null,this),e},e.prototype._exportData=function(t){return t.data=this.data,t},e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return i&&this.invalidateData(),i},e.prototype.setShowOnInit=function(e){e!=this.getPropertyValue("showOnInit")&&(!e||this.inited||this.hidden?this._showOnInitDisposer2&&this._showOnInitDisposer2.dispose():(this._showOnInitDisposer2=this.events.once("dataitemsvalidated",this.hideInitially,this,!1),this._disposers.push(this._showOnInitDisposer2))),t.prototype.setShowOnInit.call(this,e)},e.prototype.setBaseId=function(e){e!=this._baseId&&this.dataInvalid&&(this.dataInvalid=!1,d.b.removeFromInvalidComponents(this),this._baseId=e,this.invalidateData()),t.prototype.setBaseId.call(this,e)},e}(r.a)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"b",function(){return l});var n=i(0),r=i(7),o=i(16),a=i(90),s=i(3),u=function(){function t(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{o.each(t,function(t){t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}},t.prototype.hasListeners=function(){return 0!==this._listeners.length},t.prototype.hasListenersByType=function(t){return o.any(this._listeners,function(e){return(null===e.type||e.type===t)&&!e.killed})},t.prototype.enable=function(){this._enabled=!0},t.prototype.disable=function(){this._enabled=!1},t.prototype.enableType=function(t){delete this._disabled[t]},t.prototype.disableType=function(t,e){void 0===e&&(e=1/0),this._disabled[t]=e},t.prototype._removeListener=function(t){if(0===this._iterating){var e=this._listeners.indexOf(t);if(-1===e)throw new Error("Invalid state: could not remove listener");this._listeners.splice(e,1)}else this._killed.push(t)},t.prototype._removeExistingListener=function(t,e,i,n){if(this._disposed)throw new Error("EventDispatcher is disposed");var r=o.findIndex(this._listeners,function(r){return r.once===t&&r.type===e&&r.callback===i&&r.context===n});-1!==r&&this._listeners[r].disposer.dispose()},t.prototype.isEnabled=function(t){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(t)&&null==this._disabled[t]},t.prototype.has=function(t,e,i){return-1!==o.findIndex(this._listeners,function(n){return!0!==n.once&&n.type===t&&(!e||n.callback===e)&&n.context===i})},t.prototype._shouldDispatch=function(t){if(this._disposed)throw new Error("EventDispatcher is disposed");var e=this._disabled[t];return s.isNumber(e)?(e<=1?delete this._disabled[t]:--this._disabled[t],!1):this._enabled},t.prototype._eachListener=function(t){var e=this;++this._iterating;try{o.each(this._listeners,t)}finally{--this._iterating,0===this._iterating&&0!==this._killed.length&&(o.each(this._killed,function(t){e._removeListener(t)}),this._killed.length=0)}},t.prototype.dispatchImmediately=function(t,e){this._shouldDispatch(t)&&this._eachListener(function(i){i.killed||null!==i.type&&i.type!==t||i.dispatch(t,e)})},t.prototype.dispatch=function(t,e){this._shouldDispatch(t)&&this._eachListener(function(i){i.killed||null!==i.type&&i.type!==t||a.e(function(){i.killed||i.dispatch(t,e)})})},t.prototype._on=function(t,e,i,n,o,a){var s=this;if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(t,e,i,n);var u={type:e,callback:i,context:n,shouldClone:o,dispatch:a,killed:!1,once:t,disposer:new r.b(function(){u.killed=!0,s._removeListener(u)})};return this._listeners.push(u),u},t.prototype.onAll=function(t,e,i){return void 0===i&&(i=!0),this._on(!1,null,t,e,i,function(i,n){return t.call(e,i,n)}).disposer},t.prototype.on=function(t,e,i,n){return void 0===n&&(n=!0),this._on(!1,t,e,i,n,function(t,n){return e.call(i,n)}).disposer},t.prototype.once=function(t,e,i,n){void 0===n&&(n=!0);var r=this._on(!0,t,e,i,n,function(t,n){r.disposer.dispose(),e.call(i,n)});return r.disposer},t.prototype.off=function(t,e,i){this._removeExistingListener(!1,t,e,i)},t.prototype.copyFrom=function(t){var e=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(t===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");o.each(t._listeners,function(t){!t.killed&&t.shouldClone&&(null===t.type?e.onAll(t.callback,t.context):t.once?e.once(t.type,t.callback,t.context):e.on(t.type,t.callback,t.context))})},t}(),l=function(t){function e(e){var i=t.call(this)||this;return i.target=e,i}return n.c(e,t),e.prototype.copyFrom=function(t){var e=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(t===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");o.each(t._listeners,function(i){i.context!==t.target&&!i.killed&&i.shouldClone&&(null===i.t
20ype?e.onAll(i.callback,i.context):i.once?e.once(i.type,i.callback,i.context):e.on(i.type,i.callback,i.context))})},e}(u)},function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(21),o=i(59),a=i(36),s=i(11),u=i(18),l=i(5),h=function(t){function e(){var e=t.call(this)||this;return e.properties={},e.isTemplate=!1,e._scale=1,e._nonScaling=!0,e.className="Filter",e.filterPrimitives=new s.b,e.filterPrimitives.events.on("inserted",function(t){e._disposers.push(t.newValue)}),e.width=120,e.height=120,e.applyTheme(),e}return n.c(e,t),e.prototype.appendPrimitives=function(t){l.each(this.filterPrimitives.iterator(),function(e){t.add(e)})},e.prototype.animate=function(t,e,i){return new a.a(this,t,e,i).start()},Object.defineProperty(e.prototype,"width",{get:function(){return this.properties.width},set:function(t){this.properties.width=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.properties.height},set:function(t){this.properties.height=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),u.each(e.properties,function(t,e){i[t]=e})},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(o.b)()},set:function(t){this._paper!=t&&(this._paper=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new a.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale=t,this.updateScale()},enumerable:!0,configurable:!0}),e.prototype.updateScale=function(){},Object.defineProperty(e.prototype,"nonScaling",{get:function(){return this._nonScaling},set:function(t){this._nonScaling=t,t||(this._scale=1),this.updateScale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sprite",{set:function(t){this.setSprite(t)},enumerable:!0,configurable:!0}),e.prototype.setSprite=function(t){this._sprite&&this._sprite!=t&&this._sprite.filters.removeValue(this),this._sprite=t},e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return s}),e.b=function(){if(null===u){var t=document.createElement("div");t.hidden=!0,document.body.appendChild(t);var e=new o.a(t);u=new s(e.SVGContainer,"ghost")}return u};var n=i(123),r=i(216),o=i(155),a=i(35),s=function(){function t(t,e){this.container=t,this.id=e;var i=document.createElementNS(a.a,"svg");i.setAttribute("version","1.1"),i.setAttributeNS(a.e,"xmlns",a.a),i.setAttributeNS(a.e,"xmlns:xlink",a.d),i.setAttribute("role","group"),this.container.appendChild(i);var n=document.createElementNS(a.a,"desc");n.appendChild(document.createTextNode("JavaScript chart by amCharts")),i.appendChild(n),this.defs=document.createElementNS(a.a,"defs"),i.appendChild(this.defs),i.style.width="100%",i.style.height="100%",i.style.overflow="visible",this.svg=i}return t.prototype.add=function(t){return new n.a(t)},t.prototype.addGroup=function(t){return new r.a(t)},t.prototype.append=function(t){t&&this.svg.appendChild(t.node)},t.prototype.appendDef=function(t){t&&this.defs.appendChild(t.node)},t.prototype.foreignObject=function(){return new n.a("foreignObject")},t.prototype.supportsForeignObject=function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Extensibility","1.1")},t}(),u=null},function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(21),o=i(28),a=i(16),s=i(3),u=i(224),l=i(67),h=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e._locale=u.a,e._defaultLocale=u.a,e.className="Language",s.hasValue(l.a.defaultLocale)&&(e.locale=l.a.defaultLocale),e.applyTheme(),e}return n.c(e,t),e.prototype.getLocale=function(t){return null==t&&(t=this._locale),this.adapter.apply("locale",{locale:t}).locale},e.prototype.translate=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];e=this.getLocale(e);var o=t,a=this.getTranslations(e)[t];if(null===a)a="";else if(s.hasValue(a))a&&(o=a);else if(e!==this._defaultLocale)return this.translate.apply(this,n.f([t,this._defaultLocale],i));if(i.length)for(var u=i.length,l=0;l<u;++l)o=o.split("%"+(l+1)).join(i[l]);return this.adapter.apply("translate",{translation:o,locale:e}).translation},e.prototype.translateEmpty=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var o=this.translate.apply(this,n.f([t,e],i));return o==t?"":o},e.prototype.translateFunc=function(t,e){e=this.getLocale(e);var i=this.getTranslations(e)[t];return null!=i?i:e!==this._defaultLocale?this.translateFunc(t,this._defaultLocale):function(){return""}},e.prototype.translateAll=function(t,e){var i=this;return this.isDefault()?t:a.map(t,function(t){return i.translate(t,e)})},e.prototype.isDefault=function(){return this._defaultLocale===this._locale},Object.defineProperty(e.prototype,"locale",{get:function(){return this._locale},set:function(t){if(this._locale!=t&&(this._locale=t,this.events.isEnabled("localechanged"))){var e={type:"localechanged",locale:t,target:this};this.events.dispatchImmediately("localechanged",e)}},enumerable:!0,configurable:!0}),e.prototype.getTranslations=function(t){return this.adapter.apply("translations",{translations:t,locale:t}).translations},e}(r.b)}
20,function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return g});var n=i(0),r=i(164),o=i(89),a=i(7),s=i(1),u=i(165),l=i(4),h=i(5),c=i(18),p=i(3),d=i(6),f=function(t){function e(){var e=t.call(this)||this;return e.className="ValueAxisDataItem",e.values.value={},e.values.endValue={},e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this.values.endValue.value},set:function(t){this.setValue("endValue",t)},enumerable:!0,configurable:!0}),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;return e._stepDecimalPlaces=0,e._baseValue=0,e._adjustedStart=0,e._adjustedEnd=1,e._extremesChanged=!1,e.fillRule=function(t){var e=t.value,i=t.component;t.axisFill.disabled||(l.round(e/i.step/2,5)==Math.round(e/i.step/2)?t.axisFill.__disabled=!0:t.axisFill.__disabled=!1)},e.calculateTotals=!1,e.className="ValueAxis",e.axisFieldName="value",e.setPropertyValue("maxZoomFactor",1e3),e.setPropertyValue("extraMin",0),e.setPropertyValue("extraMax",0),e.setPropertyValue("strictMinMax",!1),e.setPropertyValue("maxPrecision",Number.MAX_VALUE),e.applyTheme(),e}return n.c(e,t),e.prototype.createDataItem=function(){return new f},e.prototype.createAxisBreak=function(){return new u.a},e.prototype.dataChangeUpdate=function(){this._start=0,this._end=1,this._maxZoomed=this._maxDefined,this._minZoomed=this._minDefined,this._maxAdjusted=this._maxDefined,this._minAdjusted=this._minDefined},e.prototype.processSeriesDataItems=function(){if(this.calculateTotals){var t=this.series.getIndex(0),e=t.startIndex;if(t.dataItems.length>0){e>0&&e--;var i=t.endIndex;i<t.dataItems.length&&i++;for(var n=e;n<i;++n){var r={};h.each(this.series.iterator(),function(t){var e=t.dataItems.getIndex(n);e&&c.each(e.values,function(t){var i=e.values[t].workingValue;p.isNumber(i)&&(p.isNumber(r[t])?r[t]+=i:r[t]=i)})}),h.each(this.series.iterator(),function(t){var e=t.dataItems.getIndex(n);e&&c.each(e.values,function(t){var i=e.values[t].workingValue;p.isNumber(i)&&(e.setCalculatedValue(t,r[t],"total"),e.setCalculatedValue(t,100*i/r[t],"totalPercent"))})})}}}},e.prototype.validate=function(){this.axisLength<=0||(t.prototype.validate.call(this),this.getMinMax(),this.fixAxisBreaks(),this.calculateZoom(),this.validateAxisElements(),this.validateAxisRanges(),this.validateBreaks(),this.hideUnusedDataItems(),this.renderer.invalidateLayout())},e.prototype.calculateZoom=function(){if(p.isNumber(this.min)&&p.isNumber(this.max)){var t=this.positionToValue(this.start),e=this.positionToValue(this.end),i=this.adjustDifference(t,e),n=this.adjustMinMax(t,e,i,this._gridCount,!0);t=n.min,e=n.max,this._adjustedStart=l.round((t-this.min)/(this.max-this.min),5),this._adjustedEnd=l.round((e-this.min)/(this.max-this.min),5),this._step=n.step,this._stepDecimalPlaces=d.decimalPlaces(this._step),this._minZoomed==t&&this._maxZoomed==e||(this._minZoomed=t,this._maxZoomed=e,this.dispatchImmediately("selectionextremeschanged"))}else this._adjustedStart=this.start,this._adjustedEnd=this.end},e.prototype.validateAxisElements=function(){var t=this;if(p.isNumber(this.max)&&p.isNumber(this.min)){var e=this.minZoomed-2*this._step;if(this.logarithmic){var i=Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E;e=i>1?Math.pow(10,Math.log(this.min)*Math.LOG10E):Math.floor(this.minZoomed/this._step)*this._step}else e=Math.floor(e/this._step)*this._step;var n=this._maxZoomed+this._step;this.resetIterators();for(var r=this._dataItemsIterator,o=0;e<=n;){if(!this.isInBreak(e)){var a=r.find(function(t){return t.value===e});this.appendDataItem(a),a.axisBreak=void 0,a.value!=e&&(a.value=e,a.text=this.formatLabel(e),a.label.invalid&&a.label.validate(),a.value>this.min&&a.value<this.max&&(a.label.measuredWidth>this.ghostLabel.measuredWidth||a.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=a.label.text)),this.validateDataElement(a),o++}if(this.logarithmic)(i=Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)>1?e=Math.pow(10,Math.log(this.min)*Math.LOG10E+o):e+=this._step;else e+=this._step}var s=this.axisBreaks,u=this.renderer;h.each(s.iterator(),function(e){if(e.breakSize>0&&l.getDistance(e.startPoint,e.endPoint)>u.minGridDistance)for(var i=e.adjustedMin;i<=e.adjustedMax;){if(i>=e.adjustedStartValue&&i<=e.adjustedEndValue){var n=r.find(function(t){return t.value===i});t.appendDataItem(n),n.axisBreak=e,n.value!=i&&(n.value=i,n.text=t.formatLabel(i),n.label.invali
20d&&n.label.validate()),t.validateDataElement(n)}i+=e.adjustedStep}})}},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e);var i=this.renderer,n=e.value,r=e.endValue,o=this.valueToPosition(n);e.position=o;var a=o,s=this.valueToPosition(n+this._step);p.isNumber(r)&&(s=a=this.valueToPosition(r)),e.point=i.positionToPoint(o);var u=e.tick;u&&!u.disabled&&i.updateTickElement(u,o,a);var l=e.grid;l&&!l.disabled&&i.updateGridElement(l,o,a);var h=e.label;h&&!h.disabled&&i.updateLabelElement(h,o,a);var c=e.axisFill;c&&!c.disabled&&(i.updateFillElement(c,o,s),e.isRange||this.fillRule(e));var d=e.mask;d&&i.updateFillElement(d,o,s)},e.prototype.formatLabel=function(t){return this.numberFormatter.format(t)},Object.defineProperty(e.prototype,"basePoint",{get:function(){var t=this._baseValue,e=this.valueToPosition(t);return this.renderer.positionToPoint(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseValue",{get:function(){return this.logarithmic?this.min:this._baseValue},set:function(t){this._baseValue=t,this.invalidateLayout()},enumerable:!0,configurable:!0}),e.prototype.anyToPosition=function(t){return this.valueToPosition(t)},e.prototype.valueToPoint=function(t){var e=this.valueToPosition(t),i=this.renderer.positionToPoint(e),n=this.renderer.positionToAngle(e);return{x:i.x,y:i.y,angle:n}},e.prototype.anyToPoint=function(t){return this.valueToPoint(t)},e.prototype.valueToPosition=function(t){if(p.isNumber(t)){var e=this.min,i=this.max;if(p.isNumber(e)&&p.isNumber(i)){var n=this._difference,r=this.axisBreaks;r.length>0&&h.eachContinue(r.iterator(),function(n){var r=n.adjustedStartValue,o=n.adjustedEndValue;if(p.isNumber(r)&&p.isNumber(o)){if(t<r)return!1;if(l.intersect({start:r,end:o},{start:e,end:i})){r=Math.max(r,e),o=Math.min(o,i);var a=n.breakSize;t>o?e+=(o-r)*(1-a):t<r||(t=r+(t-r)*a)}}return!0});var o=void 0;return o=this.logarithmic?(Math.log(t)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)/(Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E):(t-e)/n,o=l.round(o,5)}}return 0},e.prototype.positionToValue=function(t){(t=l.round(t,10)).toString();var e=this.min,i=this.max;if(p.isNumber(e)&&p.isNumber(i)){var n=i-e,r=this.axisBreaks,o=null;return r.length>0&&h.eachContinue(r.iterator(),function(r){var a=r.startPosition,s=r.endPosition,u=r.adjustedStartValue,h=r.adjustedEndValue;if(p.isNumber(u)&&p.isNumber(h)){if(u>i)return!1;if(l.intersect({start:u,end:h},{start:e,end:i})){u=l.max(u,e),h=l.min(h,i);var c=r.breakSize;if(n-=(h-u)*(1-c),t>s)e+=(h-u)*(1-c);else if(!(t<a))return o=u+(t-a)/(s-a)*(h-u),!1}return!0}}),p.isNumber(o)||(o=t*n+e),o}},e.prototype.xToValue=function(t){return this.positionToValue(this.pointToPosition({x:t,y:0}))},e.prototype.yToValue=function(t){return this.positionToValue(this.pointToPosition({x:0,y:t}))},e.prototype.pointToPosition=function(t){return this.renderer instanceof o.a?1-this.renderer.pointToPosition(t):this.renderer.pointToPosition(t)},e.prototype.getMinMax=function(){var t=this;this.updateGridCount();var e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;if(p.isNumber(this._minDefined)&&p.isNumber(this._maxDefined)||h.each(this.series.iterator(),function(n){if(!n.ignoreMinMax){var r=n.min(t);p.isNumber(r)&&r<e&&(e=r);var o=n.max(t);p.isNumber(o)&&o>i&&(i=o)}}),this.logarithmic&&e<=0)throw Error("Logarithmic value axis can not have vales <= 0.");if(0==e&&0==i&&(i=.9,e=-.9),p.isNumber(this._minDefined)&&(e=this._minDefined),p.isNumber(this._maxDefined)&&(i=this._maxDefined),p.isNumber(e)&&p.isNumber(i)){this._minReal=e,this._maxReal=i,e==Number.POSITIVE_INFINITY&&(e=void 0),i==Number.NEGATIVE_INFINITY&&(i=void 0);var n=this.adjustDifference(e,i);e=this.fixMin(e),i=this.fixMax(i),e==i&&(e-=1,i+=1),e-=(i-e)*this.extraMin,i+=(i-e)*this.extraMax;var r=this.adjustMinMax(e,i,n,this._gridCount,this.strictMinMax);if(e=r.min,n=(i=r.max)-e,r=this.adjustMinMax(e,i,i-e,this._gridCount,!0),e=r.min,i=r.max,this.strictMinMax&&(p.isNumber(this._minDefined)&&(e=this._minDefined),p.isNumber(this._maxDefined)&&(i=this._maxDefined)),(this._minAdjusted!=e||this._maxAdjusted!=i)&&p.isNumber(e)&&p.isNumber(i)){var o=this._minMaxAnimation;if(this._extremesChanged&&p.isNumber(this._minAdjusted)&&p.isNumber(this._maxAdjusted)&&this.inited){if(o&&!o.isFinished()&&this._finalMax==i&&this._finalMin==e)return;this._finalMin=e,this._finalMax=i,(o=this.animate([{property:"_minAdjusted",from:this._minAdjusted,to:e},{property:"_maxAdjusted",from:this._maxAdjusted,to:i}],this.rangeChangeDuration)).events.on("animationprogress",this.validateDataItems,this),o.events.on("animationended",function(){t.validateDataItems(),t.handleSelectionExtremesChange()}),this._minMaxAnimation=o,this.validateDataItems(),this.handleSelectionExtremesChange()}else{if(o&&!o.isFinished()&&this._finalMax==i&&this._finalMin==e)return;this._minAdjusted=e,this._maxAdjusted=i,this._finalMin=e,this._finalMax=i,this.invalidateDataItems(),this.dispatchImmediately("extremeschanged")}}this._extremesChanged=!1,this._difference=this.adjustDifference(e,i)}},e.prototype.fixMin=function(t){return t},e.prototype.fixMax=function(t){return t}
20,e.prototype.adjustMinMax=function(t,e,i,n,r){n<=1&&(n=1),n=Math.round(n);var o=t,a=e;0===i&&(i=Math.abs(e));var s=Math.log(Math.abs(i))*Math.LOG10E,u=Math.pow(10,Math.floor(s)),h=u/=10;r&&(h=0),this.logarithmic?(t<=0&&(t=this.baseValue),t==1/0&&(t=1),e==-1/0&&(e=10),t=Math.pow(10,Math.floor(Math.log(Math.abs(t))*Math.LOG10E)),e=Math.pow(10,Math.ceil(Math.log(Math.abs(e))*Math.LOG10E))):(r?(t=Math.floor(t/u)*u,e=Math.ceil(e/u)*u):(t=Math.ceil(t/u)*u-h,e=Math.floor(e/u)*u+h),t<0&&o>=0&&(t=0),e>0&&a<=0&&(e=0)),s=Math.log(Math.abs(i))*Math.LOG10E,u=Math.pow(10,Math.floor(s)),u/=10;var c=Math.ceil(i/n/u)*u,p=Math.pow(10,Math.floor(Math.log(Math.abs(c))*Math.LOG10E)),d=Math.ceil(c/p);d>5?d=10:d<=5&&d>2&&(d=5),c=Math.ceil(c/(p*d))*p*d,this.maxPrecision<Number.MAX_VALUE&&c!=l.ceil(c,this.maxPrecision)&&(c=l.ceil(c,this.maxPrecision));var f=0;if(p<1&&(f=Math.round(Math.abs(Math.log(Math.abs(p))*Math.LOG10E))+1,c=l.round(c,f)),!this.logarithmic){var g=Math.floor(t/c);t=l.round(c*g,f);var y=void 0;(y=r?Math.floor(e/c):Math.ceil(e/c))==g&&y++,(e=l.round(c*y,f))<a&&(e+=c),t>o&&(t-=c)}return{min:t,max:e,step:c}},Object.defineProperty(e.prototype,"min",{get:function(){var t=this._minAdjusted;return p.isNumber(t)||(t=this._minDefined),t},set:function(t){this._minDefined!=t&&(this._minDefined=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraMin",{get:function(){return this.getPropertyValue("extraMin")},set:function(t){this.setPropertyValue("extraMin",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraMax",{get:function(){return this.getPropertyValue("extraMax")},set:function(t){this.setPropertyValue("extraMax",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this._step},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){var t=this._maxAdjusted;return p.isNumber(t)||(t=this._maxDefined),t},set:function(t){this._maxDefined!=t&&(this._maxDefined=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.registerSeries=function(e){return new a.c([t.prototype.registerSeries.call(this,e),e.events.on("extremeschanged",this.handleExtremesChange,this,!1),e.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1),this.events.on("startchanged",e.invalidate,e,!1),this.events.on("endchanged",e.invalidate,e,!1),this.events.on("extremeschanged",e.invalidate,e,!1)])},e.prototype.handleSelectionExtremesChange=function(){var t,e,i=this,n=!0;h.each(this.series.iterator(),function(r){if(!r.ignoreMinMax){r.visible&&!r.isHiding&&(n=!1);var o=r.selectionMin(i),a=r.selectionMax(i);p.isNumber(o)&&(!p.isNumber(t)||o<t)&&(t=o),p.isNumber(a)&&(!p.isNumber(e)||a>e)&&(e=a)}}),h.each(this.series.iterator(),function(t){t.appeared||(n=!0)}),p.isNumber(this._minDefined)&&(t=this.strictMinMax?this._minDefined:this.min),p.isNumber(this._maxDefined)&&(e=this.strictMinMax?this._maxDefined:this.max);var r=this.adjustDifference(t,e),o=this.adjustMinMax(t,e,r,this._gridCount);t=o.min,e=o.max,t-=(e-t)*this.extraMin,e+=(e-t)*this.extraMax,t=l.fitToRange(t,this.min,this.max),e=l.fitToRange(e,this.min,this.max),r=this.adjustDifference(t,e),o=this.adjustMinMax(t,e,r,this._gridCount,!0),t=o.min,e=o.max,this.strictMinMax&&(t=l.max(t,this._minDefined),e=l.min(e,this._maxDefined));var a=this.valueToPosition(t),s=this.valueToPosition(e);n&&(a=0,s=1),this.zoom({start:a,end:s},!1)},Object.defineProperty(e.prototype,"strictMinMax",{get:function(){return this.getPropertyValue("strictMinMax")},set:function(t){this.setPropertyValue("strictMinMax",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logarithmic",{get:function(){return this.getPropertyValue("logarithmic")},set:function(t){this.setPropertyValue("logarithmic",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxPrecision",{get:function(){return this.getPropertyValue("maxPrecision")},set:function(t){this.setPropertyValue("maxPrecision",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.handleExtremesChange=function(){if(this._extremesChanged=!0,this.getMinMax(),this.ghostLabel){var t=this.min,e=this.max,i=0;i=p.isNumber(t)&&p.isNumber(e)&&t.toString().length>e.toString().length?t:e,this.ghostLabel.text=this.formatLabel(i)}}
20,e.prototype.getX=function(t,e,i,n){var r=t.getWorkingValue(e);p.hasValue(n)||(n="valueX");var o=t.getValue(n,"stack");return p.isNumber(r)||(r=this.baseValue,this.logarithmic&&o>0&&(r=0)),this.renderer.positionToPoint(this.valueToPosition(r+o)).x},e.prototype.getY=function(t,e,i,n){var r=t.getWorkingValue(e);p.hasValue(n)||(n="valueY");var o=t.getValue(n,"stack");return p.isNumber(r)||(r=this.baseValue,this.logarithmic&&o>0&&(r=0)),this.renderer.positionToPoint(this.valueToPosition(r+o)).y},e.prototype.getAngle=function(t,e,i,n){var r=t.getWorkingValue(e),o=t.getValue(n,"stack");return p.isNumber(r)||(r=this.baseValue),this.positionToAngle(this.valueToPosition(r+o))},e.prototype.getAnyRangePath=function(t,e,i){var n=this.valueToPosition(t),r=this.valueToPosition(e);return this.getPositionRangePath(n,r)},e.prototype.getTooltipText=function(t){var e=l.round(this.positionToValue(t),this._stepDecimalPlaces);return this.adapter.apply("getTooltipText",this.tooltip.numberFormatter.format(e))},e.prototype.zoomToValues=function(t,e,i,n){var r=(t-this.min)/(this.max-this.min),o=(e-this.min)/(this.max-this.min);this.zoom({start:r,end:o},i,n)},Object.defineProperty(e.prototype,"minZoomed",{get:function(){return l.max(this.min,this._minZoomed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomed",{get:function(){return l.min(this.max,this._maxZoomed)},enumerable:!0,configurable:!0}),e.prototype.fixAxisBreaks=function(){var e=this;t.prototype.fixAxisBreaks.call(this),h.each(this.axisBreaks.iterator(),function(t){var i=t.adjustedStartValue,n=t.adjustedEndValue,r=n-i,o=Math.ceil(r*t.breakSize)*e._gridCount/(e.max-e.min),a=e.adjustMinMax(i,n,r,o,!0);t.adjustedStep=a.step,t.adjustedMin=a.min,t.adjustedMax=a.max}),this._difference=this.adjustDifference(this.min,this.max)},e.prototype.getPositionLabel=function(t){var e=this.positionToValue(t);return this.numberFormatter.format(e)},e.prototype.showTooltipAt=function(t){this.showTooltipAtPosition(this.valueToPosition(t))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.min=e.min,this.max=e.max,this.calculateTotals=e.calculateTotals,this._baseValue=e.baseValue},e}(r.a);s.b.registeredClasses.ValueAxis=g,s.b.registeredClasses.ValueAxisDataItem=f},function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(9),o=i(42),a=i(1),s=i(8),u=i(4),l=function(t){function e(){var e=t.call(this)||this;return e.className="Column",e.width=Object(s.c)(80),e.height=Object(s.c)(80),e.applyOnClones=!0,e.strokeOpacity=1,e.layout="none",e.createAssets(),e.events.on("childadded",e.handleKidAdded,e,!1),e}return n.c(e,t),e.prototype.handleKidAdded=function(){"none"==this.layout&&(this.layout="absolute")},e.prototype.createAssets=function(){this.column=this.createChild(o.a),this.column.shouldClone=!1,this.column.cornerRadius(0,0,0,0),this._disposers.push(this.column)},e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.column;e&&(e.width=u.min(this.pixelWidth,this.maxWidth),e.height=u.min(this.pixelHeight,this.maxHeight),e.invali
20d&&e.validate())},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.column&&this.column.copyFrom(e.column)},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.column?{x:0,y:0,width:this.column.measuredWidth,height:this.column.measuredHeight}:{x:0,y:0,width:u.min(this.pixelWidth,this.maxWidth),height:u.min(this.pixelHeight,this.maxHeight)}},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.Column=l},function(t,e,i){var n=i(78)("meta"),r=i(20),o=i(38),a=i(24).f,s=0,u=Object.isExtensible||function(){return!0},l=!i(19)(function(){return u(Object.preventExtensions({}))}),h=function(t){a(t,n,{value:{i:"O"+ ++s,w:{}}})},c=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!u(t))return"F";if(!e)return"E";h(t)}return t[n].i},getWeak:function(t,e){if(!o(t,n)){if(!u(t))return!0;if(!e)return!1;h(t)}return t[n].w},onFreeze:function(t){return l&&c.NEED&&u(t)&&!o(t,n)&&h(t),t}}},function(t,e,i){var n=i(22)("unscopables"),r=Array.prototype;void 0==r[n]&&i(31)(r,n,{}),t.exports=function(t){r[n][t]=!0}},function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(9),o=i(37),a=i(42),s=i(13),u=i(1),l=function(t){function e(){var e=t.call(this)||this;e.className="Button",e.tooltipY=0,e.iconPosition="left",e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16);var i=new s.a,n=e.background;n.fill=i.getFor("secondaryButton"),n.stroke=i.getFor("secondaryButtonStroke"),n.fillOpacity=1,n.strokeOpacity=1,n.cornerRadius(3,3,3,3),e.label=new o.a,e.label.fill=i.getFor("secondaryButtonText");var r=n.states.create("hover");r.properties.fillOpacity=1,r.properties.fill=i.getFor("secondaryButtonHover");var a=n.states.create("down");return a.transitionDuration=100,a.properties.fill=i.getFor("secondaryButtonDown"),a.properties.fillOpacity=1,e.role="button",e.focusable=!0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"icon",{get:function(){return this.getPropertyValue("icon")},set:function(t){var e=this.getPropertyValue("icon");e&&(e.parent=void 0),t&&(this.setPropertyValue("icon",t),t.parent=this,t.interactionsEnabled=!1,this.iconPosition=this.iconPosition,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconPosition",{get:function(){return this.getPropertyValue("iconPosition")},set:function(t){this.setPropertyValue("iconPosition",t),this.icon&&("left"==t?this.icon.toBack():this.icon.toFront())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},set:function(t){this._label&&this.removeDispose(this._label),this._label=t,t&&(t.parent=this,t.interactionsEnabled=!1,this._disposers.push(this._label))},enumerable:!0,configurable:!0}),e.prototype.createBackground=function(){return new a.a},e}(r.a);u.b.registeredClasses.Button=l},function(t,e,i){"use strict";i.d(e,"a",function(){return h}),i.d(e,"b",function(){return c});var n=i(1),r=i(9),o=i(56),a=i(67),s=i(90),u=i(36),l=i(16),h=function(){function t(){this._isPaused=!1,this.uid=n.b.getUniqueId(),this.dummyCounter=0,this._frameRequested=!1,this._updateStepDuration=50,this.time=Date.now()}return t.prototype.reportTime=function(t,e){this.dummyCounter,e&&(this.time=Date.now())},t.prototype.update=function(){var t=this;if(!this._isPaused){this._frameRequested=!1;var e=Date.now();n.b.dispatchImmediately("enterframe");for(var i in n.b.invalidDatas){for(var o=n.b.invalidDatas[i];o.length>0;){var a=(h=o[0]).dataProvider;if(h.isDisposed())l.remove(o,h);else if(a&&a.dataInvalid)try{if(a.validateData(),a.dataValidationProgress<1)break}catch(t){l.remove(o,a),a.raiseCriticalError(t)}else try{if(h.validateData(),h.dataValidationProgress<1)break}catch(t){l.remove(o,h),h.raiseCriticalError(t)}}if(Date.now()-e>this._updateStepDuration)break}for(;n.b.invalidRawDatas.length>0;){if((h=n.b.invalidRawDatas[0]).isDisposed())l.remove(n.b.invalidRawDatas,h);else try{h.validateRawData()}catch(t){l.remove(n.b.invalidRawDatas,h),h.raiseCriticalError(t)}}for(;n.b.invalidDataItems.length>0;){a=(h=n.b.invalidDataItems[0]).dataProvider;if(h.isDisposed()||h.dataInvalid||a&&a.dataInvalid);else try{h.validateDataItems()}catch(t){l.remove(n.b.invalidDataItems,h),h.raiseCriticalError(t)}l.remove(n.b.invalidDataItems,h)}for(;n.b.invalidDataRange.length>0;){var h;a=(h=n.b.invalidDataRange[0]).dataProvider;if(h.isDisposed()||h.dataInvalid||a&&a.dataInvalid);else try{h.validateDataRange(),h.skipRangeEvent||h.dispatchImmediately("datarangechanged"),h.skipRangeEvent=!1}catch(t){l.remove(n.b.invalidDataRange,h),h.raiseCriticalError(t)}l.remove(n.b.invalidDataRange,h)}var c=[];for(var p in n.b.invalidLayouts)this.validateLayouts(p);for(var d in n.b.invalidPositions)this.validatePositions(d);var f=!1;for(var i in e=Date.now(),n.b.invalidSprites){for(var g=0,y=n.b.invalidSprites[i];y.length>0;){if(this.validateLayouts(i),this.validatePositions(i),5==++g){if(Date.now()-e>this._updateStepDuration)break;g=0}var m=y[y.length-1];if(m&&!m.isDisposed()){if(this.checkIfValidate(m))if(this.checkIfValidate2(m))try{m instanceof r.a&&m.children.each(function(e){e.invali
20d&&(t.checkIfValidate(e)?e.dataItem&&e.dataItem.component&&e.dataItem.component.dataInvalid?c.push(e):e.validate():c.push(e))}),m.validate()}catch(t){m.invalid=!1,l.remove(y,m),m.raiseCriticalError(t)}else c.push(m);else c.push(m);m.invalid=!1}l.remove(y,m)}n.b.invalidSprites[i]=n.b.invalidSprites[i].concat(c)}for(var i in n.b.invalidSprites)n.b.invalidSprites[i].length>0&&(f=!0);for(var i in n.b.invalidDatas)n.b.invalidDatas[i].length>0&&(f=!0);for(var b in l.each(l.copy(u.d),function(t){t.update()}),n.b.invalidLayouts)this.validateLayouts(b);for(var v in n.b.invalidPositions)this.validatePositions(v);for(var _ in Object(s.d)(),n.b.invalidLayouts)this.validateLayouts(_);for(var x in n.b.invalidPositions)this.validatePositions(x);if(n.b.dispatchImmediately("exitframe"),(f||u.d.length>0||[].length>0)&&this.requestFrame(),this._updateStepDuration<200){var P=!0;for(var i in n.b.invalidDatas)n.b.invalidDatas[i].length>0&&(P=!1);for(var i in n.b.invalidSprites)n.b.invalidSprites[i].length>0&&(P=!1);P&&(this._updateStepDuration=200)}}},t.prototype.checkIfValidate=function(t){return!(t instanceof o.a&&(t.dataInvalid||t.dataProvider&&t.dataProvider.dataInvalid))},t.prototype.checkIfValidate2=function(t){return!(t.dataItem&&t.dataItem.component&&t.dataItem.component.dataInvalid&&!t.dataItem.component.isTemplate)},t.prototype.requestFrame=function(){var t=this;this._frameRequested||(Object(s.b)(function(){t.update()}),this._frameRequested=!0)},t.prototype.validatePositions=function(t){for(var e=n.b.invalidPositions[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())l.remove(e,i);else try{i instanceof r.a&&i.children.each(function(t){t.positionInvalid&&t.validatePosition()}),i.validatePosition()}catch(t){i.positionInvalid=!1,l.remove(e,i),i.raiseCriticalError(t)}}},t.prototype.validateLayouts=function(t){for(var e=n.b.invalidLayouts[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())l.remove(e,i);else try{i.children.each(function(t){t instanceof r.a&&t.layoutInvalid&&!t.isDisposed()&&t.validateLayout()}),i.validateLayout()}catch(t){i.layoutInvalid=!1,l.remove(e,i),i.raiseCriticalError(t)}}},t.prototype.log=function(t){a.a.verbose&&console&&console.log(t)},Object.defineProperty(t.prototype,"isPaused",{get:function(){return this._isPaused},set:function(t){this._isPaused=t,t||(this._frameRequested=!1,this.requestFrame())},enumerable:!0,configurable:!0}),t.VERSION="4.0.4",t}(),c=new h},function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n={verbose:!0,commercialLicense:!1,classNamePrefix:"amcharts-",autoSetClassName:!1}},function(t,e,i){"use strict";i.d(e,"f",function(){return n}),i.d(e,"g",function(){return r}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a}),i.d(e,"b",function(){return s}),i.d(e,"d",function(){return u}),i.d(e,"e",function(){return l});var n="px",r="string",o="number",a="date",s="duration",u="__§§§__",l="__§§§§__"},function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i(0),r=i(21),o=i(11),a=i(59),s=i(1),u=i(5),l=i(4),h=i(3),c=function(t){function e(){var e=t.call(this)||this;return e._stops=new o.b,e._rotation=0,e.className="LinearGradient",e._stops.events.on("setIndex",e.validate,e),e._stops.events.on("inserted",e.validate,e),e.element=e.paper.addGroup("linearGradient"),e.id="gradient-"+s.b.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){var t=this,e=(this._rotation+90)*l.RADIANS,i=Math.round(50+50*Math.sin(e+Math.PI))+"%",n=Math.round(50+50*Math.cos(e))+"%",r=Math.round(50+50*Math.sin(e))+"%",o=Math.round(50+50*Math.cos(e+Math.PI))+"%",a=this.element;a.removeChildNodes(),a.attr({x1:i,x2:r,y1:n,y2:o}),u.each(u.indexed(this._stops.iterator()),function(e){var i=e[0],n=e[1],r=n.offset;h.isNumber(r)||(r=i/(t._stops.length-1));var o=t.paper.add("stop");o.attr({"stop-color":n.color}),h.isNumber(n.opacity)&&o.attr({"stop-opacity":n.opacity}),h.isNumber(r)&&o.attr({offset:r}),a.add(o)})},e.prototype.clear=function(){this._stops.clear()},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,o
20pacity:e,offset:i})},Object.defineProperty(e.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(a.b)()},set:function(t){this._paper!=t&&(this._paper=t,this.validate(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation=t,this.validate()},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.stops.copyFrom(e.stops),this._rotation=e.rotation},e}(r.a);s.b.registeredClasses.LinearGradient=c},function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(){function t(){}return t.grab=[{property:"cursor",value:"move"},{property:"cursor",value:"grab"},{property:"cursor",value:"-moz-grab"},{property:"cursor",value:"-webkit-grab"}],t.grabbing=[{property:"cursor",value:"move"},{property:"cursor",value:"grabbing"},{property:"cursor",value:"-moz-grabbing"},{property:"cursor",value:"-webkit-grabbing"}],t.pointer=[{property:"cursor",value:"pointer"}],t.default=[{property:"cursor",value:"default"}],t.horizontalResize=[{property:"cursor",value:"ew-resize"}],t.verticalResize=[{property:"cursor",value:"ns-resize"}],t}()},function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(10),o=i(14),a=i(69),s=i(1),u=i(3),l=i(4),h=function(t){function e(){var e=t.call(this)||this;return e.className="Line",e.element=e.paper.add("line"),e.fill=Object(o.c)(),e.x1=0,e.y1=0,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.x1==this.x2||this.y1==this.y2?this.pixelPerfect=!0:this.pixelPerfect=!1,this.x1=this.x1,this.x2=this.x2,this.y1=this.y1,this.y2=this.y2},Object.defineProperty(e.prototype,"x1",{get:function(){return this.getPropertyValue("x1")},set:function(t){u.isNumber(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof a.a&&(e=1e-5),this.setPropertyValue("x1",t,!0),this.element.attr({x1:t+e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x2",{get:function(){var t=this.getPropertyValue("x2");return u.isNumber(t)||(t=this.pixelWidth),t},set:function(t){u.isNumber(t)||(t=0),this.setPropertyValue("x2",t,!0),this.element.attr({x2:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y1",{get:function(){return this.getPropertyValue("y1")},set:function(t){u.isNumber(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof a.a&&(e=1e-5),this.setPropertyValue("y1",t,!0),this.element.attr({y1:t+e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y2",{get:function(){var t=this.getPropertyValue("y2");return u.isNumber(t)||(t=this.pixelHeight),t},set:function(t){u.isNumber(t)||(t=0),this.setPropertyValue("y2",t,!0),this.element.attr({y2:t})},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e={x:this.x1,y:this.y1},i={x:this.x2,y:this.y2},n=l.getMidPoint(e,i,t),r=l.getAngle(e,i);return{x:n.x,y:n.y,angle:r}},e}(r.a);s.b.registeredClasses.Line=h},function(t,e,i){"use strict";i.d(e,"b",function(){return u}),e.c=function(t,e,i,o,l,h){var c=t.x,p=t.y,d=e.x,f=e.y,g=s.getDistance(t,e);h&&(i=g/Math.round(g/i));var y=n.b.getCache(a.stringify(["wavedLine",t.x,e.x,t.y,e.y,i,o]));if(!y){if(g>0){var m=Math.atan2(f-p,d-c),b=Math.cos(m),v=Math.sin(m),_=i*b,x=i*v;if(i<=1||o<=1)y=r.lineTo(e);else{var P=Math.round(2*g/i),w=[],O=1;d<c&&(O*=-1),f<p&&(O*=-1);for(var S=0;S<=P;S++){var k=c+S*_/2+(O*=-1)*o/2*v,T=p+S*x/2-O*o/2*b;w.push({x:k,y:T})}y=new u(l,l).smooth(w)}}else y="";n.b.setCache(a.stringify(["wavedLine",t.x,e.x,t.y,e.y,i,o]),y)}return y},i.d(e,"a",function(){return l});var n=i(1),r=i(12),o=i(16),a=i(6),s=i(4);var u=function(){function t(t,e){this._tensionX=t,this._tensionY=e}return t.prototype.smooth=function(t){var e=this._tensionX,i=this._tensionY;if(t.length<3||e>=1&&i>=1)return r.polyline(t);var n=t[0],o=t[t.length-1],a=!1;s.round(n.x,3)==s.round(o.x)&&s.round(n.y)==s.round(o.y)&&(a=!0);for(var u="",l=0,h=t.length-1;l<h;l++){var c=t[l-1],p=t[l],d=t[l+1],f=t[l+2];0===l?c=a?t[t.length-2]:t[l]:l==t.length-2&&(f=a?t[1]:t[l+1]);var g=s.getCubicControlPointA(c,p,d,f,e,i),y=s.getCubicControlPointB(c,p,d,f,e,i);u+=r.cubicCurveTo(d,g,y)}return u},t}();var l=function(){function t(t){this._closed=t.closed}return t.prototype.smooth=function(t){var e=this,i=NaN,n=NaN,a=NaN,s=NaN,u=NaN,l=NaN,h=NaN,c=NaN,p=NaN,d=NaN,f=0,g="",y=function(t,e){g+=r.cubicCurveTo({x:(i+4*n+t)/6,y:(l+4*h+e)/6},{x:(2*i+n)/3,y:(2*l+h)/3},{x:(i+2*n)/3,y:(l+2*h)/3})},m=function(t){var o=t.x,m=t.y;switch(f){case 0:f=1,e._closed?(a=o,c=m):g+=r.lineTo({x:o,y:m});break;case 1:f=2,e._closed&&(s=o,p=m);break;case 2:if(f=3,e._closed){u=o,d=m,g+=r.moveTo({x:(i+4*n+o)/6,y:(l+4*h+m)/6});break}g+=r.lineTo({x:(5*i+n)/6,y:(5*l+h)/6});default:y(o,m)}i=n,n=o,l=h,h=m};if(o.each(t,m),this._closed)switch(f){case 1:g+=r.moveTo({x:a,y:c}),g+=r.closePath();break;case 2:g+=r.moveTo({x:(a+2*s)/3,y:(c+2*p)/3}
20),g+=r.lineTo({x:(s+2*a)/3,y:(p+2*c)/3}),g+=r.closePath();break;case 3:m({x:a,y:c}),m({x:s,y:p}),m({x:u,y:d})}else{switch(f){case 3:y(n,h);case 2:g+=r.lineTo({x:n,y:h})}g+=r.closePath()}return g},t}()},function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i(0),r=i(21),o=i(28),a=i(36),s=i(6),u=i(16),l=i(18),h=i(3),c=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e._disabled=!1,e.hasProperties=!1,e.values={},e.categories={},e.dates={},e.locations={},e.workingLocations={},e.properties={},e.sprites=[],e.isTemplate=!1,e._visible=!0,e._hidden=!1,e._ignoreMinMax=!1,e.hasChildren={},e.isHiding=!1,e._valueAnimations={},e._locationAnimations={},e.className="DataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"index",{get:function(){return this.component?this.component.dataItems.indexOf(this):-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new a.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return!this._hidden&&this._visible},set:function(t){t&&(this.hidden=!1),this._visible!=t&&this.setVisibility(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return this._hidden},set:function(t){this._hidden!=t&&(this._hidden=t,t?this.setVisibility(!1):this.setVisibility(!0,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,u.each(this.sprites,function(e){e.__disabled=t})},enumerable:!0,configurable:!0}),e.prototype.setVisibility=function(t,e){if(u.each(this.sprites,function(e){t?e.visible=e.defaultState.properties.visible:e.hiddenState?e.visible=e.hiddenState.properties.visible:e.visible=!1}),this._visible=t,this.events.isEnabled("visibilitychanged")){var i={type:"visibilitychanged",target:this,visible:t};this.events.dispatchImmediately("visibilitychanged",i)}},e.prototype.show=function(t,e,i){var n,r=this;if(!this.hidden)return this.setVisibility(!0,!0),this.isHiding=!1,this._hideDisposer&&this.removeDispose(this._hideDisposer),i&&u.each(i,function(i){n=r.setWorkingValue(i,r.values[i].value,t,e)}),u.each(this.sprites,function(i){var n=i.show(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))}),n},e.prototype.dispose=function(){t.prototype.dispose.call(this),u.each(this.sprites,function(t){t.dispose()}),this.sprites=[]},e.prototype.hide=function(t,e,i,n){var r=this;if(this.isHiding=!0,u.each(this.sprites,function(i){var n=i.hide(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))}),h.isNumber(i)&&n){var o;if(u.each(n,function(n){var a=r.setWorkingValue(n,i,t,e);a&&(o=a)}),o&&!o.isFinished())return this._hideDisposer=o.events.on("animationended",function(){r.setVisibility(!1,!0),r.isHiding=!1}),this._disposers.push(this._hideDisposer),o;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},e.prototype.getDuration=function(t){var e=this.component;if(e&&(h.isNumber(t)||(t=e.interpolationDuration)),null!=t)return this.adapter.apply("duration",t)},e.prototype.getValue=function(t,e){if(t&&this.component){e||(e=this.component.dataFields[t+"Show"])||(e="value");var i=this.values[t][e];return this.adapter.isEnabled("value")?this.adapter.apply("value",{value:i,field:t}).value:i}},e.prototype.getWorkingValue=function(t){if(t&&this.component){var e=this.component.dataFields[t+"Show"];return e||(e="workingValue"),this.adapter.apply("workingValue",{workingValue:this.values[t][e],field:t}).workingValue}},e.prototype.setValue=function(t,e,i,n){var r=this.values[t].value,o=this.getDuration(i);if(r!==(e=h.toNumber(e))){if(this.values[t].value=e,this.events.isEnabled("valuechanged")){var a={type:"valuechanged",target:this,property:t};this.events.dispatchImmediately("valuechanged",a)}this.component&&this.component.handleDataItemValueChange(this)}this.setWorkingValue(t,e,o,n)}
20,e.prototype.setCalculatedValue=function(t,e,i){if(this.values[t][i]!==e&&h.isNumber(e)){if(this.values[t][i]=e,this.events.isEnabled("calculatedvaluechanged")){var n={type:"calculatedvaluechanged",target:this,property:t};this.events.dispatchImmediately("calculatedvaluechanged",n)}this.component&&this.component.handleDataItemCalculatedValueChange(this)}},e.prototype.setWorkingValue=function(t,e,i,n){if(h.isNumber(this.values[t].value)){var r=this.getDuration(i),o=this.values[t].workingValue;if(null!=r&&r>0&&h.isNumber(o)&&this.component){if(o!=e){var a=this.animate({childObject:this.values[t],property:"workingValue",from:o,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&a.delay(n),a.events.on("animationstarted",this.handleInterpolationProgress,this),a.events.on("animationprogress",this.handleInterpolationProgress,this),a.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[t]=a,a}(s=this._valueAnimations[t])&&s.stop(),this.values[t].workingValue=e}else{var s;if((s=this._valueAnimations[t])&&s.stop(),this.values[t].workingValue=e,this.events.isEnabled("workingvaluechanged")){var u={type:"workingvaluechanged",target:this,property:t};this.events.dispatchImmediately("workingvaluechanged",u)}this.component&&this.component.handleDataItemWorkingValueChange(this)}}},e.prototype.setLocation=function(t,e,i,n){if(this.locations[t]!==e){if(this.locations[t]=e,this.events.isEnabled("locationchanged")){var r={type:"locationchanged",target:this,property:t};this.events.dispatchImmediately("locationchanged",r)}this.component&&this.component.handleDataItemValueChange(this),this.setWorkingLocation(t,e,i,n)}},e.prototype.setWorkingLocation=function(t,e,i,n){var r=this.getDuration(i),o=this.workingLocations[t];if(null!=r&&r>0&&h.isNumber(o)&&this.component){if(o!=e){var a=this.animate({childObject:this.workingLocations,property:t,from:o,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&a.delay(n),a.events.on("animationstarted",this.handleInterpolationProgress,this),a.events.on("animationprogress",this.handleInterpolationProgress,this),a.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[t]=a,a}(s=this._locationAnimations[t])&&s.stop(),this.workingLocations[t]=e}else{var s;if((s=this._locationAnimations[t])&&s.stop(),this.workingLocations[t]=e,this.events.isEnabled("workinglocationchanged")){var u={type:"workinglocationchanged",target:this,property:t};this.events.dispatchImmediately("workinglocationchanged",u)}this.component&&this.component.handleDataItemWorkingLocationChange(this)}},e.prototype.setDate=function(t,e,i){!h.isDate(e)&&this.component&&(e=this.component.dateFormatter.parse(e)),this.dates[t]!==e&&(this.dates[t]=e,this.setValue(t,e.getTime(),i))},e.prototype.getDate=function(t){return this.adapter.apply("date",{date:this.dates[t],field:t}).date},e.prototype.setProperty=function(t,e){if(this.properties[t]!==e){if(this.hasProperties=!0,this.properties[t]=e,this.events.isEnabled("propertychanged")){var i={type:"propertychanged",target:this,property:t,value:e};this.events.dispatchImmediately("propertychanged",i)}this.component&&this.component.handleDataItemPropertyChange(this)}},e.prototype.setCategory=function(t,e){h.isString(e)||(e=h.castString(e)),this.categories[t]!==e&&(this.categories[t]=e)},e.prototype.clone=function(e){var i=t.prototype.clone.call(this,e);return this.dataContext&&(i.dataContext=s.copy(this.dataContext,{})),s.copyProperties(this.locations,i.locations),s.copyProperties(this.properties,i.properties),s.copyProperties(this.categories,i.categories),s.copyProperties(this.values,i.values),s.copyProperties(this.dates,i.dates),l.each(this.values,function(t,e){i.values[t]=l.copy(e)}),i.adapter.copyFrom(this.adapter),i.events.copyFrom(this.events),i.component=this.component,i},Object.defineProperty(e.prototype,"opacity",{set:function(t){u.each(this.sprites,function(e){e.opacity=t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){if(this._ignoreMinMax=t,this.events.isEnabled("propertychanged")){var e={type:"propertychanged",target:this,property:"ignoreMinMax",value:t};this.events.dispatchImmediately("propertychanged",e)}this.component&&this.component.handleDataItemPropertyChange(this)},enumerable:!0,configurable:!0}
20),e.prototype.animate=function(t,e,i){return new a.a(this,t,e,i).start()},e.prototype.handleInterpolationProgress=function(t){var e=t.target.animationOptions[0];if(e){if(this.events.isEnabled("workingvaluechanged")){var i={type:"workingvaluechanged",target:this,property:e.dummyData};this.events.dispatchImmediately("workingvaluechanged",i)}this.component&&this.component.handleDataItemWorkingValueChange(this)}},e.prototype.hasValue=function(t){for(var e=0,i=t.length;e<i;e++)if(!h.hasValue(this.values[t[e]].value))return!1;return!0},Object.defineProperty(e.prototype,"depth",{get:function(){return this.parent?this.parent.depth+1:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataContext",{get:function(){return this._dataContext},set:function(t){this._dataContext=t},enumerable:!0,configurable:!0}),e.prototype.addSprite=function(t){t.dataItem&&t.dataItem!=this&&u.remove(t.dataItem.sprites,t),this.visible||t.hide(0),this.isHiding&&t.hide(),this.sprites.push(t),t.dataItem=this},e}(r.b)},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(9),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="Bullet",e.isMeasured=!1,e.tooltipX=0,e.tooltipY=0,e.layout="none",e.applyOnClones=!0,e.copyToLegendMarker=!0,e}return n.c(e,t),Object.defineProperty(e.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(t){this.setPropertyValue("locationX",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(t){this.setPropertyValue("locationY",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xField",{get:function(){return this.getPropertyValue("xField")},set:function(t){this.setPropertyValue("xField",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yField",{get:function(){return this.getPropertyValue("yField")},set:function(t){this.setPropertyValue("yField",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDynamic",{get:function(){return this.getPropertyValue("isDynamic")},set:function(t){this.setPropertyValue("isDynamic",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copyToLegendMarker",{get:function(){return this.getPropertyValue("copyToLegendMarker")},set:function(t){this.setPropertyValue("copyToLegendMarker",t)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Bullet=a},function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n=i(0),r=i(9),o=i(10),a=i(1),s=i(4),u=i(12),l=i(3),h=i(6),c=i(125),p=function(t){function e(){var e=t.call(this)||this;return e.className="Slice",e.setPropertyValue("cornerRadius",0),e.setPropertyValue("startAngle",0),e.setPercentProperty("innerRadius",0),e.setPercentProperty("radius",0),e.setPropertyValue("arc",0),e.setPropertyValue("shiftRadius",0),e.strokeOpacity=1,e.setPropertyValue("layout","none"),e.slice=e.createChild(o.a),e.slice.isMeasured=!1,e._disposers.push(e.slice),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.slice.path=u.arc(this.startAngle,this.arc,this.radius,this.pixelInnerRadius,this.radiusY,this.cornerRadius,this.innerCornerRadius),this.slice.invalidate(),this.shiftRadius=this.shiftRadius,this.realFill instanceof c.a&&this.updateGradient(this.realFill),this.realStroke instanceof c.a&&this.updateGradient(this.realStroke)},e.prototype.updateGradient=function(t){t.element.attr({gradientUnits:"userSpaceOnUse"}),t.element.attr({r:this.radius}),t.cx=0,t.cy=0,t.element.attr({radius:this.radius})},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;if(this.isMeasured){var t=s.getArcRect(this.startAngle,this.startAngle+this.arc,this.pixelInnerRadius),e=s.getArcRect(this.startAngle,this.startAngle+this.arc,this.radius);return s.getCommonRectangle([t,e])}return{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")}
20,set:function(t){this.setPropertyValue("startAngle",s.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){l.isNumber(t)||(t=0),this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){var t=this.getPropertyValue("radius");return l.isNumber(t)||(t=0),t},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return l.isNumber(t)||(t=this.radius),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return h.relativeToValue(this.innerRadius,this.radius)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerCornerRadius",{get:function(){return this.getPropertyValue("innerCornerRadius")},set:function(t){this.setPropertyValue("innerCornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftRadius",{get:function(){return this.getPropertyValue("shiftRadius")},set:function(t){this.setPropertyValue("shiftRadius",t),this.dx=t*this.radius*this.ix,this.dy=t*this.radiusY*this.iy},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ix",{get:function(){return s.cos(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iy",{get:function(){return this.radius>0?s.sin(this.middleAngle)*this.radiusY/this.radius:s.sin(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleAngle",{get:function(){return this.startAngle+this.arc/2},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");if(!l.isNumber(t)){var e=h.relativeToValue(this.innerRadius,this.radius);t=this.ix*(e+(this.radius-e)/2)}return t},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipY");if(!l.isNumber(t)){var e=h.relativeToValue(this.innerRadius,this.radius);t=this.iy*(e+(this.radius-e)/2)}return t},e}(r.a);a.b.registeredClasses.Slice=p},,function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,e){t.exports=!1},function(t,e,i){var n=i(278),r=i(183);t.exports=Object.keys||function(t){return n(t,r)}},function(t,e,i){var n=i(49),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?r(t+e,0):o(t,e)}},function(t,e,i){var n=i(15),r=i(279),o=i(183),a=i(182)("IE_PROTO"),s=function(){},u=function(){var t,e=i(180)("iframe"),n=o.length;for(e.style.display="none",i(184).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[o[n]];return u()};t.exports=Object.create||function(t,e){var i;return null!==t?(s.prototype=n(t),i=new s,s.prototype=null,i[a]=t):i=u(),void 0===e?i:r(i,e)}},function(t,e,i){var n=i(278),r=i(183).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},function(t,e,i){"use strict";var n=i(17),r=i(24),o=i(23),a=i(22)("species");t.exports=function(t){var e=n[t];o&&e&&!e[a]&&r.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,i,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(i+": incorrect invocation!");return t}},function(t,e,i){var n=i(44),r=i(290),o=i(196),a=i(15),s=i(25),u=i(198),l={},h={};
20(e=t.exports=function(t,e,i,c,p){var d,f,g,y,m=p?function(){return t}:u(t),b=n(i,c,e?2:1),v=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=s(t.length);d>v;v++)if((y=e?b(a(f=t[v])[0],f[1]):b(t[v]))===l||y===h)return y}else for(g=m.call(t);!(f=g.next()).done;)if((y=r(g,b,f.value,e))===l||y===h)return y}).BREAK=l,e.RETURN=h},function(t,e,i){var n=i(32);t.exports=function(t,e,i){for(var r in e)n(t,r,e[r],i);return t}},,function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i(0),r=i(114),o=i(126),a=i(163),s=i(1),u=i(8),l=i(4),h=i(12),c=i(6),p=i(3),d=function(t){function e(){var e=t.call(this)||this;return e.className="AxisRendererY",e.minGridDistance=40,e.opposite=!1,e.height=Object(u.c)(100),e.labels.template.verticalCenter="middle",e.applyTheme(),e}return n.c(e,t),e.prototype.setAxis=function(e){t.prototype.setAxis.call(this,e),e.layout="horizontal"},e.prototype.processRenderer=function(){t.prototype.processRenderer.call(this);var e=this.axis;if(e){var i=e.title;i.valign="middle",e.height=Object(u.c)(100),this.opposite?(i.rotation=90,this.line.toBack(),i.toFront()):(i.rotation=-90,i.toBack(),this.line.toFront())}},e.prototype.updateTooltip=function(){if(this.axis){var t=0,e=2e3,i=this.axisLength;this.opposite?this.inside&&(t=-2e3,e=2e3):this.inside||(t=-2e3,e=2e3),this.axis.updateTooltip("horizontal",{x:t,y:0,width:e,height:i})}},Object.defineProperty(e.prototype,"axisLength",{get:function(){var t=this.axis;return t.measuredHeight-t.pixelPaddingTop-t.pixelPaddingBottom||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){return{x:0,y:this.positionToCoordinate(t)}},e.prototype.pointToPosition=function(t){return this.coordinateToPosition(t.y)},e.prototype.getPositionRangePath=function(t,e){var i=l.fitToRange(this.positionToCoordinate(t),0,this.axisLength),n=l.fitToRange(this.positionToCoordinate(e),0,this.axisLength),r=Math.abs(n-i),o=this.getWidth(),a=Math.min(i,n);return h.rectToPath({x:0,y:a,width:o,height:r},!0)},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.path=h.moveTo({x:0,y:0})+h.lineTo({x:this.getWidth(),y:0}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){var n=this.positionToPoint(e),r=t.length;try{this.axis.title.measuredWidth}catch(t){}this.opposite?(n.x=this.gridContainer.pixelWidth,r*=t.inside?-1:1):(r*=t.inside?1:-1,n.x=0),t.path=h.moveTo({x:0,y:0})+h.lineTo({x:r,y:0}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateAxisLine=function(){this.line.path=h.moveTo({x:0,y:0})+h.lineTo({x:0,y:this.axisLength})},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.axis,i=this.getWidth(),n=this.getHeight(),r=e.basePoint.y,o=this.baseGrid;if(r<0||r>n)o.hide(0);else{var a=c.spritePointToSprite({x:0,y:0},this.gridContainer,o.parent).x;o.path=h.moveTo({x:0,y:0})+h.lineTo({x:i,y:0}),o.moveTo({x:a,y:r}),o.show(0)}},e.prototype.updateLabelElement=function(t,e,i,n){p.hasValue(n)||(n=t.location),e+=(i-e)*n,t.isMeasured=!t.inside;var r,o=this.positionToPoint(e),a=0;this.opposite?(r=t.inside?"right":"left",t.inside&&"left"==t.align&&(a=-this.gridContainer.maxWidth,r="left"),o.x=0+a):(r=t.inside?"left":"right",t.inside&&"right"==t.align&&(a=this.gridContainer.maxWidth,r="right"),o.x=this.measuredWidth+a),t.horizontalCenter=r,this.positionItem(t,o),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,o=e.startPoint,a=e.endPoint,s=e.pixelMarginLeft,u=this.getWidth()-e.pixelMarginLeft-e.pixelMarginRight;o.y=l.fitToRange(o.y,-1,this.pixelHeight+1),a.y=l.fitToRange(a.y,-1,this.pixelHeight+1),o.y==a.y&&(o.y<0||o.y>this.pixelHeight)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1;var h=Math.abs(u-s);i.x=s,i.height=0,i.width=h,n.x=s,n.height=0,n.width=h,r.width=h,r.height=Math.abs(a.y-o.y),r.x=s,r.y=a.y},e.prototype.createBreakSprites=function(t){t.startLine=new o.a,t.endLine=new o.a;var e=new a.a;e.setWavedSides(!0,!1,!0,!1),t.fillShape=e},e.prototype.positionToCoordinate=function(t){var e,i=this.axis,n=i.axisFullLength;return e=i.renderer.inversed?(t-i.start)*n:(i.end-t)*n,l.round(e,1)},e}(r.a);s.b.registeredClasses.AxisRendererY=d}
20,function(t,e,i){"use strict";i.d(e,"b",function(){return l}),e.a=function(t){o.push(t),c()},e.c=function(t){a.push(t),c()},e.f=function(t){s.push(t),c()},e.e=function(t){u.push(t)},e.d=function(){for(var t=Date.now(),e=u.length,i=0;i<e;++i)u.shift()(t)};var n=i(16),r=!1,o=[],a=[],s=[],u=[],l="function"==typeof requestAnimationFrame?function(t){requestAnimationFrame(t)}:function(t){setTimeout(t,1e3/60)};function h(){for(var t=Date.now(),e=o.length,i=0;i<e;++i)o[i](t);n.shiftLeft(o,e);for(i=0;i<a.length;++i)a[i](t);a.length=0;for(i=0;i<s.length;++i)s[i](t);s.length=0,0===o.length&&0===a.length?r=!1:l(h)}function c(){r||(r=!0,l(h))}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rgb=function(t,e){var i;o[t]?i=o[t]:"#"===t.charAt(0)?i=a(t):t.match(/^rgba?\(/)&&(i=s(t));i||(i={r:0,g:0,b:0,a:1});r.hasValue(e)&&(i.a=e);return i},e.hexToRgb=a,e.rgbaToRgb=s,e.rgbToHex=function(t){return"#"+u(t.r.toString(16))+u(t.g.toString(16))+u(t.b.toString(16))},e.rgbToRGBA=function(t){return r.hasValue(t.a)&&1!==t.a?"rgba("+t.r+","+t.g+","+t.b+","+t.a+")":"rgb("+t.r+","+t.g+","+t.b+")"},e.pad2=u,e.interpolate=function(t,e,i){return i=n.fitToRange(i,0,1),t?e?{r:t.r+Math.round((e.r-t.r)*i),g:t.g+Math.round((e.g-t.g)*i),b:t.b+Math.round((e.b-t.b)*i),a:(t.a||1)+Math.round(((e.a||1)-(t.a||1))*i)}:t:e||t},e.lighten=function(t,e){return t?{r:Math.max(0,Math.min(255,t.r+l(t.r,e))),g:Math.max(0,Math.min(255,t.g+l(t.g,e))),b:Math.max(0,Math.min(255,t.b+l(t.b,e))),a:t.a}:t},e.getLightnessStep=l,e.brighten=function(t,e){if(t){var i=Math.min(Math.max(t.r,t.g,t.b),230),n=l(i,e);return{r:Math.max(0,Math.min(255,Math.round(t.r+n))),g:Math.max(0,Math.min(255,Math.round(t.g+n))),b:Math.max(0,Math.min(255,Math.round(t.b+n))),a:t.a}}return t},e.getBrightnessStep=function(t,e){return Math.round(255*e)},e.saturate=function(t,e){if(null==t||1==e)return t;var i=c(t);return i.s=e,h(i)},e.hslToRgb=h,e.rgbToHsl=c,e.rgbToHsv=function(t){var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.max(e,i,n),o=Math.min(e,i,n),a=0,s=0,u=r,l=r-o;if(s=0==r?0:l/r,r==o)a=0;else{switch(r){case e:a=(i-n)/l+(i<n?6:0);break;case i:a=(n-e)/l+2;break;case n:a=(e-i)/l+4}a/=6}return{h:a,s:s,v:u}},e.hsvToRgb=function(t){var e=0,i=0,n=0,r=t.h,o=t.s,a=t.v,s=Math.floor(6*r),u=6*r-s,l=a*(1-o),h=a*(1-u*o),c=a*(1-(1-u)*o);switch(s%6){case 0:e=a,i=c,n=l;break;case 1:e=h,i=a,n=l;break;case 2:e=l,i=a,n=c;break;case 3:e=l,i=h,n=a;break;case 4:e=c,i=l,n=a;break;case 5:e=a,i=l,n=h}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n)}},e.isLight=function(t){return(299*t.r+587*t.g+114*t.b)/1e3>=128};var n=i(4),r=i(3),o={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgrey:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32}
20,gray:{r:128,g:128,b:128},grey:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgrey:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function a(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,i,n){return e+e+i+i+n+n});var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:void 0}function s(t){var e;if(e=(t=t.replace(/[ ]/g,"")).match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i))e.push("1");else if(!(e=t.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i)))return;return{r:parseInt(e[1]),g:parseInt(e[2]),b:parseInt(e[3]),a:parseFloat(e[4])}}function u(t){return 1==t.length?"0"+t:""+t}function l(t,e){var i=e>0?255-t:t;return Math.round(i*e)}function h(t){var e,i,n,r=t.h,o=t.s,a=t.l;if(0==o)e=i=n=a;else{var s=function(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t},u=a<.5?a*(1+o):a+o-a*o,l=2*a-u;e=s(l,u,r+1/3),i=s(l,u,r),n=s(l,u,r-1/3)}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n)}}function c(t){var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.max(e,i,n),o=Math.min(e,i,n),a=0,s=0,u=(r+o)/2;if(r===o)a=s=0;else{var l=r-o;switch(s=u>.5?l/(2-r-o):l/(r+o),r){case e:a=(i-n)/l+(i<n?6:0);break;case i:a=(n-e)/l+2;break;case n:a=(e-i)/l+4}a/=6}return{h:a,s:s,l:u}}},function(t,e,i){"use strict";i.d(e,"a",function(){return c}),e.b=function(){null==n&&(n=new c);return n};var n,r=i(0),o=i(21),a=i(123),s=i(28),u=i(1),l=i(68),h=i(3),c=function(t){function e(){var e=t.call(this)||this;return e.adapter=new s.a(e),e.className="TextFormatter",e.applyTheme(),e}return r.c(e,t),e.prototype.debug=function(){},e.prototype.format=function(t,e){h.hasValue(e)||(e="svg");var i="",n=(t=this.escape(t)).match(/\[([^\]]*?)\]/gm);
20if(!n)return this.wrap(t,"",e);for(var r=t.split(/\[[^\[\]]*\]/),o=0,a=r.length;o<a;o++){var s=r[o];if(""!==s){s=this.adapter.apply("chunk",s);var u="";o>0&&(u=n[o-1].replace("[","").replace("]","")),i+=this.wrap(s,u,e)}}return i=this.unescape(i),this.cleanUp(i)},e.prototype.escape=function(t){return t.replace(/\[\[/g,u.b.getPlaceholder("1")).replace(/([^\/]{1})\]\]/g,"$1"+u.b.getPlaceholder("2")).replace(/\{\{/g,u.b.getPlaceholder("3")).replace(/\}\}/g,u.b.getPlaceholder("4")).replace(/\'\'/g,u.b.getPlaceholder("5"))},e.prototype.unescape=function(t){return t.replace(new RegExp(u.b.getPlaceholder("1"),"g"),"[[").replace(new RegExp(u.b.getPlaceholder("2"),"g"),"]]").replace(new RegExp(u.b.getPlaceholder("3"),"g"),"{{").replace(new RegExp(u.b.getPlaceholder("4"),"g"),"}}").replace(new RegExp(u.b.getPlaceholder("5"),"g"),"'")},e.prototype.cleanUp=function(t){return t.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")},e.prototype.wrap=function(t,e,i){switch(""!==e&&"/"!==e||(e=""),i){case"html":return this.wrapHtml(t,this.translateStyleShortcuts(e));default:return this.wrapSvg(t,this.translateStyleShortcuts(e))}},e.prototype.wrapSvg=function(t,e){return""===e?"<tspan>"+t+"</tspan>":"<tspan style='"+e+"'>"+t+"</tspan>"},e.prototype.getSvgElement=function(t,e){var i=new a.a("tspan");return i.textContent=t,e&&i.node.setAttribute("style",e),i},e.prototype.wrapHtml=function(t,e){return""===e?"<span>"+t+"</span>":"<span style='"+this.styleSvgToHtml(e)+"'>"+t+"</span>"},e.prototype.getHtmlElement=function(t,e){var i=document.createElement("span");return i.innerHTML=t,e&&i.setAttribute("style",e),i},e.prototype.styleSvgToHtml=function(t){return t=t.replace(/fill:/,"color:")},e.prototype.translateStyleShortcuts=function(t){if(""==t||"[ ]"==t)return"";var e=u.b.getCache("translateStyleShortcuts_"+t);if(e)return e;var i=t.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w]+)|(\/)/gi);if(!i)return t;for(var n=0;n<i.length;n++)i[n].match(/^bold$/i)?i[n]="font-weight:"+i[n]:"/"==i[n]?i[n]="":i[n].match(/:/)||(i[n]="fill:"+i[n]);var r=i.join(";");return u.b.setCache("translateStyleShortcuts_"+t,r),r},e.prototype.chunk=function(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=[];t=this.escape(t);for(var r=e?t.split("'"):[t],o=0;o<r.length;o++){var a=r[o];if(""!==a)if(o%2==0)for(var s=(a=(a=a.replace(/\]\[/g,"]"+l.d+"[")).replace(/\[\]/g,"[ ]")).split(/[\[\]]+/),u=0;u<s.length;u++){(h=this.cleanUp(this.unescape(s[u])))!==l.d&&(""!==h&&(u%2==0?n.push({type:"value",text:this.adapter.apply("chunk",h)}):n.push({type:i?"value":"format",text:"["+h+"]"})))}else for(s=a.split(/[\[\]]+/),u=0;u<s.length;u++){var h;""!==(h=this.cleanUp(this.unescape(s[u])))&&(u%2==0?n.push({type:"text",text:h}):this.isImage(h)?n.push({type:"image",text:"["+h+"]"}):n.push({type:"format",text:"["+h+"]"}))}}return n},e.prototype.isImage=function(t){return!!t.match(/img[ ]?:/)},e}(o.a);u.b.registeredClasses.TextFormatter=c},function(t,e,i){"use strict";i.d(e,"b",function(){return O}),i.d(e,"a",function(){return S});var n=i(0),r=i(56),o=i(10),a=i(11),s=i(26),u=i(73),l=i(9),h=i(94),c=i(74),p=i(118),d=i(67),f=i(1),g=i(14),y=i(5),m=i(4),b=i(43),v=i(6),_=i(18),x=i(3),P=i(16),w=i(91),O=function(t){function e(){var e=t.call(this)||this;return e.bullets=new s.a,e.className="SeriesDataItem",e._disposers.push(new s.b(e.bullets)),e.values.value={},e.values.value={},e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),e}(u.a),S=function(t){function e(){var e=t.call(this)||this;e._ignoreMinMax=!1,e._showBullets=!0,e.legendSettings=new p.c,e._tmin=new s.a,e._tmax=new s.a,e._smin=new s.a,e._smax=new s.a,e.dataItemsByAxis=new s.a,e.skipFocusThreshold=20,e.calculatePercent=!1,e.autoDispose=!0,e.className="Series",e.isMeasured=!1,e.layout="none",e.shouldClone=!1,e.setPropertyValue("hidden",!1),e.axisRanges=new a.b,e.axisRanges.events.on("inserted",e.processAxisRange,e,!1),e.minBulletDistance=0,e.mainContainer=e.createChild(l.a),e.mainContainer.shouldClone=!1,e.mainContainer.mask=e.createChild(o.a),e._disposers.push(e.mainContainer);var i=e.mainContainer.createChild(l.a);return e._shouldBeReady.push(i),i.shouldClone=!1,i.layout="none",i.virtualParent=e,e._disposers.push(i),e.bulletsContainer=i,e.tooltip=new h.a,e.tooltip.virtualParent=e,e._disposers.push(e.tooltip),e.hiddenState.transitionEasing=b.cubicIn,e.dataItem=e.createDataItem(),e._disposers.push(e.dataItem),e.dataItem.component=e,e.role="group",e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),x.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Series"))},e.prototype.createDataItem=function(){return new O},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(t){},e.prototype.processBullet=function(t){var e=t.newValue;e.isTemplate=!0,this.itemsFocusable()&&(e.focusable=!0)},e.prototype.removeBullet=function(t){var e=t.oldValue;this.dataItems.each(function(t){var i=t.bullets.getKey(e.uid);i&&i.dispose()}),this.invalidate()},e.prototype.validateDataItems=function(){t.prototype.validateDataItems.call(this),this.processValues(!1)},e.prototype.getFirstValue=function(t,e){e>0&&e<this.dataItems.length-1&&e++;for(var i=e;i>=0;i--){var n=this.dataItems.getIndex(i).values[t].workingValue;if(x.isNumber(n))return n}return null},e.prototype.rangeChangeUpdate=function(){t.prototype.rangeChangeUpdate.call(this),this.processValues(!0)},e.prototype.processValues=function(t){var e=this.dataItems,i={},n={},r={},o={},a={},s={},u={},l={},h=m.max(0,this._workingStartIndex);h=m.min(h,this.dataItems.length);var c=m.min(this._workingEndIndex,this.dataItems.length);if(x.isNumber(h)||(h=0),x.isNumber(c)||(c=this.dataItems.length),h>0){var p=e.getIndex(h-1);for(var d in p.values){var f=p.values[d].workingValue;x.isNumber(f)&&(u[d]=f)}}for(var g=h;g<c;g++){var y=e.getIndex(g);for(var d in y.values){f=y.values[d].workingValue;if(x.isNumber(f)){x.isNumber(i[d])||(i[d]=0),i[d]++,x.isNumber(n[d])||(n[d]=0),n[d]+=f,x.isNumber(a[d])||(a[d]=f),s[d]=f,x.isNumber(r[d])?r[d]>f&&(r[d]=f):r[d]=f,x.isNumber(o[d])?o[d]<f&&(o[d]=f):o[d]=f,x.isNumber(l[d])||(l[d]=this.getFirstValue(d,h)),y.setCalculatedValue(d,f-l[d],"change"),y.setCalculatedValue(d,(f-l[d])/l[d]*100,"changePercent");var b=u[d];x.isNumber(b)||(b=f),y.setCalculatedValue(d,f-b,"previousChange"),y.setCalculatedValue(d,(f-b)/b*100,"previousChangePercent"),u[d]=f}}}if(this.calculatePercent){var v=function(t){var i=e.getIndex(t);_.each(i.values,function(t){var e=n[t],r=i.values[t].workingValue;if(x.isNumber(r)&&e>0){r==e&&(e=i.values[t].value);var o=r/e*100;i.setCalculatedValue(t,o,"percent")}})};for(g=h;g<c;g++)v(g)}if(h>0){var P=e.getIndex(h-1);_.each(P.values,function(t){var e=P.values[t].value;P.setCalculatedValue(t,e-a[t],"change"),P.setCalculatedValue(t,(e-a[t])/a[t]*100,"changePercent")})}var w=this.dataItem;_.each(w.values,function(t){w.setCalculatedValue(t,n[t],"sum"),w.setCalculatedValue(t,n[t]/i[t],"average"),w.setCalculatedValue(t,a[t],"open"),w.setCalculatedValue(t,s[t],"close"),w.setCalculatedValue(t,r[t],"low"),w.setCalculatedValue(t,o[t],"high"),w.setCalculatedValue(t,i[t],"count")})},e.prototype.validate=function(){var e=this;y.each(this.axisRanges.iterator(),function(t){t.validate()}),t.prototype.validate.call(this),this.bulletsContainer.fill=this.fill,this.bulletsContainer.stroke=this.stroke,y.each(this.dataItems.iterator(),function(t){(t.index<e.startIndex||t.index>=e.endIndex)&&t.bullets.each(function(t,e){e.__disabled=!0})}),this.updateTooltipBounds()},e.prototype.updateTooltipBounds=function(){this.topParent&&this.tooltip.setBounds({x:0,y:0,width:this.topParent.maxWidth,height:this.topParent.maxHeight})},e.prototype.validateDataElement=function(e){var i=this;t.prototype.validateDataElement.call(this,e),this._showBullets?(this.bulletsContainer.visible=!0,y.each(this.bullets.iterator(),function(t){var n=e.bullets.getKey(t.uid);n||(n=t.clone());var r=n.dataItem;if(r!=e){r&&r.bullets.setKey(t.uid,void 0),e.addSprite(n);var o=i.itemReaderText||"{"+n.xField+"}: {"+n.yField+"}";n.focusable&&(n.events.once("focus",function(t){n.readerTitle=i.populateString(o,n.dataItem)},void 0,!1),n.events.once("blur",function(t){n.readerTitle=""},void 0,!1)),n.hoverable&&(n.events.once("over",function(t){n.readerTitle=i.populateString(o,n.dataItem)},void 0,!1),n.events.once("out",function(t){n.readerTitle=""},void 0,!1)),n.isDynamic&&(e.events.on("workingvaluechanged",n.deepInvalidate,n,!1),i.dataItem.events.on("workingvaluechanged",n.deepInvalidate,n,!1)),n.deepInvalidate()}n.parent=i.bulletsContainer,n.visible=!0,e.bullets.setKey(t.uid,n),n.maxWidth=e.itemWidth,n.maxHeight=e.itemHeight,n.__disabled=!1,i.positionBullet(n)})):this.bulletsContainer.visible=!1},e.prototype.handleDataItemWorkingValueChange=function(t){this.dataRangeInvalid||this.invalidateProcessedData()},Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){this._ignoreMinMax=t,this.invalidateDataItems()},enumerable:!0,configurable:!0}),e.prototype.createMask=function(){},e.prototype.processAxisRange=function(t){this.rangesContainer||(this.rangesContainer=this.createChild(l.a),this.rangesContainer.shouldClone=!1,this.rangesContainer.isMeasured=!1);var e=t.newValue;e&&(e.contents.parent=this.rangesContainer,e.isRange=!0)},e.prototype.getAxisField=function(t){},e.prototype.showTooltipAtPosition=function(t,e){},Object.defineProperty(e.prototype,"minBulletDistance",{get:function(){return this.getPropertyValue("minBulletDistance")},set:function(t){this.setPropertyValue("minBulletDistance",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new a.e(new c.a),this._bullets.template.virtualParent=this,this._bullets.events.on("inserted",this.processBullet,this,!1),this._bullets.events.on("removed",this.removeBullet,this,!1),this._disposers.push(new a.c(this._bullets)),this._disposers.push(this._bullets.template)),this._bullets},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){},Object.defineProperty(e.prototype,"hiddenInLegend",{get:function(){return this.getPropertyValue("hiddenInLegend")},set:function(t){this.setPropertyValue("hiddenInLegend",t)&&this.chart&&this.chart.feedLegend()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.adapter.apply("name",this._title)},set:function(t){this._title=t,this.readerTitle=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemReaderText",{get:function(){var t=this._itemReaderText;return t||(this.tooltipText?t=v.plainText(this.tooltipText):this.tooltipHTML&&(t=v.plainText(this.tooltipHTML))),this.adapter.apply("itemReaderText",t)},set:function(t){this._itemReaderText=t},enumerable:!0,configurable:!0}),e.prototype.itemsFocusable=function(){return!(this.dataItems.length>=this.skipFocusThreshold)},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(t){if(this.legendDataItem){var e=this.legendSettings,i=this.legendDataItem,n=i.label,r=i.valueLabel;t?(r&&(e.itemValueText&&(r.text=e.itemValueText),r.dataItem=t),n&&(e.itemLabelText&&(n.text=e.itemLabelText),n.dataItem=this.dataItem)):(n&&((e.labelText||void 0!=e.itemLabelText)&&(n.text=e.labelText),n.dataItem=this.dataItem),r&&((e.valueText||void 0!=e.itemValueText)&&(r.text=e.valueText),r.dataItem=this.dataItem))}},e.prototype.copyFrom=function(e){this.bullets.copyFrom(e.bullets),this.bulletsContainer.copyFrom(e.bulletsContainer),this.calculatePercent=e.calculatePercent,t.prototype.copyFrom.call(this,e)},e.prototype.raiseCriticalError=function(t){this._chart.modal.content=t.message,this._chart.modal.closable=!1,this._chart.modal.open(),this._chart.disabled=!0,d.a.verbose&&console.log(t)},e.prototype.applyFilters=function(){var e=this;t.prototype.applyFilters.call(this),this.bulletsContainer.filters.clear(),y.each(this.filters.iterator(),function(t){e.bulletsContainer.filters.push(t.clone())})},Object.defineProperty(e.prototype,"heatRules",{get:function(){var t=this;return this._heatRules||(this._heatRules=new a.b,this._heatRules.events.on("inserted",function(e){var i=e.newValue,n=i.target;if(n){var r=i.dataField;x.hasValue(r)||(r="value");var a=i.min,s=i.max,u=t.dataItem,h=i.property,c=x.toNumber(i.minValue),p=x.toNumber(i.maxValue);x.isNumber(c)||x.isNumber(p)||t.dataItem.events.on("calculatedvaluechanged",function(e){e.property==r&&y.each(t.dataItems.iterator(),function(t){var e=!1;P.each(t.sprites,function(t){if(t.clonedFrom==n){var i=t;i[h]=i[h],e=!0}}),e||P.each(t.sprites,function(t){t instanceof l.a&&y.each(t.children.iterator(),function(t){if(t.className==n.className){var e=t;e[h]=e[h]}else t instanceof l.a&&t.deepInvalidate()})})})}),t.dataItems.template.events.on("workingvaluechanged",function(t){if(t.property==r){var e=t.target,i=!1;P.each(e.sprites,function(t){if(t.clonedFrom==n){var e=t;e[h]=e[h],i=!0}}),i||P.each(e.sprites,function(t){t instanceof l.a&&y.each(t.children.iterator(),function(t){if(t.className==n.className){var e=t;e[h]=e[h]}else t instanceof l.a&&t.deepInvalidate()})})}}),n.adapter.add(h,function(t,e,n){var l=x.toNumber(i.minValue),h=x.toNumber(i.maxValue);if(e instanceof o.a){var c=e.propertyFields[n];if(c&&e.dataItem){var p=e.dataItem.dataContext;if(p&&x.hasValue(p[c]))return t}}var d=e.dataItem;if(x.isNumber(l)||(l=u.values[r].low),x.isNumber(h)||(h=u.values[r].high),d){var f=d.values[r];if(f){var y=f.workingValue;if(x.hasValue(a)&&x.hasValue(s)&&x.isNumber(l)&&x.isNumber(h)&&x.isNumber(y)){var m=(y-l)/(h-l);if(x.isNumber(a))return a+(s-a)*m;if(a instanceof g.a)return new g.a(w.interpolate(a.rgb,s.rgb,m))}}}return t})}})),this._heatRules},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){var i;if(e){if(x.hasValue(e.bullets)&&x.isArray(e.bullets))for(var n=0,r=e.bullets.length;n<r;n++){var o=e.bullets[n];x.hasValue(o.type)||(o.type="Bullet")}x.hasValue(e.heatRules)&&x.isArray(e.heatRules)&&(i=e.heatRules,delete e.heatRules)}if(t.prototype.processConfig.call(this,e),i){for(n=0,r=i.length;n<r;n++){var s=i[n],u=this;if(x.hasValue(s.target)&&x.isString(s.target))if(this.map.hasKey(s.target))u=this.map.getKey(s.target);else for(var l=s.target.split("."),h=0;h<l.length;h++)if(u instanceof a.b){var c=u.getIndex(x.toNumber(l[h]));u=c||u[l[h]]}else u=u[l[h]];s.target=u,x.hasValue(s.min)&&(s.min=this.maybeColorOrPercent(s.min)),x.hasValue(s.max)&&(s.max=this.maybeColorOrPercent(s.max)
20)}t.prototype.processConfig.call(this,{heatRules:i})}},e.prototype.configOrder=function(e,i){return e==i?0:"heatRules"==e?1:"heatRules"==i?-1:t.prototype.configOrder.call(this,e,i)},e}(r.a);f.b.registeredClasses.Series=S,f.b.registeredClasses.SeriesDataItem=O},function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i(0),r=i(9),o=i(234),a=i(37),s=i(36),u=i(14),l=i(236),h=i(4),c=i(43),p=i(6),d=function(t){function e(){var e=t.call(this)||this;e._boundingRect={x:-4e4,y:-4e4,width:8e4,height:8e4},e._pointTo={x:0,y:0},e.fitPointerToBounds=!1,e._verticalOrientation="up",e.className="Tooltip",e.isMeasured=!1,e.getFillFromObject=!0,e.margin(5,5,5,5),e.defaultState.transitionDuration=1,e.hiddenState.transitionDuration=1;var i=e.background;i.interactionsEnabled=!1,i.fillOpacity=.9,i.strokeWidth=1,i.strokeOpacity=1,i.stroke=Object(u.c)("#ffffff"),i.cornerRadius=3,i.pointerLength=6,i.pointerBaseWidth=10,e.autoTextColor=!0;var n=e.createChild(a.a);n.shouldClone=!1,e.label=n,n.padding(7,12,6,12),n.interactionsEnabled=!1,n.horizontalCenter="middle",n.fill=Object(u.c)("#ffffff"),e._disposers.push(n),e.label.events.on("sizechanged",e.drawBackground,e),e.label.zIndex=1,e.pointerOrientation="vertical";var r=new l.a;return r.dy=1,r.dx=1,r.opacity=.5,e.filters.push(r),e.animationDuration=0,e.animationEasing=c.cubicOut,e.role="tooltip",e.visible=!1,e.opacity=0,e.x=0,e.y=0,e.events.on("visibilitychanged",e.handleVisibility,e),e.applyTheme(),e}return n.c(e,t),e.prototype.handleVisibility=function(){this.visible&&this.label.invalidate()},Object.defineProperty(e.prototype,"getStrokeFromObject",{get:function(){return this.getPropertyValue("getStrokeFromObject")},set:function(t){this.setPropertyValue("getStrokeFromObject",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoTextColor",{get:function(){return this.getPropertyValue("autoTextColor")}
20,set:function(t){this.setPropertyValue("autoTextColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getFillFromObject",{get:function(){return this.getPropertyValue("getFillFromObject")},set:function(t){this.setPropertyValue("getFillFromObject",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createBackground=function(){return new o.a},Object.defineProperty(e.prototype,"pointerOrientation",{get:function(){return this.getPropertyValue("pointerOrientation")},set:function(t){this.setPropertyValue("pointerOrientation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(t){this.setPropertyValue("animationDuration",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(t){this.setPropertyValue("animationEasing",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.label.html},set:function(t){this.label.html!=t&&(this.label.html=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.label.text},set:function(t){this.label.text!=t&&(this.label.text=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.label;e.invalid&&e.validate();var i,n,r=this._pointTo.x,o=this._pointTo.y,a=this._boundingRect,s=e.measuredWidth,u=e.measuredHeight,l=this.background.pointerLength;if(s>a.width){p.spritePointToDocument({x:a.x,y:a.y},this.parent);var c=p.spritePointToDocument({x:a.x+a.width,y:a.y+a.height},this.parent),d=document.body.offsetWidth;document.body.offsetHeight;c.x>d/2?a.x=a.width-s:a.width=a.x+s}"horizontal"==this.pointerOrientation?(n=-u/2,i=r>a.x+a.width/2?-s/2-l:s/2+l):(i=h.fitToRange(0,a.x-r+s/2,a.x-r+a.width-s/2),o>a.y+u+l?(n=-u-l,this._verticalOrientation="up"):(n=l,this._verticalOrientation="down")),n=h.fitToRange(n,a.y-o,a.y+a.height-u-o),e.x=i,e.y=n,this.drawBackground()}
20,e.prototype.updateBackground=function(){this.group.addToBack(this.background.group)},e.prototype.drawBackground=function(){var t=this.label,e=this.background,i=t.measuredWidth,n=t.measuredHeight,r=this._boundingRect,o=i,a=t.pixelX-i/2,s=n,u=t.pixelY,l=this._pointTo.x,c=this._pointTo.y,p=r.x-l,d=p+r.width,f=r.y-c,g=f+r.height;e.x=a,e.y=u,e.width=o,e.height=s,this.fitPointerToBounds?(e.pointerX=h.fitToRange(-e.x,p-e.x,d-e.x),e.pointerY=h.fitToRange(-e.y,f-e.y,g-e.y)):(e.pointerX=-e.x,e.pointerY=-e.y),e.validate()},e.prototype.pointTo=function(t,e){this._pointTo.x==t.x&&this._pointTo.y==t.y||(this._pointTo=t,this.invalidate(),!this.visible||e?(this.moveTo(this._pointTo),this._animation&&this._animation.kill()):0==this.pixelX&&0==this.pixelY?this.moveTo(this._pointTo):(this._animation&&this._animation.kill(),this._animation=new s.a(this,[{property:"x",to:t.x,from:this.pixelX},{property:"y",to:t.y,from:this.pixelY}],this.animationDuration,this.animationEasing).start()))},e.prototype.setBounds=function(t){var e=this._boundingRect;e.x==t.x&&e.y==t.y&&e.width==t.width&&e.height==t.height||(this._boundingRect=t,this.invalidate())},Object.defineProperty(e.prototype,"boundingContainer",{set:function(t){this._boundingContainer=t,t.events.on("sizechanged",this.updateBounds,this),t.events.on("positionchanged",this.updateBounds,this)},enumerable:!0,configurable:!0}),e.prototype.updateBounds=function(){var t=this._boundingContainer,e=p.spriteRectToSvg({x:t.pixelX,y:t.pixelY,width:t.maxWidth,height:t.maxHeight},t);this.setBounds(e)},Object.defineProperty(e.prototype,"verticalOrientation",{get:function(){return this._verticalOrientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltip",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label)},e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return b});var n=i(0),r=i(9),o=i(168),a=i(65),s=i(34),u=i(70),l=i(42),h=i(1),c=i(55),p=i(13),d=i(8),f=i(4),g=i(43),y=i(3),m=i(6),b=function(t){function e(){var e=t.call(this)||this;e._prevStart=0,e._prevEnd=1,e._isBusy=!1,e._skipRangeEvents=!1,e.updateWhileMoving=!0,e.className="Scrollbar",e.minHeight=12,e.minWidth=12,e.animationDuration=0,e.animationEasing=g.cubicOut,e.margin(10,10,10,10);var i=new p.a,n=e.background;return n.cornerRadius(10,10,10,10),n.fill=i.getFor("fill"),n.fillOpacity=.5,e.startGrip=new o.a,e.endGrip=new o.a,e.events.on("transformed",e.updateThumb,e),e.start=0,e.end=1,e.role="scrollbar",e.thumb.role="slider",e.thumb.readerLive="polite",e.startGrip.role="slider",e.endGrip.role="slider",e.events.once("inited",function(){e._previousStart=void 0,e.dispatchRangeChange()}),e.hideGrips=!1,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this._orientation||(this.orientation="horizontal"),"horizontal"===this.orientation?(y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),y.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),y.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),y.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection"))):(y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),y.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),y.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),y.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use up and down arrows to move lower selection")))},e.prototype.validateLayout=function(){this.updateSize(),t.prototype.validateLayout.call(this),this.updateExtremes()}
20,e.prototype.processBackground=function(){t.prototype.processBackground.call(this);var e=this.background;e.clickable=!0,e.events.on("hit",this.handleBgHit,this)},e.prototype.handleBgHit=function(t){this.makeBusy();var e=t.spritePoint;e=m.spritePointToSprite(e,this.background,this);var i=this.thumb;if("horizontal"==this.orientation){var n=e.x-i.pixelWidth/2;n=f.fitToRange(n,0,this.innerWidth-i.pixelWidth),this._thumbAnimation=i.animate({property:"x",to:n},this.animationDuration,this.animationEasing)}else{var r=e.y-i.pixelHeight/2;r=f.fitToRange(r,0,this.innerHeight-i.pixelHeight),this._thumbAnimation=i.animate({property:"y",to:r},this.animationDuration,this.animationEasing)}this.animationDuration>0?this._thumbAnimation.events.on("animationended",this.makeUnbusy,this):(this._thumb.validate(),this.makeUnbusy())},e.prototype.makeBusy=function(){this._isBusy=!0,this._skipRangeEvents=!1,this._unbusyTimeout&&this.removeDispose(this._unbusyTimeout),this._unbusyTimeout=void 0,this.stopAnimations()},e.prototype.stopAnimations=function(){this._thumbAnimation&&this._thumbAnimation.stop(!0),this._zoomAnimation&&this._zoomAnimation.stop(!0)},e.prototype.makeUnbusy=function(){this._unbusyTimeout=this.setTimeout(this.makeUnbusyReal.bind(this),1.1*this.animationDuration)},e.prototype.makeUnbusyReal=function(){this._usingGrip=void 0,this._isBusy=!1,this.updateWhileMoving||this.dispatchRangeChange()},e.prototype.dispatchRangeChange=function(){this._previousEnd==this.end&&this._previousStart==this.start||(this._previousStart=this.start,this._previousEnd=this.end,this.dispatch("rangechanged"))},e.prototype.updateThumb=function(){if(this.parent){var t=this.thumb,e=this.start,i=this.end,n=this.startGrip,r=this.endGrip;if("horizontal"==this.orientation){var o=this.innerWidth;t.width=o*(i-e),t.maxX=o-t.pixelWidth,t.x=e*o,n.moveTo({x:t.pixelX,y:0},void 0,void 0,!0),r.moveTo({x:t.pixelX+t.pixelWidth,y:0},void 0,void 0,!0),n.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*e)+"%",position:e}).value),r.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value)}else{var a=this.innerHeight;t.height=a*(i-e),t.maxY=a-t.pixelHeight,t.y=(1-i)*a,n.moveTo({x:0,y:t.pixelY+t.pixelHeight},void 0,void 0,!0),r.moveTo({x:0,y:t.pixelY},void 0,void 0,!0),n.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*(1-e))+"%",position:1-e}).value),r.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*(1-i))+"%",position:1-i}).value)}t.readerTitle=this.language.translate("From %1 to %2",void 0,this.adapter.apply("positionValue",{value:Math.round(100*e)+"%",position:e}).value,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value),!this._skipRangeEvents&&this.updateWhileMoving&&this.dispatchRangeChange()}},e.prototype.updateExtremes=function(){var t=0,e=0,i=0,n=0;"horizontal"==this.orientation?(i=this.innerWidth,e=n=this.innerHeight/2):(n=this.innerHeight,t=i=this.innerWidth/2);var r=this.startGrip;r.minX=t,r.maxX=i,r.minY=e,r.maxY=n;var o=this.endGrip;o.minX=t,o.maxX=i,o.minY=e,o.maxY=n;var a=this.thumb;a.minX=t,a.maxX=i,a.minY=e,a.maxY=n},e.prototype.updateSize=function(){var t=this.orientation,e=this.startGrip;e&&(e.orientation=t),this.endGrip&&(this.endGrip.orientation=t);var i=this.thumb;i&&("horizontal"==t?(y.isNumber(this._pixelWidth)||(this.width=Object(d.c)(100)),y.hasValue(this.percentHeight)&&(this.height=this.minHeight),i.height=this.innerHeight,i.verticalCenter="middle",i.horizontalCenter="left"):(y.isNumber(this._pixelHeight)||(this.height=Object(d.c)(100)),y.hasValue(this.percentWidth)&&(this.width=this.minWidth),i.width=this.innerWidth,i.verticalCenter="top",i.horizontalCenter="middle"))},Object.defineProperty(e.prototype,"start",{get:function(){return Math.min(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__start",{get:function(){return this._start},set:function(t){this._start=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return Math.max(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__end=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__end",{get:function(){return this._end},set:function(t){this._end=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return{start:this.start,end:this.end,priority:this._usingGrip}},enumerable:!0,configurable:!0}),e.prototype.skipRangeEvents=function(){this._isBusy||(this._skipRangeEvents=!0)},e.prototype.fixRange=function(t){t.start==f.round(this._start,2)&&t.end==f.round(this._end,2)||(this._start=t.start,this._end=t.end,this._skipRangeEvents=!0,this.updateThumb(),this._skipRangeEvents=!1,this.thumb.validate())},e.prototype.getPosition=function(t){return f.fitToRange(f.round(t,4),0,1)},Object.defineProperty(e.prototype,"orientation",{get:function(){return this._orientation},set:function(t){this._orientation=t,"horizontal"===t?(this.startGrip.cursorOverStyle=u.a.horizontalResize,this.endGrip.cursorOverStyle=u.a.horizontalResize):(this.startGrip.cursorOverStyle=u.a.verticalResize,this.endGrip.cursorOverStyle=u.a.verticalResize),this.updateByOrientation(),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.updateByOrientation=function(){},Object.defineProperty(e.prototype,"startGrip",{get:function(){return this._startGrip},set:function(t){this._startGrip&&this.removeDispose(this._startGrip),this._startGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endGrip",{get:function(){return this._endGrip},set:function(t){this._endGrip&&this.removeDispose(this._endGrip),this._endGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),e.prototype.processGrip=function(t){t.parent=this,t.isMeasured=!1,t.focu
20sable=!0,t.showSystemTooltip=!0,t.zIndex=100,t.events.on("drag",this.handleGripDrag,this),t.events.on("dragstop",this.makeUnbusy,this),t.events.on("down",this.makeBusy,this),this._disposers.push(t)},e.prototype.handleGripDrag=function(t){this.makeBusy(),t.target===this._startGrip?this._usingGrip="start":this._usingGrip="end","horizontal"==this.orientation?(this._start=this.startGrip.pixelX/this.innerWidth,this._end=this.endGrip.pixelX/this.innerWidth):(this._start=1-this.startGrip.pixelY/this.innerHeight,this._end=1-this.endGrip.pixelY/this.innerHeight),this.updateThumb()},Object.defineProperty(e.prototype,"thumb",{get:function(){if(!this._thumb){var t=new a.a;t.background.cornerRadius(10,10,10,10),t.padding(0,0,0,0),this.thumb=t}return this._thumb},set:function(t){var e=this;t&&(this._thumb&&this.removeDispose(this._thumb),this._thumb=t,t.parent=this,t.isMeasured=!1,t.inert=!0,t.draggable=!0,t.clickable=!0,t.hoverable=!0,t.focusable=!0,t.zIndex=0,t.cursorOverStyle=u.a.grab,t.cursorDownStyle=u.a.grabbing,t.events.on("dragstart",this.makeBusy,this),t.events.on("dragstop",this.makeUnbusy,this),t.events.on("positionchanged",this.handleThumbPosition,this),t.events.on("sizechanged",this.handleThumbPosition,this),t.events.on("doublehit",this.handleDoubleClick,this),this._disposers.push(Object(s.b)().body.events.on("keyup",function(t){c.b.isKey(t.event,["space","enter"])&&e.thumb.isFocused&&(t.event.preventDefault(),e.handleDoubleClick())})),this._disposers.push(this._thumb))},enumerable:!0,configurable:!0}),e.prototype.handleDoubleClick=function(){this.makeBusy();var t=0,e=1;0!=this.start||1!=this.end?(this._prevStart=this.start,this._prevEnd=this.end):(t=this._prevStart,e=this._prevEnd);var i=this.animate([{property:"__start",to:t},{property:"__end",to:e}],this.animationDuration,this.animationEasing);i&&!i.isFinished()?(i.events.on("animationended",this.makeUnbusy,this),this._zoomAnimation=i):this.makeUnbusy()},e.prototype.handleThumbPosition=function(){var t=this.thumb;if("horizontal"==this.orientation){var e=this.innerWidth,i=t.innerWidth,n=t.pixelX;this._start=n/e,this._end=(n+i)/e,this.updateThumb()}else{var r=this.innerHeight,o=t.innerHeight,a=t.pixelY;this._start=1-(a+o)/r,this._end=1-a/r,this.updateThumb()}},e.prototype.createBackground=function(){return new l.a},Object.defineProperty(e.prototype,"hideGrips",{get:function(){return this._hideGrips},set:function(t){var e=this;this._hideGrips=t,this._overDisposer&&this.removeDispose(this._overDisposer),this._outDisposer&&this.removeDispose(this._outDisposer),t?(this._overDisposer=this.events.on("over",function(){e.startGrip.show(),e.endGrip.show()}),this._outDisposer=this.events.on("out",function(){e.startGrip.hide(),e.endGrip.hide()}),this.startGrip.hide(),this.endGrip.hide()):(this.startGrip.show(),this.endGrip.show())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(t){this.setPropertyValue("animationDuration",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(t){this.setPropertyValue("animationEasing",t)},enumerable:!0,configurable:!0}),e}(r.a);h.b.registeredClasses.Scrollbar=b},function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(10),o=i(8),a=i(1),s=i(6),u=i(4),l=function(t){function e(){var e=t.call(this)||this;return e.className="Circle",e.element=e.paper.add("circle"),e.setPercentProperty("radius",Object(o.c)(100)),e.setPropertyValue("horizontalCenter","middle"),e.setPropertyValue("verticalCenter","middle"),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({r:this.pixelRadius})},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return s.relativeToValue(this.radius,u.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){var t=this.pixelRadius;this._bbox={x:-t,y:-t,width:2*t,height:2*t}},e}(r.a);a.b.registeredClasses.Circle=l}
20,function(t,e,i){var n=i(24).f,r=i(38),o=i(22)("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},function(t,e,i){var n=i(2),r=i(48),o=i(19),a=i(186),s="["+a+"]",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),h=function(t,e,i){var r={},s=o(function(){return!!a[t]()||"âÂ
"!="âÂ
"[t]()}),u=r[t]=s?e(c):a[t];i&&(r[i]=u),n(n.P+n.F*s,"String",r)},c=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=h},function(t,e){t.exports={}},function(t,e,i){var n=i(20);t.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return l});var n=i(0),r=i(93),o=i(1),a=i(5),s=i(3),u=function(t){function e(){var e=t.call(this)||this;return e.className="MapSeriesDataItem",e.values.value={},e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),e.prototype.updateExtremes=function(t){for(var e=0;e<t.length;e++){var i=t[e].longitude,n=t[e].latitude;(this.west>i||!s.isNumber(this.west))&&(this.west=i),(this.east<i||!s.isNumber(this.east))&&(this.east=i),(this.north<n||!s.isNumber(this.north))&&(this.north=n),(this.south>n||!s.isNumber(this.south))&&(this.south=n)}},Object.defineProperty(e.prototype,"zoomLevel",{get:function(){return this.properties.zoomLevel},set:function(t){this.setProperty("zoomLevel",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"zoomGeoPoint",{get:function(){return this.properties.zoomGeoPoint},set:function(t){this.setProperty("zoomGeoPoint",t)},enumerable:!0,configurable:!0}),e}(r.b),l=function(t){function e(){var e=t.call(this)||this;return e.className="MapSeries",e.isMeasured=!1,e.nonScalingStroke=!0,e.dataFields.value="value",e.applyTheme(),e}return n.c(e,t),e.prototype.createDataItem=function(){return new u},e.prototype.validateData=function(){var e=this;t.prototype.validateData.call(this),a.each(this.dataItems.iterator(),function(t){(e.west>t.west||!s.isNumber(e.west))&&(e.west=t.west),(e.east<t.east||!s.isNumber(e.east))&&(e.east=t.east),(e.north<t.north||!s.isNumber(e.north))&&(e.north=t.north),(e.south>t.south||!s.isNumber(e.south))&&(e.south=t.south)}),this.chart&&this.chart.updateExtremes()},e.prototype.checkInclude=function(t,e,i){if(t){if(0==t.length)return!1;if(-1==t.indexOf(i))return!1}return!(e&&e.length>0&&-1!=e.indexOf(i))}
20,Object.defineProperty(e.prototype,"useGeodata",{get:function(){return this.getPropertyValue("useGeodata")},set:function(t){this.setPropertyValue("useGeodata",t)&&this.invalidateData()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"include",{get:function(){return this.getPropertyValue("include")},set:function(t){this.setPropertyValue("include",t)&&this.processIncExc()},enumerable:!0,configurable:!0}),e.prototype.processIncExc=function(){this.invalidateData()},Object.defineProperty(e.prototype,"exclude",{get:function(){return this.getPropertyValue("exclude")},set:function(t){this.setPropertyValue("exclude",t)&&this.processIncExc()},enumerable:!0,configurable:!0}),e.prototype.handleObjectAdded=function(t){var e=t.newValue;e.parent=this,e.series=this},Object.defineProperty(e.prototype,"geodata",{get:function(){return this._geodata},set:function(t){t!=this._geodata&&(this._geodata=t,this.invalidateData(),a.each(this._dataUsers.iterator(),function(t){t.invalidateData()}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"geodataSource",{get:function(){return this._dataSources.geodata||this.getDataSource("geodata"),this._dataSources.geodata},set:function(t){var e=this;this._dataSources.geodata&&this.removeDispose(this._dataSources.geodata),this._dataSources.geodata=t,this._dataSources.geodata.component=this,this.events.on("inited",function(){e.loadData("geodata")},void 0,!1),this.setDataSourceEvents(t,"geodata")},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.MapSeries=l,o.b.registeredClasses.MapSeriesDataItem=u},function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(10),o=i(1),a=i(4),s=function(t){function e(){var e=t.call(this)||this;return e.className="Rectangle",e.element=e.paper.add("rect"),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this._positionPrecision;this.pixelPerfect&&(e=0);var i=a.round(this.innerWidth,e),n=a.round(this.innerHeight,e);this.element.attr({width:i,height:n})},e.prototype.measureElement=function(){this._bbox={x:0,y:0,width:this.innerWidth,height:this.innerHeight}},e}(r.a);o.b.registeredClasses.Rectangle=s},function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(10),o=i(1),a=i(14),s=i(13),u=function(t){function e(){var e=t.call(this)||this;e.className="Grid",e.element=e.paper.add("path"),e.location=.5,e.isMeasured=!1;var i=new s.a;return e.stroke=i.getFor("grid"),e.pixelPerfect=!0,e.strokeOpacity=.15,e.fill=Object(a.c)(),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);o.b.registeredClasses.Grid=u},,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.order=function(t,e){return t===e?0:t<e?-1:1},e.repeat=function(t,e){return new Array(e+1).join(t)},e.random=function(t){for(var e="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<t;n++)e+=i.charAt(Math.floor(Math.random()*i.length));return e}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.order=function(t,e){return t===e?0:t<e?-1:1}},function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i(0),r=i(60),o=i(21),a=i(92),s=i(1),u=i(68),l=i(6),h=i(3),c=function(t){function e(){var e=t.call(this)||this;return e._dateFormat="yyyy-MM-dd",e._inputDateFormat="yyyy-MM-dd",e._utc=!1,e._firstDayOfWeek=1,e._months=["January","February","March","April","May","June","July","August","September","October","November","December"],e._monthsShort=["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e._weekdays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],e._weekdaysShort=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],e._outputFormat="svg",e.capitalize=!0,e.className="DateFormatter",e.applyTheme(),e}return n.c(e,t),e.prototype.format=function(t,e){this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a),void 0!==e&&""!==e||(e=this._dateFormat),e=l.cleanFormat(e);var i=this.parseFormat(e),n=l.anyToDate(t);if(!h.isNumber(n.getTime()))return this.language.translate("Invalid date");var o=this.applyFormat(n,i,this.language);return this.capitalize&&(o=o.replace(/^.{1}/,o.substr(0,1).toUpperCase())),o},e.prototype.parseFormat=function(t){var e=this.getCache(t);if(h.hasValue(e))return e;for(var i={template:"",parts:[]},n=Object(a.b)().chunk(t,!0),r=0;r<n.length;r++){var o=n[r];if("value"===o.type){o.text.match(/^date$/i)&&(o.text=this._dateFormat);var s=o.text.match(/G|yyyy|yyy|yy|y|YYYY|YYY|YY|Y|u|MMMMM|MMMM|MMM|MM|M|ww|w|W|dd|d|DDD|DD|D|F|g|EEEEE|EEEE|EEE|EE|E|eeeee|eeee|eee|ee|e|aaa|aa|a|hh|h|HH|H|KK|K|kk|k|mm|m|ss|s|SSS|SS|S|A|zzzz|zzz|zz|z|ZZ|Z|t|x|nnn|nn|n|i|I/g);if(s)for(var l=0;l<s.length;l++)i.parts.push(s[l]),o.text=o.text.replace(s[l],u.d)}i.template+=o.text}return this.setCache(t,i),i}
20,e.prototype.applyFormat=function(t,e,i){var n,r,o,a,s,h,c,p,d=e.template,f=t.getTimezoneOffset(),g=t.getTime();this.utc?(n=t.getUTCFullYear(),r=t.getUTCMonth(),o=t.getUTCDay(),a=t.getUTCDate(),s=t.getUTCHours(),h=t.getUTCMinutes(),c=t.getUTCSeconds(),p=t.getUTCMilliseconds()):(n=t.getFullYear(),r=t.getMonth(),o=t.getDay(),a=t.getDate(),s=t.getHours(),h=t.getMinutes(),c=t.getSeconds(),p=t.getMilliseconds());for(var y=0,m=e.parts.length;y<m;y++){var b="";switch(e.parts[y]){case"G":b=i.translate(n<0?"_era_bc":"_era_ad");break;case"yyyy":b=n.toString();break;case"yyy":case"yy":case"y":b=n.toString().substr(-e.parts[y].length);break;case"YYYY":case"YYY":case"YY":case"Y":var v=n;1==l.getWeek(t)&&o>1&&v++,b="YYYY"==e.parts[y]?v.toString():v.toString().substr(-e.parts[y].length);break;case"u":break;case"MMMMM":b=i.translate(this._months[r]).substr(0,1);break;case"MMMM":b=i.translate(this._months[r]);break;case"MMM":b=i.translate(this._monthsShort[r]);break;case"MM":b=l.padString(r+1,2,"0");break;case"M":b=(r+1).toString();break;case"ww":b=l.padString(l.getWeek(t,this.utc),2,"0");break;case"w":b=l.getWeek(t,this.utc).toString();break;case"W":b=l.getMonthWeek(t,this.utc).toString();break;case"dd":b=l.padString(a,2,"0");break;case"d":b=a.toString();break;case"DD":case"DDD":b=l.padString(l.getYearDay(t,this.utc).toString(),e.parts[y].length,"0");break;case"D":b=l.getYearDay(t,this.utc).toString();break;case"F":case"g":break;case"t":b=i.translateFunc("_dateOrd").call(this,a);break;case"E":b=(o||7).toString();break;case"EE":b=l.padString((o||7).toString(),2,"0");break;case"EEE":case"eee":b=i.translate(this._weekdaysShort[o]);break;case"EEEE":case"eeee":b=i.translate(this._weekdays[o]);break;case"EEEEE":case"eeeee":b=i.translate(this._weekdays[o]).substr(0,1);break;case"e":case"ee":b=(o-this.firstDayOfWeek+1).toString(),"ee"==e.parts[y]&&(b=l.padString(b,2,"0"));break;case"a":b=s>=12?i.translate("PM"):i.translate("AM");break;case"aa":b=s>=12?i.translate("P.M."):i.translate("A.M.");break;case"aaa":b=s>=12?i.translate("P"):i.translate("A");break;case"h":b=l.get12Hours(s).toString();break;case"hh":b=l.padString(l.get12Hours(s),2,"0");break;case"H":b=s.toString();break;case"HH":b=l.padString(s,2,"0");break;case"K":b=l.get12Hours(s,0).toString();break;case"KK":b=l.padString(l.get12Hours(s,0),2,"0");break;case"k":b=(s+1).toString();break;case"kk":b=l.padString(s+1,2,"0");break;case"m":b=h.toString();break;case"mm":b=l.padString(h,2,"0");break;case"s":b=c.toString();break;case"ss":b=l.padString(c,2,"0");break;case"S":case"SS":case"SSS":b=Math.round(p/1e3*Math.pow(10,e.parts[y].length)).toString();break;case"x":b=g.toString();break;case"n":case"nn":case"nnn":b=l.padString(p,e.parts[y].length,"0");break;case"z":b=l.getTimeZone(t,!1,!1,this.utc);break;case"zz":b=l.getTimeZone(t,!0,!1,this.utc);break;case"zzz":b=l.getTimeZone(t,!1,!0,this.utc);break;case"zzzz":b=l.getTimeZone(t,!0,!0,this.utc);break;case"Z":case"ZZ":var _=Math.abs(f)/60,x=Math.floor(_),P=60*_-60*x;"Z"==e.parts[y]?(b="GMT",b+=f>0?"-":"+",b+=l.padString(x,2)+":"+l.padString(P,2)):(b=f>0?"-":"+",b+=l.padString(x,2)+l.padString(P,2));break;case"i":b=t.toISOString();break;case"I":b=t.toUTCString()}d=d.replace(u.d,b)}return d},e.prototype.parse=function(t,e){if(h.hasValue(e)||(e=this.inputDateFormat),t instanceof Date)return t;if("number"==typeof t)return new Date(t);"string"!=typeof t&&(t=t.toString()),this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a);var i=new Date(1970,0,1,0,0,0),n="";e=l.cleanFormat(e);for(var o=this.parseFormat(e),a={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},s=0,u=0,c=0;c<o.parts.length;c++){switch(u=c+s+1,o.parts[c]){case"yyyy":case"YYYY":n+="([0-9]{4,})",a.year=u;break;case"yyy":case"YYY":n+="([0-9]{3})",a.year3=u;break;case"yy":case"YY":n+="([0-9]{2})",a.year2=u;break;case"y":case"Y":n+="([0-9]{1})",a.year1=u;break;case"MMMM":n+="("+this.getStringList(this._months).join("|")+")",a.monthLong=u;break;case"MMM":n+="("+this.getStringList(this._monthsShort).join("|")+")",a.monthShort=u;break;case"MM":case"M":n+="([0-9]{2}|[0-9]{1})",a.month=u;break;case"ww":case"w":n+="([0-9]{2}|[0-9]{1})",a.week=u;break;case"dd":case"d":n+="([0-9]{2}|[0-9]{1})",a.day=u;break;case"DDD":case"DD":case"D":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",a.yearDay=u;break;case"dddd":n+="("+this.getStringList(this._weekdays).join("|")+")",a.weekdayLong=u;break;case"ddd":n+="("+this.getStringList(this._weekdaysShort).join("|")+")",a.weekdayShort=u;break;case"aaa":case"aa":case"a":n+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",a.am=u;break;case"hh":case"h":n+="([0-9]{2}|[0-9]{1})",a.hour12Base1=u;break;case"HH":case"H":n+="([0-9]{2}|[0-9]{1})",a.hourBase0=u;break;case"KK":case"K":n+="([0-9]{2}|[0-9]{1})",a.hour12Base0=u;break;case"kk":case"k":n+="([0-9]{2}|[0-9]{1})",a.hourBase1=u;break;case"mm":case"m":n+="([0-9]{2}|[0-9]{1})",a.minute=u;break;case"ss":case"s":n+="([0-9]{2}|[0-9]{1})",a.second=u;break;case"SSS":case"SS":case"S":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",a.millisecond=u,a.millisecondDigits=o.parts[c].length;break;case"nnn":case"nn":case"n":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",a.millisecond=u;break;case"x":n+="([0-9]{1,})",a.timestamp=u;break;case"Z":n+="GMT([-+]+[0-9]{2}:[0-9]{2})",a.zone=u;break;case"ZZ":n+="([\\-+]+[0-9]{2}[0-9]{2})",a.zone=u;break;case"i":n+="([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{3})Z",a.iso=u,s+=6;break;case"G":case"YYYY":case"YYY":case"YY":case"Y":case"MMMMM":case"W":case"EEEEE":case"EEEE":case"EEE":case"EE":case"E":case"eeeee":case"eeee":case"eee":case"ee":case"e":case"zzzz"
20:case"zzz":case"zz":case"z":case"t":s--}n+="[^0-9]*"}var p,d=new RegExp(n);if(p=t.match(d)){if(a.year>-1){var f=parseInt(p[a.year]);this.utc?i.setUTCFullYear(f):i.setFullYear(f)}if(a.year3>-1){f=parseInt(p[a.year3]);f+=1e3,this.utc?i.setUTCFullYear(f):i.setFullYear(f)}if(a.year2>-1){f=parseInt(p[a.year2]);f+=f>50?1e3:2e3,this.utc?i.setUTCFullYear(f):i.setFullYear(f)}if(a.year1>-1){f=parseInt(p[a.year1]);f=10*Math.floor((new Date).getFullYear()/10)+f,this.utc?i.setUTCFullYear(f):i.setFullYear(f)}if(a.monthLong>-1){f=this.resolveMonth(p[a.monthLong]);this.utc?i.setUTCMonth(f):i.setMonth(f)}if(a.monthShort>-1){f=this.resolveShortMonth(p[a.monthShort]);this.utc?i.setUTCMonth(f):i.setMonth(f)}if(a.month>-1){f=parseInt(p[a.month])-1;this.utc?i.setUTCMonth(f):i.setMonth(f)}if(a.week>-1&&-1===a.day){f=l.getDayFromWeek(parseInt(p[a.week]),this.utc?i.getUTCFullYear():i.getFullYear(),1,this.utc);this.utc?(i.setUTCMonth(0),i.setUTCDate(f)):(i.setMonth(0),i.setDate(f))}if(a.day>-1){f=parseInt(p[a.day]);this.utc?i.setUTCDate(f):i.setDate(f)}if(a.yearDay>-1){f=parseInt(p[a.yearDay]);this.utc?(i.setUTCMonth(0),i.setUTCDate(f)):(i.setMonth(0),i.setDate(f))}if(a.hourBase0>-1){f=parseInt(p[a.hourBase0]);this.utc?i.setUTCHours(f):i.setHours(f)}if(a.hourBase1>-1){f=parseInt(p[a.hourBase1])-1;this.utc?i.setUTCHours(f):i.setHours(f)}if(a.hour12Base0>-1)11==(f=parseInt(p[a.hour12Base0]))&&(f=0),a.am>-1&&!this.isAm(p[a.am])&&(f+=12),this.utc?i.setUTCHours(f):i.setHours(f);if(a.hour12Base1>-1)12==(f=parseInt(p[a.hour12Base1]))&&(f=0),a.am>-1&&!this.isAm(p[a.am])&&(f+=12),this.utc?i.setUTCHours(f):i.setHours(f);if(a.minute>-1){f=parseInt(p[a.minute]);this.utc?i.setUTCMinutes(f):i.setMinutes(f)}if(a.second>-1){f=parseInt(p[a.second]);this.utc?i.setUTCSeconds(f):i.setSeconds(f)}if(a.millisecond>-1){f=parseInt(p[a.millisecond]);2==a.millisecondDigits?f*=10:1==a.millisecondDigits&&(f*=100),this.utc?i.setUTCMilliseconds(f):i.setMilliseconds(f)}if(a.timestamp>-1&&i.setTime(parseInt(p[a.timestamp])),a.zone>-1){var g=p[a.zone].replace(/:/,""),y=h.getValue(g.match(/([+\-]?)([0-9]{2})([0-9]{2})/)),m=y[1],b=y[2],v=y[3],_=60*parseInt(b)+parseInt(v);"+"==m&&(_*=-1);var x=_-i.getTimezoneOffset();0!=x&&i.setMinutes(i.getMinutes()+x)}a.iso>-1&&(i=new Date(h.toNumber(p[a.iso+0]),h.toNumber(p[a.iso+1])-1,h.toNumber(p[a.iso+2]),h.toNumber(p[a.iso+3]),h.toNumber(p[a.iso+4]),h.toNumber(p[a.iso+5]),h.toNumber(p[a.iso+6])))}else i=new Date(t);return i},e.prototype.resolveMonth=function(t){var e=this._months.indexOf(t);return e>-1?e:this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this._months).indexOf(t))>-1?e:0},e.prototype.resolveShortMonth=function(t){var e=this._monthsShort.indexOf(t);return e>-1?e:this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this._monthsShort).indexOf(t))>-1?e:0},e.prototype.isAm=function(t){return this.getStringList(["AM","A.M.","A"]).indexOf(t.toUpperCase())>-1},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},e.prototype.getStringList=function(t){for(var e=[],i=0;i<t.length;i++)e.push(l.escapeForRgex(t[i])),this.language&&!this.language.isDefault()&&e.push(l.escapeForRgex(this.language.translate(t[i])));return e},Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){this._dateFormat=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputDateFormat",{get:function(){return this._inputDateFormat},set:function(t){this._inputDateFormat=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"utc",{get:function(){return this._utc},set:function(t){this._utc=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstDayOfWeek",{get:function(){return this._firstDayOfWeek},set:function(t){this._firstDayOfWeek=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e}(o.a);s.b.registeredClasses.DateFormatter=c}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(10),o=i(1),a=i(13),s=function(t){function e(){var e=t.call(this)||this;e.className="Tick";var i=new a.a;return e.fillOpacity=0,e.length=6,e.strokeOpacity=.2,e.stroke=i.getFor("grid"),e.isMeasured=!1,e.nonScalingStroke=!0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"length",{get:function(){return this.disabled?0:this.getPropertyValue("length")},set:function(t){this.setPropertyValue("length",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Tick=s},,function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(10),o=i(14),a=i(1),s=i(12),u=i(4),l=function(t){function e(){var e=t.call(this)||this;return e._distance=0,e.className="Polyline",e.element=e.paper.add("path"),e.shapeRendering="auto",e.fill=Object(o.c)(),e.strokeOpacity=1,e.applyTheme(),e}return n.c(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments;if(t&&t.length>0){for(var e="",i=0,n=t.length;i<n;i++){var r=t[i];if(r.length>0){e+=s.moveTo(r[0]);for(var o=1;o<r.length;o++){var a=r[o];e+=s.lineTo(a),this._distance+=u.getDistance(r[o-1],a)}}}this.path=e}this._realSegments=t},Object.defineProperty(e.prototype,"segments",{get:function(){return this.getPropertyValue("segments")},set:function(t){this.setPropertyValue("segments",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distance",{get:function(){return this._distance},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=0;t<0&&(t=Math.abs(t),e=180);var i=this._realSegments;if(i){for(var n=this.distance,r=0,o=0,a=0,s=void 0,l=void 0,h=0;h<i.length;h++){var c=i[h];if(c.length>1){for(var p=1;p<c.length;p++)if(s=c[p-1],l=c[p],o=r/n,a=(r+=u.getDistance(s,l))/n,o<=t&&a>t){h=i.length;break}}else 1==c.length&&(s=c[0],l=c[0],o=0,a=1)}if(s&&l){var d=(t-o)/(a-o),f=u.getMidPoint(s,l,d);return{x:f.x,y:f.y,angle:e+u.getAngle(s,l)}}}return{x:0,y:0,angle:0}},e}(r.a);a.b.registeredClasses.Polyline=l},function(t,e,i){var n=i(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,i){var n=i(45),r=i(22)("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,i,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?i:o?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,i){"use strict";i.d(e,"a",function(){return g});var n=i(0),r=i(9),o=i(7),a=i(232),s=i(152),u=i(103),l=i(153),h=i(233),c=i(11),p=i(1),d=i(8),f=i(4),g=function(t){function e(){var e=t.call(this)||this;e._chart=new o.d,e.className="AxisRenderer",e.minGridDistance=50,e.inside=!1,e.inversed=!1,e.tooltipLocation=.5,e.fullWidthTooltip=!1,e.cellStartLocation=0,e.cellEndLocation=1,e.minLabelPosition=0,e.maxLabelPosition=1,e.shouldClone=!1;var i=e.createChild(r.a);i.shouldClone=!1,i.layout="none",i.isMeasured=!1,i.width=Object(d.c)(100),i.height=Object(d.c)(100),e.gridContainer=i,i.events.on("maxsizechanged",function(){e.inited&&e.invali
20dateAxisItems()},e,!1);var n=e.createChild(r.a);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",n.width=Object(d.c)(100),n.height=Object(d.c)(100),e.breakContainer=n,e.line=e.createChild(a.a),e.line.shouldClone=!1,e.line.strokeOpacity=0,e.ticks.template.strokeOpacity=0;var s=e.createChild(u.a);s.shouldClone=!1,e.baseGrid=s;var l=e._disposers;return l.push(s),l.push(e.line),l.push(i),l.push(n),l.push(e._chart),e.axisFills.template.interactionsEnabled=!1,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis},set:function(t){this.setAxis(t)},enumerable:!0,configurable:!0}),e.prototype.setAxis=function(t){this._axis=t,this.baseGrid.parent=t,this.line.parent=t},e.prototype.processRenderer=function(){this.events.on("sizechanged",this.updateTooltip,this,!1),this.events.on("positionchanged",this.updateTooltip,this,!1),this.labels.template.inside=this.inside,this.ticks.template.inside=this.inside},e.prototype.updateTooltip=function(){},Object.defineProperty(e.prototype,"axisLength",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.positionItem=function(t,e){t&&t.moveTo(e)},e.prototype.positionToPoint=function(t){return{x:0,y:0}},e.prototype.positionToAngle=function(t){return 0},e.prototype.positionToCoordinate=function(t){var e=this.axis,i=e.axisFullLength;return e.renderer.inversed?(e.end-t)*i:(t-e.start)*i},e.prototype.getHeight=function(){var t=this.axis;if(t&&t.chart){var e=this.axis.chart;if(e.plotContainer)return e.plotContainer.pixelHeight||0}return this.gridContainer.pixelHeight||0},e.prototype.getWidth=function(){var t=this.axis;if(t&&t.chart){var e=this.axis.chart;if(e.plotContainer)return e.plotContainer.pixelWidth||0}return this.gridContainer.pixelWidth||0},e.prototype.coordinateToPosition=function(t){var e,i=this.axis,n=i.axisFullLength;return e=i.renderer.inversed?i.end-t/n:t/n+i.start,f.round(e,5)},e.prototype.pointToPosition=function(t){return 0},e.prototype.getPositionRangePath=function(t,e){return""},e.prototype.invalidateAxisItems=function(){var t=this.axis;t&&t.invalidateDataItems()},e.prototype.updateGridElement=function(t,e,i){},e.prototype.updateTickElement=function(t,e,i){},e.prototype.updateLabelElement=function(t,e,i,n){},e.prototype.updateFillElement=function(t,e,i){t.startPosition=e,t.endPosition=i},e.prototype.updateAxisLine=function(){},e.prototype.updateBaseGridElement=function(){},e.prototype.updateBreakElement=function(t){this.positionItem(t.startLine,t.startPoint),this.toggleVisibility(t.startLine,t.startPosition,0,1),this.positionItem(t.endLine,t.endPoint),this.toggleVisibility(t.endLine,t.endPosition,0,1)},Object.defineProperty(e.prototype,"minGridDistance",{get:function(){return this.getPropertyValue("minGridDistance")},set:function(t){this.setPropertyValue("minGridDistance",t)&&this.axis&&this.axis.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.set(t,null)},enumerable:!0,configurable:!0}),e.prototype.toggleVisibility=function(t,e,i,n){var r=this.axis,o=r.start+(r.end-r.start)*i-1e-5,a=r.start+(r.end-r.start)*n+1e-5;t.disabled||(t.__disabled=e<o||e>a)},e.prototype.createBreakSprites=function(t){},Object.defineProperty(e.prototype,"axisFills",{get:function(){return this._axisFills||(this._axisFills=new c.e(this.createFill(this.axis)),this._axisFills.template.applyOnClones=!0,this._disposers.push(new c.c(this._axisFills)),this._disposers.push(this._axisFills.template)),this._axisFills},enumerable:!0,configurable:!0}),e.prototype.createFill=function(t){return new s.a(t)},Object.defineProperty(e.prototype,"grid",{get:function(){return this._grid||(this._grid=new c.e(this.createGrid()),this._grid.template.applyOnClones=!0,this._disposers.push(new c.c(this._grid)),this._disposers.push(this._grid.template)),this._grid},enumerable:!0,configurable:!0}),e.prototype.createGrid=function(){return new u.a},Object.defineProperty(e.prototype,"ticks",{get:function(){if(!this._ticks){var t=this.createTick();t.applyOnClones=!0,t.isMeasured=!1,this._ticks=new c.e(t),this._disposers.push(new c.c(this._ticks)),this._disposers.push(this._ticks.template)}return this._ticks},enumerable:!0,configurable:!0}),e.prototype.createTick=function(){return new h.a},Object.defineProperty(e.prototype,"labels",{get:function(){return this._labels||(this._labels=new c.e(this.createLabel()),this._labels.template.applyOnClones=!0,this._disposers.push(new c.c(this._labels)),this._disposers.push(this._labels.template)),this._labels},enumerable:!0,configurable:!0}),e.prototype.createLabel=function(){return new l.a},Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t)&&this.axis&&this.axis.invalidate(),t?(this.width=0,this.height=0):(this.width=void 0,this.height=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opposite",{get:function(){return this.getPropertyValue("opposite")}
20,set:function(t){this.setPropertyValue("opposite",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthTooltip",{get:function(){return this.getPropertyValue("fullWidthTooltip")},set:function(t){this.setPropertyValue("fullWidthTooltip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(t){this.setPropertyValue("tooltipLocation",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellStartLocation",{get:function(){return this.getPropertyValue("cellStartLocation")},set:function(t){this.setPropertyValue("cellStartLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellEndLocation",{get:function(){return this.getPropertyValue("cellEndLocation")},set:function(t){this.setPropertyValue("cellEndLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inversed",{get:function(){return this.getPropertyValue("inversed")},set:function(t){this.setPropertyValue("inversed",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minLabelPosition",{get:function(){return this.getPropertyValue("minLabelPosition")},set:function(t){this.setPropertyValue("minLabelPosition",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLabelPosition",{get:function(){return this.getPropertyValue("maxLabelPosition")},set:function(t){this.setPropertyValue("maxLabelPosition",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.grid.template.copyFrom(e.grid.template),this.ticks.template.copyFrom(e.ticks.template),this.labels.template.copyFrom(e.labels.template),this.axisFills.template.copyFrom(e.axisFills.template),this.line.copyFrom(e.line),this.baseGrid.copyFrom(e.baseGrid)},e}(r.a);p.b.registeredClasses.AxisRenderer=g},,function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return f});var n=i(0),r=i(56),o=i(7),a=i(11),s=i(9),u=i(37),l=i(73),h=i(8),c=i(5),p=i(3),d=function(t){function e(){var e=t.call(this)||this;return e.className="ChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(l.a),f=function(t){function e(){var e=t.call(this)||this;e._legend=new o.d,e.className="Chart";var i=new u.a;e.titles=new a.e(i),e._disposers.push(new a.c(e.titles)),e._disposers.push(i),e.width=Object(h.c)(100),e.height=Object(h.c)(100),e.layout="vertical";var n=e.createChild(s.a);n.shouldClone=!1,n.layout="vertical",n.width=Object(h.c)(100),n.height=Object(h.c)(100),e.chartAndLegendContainer=n;var r=n.createChild(s.a);return r.shouldClone=!1,r.width=Object(h.c)(100),r.height=Object(h.c)(100),e.chartContainer=r,e.showOnInit=!0,e._disposers.push(e._legend),e.titles.events.on("inserted",function(t){e.processTitle(t),e.updateReaderTitleReferences()},e,!1),e.titles.events.on("removed",function(t){e.updateReaderTitleReferences()},e,!1),e.role="region",e.defaultState.transitionDuration=1,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Chart"))},e.prototype.draw=function(){this.fixLayout(),t.prototype.draw.call(this)},e.prototype.fixLayout=function(){var t=this.legend;if(t){var e=this.chartAndLegendContainer,i=this.chartContainer;switch(i.x=void 0,i.y=void 0,t.x=void 0,t.y=void 0,t.position){case"left":e.layout="horizontal",p.isNumber(t.width)||(t.width=200),t.toBack();break;case"right":e.layout="horizontal",p.isNumber(t.width)||(t.width=200),t.toFront();break;case"top":e.layout="vertical",t.maxWidth=void 0,t.width=Object(h.c)(100),t.toBack();break;case"bottom":e.layout="vertical",t.maxWidth=void 0,t.width=Object(h.c)(100),t.toFront()}}},e.prototype.feedLegend=function(){},e.prototype.processTitle=function(t){var e=t.newValue;return e.parent=this,e.toBack(),e.shouldClone=!1,e.align="center",e.uidAttr(),e},e.prototype.updateReaderTitleReferences=function(){if(this.titles.length){var t=[];c.each(this.titles.iterator(),function(e){t.push(e.uid)}),this.setSVGAttribute({"aria-labelledby":t.join(" ")})}else this.removeSVGAttribute("aria-labelledby")},Object.defineProperty(e.prototype,"legend",{get:function(){return this._legend.get()},set:function(t){this.setLegend(t)},enumerable:!0,configurable:!0}),e.prototype.setLegend=function(t){var e=this;this._legend.get()!==t&&(t?(t.parent=this.chartAndLegendContainer,this._legend.set(t,t.events.on("propertychanged",function(t){"position"!=t.property&&"width"!=t.property||e.fixLayout()},void 0,!1))):this._legend.reset(),this.feedLegend())},e.prototype.processConfig=function(e){e&&p.hasValue(e.legend)&&!p.hasValue(e.legend.type)&&(e.legend.type="Legend"),t.prototype.processConfig.call(this,e)},e.prototype.copyFrom=function(e){this.titles.copyFrom(e.titles),e.legend&&(this.legend=e.legend.clone()),t.prototype.copyFrom.call(this,e)},e}(r.a)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i(0),r=i(114),o=i(126),a=i(163),s=i(1),u=i(8),l=i(4),h=i(12),c=i(6),p=i(3),d=function(t){function e(){var e=t.call(this)||this;return e.className="AxisRendererX",e.minGridDistance=120,e.opposite=!1,e.rotation=0,e.width=Object(u.c)(100),e.labels.template.horizontalCenter="middle",e.applyTheme(),e}return n.c(e,t),e.prototype.setAxis=function(e){t.prototype.setAxis.call(this,e),e.layout="vertical"},e.prototype.processRenderer=function(){t.prototype.processRenderer.call(this);var e=this.axis;if(e){e.width=Object(u.c)(100),this.line;var i=e.title;i.rotation=0,i.align="center",this.opposite?(this.line.toFront(),i.toBack()):(i.toFront(),this.line.toBack())}},e.prototype.updateTooltip=function(){if(this.axis){var t=this.line.pixelX,e=this.line.pixelY,i=this.axisLength,n=1e3;this.opposite?this.inside||(e=-1e3,n=1e3):this.inside&&(e=-1e3,n=1e3),this.axis.updateTooltip("vertical",{x:t,y:e,width:i,height:n})}},e.prototype.updateLabelElement=function(t,e,i,n){p.hasValue(n)||(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);t.isMeasured=!t.inside,!this.opposite&&t.inside?0==t.rotation&&(t.verticalCenter="bottom"):0==t.rotation&&(t.verticalCenter="top"),this.positionItem(t,r),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},Object.defineProperty(e.prototype,"axisLength",{get:function(){var t=this.axis;return t.measuredWidth-t.pixelPaddingRight-t.pixelPaddingLeft||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){return{x:this.positionToCoordinate(t),y:0}},e.prototype.pointToPosition=function(t){return this.coordinateToPosition(t.x)},e.prototype.getPositionRangePath=function(t,e){var i=l.fitToRange(this.positionToCoordinate(t),0,this.axisLength),n=l.fitToRange(this.positionToCoordinate(e),0,this.axisLength),r=Math.abs(n-i),o=this.getHeight(),a=Math.min(i,n);return h.rectToPath({x:a,y:0,width:r,height:o},!0)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,o=e.startPoint,a=e.endPoint,s=e.pixelMarginLeft,u=this.getHeight()-e.pixelMarginTop-e.pixelMarginBottom;o.x=l.fitToRange(o.x,-1,this.pixelWidth+1),a.x=l.fitToRange(a.x,-1,this.pixelWidth+1),o.x==a.x&&(o.x<0||o.x>this.pixelWidth)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1,i.y=s,i.width=0,i.height=u,n.y=s,n.width=0,n.height=u,r.height=u,r.width=Math.abs(a.x-o.x),r.y=s,r.x=o.x},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.path=h.moveTo({x:0,y:0})+h.lineTo({x:0,y:this.getHeight()}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e),r=t.length;this.opposite?(n.y=0,r*=t.inside?1:-1):(n.y=this.gridContainer.pixelHeight,r*=t.inside?-1:1),t.path=h.moveTo({x:0,y:0})+h.lineTo({x:0,y:r}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateAxisLine=function(){this.line.path=h.moveTo({x:0,y:0})+h.lineTo({x:this.axisLength,y:0})},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.axis,i=this.getHeight(),n=this.getWidth(),r=this.baseGrid,o=e.basePoint.x;if(o<0||o>n)r.hide(0);else{var a=c.spritePointToSprite({x:0,y:0},this.gridContainer,r.parent).y;r.path=h.moveTo({x:0,y:0})+h.lineTo({x:0,y:i}),r.moveTo({x:o,y:a}),r.show(0)}},e.prototype.createBreakSprites=function(t){t.startLine=new o.a,t.endLine=new o.a;var e=new a.a;e.setWavedSides(!1,!0,!1,!0),t.fillShape=e},e}(r.a);s.b.registeredClasses.AxisRendererX=d},function(t,e,i){"use strict";i.d(e,"b",function(){return v}),i.d(e,"c",function(){return _}),i.d(e,"a",function(){return x});var n=i(0),r=i(56),o=i(73),a=i(11),s=i(42),u=i(9),l=i(37),h=i(55),c=i(1),p=i(34),d=i(8),f=i(13),g=i(3),y=i(10),m=i(7),b=i(70),v=function(t){function e(){var e=t.call(this)||this;return e.childrenCreated=!1,e.className="LegendDataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"label",{get:function(){var t=this;if(!this._label){var e=this.component.labels.create();this._label=e,this.addSprite(e),this._disposers.push(e),e.parent=this.itemContainer,this._disposers.push(new m.b(function(){t.component.labels.removeValue(e)}))}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueLabel",{get:function(){var t=this;if(!this._valueLabel){var e=this.component.valueLabels.create();this._valueLabel=e,this.addSprite(e),this._disposers.push(e),e.parent=this.itemContainer,this._disposers.push(new m.b(function(){t.component.valueLabels.removeValue(e)}))}return this._valueLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemContainer",{get:function(){var t=this;if(!this._itemContainer){var e=this.component.itemContainers.create();this._itemContainer=e,this.addSprite(e),this._disposers.push(e),this._disposers.push(new m.b(function(){t.component.itemContainers.removeValue(e)})),this.dataContext.uidAttr&&(e.readerControls=this.dataContext.uidAttr(),e.readerLabelledBy=this.dataContext.uidAttr());var i=this.dataContext;(i instanceof o.a||i instanceof y.a)&&(e.addDisposer(i.events.on("visibilitychanged",function(t){e.readerChecked=t.visible,e.events.disableType("toggled"),e.isActive=!t.visible,e.events.enableType("toggled")},void 0,!1)),i.addDisposer(new m.b(function(){t.component&&t.component.dataItems.remove(t)})),i instanceof y.a&&(e.addDisposer(i.events.on("hidden",function(t){e.readerChecked=!0,e.events.disableType("toggled"),e.isActive=!0,e.events.enableType("toggled")},void 0,!1)),e.addDisposer(i.events.on("shown",function(t){e.readerChecked=!1,e.events.disableType("toggled"),e.isActive=!1,e.events.enableType("toggled")},void 0,!1))))}return this._itemContainer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker",{get:function(){var t=this;if(!this._marker){var e=this.component.markers.create();this._marker=e,e.parent=this.itemContainer,this.addSprite(e),this._disposers.push(e),this._disposers.push(new m.b(function(){t.component.markers.removeValue(e)}))}return this._marker},enumerable:!0,configurable:!0}),e}(o.a),_=function(){return function(){this.createMarker=!0}}(),x=function(t){function e(){var e=t.call(this)||this;e.className="Legend",e.layout="grid",e.setPropertyValue("useDefaultMarker",!1),e.setPropertyValue("contentAlign","center");var i=new u.a;i.applyOnClones=!0,i.padding(10,0,10,0),i.margin(0,10,0,0),i.layout="horizontal",i.clickable=!0,i.focusable=!0,i.role="checkbox",i.togglable=!0,i.cursorOverStyle=b.a.pointer,i.background.fillOpacity=0,i.events.on("toggled",function(t){e.toggleDataItem(t.target.dataItem)},e),i.events.on("focus",function(t){e.focusedItem=t.target.dataItem}),i.events.on("blur",function(t){e.focusedItem=void 0}),e.itemContainers=new a.e(i),e._disposers.push(new a.c(e.itemContainers
20)),e._disposers.push(e.itemContainers.template),e._disposers.push(Object(p.b)().body.events.on("keyup",function(t){h.b.isKey(t.event,"enter")&&e.focusedItem&&e.toggleDataItem(e.focusedItem)},e));var n=new f.a,r=new u.a;r.width=23,r.height=23,r.interactionsEnabled=!1,r.applyOnClones=!0,r.setStateOnChildren=!0,r.background.fillOpacity=0,r.background.strokeOpacity=0,r.propertyFields.fill="fill",r.valign="middle";var o=n.getFor("disabledBackground");r.events.on("childadded",function(t){var e=t.newValue.states.create("active");e.properties.stroke=o,e.properties.fill=o}),e.markers=new a.e(r),e._disposers.push(new a.c(e.markers)),e._disposers.push(e.markers.template);var c=r.createChild(s.a);c.width=Object(d.c)(100),c.height=Object(d.c)(100),c.applyOnClones=!0,c.propertyFields.fill="fill",c.strokeOpacity=0;var g=new l.a;g.text="{name}",g.margin(0,5,0,5),g.valign="middle",g.applyOnClones=!0,g.states.create("active").properties.fill=n.getFor("disabledBackground"),e.labels=new a.e(g),e._disposers.push(new a.c(e.labels)),e._disposers.push(e.labels.template),g.interactionsEnabled=!1;var y=new l.a;return y.margin(0,5,0,0),y.valign="middle",y.width=50,y.align="right",y.textAlign="end",y.applyOnClones=!0,y.states.create("active").properties.fill=n.getFor("disabledBackground"),y.interactionsEnabled=!1,e.valueLabels=new a.e(y),e._disposers.push(new a.c(e.valueLabels)),e._disposers.push(e.valueLabels.template),e.position="bottom",i.states.create("active"),i.setStateOnChildren=!0,e.role="group",e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),g.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Legend"))},e.prototype.createDataItem=function(){return new v},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e);var i=e.itemContainer,n=e.marker,r=(e.label,e.valueLabel);i.parent=this,i.readerChecked=e.dataContext.visible,e.dataContext.legendDataItem=e,e.dataContext.createLegendMarker&&!this.useDefaultMarker&&(e.childrenCreated||(e.dataContext.createLegendMarker(n),e.childrenCreated=!0)),r.invalid&&r.validate(),""==r.currentText||void 0==r.currentText?r.__disabled=!0:r.__disabled=!1;var o=e.dataContext.visible;void 0===o&&(o=!0),o=g.toBoolean(o),e.dataContext.visible=o,i.events.disableType("toggled"),i.isActive=!o,i.events.enableType("toggled")},Object.defineProperty(e.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(t){this.setPropertyValue("position",t)&&("left"==t||"right"==t?(this.margin(10,20,10,20),this.valign="middle",this.itemContainers.template.width=Object(d.c)(100),this.valueLabels.template.width=Object(d.c)(100),this.labels.template.truncate=!0,this.labels.template.fullWords=!1):(this.itemContainers.template.width=void 0,this.itemContainers.template.maxWidth=void 0,this.valueLabels.template.width=50,this.labels.template.truncate=!1,this.width=Object(d.c)(100)),this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefaultMarker",{get:function(){return this.getPropertyValue("useDefaultMarker")},set:function(t){this.setPropertyValue("useDefaultMarker",t,!0)},enumerable:!0,configurable:!0}),e.prototype.toggleDataItem=function(t){var e=t.dataContext;!e.visible||e.isHiding||e instanceof y.a&&e.isHidden?(t.itemContainer.isActive=!1,!0===e.hidden&&(e.hidden=!1),e.show?e.show():e.visible=!0):(t.itemContainer.isActive=!0,e.hide?e.hide():e.visible=!1)},Object.defineProperty(e.prototype,"preloader",{get:function(){},enumerable:!0,configurable:!0}),e}(r.a);c.b.registeredClasses.Legend=x},function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return g});var n=i(0),r=i(116),o=i(11),a=i(9),s=i(93),u=i(8),l=i(30),h=i(1),c=i(5),p=i(3),d=i(7),f=function(t){function e(){var e=t.call(this)||this;return e.className="SerialChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;e.className="SerialChart",e.colors=new l.a;var i=e.chartContainer.createChild(a.a);i.shouldClone=!1,i.width=Object(u.c)(100),i.height=Object(u.c)(100),i.isMeasured=!1,i.layout="none",i.zIndex=2,e.seriesContainer=i;var n=e.chartContainer.createChild(a.a);return n.shouldClone=!1,n.width=Object(u.c)(100),n.height=Object(u.c)(100),n.isMeasured=!1,n.zIndex=3,n.layout="none",e.bulletsContainer=n,e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.colors&&this.colors.dispose()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Serial chart"))},Object.defineProperty(e.prototype,"series",{get:function(){var t=this;return this._series||(this._series=new o.e(this.createSeries()),this._series.events.on("inserted",function(e){t.handleSeriesAdded(e)},void 0,!1),this._series.events.on("removed",function(e){var i=e.oldValue;t.dataUsers.removeValue(i),t.dataUsers.each(function(t){t.invalidateDataItems()}),i.autoDispose&&i.dispose(),t.feedLegend()},void 0,!1),this._disposers.push(new o.c(this._series)),this._disposers.push(this._series.template)),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=this,i=t.newValue;i.chart=this,i.parent=this.seriesContainer,i.bulletsContainer.parent=this.bulletsContainer,this._dataUsers.moveValue(i),i.addDisposer(new d.b(function(){e.dataUsers.removeValue(i)})),this.feedLegend()},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];c.each(this.series.iterator(),function(t){t.hiddenInLegend||e.push(t)}),t.dataFields.name="name",t.data=e}},e.prototype.createSeries=function(){return new s.a},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.series.copyFrom(e.series)},e}(r.a);
20h.b.registeredClasses.SerialChart=g},function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i(0),r=i(21),o=i(28),a=i(11),s=i(58),u=i(14),l=i(8),h=i(6),c=i(43),p=i(18),d=i(3),f=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e.transitionDuration=0,e.transitionEasing=c.cubicOut,e.properties={},e.propertyFields={},e.filters=new a.e(new s.a),e.isTemplate=!1,e.className="SpriteState",e._disposers.push(new a.c(e.filters)),e._disposers.push(e.filters.template),e.adapter.events.on("inserted",function(t){e[t.newValue.key]=e[t.newValue.key]},void 0,!1),e.adapter.events.on("removed",function(t){e[t.newValue.key]=e[t.newValue.key]},void 0,!1),e.applyTheme(),e}return n.c(e,t),e.prototype.getPropertyValue=function(t){var e=this.properties[t],i=this.sprite;if(i){var n=this.propertyFields[t];if(d.hasValue(n)&&i.dataItem&&(e=i.dataItem.dataContext[n]),d.hasValue(e))e=this.adapter.apply(t,e);else{var r=i.getPropertyValue(t);(e=this.adapter.apply(t,i.getPropertyValue(t)))==r&&(e=void 0)}}return e},e.prototype.copyFrom=function(t){t&&t!=this&&(this.transitionDuration=t.transitionDuration,this.transitionEasing=t.transitionEasing,h.copyProperties(t.properties,this.properties),h.copyProperties(t.propertyFields,this.propertyFields),this.filters.copyFrom(t.filters),this.adapter.copyFrom(t.adapter))},Object.defineProperty(e.prototype,"allValues",{get:function(){var t=this,e={};p.each(this.properties,function(i,n){e[i]=t.getPropertyValue(i)});var i=this.adapter.keys();for(var n in i){var r=i[n],o=this.getPropertyValue(r);e[r]=o}var a=this.propertyFields;for(var r in a){o=this.getPropertyValue(r);e[r]=o}return e},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.properties={},this.filters.clear()},e.prototype.processConfig=function(e){d.hasValue(e)&&d.hasValue(e.properties)&&p.each(e.properties,function(t,i){d.isString(i)&&(i.match(/^[0-9.\-]+\%$/)?e.properties[t]=Object(l.c)(d.toNumber(i)):i.match(/^\#[0-9abcdef]{3,}$/i)&&(e.properties[t]=Object(u.e)(i)))}),t.prototype.processConfig.call(this,e)},e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"c",function(){return l}),i.d(e,"b",function(){return h}),i.d(e,"d",function(){return c});var n=i(0),r=i(57),o=i(16),a=i(5),s=i(3),u=function(){function t(t){this._values=[],this.events=new r.a,null!=t&&this.setAll(t)}return Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),t.prototype._insert=function(t){this._values.push(t)},Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.indexOf=function(t){return o.indexOf(this._values,t)},t.prototype.contains=function(t){return-1!==this.indexOf(t)},t.prototype.getIndex=function(t){return this._values[t]},Object.defineProperty(t.prototype,"first",{get:function(){return this._values[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._values[this._values.length-1]},enumerable:!0,configurable:!0}),t.prototype.insert=function(t){this._insert(t),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t})},t.prototype.remove=function(t){var e=this.indexOf(t);if(-1!==e){var i=this._values[e];o.removeIndex(this._values,e),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i})}},t.prototype.setAll=function(t){var e=this,i=o.copy(this._values);this._values.length=0,o.each(t,function(t){e._insert(t)}),this.events.isEnabled("removed")&&o.each(i,function(t){e.events.dispatchImmediately("removed",{type:"removed",target:e,oldValue:t})}),this.events.isEnabled("inserted")&&o.each(this._values,function(t){e.events.dispatchImmediately("inserted",{type:"inserted",target:e,newValue:t})})},t.prototype.clear=function(){this.setAll([])},t.prototype.slice=function(e,i){var n=new t;return n._values=this._values.slice(e,i),n},t.prototype.findClosestIndex=function(t,e,i){void 0===i&&(i="any");var n,r,o=-1,u=0;return a.eachContinue(this.iterator(),function(a){var l=e(a);if(l===t)return o=u,!1;
20if("any"===i){var h=Math.abs(t-l);(!s.hasValue(r)||r>h)&&(o=u,n=l,r=h)}else"left"===i&&l<t?(!s.hasValue(n)||n<l)&&(o=u,n=l):"right"===i&&l>t&&(!s.hasValue(n)||n>l)&&(o=u,n=l);return++u,!0}),-1===o&&("left"===i?o=0:"right"===i&&(o=this.length-1)),o},t.prototype.iterator=function(){return a.fromArray(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return n.d(this,function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:return e<t?[4,this._values[e]]:[3,4];case 2:i.sent(),i.label=3;case 3:return++e,[3,1];case 4:return[2]}})},t.prototype.each=function(t){o.each(this._values,t)},t}(),l=function(t){function e(e){var i=t.call(this)||this;return i._ordering=e,i}return n.c(e,t),e.prototype._insert=function(t){var e=o.getSortedIndex(this._values,this._ordering,t).index;o.insertIndex(this._values,e,t)},e.prototype.indexOf=function(t){var e=o.getSortedIndex(this._values,this._ordering,t),i=e.found,n=e.index;return i?n:-1},e.prototype.update=function(t){var e=o.indexOf(this._values,t);if(-1!==e){var i=this._values.length-1;(0===e||this._ordering(this._values[e-1],t)<0)&&(e===i||this._ordering(t,this._values[e+1])<0)||(o.removeIndex(this._values,e),this._insert(t))}},e}(u),h=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return n.c(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;a.each(t.iterator(),function(t){e.insert(t.clone())})},e.prototype.slice=function(t,i){var n=new e(this.template);return n._values=this._values.slice(t,i),n},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.insert(e),e},e}(u),c=function(t){function e(e,i){var n=t.call(this,i)||this;return n.template=e,n}return n.c(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;a.each(t.iterator(),function(t){e.insert(t.clone())})},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.insert(e),e},e}(l)},function(t,e,i){"use strict";e.b=function(t){switch(t){case 0:return 0;case-1:return 1;case 1:return-1}},e.a=function(t,e){return 0===t?e:t}},function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i(35),r=i(3),o=function(){function t(t){this._isDisposed=!1,this._x=0,this._y=0,this._rotation=0,this._scale=1,this.node="string"==typeof t?document.createElementNS(n.a,t):t}return t.prototype.removeNode=function(){this.node&&this.node.parentNode&&this.node.parentNode.removeChild(this.node)},Object.defineProperty(t.prototype,"transformString",{get:function(){if(this.node)return this._transformString},enumerable:!0,configurable:!0}),t.prototype.transform=function(){var t="translate("+this._x+","+this._y+")";1!=this._scale&&(t+=(t?" ":"")+"scale("+this._scale+")"),0!=this._rotation&&(t+=(t?" ":"")+"rotate("+this._rotation+")"),this._transformString=t,this.node.setAttribute("transform",t)},t.prototype.getBBox=function(){var t={width:0,height:0,x:0,y:0};if(this.node&&this.node.parentNode)try{var e=this.node.getBBox();t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height}catch(t){}return t},t.prototype.moveTo=function(t){if(t){var e=t.x,i=t.y;this._x==e&&this._y==i||(this._x=e,this._y=i,this.transform())}},Object.defineProperty(t.prototype,"content",{get:function(){return this.node.innerHTML||""},set:function(t){this.node.innerHTML=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.node.textContent||""},set:function(t){this.node.textContent=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x!=t&&(this._x=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y!=t&&(this._y=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation!=t&&(this._rotation=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale!=t&&(this._scale=t,this.transform())},enumerable:!0,configurable:!0}),t.prototype.removeAttr=function(t){this.node.removeAttribute(t)},t.prototype.attr=function(t){for(var e in t)r.hasValue(t[e])?this.node.setAttribute(e,t[e]):this.node.removeAttribute(e);return this},t.prototype.getAttr=function(t){return this.node.getAttribute(t)}
20,t.prototype.attrNS=function(t,e,i){return this.node.setAttributeNS(t,e,i),this},t.prototype.getAttrNS=function(t,e){return this.node.getAttributeNS(t,e)},t.prototype.removeStyle=function(t){delete this.node.style[t]},t.prototype.getStyle=function(t){return this.node.style[t]},t.prototype.addStyle=function(t){for(var e in t)r.hasValue(t[e])?this.node.style[e]=t[e]:this.removeStyle(e);return this},t.prototype.addClass=function(t){n.f(this.node,t)},t.prototype.removeClass=function(t){n.q(this.node,t)},t.prototype.setClass=function(t){this.node.setAttribute("class",t)},t.prototype.removeChildNodes=function(){for(;this.node.childNodes.length>0;)this.node.removeChild(this.node.firstChild)},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.dispose=function(){this.removeNode()},t}()},function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i(0),r=i(21),o=i(59),a=i(11),s=i(36),u=i(1),l=i(13),h=i(5),c=i(18),p=i(3),d=function(t){function e(){var e=t.call(this)||this;e._elements=new a.b,e.properties={},e.className="Pattern",e.width=10,e.height=10,e.x=0,e.y=0,e.patternUnits="userSpaceOnUse";var i=new l.a;return e.backgroundFill=i.getFor("background"),e.backgroundOpacity=0,e.fillOpacity=1,e.fill=i.getFor("alternativeBackground"),e.stroke=i.getFor("alternativeBackground"),e.strokeOpacity=1,e.strokeWidth=1,e.shapeRendering="crispEdges",e.rotation=0,e.element=e.paper.addGroup("pattern"),e.id="pattern-"+u.b.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e._disposers.push(new a.c(e._elements)),e.patternUnits=e.patternUnits,e.width=e.width,e.height=e.height,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t=this,e=this.element;if(e){e.removeChildNodes();var i=this.paper.add("rect");i.attr({width:this.width,height:this.height,"shape-rendering":"crispEdges",fill:this.backgroundFill.hex,"fill-opacity":this.backgroundOpacity,stroke:this.backgroundFill.hex,"stroke-opacity":this.backgroundOpacity}),e.add(i),e.attr({x:this.x,y:this.y,width:this.width,height:this.height,stroke:this.stroke.hex,fill:this.fill.hex,"fill-opacity":this.fillOpacity,"stroke-opacity":this.strokeOpacity,"stroke-width":this.strokeWidth,"shape-rendering":this.shapeRendering,patternUnits:this.patternUnits}),h.each(this._elements.iterator(),function(e){e.rotation=t.rotation,t.element.add(e)})}},e.prototype.animate=function(t,e,i){return new s.a(this,t,e,i).start()},e.prototype.addElement=function(t){this._elements.push(t),this._disposers.push(t)},e.prototype.removeElement=function(t){this._elements.removeValue(t),this.removeDispose(t)},Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillOpacity",{get:function(){return this.properties.fillOpacity},set:function(t){this.properties.fillOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.properties.fill},set:function(t){this.properties.fill=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundFill",{get:function(){return this.properties.backgroundFill},set:function(t){this.properties.backgroundFill=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundOpacity",{get:function(){return this.properties.backgroundOpacity},set:function(t){this.properties.backgroundOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(t){this.properties.stroke=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.properties.strokeOpacity},set:function(t){this.properties.strokeOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(t){this.properties.strokeWidth=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shapeRendering",{get:function(){return this.properties.shapeRendering},set:function(t){this.properties.shapeRendering=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.properties.rotation},set:function(t){this.properties.rotation=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patternUnits",{get:function(){return this.properties.patternUnits},set:function(t){this.properties.patternUnits=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.properties.width}
20,set:function(t){this.properties.width=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.properties.height},set:function(t){this.properties.height=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x",{get:function(){return this.properties.x},set:function(t){this.properties.x=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.properties.y},set:function(t){this.properties.y=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(o.b)()},set:function(t){this._paper!=t&&(this._paper=t,this.draw(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),c.each(e.properties,function(t,e){i[t]=e})},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new s.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){if(e&&p.hasValue(e.elements)&&p.isArray(e.elements))for(var i=0,n=e.elements.length;i<n;i++){var o=e.elements[i];if(p.hasValue(o.type)){var a=this.createEntryInstance(o);a instanceof r.a&&(a.config=o),this.addElement(p.hasValue(o.typeProperty)?a[o.typeProperty]:a.element)}}t.prototype.processConfig.call(this,e)},e}(r.a);u.b.registeredClasses.Pattern=d},function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i(0),r=i(21),o=i(11),a=i(59),s=i(1),u=i(5),l=i(3),h=i(8),c=function(t){function e(){var e=t.call(this)||this;return e._stops=new o.b,e.element=e.paper.addGroup("radialGradient"),e.id="gradient-"+s.b.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t,e=this,i=this.element;l.isNumber(this.cx)&&((t=this.cx)instanceof h.a&&(t=t.percent+"%"),i.attr({cx:t}));l.isNumber(this.cy)&&((t=this.cy)instanceof h.a&&(t=t.percent+"%"),i.attr({cy:t}));this.fx&&((t=this.fx)instanceof h.a&&(t=t.percent+"%"),i.attr({fx:t}));this.fy&&((t=this.fy)instanceof h.a&&(t=t.percent+"%"),i.attr({fy:t}));i.removeChildNodes(),u.each(u.indexed(this._stops.iterator()),function(t){var n=t[0],r=t[1],o=r.offset;l.isNumber(o)||(o=n/(e._stops.length-1));var a=e.paper.add("stop");a.attr({"stop-color":r.color}),l.isNumber(r.opacity)&&a.attr({"stop-opacity":r.opacity}),l.isNumber(o)&&a.attr({offset:o}),i.add(a)})},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,o
20pacity:e,offset:i}),this.draw()},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(a.b)()},set:function(t){this._paper!=t&&(this._paper=t,this.draw(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cx",{get:function(){return this._cx},set:function(t){this._cx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cy",{get:function(){return this._cy},set:function(t){this._cy=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fx",{get:function(){return this._fx},set:function(t){this._fx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fy",{get:function(){return this._fy},set:function(t){this._fy=t,this.draw()},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.stops.copyFrom(e.stops),this.cx=e.cx,this.cy=e.cy,this.fx=e.fx,this.fy=e.fy},Object.defineProperty(e.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this._stops.clear()},e}(r.a);s.b.registeredClasses.RadialGradient=c},function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(71),o=i(14),a=i(72),s=i(12),u=function(t){function e(){var e=t.call(this)||this;return e.className="WavedLine",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.pixelPerfect=!1,e.fill=Object(o.c)(),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t={x:this.x1,y:this.y1},e={x:this.x2,y:this.y2};this.path=s.moveTo(t)+Object(a.c)(t,e,this.waveLength,this.waveHeight,this.tension,!0)},Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i(0),r=i(9),o=i(7),a=i(126),s=i(11),u=i(1),l=i(14),h=i(13),c=function(t){function e(){var e=t.call(this)||this;e._axis=new o.d,e.dataItems=new s.b,e.className="AxisBreak",e.breakSize=.01,e.marginLeft=-5,e.marginRight=-5,e.marginTop=-5,e.marginBottom=-5;var i=new h.a,n=new a.a;n.fill=i.getFor("background"),n.stroke=Object(l.c)(),n.fillOpacity=.9,n.zIndex=0,e._fillShape=n;var r=new a.a;r.fill=Object(l.c)(),r.stroke=i.getFor("grid"),r.strokeOpacity=.3,r.zIndex=1,e._startLine=r;var u=new a.a;return u.fill=Object(l.c)(),u.stroke=Object(l.c)("#000000"),u.strokeOpacity=.3,u.zIndex=2,e._endLine=u,e._disposers.push(e._axis),e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this._fillShape&&this._fillShape.dispose(),this._startLine&&this._startLine.dispose(),this._endLine&&this._endLine.dispose()},Object.defineProperty(e.prototype,"startLine",{get:function(){return this._startLine},set:function(t){this._startLine&&this._startLine.dispose(),this._startLine=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLine",{get:function(){return this._endLine},set:function(t){this._endLine&&this._endLine.dispose(),this._endLine=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillShape",{get:function(){return this._fillShape},set:function(t){this._fillShape&&this._fillShape.dispose(),this._fillShape=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),e.prototype.addBreakSprite=function(t){t.parent=this,t.isMeasured=!1,this._disposers.push(t)},Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis.get()},set:function(t){if(this._axis.get()!==t){this._axis.set(t,t.renderer.gridContainer.events.on("transformed",this.invalidate,this,
20!1)),t.renderer.createBreakSprites(this);var e=t.axisBreaks.template;this.startLine.copyFrom(e.startLine),this.endLine.copyFrom(e.endLine),this.fillShape.copyFrom(e.fillShape)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"breakSize",{get:function(){return this.getPropertyValue("breakSize")},set:function(t){this.setPropertyValue("breakSize",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startPoint",{get:function(){var t=this.axis.renderer;if(t)return t.positionToPoint(this.startPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPoint",{get:function(){var t=this.axis.renderer;if(t)return t.positionToPoint(this.endPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startPosition",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.draw=function(){(t.prototype.draw.call(this),this.axis)&&this.axis.renderer.updateBreakElement(this)},Object.defineProperty(e.prototype,"startValue",{get:function(){return this.getPropertyValue("startValue")},set:function(t){this.setPropertyValue("startValue",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this.getPropertyValue("endValue")},set:function(t){this.setPropertyValue("endValue",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),e}(r.a);u.b.registeredClasses.AxisBreak=c},,function(t,e,i){"use strict";i.d(e,"b",function(){return g}),i.d(e,"a",function(){return y});var n=i(0),r=i(93),o=i(10),a=i(37),s=i(108),u=i(11),l=i(9),h=i(30),c=i(1),p=i(5),d=i(43),f=i(7),g=function(t){function e(){var e=t.call(this)||this;return e.className="PercentSeriesDataItem",e.applyTheme(),e}return n.c(e,t),e.prototype.uidAttr=function(){return this.slice.uidAttr()},e.prototype.hide=function(e,i,n,r){return r||(r=["value"]),t.prototype.hide.call(this,e,i,0,r)},e.prototype.setVisibility=function(e,i){i||(e?this.setWorkingValue("value",this.values.value.value,0,0):this.setWorkingValue("value",0,0,0)),t.prototype.setVisibility.call(this,e,i)},e.prototype.show=function(e,i,n){return n||(n=["value"]),t.prototype.show.call(this,e,i,n)},Object.defineProperty(e.prototype,"category",{get:function(){return this.properties.category},set:function(t){this.setProperty("category",t)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){this.component.createLegendMarker(t,this)},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,t.label&&(t.label.dataItem=this),t.valueLabel&&(t.valueLabel.dataItem=this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tick",{get:function(){var t=this;if(!this._tick){var e=this.component.ticks.create();this._tick=e,this._disposers.push(e),e.parent=this.component.ticksContainer,this._disposers.push(new f.b(function(){t.component.ticks.removeValue(e)})),this.addSprite(e),e.visible=this.visible}return this._tick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){var t=this;if(!this._label){var e=this.component.labels.create();this._label=e,this._disposers.push(e),e.parent=this.component.labelsContainer,this._disposers.push(new f.b(function(){t.component.labels.removeValue(e)})),this.addSprite(e),e.visible=this.visible}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"slice",{get:function(){var t=this;if(!this._slice){var e=this.component,i=e.slices.create();this._slice=i,this._disposers.push(i),i.parent=e.slicesContainer,this._disposers.push(new f.b(function(){e.slices.removeValue(i)})),this.addSprite(i),i.visible=this.visible,e.itemsFocusable()?(i.role="menuitem",i.focusable=!0):(i.role="listitem",i.focusable=!1),i.focusable&&(i.events.once("focus",function(n){i.readerTitle=e.populateString(e.itemReaderText,t)},void 0,!1),i.events.once("blur",function(t){i.readerTitle=""},void 0,!1)),i.hoverable&&(i.events.once("over",function(n){i.readerTitle=e.populateString(e.itemReaderText,t)},void 0,!1),i.events.once("out",function(t){i.readerTitle=""},void 0,!1))}return this._slice},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenInLegend",{get:function(){return this.properties.hiddenInLegend},set:function(t){this.setProperty("hiddenInLegend",t)},enumerable:!0,configurable:!0}),e}(r.b),y=function(t){function e(){var e=t.call(this)||this;e.className="PercentSeries",e._addAllDataItems=!1,e.alignLabels=!1,e.colors=new h.a,e.colors.step=1,e.isMeasured=!0,e.calculatePercent=!0;var i=e.createChild(l.a);i.shouldClone=!1,i.isMeasured=!1,e.slicesContainer=i;var n=e.createChild(l.a);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",e.ticksContainer=n;var r=e.createChild(l.a);return r.shouldClone=!1,r.isMeasured=!1,r.layout="none",e.labelsContainer=r,e.bulletsContainer.toFront(),e.skipFocusThreshold=50,e.defaultState.transitionEasing=d.sinOut,e.itemReaderText="{category}: {value.percent.formatNumber('#.#')}%",e.applyTheme(),e}
20return n.c(e,t),e.prototype.createSlice=function(){return new o.a},e.prototype.createTick=function(){return new s.a},e.prototype.createLabel=function(){return new a.a},Object.defineProperty(e.prototype,"slices",{get:function(){if(!this._slices){var t=this.createSlice();t.applyOnClones=!0,this._disposers.push(t),this.initSlice(t),this._slices=new u.e(t),this._disposers.push(new u.c(this._slices))}return this._slices},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ticks",{get:function(){if(!this._ticks){var t=this.createTick();t.applyOnClones=!0,this._disposers.push(t),this.initTick(t),this._ticks=new u.e(t),this._disposers.push(new u.c(this._ticks))}return this._ticks},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labels",{get:function(){if(!this._labels){var t=this.createLabel();t.applyOnClones=!0,this._disposers.push(t),this.initLabel(t),this._labels=new u.e(t),this._disposers.push(new u.c(this._labels))}return this._labels},enumerable:!0,configurable:!0}),e.prototype.createDataItem=function(){return new g},e.prototype.initSlice=function(t){},e.prototype.initLabel=function(t){t.text="{category}: {value.percent.formatNumber('#.0')}%",t.isMeasured=!1,t.padding(5,5,5,5)},e.prototype.initTick=function(t){},e.prototype.validateDataElement=function(e){var i=e.slice;i&&(void 0==i.fill&&(i.fill=this.colors.getIndex(e.index*this.colors.step)),void 0==i.stroke&&(i.stroke=this.colors.getIndex(e.index*this.colors.step))),t.prototype.validateDataElement.call(this,e)},e.prototype.arrangeLabels=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e].label;if(n){var r=this.getNextLabel(e+1,t);n.invalid&&n.validate();var o=n.pixelY+n.measuredHeight;r&&r.y<o&&(r.y=o)}}},e.prototype.getNextLabel=function(t,e){if(e.length>=t){var i=e[t];if(i)return i.label?i.label:this.getNextLabel(t+1,e)}},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t,e){p.each(t.children.iterator(),function(t){var i=e.slice;t.defaultState.properties.fill=i.fill,t.defaultState.properties.stroke=i.stroke,t.defaultState.properties.fillOpacity=i.fillOpacity,t.defaultState.properties.strokeOpacity=i.strokeOpacity,t.fill=i.fill,t.stroke=i.stroke,t.fillOpacity=i.fillOpacity,t.strokeOpacity=i.strokeOpacity,i.events.on("propertychanged",function(e){"fill"==e.property&&(t.isActive||(t.fill=i.fill),t.defaultState.properties.fill=i.fill),"stroke"==e.property&&(t.isActive||(t.stroke=i.stroke),t.defaultState.properties.stroke=i.stroke)},void 0,!1)})},e.prototype.handleSliceScale=function(t){var e=this,i=t.target.dataItem;p.each(i.bullets.iterator(),function(t){var i=t[1];e.positionBullet(i)})},e.prototype.handleSliceMove=function(t){},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.slices.template.copyFrom(e.slices.template),this.labels.template.copyFrom(e.labels.template),this.ticks.template.copyFrom(e.ticks.template)},Object.defineProperty(e.prototype,"alignLabels",{get:function(){return this.getPropertyValue("alignLabels")},set:function(t){this.setPropertyValue("alignLabels",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);c.b.registeredClasses.PercentSeries=y,c.b.registeredClasses.PercentSeriesDataItem=g},function(t,e,i){"use strict";i.d(e,"a",function(){return y});var n=i(0),r=i(9),o=i(10),a=i(11),s=i(1),u=i(13),l=i(5),h=i(105),c=i(122),p=i(106),d=i(42),f=i(18),g=i(118),y=function(t){function e(){var e=t.call(this)||this;e.legendSettings=new g.c,e.className="FlowDiagramNode",e.isMeasured=!1;new u.a;return e.draggable=!0,e.inert=!0,e.setStateOnChildren=!0,e.events.on("positionchanged",e.invalidateLinks,e,!1),e.events.on("sizechanged",e.invalidateLinks,e,!1),e.events.on("hit",e.handleHit,e,!1),e}return n.c(e,t),e.prototype.handleHit=function(t){this.isHidden||this.isHiding?this.show():this.hide()},e.prototype.show=function(e){var i=t.prototype.show.call(this,e);return this.outgoingDataItems.each(function(t){(!t.toNode||t.toNode&&!t.toNode.isHidden)&&t.setWorkingValue("value",t.getValue("value"),e)}),this.incomingDataItems.each(function(t){(!t.fromNode||t.fromNode&&!t.fromNode.isHidden)&&t.setWorkingValue("value",t.getValue("value"),e)}),i},e.prototype.hide=function(e){var i=t.prototype.hide.call(this,e);return this.outgoingDataItems.each(function(t){t.setWorkingValue("value",0,e)}),this.incomingDataItems.each(function(t){t.setWorkingValue("value",0,e)}),i},e.prototype.validate=function(){this.isDisposed()||(t.prototype.validate.call(this),this.invalidateLinks())},e.prototype.invalidateLinks=function(){var t=this;this.outgoingDataItems.each(function(e){var i=e.link;if("fromNode"==i.colorMode&&(i.fill=i.dataItem.fromNode.color),"gradient"==i.colorMode){i.fill=i.gradient,i.stroke=i.gradient;var n=i.gradient.stops.getIndex(0);n&&(n.color=t.color,i.gradient.validate())}}),this.incomingDataItems.each(function(e){var i=e.link;if("toNode"==i.colorMode&&(i.fill=i.dataItem.toNode.color),"gradient"==i.colorMode){i.fill=i.gradient,i.stroke=i.gradient;var n=i.gradient.stops.getIndex(1);n&&(n.color=t.color,i.gradient.validate())}})}
20,Object.defineProperty(e.prototype,"incomingDataItems",{get:function(){var t=this;if(!this._incomingDataItems){var e=new a.b;e.events.on("inserted",function(){"name"==t.chart.sortBy?t._incomingSorted=l.sort(t._incomingDataItems.iterator(),function(t,e){return h.order(t.fromName,e.fromName)}):"value"==t.chart.sortBy?t._incomingSorted=l.sort(t._incomingDataItems.iterator(),function(t,e){return c.b(p.order(t.value,e.value))}):t._incomingSorted=t._incomingDataItems.iterator()},void 0,!1),this._incomingDataItems=e}return this._incomingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outgoingDataItems",{get:function(){var t=this;if(!this._outgoingDataItems){var e=new a.b;e.events.on("inserted",function(){"name"==t.chart.sortBy?t._outgoingSorted=l.sort(t._outgoingDataItems.iterator(),function(t,e){return h.order(t.fromName,e.fromName)}):"value"==t.chart.sortBy?t._outgoingSorted=l.sort(t._outgoingDataItems.iterator(),function(t,e){return c.b(p.order(t.value,e.value))}):t._outgoingSorted=t._outgoingDataItems.iterator()},void 0,!1),this._outgoingDataItems=e}return this._outgoingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(t){this.setPropertyValue("name",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"total",{get:function(){return this.getPropertyValue("total")},set:function(t){this.setPropertyValue("total",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalIncoming",{get:function(){return this.getPropertyValue("totalIncoming")},set:function(t){this.setPropertyValue("totalIncoming",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalOutgoing",{get:function(){return this.getPropertyValue("totalOutgoing")},set:function(t){this.setPropertyValue("totalOutgoing",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.getPropertyValue("color")}
20,set:function(t){this.setColorProperty("color",t),this._background&&(this._background.fill=t),this.fill=t},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var n=t.createChild(d.a);n.shouldClone=!1,f.copyProperties(this,n,o.b),n.stroke=this.fill,n.copyFrom(this),n.padding(0,0,0,0),n.width=e,n.height=i},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.FlowDiagramNode=y},function(t,e,i){"use strict";i.d(e,"a",function(){return y});var n=i(0),r=i(10),o=i(9),a=i(69),s=i(1),u=i(74),l=i(14),h=i(11),c=i(110),p=i(71),d=i(13),f=i(5),g=i(3),y=function(t){function e(){var e=t.call(this)||this;e.className="FlowDiagramLink";var i=new d.a;return e.maskBullets=!1,e.colorMode="fromNode",e.layout="none",e.isMeasured=!1,e.startAngle=0,e.endAngle=0,e.strokeOpacity=0,e.verticalCenter="none",e.horizontalCenter="none",e.tooltipText="{fromName}â{toName}:{value.value}",e.tooltipLocation=.5,e.link=e.createChild(r.a),e.link.shouldClone=!1,e.link.setElement(e.paper.add("path")),e.link.isMeasured=!1,e.fillOpacity=.2,e.fill=i.getFor("alternativeBackground"),e.applyTheme(),e}return n.c(e,t),e.prototype.positionBullets=function(){var t=this;f.each(this.bullets.iterator(),function(e){e.parent=t.bulletsContainer,e.maxWidth=t.maxWidth,e.maxHeight=t.maxHeight,t.positionBullet(e)})},Object.defineProperty(e.prototype,"bulletsContainer",{get:function(){if(!this._bulletsContainer){var t=this.createChild(o.a);t.shouldClone=!1,t.layout="none",this._bulletsContainer=t}return this._bulletsContainer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bulletsMask",{get:function(){if(!this._bulletsMask){var t=this.createChild(r.a);t.shouldClone=!1,t.setElement(this.paper.add("path")),t.isMeasured=!1,this._bulletsMask=t}return this._bulletsMask},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(t){var e=t.locationX;g.isNumber(e)||(e=t.locationY),g.isNumber(e)||(e=.5);var i=this.middleLine.positionToPoint(e);t.moveTo(i);var n,r=t.propertyFields.rotation;t.dataItem&&(n=t.dataItem.dataContext[r]);g.isNumber(n)||(n=i.angle),t.rotation=n},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"colorMode",{get:function(){return this.getPropertyValue("colorMode")},set:function(t){if("gradient"==t){var e=this.fill;this.gradient.stops.clear(),e instanceof l.a&&(this.gradient.addColor(e),this.gradient.addColor(e)),this.fill=this.gradient,this.stroke=this.gradient}this.setPropertyValue("colorMode",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(t){this.setPropertyValue("tooltipLocation",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(e){t.prototype.setFill.call(this,e);var i=this._gradient;i&&e instanceof l.a&&(i.stops.clear(),i.addColor(e),i.addColor(e))},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bullets",{get:function(){var t=this;return this._bullets||(this._bullets=new h.e(new u.a),this._disposers.push(new h.c(this._bullets)),this._disposers.push(this._bullets.template),this._bullets.events.on("inserted",function(e){e.newValue.events.on("propertychanged",function(e){"locationX"!=e.property&&"locationY"!=e.property||t.positionBullet(e.target)},void 0,!1)},void 0,!1)),this._bullets},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.bullets.copyFrom(e.bullets);var i=this.middleLine;i&&(i instanceof p.a&&e.middleLine instanceof p.a&&i.copyFrom(e.middleLine),i instanceof c.a&&e.middleLine instanceof c.a&&i.copyFrom(e.middleLine)),this.link.copyFrom(e.link)},e.prototype.getTooltipX=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).x}
20,e.prototype.getTooltipY=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).y},Object.defineProperty(e.prototype,"gradient",{get:function(){return this._gradient||(this._gradient=new a.a),this._gradient},enumerable:!0,configurable:!0}),e}(o.a);s.b.registeredClasses.FlowDiagramLink=y},function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(110),o=i(1),a=i(4),s=i(12),u=function(t){function e(){var e=t.call(this)||this;return e.className="Polyspline",e.tensionX=.5,e.tensionY=.5,e.applyTheme(),e}return n.c(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments,e=this.tensionX,i=this.tensionY;if(t&&t.length>0){var n="";this._realSegments=[];for(var r=0,o=t.length;r<o;r++){var u=t[r],l=[];if(this._realSegments.push(l),u.length>0){n+=s.moveTo(u[0]);for(var h=0;h<u.length-1;h++){var c=u[h-1],p=u[h],d=u[h+1],f=u[h+2];0===h?c=u[h]:h==u.length-2&&(f=u[h+1]),f||(f=d);var g=a.getCubicControlPointA(c,p,d,f,e,i),y=a.getCubicControlPointB(c,p,d,f,e,i);n+=s.cubicCurveTo(d,g,y);var m=Math.ceil(a.getDistance(p,d))/2,b=p;if(m>0)for(var v=0;v<=m;v++){var _=a.getPointOnCubicCurve(p,d,g,y,v/m);l.push(_),this._distance+=a.getDistance(b,_),b=_}else l.push(c)}}}this.path=n}},Object.defineProperty(e.prototype,"tensionX",{get:function(){return this.getPropertyValue("tensionX")},set:function(t){this.setPropertyValue("tensionX",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionY",{get:function(){return this.getPropertyValue("tensionY")},set:function(t){this.setPropertyValue("tensionY",t,!0),this.makePath()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Polyspline=u},function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(10),o=i(1),a=i(12),s=function(t){function e(){var e=t.call(this)||this;return e.className="Triangle",e.element=e.paper.add("path"),e.direction="top",e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e,i=this.pixelWidth,n=this.pixelHeight;switch(this.direction){case"right":e=a.moveTo({x:0,y:0})+a.lineTo({x:i,y:n/2})+a.lineTo({x:0,y:n})+a.closePath();break;case"left":e=a.moveTo({x:i,y:0})+a.lineTo({x:0,y:n/2})+a.lineTo({x:i,y:n})+a.closePath();break;case"bottom":e=a.moveTo({x:0,y:0})+a.lineTo({x:i,y:0})+a.lineTo({x:i/2,y:n})+a.closePath();break;case"top":e=a.moveTo({x:i/2,y:0})+a.lineTo({x:i,y:n})+a.lineTo({x:0,y:n})+a.closePath()}this.path=e},Object.defineProperty(e.prototype,"direction",{get:function(){return this.getPropertyValue("direction")},set:function(t){this.setPropertyValue("direction",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Triangle=s},function(t,e,i){var n=i(17),r=n["__core-js_shared__"]||(n["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,e,i){var n=i(39),r=i(25),o=i(81);t.exports=function(t){return function(e,i,a){var s,u=n(e),l=r(u.length),h=o(a,l);if(t&&i!=i){for(;l>h;)if((s=u[h++])!=s)return!0}else for(;l>h;h++)if((t||h in u)&&u[h]===i)return t||h||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,i){var n=i(45);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){var n=i(20),r=i(45),o=i(22)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},function(t,e,i){var n=i(22)("iterator"),r=!1;try{var o=[7][n]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var i=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:i=!0}},o[n]=function(){return a},t(o)}catch(t){}return i}},function(t,e,i){"use strict";var n=i(15);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,i){"use strict";var n=i(31),r=i(32),o=i(19),a=i(48),s=i(22);t.exports=function(t,e,i){var u=s(t),l=i(a,u,""[t]),h=l[0],c=l[1];o(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(r(String.prototype,t,h),n(RegExp.prototype,u,2==e?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)}))}}
20,function(t,e,i){var n=i(15),r=i(29),o=i(22)("species");t.exports=function(t,e){var i,a=n(t).constructor;return void 0===a||void 0==(i=n(a)[o])?e:r(i)}},function(t,e,i){"use strict";var n=i(17),r=i(2),o=i(32),a=i(87),s=i(63),u=i(86),l=i(85),h=i(20),c=i(19),p=i(139),d=i(97),f=i(187);t.exports=function(t,e,i,g,y,m){var b=n[t],v=b,_=y?"set":"add",x=v&&v.prototype,P={},w=function(t){var e=x[t];o(x,t,"delete"==t?function(t){return!(m&&!h(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!h(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!h(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,i){return e.call(this,0===t?0:t,i),this})};if("function"==typeof v&&(m||x.forEach&&!c(function(){(new v).entries().next()}))){var O=new v,S=O[_](m?{}:-0,1)!=O,k=c(function(){O.has(1)}),T=p(function(t){new v(t)}),C=!m&&c(function(){for(var t=new v,e=5;e--;)t[_](e,e);return!t.has(-0)});T||((v=e(function(e,i){l(e,v,t);var n=f(new b,e,v);return void 0!=i&&u(i,y,n[_],n),n})).prototype=x,x.constructor=v),(k||C)&&(w("delete"),w("has"),y&&w("get")),(C||S)&&w(_),m&&x.clear&&delete x.clear}else v=g.getConstructor(e,t,y,_),a(v.prototype,i),s.NEED=!0;return d(v,t),P[t]=v,r(r.G+r.W+r.F*(v!=b),P),m||g.setStrong(v,t,y),v}},function(t,e,i){for(var n,r=i(17),o=i(31),a=i(78),s=a("typed_array"),u=a("view"),l=!(!r.ArrayBuffer||!r.DataView),h=l,c=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(n=r[p[c++]])?(o(n.prototype,s,!0),o(n.prototype,u,!0)):h=!1;t.exports={ABV:l,CONSTR:h,TYPED:s,VIEW:u}},function(t,e,i){"use strict";t.exports=i(79)||!i(19)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete i(17)[t]})},function(t,e,i){"use strict";var n=i(2);t.exports=function(t){n(n.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,i){"use strict";var n=i(2),r=i(29),o=i(44),a=i(86);t.exports=function(t){n(n.S,t,{from:function(t){var e,i,n,s,u=arguments[1];return r(this),(e=void 0!==u)&&r(u),void 0==t?new this:(i=[],e?(n=0,s=o(u,arguments[2],2),a(t,!1,function(t){i.push(s(t,n++))})):a(t,!1,i.push,i),new this(i))}})}},,,,,function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(10),o=i(1),a=i(13),s=i(3),u=function(t){function e(e){var i=t.call(this)||this;i.axis=e,i.element=i.paper.add("path"),i.className="AxisFill",i.isMeasured=!1,i.location=0;var n=new a.a;return i.fill=n.getFor("alternativeBackground"),i.fillOpacity=0,i.applyTheme(),i}return n.c(e,t),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e.prototype.draw=function(){t.prototype.draw.call(this),this.axis&&s.isNumber(this.startPosition)&&s.isNumber(this.endPosition)&&(this.fillPath=this.axis.getPositionRangePath(this.startPosition,this.endPosition),this.path=this.fillPath)},Object.defineProperty(e.prototype,"startPosition",{get:function(){return this.getPropertyValue("startPosition")},set:function(t){this.setPropertyValue("startPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){return this.getPropertyValue("endPosition")},set:function(t){this.setPropertyValue("endPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.AxisFill=u},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(37),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="AxisLabel",e.isMeasured=!1,e.padding(10,10,10,10),e.location=.5,e.nonScaling=!0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);o.b.registeredClasses.AxisLabel=a}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return a});var n=i(26),r=i(3),o=function(){function t(){this._storage=new n.a,this.ttl=1e3}return t.prototype.set=function(t,e,i,o){var a=this._storage.insertKeyIfEmpty(t,function(){return new n.a}),s={touched:(new Date).getTime(),ttl:r.isNumber(o)?o:this.ttl,value:i};a.setKey(e,s)},t.prototype.get=function(t,e,i){if(void 0===i&&(i=void 0),this._storage.hasKey(t)){var n=this._storage.getKey(t);if(n.hasKey(e)){var r=n.getKey(e);return r.ttl&&r.touched+r.ttl<(new Date).getTime()&&(r.expired=!0),r.expired?(n.removeKey(e),i):r.value}return i}return i},t.prototype.clear=function(t){t?this._storage.removeKey(t):this._storage.clear()},t}(),a=new o},function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return f});var n=i(7),r=i(156),o=i(158),a=i(11),s=i(6),u=i(35),l=i(16),h=i(3),c=i(323),p=i.n(c),d=[],f=function(){function t(t){var e=this;this._disposed=!1,this.autoResize=!0,this.nonExportableSprites=[],this._disposers=[],this.htmlElement=t;var i=function(){e.measure()};this.resizeSensor=new p.a(t,i),this._disposers.push(new n.b(function(){e.resizeSensor.detach(i)})),d.push(this);var r=document.createElement("div"),o=r.style;o.width="100%",o.height="100%",o.position="relative",t.appendChild(r),this.SVGContainer=r}return t.prototype.measure=function(){var t=s.width(this.htmlElement),e=s.height(this.htmlElement),i=this.container;i&&(this.width==t&&this.height==e||(this.width=t,this.height=e,t>0&&(i.maxWidth=t),e>0&&(i.maxHeight=e),u.k(this.SVGContainer)),i.maxWidth||(i.maxWidth=0),i.maxHeight||(i.maxHeight=0))},Object.defineProperty(t.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t,this.measure()},enumerable:!0,configurable:!0}),t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||l.remove(d,this),l.each(this._disposers,function(t){t.dispose()})},Object.defineProperty(t.prototype,"hideOverflow",{set:function(t){this.SVGContainer.style.overflow=t?"hidden":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"modal",{get:function(){return h.hasValue(this._modal)||(this._modal=new o.a,this._modal.container=this.SVGContainer,this._disposers.push(this._modal)),this._modal},enumerable:!0,configurable:!0}),t.prototype.openModal=function(t,e){this.closeModal();var i=this.modal;return i.content=t,i.readerTitle=e,i.open(),i},t.prototype.closeModal=function(){this._modal&&this.modal.close()},Object.defineProperty(t.prototype,"popups",{get:function(){if(!h.hasValue(this._popups)){var t=new r.a;t.container=this.SVGContainer,this._popups=new a.e(t),this._disposers.push(new a.c(this._popups)),this._disposers.push(this._popups.template)}return this._popups},enumerable:!0,configurable:!0}),t.prototype.openPopup=function(t,e){var i=this.popups.create();return i.content=t,h.hasValue(e)&&(i.title=e),i.open(),i},t.prototype.closeAllPopups=function(){this.popups.each(function(t){t.close()})},t}()},function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n=i(0),r=i(322),o=i(28),a=i(21),s=i(34),u=i(55),l=i(7),h=i(3),c=i(18),p=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e._elements={},e._IOs={},e._content="",e._title="",e._classPrefix="ampopup",e._defaultStyles=!0,e._showCurtain=!1,e._draggable=!0,e._align="center",e._verticalAlign="middle",e._shift={x:0,y:0},e._tempShift={x:0,y:0},e._readerTitle="",e._closable=!0,e._cssLoaded=!1,e._fitTo="window",e.isTemplate=!1,e._sized=!1,e.className="Popup",e}return n.c(e,t),e.prototype.open=function(){this.container&&(this._elements.wrapper&&this.container.appendChild(this._elements.wrapper),this._elements.curtain&&(this.container.appendChild(this._elements.curtain),this.showCurtain=this.showCurtain),this.positionElement(),this.dispatchImmediately("opened"))},e.prototype.close=function(){this._elements.wrapper&&this._elements.wrapper.parentElement&&this._elements.wrapper.parentElement.removeChild(this._elements.wrapper),this._elements.curtain&&this._elements.curtain.parentElement&&this._elements.curtain.parentElement.removeChild(this._elements.curtain),this.dispatchImmediately("closed"),this.releasePointers()},e.prototype.dispose=function(){this.close(),t.prototype.dispose.call(this)},e.prototype.positionElement=function(t){var e=this;void 0===t&&(t=!0),this._elements.wrapper&&setTimeout(function(){if(e._elements.wrapper){if(t||!e._sized){if(e._elements.wrapper.style.opacity="0.01",e._elements.wrapper.style.left="0",e._elements.wrapper.style.top="0",e._elements.wrapper.style.margin="0 0 0 0",!e._elements.wrapper.style.width){var i=e._elements.wrapper.getBoundingClientRect();e._elements.wrapper.style.width=i.width+"px",e._elements.wrapper.style.height=i.height+"px"}e._sized=!0}setTimeout(function(){if(e._elements.wrapper){var i;switch(!t&&e._sized||!e._bbox?(i=e._elements.wrapper.getBoundingClientRect(),e._elements.wrapper.style.opacity=""):i=e._bbox,e.align){case"left":e._elements.wrapper.style.left="0",e._elements.wrapper.style.right="auto",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x);break;case"center":e._elements.wrapper.style.left="50%",e._elements.wrapper.style.right="auto",e._elements.wrapper.style.marginLeft=e.toStyle(Math.round(-i.width/2)+(e._shift.x+e._tempShift.x));break;case"right":e._elements.wrapper.style.left="auto",e._elements.wrapper.style.right="0",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x);break;default:e._elements.wrapper.style.left=e.toStyle(e.left)||"auto",e._elements.wrapper.style.right=e.toStyle(e.right)||"auto",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x)}switch(e.verticalAlign){case"top":e._elements.wrapper.style.top="0",e._elements.wrapper.style.bottom="auto",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y);break;case"middle":e._elements.wrapper.style.top="50%",e._elements.wrapper.style.bottom="auto",e._elements.wrapper.style.marginTop=e.toStyle(Math.round(-i.height/2)+(e._shift.y+e._tempShift.y));break;case"bottom":e._elements.wrapper.style.top="auto",e._elements.wrapper.style.bottom="0",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y);break;default:e._elements.wrapper.style.top=e.toStyle(e.top)||"auto",e._elements.wrapper.style.bottom=e.toStyle(e.bottom)||"auto",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y)}}},1)}},1)},e.prototype.setupDragging=function(){var t=this;this.draggable&&(this._IOs.wrapper.events.has("drag")||this._IOs.wrapper.events.on("drag",function(e){t._tempShift.x=e.shift.x,t._tempShift.y=e.shift.y,t.positionElement(!1)}),this._IOs.wrapper.events.has("dragstop")||this._IOs.wrapper.events.on("dragstop",function(e){t._shift.x+=t._tempShift.x,t._shift.y+=t._tempShift.y,t._tempShift.x=0,t._tempShift.y=0,t.positionElement(!1)}))},e.prototype.toStyle=function(t){return h.hasValue(t)?h.isNumber(t)?t+"px":t.toString():null},Object.defineProperty(e.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",this._classPrefix)},set:function(t){this._classPrefix=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classPrefixRaw",{get:function(){return this._classPrefix},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"content",{get:function(){return this.adapter.apply("content",this._content)},set:function(t){this._content!=t&&(this._content=t,this._elements.content||this.createContentElement(),this._elements.content.innerHTML=t,this.positionElement())},enumerable:!0,configurable:!0}),e.prototype.getClassNames=function(){return this.adapter.apply("classNames",{wrapperClass:this.classPrefix+"",titleClass:this.classPrefix+"-title",contentClass:this.classPrefix+"-content",curtainClass:this.classPrefix+"-curtain",closeClass:this.classPrefix+"-close"})},e.prototype.createContentElement=function(){if(!this._elements.wrapper){var t=this.getClassNames(),e=document.createElement("div");e.className=t.contentClass,e.style.opacity="0.01";var i=document.createElement("a");i.className=t.closeClass;var n=document.createElement("div");n.innerHTML=this.title,n.className=t.titleClass,this.title||(n.style.display="none");var r=document.createElement("div");r.innerHTML=this.content,this._IOs.wrapper=Object(s.b)().getInteraction(e),this._disposers.push(this._IOs.wrapper),this._IOs.wrapper.events.on("over",this.disablePointers,this),this._IOs.wrapper.events.on("out",this.releasePointers,this),this._IOs.close=Object(s.b)().getInteraction(i),this._disposers.push(this._IOs.close),i.style.visibility="hidden",e.setAttribute("role","dialog"),e.appendChild(i),e.appendChild(n),e.appendChild(r),this.container.appendChild(e),this._elements.wrapper=e,this._elements.content=r,this._elements.title=n,this._elements.close=i,this.defaultStyles&&this.loadDefaultCSS(),this.createCurtainElement(),this.applyEvents(),this.applyReaderSettings(),this.setupDragging()}},Object.defineProperty(e.prototype,"title",{get:function(){return this.adapter.apply("title",this._title)},set:function(t){this._title!=t&&(this._title=t,this._elements.content||this.createContentElement(),this._elements.title.innerHTML=t,this.positionElement(),this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerTitle",{get:function(){return this.adapter.apply("readerTitle",""!=this._readerTitle?this._readerTitle:this.title)},set:function(t){this._readerTitle!=t&&(this._readerTitle=t,this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closable",{get:function(){return this.adapter.apply("closable",this._closable)},set:function(t){t!==this._closable&&(this._closable=t,this.applyEvents())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fitTo",{get:function(){return this.adapter.apply("fitTo",this._fitTo)},set:function(t){t!=this._fitTo&&(this._fitTo=t,this.positionElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",this._defaultStyles)},set:function(t){this._defaultStyles!=t&&(this._defaultStyles=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showCurtain",{get:function(){return this.adapter.apply("showCurtain",this._showCurtain)},set:function(t){this._showCurtain!=t&&(this._showCurtain=t,this._elements.curtain&&(this._elements.curtain.style.display=t?"block":"none"))},enumerable:!0,configurable:!0}),e.prototype.createCurtainElement=function(){var t=this.getClassNames(),e=document.createElement("div");e.className=t.curtainClass,this.container.appendChild(e),this._IOs.curtain=Object(s.b)().getInteraction(e),this._disposers.push(this._IOs.curtain),this._IOs.curtain.events.on("over",this.disablePointers,this),this._IOs.curtain.events.on("out",this.releasePointers,this),e.style.display=this.showCurtain?"block":"none",this._elements.curtain=e},Object.defineProperty(e.prototype,"draggable",{get:function(){return this.adapter.apply("draggable",this._draggable)},set:function(t){this._draggable!=t&&(this._draggable=t,this.setupDragging())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.adapter.apply("align",this._align)},set:function(t){this._align!=t&&(this._align=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",this._verticalAlign)},set:function(t){this._verticalAlign!=t&&(this._verticalAlign=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.adapter.apply("left",this._left)},set:function(t){this.left!=t&&(this._left=t,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.adapter.apply("right",this._right)},set:function(t){this.right!=t&&(this._right=t,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.adapter.apply("top",this._top)},set:function(t){this.top!=t&&(this._top=t,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.adapter.apply("bottom",this._bottom)},set:function(t){this.bottom!=t&&(this._bottom=t,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),e.prototype.loadDefaultCSS=function(){this._cssLoaded||(this._disposers.push(Object(r.a)(this.classPrefix)),c.each(this._elements,function(t,e){e.style.display=""}),this._cssLoaded=!0)},e.prototype.applyEvents=function(){var t=this;if(this._IOs.close)if(this.closable){this._IOs.close.element.style.visibility="visible";var e=[Object(s.b)().body.events.on("keyup",function(e){u.b.isKey(e.event,"esc")&&t.closable&&t.close()}),this._IOs.close.events.on("hit",function(e){t.close()})];e.push(this._IOs.curtain.events.on("hit",function(e){t.showCurtain&&t.close()})),this._disposers.push(new l.c(e))}else this._IOs.close.element.style.visibility="hidden"},e.prototype.disablePointers=function(){this.sprite&&(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled,this.sprite.interactionsEnabled=!1)},e.prototype.releasePointers=function(){h.hasValue(this._spriteInteractionsEnabled)&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled,this._spriteInteractionsEnabled=void 0)},e.prototype.applyReaderSettings=function(){this.elements.wrapper.setAttribute("aria-label",this.readerTitle)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.container=e.container,this.sprite=e.sprite,this.classPrefix=e.classPrefixRaw,this.content=e.content,this.title=e.title,this.readerTitle=e.readerTitle,this.defaultStyles=e.defaultStyles,this.showCurtain=e.showCurtain,this.align=e.align,this.verticalAlign=e.verticalAlign,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.adapter.copyFrom(e.adapter)},e}(a.b)}
20,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"timeUnitDurations",function(){return r}),e.getNextUnit=o,e.getDuration=function(t,e){n.hasValue(e)||(e=1);return r[t]*e},e.now=a,e.getTime=function(){return a().getTime()},e.copy=function(t){return new Date(t.getTime())},e.checkChange=function t(e,i,n){switch(n){case"year":if(e.getFullYear()!=i.getFullYear())return!0;break;case"month":if(e.getMonth()!=i.getMonth())return!0;break;case"day":if(e.getDate()!=i.getDate())return!0;break;case"hour":if(e.getHours()!=i.getHours())return!0;break;case"minute":if(e.getMinutes()!=i.getMinutes())return!0;break;case"second":if(e.getSeconds()!=i.getSeconds())return!0;break;case"millisecond":if(e.getTime()!=i.getTime())return!0}var r=o(n);return!!r&&t(e,i,r)},e.add=function(t,e,i){var n=t.getFullYear(),r=t.getMonth(),o=t.getDate(),a=t.getHours(),s=t.getMinutes(),u=t.getSeconds(),l=t.getMilliseconds();switch(e){case"year":t.setFullYear(n+i);break;case"month":t.setMonth(r+i);break;case"week":t.setDate(o+7*i);break;case"day":t.setDate(o+i);break;case"hour":t.setHours(a+i);break;case"minute":t.setMinutes(s+i);break;case"second":t.setSeconds(u+i);break;case"millisecond":t.setMilliseconds(l+i)}return t},e.round=function(t,e,i,r){n.isNumber(i)||(i=1);n.isNumber(r)||(r=1);var o=t.getFullYear(),a=t.getMonth(),s=t.getDate(),u=t.getHours(),l=t.getMinutes(),h=t.getSeconds(),c=t.getMilliseconds(),p=t.getDay();switch(e){case"year":o=Math.floor(o/i)*i,a=0,s=1,u=0,l=0,h=0,c=0;break;case"month":a=Math.floor(a/i)*i,s=1,u=0,l=0,h=0,c=0;break;case"week":s=p>=r?s-p+r:s-(7+p)+r,u=0,l=0,h=0,c=0;break;case"day":s=s=Math.floor(s/i)*i,u=0,l=0,h=0,c=0;break;case"hour":u=Math.floor(u/i)*i,l=0,h=0,c=0;break;case"minute":l=Math.floor(l/i)*i,h=0,c=0;break;case"second":h=Math.floor(h/i)*i,c=0;break;case"millisecond":c=Math.floor(c/i)*i}return t.setFullYear(o,a,s),t.setHours(u,l,h,c),t};var n=i(3),r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function o(t){switch(t){case"year":return;case"month":return"year";case"week":case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function a(){return new Date}},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(156),o=i(28),a=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e.className="Modal",e.showCurtain=!0,e.draggable=!1,e}return n.c(e,t),e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(21),o=i(1),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._invalid=!1,e}return n.c(e,t),e.prototype.invalidate=function(){!1===this._invalid&&(this._invalid=!0,o.b.events.on("exitframe",this.validate,this))},e.prototype.validate=function(){!0===this._invalid&&(this._invalid=!1,o.b.events.off("exitframe",this.validate,this))},e}(r.b)},function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(161),o=i(3),a=[",",";","\t"],s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="text/csv",e.options={delimiter:"",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},e}return n.c(e,t),e.isCSV=function(t){return!!e.getDelimiterFromData(t)},e.getDelimiterFromData=function(t){var e,i,r,o=t.split("\n");try{for(var s=n.g(a),u=s.next();!u.done;u=s.next()){var l=u.value,h=0,c=0;for(var p in o){if(!((h=o[p].split(l).length)>1)){c=0;break}if(0===c)c=h;else if(h!=c){c=0;break}}c&&(e=l)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return e},e.prototype.parse=function(t){this.options.delimiter||(this.options.delimiter=e.getDelimiterFromData(t));var i,n,r,a=this.CSVToArray(t,this.options.delimiter),s=o.hasValue(this.options.emptyAs),u=this.parsableNumbers,l=this.parsableDates,h=[],c=[];if(this.options.useColumnNames){c=a.shift();for(var p=0;p<c.length;p++)""===(i=o.hasValue(c[p])?c[p].replace(/^\s+|\s+$/gm,""):"")&&(i="col"+p),c[p]=i;0<this.options.skipRows&&this.options.skipRows--}for(n=0;n<this.options.skipRows;n++)a.shift();for(;r=this.options.reverse?a.pop():a.shift();)if(!this.options.skipEmpty||1!==r.length||""!==r[0]){var d={};for(n=0;n<r.length;n++)d[i=void 0===c[n]?"col"+n:c[n]]=""===r[n]?this.options.emptyAs:r[n],s&&(d[i]=this.maybeToEmpty(d[i])),u&&(d[i]=this.maybeToNumber(i,d[i])),l&&(d[i]=this.maybeToDate(i,d[i]));h.push(d)}return h},e.prototype.CSVToArray=function(t,e){e=e||",";for(var i=new RegExp("(\\"+e+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+e+"\\r\\n]*))","gi"),n=[[]],r=null;r=i.exec(t);){var o=r[1];o.length&&o!==e&&n.push([]);var a=void 0;a=r[2]?r[2].replace(new RegExp('""',"g"),'"'):r[3],n[n.length-1].push(a)}return n},e}(r.a)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(107),r=i(6),o=i(3),a=function(){function t(){}return t.prototype.parse=function(t){return[]},Object.defineProperty(t.prototype,"parsableNumbers",{get:function(){return this.options.numberFields&&this.options.numberFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToNumber=function(t,e){return-1!==this.options.numberFields.indexOf(t)?r.anyToNumber(e):e},Object.defineProperty(t.prototype,"parsableDates",{get:function(){return this.options.dateFields&&this.options.dateFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToDate=function(t,e){return-1!==this.options.dateFields.indexOf(t)?this.options.dateFormatter.parse(e,this.dateFormat):e},t.prototype.maybeToEmpty=function(t){return o.hasValue(t)&&""!=t||!o.hasValue(this.options.emptyAs)?t:this.options.emptyAs},Object.defineProperty(t.prototype,"dateFormatter",{get:function(){return this.options.dateFormatter||(this.options.dateFormatter=new n.a,this.options.dateFormat&&(this.options.dateFormat=this.options.dateFormat)),this.options.dateFormatter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateFormat",{get:function(){return this.options.dateFormat||this.dateFormatter.inputDateFormat},enumerable:!0,configurable:!0}),t}()},function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(161),o=i(18),a=i(3),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="application/json",e.options={},e}return n.c(e,t),e.isJSON=function(t){try{return JSON.parse(t),!0}catch(t){return!1}},e.prototype.parse=function(t){var e,i=this;try{a.hasValue(JSON)&&(e=JSON.parse(t))}catch(t){return}var n=a.hasValue(this.options.emptyAs),r=this.parsableNumbers,s=this.parsableDates;if(Array.isArray(e)&&(r||s||n))for(var u=function(t,a){var u=e[t];o.each(u,function(t,e){n&&(u[t]=i.maybeToEmpty(u[t])),r&&(u[t]=i.maybeToNumber(t,u[t])),s&&(u[t]=i.maybeToDate(t,u[t]))})},l=0,h=e.length;l<h;l++)u(l);return e},e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(102),o=i(72),a=i(12),s=function(t){function e(){var e=t.call(this)||this;return e._twaved=!0,e._rwaved=!0,e._bwaved=!0,e._lwaved=!0,e.className="WavedRectangle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this._pixelHeight;if(e>0&&i>0){var n={x:0,y:0},r={x:e,y:0},s={x:e,y:i},u={x:0,y:i},l=this.waveLength,h=this.waveHeight,c="",p="",d="",f="";this._twaved&&(c=Object(o.c)(n,r,l,h,this.tension,!0)),this._rwaved&&(f=Object(o.c)(r,s,l,h,this.tension,!0)),this._bwaved&&(d=Object(o.c)(s,u,l,h,this.tension,!0)),this._rwaved&&(p=Object(o.c)(u,n,l,h,this.tension,!0)),this.path=a.moveTo(n)+c+a.lineTo(r)+f+a.lineTo(s)+d+a.lineTo(u)+p+"z"}},Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.setWavedSides=function(t,e,i,n){this._twaved=t,this._lwaved=e,this._bwaved=i,this._rwaved=n},e.prototype.measureElement=function(){this._bbox={x:0,y:0,width:this.innerWidth,height:this.innerHeight}},Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a)},function(t,e,i){"use strict";i.d(e,"b",function(){return P}),i.d(e,"a",function(){return w});var n,r=i(0),o=i(56),a=i(9),s=i(73),u=i(127),l=i(37),h=i(94),c=i(121),p=i(11),d=i(7),f=i(1),g=i(13),y=i(5),m=i(4),b=i(6),v=i(106),_=i(16),x=i(3),P=function(t){function e(){var e=t.call(this)||this;return e.className="AxisDataItem",e.applyTheme(),e}return r.c(e,t),Object.defineProperty(e.prototype,"grid",{get:function(){if(!this._grid){var t=this.component;if(t){var e=t.renderer.grid.create();this.grid=e,this._disposers.push(e),e.axis=this.component,this._disposers.push(new d.b(function(){t.renderer.grid.removeValue(e)}))}}return this._grid},set:function(t){this._grid&&this._grid!=t&&(_.remove(this.sprites,this._grid),this._grid.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.remove(t.dataItem.sprites,t),t.dataItem.grid=void 0),this.addSprite(t)),this._grid=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tick",{get:function(){if(!this._tick){var t=this.component;
20if(t){var e=t.renderer.ticks.create();this.tick=e,e.axis=this.component,this._disposers.push(e),this._disposers.push(new d.b(function(){t.renderer.ticks.removeValue(e)}))}}return this._tick},set:function(t){this._tick&&this._tick!=t&&(_.remove(this.sprites,this._tick),this._tick.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.remove(t.dataItem.sprites,t),t.dataItem.tick=void 0),this.addSprite(t)),this._tick=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){if(!this._label){var t=this.component;if(t){var e=t.renderer.labels.create();this._disposers.push(e),this.label=e,e.axis=this.component,e.virtualParent=t,this._disposers.push(new d.b(function(){t.renderer.labels.removeValue(e)}))}}return this._label},set:function(t){this._label&&this._label!=t&&(_.remove(this.sprites,this._label),this._label.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.remove(t.dataItem.sprites,t),t.dataItem.label=void 0),this.addSprite(t)),this._label=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisFill",{get:function(){if(!this._axisFill){var t=this.component;if(t){var e=t.renderer.axisFills.create();this.axisFill=e,this._disposers.push(e),this._disposers.push(new d.b(function(){t.renderer.axisFills.removeValue(e)}))}}return this._axisFill},set:function(t){this._axisFill&&this._axisFill!=t&&(_.remove(this.sprites,this._axisFill),this._axisFill.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.remove(t.dataItem.sprites,t),t.dataItem.axisFill=void 0),t.axis=this.component,this.addSprite(t)),this._axisFill=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t,this._label&&(this._label.text=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mask",{get:function(){return this._mask},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contents",{get:function(){if(!this._contents){var t=new a.a;this.addSprite(t),t.isMeasured=!1,this._contents=t;var e=this.component;if(e){var i=e.renderer.axisFills.create();i.disabled=!1,i.axis=e,this.addSprite(i),this._mask=i,t.mask=i}}return this._contents},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisBreak",{get:function(){return this._axisBreak},set:function(t){this._axisBreak&&this._axisBreak.dataItems.removeValue(this),t&&t.dataItems.push(this),this._axisBreak=t},enumerable:!0,configurable:!0}),e.prototype.validate=function(){this.component&&this.component.validateDataElement(this)},e.prototype.appendChildren=function(){this.component&&this.component.appendDataItem(this)},e.prototype.configOrder=function(t,e){return t==e?0:"language"==t?-1:"language"==e?1:"component"==t?-1:"component"==e?1:0},e.prototype.hasProperty=function(e){return"component"==e||t.prototype.hasProperty.call(this,e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.text=e.text},e}(s.a);!function(t){t[t.Start=0]="Start",t[t.Middle=.5]="Middle",t[t.End=1]="End"}(n||(n={}));var w=function(t){function e(){var e=t.call(this)||this;e._gridCount=10,e._series=new p.b,e.fillRule=function(t,e){x.isNumber(e)||(e=t.index),e/2==Math.round(e/2)?(t.axisFill.__disabled=!0,t.axisFill.opacity=0):(t.axisFill.opacity=1,t.axisFill.__disabled=!1)},e.autoDispose=!0,e.className="Axis",e.shouldClone=!1,e.cursorTooltipEnabled=!0;var i=new g.a;e.title=new l.a,e.title.shouldClone=!1,e._disposers.push(e.title),e.setPropertyValue("startLocation",0),e.setPropertyValue("endLocation",1),e._dataItemsIterator=new y.ListIterator(e.dataItems,function(){return e.dataItems.create()}),e._dataItemsIterator.createNewItems=!0;var n=new h.a;e._disposers.push(n),n.label.padding(5,10,5,10),n.background.pointerLength=5,n.fitPointerToBounds=!0,n.filters.clear(),n.virtualParent=e;var r=n.background;return r.cornerRadius=0,r.fill=i.getFor("alternativeBackground"),r.stroke=r.fill,r.strokeWidth=1,r.fillOpacity=1,n.label.fill=i.getFor("alternativeText"),e.tooltip=n,e.applyTheme(),e}return r.c(e,t),e.prototype.createDataItem=function(){return new P},e.prototype.invalidateLayout=function(){t.prototype.invalidateLayout.call(this),y.each(this.series.iterator(),function(t){t.invalidateLayout()})},e.prototype.invalidateSeries=function(){y.each(this.series.iterator(),function(t){t.invalidate()})},e.prototype.validateDataElements=function(){this.ghostLabel&&this.renderer.updateLabelElement(this.ghostLabel,this.start,this.end)},e.prototype.updateGridCount=function(){this.renderer&&(this._gridCount=this.axisLength/this.renderer.minGridDistance)},e.prototype.validateLayout=function(){this.axisFullLength=this.axisLength/(this.end-this.start),t.prototype.validateLayout.call(this),this.updateGridCount(),this.renderer.updateAxisLine(),this.renderer.updateTooltip(),this.renderer.updateBaseGridElement(),this._prevLength!=this.axisLength&&(this.dispatchImmediately("lengthchanged"),this._prevLength=this.axisLength)},e.prototype.initRenderer=function(){},e.prototype.appendDataItem=function(t){var e=this.renderer;t.tick.parent=e.gridContainer,t.label.parent=e,t.grid.parent=e.gridContainer,t.axisFill.parent=e.gridContainer},e.prototype.validate=function(){t.prototype.validate.call(this),this.validateLayout()},e.prototype.validateAxisRanges=function(){var t=this;y.each(this.axisRanges.iterator(),function(e){t.appendDataItem(e),t.validateDataElement(e),e.grid.validate(),e.tick.validate(),e.axisFill.validate(),e.label.validate()})},e.prototype.validateBreaks=function(){y.each(this.axisBreaks.iterator(),function(t){t.invalidate()})},e.prototype.processBreak=function(t){var e=t.newValue;e.parent=this.renderer.breakContainer,e.axis=this},e.prototype.registerSeries=function(t){var e=this;return this.series.moveValue(t),new d.c([new d.b(function(){e.series.removeValue(t)}),this.events.on("lengthchanged",t.invalidate,t,!1)])},Object.defineProperty(e.prototype,"renderer",{get:function(){return this._renderer},set:function(t){if(t!=this._renderer){this._renderer=t,t.chart=this.chart,t.axis=this,t.parent=this,this.title.parent=this,this.initRenderer(),this._disposers.push(t.gridContainer.events.on("maxsizechanged",this.invalidate,this,
20!1));var e=this.renderer.labels.create();this._disposers.push(e),e.dataItem=this.dataItems.template.clone(),e.text="L",e.parent=this.renderer,e.fillOpacity=0,e.opacity=0,e.strokeOpacity=0,e.validate(),this.ghostLabel=e,this.events.on("beforedatavalidated",function(){e.text="L"},void 0,!1)}},enumerable:!0,configurable:!0}),e.prototype.positionToAngle=function(t){return this.renderer.positionToAngle(t)},e.prototype.pointToPosition=function(t){return this.renderer.pointToPosition(t)},e.prototype.getAnyRangePath=function(t,e){return this.renderer.getPositionRangePath(t,e)},e.prototype.anyToPosition=function(t){return 0},e.prototype.anyToPoint=function(t){return{x:0,y:0,angle:0}},e.prototype.getPositionRangePath=function(t,e){return this.renderer.getPositionRangePath(t,e)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return this.renderer.axisLength},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorTooltipEnabled",{get:function(){return this._cursorTooltipEnabled},set:function(t){this._cursorTooltipEnabled=t,t&&this.renderer&&this.renderer.updateTooltip()},enumerable:!0,configurable:!0}),e.prototype.showTooltipAtPosition=function(t){var e=this._tooltip;t=this.toAxisPosition(t);var i=this.renderer;if(e&&this.dataItems.length>0){e&&!e.parent&&(e.parent=this.tooltipContainer);var n=i.tooltipLocation,r=this.getCellStartPosition(t),o=this.getCellEndPosition(t);"fixed"==this.tooltipPosition&&(t=r+(o-r)*n),t=m.fitToRange(t,this.start,this.end);var a=i.positionToPoint(r),s=i.positionToPoint(o);this.currentItemStartPoint=a,this.currentItemEndPoint=s,i.fullWidthTooltip&&(e.width=s.x-a.x,e.height=s.y-a.y);var u=i.positionToPoint(t),l=b.spritePointToSvg(u,this.renderer.line);e.text=this.getTooltipText(t),e.text&&(e.pointTo(l),e.show()),this.cursorTooltipEnabled||e.hide(0)}},e.prototype.toAxisPosition=function(t){return t*=this.end-this.start,t=this.renderer.inversed?this.end-t:this.start+t},e.prototype.getTooltipText=function(t){},e.prototype.updateTooltip=function(t,e){var i=this._tooltip;i&&(i.pointerOrientation=t,i.setBounds(b.spriteRectToSvg(e,this.renderer.line)))},e.prototype.roundPosition=function(t,e){return t},e.prototype.getCellStartPosition=function(t){return t},e.prototype.getCellEndPosition=function(t){return t},Object.defineProperty(e.prototype,"axisRanges",{get:function(){if(!this._axisRanges){var t=this.createDataItem();this._axisRanges=new p.e(t),this._axisRanges.events.on("inserted",this.processAxisRange,this,!1),this._disposers.push(new p.c(this._axisRanges)),this._disposers.push(this._axisRanges.template)}return this._axisRanges},enumerable:!0,configurable:!0}),e.prototype.processAxisRange=function(t){var e=t.newValue;e.component=this,e.isRange=!0},Object.defineProperty(e.prototype,"axisBreaks",{get:function(){return this._axisBreaks||(this._axisBreaks=new c.d(this.createAxisBreak(),function(t,e){return v.order(t.adjustedStartValue,e.adjustedStartValue)}),this._axisBreaks.events.on("inserted",this.processBreak,this,!1),this._disposers.push(new p.c(this._axisBreaks)),this._disposers.push(this._axisBreaks.template)),this._axisBreaks},enumerable:!0,configurable:!0}),e.prototype.createAxisBreak=function(){return new u.a},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new p.b),this._series},enumerable:!0,configurable:!0}),e.prototype.processSeriesDataItems=function(){},e.prototype.processSeriesDataItem=function(t,e){},e.prototype.postProcessSeriesDataItems=function(){},e.prototype.postProcessSeriesDataItem=function(t){},e.prototype.updateAxisBySeries=function(){},e.prototype.hideUnusedDataItems=function(){var t=this,e=this._dataItemsIterator;e.createNewItems=!1,y.each(e.iterator(),function(e){t.validateDataElement(e),e.__disabled=!0}),e.clear(),e.createNewItems=!0},e.prototype.getSeriesDataItem=function(t,e){},e.prototype.getAngle=function(t,e,i,n){},e.prototype.getX=function(t,e,i,n){},e.prototype.getY=function(t,e,i,n){},Object.defineProperty(e.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.dataChangeUpdate=function(){},e.prototype.adjustDifference=function(t,e){var i=e-t;if(x.isNumber(i))return y.eachContinue(this.axisBreaks.iterator(),function(n){var r=n.adjustedStartValue,o=n.adjustedEndValue;if(x.isNumber(r)&&x.isNumber(o)){if(r>e)return!1;if(o>=t&&x.isNumber(r)&&x.isNumber(o)){var a=n.breakSize,s=m.intersection({start:r,end:o},{start:t,end:e});s&&(i-=(s.end-s.start)*(1-a))}return!0}}),i},e.prototype.isInBreak=function(t){return y.find(this.axisBreaks.iterator(),function(e){return t>=e.adjustedStartValue&&t<=e.adjustedEndValue})},e.prototype.fixAxisBreaks=function(){var t=this,e=this.axisBreaks;
20if(e.length>0){_.each(y.toArray(e.iterator()),function(e){var i=m.min(e.startValue,e.endValue),n=m.max(e.startValue,e.endValue);e.adjustedStartValue=i,e.adjustedEndValue=n,t.axisBreaks.update(e)});var i=e.first,n=Math.min(i.startValue,i.endValue);y.each(this.axisBreaks.iterator(),function(t){var e=t.adjustedStartValue,i=t.adjustedEndValue;e<n&&(e=n,i<n&&(i=n)),t.adjustedStartValue=e,t.adjustedEndValue=i})}},Object.defineProperty(e.prototype,"startIndex",{get:function(){return 0},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endIndex",{get:function(){return this.dataItems.length},set:function(t){},enumerable:!0,configurable:!0}),e.prototype.getPositionLabel=function(t){return Math.round(100*t)+"%x"},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t},enumerable:!0,configurable:!0}),e.prototype.createSeriesRange=function(t){var e=this.createDataItem();return e.component=this,e.axisFill.disabled=!1,t.axisRanges.push(e),e},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.renderer&&this.renderer.copyFrom(e.renderer),e.title&&(this.title=e.title.clone())},e.prototype.resetIterators=function(){this._dataItemsIterator.reset()},e.prototype.processConfig=function(e){if(e&&x.hasValue(e.axisRanges)&&x.isArray(e.axisRanges))for(var i=0,n=e.axisRanges.length;i<n;i++){var r=e.axisRanges[i];x.hasValue(r.series)&&x.isString(r.series)&&this.map.hasKey(r.series)&&(e.axisRanges[i]=this.createSeriesRange(this.map.getKey(r.series)),delete r.series,e.axisRanges[i].config=r)}t.prototype.processConfig.call(this,e)},Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t,!0)},enumerable:!0,configurable:!0}),e}(o.a);f.b.registeredClasses.Axis=w,f.b.registeredClasses.AxisDataItem=P},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(127),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="ValueAxisBreak",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.ValueAxisBreak=a},,,function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(65),o=i(10),a=i(13),s=i(1),u=i(12),l=function(t){function e(){var e=t.call(this)||this;e.className="ResizeButton",e.orientation="horizontal",e.layout="absolute",e.horizontalCenter="middle",e.verticalCenter="middle",e.draggable=!0,e.padding(8,8,8,8),e.background.cornerRadius(20,20,20,20);var i=new o.a;i.element=e.paper.add("path");var n=u.moveTo({x:-2,y:-6});return n+=u.lineTo({x:-2,y:6}),n+=u.moveTo({x:2,y:-6}),n+=u.lineTo({x:2,y:6}),i.path=n,i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=(new a.a).getFor("alternativeText"),i.strokeOpacity=.7,e.icon=i,e.label.dispose(),e.label=void 0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"orientation",{set:function(t){var e=this.icon;e&&(e.rotation="horizontal"==t?0:-90)},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.ResizeButton=l},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(58),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="DesaturateFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"saturate"}),e.filterPrimitives.push(e.feColorMatrix),e.width=120,e.height=120,e.saturation=0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"saturation",{get:function(){return this.properties.saturation},set:function(t){this.properties.saturation=t,this.feColorMatrix.attr({values:t.toString()})},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.DesaturateFilter=a}
20,,,,function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(58),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="LightenFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"matrix"}),e.filterPrimitives.push(e.feColorMatrix),e.lightness=0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"lightness",{get:function(){return this.properties.lightness},set:function(t){this.properties.lightness=t;var e=t+1;this.feColorMatrix.attr({values:e+" 0 0 0 0 0 "+e+" 0 0 0 0 0 "+e+" 0 0 0 0 0 1 0"})},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.LightenFilter=a},function(t,e,i){"use strict";i.d(e,"b",function(){return v}),i.d(e,"a",function(){return _});var n=i(0),r=i(116),o=i(11),a=i(26),s=i(9),u=i(1),l=i(130),h=i(131),c=i(175),p=i(30),d=i(14),f=i(5),g=i(3),y=i(106),m=i(122),b=i(7),v=function(t){function e(){var e=t.call(this)||this;return e.className="FlowDiagramDataItem",e.values.value={},e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"fromName",{get:function(){return this.properties.fromName},set:function(t){this.setProperty("fromName",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"toName",{get:function(){return this.properties.toName},set:function(t){this.setProperty("toName",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.setProperty("color",Object(d.e)(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"link",{get:function(){var t=this;if(!this._link){var e=this.component.links.create();this._link=e,this.addSprite(e),this._disposers.push(new b.b(function(){t.component.links.removeValue(e)}))}return this._link},enumerable:!0,configurable:!0}),e}(r.b),_=function(t){function e(){var e=t.call(this)||this;e.colors=new p.a,e.className="FlowDiagram",e.nodePadding=20,e.sortBy="none",e.sequencedInterpolation=!0,e.colors.step=2,e.minNodeSize=.02;var i=e.chartContainer.createChild(s.a);i.shouldClone=!1,i.layout="none",i.isMeasured=!1,e.linksContainer=i;var n=e.chartContainer.createChild(s.a);return n.shouldClone=!1,n.layout="none",n.isMeasured=!1,e.nodesContainer=n,e.dataItem=e.createDataItem(),e.dataItem.component=e,e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.dataItem.dispose()},e.prototype.validateData=function(){var e=this;0==this._parseDataFrom&&this.nodes.clear(),this.sortNodes(),this.colors.reset(),t.prototype.validateData.call(this);var i,n,r=0,o=0;f.each(this.dataItems.iterator(),function(t){var a=t.fromName;a&&((s=e.nodes.getKey(a))||((s=e.nodes.create(a)).name=a,s.chart=e,s.dataItem=t),t.fromNode=s,t.fromNode.outgoingDataItems.push(t));var s,u=t.toName;u&&((s=e.nodes.getKey(u))||((s=e.nodes.create(u)).name=u,s.chart=e,s.dataItem=t),t.toNode=s,t.toNode.incomingDataItems.push(t));if(!t.fromNode){var l=new c.a;l.opacities=[0,1],t.link.strokeModifier=l}if(!t.toNode){var h=new c.a;h.opacities=[1,0],t.link.strokeModifier=h}var p=t.value;g.isNumber(p)&&(r+=p,o++,(i>p||!g.isNumber(i))&&(i=p),(n<p||!g.isNumber(n))&&(n=p))});var a="value";this.dataItem.setCalculatedValue(a,n,"high"),this.dataItem.setCalculatedValue(a,i,"low"),this.dataItem.setCalculatedValue(a,r,"sum"),this.dataItem.setCalculatedValue(a,r/o,"average"),this.dataItem.setCalculatedValue(a,o,"count"),f.each(this.nodes.iterator(),function(t){var i=t[1];i.fill instanceof d.a&&(i.color=i.fill),void 0==i.color&&(i.color=e.colors.next()),void 0!=i.dataItem.color&&(i.color=i.dataItem.color),i.dataItem.visible||i.hide(0),e.getNodeValue(i)}),this.sortNodes(),this.feedLegend()},e.prototype.handleDataItemWorkingValueChange=function(t){this.invalidate()},e.prototype.sortNodes=function(){"name"==this.sortBy?this._sorted=this.nodes.sortedIterator():"value"==this.sortBy?this._sorted=f.sort(this.nodes.iterator(),function(t,e){return m.b(y.order(t[1].total,e[1].total))}):this._sorted=this.nodes.iterator()},e.prototype.getNodeValue=function(t){var e=0,i=0;f.each(t.incomingDataItems.iterator(),function(t){var i=t.getWorkingValue("value");g.isNumber(i)&&(e+=i)}),f.each(t.outgoingDataItems.iterator(),function(t){var e=t.getWorkingValue("value");g.isNumber(e)&&(i+=e)}),t.total=e+i,t.totalIncoming=e,t.totalOutgoing=i},e.prototype.changeSorting=function(){this.sortNodes()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),g.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Flow diagram"))},e.prototype.createDataItem=function(){return new v},Object.defineProperty(e.prototype,"nodePadding",{get:function(){return this.getPropertyValue("nodePadding")}
20,set:function(t){this.setPropertyValue("nodePadding",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortBy",{get:function(){return this.getPropertyValue("sortBy")},set:function(t){this.setPropertyValue("sortBy",t),this.changeSorting()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minNodeSize",{get:function(){return this.getPropertyValue("minNodeSize")},set:function(t){this.setPropertyValue("minNodeSize",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nodes",{get:function(){return this._nodes||(this._nodes=new a.c(this.createNode()),this._disposers.push(new a.b(this._nodes))),this._nodes},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new l.a;return this._disposers.push(t),t},Object.defineProperty(e.prototype,"links",{get:function(){return this._links||(this._links=new o.e(this.createLink()),this._disposers.push(new o.c(this._links))),this._links},enumerable:!0,configurable:!0}),e.prototype.createLink=function(){var t=new h.a;return this._disposers.push(t),t},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];this.nodes.each(function(t,i){e.push(i)}),t.data=e,t.dataFields.name="name"}},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this.nodes.clear()},e}(r.a);u.b.registeredClasses.FlowDiagram=_},function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(69),o=i(253),a=i(1),s=function(t){function e(){var e=t.call(this)||this;return e.className="LinearGradientModifier",e.gradient=new r.a,e.applyTheme(),e}return n.c(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(o.a);a.b.registeredClasses.LinearGradientModifier=s},function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(62),o=i(265),a=i(1),s=function(t){function e(){var e=t.call(this)||this;return e.className="Column3D",e}return n.c(e,t),e.prototype.createAssets=function(){this.column3D=this.createChild(o.a),this.column3D.shouldClone=!1,this.column3D.strokeOpacity=0,this.column=this.column3D},e.prototype.validate=function(){t.prototype.validate.call(this),this.column3D&&(this.column3D.width=this.pixelWidth,this.column3D.height=this.pixelHeight,this.column3D.invalid&&this.column3D.validate())},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.column3D&&this.column3D.copyFrom(e.column3D)},e}(r.a);a.b.registeredClasses.Column3D=s},,function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return g});var n=i(0),r=i(129),o=i(179),a=i(335),s=i(11),u=i(1),l=i(4),h=i(5),c=i(3),p=i(8),d=i(7),f=function(t){function e(){var e=t.call(this)||this;return e.className="FunnelSeriesDataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"sliceLink",{get:function(){var t=this;if(!this._sliceLink){var e=this.component.sliceLinks.create();this._sliceLink=e,this._disposers.push(e),e.parent=this.component.slicesContainer,this._disposers.push(new d.b(function(){t.component.sliceLinks.removeValue(e)})),this.addSprite(e),e.visible=this.visible}return this._sliceLink},enumerable:!0,configurable:!0}),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;return e._nextY=0,e.className="FunnelSeries",e.orientation="vertical",e.width=Object(p.c)(100),e.height=Object(p.c)(100),e.slicesContainer.width=Object(p.c)(100),e.slicesContainer.height=Object(p.c)(100),e.bottomRatio=0,e.applyTheme(),e}return n.c(e,t),e.prototype.createSlice=function(){return new o.a},e.prototype.createTick=function(){return new a.a},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),c.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Funnel Series"))},e.prototype.createDataItem=function(){return new f},e.prototype.initSlice=function(t){t.isMeasured=!1,t.defaultState.properties.scale=1,t.observe("scale",this.handleSliceScale,this),t.observe(["dx","dy","x","y"],this.handleSliceMove,this),t.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})",t.states.create("hover").properties.expandDistance=.2},e.prototype.initLabel=function(e){t.prototype.initLabel.call(this,e),e.verticalCenter="middle",e.horizontalCenter="middle",e.isMeasured=!0,e.padding(5,5,5,5)},e.prototype.validate=function(){t.prototype.validate.call(this),this._nextY=0}
20,e.prototype.validateDataElements=function(){var e=this.slicesContainer,i=this.labelsContainer,n=this.labels.template;i.layout="absolute",this.alignLabels?(n.interactionsEnabled=!0,e.isMeasured=!0,i.isMeasured=!0,i.margin(10,10,10,10),this.ticks.template.disabled=!1,n.horizontalCenter="left","horizontal"==this.orientation?this.layout="vertical":this.layout="horizontal"):(this.layout="absolute",n.interactionsEnabled=!1,e.isMeasured=!1,i.isMeasured=!0,this.ticks.template.disabled=!0,n.horizontalCenter="middle");var r=0,o=0;this.dataItems.each(function(t){c.hasValue(t.value)&&(o++,r+=t.getWorkingValue("value")/t.value)}),this._total=1/o*r,this._count=o,t.prototype.validateDataElements.call(this),this.arrangeLabels()},e.prototype.getNextValue=function(t){var e=t.index,i=t.getWorkingValue("value");if(e<this.dataItems.length-1){var n=this.dataItems.getIndex(e+1);if(i=n.getWorkingValue("value"),!n.visible||n.isHiding)return this.getNextValue(n)}return i},e.prototype.formDataElement=function(){},e.prototype.validateDataElement=function(e){e.values.value.percent;if(c.hasValue(e.value)){var i=e.slice;i.orientation=this.orientation;var n=e.sliceLink;n.orientation=this.orientation;var r=e.tick,o=e.label;r.slice=i,r.label=o,this.decorateSlice(e),n.fill=i.fill,e.index==this.dataItems.length-1&&(n.disabled=!0),t.prototype.validateDataElement.call(this,e)}},e.prototype.decorateSlice=function(t){var e=t.slice,i=t.sliceLink,n=t.label,r=t.tick,o=this.slicesContainer.innerWidth,a=this.slicesContainer.innerHeight,s=this.getNextValue(t),u=t.getWorkingValue("value"),h=this.bottomRatio;if("vertical"==this.orientation){var c=i.pixelHeight*u/t.value;a+=c,e.topWidth=u/this.dataItem.values.value.high*o,e.bottomWidth=(u-(u-s)*h)/this.dataItem.values.value.high*o,i.topWidth=e.bottomWidth,i.bottomWidth=(u-(u-s))/this.dataItem.values.value.high*o,e.y=this._nextY,e.height=l.max(0,a/this._count*u/t.value*1/this._total-c),e.x=o/2,this.alignLabels?n.x=0:n.x=e.x,n.y=e.pixelY+e.pixelHeight*r.locationY,this._nextY+=e.pixelHeight+c,i.y=this._nextY-c,i.x=e.x}else{var p=i.pixelWidth*u/t.value;o+=p,e.topWidth=u/this.dataItem.values.value.high*a,e.bottomWidth=(u-(u-s)*h)/this.dataItem.values.value.high*a,i.topWidth=e.bottomWidth,i.bottomWidth=(u-(u-s))/this.dataItem.values.value.high*a,e.x=this._nextY,e.width=o/this._count*u/t.value*1/this._total-p,e.y=a/2,this.alignLabels?n.y=this.labelsContainer.measuredHeight:n.y=e.y,n.x=e.pixelX+e.pixelWidth*r.locationX,this._nextY+=e.pixelWidth+p,i.x=this._nextY-p,i.y=e.y}},e.prototype.arrangeLabels=function(){if(this.alignLabels){var t=this.labels.length;if(t>1){var e=this.labels.getIndex(t-1),i=e.pixelY,n=e.pixelX;if(this.labels.length>1){for(var r=t-2;r>=0;r--){(o=this.labels.getIndex(r)).visible&&(o.invalid&&o.validate(),"vertical"==this.orientation?o.pixelY+o.measuredHeight>i&&(o.y=i-o.measuredHeight):o.pixelX+o.measuredWidth>n&&(o.x=n-o.measuredWidth),i=o.pixelY,n=o.pixelX)}i=0,n=0;for(r=0;r<t;r++){var o;(o=this.labels.getIndex(r)).visible&&(o.invalid&&o.validate(),"vertical"==this.orientation?o.pixelY<i&&(o.y=i):o.pixelX<n&&(o.x=n),i+=o.measuredHeight,n+=o.measuredWidth)}}}}},e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice,n=e.locationX;c.isNumber(n)||(n=.5);var r=e.locationY;c.isNumber(r)||(r=1),e.x=i.measuredWidth*n,e.y=i.measuredHeight*r},Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t)&&(this.invalidate(),"vertical"==t?(this.ticks.template.locationX=1,this.ticks.template.locationY=.5,this.labels.template.rotation=0):(this.ticks.template.locationX=.5,this.ticks.template.locationY=1,this.labels.template.rotation=-90))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomRatio",{get:function(){return this.getPropertyValue("bottomRatio")},set:function(t){this.setPropertyValue("bottomRatio",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sliceLinks",{get:function(){if(!this._sliceLinks){var t=new o.a;t.applyOnClones=!0,t.fillOpacity=.5,t.expandDistance=-.3,t.hiddenState.properties.opacity=0,this._disposers.push(t),this._sliceLinks=new s.e(t),this._disposers.push(new s.c(this._sliceLinks))}return this._sliceLinks},enumerable:!0,configurable:!0}),e.prototype.show=function(e){var i=this,n=this.startIndex,r=this.endIndex,o=this.defaultState.transitionDuration;c.isNumber(e)&&(o=e);var a=0;return h.each(h.indexed(this.dataItems.iterator()),function(t){var e=t[0],s=t[1];i.sequencedInterpolation&&(a=i.sequencedInterpolationDelay*e+o*(e-n)/(r-n)),s.show(o,a,["value"])}),t.prototype.show.call(this,e)},e.prototype.hide=function(e){var i=this,n=["value"],r=this.startIndex,o=this.endIndex,a=0,s=this.hiddenState.transitionDuration;c.isNumber(e)&&(s=e),h.each(h.indexed(this.dataItems.iterator()),function(t){var e=t[0],u=t[1];i.sequencedInterpolation&&(a=i.sequencedInterpolationDelay*e+s*(e-r)/(o-r)),u.hide(s,a,0,n)});var u=t.prototype.hide.call(this,e);return u&&!u.isFinished()&&u.delay(a),u},e}(r.a);u.b.registeredClasses.FunnelSeries=g,u.b.registeredClasses.FunnelSeriesDataItem=f}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(9),o=i(10),a=i(1),s=i(8),u=i(6),l=i(12),h=function(t){function e(){var e=t.call(this)||this;return e.slice=e.createChild(o.a),e.slice.setElement(e.paper.add("path")),e.slice.isMeasured=!1,e.orientation="vertical",e.bottomWidth=Object(s.c)(100),e.topWidth=Object(s.c)(100),e.isMeasured=!1,e.width=10,e.height=10,e.expandDistance=0,e.className="FunnelSlice",e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelPaddingTop,i=this.pixelPaddingBottom,n=this.pixelPaddingRight,r=this.pixelPaddingLeft,o=this.pixelWidth-n-r,a=this.pixelHeight-e-i,s=this.expandDistance,h="";if("vertical"==this.orientation){var c={x:(o-(v=u.relativeToValue(this.topWidth,o)))/2+r,y:e},p={x:(o+v)/2+r,y:e},d={x:(o+(_=u.relativeToValue(this.bottomWidth,o)))/2+r,y:e+a},f={x:(o-_)/2+r,y:e+a},g={x:p.x+(d.x-p.x)/2+s*a,y:p.y+.5*a},y={x:c.x+(f.x-c.x)/2-s*a,y:c.y+.5*a},m=l.lineTo(d),b="";0!=s&&(m=l.quadraticCurveTo(d,g),b=l.quadraticCurveTo(c,y)),h=l.moveTo(c)+l.lineTo(p)+m+l.lineTo(f)+b,this.tickPoint={x:p.x+(d.x-p.x)/2,y:p.y+(d.y-p.y)/2}}else{var v,_,x={x:r,y:(a-(v=u.relativeToValue(this.topWidth,a)))/2+e},P={x:r,y:(a+v)/2+e},w={x:r+o,y:(a-(_=u.relativeToValue(this.bottomWidth,a)))/2+e},O={x:r+o,y:(a+_)/2+e};g={y:x.y+(w.y-x.y)/2-s*o,x:x.x+.5*o},y={y:P.y+(O.y-P.y)/2+s*o,x:P.x+.5*o},m=l.lineTo(w),b="";0!=s&&(m=l.quadraticCurveTo(w,g),b=l.quadraticCurveTo(P,y)),h=l.moveTo(P)+l.lineTo(x)+m+l.lineTo(O)+b,this.tickPoint={y:P.y+(O.y-P.y)/2,x:P.x+(O.x-P.x)/2}}this.slice.path=h,this.invalidateLayout()},e.prototype.getPoint=function(t,e){var i=this.pixelPaddingTop,n=this.pixelPaddingBottom,r=this.pixelPaddingRight,o=this.pixelPaddingLeft,a=this.pixelWidth-r-o,s=this.pixelHeight-i-n;if("vertical"==this.orientation){var l={x:(a-(d=u.relativeToValue(this.topWidth,a)))/2+o,y:i},h={x:(a+d)/2+o,y:i},c={x:(a+(f=u.relativeToValue(this.bottomWidth,a)))/2+o,y:i+s},p=l.x+({x:(a-f)/2+o,y:i+s}.x-l.x)*e;return{x:p+(h.x+(c.x-h.x)*e-p)*t,y:h.y+(c.y-h.y)*e}}var d,f,g={x:o,y:(s-(d=u.relativeToValue(this.topWidth,s)))/2+i},y={x:o,y:(s+d)/2+i},m={x:o+a,y:(s-(f=u.relativeToValue(this.bottomWidth,s)))/2+i},b=g.y+(m.y-g.y)*t;return{y:b+(y.y+({x:o+a,y:(s+f)/2+i}.y-y.y)*t-b)*e,x:g.x+(m.x-g.x)*t}},Object.defineProperty(e.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(t){this.setPercentProperty("bottomWidth",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(t){this.setPercentProperty("topWidth",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandDistance",{get:function(){return this.getPropertyValue("expandDistance")},set:function(t){this.setPropertyValue("expandDistance",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.slice&&this.slice.copyFrom(e.slice)},e}(r.a);a.b.registeredClasses.FunnelSlice=h},function(t,e,i){var n=i(20),r=i(17).document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,i){var n=i(17),r=i(52),o=i(79),a=i(277),s=i(24).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,i){var n=i(134)("keys"),r=i(78);t.exports=function(t){return n[t]||(n[t]=r(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,i){var n=i(17).document;t.exports=n&&n.documentElement},function(t,e,i){var n=i(20),r=i(15),o=function(t,e){if(r(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{(n=i(44)(Function.call,i(40).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,i){return o(t,i),e?t.__proto__=i:n(t,i),t}}({},!1):void 0),check:o}},function(t,e){t.exports="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff"}
vendor: 8,629 bytes, line 20
20,function(t,e,i){var n=i(20),r=i(185).set;t.exports=function(t,e,i){var o,a=e.constructor;return a!==i&&"function"==typeof a&&(o=a.prototype)!==i.prototype&&n(o)&&r&&r(t,o),t}},function(t,e,i){"use strict";var n=i(49),r=i(48);t.exports=function(t){var e=String(r(this)),i="",o=n(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(i+=e);return i}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var i=Math.expm1;t.exports=!i||i(10)>22025.465794806718||i(10)<22025.465794806718||-2e-17!=i(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:i},function(t,e,i){var n=i(49),r=i(48);t.exports=function(t){return function(e,i){var o,a,s=String(r(e)),u=n(i),l=s.length;return u<0||u>=l?t?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(t,e,i){"use strict";var n=i(79),r=i(2),o=i(32),a=i(31),s=i(99),u=i(193),l=i(97),h=i(41),c=i(22)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,i,f,g,y,m){u(i,e,f);var b,v,_,x=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},P=e+" Iterator",w="values"==g,O=!1,S=t.prototype,k=S[c]||S["@@iterator"]||g&&S[g],T=k||x(g),C=g?w?x("entries"):T:void 0,V="Array"==e&&S.entries||k;if(V&&(_=h(V.call(new t)))!==Object.prototype&&_.next&&(l(_,P,!0),n||"function"==typeof _[c]||a(_,c,d)),w&&k&&"values"!==k.name&&(O=!0,T=function(){return k.call(this)}),n&&!m||!p&&!O&&S[c]||a(S,c,T),s[e]=T,s[P]=d,g)if(b={values:w?T:x("values"),keys:y?T:x("keys"),entries:C},m)for(v in b)v in S||o(S,v,b[v]);else r(r.P+r.F*(p||O),e,b);return b}},function(t,e,i){"use strict";var n=i(82),r=i(77),o=i(97),a={};i(31)(a,i(22)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=n(a,{next:r(1,i)}),o(t,e+" Iterator")}},function(t,e,i){var n=i(138),r=i(48);t.exports=function(t,e,i){if(n(e))throw TypeError("String#"+i+" doesn't accept regex!");return String(r(t))}},function(t,e,i){var n=i(22)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[n]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,i){var n=i(99),r=i(22)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[r]===t)}},function(t,e,i){"use strict";var n=i(24),r=i(77);t.exports=function(t,e,i){e in t?n.f(t,e,r(0,i)):t[e]=i}},function(t,e,i){var n=i(113),r=i(22)("iterator"),o=i(99);t.exports=i(52).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[n(t)]}},function(t,e,i){var n=i(435);t.exports=function(t,e){return new(n(t))(e)}},function(t,e,i){"use strict";var n=i(27),r=i(81),o=i(25);t.exports=function(t){for(var e=n(this),i=o(e.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,i),u=a>2?arguments[2]:void 0,l=void 0===u?i:r(u,i);l>s;)e[s++]=t;return e}},function(t,e,i){"use strict";var n=i(64),r=i(293),o=i(99),a=i(39);t.exports=i(192)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(t,e,i){var n,r,o,a=i(44),s=i(283),u=i(184),l=i(180),h=i(17),c=h.process,p=h.setImmediate,d=h.clearImmediate,f=h.MessageChannel,g=h.Dispatch,y=0,m={},b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},v=function(t){b.call(t.data)};p&&d||(p=function(t){for(var e=[],i=1;arguments.length>i;)e.push(arguments[i++]);return m[++y]=function(){s("function"==typeof t?t:Function(t),e)},n(y),y},d=function(t){delete m[t]},"process"==i(45)(c)?n=function(t){c.nextTick(a(b,t,1))}:g&&g.now?n=function(t){g.now(a(b,t,1))}:f?(o=(r=new f).port2,r.port1.onmessage=v,n=a(o.postMessage,o,1)):h.addEventListener&&"function"==typeof postMessage&&!h.importScripts?(n=function(t){h.postMessage(t+"","*")},h.addEventListener("message",v,!1)):n="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:p,clear:d}},function(t,e,i){var n=i(17),r=i(202).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,u="process"==i(45)(a);t.exports=function(){var t,e,i,l=function(){var n,r;for(u&&(n=a.domain)&&n.exit();t;){r=t.fn,t=t.next;try{r()}catch(n){throw t?i():e=void 0,n}}e=void 0,n&&n.enter()};if(u)i=function(){a.nextTick(l)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var h=s.resolve();i=function(){h.then(l)}}else i=function(){r.call(n,l)};else{var c=!0,p=document.createTextNode("");new o(l).observe(p,{characterData:!0}),i=function(){p.data=c=!c}}return function(n){var r={fn:n,next:void 0};e&&(e.next=r),t||(t=r,i()),e=r}}},function(t,e,i){"use strict";var n=i(29);t.exports.f=function(t){return new function(t){var e,i;this.promise=new t(function(t,n){if(void 0!==e||void 0!==i)throw TypeError("Bad Promise constructor");e=t,i=n}),this.resolve=n(e),this.reject=n(i)}(t)}},function(t,e,i){"use strict";var n=i(17),r=i(23),o=i(79),a=i(144),s=i(31),u=i(87),l=i(19),h=i(85),c=i(49),p=i(25),d=i(302),f=i(83).f,g=i(24).f,y=i(200),m=i(97),b="prototype",v="Wrong index!",_=n.ArrayBuffer,x=n.DataView,P=n.Math,w=n.RangeError,O=n.Infinity,S=_,k=P.abs,T=P.pow,C=P.floor,V=P.log,I=P.LN2,j=r?"_b":"buffer",D=r?"_l":"byteLength",M=r?"_o":"byteOffset";function E(t,e,i){var n,r,o,a=new Array(i),s=8*i-e-1,u=(1<<s)-1,l=u>>1,h=23===e?T(2,-24)-T(2,-77):0,c=0,p=t<0||0===t&&1/t<0?1:0;for((t=k(t))!=t||t===O?(r=t!=t?1:0,n=u):(n=C(V(t)/I),t*(o=T(2,-n))<1&&(n--,o*=2),(t+=n+l>=1?h/o:h*T(2,1-l))*o>=2&&(n++,o/=2),n+l>=u?(r=0,n=u):n+l>=1?(r=(t*o-1)*T(2,e),n+=l):(r=t*T(2,l-1)*T(2,e),n=0));e>=8;a[c++]=255&r,r/=256,e-=8);for(n=n<<e|r,s+=e;s>0;a[c++]=255&n,n/=256,s-=8);return a[--c]|=128*p,a}function F(t,e,i){var n,r=8*i-e-1,o=(1<<r)-1,a=o>>1,s=r-7,u=i-1,l=t[u--],h=127&l;for(l>>=7;s>0;h=256*h+t[u],u--,s-=8);for(n=h&(1<<-s)-1,h>>=-s,s+=e;s>0;n=256*n+t[u],u--,s-=8);if(0===h)h=1-a;else{if(h===o)return n?NaN:l?-O:O;n+=T(2,e),h-=a}return(l?-1:1)*n*T(2,h-e)}function N(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function R(t){return[255&t]}function L(t){return[255&t,t>>8&255]}function A(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function B(t){return E(t,52,8)}function H(t){return E(t,23,4)}function W(t,e,i){g(t[b],e,{get:function(){return this[i]}})}function z(t,e,i,n){var r=d(+i);if(r+e>t[D])throw w(v);var o=t[j]._b,a=r+t[M],s=o.slice(a,a+e);return n?s:s.reverse()}function G(t,e,i,n,r,o){var a=d(+i);if(a+e>t[D])throw w(v);for(var s=t[j]._b,u=a+t[M],l=n(+r),h=0;h<e;h++)s[u+h]=l[o?h:e-h-1]}if(a.ABV){if(!l(function(){_(1)})||!l(function(){new _(-1)})||l(function(){return new _,new _(1.5),new _(NaN),"ArrayBuffer"!=_.name})){for(var U,Y=(_=function(t){return h(this,_),new S(d(t))})[b]=S[b],K=f(S),X=0;K.length>X;)(U=K[X++])in _||s(_,U,S[U]);o||(Y.constructor=_)}var q=new x(new _(2)),Z=x[b].setInt8;q.setInt8(0,2147483648),q.setInt8(1,2147483649),!q.getInt8(0)&&q.getInt8(1)||u(x[b],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else _=function(t){h(this,_,"ArrayBuffer");var e=d(t);this._b=y.call(new Array(e),0),this[D]=e},x=function(t,e,i){h(this,x,"DataView"),h(t,_,"DataView");var n=t[D],r=c(e);if(r<0||r>n)throw w("Wrong offset!");if(r+(i=void 0===i?n-r:p(i))>n)throw w("Wrong length!");this[j]=t,this[M]=r,this[D]=i},r&&(W(_,"byteLength","_l"),W(x,"buffer","_b"),W(x,"byteLength","_l"),W(x,"byteOffset","_o")),u(x[b],{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t){var e=z(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=z(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return N(z(this,4,t,arguments[1]))},getUint32:function(t){return N(z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){G(this,1,t,R,e)},setUint8:function(t,e){G(this,1,t,R,e)},setInt16:function(t,e){G(this,2,t,L,e,arguments[2])},setUint16:function(t,e){G(this,2,t,L,e,arguments[2])},setInt32:function(t,e){G(this,4,t,A,e,arguments[2])},setUint32:function(t,e){G(this,4,t,A,e,arguments[2])},setFloat32:function(t,e){G(this,4,t,H,e,arguments[2])},setFloat64:function(t,e){G(this,8,t,B,e,arguments[2])}});
20m(_,"ArrayBuffer"),m(x,"DataView"),s(x[b],a.VIEW,!0),e.ArrayBuffer=_,e.DataView=x},function(t,e,i){var n=i(17).navigator;t.exports=n&&n.userAgent||""},function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(9),o=i(13),a=i(75),s=i(37),u=i(1),l=i(8),h=function(t){function e(){var e=t.call(this)||this;e.className="Preloader",e.width=Object(l.c)(100),e.height=Object(l.c)(100);var i=new o.a,n=e.createChild(r.a);n.shouldClone=!1;var u=n.createChild(a.a);u.shouldClone=!1,u.radius=53,u.arc=360,u.fill=i.getFor("fill"),u.fillOpacity=.8,u.innerRadius=42,u.isMeasured=!1,e.backgroundSlice=u;var h=n.createChild(a.a);h.shouldClone=!1,h.radius=50,h.innerRadius=45,h.fill=i.getFor("alternativeBackground"),h.fillOpacity=.2,h.isMeasured=!1,e.progressSlice=h;var c=n.createChild(s.a);return c.shouldClone=!1,c.horizontalCenter="middle",c.verticalCenter="middle",c.isMeasured=!1,c.fill=i.getFor("text"),c.align="center",c.valign="middle",c.fillOpacity=.4,e.label=c,e.background.opacity=1,e.background.fill=i.getFor("background"),e.contentAlign="center",e.contentValign="middle",e.delay=500,e.states.create("hidden").properties.opacity=0,e.visible=!1,e.hide(0),e.__disabled=!0,e._disposers.push(e.backgroundSlice),e._disposers.push(e.progressSlice),e._disposers.push(e.label),e._disposers.push(n),e}return n.c(e,t),Object.defineProperty(e.prototype,"progress",{get:function(){return this.getPropertyValue("progress")},set:function(t){var e=this;this.__disabled=!1,this.setPropertyValue("progress",t),this.progressSlice.arc=360*t,this.label&&(this.label.text=Math.round(100*t)+"%"),t>=1?(this._started&&(this._started=void 0),u.b.events.once("enterframe",function(){var t=e.hide();t&&!t.isFinished()?t.events.once("animationended",function(){e.__disabled=!0}):e.__disabled=!0}),this.interactionsEnabled=!1,this.setPropertyValue("progress",0)):t>0&&(this.delay?this._started?this._started+this.delay>=(new Date).getTime()&&(this.__disabled=!1,this.show(),this.interactionsEnabled=!0):this._started=(new Date).getTime():(this.__disabled=!1,this.show(),this.interactionsEnabled=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delay",{get:function(){return this.getPropertyValue("delay")},set:function(t){this.setPropertyValue("delay",t)},enumerable:!0,configurable:!0}),e}(r.a)},,,,,,,,,function(t,e,i){"use strict";i.d(e,"a",function(){return r});var n=i(0),r=function(t){function e(e){return t.call(this,e)||this}return n.c(e,t),e.prototype.add=function(t){t&&this.node.appendChild(t.node)},e.prototype.addToBack=function(t){if(t){var e=this.node.childNodes[0];e?this.node.insertBefore(t.node,e):this.node.appendChild(t.node)}},e.prototype.removeElement=function(t){if(t)try{t.node&&t.node.parentNode==this.node&&this.node.removeChild(t.node)}catch(t){}},Object.defineProperty(e.prototype,"content",{get:function(){return this.node.innerHTML},set:function(t){this.node.innerHTML=t},enumerable:!0,configurable:!0}),e.prototype.removeChildren=function(){if(this.node.childNodes)for(;this.node.childNodes.length>0;){var t=this.node.firstChild;t&&t.parentNode&&t.parentNode.removeChild(t)}},e}(i(123).a)},function(t,e,i){"use strict";i.d(e,"a",function(){return r});var n=i(14),r=function(){function t(){}return t.opacity=1,t.strokeOpacity=1,t.strokeWidth=1,t.fillOpacity=1,t.fill=Object(n.c)("#000000"),t.stroke=Object(n.c)("#000000"),t.focusable=void 0,t.tabindex=0,t}()},function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(219),o=i(21),a=i(11),s=i(26),u=i(34),l=i(3),h=function(t){function e(e){var i=t.call(this)||this;return i.events=new r.a(i),i.eventDisposers=new s.a,i.replacedStyles=new s.a,i._clickable=!1,i._hoverable=!1,i._trackable=!1,i._draggable=!1,i._swipeable=!1,i._resizable=!1,i._wheelable=!1,i._inert=!1,i._isHover=!1,i._isHoverByTouch=!1,i._isDown=!1,i._isFocused=!1,i.inertiaOptions=new s.a,i.inertias=new s.a,i.hitOptions={},i.hoverOptions={},i.swipeOptions={},i.keyboardOptions={},i.cursorOptions={defaultStyle:[{property:"cursor",value:"default"}]},i._element=e,i.className="InteractionObject",i._disposers.push(new s.b(i.inertias)),i._disposers.push(new s.b(i.eventDisposers)),i.applyTheme(),i}return n.c(e,t),Object.defineProperty(e.prototype,"isHover",{get:function(){return this._isHover},set:function(t){this.isHover!=t&&(this._isHover=t,t?Object(u.b)().overObjects.moveValue(this):Object(u.b)().overObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHoverByTouch",{get:function(){return this._isHoverByTouch},set:function(t){this.isHoverByTouch!=t&&(this._isHoverByTouch=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overPointers",{get:function(){return this._overPointers||(this._overPointers=new a.b),this._overPointers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDown",{get:function(){return this._isDown}
20,set:function(t){this.isDown!=t&&(this._isDown=t,t?Object(u.b)().downObjects.moveValue(this):Object(u.b)().downObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"downPointers",{get:function(){return this._downPointers||(this._downPointers=new a.b),this._downPointers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return this._isFocused},set:function(t){this.isFocused!=t&&(this._isFocused=t,Object(u.b)().focusedObject=t?this:void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clickable",{get:function(){return this._clickable},set:function(t){this._clickable!==t&&(this._clickable=t,Object(u.b)().processClickable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverable",{get:function(){return this._hoverable},set:function(t){this._hoverable!==t&&(this._hoverable=t,Object(u.b)().processHoverable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackable",{get:function(){return this._trackable},set:function(t){this._trackable!==t&&(this._trackable=t,Object(u.b)().processTrackable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this._draggable},set:function(t){this._draggable!==t&&(this._draggable=t,Object(u.b)().processDraggable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeable",{get:function(){return this._swipeable},set:function(t){this._swipeable!==t&&(this._swipeable=t,Object(u.b)().processSwipeable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this._resizable},set:function(t){this._resizable!==t&&(this._resizable=t,Object(u.b)().processResizable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wheelable",{get:function(){return this._wheelable},set:function(t){this._wheelable!==t&&(this._wheelable=t,Object(u.b)().processWheelable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inert",{get:function(){return this._inert},set:function(t){this._inert!==t&&(this._inert=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusable",{get:function(){return this._focusable},set:function(t){this._focusable!==t&&(this._focusable=t,this._focusable&&-1==this.tabindex&&(this._tabindex=1),Object(u.b)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return l.getValueDefault(this._tabindex,-1)},set:function(t){this._tabindex!==t&&(this._tabindex=t,t>-1&&(this.focusable=!0),Object(u.b)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},set:function(t){this._element=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalPosition",{get:function(){return this._originalPosition||{x:0,y:0}},set:function(t){this._originalPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalScale",{get:function(){return l.getValueDefault(this._originalScale,1)},set:function(t){this._originalScale!==t&&(this._originalScale=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalAngle",{get:function(){return l.getValueDefault(this._originalAngle,0)},set:function(t){this._originalAngle!==t&&(this._originalAngle=t)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.inertiaOptions=e.inertiaOptions,this.hitOptions=e.hitOptions,this.hoverOptions=e.hoverOptions,this.swipeOptions=e.swipeOptions,this.keyboardOptions=e.keyboardOptions,this.cursorOptions=e.cursorOptions,Object(u.b)().applyCursorOverStyle(this)},e.prototype.setEventDisposer=function(t,e,i){var n=this.eventDisposers.getKey(t);e?null==n&&this.eventDisposers.setKey(t,i()):null!=n&&(n.dispose(),this.eventDisposers.removeKey(t))},e.prototype.dispose=function(){t.prototype.dispose.call(this);var e=Object(u.b)();e.overObjects.removeValue(this),e.downObjects.removeValue(this),e.trackedObjects.removeValue(this),e.transformedObjects.removeValue(this),e.focusedObject===this&&(e.focusedObject=void 0)},e}(o.b)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(57),o=i(7),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._domEvents={},e}return n.c(e,t),e.prototype._addDOMEvent=function(t,e,i,n){var r=this;if(!this._domEvents[t]){var a=function(t){i.call(n,e,t)};this.target.element.addEventListener(t,a,!1),this._domEvents[t]=new o.a(function(){delete r._domEvents[t],r.target.element.removeEventListener(t,a,!1)})}return this._domEvents[t].increment()},e.prototype._dispatchKeyboardEvent=function(t,e){this.target.events.isEnabled(t)&&this.target.events.dispatchImmediately(t,{type:t,target:this.target,event:e})},e.prototype._on=function(e,i,n,r,a,s){var u=t.prototype._on.call(this,e,i,n,r,a,s),l=[u.disposer];switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":case"out":this.target.hoverable=!0;break;case"focus":case"blur":case"focusin":case"focusout":this.target.focusable=!0;break;case"keydown":case"keyup":case"keypress":case"input":l.push(this._addDOMEvent(i,i,this._dispatchKeyboardEvent,this))}return u.disposer=new o.c(l),u},e}(r.b)},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(34),r=i(36),o=i(16),a=function(){function t(t,e){this._disposed=!1,this.directionX=0,this.directionY=0,this.interaction=t,this.keyboardEvent=e,this._startedOn=(new Date).getTime(),Object(n.b)().processDragStart(t),r.d.push(this),this.update()}return t.prototype.update=function(){var t=this.interaction,e=Object(n.b)().getKeyboardOption(t,"speed"),i=Object(n.b)().getKeyboardOption(t,"accelleration"),r=Object(n.b)().getKeyboardOption(t,"accellerationDelay"),o={x:0,y:0};this.keyboardEvent.shiftKey?(e*=.5,i=1):this.keyboardEvent.ctrlKey&&(e*=2);var a=(new Date).getTime()-this._startedOn,s=a-r;if(i>0&&s>0){var u=a/r;a=r,o.x+=this.directionX*(e*i*u*s),o.y+=this.directionY*(e*i*u*s)}o.x+=this.directionX*(e*a),o.y+=this.directionY*(e*a),Object(n.b)().handleTransformMove(t,o,{x:0,y:0},this.keyboardEvent,!0)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(Object(n.b)().processDragStop(this.interaction),o.remove(r.d,this))},t}()},function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(21),o=i(34),a=i(36),s=i(3),u=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.animations=[],o.className="Inertia",o.interaction=e,o.type=i,o.point=n,o.startPoint=r,o._disposers.push(new a.b(o.animations)),o}return n.c(e,t),Object.defineProperty(e.prototype,"x",{get:function(){return this.point.x},set:function(t){s.isNumber(t)&&(this.point.x=t,this.handleMove())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.point.y},set:function(t){s.isNumber(t)&&(this.point.y=t,this.handleMove())},enumerable:!0,configurable:!0}),e.prototype.handleMove=function(){if(this.interaction.events.isEnabled("drag")){var t={type:"drag",target:this.interaction,shift:{x:this.x-this.startPoint.x,y:this.y-this.startPoint.y},startPoint:this.startPoint,point:{x:this.x,y:this.y}};this.interaction.events.dispatchImmediately("drag",t)}},e.prototype.done=function(){this.interaction.inertias.removeKey(this.type),"move"===this.type&&Object(o.b)().processDragStop(this.interaction),this.dispose()},e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(26),o=i(57),a=i(7),s=i(6),u=i(18),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._interactionEvents=new r.a,e}return n.c(e,t),e.prototype._dispatchSpriteEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=u.merge(t,{target:this.target});this.target.events.dispatchImmediately(e.type,e)}},e.prototype._dispatchSpritePointEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=u.merge(t,{target:this.target,spritePoint:s.documentPointToSprite(t.point,this.target),svgPoint:this.target.getSvgPoint(t.point)});this.target.events.dispatchImmediately(e.type,e)}}
20,e.prototype._addInteractionObjectEvent=function(t,e,i){var n=this;return this._interactionEvents.insertKeyIfEmpty(t,function(){var r=n.target.interactions.events.on(t,e,i);return new a.a(function(){n._interactionEvents.removeKey(t),r.dispose()})}).increment()},e.prototype._on=function(e,i,n,r,o,s){var u=t.prototype._on.call(this,e,i,n,r,o,s),l=[u.disposer];switch(i){case"hit":case"track":case"doublehit":case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":l.push(this._addInteractionObjectEvent(i,this._dispatchSpritePointEvent,this));break;case"rightclick":case"down":case"up":case"drag":case"dragstart":case"dragstop":case"over":case"out":case"swipe":case"swipeleft":case"swiperight":case"resize":case"focus":case"blur":case"toggled":l.push(this._addInteractionObjectEvent(i,this._dispatchSpriteEvent,this))}switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"toggled":this.target.togglable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":this.target.hoverable=!0;case"out":this.target.hoverable=!0;break;case"focus":case"blur":this.target.focusable=!0}return u.disposer=new a.c(l),u},e}(o.b)},function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n=i(0),r=i(60),o=i(21),a=i(92),s=i(1),u=i(68),l=i(18),h=i(6),c=i(3),p=function(t){function e(){var e=t.call(this)||this;return e._negativeBase=0,e._numberFormat="#,###.#####",e._outputFormat="svg",e.className="NumberFormatter",e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.language&&this.language.dispose()},Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this.sprite?this._language=this.sprite.language:this._language=new r.a),this._language},set:function(t){this._language=t},enumerable:!0,configurable:!0}),e.prototype.format=function(t,e){void 0!==e&&"number"!==e.toLowerCase()||(e=this._numberFormat),e=h.cleanFormat(e);var i,n=this.parseFormat(e,this.language),r=Number(t);return(i=r>this._negativeBase?n.positive:r<this._negativeBase?n.negative:n.zero).template.split(u.d).join(this.applyFormat(r,i))},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(c.hasValue(n))return n;var r={positive:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},negative:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},zero:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1}},o=(t=t.replace("||",u.e)).split("|");return r.positive.source=o[0],void 0===o[2]?r.zero=r.positive:r.zero.source=o[2],void 0===o[1]?r.negative=r.positive:r.negative.source=o[1],l.each(r,function(t,e){if(!e.parsed)if(void 0===i.getCache(e.source)){var n=e.source;"number"===n.toLowerCase()&&(n=i._numberFormat);for(var o=Object(a.b)().chunk(n,!0),s=0;s<o.length;s++){var l=o[s];if(l.text=l.text.replace(u.e,"|"),"value"===l.type){var h=[];if(h=l.text.match(/[#0.,]+[ ]?[abesABES%]?[abesABESâ°]?/))if(null===h||""===h[0])e.template+=l.text;else{var p=[];(p=h[0].match(/[abesABES%â°]{2}|[abesABES%â°]{1}$/))&&(e.mod=p[0].toLowerCase(),e.modSpacing=!!h[0].match(/[ ]{1}[abesABES%â°]{1}$/));var d=h[0].split(".");if(""===d[0]);
20else{e.thousands.active=(d[0].match(/0/g)||[]).length,e.thousands.passive=(d[0].match(/\#/g)||[]).length+e.thousands.active;var f=d[0].split(",");1===f.length||(e.thousands.interval=c.getValue(f.pop()).length,0===e.thousands.interval&&(e.thousands.interval=-1))}void 0===d[1]||(e.decimals.active=(d[1].match(/0/g)||[]).length,e.decimals.passive=(d[1].match(/\#/g)||[]).length+e.decimals.active),e.template+=l.text.split(h[0]).join(u.d)}}else e.template+=l.text}i.setCache(e.source,e),e.parsed=!0}else r[t]=i.getCache(e.source)}),this.setCache(t,r),r},e.prototype.applyFormat=function(t,e){var i=t<0;t=Math.abs(t);var n="",r="",o=e.mod?e.mod.split(""):[];if(-1!==o.indexOf("b")){var a=this.applyPrefix(t,this.bytePrefixes);t=a[0],n=a[1],r=a[2],e.modSpacing&&(r=" "+r)}else if(-1!==o.indexOf("a")){var s=this.applyPrefix(t,t<1?this.smallNumberPrefixes:this.bigNumberPrefixes);t=s[0],n=s[1],r=s[2],e.modSpacing&&(r=" "+r)}else-1!==o.indexOf("%")?(t*=100,r="%"):-1!==o.indexOf("â°")&&(t*=1e3,r="â°");if(-1!==o.indexOf("e")){var u=void 0;u=e.decimals.passive>=0?t.toExponential(e.decimals.passive).split("e"):t.toExponential().split("e"),t=Number(u[0]),r="e"+u[1],e.modSpacing&&(r=" "+r)}else if(0===e.decimals.passive)t=Math.round(t);else if(e.decimals.passive>0){var l=Math.pow(10,e.decimals.passive);t=Math.round(t*l)/l}var c="",p=h.numberToString(t).split("."),d=p[0];if(d.length<e.thousands.active&&(d=Array(e.thousands.active-d.length+1).join("0")+d),e.thousands.interval>0){for(var f=[],g=d.split("").reverse().join(""),y=0,m=d.length;y<=m;y+=e.thousands.interval){var b=g.substr(y,e.thousands.interval).split("").reverse().join("");""!==b&&f.unshift(b)}d=f.join(e.thousands.separator)}c+=d,1===p.length&&p.push("");var v=p[1];return v.length<e.decimals.active&&(v+=Array(e.decimals.active-v.length+1).join("0")),""!==v&&(c+=e.decimals.separator+v),""===c&&(c="0"),0!==t&&i&&-1===o.indexOf("s")&&(c="-"+c),n&&(c=n+c),r&&(c+=r),c},e.prototype.applyPrefix=function(t,e){for(var i=t,n="",r="",o=0,a=e.length;o<a;o++)e[o].number<=t&&(i=0===e[o].number?0:t/e[o].number,n=e[o].prefix,r=e[o].suffix);return[i,n,r]},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},Object.defineProperty(e.prototype,"numberFormat",{get:function(){return this._numberFormat},set:function(t){this._numberFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bigNumberPrefixes",{get:function(){return c.hasValue(this._bigNumberPrefixes)||(this._bigNumberPrefixes=[{number:1e3,suffix:this.language.translate("_big_number_suffix_3")},{number:1e6,suffix:this.language.translate("_big_number_suffix_6")},{number:1e9,suffix:this.language.translate("_big_number_suffix_9")},{number:1e12,suffix:this.language.translate("_big_number_suffix_12")},{number:1e15,suffix:this.language.translate("_big_number_suffix_15")},{number:1e18,suffix:this.language.translate("_big_number_suffix_18")},{number:1e21,suffix:this.language.translate("_big_number_suffix_21")},{number:1e24,suffix:this.language.translate("_big_number_suffix_24")}]),this._bigNumberPrefixes},set:function(t){this._bigNumberPrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"smallNumberPrefixes",{get:function(){return c.hasValue(this._smallNumberPrefixes)||(this._smallNumberPrefixes=[{number:1e-24,suffix:this.language.translate("_small_number_suffix_24")},{number:1e-21,suffix:this.language.translate("_small_number_suffix_21")},{number:1e-18,suffix:this.language.translate("_small_number_suffix_18")},{number:1e-15,suffix:this.language.translate("_small_number_suffix_15")},{number:1e-12,suffix:this.language.translate("_small_number_suffix_12")},{number:1e-9,suffix:this.language.translate("_small_number_suffix_9")},{number:1e-6,suffix:this.language.translate("_small_number_suffix_6")},{number:.001,suffix:this.language.translate("_small_number_suffix_3")}]),this._smallNumberPrefixes},set:function(t){this._smallNumberPrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bytePrefixes",{get:function(){return c.hasValue(this._bytePrefixes)||(this._bytePrefixes=[{number:0,suffix:this.language.translate("_byte_suffix_B")},{number:1024,suffix:this.language.translate("_byte_suffix_KB")},{number:1048576,suffix:this.language.translate("_byte_suffix_MB")},{number:1073741824,suffix:this.language.translate("_byte_suffix_GB")},{number:1099511627776,suffix:this.language.translate("_byte_suffix_TB")},{number:0x4000000000000,suffix:this.language.translate("_byte_suffix_PB")}]),this._bytePrefixes},set:function(t){this._bytePrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e.prototype.escape=function(t){return t.replace("||",u.e)},e.prototype.unescape=function(t){return t.replace(u.e,"|")},e}(o.a);s.b.registeredClasses.NumberFormatter=p}
20,function(t,e,i){"use strict";e.a={_decimalSeparator:".",_thousandSeparator:",",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(t){var e="th";if(t<11||t>13)switch(t%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd"}return e},"Zoom Out":"",Play:"",Stop:"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""}}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i(0),r=i(60),o=i(21),a=i(92),s=i(1),u=i(68),l=i(18),h=i(6),c=i(3),p=i(4),d=function(t){function e(){var e=t.call(this)||this;return e._negativeBase=0,e._baseUnit="second",e._outputFormat="svg",e._unitValues={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6},e._unitAliases={Y:"y",D:"d",H:"h",K:"h",k:"h",n:"S"},e.className="DurationFormatter",e.applyTheme(),e}return n.c(e,t),e.prototype.format=function(t,e,i){this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a);var n=i||this._baseUnit;void 0!==e&&""!==e||(e=c.hasValue(this.durationFormat)?this.durationFormat:this.getFormat(c.toNumber(t),null,n)),e=h.cleanFormat(e);var o,a=this.parseFormat(e,n),s=Number(t);o=s>this._negativeBase?a.positive:s<this._negativeBase?a.negative:a.zero;var u=this.applyFormat(s,o);return""!==o.color&&("svg"===this._outputFormat?u="<tspan fill='"+o.color+"'>"+u+"</tspan>":"html"===this._outputFormat&&(u="<span style='color: "+o.color+";'>"+u+"</span>")),u},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(c.hasValue(n))return n;var r=e||this._baseUnit,o={positive:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1}},s=(t=t.replace("||",u.e)).split("|");return o.positive.source=s[0],void 0===s[2]?o.zero=o.positive:o.zero.source=s[2],void 0===s[1]?o.negative=o.positive:o.negative.source=s[1],l.each(o,function(t,e){if(!e.parsed)if(void 0===i.getCache(e.source)){var n,r=e.source;(n=e.source.match(/^\[([^\]]*)\]/))&&n.length&&""!==n[0]&&(r=e.source.substr(n[0].length),e.color=n[1]);for(var s=Object(a.b)().chunk(r,!0),l=0;l<s.length;l++){var h=s[l];if(h.text=h.text.replace(u.e,"|"),"value"===h.type){h.text.match(/[yYMdDwhHKkmsSn]+a/)&&(e.absolute=!0,h.text=h.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));var p=h.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(p)for(var d=0;d<p.length;d++)c.hasValue(p[d])||(p[d]=i._unitAliases[p[d]]),e.parts.push(p[d]),h.text=h.text.replace(p[d],u.d)}e.template+=h.text}i.setCache(e.source,e),e.parsed=!0}else o[t]=i.getCache(e.source)}),this.setCache(t,o),o},e.prototype.applyFormat=function(t,e){var i=!e.absolute&&t<this._negativeBase;t=Math.abs(t);for(var n=this.toTimeStamp(t,e.baseUnit),r=e.template,o=0,a=e.parts.length;o<a;o++){var s=e.parts[o],l=this.toTimeUnit(s.substr(0,1)),c=s.length,p=Math.floor(n/this._unitValues[l]);r=r.replace(u.d,h.padString(p,c,"0")),n-=p*this._unitValues[l]}return i&&(r="-"+r),r},e.prototype.toTimeStamp=function(t,e){return t*this._unitValues[e]},e.prototype.toTimeUnit=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year"}},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},Object.defineProperty(e.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(t){this._baseUnit=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e.prototype.getFormat=function(t,e,i){if(c.hasValue(this.durationFormat))return this.durationFormat;if(i||(i=this.baseUnit),c.hasValue(e)&&t!=e){t=Math.abs(t),e=Math.abs(e);var n=this.getValueUnit(p.max(t,e),i);return this.durationFormats[i][n]}var r=this.getValueUnit(t,i);return this.durationFormats[i][r]},e.prototype.getValueUnit=function(t,e){var i;e||(e=this.baseUnit);var n=this.getMilliseconds(t,e);return l.eachContinue(this._unitValues,function(t,r){if(t==e||i){if(n/r<=1)return i||(i=t),!1;i=t}return!0}),i},e.prototype.getMilliseconds=function(t,e){return e||(e=this.baseUnit),t*this._unitValues[e]},Object.defineProperty(e.prototype,"durationFormat",{get:function(){return this._durationFormat},set:function(t){this._durationFormat!=t&&(this._durationFormat=t,this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormats",{get:function(){return this._durationFormats||(this._durationFormats={millisecond:{millisecond:this.language.translate("_duration_millisecond"),second:this.language.translate("_duration_millisecond_second"),minute:this.language.translate("_duration_millisecond_minute"),hour:this.language.translate("_duration_millisecond_hour"),day:this.language.translate("_duration_millisecond_day"),week:this.language.translate("_duration_millisecond_week"),month:this.language.translate("_duration_millisecond_month"),year:this.language.translate("_duration_millisecond_year")},second:{second:this.language.translate("_duration_second"),minute:this.language.translate("_duration_second_minute"),hour:this.language.translate("_duration_second_hour"),day:this.language.translate("_duration_second_day"),week:this.language.translate("_duration_second_week"),month:this.language.translate("_duration_second_month"),year:this.language.translate("_duration_second_year")},minute:{minute:this.language.translate("_duration_minute"),hour:this.language.translate("_duration_minute_hour"),day:this.language.translate("_duration_minute_day"),week:this.language.translate("_duration_minute_week"),month:this.language.translate("_duration_minute_month"),year:this.language.translate("_duration_minute_year")},hour:{hour:this.language.translate("_duration_hour"),day:this.language.translate("_duration_hour_day"),week:this.language.translate("_duration_hour_week"),month:this.language.translate("_duration_hour_month"),year:this.language.translate("_duration_hour_year")},day:{day:this.language.translate("_duration_day"),week:this.language.translate("_duration_day_week"),month:this.language.translate("_duration_day_month"),year:this.language.translate("_duration_day_year")},week:{week:this.language.translate("_duration_week"),month:this.language.translate("_duration_week_month"),year:this.language.translate("_duration_week_year")},month:{month:this.language.translate("_duration_month"),year:this.language.translate("_duration_month_year")},year:{year:this.language.translate("_duration_year")}}),this._durationFormats},set:function(t){this._durationFormats=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),e}(o.a);s.b.registeredClasses.DurationFormatter=d}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return O});var n=i(0),r=i(227),o=i(28),a=i(158),s=i(11),u=i(26),l=i(107),h=i(60),c=i(159),p=i(14),d=i(1),f=i(67),g=i(35),y=i(18),m=i(228),b=i(3),v=i(6),_=i(16),x=/src: ([^;]+);/;function P(t,e){return n.b(this,void 0,void 0,function(){var i,r;return n.d(this,function(n){switch(n.label){case 0:return[4,m.a(t)];case 1:i=n.sent(),(r=document.createElement("style")).textContent=i.response,document.head.appendChild(r),n.label=2;case 2:return n.trys.push([2,,4,5]),[4,e(r.sheet)];case 3:return[2,n.sent()];case 4:return document.head.removeChild(r),[7];case 5:return[2]}})})}function w(t,e,i){return n.b(this,void 0,void 0,function(){var r,o,a;return n.d(this,function(n){switch(n.label){case 0:for(r=[],o=function(n){var o=e.cssRules[n];if(o.type===CSSRule.IMPORT_RULE){var a=o.href;a&&(a=v.joinUrl(t,a),r.push(P(a,function(t){return w(a,t,i)})))}else i(t,o)},a=0;a<e.cssRules.length;a++)o(a);return r.length?[4,Promise.all(r)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})}var O=function(t){function e(e){var i=t.call(this)||this;return i.adapter=new o.a(i),i._formatOptions=new u.a,i._removedObjects=new s.b,i._hiddenObjects=[],i._filePrefix="amCharts",i.useWebFonts=!0,i.useRetina=!0,i.timeoutDelay=2e3,i._container=e,i.className="Export",i._formatOptions.setKey("png",{}),i._formatOptions.setKey("jpg",{quality:.8}),i._formatOptions.setKey("gif",{}),i._formatOptions.setKey("svg",{}),i._formatOptions.setKey("pdf",{fontSize:14,imageFormat:"png",addURL:!0}),i._formatOptions.setKey("json",{indent:2,useLocale:!0}),i._formatOptions.setKey("csv",{addColumnNames:!0}),i._formatOptions.setKey("xlsx",{addColumnNames:!0,useLocale:!0}),i._formatOptions.setKey("print",{delay:500,printMethod:"iframe"}),i.adapter.add("options",function(t){var e=i._formatOptions.getKey(t.type);return t.options?t.options=y.merge(t.options,e):t.options=e,t}),i.applyTheme(),i.dispatchImmediately("inited"),i}return n.c(e,t),Object.defineProperty(e.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;this._menu&&this.removeDispose(this._menu),this._menu=t,this._menu.container=this.container,this._menu.language=this._language,this._menu.adapter.add("branch",function(t){return t.branch.unsupported=!e.typeSupported(t.branch.type),t}),this._menu.events.on("hit",function(t){e.export(t.branch.type,t.branch.options),e.menu.close()}),this._menu.events.on("enter",function(t){e.export(t.branch.type,t.branch.options),e.menu.close()}),this._menu.events.on("over",function(t){e._disablePointers()}),this._menu.events.on("out",function(t){e._releasePointers()}),this.dispatchImmediately("menucreated"),this._menu.adapter.add("classPrefix",function(t){return t.classPrefix=f.a.classNamePrefix+t.classPrefix,t}),this._disposers.push(this._menu)},enumerable:!0,configurable:!0}),e.prototype.typeSupported=function(t){var e=!0;return"pdf"===t?e=this.downloadSupport():"xlsx"===t?e=!(!this.downloadSupport()||!this.data):("print"!=t||window.print)&&(-1===["json","csv"].indexOf(t)||this.data)||(e=!1),this.adapter.apply("supported",{supported:e,type:t}).supported},e.prototype._getFunction=function(t){switch(t){case"png":case"gif":case"jpg":return this.getImage;case"svg":return this.getSVG;case"pdf":return this.getPDF;case"xlsx":return this.getExcel;case"csv":return this.getCSV;case"json":return this.getJSON;case"print":return this.getPrint;default:return this.unsupported}},e.prototype.export=function(t,e){return n.b(this,void 0,void 0,function(){var i,r,o,a,s,u=this;return n.d(this,function(n){switch(n.label){case 0:return this.events.isEnabled("exportstarted")&&(i={type:"exportstarted",target:this,format:t,options:e},this.events.dispatchImmediately("exportstarted",i)),"custom"==t?(this.handleCustom(e),[2,!0]):(this.showPreloader(),this.timeoutDelay&&(this.hideTimeout(),this._timeoutTimeout=this.setTimeout(function(){if(u.events.isEnabled("exporttimedout")){var i={type:"exporttimedout",target:u,format:t,options:e};u.events.dispatchImmediately("exporttimedout",i)}u.showTimeout()},this.timeoutDelay)),this.hideNonExportableSprites(),r=this._getFunction(t),e=this.adapter.apply("options",{options:e,type:t}).options,[4,(r=this.adapter.apply("exportFunction",{func:r,type:t,options:e}).func).call(this,t,e)]);case 1:return o=n.sent(),this.restoreNonExportableSprites(),o?(this.events.isEnabled("exportfinished")&&(a={type:"exportfinished",target:this,format:t,options:e},this.events.dispatchImmediately("exportfinished",a)),this.hidePreloader(),this.hideTimeout(),"print"===t?[2,this.print(
20o,e,this.adapter.apply("title",{title:this.title,options:e}).title)]:[2,this.download(o,this.filePrefix+"."+t)]):(this.events.isEnabled("error")&&(s={type:"error",target:this,format:t,options:e},this.events.dispatchImmediately("error",s)),[2,!1])}})})},e.prototype.unsupported=function(t,e){return n.b(this,void 0,void 0,function(){return n.d(this,function(t){return[2,""]})})},e.prototype.handleCustom=function(t){b.hasValue(t.callback)&&t.callback.call(this,t)},e.prototype.getPrint=function(t,e){return n.b(this,void 0,void 0,function(){return n.d(this,function(t){return[2,this.getImage("png",e)]})})},e.prototype.getFontFamilies=function(){return n.b(this,void 0,void 0,function(){var t,e,i,r,o=this;return n.d(this,function(a){switch(a.label){case 0:return t=this.getDOMURL(),e=[],i=[],[4,function(t){return n.b(this,void 0,void 0,function(){return n.d(this,function(e){switch(e.label){case 0:return[4,Promise.all(_.map(document.styleSheets,function(e){var i=e.href;return null==i?w(location.href,e,t):P(i=v.joinUrl(location.href,i),function(e){return w(i,e,t)})}))];case 1:return e.sent(),[2]}})})}(function(r,a){if(a.type===CSSRule.FONT_FACE_RULE){var s=a.cssText,u=x.exec(s);if(null!==u){var l=u[1].split(/ *, */).map(function(i){return n.b(o,void 0,void 0,function(){var o,a,s,u,l,h;return n.d(this,function(n){switch(n.label){case 0:return null!==(o=/^url\(["']?([^"'\)]+)["']?\)([^,]*)$/.exec(i))?[3,1]:[2,i];case 1:a=o[2],s=v.joinUrl(r,o[1]),n.label=2;case 2:return n.trys.push([2,7,,8]),[4,m.a(s,void 0,{responseType:"blob"})];case 3:return u=n.sent(),null==window.navigator.msSaveOrOpenBlob?[3,4]:(l=t.createObjectURL(u.blob),e.push(l),[3,6]);case 4:return[4,(c=u.blob,new Promise(function(t,e){var i=new FileReader;i.onload=function(e){t(i.result)},i.onerror=function(t){e(t)},i.readAsDataURL(c)}))];case 5:l=n.sent(),n.label=6;case 6:return[2,'url("'+l+'")'+a];case 7:return h=n.sent(),console.error("Failed to load font",s,h),[2,null];case 8:return[2]}var c})})});i.push(Promise.all(l).then(function(t){return 0===(t=t.filter(function(t){return null!=t})).length?"":s.replace(x,"src: "+t.join(", ")+";")}))}}})];case 1:return a.sent(),[4,Promise.all(i)];case 2:return r=a.sent(),[2,{blobs:e,cssText:r.filter(function(t){return!!t}).join("\n")}]}})})},e.prototype.getImage=function(t,e){return n.b(this,void 0,void 0,function(){var i,r,o,a,s,u,l,h,c,p,d,f,g,y,m,v,x;return n.d(this,function(n){switch(n.label){case 0:return[4,this.simplifiedImageExport()];case 1:if(!n.sent())return[3,9];i=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),r=this.getDOMURL(),o=null,a=null,n.label=2;case 2:return n.trys.push([2,5,7,8]),s=this.sprite.pixelWidth,u=this.sprite.pixelHeight,l=this.findFont(this.sprite.dom),h=this.findFontSize(this.sprite.dom),c=this.getDisposableCanvas(),p=this.getPixelRatio(),c.style.width=s+"px",c.style.height=u+"px",c.width=s*p,c.height=u*p,d=c.getContext("2d"),1!=p&&d.setTransform(p,0,0,p,0,0),i&&(d.fillStyle=i.toString(),d.fillRect(0,0,s,u)),f=[],this.useWebFonts&&f.push(this.getFontFamilies().then(function(t){return a=t.blobs,t.cssText})),f.push(this.imagesToDataURI(this.sprite.dom,e)),f.push(this.prepForeignObjects(this.sprite.dom,e)),[4,Promise.all(f)];case 3:return g=n.sent(),y=this.normalizeSVG("<style>"+g[0]+"</style>"+this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,s,u,l,h),m=new Blob([y],{type:"image/svg+xml"}),o=r.createObjectURL(m),[4,this.loadNewImage(o,s,u,"anonymous")];case 4:return v=n.sent(),d.drawImage(v,0,0),b.hasValue(e)||(e={}),x=c.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(c),[2,x];case 5:return n.sent(),[4,this.getImageAdvanced(t,e)];case 6:return[2,n.sent()];case 7:return null!==o&&r.revokeObjectURL(o),null!==a&&_.each(a,function(t){r.revokeObjectURL(t)}),this.restoreRemovedObjects(),[7];case 8:return[3,11];case 9:return[4,this.getImageAdvanced(t,e)];case 10:return[2,n.sent()];case 11:return[2]}})})},e.prototype.getImageAdvanced=function(t,e){return n.b(this,void 0,void 0,function(){var i,r,o,a,s,u,l,h,c,p,d;return n.d(this,function(n){switch(n.label){case 0:return[4,this.imagesToDataURI(this.sprite.dom,e)];case 1:return n.sent(),i=this.backgroundColor||this.findBackgroun
20dColor(this.sprite.dom),[4,this.canvg];case 2:return r=n.sent(),o=this.sprite.pixelWidth,a=this.sprite.pixelHeight,s=this.findFont(this.sprite.dom),u=this.findFontSize(this.sprite.dom),l=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,o,a,s,u,i),h=this.getDisposableCanvas(),c=this.getPixelRatio(),h.style.width=o*c+"px",h.style.height=a*c+"px",h.width=o*c,h.height=a*c,p={useCORS:!0},1!=c&&(p.ignoreDimensions=!0,p.scaleWidth=o*c,p.scaleHeight=a*c),r(h,l,p),b.hasValue(e)||(e={}),d=h.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(h),[2,d]}})})},e.prototype.getDisposableCanvas=function(){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="-10000px",document.body.appendChild(t),t},e.prototype.disposeCanvas=function(t){document.body.removeChild(t)},e.prototype.getPixelRatio=function(){return this.useRetina?v.getPixelRatio():1},e.prototype.imagesToDataURI=function(t,i){return n.b(this,void 0,void 0,function(){var r,o,a,s,u,l;return n.d(this,function(n){switch(n.label){case 0:if(!(r=t.querySelectorAll("image")).length)return[3,2];for(o=[],a=r.length,s=0;s<a;s++)u=r[s],-1!==(l=u.getAttributeNS(e.XLINK,"href")).indexOf("data:image")||(-1!==l.indexOf(".svg")?o.push(this.svgToDataURI(u,i)):o.push(this.imageToDataURI(u,i)));return[4,Promise.all(o)];case 1:return n.sent(),[2];case 2:return[2]}})})},e.prototype.prepForeignObjects=function(t,e){return n.b(this,void 0,void 0,function(){var e,i,r;return n.d(this,function(n){if((e=t.querySelectorAll("foreignObject")).length)for(i=e.length,r=0;r<i;r++)this.temporarilyRemoveObject(e[r]);return[2]})})},e.prototype.imageToDataURI=function(t,i){return n.b(this,void 0,void 0,function(){var r,o,a;return n.d(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.loadNewImage(t.getAttributeNS(e.XLINK,"href"),null,null,"anonymous")];case 1:r=n.sent(),(o=document.createElement("canvas")).width=r.width,o.height=r.height,o.getContext("2d").drawImage(r,0,0);try{return a=o.toDataURL(),t.setAttribute("href",a),[2,a]}catch(e){return!1!==i.keepTainted&&this.temporarilyRemoveObject(t),[2,void 0]}return[3,3];case 2:return n.sent(),i&&!1===i.keepTainted||this.temporarilyRemoveObject(t),[2,void 0];case 3:return[2]}})})},e.prototype.svgToDataURI=function(t,i){return n.b(this,void 0,void 0,function(){var r,o,a,s;return n.d(this,function(n){switch(n.label){case 0:r=t.getAttributeNS(e.XLINK,"href"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,m.a(r)];case 2:return o=n.sent(),a=this.adapter.apply("charset",{charset:"base64",type:"svg",options:i}).charset,s=this.adapter.apply("svgToDataURI",{data:"data:"+this.getContentType("svg")+";"+a+","+btoa(o.response),options:i}).data,t.setAttributeNS(e.XLINK,"href",s),[2,s];case 3:return n.sent(),i&&!1===i.keepTainted||this.temporarilyRemoveObject(t),[2,void 0];case 4:return[2]}})})},e.prototype.temporarilyRemoveObject=function(t,e){var i=t.parentElement||t.parentNode;e||(e=this.sprite.paper.add("g").node),i.insertBefore(e,t),t.textContent,i.removeChild(t),this._removedObjects.push({element:t,placeholder:e})},e.prototype.restoreRemovedObjects=function(){for(var t;t=this._removedObjects.pop();){(t.placeholder.parentElement||t.placeholder.parentNode).insertBefore(t.element,t.placeholder)}},e.prototype.simplifiedImageExport=function(){return n.b(this,void 0,void 0,function(){var t,e,i,r,o,a,s;return n.d(this,function(n){switch(n.label){case 0:if(!1===(t=d.b.getCache("simplifiedImageExport"))||!0===t)return[2,t];n.label=1;case 1:return n.trys.push([1,3,,4]),(e=document.createElement("canvas")).width=1,e.height=1,i=e.getContext("2d"),r=this.getDOMURL(),o=new Blob([this.normalizeSVG("<g></g>",{},1,1)],{type:"image/svg+xml"}),a=r.createObjectURL(o),[4,this.loadNewImage(a,1,1)];case 2:s=n.sent(),i.drawImage(s,0,0),r.revokeObjectURL(a);try{return d.b.setCache("simplifiedImageExport",!0),[2,!0]}catch(t){return d.b.setCache("simplifiedImageExport",!1),[2,!1]}return[3,4];case 3:return n.sent(),d.b.setCache("simplifiedImageExport",!1),[2,!1];case 4:return[2]}})})}
20,e.prototype.loadNewImage=function(t,e,i,n){return new Promise(function(r,o){var a;function s(){if(n){var e=a.src;a.onerror=function(){o(new Error('Loading image "'+t+'" failed'))},a.removeAttribute("crossorigin"),a.src="",a.src=e}else o(new Error('Loading image "'+t+'" failed'))}a=e&&i?new Image(e,i):new Image,n&&a.setAttribute("crossOrigin",n),a.onload=function(){r(a)},a.onabort=s,a.onerror=s,a.src=t})},e.prototype.getDOMURL=function(){return self.URL||self.webkitURL||self},e.prototype.getSVG=function(t,e){return n.b(this,void 0,void 0,function(){var i,r,o,a,s,u;return n.d(this,function(n){return i=this.sprite.pixelWidth,r=this.sprite.pixelHeight,o=this.findFont(this.sprite.dom),a=this.findFontSize(this.sprite.dom),s=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,i,r,o,a),u=this.adapter.apply("charset",{charset:"charset=utf-8",type:"svg",options:e}).charset,[2,this.adapter.apply("getSVG",{data:"data:"+this.getContentType(t)+";"+u+","+encodeURIComponent(s),options:e}).data]})})},e.prototype.normalizeSVG=function(t,e,i,n,r,o,a){var s="";i&&(s+='width="'+i+'px" '),n&&(s+='height="'+n+'px" ');var u="";return r&&(u+="font-family: "+r.replace(/"/g,"")+";"),o&&(u+="font-size: "+o+";"),t.match(/<svg/)?""!==s&&(t=(t=(t=t.replace(/(<svg[^>]*)width="[^"]*"/,"$1")).replace(/(<svg[^>]*)height="[^"]*"/,"$1")).replace(/(<svg)/,"$1"+s)):t='<?xml version="1.0" encoding="utf-8"?><svg '+s+' style="'+u+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+t+"</svg>",a&&(t=t.replace(/(<svg[^>]*>)/,'$1<rect width="100%" height="100%" fill="'+a.rgba+'"/>')),t=this.adapter.apply("normalizeSVG",{data:t,options:e}).data},e.prototype.serializeElement=function(t){return(new XMLSerializer).serializeToString(t)},e.prototype.getPDF=function(t,e){return n.b(this,void 0,void 0,function(){var t,i,r,o,a;return n.d(this,function(n){switch(n.label){case 0:return[4,this.getImage(e.imageFormat||"png",e)];case 1:return t=n.sent(),[4,this.pdfmake];case 2:return i=n.sent(),r=[30,30,30,30],o={pageSize:e.pageSize||"A4",pageOrientation:e.pageOrientation||"portrait",pageMargins:e.pageMargins||r,content:[]},(a=this.adapter.apply("title",{title:this.title,options:e}).title)&&o.content.push({text:a,fontSize:e.fontSize,bold:!0,margin:[0,0,0,15]}),e.addURL&&o.content.push({text:this.language.translate("Saved from")+": "+document.location.href,fontSize:e.fontSize,margin:[0,0,0,15]}),o.content.push({image:t,fit:this.getPageSizeFit(o.pageSize,o.pageMargins)}),o=this.adapter.apply("pdfmakeDocument",{doc:o,options:e}).doc,[4,new Promise(function(t,e){i.createPdf(o).getDataUrl(function(e){t(e)})})];case 3:return[2,n.sent()]}})})},e.prototype.getPageSizeFit=function(t,e){var i=[0,0,0,0];"number"==typeof e?i=[e,e,e,e]:2==e.length?i=[e[0],e[1],e[0],e[1]]:4==e.length&&(i=e);var n={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]}[t];return n[0]-=i[0]+i[2],n[1]-=i[1]+i[3],n},e.prototype.getExcel=function(t,e){return n.b(this,void 0,void 0,function(){var i,r,o,a,s,u,l;return n.d(this,function(n){switch(n.label){case 0:return[4,this.xlsx];case 1:for(i=n.sent(),r=this.adapter.apply("xlsxWorkbookOptions",{options:{bookType:"xlsx",bookSST:!1,type:"base64"}}).options,o=this.normalizeExcelSheetName(this.adapter.apply("xlsxSheetName",{name:this.title||this.language.translate("Data")}).name),a={SheetNames:[o],Sheets:{}},s=[],e.addColumnNames&&s.push(this.getExcelRow(this.dataFields,e)),u=this.data.length,l=0;l<u;l++)s.push(this.getExcelRow(this.data[l],e));return a.Sheets[o]=i.utils.aoa_to_sheet(s),[2,this.adapter.apply("getExcel",{data:"data:"+this.getContentType(t)+";base64,"+i.write(a,r),options:e}).data]}})})},e.prototype.normalizeExcelSheetName=function(t){return t=t.replace(/([:\\\/?*\[\]]+)/g," "),v.truncateWithEllipsis(t,31,"...",!0)},e.prototype.getExcelRow=function(t,e){var i=this,n=[];return y.each(t,function(t,r){n.push(i.convertDateValue(t,r,e))}),n},e.prototype.getCSV=function(t,e){return n.b(this,void 0,void 0,function(){var i,r,o,a,s,u;return n.d(this,function(n){for(i="",r="",o=this.data.length,a=0;a<o;a++)s=this.getCSVRow(this.data[a],e),e.reverse?i=s+r+i:i+=r+s,r="\n";return e.addColumnNames&&(i=this.getCSVRow(this.dataFields,e)+r+i),u=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,[2,this.adapter.apply("getCSV",{data:"data:"+this.getContentType(t)+";"+u+","+encodeURIComponent(i),options:e}).data]})})},e.prototype.getCSVRow=function(t,e){var i=this,n=e.separator||",",r=[];return y.each(t,function(t,o){var a=i.convertDateValue(t,o,e);a=(a=""+a).replace(/"/g,'""'),(e.forceQuotes||a.search(new RegExp('"|\n|'+n,"g"))>=0)&&(a='"'+a+'"'),r.push(a)}),r.join(n)},e.prototype.getJSON=function(t,e){return n.b(this,void 0,void 0,function(){var i,r,o=this;return n.d(this,function(n){return i=JSON.stringify(this.data,function(t,i){return"object"==typeof i&&y.each(i,function(t,n){i[t]=o.convertDateValue(t,n,e)}),i},e.indent),r=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,[2,this.adapter.apply("getJSON",{data:"data:"+this.getContentType(t)+";"+r+","+encodeURIComponent(i),options:e}).data]})})}
20,e.prototype.convertDateValue=function(t,e,i){return"number"==typeof e&&this.isDateField(t)&&(e=new Date(e)),e instanceof Date&&(e=i.useTimestamps?e.getTime():i.useLocale?e.toLocaleString():this.dateFormatter.format(e,this.dateFormat)),e},e.prototype.download=function(t,e){return n.b(this,void 0,void 0,function(){var i,r,o,a,s,u,l,h,c,p;return n.d(this,function(n){if(this.linkDownloadSupport()&&!this.blobDownloadSupport())(i=document.createElement("a")).download=e,i.href=t,document.body.appendChild(i),i.click(),document.body.removeChild(i);else if(b.hasValue(window.navigator.msSaveBlob)){if(l=t.split(";"),h=l.shift().replace(/data:/,""),t=decodeURIComponent(l.join(";").replace(/^[^,]*,/,"")),-1==["image/svg+xml","application/json","text/csv"].indexOf(h))try{r=atob(t),t=r}catch(t){return[2,!1]}for(o=new Array(t.length),a=0;a<t.length;++a)s=t.charCodeAt(a),o[a]=s;u=new Blob([new Uint8Array(o)],{type:h}),window.navigator.msSaveBlob(u,e)}else this.legacyIE()&&4===(l=t.match(/^data:(.*);[ ]*([^,]*),(.*)$/)).length&&("base64"==l[2]?l[1].match(/^image\//)&&this.showModal('<img src="'+t+'" style="float: left; max-width: 50%; max-height: 80%; margin: 0 1em 0.5em 0; border: 1px solid #eee;" /><p>'+this.language.translate('To save the image, right-click thumbnail on the left and choose "Save picture as..."')+'</p><p style="text-align: center;"><small>'+this.language.translate("(Press ESC to close this message)")+"</small></p>",this.language.translate("Image Export Complete")):(h=void 0,e.match(/\.svg$/)?h="image/svg+xml":(h="text/plain",e+=".txt"),(c=document.createElement("iframe")).width="1px",c.height="1px",c.style.display="none",document.body.appendChild(c),(p=c.contentDocument).open(h,"replace"),p.write(decodeURIComponent(l[3])),p.close(),p.execCommand("SaveAs",!0,e),document.body.removeChild(c)));return[2,!0]})})},e.prototype.downloadSupport=function(){return this.linkDownloadSupport()||this.blobDownloadSupport()},e.prototype.linkDownloadSupport=function(){var t=d.b.getCache("linkDownloadSupport");if(!1===t||!0===t)return t;var e=void 0!==document.createElement("a").download;return d.b.setCache("linkDownloadSupport",e),e},e.prototype.blobDownloadSupport=function(){return b.hasValue(window.navigator.msSaveOrOpenBlob)},e.prototype.legacyIE=function(){var t=document.createElement("div");return t.innerHTML="\x3c!--[if lt IE 10]><i></i><![endif]--\x3e",1==t.getElementsByTagName("i").length},e.prototype.print=function(t,e,i){return n.b(this,void 0,void 0,function(){return n.d(this,function(n){return"css"==e.printMethod?[2,this.printViaCSS(t,e,i)]:[2,this.printViaIframe(t,e,i)]})})},e.prototype.printViaCSS=function(t,e,i){return n.b(this,void 0,void 0,function(){var r,o,a,s;return n.d(this,function(n){return r=document.documentElement.scrollTop||document.body.scrollTop,o=new g.c("body > *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"}),i&&document&&document.title&&(a=document.title,document.title=i),(s=new Image).src=t,s.style.maxWidth="100%",s.style.display="block",s.style.position="relative",s.style.visibility="visible",s.style.opacity="1",s.style.clipPath="none",document.body.appendChild(s),this.setTimeout(function(){window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(s),o.dispose(),a&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=r},e.delay||500),[2,!0]})})},e.prototype.printViaIframe=function(t,e,i){return n.b(this,void 0,void 0,function(){var r,o;return n.d(this,function(n){return(r=document.createElement("iframe")).style.visibility="hidden",document.body.appendChild(r),r.contentWindow.document.open(),r.contentWindow.document.close(),(o=new Image).src=t,o.style.maxWidth="100%",i&&(r.contentWindow.document.title=i),r.contentWindow.document.body.appendChild(o),r.load=function(){r.contentWindow.document.body.appendChild(o)},this.setTimeout(function(){try{r.contentWindow.document.execCommand("print",!1,null)||r.contentWindow.print()}catch(t){r.contentWindow.print()}},e.delay||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(r)},e.delay+50||100),[2,!0]})})}
20,e.prototype.findBackgroundColor=function(t){var e=1,i="";if(t.currentStyle?i=t.currentStyle["background-color"]:window.getComputedStyle&&(i=document.defaultView.getComputedStyle(t,null).getPropertyValue("background-color")),(i.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||"transparent"==i)&&(e=0),0==e){var n=t.parentElement;return n?this.findBackgroundColor(n):Object(p.c)("#fff")}return Object(p.c)(i,e)},e.prototype.findFont=function(t){var e="";if(t.currentStyle?e=t.currentStyle["font-family"]:window.getComputedStyle&&(e=document.defaultView.getComputedStyle(t,null).getPropertyValue("font-family")),e)return e;var i=t.parentElement||t.parentNode;return i?this.findFont(i):void 0},e.prototype.findFontSize=function(t){var e="";if(t.currentStyle?e=t.currentStyle["font-size"]:window.getComputedStyle&&(e=document.defaultView.getComputedStyle(t,null).getPropertyValue("font-size")),e)return e;var i=t.parentElement||t.parentNode;return i?this.findFont(i):void 0},Object.defineProperty(e.prototype,"container",{get:function(){return this.adapter.apply("container",{container:this._container}).container},set:function(t){this._container=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sprite",{get:function(){return this.adapter.apply("sprite",{sprite:this._sprite}).sprite},set:function(t){this._sprite=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.adapter.apply("data",{data:this._data}).data},set:function(t){this._data=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataFields",{get:function(){return this._dataFields||this.generateDataFields(),this.adapter.apply("dataFields",{dataFields:this._dataFields}).dataFields},set:function(t){this._dataFields=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter||(this._dateFormatter=new l.a),this.adapter.apply("dateFormatter",{dateFormatter:this._dateFormatter}).dateFormatter},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this.adapter.apply("dateFormat",{dateFormat:this._dateFormat}).dateFormat},set:function(t){this._dateFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFields",{get:function(){return this._dateFields||(this._dateFields=new s.b),this.adapter.apply("dateFields",{dateFields:this._dateFields}).dateFields},set:function(t){this._dateFields=t},enumerable:!0,configurable:!0}),e.prototype.generateDataFields=function(){var t=this;if(this._dataFields={},this.data.length){var e=this.data[0];y.each(e,function(e,i){t._dataFields[e]=t.adapter.apply("dataFieldName",{name:e,field:e}).name})}},e.prototype.isDateField=function(t){return this.adapter.apply("isDateField",{isDateField:this.dateFields.contains(t),field:t}).isDateField},e.prototype.getContentType=function(t){var e="";switch(t){case"png":case"gif":e="image/"+t;break;case"jpg":e="image/jpeg";break;case"svg":e="image/svg+xml";break;case"csv":e="text/csv";break;case"json":e="application/json";break;case"pdf":e="application/pdf";break;case"xlsx":e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}return this.adapter.apply("contentType",{contentType:e,type:t}).contentType},Object.defineProperty(e.prototype,"filePrefix",{get:function(){return this.adapter.apply("filePrefix",{filePrefix:this._filePrefix}).filePrefix},set:function(t){this._filePrefix=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.adapter.apply("backgroundColor",{backgroundColor:this._backgroundColor}).backgroundColor},set:function(t){this._backgroundColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.adapter.apply("title",{title:this._title}).title},set:function(t){this._title=t},enumerable:!0,configurable:!0}),e.prototype.showPreloader=function(){var t=this.preloader;t&&(t.progress=.5,t.label.text="...")},e.prototype.hidePreloader=function(){var t=this.preloader;t&&(t.progress=1)},Object.defineProperty(e.prototype,"preloader",{get:function(){return this._sprite&&this._sprite.parent&&this._sprite.parent.preloader?this._sprite.parent.preloader:void 0},enumerable:!0,configurable:!0}),e.prototype.showTimeout=function(){this.showModal(this.adapter.apply("timeoutMessage",{message:this.language.translate("Export operation took longer than expected. Something might have gone wrong.")}).message)},e.prototype.hideTimeout=function(){this._timeoutTimeout&&(this.removeDispose(this._timeoutTimeout),this._timeoutTimeout=null),this.hideModal()}
20,Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this._language=new h.a),this._language},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modal",{get:function(){return this._modal||(this._modal=new a.a,this._modal.adapter.add("classPrefix",function(t){return t=f.a.classNamePrefix+t})),this._modal},enumerable:!0,configurable:!0}),e.prototype.showModal=function(t,e){this.hideModal(),this.hidePreloader();var i=this.modal;i.container=this.sprite.svgContainer.SVGContainer,i.content=t,i.readerTitle=e,i.open()},e.prototype.hideModal=function(){this._modal&&this.modal.close()},e.prototype._canvg=function(){return n.b(this,void 0,void 0,function(){return n.d(this,function(t){switch(t.label){case 0:return[4,i.e(3).then(i.bind(null,1215))];case 1:return[2,t.sent()]}})})},Object.defineProperty(e.prototype,"canvg",{get:function(){return this._canvg()},enumerable:!0,configurable:!0}),e.prototype._pdfmake=function(){return n.b(this,void 0,void 0,function(){var t,e,r,o;return n.d(this,function(n){switch(n.label){case 0:return[4,Promise.all([i.e(0).then(i.bind(null,1216)),i.e(0).then(i.bind(null,1217))])];case 1:return t=n.sent(),e=t[0],r=t[1],(o=window).pdfMake=o.pdfMake||{},o.pdfMake.vfs=r.default,e.vfs=r.default,[2,e]}})})},Object.defineProperty(e.prototype,"pdfmake",{get:function(){return this._pdfmake()},enumerable:!0,configurable:!0}),e.prototype._xlsx=function(){return n.b(this,void 0,void 0,function(){return n.d(this,function(t){switch(t.label){case 0:return[4,i.e(1).then(i.bind(null,1218))];case 1:return[2,t.sent()]}})})},Object.defineProperty(e.prototype,"xlsx",{get:function(){return this._xlsx()},enumerable:!0,configurable:!0}),e.prototype.setFormatOptions=function(t,e){this._formatOptions.setKey(t,e)},e.prototype.getFormatOptions=function(t){return this._formatOptions.getKey(t)},e.prototype._disablePointers=function(){b.hasValue(this._spriteInteractionsEnabled)||(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled),this.sprite.interactionsEnabled=!1},e.prototype._releasePointers=function(){b.hasValue(this._spriteInteractionsEnabled)&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled)},e.prototype.hideNonExportableSprites=function(){var t=this,e=this.sprite.svgContainer;e&&_.each(e.nonExportableSprites,function(e){e.isHidden||e.isHiding||t._hiddenObjects.push(e),e.hide(0)})},e.prototype.restoreNonExportableSprites=function(){_.each(this._hiddenObjects,function(t){t.show(0)}),this._hiddenObjects=[]},e.prototype.processConfig=function(e){d.b.registeredClasses.ExportMenu=r.a,e&&b.hasValue(e.menu)&&!b.hasValue(e.menu.type)&&(e.menu.type="ExportMenu"),t.prototype.processConfig.call(this,e)},e.XLINK="http://www.w3.org/1999/xlink",e}(c.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return y});var n=i(0),r=i(324),o=i(28),a=i(11),s=i(34),u=i(7),l=i(60),h=i(159),c=i(55),p=i(6),d=i(5),f=i(35),g=i(3),y=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e.closeDelay=1e3,e._language=new u.d,e._menuTag="ul",e._itemTag="li",e._labelTag="a",e._classPrefix="amexport",e._defaultStyles=!0,e._align="right",e._verticalAlign="top",e._tabindex=0,e._ignoreNextClose=!1,e._items=[{label:"...",menu:[{label:"Image",menu:[{type:"png",label:"PNG"},{type:"jpg",label:"JPG"},{type:"gif",label:"GIF"},{type:"svg",label:"SVG"},{type:"pdf",label:"PDF"}]},{label:"Data",menu:[{type:"json",label:"JSON"},{type:"csv",label:"CSV"},{type:"xlsx",label:"XLSX"}]},{label:"Print",type:"print"}]}],e.className="ExportMenu",e._disposers.push(e._language),e.invali
20date(),e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){this.draw(),t.prototype.validate.call(this)},e.prototype.draw=function(){var t=this;this._element?(this._element.innerHTML="",this._element.className=this.getMenuItemClass(0)):this._element=this.createMenuElement(0),this.defaultStyles&&(this._element.style.display="none"),g.getValue(this._container).appendChild(this._element),this._items=this.adapter.apply("items",{items:this._items}).items;for(var e=this._items.length,i=0;i<e;i++)this.drawBranch(this._element,this._items[i],0);this._element=this.adapter.apply("menuElement",{menuElement:this._element}).menuElement,this._disposers.push(Object(s.b)().body.events.on("down",function(e){e.pointer.touch||(t._ignoreNextClose=!1),t.close()})),this._disposers.push(Object(s.b)().body.events.on("keyup",function(e){var i=c.b.getEventKey(e.event);switch(i){case"esc":t.close();break;case"up":case"down":case"left":case"right":t.moveSelection(i)}})),this.defaultStyles&&this.loadDefaultCSS()},e.prototype.drawBranch=function(t,e,i){var n=this;if(!0!==(e=this.adapter.apply("branch",{branch:e,level:i}).branch).unsupported){e.ascendants||(e.ascendants=new a.b);var r=e.type,o=this.createItemElement(i,r),u=this.createLabelElement(i,r);u.innerHTML=e.label?this.language.translate(e.label):"";var l=this.getReaderLabel(e,u.innerHTML);u.setAttribute("aria-label",l),o.appendChild(u),e.interactions=Object(s.b)().getInteraction(u),this.typeClickable(r)&&(e.interactions.events.on("hit",function(t){if(n.events.isEnabled("hit")){var i={type:"hit",event:t.event,target:n,branch:e};n.events.dispatchImmediately("hit",i)}}),e.interactions.events.on("keyup",function(t){if(c.b.isKey(t.event,"enter")&&n.events.isEnabled("enter")){var i={type:"enter",event:t.event,target:n,branch:e};n.events.dispatchImmediately("enter",i)}}));var h=this.getSubMenu(e);null!=h&&e.interactions.events.on("keyup",function(t){c.b.isKey(t.event,"enter")&&(n.selectBranch(h[0]),n.setFocus(h[0]))}),e.interactions.events.on("over",function(t){if(t.pointer.touch&&(n._ignoreNextClose=!0),n.selectBranch(e),n.events.isEnabled("over")){var i={type:"over",event:t.event,target:n,branch:e};n.events.dispatchImmediately("over",i)}}),e.interactions.events.on("out",function(t){if(t.pointer.touch||n.delayUnselectBranch(e),n.events.isEnabled("out")){var i={type:"out",event:t.event,target:n,branch:e};n.events.dispatchImmediately("out",i)}}),e.interactions.events.on("focus",function(t){n.selectBranch(e)}),e.interactions.events.on("blur",function(t){n.delayUnselectBranch(e)});var p=i+1;if(e.menu){for(var d=this.createMenuElement(p),f=e.menu.length,g=0;g<f;g++){var y=new a.b;e.menu[g].ascendants=y,e.ascendants.length&&y.copyFrom(e.ascendants),y.push(e),this.drawBranch(d,e.menu[g],p)}if(""==d.innerHTML)return;o.appendChild(d)}t.appendChild(o)}},e.prototype.createMenuElement=function(t){var e=document.createElement(this.menuTag);return e.className=this.getMenuItemClass(t),0===t&&e.setAttribute("role","menu"),e},e.prototype.getMenuItemClass=function(t){var e=this.classPrefix+"-menu "+this.classPrefix+"-menu-level-"+t;return 0===t&&(e+=" "+this.classPrefix+"-menu-root "+this.classPrefix+"-"+this.align+" "+this.classPrefix+"-"+this.verticalAlign),this.adapter.apply("menuClass",{className:e,level:t}).className},e.prototype.createItemElement=function(t,e){var i=document.createElement(this.itemTag),n=this.classPrefix+"-item "+this.classPrefix+"-item-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return i.className=this.adapter.apply("itemClass",{className:n,level:t,type:e}).className,i},e.prototype.createLabelElement=function(t,e){var i=document.createElement(this.labelTag),n=this.classPrefix+"-label "+this.classPrefix+"-label-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return this.typeClickable(e)&&(n+=" "+this.classPrefix+"-clickable"),i.className=this.adapter.apply("labelClass",{className:n,level:t,type:e}).className,i.setAttribute("tabindex",this.tabindex.toString()),i.setAttribute("role","menuitem"),i},e.prototype.dispose=function(){this._disposed||(t.prototype.dispose.call(this),this._element&&this._element.parentNode&&this._element.parentNode.removeChild(this._element))},e.prototype.typeClickable=function(t){return g.hasValue(t)},e.prototype.hasSubMenu=function(t){return!(!t.menu||!t.menu.length)},e.prototype.getSubMenu=function(t){if(t.menu&&t.menu.length)return t.menu},e.prototype.getReaderLabel=function(t,e){return e=p.stripTags(e),this.hasSubMenu(t)?e+=" ["+this.language.translate("Click, tap or press ENTER to open")+"]":"print"==t.type?e=this.language.translate("Click, tap or press ENTER to print."):this.typeClickable(t.type)&&(e=this.language.translate("Click, tap or press ENTER to export as %1.",void 0,e)),this.adapter.apply("rederLabel",{label:e,branch:t}).label},Object.defineProperty(e.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(t){this._items=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tag",{set:function(t){this._menuTag=t,this._itemTag="ul"==t?"li":"div",this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"menuTag",{get:function(){return this.adapter.apply("menuTag",{tag:this._menuTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemTag",{get:function(){return this.adapter.apply("itemTag",{tag:this._itemTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelTag",{get:function(){return this.adapter.apply("labelTag",{tag:this._labelTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.adapter.apply("align",{align:this._align}
20).align},set:function(t){this._align=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",{verticalAlign:this._verticalAlign}).verticalAlign},set:function(t){this._verticalAlign=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",{classPrefix:this._classPrefix}).classPrefix},set:function(t){this._classPrefix=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",{defaultStyles:this._defaultStyles}).defaultStyles},set:function(t){this._defaultStyles!=t&&(this._defaultStyles=t,t&&this.loadDefaultCSS()),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.loadDefaultCSS=function(){this._disposers.push(Object(r.a)(this.classPrefix)),this._element&&(this._element.style.display="")},Object.defineProperty(e.prototype,"tabindex",{get:function(){return this.adapter.apply("tabindex",{tabindex:this._tabindex}).tabindex},set:function(t){this._tabindex=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){var t=this,e=this._language.get();return null==e&&(e=new l.a,this._language.set(e,e.events.on("localechanged",function(e){t.invalidate()}))),e},set:function(t){var e=this;this._language.set(t,t.events.on("localechanged",function(t){e.invalidate()})),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.close=function(){if(this._ignoreNextClose)this._ignoreNextClose=!1;else{if(this._currentSelection&&(this.setBlur(this._currentSelection),this._currentSelection=void 0),this._element)for(var t=this._element.getElementsByClassName("active"),e=t.length-1;e>=0;e--)t[e]&&f.q(t[e],"active");this.events.dispatchImmediately("closed",{type:"closed",target:this})}},e.prototype.selectBranch=function(t){var e=this;if(t.closeTimeout&&(this.removeDispose(t.closeTimeout),t.closeTimeout=void 0),f.f(t.interactions.element.parentElement,"active"),this._currentSelection&&this._currentSelection!==t&&this._currentSelection.ascendants&&d.each(d.concat(d.fromArray([this._currentSelection]),this._currentSelection.ascendants.iterator()),function(i){t.ascendants.contains(i)||t===i||e.unselectBranch(i,!0)}),d.each(t.ascendants.iterator(),function(t){t.closeTimeout&&(e.removeDispose(t.closeTimeout),t.closeTimeout=void 0),f.f(t.interactions.element.parentElement,"active")}),this._currentSelection=t,this.events.isEnabled("branchselected")){var i={type:"branchselected",target:this,branch:t};this.events.dispatchImmediately("branchselected",i)}},e.prototype.unselectBranch=function(t,e){if(f.q(t.interactions.element.parentElement,"active"),this._currentSelection==t&&(this._currentSelection=void 0),this.events.isEnabled("branchunselected")){var i={type:"branchunselected",target:this,branch:t};this.events.dispatchImmediately("branchunselected",i)}},e.prototype.delayUnselectBranch=function(t,e){var i=this;t.closeTimeout&&(this.removeDispose(t.closeTimeout),t.closeTimeout=void 0),t.closeTimeout=this.setTimeout(function(){i.unselectBranch(t,e)},this.closeDelay),!0!==e&&t.ascendants&&d.each(t.ascendants.iterator(),function(t){i.delayUnselectBranch(t,!0)})},e.prototype.moveSelection=function(t){if(this._currentSelection){var e;if("up"==t)e=this.getPrevSibling(this._currentSelection);else if("down"==t)e=this.getNextSibling(this._currentSelection);else if("left"==t&&"right"==this.align||"right"==t&&"left"==this.align){var i=this.getSubMenu(this._currentSelection);null!=i&&(e=i[0])}else("right"==t&&"right"==this.align||"left"==t&&"left"==this.align)&&(e=this.getParentItem(this._currentSelection));e&&e!==this._currentSelection&&(this.selectBranch(e),this.setFocus(e),this._currentSelection=e)}},e.prototype.getSiblings=function(t){var e=this.getParentItem(t);return e&&e.menu?e.menu:[]},e.prototype.getParentItem=function(t){return t.ascendants&&t.ascendants.length?t.ascendants.getIndex(t.ascendants.length-1):void 0},e.prototype.getNextSibling=function(t){var e=this.getSiblings(t);if(e.length>1){var i=e.indexOf(t)+1;return e[i=e.length==i?0:i].unsupported?this.getNextSibling(e[i]):e[i]}return t},e.prototype.getPrevSibling=function(t){var e=this.getSiblings(t);if(e.length>1){var i=e.indexOf(t)-1;return e[i=-1==i?e.length-1:i].unsupported?this.getPrevSibling(e[i]):e[i]}return t},e.prototype.setFocus=function(t){t.interactions&&t.interactions.element.focus()},e.prototype.setBlur=function(t){t.interactions&&t.interactions.element.blur()},e}(h.a)}
20,function(t,e,i){"use strict";e.a=function(t,e,i){return new Promise(function(r,o){var a=n.hasValue(i)&&"blob"==i.responseType,s=new XMLHttpRequest;if(s.onload=function(){if(200===s.status){var t=void 0,i=void 0;a?i=s.response:t=s.responseText||s.response;var n={xhr:s,error:!1,response:t,blob:i,type:s.getResponseHeader("Content-Type"),target:e};r(n)}else o({xhr:s,error:!0,type:s.getResponseHeader("Content-Type"),target:e})},s.onerror=function(){o({xhr:s,error:!0,type:s.getResponseHeader("Content-Type"),target:e})},s.open("GET",t,!0),i&&i.withCredentials&&(s.withCredentials=!0),n.hasValue(i)){if(n.hasValue(i.requestHeaders))for(var u=0;u<i.requestHeaders.length;u++){var l=i.requestHeaders[u];s.setRequestHeader(l.key,l.value)}n.hasValue(i.responseType)&&(s.responseType=i.responseType)}s.send()})};var n=i(3)},function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i(0),r=i(230),o=i(162),a=i(160),s=i(21),u=i(28),l=i(60),h=i(107),c=i(1),p=i(3),d=i(18),f=function(t){function e(e,i){var n=t.call(this)||this;return n.adapter=new u.a(n),n._requestOptions={},n._incremental=!1,n._incrementalParams={},n._keepCount=!1,n.showPreloader=!0,n.className="DataSource",e&&(n.url=e),i&&(n.parser="string"==typeof i?r.b.getParserByType(i):i),n}return n.c(e,t),e.prototype.processData=function(t,e){if(this.dispatchImmediately("parsestarted"),this.parser||(this.parser=r.b.getParserByData(t,e),this.parser)){if(this.parser.options=this.adapter.apply("parserOptions",this.parser.options),this.parser.options.dateFields=this.adapter.apply("dateFields",this.parser.options.dateFields||[]),this.parser.options.numberFields=this.adapter.apply("numberFields",this.parser.options.numberFields||[]),this.parser.options.dateFields&&!this.parser.options.dateFormatter&&(this.parser.options.dateFormatter=this.dateFormatter),this.data=this.adapter.apply("parsedData",this.parser.parse(this.adapter.apply("unparsedData",t))),!p.hasValue(this.data)&&this.events.isEnabled("parseerror")){var i={type:"parseerror",message:this.language.translate("Error parsing file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",i)}this.dispatchImmediately("parseended"),p.hasValue(this.data)&&this.dispatchImmediately("done",{data:this.data}),this.lastLoad=new Date}else{if(this.events.isEnabled("parseerror")){var n={type:"parseerror",message:this.language.translate("No parser available for file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",n)}this.dispatchImmediately("parseended")}},Object.defineProperty(e.prototype,"url",{get:function(){var t=this.disableCache?this.timestampUrl(this._url):this._url;return this.incremental&&this.component.data.length&&(t=this.addUrlParams(t,this.incrementalParams)),this.adapter.apply("url",t)},set:function(t){this._url=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestOptions",{get:function(){return this.adapter.apply("requestOptions",this._requestOptions)},set:function(t){this._requestOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._parser||(this._parser=new o.a),this.adapter.apply("parser",this._parser)},set:function(t){this._parser=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reloadFrequency",{get:function(){return this.adapter.apply("reloadTimeout",this._reloadFrequency)},set:function(t){var e=this;this._reloadFrequency!=t&&(this._reloadFrequency=t,t?p.hasValue(this._reloadDisposer)||(this._reloadDisposer=this.events.on("ended",function(t){e._reloadTimeout=setTimeout(function(){e.load()},e.reloadFrequency)})):p.hasValue(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incremental",{get:function(){return this.adapter.apply("incremental",this._incremental)},set:function(t){this._incremental=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incrementalParams",{get:function(){return this.adapter.apply("incrementalParams",this._incrementalParams)},set:function(t){this._incrementalParams=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepCount",{get:function(){return this.adapter.apply("keepCount",this._keepCount)},set:function(t){this._keepCount=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this._language?this._language:this.component?(this._language=this.component.language,this._language):(this.language=new l.a,this.language)},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.component?(this._dateFormatter=this.component.dateFormatter,this._dateFormatter):(this.dateFormatter=new h.a,this.dateFormatter)},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),e.prototype.timestampUrl=function(t){var e={};return e[(new Date).getTime().toString()]="",this.addUrlParams(t,e)},e.prototype.dispose=function(){t.prototype.dispose.call(this),this._reloadTimeout&&clearTimeout(this._reloadTimeout)},e.prototype.load=function(){this._reloadTimeout&&clearTimeout(this._reloadTimeout),r.b.load(this)},e.prototype.addUrlParams=function(t,e){var i=t.match(/\?/)?"&":"?",n=[];return d.each(e,function(t,e){""!=e?n.push(t+"="+encodeURIComponent(e)):n.push(t)}),n.length?t+i+n.join("&"):t},e.prototype.processConfig=function(e){c.b.registeredClasses.json=o.a,c.b.registeredClasses.JSONParser=o.a,c.b.registeredClasses.csv=a.a,c.b.registeredClasses.CSVParser=a.a,t.prototype.processConfig.call(this,e)},e}(s.b)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return u});var n=i(160),r=i(162),o=i(28),a=i(228),s=function(){function t(){this.adapter=new o.a(this)}return t.prototype.load=function(t){var e=Array.isArray(t)?t:[t],i=[];for(var n in e)e[n].dispatchImmediately("started"),e[n].dispatchImmediately("loadstarted"),i.push(a.a(e[n].url,e[n],e[n].requestOptions));Promise.all(i).then(function(t){for(var e in t){var i=t[e],n=i.target;n.dispatchImmediately("loadended"),i.error?n.events.isEnabled("error")&&n.events.dispatchImmediately("error",{type:"error",code:i.xhr.status,message:n.language.translate("Unable to load file: %1",null,n.url),target:n}):n.processData(i.response,i.type),n.dispatchImmediately("ended")}}).catch(function(t){t.target.dispatchImmediately("loadended"),t.target.events.isEnabled("error")&&t.target.events.dispatchImmediately("error",{type:"error",code:t.xhr.status,message:t.target.language.translate("Unable to load file: %1",null,t.target.url),target:t.target}),t.target.dispatchImmediately("ended")})},t.prototype.getParserByType=function(t){var e;return(e=this.adapter.apply("getParserByType",{parser:null,type:t}).parser)?e:"csv"==t||"text/csv"==t||"application/vnd.ms-excel"==t?new n.a:"json"==t||"application/json"==t?new r.a:void 0},t.prototype.getParserByData=function(t,e){var i=this.adapter.apply("getParserByData",{parser:null,data:t,type:e}).parser;if(!i){if(i=this.getParserByType(e))return i;if(r.a.isJSON(t))return this.getParserByType("json");if(n.a.isCSV(t))return this.getParserByType("csv")}return i},t}(),u=new s},function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i(0),r=i(21),o=i(11),a=i(28),s=i(1),u=i(5),l=i(16),h=i(3),c=function(t){function e(){var e=t.call(this)||this;return e._rules=new o.b,e._defaultRules=new o.b,e._appliedRules={},e._useDefault=!0,e.adapter=new a.a(e),e._enabled=!1,e._noStates=[],e.className="Responsive",e.rules.events.on("inserted",e.checkRules,!0),e.rules.events.on("removed",e.checkRules,!0),e._disposers.push(e.rules.events),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"component",{get:function(){return this._component},set:function(t){t!=this._component&&(this._sizeEventDisposer&&this.removeDispose(this._sizeEventDisposer),this._component=t,this._sizeEventDisposer=h.getValue(this.component).events.on("sizechanged",this.checkRules,this),this._disposers.push(this._sizeEventDisposer),this.enabled=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.adapter.apply("enabled",this._enabled)},set:function(t){this._enabled!=t&&(this._enabled=t,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefault",{get:function(){return this.adapter.apply("useDefault",this._useDefault)},set:function(t){this._useDefault!=t&&(this._useDefault=!0,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rules",{get:function(){return this.adapter.apply("rules",this._rules)},set:function(t){this._rules=t,this._enabled=!0,this.applyRules()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultRules",{get:function(){return this.adapter.apply("defaultRules",this._defaultRules)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allRules",{get:function(){var t=new o.b;return this.useDefault&&t.copyFrom(this.defaultRules),t.copyFrom(this.rules),this.adapter.apply("allRules",t)},enumerable:!0,configurable:!0}),e.prototype.isApplied=function(t){var e=this._appliedRules[t];return!!h.hasValue(e)&&e},e.prototype.checkRules=function(){var t=this;if(this.useDefault&&0==this.defaultRules.length)this.loadDefaultRules().then(function(e){t._defaultRules.setAll(e.default),t.checkRules()});else{var e=this.allRules;if(e&&0!=e.length){var i=!1,n=h.getValue(this.component);u.each(e.iterator(),function(e){e.id||(e.id=s.b.getUniqueId());var r=e.relevant(n);(r&&!t.isApplied(e.id)||!r&&t.isApplied(e.id))&&(i=!0),t._appliedRules[e.id]=r}),i&&this.applyRules()}}},e.prototype.applyRules=function(t){var e=this,i=h.hasValue(t)?t:h.getValue(this.component),n=!1;this.enabled&&u.each(this.allRules.iterator(),function(t){var r=e.getState(t,i);r&&(n||(i.applyCurrentState(0),n=!0),e.isApplied(h.getValue(t.id))&&i.setState(r))}),i.children&&u.each(i.children.iterator(),function(t){e.applyRules(t)})},e.prototype.getState=function(t,e){var i="responsive-"+t.id,n=e.uid+"_"+i;if(-1===l.indexOf(this._noStates,n)){if(e.states.hasKey(i))return e.states.getKey(i);var r=t.state(e,i);return r||this._noStates.push(n),r}},e.prototype.getValue=function(t,e){var i=t.getPropertyValue(e);return!h.hasValue(i)&&h.hasValue(t[e])&&(i=t[e]),i},e.prototype.loadDefaultRules=function(){return i.e(2).then(i.bind(null,1219))},e}(r.b)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(10),o=i(1),a=i(14),s=i(13),u=function(t){function e(){var e=t.call(this)||this;e.className="AxisLine",e.element=e.paper.add("path");var i=new s.a;return e.stroke=i.getFor("grid"),e.strokeOpacity=.15,e.pixelPerfect=!0,e.fill=Object(a.c)(),e.applyTheme(),e.interactionsEnabled=!1,e}return n.c(e,t),e}(r.a);o.b.registeredClasses.AxisLine=u},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(108),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="AxisTick",e.element=e.paper.add("path"),e.location=.5,e.isMeasured=!1,e.pixelPerfect=!0,e.length=5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);o.b.registeredClasses.AxisTick=a},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(235),o=i(4),a=function(t){function e(){var e=t.call(this)||this;return e.className="PointedRectangle",e.element=e.paper.add("path"),e.cornerRadius=0,e.cornerRadius=6,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.cornerRadius,i=this.innerWidth,n=this.innerHeight;if(i>0&&n>0){var r,a,s=this.pointerX,u=this.pointerY,l=this.pointerBaseWidth/2,h=o.min(i/2,n/2),c=o.fitToRange(e,0,h),p=o.fitToRange(e,0,h),d=o.fitToRange(e,0,h),f=o.fitToRange(e,0,h),g=void 0,y=void 0,m=void 0,b=void 0,v=(s-0)*(n-0)-(u-0)*(i-0),_=(s-0)*(0-n)-(u-n)*(i-0);if(v>0&&_>0)g="M"+c+",0 L"+((r=o.fitToRange(s,c+l,i-l-p))-l)+",0 L"+s+","+(u=o.fitToRange(u,-1/0,0))+" L"+(r+l)+",0 L"+(i-p)+",0";else g="M"+c+",0 L"+(i-p)+",0";if(v<0&&_<0)m=" L"+(i-d)+","+n+" L"+((r=o.fitToRange(s,f+l,i-l-d))+l)+","+n+" L"+s+","+(u=o.fitToRange(u,n,1/0))+" L"+(r-l)+","+n+" L"+f+","+n;else m=" L"+f+","+n;if(v<0&&_>0)b=" L0,"+(n-f)+" L0,"+((a=o.fitToRange(u,c+l,n-f-l))+l)+" L"+(s=o.fitToRange(s,-1/0,0))+","+u+" L0,"+(a-l)+" L0,"+c;else b=" L0,"+c;if(v>0&&_<0)y=" L"+i+","+p+" L"+i+","+((a=o.fitToRange(u,p+l,n-l-d))-l)+" L"+(s=o.fitToRange(s,i,1/0))+","+u+" L"+i+","+(a+l)+" L"+i+","+(n-d);else y=" L"+i+","+(n-d);var x=" a"+p+","+p+" 0 0 1 "+p+","+p,P=" a"+d+","+d+" 0 0 1 -"+d+","+d,w=" a"+f+","+f+" 0 0 1 -"+f+",-"+f,O=" a"+c+","+c+" 0 0 1 "+c+",-"+c;this.path=g+x+y+P+m+w+b+O}},Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(10),o=i(3),a=function(t){function e(){var e=t.call(this)||this;return e.className="PointedShape",e.pointerBaseWidth=15,e.pointerLength=10,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),o.isNumber(this.pointerX)||(this.pointerX=this.pixelWidth/2),o.isNumber(this.pointerY)||(this.pointerY=this.pixelHeight+10)},Object.defineProperty(e.prototype,"pointerBaseWidth",{get:function(){return this.getPropertyValue("pointerBaseWidth")},set:function(t){this.setPropertyValue("pointerBaseWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerLength",{get:function(){return this.getPropertyValue("pointerLength")},set:function(t){this.setPropertyValue("pointerLength",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerX",{get:function(){return this.getPropertyValue("pointerX")},set:function(t){this.setPropertyValue("pointerX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerY",{get:function(){return this.getPropertyValue("pointerY")},set:function(t){this.setPropertyValue("pointerY",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(58),o=i(14),a=i(1),s=function(t){function e(){var e=t.call(this)||this;return e.className="DropShadowFilter",e.color=Object(o.c)("#000"),e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.feOffset=e.paper.add("feOffset"),e.feOffset.attr({result:"offsetBlur"}),e.filterPrimitives.push(e.feOffset),e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":e.color}),e.filterPrimitives.push(e.feFlood),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({in2:"offsetBlur",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feMerge=e.paper.addGroup("feMerge"),e.feMerge.add(e.paper.add("feMergeNode")),e.feMerge.add(e.paper.add("feMergeNode").attr({in:"SourceGraphic"})),e.filterPrimitives.push(e.feMerge),e.width=200,e.height=200,e.blur=1.5,e.dx=3,e.dy=3,e.opacity=.5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.feFlood&&this.feFlood.attr({"flood-color":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(t){this.properties.opacity=t,this.feFlood.attr({"flood-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx",{get:function(){return this.properties.dx},set:function(t){this.properties.dx=t,this.feOffset.attr({dx:t/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy",{get:function(){return this.properties.dy},set:function(t){this.properties.dy=t,this.feOffset.attr({dy:t/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"blur",{get:function(){return this.properties.blur},set:function(t){this.properties.blur=t,this.feGaussianBlur.attr({stdDeviation:t/this.scale})},enumerable:!0,configurable:!0}),e.prototype.updateScale=function(){this.dx=this.dx,this.dy=this.dy,this.blur=this.blur},e}(r.a);a.b.registeredClasses.DropShadowFilter=s},,,,function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(65),o=i(10),a=i(1),s=i(13),u=i(12),l=i(3),h=function(t){function e(){var e=t.call(this)||this;e.className="ZoomOutButton",e.padding(9,9,9,9),e.showSystemTooltip=!0;var i=new s.a,n=e.background;n.cornerRadius(20,20,20,20),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new o.a;r.element=e.paper.add("path");var a=u.moveTo({x:0,y:0});return a+=u.lineTo({x:11,y:0}),r.path=a,r.pixelPerfect=!0,r.padding(8,3,8,3),r.stroke=i.getFor("primaryButtonText"),e.icon=r,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),l.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Zoom Out"))},e}(r.a);a.b.registeredClasses.ZoomOutButton=h},,,,,function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(96),o=i(1),a=i(12),s=i(4),u=i(6),l=i(72),h=function(t){function e(){var e=t.call(this)||this;return e.className="WavedCircle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.fill=void 0,e.fillOpacity=0,e.tension=.8,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t="",e=this.pixelRadius;if(e>0){var i=this.getPoints(e);t=a.moveTo(i[0])+new l.b(this.tension,this.tension).smooth(i)}var n=this.pixelInnerRadius;n>0&&((i=this.getPoints(n)).reverse(),t+=a.moveTo(i[0])+new l.b(this.tension,this.tension).smooth(i));this.path=t},e.prototype.getPoints=function(t){for(var e=t*Math.PI*2,i=this.waveHeight/2,n=e/Math.round(e/this.waveLength),r=n/2,o=[],a=e/n,u=0;u<=a;u++){var l=u*n/e*360,h=(u*n+r)/e*360;o.push({x:(t-i)*s.cos(l),y:(t-i)*s.sin(l)}),o.push({x:(t+i)*s.cos(h),y:(t+i)*s.sin(h)})}return o.pop(),o},Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,
20!1),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return u.relativeToValue(this.innerRadius,s.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.WavedCircle=h},,function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(10),o=i(8),a=i(1),s=i(6),u=i(3),l=i(12),h=function(t){function e(){var e=t.call(this)||this;return e.className="Trapezoid",e.element=e.paper.add("path"),e.topSide=Object(o.c)(100),e.bottomSide=Object(o.c)(100),e.leftSide=Object(o.c)(100),e.rightSide=Object(o.c)(100),e.isMeasured=!1,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight,n=s.relativeToValue(this.topSide,e),r=s.relativeToValue(this.bottomSide,e),o=s.relativeToValue(this.leftSide,i),a=s.relativeToValue(this.rightSide,i),h=(e-n)/2,c=(i-o)/2,p=e-(e-n)/2,d=(i-a)/2,f=e-(e-r)/2,g=i-(i-a)/2,y=(e-r)/2,m=i-(i-o)/2,b="",v="",_="",x="";if(u.hasValue(this.horizontalNeck)){var P=this.horizontalNeck.value;b=l.lineTo({x:e*P,y:Math.max(c,d)}),_=l.lineTo({x:e*P,y:Math.min(g,m)})}if(u.hasValue(this.verticalNeck)){var w=this.verticalNeck.value;v=l.lineTo({x:Math.min(p,f),y:i*w}),x=l.lineTo({x:Math.max(h,y),y:i*w})}var O=l.moveTo({x:h,y:c})+b+l.lineTo({x:p,y:d})+v+l.lineTo({x:f,y:g})+_+l.lineTo({x:y,y:m})+x;this.path=O},Object.defineProperty(e.prototype,"topSide",{get:function(){return this.getPropertyValue("topSide")},set:function(t){this.setPercentProperty("topSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomSide",{get:function(){return this.getPropertyValue("bottomSide")},set:function(t){this.setPercentProperty("bottomSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftSide",{get:function(){return this.getPropertyValue("leftSide")},set:function(t){this.setPercentProperty("leftSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightSide",{get:function(){return this.getPropertyValue("rightSide")},set:function(t){this.setPercentProperty("rightSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalNeck",{get:function(){return this.getPropertyValue("horizontalNeck")},set:function(t){this.setPropertyValue("horizontalNeck",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalNeck",{get:function(){return this.getPropertyValue("verticalNeck")},set:function(t){this.setPropertyValue("verticalNeck",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.Trapezoid=h},,,,,function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i(0),r=i(75),o=i(10),a=i(9),s=i(173),u=i(4),l=i(12),h=i(3),c=function(t){function e(){var e=t.call(this)||this;e.className="Slice3D",e.layout="none";var i=e.createChild(a.a);e.edge=i,i.shouldClone=!1,i.isMeasured=!1;var n=new s.a;n.lightness=-.25,i.filters.push(n),i.toBack(),e._disposers.push(i),e.angle=30,e.depth=20;var r=e.createChild(o.a);e.sideA=r,r.shouldClone=!1,r.isMeasured=!1,r.setElement(e.paper.add("path"));var u=new s.a;u.lightness=-.25,r.filters.push(u),e._disposers.push(r);var l=e.createChild(o.a);e.sideB=l,l.shouldClone=!1,l.isMeasured=!1,l.setElement(e.paper.add("path"));var h=new s.a;return h.lightness=-.25,l.filters.push(h),e._disposers.push(l),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);for(var e=0,i=this.edge.children.length;e<i;e++){var n=this.edge.children.getIndex(e);n instanceof r.a&&(n.radiusY=this.radiusY,n.radius=this.radius,n.fill=this.fill,n.startAngle=this.startAngle,n.arc=this.arc,n.cornerRadius=this.cornerRadius,n.innerRadius=this.innerRadius,n.strokeOpacity=0)}if(0!==this.arc&&this.radius>0&&this.depth>0){this.sideB.show(0),this.sideA.show(0),this.edge.show(0);var o=this.startAngle,a=this.arc,s=this.pixelInnerRadius||0,c=this.radiusY||0,p=this.cornerRadius||0,d=this.innerCornerRadius,f=this.radius,g=o+a,y=u.sin(u.min(a,45)/2),m=c/f*s,b=c/f*p,v=c/f*(d=d||p);p=u.fitToRange(p,0,(f-s)/2),b=u.fitToRange(b,0,(c-m)/2),d=u.fitToRange(d,0,(f-s)/2),v=u.fitToRange(v,0,(c-m)/2),p=u.fitToRange(p,0,f*y),b=u.fitToRange(b,0,c*y),d=u.fitToRange(d,0,s*y),v=u.fitToRange(v,0,m*y),s<d&&(s=d),m<v&&(m=v);var _=Math.asin(d/s/2)*u.DEGREES*2,x=Math.asin(v/m/2)*u.DEGREES*2;h.isNumber(_)||(_=0),h.isNumber(x)||(x=0);var P={x:u.round(u.cos(o)*(s+d),4),y:u.round(u.sin(o)*(m+v),4)},w={x:u.round(u.cos(o)*(f-p),4),y:u.round(u.sin(o)*(c-b),4)},O={x:u.round(u.cos(g)*(f-p),4),y:u.round(u.sin(g)*(c-b),4)},S={x:u.round(u.cos(g)*(s+d),4),y:u.round(u.sin(g)*(m+v),4)},k=this.depth,T={x:P.x,y:P.y-k},C={x:w.x,y:w.y-k},V={x:O.x,y:O.y-k},I={x:S.x,y:S.y-k};this.sideA.path=l.moveTo(P)+l.lineTo(w)+l.lineTo(C)+l.lineTo(T)+l.closePath(),this.sideB.path=l.moveTo(O)+l.lineTo(S)+l.lineTo(I)+l.lineTo(V)+l.closePath(),this.startAngle<90?this.sideA.toBack():this.sideA.toFront(),this.startAngle+this.arc>90?this.sideB.toBack():this.sideB.toFront()}else this.sideA.hide(0),this.sideB.hide(0),this.edge.hide(0)},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){if(this.setPropertyValue("depth",t,!0)){this.edge.removeChildren();if(t>0)for(var e=Math.ceil(this.depth/3),i=t/e,n=0;n<=e;n++){var o=this.edge.createChild(r.a);o.isMeasured=!1,o.y=-i*n}this.slice.dy=-this.depth}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){var t=this.getPropertyValue("angle");return h.isNumber(t)||(t=0),t},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return h.isNumber(t)||(t=this.radius-this.radius*this.angle/90),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.edge.copyFrom(e.edge),this.sideA.copyFrom(e.sideA),this.sideB.copyFrom(e.sideB)},e}(r.a)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(254),o=i(1),a=i(4),s=i(3),u=function(t){function e(){var e=t.call(this)||this;return e.lightnesses=[],e.brightnesses=[],e.opacities=[],e.offsets=[],e.className="GradientModifier",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"lightnesses",{get:function(){return this._lightnesses},set:function(t){this._lightnesses=t,this._brightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"brightnesses",{get:function(){return this._brightnesses},set:function(t){this._brightnesses=t,this._lightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacities",{get:function(){return this._opacities},set:function(t){this._opacities=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsets",{get:function(){return this._offsets},set:function(t){this._offsets=t},enumerable:!0,configurable:!0}),e.prototype.modify=function(t){this.gradient.clear();var e=0;this.opacities&&(e=a.max(e,this.opacities.length)),this.lightnesses&&(e=a.max(e,this.lightnesses.length)),this.brightnesses&&(e=a.max(e,this.brightnesses.length));for(var i,n,r=1,o=0;o<e;o++){var u=t;this.opacities&&s.isNumber(this.opacities[o])&&(r=this.opacities[o]),this.lightnesses&&s.isNumber(this.lightnesses[o])&&(i=this.lightnesses[o],n=void 0),this.brightnesses&&s.isNumber(this.brightnesses[o])&&(n=this.brightnesses[o],i=void 0),s.isNumber(n)?u=t.brighten(this.brightnesses[o]):s.isNumber(i)&&(u=t.lighten(this.lightnesses[o]));var l=this.offsets[o];this.gradient.addColor(u,r,l)}return this.gradient},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this._offsets=e.offsets,this._brightnesses=e.brightnesses,this._lightnesses=e.lightnesses,this._opacities=e.opacities},e}(r.a);o.b.registeredClasses.GradientModifier=u},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(21),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="ColorModifier",e.applyTheme(),e}return n.c(e,t),e.prototype.modify=function(t){return t},e}(r.a);o.b.registeredClasses.ColorModifier=a},function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return f});var n=i(0),r=i(174),o=i(8),a=i(1),s=i(256),u=i(258),l=i(36),h=i(5),c=i(4),p=i(3),d=function(t){function e(){var e=t.call(this)||this;return e.className="SankeyDiagramDataItem",e.applyTheme(),e}return n.c(e,t),e}(r.b),f=function(t){function e(){var e=t.call(this)||this;return e.className="SankeyDiagram",e.orientation="horizontal",e.nodeAlign="middle",e.nodesContainer.width=Object(o.c)(100),e.nodesContainer.height=Object(o.c)(100),e.linksContainer.width=Object(o.c)(100),e.linksContainer.height=Object(o.c)(100),e.applyTheme(),e}return n.c(e,t),e.prototype.validateData=function(){var e=this;t.prototype.validateData.call(this),this._levelCount=0,this.nodes.each(function(t,i){i.level=e.getNodeLevel(i,0),e._levelCount=c.max(e._levelCount,i.level)})},e.prototype.getNodeLevel=function(t,e){var i=this,r=[e];return h.each(t.incomingDataItems.iterator(),function(t){t.fromNode&&r.push(i.getNodeLevel(t.fromNode,e+1))}),Math.max.apply(Math,n.f(r))},e.prototype.calculateValueHeight=function(){var t=this;this._levelSum={},this._levelNodesCount={},this.maxSum=0;var e,i=this.dataItem.values.value.sum;for(var n in h.each(this._sorted,function(e){var i=e[1];t.getNodeValue(i)}),this.nodes.each(function(e,n){var r=n.level,o=Math.max(n.totalIncoming,n.totalOutgoing);o/i<t.minNodeSize&&(o=i*t.minNodeSize),p.isNumber(t._levelSum[r])?t._levelSum[r]+=o:t._levelSum[r]=o,p.isNumber(t._levelNodesCount[r])?t._levelNodesCount[r]++:t._levelNodesCount[r]=1}),this._levelSum)this.maxSum<this._levelSum[n]&&(this.maxSum=this._levelSum[n],e=Number(n));this._maxSumLevel=e;var r=this._levelNodesCount[this._maxSumLevel],o=(("horizontal"==this.orientation?this.chartContainer.maxHeight-1:this.chartContainer.maxWidth-1)-(r-1)*this.nodePadding)/this.maxSum;if(p.isNumber(this.valueHeight)){var a=void 0;try{a=this._heightAnimation.animationOptions[0].to}catch(t){}if(a!=o){var s=this.interpolationDuration;
20try{s=this.nodes.template.states.getKey("active").transitionDuration}catch(t){}this._heightAnimation=new l.a(this,{property:"valueHeight",from:this.valueHeight,to:o},s).start(),this._disposers.push(this._heightAnimation)}}else this.valueHeight=o},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this),this.calculateValueHeight();var i=this.nodesContainer,n={},r=this._levelNodesCount[this._maxSumLevel],o=this.dataItem.values.value.sum;h.each(this._sorted,function(t){var a,s,u,l=t[1],h=l.level,c=0,p=e._levelNodesCount[h];switch(e.nodeAlign){case"bottom":c=(e.maxSum-e._levelSum[h])*e.valueHeight-(p-r)*e.nodePadding;break;case"middle":c=(e.maxSum-e._levelSum[h])*e.valueHeight/2-(p-r)*e.nodePadding/2}l.parent=i;var d=Math.max(l.totalIncoming,l.totalOutgoing);if(d/o<e.minNodeSize&&(d=o*e.minNodeSize),"horizontal"==e.orientation){s=(a=(e.innerWidth-l.pixelWidth)/e._levelCount)*l.level,u=n[h]||c;var f=d*e.valueHeight;l.height=f,l.minX=s,l.maxX=s,n[h]=u+f+e.nodePadding}else{a=(e.innerHeight-l.pixelHeight)/e._levelCount,s=n[h]||c,u=a*l.level;var g=d*e.valueHeight;l.width=g,l.minY=u,l.maxY=u,n[h]=s+g+e.nodePadding}l.x=s,l.y=u})},e.prototype.showReal=function(e){var i=this;if(this.interpolationDuration>0){var n=this.nodesContainer,r=0;h.each(this.links.iterator(),function(t){t.hide(0)}),h.each(this._sorted,function(t){var e,o=t[1];"horizontal"==i.orientation?(o.dx=-(n.pixelWidth-o.pixelWidth)/i._levelCount,e="dx"):(o.dy=-(n.pixelHeight-o.pixelHeight)/i._levelCount,e="dy");var a=0,s=i.interpolationDuration;i.sequencedInterpolation&&(a=i.sequencedInterpolationDelay*r+s*r/h.length(i.nodes.iterator())),o.opacity=0,o.invalidateLinks(),o.animate([{property:"opacity",from:0,to:1},{property:e,to:0}],i.interpolationDuration,i.interpolationEasing).delay(a),h.each(o.outgoingDataItems.iterator(),function(t){var e=t.link.show(i.interpolationDuration);e&&!e.isFinished()&&e.delay(a)}),h.each(o.incomingDataItems.iterator(),function(t){if(!t.fromNode){var e=t.link.show(i.interpolationDuration);e&&!e.isFinished()&&e.delay(a)}}),r++})}return t.prototype.showReal.call(this)},e.prototype.changeSorting=function(){var t=this;this.sortNodes();var e={};h.each(this._sorted,function(i){var n,r,o=i[1],a=o.level,s=(t.maxSum-t._levelSum[a])*t.valueHeight/2;"horizontal"==t.orientation?(n="y",r=o.pixelHeight):(n="x",r=o.pixelWidth),o.animate({property:n,to:e[a]||s},t.interpolationDuration,t.interpolationEasing),e[a]=(e[a]||s)+r+t.nodePadding,o.invalidateLinks()})},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Sankey diagram"))},e.prototype.createDataItem=function(){return new d},Object.defineProperty(e.prototype,"nodeAlign",{get:function(){return this.getPropertyValue("nodeAlign")},set:function(t){this.setPropertyValue("nodeAlign",t),this.changeSorting()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0);var e=this.nodes.template.nameLabel;"vertical"==t?(this.nodes.template.width=void 0,e.label.horizontalCenter="middle",e.locationX=.5):(this.nodes.template.height=void 0,e.label.horizontalCenter="left",e.locationX=1)},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new s.a;return this._disposers.push(t),t},e.prototype.createLink=function(){var t=new u.a;return this._disposers.push(t),t},Object.defineProperty(e.prototype,"valueHeight",{get:function(){return this._valueHeight},set:function(t){t!=this._valueHeight&&(this._valueHeight=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this._sorted=this.nodes.iterator()},e}(r.a);a.b.registeredClasses.SankeyDiagram=f},function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(130),o=i(257),a=i(1),s=i(13),u=i(5),l=i(3),h=function(t){function e(){var e=t.call(this)||this;e.nextInCoord=0,e.nextOutCoord=0,e.className="SankeyNode",e.width=10,e.height=10;var i=e.createChild(o.a);i.shouldClone=!1,i.locationX=1,i.locationY=.5,i.label.text="{name}",i.width=150,i.height=150,i.label.horizontalCenter="left",i.label.padding(0,5,0,5),e.nameLabel=i;var n=e.createChild(o.a);n.shouldClone=!1,n.label.hideOversized=!1,n.locationX=.5,n.locationY=.5,n.width=150,n.height=150,n.label.horizontalCenter="middle",e.valueLabel=n;var r=e.hiddenState;
20return r.properties.fill=(new s.a).getFor("disabledBackground"),r.properties.opacity=.5,r.properties.visible=!0,e.background.hiddenState.copyFrom(r),e}return n.c(e,t),e.prototype.invalidateLinks=function(){var e=this;t.prototype.invalidateLinks.call(this),this.nextInCoord=0,this.nextOutCoord=0;var i=this.chart;if(i){var n=i.orientation;this._incomingSorted&&u.each(this._incomingSorted,function(t){var r=t.link,o=t.getWorkingValue("value");if(l.isNumber(o)){r.parent=e.chart.linksContainer;var a=void 0,s=void 0,u=void 0;if("horizontal"==n?(a=e.pixelX+e.dx,s=e.nextInCoord+e.pixelY+e.dy,u=0):(s=e.pixelY+e.dy,a=e.nextInCoord+e.pixelX+e.dx,u=90),r.endX=a,r.endY=s,r.startAngle=u,r.endAngle=u,r.gradient.rotation=u,r.linkWidth=o*i.valueHeight,!t.fromNode){"horizontal"==n?(r.maxWidth=200,r.startX=e.pixelX+e.dx-r.maxWidth,r.startY=r.endY):(r.maxHeight=200,r.startX=r.endX,r.startY=e.pixelY+e.dy-r.maxHeight),r.gradient,r.fill=t.toNode.color;var h=r.gradient.stops.getIndex(0);h&&("gradient"==r.colorMode&&(h.color=e.color),h.opacity=0,r.fill=r.gradient,r.stroke=r.gradient,r.gradient.validate())}e.nextInCoord+=r.linkWidth}}),this._outgoingSorted&&u.each(this._outgoingSorted,function(t){var i=t.link;i.parent=e.chart.linksContainer;var r=t.getWorkingValue("value");if(l.isNumber(r)){var o=void 0,a=void 0,s=void 0;if("horizontal"==n?(s=0,o=e.pixelX+e.pixelWidth+e.dx-1,a=e.nextOutCoord+e.pixelY+e.dy):(s=90,o=e.nextOutCoord+e.pixelX+e.dx,a=e.pixelY+e.pixelHeight+e.dy-1),i.startX=o,i.startY=a,i.startAngle=s,i.endAngle=s,i.gradient.rotation=s,i.linkWidth=r*e.chart.valueHeight,!t.toNode){"horizontal"==n?(i.maxWidth=200,i.endX=e.pixelX+i.maxWidth+e.dx,i.endY=i.startY):(i.maxHeight=200,i.endX=i.startX,i.endY=e.pixelY+i.maxHeight+e.dy),i.opacity=e.opacity;var u=i.gradient.stops.getIndex(1);u&&("gradient"==i.colorMode&&(u.color=e.color),u.opacity=0,i.fill=i.gradient,i.stroke=i.gradient,i.gradient.validate())}e.nextOutCoord+=i.linkWidth}})}this.positionBullet(this.nameLabel),this.positionBullet(this.valueLabel)},e.prototype.positionBullet=function(t){t&&(t.x=this.measuredWidth*t.locationX,t.y=this.measuredHeight*t.locationY)},Object.defineProperty(e.prototype,"level",{get:function(){return this.getPropertyValue("level")},set:function(t){this.setPropertyValue("level",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.nameLabel.copyFrom(e.nameLabel),this.valueLabel.copyFrom(e.valueLabel)},e}(r.a);a.b.registeredClasses.SankeyNode=h},function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(74),o=i(37),a=i(1),s=i(14),u=i(13),l=function(t){function e(){var e=t.call(this)||this;e.className="LabelBullet";var i=e.createChild(o.a);return i.shouldClone=!1,i.verticalCenter="middle",i.horizontalCenter="middle",i.truncate=!0,i.hideOversized=!0,i.stroke=Object(s.c)(),i.strokeOpacity=0,i.fill=(new u.a).getFor("text"),e.events.on("maxsizechanged",e.handleMaxSize,e,!1),e.label=i,e}return n.c(e,t),e.prototype.handleMaxSize=function(){this.label.maxWidth=this.maxWidth,this.label.maxHeight=this.maxHeight},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label)},e}(r.a);a.b.registeredClasses.LabelBullet=l},function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n=i(0),r=i(131),o=i(1),a=i(132),s=i(13),u=i(4),l=i(3),h=i(72),c=i(12),p=function(t){function e(){var e=t.call(this)||this;e.className="SankeyLink";new s.a;return e.tension=.8,e.controlPointDistance=.2,e.startAngle=0,e.endAngle=0,e.linkWidth=0,e.startX=0,e.endX=0,e.startY=0,e.endY=0,e.middleLine=e.createChild(a.a),e.middleLine.shouldClone=!1,e.middleLine.strokeOpacity=0,e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){if(t.prototype.validate.call(this),!this.isTemplate){var e=this.startX,i=this.startY,n=this.endX,r=this.endY;l.isNumber(n)||(n=e),l.isNumber(r)||(r=i);var o=this.startAngle,a=this.endAngle,s=this.linkWidth,p="",d=e,f=i,g=n,y=r,m=e+s*u.sin(o),b=n+s*u.sin(a),v=i+s*u.cos(o),_=r+s*u.cos(a),x=e+s/2*u.sin(o),P=n+s/2*u.sin(a),w=i+s/2*u.cos(o),O=r+s/2*u.cos(a);this.zIndex=this.zIndex||this.dataItem.index;var S=this.tension+(1-this.tension)*u.sin(o),k=this.tension+(1-this.tension)*u.cos(o);if(this.middleLine.tensionX=S,this.middleLine.tensionY=k,l.isNumber(s)&&l.isNumber(e)&&l.isNumber(n)&&l.isNumber(i)&&l.isNumber(r)){u.round(d,3)==u.round(g,3)&&(g+=.01),u.round(f,3)==u.round(y,3)&&(y+=.01),u.round(m,3)==u.round(b,3)&&(b+=.01),u.round(v,3)==u.round(_,3)&&(_+=.01);var T=Math.min(m,b,d,g),C=Math.min(v,_,f,y),V=Math.max(m,b,d,g),I=Math.max(v,_,f,y);this._bbox={x:T,y:C,width:V-T,height:I-C};var j=this.controlPointDistance,D=d+(g-d)*j*u.cos(o),M=f+(y-f)*j*u.sin(o),E=g-(g-d)*j*u.cos(a),F=y-(y-f)*j*u.sin(a),N=x+(P-x)*j*u.cos(o),R=w+(O-w)*j*u.sin(o),L=P-(P-x)*j*u.cos(a),A=O-(O-w)*j*u.sin(a),B=u.getAngle({x:D,y:M},{x:E,y:F}),H=(s/u.cos(B)-s)/u.tan(B)*u.cos(o),W=(s/u.sin(B)-s)*u.tan(B)*u.sin(o),z=-H/2+m+(b-m)*j*u.cos(o),G=-W/2+v+(_-v)*j*u.sin(o),U=-H/2+b-(b-m)*j*u.cos(a),Y=-W/2+_-(_-v)*j*u.sin(a);this.middleLine.segments=[[{x:x,y:w},{x:N,y:R},{x:L,y:A},{x:P,y:O}]],D+=H/2,M+=W/2,E+=H/2,F+=W/2,p+=c.moveTo({x:d,y:f}),p+=new h.b(S,k).smooth([{x:d,y:f},{x:D,y:M},{x:E,y:F},{x:g,y:y}]),p+=c.lineTo({x:b,y:_}),p+=new h.b(S,k).smooth([{x:b,y:_},{x:U,y:Y},{x:z,y:G},{x:m,y:v}]),p+=c.closePath()}this.link.path=p,this.maskBullets&&(this.bulletsMask.path=p,this.bulletsContainer.mask=this.bulletsMask),this.positionBullets()}},Object.defineProperty(e.prototype,"startX",{get:function(){return this.getPropertyValue("startX")},set:function(t){this.setPropertyValue("startX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endX",{get:function(){return this.getPropertyValue("endX")},set:function(t){this.setPropertyValue("endX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startY",{get:function(){return this.getPropertyValue("startY")}
20,set:function(t){this.setPropertyValue("startY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endY",{get:function(){return this.getPropertyValue("endY")},set:function(t){this.setPropertyValue("endY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkWidth",{get:function(){return this.getPropertyValue("linkWidth")},set:function(t){this.setPropertyValue("linkWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(t){this.setPropertyValue("controlPointDistance",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.SankeyLink=p},,,,,,,function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(9),o=i(10),a=i(173),s=i(4),u=i(12),l=function(t){function e(){var e=t.call(this)||this;e.angle=30,e.depth=30,e.className="Rectangle3D",e.layout="none";var i=e.createChild(o.a);i.shouldClone=!1,i.setElement(e.paper.add("path")),i.isMeasured=!1;var n=new a.a;n.lightness=-.2,i.filters.push(n),e.sideBack=i,e._disposers.push(e.sideBack);var r=e.createChild(o.a);r.shouldClone=!1,r.setElement(e.paper.add("path")),r.isMeasured=!1;var s=new a.a;s.lightness=-.5,r.filters.push(s),e.sideBottom=r,e._disposers.push(e.sideBottom);var u=e.createChild(o.a);u.shouldClone=!1,u.setElement(e.paper.add("path")),u.isMeasured=!1;var l=new a.a;l.lightness=-.4,u.filters.push(l),e.sideLeft=u,e._disposers.push(e.sideLeft);var h=e.createChild(o.a);h.shouldClone=!1,h.setElement(e.paper.add("path")),h.isMeasured=!1;var c=new a.a;c.lightness=-.2,h.filters.push(c),e.sideRight=h,e._disposers.push(e.sideRight);var p=e.createChild(o.a);p.shouldClone=!1,p.setElement(e.paper.add("path")),p.isMeasured=!1;var d=new a.a;d.lightness=-.1,p.filters.push(d),e.sideTop=p,e._disposers.push(e.sideTop);var f=e.createChild(o.a);return f.shouldClone=!1,f.setElement(e.paper.add("path")),f.isMeasured=!1,e.sideFront=f,e._disposers.push(e.sideFront),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight,n=this.depth,r=this.angle,o=s.sin(r),a=s.cos(r),l={x:0,y:0},h={x:e,y:0},c={x:e,y:i},p={x:0,y:i},d={x:n*a,y:-n*o},f={x:n*a+e,y:-n*o},g={x:n*a+e,y:-n*o+i},y={x:n*a,y:-n*o+i};this.sideFront.path=u.moveTo(l)+u.lineTo(h)+u.lineTo(c)+u.lineTo(p)+u.closePath(),this.sideBack.path=u.moveTo(d)+u.lineTo(f)+u.lineTo(g)+u.lineTo(y)+u.closePath(),this.sideLeft.path=u.moveTo(l)+u.lineTo(d)+u.lineTo(y)+u.lineTo(p)+u.closePath(),this.sideRight.path=u.moveTo(h)+u.lineTo(f)+u.lineTo(g)+u.lineTo(c)+u.closePath(),this.sideBottom.path=u.moveTo(p)+u.lineTo(y)+u.lineTo(g)+u.lineTo(c)+u.closePath(),this.sideTop.path=u.moveTo(l)+u.lineTo(d)+u.lineTo(f)+u.lineTo(h)+u.closePath()},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return m});var n=i(0),r=i(9),o=i(69),a=i(1),s=i(14),u=i(11),l=i(8),h=i(61),c=i(117),p=i(89),d=i(5),f=i(3),g=i(91),y=i(42),m=function(t){function e(){var e=t.call(this)||this;e.className="HeatLegend",e.markerContainer=e.createChild(r.a),e.markerContainer.shouldClone=!1,e.markerCount=1;var i=new y.a;return i.minHeight=20,i.minWidth=20,i.interactionsEnabled=!1,i.fillOpacity=1,i.cornerRadius(0,0,0,0),e.markerContainer.minHeight=20,e.markerContainer.minWidth=20,e.orientation="horizontal",e.markers=new u.e(i),e._disposers.push(new u.c(e.markers)),e._disposers.push(e.markers.template),e.applyTheme(),e}return n.c(e,t),e.prototype.getMinFromRules=function(t){var e,i=this.series;if(i)return d.eachContinue(i.heatRules.iterator(),function(i){return i.property!=t||(e=i.min,!1)}),e},e.prototype.getMaxFromRules=function(t){var e,i=this.series;if(i)return d.each(i.heatRules.iterator(),function(i){return i.property!=t||(e=i.max,!1)}),e},e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.series,i=this.minColor,n=this.maxColor;if(f.hasValue(i)||(i=Object(s.e)(this.getMinFromRules("fill"))),f.hasValue(n)||(n=Object(s.e)(this.getMaxFromRules("fill"))),e){var r=e.fill;!f.hasValue(i)&&r instanceof s.a&&(i=r),!f.hasValue(n)&&r instanceof s.a&&(n=r)}f.hasValue(n)||(n=Object(s.e)(this.getMaxFromRules("fill")));var a=f.toNumber(this.getMinFromRules("fillOpacity"));f.isNumber(a)||(a=1);var u=f.toNumber(this.getMaxFromRules("fillOpacity"));f.isNumber(u)||(u=1);var h=f.toNumber(this.getMinFromRules("strokeOpacity"));f.isNumber(h)||(h=1);var c=f.toNumber(this.getMaxFromRules("strokeOpacity"));f.isNumber(c)||(c=1);for(var p=Object(s.e)(this.getMinFromRules("stroke")),d=Object(s.e)(this.getMaxFromRules("stroke")),y=0;y<this.markerCount;y++){var m=this.markers.getIndex(y);if(m||((m=this.markers.create()).parent=this.markerContainer,m.height=Object(l.c)(100),m.width=Object(l.c)(100)),1==this.markerCount){var b=new o.a;
20if(b.addColor(i,a),b.addColor(n,u),"vertical"==this.orientation&&(b.rotation=-90),m.fill=b,f.hasValue(p)&&f.hasValue(d)){var v=new o.a;v.addColor(p,h),v.addColor(d,c),"vertical"==this.orientation&&(v.rotation=-90),m.stroke=v}}else{var _=new s.a(g.interpolate(i.rgb,n.rgb,y/this.markerCount));m.fill=_;var x=a+(u-a)*y/this.markerCount;if(m.fillOpacity=x,f.hasValue(p)&&f.hasValue(d)){var P=new s.a(g.interpolate(p.rgb,d.rgb,y/this.markerCount));m.stroke=P;var w=h+(c-h)*y/this.markerCount;m.strokeOpacity=w}}}var O=this.valueAxis.renderer;this.markerCount>1&&("horizontal"==this.orientation?O.minGridDistance=this.measuredWidth/this.markerCount:O.minGridDistance=this.measuredHeight/this.markerCount),this.valueAxis.invalidate();y=this.markerCount;for(var S=this.markers.length;y<S;y++)this.markers.getIndex(y).parent=void 0},Object.defineProperty(e.prototype,"minColor",{get:function(){return this.getPropertyValue("minColor")},set:function(t){t instanceof s.a||(t=Object(s.e)(t)),this.setColorProperty("minColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxColor",{get:function(){return this.getPropertyValue("maxColor")},set:function(t){f.isObject(t)||(t=Object(s.e)(t)),this.setColorProperty("maxColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markerCount",{get:function(){return this.getPropertyValue("markerCount")},set:function(t){this.setPropertyValue("markerCount",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minValue",{get:function(){return this.getPropertyValue("minValue")},set:function(t){this.setPropertyValue("minValue",t),this.valueAxis.min=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxValue",{get:function(){return this.getPropertyValue("maxValue")},set:function(t){this.setPropertyValue("maxValue",t),this.valueAxis.max=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0);var e=this.markerContainer,i=this.valueAxis;"horizontal"==t?(f.hasValue(this.width)||(this.width=200),this.height=void 0,i.width=Object(l.c)(100),i.height=void 0,i.tooltip.pointerOrientation="vertical",this.layout="vertical",e.width=Object(l.c)(100),e.height=void 0,i.renderer instanceof c.a||(i.renderer=new c.a)):(f.hasValue(this.height)||(this.height=200),this.width=void 0,this.layout="horizontal",e.width=void 0,e.height=Object(l.c)(100),i.height=Object(l.c)(100),i.width=void 0,i.tooltip.pointerOrientation="horizontal",i.renderer instanceof p.a||(i.renderer=new p.a),i.renderer.inside=!0,i.renderer.labels.template.inside=!0);var n=i.renderer;n.grid.template.disabled=!0,n.axisFills.template.disabled=!0,n.baseGrid.disabled=!0,n.labels.template.padding(2,3,2,3),n.minHeight=void 0,n.minWidth=void 0,this.markerContainer.layout=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueAxis",{get:function(){return this._valueAxis||(this.valueAxis=this.createChild(h.a),this.valueAxis.shouldClone=!1),this._valueAxis},set:function(t){this._valueAxis=t,t.parent=this,t.strictMinMax=!0,this.orientation=this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"series",{get:function(){return this._series},set:function(t){var e=this;this._series=t;var i="value";try{var n=t.heatRules.getIndex(0).dataField;n&&(i=n)}catch(t){}this.updateMinMax(t.dataItem.values[i].low,t.dataItem.values[i].high),t.dataItem.events.on("calculatedvaluechanged",function(n){e.updateMinMax(t.dataItem.values[i].low,t.dataItem.values[i].high)},void 0,!1),t.heatRules.events.on("inserted",this.invalidate,this,!1),t.heatRules.events.on("removed",this.invalidate,this,!1)},enumerable:!0,configurable:!0}),e.prototype.updateMinMax=function(t,e){var i=this.valueAxis;f.isNumber(this.minValue)||(i.min=t,i.invalidate()),f.isNumber(this.maxValue)||(i.max=e,i.invalidate())},e.prototype.processConfig=function(e){if(e&&f.hasValue(e.series)&&f.isString(e.series)&&f.isString(e.series))if(this.map.hasKey(e.series))e.series=this.map.getKey(e.series);else{var i=e.series,n=this.map.events.on("insertKey",function(t){t.key==i&&(this.series=t.newValue,n.dispose())},this);this._disposers.push(n),delete e.series}t.prototype.processConfig.call(this,e)},e}(r.a);a.b.registeredClasses.HeatLegend=m}
20,,,,,,function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i(0),r=i(9),o=i(10),a=i(273),s=i(175),u=i(8),l=i(18),h=i(12),c=function(t){function e(){var e=t.call(this)||this;return e.className="Cone",e.angle=30,e.radius=Object(u.c)(100),e.topRadius=Object(u.c)(100),e.top=e.createChild(a.a),e.top.shouldClone=!1,e.bottom=e.createChild(a.a),e.bottom.shouldClone=!1,e.body=e.createChild(o.a),e.body.shouldClone=!1,e.body.setElement(e.paper.add("path")),e.layout="none",e.bodyFillModifier=new s.a,e.bodyFillModifier.lightnesses=[0,-.25,0],e.body.fillModifier=e.bodyFillModifier,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),l.copyProperties(this,this.top,o.b),l.copyProperties(this,this.bottom,o.b),l.copyProperties(this,this.body,o.b);var e,i,n,r=this.innerWidth,a=this.innerHeight,s=this.bottom,u=this.top,c=this.angle;"horizontal"==this.orientation?(e=a/2,s.y=a/2,u.y=a/2,u.x=r,i=(90-c)/90,n=0,this.bodyFillModifier.gradient.rotation=90):(i=0,n=(90-c)/90,e=r/2,s.y=a,s.x=r/2,u.x=r/2,this.bodyFillModifier.gradient.rotation=0);var p,d=this.radius.value*e,f=this.topRadius.value*e;s.radius=d-d*i,s.radiusY=d-d*n,u.radius=f-f*i,u.radiusY=f-f*n,p="horizontal"==this.orientation?h.moveTo({x:0,y:a/2-s.radiusY})+h.arcTo(-90,-180,s.radius,s.radiusY)+h.lineTo({x:r,y:a/2+u.radiusY})+h.arcTo(90,180,u.radius,u.radiusY)+h.closePath():h.moveTo({x:r/2-u.radius,y:0})+h.arcTo(180,-180,u.radius,u.radiusY)+h.lineTo({x:r/2+s.radius,y:a})+h.arcTo(0,180,s.radius,s.radiusY)+h.closePath(),this.body.path=p},Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topRadius",{get:function(){return this.getPropertyValue("topRadius")},set:function(t){this.setPropertyValue("topRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(96),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="Ellipse",e.element=e.paper.add("ellipse"),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({rx:this.radius}),this.element.attr({ry:this.radiusY})},Object.defineProperty(e.prototype,"radiusY",{get:function(){return this.innerHeight/2},set:function(t){this.height=2*t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.innerWidth/2},set:function(t){this.width=2*t,this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Ellipse=a},,function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(37),o=i(70),a=i(13),s=i(1),u=function(t){function e(){var e=t.call(this)||this;e.className="TextLink",e.selectable=!0;var i=new a.a;return e.fill=i.getFor("primaryButton").brighten(.3),e.states.create("hover").properties.fill=i.getFor("primaryButtonHover").brighten(.3),e.states.create("down").properties.fill=i.getFor("primaryButtonDown").brighten(.3),e.cursorOverStyle=o.a.pointer,e.applyTheme(),e}return n.c(e,t),e}(r.a);s.b.registeredClasses.TextLink=u},function(t,e,i){t.exports=!i(23)&&!i(19)(function(){return 7!=Object.defineProperty(i(180)("div"),"a",{get:function(){return 7}}).a})},function(t,e,i){e.f=i(22)},function(t,e,i){var n=i(38),r=i(39),o=i(135)(!1),a=i(182)("IE_PROTO");t.exports=function(t,e){var i,s=r(t),u=0,l=[];for(i in s)i!=a&&n(s,i)&&l.push(i);for(;e.length>u;)n(s,i=e[u++])&&(~o(l,i)||l.push(i));return l}},function(t,e,i){var n=i(24),r=i(15),o=i(80);t.exports=i(23)?Object.defineProperties:function(t,e){r(t);for(var i,a=o(e),s=a.length,u=0;s>u;)n.f(t,i=a[u++],e[i]);return t}}
vendor: 8,292 bytes, line 20
20,function(t,e,i){var n=i(39),r=i(83).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(n(t))}},function(t,e,i){"use strict";var n=i(80),r=i(136),o=i(112),a=i(27),s=i(111),u=Object.assign;t.exports=!u||i(19)(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[i]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var i=a(t),u=arguments.length,l=1,h=r.f,c=o.f;u>l;)for(var p,d=s(arguments[l++]),f=h?n(d).concat(h(d)):n(d),g=f.length,y=0;g>y;)c.call(d,p=f[y++])&&(i[p]=d[p]);return i}:u},function(t,e,i){"use strict";var n=i(29),r=i(20),o=i(283),a=[].slice,s={};t.exports=Function.bind||function(t){var e=n(this),i=a.call(arguments,1),u=function(){var n=i.concat(a.call(arguments));return this instanceof u?function(t,e,i){if(!(e in s)){for(var n=[],r=0;r<e;r++)n[r]="a["+r+"]";s[e]=Function("F,a","return new F("+n.join(",")+")")}return s[e](t,i)}(e,n.length,n):o(e,n,t)};return r(e.prototype)&&(u.prototype=e.prototype),u}},function(t,e){t.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},function(t,e,i){var n=i(17).parseInt,r=i(98).trim,o=i(186),a=/^[-+]?0[xX]/;t.exports=8!==n(o+"08")||22!==n(o+"0x16")?function(t,e){var i=r(String(t),3);return n(i,e>>>0||(a.test(i)?16:10))}:n},function(t,e,i){var n=i(17).parseFloat,r=i(98).trim;t.exports=1/n(i(186)+"-0")!=-1/0?function(t){var e=r(String(t),3),i=n(e);return 0===i&&"-"==e.charAt(0)?-0:i}:n},function(t,e,i){var n=i(45);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=n(t))throw TypeError(e);return+t}},function(t,e,i){var n=i(20),r=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&r(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,i){var n=i(189),r=Math.pow,o=r(2,-52),a=r(2,-23),s=r(2,127)*(2-a),u=r(2,-126);t.exports=Math.fround||function(t){var e,i,r=Math.abs(t),l=n(t);return r<u?l*(r/u/a+1/o-1/o)*u*a:(i=(e=(1+a/o)*r)-(e-r))>s||i!=i?l*(1/0):l*i}},function(t,e,i){var n=i(15);t.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},function(t,e,i){var n=i(29),r=i(27),o=i(111),a=i(25);t.exports=function(t,e,i,s,u){n(e);var l=r(t),h=o(l),c=a(l.length),p=u?c-1:0,d=u?-1:1;if(i<2)for(;;){if(p in h){s=h[p],p+=d;break}if(p+=d,u?p<0:c<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:c>p;p+=d)p in h&&(s=e(s,h[p],p,l));return s}},function(t,e,i){"use strict";var n=i(27),r=i(81),o=i(25);t.exports=[].copyWithin||function(t,e){var i=n(this),a=o(i.length),s=r(t,a),u=r(e,a),l=arguments.length>2?arguments[2]:void 0,h=Math.min((void 0===l?a:r(l,a))-u,a-s),c=1;for(u<s&&s<u+h&&(c=-1,u+=h-1,s+=h-1);h-- >0;)u in i?i[s]=i[u]:delete i[s],s+=c,u+=c;return i}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,i){i(23)&&"g"!=/./g.flags&&i(24).f(RegExp.prototype,"flags",{configurable:!0,get:i(140)})},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,i){var n=i(15),r=i(20),o=i(204);t.exports=function(t,e){if(n(t),r(e)&&e.constructor===t)return e;var i=o.f(t);return(0,i.resolve)(e),i.promise}},function(t,e,i){"use strict";var n=i(298),r=i(100);t.exports=i(143)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=n.getEntry(r(this,"Map"),t);return e&&e.v},set:function(t,e){return n.def(r(this,"Map"),0===t?0:t,e)}},n,!0)},function(t,e,i){"use strict";var n=i(24).f,r=i(82),o=i(87),a=i(44),s=i(85),u=i(86),l=i(192),h=i(293),c=i(84),p=i(23),d=i(63).fastKey,f=i(100),g=p?"_s":"size",y=function(t,e){var i,n=d(e);if("F"!==n)return t._i[n];for(i=t._f;i;i=i.n)if(i.k==e)return i};t.exports={getConstructor:function(t,e,i,l){var h=t(function(t,n){s(t,h,e,"_i"),t._t=e,t._i=r(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=n&&u(n,i,t[l],t)});return o(h.prototype,{clear:function(){for(var t=f(this,e),i=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete i[n.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var i=f(this,e),n=y(i,t);if(n){var r=n.n,o=n.p;delete i._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),i._f==n&&(i._f=r),i._l==n&&(i._l=o),i[g]--}return!!n},forEach:function(t){f(this,e);for(var i,n=a(t,arguments.length>1?arguments[1]:void 0,3);i=i?i.n:this._f;)for(n(i.v,i.k,this);i&&i.r;)i=i.p},has:function(t){return!!y(f(this,e),t)}}),p&&n(h.prototype,"size",{get:function(){return f(this,e)[g]}}),h},def:function(t,e,i){var n,r,o=y(t,e);return o?o.v=i:(t._l=o={i:r=d(e,!0),k:e,v:i,p:n=t._l,n:void 0,r:!1},t._f||(t._f=o),n&&(n.n=o),t[g]++,"F"!==r&&(t._i[r]=o)),t},getEntry:y,setStrong:function(t,e,i){l(t,e,function(t,i){this._t=f(t,e),this._k=i,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?h(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,h(1))},i?"entries":"values",!i,!0),c(e)}}},function(t,e,i){"use strict";var n=i(298),r=i(100);t.exports=i(143)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(r(this,"Set"),t=0===t?0:t,t)}},n)},function(t,e,i){"use strict";var n,r=i(51)(0),o=i(32),a=i(63),s=i(281),u=i(301),l=i(20),h=i(19),c=i(100),p=a.getWeak,d=Object.isExtensible,f=u.ufstore,g={},y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(l(t)){var e=p(t);return!0===e?f(c(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(c(this,"WeakMap"),t,e)}},b=t.exports=i(143)("WeakMap",y,m,u,!0,!0);h(function(){return 7!=(new b).set((Object.freeze||Object)(g),7).get(g)})&&(s((n=u.getConstructor(y,"WeakMap")).prototype,m),a.NEED=!0,r(["delete","has","get","set"],function(t){var e=b.prototype,i=e[t];o(e,t,function(e,r){if(l(e)&&!d(e)){this._f||(this._f=new n);var o=this._f[t](e,r);return"set"==t?this:o}return i.call(this,e,r)})}))},function(t,e,i){"use strict";var n=i(87),r=i(63).getWeak,o=i(15),a=i(20),s=i(85),u=i(86),l=i(51),h=i(38),c=i(100),p=l(5),d=l(6),f=0,g=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},m=function(t,e){return p(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var i=m(this,t);i?i[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,i,o){var l=t(function(t,n){s(t,l,e,"_i"),t._t=e,t._i=f++,t._l=void 0,void 0!=n&&u(n,i,t[o],t)});return n(l.prototype,{delete:function(t){if(!a(t))return!1;var i=r(t);return!0===i?g(c(this,e)).delete(t):i&&h(i,this._i)&&delete i[this._i]},has:function(t){if(!a(t))return!1;var i=r(t);return!0===i?g(c(this,e)).has(t):i&&h(i,this._i)}}),l},def:function(t,e,i){var n=r(o(e),!0);return!0===n?g(t).set(e,i):n[t._i]=i,t},ufstore:g}},function(t,e,i){var n=i(49),r=i(25);t.exports=function(t){if(void 0===t)return 0;var e=n(t),i=r(e);if(e!==i)throw RangeError("Wrong length!");return i}},function(t,e,i){var n=i(83),r=i(136),o=i(15),a=i(17).Reflect;t.exports=a&&a.ownKeys||function(t){var e=n.f(o(t)),i=r.f;return i?e.concat(i(t)):e}},function(t,e,i){"use strict";var n=i(137),r=i(20),o=i(25),a=i(44),s=i(22)("isConcatSpreadable");t.exports=function t(e,i,u,l,h,c,p,d){for(var f,g,y=h,m=0,b=!!p&&a(p,d,3);m<l;){if(m in u){if(f=b?b(u[m],m,i):u[m],g=!1,r(f)&&(g=void 0!==(g=f[s])?!!g:n(f)),g&&c>0)y=t(e,i,f,o(f.length),y,c-1)-1;else{if(y>=9007199254740991)throw TypeError();e[y]=f}y++}m++}return y}},function(t,e,i){var n=i(25),r=i(188),o=i(48);t.exports=function(t,e,i,a){var s=String(o(t)),u=s.length,l=void 0===i?" ":String(i),h=n(e);if(h<=u||""==l)return s;var c=h-u,p=r.call(l,Math.ceil(c/l.length));return p.length>c&&(p=p.slice(0,c)),a?p+s:s+p}}
20,function(t,e,i){var n=i(80),r=i(39),o=i(112).f;t.exports=function(t){return function(e){for(var i,a=r(e),s=n(a),u=s.length,l=0,h=[];u>l;)o.call(a,i=s[l++])&&h.push(t?[i,a[i]]:a[i]);return h}}},function(t,e,i){var n=i(113),r=i(308);t.exports=function(t){return function(){if(n(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},function(t,e,i){var n=i(86);t.exports=function(t,e){var i=[];return n(t,!1,i.push,i,e),i}},function(t,e){t.exports=Math.scale||function(t,e,i,n,r){return 0===arguments.length||t!=t||e!=e||i!=i||n!=n||r!=r?NaN:t===1/0||t===-1/0?t:(t-e)*(r-n)/(i-e)+n}},function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(110),o=i(1),a=i(4),s=i(12),u=function(t){function e(){var e=t.call(this)||this;return e.className="Polyarc",e.controlPointDistance=.5,e.controlPointPosition=.5,e.applyTheme(),e}return n.c(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments;if(t&&t.length>0){var e="";this._realSegments=[];for(var i=0,n=t.length;i<n;i++){var r=t[i],o=[];if(this._realSegments.push(o),r.length>0){e+=s.moveTo(r[0]);for(var u=1;u<r.length;u++){var l=r[u-1],h=r[u],c=a.getDistance(h,l),p=c*this.controlPointDistance,d=this.controlPointPosition,f=-a.getAngle(l,h),g={x:l.x+(h.x-l.x)*d*.5-p*a.sin(f),y:l.y+(h.y-l.y)*d*.5-p*a.cos(f)},y={x:l.x+(h.x-l.x)*d*1.5-p*a.sin(f),y:l.y+(h.y-l.y)*d*1.5-p*a.cos(f)};e+=s.cubicCurveTo(h,g,y);var m=Math.ceil(c),b=l;if(m>0)for(var v=0;v<=m;v++){var _=a.getPointOnCubicCurve(l,h,g,y,v/m);o.push(_),this._distance+=a.getDistance(b,_),b=_}else o.push(l)}}}this.path=e}},Object.defineProperty(e.prototype,"controlPointPosition",{get:function(){return this.getPropertyValue("controlPointPosition")},set:function(t){this.setPropertyValue("controlPointPosition",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(t){this.setPropertyValue("controlPointDistance",t),this.makePath()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Polyarc=u},function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(10),o=i(312),a=i(1),s=i(12),u=i(3),l=function(t){function e(){var e=t.call(this)||this;return e.className="Polygon",e.element=e.paper.add("path"),e.shapeRendering="auto",e._currentPoints=[],e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"points",{get:function(){return this.getPropertyValue("points")},set:function(t){this.setPropertyValue("points",t,!0),this._currentPoints=this.points},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentPoints",{get:function(){return this._currentPoints},set:function(t){this._currentPoints!=t&&(this._currentPoints=t,this.draw())},enumerable:!0,configurable:!0}),e.prototype.draw=function(){var t,e,i,n,r="",o=this._currentPoints;if(o.length>0){for(var a=0,l=o.length;a<l;a++){var h=o[a][0],c=o[a][1];if(h&&h.length>0){var p=h[0];r+=s.moveTo(p);for(var d=0;d<h.length;d++)p=h[d],r+=s.lineTo(p),(!u.isNumber(e)||e<p.x)&&(e=p.x),(!u.isNumber(t)||t>p.x)&&(t=p.x),(!u.isNumber(i)||i>p.y)&&(i=p.y),(!u.isNumber(n)||n<p.y)&&(n=p.y)}if(c&&c.length>0){p=c[0];r+=s.moveTo(p);for(var f=0,g=c.length;f<g;f++)p=c[f],r+=s.lineTo(p)}}r&&(r+=s.closePath()),this.bbox.x=t,this.bbox.y=i,this.bbox.width=e-t,this.bbox.height=n-i}this.path=r},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"centerPoint",{get:function(){return{x:this.bbox.x+this.bbox.width/2,y:this.bbox.y+this.bbox.height/2}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"morpher",{get:function(){return this._morpher||(this._morpher=new o.a(this),this._disposers.push(this._morpher)),this._morpher},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.Polygon=l},function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(21),o=i(36),a=i(4),s=i(43),u=i(3),l=function(t){function e(e){var i=t.call(this)||this;return i._bboxes=[],i.morphDuration=800,i.morphEasing=s.cubicOut,i.morphToSingle=!0,i.scaleRatio=1,i.className="Morpher",i.morphable=e,i.applyTheme(),i}
20return n.c(e,t),e.prototype.morphToPolygon=function(t,e,i){var n=this.morphable.currentPoints;this.sortPoints(n),this.sortPoints(t),this._morphFromPointsReal=[],this._morphToPointsReal=[],u.hasValue(e)||(e=this.morphDuration),u.hasValue(i)||(i=this.morphEasing),this._morphFromPointsReal=this.normalizePoints(t,n),this._morphToPointsReal=this.normalizePoints(n,t),this.morphable.currentPoints=this._morphFromPointsReal;var r=new o.a(this,{property:"morphProgress",from:0,to:1},e,i);return this._disposers.push(r),r.start(),r},e.prototype.normalizePoints=function(t,e){for(var i=0,n=t.length;i<n;i++){var r=t[i][0],o=t[i][1],s=u.getValue(a.getBBox(r)),l=s.x+s.width,h=s.y+s.height;if(e[i]||(e[i]=[]),r&&!e[i][0]&&(e[i][0]=[{x:l,y:h},{x:l,y:h}]),e[i][0]){e[i][0]=this.addPoints(e[i][0],r.length);for(var c=1/0,p=0,d=0;d<e[i][0].length;d++){var f=a.getDistance(e[i][0][d],r[0]);f<c&&(p=d,c=f)}var g=e[i][0].slice(0,p),y=e[i][0].slice(p);e[i][0]=y.concat(g)}o&&(e[i][1]||(e[i][1]=[{x:l,y:h},{x:l,y:h}]),e[i][1]=this.addPoints(e[i][1],o.length))}return e},e.prototype.sortPoints=function(t){t.sort(function(t,e){var i=u.getValue(a.getBBox(t[0])),n=u.getValue(a.getBBox(e[0]));return i.width*i.height>n.width*n.height?-1:1});for(var e=[],i=0,n=t.length;i<n;i++){var r=t[i][0];r&&e.push(u.getValue(a.getBBox(r)))}return a.getCommonRectangle(e)},e.prototype.morphToCircle=function(t,e,i){var n=this.morphable.points,r=this.sortPoints(n);this._morphFromPointsReal=[],this._morphToPointsReal=[],u.hasValue(e)||(e=this.morphDuration),u.hasValue(i)||(i=this.morphEasing);for(var s=0,l=n.length;s<l;s++){var h=n[s][0],c=n[s][1];if(this._morphFromPointsReal[s]=[],this._morphToPointsReal[s]=[],h){var p=h,d=h,f=u.getValue(a.getBBox(d));this.morphToSingle&&(f=u.getValue(r));var g=f.x+f.width/2,y=f.y+f.height/2,m=t;u.isNumber(m)||(m=Math.min(f.width/2,f.height/2)),p=[];var b=a.getAngle({x:g,y:y},h[0]),v=100;h.length>v&&(v=h.length);for(var _=360/((v=(d=this.addPoints(h,v)).length)-1),x=0;x<v;x++){var P=_*x+b,w={x:g+m*a.cos(P),y:y+m*a.sin(P)};p[x]=w}if(c&&c.length>0)for(var O=0,S=c.length;O<S;O++)p.push({x:g,y:y});this._morphFromPointsReal[s][0]=d,this._morphToPointsReal[s][0]=p}}this.morphable.currentPoints=this._morphFromPointsReal;var k=new o.a(this,{property:"morphProgress",from:0,to:1},e,i);return this._disposers.push(k),k.start(),k},e.prototype.addPoints=function(t,e){for(var i=Math.round(e/t.length),n=[],r=0,o=t.length;r<o;r++){var a=t[r],s=void 0;s=r==t.length-1?t[0]:t[r+1],n.push(a);for(var u=1;u<i;u++){var l=u/i,h={x:a.x+(s.x-a.x)*l,y:a.y+(s.y-a.y)*l};n.push(h)}n.length+t.length-r==e&&(i=0)}if(n.length<e&&t.length>0){var c=t[t.length-1];for(u=n.length;u<e;u++)n.push({x:c.x,y:c.y})}return n},e.prototype.morphToRectangle=function(t,e,i,n){var r=this.morphable.points;this.sortPoints(r),this._morphFromPointsReal=[],this._morphToPointsReal=[],u.hasValue(i)||(i=this.morphDuration),u.hasValue(n)||(n=this.morphEasing);for(var a=0,s=r.length;a<s;a++){var l=r[a][0],h=r[a][1];if(this._morphFromPointsReal[a]=[],this._morphToPointsReal[a]=[],l){var c=l,p=l,d=this._bboxes[a];this.morphToSingle;var f=d.x,g=d.y,y=t,m=e;if(u.isNumber(y)||(y=d.width),u.isNumber(m)||(m=d.height),c=[{x:f,y:g},{x:f+y,y:g},{x:f+y,y:g+m},{x:f,y:g+m}],c=this.addPoints(c,l.length),l.length<4)for(var b=l.length;b<4;b++)c.push({x:l[b].x,y:l[b].y});if(h&&h.length>0)for(var v=d.x+d.width/2,_=d.y+d.height/2,x=0,P=h.length;x<P;x++)c.push({x:v,y:_});this._morphFromPointsReal[a][0]=p,this._morphToPointsReal[a][0]=c}}this.morphable.currentPoints=this._morphFromPointsReal;var w=new o.a(this,{property:"morphProgress",from:0,to:1},i,n);return this._disposers.push(w),w.start(),w},Object.defineProperty(e.prototype,"morphProgress",{get:function(){return this._morphProgress},set:function(t){this._morphProgress=t;var e=[];if(null!=t){var i=this._morphFromPointsReal,n=this._morphToPointsReal;if(null!=i&&null!=n)for(var r=0,o=i.length;r<o;r++){var a=[];e.push(a);var s=i[r][0],u=i[r][1],l=n[r][0],h=n[r][1];if(s&&s.length>0&&l&&l.length>0){for(var c=[],p=0,d=s.length;p<d;p++){var f=s[p],g=l[p],y={x:f.x+(g.x*this.scaleRatio-f.x)*t,y:f.y+(g.y*this.scaleRatio-f.y)*t};c.push(y)}a[0]=c}if(u&&u.length>0&&h&&h.length>0){for(var m=[],b=0,v=u.length;b<v;b++){f=u[b],g=h[b],y={x:f.x+(g.x*this.scaleRatio-f.x)*t,y:f.y+(g.y*this.scaleRatio-f.y)*t};m.push(y)}a[1]=m}}}this.morphable.currentPoints=e},enumerable:!0,configurable:!0}),e.prototype.morphBack=function(t,e){this._morphToPointsReal=this._morphFromPointsReal,this._morphFromPointsReal=this.morphable.currentPoints,u.hasValue(t)||(t=this.morphDuration),u.hasValue(e)||(e=this.morphEasing);var i=new o.a(this,{property:"morphProgress",from:0,to:1},t,e);return this._disposers.push(i),i.start(),i},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new o.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),e}(r.a)}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(58),o=i(13),a=function(t){function e(){var e=t.call(this)||this;return e.className="FocusFilter",e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":(new o.a).getFor("primaryButtonHover"),result:"base"}),e.filterPrimitives.push(e.feFlood),e.feMorphology=e.paper.add("feMorphology"),e.feMorphology.attr({result:"bigger",in:"SourceGraphic",operator:"dilate",radius:"2"}),e.filterPrimitives.push(e.feMorphology),e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({result:"mask",in:"bigger",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"}),e.filterPrimitives.push(e.feColorMatrix),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({result:"drop",in:"base",in2:"mask",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feBlend=e.paper.add("feBlend"),e.feBlend.attr({in:"SourceGraphic",in2:"drop",mode:"normal"}),e.filterPrimitives.push(e.feBlend),e.width=130,e.height=130,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(t){this.properties.stroke=t,this.feFlood.attr({"flood-color":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(t){this.properties.strokeWidth=t,this.feMorphology.attr({radius:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(t){this.properties.opacity=t,this.feColorMatrix.attr({values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "+t+" 0"})},enumerable:!0,configurable:!0}),e.prototype.setSprite=function(e){this._sprite&&this._sprite!=e&&this._sprite.group.removeStyle("outline"),e.group.addStyle({outline:"none"}),t.prototype.setSprite.call(this,e)},e}(r.a)},function(t,e,i){"use strict";e.a=function(t,e){var i;y.isString(e)&&(y.hasValue(r.b.registeredClasses[e])?e=r.b.registeredClasses[e]:(e=r.b.registeredClasses.Container,i=new Error("Class ["+e+"] is not loaded.")));var n=b(t,e);i&&n.raiseCriticalError(i);return n},e.b=function(t,e,i){y.hasValue(i)||(i=t.type,delete t.type);y.hasValue(e)||(e=t.container,delete t.container);var n,a;y.isString(i)&&y.hasValue(r.b.registeredClasses[i])?n=r.b.registeredClasses[i]:"function"!=typeof i?(n=o.a,a=new Error("Class ["+i+"] is not loaded.")):n=i;if(y.hasValue(t.geodata)&&y.isString(t.geodata))if(y.hasValue(window["am4geodata_"+t.geodata]))t.geodata=window["am4geodata_"+t.geodata];else try{t.geodata=JSON.parse(t.geodata)}catch(t){a=new Error("<code>geodata</code> is incorrect or the map file is not loaded.")}var s=b(e,n);a?s.raiseCriticalError(a):s.config=t;return s},e.e=function(t){r.b.themes.push(t)},e.d=function(t){g.remove(r.b.themes,t)},e.c=function(){r.b.themes=[]};var n=i(66),r=i(1),o=i(9),a=i(59),s=i(155),u=i(313),l=i(207),h=i(551),c=i(94),p=i(7),d=i(8),f=i(67),g=i(16),y=i(3),m=i(35);function b(t,e){var i=m.m(t);if(i){i.innerHTML="";var b=new s.a(i),v=new a.a(b.SVGContainer,"svg-"+(s.b.length-1)),_=new o.a;_.htmlContainer=i,_.svgContainer=b,_.width=Object(d.c)(100),_.height=Object(d.c)(100),_.background.fillOpacity=0,_.paper=v,v.append(_.group),_.relativeWidth=1,_.relativeHeight=1,b.container=_;var x=_.createChild(e);x.topParent=_;var P=x.uid;r.b.invalidSprites[P]=[],r.b.invalidDatas[P]=[],r.b.invalidPositions[P]=[],r.b.invalidLayouts[P]=[],_.baseId=P,x.isBaseSprite=!0,x.focusFilter=new u.a,r.b.baseSprites.push(x),r.b.baseSpritesByUid[P]=x,x.maskRectangle={x:0,y:0,width:b.width,height:b.height},_.events.on("maxsizechanged",function(t){0!=t.previousWidth&&0!=t.previousHeight||_.deepInvalidate(),x.maskRectangle&&(x.maskRectangle={x:0,y:0,width:b.width,height:b.height})}),x.addDisposer(new p.b(function(){g.remove(r.b.baseSprites,x),r.b.baseSpritesByUid[x.uid]=void 0})),x.addDisposer(_);var w=_.createChild(o.a);w.topParent=_,w.width=Object(d.c)(100),w.height=Object(d.c)(100),w.isMeasured=!1,_.tooltipContainer=w,x.tooltip=new c.a,x.tooltip.hide(0),x.tooltip.setBounds({x:0,y:0,width:w.maxWidth,height:w.maxHeight}),w.events.on("maxsizechanged",function(){y.getValue(x.tooltip).setBounds({x:0,y:0,width:w.maxWidth,height:w.maxHeight})},void 0,!1);var O=new l.a;if(O.events.on("inited",function(){O.__disabled=!0},void 0,!1),_.preloader=O,!f.a.commercialLicense){var S=w.createChild(h.a);w.events.on("maxsizechanged",function(t){w.maxWidth<=100||w.maxHeight<=50?S.hide():(S.isHidden||S.isHiding)&&S.show()},void 0,!1),x.logo=S,S.align="left",S.valign="bottom"}return x.numberFormatter,_.isStandaloneInstance=!0,x}throw n.b.log("html container not found"),new Error("html container not found")}}
20,,,,,,,,function(t,e,i){"use strict";var n=i(35),r=i(26),o=i(7),a=new r.a;e.a=function(t){return t||(t="ampopup"),a.insertKeyIfEmpty(t,function(){var e=new o.c([new n.c("."+t,{overflow:"visible",position:"absolute",top:"0",left:"0","z-index":"2000"}),new n.c("."+t+"-curtain",{width:"100%",height:"100%",position:"absolute",top:"0",left:"0","z-index":"2001",background:"#fff",opacity:"0.5"}),new n.c("."+t+"-title",{"font-weight":"bold","font-size":"120%"}),new n.c("."+t+"-content",{padding:"1em 2em",background:"rgb(255, 255, 255);","background-color":"rgba(255, 255, 255, 0.8)",display:"inline-block",position:"absolute",top:"0",left:"0","max-width":"90%","max-height":"90%",overflow:"auto","z-index":"2002"}),new n.c("."+t+"-close",{display:"block",position:"absolute",top:"0.3em",right:"0.3em","background-color":"rgb(100, 100, 100)",background:"rgba(100, 100, 100, 0.1) url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyBoZWlnaHQ9IjUxMiIgdmVyc2lvbj0iMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ0NS4yIDEwOS4ybC00Mi40LTQyLjRMMjU2IDIxMy42IDEwOS4yIDY2LjhsLTQyLjQgNDIuNEwyMTMuNiAyNTYgNjYuOCA0MDIuOGw0Mi40IDQyLjRMMjU2IDI5OC40bDE0Ni44IDE0Ni44IDQyLjQtNDIuNEwyOTguNCAyNTYiLz48L3N2Zz4=) no-repeat center","background-size":"80%",width:"1.2em",height:"1.2em",cursor:"pointer"})]);return new o.a(function(){a.removeKey(t),e.dispose()})}).increment()}},function(t,e,i){"use strict";var n,r;"undefined"!=typeof window&&window,void 0===(r="function"==typeof(n=function(){if("undefined"==typeof window)return null;var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)};function e(t,e){var i=Object.prototype.toString.call(t),n="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"[object Object]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,r=0,o=t.length;if(n)for(;r<o;r++)e(t[r]);else e(t)}function i(t){if(!t.getBoundingClientRect)return{width:t.offsetWidth,height:t.offsetHeight};var e=t.getBoundingClientRect();return{width:Math.round(e.width),height:Math.round(e.height)}}var n=function(r,o){function a(e,n){if(e)if(e.resizedAttached)e.resizedAttached.add(n);else{e.resizedAttached=new function(){var t,e,i=[];this.add=function(t){i.push(t)},this.call=function(n){for(t=0,e=i.length;t<e;t++)i[t].call(this,n)},this.remove=function(n){var r=[];for(t=0,e=i.length;t<e;t++)i[t]!==n&&r.push(i[t]);i=r},this.length=function(){return i.length}},e.resizedAttached.add(n),e.resizeSensor=document.createElement("div"),e.resizeSensor.dir="ltr",e.resizeSensor.className="resize-sensor";var r="pointer-events: none; position: absolute; left: 0px; top: 0px; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden; max-width: 100%;",o="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=r,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+r+'"><div style="'+o+'"></div></div><div class="resize-sensor-shrink" style="'+r+'"><div style="'+o+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor);var a=window.getComputedStyle(e),s=a?a.getPropertyValue("position"):null;"absolute"!==s&&"relative"!==s&&"fixed"!==s&&(e.style.position="relative");var u,l,h=e.resizeSensor.childNodes[0],c=h.childNodes[0],p=e.resizeSensor.childNodes[1],d=i(e),f=d.width,g=d.height,y=!0,m=0,b=function(){if(y){if(0===e.offsetWidth&&0===e.offsetHeight)return void(m||(m=t(function(){m=0,b()})));y=!1}var i,n;i=e.offsetWidth,n=e.offsetHeight,c.style.width=i+10+"px",c.style.height=n+10+"px",h.scrollLeft=i+10,h.scrollTop=n+10,p.scrollLeft=i+10,p.scrollTop=n+10};e.resizeSensor.resetSensor=b;var v=function(){l=0,u&&(f=d.width,g=d.height,e.resizedAttached&&e.resizedAttached.call(d))},_=function(){d=i(e),(u=d.width!==f||d.height!==g)&&!l&&(l=t(v)),b()},x=function(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)};x(h,"scroll",_),x(p,"scroll",_),t(b)}}e(r,function(t){a(t,o)}),this.detach=function(t){n.detach(r,t)},this.reset=function(){r.resizeSensor.resetSensor()}};if(n.reset=function(t){e(t,function(t){t.resizeSensor.resetSensor()})},n.detach=function(t,i){e(t,function(t){t&&(t.resizedAttached&&"function"==typeof i&&(t.resizedAttached.remove(i),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached))})},"undefined"!=typeof MutationObserver){var r=new MutationObserver(function(t){for(var e in t)for(var i=t[e].addedNodes,r=0;r<i.length;r++)i[r].resizeSensor&&n.reset(i[r])});document.addEventListener("DOMContentLoaded",function(t){r.observe(document.body,{childList:!0,subtree:!0})})}return n})?n.call(e,i,e,t):n)||(t.exports=r)}
20,function(t,e,i){"use strict";var n=i(35),r=i(13),o=i(26),a=i(7),s=new o.a;e.a=function(t){var e=t||"amexport",i=new r.a;return s.insertKeyIfEmpty(e,function(){var t=new a.c([new n.c("."+e+"-menu-level-0",{position:"absolute",top:"5px",right:"5px"}),new n.c("."+e+"-menu-level-0."+e+"-left",{right:"auto",left:"5px"}),new n.c("."+e+"-menu-level-0."+e+"-right",{right:"5px",left:"auto"}),new n.c("."+e+"-menu-level-0."+e+"-top",{top:"5px",bottom:"auto"}),new n.c("."+e+"-menu-level-0."+e+"-bottom",{top:"auto",bottom:"5px"}),new n.c("."+e+"-item."+e+"-item-level-0",{opacity:"0.3",width:"30px",height:"30px",transition:"all 100ms ease-in-out"}),new n.c("div:hover ."+e+"-item."+e+"-item-level-0, ."+e+"-item."+e+"-item-level-0.active",{opacity:"0.9"}),new n.c("."+e+"-item."+e+"-item-level-0 > a",{padding:"0","text-align":"center"}),new n.c("."+e+"-item."+e+"-item-level-0:before",{display:"block"}),new n.c("."+e+"-item",{position:"relative",display:"block",opacity:"0","z-index":"1","border-radius":"3px","background-color":i.getFor("secondaryButton").hex,padding:"0",margin:"1px 1px 0 0",color:i.getFor("secondaryButton").alternative.hex,transition:"all 100ms ease-in-out, opacity 0.5s ease 0.5s"}),new n.c("."+e+"-left ."+e+"-item",{margin:"1px 0 0 1px"}),new n.c("."+e+"-item:hover, ."+e+"-item.active",{background:i.getFor("secondaryButtonHover").hex,color:i.getFor("secondaryButtonText").hex}),new n.c("."+e+"-item > ."+e+"-menu",{position:"absolute",top:"-1px",right:"0","margin-right":"100%"}),new n.c("."+e+"-left ."+e+"-item > ."+e+"-menu",{left:"0",right:"auto","margin-left":"100%","margin-right":"auto"}),new n.c("."+e+"-right ."+e+"-item > ."+e+"-menu",{left:"auto",right:"0","margin-left":"auto","margin-right":"100%"}),new n.c("."+e+"-top ."+e+"-item > ."+e+"-menu",{top:"-1px",bottom:"auto"}),new n.c("."+e+"-bottom ."+e+"-item > ."+e+"-menu",{top:"auto",bottom:"0"}),new n.c("."+e+"-item > ."+e+"-menu",{display:"none"}),new n.c("."+e+"-item:hover > ."+e+"-menu, ."+e+"-item.active > ."+e+"-menu",{display:"block"}),new n.c("."+e+"-item:hover > ."+e+"-menu > ."+e+"-item, ."+e+"-item.active > ."+e+"-menu > ."+e+"-item",{opacity:"1"}),new n.c("."+e+"-menu",{display:"block","list-style":"none",margin:"0",padding:"0"}),new n.c("."+e+"-label",{display:"block",cursor:"default",padding:"0.5em 1em"}),new n.c("."+e+"-clickable",{cursor:"pointer"})]);return new a.a(function(){s.removeKey(e),t.dispose()})}).increment()}},,,,,,,,,,,function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0),r=i(108),o=i(7),a=i(1),s=i(6),u=i(12),l=function(t){function e(){var e=t.call(this)||this;return e._label=new o.d,e._slice=new o.d,e.className="FunnelTick",e.element=e.paper.add("path"),e._disposers.push(e._label),e._disposers.push(e._slice),e.setPropertyValue("locationX",0),e.setPropertyValue("locationY",0),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.slice,i=e.getPoint(this.locationX,this.locationY);if(i){var n=this.label;if("vertical"==e.dataItem.component.orientation){var r=n.pixelX,o=n.pixelY,a=s.spritePointToSprite(i,e,this.parent),l=s.spritePointToSprite({x:r,y:o},n.parent,this.parent);this.path=u.moveTo(a)+u.lineTo(l)}else{r=n.pixelX,o=n.pixelY-n.measuredHeight,a=s.spritePointToSprite(i,e,this.parent),l=s.spritePointToSprite({x:r,y:o},n.parent,this.parent);this.path=u.moveTo(a)+u.lineTo(l)}}},Object.defineProperty(e.prototype,"slice",{get:function(){return this._slice.get()},set:function(t){this._slice.set(t,new o.c([t.events.on("transformed",this.invalidate,this,!1),t.events.on("validated",this.invalidate,this,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label.get()},set:function(t){this._label.set(t,t.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(t){this.setPropertyValue("locationX",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(t){this.setPropertyValue("locationY",t,!1,!0)},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.FunnelTick=l}
vendor: 8,829 bytes, line 20
20,,,,,,,,function(t,e,i){i(344),t.exports=i(541)},function(t,e,i){i(345),i(347),i(348),i(349),i(350),i(351),i(352),i(353),i(354),i(355),i(356),i(357),i(358),i(359),i(360),i(361),i(363),i(364),i(365),i(366),i(367),i(368),i(369),i(370),i(371),i(372),i(373),i(374),i(375),i(376),i(377),i(378),i(379),i(380),i(381),i(382),i(383),i(384),i(385),i(386),i(387),i(388),i(389),i(390),i(391),i(392),i(393),i(394),i(395),i(396),i(397),i(398),i(399),i(400),i(401),i(402),i(403),i(404),i(405),i(406),i(407),i(408),i(409),i(410),i(411),i(412),i(413),i(414),i(415),i(416),i(417),i(418),i(419),i(420),i(421),i(422),i(423),i(425),i(426),i(428),i(429),i(430),i(431),i(432),i(433),i(434),i(436),i(437),i(438),i(439),i(440),i(441),i(442),i(443),i(444),i(445),i(446),i(447),i(448),i(201),i(449),i(450),i(294),i(451),i(452),i(453),i(454),i(455),i(297),i(299),i(300),i(456),i(457),i(458),i(459),i(460),i(461),i(462),i(463),i(464),i(465),i(466),i(467),i(468),i(469),i(470),i(471),i(472),i(473),i(474),i(475),i(476),i(477),i(478),i(479),i(480),i(481),i(482),i(483),i(484),i(485),i(486),i(487),i(488),i(489),i(490),i(491),i(492),i(493),i(494),i(495),i(496),i(497),i(498),i(499),i(500),i(501),i(502),i(503),i(504),i(505),i(506),i(507),i(508),i(509),i(510),i(511),i(512),i(513),i(514),i(515),i(516),i(517),i(518),i(519),i(520),i(521),i(522),i(523),i(524),i(525),i(526),i(527),i(528),i(529),i(530),i(531),i(532),i(533),i(534),i(535),i(536),i(537),i(538),i(539),i(540),t.exports=i(52)},function(t,e,i){"use strict";var n=i(17),r=i(38),o=i(23),a=i(2),s=i(32),u=i(63).KEY,l=i(19),h=i(134),c=i(97),p=i(78),d=i(22),f=i(277),g=i(181),y=i(346),m=i(137),b=i(15),v=i(20),_=i(39),x=i(47),P=i(77),w=i(82),O=i(280),S=i(40),k=i(24),T=i(80),C=S.f,V=k.f,I=O.f,j=n.Symbol,D=n.JSON,M=D&&D.stringify,E=d("_hidden"),F=d("toPrimitive"),N={}.propertyIsEnumerable,R=h("symbol-registry"),L=h("symbols"),A=h("op-symbols"),B=Object.prototype,H="function"==typeof j,W=n.QObject,z=!W||!W.prototype||!W.prototype.findChild,G=o&&l(function(){return 7!=w(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=C(B,e);n&&delete B[e],V(t,e,i),n&&t!==B&&V(B,e,n)}:V,U=function(t){var e=L[t]=w(j.prototype);return e._k=t,e},Y=H&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},K=function(t,e,i){return t===B&&K(A,e,i),b(t),e=x(e,!0),b(i),r(L,e)?(i.enumerable?(r(t,E)&&t[E][e]&&(t[E][e]=!1),i=w(i,{enumerable:P(0,!1)})):(r(t,E)||V(t,E,P(1,{})),t[E][e]=!0),G(t,e,i)):V(t,e,i)},X=function(t,e){b(t);for(var i,n=y(e=_(e)),r=0,o=n.length;o>r;)K(t,i=n[r++],e[i]);return t},q=function(t){var e=N.call(this,t=x(t,!0));return!(this===B&&r(L,t)&&!r(A,t))&&(!(e||!r(this,t)||!r(L,t)||r(this,E)&&this[E][t])||e)},Z=function(t,e){if(t=_(t),e=x(e,!0),t!==B||!r(L,e)||r(A,e)){var i=C(t,e);return!i||!r(L,e)||r(t,E)&&t[E][e]||(i.enumerable=!0),i}},J=function(t){for(var e,i=I(_(t)),n=[],o=0;i.length>o;)r(L,e=i[o++])||e==E||e==u||n.push(e);return n},$=function(t){for(var e,i=t===B,n=I(i?A:_(t)),o=[],a=0;n.length>a;)!r(L,e=n[a++])||i&&!r(B,e)||o.push(L[e]);return o};H||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(i){this===B&&e.call(A,i),r(this,E)&&r(this[E],t)&&(this[E][t]=!1),G(this,t,P(1,i))};return o&&z&&G(B,t,{configurable:!0,set:e}),U(t)}).prototype,"toString",function(){return this._k}),S.f=Z,k.f=K,i(83).f=O.f=J,i(112).f=q,i(136).f=$,o&&!i(79)&&s(B,"propertyIsEnumerable",q,!0),f.f=function(t){return U(d(t))}),a(a.G+a.W+a.F*!H,{Symbol:j});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Q.length>tt;)d(Q[tt++]);for(var et=T(d.store),it=0;et.length>it;)g(et[it++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return r(R,t+="")?R[t]:R[t]=j(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in R)if(R[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!H,"Object",{create:function(t,e){return void 0===e?w(t):X(w(t),e)},defineProperty:K,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:J,getOwnPropertySymbols:$}),D&&a(a.S+a.F*(!H||l(function(){var t=j();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){for(var e,i,n=[t],r=1;arguments.length>r;)n.push(arguments[r++]);if(i=e=n[1],(v(e)||void 0!==t)&&!Y(t))return m(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!Y(e))return e}),n[1]=e,M.apply(D,n)}}),j.prototype[F]||i(31)(j.prototype,F,j.prototype.valueOf),c(j,"Symbol"),c(Math,"Math",!0),c(n.JSON,"JSON",!0)},function(t,e,i){var n=i(80),r=i(136),o=i(112);t.exports=function(t){var e=n(t),i=r.f;if(i)for(var a,s=i(t),u=o.f,l=0;s.length>l;)u.call(t,a=s[l++])&&e.push(a);return e}},function(t,e,i){var n=i(2);n(n.S,"Object",{create:i(82)})},function(t,e,i){var n=i(2);n(n.S+n.F*!i(23),"Object",{defineProperty:i(24).f})},function(t,e,i){var n=i(2);n(n.S+n.F*!i(23),"Object",{defineProperties:i(279)})},function(t,e,i){var n=i(39),r=i(40).f;i(50)("getOwnPropertyDescriptor",function(){return function(t,e){return r(n(t),e)}})},function(t,e,i){var n=i(27),r=i(41);i(50)("getPrototypeOf",function(){return function(t){return r(n(t))}})},function(t,e,i){var n=i(27),r=i(80);i(50)("keys",function(){return function(t){return r(n(t))}})},function(t,e,i){i(50)("getOwnPropertyNames",function(){return i(280).f})},function(t,e,i){var n=i(20),r=i(63).onFreeze;i(50)("freeze",function(t){return function(e){return t&&n(e)?t(r(e)):e}})},function(t,e,i){var n=i(20),r=i(63).onFreeze;i(50)("seal",function(t){return function(e){return t&&n(e)?t(r(e)):e}})},function(t,e,i){var n=i(20),r=i(63).onFreeze;i(50)("preventExtensions",function(t){return function(e){return t&&n(e)?t(r(e)):e}})},function(t,e,i){var n=i(20);i(50)("isFrozen",function(t){return function(e){return!n(e)||!!t&&t(e)}})},function(t,e,i){var n=i(20);i(50)("isSealed",function(t){return function(e){return!n(e)||!!t&&t(e)}})},function(t,e,i){var n=i(20);i(50)("isExtensible",function(t){return function(e){return!!n(e)&&(!t||t(e))}})},function(t,e,i){var n=i(2);n(n.S+n.F,"Object",{assign:i(281)})},function(t,e,i){var n=i(2);n(n.S,"Object",{is:i(362)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,i){var n=i(2);n(n.S,"Object",{setPrototypeOf:i(185).set})},function(t,e,i){"use strict";var n=i(113),r={};r[i(22)("toStringTag")]="z",r+""!="[object z]"&&i(32)(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},function(t,e,i){var n=i(2);n(n.P,"Function",{bind:i(282)})},function(t,e,i){var n=i(24).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||i(23)&&n(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,i){"use strict";var n=i(20),r=i(41),o=i(22)("hasInstance"),a=Function.prototype;o in a||i(24).f(a,o,{value:function(t){if("function"!=typeof this||!n(t))return!1;if(!n(this.prototype))return t instanceof this;for(;t=r(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,i){var n=i(2),r=i(284);n(n.G+n.F*(parseInt!=r),{parseInt:r})},function(t,e,i){var n=i(2),r=i(285);n(n.G+n.F*(parseFloat!=r),{parseFloat:r})},function(t,e,i){"use strict";var n=i(17),r=i(38),o=i(45),a=i(187),s=i(47),u=i(19),l=i(83).f,h=i(40).f,c=i(24).f,p=i(98).trim,d=n.Number,f=d,g=d.prototype,y="Number"==o(i(82)(g)),m="trim"in String.prototype,b=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var i,n,r,o=(e=m?e.trim():p(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(i=e.charCodeAt(2))||120===i)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+e}for(var a,u=e.slice(2),l=0,h=u.length;l<h;l++)if((a=u.charCodeAt(l))<48||a>r)return NaN;return parseInt(u,n)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof d&&(y?u(function(){g.valueOf.call(i)}):"Number"!=o(i))?a(new f(b(e)),i,d):b(e)};for(var v,_=i(23)?l(f):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)r(f,v=_[x])&&!r(d,v)&&c(d,v,h(f,v));d.prototype=g,g.constructor=d,i(32)(n,"Number",d)}},function(t,e,i){"use strict";var n=i(2),r=i(49),o=i(286),a=i(188),s=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],h="Number.toFixed: incorrect invocation!",c=function(t,e){for(var i=-1,n=e;++i<6;)n+=t*l[i],l[i]=n%1e7,n=u(n/1e7)},p=function(t){for(var e=6,i=0;--e>=0;)i+=l[e],l[e]=u(i/t),i=i%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==l[t]){var i=String(l[t]);e=""===e?i:e+a.call("0",7-i.length)+i}return e}
vendor: 4,163 bytes, line 20
20,f=function(t,e,i){return 0===e?i:e%2==1?f(t,e-1,i*t):f(t*t,e/2,i)};n(n.P+n.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i(19)(function(){s.call({})})),"Number",{toFixed:function(t){var e,i,n,s,u=o(this,h),l=r(t),g="",y="0";if(l<0||l>20)throw RangeError(h);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(i=(e=function(t){for(var e=0,i=t;i>=4096;)e+=12,i/=4096;for(;i>=2;)e+=1,i/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),i*=4503599627370496,(e=52-e)>0){for(c(0,i),n=l;n>=7;)c(1e7,0),n-=7;for(c(f(10,n,1),0),n=e-1;n>=23;)p(1<<23),n-=23;p(1<<n),c(1,1),p(2),y=d()}else c(0,i),c(1<<-e,0),y=d()+a.call("0",l);return y=l>0?g+((s=y.length)<=l?"0."+a.call("0",l-s)+y:y.slice(0,s-l)+"."+y.slice(s-l)):g+y}})},function(t,e,i){"use strict";var n=i(2),r=i(19),o=i(286),a=1..toPrecision;n(n.P+n.F*(r(function(){return"1"!==a.call(1,void 0)})||!r(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,i){var n=i(2);n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,i){var n=i(2),r=i(17).isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},function(t,e,i){var n=i(2);n(n.S,"Number",{isInteger:i(287)})},function(t,e,i){var n=i(2);n(n.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,i){var n=i(2),r=i(287),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},function(t,e,i){var n=i(2);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,i){var n=i(2);n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,i){var n=i(2),r=i(285);n(n.S+n.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},function(t,e,i){var n=i(2),r=i(284);n(n.S+n.F*(Number.parseInt!=r),"Number",{parseInt:r})},function(t,e,i){var n=i(2),r=i(288),o=Math.sqrt,a=Math.acosh;n(n.S+n.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},function(t,e,i){var n=i(2),r=Math.asinh;n(n.S+n.F*!(r&&1/r(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,i){var n=i(2),r=Math.atanh;n(n.S+n.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,i){var n=i(2),r=i(189);n(n.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,i){var n=i(2);n(n.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,i){var n=i(2),r=Math.exp;n(n.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},function(t,e,i){var n=i(2),r=i(190);n(n.S+n.F*(r!=Math.expm1),"Math",{expm1:r})},function(t,e,i){var n=i(2);n(n.S,"Math",{fround:i(289)})},function(t,e,i){var n=i(2),r=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var i,n,o=0,a=0,s=arguments.length,u=0;a<s;)u<(i=r(arguments[a++]))?(o=o*(n=u/i)*n+1,u=i):o+=i>0?(n=i/u)*n:i;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,i){var n=i(2),r=Math.imul;n(n.S+n.F*i(19)(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n;return 0|r*o+((65535&i>>>16)*o+r*(65535&n>>>16)<<16>>>0)}})},function(t,e,i){var n=i(2);n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,i){var n=i(2);n(n.S,"Math",{log1p:i(288)})},function(t,e,i){var n=i(2);n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,i){var n=i(2);n(n.S,"Math",{sign:i(189)})},function(t,e,i){var n=i(2),r=i(190),o=Math.exp;n(n.S+n.F*i(19)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,i){var n=i(2),r=i(190),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=r(t=+t),i=r(-t);return e==1/0?1:i==1/0?-1:(e-i)/(o(t)+o(-t))}})},function(t,e,i){var n=i(2);n(n.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})}
vendor: 14,839 bytes, line 20
20,function(t,e,i){var n=i(2),r=i(81),o=String.fromCharCode,a=String.fromCodePoint;n(n.S+n.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,i=[],n=arguments.length,a=0;n>a;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");i.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return i.join("")}})},function(t,e,i){var n=i(2),r=i(39),o=i(25);n(n.S,"String",{raw:function(t){for(var e=r(t.raw),i=o(e.length),n=arguments.length,a=[],s=0;i>s;)a.push(String(e[s++])),s<n&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,i){"use strict";i(98)("trim",function(t){return function(){return t(this,3)}})},function(t,e,i){"use strict";var n=i(191)(!0);i(192)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})})},function(t,e,i){"use strict";var n=i(2),r=i(191)(!1);n(n.P,"String",{codePointAt:function(t){return r(this,t)}})},function(t,e,i){"use strict";var n=i(2),r=i(25),o=i(194),a="".endsWith;n(n.P+n.F*i(195)("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),i=arguments.length>1?arguments[1]:void 0,n=r(e.length),s=void 0===i?n:Math.min(r(i),n),u=String(t);return a?a.call(e,u,s):e.slice(s-u.length,s)===u}})},function(t,e,i){"use strict";var n=i(2),r=i(194);n(n.P+n.F*i(195)("includes"),"String",{includes:function(t){return!!~r(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,i){var n=i(2);n(n.P,"String",{repeat:i(188)})},function(t,e,i){"use strict";var n=i(2),r=i(25),o=i(194),a="".startsWith;n(n.P+n.F*i(195)("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),i=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return a?a.call(e,n,i):e.slice(i,i+n.length)===n}})},function(t,e,i){"use strict";i(33)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,i){"use strict";i(33)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,i){"use strict";i(33)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,i){"use strict";i(33)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,i){"use strict";i(33)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,i){"use strict";i(33)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,i){"use strict";i(33)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,i){"use strict";i(33)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,i){"use strict";i(33)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,i){"use strict";i(33)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,i){"use strict";i(33)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,i){"use strict";i(33)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,i){"use strict";i(33)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,i){var n=i(2);n(n.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,i){"use strict";var n=i(2),r=i(27),o=i(47);n(n.P+n.F*i(19)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=r(this),i=o(e);return"number"!=typeof i||isFinite(i)?e.toISOString():null}})},function(t,e,i){var n=i(2),r=i(424);n(n.P+n.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},function(t,e,i){"use strict";var n=i(19),r=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=n(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!n(function(){o.call(new Date(NaN))})?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),i=t.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+("00000"+Math.abs(e)).slice(n?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(i>99?i:"0"+a(i))+"Z"}:o},function(t,e,i){var n=Date.prototype,r=n.toString,o=n.getTime;new Date(NaN)+""!="Invalid Date"&&i(32)(n,"toString",function(){var t=o.call(this);return t==t?r.call(this):"Invalid Date"})},function(t,e,i){var n=i(22)("toPrimitive"),r=Date.prototype;n in r||i(31)(r,n,i(427))},function(t,e,i){"use strict";var n=i(15),r=i(47);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(n(this),"number"!=t)}},function(t,e,i){var n=i(2);n(n.S,"Array",{isArray:i(137)})},function(t,e,i){"use strict";var n=i(44),r=i(2),o=i(27),a=i(290),s=i(196),u=i(25),l=i(197),h=i(198);r(r.S+r.F*!i(139)(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,r,c,p=o(t),d="function"==typeof this?this:Array,f=arguments.length,g=f>1?arguments[1]:void 0,y=void 0!==g,m=0,b=h(p);if(y&&(g=n(g,f>2?arguments[2]:void 0,2)),void 0==b||d==Array&&s(b))for(i=new d(e=u(p.length));e>m;m++)l(i,m,y?g(p[m],m):p[m]);else for(c=b.call(p),i=new d;!(r=c.next()).done;m++)l(i,m,y?a(c,g,[r.value,m],!0):r.value);return i.length=m,i}})},function(t,e,i){"use strict";var n=i(2),r=i(197);n(n.S+n.F*i(19)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,i=new("function"==typeof this?this:Array)(e);e>t;)r(i,t,arguments[t++]);return i.length=e,i}})},function(t,e,i){"use strict";var n=i(2),r=i(39),o=[].join;n(n.P+n.F*(i(111)!=Object||!i(46)(o)),"Array",{join:function(t){return o.call(r(this),void 0===t?",":t)}})},function(t,e,i){"use strict";var n=i(2),r=i(184),o=i(45),a=i(81),s=i(25),u=[].slice;n(n.P+n.F*i(19)(function(){r&&u.call(r)}),"Array",{slice:function(t,e){var i=s(this.length),n=o(this);if(e=void 0===e?i:e,"Array"==n)return u.call(this,t,e);for(var r=a(t,i),l=a(e,i),h=s(l-r),c=new Array(h),p=0;p<h;p++)c[p]="String"==n?this.charAt(r+p):this[r+p];return c}})},function(t,e,i){"use strict";var n=i(2),r=i(29),o=i(27),a=i(19),s=[].sort,u=[1,2,3];n(n.P+n.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!i(46)(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),r(t))}})},function(t,e,i){"use strict";var n=i(2),r=i(51)(0),o=i(46)([].forEach,!0);n(n.P+n.F*!o,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},function(t,e,i){var n=i(20),r=i(137),o=i(22)("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),n(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,i){"use strict";var n=i(2),r=i(51)(1);n(n.P+n.F*!i(46)([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(2),r=i(51)(2);n(n.P+n.F*!i(46)([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(2),r=i(51)(3);n(n.P+n.F*!i(46)([].some,!0),"Array",{some:function(t){return r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(2),r=i(51)(4);n(n.P+n.F*!i(46)([].every,!0),"Array",{every:function(t){return r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(2),r=i(291);n(n.P+n.F*!i(46)([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},function(t,e,i){"use strict";var n=i(2),r=i(291);n(n.P+n.F*!i(46)([].reduceRight,!0),"Array",{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},function(t,e,i){"use strict";var n=i(2),r=i(135)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(a||!i(46)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(2),r=i(39),o=i(49),a=i(25),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(u||!i(46)(s)),"Array",{lastIndexOf:function(t){if(u)return s.apply(this,arguments)||0;var e=r(this),i=a(e.length),n=i-1;for(arguments.length>1&&(n=Math.min(n,o(arguments[1]))),n<0&&(n=i+n);n>=0;n--)if(n in e&&e[n]===t)return n||0;return-1}})},function(t,e,i){var n=i(2);n(n.P,"Array",{copyWithin:i(292)}),i(64)("copyWithin")},function(t,e,i){var n=i(2);n(n.P,"Array",{fill:i(200)}),i(64)("fill")},function(t,e,i){"use strict";var n=i(2),r=i(51)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i(64)("find")},function(t,e,i){"use strict";var n=i(2),r=i(51)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),n(n.P+n.F*a,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i(64)(o)},function(t,e,i){i(84)("Array")},function(t,e,i){var n=i(17),r=i(187),o=i(24).f,a=i(83).f,s=i(138),u=i(140),l=n.RegExp,h=l,c=l.prototype,p=/a/g,d=/a/g,f=new l(p)!==p;if(i(23)&&(!f||i(19)(function(){return d[i(22)("match")]=!1,l(p)!=p||l(d)==d||"/a/i"!=l(p,"i")}))){l=function(t,e){var i=this instanceof l,n=s(t),o=void 0===e;return!i&&n&&t.constructor===l&&o?t:r(f?new h(n&&!o?t.source:t,e):h((n=t instanceof l)?t.source:t,n&&o?u.call(t):e),i?this:c,l)};for(var g=function(t){t in l||o(l,t,{configurable:!0,get:function(){return h[t]},set:function(e){h[t]=e}})},y=a(h),m=0;y.length>m;)g(y[m++]);c.constructor=l,l.prototype=c,i(32)(n,"RegExp",l)}i(84)("RegExp")},function(t,e,i){"use strict";i(294);var n=i(15),r=i(140),o=i(23),a=/./.toString,s=function(t){i(32)(RegExp.prototype,"toString",t,!0)};i(19)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?r.call(t):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(t,e,i){i(141)("match",1,function(t,e,i){return[function(i){"use strict";var n=t(this),r=void 0==i?void 0:i[e];return void 0!==r?r.call(i,n):new RegExp(i)[e](String(n))},i]})},function(t,e,i){i(141)("replace",2,function(t,e,i){return[function(n,r){"use strict";var o=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,o,r):i.call(String(o),n,r)},i]})},function(t,e,i){i(141)("search",1,function(t,e,i){return[function(i){"use strict";var n=t(this),r=void 0==i?void 0:i[e];return void 0!==r?r.call(i,n):new RegExp(i)[e](String(n))},i]})},function(t,e,i){i(141)("split",2,function(t,e,n){"use strict";var r=i(138),o=n,a=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var s=void 0===/()??/.exec("")[1];n=function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return o.call(i,t,e);var n,u,l,h,c,p=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,g=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,d+"g");for(s||(n=new RegExp("^"+y.source+"$(?!\\s)",d));(u=y.exec(i))&&!((l=u.index+u[0].length)>f&&(p.push(i.slice(f,u.index)),!s&&u.length>1&&u[0].replace(n,function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(u[c]=void 0)}),u.length>1&&u.index<i.length&&a.apply(p,u.slice(1)),h=u[0].length,f=l,p.length>=g));)y.lastIndex===u.index&&y.lastIndex++;return f===i.length?!h&&y.test("")||p.push(""):p.push(i.slice(f)),p.length>g?p.slice(0,g):p}}else"0".split(void 0,0).length&&(n=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(i,r){var o=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},n]})},function(t,e,i){"use strict";var n,r,o,a,s=i(79),u=i(17),l=i(44),h=i(113),c=i(2),p=i(20),d=i(29),f=i(85),g=i(86),y=i(142),m=i(202).set,b=i(203)(),v=i(204),_=i(295),x=i(296),P=u.TypeError,w=u.process,O=u.Promise,S="process"==h(w),k=function(){},T=r=v.f,C=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[i(22)("species")]=function(t){t(k,k)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e}catch(t){}}(),V=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var i=t._c;b(function(){for(var n=t._v,r=1==t._s,o=0,a=function(e){var i,o,a,s=r?e.ok:e.fail,u=e.resolve,l=e.reject,h=e.domain;try{s?(r||(2==t._h&&M(t),t._h=1),!0===s?i=n:(h&&h.enter(),i=s(n),h&&(h.exit(),a=!0)),i===e.promise?l(P("Promise-chain cycle")):(o=V(i))?o.call(i,u,l):u(i)):l(n)}catch(t){h&&!a&&h.exit(),l(t)}};i.length>o;)a(i[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)})}},j=function(t){m.call(u,function(){var e,i,n,r=t._v,o=D(t);if(o&&(e=_(function(){S?w.emit("unhandledRejection",r,t):(i=u.onunhandledrejection)?i({promise:t,reason:r}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",r)}),t._h=S||D(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(t){m.call(u,function(){var e;S?w.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},E=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},F=function(t){var e,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw P("Promise can't be resolved itself");(e=V(t))?b(function(){var n={_w:i,_d:!1};try{e.call(t,l(F,n,1),l(E,n,1))}catch(t){E.call(n,t)}}):(i._v=t,i._s=1,I(i,!1))}catch(t){E.call({_w:i,_d:!1},t)}}};C||(O=function(t){f(this,O,"Promise","_h"),d(t),n.call(this);try{t(l(F,this,1),l(E,this,1))}catch(t){E.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i(87)(O.prototype,{then:function(t,e){var i=T(y(this,O));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=S?w.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&I(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=l(F,t,1),this.reject=l(E,t,1)},v.f=T=function(t){return t===O||t===a?new o(t):r(t)}),c(c.G+c.W+c.F*!C,{Promise:O}),i(97)(O,"Promise"),i(84)("Promise"),a=i(52).Promise,c(c.S+c.F*!C,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),c(c.S+c.F*(s||!C),"Promise",{resolve:function(t){return x(s&&this===a?O:this,t)}}),c(c.S+c.F*!(C&&i(139)(function(t){O.all(t).catch(k)})),"Promise",{all:function(t){var e=this,i=T(e),n=i.resolve,r=i.reject,o=_(function(){var i=[],o=0,a=1;g(t,!1,function(t){var s=o++,u=!1;i.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,i[s]=t,--a||n(i))},r)}),--a||n(i)});return o.e&&r(o.v),i.promise},race:function(t){var e=this,i=T(e),n=i.reject,r=_(function(){g(t,!1,function(t){e.resolve(t).then(i.resolve,n)})});return r.e&&n(r.v),i.promise}})}
vendor: 4,148 bytes, line 20
20,function(t,e,i){"use strict";var n=i(301),r=i(100);i(143)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(r(this,"WeakSet"),t,!0)}},n,!1,!0)},function(t,e,i){"use strict";var n=i(2),r=i(144),o=i(205),a=i(15),s=i(81),u=i(25),l=i(20),h=i(17).ArrayBuffer,c=i(142),p=o.ArrayBuffer,d=o.DataView,f=r.ABV&&h.isView,g=p.prototype.slice,y=r.VIEW;n(n.G+n.W+n.F*(h!==p),{ArrayBuffer:p}),n(n.S+n.F*!r.CONSTR,"ArrayBuffer",{isView:function(t){return f&&f(t)||l(t)&&y in t}}),n(n.P+n.U+n.F*i(19)(function(){return!new p(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==g&&void 0===e)return g.call(a(this),t);for(var i=a(this).byteLength,n=s(t,i),r=s(void 0===e?i:e,i),o=new(c(this,p))(u(r-n)),l=new d(this),h=new d(o),f=0;n<r;)h.setUint8(f++,l.getUint8(n++));return o}}),i(84)("ArrayBuffer")},function(t,e,i){var n=i(2);n(n.G+n.W+n.F*!i(144).ABV,{DataView:i(205).DataView})},function(t,e,i){i(53)("Int8",1,function(t){return function(e,i,n){return t(this,e,i,n)}})},function(t,e,i){i(53)("Uint8",1,function(t){return function(e,i,n){return t(this,e,i,n)}})},function(t,e,i){i(53)("Uint8",1,function(t){return function(e,i,n){return t(this,e,i,n)}},!0)},function(t,e,i){i(53)("Int16",2,function(t){return function(e,i,n){return t(this,e,i,n)}})},function(t,e,i){i(53)("Uint16",2,function(t){return function(e,i,n){return t(this,e,i,n)}})},function(t,e,i){i(53)("Int32",4,function(t){return function(e,i,n){return t(this,e,i,n)}})},function(t,e,i){i(53)("Uint32",4,function(t){return function(e,i,n){return t(this,e,i,n)}})},function(t,e,i){i(53)("Float32",4,function(t){return function(e,i,n){return t(this,e,i,n)}})},function(t,e,i){i(53)("Float64",8,function(t){return function(e,i,n){return t(this,e,i,n)}})},function(t,e,i){var n=i(2),r=i(29),o=i(15),a=(i(17).Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!i(19)(function(){a(function(){})}),"Reflect",{apply:function(t,e,i){var n=r(t),u=o(i);return a?a(n,e,u):s.call(n,e,u)}})},function(t,e,i){var n=i(2),r=i(82),o=i(29),a=i(15),s=i(20),u=i(19),l=i(282),h=(i(17).Reflect||{}).construct,c=u(function(){function t(){}return!(h(function(){},[],t)instanceof t)}),p=!u(function(){h(function(){})});n(n.S+n.F*(c||p),"Reflect",{construct:function(t,e){o(t),a(e);var i=arguments.length<3?t:o(arguments[2]);if(p&&!c)return h(t,e,i);if(t==i){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(l.apply(t,n))}var u=i.prototype,d=r(s(u)?u:Object.prototype),f=Function.apply.call(t,d,e);return s(f)?f:d}})},function(t,e,i){var n=i(24),r=i(2),o=i(15),a=i(47);r(r.S+r.F*i(19)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,i){o(t),e=a(e,!0),o(i);try{return n.f(t,e,i),!0}catch(t){return!1}}})},function(t,e,i){var n=i(2),r=i(40).f,o=i(15);n(n.S,"Reflect",{deleteProperty:function(t,e){var i=r(o(t),e);return!(i&&!i.configurable)&&delete t[e]}})},function(t,e,i){"use strict";var n=i(2),r=i(15),o=function(t){this._t=r(t),this._i=0;var e,i=this._k=[];for(e in t)i.push(e)};i(193)(o,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),n(n.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,i){var n=i(40),r=i(41),o=i(38),a=i(2),s=i(20),u=i(15);a(a.S,"Reflect",{get:function t(e,i){var a,l,h=arguments.length<3?e:arguments[2];return u(e)===h?e[i]:(a=n.f(e,i))?o(a,"value")?a.value:void 0!==a.get?a.get.call(h):void 0:s(l=r(e))?t(l,i,h):void 0}})},function(t,e,i){var n=i(40),r=i(2),o=i(15);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},function(t,e,i){var n=i(2),r=i(41),o=i(15);n(n.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},function(t,e,i){var n=i(2);n(n.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,i){var n=i(2),r=i(15),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})}
vendor: 13,797 bytes, line 20
20,function(t,e,i){var n=i(2);n(n.S,"Reflect",{ownKeys:i(303)})},function(t,e,i){var n=i(2),r=i(15),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,i){var n=i(24),r=i(40),o=i(41),a=i(38),s=i(2),u=i(77),l=i(15),h=i(20);s(s.S,"Reflect",{set:function t(e,i,s){var c,p,d=arguments.length<4?e:arguments[3],f=r.f(l(e),i);if(!f){if(h(p=o(e)))return t(p,i,s,d);f=u(0)}if(a(f,"value")){if(!1===f.writable||!h(d))return!1;if(c=r.f(d,i)){if(c.get||c.set||!1===c.writable)return!1;c.value=s,n.f(d,i,c)}else n.f(d,i,u(0,s));return!0}return void 0!==f.set&&(f.set.call(d,s),!0)}})},function(t,e,i){var n=i(2),r=i(185);r&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})},function(t,e,i){"use strict";var n=i(2),r=i(135)(!0);n(n.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i(64)("includes")},function(t,e,i){"use strict";var n=i(2),r=i(304),o=i(27),a=i(25),s=i(29),u=i(199);n(n.P,"Array",{flatMap:function(t){var e,i,n=o(this);return s(t),e=a(n.length),i=u(n,0),r(i,n,n,e,0,1,t,arguments[1]),i}}),i(64)("flatMap")},function(t,e,i){"use strict";var n=i(2),r=i(304),o=i(27),a=i(25),s=i(49),u=i(199);n(n.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),i=a(e.length),n=u(e,0);return r(n,e,e,i,0,void 0===t?1:s(t)),n}}),i(64)("flatten")},function(t,e,i){"use strict";var n=i(2),r=i(191)(!0);n(n.P,"String",{at:function(t){return r(this,t)}})},function(t,e,i){"use strict";var n=i(2),r=i(305),o=i(206);n(n.P+n.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,i){"use strict";var n=i(2),r=i(305),o=i(206);n(n.P+n.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padEnd:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,i){"use strict";i(98)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,i){"use strict";i(98)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,i){"use strict";var n=i(2),r=i(48),o=i(25),a=i(138),s=i(140),u=RegExp.prototype,l=function(t,e){this._r=t,this._s=e};i(193)(l,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),n(n.P,"String",{matchAll:function(t){if(r(this),!a(t))throw TypeError(t+" is not a regexp!");var e=String(this),i="flags"in u?String(t.flags):s.call(t),n=new RegExp(t.source,~i.indexOf("g")?i:"g"+i);return n.lastIndex=o(t.lastIndex),new l(n,e)}})},function(t,e,i){i(181)("asyncIterator")},function(t,e,i){i(181)("observable")},function(t,e,i){var n=i(2),r=i(303),o=i(39),a=i(40),s=i(197);n(n.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,i,n=o(t),u=a.f,l=r(n),h={},c=0;l.length>c;)void 0!==(i=u(n,e=l[c++]))&&s(h,e,i);return h}})},function(t,e,i){var n=i(2),r=i(306)(!1);n(n.S,"Object",{values:function(t){return r(t)}})},function(t,e,i){var n=i(2),r=i(306)(!0);n(n.S,"Object",{entries:function(t){return r(t)}})},function(t,e,i){"use strict";var n=i(2),r=i(27),o=i(29),a=i(24);i(23)&&n(n.P+i(145),"Object",{__defineGetter__:function(t,e){a.f(r(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,i){"use strict";var n=i(2),r=i(27),o=i(29),a=i(24);i(23)&&n(n.P+i(145),"Object",{__defineSetter__:function(t,e){a.f(r(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,i){"use strict";var n=i(2),r=i(27),o=i(47),a=i(41),s=i(40).f;i(23)&&n(n.P+i(145),"Object",{__lookupGetter__:function(t){var e,i=r(this),n=o(t,!0);do{if(e=s(i,n))return e.get}while(i=a(i))}})},function(t,e,i){"use strict";var n=i(2),r=i(27),o=i(47),a=i(41),s=i(40).f;i(23)&&n(n.P+i(145),"Object",{__lookupSetter__:function(t){var e,i=r(this),n=o(t,!0);do{if(e=s(i,n))return e.set}while(i=a(i))}})},function(t,e,i){var n=i(2);n(n.P+n.R,"Map",{toJSON:i(307)("Map")})},function(t,e,i){var n=i(2);n(n.P+n.R,"Set",{toJSON:i(307)("Set")})},function(t,e,i){i(146)("Map")},function(t,e,i){i(146)("Set")},function(t,e,i){i(146)("WeakMap")},function(t,e,i){i(146)("WeakSet")},function(t,e,i){i(147)("Map")},function(t,e,i){i(147)("Set")},function(t,e,i){i(147)("WeakMap")},function(t,e,i){i(147)("WeakSet")},function(t,e,i){var n=i(2);n(n.G,{global:i(17)})},function(t,e,i){var n=i(2);n(n.S,"System",{global:i(17)})},function(t,e,i){var n=i(2),r=i(45);n(n.S,"Error",{isError:function(t){return"Error"===r(t)}})},function(t,e,i){var n=i(2);n(n.S,"Math",{clamp:function(t,e,i){return Math.min(i,Math.max(e,t))}})},function(t,e,i){var n=i(2);n(n.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,e,i){var n=i(2),r=180/Math.PI;n(n.S,"Math",{degrees:function(t){return t*r}})},function(t,e,i){var n=i(2),r=i(309),o=i(289);n(n.S,"Math",{fscale:function(t,e,i,n,a){return o(r(t,e,i,n,a))}})},function(t,e,i){var n=i(2);n(n.S,"Math",{iaddh:function(t,e,i,n){var r=t>>>0,o=i>>>0;return(e>>>0)+(n>>>0)+((r&o|(r|o)&~(r+o>>>0))>>>31)|0}})},function(t,e,i){var n=i(2);n(n.S,"Math",{isubh:function(t,e,i,n){var r=t>>>0,o=i>>>0;return(e>>>0)-(n>>>0)-((~r&o|~(r^o)&r-o>>>0)>>>31)|0}})},function(t,e,i){var n=i(2);n(n.S,"Math",{imulh:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n,a=i>>16,s=n>>16,u=(a*o>>>0)+(r*o>>>16);return a*s+(u>>16)+((r*s>>>0)+(65535&u)>>16)}})},function(t,e,i){var n=i(2);n(n.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,e,i){var n=i(2),r=Math.PI/180;n(n.S,"Math",{radians:function(t){return t*r}})},function(t,e,i){var n=i(2);n(n.S,"Math",{scale:i(309)})},function(t,e,i){var n=i(2);n(n.S,"Math",{umulh:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n,a=i>>>16,s=n>>>16,u=(a*o>>>0)+(r*o>>>16);return a*s+(u>>>16)+((r*s>>>0)+(65535&u)>>>16)}})},function(t,e,i){var n=i(2);n(n.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,e,i){"use strict";var n=i(2),r=i(52),o=i(17),a=i(142),s=i(296);n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,r.Promise||o.Promise),i="function"==typeof t;return this.then(i?function(i){return s(e,t()).then(function(){return i})}:t,i?function(i){return s(e,t()).then(function(){throw i})}:t)}})},function(t,e,i){"use strict";var n=i(2),r=i(204),o=i(295);n(n.S,"Promise",{try:function(t){var e=r.f(this),i=o(t);return(i.e?e.reject:e.resolve)(i.v),e.promise}})},function(t,e,i){var n=i(54),r=i(15),o=n.key,a=n.set;n.exp({defineMetadata:function(t,e,i,n){a(t,e,r(i),o(n))}})},function(t,e,i){var n=i(54),r=i(15),o=n.key,a=n.map,s=n.store;n.exp({deleteMetadata:function(t,e){var i=arguments.length<3?void 0:o(arguments[2]),n=a(r(e),i,!1);if(void 0===n||!n.delete(t))return!1;if(n.size)return!0;var u=s.get(e);return u.delete(i),!!u.size||s.delete(e)}})},function(t,e,i){var n=i(54),r=i(15),o=i(41),a=n.has,s=n.get,u=n.key,l=function(t,e,i){if(a(t,e,i))return s(t,e,i);var n=o(e);return null!==n?l(t,n,i):void 0};n.exp({getMetadata:function(t,e){return l(t,r(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,i){var n=i(299),r=i(308),o=i(54),a=i(15),s=i(41),u=o.keys,l=o.key,h=function(t,e){var i=u(t,e),o=s(t);if(null===o)return i;var a=h(o,e);return a.length?i.length?r(new n(i.concat(a))):a:i};o.exp({getMetadataKeys:function(t){return h(a(t),arguments.length<2?void 0:l(arguments[1]))}})},function(t,e,i){var n=i(54),r=i(15),o=n.get,a=n.key;n.exp({getOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,i){var n=i(54),r=i(15),o=n.keys,a=n.key;n.exp({getOwnMetadataKeys:function(t){return o(r(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,e,i){var n=i(54),r=i(15),o=i(41),a=n.has,s=n.key,u=function(t,e,i){if(a(t,e,i))return!0;var n=o(e);return null!==n&&u(t,n,i)};n.exp({hasMetadata:function(t,e){return u(t,r(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,i){var n=i(54),r=i(15),o=n.has,a=n.key;n.exp({hasOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,i){var n=i(54),r=i(15),o=i(29),a=n.key,s=n.set;n.exp({metadata:function(t,e){return function(i,n){s(t,e,(void 0!==n?r:o)(i),a(n))}}})},function(t,e,i){var n=i(2),r=i(203)(),o=i(17).process,a="process"==i(45)(o);n(n.G,{asap:function(t){var e=a&&o.domain;r(e?e.bind(t):t)}})},function(t,e,i){"use strict";var n=i(2),r=i(17),o=i(52),a=i(203)(),s=i(22)("observable"),u=i(29),l=i(15),h=i(85),c=i(87),p=i(31),d=i(86),f=d.RETURN,g=function(t){return null==t?void 0:u(t)},y=function(t){var e=t._c;e&&(t._c=void 0,e())},m=function(t){return void 0===t._o},b=function(t){m(t)||(t._o=void 0,y(t))},v=function(t,e){l(t),this._c=void 0,this._o=t,t=new _(this);try{var i=e(t),n=i;null!=i&&("function"==typeof i.unsubscribe?i=function(){n.unsubscribe()}:u(i),this._c=i)}catch(e){return void t.error(e)}m(this)&&y(this)};v.prototype=c({},{unsubscribe:function(){b(this)}});var _=function(t){this._s=t};_.prototype=c({},{next:function(t){var e=this._s;if(!m(e)){var i=e._o;try{var n=g(i.next);if(n)return n.call(i,t)}catch(t){try{b(e)}finally{throw t}}}},error:function(t){var e=this._s;if(m(e))throw t;var i=e._o;e._o=void 0;try{var n=g(i.error);if(!n)throw t;t=n.call(i,t)}catch(t){try{y(e)}finally{throw t}}return y(e),t},complete:function(t){var e=this._s;if(!m(e)){var i=e._o;e._o=void 0;try{var n=g(i.complete);t=n?n.call(i,t):void 0}catch(t){try{y(e)}finally{throw t}}return y(e),t}}});var x=function(t){h(this,x,"Observable","_f")._f=u(t)};c(x.prototype,{subscribe:function(t){return new v(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||r.Promise)(function(i,n){u(t);var r=e.subscribe({next:function(e){try{return t(e)}catch(t){n(t),r.unsubscribe()}},error:n,complete:i})})}}),c(x,{from:function(t){var e="function"==typeof this?this:x,i=g(l(t)[s]);if(i){var n=l(i.call(t));return n.constructor===e?n:new e(function(t){return n.subscribe(t)})}return new e(function(e){var i=!1;return a(function(){if(!i){try{if(d(t,!1,function(t){if(e.next(t),i)return f})===f)return}catch(t){if(i)throw t;return void e.error(t)}e.complete()}}),function(){i=!0}})},of:function(){for(var t=0,e=arguments.length,i=new Array(e);t<e;)i[t]=arguments[t++];return new("function"==typeof this?this:x)(function(t){var e=!1;return a(function(){if(!e){for(var n=0;n<i.length;++n)if(t.next(i[n]),e)return;t.complete()}}),function(){e=!0}})}}),p(x.prototype,s,function(){return this}),n(n.G,{Observable:x}),i(84)("Observable")},function(t,e,i){var n=i(17),r=i(2),o=i(206),a=[].slice,s=/MSIE .\./.test(o),u=function(t){return function(e,i){var n=arguments.length>2,r=!!n&&a.call(arguments,2);return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,r)}:e,i)}};r(r.G+r.B+r.F*s,{setTimeout:u(n.setTimeout),setInterval:u(n.setInterval)})},function(t,e,i){var n=i(2),r=i(202);n(n.G+n.B,{setImmediate:r.set,clearImmediate:r.clear})},function(t,e,i){for(var n=i(201),r=i(80),o=i(32),a=i(17),s=i(31),u=i(99),l=i(22),h=l("iterator"),c=l("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=r(d),g=0;g<f.length;g++){var y,m=f[g],b=d[m],v=a[m],_=v&&v.prototype;if(_&&(_[h]||s(_,h,p),_[c]||s(_,c,m),u[m]=p,b))for(y in n)_[y]||o(_,y,n[y],!0)}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,r=i(542);window.am4core=r,i.p=(n=function(){if(document.currentScript)return document.currentScript;var t=document.getElementsByTagName("script");return t[t.length-1]}().src,/(.*\/)[^\/]*$/.exec(n)[1])},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(66);i.d(e,"System",function(){return n.a}),i.d(e,"system",function(){return n.b});var r=i(21);i.d(e,"BaseObject",function(){return r.a}),i.d(e,"BaseObjectEvents",function(){return r.b});var o=i(56);i.d(e,"Component",function(){return o.a});var a=i(9);i.d(e,"Container",function(){return a.a});var s=i(73);i.d(e,"DataItem",function(){return s.a});var u=i(10);i.d(e,"Sprite",function(){return u.a});var l=i(222);i.d(e,"SpriteEventDispatcher",function(){return l.a});var h=i(120);i.d(e,"SpriteState",function(){return h.a});var c=i(1);i.d(e,"registry",function(){return c.b}),i.d(e,"Registry",function(){return c.a});var p=i(67);i.d(e,"options",function(){return p.a});var d=i(160);i.d(e,"CSVParser",function(){return d.a});var f=i(230);i.d(e,"DataLoader",function(){return f.a}),i.d(e,"dataLoader",function(){return f.b});var g=i(161);i.d(e,"DataParser",function(){return g.a});var y=i(229);i.d(e,"DataSource",function(){return y.a});var m=i(162);i.d(e,"JSONParser",function(){return m.a});var b=i(217);i.d(e,"SVGDefaults",function(){return b.a});var v=i(65);i.d(e,"Button",function(){return v.a});var _=i(96);i.d(e,"Circle",function(){return _.a});var x=i(273);i.d(e,"Ellipse",function(){return x.a});var P=i(543);i.d(e,"Image",function(){return P.a});var w=i(37);i.d(e,"Label",function(){return w.a});var O=i(71);i.d(e,"Line",function(){return O.a});var S=i(156);i.d(e,"Popup",function(){return S.a});var k=i(158);i.d(e,"Modal",function(){return k.a});var T=i(234);i.d(e,"PointedRectangle",function(){return T.a});var C=i(235);i.d(e,"PointedShape",function(){return C.a});var V=i(310);i.d(e,"Polyarc",function(){return V.a});var I=i(311);i.d(e,"Polygon",function(){return I.a});var j=i(110);i.d(e,"Polyline",function(){return j.a});var D=i(132);i.d(e,"Polyspline",function(){return D.a});var M=i(207);i.d(e,"Preloader",function(){return M.a}
20);var E=i(102);i.d(e,"Rectangle",function(){return E.a});var F=i(168);i.d(e,"ResizeButton",function(){return F.a});var N=i(42);i.d(e,"RoundedRectangle",function(){return N.a});var R=i(95);i.d(e,"Scrollbar",function(){return R.a});var L=i(544);i.d(e,"Slider",function(){return L.a});var A=i(75);i.d(e,"Slice",function(){return A.a});var B=i(275);i.d(e,"TextLink",function(){return B.a});var H=i(94);i.d(e,"Tooltip",function(){return H.a});var W=i(247);i.d(e,"Trapezoid",function(){return W.a});var z=i(133);i.d(e,"Triangle",function(){return z.a});var G=i(245);i.d(e,"WavedCircle",function(){return G.a});var U=i(126);i.d(e,"WavedLine",function(){return U.a});var Y=i(163);i.d(e,"WavedRectangle",function(){return Y.a});var K=i(240);i.d(e,"ZoomOutButton",function(){return K.a});var X=i(545);i.d(e,"PlayButton",function(){return X.a});var q=i(272);i.d(e,"Cone",function(){return q.a});var Z=i(265);i.d(e,"Rectangle3D",function(){return Z.a});var J=i(252);i.d(e,"Slice3D",function(){return J.a});var $=i(226);i.d(e,"Export",function(){return $.a});var Q=i(227);i.d(e,"ExportMenu",function(){return Q.a});var tt=i(107);i.d(e,"DateFormatter",function(){return tt.a});var et=i(225);i.d(e,"DurationFormatter",function(){return et.a});var it=i(223);i.d(e,"NumberFormatter",function(){return it.a});var nt=i(92);i.d(e,"TextFormatter",function(){return nt.a}),i.d(e,"getTextFormatter",function(){return nt.b});var rt=i(221);i.d(e,"Inertia",function(){return rt.a});var ot=i(34);i.d(e,"Interaction",function(){return ot.a}),i.d(e,"getInteraction",function(){return ot.b});var at=i(220);i.d(e,"InteractionKeyboardObject",function(){return at.a});var st=i(218);i.d(e,"InteractionObject",function(){return st.a});var ut=i(219);i.d(e,"InteractionObjectEventDispatcher",function(){return ut.a});var lt=i(70);i.d(e,"MouseCursorStyle",function(){return lt.a});var ht=i(123);i.d(e,"AMElement",function(){return ht.a});var ct=i(216);i.d(e,"Group",function(){return ct.a});var pt=i(59);i.d(e,"Paper",function(){return pt.a});var dt=i(72);i.d(e,"Tension",function(){return dt.b}),i.d(e,"Basis",function(){return dt.a});var ft=i(155);i.d(e,"SVGContainer",function(){return ft.a});var gt=i(254);i.d(e,"ColorModifier",function(){return gt.a});var yt=i(69);i.d(e,"LinearGradient",function(){return yt.a});var mt=i(175);i.d(e,"LinearGradientModifier",function(){return mt.a});var bt=i(546);i.d(e,"RadialGradientModifier",function(){return bt.a});var vt=i(547);i.d(e,"LinePattern",function(){return vt.a});var _t=i(124);i.d(e,"Pattern",function(){return _t.a});var xt=i(125);i.d(e,"RadialGradient",function(){return xt.a});var Pt=i(548);i.d(e,"RectPattern",function(){return Pt.a});var wt=i(549);i.d(e,"ColorizeFilter",function(){return wt.a});var Ot=i(169);i.d(e,"DesaturateFilter",function(){return Ot.a});var St=i(236);i.d(e,"DropShadowFilter",function(){return St.a});var kt=i(550);i.d(e,"BlurFilter",function(){return kt.a});var Tt=i(58);i.d(e,"Filter",function(){return Tt.a});var Ct=i(313);i.d(e,"FocusFilter",function(){return Ct.a});var Vt=i(173);i.d(e,"LightenFilter",function(){return Vt.a});var It=i(231);i.d(e,"Responsive",function(){return It.a});var jt=i(28);i.d(e,"GlobalAdapter",function(){return jt.b}),i.d(e,"globalAdapter",function(){return jt.c}),i.d(e,"Adapter",function(){return jt.a});var Dt=i(36);i.d(e,"Animation",function(){return Dt.a}),i.d(e,"animate",function(){return Dt.c});var Mt=i(90);i.d(e,"nextFrame",function(){return Mt.a}),i.d(e,"readFrame",function(){return Mt.c}),i.d(e,"writeFrame",function(){return Mt.f}),i.d(e,"whenIdle",function(){return Mt.e}),i.d(e,"triggerIdle",function(){return Mt.d});var Et=i(154);i.d(e,"Cache",function(){return Et.a}),i.d(e,"cache",function(){return Et.b});var Ft=i(14);i.d(e,"Color",function(){return Ft.a}),i.d(e,"color",function(){return Ft.c}),i.d(e,"isColor",function(){return Ft.d}),i.d(e,"castColor",function(){return Ft.b});var Nt=i(30);i.d(e,"ColorSet",function(){return Nt.a});var Rt=i(13);i.d(e,"InterfaceColorSet",function(){return Rt.a});var Lt=i(26);i.d(e,"DictionaryDisposer",function(){return Lt.b}),i.d(e,"Dictionary",function(){return Lt.a}),i.d(e,"DictionaryTemplate",function(){return Lt.c});var At=i(7);
20i.d(e,"Disposer",function(){return At.b}),i.d(e,"MultiDisposer",function(){return At.c}),i.d(e,"MutableValueDisposer",function(){return At.d}),i.d(e,"CounterDisposer",function(){return At.a});var Bt=i(35);i.d(e,"StyleRule",function(){return Bt.c}),i.d(e,"StyleClass",function(){return Bt.b}),i.d(e,"getElement",function(){return Bt.m}),i.d(e,"addClass",function(){return Bt.f}),i.d(e,"removeClass",function(){return Bt.q}),i.d(e,"blur",function(){return Bt.h}),i.d(e,"focus",function(){return Bt.l}),i.d(e,"outerHTML",function(){return Bt.o}),i.d(e,"isElement",function(){return Bt.n}),i.d(e,"copyAttributes",function(){return Bt.j}),i.d(e,"fixPixelPerfect",function(){return Bt.k}),i.d(e,"ready",function(){return Bt.p});var Ht=i(57);i.d(e,"EventDispatcher",function(){return Ht.a}),i.d(e,"TargetedEventDispatcher",function(){return Ht.b});var Wt=i(5);i.d(e,"ListIterator",function(){return Wt.ListIterator}),i.d(e,"min",function(){return Wt.min}),i.d(e,"max",function(){return Wt.max}),i.d(e,"join",function(){return Wt.join});var zt=i(55);i.d(e,"Keyboard",function(){return zt.a}),i.d(e,"keyboard",function(){return zt.b});var Gt=i(60);i.d(e,"Language",function(){return Gt.a});var Ut=i(11);i.d(e,"IndexedIterable",function(){return Ut.a}),i.d(e,"ListGrouper",function(){return Ut.d}),i.d(e,"ListDisposer",function(){return Ut.c}),i.d(e,"List",function(){return Ut.b}),i.d(e,"ListTemplate",function(){return Ut.e});var Yt=i(312);
20i.d(e,"Morpher",function(){return Yt.a});var Kt=i(122);i.d(e,"reverse",function(){return Kt.b}),i.d(e,"or",function(){return Kt.a});var Xt=i(8);i.d(e,"Percent",function(){return Xt.a}),i.d(e,"percent",function(){return Xt.c}),i.d(e,"isPercent",function(){return Xt.b});var qt=i(121);i.d(e,"OrderedList",function(){return qt.a}),i.d(e,"SortedList",function(){return qt.c}),i.d(e,"OrderedListTemplate",function(){return qt.b}),i.d(e,"SortedListTemplate",function(){return qt.d});var Zt=i(68);i.d(e,"PX",function(){return Zt.f}),i.d(e,"STRING",function(){return Zt.g}),i.d(e,"NUMBER",function(){return Zt.c}),i.d(e,"DATE",function(){return Zt.a}),i.d(e,"DURATION",function(){return Zt.b}),i.d(e,"PLACEHOLDER",function(){return Zt.d}),i.d(e,"PLACEHOLDER2",function(){return Zt.e});var Jt=i(3);i.d(e,"isNaN",function(){return Jt.isNaN}),i.d(e,"checkString",function(){return Jt.checkString}),i.d(e,"checkBoolean",function(){return Jt.checkBoolean}),i.d(e,"checkNumber",function(){return Jt.checkNumber}),i.d(e,"checkObject",function(){return Jt.checkObject}),i.d(e,"castString",function(){return Jt.castString}),i.d(e,"castNumber",function(){return Jt.castNumber}),i.d(e,"isString",function(){return Jt.isString}),i.d(e,"isNumber",function(){return Jt.isNumber}),i.d(e,"isObject",function(){return Jt.isObject}),i.d(e,"isArray",function(){return Jt.isArray});var $t=i(159);i.d(e,"Validatable",function(){return $t.a});var Qt=i(12);i.d(e,"path",function(){return Qt});var te=i(91);i.d(e,"colors",function(){return te});var ee=i(43);i.d(e,"ease",function(){return ee});var ie=i(4);i.d(e,"math",function(){return ie});var ne=i(16);i.d(e,"array",function(){return ne});var re=i(106);i.d(e,"number",function(){return re});var oe=i(18);i.d(e,"object",function(){return oe});var ae=i(105);i.d(e,"string",function(){return ae});var se=i(157);i.d(e,"time",function(){return se});var ue=i(6);i.d(e,"utils",function(){return ue}),i.d(e,"iter",function(){return Wt}),i.d(e,"type",function(){return Jt});var le=i(314);i.d(e,"create",function(){return le.a}),i.d(e,"createFromConfig",function(){return le.b}),i.d(e,"useTheme",function(){return le.e}),i.d(e,"unuseTheme",function(){return le.d}),i.d(e,"unuseAllThemes",function(){return le.c})},function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i(0),r=i(10),o=i(1),a=i(35),s=i(3),u=function(t){function e(){var e=t.call(this)||this;return e.className="Image",e.element=e.paper.add("image"),e.applyTheme(),e.width=50,e.height=50,e}return n.c(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.href){var e=this.innerWidth,i=this.innerHeight;s.isNumber(this.widthRatio)&&(e=i*this.widthRatio,this.width=e),s.isNumber(this.heightRatio)&&(i=e*this.heightRatio,this.height=i),this.element.attr({width:e,height:i}),this.element.attrNS(a.d,"xlink:href",this.href)}},Object.defineProperty(e.prototype,"href",{get:function(){return this.getPropertyValue("href")},set:function(t){this.setPropertyValue("href",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widthRatio",{get:function(){return this.getPropertyValue("widthRatio")},set:function(t){this.setPropertyValue("widthRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"heightRatio",{get:function(){return this.getPropertyValue("heightRatio")},set:function(t){this.setPropertyValue("heightRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bbox",{get:function(){return{x:0,y:0,width:this.pixelWidth,height:this.pixelHeight}},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Image=u},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(95),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="Slider",e.thumb.opacity=0,e.thumb.interactionsEnabled=!1,e.endGrip.opacity=0,e.endGrip.interactionsEnabled=!1,e.startGrip.events.on("drag",function(){e.endGrip.x=e.startGrip.x,e.endGrip.y=e.startGrip.y}),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"__end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Slider=a}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(65),o=i(42),a=i(1),s=i(13),u=i(133),l=i(3),h=function(t){function e(){var e=t.call(this)||this;e.className="PlayButton",e.padding(12,12,12,12),e.showSystemTooltip=!0;var i=new s.a,n=e.background;n.cornerRadius(25,25,25,25),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new u.a;r.direction="right",r.width=9,r.height=11,r.marginLeft=1,r.marginRight=1,r.horizontalCenter="middle",r.verticalCenter="middle",r.stroke=i.getFor("primaryButtonText"),r.fill=r.stroke,e.icon=r;var a=new o.a;a.width=11,a.height=11,a.horizontalCenter="middle",a.verticalCenter="middle",a.cornerRadius(0,0,0,0),a.stroke=i.getFor("primaryButtonText"),a.fill=r.stroke,e.togglable=!0;var l=e.states.create("active");return l.transitionDuration=0,l.properties.icon=a,e.defaultState.transitionDuration=0,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),l.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Play"))},e}(r.a);a.b.registeredClasses.PlayButton=h},function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(0),r=i(125),o=i(253),a=i(1),s=function(t){function e(){var e=t.call(this)||this;return e.className="RadialGradientModifier",e.gradient=new r.a,e.applyTheme(),e}return n.c(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(o.a);a.b.registeredClasses.RadialGradientModifier=s},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(124),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e._line=e.paper.add("line"),e.addElement(e._line),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this._line&&this._line.attr({x2:2*this.width})},e}(r.a);o.b.registeredClasses.LinePattern=a},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(124),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.rectHeight=1,e.rectWidth=1,e}return n.c(e,t),e.prototype.draw=function(){this._rect&&this.removeElement(this._rect),this._rect=this.paper.add("rect"),this._rect.attr({width:this.rectWidth,height:this.rectHeight}),this.addElement(this._rect),t.prototype.draw.call(this)},Object.defineProperty(e.prototype,"rectWidth",{get:function(){return this.properties.rectWidth},set:function(t){this.properties.rectWidth=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rectHeight",{get:function(){return this.properties.rectHeight},set:function(t){this.properties.rectHeight=t,this.draw()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.RectPattern=a},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(58),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="ColorizeFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"matrix"}),e.filterPrimitives.push(e.feColorMatrix),e.intensity=1,e.applyTheme(),e}return n.c(e,t),e.prototype.applyFilter=function(){var t,e,i,n=this.intensity,r=1-n,o=this.color;o&&o.rgb?(t=o.rgb.r/255*n,e=o.rgb.g/255*n,i=o.rgb.b/255*n):(t=0,e=0,i=0),this.feColorMatrix.attr({values:r+" 0 0 0 "+t+" 0 "+r+" 0 0 "+e+" 0 0 "+r+" 0 "+i+" 0 0 0 1 0"})},Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.applyFilter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intensity",{get:function(){return this.properties.intensity},set:function(t){this.properties.intensity=t,this.applyFilter()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.ColorizeFilter=a},function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(0),r=i(58),o=i(1),a=function(t){function e(){var e=t.call(this)||this;return e.className="BlurFilter",e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.width=200,e.height=200,e.blur=1.5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"blur",{get:function(){return this.properties.blur},set:function(t){this.properties.blur=t,this.feGaussianBlur.attr({stdDeviation:t/this.scale})},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.BlurFilter=a}
20,function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i(0),r=i(9),o=i(13),a=i(132),s=i(14),u=i(69),l=i(169),h=function(t){function e(){var e=t.call(this)||this;e.className="AmChartsLogo",e.valign="bottom";var i=.3;e.opacity=.3,e.defaultState.properties.opacity=.4,e.url="https://www.amcharts.com/",e.urlTarget="_blank",e.showSystemTooltip=!0,e.readerTitle="Chart created using amCharts library",e.width=66,e.height=21,e.background.opacity=0;var n=Object(s.c)("#474758");"#ffffff"==(new o.a).getFor("background").alternative.hex&&(n=Object(s.c)("#ffffff"));var r=new u.a;r.addColor(n),r.addColor(n,1,.75),r.addColor(Object(s.c)("#3cabff"),1,.755),r.rotation=-10;var h=r,c=e.createChild(a.a);c.shouldClone=!1,c.isMeasured=!1,c.segments=[[{x:15,y:15},{x:27,y:15},{x:36,y:6},{x:40.5,y:10.5},{x:45,y:6},{x:54,y:15},{x:60,y:15}]],c.strokeWidth=6*i,c.tensionX=.8,c.tensionY=1,c.stroke=Object(s.c)("#3cabff");var p=e.createChild(a.a);p.shouldClone=!1,p.isMeasured=!1,p.segments=[[{x:6,y:15},{x:15,y:15},{x:27,y:12*i},{x:39.9,y:15},{x:51,y:15},{x:60,y:15}]],p.strokeWidth=6*i,p.tensionX=.75,p.tensionY=1,p.stroke=h,e._disposers.push(p);var d=new l.a;e.filters.push(d);var f=new l.a;f.saturation=1;var g=e.states.create("hover");return g.properties.opacity=1,g.filters.push(f),e.applyTheme(),e}return n.c(e,t),e}(r.a)}]); 21webpackJsonp([4],{104:function(t,e,i){"use strict";i.d(e,"b",function(){return A}),i.d(e,"a",function(){return P});var a=i(0),n=i(119),r=i(9),s=i(11),o=i(117),l=i(89),h=i(109),u=i(128),c=i(167),d=i(7),p=i(240),y=i(8),g=i(1),f=i(241),m=i(4),x=i(5),v=i(3),b=i(6),A=function(t){function e(){var e=t.call(this)||this;return e.className="XYChartDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),P=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=o.a,e._axisRendererY=l.a,e.className="XYChart",e.maskBullets=!0;var i=e.chartContainer;i.layout="vertical",e.padding(15,15,15,15);var a=i.createChild(r.a);a.shouldClone=!1,a.layout="vertical",a.width=Object(y.c)(100),a.zIndex=1,e.topAxesContainer=a;var n=i.createChild(r.a);n.shouldClone=!1,n.layout="horizontal",n.width=Object(y.c)(100),n.height=Object(y.c)(100),n.zIndex=0,e.yAxesAndPlotContainer=n;var s=i.createChild(r.a);s.shouldClone=!1,s.width=Object(y.c)(100),s.layout="vertical",s.zIndex=1,e.bottomAxesContainer=s;var h=n.createChild(r.a);h.shouldClone=!1,h.layout="horizontal",h.height=Object(y.c)(100),h.contentAlign="right",h.events.on("transformed",e.updateXAxesMargins,e,!1),h.zIndex=1,e.leftAxesContainer=h;var u=n.createChild(r.a);u.shouldClone=!1,u.height=Object(y.c)(100),u.width=Object(y.c)(100),u.background.fillOpacity=0,e.plotContainer=u,e.mouseWheelBehavior="none",e._cursorContainer=u;var c=n.createChild(r.a);c.shouldClone=!1,c.layout="horizontal",c.height=Object(y.c)(100),c.zIndex=1,c.events.on("transformed",e.updateXAxesMargins,e,!1),e.rightAxesContainer=c,e.seriesContainer.parent=u,e.bulletsContainer.parent=u;var d=u.createChild(p.a);return d.shouldClone=!1,d.align="right",d.valign="top",d.zIndex=Number.MAX_SAFE_INTEGER,d.marginTop=5,d.marginRight=5,d.hide(0),e.zoomOutButton=d,e._bulletMask=e.plotContainer,e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this.zoomOutButton.exportable=!1,v.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y chart"))},e.prototype.draw=function(){t.prototype.draw.call(this),this.seriesContainer.toFront(),this.bulletsContainer.toFront(),this.maskBullets&&(this.bulletsContainer.mask=this._bulletMask),this.updateSeriesLegend()},e.prototype.updatePlotElements=function(){x.each(this.series.iterator(),function(t){t.invalidate()})},e.prototype.validateData=function(){0==this._parseDataFrom&&x.each(this.series.iterator(),function(t){t.dataChangeUpdate()}),t.prototype.validateData.call(this)},e.prototype.updateXAxesMargins=function(){var t=this.leftAxesContainer.measuredWidth,e=this.rightAxesContainer.measuredWidth,i=this.bottomAxesContainer;i.paddingLeft==t&&i.paddingRight==e||(i.paddingLeft=t,i.paddingRight=e);var a=this.topAxesContainer;a.paddingLeft==t&&a.paddingRight==e||(a.paddingLeft=t,a.paddingRight=e)}
21,e.prototype.handleXAxisChange=function(t){this.updateXAxis(t.target)},e.prototype.handleYAxisChange=function(t){this.updateYAxis(t.target)},e.prototype.processXAxis=function(t){var e=t.newValue;e.chart=this,e.renderer=new this._axisRendererX,e.axisLetter="X",e.renderer.observe(["opposite","inside","inversed","minGridDistance"],this.handleXAxisChange,this),e.events.on("startchanged",this.handleXAxisRangeChange,this,!1),e.events.on("endchanged",this.handleXAxisRangeChange,this,!1),e.dataProvider=this,this.updateXAxis(e.renderer),this.processAxis(e)},e.prototype.processYAxis=function(t){var e=t.newValue;e.chart=this,e.renderer=new this._axisRendererY,e.axisLetter="Y",e.renderer.observe(["opposite","inside","inversed","minGridDistance"],this.handleYAxisChange,this),e.events.on("startchanged",this.handleYAxisRangeChange,this,!1),e.events.on("endchanged",this.handleYAxisRangeChange,this,!1),e.dataProvider=this,this.updateYAxis(e.renderer),this.processAxis(e)},e.prototype.handleXAxisRangeChange=function(){var t=this.getCommonAxisRange(this.xAxes);this.scrollbarX&&this.zoomAxes(this.xAxes,t,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarX,t)},e.prototype.toggleZoomOutButton=function(){if(this.zoomOutButton){var t=!1;x.eachContinue(this.xAxes.iterator(),function(e){return 0==m.round(e.start,3)&&1==m.round(e.end,3)||(t=!0,!1)}),x.eachContinue(this.yAxes.iterator(),function(e){return 0==m.round(e.start,3)&&1==m.round(e.end,3)||(t=!0,!1)}),this.seriesAppeared||(t=!1),t?this.zoomOutButton.show():this.zoomOutButton.hide()}},e.prototype.seriesAppeared=function(){var t=!1;return x.each(this.series.iterator(),function(e){if(!e.appeared)return t=!1,!1}),t},e.prototype.handleYAxisRangeChange=function(){var t=this.getCommonAxisRange(this.yAxes);this.scrollbarY&&this.zoomAxes(this.yAxes,t,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarY,t)},e.prototype.updateScrollbar=function(t,e){t&&(t.skipRangeEvents(),t.start=e.start,t.end=e.end)},e.prototype.getCommonAxisRange=function(t){var e,i;return x.each(t.iterator(),function(t){var a=t.start,n=t.end;t.renderer.inversed&&(a=1-t.end,n=1-t.start),(!v.isNumber(e)||a<e)&&(e=a),(!v.isNumber(i)||n>i)&&(i=n)}),{start:e,end:i}},e.prototype.updateXAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.topAxesContainer,e.toFront()):(e.parent=this.bottomAxesContainer,e.toBack()),e.renderer&&e.renderer.processRenderer()},e.prototype.updateYAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.rightAxesContainer,e.toBack()):(e.parent=this.leftAxesContainer,e.toFront()),e.renderer&&e.renderer.processRenderer()},e.prototype.processAxis=function(t){var e=this;t instanceof h.a&&this._dataUsers.moveValue(t);var i=t.renderer;i.gridContainer.parent=this.plotContainer,i.gridContainer.toBack(),i.breakContainer.parent=this.plotContainer,i.breakContainer.toFront(),i.breakContainer.zIndex=10,t.addDisposer(new d.b(function(){e.dataUsers.removeValue(t)})),this.plotContainer.events.on("maxsizechanged",function(){e.inited&&t.invalidateDataItems()},t,!1)},Object.defineProperty(e.prototype,"xAxes",{get:function(){return this._xAxes||(this._xAxes=new s.b,this._xAxes.events.on("inserted",this.processXAxis,this,!1),this._xAxes.events.on("removed",this.handleAxisRemoval,this,!1)),this._xAxes},enumerable:!0,configurable:!0}),e.prototype.handleAxisRemoval=function(t){var e=t.oldValue;this.dataUsers.removeValue(e),e.autoDispose&&e.dispose()},Object.defineProperty(e.prototype,"yAxes",{get:function(){return this._yAxes||(this._yAxes=new s.b,this._yAxes.events.on("inserted",this.processYAxis,this,!1),this._yAxes.events.on("removed",this.handleAxisRemoval,this,!1)),this._yAxes},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(e){try{t.prototype.handleSeriesAdded.call(this,e);var i=e.newValue;i.xAxis,i.yAxis,void 0==i.fill&&(i.fill=this.colors.next()),void 0==i.stroke&&(i.stroke=i.fill)}catch(t){this.raiseCriticalError(t)}},Object.defineProperty(e.prototype,"cursor",{get:function(){return this._cursor},set:function(t){this._cursor!=t&&(this._cursor&&this.removeDispose(this._cursor),this._cursor=t,t&&(this._disposers.push(t),t.chart=this,t.parent=this._cursorContainer,t.events.on("cursorpositionchanged",this.handleCursorPositionChange,this,
21!1),t.events.on("zoomstarted",this.handleCursorZoomStart,this,!1),t.events.on("zoomended",this.handleCursorZoomEnd,this,!1),t.events.on("panstarted",this.handleCursorPanStart,this,!1),t.events.on("panning",this.handleCursorPanning,this,!1),t.events.on("panended",this.handleCursorPanEnd,this,!1),t.events.on("behaviorcanceled",this.handleCursorCanceled,this,!1),t.events.on("hidden",this.handleHideCursor,this,!1),t.zIndex=Number.MAX_SAFE_INTEGER-1))},enumerable:!0,configurable:!0}),e.prototype.createCursor=function(){return new c.a},e.prototype.handleCursorPositionChange=function(){if(this.cursor.visible&&!this.cursor.isHiding){var t=this.cursor.xPosition,e=this.cursor.yPosition;this.showAxisTooltip(this.xAxes,t),this.showAxisTooltip(this.yAxes,e),this.showSeriesTooltip({x:t,y:e})}},e.prototype.handleHideCursor=function(){this.hideObjectTooltip(this.xAxes),this.hideObjectTooltip(this.yAxes),this.hideObjectTooltip(this.series),this.updateSeriesLegend()},e.prototype.updateSeriesLegend=function(){x.each(this.series.iterator(),function(t){t.updateLegendValue()})},e.prototype.hideObjectTooltip=function(t){x.each(t.iterator(),function(t){t.hideTooltip(0)})},e.prototype.showSeriesTooltip=function(t){var e=this;if(t){var i=b.spritePointToSvg({x:-.5,y:-.5},this.plotContainer),a=b.spritePointToSvg({x:this.plotContainer.pixelWidth+.5,y:this.plotContainer.pixelHeight+.5},this.plotContainer),n=[];if(this.series.each(function(r){r.tooltip.setBounds({x:0,y:0,width:e.pixelWidth,height:e.pixelHeight});var s=r.showTooltipAtPosition(t.x,t.y);s&&m.isInRectangle(s,{x:i.x,y:i.y,width:a.x-i.x,height:a.y-i.y})&&n.push({point:s,series:r})}),n.sort(function(t,e){return t.point.y>e.point.y?1:t.point.y<e.point.y?-1:0}),n.length>0){for(var r=i.y,s=a.y,o=[],l=[],h=0,u=n.length;h<u;h++)n[h].point.y<r+(s-r)/2?o.push(n[h]):l.push(n[h]);var c=r;for(h=0,u=o.length;h<u;h++){var d=o[h].series,p=o[h].point.y;(g=d.tooltip).setBounds({x:0,y:c,width:this.pixelWidth,height:s}),g.invalid&&g.validate(),g.toBack(),c=b.spritePointToSvg({x:0,y:g.label.pixelY+g.label.measuredHeight-g.pixelY+p+g.pixelMarginBottom},g).y}var y=s;for(h=l.length-1;h>=0;h--){var g=(d=l[h].series).tooltip;p=l[h].point.y;g.setBounds({x:0,y:0,width:this.pixelWidth,height:y}),g.invalid&&g.validate(),g.toBack(),y=b.spritePointToSvg({x:0,y:g.label.pixelY-g.pixelY+p-g.pixelMarginTop},g).y}}}else this.series.each(function(t){t.hideTooltip()})},e.prototype.showAxisTooltip=function(t,e){var i=this;x.each(t.iterator(),function(t){(i.dataItems.length>0||t.dataItems.length>0)&&t.showTooltipAtPosition(e)})},e.prototype.getUpdatedRange=function(t,e){if(t){var i,a,n=t.renderer.inversed;t.renderer instanceof l.a&&(e=m.invertRange(e)),n?(m.invertRange(e),i=1-t.end,a=1-t.start):(i=t.start,a=t.end);var r=a-i;return{start:i+e.start*r,end:i+e.end*r}}},e.prototype.handleCursorZoomEnd=function(t){var e=this.cursor,i=e.behavior;if("zoomX"==i||"zoomXY"==i){var a=e.xRange;a&&this.xAxes.length>0&&((a=this.getUpdatedRange(this.xAxes.getIndex(0),a)).priority="start",this.zoomAxes(this.xAxes,a))}if("zoomY"==i||"zoomXY"==i){var n=e.yRange;n&&this.yAxes.length>0&&((n=this.getUpdatedRange(this.yAxes.getIndex(0),n)).priority="start",this.zoomAxes(this.yAxes,n))}this.handleHideCursor()},e.prototype.handleCursorPanStart=function(t){var e=this.xAxes.getIndex(0);e&&(this._panStartXRange={start:e.start,end:e.end});var i=this.yAxes.getIndex(0);i&&(this._panStartYRange={start:i.start,end:i.end})},e.prototype.handleCursorPanEnd=function(t){var e=this.cursor.behavior;if(this._panEndXRange&&("panX"==e||"panXY"==e)){var i=0;(a=this._panEndXRange).start<0&&(i=a.start),a.end>1&&(i=a.end-1),this.zoomAxes(this.xAxes,{start:a.start-i,end:a.end-i},!1,!0),this._panEndXRange=void 0,this._panStartXRange=void 0}if(this._panEndYRange&&("panY"==e||"panXY"==e)){var a;i=0;(a=this._panEndYRange).start<0&&(i=a.start),a.end>1&&(i=a.end-1),this.zoomAxes(this.yAxes,{start:a.start-i,end:a.end-i},!1,!0),this._panEndYRange=void 0,this._panStartYRange=void 0}},e.prototype.handleCursorCanceled=function(){this._panEndXRange=void 0,this._panStartXRange=void 0},e.prototype.handleCursorPanning=function(t){var e=this.cursor,i=e.behavior,a=e.maxPanOut;if(this._panStartXRange&&("panX"==i||"panXY"==i)){var n=this._panStartXRange,r=e.xRange,s=n.end-n.start,o=r.start,l=Math.max(-a,o+n.start),h=Math.min(r.start+n.end,1+a);l<=0&&(h=l+s),h>=1&&(l=h-s);var u={start:l,end:h};this._panEndXRange=u,this.zoomAxes(this.xAxes,u)}if(this._panStartYRange&&("panY"==i||"panXY"==i)){n=this._panStartYRange,r=e.yRange,s=n.end-n.start,o=r.start,l=Math.max(-a,o+n.start),h=Math.min(r.start+n.end,1+a);l<=0&&(h=l+s),h>=1&&(l=h-s);u={start:l,end:h};this._panEndYRange=u,this.zoomAxes(this.yAxes,u)}this.handleHideCursor()},e.prototype.handleCursorZoomStart=function(t){},Object.defineProperty(e.prototype,"scrollbarX",{get:function(){return this._scrollbarX},set:function(t){var e=this;this._scrollbarX&&this.removeDispose(this._scrollbarX),this._scrollbarX=t,t&&(this._disposers.push(t),t.parent=this.topAxesContainer,t.startGrip.exportable=!1,t.endGrip.exportable=!1,t.toBack(),t.orientation="horizontal",t.events.on("rangechanged",this.handleXScrollbarChange,this,
21!1),t.adapter.add("positionValue",function(t){var i=e.xAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(t.position)),t}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollbarY",{get:function(){return this._scrollbarY},set:function(t){var e=this;this._scrollbarY&&this.removeDispose(this._scrollbarY),this._scrollbarY=t,t&&(this._disposers.push(t),t.parent=this.rightAxesContainer,t.startGrip.exportable=!1,t.endGrip.exportable=!1,t.toFront(),t.orientation="vertical",t.events.on("rangechanged",this.handleYScrollbarChange,this,!1),t.adapter.add("positionValue",function(t){var i=e.yAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(t.position)),t}))},enumerable:!0,configurable:!0}),e.prototype.handleXScrollbarChange=function(t){var e=t.target,i=this.zoomAxes(this.xAxes,e.range);e.fixRange(i)},e.prototype.handleYScrollbarChange=function(t){var e=t.target,i=this.zoomAxes(this.yAxes,e.range);e.fixRange(i)},e.prototype.zoomAxes=function(t,e,i,a){var n={start:0,end:1};return this.showSeriesTooltip(),this.dataInvalid||x.each(t.iterator(),function(t){if(t.renderer.inversed&&(e=m.invertRange(e)),t.hideTooltip(0),a){var r=e.end-e.start;e.start=t.roundPosition(e.start+1e-4,0),e.end=e.start+r}var s=t.zoom(e,i,i);t.renderer.inversed&&(s=m.invertRange(s)),n=s}),n},Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t,!0)},enumerable:!0,configurable:!0}),e.prototype.handleWheel=function(t){var e=this.plotContainer,i=b.documentPointToSvg(t.point,this.htmlContainer),a=b.svgPointToSprite(i,e),n=t.shift.y,r=this.getCommonAxisRange(this.xAxes),s=this.getCommonAxisRange(this.yAxes),o=this.mouseWheelBehavior;if("panX"==o||"panXY"==o){var l=r.end-r.start,h=Math.max(-0,r.start+.05*n/100),u=Math.min(r.end+.05*n/100,1);h<=0&&(u=h+l),u>=1&&(h=u-l),this.zoomAxes(this.xAxes,{start:h,end:u})}if("panY"==o||"panXY"==o){n*=-1;var c=s.end-s.start,d=Math.max(-0,s.start+.05*n/100),p=Math.min(s.end+.05*n/100,1);d<=0&&(p=d+c),p>=1&&(d=p-c),this.zoomAxes(this.yAxes,{start:d,end:p})}if("zoomX"==o||"zoomXY"==o){var y=a.x/e.maxWidth;h=Math.max(-0,r.start-.05*n/100*y);h=Math.min(h,y);u=Math.min(r.end+.05*n/100*(1-y),1);u=Math.max(u,y),this.zoomAxes(this.xAxes,{start:h,end:u})}if("zoomY"==o||"zoomXY"==o){var g=a.y/e.maxHeight;d=Math.max(-0,s.start-.05*n/100*(1-g));d=Math.min(d,g);p=Math.min(s.end+.05*n/100*g,1);p=Math.max(p,g),this.zoomAxes(this.yAxes,{start:d,end:p})}},Object.defineProperty(e.prototype,"mouseWheelBehavior",{get:function(){return this.getPropertyValue("mouseWheelBehavior")},set:function(t){this.setPropertyValue("mouseWheelBehavior",t)&&("none"!=t?(this._mouseWheelDisposer=this.plotContainer.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer)):this._mouseWheelDisposer&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer.dispose()))},enumerable:!0,configurable:!0}),e.prototype.dataSourceDateFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),x.each(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["dateX","dateY","openDateX","openDateY"])}),e},e.prototype.dataSourceNumberFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),x.each(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["valueX","valueY","openValueX","openValueY"])}),e},e.prototype.processConfig=function(e){if(e){var i=[],a=[];if(v.hasValue(e.xAxes)&&v.isArray(e.xAxes))for(var n=0,r=e.xAxes.length;n<r;n++){if(!e.xAxes[n].type)throw Error("[XYChart error] No type set for xAxes["+n+"].");v.hasValue(e.xAxes[n].axisRanges)&&(i.push({axisRanges:e.xAxes[n].axisRanges,index:n}),delete e.xAxes[n].axisRanges)}if(v.hasValue(e.yAxes)&&v.isArray(e.yAxes))for(n=0,r=e.yAxes.length;n<r;n++){if(!e.yAxes[n].type)throw Error("[XYChart error] No type set for yAxes["+n+"].");v.hasValue(e.yAxes[n].axisRanges)&&(a.push({axisRanges:e.yAxes[n].axisRanges,index:n}),delete e.yAxes[n].axisRanges)}if(v.hasValue(e.series)&&v.isArray(e.series))for(n=0,r=e.series.length;n<r;n++)e.series[n].type=e.series[n].type||"LineSeries";if(v.hasValue(e.cursor)&&!v.hasValue(e.cursor.type)&&(e.cursor.type="XYCursor"),v.hasValue(e.scrollbarX)&&!v.hasValue(e.scrollbarX.type)&&(e.scrollbarX.type="Scrollbar"),v.hasValue(e.scrollbarY)&&!v.hasValue(e.scrollbarY.type)&&(e.scrollbarY.type="Scrollbar"),t.prototype.processConfig.call(this,e),a.length)for(n=0,r=a.length;n<r;n++)this.yAxes.getIndex(a[n].index).config={axisRanges:a[n].axisRanges};if(i.length)for(n=0,r=i.length;n<r;n++)this.xAxes.getIndex(i[n].index).config={axisRanges:i[n].axisRanges}}},e.prototype.configOrder=function(e,i){return e==i?0:"scrollbarX"==e?1:"scrollbarX"==i?-1:"scrollbarY"==e?1:"scrollbarY"==i?-1:"series"==e?1:"series"==i?-1:t.prototype.configOrder.call(this,e,i)},e.prototype.createSeries=function(){return new u.a},Object.defineProperty(e.prototype,"zoomOutButton",{get:function(){return this._zoomOutButton},set:function(t){var e=this;this._zoomOutButton=t,t&&t.events.on("hit",function(){e.zoomAxes(e.xAxes,{start:0,end:1}),e.zoomAxes(e.yAxes,{start:0,end:1})},void 0,!1)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.xAxes.copyFrom(e.xAxes),this.yAxes.copyFrom(e.yAxes),this.zoomOutButton.copyFrom(e.zoomOutButton)},e.prototype.disposeData=function(){t.prototype.disposeData.call(this);var e=this.scrollbarX;
21e&&e instanceof f.a&&e.scrollbarChart.disposeData();var i=this.scrollbarY;i&&i instanceof f.a&&i.scrollbarChart.disposeData(),this.xAxes.each(function(t){t.disposeData()}),this.yAxes.each(function(t){t.disposeData()})},e.prototype.addData=function(e,i){t.prototype.addData.call(this,e,i),this.scrollbarX instanceof f.a&&this.scrollbarX.scrollbarChart.addData(e,i),this.scrollbarY instanceof f.a&&this.scrollbarY.scrollbarChart.addData(e,i)},e}(n.a);g.b.registeredClasses.XYChart=P},109:function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return p});var a=i(0),n=i(164),r=i(1),s=i(26),o=i(237),l=i(4),h=i(3),u=i(5),c=i(28),d=function(t){function e(){var e=t.call(this)||this;return e.adapter=new c.a(e),e.className="CategoryAxisDataItem",e.text="{category}",e.locations.category=0,e.locations.endCategory=1,e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"category",{get:function(){return this.adapter.isEnabled("category")?this.adapter.apply("category",this.properties.category):this.properties.category},set:function(t){this.setProperty("category",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endCategory",{get:function(){return this.properties.endCategory},set:function(t){this.setProperty("endCategory",t)},enumerable:!0,configurable:!0}),e}(n.b),p=function(t){function e(){var e=t.call(this)||this;return e.dataItemsByCategory=new s.a,e.className="CategoryAxis",e.axisFieldName="category",e._lastDataItem=e.createDataItem(),e._lastDataItem.component=e,e._disposers.push(e._lastDataItem),e.applyTheme(),e}return a.c(e,t),e.prototype.createDataItem=function(){return new d},e.prototype.createAxisBreak=function(){return new o.a},e.prototype.validateDataRange=function(){var i=this;t.prototype.validateDataRange.call(this),u.each(this._series.iterator(),function(t){t.xAxis instanceof e&&t.yAxis instanceof e?t.invalidateDataRange():(t.start=i.start,t.end=i.end,i.axisBreaks.length>0&&t.invalidateDataRange())})},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this);var i=this.dataItems.length,a=l.fitToRange(Math.floor(this.start*i-1),0,i),n=l.fitToRange(Math.ceil(this.end*i),0,i);this.renderer.invalid&&this.renderer.validate();var r=this.renderer.axisLength/this.renderer.minGridDistance,s=Math.min(this.dataItems.length,Math.ceil((n-a)/r));if(this._startIndex=Math.floor(a/s)*s,this._endIndex=Math.ceil(this.end*i),this.fixAxisBreaks(),this._startIndex==this._endIndex&&this._endIndex++,this._frequency=s,!(this.axisLength<=0)){this.maxZoomFactor=this.dataItems.length,this.dataItems.length<=0&&(this.maxZoomFactor=1),this.resetIterators(),a=l.max(0,this._startIndex-this._frequency),n=l.min(this.dataItems.length,this._endIndex+this._frequency);for(var o=0,h=0;h<a;h++){(c=this.dataItems.getIndex(h)).__disabled=!0}h=n;for(var u=this.dataItems.length;h<u;h++){(c=this.dataItems.getIndex(h)).__disabled=!0}for(h=a;h<n;h++)if(h<this.dataItems.length){var c=this.dataItems.getIndex(h);if(h/this._frequency==Math.round(h/this._frequency))this.isInBreak(h)||(this.appendDataItem(c),this.validateDataElement(c,o)),o++;else this.validateDataElement(c,o),c.__disabled=!0}this.appendDataItem(this._lastDataItem),this.validateDataElement(this._lastDataItem,o+1,this.dataItems.length),this.axisBreaks.each(function(t){var i=t.adjustedStartValue,a=t.adjustedEndValue;if(l.intersect({start:i,end:a},{start:e._startIndex,end:e._endIndex}))for(var n=l.fitToRange(Math.ceil(e._frequency/t.breakSize),1,a-i),r=0,s=i;s<=a;s+=n){var o=e.dataItems.getIndex(s);e.appendDataItem(o),e.validateDataElement(o,r),r++}}),this.validateBreaks(),this.validateAxisRanges(),this.ghostLabel.invalidate(),this.renderer.invalidateLayout()}},e.prototype.validateDataElement=function(e,i,a){t.prototype.validateDataElement.call(this,e);var n=this.renderer;h.isNumber(a)||(a=this.categoryToIndex(e.category));var r=this.categoryToIndex(e.endCategory);h.isNumber(r)||(r=a);var s,o,l,u=this.indexToPosition(a,e.locations.category),c=this.indexToPosition(r,e.locations.endCategory);e.position=u,e.isRange?(s=r,o=this.indexToPosition(a,e.locations.category),l=this.indexToPosition(s,e.locations.endCategory)):(s=a+this._frequency,o=this.indexToPosition(a,e.axisFill.location),l=this.indexToPosition(s,e.axisFill.location)),e.point=n.positionToPoint(u);var d=e.tick;d&&!d.disabled&&n.updateTickElement(d,u,c);var p=e.grid;p&&!p.disabled&&n.updateGridElement(p,u,c);var y=e.label;y&&!y.disabled&&(e.isRange&&void 0!=y.text||(e.text=e.text),n.updateLabelElement(y,u,c),(e.label.measuredWidth>this.ghostLabel.measuredWidth||e.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=e.label.currentText));var g=e.axisFill;g&&!g.disabled&&(n.updateFillElement(g,o,l),e.isRange||this.fillRule(e,i));var f=e.mask;f&&n.updateFillElement(f,o,l)},e.prototype.processDataItem=function(e,i){t.prototype.processDataItem.call(this,e,i);var a=this.dataItemsByCategory.getKey(e.category);a!=e&&this.dataItems.remove(a),this.dataItemsByCategory.setKey(e.category,e)},e.prototype.indexToPosition=function(t,e){h.isNumber(e)||(e=.5);var i=this.startIndex,a=this.endIndex,n=this.adjustDifference(i,a),r=this.startLocation;n-=r,n-=1-this.endLocation;var s=this.axisBreaks;return u.eachContinue(s.iterator(),function(e){var n=e.adjustedStartValue,r=e.adjustedEndValue;if(t<i)return!1;if(l.intersect({start:n,end:r},{start:i,end:a})){n=Math.max(i,n),r=Math.min(a,r);var s=e.breakSize;t>r?i+=(r-n)*(1-s):t<n||(t=n+(t-n)*s)}return!0}),l.round((t+e-r-i)/n,5)},e.prototype.categoryToPosition=function(t,e){var i=this.categoryToIndex(t);return this.indexToPosition(i,e)},e.prototype.categoryToPoint=function(t,e){var i=this.categoryToPosition(t,e),a=this.renderer.positionToPoint(i),n=this.renderer.positionToAngle(i);return{x:a.x,y:a.y,angle:n}},e.prototype.anyToPoint=function(t,e){return this.categoryToPoint(t,e)},e.prototype.anyToPosition=function(t,e){return this.categoryToPosition(t,e)},e.prototype.categoryToIndex=function(t){var e=this.dataItemsByCategory.getKey(t);if(e)return e.index},e.prototype.zoomToCategories=function(t,e){this.zoomToIndexes(this.categoryToIndex(t),this.categoryToIndex(e)+1)}
21,e.prototype.getAnyRangePath=function(t,e,i,a){var n=this.categoryToPosition(t,i),r=this.categoryToPosition(e,a);return this.getPositionRangePath(n,r)},e.prototype.roundPosition=function(t,e){var i=this.positionToIndex(t);return this.indexToPosition(i,e)},e.prototype.getSeriesDataItem=function(t,e){return t.dataItems.getIndex(this.positionToIndex(e))},e.prototype.getX=function(t,e,i){var a;return h.hasValue(e)&&(a=this.categoryToPosition(t.categories[e],i)),h.isNaN(a)?this.basePoint.x:this.renderer.positionToPoint(a).x},e.prototype.getY=function(t,e,i){var a;return h.hasValue(e)&&(a=this.categoryToPosition(t.categories[e],i)),h.isNaN(a)?this.basePoint.y:this.renderer.positionToPoint(a).y},e.prototype.getAngle=function(t,e,i,a){return this.positionToAngle(this.categoryToPosition(t.categories[e],i))},e.prototype.getCellStartPosition=function(t){return this.roundPosition(t,0)},e.prototype.getCellEndPosition=function(t){return this.roundPosition(t,1)},e.prototype.getTooltipText=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return this.adapter.apply("getTooltipText",e.category)},e.prototype.positionToIndex=function(t){t=l.round(t,10);var e=this.startIndex,i=this.endIndex,a=i-e,n=this.axisBreaks,r=null;return u.eachContinue(n.iterator(),function(n){var s=n.startPosition,o=n.endPosition,h=n.adjustedStartValue,u=n.adjustedEndValue;h=l.max(h,e),u=l.min(u,i);var c=n.breakSize;if(a-=(u-h)*(1-c),t>o)e+=(u-h)*(1-c);else if(!(t<s)){var d=(t-s)/(o-s);return r=h+Math.round(d*(u-h)),!1}return!0}),h.isNumber(r)||(r=Math.floor(t*a+e)),r>=i&&r--,r},e.prototype.getPositionLabel=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return e.category},Object.defineProperty(e.prototype,"basePoint",{get:function(){return this.renderer.positionToPoint(1)},enumerable:!0,configurable:!0}),e.prototype.initRenderer=function(){t.prototype.initRenderer.call(this),this.renderer.baseGrid.disabled=!0},e}(n.a);r.b.registeredClasses.CategoryAxis=p,r.b.registeredClasses.CategoryAxisDataItem=d},115:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var a=i(0),n=i(153),r=i(1),s=i(4),o=i(3),l=i(6),h=function(t){function e(){var e=t.call(this)||this;return e.fdx=0,e.fdy=0,e.className="AxisLabelCircular",e.padding(0,0,0,0),e.location=.5,e.radius=0,e.isMeasured=!1,e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"relativeRotation",{get:function(){return this.getPropertyValue("relativeRotation")},set:function(t){this.setPropertyValue("relativeRotation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e.prototype.pixelRadius=function(t){var e=1;return this.inside&&(e=-1),l.relativeToValue(this.radius,t)*e},e.prototype.fixPoint=function(t,e){var i=s.DEGREES*Math.atan2(t.y,t.x);this.invalid&&this.validate();var a=this.relativeRotation;this.dy=-this._measuredHeight*(1-(t.y+e)/(2*e)),this.dx=-this._measuredWidth*(1-(t.x+e)/(2*e));var n=this.pixelRadius(e);if(o.isNumber(a)){var r=this.bbox.width,l=this.bbox.height;i>90||i<-90?-90==a&&(a=90,r=0):(-90==a&&(l=-l),90==a&&(a=-90,r=0,l=-l)),this.rotation=a+i+90;var h=s.sin(a)/2,u=s.cos(a)/2,c=this.rotation;this.dx=l*h*s.sin(c)-r*u*s.cos(c),this.dy=-l*h*s.cos(c)-r*u*s.sin(c);var d=this.pixelPaddingBottom,p=this.pixelPaddingTop,y=this.pixelPaddingLeft,g=this.pixelPaddingRight;this.inside?i>90||i<-90?n-=(d+p)*s.cos(a)+(y+g)*s.sin(a):n+=(d+this.bbox.height+p)*s.cos(a)+(y+g+this.bbox.width)*s.sin(a):n+=(l+d+p)*s.cos(a)+(r+y+g)*s.sin(a)}return this.fdx=this.dx,this.fdy=this.dy,t.x+=s.cos(i)*n,t.y+=s.sin(i)*n,t},e}(n.a);r.b.registeredClasses.AxisLabelCircular=h},128:function(t,e,i){"use strict";i.d(e,"b",function(){return v}),i.d(e,"a",function(){return b});var a=i(0),n=i(93),r=i(10),s=i(61),o=i(26),l=i(7),h=i(109),u=i(166),c=i(1),d=i(5),p=i(4),y=i(6),g=i(3),f=i(16),m=i(18),x=i(12),v=function(t){function e(){var e=t.call(this)||this;return e.className="XYSeriesDataItem",e.values.valueX={stack:0},e.values.valueY={stack:0},e.values.openValueX={},e.values.openValueY={},e.values.dateX={},e.values.dateY={},e.values.openDateX={},e.values.openDateY={},e.setLocation("dateX",.5,0),e.setLocation("dateY",.5,0),e.setLocation("categoryX",.5,0),e.setLocation("categoryY",.5,0),e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"valueX",{get:function(){return this.values.valueX.value},set:function(t){this.setValue("valueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueY",{get:function(){return this.values.valueY.value},set:function(t){this.setValue("valueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateX",{get:function(){return this.getDate("dateX")},set:function(t){this.setDate("dateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateY",{get:function(){return this.getDate("dateY")}
21,set:function(t){this.setDate("dateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryX",{get:function(){return this.categories.categoryX},set:function(t){this.setCategory("categoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryY",{get:function(){return this.categories.categoryY},set:function(t){this.setCategory("categoryY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueX",{get:function(){return this.values.openValueX.value},set:function(t){this.setValue("openValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueY",{get:function(){return this.values.openValueY.value},set:function(t){this.setValue("openValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateX",{get:function(){return this.getDate("openDateX")},set:function(t){this.setDate("openDateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateY",{get:function(){return this.getDate("openD
21ateY")},set:function(t){this.setDate("openDateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryX",{get:function(){return this.categories.openCategoryX},set:function(t){this.setProperty("openCategoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryY",{get:function(){return this.categories.openCategoryY},set:function(t){this.setProperty("openCategoryY",t)},enumerable:!0,configurable:!0}),e.prototype.getMin=function(t,e,i){var a,n=this;return g.isNumber(i)||(i=0),f.each(t,function(t){var r;r=e?n.getWorkingValue(t):n.getValue(t),((r+=i)<a||!g.isNumber(a))&&(a=r)}),a},e.prototype.getMax=function(t,e,i){var a,n=this;return g.isNumber(i)||(i=0),f.each(t,function(t){var r;r=e?n.getWorkingValue(t):n.getValue(t),((r+=i)>a||!g.isNumber(a))&&(a=r)}),a},e}(n.b),b=function(t){function e(){var e=t.call(this)||this;return e._xAxis=new l.d,e._yAxis=new l.d,e.className="XYSeries",e.isMeasured=!1,e.mainContainer.mask=new r.a,e.mainContainer.mask.setElement(e.paper.add("path")),e.stacked=!1,e.tooltip.pointerOrientation="horizontal",e.tooltip.events.on("hidden",function(){e.returnBulletDefaultState()},void 0,!1),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),g.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y Series"))},e.prototype.createDataItem=function(){return new v},e.prototype.dataChangeUpdate=function(){this._tmin.clear(),this._tmax.clear(),this._smin.clear(),this._smax.clear(),this.xAxis&&this.xAxis.dataChangeUpdate(),this.yAxis&&this.yAxis.dataChangeUpdate()},e.prototype.validateData=function(){if(this.defineFields(),this.data.length>0&&this.dataChangeUpdate(),t.prototype.validateData.call(this),this.updateItemReaderText(),!g.hasValue(this.dataFields[this._xField])||!g.hasValue(this.dataFields[this._yField]))throw Error('Data fields for series "'+(this.name?this.name:this.uid)+'" are not properly defined.')},e.prototype.processDataItem=function(e,i){try{t.prototype.processDataItem.call(this,e,i),e.events.disable(),this.xAxis.processSeriesDataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y"),e.events.enable(),this.setInitialWorkingValues(e)}catch(t){this._chart.raiseCriticalError(t)}},e.prototype.setInitialWorkingValues=function(t){},e.prototype.disposeData=function(){if(t.prototype.disposeData.call(this),this.xAxis){var e=this.dataItemsByAxis.getKey(this.xAxis.uid);e&&e.clear()}if(this.yAxis){var i=this.dataItemsByAxis.getKey(this.yAxis.uid);i&&i.clear()}},e.prototype.defineFields=function(){var t=this.xAxis,e=this.yAxis,i=t.axisFieldName,a=i+"X",n="open"+y.capitalize(i)+"X",r=e.axisFieldName,s=r+"Y",o="open"+y.capitalize(r)+"Y";this._xField=a,this._yField=s,this.dataFields[n]&&(this._xOpenField=n),this.dataFields[o]&&(this._yOpenField=o),this.dataFields[o]||this.baseAxis!=this.yAxis||(this._yOpenField=s),this.dataFields[n]||this.baseAxis!=this.xAxis||(this._xOpenField=a),this.stacked&&this.baseAxis==this.xAxis&&(this._xOpenField=a),this.stacked&&this.baseAxis==this.yAxis&&(this._yOpenField=s),this.xAxis instanceof h.a&&this.yAxis instanceof h.a&&(this._yOpenField||(this._yOpenField=s)),this._xValueFields=[],this._yValueFields=[],this.addValueField(this.xAxis,this._xValueFields,this._xField),this.addValueField(this.xAxis,this._xValueFields,this._xOpenField),this.addValueField(this.yAxis,this._yValueFields,this._yField),this.addValueField(this.yAxis,this._yValueFields,this._yOpenField)},e.prototype.addValueField=function(t,e,i){t instanceof s.a&&g.hasValue(this.dataFields[i])&&-1==e.indexOf(i)&&e.push(i)},e.prototype.setCategoryAxisField=function(t,e){g.hasValue(this.dataFields[t])||(this.dataFields[t]=e.dataFields.category)},e.prototype.setDateAxisField=function(t,e){g.hasValue(this.dataFields[t])||(this.dataFields[t]=e.dataFields.date)},e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.createMask()},e.prototype.createMask=function(){if(this.mainContainer.mask){var t=this.getMaskPath();d.each(this.axisRanges.iterator(),function(e){e.axisFill.fillPath&&(e.axisFill.validate(),t+=e.axisFill.fillPath)}),this.mainContainer.mask.path=t}},e.prototype.getMaskPath=function(){return x.rectToPath({x:0,y:0,width:this.xAxis.axisLength,height:this.yAxis.axisLength})},e.prototype.getAxisField=function(t){return t==this.xAxis?this.xField:t==this.yAxis?this.yField:void 0},e.prototype.validateDataItems=function(){this.xAxis.updateAxisBySeries(),this.yAxis.updateAxisBySeries(),t.prototype.validateDataItems.call(this),this.xAxis.postProcessSeriesD
21ataItems(),this.yAxis.postProcessSeriesDataItems()},e.prototype.validateDataRange=function(){this.xAxis.dataRangeInvalid&&this.xAxis.validateDataRange(),this.yAxis.dataRangeInvalid&&this.yAxis.validateDataRange(),t.prototype.validateDataRange.call(this)},e.prototype.validate=function(){this.xAxis.invalid&&this.xAxis.validate(),this.yAxis.invalid&&this.yAxis.validate(),this._showBullets=!0;var e=this.minBulletDistance;g.isNumber(e)&&this.baseAxis.axisLength/(this.endIndex-this.startIndex)<e&&(this._showBullets=!1),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"xAxis",{get:function(){if(this.chart){if(!this._xAxis.get()){var t=this.chart.xAxes.getIndex(0);if(!t)throw Error("There are no X axes on chart.");this.xAxis=t}return this._xAxis.get()}},set:function(t){var e=this._xAxis.get();e!=t&&(e&&(this.dataItemsByAxis.removeKey(e.uid),this._xAxis.dispose(),e.series.removeValue(this)),this._xAxis.set(t,t.registerSeries(this)),this.dataItemsByAxis.setKey(t.uid,new o.a),this.invalidateData())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yAxis",{get:function(){if(this.chart){if(!this._yAxis.get()){var t=this.chart.yAxes.getIndex(0);if(!t)throw Error("There are no Y axes on chart.");this.yAxis=t}return this._yAxis.get()}},set:function(t){var e=this._yAxis.get();e!=t&&(e&&(this.dataItemsByAxis.removeKey(e.uid),this._yAxis.dispose(),e.series.removeValue(this)),this._yAxis.set(t,t.registerSeries(this)),this.dataItemsByAxis.setKey(t.uid,new o.a),this.invalidateData())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseAxis",{get:function(){return this._baseAxis||(this.yAxis instanceof u.a&&(this._baseAxis=this.yAxis),this.xAxis instanceof u.a&&(this._baseAxis=this.xAxis),this.yAxis instanceof h.a&&(this._baseAxis=this.yAxis),this.xAxis instanceof h.a&&(this._baseAxis=this.xAxis),this._baseAxis||(this._baseAxis=this.xAxis)),this._baseAxis},set:function(t){this._baseAxis!=t&&(this._baseAxis=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.processValues=function(e){t.prototype.processValues.call(this,e);for(var i=this.dataItems,a=1/0,n=-1/0,r=1/0,s=-1/0,o=this.startIndex,l=this.endIndex,h=o;h<l;h++){var u=i.getIndex(h);this.getStackValue(u,e);var c=u.getValue("valueX","stack"),d=u.getValue("valueY","stack");a=p.min(u.getMin(this._xValueFields,e,c),a),r=p.min(u.getMin(this._yValueFields,e,d),r),n=p.max(u.getMax(this._xValueFields,e,c),n),s=p.max(u.getMax(this._yValueFields,e,d),s),this.stacked&&(this.baseAxis==this.xAxis&&(r=p.min(r,d)),this.baseAxis==this.yAxis&&(a=p.min(a,c)))}this.xAxis.processSeriesDataItems(),this.yAxis.processSeriesDataItems();var y=this.xAxis.uid,g=this.yAxis.uid;e||this._tmin.getKey(y)==a&&this._tmax.getKey(y)==n&&this._tmin.getKey(g)==r&&this._tmax.getKey(g)==s||(this._tmin.setKey(y,a),this._tmax.setKey(y,n),this._tmin.setKey(g,r),this._tmax.setKey(g,s),this.stackedSeries&&this.stackedSeries.processValues(!1),this.dispatchImmediately("extremeschanged")),this._smin.getKey(y)==a&&this._smax.getKey(y)==n&&this._smin.getKey(g)==r&&this._smax.getKey(g)==s||(this._smin.setKey(y,a),this._smax.setKey(y,n),this._smin.setKey(g,r),this._smax.setKey(g,s),this.appeared&&this.dispatchImmediately("selectionextremeschanged"))},e.prototype.hideTooltip=function(){t.prototype.hideTooltip.call(this),this.returnBulletDefaultState(),this._prevTooltipDataItem=void 0},e.prototype.showTooltipAtPosition=function(t,e){var i,n,r;if(this.visible&&!this.isHiding){var s=this._xAxis.get(),o=this._yAxis.get();if(s==this.baseAxis&&(i=s.getSeriesDataItem(this,s.toAxisPosition(t))),o==this.baseAxis&&(i=o.getSeriesDataItem(this,o.toAxisPosition(e))),this.returnBulletDefaultState(i),i&&i.visible){this.updateLegendValue(i),this.tooltipDataItem=i;var l=this.tooltipXField,h=this.tooltipYField;if(g.hasValue(i[l])&&g.hasValue(i[h])){var u=this.getPoint(i,l,h,i.locations[l],i.locations[h]);if(u){if(this.tooltipX=u.x,this.tooltipY=u.y,this._prevTooltipDataItem!=i){this.dispatchImmediately("tooltipshownat",{type:"tooltipshownat",target:this,dataItem:i});try{for(var c=a.g(i.bullets),d=c.next();!d.done;d=c.next()){d.value[1].isHover=!0}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}this._prevTooltipDataItem=i}return this.showTooltip()?y.spritePointToSvg({x:u.x,y:u.y},this):void 0}}}if(!this.tooltipText)return}this.hideTooltip()},e.prototype.returnBulletDefaultState=function(t){if(this._prevTooltipDataItem&&this._prevTooltipDataItem!=t)try{for(var e=a.g(this._prevTooltipDataItem.bullets),i=e.next();!i.done;i=e.next()){var n=i.value[1];n.isDisposed()?this._prevTooltipDataItem=void 0:n.isHover=!1}}catch(t){r={error:t}}finally{try{i&&!i.done&&(s=e.return)&&s.call(e)}finally{if(r)throw r.error}}var r,s},e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem,a=e.xField;g.hasValue(a)||(a=this.xField);var n=e.yField;if(g.hasValue(n)||(n=this.yField),this.xAxis instanceof s.a&&!i.hasValue([a])||this.yAxis instanceof s.a&&!i.hasValue([n]))e.visible=!1;else{var r=this.getBulletLocationX(e,a),o=this.getBulletLocationY(e,n),l=this.getPoint(i,a,n,r,o);if(l){var h=l.x,u=l.y;if(g.isNumber(e.locationX)&&this.xOpenField!=this.xField)h-=(h-this.xAxis.getX(i,this.xOpenField))*e.locationX;if(g.isNumber(e.locationY)&&this.yOpenField!=this.yField)u-=(u-this.yAxis.getY(i,this.yOpenField))*e.locationY;e.moveTo({x:h,y:u})}else e.visible=!1}},e.prototype.getBulletLocationX=function(t,e){var i=t.locationX,a=t.dataItem;return g.isNumber(i)||(i=a.workingLocations[e]),i},e.prototype.getBulletLocationY=function(t,e){var i=t.locationY,a=t.dataItem;return g.isNumber(i)||(i=a.workingLocations[e]),i},Object.defineProperty(e.prototype,"stacked",{get:function(){return this.getPropertyValue("stacked")},set:function(t){this.setPropertyValue("stacked",t,!0)},enumerable:!0,configurable:!0}),e.prototype.show=function(e){var i,a=this;this.xAxis instanceof s.a&&this.xAxis!=this.baseAxis&&(i=this._xValueFields),this.yAxis instanceof s.a&&this.yAxis!=this.baseAxis&&(i=this._yValueFields);var n,r=this.startIndex,o=this.endIndex,l=0,h=this.defaultState.transitionDuration;g.isNumber(e)&&(h=e),d.each(d.indexed(this.dataItems.iterator()),function(t){var e=t[0],s=t[1];a.sequencedInterpolation&&h>0&&(l=a.sequencedInterpolationDelay*e+h*(e-r)/(o-r)),n=s.show(h,l,i)});var u=t.prototype.show.call(this,e);return n&&!n.isFinished()&&(u=n),u},e.prototype.hide=function(e){var i,a,n=this,r=this.xAxis;r instanceof s.a&&r!=this.baseAxis&&(i=this._xValueFields,a=this.stacked||r.minZoomed<0&&r.maxZoomed>0||this.stackedSeries?0:r.min);var o=this.yAxis;o instanceof s.a&&o!=this.baseAxis&&(i=this._yValueFields,a=this.stacked||o.minZoomed<0&&o.maxZoomed>0||this.stackedSeries?0:o.min);var l=this.startIndex,h=this.endIndex,u=this.hiddenState.transitionDuration;g.isNumber(e)&&(u=e);var c,p=0;d.each(d.indexed(this.dataItems.iterator()),function(t){var e=t[0],r=t[1];0==u?r.hide(0,0,a,i):(n.sequencedInterpolation&&u>0&&(p=n.sequencedInterpolationDelay*e+u*(e-l)/(h-l)),c=r.hide(u,p,a,i))});var y=t.prototype.hide.call(this,u);return y&&!y.isFinished()&&y.delay(p),c&&!c.isFinished()&&(y=c),this.validateDataElements(),y},e.prototype.handleDataItemWorkingValueChange=function(e){t.prototype.handleDataItemWorkingValueChange.call(this,e);var i=this.baseAxis.series;d.each(i.iterator(),function(t){t.stacked&&t.invalidateProcessedData()})},e.prototype.getStackValue=function(t,e){var i=this;if(this.stacked){var a,n=this.chart,r=n.series.indexOf(this);this.xAxis!=this.baseAxis&&this.xAxis instanceof s.a&&(a=this.xField),this.yAxis!=this.baseAxis&&this.yAxis instanceof s.a&&(a=this.yField),t.setCalculatedValue(a,0,"stack"),d.eachContinue(n.series.range(0,r).backwards().iterator(),function(n){if(n.xAxis==i.xAxis&&n.yAxis==i.yAxis){n.stackedSeries=i;var r=n.dataItems.getIndex(t.index);if(r&&r.hasValue(i._xValueFields)&&r.hasValue(i._yValueFields)){var s=t.getValue(a),o=void 0;if(o=e?r.getWorkingValue(a)+r.getValue(a,"stack"):r.getValue(a)+r.getValue(a,"stack"),s>=0&&o>=0||s<0&&o<0)return t.setCalculatedValue(a,o,"stack"),!1}else if(!n.stacked)return!1}return!0})}},Object.defineProperty(e.prototype,"xField",{get:function(){return this._xField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yField",{get:function(){return this._yField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xOpenField",{get:function(){return this._xOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yOpenField",{get:function(){return this._yOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipXField",{get:function(){return this._tooltipXField?this._tooltipXField:this._xField},set:function(t){this._tooltipXField=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipYField",{get:function(){return this._tooltipYField?this._tooltipYField:this._yField},set:function(t){this._tooltipYField=t},enumerable:!0,configurable:!0}),e.prototype.min=function(t){return this._tmin.getKey(t.uid)},e.prototype.max=function(t){return this._tmax.getKey(t.uid)},e.prototype.selectionMin=function(t){var e=this._smin.getKey(t.uid);return g.isNumber(e)||(e=this.min(t)),e},e.prototype.selectionMax=function(t){var e=this._smax.getKey(t.uid);return g.isNumber(e)||(e=this.max(t)),e},e.prototype.processConfig=function(e){if(e){if(g.hasValue(e.xAxis)&&g.isString(e.xAxis)&&this.map.hasKey(e.xAxis)&&(e.xAxis=this.map.getKey(e.xAxis)),g.hasValue(e.yAxis)&&g.isString(e.yAxis)&&this.map.hasKey(e.yAxis)&&(e.yAxis=this.map.getKey(e.yAxis)),g.hasValue(e.axisRanges)&&g.isArray(e.axisRanges))for(var i=0,a=e.axisRanges.length;i<a;i++){var n=e.axisRanges[i];g.hasValue(n.type)||(n.type="AxisDataItem"),g.hasValue(n.axis)&&g.isString(n.axis)&&this.map.hasKey(n.axis)?n.component=this.map.getKey(n.axis):g.hasValue(n.component)&&g.isString(n.component)&&this.map.hasKey(n.component)&&(n.component=this.map.getKey(n.component))}if(!g.hasValue(e.dataFields)||!g.isObject(e.dataFields))throw Error("`dataFields` is not set for series ["+this.name+"]")}t.prototype.processConfig.call(this,e)}
21,e.prototype.getPoint=function(t,e,i,a,n,r,s){var o=this.xAxis.getX(t,e,a),l=this.yAxis.getY(t,i,n);return{x:o=p.fitToRange(o,-2e4,2e4),y:l=p.fitToRange(l,-2e4,2e4)}},e.prototype.updateItemReaderText=function(){var t="";m.each(this.dataFields,function(e,i){t+="{"+e+"} "}),this.itemReaderText=t},e}(n.a);c.b.registeredClasses.XYSeries=b,c.b.registeredClasses.XYSeriesDataItem=v},166:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return g});var a=i(0),n=i(61),r=i(11),s=i(26),o=i(238),l=i(1),h=i(157),u=i(3),c=i(5),d=i(4),p=i(18),y=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisDataItem",e.applyTheme(),e.values.date={},e.values.endDate={},e}return a.c(e,t),Object.defineProperty(e.prototype,"date",{get:function(){return this.dates.date},set:function(t){this.setDate("date",t),this.value=t.getTime()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.dates.endDate},set:function(t){this.setDate("endDate",t),this.endValue=t.getTime()},enumerable:!0,configurable:!0}),e}(n.b),g=function(t){function e(){var e=t.call(this)||this;return e.gridIntervals=new r.b,e.dateFormats=new s.a,e.periodChangeDateFormats=new s.a,e._baseIntervalReal={timeUnit:"day",count:1},e._minSeriesDifference=Number.MAX_VALUE,e.fillRule=function(t){var e=t.value,i=t.component,a=i._gridInterval,n=h.getDuration(a.timeUnit,a.count);Math.round((e-i.min)/n)/2==Math.round(Math.round((e-i.min)/n)/2)?t.axisFill.__disabled=!0:t.axisFill.__disabled=!1},e.className="DateAxis",e.setPropertyValue("markUnitChange",!0),e.gridIntervals.pushAll([{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:5},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:50},{timeUnit:"millisecond",count:100},{timeUnit:"millisecond",count:500},{timeUnit:"second",count:1},{timeUnit:"second",count:5},{timeUnit:"second",count:10},{timeUnit:"second",count:30},{timeUnit:"minute",count:1},{timeUnit:"minute",count:5},{timeUnit:"minute",count:10},{timeUnit:"minute",count:30},{timeUnit:"hour",count:1},{timeUnit:"hour",count:3},{timeUnit:"hour",count:6},{timeUnit:"hour",count:12},{timeUnit:"day",count:1},{timeUnit:"day",count:2},{timeUnit:"day",count:3},{timeUnit:"day",count:4},{timeUnit:"day",count:5},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"month",count:2},{timeUnit:"month",count:3},{timeUnit:"month",count:6},{timeUnit:"year",count:1},{timeUnit:"year",count:2},{timeUnit:"year",count:5},{timeUnit:"year",count:10},{timeUnit:"year",count:50},{timeUnit:"year",count:100}]),e.axisFieldName="date",e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this.dateFormats.hasKey("millisecond")||this.dateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.dateFormats.hasKey("second")||this.dateFormats.setKey("second",this.language.translate("_date_second")),this.dateFormats.hasKey("minute")||this.dateFormats.setKey("minute",this.language.translate("_date_minute")),this.dateFormats.hasKey("hour")||this.dateFormats.setKey("hour",this.language.translate("_date_hour")),this.dateFormats.hasKey("day")||this.dateFormats.setKey("day",this.language.translate("_date_day")),this.dateFormats.hasKey("week")||this.dateFormats.setKey("week",this.language.translate("_date_day")),this.dateFormats.hasKey("month")||this.dateFormats.setKey("month",this.language.translate("_date_month")),this.dateFormats.hasKey("year")||this.dateFormats.setKey("year",this.language.translate("_date_year")),this.periodChangeDateFormats.hasKey("millisecond")||this.periodChangeDateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.periodChangeDateFormats.hasKey("second")||this.periodChangeDateFormats.setKey("second",this.language.translate("_date_second")),this.periodChangeDateFormats.hasKey("minute")||this.periodChangeDateFormats.setKey("minute",this.language.translate("_date_minute")),this.periodChangeDateFormats.hasKey("hour")||this.periodChangeDateFormats.setKey("hour",this.language.translate("_date_hour")),this.periodChangeDateFormats.hasKey("day")||this.periodChangeDateFormats.setKey("day",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("week")||this.periodChangeDateFormats.setKey("week",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("month")||this.periodChangeDateFormats.setKey("month",this.language.translate("_date_month")+" "+this.language.translate("_date_year"))},e.prototype.createDataItem=function(){return new y},e.prototype.createAxisBreak=function(){return new o.a},e.prototype.validateDataItems=function(){var e=this.start,i=this.end,a=(this.max-this.min)/this.baseDuration;t.prototype.validateDataItems.call(this),this.maxZoomFactor=(this.max-this.min)/this.baseDuration,e+=(i-e)*(1-a/((this.max-this.min)/this.baseDuration)),this.zoom({start:e,end:i},!1,!0)},e.prototype.handleSelectionExtremesChange=function(){},e.prototype.calculateZoom=function(){var e=this;t.prototype.calculateZoom.call(this);var i=this.chooseInterval(0,this.adjustDifference(this._minZoomed,this._maxZoomed),this._gridCount);h.getDuration(i.timeUnit,i.count)<this.baseDuration&&(i=a.a({},this.baseInterval)),this._gridInterval=i,this._gridDate=h.round(new Date(this.min),i.timeUnit),this._nextGridUnit=h.getNextUnit(i.timeUnit),this._intervalDuration=h.getDuration(i.timeUnit,i.count);var n=Math.ceil(this._difference/this._intervalDuration);n=Math.floor(this.start*n)-3,h.add(this._gridDate,i.timeUnit,n*i.count),c.each(this.series.iterator(),function(t){if(t.baseAxis==e){var i=t.getAxisField(e),a=t.dataItems.findClosestIndex(e._minZoomed,function(t){return t[i]},"left"),n=t.dataItems.findClosestIndex(e._maxZoomed-1,function(t){return t[i]},"left")+1;t.startIndex=a,t.endIndex=n}})},e.prototype.validateData=function(){t.prototype.validateData.call(this),u.isNumber(this.baseInterval.count)||(this.baseInterval.count=1)},e.prototype.dataChangeUpdate=function(){t.prototype.dataChangeUpdate.call(this),this._minSeriesDifference=Number.MAX_VALUE;var e=!1;this.chart.data.length>1||(this.series.each(function(t){t.data.length>1&&(e=!0)}),e||(this._minSeriesDifference=h.getDuration("day")))}
21,e.prototype.postProcessSeriesDataItems=function(){var t=this;c.each(this.series.iterator(),function(e){c.each(e.dataItems.iterator(),function(e){t.postProcessSeriesDataItem(e)})}),this.addEmptyUnitsBreaks()},e.prototype.postProcessSeriesDataItem=function(t){var e=this,i=this.baseInterval;p.each(t.dates,function(a){var n=t.getDate(a),r=h.round(h.copy(n),i.timeUnit,i.count),s=h.add(h.copy(r),i.timeUnit,i.count);t.setCalculatedValue(a,r.getTime(),"open"),t.setCalculatedValue(a,s.getTime(),"close"),t.component.dataItemsByAxis.getKey(e.uid).setKey(r.getTime().toString(),t)})},e.prototype.addEmptyUnitsBreaks=function(){var t=this;if(this.skipEmptyPeriods&&u.isNumber(this.min)&&u.isNumber(this.max)){var e=this.baseInterval.timeUnit,i=this.baseInterval.count;this.axisBreaks.clear();for(var a=h.round(new Date(this.min),e,i),n=void 0,r=function(){h.add(a,e,i);var r=a.getTime(),o=r.toString();c.contains(s.series.iterator(),function(e){return!!e.dataItemsByAxis.getKey(t.uid).getKey(o)})?n&&(n.endDate=new Date(r-1),n=void 0):n||((n=s.axisBreaks.create()).startDate=new Date(r))},s=this;a.getTime()<this.max-this.baseDuration;)r()}},e.prototype.fixAxisBreaks=function(){var e=this;t.prototype.fixAxisBreaks.call(this);var i=this._axisBreaks;c.each(i.iterator(),function(t){var i=e._gridCount*(Math.min(e.end,t.endPosition)-Math.max(e.start,t.startPosition))/(e.end-e.start);t.gridInterval=e.chooseInterval(0,t.adjustedEndValue-t.adjustedStartValue,i),t.gridDate=h.round(new Date(t.adjustedStartValue),t.gridInterval.timeUnit)})},e.prototype.getGridDate=function(t,e){var i=this._gridInterval.timeUnit,a=this._gridInterval.count;h.round(t,i);var n=t.getTime(),r=h.copy(t),s=h.add(r,i,e).getTime(),o=this.isInBreak(s);o&&(s=(r=this.getBreaklessDate(o,this.baseInterval.timeUnit,this.baseInterval.count)).getTime());var l=this.adjustDifference(n,s);return Math.round(l/h.getDuration(i))<a?this.getGridDate(t,e+1):r},e.prototype.getBreaklessDate=function(t,e,i){var a=new Date(t.endValue);h.round(a,e,i),h.add(a,e,i);var n=a.getTime();return(t=this.isInBreak(n))?this.getBreaklessDate(t,e,i):a},e.prototype.validateAxisElements=function(){var t=this;if(u.isNumber(this.max)&&u.isNumber(this.min)){this.calculateZoom();var e=this._gridDate.getTime(),i=this._gridInterval.timeUnit,a=this._gridInterval.count,n=h.copy(this._gridDate),r=this._dataItemsIterator;this.resetIterators();for(var s=function(){var t=o.getGridDate(new Date(n),a);e=t.getTime();var s=h.copy(t);s=h.add(s,i,a);var l=o.dateFormats.getKey(i);o.markUnitChange&&n&&h.checkChange(t,n,o._nextGridUnit)&&"year"!==i&&(l=o.periodChangeDateFormats.getKey(i));var u=o.dateFormatter.format(t,l),c=r.find(function(t){return t.text===u});o.appendDataItem(c),c.axisBreak=void 0,c.date=t,c.endDate=s,c.text=u,n=t,o.validateDataElement(c)},o=this;e<=this._maxZoomed;)s();var l=this.renderer;c.each(this.axisBreaks.iterator(),function(e){if(e.breakSize>0){var i=e.gridInterval.timeUnit,a=e.gridInterval.count;if(d.getDistance(e.startPoint,e.endPoint)>l.minGridDistance)for(var n,s=e.gridDate.getTime(),o=0,u=function(){var l=h.copy(e.gridDate);if(s=h.add(l,i,a*o).getTime(),o++,s>e.adjustedStartValue&&s<e.adjustedEndValue){var u=h.copy(l);u=h.add(u,i,a);var c=t.dateFormats.getKey(i);t.markUnitChange&&n&&h.checkChange(l,n,t._nextGridUnit)&&"year"!==i&&(c=t.periodChangeDateFormats.getKey(i));var d=t.dateFormatter.format(l,c),p=r.find(function(t){return t.text===d});t.appendDataItem(p),p.axisBreak=e,e.dataItems.moveValue(p),p.date=l,p.endDate=u,p.text=d,n=l,t.validateDataElement(p)}};s<=e.adjustedMax;)u()}})}},e.prototype.validateDataElement=function(t){if(u.isNumber(this.max)&&u.isNumber(this.min)){var e=this.renderer,i=t.value,a=t.endValue;u.isNumber(a)||(a=i);var n=this.valueToPosition(i),r=this.valueToPosition(a);t.position=n;var s=t.tick;s&&!s.disabled&&e.updateTickElement(s,n,r);var o=t.grid;o&&!o.disabled&&e.updateGridElement(o,n,r);var l=t.axisFill;l&&!l.disabled&&(e.updateFillElement(l,n,r),t.isRange||this.fillRule(t));var h=t.mask;h&&e.updateFillElement(h,n,r);var c=t.label;if(c&&!c.disabled){var d=c.location;0==d&&(d=1!=this._gridInterval.count||"week"==this._gridInterval.timeUnit||t.isRange?0:.5),e.updateLabelElement(c,n,r,d)}}},Object.defineProperty(e.prototype,"baseDuration",{get:function(){return h.getDuration(this.baseInterval.timeUnit,this.baseInterval.count)},enumerable:!0,configurable:!0}),e.prototype.adjustMinMax=function(t,e){return{min:t,max:e,step:this.baseDuration}},e.prototype.fixMin=function(t){return h.round(new Date(t),this.baseInterval.timeUnit,this.baseInterval.count).getTime()+this.baseDuration*this.startLocation},e.prototype.fixMax=function(t){return h.round(new Date(t),this.baseInterval.timeUnit,this.baseInterval.count).getTime()+this.baseDuration*this.endLocation}
21,e.prototype.chooseInterval=function(t,e,i){var n=this.gridIntervals,r=n.getIndex(t),s=h.getDuration(r.timeUnit,r.count),o=n.length-1;if(t>=o)return a.a({},n.getIndex(o));var l=Math.ceil(e/s);return e<s&&t>0?a.a({},n.getIndex(t-1)):l<=i?a.a({},n.getIndex(t)):t+1<n.length?this.chooseInterval(t+1,e,i):a.a({},n.getIndex(t))},e.prototype.formatLabel=function(t){return this.dateFormatter.format(t)},e.prototype.dateToPosition=function(t){return this.valueToPosition(t.getTime())},e.prototype.anyToPosition=function(t){return t instanceof Date?this.dateToPosition(t):this.valueToPosition(t)},e.prototype.dateToPoint=function(t){var e=this.dateToPosition(t),i=this.renderer.positionToPoint(e),a=this.renderer.positionToAngle(e);return{x:i.x,y:i.y,angle:a}},e.prototype.anyToPoint=function(t){return t instanceof Date?this.dateToPoint(t):this.valueToPoint(t)},e.prototype.positionToDate=function(t){return new Date(this.positionToValue(t))},e.prototype.getX=function(t,e,i){var a=this.getTimeByLocation(t,e,i);return u.isNumber(a)||(a=this.baseValue),this.renderer.positionToPoint(this.valueToPosition(a)).x},e.prototype.getY=function(t,e,i){var a=this.getTimeByLocation(t,e,i),n=t.getValue("valueX","stack");return u.isNumber(a)||(a=this.baseValue),this.renderer.positionToPoint(this.valueToPosition(a+n)).y},e.prototype.getAngle=function(t,e,i,a){var n=this.getTimeByLocation(t,e,i),r=t.getValue(a,"stack");return u.isNumber(n)||(n=this.baseValue),this.positionToAngle(this.valueToPosition(n+r))},e.prototype.getTimeByLocation=function(t,e,i){if(u.hasValue(e)){u.isNumber(i)||(i=t.workingLocations[e],u.isNumber(i)||(i=0));var a=t.values[e].open,n=t.values[e].close;return u.isNumber(a)&&u.isNumber(n)?a+(n-a)*i:void 0}},e.prototype.processSeriesDataItem=function(t,e){t.component;var i,a=t["date"+e];if(a){i=a.getTime();var n,r=t["openDate"+e],s=this._prevSeriesTime;if(r&&(n=r.getTime()),u.isNumber(n)){var o=Math.abs(i-n);this._minSeriesDifference>o&&(this._minSeriesDifference=o)}var l=i-s;l>0&&this._minSeriesDifference>l&&(this._minSeriesDifference=l),this._prevSeriesTime=i}},e.prototype.updateAxisBySeries=function(){t.prototype.updateAxisBySeries.call(this);var e=this.chooseInterval(0,this._minSeriesDifference,1);this._minSeriesDifference>=h.getDuration("day",27)&&"week"==e.timeUnit&&(e.timeUnit="month"),this._minSeriesDifference>=h.getDuration("hour",23)&&"hour"==e.timeUnit&&(e.timeUnit="day"),e.count=1,this._baseIntervalReal=e},Object.defineProperty(e.prototype,"baseInterval",{get:function(){return this._baseInterval?this._baseInterval:this._baseIntervalReal},set:function(t){this._baseInterval=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"skipEmptyPeriods",{get:function(){return this.getPropertyValue("skipEmptyPeriods")},set:function(t){if(this.setPropertyValue("skipEmptyPeriods",t)&&this.invalidateData(),t){var e=this.axisBreaks.template;e.startLine.disabled=!0,e.endLine.disabled=!0,e.fillShape.disabled=!0,e.breakSize=0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDateFormat",{get:function(){return this.getPropertyValue("tooltipDateFormat")},set:function(t){this.setPropertyValue("tooltipDateFormat",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markUnitChange",{get:function(){return this.getPropertyValue("markUnitChange")},set:function(t){this.setPropertyValue("markUnitChange",t)&&this.invalidateData()},enumerable:!0,configurable:!0}),e.prototype.getTooltipText=function(t){var e,i=this.positionToDate(t);if(i=h.round(i,this.baseInterval.timeUnit,this.baseInterval.count),u.hasValue(this.tooltipDateFormat))e=this.dateFormatter.format(i,this.tooltipDateFormat);else{var a=this.dateFormats.getKey(this.baseInterval.timeUnit);e=a?this.dateFormatter.format(i,a):this.getPositionLabel(t)}return this.adapter.apply("getTooltipText",e)},e.prototype.roundPosition=function(t,e){var i=this.baseInterval,a=i.timeUnit,n=i.count,r=this.positionToDate(t);if(h.round(r,a,n),e>0&&h.add(r,a,e*n),this.isInBreak(r.getTime()))for(;r.getTime()<this.max&&(h.add(r,a,n),!this.isInBreak(r.getTime())););return this.dateToPosition(r)},e.prototype.getCellStartPosition=function(t){return this.roundPosition(t,0)},e.prototype.getCellEndPosition=function(t){return this.roundPosition(t,1)},e.prototype.getSeriesDataItem=function(t,e){var i=this.positionToValue(e),a=h.round(new Date(i),this.baseInterval.timeUnit,this.baseInterval.count),n=t.dataItemsByAxis.getKey(this.uid).getKey(a.getTime().toString());if(!n){for(var r=0,s=void 0,o=new Date(a.getTime());o.getTime()>this.minZoomed&&(o=h.add(o,this.baseInterval.timeUnit,-this.baseInterval.count),!(s=t.dataItemsByAxis.getKey(this.uid).getKey(o.getTime().toString())))&&!(++r>5e3););for(var l=0,u=void 0,c=new Date(a.getTime());c.getTime()<this.maxZoomed&&(c=h.add(c,this.baseInterval.timeUnit,this.baseInterval.count),!(u=t.dataItemsByAxis.getKey(this.uid).getKey(c.getTime().toString())))&&!(++l>5e3););if(s&&!u)return s;if(!s&&u)return u;if(s&&u)return r<l?s:u}return n},e.prototype.getPositionLabel=function(t){var e=this.positionToDate(t);return this.dateFormatter.format(e,this.getCurrentLabelFormat())},e.prototype.getCurrentLabelFormat=function(){return this.dateFormats.getKey(this._gridInterval?this._gridInterval.timeUnit:"day")},e.prototype.initRenderer=function(){t.prototype.initRenderer.call(this);var e=this.renderer;e&&(e.ticks.template.location=0,e.grid.template.location=0,e.labels.template.location=0,e.baseGrid.disabled=!0)},Object.defineProperty(e.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}
21),e.prototype.zoomToDates=function(t,e,i,a){t=this.dateFormatter.parse(t),e=this.dateFormatter.parse(e),this.zoomToValues(t.getTime(),e.getTime(),i,a)},e.prototype.asIs=function(e){return"baseInterval"==e||t.prototype.asIs.call(this,e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.dateFormats=e.dateFormats,this.periodChangeDateFormats=e.periodChangeDateFormats,e._baseInterval&&(this.baseInterval=e.baseInterval)},e}(n.a);l.b.registeredClasses.DateAxis=g,l.b.registeredClasses.DateAxisDataItem=y},167:function(t,e,i){"use strict";i.d(e,"a",function(){return y});var a=i(0),n=i(239),r=i(10),s=i(7),o=i(1),l=i(14),h=i(13),u=i(4),c=i(6),d=i(3),p=i(12),y=function(t){function e(){var e=t.call(this)||this;e._lineX=new s.d,e._lineY=new s.d,e._xAxis=new s.d,e._yAxis=new s.d,e.className="XYCursor",e.behavior="zoomX",e.maxPanOut=.1;var i=new h.a,a=e.createChild(r.a);a.shouldClone=!1,a.fillOpacity=.2,a.fill=i.getFor("alternativeBackground"),a.isMeasured=!1,a.interactionsEnabled=!1,e.selection=a,e._disposers.push(e.selection);var n=e.createChild(r.a);n.shouldClone=!1,n.stroke=i.getFor("grid"),n.fill=Object(l.c)(),n.strokeDasharray="3,3",n.isMeasured=!1,n.strokeOpacity=.4,n.interactionsEnabled=!1,e.lineX=n,e._disposers.push(e.lineX);var o=e.createChild(r.a);return o.shouldClone=!1,o.stroke=i.getFor("grid"),o.fill=Object(l.c)(),o.strokeDasharray="3,3",o.isMeasured=!1,o.strokeOpacity=.4,o.interactionsEnabled=!1,e.lineY=o,e._disposers.push(e.lineY),e.events.on("sizechanged",e.updateSize,e,!1),e._disposers.push(e._lineX),e._disposers.push(e._lineY),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.applyTheme(),e}return a.c(e,t),e.prototype.updateSize=function(){this.lineX&&(this.lineX.path=p.moveTo({x:0,y:0})+p.lineTo({x:0,y:this.innerHeight})),this.lineY&&(this.lineY.path=p.moveTo({x:0,y:0})+p.lineTo({x:this.innerWidth,y:0}))},e.prototype.updateSelection=function(){if(this._usesSelection){var t=this.downPoint;if(t){var e=this.point;this.lineX&&(e.x=this.lineX.pixelX),this.lineY&&(e.y=this.lineY.pixelY);var i=this.selection,a=Math.min(e.x,t.x),n=Math.min(e.y,t.y),r=u.round(Math.abs(t.x-e.x),this._positionPrecision),s=u.round(Math.abs(t.y-e.y),this._positionPrecision);switch(this.behavior){case"zoomX":n=0,s=this.pixelHeight;break;case"zoomY":a=0,r=this.pixelWidth;break;case"selectX":n=0,s=this.pixelHeight;break;case"selectY":a=0,r=this.pixelWidth}i.x=a,i.y=n,i.path=p.rectangle(r,s),i.validatePosition()}else this.selection.hide()}},e.prototype.fixPoint=function(t){return t.x=Math.max(0,t.x),t.y=Math.max(0,t.y),t.x=Math.min(this.pixelWidth,t.x),t.y=Math.min(this.pixelHeight,t.y),t},e.prototype.triggerMoveReal=function(e){t.prototype.triggerMoveReal.call(this,e),this.updateLinePositions(e),this.downPoint&&u.getDistance(this.downPoint,e)>3&&"pan"==this._generalBehavior&&(this.getPanningRanges(),this.dispatch("panning"))},e.prototype.updateLinePositions=function(t){t=this.fixPoint(this.point),this.lineX&&this.lineX.visible&&!this.xAxis&&(this.lineX.x=t.x),this.lineY&&this.lineY.visible&&!this.yAxis&&(this.lineY.y=t.y),this.updateSelection()},e.prototype.triggerDownReal=function(e){if(this.visible&&!this.isHiding)if(this.fitsToBounds(e)){this.downPoint=e,this.updatePoint(e),this.point.x=this.downPoint.x,this.point.y=this.downPoint.y;var i=this.selection,a=this.downPoint.x,n=this.downPoint.y;this._usesSelection&&(i.x=a,i.y=n,i.path="",i.show()),t.prototype.triggerDownReal.call(this,e)}else this.downPoint=void 0;else this.downPoint=void 0},e.prototype.updatePoint=function(t){this.lineX&&(t.x=this.lineX.pixelX),this.lineY&&(t.y=this.lineY.pixelY)},e.prototype.triggerUpReal=function(e){this.downPoint&&(this.upPoint=e,this.updatePoint(this.upPoint),this.getRanges(),"selectX"==this.behavior||"selectY"==this.behavior||"selectXY"==this.behavior||this.selection.hide(),t.prototype.triggerUpReal.call(this,e)),this.downPoint=void 0,this.updateSelection()},e.prototype.getPanningRanges=function(){var t=u.round(this.downPoint.x/this.innerWidth,5),e=u.round(this.downPoint.y/this.innerHeight,5),i=t-u.round(this.point.x/this.innerWidth,5),a=-e+u.round(this.point.y/this.innerHeight,5);this.xRange={start:i,end:1+i},this.yRange={start:a,end:1+a},"panX"==this.behavior&&(this.yRange.start=0,this.yRange.end=1),"panY"==this.behavior&&(this.xRange.start=0,this.xRange.end=1)},e.prototype.getRanges=function(){this.lineX&&(this.upPoint.x=this.lineX.pixelX),this.lineY&&(this.upPoint.y=this.lineY.pixelY),this.selection;var t=u.round(this.downPoint.x/this.innerWidth,5),e=u.round(this.upPoint.x/this.innerWidth,5),i=u.round(this.downPoint.y/this.innerHeight,5),a=u.round(this.upPoint.y/this.innerHeight,5);this.xRange={start:u.min(t,e),end:u.max(t,e)},this.yRange={start:u.min(i,a),end:u.max(i,a)}},Object.defineProperty(e.prototype,"behavior",{get:function(){return this.getPropertyValue("behavior")}
21,set:function(t){this.setPropertyValue("behavior",t,!0),this._usesSelection=!1,-1!=t.indexOf("zoom")&&(this._generalBehavior="zoom",this._usesSelection=!0),-1!=t.indexOf("select")&&(this._generalBehavior="select",this._usesSelection=!0),-1!=t.indexOf("pan")&&(this._generalBehavior="pan",this._usesSelection=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthLineX",{get:function(){return this.getPropertyValue("fullWidthLineX")},set:function(t){this.setPropertyValue("fullWidthLineX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthLineY",{get:function(){return this.getPropertyValue("fullWidthLineY")},set:function(t){this.setPropertyValue("fullWidthLineY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxPanOut",{get:function(){return this.getPropertyValue("maxPanOut")},set:function(t){this.setPropertyValue("maxPanOut",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xAxis",{get:function(){return this._xAxis.get()},set:function(t){if(this._xAxis.get()!=t){var e=t.chart;this._xAxis.set(t,new s.c([t.tooltip.events.on("positionchanged",this.handleXTooltipPosition,this,!1),t.events.on("validated",e.handleCursorPositionChange,e,!1)]))}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yAxis",{get:function(){return this._yAxis.get()},set:function(t){if(this._yAxis.get()!=t){var e=t.chart;this._yAxis.set(t,new s.c([t.tooltip.events.on("positionchanged",this.handleYTooltipPosition,this,!1),t.events.on("validated",e.handleCursorPositionChange,e,!1)]))}},enumerable:!0,configurable:!0}),e.prototype.handleXTooltipPosition=function(t){var e=this.xAxis.tooltip,i=c.svgPointToSprite({x:e.pixelX,y:e.pixelY},this),a=i.x;if(this.lineX&&(this.lineX.x=a,this.fitsToBounds(i)||this.hide()),this.xAxis&&this.fullWidthLineX){var n=this.xAxis.currentItemStartPoint,r=this.xAxis.currentItemEndPoint;if(n&&r){this.lineX.x=a;var s=r.x-n.x;this.lineX.path=p.rectangle(s,this.innerHeight,-s/2)}}},e.prototype.handleYTooltipPosition=function(t){var e=this.yAxis.tooltip,i=c.svgPointToSprite({x:e.pixelX,y:e.pixelY},this),a=i.y;if(this.lineY&&(this.lineY.y=a,this.fitsToBounds(i)||this.hide()),this.yAxis&&this.fullWidthLineY){var n=this.yAxis.currentItemStartPoint,r=this.yAxis.currentItemEndPoint;if(n&&r){this.lineY.y=a;var s=r.y-n.y;this.lineY.path=p.rectangle(this.innerWidth,s,0,-s/2)}}},Object.defineProperty(e.prototype,"lineX",{get:function(){return this._lineX.get()},set:function(t){t?(t.setElement(this.paper.add("path")),this._lineX.set(t,t.events.on("positionchanged",this.updateSelection,this,!1)),t.interactionsEnabled=!1,t.parent=this):this._lineX.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineY",{get:function(){return this._lineY.get()},set:function(t){t?(t.setElement(this.paper.add("path")),this._lineY.set(t,t.events.on("positionchanged",this.updateSelection,this,!1)),t.parent=this,t.interactionsEnabled=!1):this._lineY.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(t){this._selection=t,t&&(t.element=this.paper.add("path"),t.parent=this)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){e&&(d.hasValue(e.xAxis)&&d.isString(e.xAxis)&&this.map.hasKey(e.xAxis)&&(e.xAxis=this.map.getKey(e.xAxis)),d.hasValue(e.yAxis)&&d.isString(e.yAxis)&&this.map.hasKey(e.yAxis)&&(e.yAxis=this.map.getKey(e.yAxis))),t.prototype.processConfig.call(this,e)},e}(n.a);o.b.registeredClasses.XYCursor=y},170:function(t,e,i){"use strict";i.d(e,"b",function(){return x}),i.d(e,"a",function(){return v});var a=i(0),n=i(128),r=i(10),s=i(9),o=i(11),l=i(171),h=i(61),u=i(166),c=i(1),d=i(71),p=i(37),y=i(102),g=i(5),f=i(18),m=i(3),x=function(t){function e(){var e=t.call(this)||this;return e.className="LineSeriesDataItem",e}return a.c(e,t),e}(n.b),v=function(t){function e(){var e=t.call(this)||this;return e.minDistance=.5,e.segments=new o.e(e.createSegment()),e.segments.template.applyOnClones=!0,e._disposers.push(new o.c(e.segments)),e._disposers.push(e.segments.template),e._segmentsIterator=new g.ListIterator(e.segments,function(){return e.segments.create()}),e._segmentsIterator.createNewItems=!0,e.className="LineSeries",e.strokeOpacity=1,e.fillOpacity=0,e.connect=!0,e.tensionX=1,e.tensionY=1,e.segmentsContainer=e.mainContainer.createChild(s.a),e.segmentsContainer.isMeasured=!1,e.bulletsContainer.toFront(),e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Line Series"))},e.prototype.createSegment=function(){return new l.a},e.prototype.createDataItem=function(){return new x},e.prototype.setInitialWorkingValues=function(t){if(this.appeared&&this.visible){var e=this._yAxis.get(),i=this._xAxis.get(),a=this.dataItems.getIndex(t.index-1);if(t.component=this,this.baseAxis==i&&e instanceof h.a){var n=e.minZoomed;a&&(n=a.values.valueY.workingValue),t.setWorkingValue("valueY",n,0),t.setWorkingValue("valueY",t.values.valueY.value),i instanceof u.a&&(t.setWorkingLocation("dateX",-.5,0),t.setWorkingLocation("dateX",.5))}if(this.baseAxis==e&&i instanceof h.a){var r=i.minZoomed;a&&(r=a.values.valueX.workingValue),t.setWorkingValue("valueX",r,0),t.setWorkingValue("valueX",t.values.valueX.value),e instanceof u.a&&(t.setWorkingLocation("dateY",-.5,0),t.setWorkingLocation("dateY",.5))}}},e.prototype.updateLegendValue=function(e){t.prototype.updateLegendValue.call(this,e),e&&e.segment&&(this.tooltipColorSource=e.segment)},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this),this._segmentsIterator.reset(),this.openSegment(this._workingStartIndex),g.each(this.axisRanges.iterator(),function(t){e.openSegment(e._workingStartIndex,t)}),g.each(this._segmentsIterator.iterator(),function(t){t.__disabled=!0})},e.prototype.sliceData=function(){for(var t=this.startIndex,e=this.endIndex,i=this.startIndex-1;i>=0;i--){if((n=this.dataItems.getIndex(i))&&n.hasValue(this._xValueFields)&&n.hasValue(this._yValueFields)){t=i;break}}i=this.endIndex;for(var a=this.dataItems.length;i<a;i++){var n;if((n=this.dataItems.getIndex(i))&&n.hasValue(this._xValueFields)&&n.hasValue(this._yValueFields)){e=i+1;break}}this._workingStartIndex=t,this._workingEndIndex=e},e.prototype.openSegment=function(t,e){var i,a=[],n=this._workingEndIndex,s=!1,o=this._segmentsIterator.getFirst();o.__disabled=!1,e?(o.parent=e.contents,f.copyProperties(e.contents,o,r.b)):(f.copyProperties(this,o,r.b),o.filters.clear(),o.parent=this.segmentsContainer);for(var l=t;l<n;l++){var h=this.dataItems.getIndex(l);if(h.segment=o,h.hasProperties&&(l==t?this.updateSegmentProperties(h.properties,o):s=this.updateSegmentProperties(h.properties,o,!0)),h.hasValue(this._xValueFields)&&h.hasValue(this._yValueFields))this.addPoints(a,h,this.xField,this.yField);else{if(l==t)continue;if(!this.connect){i=l;break}}if(i=l,s)break}this.closeSegment(o,a,t,i,e)}
21,e.prototype.addPoints=function(t,e,i,a,n){var r=this.getPoint(e,i,a,e.workingLocations[i],e.workingLocations[a]);n||(e.point=r),t.push(r)},e.prototype.closeSegment=function(t,e,i,a,n){var r=[];if(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)for(var s=a;s>=i;s--){var o=this.dataItems.getIndex(s);o.hasValue(this._xValueFields)&&o.hasValue(this._yValueFields)&&this.addPoints(r,o,this.xOpenField,this.yOpenField,!0)}else{var l=this.baseAxis,h=e.length,u=this.xAxis,c=this.yAxis;l==u?(r.push({x:e[h-1].x,y:c.basePoint.y}),r.push({x:e[0].x,y:c.basePoint.y})):(r.push({x:u.basePoint.x,y:e[h-1].y}),r.push({x:u.basePoint.x,y:e[0].y}))}this.drawSegment(t,e,r),a<this._workingEndIndex-1&&this.openSegment(a,n)},e.prototype.drawSegment=function(t,e,i){t.drawSegment(e,i,this.tensionX,this.tensionY)},e.prototype.updateSegmentProperties=function(t,e,i){var a=!1;return f.each(t,function(t,n){if(m.hasValue(n)){var r=e[t],s=void 0;r&&(s=r.toString?r.toString():r);var o=void 0;n&&(o=n.toString?n.toString():n),r==n||void 0!=s&&void 0!=o&&s==o||(i||(e[t]=n),a=!0)}}),a},Object.defineProperty(e.prototype,"connect",{get:function(){return this.getPropertyValue("connect")}
21,set:function(t){this.setPropertyValue("connect",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionX",{get:function(){return this.getPropertyValue("tensionX")},set:function(t){this.setPropertyValue("tensionX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionY",{get:function(){return this.getPropertyValue("tensionY")},set:function(t){this.setPropertyValue("tensionY",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){var e=this,i=t.pixelWidth,a=t.pixelHeight;t.disposeChildren();var n=t.createChild(d.a);if(n.shouldClone=!1,f.copyProperties(this,n,r.b),n.x2=i,n.y=a/2,n.visible=!0,this.fillOpacity>0){var s=t.createChild(y.a);f.copyProperties(this,s,r.b),s.width=i,s.height=a,s.y=0,s.strokeOpacity=0,s.visible=!0,n.y=0}g.eachContinue(this.bullets.iterator(),function(n){if(n.copyToLegendMarker){var r=!1;if(g.each(n.children.iterator(),function(t){if(t instanceof p.a)return r=!0,!0}),!r){var s=n.clone();return s.parent=t,s.isMeasured=!0,s.tooltipText=void 0,s.x=i/2,e.fillOpacity>0?s.y=0:s.y=a/2,s.visible=!0,m.hasValue(s.fill)||(s.fill=e.fill),m.hasValue(s.stroke)||(s.stroke=e.stroke),!1}}})},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this.segments.clear()},e}(n.a);c.b.registeredClasses.LineSeries=v,c.b.registeredClasses.LineSeriesDataItem=x},171:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var a=i(0),n=i(9),r=i(10),s=i(1),o=i(12),l=i(18),h=i(72),u=function(t){function e(){var e=t.call(this)||this;e.className="LineSeriesSegment",e.isMeasured=!1,e.interactionsEnabled=!1,e.layout="none";var i=e.createChild(r.a);e.fillSprite=i,i.shouldClone=!1,i.setElement(e.paper.add("path")),i.isMeasured=!1,e._disposers.push(i);var a=e.createChild(r.a);return e.strokeSprite=a,a.shouldClone=!1,a.setElement(e.paper.add("path")),a.isMeasured=!1,e._disposers.push(a),e}return a.c(e,t),e.prototype.drawSegment=function(t,e,i,a){if(!this.disabled)if(t.length>0&&e.length>0){var n=o.moveTo({x:t[0].x-.2,y:t[0].y-.2})+o.moveTo(t[0])+new h.b(i,a).smooth(t);0==this.strokeOpacity||0==this.strokeSprite.strokeOpacity||(this.strokeSprite.path=n),(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(n+=o.lineTo(e[0])+new h.b(i,a).smooth(e),n+=o.lineTo(t[0]),n+=o.closePath(),this.fillSprite.path=n)}else this.fillSprite.path="",this.strokeSprite.path=""},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e);var i=this.strokeSprite;l.copyProperties(e,i.properties,r.b),i.fillOpacity=0;var a=this.fillSprite;l.copyProperties(e,a.properties,r.b),a.strokeOpacity=0},e}(n.a);s.b.registeredClasses.LineSeriesSegment=u},172:function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return p});var a=i(0),n=i(129),r=i(75),s=i(115),o=i(250),l=i(1),h=i(4),u=i(3),c=i(8),d=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeriesDataItem",e.values.radiusValue={},e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"radiusValue",{get:function(){return this.values.radiusValue.value},set:function(t){this.setValue("radiusValue",t)},enumerable:!0,configurable:!0}),e.prototype.hide=function(e,i,a,n){return t.prototype.hide.call(this,e,i,0,["value","radiusValue"])},e.prototype.show=function(e,i,a){return t.prototype.show.call(this,e,i,["value","radiusValue"])},e}(n.b),p=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries",e.alignLabels=!0,e.startAngle=-90,e.endAngle=270,e.labels.template.radius=Object(c.c)(5),e.applyTheme(),e}return a.c(e,t),e.prototype.createSlice=function(){return new r.a},e.prototype.createTick=function(){return new o.a},e.prototype.createLabel=function(){return new s.a},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),u.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pie Slice Series"))},e.prototype.createDataItem=function(){return new d},e.prototype.initSlice=function(t){t.isMeasured=!1,t.defaultState.properties.scale=1,t.observe("scale",this.handleSliceScale,this),t.observe(["dx","dy","x","y","shiftRadius"],this.handleSliceMove,this),t.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})",t.states.create("hover").properties.scale=1.05,t.defaultState.properties.shiftRadius=0,t.togglable=!0,t.events.on("toggled",function(t){t.target.hideTooltip()}),t.states.create("active").properties.shiftRadius=.1},e.prototype.validate=function(){this._leftItems=[],this._rightItems=[],this._currentStartAngle=this.startAngle,this._arcRect=h.getArcRect(this.startAngle,this.endAngle),this._maxRadiusPercent=0;for(var e=this.startIndex;e<this.endIndex;e++){var i=this.dataItems.getIndex(e).values.radiusValue.percent;i>this._maxRadiusPercent&&(this._maxRadiusPercent=i)}t.prototype.validate.call(this),this.alignLabels&&(this.startAngle>this.endAngle?this._rightItems.reverse():this._leftItems.reverse(),this._rightItems.sort(function(t,e){var i=(t.slice.middleAngle+360)%360,a=(e.slice.middleAngle+360)%360;return i>270&&(i-=360),a>270&&(a-=360),i<a?-1:1}),this._leftItems.sort(function(t,e){return(t.slice.middleAngle+360)%360<(e.slice.middleAngle+360)%360?1:-1}),this.arrangeLabels(this._rightItems),this.arrangeLabels(this._leftItems))},e.prototype.validateDataElement=function(e){if(this.pixelRadius>0){e.values.value.percent;var i=e.slice;
21i.radius=this.pixelRadius,u.isNumber(e.radiusValue)&&(i.radius*=e.values.radiusValue.percent/this._maxRadiusPercent),i.innerRadius instanceof c.a||(i.innerRadius=this.pixelInnerRadius),i.startAngle=this._currentStartAngle,i.arc=e.values.value.percent*(this.endAngle-this.startAngle)/100;var a=e.label,n=e.tick;n.slice=i,n.label=a;var r=(i.middleAngle+360)%360,s=void 0;if(this.alignLabels){var o=a.pixelRadius(i.radius),l=n.length+o;a.verticalCenter="middle";var h=this._arcRect;r>=270||r<=90?(l+=(h.width+h.x)*this.pixelRadius,a.horizontalCenter="left",this._rightItems.push(e)):(l-=h.x*this.pixelRadius,a.horizontalCenter="right",this._leftItems.push(e),l*=-1);var d=i.radius+n.length+o;s={x:l,y:i.iy*d}}else{l=i.ix*i.radius;var p=i.iy*i.radiusY;s=a.fixPoint({x:l,y:p},i.radius)}a.moveTo(s),this._currentStartAngle+=i.arc,t.prototype.validateDataElement.call(this,e)}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return this._pixelRadius},set:function(t){this._pixelRadius!=t&&(this._pixelRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},set:function(t){this._pixelInnerRadius!=t&&(this._pixelInnerRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",h.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice,a=e.locationX;u.isNumber(a)||(a=.5);var n=e.locationY;u.isNumber(n)||(n=1);var r=i.startAngle+i.arc*a,s=n*i.radius;e.x=s*h.cos(r),e.y=s*h.sin(r)},e.prototype.handleSliceMove=function(t){if(!this.alignLabels){var e=t.target,i=e.dataItem;if(i){var a=i.label;a&&(a.dx=a.fdx+e.dx+e.pixelX,a.dy=a.fdy+e.dy+e.pixelY)}}},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;var t=this.chart;return t?h.getArcRect(t.startAngle,t.endAngle,this.pixelRadius):h.getArcRect(this.startAngle,this.endAngle,this.pixelRadius)},enumerable:!0,configurable:!0}),e}(n.a);l.b.registeredClasses.PieSeries=p,l.b.registeredClasses.PieSeriesDataItem=d},177:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var a=i(0),n=i(62),r=i(71),s=i(1),o=function(t){function e(){var e=t.call(this)||this;return e.className="Candlestick",e.layout="none",e}return a.c(e,t),e.prototype.createAssets=function(){t.prototype.createAssets.call(this),this.lowLine=this.createChild(r.a),this.lowLine.shouldClone=!1,this.highLine=this.createChild(r.a),this.highLine.shouldClone=!1},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.lowLine&&this.lowLine.copyFrom(e.lowLine),this.highLine&&this.highLine.copyFrom(e.highLine)},e}(n.a);s.b.registeredClasses.Candlestick=o},211:function(t,e,i){"use strict";i.d(e,"a",function(){return y});var a=i(0),n=i(114),r=i(212),s=i(213),o=i(115),l=i(1),h=i(8),u=i(4),c=i(12),d=i(6),p=i(3),y=function(t){function e(){var e=t.call(this)||this;return e.pixelRadiusReal=0,e.layout="none",e.className="AxisRendererCircular",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.useChartAngles=!0,e.radius=Object(h.c)(100),e.isMeasured=!1,e.grid.template.location=0,e.labels.template.location=0,e.labels.template.radius=15,e.ticks.template.location=0,e.ticks.template.pixelPerfect=!1,e.tooltipLocation=0,e.line.strokeOpacity=0,e.a
21pplyTheme(),e}return a.c(e,t),e.prototype.setAxis=function(e){var i=this;t.prototype.setAxis.call(this,e),e.isMeasured=!1;var a=e.tooltip;a.adapter.add("dx",function(t,e){var a=d.svgPointToSprite({x:e.pixelX,y:e.pixelY},i);return i.pixelRadius*Math.cos(Math.atan2(a.y,a.x))-a.x}),a.adapter.add("dy",function(t,e){var a=d.svgPointToSprite({x:e.pixelX,y:e.pixelY},i);return i.pixelRadius*Math.sin(Math.atan2(a.y,a.x))-a.y})},e.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return 2*Math.PI*this.pixelRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return d.relativeRadiusToValue(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useChartAngles",{get:function(){return this.getPropertyValue("useChartAngles")},set:function(t){this.setPropertyValue("useChartAngles",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return d.relativeRadiusToValue(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=this.positionToCoordinate(t),i=this.startAngle+(this.endAngle-this.startAngle)*e/this.axisLength;return{x:this.pixelRadius*u.cos(i),y:this.pixelRadius*u.sin(i)}},e.prototype.positionToAngle=function(t){var e,i=this.axis,a=(this.endAngle-this.startAngle)/(i.end-i.start);return e=i.renderer.inversed?this.startAngle+(i.end-t)*a:this.startAngle+(t-i.start)*a,u.round(e,3)},e.prototype.updateAxisLine=function(){var t=this.pixelRadius,e=this.startAngle,i=this.endAngle-e;this.line.path=c.moveTo({x:t*u.cos(e),y:t*u.sin(e)})+c.arcTo(e,i,t,t)},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var a=this.positionToPoint(e);if(t.element){var n=u.DEGREES*Math.atan2(a.y,a.x),r=d.relativeRadiusToValue(p.hasValue(t.radius)?t.radius:Object(h.c)(100),this.pixelRadius),s=d.relativeRadiusToValue(t.innerRadius,this.pixelRadius);t.zIndex=0;var o=d.relativeRadiusToValue(p.isNumber(s)?s:this.innerRadius,this.pixelRadius,!0);t.path=c.moveTo({x:o*u.cos(n),y:o*u.sin(n)})+c.lineTo({x:r*u.cos(n),y:r*u.sin(n)})}this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var a=this.positionToPoint(e);if(t.element){var n=this.pixelRadius,r=u.DEGREES*Math.atan2(a.y,a.x),s=t.length;t.inside&&(s=-s),t.zIndex=1,t.path=c.moveTo({x:n*u.cos(r),y:n*u.sin(r)})+c.lineTo({x:(n+s)*u.cos(r),y:(n+s)*u.sin(r)})}this.toggleVisibility(t,e,0,1)},e.prototype.updateLabelElement=function(t,e,i,a){p.hasValue(a)||(a=t.location),e+=(i-e)*a;var n=this.positionToPoint(e);t.fixPoint(n,this.pixelRadius),t.zIndex=2,this.positionItem(t,n),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.fitsToBounds=function(t){return!0},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),e.prototype.getPositionRangePath=function(t,e,i,a,n){var r="";if(p.isNumber(t)&&p.isNumber(e)){p.hasValue(i)||(i=this.radius),t=u.max(t,this.axis.start),(e=u.min(e,this.axis.end))<t&&(e=t);var s=d.relativeRadiusToValue(i,this.pixelRadius),o=d.relativeRadiusToValue(a,this.pixelRadius,!0),l=this.positionToAngle(t),h=this.positionToAngle(e)-l;r=c.arc(l,h,s,o,s,n)}return r},e.prototype.createGrid=function(){return new s.a},e.prototype.createFill=function(t){return new r.a(t)},e.prototype.createLabel=function(){return new o.a},e}(n.a);l.b.registeredClasses.AxisRendererCircular=y}
21,212:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var a=i(0),n=i(152),r=i(8),s=i(1),o=i(3),l=function(t){function e(e){var i=t.call(this,e)||this;return i.className="AxisFillCircular",i.element=i.paper.add("path"),i.radius=Object(r.c)(100),i.applyTheme(),i}return a.c(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.axis){var e=this.axis.renderer;this.fillPath=e.getPositionRangePath(this.startPosition,this.endPosition,this.radius,o.hasValue(this.innerRadius)?this.innerRadius:e.innerRadius,this.cornerRadius),this.path=this.fillPath}},Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),e}(n.a);s.b.registeredClasses.AxisFillCircular=l},213:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var a=i(0),n=i(103),r=i(1),s=function(t){function e(){var e=t.call(this)||this;return e.className="GridCircular",e.pixelPerfect=!1,e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e}(n.a);r.b.registeredClasses.GridCircular=s},215:function(t,e,i){"use strict";i.d(e,"b",function(){return x}),i.d(e,"a",function(){return v});var a=i(0),n=i(104),r=i(8),s=i(242),o=i(9),l=i(96),h=i(1),u=i(243),c=i(211),d=i(244),p=i(6),y=i(5),g=i(3),f=i(4),m=i(12),x=function(t){function e(){var e=t.call(this)||this;return e.className="RadarChartDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),v=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=c.a,e._axisRendererY=d.a,e.innerRadiusModifyer=1,e.className="RadarChart",e.startAngle=-90,e.endAngle=270,e.radius=Object(r.c)(80),e.innerRadius=0;var i=e.plotContainer.createChild(o.a);return i.shouldClone=!1,i.layout="absolute",i.align="center",i.valign="middle",e.seriesContainer.parent=i,e.radarContainer=i,e.bulletsContainer.parent=i,e._cursorContainer=i,e._bulletMask=i.createChild(l.a),e._bulletMask.shouldClone=!1,e._bulletMask.element=e.paper.add("path"),e._bulletMask.opacity=0,e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),g.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Radar chart"))},e.prototype.processAxis=function(e){t.prototype.processAxis.call(this,e);var i=e.renderer;i.gridContainer.parent=i,i.breakContainer.parent=i,e.parent=this.radarContainer,i.toBack()},e.prototype.handleXAxisRangeChange=function(){t.prototype.handleXAxisRangeChange.call(this),y.each(this.yAxes.iterator(),function(t){t.invalidate()})},e.prototype.handleYAxisRangeChange=function(){t.prototype.handleYAxisRangeChange.call(this),y.each(this.xAxes.iterator(),function(t){t.invalidate()})},e.prototype.createCursor=function(){return new u.a},e.prototype.processConfig=function(e){if(e&&(g.hasValue(e.cursor)&&!g.hasValue(e.cursor.type)&&(e.cursor.type="RadarCursor"),g.hasValue(e.series)&&g.isArray(e.series)))for(var i=0,a=e.series.length;i<a;i++)e.series[i].type=e.series[i].type||"RadarSeries";t.prototype.processConfig.call(this,e)},e.prototype.beforeDraw=function(){t.prototype.beforeDraw.call(this);this.radarContainer;var e=this.plotContainer,i=f.getArcRect(this.startAngle,this.endAngle,1),a={x:0,y:0,width:0,height:0},n=e.innerWidth/i.width,s=e.innerHeight/i.height,o=this.innerRadius;if(o instanceof r.a){var l=o.value,h=Math.min(n,s);
21l=Math.max(h*l,h-Math.min(e.innerHeight,e.innerWidth))/h,a=f.getArcRect(this.startAngle,this.endAngle,l),this.innerRadiusModifyer=l/o.value,o=Object(r.c)(100*l)}i=f.getCommonRectangle([i,a]);var u=Math.min(e.innerWidth/i.width,e.innerHeight/i.height),c=2*p.relativeRadiusToValue(this.radius,u)||0,d=c/2,g=this.startAngle,x=this.endAngle;this._pixelInnerRadius=p.relativeRadiusToValue(o,d),this._bulletMask.path=m.arc(g,x-g,d,this._pixelInnerRadius),y.each(this.xAxes.iterator(),function(t){t.renderer.useChartAngles&&(t.renderer.startAngle=g,t.renderer.endAngle=x),t.width=c,t.height=c,t.renderer.pixelRadiusReal=d,t.renderer.innerRadius=o}),y.each(this.yAxes.iterator(),function(t){t.renderer.startAngle=g,t.renderer.endAngle=x,t.width=c,t.height=c,t.renderer.pixelRadiusReal=d,t.renderer.innerRadius=o});var v=this.cursor;v&&(v.width=c,v.height=c,v.startAngle=g,v.endAngle=x),this.radarContainer.definedBBox={x:d*i.x,y:d*i.y,width:d*i.width,height:d*i.height},this.radarContainer.validatePosition()},e.prototype.createSeries=function(){return new s.a},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e.prototype.updateXAxis=function(t){t&&t.processRenderer()},e.prototype.updateYAxis=function(t){t&&t.processRenderer()},e}(n.a);h.b.registeredClasses.RadarChart=v},237:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var a=i(0),n=i(127),r=i(1),s=function(t){function e(){var e=t.call(this)||this;return e.className="CategoryAxisBreak",e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startCategory",{get:function(){return this.getPropertyValue("startCategory")},set:function(t){this.setPropertyValue("startCategory",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endCategory",{get:function(){return this.getPropertyValue("endCategory")},set:function(t){this.setPropertyValue("endCategory",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startValue",{get:function(){var t=this.getPropertyValue("startCategory");return t?this.axis.categoryToIndex(t):this.getPropertyValue("startValue")},set:function(t){this.setPropertyValue("startValue",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){var t=this.getPropertyValue("endCategory");return t?this.axis.categoryToIndex(t):this.getPropertyValue("endValue")},set:function(t){this.setPropertyValue("endValue",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),e}(n.a);r.b.registeredClasses.CategoryAxisBreak=s},238:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var a=i(0),n=i(165),r=i(1),s=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisBreak",e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"startDate",{get:function(){return this.getPropertyValue("startDate")}
21,set:function(t){this.setPropertyValue("startDate",t)&&(this.startValue=t.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.getPropertyValue("endDate")},set:function(t){this.setPropertyValue("endDate",t)&&(this.endValue=t.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),e}(n.a);r.b.registeredClasses.DateAxisBreak=s},239:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var a=i(0),n=i(9),r=i(34),s=i(1),o=i(8),l=i(70),h=i(4),u=i(6),c=i(3),d=function(t){function e(){var e=t.call(this)||this;e.point={x:0,y:0},e._stick="none",e.className="Cursor",e.width=Object(o.c)(100),e.height=Object(o.c)(100),e.shouldClone=!1,e.hide(0),e.trackable=!0,e.clickable=!0,e.isMeasured=!1;var i=Object(r.b)();return e._disposers.push(i.body.events.on("down",e.handleCursorDown,e)),e._disposers.push(i.body.events.on("up",e.handleCursorUp,e)),e._disposers.push(i.body.events.on("track",e.handleCursorMove,e)),e.applyTheme(),e}return a.c(e,t),e.prototype.handleCursorMove=function(t){if(this.interactionsEnabled){if(("zoom"==this._generalBehavior||"pan"==this._generalBehavior)&&this.downPoint||Object(r.b)().isLocalElement(t.pointer,this.paper.svg,this.uid)){var e=u.documentPointToSprite(t.pointer.point,this);return"hard"==this._stick&&this._stickPoint&&(e=this._stickPoint),"soft"==this._stick&&this._stickPoint&&(this.fitsToBounds(e)||(e=this._stickPoint)),this.triggerMove(e),e}this.isHidden&&this.isHiding||this.hide()}},e.prototype.hideReal=function(e){if("hard"!=this._stick&&"soft"!=this._stick||!this._stickPoint)return t.prototype.hideReal.call(this,e)},e.prototype.triggerMove=function(t,e){t.x=h.round(t.x,1),t.y=h.round(t.y,1),e&&(this._stick=e),"hard"!=e&&"soft"!=e||(this._stickPoint=t),this.triggerMoveReal(t)},e.prototype.triggerMoveReal=function(t){this.point.x==t.x&&this.point.y==t.y||(this.point=t,this.invalidatePosition(),this.fitsToBounds(t)?this.show(0):this.downPoint||this.hide(0),this.visible&&(this.getPositions(),this.dispatch("cursorpositionchanged")))},e.prototype.triggerDown=function(t){this.triggerDownReal(t)},e.prototype.triggerDownReal=function(t){switch(this._generalBehavior){case"zoom":this.dispatchImmediately("zoomstarted");break;case"select":this.dispatchImmediately("selectstarted");break;case"pan":this.dispatchImmediately("panstarted"),Object(r.b)().setGlobalStyle(l.a.grabbing)}},e.prototype.triggerUp=function(t){this.triggerUpReal(t)},e.prototype.triggerUpReal=function(t){this.updatePoint(this.upPoint);var e=Object(r.b)();if(h.getDistance(this.upPoint,this.downPoint)>e.getHitOption(this.interactions,"hitTolerance"))switch(this._generalBehavior){case"zoom":this.dispatchImmediately("zoomended");break;case"select":this.dispatchImmediately("selectended");break;case"pan":this.dispatchImmediately("panended"),e.setGlobalStyle(l.a.default)}else this.dispatchImmediately("behaviorcanceled"),e.setGlobalStyle(l.a.default);this.downPoint=void 0,this.updateSelection()},e.prototype.updateSelection=function(){},e.prototype.getPositions=function(){this.xPosition=this.point.x/this.innerWidth,this.yPosition=1-this.point.y/this.innerHeight},e.prototype.handleCursorDown=function(t){if(this.interactionsEnabled&&Object(r.b)().isLocalElement(t.pointer,this.paper.svg,this.uid)){var e=u.documentPointToSprite(t.pointer.point,this);t.event.cancelable&&this.fitsToBounds(e)&&t.event.preventDefault(),this.triggerMove(e),this.triggerDown(e)}},e.prototype.updatePoint=function(t){},e.prototype.handleCursorUp=function(t){if(this.interactionsEnabled&&(("zoom"==this._generalBehavior||"pan"==this._generalBehavior)&&this.downPoint||Object(r.b)().isLocalElement(t.pointer,this.paper.svg,this.uid))){var e=u.documentPointToSprite(t.pointer.point,this);this.triggerMove(e),this.triggerUp(e)}},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t,c.hasValue(this._chart.plotContainer)&&Object(r.b)().lockElement(this._chart.plotContainer.interactions)},enumerable:!0,configurable:!0}),e}(n.a);s.b.registeredClasses.Cursor=d}
21,241:function(t,e,i){"use strict";i.d(e,"a",function(){return g});var a=i(0),n=i(95),r=i(10),s=i(11),o=i(7),l=i(104),h=i(1),u=i(13),c=i(169),d=i(5),p=i(3),y=i(12),g=function(t){function e(){var e=t.call(this)||this;e._chart=new o.d,e.className="XYChartScrollbar";var i=new u.a;e.padding(0,0,0,0);var a=e.createChild(l.a);a.shouldClone=!1,a.margin(0,0,0,0),a.padding(0,0,0,0),a.interactionsEnabled=!1,e._scrollbarChart=a,e._disposers.push(e._scrollbarChart),e.minHeight=60,e.minWidth=60;var n=e.createChild(r.a);n.shouldClone=!1,n.setElement(e.paper.add("path")),n.fill=i.getFor("background"),n.fillOpacity=.8,n.interactionsEnabled=!1,n.isMeasured=!1,n.toBack(),e._unselectedOverlay=n,e._disposers.push(e._unselectedOverlay),a.toBack(),e.background.cornerRadius(0,0,0,0);var s=e.thumb.background;s.cornerRadius(0,0,0,0),s.fillOpacity=0,s.fill=i.getFor("background");var h=s.states.getKey("hover");h&&(h.properties.fillOpacity=.2);var c=s.states.getKey("down");return c&&(c.properties.fillOpacity=.4),e._disposers.push(e._chart),e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new s.b,this._disposers.push(this._series.events.on("inserted",this.handleSeriesAdded,this,!1)),this._disposers.push(this._series.events.on("removed",this.handleSeriesRemoved,this,!1))),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=t.newValue,i=this.scrollbarChart;i.zoomOutButton.disabled=!0,this.chart=e.chart;var a=!0,n=!0;d.each(this.series.iterator(),function(t){t!=e&&(t.xAxis==e.xAxis&&(a=!1),t.yAxis==e.yAxis&&(n=!1))});var r=new u.a,s=e.clone();if(a){var o=e.xAxis.clone();i.xAxes.moveValue(o),o.title.disabled=!0,o.rangeChangeDuration=0,o.id=e.uid,o.title.disabled=!0,(l=o.renderer).ticks.template.disabled=!0,l.inside=!0,l.line.strokeOpacity=0,l.minLabelPosition=.02,l.maxLabelPosition=.98,l.line.disabled=!0,l.axisFills.template.disabled=!0,l.baseGrid.disabled=!0,l.grid.template.strokeOpacity=.05,l.labels.template.fillOpacity=.5,s.xAxis=o}if(n){var l,h=e.yAxis.clone();i.yAxes.moveValue(h),h.title.disabled=!0,h.rangeChangeDuration=0,(l=h.renderer).ticks.template.disabled=!0,l.inside=!0,l.line.strokeOpacity=0,l.minLabelPosition=.02,l.maxLabelPosition=.98,l.line.disabled=!0,l.axisFills.template.disabled=!0,l.grid.template.stroke=r.getFor("background"),l.baseGrid.disabled=!0,l.grid.template.strokeOpacity=.05,l.labels.template.fillOpacity=.5,s.yAxis=h}s.rangeChangeDuration=0,s.interpolationDuration=0,s.defaultState.transitionDuration=0,this._disposers.push(s.events.on("validated",this.zoomOutAxes,this,!1)),this._disposers.push(e.events.on("datavalidated",function(){s.data!=e.data&&(s.data=e.data)},void 0,!1)),s.defaultState.properties.visible=!0,s.filters.push(new c.a),i.series.push(s),this.updateByOrientation()},e.prototype.updateByOrientation=function(){var t=this;d.each(this._scrollbarChart.xAxes.iterator(),function(e){if("vertical"==t.orientation){var i=e.renderer;i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10}}),d.each(this._scrollbarChart.yAxes.iterator(),function(e){if("horizontal"==t.orientation){var i=e.renderer;i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10}})},e.prototype.handleSeriesRemoved=function(t){t.oldValue.events.off("validated",this.zoomOutAxes,this)},Object.defineProperty(e.prototype,"scrollbarChart",{get:function(){return this._scrollbarChart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.get()!==t&&(this._chart.set(t,t.events.on("datavalidated",this.handleDataChanged,this,!1)),this.handleDataChanged(),this._scrollbarChart.dataProvider=t)},enumerable:!0,configurable:!0}),e.prototype.handleDataChanged=function(){this.chart.data!=this.scrollbarChart.data&&(this.scrollbarChart.data=this.chart.data)},e.prototype.zoomOutAxes=function(){var t=this.scrollbarChart;d.each(t.xAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)}),d.each(t.yAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)})},e.prototype.updateThumb=function(){if(t.prototype.updateThumb.call(this),this._unselectedOverlay){var e=this.thumb,i=e.pixelX||0,a=e.pixelY||0,n=e.pixelWidth||0,r=e.pixelHeight||0,s="";"horizontal"==this.orientation?(s=y.rectToPath({x:-1,y:0,width:i,height:r}),s+=y.rectToPath({x:i+n,y:0,width:(this.pixelWidth||0)-i-n,height:r})):(s=y.rectToPath({x:0,y:0,width:n,height:a}),s+=y.rectToPath({x:0,y:a+r,width:n,height:(this.pixelHeight||0)-a-r})),this._unselectedOverlay.path=s}},e.prototype.processConfig=function(e){if(e&&p.hasValue(e.series)&&p.isArray(e.series))for(var i=0,a=e.series.length;i<a;i++){var n=e.series[i];
21if(p.hasValue(n)&&p.isString(n)){if(!this.map.hasKey(n))throw Error("XYChartScrollbar error: Series with id `"+n+"` does not exist.");e.series[i]=this.map.getKey(n)}}t.prototype.processConfig.call(this,e)},e}(n.a);h.b.registeredClasses.XYChartScrollbar=g},242:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return h});var a=i(0),n=i(170),r=i(1),s=i(4),o=i(12),l=function(t){function e(){var e=t.call(this)||this;return e.className="RadarSeriesDataItem",e.setLocation("dateX",0,0),e.setLocation("dateY",0,0),e.setLocation("categoryX",0,0),e.setLocation("categoryY",0,0),e.applyTheme(),e}return a.c(e,t),e}(n.b),h=function(t){function e(){var e=t.call(this)||this;return e.className="RadarSeries",e.connectEnds=!0,e.applyTheme(),e}return a.c(e,t),e.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},e.prototype.createDataItem=function(){return new l},e.prototype.getPoint=function(t,e,i,a,n,r,o){r||(r="valueX"),o||(o="valueY");var l=this.yAxis.getX(t,i,n,o),h=this.yAxis.getY(t,i,n,o),u=s.getDistance({x:l,y:h}),c=this.xAxis.getAngle(t,e,a,r),d=this.chart.startAngle,p=this.chart.endAngle;return c<d||c>p?void 0:{x:u*s.cos(c),y:u*s.sin(c)}},e.prototype.addPoints=function(t,e,i,a,n){var r=this.getPoint(e,i,a,e.locations[i],e.locations[a]);r&&t.push(r)},e.prototype.getMaskPath=function(){var t=this.yAxis.renderer;return o.arc(t.startAngle,t.endAngle-t.startAngle,t.pixelRadius,t.pixelInnerRadius)},e.prototype.drawSegment=function(e,i,a){var n=this.yAxis.renderer;this.connectEnds&&360==Math.abs(n.endAngle-n.startAngle)&&(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)&&(i.push(i[0]),a.length>0&&a.unshift(a[a.length-1])),t.prototype.drawSegment.call(this,e,i,a)},Object.defineProperty(e.prototype,"connectEnds",{get:function(){return this.getPropertyValue("connectEnds")},set:function(t){this.setPropertyValue("connectEnds",t,!0)},enumerable:!0,configurable:!0}),e}(n.a);r.b.registeredClasses.RadarSeries=h,r.b.registeredClasses.RadarSeriesDataItem=l},243:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var a=i(0),n=i(167),r=i(8),s=i(1),o=i(12),l=i(4),h=i(6),u=i(3),c=function(t){function e(){var e=t.call(this)||this;return e.className="RadarCursor",e.radius=Object(r.c)(100),e.innerRadius=Object(r.c)(0),e.applyTheme(),e}return a.c(e,t),e.prototype.fitsToBounds=function(t){var e=l.getDistance(t);l.getAngle(t);return e<this.truePixelRadius+1&&e>this.pixelInnerRadius-1},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.triggerMoveReal=function(e){this.xAxis&&(!this.xAxis||this.xAxis.cursorTooltipEnabled&&!this.xAxis.tooltip.disabled)||this.updateLineX(this.point),this.yAxis&&(!this.yAxis||this.yAxis.cursorTooltipEnabled&&!this.yAxis.tooltip.disabled)||this.updateLineY(this.point),this.updateSelection(),t.prototype.triggerMoveReal.call(this,e)},e.prototype.updateLineX=function(t){var e=this.pixelRadius,i=this.startAngle,a=this.endAngle,n=this.pixelInnerRadius;if(e>0&&u.isNumber(i)&&u.isNumber(a)&&u.isNumber(n)){var r=l.fitAngleToRange(l.getAngle(t),i,a),s=void 0;if(this.lineX&&this.lineX.visible){if(this.lineX.moveTo({x:0,y:0}),this.xAxis&&this.fullWidthLineX){var h=this.xAxis.currentItemStartPoint,c=this.xAxis.currentItemEndPoint;if(h&&c){var d=l.fitAngleToRange(l.getAngle(h),i,a),p=l.fitAngleToRange(l.getAngle(c),i,a)-d;i<a?p<0&&(p+=360):p>0&&(p-=360),r-=p/2,s=o.moveTo({x:n*l.cos(r),y:n*l.sin(r)})+o.lineTo({x:e*l.cos(r),y:e*l.sin(r)})+o.arcTo(r,p,e)+o.lineTo({x:n*l.cos(r+p),y:n*l.sin(r+p)})+o.arcTo(r+p,-p,n)}}s||(s=o.moveTo({x:n*l.cos(r),y:n*l.sin(r)})+o.lineTo({x:e*l.cos(r),y:e*l.sin(r)})),this.lineX.path=s}}},e.prototype.updateLineY=function(t){if(this.lineY&&this.lineY.visible){var e=this.startAngle,i=this.endAngle,a=this.truePixelRadius,n=l.fitToRange(l.getDistance(t),0,this.truePixelRadius);if(u.isNumber(n)&&u.isNumber(e)){this.lineY.moveTo({x:0,y:0});var r=void 0,s=i-e;if(this.yAxis&&this.fullWidthLineY){var h=this.yAxis.currentItemStartPoint,c=this.yAxis.currentItemEndPoint;if(h&&c){var d=l.fitToRange(l.getDistance(h),0,a);n=l.fitToRange(l.getDistance(c),0,a),r=o.moveTo({x:n*l.cos(e),y:n*l.sin(e)})+o.arcTo(e,s,n),r+=o.moveTo({x:d*l.cos(i),y:d*l.sin(i)})+o.arcTo(i,-s,d)}}r||(r=o.moveTo({x:n*l.cos(e),y:n*l.sin(e)})+o.arcTo(e,i-e,n)),this.lineY.path=r}}},e.prototype.updateSelection=function(){if(this._usesSelection){var t=this.downPoint;if(t){var e=this.point,i=this.pixelRadius,a=this.truePixelRadius,n=this.pixelInnerRadius,r=Math.min(this.startAngle,this.endAngle),s=Math.max(this.startAngle,this.endAngle),h=l.fitAngleToRange(l.getAngle(t),r,s),u=l.fitAngleToRange(l.getAngle(e),r,s),c=l.getDistance(t);if(c<a){var d=l.fitToRange(l.getDistance(e),0,a);this._prevAngle=u;var p=o.moveTo({x:0,y:0}),y=l.sin(h),g=l.cos(h),f=l.sin(u),m=l.cos(u),x=this.behavior;"zoomX"==x||"selectX"==x?p+=o.lineTo({x:i*g,y:i*y})+o.arcTo(h,u-h,i)+o.lineTo({x:n*m,y:n*f})+o.arcTo(u,h-u,n):"zoomY"==x||"selectY"==x?p=o.moveTo({x:d*l.cos(r),y:d*l.sin(r)})+o.arcTo(r,s-r,d)+o.lineTo({x:c*l.cos(s),y:c*l.sin(s)})+o.arcTo(s,r-s,c)+o.closePath():"zoomXY"==x&&(p=o.moveTo({x:d*l.cos(h),y:d*l.sin(h)})+o.arcTo(h,u-h,d)+o.lineTo({x:c*l.cos(u),y:c*l.sin(u)})+o.arcTo(u,h-u,c)+o.closePath()),this.selection.path=p}this.selection.moveTo({x:0,y:0})}}},e.prototype.getPositions=function(){if(this.chart){var t=this.pixelInnerRadius,e=this.truePixelRadius-t,i=this.startAngle,a=this.endAngle,n=(l.f
21itAngleToRange(l.getAngle(this.point),i,a)-i)/(a-i);this.xPosition=n,this.yPosition=l.fitToRange((l.getDistance(this.point)-t)/e,0,1)}},e.prototype.updatePoint=function(t){},e.prototype.handleXTooltipPosition=function(t){if(this.xAxis.cursorTooltipEnabled){var e=this.xAxis.tooltip;this.updateLineX(h.svgPointToSprite({x:e.pixelX,y:e.pixelY},this))}},e.prototype.handleYTooltipPosition=function(t){if(this.yAxis.cursorTooltipEnabled){var e=this.yAxis.tooltip;this.updateLineY(h.svgPointToSprite({x:e.pixelX,y:e.pixelY},this))}},e.prototype.updateLinePositions=function(t){},e.prototype.getRanges=function(){var t=this.downPoint;if(t){var e=this.upPoint;if(this.chart){var i=this.pixelRadius,a=this.startAngle,n=this.endAngle,r=l.fitAngleToRange(l.getAngle(t),this.startAngle,this.endAngle),s=l.fitAngleToRange(l.getAngle(e),this.startAngle,this.endAngle),o=l.fitToRange(l.getDistance(t),0,i),h=l.fitToRange(l.getDistance(e),0,i),u=0,c=1,d=0,p=1,y=this.behavior;if("zoomX"==y||"selectX"==y||"zoomXY"==y||"selectXY"==y){var g=n-a;u=l.round((r-a)/g,5),c=l.round((s-a)/g,5)}"zoomY"!=y&&"selectY"!=y&&"zoomXY"!=y&&"selectXY"!=y||(d=l.round(o/i,5),p=l.round(h/i,5)),this.xRange={start:Math.min(u,c),end:Math.max(u,c)},this.yRange={start:Math.min(d,p),end:Math.max(d,p)},"selectX"==this.behavior||"selectY"==this.behavior||"selectXY"==this.behavior||this.selection.hide()}}},e.prototype.updateSize=function(){},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return h.relativeRadiusToValue(this.radius,this.truePixelRadius)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"truePixelRadius",{get:function(){return h.relativeToValue(Object(r.c)(100),l.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){var t=this.innerRadius;return t instanceof r.a&&(t=Object(r.c)(100*t.value*this.chart.innerRadiusModifyer)),h.relativeRadiusToValue(t,this.truePixelRadius)||0},enumerable:!0,configurable:!0}),e.prototype.fixPoint=function(t){return t},e}(n.a);s.b.registeredClasses.RadarCursor=c},244:function(t,e,i){"use strict";i.d(e,"a",function(){return y});var a=i(0),n=i(89),r=i(109),s=i(245),o=i(7),l=i(8),h=i(1),u=i(4),c=i(12),d=i(6),p=i(3),y=function(t){function e(){var e=t.call(this)||this;return e._chart=new o.d,e.pixelRadiusReal=0,e.className="AxisRendererRadial",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.minGridDistance=30,e.gridType="circles",e.axisAngle=-90,e.isMeasured=!1,e.layout="none",e.radius=Object(l.c)(100),e.line.strokeOpacity=0,e.labels.template.horizontalCenter="middle",e._disposers.push(e._chart),e.applyTheme(),e}return a.c(e,t),e.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return this.pixelRadius-this.pixelInnerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return d.relativeRadiusToValue(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return d.relativeRadiusToValue(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.set(t,null)},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=u.fitToRange(this.positionToCoordinate(t),0,1/0);return{x:e*u.cos(this.axisAngle),y:e*u.sin(this.axisAngle)}},e.prototype.updateAxisLine=function(){this.line.path=c.moveTo({x:this.pixelInnerRadius*u.cos(this.axisAngle),y:this.pixelInnerRadius*u.sin(this.axisAngle)})+c.lineTo({x:this.pixelRadius*u.cos(this.axisAngle),y:this.pixelRadius*u.sin(this.axisAngle)});var t=this.axis.title;t.valign="none",t.horizontalCenter="middle",t.verticalCenter="bottom",t.y=-this.axisLength/2;var e=90;this.opposite?this.inside||(e=-90):this.inside&&(e=-90),t.rotation=e}
21,e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var a,n=this.positionToPoint(e),s=u.getDistance(n),o=this.startAngle,l=this.endAngle;if(p.isNumber(s)&&t.element){var h=this.chart,d=h.xAxes.getIndex(0),y=h.dataItems.length,g=h.series.getIndex(0);if("polygons"==this.gridType&&y>0&&g&&d&&d instanceof r.a){var f=d.renderer.grid.template.location,m=d.getAngle(g.dataItems.getIndex(0),"categoryX",f);a=c.moveTo({x:s*u.cos(m),y:s*u.sin(m)});for(var x=h.dataItems.length,v=1;v<x;v++)m=d.getAngle(g.dataItems.getIndex(v),"categoryX",f),a+=c.lineTo({x:s*u.cos(m),y:s*u.sin(m)});m=d.getAngle(g.dataItems.getIndex(x-1),"categoryX",d.renderer.cellEndLocation),a+=c.lineTo({x:s*u.cos(m),y:s*u.sin(m)})}else a=c.moveTo({x:s*u.cos(o),y:s*u.sin(o)})+c.arcTo(o,l-o,s,s);t.path=a}this.toggleVisibility(t,e,0,1)},e.prototype.updateLabelElement=function(t,e,i,a){p.hasValue(a)||(a=t.location),e+=(i-e)*a;var n=this.positionToPoint(e);this.positionItem(t,n),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.updateBaseGridElement=function(){},e.prototype.fitsToBounds=function(t){return!0},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t),this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t),this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisAngle",{get:function(){return this.getPropertyValue("axisAngle")},set:function(t){this.setPropertyValue("axisAngle",u.normalizeAngle(t)),this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridType",{get:function(){return this.chart.xAxes.getIndex(0)instanceof r.a?this.getPropertyValue("gridType"):"circles"},set:function(t){this.setPropertyValue("gridType",t,!0)},enumerable:!0,configurable:!0}),e.prototype.getPositionRangePath=function(t,e){var i,a=this.pixelInnerRadius,n=this.axisLength+a,s=u.fitToRange(this.positionToCoordinate(t),a,n),o=u.fitToRange(this.positionToCoordinate(e),a,n),l=this.startAngle,h=this.endAngle-l,d=this.chart,p=d.xAxes.getIndex(0),y=d.dataItems.length,g=d.series.getIndex(0);if("polygons"==this.gridType&&y>0&&g&&p&&p instanceof r.a){var f=p.renderer.grid.template.location,m=p.getAngle(g.dataItems.getIndex(0),"categoryX",f);i=c.moveTo({x:o*u.cos(m),y:o*u.sin(m)});for(var x=d.dataItems.length,v=1;v<x;v++)m=p.getAngle(g.dataItems.getIndex(v),"categoryX",f),i+=c.lineTo({x:o*u.cos(m),y:o*u.sin(m)});m=p.getAngle(g.dataItems.getIndex(x-1),"categoryX",p.renderer.cellEndLocation),i+=c.lineTo({x:o*u.cos(m),y:o*u.sin(m)}),i+=c.moveTo({x:s*u.cos(m),y:s*u.sin(m)});for(v=x-1;v>=0;v--)m=p.getAngle(g.dataItems.getIndex(v),"categoryX",f),i+=c.lineTo({x:s*u.cos(m),y:s*u.sin(m)})}else i=c.arc(l,h,o,s);return i},e.prototype.updateBreakElement=function(t){var e=t.startLine,i=t.endLine,a=t.fillShape,n=t.startPoint,r=t.endPoint;e.radius=Math.abs(n.y),i.radius=Math.abs(r.y),a.radius=Math.abs(r.y),a.innerRadius=Math.abs(n.y)},e.prototype.createBreakSprites=function(t){t.startLine=new s.a,t.endLine=new s.a,t.fillShape=new s.a},e.prototype.updateTooltip=function(){if(this.axis){var t=this.axisAngle;t<0&&(t+=360);var e="vertical";(t>45&&t<135||t>225&&t<315)&&(e="horizontal"),this.axis.updateTooltip(e,{x:-4e3,y:-4e3,width:8e3,height:8e3})}},e.prototype.updateTickElement=function(t,e){var i=this.positionToPoint(e);if(t.element){var a=u.normalizeAngle(this.axisAngle+90);a/90!=Math.round(a/90)?t.pixelPerfect=!1:t.pixelPerfect=!0;var n=-t.length;t.inside&&(n*=-1),t.path=c.moveTo({x:0,y:0})+c.lineTo({x:n*u.cos(a),y:n*u.sin(a)})}this.positionItem(t,i),this.toggleVisibility(t,e,0,1)},e.prototype.positionToCoordinate=function(t){var e,i=this.axis,a=i.axisFullLength,n=this.pixelInnerRadius;return e=i.renderer.inversed?(i.end-t)*a+n:(t-i.start)*a+n,u.round(e,1)},e}(n.a);h.b.registeredClasses.AxisRendererRadial=y}
21,246:function(t,e,i){"use strict";i.d(e,"a",function(){return p});var a=i(0),n=i(9),r=i(96),s=i(247),o=i(7),l=i(8),h=i(1),u=i(13),c=i(6),d=i(3),p=function(t){function e(){var e=t.call(this)||this;e._axis=new o.d,e.className="ClockHand";var i=new u.a;e.fill=i.getFor("alternativeBackground"),e.stroke=e.fill;var a=new r.a;a.radius=5,e.pin=a,e.isMeasured=!1,e.startWidth=5,e.endWidth=1,e.width=Object(l.c)(100),e.height=Object(l.c)(100),e.radius=Object(l.c)(100),e.innerRadius=Object(l.c)(0);var n=new s.a;return e.hand=n,e._disposers.push(e._axis),e.applyTheme(),e}return a.c(e,t),e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.hand;e.width=this.pixelWidth;var i=Math.max(this.startWidth,this.endWidth);if(e.height=i,e.leftSide=Object(l.c)(this.startWidth/i*100),e.rightSide=Object(l.c)(this.endWidth/i*100),this.axis){var a=this.axis.renderer,n=c.relativeRadiusToValue(this.innerRadius,a.pixelRadius),r=c.relativeRadiusToValue(this.radius,a.pixelRadius);e.x=n,e.y=-i/2,e.width=r-n}},Object.defineProperty(e.prototype,"pin",{get:function(){return this._pin},set:function(t){this._pin&&this.removeDispose(this._pin),t&&(this._pin=t,t.parent=this,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hand",{get:function(){return this._hand},set:function(t){this._hand&&this.removeDispose(this._hand),t&&(this._hand=t,t.parent=this,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startWidth",{get:function(){return this.getPropertyValue("startWidth")},set:function(t){this.setPropertyValue("startWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endWidth",{get:function(){return this.getPropertyValue("endWidth")},set:function(t){this.setPropertyValue("endWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotationDirection",{get:function(){return this.getPropertyValue("rotationDirection")},set:function(t){this.setPropertyValue("rotationDirection",t)},enumerable:!0,configurable:!0}),e.prototype.showValue=function(t,e,i){if(this._value=t,void 0!=t&&(d.isNumber(e)||(e=0),this.axis)){var a=this.axis.renderer.positionToAngle(this.axis.anyToPosition(t)),n=this.rotation;"clockWise"==this.rotationDirection&&a<n&&(this.rotation=n-360),"counterClockWise"==this.rotationDirection&&a>n&&(this.rotation=n+360),this.animate({property:"rotation",to:a},e,i)}},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this.showValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis.get()},set:function(t){if(this.axis!=t&&this._axis.set(t,new o.c([t.events.on("datavalidated",this.updateValue,this,
21!1),t.events.on("datarangechanged",this.updateValue,this,!1),t.events.on("dataitemsvalidated",this.updateValue,this,!1),t.events.on("propertychanged",this.invalidate,this,!1)])),t){var e=t.chart;e&&(this.rotation=e.startAngle)}this.parent=t.renderer,this.zIndex=5},enumerable:!0,configurable:!0}),e.prototype.updateValue=function(){this.value=this.value},e.prototype.processConfig=function(e){e&&d.hasValue(e.axis)&&d.isString(e.axis)&&this.map.hasKey(e.axis)&&(e.axis=this.map.getKey(e.axis)),t.prototype.processConfig.call(this,e)},e}(n.a);h.b.registeredClasses.ClockHand=p},248:function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return p});var a=i(0),n=i(249),r=i(8),s=i(172),o=i(1),l=i(5),h=i(6),u=i(4),c=i(3),d=function(t){function e(){var e=t.call(this)||this;return e.className="PieChartDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),p=function(t){function e(){var e=t.call(this)||this;e.className="PieChart",e.innerRadius=0,e.radius=Object(r.c)(80),e.align="none",e.valign="none",e.startAngle=-90,e.endAngle=270;var i=e.seriesContainer;return i.isMeasured=!0,i.valign="middle",i.align="center",i.layout="absolute",i.width=void 0,i.height=void 0,e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.chartContainer.events.on("maxsizechanged",e.updateRadius,e,!1),e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),c.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pie chart"))},e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.updateRadius()},e.prototype.handleSeriesAdded=function(e){t.prototype.handleSeriesAdded.call(this,e),this.updateSeriesAngles()},e.prototype.updateSeriesAngles=function(){var t=this;this.series.each(function(e){e.startAngle=t.startAngle,e.endAngle=t.endAngle,e.defaultState.properties.startAngle=t.startAngle,e.defaultState.properties.endAngle=t.endAngle})},e.prototype.updateRadius=function(){var t=this.chartContainer,e=u.getArcRect(this.startAngle,this.endAngle,1),i={x:0,y:0,width:0,height:0},a=this.innerRadius;a instanceof r.a&&(i=u.getArcRect(this.startAngle,this.endAngle,a.value)),e=u.getCommonRectangle([e,i]);var n=Math.min(t.innerWidth/e.width,t.innerHeight/e.height);c.isNumber(n)||(n=0);var s=h.relativeRadiusToValue(this.radius,n),o=h.relativeRadiusToValue(this.innerRadius,n),d=(s-o)/this.series.length;l.each(l.indexed(this.series.iterator()),function(t){var e=t[0],i=t[1],a=o+h.relativeRadiusToValue(i.radius,s-o),n=o+h.relativeRadiusToValue(i.innerRadius,s-o);c.isNumber(a)||(a=o+d*(e+1)),c.isNumber(n)||(n=o+d*e),i.pixelRadius=a,i.pixelInnerRadius=n}),this.seriesContainer.definedBBox={x:s*e.x,y:s*e.y,width:s*e.width,height:s*e.height},this.seriesContainer.invalidateLayout()},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new s.a},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),e}(n.a);o.b.registeredClasses.PieChart=p,o.b.registeredClasses.PieChartDataItem=d},249:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return h});var a=i(0),n=i(119),r=i(129),s=i(1),o=i(5),l=function(t){function e(){var e=t.call(this)||this;return e.className="PercentChartDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),h=function(t){function e(){var e=t.call(this)||this;return e.className="PercentChart",e.align="none",e.valign="none",e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.applyTheme(),e}return a.c(e,t),e.prototype.validateData=function(){t.prototype.validateData.call(this),this.feedLegend()},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];o.each(this.series.iterator(),function(i){o.each(i.dataItems.iterator(),function(a){if
21(!a.hiddenInLegend){e.push(a);var n=i.legendSettings;n&&(n.labelText&&(t.labels.template.text=n.labelText),n.itemLabelText&&(t.labels.template.text=n.itemLabelText),n.valueText&&(t.valueLabels.template.text=n.valueText),n.itemValueText&&(t.valueLabels.template.text=n.itemValueText))}})}),t.data=e,t.dataFields.name="category"}},e.prototype.createSeries=function(){return new r.a},e.prototype.setLegend=function(e){t.prototype.setLegend.call(this,e),e&&(e.labels.template.text="{category}",e.valueLabels.template.text="{value.percent.formatNumber('#.0')}%",e.itemContainers.template.events.on("over",function(t){var e=t.target.dataItem.dataContext;e.visible&&!e.isHiding&&(e.slice.isHover=!0)}),e.itemContainers.template.events.on("out",function(t){t.target.dataItem.dataContext.slice.isHover=!1}))},e}(n.a);s.b.registeredClasses.PercentChart=h,s.b.registeredClasses.PercentChartDataItem=l},250:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var a=i(0),n=i(108),r=i(7),s=i(1),o=function(t){function e(){var e=t.call(this)||this;return e._label=new r.d,e._slice=new r.d,e.className="PieTick",e.element=e.paper.add("polyline"),e._disposers.push(e._label),e._disposers.push(e._slice),e.applyTheme(),e}return a.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.slice,i=this.label,a=e.dataItem.component;if(e&&e.radius>
210&&i&&i.text){var n=e.dx+e.slice.dx+e.pixelX+e.ix*e.radius*e.scale,r=e.dy+e.slice.dy+e.pixelY+e.iy*e.radius*e.scale,s=void 0,o=void 0,l=void 0,h=void 0;if(a.alignLabels)s=i.pixelX-this.length,o=i.pixelY,l=i.pixelX,h=o,"right"==i.horizontalCenter&&(l=(s+=2*this.length)-this.length);else{var u=i.pixelRadius(e.radius);l=s=n+u*e.ix,h=o=r+u*e.iy}this.element.attr({points:[n,r,s,o,l,h]})}},Object.defineProperty(e.prototype,"slice",{get:function(){return this._slice.get()},set:function(t){this._slice.set(t,new r.c([t.events.on("transformed",this.invalidate,this),t.events.on("validated",this.invalidate,this)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label.get()},set:function(t){this._label.set(t,t.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),e}(n.a);s.b.registeredClasses.PieTick=o},251:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return h});var a=i(0),n=i(172),r=i(252),s=i(1),o=i(3),l=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries3DDataItem",e.values.depthValue={},e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"depthValue",{get:function(){return this.values.depthValue.value},set:function(t){this.setValue("depthValue",t)},enumerable:!0,configurable:!0}),e}(n.b),h=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries3D",e.applyTheme(),e}return a.c(e,t),e.prototype.createDataItem=function(){return new l},e.prototype.createSlice=function(){return new r.a},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e);var i=e.slice,a=this.depth;o.isNumber(a)||(a=this.chart.depth);var n=e.values.depthValue.percent;o.isNumber(n)||(n=100),i.depth=n*a/100;var r=this.angle;o.isNumber(r)||(r=this.chart.angle),i.angle=r},e.prototype.validate=function(){t.prototype.validate.call(this);for(var e=this._workingStartIndex;e<this._workingEndIndex;e++){var i=this.dataItems.getIndex(e).slice,a=i.startAngle;a>=-90&&a<90?i.toFront():a>=90&&i.toBack()}},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t)},enumerable:!0,configurable:!0}),e}(n.a);s.b.registeredClasses.PieSeries3D=h,s.b.registeredClasses.PieSeries3DDataItem=l},259:function(t,e,i){"use strict";i.d(e,"a",function(){return p});var a=i(0),n=i(130),r=i(115),s=i(1),o=i(75),l=i(13),h=i(5),u=i(4),c=i(3),d=i(74),p=function(t){function e(){var e=t.call(this)||this;e.className="ChordNode",e.label=e.createChild(r.a),e.label.location=.5,e.label.radius=5,e.label.text="{name}",e.label.zIndex=1,e.label.shouldClone=!1,e.layout="none",e.events.on("positionchanged",e.updateRotation,e,!1),e.isMeasured=!1,e.slice=e.createChild(o.a),e.slice.isMeasured=!1;var i=e.hiddenState;return i.properties.fill=(new l.a).getFor("disabledBackground"),i.properties.opacity=.5,i.properties.visible=!0,e.setStateOnChildren=!1,e.slice.hiddenState.properties.visible=!0,e.adapter.add("tooltipX",function(t,e){return e.slice.ix*(e.slice.radius-(e.slice.radius-e.slice.pixelInnerRadius)/2)}),e.adapter.add("tooltipY",function(t,e){return e.slice.iy*(e.slice.radius-(e.slice.radius-e.slice.pixelInnerRadius)/2)}),e}return a.c(e,t),e.prototype.invalidateLinks=function(){var e=this;t.prototype.invalidateLinks.call(this);var i=this.label,a=this.slice,n=this.chart;if(n&&a){var r=this.total,s=a.arc,o=a.startAngle;this.children.each(function(t){if(t instanceof d.a){var e=t.locationX;c.isNumber(e)||(e=.5);var i=t.locationY;c.isNumber(i)||(i=1);var n=o+s*e,r=i*a.radius;t.x=r*u.cos(n),t.y=r*u.sin(n)}});var l=o+s*i.location,p=o+(1-r/this.adjustedTotal)*s*.5;c.isNaN(p)&&(p=o);var y={x:a.radius*u.cos(l),y:a.radius*u.sin(l)};i.fixPoint(y,a.radius),i.moveTo(y),this.nextAngle=p,this._outgoingSorted&&h.each(this._outgoingSorted,function(t){var i=t.link;i.parent=e.chart.linksContainer;var r=t.getWorkingValue("value");if(c.isNumber(r)){if(n.nonRibbon){var l=i.percentWidth;c.isNumber(l)||(l=5),l/=100,i.startAngle=o+s/2-s/2*l,i.arc=s*l}
21else i.arc=r*n.valueAngle,i.startAngle=e.nextAngle,e.nextAngle+=i.arc;t.toNode||(i.endAngle=i.startAngle),i.radius=a.pixelInnerRadius}}),this._incomingSorted&&h.each(this._incomingSorted,function(t){var i=t.link;if(i.radius=a.pixelInnerRadius,n.nonRibbon){var r=i.percentWidth;c.isNumber(r)||(r=5),r/=100,i.endAngle=o+s/2-s/2*r,i.arc=s*r}else{i.endAngle=e.nextAngle;var l=t.getWorkingValue("value");c.isNumber(l)&&(i.arc=l*n.valueAngle,e.nextAngle+=i.arc)}t.fromNode||(i.startAngle=i.endAngle)})}},e.prototype.updateRotation=function(){var t=this.slice,e=this.trueStartAngle+t.arc/2,i=t.radius,a=i*u.cos(e),n=i*u.sin(e),r=u.getAngle({x:a+this.pixelX,y:n+this.pixelY});t.startAngle=this.trueStartAngle+(r-e),this.dx=-this.pixelX,this.dy=-this.pixelY},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),this.slice.copyFrom(e.slice)},e}(n.a);s.b.registeredClasses.ChordNode=p},260:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var a=i(0),n=i(131),r=i(1),s=i(328),o=i(4),l=i(12),h=function(t){function e(){var e=t.call(this)||this;return e.className="ChordLink",e.middleLine=e.createChild(s.a),e.middleLine.shouldClone=!1,e.middleLine.strokeOpacity=0,e.applyTheme(),e}return a.c(e,t),e.prototype.validate=function(){if(t.prototype.validate.call(this),!this.isTemplate){var e=this.startAngle,i=this.endAngle,a=this.arc,n=this.radius,r=this.dataItem.fromNode,s=this.dataItem.toNode,h=0,u=0;r&&(h=r.pixelX+r.dx,u=r.pixelY+r.dy);var c=0,d=0;if(s&&(c=s.pixelX+s.dx,d=s.pixelY+s.dy),n>0){var p=n*o.cos(e)+h,y=n*o.sin(e)+u,g=n*o.cos(i)+c,f=n*o.sin(i)+d,m=(o.cos(i+a),o.sin(i+a),o.cos(e+a),o.sin(e+a),{x:0,y:0}),x=l.moveTo({x:p,y:y});x+=l.arcTo(e,a,n),x+=l.quadraticCurveTo({x:g,y:f},m),x+=l.arcTo(i,a,n),x+=l.quadraticCurveTo({x:p,y:y},m),this.link.path=a>0?x:"",this.maskBullets&&(this.bulletsMask.path=x,this.bulletsContainer.mask=this.bulletsMask);var v=e+a/2,b=i+a/2,A=this.middleLine;A.x1=n*o.cos(v)+h,A.y1=n*o.sin(v)+u,A.x2=n*o.cos(b)+c,A.y2=n*o.sin(b)+d,A.cpx=0,A.cpy=0,A.stroke=this.fill,this.positionBullets()}}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),e}(n.a);r.b.registeredClasses.ChordLink=h},261:function(t,e,i){"use strict";i.d(e,"b",function(){return c}),i.d(e,"a",function(){return d});var a=i(0),n=i(76),r=i(10),s=i(1),o=i(13),l=i(3),h=i(42),u=i(18),c=function(t){function e(){var e=t.call(this)||this;return e.className="TreeMapSeriesDataItem",e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"parentName",{get:function(){var t=this.treeMapDataItem;if(t&&t.parent)return t.parent.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.treeMapDataItem.value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"treeMapDataItem",{get:function(){return this._dataContext},enumerable:!0,configurable:!0}),e}(n.b),d=function(t){function e(){var e=t.call(this)||this;e.className="TreeMapSeries",e.applyTheme(),e.fillOpacity=1,e.strokeOpacity=1,e.minBulletDistance=0,e.columns.template.tooltipText="{parentName} {name}: {value}",e.columns.template.configField="config";var i=new o.a;return e.stroke=i.getFor("background"),e.dataFields.openValueX="x0",e.dataFields.valueX="x1",e.dataFields.openValueY="y0",e.dataFields.valueY="y1",e.sequencedInterpolation=!1,e.columns.template.pixelPerfect=!1,e}return a.c(e,t),e.prototype.processDataItem=function(e,i){i.seriesDataItem=e,t.prototype.processDataItem.call(this,e,i)},e.prototype.createDataItem=function(){return new c},e.prototype.show=function(e){var i=this.defaultState.transitionDuration;l.isNumber(e)&&(i=e);var a=t.prototype.showReal.call(this,i),n=this.chart;return n&&(a&&!a.isFinished()?a.events.on("animationended",function(){n.invalidateLayout()}):n.invalidateLayout(),n.invalidateLayout()),a},e.prototype.hide=function(e){var i=this.defaultState.transitionDuration;l.isNumber(e)&&(i=e);var a=t.prototype.hideReal.call(this,i),n=this.chart;return n&&(a&&!a.isFinished()?a.events.on("animationended",function(){n.invalidateLayout()}):n.invalidateLayout(),n.invalidateLayout()),a},e.prototype.processValues=function(){},e.prototype.dataChangeUpdate=function(){},e.prototype.processConfig=function(e){e&&(l.hasValue(e.dataFields)&&l.isObject(e.dataFields)||(e.dataFields={})),t.prototype.processConfig.call(this,e)},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var a=t.createChild(h.a);a.shouldClone=!1,u.copyProperties(this,a,r.b),a.padding(0,0,0,0),a.width=e,a.height=i},e}(n.a);s.b.registeredClasses.TreeMapSeries=d,s.b.registeredClasses.TreeMapSeriesDataItem=c}
21,262:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var a=i(0),n=i(117),r=i(7),s=i(1),o=i(12),l=function(t){function e(){var e=t.call(this)||this;return e._chart=new r.d,e.className="AxisRendererX3D",e._disposers.push(e._chart),e.applyTheme(),e}return a.c(e,t),e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var a=this.positionToPoint(e);if(t.element){var n=this.chart.dx3D,r=this.chart.dy3D,s=this.getHeight();t.path=o.moveTo({x:n,y:r})+o.lineTo({x:n,y:s+r})+o.lineTo({x:0,y:s})}this.positionItem(t,a),this.toggleVisibility(t,e,0,1)},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.getHeight(),i=this.chart.dx3D,a=this.chart.dy3D;this.baseGrid.path=o.moveTo({x:i,y:a})+o.lineTo({x:i,y:e+a})+o.lineTo({x:0,y:e})},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){t&&this._chart.set(t,t.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),e.prototype.handle3DChanged=function(t){"depth"!=t.property&&"angle"!=t.property||this.invalidate()},e}(n.a);s.b.registeredClasses.AxisRendererX3D=l},263:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var a=i(0),n=i(89),r=i(7),s=i(12),o=function(t){function e(){var e=t.call(this)||this;return e._chart=new r.d,e.className="AxisRendererY3D",e._disposers.push(e._chart),e.applyTheme(),e}return a.c(e,t),e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var a=this.positionToPoint(e);if(t.element){var n=this.chart.dx3D,r=this.chart.dy3D,o=this.getWidth();t.path=s.moveTo({x:0,y:0})+s.lineTo({x:n,y:r})+s.lineTo({x:o+n,y:r})}this.positionItem(t,a),this.toggleVisibility(t,e,0,1)},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.getWidth();this.baseGrid.path=s.moveTo({x:0,y:0})+s.lineTo({x:e,y:0})+s.lineTo({x:e+this.chart.dx3D,y:this.chart.dy3D})},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){t&&this._chart.set(t,t.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),e.prototype.handle3DChanged=function(t){"depth"!=t.property&&"angle"!=t.property||this.invalidate()},e}(n.a)},264:function(t,e,i){"use strict";i.d(e,"b",function(){return o}),i.d(e,"a",function(){return l});var a=i(0),n=i(76),r=i(176),s=i(1),o=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeries3DDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),l=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeries3D",e.columns.template.column3D.applyOnClones=!0,e.columns.template.hiddenState.properties.visible=!0,e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"columnsContainer",{get:function(){return this.chart&&this.chart.columnsContainer?this.chart.columnsContainer:this._columnsContainer},enumerable:!0,configurable:!0}),e.prototype.validateDataElementReal=function(e){t.prototype.validateDataElementReal.call(this,e),e.column&&(e.column.dx=this.dx,e.column.dy=this.dy)},e.prototype.validateDataElements=function(){t.prototype.validateDataElements.call(this),this.chart&&this.chart.invalidateLayout()},e.prototype.createColumnTemplate=function(){return new r.a},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0),this.columns.template.column3D.depth=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.columns.template.column3D.angle=t},enumerable:!0,configurable:!0}),e}(n.a);s.b.registeredClasses.ColumnSeries3D=l,s.b.registeredClasses.ColumnSeries3DDataItem=o},267:function(t,e,i){"use strict";i.d(e,"b",function(){return p}),i.d(e,"a",function(){return y});var a=i(0),n=i(76),r=i(10),s=i(177),o=i(1),l=i(13),h=i(6),u=i(18),c=i(5),d=i(3),p=function(t){function e(){var e=t.call(this)||this;return e.values.lowValueX={},e.values.lowValueY={},e.values.highValueX={},e.values.highValueY={}
21,e.className="CandlestickSeriesDataItem",e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"lowValueX",{get:function(){return this.values.lowValueX.value},set:function(t){this.setValue("lowValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lowValueY",{get:function(){return this.values.lowValueY.value},set:function(t){this.setValue("lowValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highValueX",{get:function(){return this.values.highValueX.value},set:function(t){this.setValue("highValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highValueY",{get:function(){return this.values.highValueY.value},set:function(t){this.setValue("highValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeValueX",{get:function(){return this.values.valueX.value},set:function(t){this.setValue("valueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeValueY",{get:function(){return this.values.valueY.value},set:function(t){this.setValue("valueY",t)},enumerable:!0,configurable:!0}),e}(n.b),y=function(t){function e(){var e=t.call(this)||this;e.className="CandlestickSeries",e.strokeOpacity=1;var i=new l.a,a=i.getFor("positive"),n=i.getFor("negative");return e.dropFromOpenState.properties.fill=n,e.dropFromOpenState.properties.stroke=n,e.riseFromOpenState.properties.fill=a,e.riseFromOpenState.properties.stroke=a,e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),d.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Candlestick Series"))},e.prototype.createDataItem=function(){return new p},e.prototype.validateDataElementReal=function(e){t.prototype.validateDataElementReal.call(this,e),this.validateCandlestick(e)},e.prototype.validateCandlestick=function(t){var e=t.column;if(e){var i=e.lowLine,a=e.highLine;if(this.baseAxis==this.xAxis){var n=e.pixelWidth/2;i.x=n,a.x=n;var r=t.getWorkingValue(this.yOpenField),s=t.getWorkingValue(this.yField),o=this.yAxis.getY(t,this.yOpenField),l=this.yAxis.getY(t,this.yField),h=this.yAxis.getY(t,this.yLowField),u=this.yAxis.getY(t,this.yHighField),d=e.pixelY;i.y1=h-d,a.y1=u-d,r<s?(i.y2=o-d,a.y2=l-d):(i.y2=l-d,a.y2=o-d)}if(this.baseAxis==this.yAxis){var p=e.pixelHeight/2;i.y=p,a.y=p;var y=t.getWorkingValue(this.xOpenField),g=t.getWorkingValue(this.xField),f=this.xAxis.getX(t,this.xOpenField),m=this.xAxis.getX(t,this.xField),x=this.xAxis.getX(t,this.xLowField),v=this.xAxis.getX(t,this.xHighField),b=e.pixelX;i.x1=x-b,a.x1=v-b,y<g?(i.x2=f-b,a.x2=m-b):(i.x2=m-b,a.x2=f-b)}c.each(this.axisRanges.iterator(),function(e){var n=t.rangesColumns.getKey(e.uid);if(n){var r=n.lowLine;r.x=i.x,r.y=i.y,r.x1=i.x1,r.x2=i.x2,r.y1=i.y1,r.y2=i.y2;var s=n.highLine;s.x=a.x,s.y=a.y,s.x1=a.x1,s.x2=a.x2,s.y1=a.y1,s.y2=a.y2}})}},Object.defineProperty(e.prototype,"xLowField",{get:function(){return this._xLowField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yLowField",{get:function(){return this._yLowField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xHighField",{get:function(){return this._xHighField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yHighField",{get:function(){return this._yHighField},enumerable:!0,configurable:!0}),e.prototype.defineFields=function(){if(t.prototype.defineFields.call(this),this.baseAxis==this.xAxis){var e=h.capitalize(this.yAxis.axisFieldName);this._yLowField="low"+e+"Y",this._yHighField="high"+e+"Y"}if(this.baseAxis==this.yAxis){var i=h.capitalize(this.xAxis.axisFieldName);this._xLowField="low"+i+"X",this._xHighField="high"+i+"X"}this.addValueField(this.xAxis,this._xValueFields,this._xLowField),this.addValueField(this.xAxis,this._xValueFields,this._xHighField),this.addValueField(this.yAxis,this._yValueFields,this._yLowField),this.addValueField(this.yAxis,this._yValueFields,this._yHighField)},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var a,n,o=t.createChild(s.a);o.shouldClone=!1,o.copyFrom(this.columns.template);var l=o.lowLine,h=o.highLine;this.baseAxis==this.yAxis?(a=e/3,n=i,l.y=i/2,h.y=i/2,l.x2=e/3,h.x2=e/3,h.x=e/3*2,o.column.x=e/3):(a=e,n=i/3,l.x=e/2,h.x=e/2,l.y2=i/3,h.y2=i/3,h.y=i/3*2,o.column.y=i/3),o.width=a,o.height=n,u.copyProperties(this,t,r.b),u.copyProperties(this.columns.template,o,r.b),o.stroke=this.riseFromOpenState.properties.stroke,o.fill=o.stroke},e.prototype.createColumnTemplate=function(){return new s.a},e}(n.a);o.b.registeredClasses.CandlestickSeries=y,o.b.registeredClasses.CandlestickSeriesD
21ataItem=p},268:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var a=i(0),n=i(177),r=i(71),s=i(1),o=function(t){function e(){var e=t.call(this)||this;return e.className="OHLC",e.layout="none",e}return a.c(e,t),e.prototype.createAssets=function(){this.openLine=this.createChild(r.a),this.openLine.shouldClone=!1,this.highLowLine=this.createChild(r.a),this.highLowLine.shouldClone=!1,this.closeLine=this.createChild(r.a),this.closeLine.shouldClone=!1},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.openLine&&this.openLine.copyFrom(e.openLine),this.highLowLine&&this.highLowLine.copyFrom(e.highLowLine),this.closeLine&&this.closeLine.copyFrom(e.closeLine)},e}(n.a);s.b.registeredClasses.OHLC=o},269:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var a=i(0),n=i(62),r=i(75),s=i(1),o=i(3),l=function(t){function e(){var e=t.call(this)||this;return e.className="RadarColumn",e}return a.c(e,t),e.prototype.createAssets=function(){this.radarColumn=this.createChild(r.a),this.radarColumn.shouldClone=!1,this.radarColumn.strokeOpacity=void 0,this.column=this.radarColumn},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.radarColumn&&this.radarColumn.copyFrom(e.radarColumn)},e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");return o.isNumber(t)||(t=this.radarColumn.tooltipX),t},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipX");return o.isNumber(t)||(t=this.radarColumn.tooltipY),t},e}(n.a);s.b.registeredClasses.RadarColumn=l},270:function(t,e,i){"use strict";i.d(e,"b",function(){return h}),i.d(e,"a",function(){return u});var a=i(0),n=i(178),r=i(1),s=i(3),o=i(6),l=i(8),h=function(t){function e(){var e=t.call(this)||this;return e.className="PyramidSeriesDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),u=function(t){function e(){var e=t.call(this)||this;return e.className="PyramidSeries",e.topWidth=Object(l.c)(0),e.bottomWidth=Object(l.c)(100),e.pyramidHeight=Object(l.c)(100),e.valueIs="area",e.sliceLinks.template.width=0,e.sliceLinks.template.height=0,e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),s.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pyramid Series"))},e.prototype.createDataItem=function(){return new h},e.prototype.validate=function(){t.prototype.validate.call(this),this._nextWidth=void 0},e.prototype.getNextValue=function(t){var e=t.index,i=t.getWorkingValue("value");e<this.dataItems.length-1&&(i=this.dataItems.getIndex(e+1).getWorkingValue("value"));return 0==i&&(i=1e-6),i},e.prototype.validateDataElements=function(){var e=this,i=this.slicesContainer.innerWidth,a=this.slicesContainer.innerHeight;if(this.dataItems.each(function(t){var n=t.getWorkingValue("value")/t.value,r=t.sliceLink;"vertical"==e.orientation?a-=r.pixelHeight*n:i-=r.pixelWidth*n}),this._pyramidHeight=o.relativeToValue(this.pyramidHeight,a),this._pyramidWidth=o.relativeToValue(this.pyramidHeight,i),"vertical"==this.orientation){var n=(a-this._pyramidHeight)/2;this.slicesContainer.y=n,this.labelsContainer.y=n,this.ticksContainer.y=n}else{var r=(i-this._pyramidWidth)/2;this.slicesContainer.x=r,this.labelsContainer.x=r,this.ticksContainer.x=r}t.prototype.validateDataElements.call(this)},e.prototype.decorateSlice=function(t){var e=this.dataItem.values.value.sum;if(0!=e){var i=t.slice,a=t.sliceLink,n=t.label,r=t.tick,l=(this.getNextValue(t),t.getWorkingValue("value"));0==l&&(l=1e-6);var h=this._pyramidWidth,u=this._pyramidHeight,c=this.slicesContainer.innerWidth,d=this.slicesContainer.innerHeight,p=a.pixelWidth,y=a.pixelHeight;if("vertical"==this.orientation){var g=o.relativeToValue(this.topWidth,c);s.isNumber(this._nextWidth)||(this._nextWidth=g);var f=o.relativeToValue(this.bottomWidth,c),m=this._nextWidth,x=Math.atan2(u,g-f);0==(C=Math.tan(Math.PI/2-x))&&(C=1e-8);var v=void 0,b=void 0;if("area"==this.valueIs){var A=(g+f)/2*u*l/e,P=Math.abs(m*m-2*A*C);b=(2*A-(v=(m-Math.sqrt(P))/C)*m)/v}else{b=m-(v=u*l/this.dataItem.values.value.sum)*C}i.height=v,i.width=c,i.bottomWidth=b,i.topWidth=m,a.topWidth=i.bottomWidth,a.bottomWidth=i.bottomWidth,i.y=this._nextY,this.alignLabels?n.x=0:n.x=c/2,n.y=i.pixelY+i.pixelHeight*r.locationY,this._nextY+=i.pixelHeight+y*l/t.value,a.y=this._nextY-y,a.x=c/2}else{g=o.relativeToValue(this.topWidth,d);s.isNumber(this._nextWidth)||(this._nextWidth=g);var C;f=o.relativeToValue(this.bottomWidth,d),m=this._nextWidth,x=Math.atan2(h,g-f);0==(C=Math.tan(Math.PI/2-x))&&(C=1e-8);var _=void 0;b=void 0;if("area"==this.valueIs)b=(2*(A=(g+f)/2*h*l/this.dataItem.values.value.sum)-(_=(m-Math.sqrt(m*m-2*A*C))/C)*m)/_;else b=m-(_=h*l/this.dataItem.values.value.sum)*C;i.width=_,i.height=d,i.bottomWidth=b,i.topWidth=m,a.topWidth=i.bottomWidth,a.bottomWidth=i.bottomWidth,i.x=this._nextY,this.alignLabels?n.y=this.labelsContainer.measuredHeight:n.y=d/2,n.x=i.pixelX+i.pixelWidth*r.locationX,this._nextY+=i.pixelWidth+p*l/t.value,a.x=this._nextY-p,a.y=d/2}this._nextWidth=i.bottomWidth}},Object.defineProperty(e.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")}
21,set:function(t){this.setPercentProperty("topWidth",t,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pyramidHeight",{get:function(){return this.getPropertyValue("pyramidHeight")},set:function(t){this.setPercentProperty("pyramidHeight",t,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(t){this.setPercentProperty("bottomWidth",t,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueIs",{get:function(){return this.getPropertyValue("valueIs")},set:function(t){this.setPropertyValue("valueIs",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e}(n.a);r.b.registeredClasses.PyramidSeries=u,r.b.registeredClasses.PyramidSeriesDataItem=h},271:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var a=i(0),n=i(62),r=i(272),s=i(1),o=function(t){function e(){var e=t.call(this)||this;return e.className="ConeColumn",e}return a.c(e,t),e.prototype.createAssets=function(){this.coneColumn=this.createChild(r.a),this.coneColumn.shouldClone=!1,this.column=this.coneColumn},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.coneColumn&&this.coneColumn.copyFrom(e.coneColumn)},e}(n.a);s.b.registeredClasses.ConeColumn=o},274:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var a=i(0),n=i(62),r=i(10),s=i(12),o=i(1),l=i(72),h=i(8),u=function(t){function e(){var e=t.call(this)||this;return e.className="CurvedColumn",e}return a.c(e,t),e.prototype.createAssets=function(){this.curvedColumn=this.createChild(r.a),this.curvedColumn.shouldClone=!1,this.setPropertyValue("tension",.7),this.width=Object(h.c)(120),this.height=Object(h.c)(120),this.column=this.curvedColumn},e.prototype.draw=function(){t.prototype.draw.call(this);var e,i=this.realWidth,a=this.realHeight,n=this.realX-this.pixelX,r=this.realY-this.pixelY,o=(this.width,1),h=1;"vertical"==this.orientation?(o=this.tension,e=[{x:0,y:a+r},{x:i/2,y:r},{x:i,y:a+r}]):(h=this.tension,e=[{x:n,y:0},{x:n+i,y:a/2},{x:n,y:a}]);var u=s.moveTo(e[0])+new l.b(o,h).smooth(e);this.column.path=u},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.curvedColumn&&this.curvedColumn.copyFrom(e.curvedColumn)},Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),e}(n.a);o.b.registeredClasses.CurvedColumn=u},319:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i(320);window.am4charts=a},320:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i(321);i.d(e,"GaugeChartDataItem",function(){return a.b}),i.d(e,"GaugeChart",function(){return a.a});var n=i(215);i.d(e,"RadarChartDataItem",function(){return n.b}),i.d(e,"RadarChart",function(){return n.a});var r=i(104);i.d(e,"XYChartDataItem",function(){return r.b}),i.d(e,"XYChart",function(){return r.a});var s=i(119);i.d(e,"SerialChartDataItem",function(){return s.b}),i.d(e,"SerialChart",function(){return s.a});var o=i(325);i.d(e,"PieChart3DDataItem",function(){return o.b}),i.d(e,"PieChart3D",function(){return o.a});var l=i(248);i.d(e,"PieChartDataItem",function(){return l.b}),i.d(e,"PieChart",function(){return l.a});var h=i(326);i.d(e,"SlicedChart",function(){return h.a}),i.d(e,"SlicedChartDataItem",function(){return h.b});var u=i(174);i.d(e,"FlowDiagramDataItem",function(){return u.b}),i.d(e,"FlowDiagram",function(){return u.a});var c=i(255);i.d(e,"SankeyDiagramDataItem",function(){return c.b}),i.d(e,"SankeyDiagram",function(){return c.a});var d=i(327);i.d(e,"ChordDiagramDataItem",function(){return d.b}),i.d(e,"ChordDiagram",function(){return d.a});var p=i(329);i.d(e,"TreeMapDataItem",function(){return p.b}),i.d(e,"TreeMap",function(){return p.a});var y=i(330);i.d(e,"XYChart3DDataItem",function(){return y.b}),i.d(e,"XYChart3D",function(){return y.a});var g=i(116);i.d(e,"ChartDataItem",function(){return g.b}),i.d(e,"Chart",function(){return g.a});var f=i(118);i.d(e,"LegendDataItem",function(){return f.b}),i.d(e,"Legend",function(){return f.a}),i.d(e,"LegendSettings",function(){return f.c});var m=i(266);i.d(e,"HeatLegend",function(){return m.a});var x=i(93);i.d(e,"SeriesDataItem",function(){return x.b}),i.d(e,"Series",function(){return x.a});var v=i(128);i.d(e,"XYSeriesDataItem",function(){return v.b}),i.d(e,"XYSeries",function(){return v.a});var b=i(170);i.d(e,"LineSeriesDataItem",function(){return b.b}),i.d(e,"LineSeries",function(){return b.a});var A=i(171);i.d(e,"LineSeriesSegment",function(){return A.a});var P=i(267);
21i.d(e,"CandlestickSeriesDataItem",function(){return P.b}),i.d(e,"CandlestickSeries",function(){return P.a});var C=i(331);i.d(e,"OHLCSeriesDataItem",function(){return C.b}),i.d(e,"OHLCSeries",function(){return C.a});var _=i(76);i.d(e,"ColumnSeriesDataItem",function(){return _.b}),i.d(e,"ColumnSeries",function(){return _.a});var I=i(332);i.d(e,"StepLineSeriesDataItem",function(){return I.b}),i.d(e,"StepLineSeries",function(){return I.a});var D=i(242);i.d(e,"RadarSeriesDataItem",function(){return D.b}),i.d(e,"RadarSeries",function(){return D.a});var T=i(334);i.d(e,"RadarColumnSeriesDataItem",function(){return T.b}),i.d(e,"RadarColumnSeries",function(){return T.a});var S=i(172);i.d(e,"PieSeriesDataItem",function(){return S.b}),i.d(e,"PieSeries",function(){return S.a});var V=i(178);i.d(e,"FunnelSeries",function(){return V.a}),i.d(e,"FunnelSeriesDataItem",function(){return V.b});var R=i(270);i.d(e,"PyramidSeries",function(){return R.a}),i.d(e,"PyramidSeriesDataItem",function(){return R.b});var F=i(336);i.d(e,"PictorialStackedSeries",function(){return F.a}),i.d(e,"PictorialStackedSeriesDataItem",function(){return F.b});var O=i(250);i.d(e,"PieTick",function(){return O.a});var k=i(179);i.d(e,"FunnelSlice",function(){return k.a});var w=i(251);i.d(e,"PieSeries3DDataItem",function(){return w.b}),i.d(e,"PieSeries3D",function(){return w.a});var L=i(261);i.d(e,"TreeMapSeriesDataItem",function(){return L.b}),i.d(e,"TreeMapSeries",function(){return L.a});var X=i(264);i.d(e,"ColumnSeries3DDataItem",function(){return X.b}),i.d(e,"ColumnSeries3D",function(){return X.a});var Y=i(337);i.d(e,"ConeSeriesDataItem",function(){return Y.b}),i.d(e,"ConeSeries",function(){return Y.a});var j=i(338);i.d(e,"CurvedColumnSeries",function(){return j.a}),i.d(e,"CurvedColumnSeriesDataItem",function(){return j.b});var N=i(164);i.d(e,"AxisDataItem",function(){return N.b}),i.d(e,"Axis",function(){return N.a});var M=i(103);i.d(e,"Grid",function(){return M.a});var B=i(233);i.d(e,"AxisTick",function(){return B.a});var W=i(153);i.d(e,"AxisLabel",function(){return W.a});var E=i(232);i.d(e,"AxisLine",function(){return E.a});var z=i(152);i.d(e,"AxisFill",function(){return z.a});var U=i(114);i.d(e,"AxisRenderer",function(){return U.a});var H=i(127);i.d(e,"AxisBreak",function(){return H.a});var K=i(61);i.d(e,"ValueAxisDataItem",function(){return K.b}),i.d(e,"ValueAxis",function(){return K.a});var G=i(109);i.d(e,"CategoryAxisDataItem",function(){return G.b}),i.d(e,"CategoryAxis",function(){return G.a});var Z=i(237);i.d(e,"CategoryAxisBreak",function(){return Z.a});var q=i(166);i.d(e,"DateAxisDataItem",function(){return q.b}),i.d(e,"DateAxis",function(){return q.a});var Q=i(339);i.d(e,"DurationAxisDataItem",function(){return Q.b}),i.d(e,"DurationAxis",function(){return Q.a});var J=i(238);i.d(e,"DateAxisBreak",function(){return J.a});var $=i(165);i.d(e,"ValueAxisBreak",function(){return $.a});var tt=i(117);i.d(e,"AxisRendererX",function(){return tt.a});var et=i(89);i.d(e,"AxisRendererY",function(){return et.a});var it=i(244);i.d(e,"AxisRendererRadial",function(){return it.a});var at=i(115);i.d(e,"AxisLabelCircular",function(){return at.a});var nt=i(211);i.d(e,"AxisRendererCircular",function(){return nt.a});var rt=i(212);i.d(e,"AxisFillCircular",function(){return rt.a});var st=i(213);i.d(e,"GridCircular",function(){return st.a});var ot=i(262);i.d(e,"AxisRendererX3D",function(){return ot.a});var lt=i(263);i.d(e,"AxisRendererY3D",function(){return lt.a});var ht=i(108);i.d(e,"Tick",function(){return ht.a});var ut=i(74);i.d(e,"Bullet",function(){return ut.a});var ct=i(257);i.d(e,"LabelBullet",function(){return ct.a});var dt=i(340);i.d(e,"CircleBullet",function(){return dt.a});var pt=i(341);i.d(e,"ErrorBullet",function(){return pt.a});var yt=i(241);i.d(e,"XYChartScrollbar",function(){return yt.a});var gt=i(246);i.d(e,"ClockHand",function(){return gt.a});var ft=i(130);i.d(e,"FlowDiagramNode",function(){return ft.a});var mt=i(131);i.d(e,"FlowDiagramLink",function(){return mt.a});var xt=i(256);i.d(e,"SankeyNode",function(){return xt.a});var vt=i(258);i.d(e,"SankeyLink",function(){return vt.a});var bt=i(259);i.d(e,"ChordNode",function(){return bt.a});var At=i(260);i.d(e,"ChordLink",function(){return At.a}
21);var Pt=i(342);i.d(e,"NavigationBarDataItem",function(){return Pt.b}),i.d(e,"NavigationBar",function(){return Pt.a});var Ct=i(62);i.d(e,"Column",function(){return Ct.a});var _t=i(177);i.d(e,"Candlestick",function(){return _t.a});var It=i(268);i.d(e,"OHLC",function(){return It.a});var Dt=i(269);i.d(e,"RadarColumn",function(){return Dt.a});var Tt=i(176);i.d(e,"Column3D",function(){return Tt.a});var St=i(271);i.d(e,"ConeColumn",function(){return St.a});var Vt=i(274);i.d(e,"CurvedColumn",function(){return Vt.a});var Rt=i(167);i.d(e,"XYCursor",function(){return Rt.a});var Ft=i(239);i.d(e,"Cursor",function(){return Ft.a});var Ot=i(243);i.d(e,"RadarCursor",function(){return Ot.a})},321:function(t,e,i){"use strict";i.d(e,"b",function(){return h}),i.d(e,"a",function(){return u});var a=i(0),n=i(215),r=i(11),s=i(246),o=i(1),l=i(3),h=function(t){function e(){var e=t.call(this)||this;return e.className="GaugeChartDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),u=function(t){function e(){var e=t.call(this)||this;return e.className="GaugeChart",e.startAngle=180,e.endAngle=360,e.hands=new r.e(new s.a),e.hands.events.on("inserted",e.processHand,e,!1),e._disposers.push(new r.c(e.hands)),e._disposers.push(e.hands.template),e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),l.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Gauge chart"))},e.prototype.processHand=function(t){var e=t.newValue;e.axis||(e.axis=this.xAxes.getIndex(0))},e}(n.a);o.b.registeredClasses.GaugeChart=u},325:function(t,e,i){"use strict";i.d(e,"b",function(){return o}),i.d(e,"a",function(){return l});var a=i(0),n=i(248),r=i(251),s=i(1),o=function(t){function e(){var e=t.call(this)||this;return e.className="PieChart3DDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),l=function(t){function e(){var e=t.call(this)||this;return e.className="PieChart3D",e.depth=20,e.angle=10,e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new r.a},e}(n.a);s.b.registeredClasses.PieChart3D=l},326:function(t,e,i){"use strict";i.d(e,"b",function(){return o}),i.d(e,"a",function(){return l});var a=i(0),n=i(249),r=i(1),s=i(3),o=function(t){function e(){var e=t.call(this)||this;return e.className="SlicedChartDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),l=function(t){function e(){var e=t.call(this)||this;return e.className="SlicedChart",e.seriesContainer.layout="horizontal",e.padding(15,15,15,15),e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),s.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Sliced chart"))},e.prototype.validate=function(){t.prototype.validate.call(this)},e}(n.a);r.b.registeredClasses.SlicedChart=l,r.b.registeredClasses.SlicedChartDataItem=o},327:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return g});var a=i(0),n=i(174),r=i(8),s=i(9),o=i(1),l=i(259),h=i(260),u=i(5),c=i(4),d=i(3),p=i(6),y=function(t){function e(){var e=t.call(this)||this;return e.className="ChordDiagramDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),g=function(t){function e(){var e=t.call(this)||this;e.valueAngle=0,e.className="ChordDiagram",e.startAngle=-90,e.endAngle=270,e.radius=Object(r.c)(80),e.innerRadius=-15,e.nodePadding=5;var i=e.chartContainer.createChild(s.a);return i.align="center",i.valign="middle",i.shouldClone=!1,i.layout="absolute",e.chordContainer=i,e.nodesContainer.parent=i,e.linksContainer.parent=i,e.chartContainer.events.on("maxsizechanged",e.invalidate,e,!1),e.applyTheme(),e}return a.c(e,t),e.prototype.validate=function(){var e=this,i=this.chartContainer,a=(this.nodesContainer,this.endAngle),n=this.startAngle+this.nodePadding/2,r=c.getArcRect(this.startAngle,this.endAngle,1);r=c.getCommonRectangle([r,{x:0,y:0,width:0,height:0}]);var s=Math.min(i.innerWidth/r.width,i.innerHeight/r.height);d.isNumber(s)||(s=0);p.relativeRadiusToValue(this.radius,s);var o=p.relativeRadiusToValue(this.radius,s),l=p.relativeRadiusToValue(this.innerRadius,o,!0),h=this.dataItem.values.value.sum,y=0,g=0;u.each(this._sorted,function(t){var i=t[1];e.getNodeValue(i),y++;var a=i.total;i.total/h<e.minNodeSize&&(a=h*e.minNodeSize),g+=a}),this.valueAngle=(a-this.startAngle-this.nodePadding*y)/g,u.each(this._sorted,function(t){var i=t[1],r=i.slice;r.radius=o,r.innerRadius=l;var s,u=i.total;
21i.total/h<e.minNodeSize&&(u=h*e.minNodeSize),i.adjustedTotal=u,s=e.nonRibbon?(a-e.startAngle)/y-e.nodePadding:e.valueAngle*u,r.arc=s,r.startAngle=n,i.trueStartAngle=n,i.parent=e.nodesContainer,i.validate(),n+=s+e.nodePadding}),this.chordContainer.definedBBox={x:o*r.x,y:o*r.y,width:o*r.width,height:o*r.height},this.chordContainer.invalidateLayout(),t.prototype.validate.call(this)},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),d.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Chord diagram"))},e.prototype.createDataItem=function(){return new y},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonRibbon",{get:function(){return this.getPropertyValue("nonRibbon")},set:function(t){this.setPropertyValue("nonRibbon",t,!0),this.links.template.middleLine.strokeOpacity=1,this.links.template.link.fillOpacity=0},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new l.a;return this._disposers.push(t),t},e.prototype.createLink=function(){var t=new h.a;return this._disposers.push(t),t},e}(n.a);o.b.registeredClasses.ChordDiagram=g},328:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var a=i(0),n=i(71),r=i(14),s=i(12),o=i(4),l=i(3),h=function(t){function e(){var e=t.call(this)||this;return e.className="QuadraticCurve",e.element=e.paper.add("path"),e.pixelPerfect=!1,e.fill=Object(r.c)(),e.applyTheme(),e}return a.c(e,t),e.prototype.draw=function(){if(l.isNumber(this.x1+this.x2+this.y1+this.y2+this.cpx+this.cpy)){var t={x:this.x1,y:this.y1},e={x:this.x2,y:this.y2},i={x:this.cpx,y:this.cpy},a=s.moveTo(t)+s.quadraticCurveTo(e,i);this.path=a}},Object.defineProperty(e.prototype,"cpx",{get:function(){return this.getPropertyValue("cpx")},set:function(t){this.setPropertyValue("cpx",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cpy",{get:function(){return this.getPropertyValue("cpy")},set:function(t){this.setPropertyValue("cpy",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e={x:this.x1,y:this.y1},i={x:this.cpx,y:this.cpy},a={x:this.x2,y:this.y2},n=o.getPointOnQuadraticCurve(e,a,i,t),r=o.getPointOnQuadraticCurve(e,a,i,t+.001);return{x:n.x,y:n.y,angle:o.getAngle(n,r)}},e}(n.a)},329:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return g});var a=i(0),n=i(104),r=i(1),s=i(26),o=i(61),l=i(261),h=i(30),u=i(70),c=i(5),d=i(3),p=i(16),y=function(t){function e(){var e=t.call(this)||this;return e.rows=[],e.className="TreeMapDataItem",e.values.value={},e.values.x0={},e.values.y0={},e.values.x1={},e.values.y1={},e.hasChildren.children=!0,e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"value",{get:function(){var t=this.values.value.value;return d.isNumber(t)||(t=0,this.children&&c.each(this.children.iterator(),function(e){d.isNumber(e.value)&&(t+=e.value)})),t},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"percent",{get:function(){return this.parent?this.value/this.parent.value*100:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x0",{get:function(){return this.values.x0.value},set:function(t){this.setValue("x0",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x1",{get:function(){return this.values.x1.value},set:function(t){this.setValue("x1",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y0",{get:function(){return this.values.y0.value},set:function(t){this.setValue("y0",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y1",{get:function(){return this.values.y1.value},set:function(t){this.setValue("y1",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.properties.name},set:function(t){this.setProperty("name",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.properties.children},set:function(t){this.setProperty("children",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"level",{get:function(){return this.parent?this.parent.level+1:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){var t=this.properties.color;return void 0==t&&this.parent&&(t=this.parent.color),void 0==t&&this.component&&(t=this.component.colors.getIndex(this.component.colors.step*this.index)),t},set:function(t){this.setProperty("color",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"series",{get:function(){return this._series},set:function(t){this._series&&(this.component.series.removeValue(this._series),this._series.dispose()),this._series=t,this._disposers.push(t)},enumerable:!0,configurable:!0}),e}(n.b),g=function(t){function e(){var e=t.call(this)||this;e.layoutAlgorithm=e.squarify,e.zoomable=!0,e.className="TreeMap",e.maxLevels=2,e.currentLevel=0,e.colors=new h.a,e.sorting="descending";var i=e.xAxes.push(new o.a);i.title.disabled=!0,i.strictMinMax=!0;var a=i.renderer;a.inside=!0,a.labels.template.disabled=!0,a.ticks.template.disabled=!0,a.grid.template.disabled=!0,a.axisFills.template.disabled=!0,a.minGridDistance=100,a.line.disabled=!0,a.baseGrid.disabled=!0;var n=e.yAxes.push(new o.a);n.title.disabled=!0,n.strictMinMax=!0;var r=n.renderer;r.inside=!0,r.labels.template.disabled=!0,r.ticks.template.disabled=!0,r.grid.template.disabled=!0,r.axisFills.template.disabled=!0,r.minGridDistance=100,r.line.disabled=!0,r.baseGrid.disabled=!0,r.inversed=!0,e.xAxis=i,e.yAxis=n;var u=new l.a;return e.seriesTemplates=new s.c(u),e._disposers.push(new s.b(e.seriesTemplates)),e._disposers.push(u),e.zoomOutButton.events.on("hit",function(){e.zoomToChartDataItem(e._homeDataItem)},void 0,!1),e.seriesTemplates.events.on("insertKey",function(t){t.newValue.isTemplate=!0},void 0,!1),e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"navigationBar",{get:function(){return this._navigationBar},set:function(t){var e=this;this._navigationBar!=t&&(this._navigationBar=t,t.parent=this,t.toBack(),t.links.template.events.on("hit",function(t){var i=t.target.dataItem.dataContext;e.zoomToChartDataItem(i),e.createTreeSeries(i)},void 0,!0),this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.validateData=function(){this.series.clear(),t.prototype.validateData.call(this),this._homeDataItem&&this._homeDataItem.dispose();var e=this.dataItems.template.clone();this._homeDataItem=e,c.each(this.dataItems.iterator(),function(t){t.parent=e}),e.children=this.dataItems,e.x0=0,e.y0=0,e.name=this._homeText;var i=1e3*this.pixelHeight/this.pixelWidth||1e3;e.x1=1e3,e.y1=i,this.xAxis.min=0,this.xAxis.max=1e3,this.yAxis.min=0,this.yAxis.max=i,this.layoutItems(e),this.createTreeSeries(e)},e.prototype.layoutItems=function(t,e){if(t){var i=t.children;e||(e=this.sorting),"ascending"==e&&i.values.sort(function(t,e){return t.value-e.value}
21),"descending"==e&&i.values.sort(function(t,e){return e.value-t.value}),this.layoutAlgorithm(t);for(var a=0,n=i.length;a<n;a++){var r=i.getIndex(a);r.children&&this.layoutItems(r)}}},e.prototype.createTreeSeries=function(t){var e=this;this._tempSeries=[];for(var i=[t],a=t.parent;void 0!=a;)this.initSeries(a),i.push(a),a=a.parent;i.reverse(),this.navigationBar&&(this.navigationBar.data=i),this.createTreeSeriesReal(t),p.each(this._tempSeries,function(t){-1==e.series.indexOf(t)&&e.series.push(t),t.zIndex=t.level})},e.prototype.createTreeSeriesReal=function(t){if(t.children&&t.level<this.currentLevel+this.maxLevels){this.initSeries(t);for(var e=0;e<t.children.length;e++){var i=t.children.getIndex(e);i.children&&this.createTreeSeriesReal(i)}}},e.prototype.seriesAppeared=function(){return!0},e.prototype.initSeries=function(t){var e=this;if(!t.series){var i=void 0,a=this.seriesTemplates.getKey(t.level.toString());(i=a?a.clone():this.series.create()).name=t.name,i.parentDataItem=t,t.series=i;var n=t.level;i.level=n;var r=t.dataContext;r&&(i.config=r.config),this.dataUsers.removeValue(i),i.data=t.children.values,i.fill=t.color,i.columnsContainer.hide(0),i.bulletsContainer.hide(0),i.columns.template.adapter.add("fill",function(t,e){var i=e.dataItem;if(i){var a=i.treeMapDataItem;if(a)return e.fill=a.color,e.adapter.remove("fill"),a.color}}),this.zoomable&&(t.level>this.currentLevel||t.children&&t.children.length>0)&&(i.columns.template.cursorOverStyle=u.a.pointer,this.zoomable&&i.columns.template.events.on("hit",function(i){var a=i.target.dataItem;t.level>e.currentLevel?e.zoomToChartDataItem(a.treeMapDataItem.parent):e.zoomToSeriesD
21ataItem(a)},this,void 0))}this._tempSeries.push(t.series)},e.prototype.toggleBullets=function(t){var e=this;c.each(this.series.iterator(),function(i){-1==e._tempSeries.indexOf(i)?(i.columnsContainer.hide(),i.bulletsContainer.hide(t)):(i.columnsContainer.show(),i.bulletsContainer.show(t),i.level<e.currentLevel&&i.bulletsContainer.hide(t))})},e.prototype.zoomToSeriesDataItem=function(t){this.zoomToChartDataItem(t.treeMapDataItem)},e.prototype.zoomToChartDataItem=function(t){var e=this;if(t&&t.children){this.xAxis.zoomToValues(t.x0,t.x1),this.yAxis.zoomToValues(t.y0,t.y1),this.currentLevel=t.level,this.currentlyZoomed=t,this.createTreeSeries(t);var i=this.xAxis.rangeChangeAnimation||this.yAxis.rangeChangeAnimation;i&&!i.isFinished()?(this._dataDisposers.push(i),i.events.once("animationended",function(){e.toggleBullets()})):this.toggleBullets()}},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),d.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("TreeMap chart"))},e.prototype.createDataItem=function(){return new y},Object.defineProperty(e.prototype,"maxLevels",{get:function(){return this.getPropertyValue("maxLevels")},set:function(t){this.setPropertyValue("maxLevels",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentLevel",{get:function(){return this.getPropertyValue("currentLevel")},set:function(t){this.setPropertyValue("currentLevel",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sorting",{get:function(){return this.getPropertyValue("sorting")},set:function(t){this.setPropertyValue("sorting",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new l.a},Object.defineProperty(e.prototype,"homeText",{get:function(){return this._homeText},set:function(t){this._homeText=t,this._homeDataItem&&(this._homeDataItem.name=this._homeText)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){if(e){if(d.hasValue(e.layoutAlgorithm)&&d.isString(e.layoutAlgorithm))switch(e.layoutAlgorithm){case"squarify":e.layoutAlgorithm=this.squarify;break;case"binaryTree":e.layoutAlgorithm=this.binaryTree;break;case"slice":e.layoutAlgorithm=this.slice;break;case"dice":e.layoutAlgorithm=this.dice;break;case"sliceDice":e.layoutAlgorithm=this.sliceDice;break;default:delete e.layoutAlgorithm}d.hasValue(e.navigationBar)&&!d.hasValue(e.navigationBar.type)&&(e.navigationBar.type="NavigationBar"),t.prototype.processConfig.call(this,e)}},e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.layoutItems(this.currentlyZoomed)},e.prototype.validateDataItems=function(){t.prototype.validateDataItems.call(this),this.layoutItems(this._homeDataItem),c.each(this.series.iterator(),function(t){t.validateRawData()}),this.zoomToChartDataItem(this._homeDataItem)},e.prototype.binaryTree=function(t){var e,i,a=t.children,n=a.length,r=new Array(n+1);for(r[0]=i=e=0;e<n;++e)r[e+1]=i+=a.getIndex(e).value;!function t(e,i,n,s,o,l,h){if(e>=i-1){var u=a.getIndex(e);return u.x0=s,u.y0=o,u.x1=l,void(u.y1=h)}var c=r[e],d=n/2+c,p=e+1,y=i-1;for(;p<y;){var g=p+y>>>1;r[g]<d?p=g+1:y=g}d-r[p-1]<r[p]-d&&e+1<p&&--p;var f=r[p]-c,m=n-f;if(l-s>h-o){var x=(s*m+l*f)/n;t(e,p,f,s,o,x,h),t(p,i,m,x,o,l,h)}else{var v=(o*m+h*f)/n;t(e,p,f,s,o,l,v),t(p,i,m,s,v,l,h)}}(0,n,t.value,t.x0,t.y0,t.x1,t.y1)},e.prototype.slice=function(t){for(var e,i=t.x0,a=t.x1,n=t.y0,r=t.y1,s=t.children,o=-1,l=s.length,h=t.value&&(r-n)/t.value;++o<l;)(e=s.getIndex(o)).x0=i,e.x1=a,e.y0=n,e.y1=n+=e.value*h},e.prototype.dice=function(t){for(var e,i=t.x0,a=t.x1,n=t.y0,r=t.y1,s=t.children,o=-1,l=s.length,h=t.value&&(a-i)/t.value;++o<l;)(e=s.getIndex(o)).y0=n,e.y1=r,e.x0=i,e.x1=i+=e.value*h},e.prototype.sliceDice=function(t){1&t.level?this.slice(t):this.dice(t)},e.prototype.squarify=function(t){for(var e,i,a,n,r,s,o,l,h,u,c=(1+Math.sqrt(5))/2,d=t.x0,p=t.x1,y=t.y0,g=t.y1,f=t.children,m=0,x=0,v=f.length,b=t.value;m<v;){i=p-d,a=g-y;do{n=f.getIndex(x++).value}while(!n&&x<v);for(r=s=n,u=n*n*(h=Math.max(a/i,i/a)/(b*c)),l=Math.max(s/u,u/r);x<v;++x){if(n+=e=f.getIndex(x).value,e<r&&(r=e),e>s&&(s=e),u=n*n*h,(o=Math.max(s/u,u/r))>l){n-=e;break}l=o}var A=this.dataItems.template.clone();A.value=n,A.dice=i<a,A.children=f.slice(m,x),A.x0=d,A.y0=y,A.x1=p,A.y1=g,A.dice?(A.y1=b?y+=a*n/b:g,this.dice(A)):(A.x1=b?d+=i*n/b:p,this.slice(A)),b-=n,m=x}},e.prototype.handleDataItemValueChange=function(t){this.invalidateDataItems()},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];c.each(this.series.iterator(),function(t){1==t.level&&(t.hiddenInLegend||e.push(t))}),t.dataFields.name="name",t.data=e}},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this._homeDataItem=void 0,this.series.clear(),this.navigationBar&&this.navigationBar.disposeData(),this.xAxis.disposeData(),this.yAxis.disposeData()},e}(n.a);r.b.registeredClasses.TreeMap=g}
21,330:function(t,e,i){"use strict";i.d(e,"b",function(){return g}),i.d(e,"a",function(){return f});var a=i(0),n=i(104),r=i(9),s=i(10),o=i(262),l=i(263),h=i(264),u=i(1),c=i(5),d=i(4),p=i(3),y=i(12),g=function(t){function e(){var e=t.call(this)||this;return e.className="XYChart3DDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),f=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=o.a,e._axisRendererY=l.a,e.className="XYChart3D",e.depth=30,e.angle=30;var i=e.seriesContainer.createChild(r.a);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e.columnsContainer=i,e.columnsContainer.mask=e.createChild(s.a),e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx3D",{get:function(){return d.cos(this.angle)*this.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy3D",{get:function(){return-d.sin(this.angle)*this.depth},enumerable:!0,configurable:!0}),e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.fixLayout()},e.prototype.fixLayout=function(){this.chartContainer.marginTop=-this.dy3D,this.chartContainer.paddingRight=this.dx3D,this.scrollbarX&&(this.scrollbarX.dy=this.dy3D,this.scrollbarX.dx=this.dx3D),this.scrollbarY&&(this.scrollbarY.dy=this.dy3D,this.scrollbarY.dx=this.dx3D),this.fixColumns()},e.prototype.fixColumns=function(){var t=this,e=1,i=0;c.each(this.series.iterator(),function(t){t instanceof h.a&&(!t.clustered&&i>0&&e++,t.depthIndex=e-1,i++)});var a=0;c.each(this.series.iterator(),function(i){if(i instanceof h.a){i.depth=t.depth/e,i.angle=t.angle,i.dx=t.depth/e*d.cos(t.angle)*i.depthIndex,i.dy=-t.depth/e*d.sin(t.angle)*i.depthIndex;var n=1;i.columns.each(function(t){t.zIndex=1e3*n+a-100*i.depthIndex,n++}),a++}}),this.maskColumns()},e.prototype.processConfig=function(e){if(e&&p.hasValue(e.series)&&p.isArray(e.series))for(var i=0,a=e.series.length;i<a;i++)e.series[i].type=e.series[i].type||"ColumnSeries3D";t.prototype.processConfig.call(this,e)},e.prototype.maskColumns=function(){var t=this.plotContainer.pixelWidth,e=this.plotContainer.pixelHeight,i=this.dx3D,a=this.dy3D,n=y.moveTo({x:0,y:0})+y.lineTo({x:i,y:a})+y.lineTo({x:t+i,y:a})+y.lineTo({x:t+i,y:e+a})+y.lineTo({x:t,y:e})+y.lineTo({x:t,y:e})+y.lineTo({x:0,y:e})+y.closePath(),r=this.columnsContainer;r&&r.mask&&(r.mask.path=n)},e}(n.a);u.b.registeredClasses.XYChart3D=f},331:function(t,e,i){"use strict";i.d(e,"b",function(){return c}),i.d(e,"a",function(){return d});var a=i(0),n=i(267),r=i(10),s=i(268),o=i(1),l=i(18),h=i(5),u=i(3),c=function(t){function e(){var e=t.call(this)||this;return e.className="OHLCSeriesDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),d=function(t){function e(){var e=t.call(this)||this;return e.className="OHLCSeries",e.applyTheme(),e}return a.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),u.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("OHLC Series"))},e.prototype.createDataItem=function(){return new c},e.prototype.validateCandlestick=function(t){var e=t.column;if(e){var i=e.openLine,a=e.highLowLine,n=e.closeLine;if(this.baseAxis==this.xAxis){var r=e.pixelWidth/2;a.x=r;t.getWorkingValue(this.yOpenField),t.getWorkingValue(this.yField);var s=this.yAxis.getY(t,this.yOpenField),o=this.yAxis.getY(t,this.yField),l=this.yAxis.getY(t,this.yLowField),u=this.yAxis.getY(t,this.yHighField),c=e.pixelY;i.y1=s-c,i.y2=s-c,i.x1=0,i.x2=r,n.y1=o-c,n.y2=o-c,n.x1=r,n.x2=2*r,a.y1=u-c,a.y2=l-c}if(this.baseAxis==this.yAxis){var d=e.pixelHeight/2;a.y=d;t.getWorkingValue(this.xOpenField),t.getWorkingValue(this.xField);var p=this.xAxis.getX(t,this.xOpenField),y=this.xAxis.getX(t,this.xField),g=this.xAxis.getX(t,this.xLowField),f=this.xAxis.getX(t,this.xHighField),m=e.pixelX;i.x1=p-m,i.x2=p-m,i.y1=d,i.y2=2*d,n.x1=y-m,n.x2=y-m,n.y1=0,n.y2=d,a.x1=f-m,a.x2=g-m}h.each(this.axisRanges.iterator(),function(e){var r=t.rangesColumns.getKey(e.uid);if(r){var s=r.openLine;s.x=i.x,s.y=i.y,s.x1=i.x1,s.x2=i.x2,s.y1=i.y1,s.y2=i.y2;var o=r.closeLine;o.x=n.x,o.y=n.y,o.x1=n.x1,o.x2=n.x2,o.y1=n.y1,o.y2=n.y2;var l=r.highLowLine;l.x=a.x,l.y=a.y,l.x1=a.x1,l.x2=a.x2,l.y1=a.y1,l.y2=a.y2}})}},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var a,n,o=t.createChild(s.a);o.shouldClone=!1,o.copyFrom(this.columns.template);var h=o.openLine,u=o.closeLine,c=o.highLowLine;this.baseAxis==this.yAxis?(a=e/3,n=i,c.y=i/2,c.x2=e,h.x=e/3*2,h.y2=i/2,u.x=e/3,u.y2=i,u.y1=i/2):(a=e,n=i/3,c.x=e/2,c.y2=i,h.y=i/3*2,h.x2=e/2,u.y=i/3,u.x2=e,u.x1=e/2),o.width=a,o.height=n,l.copyProperties(this,t,r.b),l.copyProperties(this.columns.template,o,r.b),o.stroke=this.riseFromOpenState.properties.stroke},e.prototype.createColumnTemplate=function(){return new s.a},e}(n.a);o.b.registeredClasses.OHLCSeries=d,o.b.registeredClasses.OHLCSeriesD
21ataItem=c},332:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return h});var a=i(0),n=i(170),r=i(333),s=i(1),o=i(4),l=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeriesDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),h=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeries",e.applyTheme(),e.startLocation=0,e.endLocation=1,e}return a.c(e,t),e.prototype.createDataItem=function(){return new l},e.prototype.addPoints=function(t,e,i,a,n){var r=this.startLocation,s=this.endLocation,l=this.xAxis.getX(e,i,r),h=this.yAxis.getY(e,a,r),u=this.xAxis.getX(e,i,s),c=this.yAxis.getY(e,a,s);if(l=o.fitToRange(l,-2e4,2e4),h=o.fitToRange(h,-2e4,2e4),u=o.fitToRange(u,-2e4,2e4),c=o.fitToRange(c,-2e4,2e4),!this.noRisers&&this.connect&&t.length>1){var d=t[t.length-1];this.baseAxis==this.xAxis&&(n?t.push({x:d.x,y:c}):t.push({x:l,y:d.y})),this.baseAxis==this.yAxis&&(n?t.push({x:u,y:d.y}):t.push({x:d.x,y:h}))}var p={x:l,y:h},y={x:u,y:c};n?t.push(y,p):t.push(p,y)},e.prototype.drawSegment=function(t,e,i){var a=!1;this.yAxis==this.baseAxis&&(a=!0),t.drawSegment(e,i,this.tensionX,this.tensionY,this.noRisers,a)},e.prototype.createSegment=function(){return new r.a},Object.defineProperty(e.prototype,"noRisers",{get:function(){return this.getPropertyValue("noRisers")},set:function(t){this.setPropertyValue("noRisers",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t,!0)},enumerable:!0,configurable:!0}),e}(n.a);s.b.registeredClasses.StepLineSeries=h,s.b.registeredClasses.StepLineSeriesDataItem=l},333:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var a=i(0),n=i(171),r=i(1),s=i(12),o=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeriesSegment",e}return a.c(e,t),e.prototype.drawSegment=function(t,e,i,a,n,r){if(t.length>0&&e.length>0)if(n){var o=s.moveTo(t[0]);if(t.length>0)for(var l=1;l<t.length;l++){var h=t[l];l/2==Math.round(l/2)?o+=s.moveTo(h):o+=s.lineTo(h)}this.strokeSprite.path=o,(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(o=s.moveTo(t[0])+s.polyline(t),o+=s.lineTo(e[0])+s.polyline(e),o+=s.lineTo(t[0]),o+=s.closePath(),this.fillSprite.path=o)}else{o=s.moveTo(t[0])+s.polyline(t);this.strokeSprite.path=o,(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(o+=s.lineTo(e[0])+s.polyline(e),o+=s.lineTo(t[0]),o+=s.closePath(),this.fillSprite.path=o)}},e}(n.a);r.b.registeredClasses.StepLineSeriesSegment=o},334:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return g});var a=i(0),n=i(76),r=i(10),s=i(269),o=i(1),l=i(12),h=i(4),u=i(18),c=i(3),d=i(5),p=i(16),y=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeriesDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),g=function(t){function e(){var e=t.call(this)||this;return e.className="RadarColumnSeries",e.applyTheme(),e}return a.c(e,t),e.prototype.createColumnTemplate=function(){return new s.a},e.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},e.prototype.validateDataElementReal=function(t){var e,i,a,n,s=this,o=this.chart.startAngle,l=this.chart.endAngle,y=this.yField,g=this.yOpenField,f=this.xField,m=this.xOpenField,x=this.getStartLocation(t),v=this.getEndLocation(t),b=(l-o)/(this.dataItems.length*(this.end-this.start));o+=x*b,l-=(1-v)*b;var A=this.columns.template.percentWidth;c.isNaN(A)&&(A=100);var P=h.round((v-x)*(1-A/100)/2,5);if(x+=P,v-=P,this.baseAxis==this.xAxis?(a=h.getDistance({x:this.yAxis.getX(t,y,t.locations[y],"valueY"),y:this.yAxis.getY(t,y,t.locations[y],"valueY")}),n=h.getDistance({x:this.yAxis.getX(t,g,t.locations[g],"valueY"),y:this.yAxis.getY(t,g,t.locations[g],"valueY")}),e=this.xAxis.getAngle(t,m,x,"valueX"),i=this.xAxis.getAngle(t,f,v,"valueX")):(a=h.getDistance({x:this.yAxis.getX(t,y,x,"valueY"),y:this.yAxis.getY(t,y,x,"valueY")}),n=h.getDistance({x:this.yAxis.getX(t,g,v,"valueY"),y:this.yAxis.getY(t,g,v,"valueY")}),e=this.xAxis.getAngle(t,f,t.locations[f],"valueX"),i=this.xAxis.getAngle(t,m,t.locations[m],"valueX")),i<e){var
21C=i;i=e,e=C}e=h.fitToRange(e,o,l),i=h.fitToRange(i,o,l);var _=t.column;_||(_=this.columns.create(),t.column=_,u.forceCopyProperties(this.columns.template,_,r.b),t.addSprite(_),this.setColumnStates(_));var I=_.radarColumn;I.startAngle=e;var D=i-e;D>0?(I.arc=D,I.radius=a,I.innerRadius=n,_.__disabled=!1,_.parent=this.columnsContainer,d.each(this.axisRanges.iterator(),function(i){var o=t.rangesColumns.getKey(i.uid);o||(o=s.columns.create(),u.forceCopyProperties(s.columns.template,o,r.b),u.copyProperties(i.contents,o,r.b),o.dataItem&&p.remove(o.dataItem.sprites,o),t.addSprite(o),s.setColumnStates(o),t.rangesColumns.setKey(i.uid,o));var l=_.radarColumn;l.startAngle=e,l.arc=D,l.radius=a,l.innerRadius=n,l.invalid&&l.validate(),o.__disabled=!1,o.parent=s.columnsContainer})):this.disableUnusedColumns(t)},e.prototype.getPoint=function(t,e,i,a,n,r,s){r||(r="valueX"),s||(s="valueY");var o=this.yAxis.getX(t,i,n,s),l=this.yAxis.getY(t,i,n,s),u=h.getDistance({x:o,y:l}),c=this.xAxis.getAngle(t,e,a,r);return{x:u*h.cos(c),y:u*h.sin(c)}},e.prototype.getMaskPath=function(){var t=this.yAxis.renderer;return l.arc(t.startAngle,t.endAngle-t.startAngle,t.pixelRadius,t.pixelInnerRadius)},e}(n.a);o.b.registeredClasses.RadarColumnSeries=g,o.b.registeredClasses.RadarColumnSeriesDataItem=y},336:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return c});var a=i(0),n=i(270),r=i(10),s=i(1),o=i(4),l=i(3),h=i(8),u=function(t){function e(){var e=t.call(this)||this;return e.className="PictorialStackedSeriesDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),c=function(t){function e(){var e=t.call(this)||this;return e.className="PictorialStackedSeries",e.topWidth=Object(h.c)(100),e.bottomWidth=Object(h.c)(100),e.valueIs="height",e.applyTheme(),e._maskSprite=e.slicesContainer.createChild(r.a),e._maskSprite.visible=!1,e._maskSprite.zIndex=100,e}return a.c(e,t),e.prototype.validateDataElements=function(){var e=this.slicesContainer.maxWidth,i=this.slicesContainer.maxHeight,a=this._maskSprite,n=a.measuredWidth/a.scale,r=a.measuredHeight/a.scale,s=o.min(i/r,e/n);s==1/0&&(s=1),s=o.max(.001,s);var l=o.min(e,n*s),h=o.min(i,r*s);a.scale=s,"vertical"==this.orientation?(this.topWidth=l+4,this.bottomWidth=l+4,this.pyramidHeight=h,a.x=e/2,a.y=h/2):(this.topWidth=h+4,this.bottomWidth=h+4,this.pyramidHeight=l,a.valign="middle",a.x=l/2,a.y=i/2),a.verticalCenter="middle",a.horizontalCenter="middle",this.slicesContainer.mask=this._maskSprite,t.prototype.validateDataElements.call(this)},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),l.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pyramid Series"))},e.prototype.createDataItem=function(){return new u},Object.defineProperty(e.prototype,"maskSprite",{get:function(){return this._maskSprite},enumerable:!0,configurable:!0}),e.prototype.initSlice=function(e){t.prototype.initSlice.call(this,e);var i=e.states.getKey("hover");i&&(i.properties.expandDistance=0)},e}(n.a);s.b.registeredClasses.PictorialStackedSeries=c,s.b.registeredClasses.PictorialStackedSeriesDataItem=u},337:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return h});var a=i(0),n=i(76),r=i(271),s=i(1),o=i(12),l=function(t){function e(){var e=t.call(this)||this;return e.className="ConeSeriesDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),h=function(t){function e(){var e=t.call(this)||this;return e.className="ConeSeries",e.applyTheme(),e}return a.c(e,t),e.prototype.createColumnTemplate=function(){return new r.a},e.prototype.getMaskPath=function(){var t=0,e=0,i=this.columns.getIndex(0);if(i)return this.baseAxis==this.xAxis?e=i.coneColumn.bottom.radiusY+1:t=i.coneColumn.bottom.radiusY+1,o.rectToPath({x:-t,y:0,width:this.xAxis.axisLength+t,height:this.yAxis.axisLength+e})},e.prototype.validateDataElementReal=function(e){if(t.prototype.validateDataElementReal.call(this,e),e.column){var i=e.column.coneColumn;i.fill=e.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical"}},e}(n.a);s.b.registeredClasses.ConeSeries=h,s.b.registeredClasses.ConeSeriesDataItem=l}
21,338:function(t,e,i){"use strict";i.d(e,"b",function(){return o}),i.d(e,"a",function(){return l});var a=i(0),n=i(76),r=i(274),s=i(1),o=function(t){function e(){var e=t.call(this)||this;return e.className="CurvedColumnSeriesDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),l=function(t){function e(){var e=t.call(this)||this;return e.className="CurvedColumnSeries",e.applyTheme(),e}return a.c(e,t),e.prototype.createColumnTemplate=function(){return new r.a},e.prototype.validateDataElementReal=function(e){var i=e.column;i&&(e.column.curvedColumn.fill=e.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical");t.prototype.validateDataElementReal.call(this,e)},e}(n.a);s.b.registeredClasses.CurvedColumnSeries=l,s.b.registeredClasses.CurvedColumnSeriesDataItem=o},339:function(t,e,i){"use strict";i.d(e,"b",function(){return o}),i.d(e,"a",function(){return l});var a=i(0),n=i(61),r=i(1),s=i(4),o=function(t){function e(){var e=t.call(this)||this;return e.className="DurationAxisDataItem",e.applyTheme(),e}return a.c(e,t),e}(n.b),l=function(t){function e(){var e=t.call(this)||this;return e._baseUnit="second",e.className="DurationAxis",e.setPropertyValue("maxZoomFactor",1e6),e.applyTheme(),e}return a.c(e,t),e.prototype.formatLabel=function(t,e){return this.durationFormatter.format(t,e||this.axisDurationFormat)},e.prototype.adjustMinMax=function(e,i,n,r,o){var l,h,u,c=this.baseUnit;if(this.setPropertyValue("maxPrecision",0),"millisecond"==c||"second"==c||"minute"==c||"hour"==c){r<=1&&(r=1),r=Math.round(r);var d=e,p=i;0===n&&(n=Math.abs(i));var y,g=[60,30,20,15,10,2,1],f=1;"hour"==c&&(g=[24,12,6,4,2,1]);try{for(var m=a.g(g),x=m.next();!x.done;x=m.next()){var v=x.value;if(n/v>r){f=v;break}}}catch(t){h={error:t}}finally{try{x&&!x.done&&(u=m.return)&&u.call(m)}finally{if(h)throw h.error}}var b=Math.ceil((i-e)/f/r),A=Math.log(Math.abs(b))*Math.LOG10E,P=Math.pow(10,Math.floor(A))/10,C=b/P;y=f*(b=s.closest(g,C)*P);this.durationFormatter.getValueUnit(y,this.baseUnit);e=Math.floor(e/y)*y,i=Math.ceil(i/y)*y,o&&((e-=y)<0&&d>=0&&(e=0),(i+=y)>0&&p<=0&&(i=0)),l={min:e,max:i,step:y}}else l=t.prototype.adjustMinMax.call(this,e,i,n,r,o);return this.axisDurationFormat=this.durationFormatter.getFormat(l.step,l.max,this.baseUnit),l},Object.defineProperty(e.prototype,"tooltipDurationFormat",{get:function(){return this._tooltipDurationFormat},set:function(t){this._tooltipDurationFormat=t},enumerable:!0,configurable:!0}),e.prototype.getTooltipText=function(t){var e=s.round(this.positionToValue(t),this._stepDecimalPlaces);return this.adapter.apply("getTooltipText",this.formatLabel(e,this.tooltipDurationFormat))},Object.defineProperty(e.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(t){this._baseUnit!=t&&(this._baseUnit=t,this.durationFormatter.baseUnit=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.baseUnit=e.baseUnit},e}(n.a);r.b.registeredClasses.DurationAxis=l,r.b.registeredClasses.DurationAxisDataItem=o},340:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var a=i(0),n=i(74),r=i(96),s=i(1),o=function(t){function e(){var e=t.call(this)||this;e.className="CircleBullet";var i=e.createChild(r.a);return i.shouldClone=!1,i.radius=5,i.isMeasured=!1,e.circle=i,e}return a.c(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.circle.copyFrom(e.circle)},e}(n.a);s.b.registeredClasses.CircleBullet=o},341:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var a=i(0),n=i(74),r=i(10),s=i(1),o=i(12),l=function(t){function e(){var e=t.call(this)||this;return e.className="ErrorBullet",e.errorLine=e.createChild(r.a),e.errorLine.shouldClone=!1,e.width=20,e.height=20,e.strokeOpacity=1,e.isDynamic=!0,e}return a.c(e,t),e.prototype.validatePosition=function(){t.prototype.validatePosition.call(this);var e=this.pixelWidth/2,i=this.pixelHeight/2;this.errorLine.path=o.moveTo({x:-e,y:-i})+o.lineTo({x:e,y:-i})+o.moveTo({x:0,y:-i})+o.lineTo({x:0,y:i})+o.moveTo({x:-e,y:i})+o.lineTo({x:e,y:i})},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.errorLine.copyFrom(e.errorLine)},e}(n.a);s.b.registeredClasses.ErrorBullet=l}
21,342:function(t,e,i){"use strict";i.d(e,"b",function(){return p}),i.d(e,"a",function(){return y});var a=i(0),n=i(56),r=i(73),s=i(11),o=i(275),l=i(133),h=i(1),u=i(13),c=i(8),d=i(5),p=function(t){function e(){var e=t.call(this)||this;return e.className="NavigationBarDataItem",e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this.properties.name},set:function(t){this.setProperty("name",t)},enumerable:!0,configurable:!0}),e}(r.a),y=function(t){function e(){var e=t.call(this)||this;e.className="NavigationBar";var i=new u.a,a=new o.a;a.valign="middle",a.paddingTop=8,a.paddingBottom=8,e.paddingBottom=2,e.links=new s.e(a),e._disposers.push(new s.c(e.links)),e._disposers.push(a),e._linksIterator=new d.ListIterator(e.links,function(){return e.links.create()}),e._linksIterator.createNewItems=!0;var n=new l.a;n.direction="right",n.width=8,n.height=12,n.fill=i.getFor("alternativeBackground"),n.fillOpacity=.5,n.valign="middle",n.marginLeft=10,n.marginRight=10,e.separators=new s.e(n),e._disposers.push(new s.c(e.separators)),e._disposers.push(n);var r=new o.a;return e.activeLink=r,r.copyFrom(a),r.valign="middle",r.fontWeight="bold",e.width=Object(c.c)(100),e.layout="grid",e.dataFields.name="name",e.applyTheme(),e}return a.c(e,t),e.prototype.validateDataElements=function(){this.removeChildren(),this._linksIterator.reset(),t.prototype.validateDataElements.call(this)},e.prototype.validateDataElement=function(e){var i;if(t.prototype.validateDataElement.call(this,e),e.index<this.dataItems.length-1){(i=this._linksIterator.getLast()).parent=this;var a=this.separators.create();a.parent=this,a.valign="middle"}else(i=this.activeLink).events.copyFrom(this.links.template.events),i.hide(0),i.show(),i.parent=this;i.dataItem=e,i.text=e.name,i.validate()},e}(n.a);h.b.registeredClasses.NavigationBar=y,h.b.registeredClasses.NavigationBarDataItem=p},76:function(t,e,i){"use strict";i.d(e,"b",function(){return A}),i.d(e,"a",function(){return P});var a=i(0),n=i(128),r=i(10),s=i(9),o=i(11),l=i(26),h=i(61),u=i(109),c=i(1),d=i(62),p=i(42),y=i(8),g=i(4),f=i(18),m=i(5),x=i(16),v=i(3),b=i(7),A=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeriesDataItem",e.locations.dateX=.5,e.locations.dateY=.5,e.locations.categoryX=.5,e.locations.categoryY=.5,e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"column",{get:function(){return this._column},set:function(t){this.setColumn(t)},enumerable:!0,configurable:!0}),e.prototype.setColumn=function(t){var e=this;if(this._column&&t!=this._column&&x.remove(this.sprites,this._column),this._column=t,t){var i=t.dataItem;i&&i!=this&&(i.column=void 0),this.addSprite(t),this._disposers.push(new b.b(function(){e.component.columns.removeValue(t)}))}},Object.defineProperty(e.prototype,"rangesColumns",{get:function(){return this._rangesColumns||(this._rangesColumns=new l.a),this._rangesColumns},enumerable:!0,configurable:!0}),e}(n.b),P=function(t){function e(){var e=t.call(this)||this;e._startLocation=0,e._endLocation=1,e.simplifiedProcessing=!1,e.className="ColumnSeries",e.width=Object(y.c)(100),e.height=Object(y.c)(100),e.strokeOpacity=0,e.fillOpacity=1,e.clustered=!0;var i=e.mainContainer.createChild(s.a);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e._columnsContainer=i,e.columns,e.columns.template.pixelPerfect=!1,e.tooltipColorSource=e.columns.template,e.applyTheme(),e}return a.c(e,t),Object.defineProperty(e.prototype,"columnsContainer",{get:function(){return this._columnsContainer},enumerable:!0,configurable:!0}),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),v.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Column Series"))},e.prototype.createDataItem=function(){return new A},e.prototype.validate=function(){var i=this,a=this.chart.series,n=0,r=0;m.each(a.iterator(),function(t){t instanceof e&&i.baseAxis==t.baseAxis&&((!t.stacked&&t.clustered||0===n)&&n++,t==i&&(r=n-1))});var s=this.baseAxis.renderer,o=s.cellStartLocation,l=s.cellEndLocation;
21this._startLocation=o+r/n*(l-o),this._endLocation=o+(r+1)/n*(l-o),t.prototype.validate.call(this),this.dataItems.each(function(t){(t.index<i.startIndex||t.index>=i.endIndex)&&i.disableUnusedColumns(t)})},e.prototype.validateDataElement=function(e){this.validateDataElementReal(e),t.prototype.validateDataElement.call(this,e)},e.prototype.getStartLocation=function(t){var e=this._startLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xOpenField]-.5:e+=t.locations[this.yOpenField]-.5,e},e.prototype.handleDataItemWorkingValueChange=function(e){this.simplifiedProcessing?this.validateDataElement(e):t.prototype.handleDataItemWorkingValueChange.call(this,e)},e.prototype.getEndLocation=function(t){var e=this._endLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xField]-.5:e+=t.locations[this.yField]-.5,e},e.prototype.validateDataElementReal=function(t){var e,i,a,n,s=this,o=this.getStartLocation(t),l=this.getEndLocation(t),c=this.xField,d=this.xOpenField,p=this.yField,y=this.yOpenField,x=this.columns.template,b=x.percentWidth,A=x.percentHeight,P=x.pixelWidth,C=x.pixelHeight,_=x.maxWidth,I=x.maxHeight,D=x.pixelPaddingLeft,T=x.pixelPaddingRight,S=x.pixelPaddingTop,V=x.pixelPaddingBottom,R=!1;if(this.xAxis instanceof u.a&&this.yAxis instanceof u.a){if(o=0,l=1,!v.isNaN(b))o+=k=g.round((l-o)*(1-b/100)/2,5),l-=k;if(e=this.xAxis.getX(t,d,o),i=this.xAxis.getX(t,c,l),v.isNaN(b))e+=k=(i-e-P)/2,i-=k;if(!v.isNaN(_))e+=k=(i-e-_)/2,i-=k;if(o=0,l=1,!v.isNaN(A))o+=k=g.round((1-A/100)/2,5),l-=k;if(a=this.yAxis.getY(t,y,o),n=this.yAxis.getY(t,p,l),v.isNaN(A))n+=k=(n-a-C)/2,a-=k;if(!v.isNaN(I))n+=k=(n-a-I)/2,a-=k;i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e),a=this.fixVerticalCoordinate(a),n=this.fixVerticalCoordinate(n)}else if(this.baseAxis==this.xAxis){if(!v.isNaN(b))o+=k=g.round((l-o)*(1-b/100)/2,5),l-=k;if(e=this.xAxis.getX(t,d,o),i=this.xAxis.getX(t,c,l),v.isNaN(b))e+=k=(i-e-P)/2,i-=k;if(!v.isNaN(_))e+=k=(i-e-_)/2,i-=k;var F=t.locations[y],O=t.locations[p];this.yAxis instanceof h.a&&(F=0,O=0),n=this.yAxis.getY(t,y,F),a=this.yAxis.getY(t,p,O),a=this.fixVerticalCoordinate(a),n=this.fixVerticalCoordinate(n),Math.abs(i-e)-D-T==0&&(R=!0)}else{var k;if(!v.isNaN(A))o+=k=g.round((1-A/100)/2,5),l-=k;if(a=this.yAxis.getY(t,y,o),n=this.yAxis.getY(t,p,l),v.isNaN(A))n-=k=(n-a-C)/2,a+=k;if(!v.isNaN(I))n-=k=(n-a-I)/2,a+=k;var w=t.locations[c],L=t.locations[d];this.xAxis instanceof h.a&&(w=0,L=0),i=this.xAxis.getX(t,c,w),e=this.xAxis.getX(t,d,L),i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e),Math.abs(a-n)-S-V==0&&(R=!0)}var X,Y=Math.abs(i-e),j=Math.abs(n-a),N=Math.min(e,i),M=Math.min(a,n);R?this.disableUnusedColumns(t):(t.column?X=t.column:(X=this.columns.create(),f.copyProperties(this,X,r.b),f.copyProperties(this.columns.template,X,r.b),t.addSprite(X),t.column=X,this.itemsFocusable()?(X.role="menuitem",X.focusable=!0):(X.role="listitem",X.focusable=!1),X.focusable&&(X.events.once("focus",function(e){X.readerTitle=s.populateString(s.itemReaderText,t)},void 0,!1),X.events.once("blur",function(t){X.readerTitle=""},void 0,!1)),X.hoverable&&(X.events.once("over",function(e){X.readerTitle=s.populateString(s.itemReaderText,t)},void 0,!1),X.events.once("out",function(t){X.readerTitle=""},void 0,!1))),X.width=Y,X.height=j,X.x=N,X.y=M,X.realX=e,X.realY=a,X.realWidth=i-e,X.realHeight=n-a,X.parent=this.columnsContainer,X.virtualParent=this,this.setColumnStates(X),X.invalid&&X.validate(),X.__disabled=!1,m.each(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i||(i=s.columns.create(),f.copyProperties(e.contents,i,r.b),t.addSprite(i),t.rangesColumns.setKey(e.uid,i)),i.parent=e.contents,i.width=Y,i.height=j,i.x=N,i.y=M,s.setColumnStates(i),i.invalid&&i.validate(),i.__disabled=!1}));t.itemWidth=Y,t.itemHeight=j},e.prototype.disableUnusedColumns=function(t){t.column&&(t.column.width=0,t.column.height=0,t.column.__disabled=!0),m.each(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i&&(i.width=0,i.height=0,i.__disabled=!0)})},e.prototype.setColumnStates=function(t){var e=t.dataItem;if(this.xAxis instanceof h.a||this.yAxis instanceof h.a){var i,a=void 0,n=void 0;this.baseAxis==this.yAxis?this.xOpenField&&this.xField&&(i=e.getValue(this.xOpenField),a=e.getValue(this.xField),n=e.getValue(this.xAxis.axisFieldName+"X","previousChange")):this.yOpenField&&this.yField&&(i=e.getValue(this.yOpenField),a=e.getValue(this.yField),n=e.getValue(this.yAxis.axisFieldName+"Y","previousChange")),a<i?(e.droppedFromOpen=!0,t.defaultState.copyFrom(this._dropFromOpenState),t.setState(this._dropFromOpenState,0)):(e.droppedFromOpen=!1,t.defaultState.copyFrom(this._riseFromOpenState),t.setState(this._riseFromOpenState,0)),n<0?(e.droppedFromPrevious=!0,t.defaultState.copyFrom(this._dropFromPreviousState),t.setState(this._dropFromPreviousState,0)):(e.droppedFromPrevious=!1,t.defaultState.copyFrom(this._riseFromPreviousState),t.setState(this._riseFromPreviousState,0))}},Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns||(this._columns=new o.e(this.createColumnTemplate()),this._disposers.push(new o.c(this._columns)),this._disposers.push(this._columns.template)),this._columns},enumerable:!0,configurable:!0}),e.prototype.createColumnTemplate=function(){return new d.a},Object.defineProperty(e.prototype,"clustered",{get:function(){return this.getPropertyValue("clustered")},set:function(t){this.setPropertyValue("clustered",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropFromOpenState",{get:function(){return this._dropFromOpenState||(this._dropFromOpenState=this.states.create("dropFromOpenState")),this._dropFromOpenState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropFromPreviousState",{get:function(){return this._dropFromPreviousState||(this._dropFromPreviousState=this.states.create("dropFromPreviousState")),this._dropFromPreviousState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"riseFromOpenState",{get:function(){return this._riseFromOpenState||(this._riseFromOpenState=this.states.create("riseFromOpenState")),this._riseFromOpenState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"riseFromPreviousState",{get:function(){return this._riseFromPreviousState||(this._riseFromPreviousState=this.states.create("riseFromPreviousState")),this._riseFromPreviousState},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(e){var i=this;if(t.prototype.updateLegendValue.call(this,e),this.legendDataItem){var a,n,r=this.legendDataItem.marker;
21e&&(a=e.droppedFromOpen?this._dropFromOpenState:this._riseFromOpenState,n=e.droppedFromPrevious?this._dropFromPreviousState:this._riseFromPreviousState),m.each(r.children.iterator(),function(t){e?(t.setState(n),t.setState(a)):(t.setState(i._riseFromPreviousState),t.setState(i._riseFromOpenState))})}},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var a=t.createChild(p.a);a.shouldClone=!1,f.copyProperties(this,a,r.b),a.copyFrom(this.columns.template),a.padding(0,0,0,0),a.width=e,a.height=i},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.columns.template.copyFrom(e.columns.template)},e.prototype.getBulletLocationX=function(e,i){return this.baseAxis==this.xAxis?(this._startLocation+this._endLocation)/2:t.prototype.getBulletLocationX.call(this,e,i)},e.prototype.getBulletLocationY=function(e,i){return this.baseAxis==this.yAxis?(this._startLocation+this._endLocation)/2:t.prototype.getBulletLocationY.call(this,e,i)},e.prototype.fixVerticalCoordinate=function(t){var e=this.columns.template.pixelPaddingBottom,i=-this.columns.template.pixelPaddingTop,a=this.yAxis.axisLength+e;return g.fitToRange(t,i,a)},e.prototype.fixHorizontalCoordinate=function(t){var e=this.columns.template.pixelPaddingLeft,i=this.columns.template.pixelPaddingRight,a=-e,n=this.xAxis.axisLength+i;return g.fitToRange(t,a,n)},e}(n.a);c.b.registeredClasses.ColumnSeries=P,c.b.registeredClasses.ColumnSeriesDataItem=A}},[319]); 22webpackJsonp([13],{595:function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=a(596);window.am4themes_animated=i.a},596:function(t,n,a){"use strict";var i=a(597);a.d(n,"a",function(){return i.a})},597:function(t,n,a){"use strict";
22var i=a(120),e=a(56),o=a(95),r=a(94),s=a(93),d=a(129),u=a(255),c=a(178),p=a(101),f=a(179),S=a(62),D=a(176),h=a(75),l=a(207),y=a(116);n.a=function(t){t instanceof i.a&&(t.transitionDuration=400),t instanceof e.a&&(t.rangeChangeDuration=700,t.interpolationDuration=700,t.sequencedInterpolation=!1,t instanceof u.a&&(t.sequencedInterpolation=!0),t instanceof c.a&&(t.sequencedInterpolation=!0)),t instanceof y.a&&(t.defaultState.transitionDuration=2e3,t.hiddenState.transitionDuration=1e3),t instanceof r.a&&(t.animationDuration=400,t.defaultState.transitionDuration=400,t.hiddenState.transitionDuration=400),t instanceof o.a&&(t.animationDuration=700),t instanceof s.a&&(t.defaultState.transitionDuration=1e3,t.hiddenState.transitionDuration=700,t.hiddenState.properties.opacity=1,t.showOnInit=!0),t instanceof p.a&&(t.hiddenState.properties.opacity=0),t instanceof d.a&&(t.hiddenState.properties.opacity=0),t instanceof f.a&&(t.defaultState.transitionDuration=800,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),t instanceof h.a&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),t instanceof l.a&&(t.hiddenState.transitionDuration=2e3),t instanceof S.a&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),t instanceof D.a&&(t.hiddenState.properties.opacity=0)}}},[595]); 23function setCookie(name, value, expires, path, domain, secure) {var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); document.cookie = curCookie;} 24function getCookie(name) { var dc = document.cookie; var prefix = name + "="; var begin = dc.indexOf("; " + prefix);if (begin == -1) {begin = dc.indexOf(prefix); if (begin !== 0) return null;} else begin += 2; var end = document.cookie.indexOf(";", begin); if (end == -1) end = dc.length; return unescape(dc.substring(begin + prefix.length, end));} var __utna = getCookie("__utna"); if (!__utna) {var now = new Date(); now.setTime(now.getTime() + 1 * 24 * 60 * 60 * 1000); setCookie("__utna", 1, now); } 25function loadTradingPairs(val) 26{ 27 var html = ''; 28 $.get(APP_URL + '/ajax-load-trading-paris/'+val, function(response) { 29 $.each(response, function(data){ 30 html += '<tr>'+ 31 '<td>'+response[data]['symbol']+'-'+response[data]['pair']+'</td><td>'+response[data]['volume24h_from']+'</td><td>'+response[data]['volume24h_to']+'</td>' 32 +'</tr>'; 33 }); 34 $('tbody.top-currencies-trading-paires').html(html); 35 }); 36} 37function loadGainersLoosers(val) 38{ 39 var html = ''; 40 $.get(APP_URL + '/ajax-load-gainers-loosers/'+val, function(response) { 41 $.each(response, function(data){ 42 var img = response[data]['image']; 43 img = img.replace("public/public", "public"); 44 html += '<tr>'+ 45 '<td><img alt="USD Coin icon" title="USD Coin" src="'+img+'" loading="lazy" width="20" height="20"> '+response[data]['symbol']+'</td><td class="text-right"> '+parseFloat(response[data]['price_usd']).toFixed(6)+'</td><td class="text-right">'+parseFloat(response[data]['percent_change_hour']).toFixed(2)+'</td><td class="text-right">'+parseFloat(response[data]['percent_change_day']).toFixed(2)+'</td><td class="text-right">'+parseFloat(response[data]['percent_change_week']).toFixed(2)+'</td><td class="text-right">'+response[data]['volume_usd_day']+'</td>' 46 +'</tr>'; 47 }); 48 if(val == 'gainers') { 49 $('#gainersloosers').html('Gainers'); 50 } else { 51 $('#gainersloosers').html("Loosers"); 52 } 53 $('tbody.top-currencies-gainersloosers-paires').html(html); 54 }); 55} 56function loadHistoricalData() 57{ 58 var coin = $('.top-trading-coins-histo :selected').val(); 59 var time_frame = $('.time-frame :selected').val(); 60 var currency = $('.top-currency-dropdown .item.selected').attr('rel'); 61 $.getJSON(APP_URL + '/ajax-load-historical-data/'+coin+'/'+time_frame+'/'+currency, function(res_data) { 62 am4core.useTheme(am4themes_animated); 63 var chart = am4core.create("price-area-chart", am4charts.XYChart); 64 chart.data = res_data; 65 var dateAxis = chart.xAxes.push(new am4charts.DateAxis()); 66 var valueAxis = chart.yAxes.push(new am4charts.ValueAxis()); 67 var series = chart.series.push(new am4charts.LineSeries()); 68 series.dataFields.dateX = "date"; 69 series.dataFields.valueY = "visits"; 70 series.tooltipText = "${valueY.value}";
71 chart.cursor = new am4charts.XYCursor(); 72 series.fillOpacity = 0.5; 73 series.fill = am4core.color("#C9F5F7"); 74 series.stroke = am4core.color("#7253A6"); 75 series.strokeWidth = 2; 76 series.minBulletDistance = 2; 77 78 var circleBullet = series.bullets.push(new am4charts.CircleBullet()); 79 circleBullet.circle.stroke = am4core.color("#7253A6"); 80 circleBullet.circle.strokeWidth = 1; 81 circleBullet.circle.fill = am4core.color("#7253A6"); 82 circleBullet.circle.radius = 3; 83 circleBullet.tooltipText = "${valueY.value}"; 84 }); 85}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.