if(!_.map_part){_.map_part=1;(function($){var uP=function(a,b,c){return a+c*(b-a)},Pea=function(a,b){return a==b?!0:b?a.ed==b.ed&&a.We==b.We&&a.Ad==b.Ad&&a.Me==b.Me&&a.Ee==b.Ee&&a.xd==b.xd:!1},Qea=function(a){var b=a.rj-a.qj;a=a.Xe-a.se;return b*b+a*a},vP=function(a,b){var c=$.Ic(a,b,void 0);return c&&a[c]},wP=function(a){switch(String(a).toLowerCase()){case "hammeraitoff":case "hammer-aitoff":case "hammer":return"hammer";case "wagner":case "wagner6":return"wagner6";case "undefined":case "null":case "none":case "wsg84":case "base":case "+proj=longlat +datum=WGS84 +no_defs":return"wsg84"}return a},
xP=function(a,b,c){$.rx.call(this,a,b);this.b=c||function(){return!0}},yP=function(){},zP=function(a){return 0<a?Math.sqrt(a):0},AP=function(){},BP=function(){},CP=function(){this.f=45*Math.PI/180;this.b=1/Math.tan(this.f)},DP=function(){},EP=function(){},FP=function(){},GP=function(){},HP=function(a,b){this.scale=a;this.angle=b},IP=function(){this.b=2;this.f=new HP(function(a){return Math.sqrt(2/(1+a))},function(a){return 2*Math.asin(a/2)})},JP=function(){},KP=function(){this.b=new HP(function(){return 1},
Math.asin)},LP=function(a){this.f=a;this.b=$.fl.proj4},MP=function(){},NP=function(){},OP=function(a){var b=a(0,0);return $.A(b)?(a=b[0],b=b[1],!$.ea(a)||(0,window.isNaN)(a)||!$.ea(b)||(0,window.isNaN)(b)?!1:!0):!1},QP=function(a){if($.D(a)){var b=new yP;var c=($.E(a.forward)?a.forward:null)||($.E(a)?a:null),d=$.E(a.invert)?a.invert:null;c&&OP(c)&&(b.forward=function(a,b){a=$.bb(a);b=$.bb(b);return c(a,b)},d&&OP(d)&&(b.gj=function(a,b){var c=d(a,-b);c[0]=$.cb(c[0]);c[1]=$.cb(c[1]);return c}));return b}switch(a){case "bonne":b=
new CP;break;case "eckert1":b=new DP;break;case "eckert3":b=new EP;break;case "fahey":b=new GP;break;case "hammer":b=new IP;break;case "aitoff":b=new AP;break;case "mercator":b=new JP;break;case "orthographic":b=new KP;break;case "robinson":b=new MP;break;case "wagner6":b=new NP;break;case "wsg84":b=new yP;break;case "equirectangular":b=new FP;break;case "august":b=new BP;break;default:try{$.fl.proj4?b=new LP(a):(b=new yP,PP||($.el(19,null,null,!0),PP=!0))}catch(e){b=new yP}}return b},RP=function(a){a=
String(a).toLowerCase();switch(a){case "undefined":case "null":case "none":case "wsg84":return!0;case "bonne":case "eckert1":case "eckert3":case "fahey":case "hammer":case "aitoff":case "mercator":case "orthographic":case "robinson":case "wagner6":case "equirectangular":case "august":return!1;default:return!$.fl.proj4}},SP=function(a){$.Uw.call(this,a);$.T(this.ua,[["zoomOnDoubleClick",0,0],["keyboardZoomAndMove",0,0],["drag",0,0],["copyFormat",0,0]])},TP=function(a,b,c,d){$.sA.call(this,a,window.NaN);
this.id=d;this.f=c;this.b=b},UP=function(a,b){$.tA.call(this,a,b)},VP=function(a,b,c,d,e){$.gB.call(this,a,b,c,d,e);this.Yr=[];this.nW=[];$.T(this.ua,[["startSize",1024,1,4294967295],["endSize",1024,1,4294967295],["curvature",1024,1025,4294967295]]);this.Lp=!0;this.XN={};this.WG={};this.VD={};this.fA={}},WP=function(a,b){a.g!=b&&(a.g=b,a.b||a.B(512,1))},XP=function(a){return a.b||a.g},YP=function(a,b){var c=!!(b&$.qo),d=!c&&!!(b&$.po),e=a.aa(),f=e.get("normal");f=$.n(f)?f.label:void 0;var h=e.get("hovered");
h=$.n(h)?h.label:void 0;var k=e.get("selected");k=$.n(k)?k.label:void 0;f=$.Ro(f,e.get("label"));h=d?$.Ro(h,e.get("hoverLabel")):null;k=c?$.Ro(k,e.get("selectLabel")):null;e=f&&$.n(f.position)?f.position:void 0;h=h&&$.n(h.position)?h.position:void 0;k=k&&$.n(k.position)?k.position:void 0;f=a.Sa().labels();var l=a.mb().labels(),m=a.selected().labels();return d||c?d?$.n(h)?h:$.n(l.i("position"))?l.i("position"):$.n(e)?e:f.i("position"):$.n(k)?k:$.n(m.i("position"))?m.i("position"):$.n(e)?e:f.i("position"):
$.n(e)?e:f.i("position")},ZP=function(a){a=$.ab(a);var b="center";a?90>a?b="left-bottom":90==a?b="left-center":180>a?b="left-top":180==a?b="center-top":270>a?b="right-top":270==a?b="right-center":270<a&&(b="right-bottom"):b="center-bottom";return b},Rea=function(a,b){$.n(b)&&!$.Ta(a.f,b)&&(a.f=b,a.B(256,1))},$P=function(a){return 24==a.Se.type},Sea=function(a,b,c){var d=b.Kd();var e=a.aa();c=YP(a,c);var f=a.Ai(c);c=b.ic("rotation");var h=b.ic("anchor");$.n(h)&&null!==h||(h=e.o("labelAnchor"));$.n(c)&&
d.fu(-c,h);var k=b.uc().value;f=f.value;var l=d.Gd;d.translate(-l.Ad+f.x-k.x,-l.xd+f.y-k.y);(k=b.Zg)&&"offset"!=e.o("positionMode")&&(b=b.rA||a.rA,e=a.Aa.gf.qg().clone(),b&&$.wb(e,$.Ib(b)),a=e.ed,b=e.Ad,e=e.xd,e=new $.Cb(a,0,0,a,b,e),$.Hb(e,$.Ib(d.Gd)),a=e.ed,$.Tm(a,1,1E-6)?e=b=0:(b=e.Ad,e=e.xd),k.jc(a,0,0,a,b,e));$.n(c)&&d.fu(c,h)},Tea=function(a,b,c){var d=b.Kd();var e=a.aa();var f=a.aa(),h=!!(c&$.qo);c=!h&&!!(c&$.po);var k=f.get("normal");k=$.n(k)?k.marker:void 0;var l=f.get("hovered");l=$.n(l)?
l.marker:void 0;var m=f.get("selected");m=$.n(m)?m.marker:void 0;k=$.Ro(k,f.get("marker"));l=$.Ro(l,f.get("hoverMarker"));m=$.Ro(m,f.get("selectMarker"));f=k&&$.n(k.position)?k.position:a.Sa().Eb().i("position");k=a.mb().Eb().i("position");l=l&&$.n(l.position)?l.position:$.n(k)?k:f;k=a.selected().Eb().i("position");m=m&&$.n(m.position)?m.position:$.n(k)?k:f;c=a.Ai(c?l:h?m:f);a=b.ic("rotation");if(!$.n(a)||null===a||(0,window.isNaN)(a))a=e.o("markerRotation");h=b.ic("anchor");$.n(h)&&null!==h||(h=
e.o("markerAnchor"));$.n(a)&&d.fu(-a,h);b=b.uc().value;e=c.value;c=d.Gd;d.translate((c?-c.Ad:0)+e.x-b.x,(c?-c.xd:0)+e.y-b.y);$.n(a)&&d.fu(a,h)},Uea=function(a){var b=a.aa(),c=b.la(),d=$.$w(a.state,c);var e=!!(d&$.qo);var f=!e&&!!(d&$.po);var h=a.Se.type;var k=b.o("shapes");if(k)if(a.hk()||22==h){h=b.o("x");var l=b.o("value");var m=aQ(a,b);if(!m)return;var p=m.x;m=m.y;var q=k.path||k.circle||k.negative;q=q.Gd;var r=(q?-q.Ad:0)+p-h;var t=(q?-q.xd:0)+m-l;$.Dc(k,function(a){a.translate(r,t)})}else if(21==
h){l=a.rA;h=a.Aa.gf.qg().clone();l&&$.wb(h,$.Ib(l));var u=h.ed;var v=h.Ad;var w=h.xd;$.Dc(k,function(a){a.jc(u,0,0,u,v,w)})}else 24==h&&(h=a.Aa.gf.qg(),(k=k.hatchFill)&&k.jc(h.ed,h.We,h.Me,h.Ee,h.Ad,h.xd));a.check(4194304)&&(q=b.get("normal"),q=$.n(q)?q.marker:void 0,m=b.get("hovered"),m=$.n(m)?m.marker:void 0,k=b.get("selected"),k=$.n(k)?k.marker:void 0,q=$.Ro(q,b.get("marker")),m=$.Ro(m,b.get("hoverMarker")),k=$.Ro(k,b.get("selectMarker")),h=a.Sa().Eb(),l=a.mb().Eb(),p=a.selected().Eb(),b=h.Vq(c),
q=q&&$.n(q.enabled)?q.enabled:null,m=m&&$.n(m.enabled)?m.enabled:null,k=k&&$.n(k.enabled)?k.enabled:null,(e=f||e?f?null===m?l&&null===l.enabled()?null===q?h.enabled():q:l.enabled():m:null===k?p&&null===p.enabled()?null===q?h.enabled():q:p.enabled():k:null===q?h.enabled():q)&&b&&b.Kd()&&b.uc()&&Tea(a,b,d));(e=(c=a.Sa().labels().Vd(c))&&c.Kd()&&c.uc()&&c.ic("enabled"))&&Sea(a,c,d)},cQ=function(a){var b=a.aa();var c=(c=b.o("features"))&&c.length?c[0]:null;if(!c||!$P(a))return{x:0,y:0};var d=(c=c.properties)&&
c.middleXYMode;var e=b.get("middleXYMode");d=$.n(e)?e:d?d:"relative";"relative"==d?a=bQ(a):"absolute"==d?(d=b.get("middle-x"),e=b.get("middle-y"),b=$.n(d)?d:c?c["middle-x"]:0,c=$.n(e)?e:c?c["middle-y"]:0,b=$.N(b),c=$.N(c),a=a.Aa.scale().transform(b,c),a={x:a[0],y:a[1]}):a={x:0,y:0};return a},aQ=function(a,b){var c=a.Aa.scale(),d=!1,e=a.ue(),f=b.get(e[0]),h=b.get(e[1]);e=b.get(e[2]);var k=$.wo(h)&&h==f;h=(0,window.parseFloat)(h);e=(0,window.parseFloat)(e);c=c.transform(h,e);(0,window.isNaN)(h)||(h=
c[0]);(0,window.isNaN)(e)||k||(e=c[1]);if((0,window.isNaN)(h)||(0,window.isNaN)(e))if((c=b.o("features"))&&c.length&&c[0].properties){if(b.o("regionId",f),f=bQ(a),(0,window.isNaN)(h)&&(h=f.x),(0,window.isNaN)(e)||k)e=f.y}else d=!0;b.o("missing",d);return d?null:{x:h,y:e}},bQ=function(a){var b=a.aa(),c=(a=(a=b.o("features"))&&a.length?a[0]:null)?a.properties:null,d=b.get("middle-x"),e=b.get("middle-y");b=$.n(d)?d:c&&$.n(c["middle-x"])?c["middle-x"]:.5;c=$.n(e)?e:c&&$.n(c["middle-y"])?c["middle-y"]:
.5;(a=a?a.fa:null)?(a=a.Qq(),a={x:a.left+a.width*b,y:a.top+a.height*c}):a=null;return a},Vea=function(a){this.map=a;this.status=0;this.timeout=null;this.Wx=(0,$.pa)(function(a){this.status=a;this.map.dispatchEvent("animationend");this.timeout=null},this)},eQ=function(a,b){if(a.status^b)if(a.timeout&&b)(0,window.clearTimeout)(a.timeout),a.timeout=null;else if(b){a.status=b;var c=dQ(a.map);a.map!=c&&a.map.ib(c);a.map.dispatchEvent("animationstart")}else a.timeout&&(0,window.clearTimeout)(a.timeout),
a.timeout=(0,window.setTimeout)(a.Wx,Wea,b);else a.status&&b&&a.timeout&&((0,window.clearTimeout)(a.timeout),a.timeout=null)},fQ=function(a,b,c,d,e,f){this.map=a;this.g=!!e;$.iz.call(this,b,c,d,f)},gQ=function(a,b,c,d,e,f,h){fQ.call(this,a,[],[],e,f,h);this.Yr=b;this.EI=c;this.Td=d;this.G=h},iQ=function(a,b){$.E(a.G)&&(b=a.G(b));var c=(0,$.pa)(a.QQ,{t:b,Td:a.Td,EI:a.EI,FS:a.map.scale()});a.Td.Eo.ratio(b);$.V(a.map.scale());a.map.scale().tg(!1);hQ(a.map,a.Yr,c,!1,!0);a.map.scale().Cg();a.map.scale().da(!0)},
jQ=function(a,b,c,d,e,f){fQ.call(this,a,b,c,d,e,f);this.G=!1},nQ=function(a,b){if(a.map.Yr()){var c=a.map.gf,d=c.Lj().round(),e=c.pb().round(),f=a.map.Cc,h=a.map.yc,k=a.map.dP/a.map.rB;a.map.ur||(1>k&&!$.rb(e,d)&&(h=kQ(a.map,d,e),f=h[1],h=h[2]),f<e.left?f=e.left:f>e.$a()&&(f=e.$a()),h<e.top?h=e.top:h>e.Ua()&&(h=e.Ua()));e=b/a.map.Fg();c.scale(e,e,f,h);a.map.Sp=b;c=c.Gd;a.map.scale().zoom=c.ed;lQ(a.map.scale(),c.Ad,c.xd);mQ(a.map)}},oQ=function(a,b,c){var d=a.map.gf.Gd;a.map.gf.jc(d.ed,0,0,d.Ee,b,
c);a.map.scale().zoom=d.ed;lQ(a.map.scale(),d.Ad,d.xd);mQ(a.map)},pQ=function(){$.Y.call(this);delete this.ma.enabled;this.Rb=this.Y=null;this.path=$.nk();this.path.Lp(!0);$.du(this,this.path);$.T(this.ua,[["stroke",0,1],["length",0,9],["position",0,9]])},qQ=function(a){switch(a.orientation()){case "top":a.b=a.na.fq();break;case "right":a.b=a.na.eq();break;case "bottom":a.b=a.na.iq();break;case "left":a.b=a.na.hq()}return a.b},rQ=function(a,b,c,d,e){switch(b){case "inside":b=$.$a(c,2*Math.PI)+1.5*
Math.PI;"top"==a.orientation()||"left"==a.orientation()?d[0]<e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c+.5*Math.PI):d[0]>e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c+.5*Math.PI);break;case "center":b=rQ(a,"outside",c,d,e);d[0]+=Math.cos(b)*a.length()/2;d[1]+=Math.sin(b)*a.length()/2;b+=Math.PI;break;default:b=$.$a(c-Math.PI/2,2*Math.PI),"top"==a.orientation()||"left"==a.orientation()?d[0]>e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c-1.5*Math.PI):d[0]<=e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c-1.5*Math.PI)}return b},sQ=function(a,
b){a.na.ob();b=(0,window.parseFloat)(b);var c=qQ(a);var d=a.i("position"),e=a.i("length");if(a.Hb()){var f=a.na.transform(b,c,null);c=a.na.transform(b+1,c,null)}else f=a.na.transform(c,b,null),c=a.na.transform(c,b+1,null);var h=Math.atan(-(f[1]-c[1])/(c[0]-f[0]));(0,window.isNaN)(h)&&(h=0);d=rQ(a,d,h,f,c);return[f[0],f[1],f[0]+Math.cos(d)*e,f[1]+Math.sin(d)*e,d]},tQ=function(a,b){var c=sQ(a,b);return new $.J(Math.min(c[0],c[2]),Math.min(c[1],c[3]),Math.abs(c[0]-c[2]),Math.abs(c[1]-c[3]))},uQ=function(){$.Y.call(this);
this.Qh=[];this.lk=[];this.Rb=this.Y=null;this.xe=980;$.T(this.ua,[["stroke",16,1],["overlapMode",980,9],["drawFirstLabel",980,9],["drawLastLabel",980,9]])},vQ=function(a,b){var c=(b?a.labels():a.kb()).i("position");if("center"==c)var d="center";else switch(a.ih){case "top":d="center-bottom";break;case "right":d="left-center";break;case "bottom":d="center-top";break;case "left":d="inside"==c?"left-center":"right-center"}return d},wQ=function(a,b){if(!a.nq||a.J(4)){var c=a.ja(),d=a.scale();$.n(b)&&
d.uf(b);d.ob();if(a.Hb()){var e=a.scale().Uw();var f=a.scale().Ty()}else e=a.scale().Vw(),f=a.scale().Uy();e=e.get();var h=f.get();f=a.title();var k=a.labels();var l=a.parent().labels(),m=k.dd("enabled");var p=void 0==m?l.enabled():m;l=a.kb();m=a.parent().kb();var q=l.dd("enabled");m=void 0==q?m.enabled():q;var r=a.Qa();r.na=d;q=a.tb();q.na=d;d=r.i("position");var t=$.Ao(d);d=q.i("position");d=$.Ao(d);var u;a.Qd();if(p)for($.Mu(k),k=0,p=e.length;k<p;k++)r=$.jn(a.hd(k,!0,e)),u?$.qb(u,r):u=r;else if(r.enabled()&&
0<=t)for(k=0,p=e.length;k<p;k++)t=tQ(r,(0,window.parseFloat)(e[k])),u?$.qb(u,t):u=t;if(m)for($.Mu(l),k=0,p=h.length;k<p;k++)r=$.jn(a.hd(k,!1,h)),u?$.qb(u,r):u=r;else if(q.enabled()&&0<=d)for(k=0,p=h.length;k<p;k++)t=tQ(q,h[k]),u?$.qb(u,t):u=t;if(f.enabled()){f.P()||f.P(a.P());$.V(f);$.Qv(f,a.ih);f.ja(c);c=f.gi();switch(a.ih){case "top":u.top-=c.height;u.height+=c.height;break;case "right":u.width+=c.width;break;case "bottom":u.height+=c.height;break;case "left":u.left-=c.width,u.width+=c.width}f.da(!1)}u||
(u=new $.J(0,0,0,0));a.nq=u;a.I(4)}return a.nq.clone()},xQ=function(a){return a.line?a.line:a.line=$.nk().td(!0).Lp(!0)},yQ=function(a){$.Yq.call(this);this.D=a;this.G=[];this.Rb=this.Y=null;this.I(4294967295);$.T(this.ua,[["stroke",0,1],["overlapMode",0,9],["drawFirstLabel",0,9],["drawLastLabel",0,9],["enabled",0,32768]])},zQ=function(){function a(a){a.enabled(null)}$.Y.call(this);this.Fa("defaultCallout");this.f=this.b=null;$.eu(this,this);var b={};$.T(b,[["labels",0,0]]);this.ca=new $.Yx(this,
b,$.Zl);this.ca.pa("labelsFactoryConstructor",$.$x);this.ca.pa("labelsAfterInitCallback",$.dy);this.xa=new $.Yx(this,b,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);this.xa.pa("labelsAfterInitCallback",a);this.Ca=new $.Yx(this,b,$.qo);this.Ca.pa("labelsFactoryConstructor",$.$x);this.Ca.pa("labelsAfterInitCallback",a);this.xe=448;$.T(this.ua,[["orientation",this.xe,9],["align",this.xe,9],["length",this.xe,9],["width",this.xe,9]])},AQ=function(a,b,c,d){var e=b.la(),f=b.Ue(),h=f.vc();h.select(e);
d=$.n(d)?d:$.$w(f.state,e);b.state=d;var k=f.aa(),l=!!(d&$.qo),m=!l&&!!(d&$.po),p=f.Sa().labels();b=(b=k.get("normal"))?b.label:void 0;b=$.Ro(b,k.get("label"));l?(l=(l=k.get("selected"))?l.label:void 0,l=$.Ro(l,k.get("selectLabel")),k=f.selected().labels()):m?(l=(l=k.get("hovered"))?l.label:void 0,l=$.Ro(l,k.get("hoverLabel")),k=f.mb().labels()):k=l=null;m=f.Ec(!0);m.b=f.Rd(e);c.lf(m);$.Nu(c,p);$.Ou(c,k);c.kd(b,l);$.Mu(p);b=!!(d&$.qo);d=!b&&!!(d&$.po);e=a.Sa().labels();d=b?a.selected().labels():d?
a.mb().labels():e;b=$.lN(e);b.enabled=e.enabled();e=$.lN(d);e.enabled=null===d.enabled()?b.enabled:d.enabled();c.kd(b,c.state("pointState")?$.Sc(c.state("pointState"),e):e);e=a.Ai(c.la());e.connectorPoint={value:cQ(f)};c.uc(e);a.Hb()?(c.width(a.b),c.height(a.f)):(c.width(a.f),c.height(a.b));switch(a.i("orientation")){case "top":c.anchor("center-bottom");break;case "right":c.anchor("left-center");break;case "bottom":c.anchor("center-top");break;case "left":c.anchor("right-center")}h.o("shapes")&&(a=
h.o("fill"),h=h.o("stroke"),c.background().enabled(!0).fill(a).stroke(h));return c},Xea=function(a){var b=a.Sa().labels();b.P()||b.P(a.P());b.ja(a.ja());b.clear();for(var c=0,d=a.g.length;c<d;c++){var e=a.g[c],f=b.add(null,null);AQ(a,e,f);if(f.ic("enabled")){f=f.uc();e=f.value.x;f=f.value.y;switch(a.i("orientation")){case "top":e-=a.b/2;f-=a.f;var h=a.b;var k=a.f;break;case "right":f-=a.b/2;h=a.f;k=a.b;break;case "bottom":e-=a.f/2;h=a.b;k=a.f;break;case "left":e-=a.f,f-=a.b/2,h=a.f,k=a.b}if(a.j){var l=
$.KB(a.j);l.moveTo(e,f).lineTo(e+h,f).lineTo(e+h,f+k).lineTo(e,f+k).close();l.Xea=c;l.stroke(null).fill($.Ul)}}}},BQ=function(){$.$z.call(this)},CQ=function(){$.Wy.call(this);this.na=this.g=null;$.T(this.ua,[["minorStroke",16]])},DQ=function(a){$.Yq.call(this);this.Fa("defaultGridSettings");this.Y=null;this.g=a;this.j=[];this.Ea=this.Rb=null;this.I(4294967295);$.T(this.ua,[["stroke",0,1],["minorStroke",0,1],["fill",0,1],["drawFirstLine",0,9],["drawLastLine",0,9],["enabled",0,32768],["zIndex",0,65536]])},
EQ=function(a,b){$.K(b,$.ys)||$.D(b)&&"range"==b.type?a.Ic($.ys):($.K(b,$.vs)||$.D(b)||null==a.Ea)&&a.Ic($.vs)},FQ=function(a,b,c){this.b=c||0;this.f=a;this.QR=b},GQ=function(a){$.Yq.call(this);this.na=a},HQ=function(){$.Yq.call(this);this.Fa("map.geoScale");this.Jk=window.NaN;this.Ja=Number.MAX_VALUE;this.ya=-Number.MAX_VALUE;this.Ra=Number.MAX_VALUE;this.Ga=-Number.MAX_VALUE;this.Eh=Number.MAX_VALUE;this.Pg=-Number.MAX_VALUE;this.Tf=Number.MAX_VALUE;this.Ge=-Number.MAX_VALUE;this.ab=this.eb=this.nb=
this.Ob=!0;this.O=0;this.ga=this.U=this.ka=this.ba=this.Nm=this.gq=this.cq=this.Om=window.NaN;this.xc=this.hc=1;this.Gc=!1;this.Jr=0;this.sw=this.ip=!1;this.xb=null},Yea=function(a,b){a.Td=b;a.Gc=!1},IQ=function(a,b,c,d,e){a.ka=b;a.ba=c;a.ga=d;a.U=e},lQ=function(a,b,c){a.Gk=b;a.Ml=c},JQ=function(a){a.b||a.ob();return a.b},KQ=function(a,b){a.ip=!1;a.sw=b},LQ=function(a){return $.n(a.hj)?a.hj:a.ip},MQ=function(a){return $.n(a.dh)?a.dh:a.sw},OQ=function(a,b,c){var d=Number.MAX_VALUE,e=Number.MAX_VALUE,
f=-Number.MAX_VALUE,h=-Number.MAX_VALUE;var k=a.precision();var l=k[0];var m=k[1];if(c){c=a.f;l=a.j;if(a.Td&&RP(a.Td["default"].zg))c=NQ(a,b,c),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]);else for(k=c;k<l;)c=NQ(a,b,k),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=m;c=NQ(a,b,l)}else{m=a.g;var p=a.D;if(a.Td&&RP(a.Td["default"].zg))c=NQ(a,m,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]);else if(m>p){for(k=m;180>k;)c=NQ(a,k,b),c[0]<
d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=l;for(k=-180;k<m;)c=NQ(a,k,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=l}else for(k=m;k<p;)c=NQ(a,k,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=l;c=NQ(a,p,b)}c[0]<d&&(d=c[0]);c[0]>f&&(f=c[0]);c[1]<e&&(e=c[1]);c[1]>h&&(h=c[1]);return{Om:d,gq:e,cq:f,Nm:h}},PQ=function(a,b,c){a.ob();if(!a.xb)return[window.NaN,window.NaN];b=$.N(b);c=$.N(c);b=(b-a.Om)*a.ratio;c=(-c+a.Nm)*a.ratio;
return[LQ(a)?a.xb.$a()-a.G-b:a.xb.left+a.G+b,MQ(a)?a.xb.Ua()-a.N-c:a.xb.top+a.N+c]},QQ=function(a,b,c){a.ob();if(!a.xb)return[window.NaN,window.NaN];b=$.N(b);c=$.N(c);return[+(LQ(a)?a.xb.$a()-a.G-b:b-a.xb.left-a.G)/a.ratio+a.Om,-(MQ(a)?a.xb.Ua()-a.N-c:c-a.xb.top-a.N)/a.ratio+a.Nm]},RQ=function(a,b,c,d){a=a.Td["default"];b=(d.Eo||a.Eo).forward(b,c);b[0]*=d.scale||a.scale;b[1]*=d.scale||a.scale;b[0]+=d.$h||0;b[1]+=d.Ti||0;return[b[0],b[1]]},SQ=function(a,b,c){var d,e=!1;var f=0;for(d=c.length-1;f<c.length;d=
f++){var h=c[f][1]>b;var k=c[d][1]>b;h!==k&&a<(c[d][0]-c[f][0])*(b-c[f][1])/(c[d][1]-c[f][1])+c[f][0]&&(e=!e)}return e},TQ=function(a,b,c){if(!a.Td)return null;var d=window.NaN,e=window.NaN,f=$.Ic(a.Td,function(a,f){if("default"!=f&&a.It){var h=RQ(this,b,c,a),k=h[0];h=h[1];var p=a.It;if(p=$.A(p)?SQ(k,h,p):k>=p.left&&k<=p.left+p.width&&h<=p.top&&h>=p.top-p.height)d=k,e=h;return p}return!1},a)||"default";return[a.Td[f],d,e]},UQ=function(a,b,c,d){if(!a.Td)return[];a.ob();if($.n(d))d=null!==d&&d in a.Td?
a.Td[d]:a.Td["default"];else{var e=TQ(a,b,c);d=e[0];var f=e[1];e=e[2]}(0,window.isNaN)(f)&&(b=RQ(a,b,c,d),f=b[0],e=b[1]);if(!a.xb||(0,window.isNaN)(f)||(0,window.isNaN)(e))return[window.NaN,window.NaN];f=(+f-a.Om)*a.ratio;b=(-e+a.Nm)*a.ratio;return[LQ(a)?a.xb.$a()-a.G-f:a.xb.left+a.G+f,MQ(a)?a.xb.Ua()-a.N-b:a.xb.top+a.N+b]},VQ=function(a,b,c,d){if(!a.Td)return[];var e=a.Td["default"],f;$.n(d)?f=d in a.Td?d:"default":f=$.Ic(a.Td,function(a,d){if("default"!=d&&a.It){var e=a.It;return $.A(e)?SQ(b,c,
e):b>=e.left&&b<=e.left+e.width&&c<=e.top&&c>=e.top-e.height}return!1},a)||"default";a=a.Td[f];d=a.Eo||e.Eo;b-=a.$h||e.$h||0;c-=a.Ti||e.Ti||0;f=a.scale||e.scale;return a.zg||e.zg?d.gj(b/f,c/f):[b/f,c/f]},NQ=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return[window.NaN,window.NaN];var d=window.NaN,e=window.NaN;if($.n(null))var f=a.Td["default"];else e=TQ(a,b,c),f=e[0],d=e[1],e=e[2];(0,window.isNaN)(d)?(a=a.Td["default"],b=(f.Eo||a.Eo).forward(b,c),b[0]*=f.scale||a.scale,b[1]*=f.scale||
a.scale,-620.8680523857!=f.$h&&(b[0]+=f.$h||0,b[1]+=f.Ti||0),f=[b[0],b[1]]):f=[d,e];return f},XQ=function(a,b){this.f=b||$.Ma;this.b=a;for(var c=Math.floor(a.length/2);c--;)WQ(this,c)},WQ=function(a,b){var c=2*b+1,d=2*b+2,e=b;c<=a.b.length&&0<a.f(a.b[c],a.b[e])&&(e=c);d<=a.b.length&&0<a.f(a.b[d],a.b[e])&&(e=d);e!=b&&(YQ(a,b,e),WQ(a,e))},YQ=function(a,b,c){var d=a.b[b];a.b[b]=a.b[c];a.b[c]=d},ZQ=function(){},$Q=function(a,b,c){var d;if(c&&!c["middle-x"]&&!c["middle-y"]){var e=vP(c,function(a,b){return/middle-x/.test(b)});
var f=vP(c,function(a,b){return/middle-y/.test(b)})||.5;c["middle-x"]=e||.5;c["middle-y"]=f}switch(b.type){case "Point":return{coordinates:[b.coordinates[0],b.coordinates[1]],properties:c};case "MultiPoint":var h=[];a=b.coordinates;b=0;for(e=a.length;b<e;b++)h.push(a[0],a[1]);return{coordinates:h,properties:c};case "LineString":h=[];a=b.coordinates;b=0;for(e=a.length;b<e;b++)f=a[b],h.push(f[0],f[1]);return{paths:[h],properties:c};case "MultiLineString":var k=[];var l=b.coordinates;b=0;for(e=l.length;b<
e;b++){h=[];a=l[b];var m=0;for(d=a.length;m<d;m++)f=a[m],h.push(f[0],f[1]);k.push(h)}return{paths:k,properties:c};case "Polygon":l=[];var p=[];var q=b.coordinates;b=0;for(e=q.length;b<e;b++){0!=b&&(h=[]);a=q[b];m=0;for(d=a.length;m<d;m++)f=a[m],b?h.push(f[0],f[1]):l.push(f[0],f[1]);h&&p.push(h)}return{polygones:[{outerPath:l,holes:p}],properties:c};case "MultiPolygon":k=[];var r=b.coordinates;b=0;for(e=r.length;b<e;b++){l=[];p=[];q=r[b];m=0;for(d=q.length;m<d;m++){0!=m&&(h=[]);a=q[m];for(var t=0,
u=a.length;t<u;t++)f=a[t],m?h.push(f[0],f[1]):l.push(f[0],f[1]);h&&p.push(h)}q={outerPath:l,holes:p};k.push(q)}return{polygones:k,properties:c};case "GeometryCollection":if(b.geometries){h=[];m=b.geometries;b=0;for(e=m.length;b<e;b++)if(f=$Q(a,m[b],m[b].properties),$.n(f))h.push(f);else break;return{geometries:h,properties:c||null}}$.cl(10,"GeometryCollection object missing 'geometries' member.");break;default:$.cl(10,"Geometry object must be one of 'Point', 'LineString', 'Polygon' or 'MultiPolygon'.")}return null},
Zea=function(a,b,c){var d={type:"FeatureCollection",crs:b.crs||{type:"name",properties:{name:c["default"]["src-code"]}},features:[],"ac-tx":{}};$.Dc(c,function(a,b){var c={};$.n(a.zg)&&(c.crs=a.zg);$.n(a.scale)&&(c.scale=a.scale);$.n(a.$h)&&(c.xoffset=a.$h);$.n(a.Ti)&&(c.yoffset=a.Ti);$.n(a.It)&&(c.heatZone=a.It.F());d["ac-tx"][b]=c});a=d.features;for(c=0;c<b.length;c++){for(var e=b[c],f={type:"Feature",properties:e.properties,geometry:{type:"MultiPolygon",coordinates:[]}},h=0;h<e.polygones.length;h++){for(var k=
[],l=e.polygones[h],m=0;m<l.outerPath.length-1;m+=2)k.push([l.outerPath[m],l.outerPath[m+1]]);f.geometry.coordinates.push([k])}a.push(f)}return d},$ea=function(a){this.f=a;this.b=0;this.g=this.f.length;this.j=null;aR(this)},bR=function(a){a=a.f[a.b];return" ">=a&&(" "===a||"\n"===a||"\t"===a||"\r"===a||"\f"===a)},aR=function(a){for(;a.b<a.g&&bR(a);)a.b+=1;return a.b<a.g},cR=function(a){a.b<a.g&&!bR(a)&&","!==a.f[a.b]||!(aR(a)&&a.b<a.g)||","!==a.f[a.b]||(a.b+=1,aR(a))},dR=function(a){var b=0,c=0,d=
[],e=1,f=1,h=a.b;aR(a);a.b<a.g&&"+"===a.f[a.b]?a.b+=1:a.b<a.g&&"-"===a.f[a.b]&&(a.b+=1,e=-1);if(a.b===a.g||("0">a.f[a.b]||"9"<a.f[a.b])&&"."!==a.f[a.b])return null;for(var k=a.b;a.b<a.g&&"0"<=a.f[a.b]&&"9">=a.f[a.b];)a.b+=1;if(a.b!==k)for(var l=a.b-1,m=1;l>=k;)c+=m*(a.f[l]-0),--l,m*=10;if(a.b<a.g&&"."===a.f[a.b]){a.b+=1;if(a.b>=a.g||"0">a.f[a.b]||"9"<a.f[a.b])return null;for(;a.b<a.g&&"0"<=a.f[a.b]&&"9">=a.f[a.b];)d.push(a.f[a.b]-0),a.b+=1}if(a.b!==h&&a.b+1<a.g&&("e"===a.f[a.b]||"E"===a.f[a.b])&&
"x"!==a.f[a.b+1]&&"m"!==a.f[a.b+1]){a.b+=1;"+"===a.f[a.b]?a.b+=1:"-"===a.f[a.b]&&(a.b+=1,f=-1);if(a.b>=a.g||"0">a.f[a.b]||"9"<a.f[a.b])return null;for(;a.b<a.g&&"0"<=a.f[a.b]&&"9">=a.f[a.b];)b*=10,b+=a.f[a.b]-0,a.b+=1}c+=(0,window.parseFloat)("0."+d.join(""));c*=e;b&&(c*=Math.pow(10,f*b));if(h===a.b)return null;cR(a);return c},eR=function(a){if(a.b>=a.g)return null;var b=a.f[a.b];a.b+=1;if("0"===b)b=0;else if("1"===b)b=1;else return null;cR(a);return b},fR=function(){},kR=function(a,b,c,d){var e,
f=$.Ze(b),h=[];var k=0;for(e=f.length;k<e;k++){var l=f[k];if($.bf(l)){var m=l.tagName.toLowerCase();var p=!c||"g"==m||"svg"==m&&c?{}:null;b=gR(a,l,p,d);if(p){if("g"==m||"svg"==m){var q=hR(l,d),r=iR(a,l,"group");l=jR(l);"g"==m?(m=r.id,$.n(m)?l.id=m:$.n(l.id)&&(m=l.id),p.tx=q,p.properties=l,p.attrs=r,p.id=m):(p.properties={},p.attrs={});p.type="group";p.features=b}else p=b;p&&h.push(p)}else c?b&&($.A(b)?h.push.apply(h,b):h.push(b)):("g"==m||"svg"==m)&&b&&h.push.apply(h,b)}}return h},gR=function(a,b,
c,d){var e=b.getAttribute("id");if(e&&a.b[e])var f=$.Kl(a.b[e]);else{var h=lR(a,b);switch(b.tagName.toLowerCase()){case "rect":var k=+b.getAttribute("x");var l=+b.getAttribute("y");var m=+b.getAttribute("width");var p=+b.getAttribute("height");f=mR(a,b,[{type:"M",values:[k,l]},{type:"L",values:[k+m,l]},{type:"L",values:[k+m,l+p]},{type:"L",values:[k,l+p]},{type:"Z"}],d);break;case "circle":var q=+b.getAttribute("cx");var r=+b.getAttribute("cy");var t=+b.getAttribute("r");var u=q-t,v=nR(a,[{type:"M",
values:[u,r]},{type:"A",values:[t,t,0,1,0,u+2*t,r]},{type:"A",values:[t,t,0,1,0,u,r]},{type:"Z"}]);f=mR(a,b,v,d);break;case "ellipse":var w=+b.getAttribute("cx");var x=+b.getAttribute("cy");var y=+b.getAttribute("rx");var B=+b.getAttribute("ry");var G=w-y,C=nR(a,[{type:"M",values:[G,x]},{type:"A",values:[y,B,0,1,0,G+2*y,x]},{type:"A",values:[y,B,0,1,0,G,x]},{type:"Z"}]);f=mR(a,b,C,d);break;case "polygon":for(var I=b.getAttribute("points").trim().split(/\s+|,/),P=[],Q=0,S=I.length-1;Q<S;Q+=2)Q?P.push({type:"L",
values:[+I[Q],+I[Q+1]]}):P.push({type:"M",values:[+I[Q],+I[Q+1]]});P.push({type:"Z"});f=mR(a,b,P,d);break;case "polyline":for(var sa=b.getAttribute("points").trim().split(/\s+|,/),va=[],Oa=0,vb=sa.length-1;Oa<vb;Oa+=2)Oa?va.push({type:"L",values:[+sa[Oa],+sa[Oa+1]]}):va.push({type:"M",values:[+sa[Oa],+sa[Oa+1]]});f=mR(a,b,va,d);break;case "path":var mc=b.getAttribute("d")||"";if(mc&&0!==mc.length){var kb=new $ea(mc),Qb=[];if(kb.b<kb.g){var Gb=kb.f[kb.b];var ic=oR[Gb]?oR[Gb]:null;var ie="M"===ic||
"m"===ic}else ie=!0;if(ie)for(;kb.b<kb.g;){b:{var Rb=kb,Fc=Rb.f[Rb.b],Wb=oR[Fc]?oR[Fc]:null;if(null===Wb){if(null===Rb.j){var Ie=null;break b}("+"===Fc||"-"===Fc||"."===Fc||"0"<=Fc&&"9">=Fc)&&"Z"!==Rb.j?"M"===Rb.j?Wb="L":"m"===Rb.j?Wb="l":Wb=Rb.j:Wb=null;if(null===Wb){Ie=null;break b}}else Rb.b+=1;Rb.j=Wb;var dd=null,Lc=Wb.toUpperCase();"H"===Lc||"V"===Lc?dd=[dR(Rb)]:"M"===Lc||"L"===Lc||"T"===Lc?dd=[dR(Rb),dR(Rb)]:"S"===Lc||"Q"===Lc?dd=[dR(Rb),dR(Rb),dR(Rb),dR(Rb)]:"C"===Lc?dd=[dR(Rb),dR(Rb),dR(Rb),
dR(Rb),dR(Rb),dR(Rb)]:"A"===Lc?dd=[dR(Rb),dR(Rb),dR(Rb),eR(Rb),eR(Rb),dR(Rb),dR(Rb)]:"Z"===Lc&&(aR(Rb),dd=[]);Ie=null===dd||0<=dd.indexOf(null)?null:{type:Wb,values:dd}}if(null===Ie)break;else Qb.push(Ie)}var hb=Qb}else hb=[];var zc=nR(a,afa(hb));f=mR(a,b,zc,d);break;case "line":var Je=+b.getAttribute("x1"),nh=+b.getAttribute("x2"),je=+b.getAttribute("y1"),oh=+b.getAttribute("y2");f=mR(a,b,[{type:"M",values:[Je,je]},{type:"L",values:[nh,oh]}],d);break;case "text":var ve=hR(b,d),Yd=jR(b),we=iR(a,b,
"element");Yd.id=we.id;var af=b.cloneNode(!0);ve.sv&&af.setAttribute("transform",ve.sv.toString());af.removeAttribute("data-ac-wrapper-id");var rd=we.id;$.n(rd)?Yd.id=rd:$.n(Yd.id)&&(rd=Yd.id);f={type:"text",text:b,cloneNode:af,tx:ve,id:rd,properties:Yd,attrs:we};break;case "image":var ph=hR(b,d),ld=jR(b),Gg=iR(a,b,"element"),Kg=+b.getAttribute("x"),cm=+b.getAttribute("y"),xe=+b.getAttribute("width"),ke=+b.getAttribute("height");ld.id=Gg.id;var sf=b.cloneNode(!0);ph.sv&&sf.setAttribute("transform",
ph.sv.toString());sf.removeAttribute("data-ac-wrapper-id");var If=Gg.id;$.n(If)?ld.id=If:$.n(ld.id)&&(If=ld.id);f={type:"image",sourceNode:b,cloneNode:sf,bounds:$.gn(Kg,cm,xe,ke),tx:ph,id:If,properties:ld,attrs:Gg};break;case "use":f=lR(a,b);break;case "clippath":for(var zj=hR(b,d),dm=kR(a,b,!0,zj.sv),Mc=[],Ui=0,vi=dm.length;Ui<vi;Ui++)Mc.push.apply(Mc,dm[Ui].commands);f={clippath:mR(a,b,Mc,d)};break;case "lineargradient":var $g={};if(h){var wi=h.gradientUnits;var ye=h.transform;var Jf=+h.x1;var Aj=
+h.y1;var Bj=+h.x2;var Vi=+h.y2;var ze=(0,window.parseFloat)(h.opacity)}var em=b.getAttribute("gradientUnits")||wi,Cj=hR(b).self||ye,Wi=+b.getAttribute("x1"),Gd=+b.getAttribute("y1"),Xh=+b.getAttribute("x2"),Xi=+b.getAttribute("y2"),ah=(0,window.parseFloat)(b.getAttribute("opacity")),Yh=$.n(Wi)?Wi:$.n(Jf)?Jf:0,rh=$.n(Gd)?Gd:$.n(Aj)?Aj:0,bh=$.n(Xh)?Xh:$.n(Bj)?Bj:0,Ke=$.n(Xi)?Xi:$.n(Vi)?Vi:0,uk=(0,window.isNaN)(ah)?$.n(ze)?ze:1:ah;Yh=$.Qm(Yh,7);rh=$.Qm(rh,7);bh=$.Qm(bh,7);Ke=$.Qm(Ke,7);var vg=bh-Yh,
Kf=Ke-rh;$g.mode=em&&"userspaceonuse"==em.toLowerCase()?$.gn(Math.min(Yh,bh),Math.min(rh,Ke),Math.abs(vg),Math.abs(Kf)):!1;var Cd=Math.round($.cb(Math.atan(Kf/vg)));0<vg&&0>Kf?Cd=Math.abs(Cd):0>=vg&&0>=Kf?Cd=180-Math.abs(Cd):0>=vg&&0<Kf?Cd=180+Math.abs(Cd):0<vg&&0<Kf&&(Cd=360-Math.abs(Cd));$g.opacity=uk;var Qd=$.Ze(b);$g.keys=Qd.length?pR(b):h?h.keys:[];$g.angle=Cd;$g.transform=Cj;f=$g;break;case "radialgradient":var md={};if(h){var wg=h.gradientUnits;var Zh=h.gradientTransform;var $h=+h.r;var Nb=
+h.cx;var Rd=+h.cy;var ai=+h.fx;var Lf=+h.fy;var Ae=(0,window.parseFloat)(h.opacity)}var Zd=b.getAttribute("gradientUnits")||wg,sh=hR(b).self||Zh,ch=+b.getAttribute("r"),xi=+b.getAttribute("cx"),bi=+b.getAttribute("cy"),dh=+b.getAttribute("fx"),Dj=+b.getAttribute("fy"),Yi=(0,window.parseFloat)(b.getAttribute("opacity")),fm=$.n(ch)?ch:$.n($h)?$h:0,Ej=$.n(xi)?xi:$.n(Nb)?Nb:0,rq=$.n(bi)?bi:$.n(Rd)?Rd:0,xu=$.n(dh)?dh:$.n(ai)?ai:0,gm=$.n(Dj)?Dj:$.n(Lf)?Lf:0,hm=(0,window.isNaN)(Yi)?$.n(Ae)?Ae:1:Yi;if(Zd&&
"userspaceonuse"==Zd.toLowerCase()){var vk=2*fm,im=$.gn(Ej-fm,rq-fm,vk,vk);md.cx=.5;md.cy=.5;md.fx=(xu-im.left)/vk;md.fy=(gm-im.top)/vk;md.mode=im}else md.cx=Ej,md.cy=rq,md.fx=xu,md.fy=gm;md.opacity=hm;md.transform=sh;var yu=$.Ze(b);md.keys=yu.length?pR(b):h?h.keys:[];f=md;break;case "pattern":var Zi={},sq=+b.getAttribute("x"),dB=+b.getAttribute("y"),th=+b.getAttribute("width"),gs=+b.getAttribute("height");Zi.type="pattern";Zi.bounds=$.gn(sq,dB,th,gs);Zi.properties=jR(b);Zi.attrs=iR(a,b,"group");
Zi.features=kR(a,b,Zi);Zi.properties.id=Zi.id=Zi.attrs.id;f=Zi;break;case "defs":case "desc":break;default:var hs=hR(b,d);f=kR(a,b,c,hs.sv)}f&&e&&(a.b[e]=f)}return f},lR=function(a,b){var c=b.getAttributeNS("http://www.w3.org/1999/xlink","href"),d=null;c&&(c=c.substring(1,c.length),d=$.Kl(a.b[c]),d||(c=a.g.getElementById(c))&&(d=gR(a,c)));return d},pR=function(a){if(!a)return null;if((a=$.Ze(a))&&a.length){var b=[];for(var c=0,d=a.length;c<d;c++){var e=a[c],f=$.xf(e,"stop-color"),h=(0,window.parseFloat)($.xf(e,
"stop-opacity"));f=f?f:e.getAttribute("stop-color");h=(0,window.isNaN)(h)?(0,window.parseFloat)(e.getAttribute("stop-opacity")):h;e=(0,window.parseFloat)(e.getAttribute("offset"));b.push({offset:e,color:f,opacity:(0,window.isNaN)(h)?1:h})}}return b},qR=function(a,b){for(var c=b?b.clear():$.nk(),d=0,e=a.length;d<e;d++){var f=a[d],h=f.values;switch(f.type){case "M":c.moveTo(+h[0],+h[1]);break;case "L":c.lineTo(+h[0],+h[1]);break;case "C":c.yk(+h[0],+h[1],+h[2],+h[3],+h[4],+h[5]);break;case "Z":c.close()}}return c},
hR=function(a,b){var c=a.tagName.toLowerCase();c="lineargradient"==c||"radialgradient"==c?a.getAttribute("gradientTransform"):a.getAttribute("transform");if(!c)return{self:null,sv:$.n(b)?b:null};c=$.Lb(c);var d=c.clone();b&&$.Hb(d,b);return{self:c,sv:d}},iR=function(a,b,c){var d={},e=b.attributes;d.fill={};d.stroke={};for(var f=0,h=e.length;f<h;f++){var k=e[f];k.name=k.name.toLowerCase();switch(k.name){case "clip-path":var l=k.value.replace(/^url\s*\("*#(.+)"*\)/g,"$1");(l=a.b[l])&&(d[k.name]=l.clippath);
break;case "opacity":$.n(d.fill.opacity)||(d.fill.opacity=k.value);$.n(d.stroke.opacity)||(d.stroke.opacity=k.value);break;case "fill":d.fill.color=k.value;break;case "fill-opacity":d.fill.opacity=k.value;break;case "stroke":d.stroke.color=k.value;break;case "stroke-opacity":d.stroke.opacity=k.value;break;case "stroke-linejoin":d.stroke.lineJoin=k.value;break;case "stroke-linecap":d.stroke.lineCap=k.value;break;case "stroke-width":d.stroke.thickness=k.value;break;case "stroke-dasharray":d.stroke.dash=
k.value;break;default:"style"!=k.name&&"d"!=k.name&&"transform"!=k.name&&"data-ac-wrapper-id"!=k.name&&(d[k.name]=k.value)}}"element"==c&&($.n(d.fill.color)||(b.style?(d.fill.color=$.xf(b,"fill"),$.uf(b,"fill","")):d.fill.color="black"),c=d.fill.color.trim(),$.fc(c,"url")&&(e=c.replace(/"/g,"").replace(/^url\s*\(#(.+)\)/g,"$1"),d.fill=a.b[e]),d.stroke.color||(b.style?(d.stroke.color=$.xf(b,"stroke"),$.uf(b,"stroke","")):d.stroke.color="none"),$.fc(d.stroke.color.trim(),"url")&&(c=c.replace(/"/g,"").replace(/^url\s*\(#(.+)\)/g,
"$1"),d.stroke=a.b[c]));(a=b.getAttribute("style"))&&(d.style=a);return d},jR=function(a){var b={};a=$.Ze(a);for(var c=0,d=a.length;c<d;c++){var e=a[c];if("desc"==e.tagName){a=$.Ze(e);c=0;for(d=a.length;c<d;c++)e=a[c],b[e.tagName]=e.textContent;break}}return b},mR=function(a,b,c,d){d=hR(b,d);if(d.sv){var e=$.fd(c);for(var f=0,h=e.length;f<h;f++){var k=e[f].values;k&&d.sv.transform(k,0,k,0,k.length/2)}}f=jR(b);a=iR(a,b,"element");b=a.id;$.n(b)?f.id=b:$.n(f.id)&&(b=f.id);return{type:"path",properties:f,
id:b,commands:c,commands_tx:e,attrs:a,tx:d}},rR=function(a,b,c,d,e,f,h,k,l,m,p){function q(a,b,c){return{x:a*Math.cos(c)-b*Math.sin(c),y:a*Math.sin(c)+b*Math.cos(c)}}var r=Math.PI*k/180,t=[];if(p){var u=p[0];l=p[1];var v=p[2];var w=p[3]}else{c=q(b,c,-r);b=c.x;c=c.y;e=q(d,e,-r);d=e.x;e=e.y;u=(b-d)/2;v=(c-e)/2;w=u*u/(f*f)+v*v/(h*h);1<w&&(w=Math.sqrt(w),f*=w,h*=w);w=f*f;var x=h*h;l=(l===m?-1:1)*Math.sqrt(Math.abs((w*x-w*v*v-x*u*u)/(w*v*v+x*u*u)));v=l*f*v/h+(b+d)/2;w=l*-h*u/f+(c+e)/2;u=Math.asin(((c-
w)/h).toFixed(9));l=Math.asin(((e-w)/h).toFixed(9));b<v&&(u=Math.PI-u);d<v&&(l=Math.PI-l);0>u&&(u=2*Math.PI+u);0>l&&(l=2*Math.PI+l);m&&u>l&&(u-=2*Math.PI);!m&&l>u&&(l-=2*Math.PI)}if(Math.abs(l-u)>120*Math.PI/180){x=l;var y=d,B=e;l=m&&l>u?u+120*Math.PI/180:u+120*Math.PI/180*-1;d=v+f*Math.cos(l);e=w+h*Math.sin(l);t=rR(a,d,e,y,B,f,h,k,0,m,[l,x,v,w])}a=Math.tan((l-u)/4);f=4/3*f*a;a*=4/3*h;h=[b,c];b=[b+f*Math.sin(u),c-a*Math.cos(u)];c=[d+f*Math.sin(l),e-a*Math.cos(l)];d=[d,e];b[0]=2*h[0]-b[0];b[1]=2*h[1]-
b[1];if(p)return[b,c,d].concat(t);t=[b,c,d].concat(t).join().split(",");var G=[],C=[];t.forEach(function(a,b){b%2?C.push(q(t[b-1],t[b],r).y):C.push(q(t[b],t[b+1],r).x);6===C.length&&(G.push(C),C=[])});return G},afa=function(a){var b=[],c=null,d=null,e=null,f=null;a.forEach(function(a){switch(a.type){case "M":var h=a.values[0],l=a.values[1];b.push({type:"M",values:[h,l]});e=h;f=l;c=h;d=l;break;case "m":h=c+a.values[0];l=d+a.values[1];b.push({type:"M",values:[h,l]});e=h;f=l;c=h;d=l;break;case "L":h=
a.values[0];l=a.values[1];b.push({type:"L",values:[h,l]});c=h;d=l;break;case "l":h=c+a.values[0];l=d+a.values[1];b.push({type:"L",values:[h,l]});c=h;d=l;break;case "C":var m=a.values[0],p=a.values[1],q=a.values[2],r=a.values[3];h=a.values[4];l=a.values[5];b.push({type:"C",values:[m,p,q,r,h,l]});c=h;d=l;break;case "c":m=c+a.values[0];p=d+a.values[1];q=c+a.values[2];r=d+a.values[3];h=c+a.values[4];l=d+a.values[5];b.push({type:"C",values:[m,p,q,r,h,l]});c=h;d=l;break;case "Q":m=a.values[0];p=a.values[1];
h=a.values[2];l=a.values[3];b.push({type:"Q",values:[m,p,h,l]});c=h;d=l;break;case "q":m=c+a.values[0];p=d+a.values[1];h=c+a.values[2];l=d+a.values[3];b.push({type:"Q",values:[m,p,h,l]});c=h;d=l;break;case "A":h=a.values[5];l=a.values[6];b.push({type:"A",values:[a.values[0],a.values[1],a.values[2],a.values[3],a.values[4],h,l]});c=h;d=l;break;case "a":h=c+a.values[5];l=d+a.values[6];b.push({type:"A",values:[a.values[0],a.values[1],a.values[2],a.values[3],a.values[4],h,l]});c=h;d=l;break;case "H":h=
a.values[0];b.push({type:"H",values:[h]});c=h;break;case "h":h=c+a.values[0];b.push({type:"H",values:[h]});c=h;break;case "V":l=a.values[0];b.push({type:"V",values:[l]});d=l;break;case "v":l=d+a.values[0];b.push({type:"V",values:[l]});d=l;break;case "S":q=a.values[0];r=a.values[1];h=a.values[2];l=a.values[3];b.push({type:"S",values:[q,r,h,l]});c=h;d=l;break;case "s":q=c+a.values[0];r=d+a.values[1];h=c+a.values[2];l=d+a.values[3];b.push({type:"S",values:[q,r,h,l]});c=h;d=l;break;case "T":h=a.values[0];
l=a.values[1];b.push({type:"T",values:[h,l]});c=h;d=l;break;case "t":h=c+a.values[0];l=d+a.values[1];b.push({type:"T",values:[h,l]});c=h;d=l;break;case "Z":case "z":b.push({type:"Z",values:[]}),c=e,d=f}});return b},nR=function(a,b){var c=[],d=null,e=null,f=null,h=null,k=null,l=null,m=null;(0,$.Qe)(b,function(a){switch(a.type){case "M":var b=a.values[0],p=a.values[1];c.push({type:"M",values:[b,p]});l=b;m=p;h=b;k=p;break;case "C":var t=a.values[0],u=a.values[1],v=a.values[2],w=a.values[3];b=a.values[4];
p=a.values[5];c.push({type:"C",values:[t,u,v,w,b,p]});e=v;f=w;h=b;k=p;break;case "L":b=a.values[0];p=a.values[1];c.push({type:"L",values:[b,p]});h=b;k=p;break;case "H":b=a.values[0];c.push({type:"L",values:[b,k]});h=b;break;case "V":p=a.values[0];c.push({type:"L",values:[h,p]});k=p;break;case "S":v=a.values[0];w=a.values[1];b=a.values[2];p=a.values[3];if("C"===d||"S"===d){var x=h+(h-e);var y=k+(k-f)}else x=h,y=k;c.push({type:"C",values:[x,y,v,w,b,p]});e=v;f=w;h=b;k=p;break;case "T":b=a.values[0];
p=a.values[1];"Q"===d||"T"===d?(t=h+(h-e),u=k+(k-f)):(t=h,u=k);x=h+2*(t-h)/3;y=k+2*(u-k)/3;c.push({type:"C",values:[x,y,b+2*(t-b)/3,p+2*(u-p)/3,b,p]});e=t;f=u;h=b;k=p;break;case "Q":t=a.values[0];u=a.values[1];b=a.values[2];p=a.values[3];x=h+2*(t-h)/3;y=k+2*(u-k)/3;c.push({type:"C",values:[x,y,b+2*(t-b)/3,p+2*(u-p)/3,b,p]});e=t;f=u;h=b;k=p;break;case "A":t=a.values[0];u=a.values[1];v=a.values[2];w=a.values[3];x=a.values[4];b=a.values[5];p=a.values[6];0===t||0===u?(c.push({type:"C",values:[h,k,b,p,
b,p]}),h=b,k=p):h===b&&k===p||rR(this,h,k,b,p,t,u,v,w,x).forEach(function(a){c.push({type:"C",values:a});h=b;k=p});break;case "Z":c.push(a),h=l,k=m}d=a.type},a);return c},sR=function(){},bfa=function(a){if(!a)return $.ia;var b,c,d=a.scale[0],e=a.scale[1],f=a.translate[0],h=a.translate[1];return function(a,l){l||(b=c=0);b+=a[0];c+=a[1];a[0]=b*d+f;a[1]=c*e+h}},cfa=function(a,b,c){return"GeometryCollection"===c.type?{type:"FeatureCollection",features:(0,$.Wa)(c.geometries,function(a){return tR(b,a)},
a)}:tR(b,c)},tR=function(a,b){var c={type:"Feature",id:b.id,properties:b.properties||{},geometry:dfa(a,b)};null==b.id&&delete c.id;return c},dfa=function(a,b){function c(a){a=$.Ja(a,0);k(a,0);return a}function d(a){for(var b=[],c=0,d=a.length;c<d;++c){var e,f=a[c],h=b;h.length&&h.pop();for(var m=l[0>f?~f:f],p=0,B=m.length;p<B;++p)h.push(e=$.Ja(m[p],0)),k(e,p);0>f&&sR.vd().reverse(h,B)}2>b.length&&b.push($.Ja(b[0],0));return b}function e(a){for(a=d(a);4>a.length;)a.push($.Ja(a[0],0));return a}function f(a){return(0,$.Wa)(a,
e)}function h(a){var b=a.type;return"GeometryCollection"===b?{type:b,geometries:(0,$.Wa)(a.geometries,h)}:b in m?{type:b,coordinates:m[b](a)}:null}var k=bfa(a.transform),l=a.arcs,m={Point:function(a){return c(a.coordinates)},MultiPoint:function(a){return(0,$.Wa)(a.coordinates,c)},LineString:function(a){return d(a.arcs)},MultiLineString:function(a){return(0,$.Wa)(a.arcs,d)},Polygon:function(a){return f(a.arcs)},MultiPolygon:function(a){return(0,$.Wa)(a.arcs,f)}};return h(b)},uR=function(a){this.Y=
a;this.b=!0;this.g=this.f=null},wR=function(){$.xz.call(this);this.Fa("map");this.Dz=this.mt=null;this.cU=[];this.gl=null;this.$v=[];this.zL=this.mn=null;this.ir=0;this.hy=!0;this.pa("zoomFactor",1.3);this.pl=window.NaN;this.p2=new Vea(this);$.Id(this,"animationstart",function(){this.w5=!0},!1,this);$.Id(this,"animationend",function(){this.w5=!1;for(var a,b=this.fb.length;b--;)a=this.fb[b],21==a.Se.type&&(a.rA=this.gf.qg().clone(),a.B(1024),a.$());this.MB=!0;this.oV||vR(this)},!1,this);this.ur=!1;
this.A1=(0,$.pa)(this.Sba,this);this.wia=(0,$.pa)(function(){this.SI&&this.kq(this.BV);this.sc.ac(this,["pointerdown","touchstart"],this.Q4,!1,this);this.Q4=null;this.sc.ac(this,["pointermove","touchmove"],this.P4,!1,this);this.P4=null;this.L4=!1},this);this.lca=(0,$.pa)(function(){this.DM||this.kq(this.BV);this.sc.ac(this,["pointermove","mousemove"],this.N4,!1,this);this.N4=null;this.B2=!1},this);this.X8=(0,$.pa)(this.kq,this);this.dW=this.DK=null;this.nt=[];this.CD=null;this.Qn=[];this.Rw(this.ma.unboundRegions||
"as-is");this.pa("defaultSeriesType","choropleth");this.sc.ra(this,["pointerdown","touchstart"],this.via);$.T(this.ua,[["geoIdField",4194320,1],["overlapMode",8388608,1],["minZoomLevel",0,0],["maxZoomLevel",0,0],["selectPolygonMarqueeFill",0,0,0,function(){this.mM()&&this.mm&&this.mm.fill(this.i("selectPolygonMarqueeFill"))}],["selectPolygonMarqueeStroke",0,0,0,function(){this.mM()&&this.mm&&this.mm.stroke(this.i("selectPolygonMarqueeStroke"))}],["selectPolygonMarqueeMarker",0,0,0,function(){if(this.mM()&&
this.Xo){var a=this.i("selectPolygonMarqueeMarker")||{},b=$.Vb(a.fill),c=$.Yb(a.stroke);a=a.radius||15;this.Xo.stroke(c);this.Xo.fill(b);this.qM=a}}]])},mQ=function(a){a.xf.jc(1,0,0,1,0,0);var b=a.gf.qg(),c;a.Ef&&a.Ef.update();for(c=a.fb.length;c--;){var d=a.fb[c];d.enabled()&&d.My()}for(c=a.Qn.length;c--;)d=a.Qn[c],d.enabled()&&d.My();if($.jr(a,"axesSettings"))for(d=a.xp.hm(),c=0;c<d.length;c++){var e=d[c];e.enabled()&&e.My(b)}if($.jr(a,"gridsSettings"))for(a=a.Vx.hm(),c=a.length;c--;)d=a[c],d.enabled()&&
d.My(b)},yR=function(a){a.w1=!1;xR(a);a.mm.parent(null);a.Ot.parent(null);a.Xo.parent(null);a.La.ac("mousemove",a.g3,!0,a);a.La.ac("dblclick",a.f3,!0,a);a.La.ac("click",a.e3,!0,a);a.fk.length=0;a.hU=a.gU=a.gH=null;a.FA=!1},xR=function(a){a.mm&&(a.mm.clear(),a.Ot.clear(),a.Xo.Wb(0))},zR=function(a,b,c,d){return{type:a,offsetX:d.offsetX,offsetY:d.offsetY,clientX:d.clientX,clientY:d.clientY,screenX:d.screenX,screenY:d.screenY,button:d.button,actionButton:d.actionButton,keyCode:d.keyCode,charCode:d.charCode,
ctrlKey:d.ctrlKey,altKey:d.altKey,shiftKey:d.shiftKey,metaKey:d.metaKey,platformModifierKey:d.platformModifierKey,originalEvent:d,polygon:b,polygonBounds:c}},BR=function(a,b){var c;AR(a)?c=$.lk():c=new $.JB(a.Az,a.b_);c.parent(b);c.jc(1,0,0,1,0,0);return c},CR=function(a,b){for(var c=b.Ki(),d=0,e=c.length;d<e;d++){var f=c[d];$.K(f,$.zg)?a.b_(f):$.K(f,$.Eg)&&CR(a,f)}},AR=function(a){return a.CD?"svg"==a.CD.Na():a.mn?$.z(a.mn)&&$.fc(a.mn,"<")||$.Pe(a.mn):!1},vR=function(a){var b,c,d,e,f,h,k;var l={};
var m={};var p="allow-overlap"!=a.i("overlapMode");a.oV=!0;for(b=a.fb.length;b--;){var q=a.fb[b];var r=q.Na();if($.da(a.MB)?a.MB:a.MB[r]){var t=q.aa();var u=t.Gb();var v=null===q.lN()&&p||"no-overlap"==q.lN();r=l[r]?l[r]:l[r]=[];var w=0;for(c=u;w<c;w++){u={};u.W=q;u.Za=q.al(w,$.Zl);a.oV=a.oV&&!u.Za;u.index=w;u.Wo=[];u.state=!0;t.select(u.index);var x=t.o("currentPointElement"),y;x&&(y=x.properties);x=t.get("overlapMode");x=null!=x?x:y&&null!=y.overlapMode?y.overlapMode:null;u.qU=null==x&&v||null!=
x&&"no-overlap"==$.Ok(x);x=t.get("labelrank");u.EN=(0,window.parseFloat)($.n(x)?x:y&&$.n(y.labelrank)?y.labelrank:0);r.push(u)}m[q.la()]=[]}}$.Dc(l,function(a){b=0;for(c=a.length;b<c;b++){h=a[b];e=h.Za;w=0;for(d=a.length;w<d;w++)k=a[w],f=k.Za,b!=w&&$.Zm(e,f)&&h.Wo.push(k);h.JT=h.Wo.length}for(var l=new XQ(a,function(a,b){a=a?a.JT:window.NaN;b=b?b.JT:window.NaN;return a>b?1:0});a.length;){var p=l.pop();if(p.state&&p.qU){b=0;for(c=p.Wo.length;b<c;b++){var q=p.Wo[b];q.state&&p.state&&(p.qU&&!q.qU?p.state=
!1:p.EN==q.EN?p.W.la()<=q.W.la()&&(p.state=!1):p.EN<q.EN&&(p.state=!1))}if(!p.state)for(b=0,c=p.Wo.length;b<c;b++)q=p.Wo[b],q.JT--,q=(0,$.za)(a,q),-1!=q&&WQ(l,q)}m[p.W.la()][p.index]=p.state}});for(b=a.fb.length;b--;)q=a.fb[b],$.V(q),Rea(q,m[q.la()]),q.$(),q.da(!1)},hQ=function(a,b,c,d,e){var f,h,k;var l=0;for(h=b.length;l<h;l++)if(f=b[l]){if(d){var m={};$.Hc(f,"properties")&&(m.properties=$.Qc(f.properties))}else e&&(m=a.gl[l]);if($.Hc(f,"geometries")){var p=f.geometries;d?k=[]:e&&(k=m.geometries);
var q=p.length;for(f=0;f<q;f++){var r=d?k[f]={}:e?k[f]:null;DR(a,p[f],c,r,d)}}else DR(a,f,c,m,d);d&&(a.gl[l]=m)}},ER=function(a,b,c,d){if(b){var e;if(AR(a)){if($.Hc(b,"type"))if("group"==b.type){b.fa||(b.fa=BR(a,c));var f=b.features;var h=f.length;for(e=0;e<h;e++)ER(a,f[e],b.fa,d);$.Dc(b.attrs,function(a,c){"id"==c?b.fa.id(a):"clip-path"==c?(a.fa=qR(a.commands,a.fa),b.fa.clip(a.fa)):b.fa.ee(c,a)},a)}else"image"==b.type?(b.fa||(b.fa=c.dk()),d=b.bounds,b.fa.x(d.left),b.fa.y(d.top),b.fa.width(d.width),
b.fa.height(d.height),b.fa.src(b.attrs["xlink:href"])):"path"==b.type?(b.fa||(b.fa=a.Az(c)),qR(b.commands,b.fa),$.Dc(b.attrs,function(a,d){if("id"==d)b.fa.id(a);else if("clip-path"==d)a.fa=qR(a.commands,a.fa),b.fa.clip(a.fa);else if("fill"==d){if($.D(a))if(a.type&&"pattern"==a.type){var k=a.bounds;if(!a.fa)for(a.fa=$.Tb(k),a.fa.parent(c),a.fa.jc(1,0,0,1,0,0),f=a.features,h=f.length,e=0;e<h;e++)ER(this,f[e],a.fa,null);k=a.fa}else k=a;else k=a;b.fa.fill(k)}else if("stroke"==d){if($.D(a))if(a.type&&
"pattern"==a.type){k=a.bounds;if(!a.fa)for(a.fa=$.Tb(k),a.fa.parent(c),a.fa.jc(1,0,0,1,0,0),f=a.features,h=f.length,e=0;e<h;e++)ER(this,f[e],a.fa,null);k=a.fa}else k=a;else k=a;b.fa.stroke(k)}else b.fa.ee(d,a)},a)):"text"==b.type&&(b.fa||(b.fa=new $.Uh),d=b.cloneNode.cloneNode(!0),d.removeAttribute("transform"),b.fa.content(d));b.fa&&((d=b.tx?b.tx.self:null)&&b.fa.jc(d.ed,d.Me,d.We,d.Ee,d.Ad,d.xd),b.fa.parent(c),"group"!=b.type&&a.$v.push(b.fa))}else if(d=$.KB(c),b.fa=d,a.$v.push(d),$.Hc(b,"geometries"))for(d=
b.geometries,h=d.length,e=0;e<h;e++)DR(a,d[e],a.I_);else DR(a,b,a.I_);if(a.J(262144)){for(d=a.fb.length;d--;)a.fb[d].Yr=a.gl;a.I(262144)}}},DR=function(a,b,c,d,e){var f,h;if(b)if($.Hc(b,"polygones")){var k=b.polygones;var l=k.length;e?h=[]:d&&(h=d.polygones);for(f=0;f<l;f++){var m=k[f];var p=m.outerPath;var q=m.holes;if(e){p=$.Ha(p);var r={outerPath:p,holes:[]}}else if(d){r=h[f];p=r.outerPath=$.Ha(p);var t=r.holes}var u=p.length;for(m=0;m<u-1;m+=2)c.call(a,p,m,b);u=q.length;for(m=0;m<u;m++){var v=
q[m];e?(v=$.Ha(v),r.holes.push(v)):d&&(v=t[m]=$.Ha(v));for(p=0;p<v.length-1;p+=2)c.call(a,v,p,b)}e&&h.push(r)}e&&(d.polygones=h)}else if($.Hc(b,"paths")){r=b.paths;l=r.length;e?k=[]:d&&(k=d.paths);for(f=0;f<l;f++)for(h=r[f],e?(h=$.Ha(h),k.push(h)):d&&(h=k[f]=$.Ha(h)),u=h.length,m=0;m<u-1;m+=2)c.call(a,h,m,b);e&&(d.paths=k)}else if($.Hc(b,"coordinates"))for(f=b.coordinates,u=f.length,e?(f=$.Ha(f),d.coordinates=f):d&&(f=d.coordinates=$.Ha(f)),m=0;m<u-1;m+=2)c.call(a,f,m,b);else if($.Hc(b,"type"))if("path"==
b.type){if(e||d)d.type=b.type,d.commands=b.commands,d.commands_tx=b.commands_tx,d.attrs=b.attrs,d.properties=b.properties,d.tx=b.tx;c.call(a,null,0,b)}else if("image"==b.type){if(e||d)d.type=b.type,d.bounds=b.bounds,d.attrs=b.attrs,d.properties=b.properties,d.sourceNode=b.sourceNode,d.cloneNode=b.cloneNode,d.tx=b.tx;c.call(a,null,0,b)}else if("text"==b.type){if(e||d)d.type=b.type,d.text=b.text,d.cloneNode=b.cloneNode,d.attrs=b.attrs,d.properties=b.properties,d.tx=b.tx;c.call(a,null,0,b)}else if("group"==
b.type){u=b.features;h=u.length;e?f=[]:d&&(f=d.features);for(m=0;m<h;m++)r=u[m],e?(l={},$.Hc(r,"properties")&&(l.properties=r.properties)):d&&(l=r),DR(a,r,c,l,e),e&&f.push(l);e&&(d.features=f);if(e||d)d.type=b.type,d.attrs=b.attrs,d.tx=b.tx}},FR=function(a,b,c,d){if("group"==b.type)for(var e=0,f=b.features.length;e<f;e++){var h=b.features[e];c.call(d,b);FR(a,h,c,d)}else c.call(d,b)},GR=function(a,b){if(!a.gl)return null;for(var c=0,d=a.gl.length;c<d;c++){var e=a.gl[c];if(e.properties[a.i("geoIdField")]==
b)return e}return null},dQ=function(a){var b=a.dW;b||(a.Pha={},b=a.Pha.root=a,a.hW="root",a.DK=b,a.dW=b);return b},HR=function(a){a=a.Sz();return{type:"drillchange",path:a,current:a[a.length-1]}},IR=function(a,b,c){if(a.P()){var d=dQ(a),e=a.qh();d.dv=!0;var f=GR(e,b);if(f){var h=f.fa.Qq();f=f.properties}else $.el(301,null,[b]),h=(h=d.Rf())?new $.J(h.left+h.width/2-1,h.top+h.height/2-1,1,1):new $.J(0,0,1,1),f={},f[e.i("geoIdField")]=b;var k=$.wm("map");c.i("maxZoomLevel")==k.maxZoomLevel&&c.pa("maxZoomLevel",
e.i("maxZoomLevel"));c.i("minZoomLevel")==k.minZoomLevel&&c.pa("minZoomLevel",e.i("minZoomLevel"));c.Mj()&&!c.Ue(0).sd()&&(k=e.Ue(0).sd(),c.Ue(0).sd(k));if(c.Mj()&&"choropleth"==c.Ue(0).Sj()&&!$.jr(c,"colorRange")&&$.jr(e,"colorRange")){k=e.Yj();c.Yj(k.F());var l=c.Yj();l.labels().format(k.labels().format());l.labels().positionFormatter(k.labels().positionFormatter());l.kb().format(k.kb().format());l.kb().positionFormatter(k.kb().positionFormatter())}!$.jr(c,"legend")&&$.jr(e,"legend")&&(k=e.Gf(),
c.Gf(k.F()));c.$ga=e;c.dW=dQ(a);c.enabled(!0).P(a.P()).$();c.Oc();c.hW=b;c.ib(d);b=kQ(c,h,void 0,!0);c.ur=!0;c.pl=0;c.Ui(1/b[0],b[1],b[2]);a.cv(c,function(a,b,c,d,e){c.dv&&(b.Xa().Oc(null),b.Oc(),b.Pd(),c.DK=a,c.nt.push(new TP(b,a,e,this.hW)),a.show(),a.Xa().Oc(null),b=kQ(a,d,void 0,!0),a.pl=400,a.ur=!0,a.Ui(this.i("minZoomLevel"),b[1],b[2]),this.cv(a,function(a){this.Ui(this.i("minZoomLevel"));a.dv=!1;(0,window.setTimeout)((0,$.pa)(function(){this.dispatchEvent(HR(this))},a),0)},c))},c,e,d,h,f)}},
efa=function(a){a=a.qh();var b=a.gf,c=a.i("minZoomLevel"),d=b.pb();b=b.Qo();var e=(d.left+d.width/2)*(1-c);d=(d.top+d.height/2)*(1-c);return $.Tm(a.Fg(),c)&&$.Tm(b[4],e)&&$.Tm(b[5],d)},JR=function(a,b,c){var d=dQ(a),e=a.qh();if(e!=b){d.dv=!0;e.pl=700;efa(e)||e.Ui(a.i("minZoomLevel"));var f=c||1;a.cv(e,function(a,b){var c=GR(a,b.nt[b.nt.length-f].Lx());if(c){var d=c.fa.Qq();var e=kQ(this,d);c=e[0];d=e[1];e=e[2]}else $.el(301,null,[this.hW]),c=10;this.ur=!0;this.pl=400;this.Ui(1/c,d,e);this.cv(this,
function(a,b){this.Ui(this.i("minZoomLevel"));this.Oc();this.Pd();this.enabled(!1);b.DK=a;b.dv=!1;$.Ca(b.nt,b.nt.length-f,f);a.Xa().Oc(null);this.Xa().Oc(null);a.show();(0,window.setTimeout)((0,$.pa)(function(){this.dispatchEvent(HR(this))},b),0)},a,b)},b,d)}},KR=function(a,b){return{type:b,target:a.qh(),from:a.rB,current:a.Sp,to:a.dP}},kQ=function(a,b,c,d){a=a.qh();var e=b.left+b.width/2,f=b.top+b.height/2,h=$.n(c)?c:a.Rf(),k=h.left+h.width/2;c=h.top+h.height/2;b=1/Math.max(b.width/h.width,b.height/
h.height);d||(b=Math.max(Math.min(b*a.Fg(),a.i("maxZoomLevel")),a.i("minZoomLevel"))/a.Fg());$.Tm(b,1,1E-7)?(d=k-e,f=c-f):(d=(k-b*e)/(1-b),f=(c-b*f)/(1-b));b*=a.Fg();return[b,d,f]},LR=function(a){$.xA.call(this,a)},MR=function(a){$.xA.call(this,a)},NR=function(a){$.xA.call(this,a);this.b=$.XA("curvature",$.N,!1,"curvature");this.g=$.XA("startSize",$.qq,!1,"startSize");this.f=$.XA("endSize",$.qq,!1,"endSize")},OR=function(a,b,c,d,e,f,h,k,l,m,p,q,r,t){var u=Math.abs(d-f);var v=Math.abs(e-h);v=$.Qm($.cb(Math.atan(v/
u)),7);var w;f<d&&h<e?w=v:f<d&&h>e?w=-v:f>d&&h>e?w=v-180:f>d&&h<e&&(w=180-v);var x=p/2;v=0>q?-90:90;var y=d+Math.cos($.bb(w+v))*x,B=e+Math.sin($.bb(w+v))*x;p=d+Math.cos($.bb(w-v))*x;w=e+Math.sin($.bb(w-v))*x;u=Math.abs(b-k);v=Math.abs(c-l);v=$.Qm($.cb(Math.atan(v/u)),7);var G;k<b&&l<c?G=v-180:k<b&&l>c?G=180-v:k>b&&l>c?G=v:k>b&&l<c&&(G=-v);x=m/2;v=0>q?-90:90;u=b+Math.cos($.bb(G+v))*x;var C=c+Math.sin($.bb(G+v))*x;m=b+Math.cos($.bb(G-v))*x;G=c+Math.sin($.bb(G-v))*x;var I=$.dn(u,C,y,B);v=I/2*q;var P=
(u+y)/2+Math.cos($.bb(t))*v*1.2,Q=(C+B)/2+Math.sin($.bb(t))*v*1.2;v=I/2*q;x=0<q?1:-1;x=Math.abs(v)<I/4?I/4*x:Math.abs(v)>I/2?I/2*x:v;v=(0>q?90:-90)*r;I=P+Math.cos($.bb(t+v))*x;var S=Q+Math.sin($.bb(t+v))*x;v=(0>q?-90:90)*r;P+=Math.cos($.bb(t+v))*x;v=Q+Math.sin($.bb(t+v))*x;a.moveTo(y,B);a.yk(I,S,P,v,u,C);u=$.dn(m,G,p,w);B=u/2*q;y=(m+p)/2+Math.cos($.bb(t))*B*1.2;B=(G+w)/2+Math.sin($.bb(t))*B*1.2;v=u/2*q;x=0<q?1:-1;x=Math.abs(v)<u/4?u/4*x:Math.abs(v)>u/2?u/2*x:v;v=(0>q?90:-90)*r;u=y+Math.cos($.bb(t+
v))*x;C=B+Math.sin($.bb(t+v))*x;v=(0>q?-90:90)*r;q=y+Math.cos($.bb(t+v))*x;t=B+Math.sin($.bb(t+v))*x;a.lineTo(m,G);a.yk(q,t,u,C,p,w);a.close();return[b,c,k,l,f,h,d,e]},PR=function(a){$.VB.call(this,a)},QR=function(){var a=new wR;a.ld();return a},RR=function(a){var b=new wR;b.Fa("bubbleMap");b.ld();b.pa("defaultSeriesType","bubble");for(var c=0,d=arguments.length;c<d;c++)b.bubble(arguments[c]);return b},SR=function(a){var b=new wR;b.Fa("choropleth");b.ld();b.pa("defaultSeriesType","choropleth");for(var c=
0,d=arguments.length;c<d;c++)b.choropleth(arguments[c]);return b},TR=function(a){var b=new wR;b.Fa("connector");b.ld();b.pa("defaultSeriesType","connector");for(var c=0,d=arguments.length;c<d;c++)b.connector(arguments[c]);return b},UR=function(a){var b=new wR;b.Fa("markerMap");b.ld();b.pa("defaultSeriesType","marker");for(var c=0,d=arguments.length;c<d;c++)b.marker(arguments[c]);return b},VR=function(a){var b=new wR;b.Fa("seatMap");b.ld();b.pa("defaultSeriesType","choropleth");for(var c=0,d=arguments.length;c<
d;c++)b.choropleth(arguments[c]);return b};$.xd.prototype.k0=$.ca(0,function(){return this.dl});var ffa={Aja:"as-is",ola:"hide"},gfa={mka:"choropleth",hP:"bubble",yu:"marker",qka:"connector"},PP=!1;$.H(xP,$.rx);xP.prototype.handleEvent=function(a){this.b(a)&&(a.preventDefault(),xP.u.handleEvent.call(this,a))};xP.prototype.R=function(){xP.u.R.call(this);this.b=null};$.g=yP.prototype;$.g.asin=function(a){return 1<a?Math.PI/2:-1>a?-Math.PI/2:Math.asin(a)};$.g.acos=function(a){return 1<a?0:-1>a?Math.PI:Math.acos(a)};$.g.sinh=function(a){return.5*(Math.exp(a)-Math.exp(-a))};$.g.cosh=function(a){return.5*(Math.exp(a)+Math.exp(-a))};$.g.forward=function(a,b){return[a,b]};$.g.gj=function(a,b){return[a,b]};$.H(AP,yP);AP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.cos(b);var d=(d=this.acos(c*Math.cos(a/=2)))?d/Math.sin(d):1;a=2*c*Math.sin(a)*d;b=Math.sin(b)*d;return[a,b]};
AP.prototype.gj=function(a,b){if(a*a+4*b*b>Math.PI*Math.PI+1E-6)return[window.NaN,window.NaN];var c=a,d=b,e=25,f=0;do{var h=Math.sin(c),k=Math.sin(c/2),l=Math.cos(c/2),m=Math.sin(d),p=Math.cos(d),q=Math.sin(2*d),r=m*m,t=p*p,u=k*k,v=1-t*l*l,w=v?this.acos(p*l)*Math.sqrt(f=1/v):f=0;v=2*w*p*k-a;var x=w*m-b,y=f*(t*u+w*p*l*r),B=f*(.5*h*q-2*w*m*k);h=.25*f*(q*k-w*m*t*h);p=f*(r*l+w*u*p);l=B*h-p*y;if(!l)break;B=(x*B-v*p)/l;v=(v*h-x*y)/l;c-=B;d-=v}while((1E-6<Math.abs(B)||1E-6<Math.abs(v))&&0<--e);return[$.Za($.cb(c),
-180,180),$.Za($.cb(d),-180,180)]};$.H(BP,yP);BP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.tan(b/2),d=zP(1-c*c),e=1+d*Math.cos(a/=2);d=Math.sin(a)*d/e;c/=e;e=d*d;var f=c*c;return[4/3*d*(3+e-3*f),4/3*c*(3+3*e-f)]};
BP.prototype.gj=function(a,b){a*=.375;b*=.375;if(!a&&1<Math.abs(b))return[window.NaN,window.NaN];var c=1+a*a+b*b,d=Math.sqrt(.5*(c-Math.sqrt(c*c-4*b*b)));c=this.asin(d)/3;d?(d=Math.abs(b/d),d=Math.log(d+zP(d*d-1))/3):(d=Math.abs(a),d=Math.log(d+zP(d*d+1))/3);var e=Math.cos(c),f=this.cosh(d),h=f*f-e*e;a=2*(0<a?1:0>a?-1:0)*Math.atan2(this.sinh(d)*e,.25-h);b=2*(0<b?1:0>b?-1:0)*Math.atan2(f*Math.sin(c),.25+h);return[$.cb(a),$.cb(b)]};$.H(CP,yP);CP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=this.b+this.f-b,d=c?a*Math.cos(b)/c:c;a=c*Math.sin(d);b=this.b-c*Math.cos(d);return[a,b]};CP.prototype.gj=function(a,b){var c=Math.sqrt(a*a+(b=this.b-b)*b),d=this.b+this.f-c;a=c/Math.cos(d)*Math.atan2(a,b);return[$.cb(a),$.cb(d)]};$.H(DP,yP);DP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.sqrt(8/(3*Math.PI));a=c*a*(1-Math.abs(b)/Math.PI);return[a,c*b]};DP.prototype.gj=function(a,b){var c=Math.sqrt(8/(3*Math.PI)),d=b/c;a/=c*(1-Math.abs(d)/Math.PI);return[$.cb(a),$.cb(d)]};$.H(EP,yP);EP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.sqrt(Math.PI*(4+Math.PI));a=2/c*a*(1+Math.sqrt(1-4*b*b/(Math.PI*Math.PI)));return[a,4/c*b]};EP.prototype.gj=function(a,b){var c=Math.sqrt(Math.PI*(4+Math.PI))/2;a=a*c/(1+zP(1-b*b*(4+Math.PI)/(4*Math.PI)));return[$.cb(a),$.cb(b*c/2)]};$.H(FP,yP);FP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);return[a,b]};FP.prototype.gj=function(a,b){return[$.cb(a),$.cb(b)]};$.H(GP,yP);GP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.cos($.bb(35)),d=Math.tan(b/2);a=a*c*zP(1-d*d);return[a,(1+c)*d]};GP.prototype.gj=function(a,b){var c=Math.cos($.bb(35)),d=b/(1+c);a=a?a/(c*zP(1-d*d)):0;b=2*Math.atan(d);return[$.cb(a),$.cb(b)]};$.H(HP,yP);HP.prototype.forward=function(a,b){var c=Math.cos(b),d=this.scale(Math.cos(a)*c);a=d*c*Math.sin(a);b=d*Math.sin(b);return[a,b]};HP.prototype.gj=function(a,b){var c=$.dn(0,0,a,b),d=this.angle(c),e=Math.sin(d);a=Math.atan2(a*e,c*Math.cos(d));b=Math.asin(c&&b*e/c);return[a,b]};$.H(IP,yP);IP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=this.f.forward(a/2,b);c[0]*=this.b;a=c[0];b=c[1];return[a,b]};IP.prototype.gj=function(a,b){var c=this.f.gj(a/this.b,b);c[0]*=2;a=c[0];b=c[1];return[$.cb(a),$.cb(b)]};$.H(JP,yP);JP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);b=Math.log(Math.tan(Math.PI/4+b/2));return[a,b]};JP.prototype.gj=function(a,b){b=2*Math.atan(Math.exp(b))-Math.PI/2;return[$.cb(a),$.cb(b)]};$.H(KP,yP);KP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=this.b.forward(a,b);a=c[0];b=c[1];return[a,b]};KP.prototype.gj=function(a,b){var c=this.b.gj(a,b);a=c[0];b=c[1];return[$.cb(a),$.cb(b)]};$.H(LP,yP);LP.prototype.forward=function(a,b){return this.b(this.f).forward([a,b])};LP.prototype.gj=function(a,b){return this.b(this.f).inverse([a,b])};$.H(MP,yP);var WR=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];
MP.prototype.forward=function(a,b){if((0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];a=$.bb(a);b=$.bb(b);var c,d=Math.min(18,36*Math.abs(b)/Math.PI),e=Math.floor(d);d-=e;var f=(c=WR[e])[0],h=c[1],k=(c=WR[++e])[0],l=c[1];e=(c=WR[Math.min(19,++e)])[0];c=c[1];b=(0<b?Math.PI/2:-Math.PI/2)*(l+d*(c-h)/2+d*d*(c-2*l+h)/2);return[a*(k+d*(e-f)/2+d*d*(e-2*k+f)/2),b]};
MP.prototype.gj=function(a,b){if((0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];var c=b/Math.PI/2,d=90*c,e=Math.min(18,Math.abs(d/5)),f=Math.max(0,Math.floor(e));do{var h=WR[f][1],k=WR[f+1][1],l=WR[Math.min(19,f+2)][1],m=l-h,p=2*(Math.abs(c)-k)/m;h=(l-2*k+h)/m;p*=1-h*p*(1-2*h*p);if(0<=p||1===f){d=(0<=b?5:-5)*(p+e);c=50;do e=Math.min(18,Math.abs(d)/5),f=Math.floor(e),p=e-f,h=WR[f][1],k=WR[f+1][1],l=WR[Math.min(19,f+2)][1],d-=$.cb(e=(0<=b?Math.PI/2:-Math.PI/2)*(k+p*(l-h)/2+p*
p*(l-2*k+h)/2)-b);while(1E-12<Math.abs(e)&&0<--c);break}}while(0<=--f);e=WR[f][0];c=WR[f+1][0];f=WR[Math.min(19,f+2)][0];b=$.bb(d);return[$.cb(a/(c+p*(f-e)/2+p*p*(f-2*c+e)/2)),$.cb(b)]};$.H(NP,yP);NP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);a*=Math.sqrt(1-3*b*b/(Math.PI*Math.PI));return[a,b]};NP.prototype.gj=function(a,b){a/=Math.sqrt(1-3*b*b/(Math.PI*Math.PI));return[$.cb(a),$.cb(b)]};$.H(SP,$.Uw);var XR={};$.hq(XR,[[0,"zoomOnDoubleClick",$.uq],[0,"keyboardZoomAndMove",$.uq],[0,"drag",$.uq],[0,"copyFormat",$.Vq]]);$.U(SP,XR);SP.prototype.F=function(){var a=SP.u.F.call(this);$.Hq(this,XR,a);return a};SP.prototype.X=function(a,b){SP.u.X.call(this,a,b);$.zq(this,XR,a)};$.H(TP,$.sA);$.g=TP.prototype;$.g.get=function(a){return $.E(this.Aa.data)?this.Aa.data().get(this.index,a):void 0};$.g.Lx=function(){return this.id};$.g.s$=function(){return this.f};$.g.r0=function(){return this.b};$.g.wda=function(){return this.mc()};var YR=TP.prototype;YR.getId=YR.Lx;YR.getProperties=YR.s$;YR.getCurrentChart=YR.r0;YR.getParentChart=YR.wda;YR.get=YR.get;$.H(UP,$.tA);$.g=UP.prototype;$.g.Kx=function(){var a=this.W.aa();a.select(this.index);return a.o("features")[0].properties};$.g.sda=function(){var a=this.W.aa();a.select(this.index);return a.o("features")[0].fa.Qq()};$.g.Bfa=function(a){if($.n(a))return this.set("middle-x",a),this;a=this.W.aa();a.select(this.index);a=(a=a.o("features"))&&a.length?a[0].properties:null;var b=this.get("middle-x");return $.n(b)?b:a?a["middle-x"]:.5};
$.g.Cfa=function(a){if($.n(a))return this.set("middle-y",a),this;a=this.W.aa();a.select(this.index);a=(a=a.o("features"))&&a.length?a[0].properties:null;var b=this.get("middle-y");return $.n(b)?b:a?a["middle-y"]:.5};$.g.Oia=function(a,b){var c=this.mc();return $.n(a)||$.n(b)?(c.oS(this.Kx()[XP(this.W)],a,b),this):c.oS(this.Kx()[XP(this.W)])};$.g.translate=function(a,b){this.mc().i5(this.Kx()[XP(this.W)],a,b);return this};
$.g.zg=function(a){var b=this.mc();return $.n(a)?(b.mS(this.Kx()[XP(this.W)],a),this):b.mS(this.Kx()[XP(this.W)],a)};$.g.Oha=function(a){var b=this.mc();return $.n(a)?(b.nS(this.Kx()[XP(this.W)],a),this):b.nS(this.Kx()[XP(this.W)],a)};var ZR=UP.prototype;ZR.getFeatureProp=ZR.Kx;ZR.getFeatureBounds=ZR.sda;ZR.middleX=ZR.Bfa;ZR.middleY=ZR.Cfa;ZR.translation=ZR.Oia;ZR.translate=ZR.translate;ZR.crs=ZR.zg;ZR.scaleFactor=ZR.Oha;$.H(VP,$.gB);$.g=VP.prototype;$.g.qa=$.gB.prototype.qa|1152;$.g.sa=$.gB.prototype.sa|4194304;$.g.sP=1.3E-5;$.g.FE={};$.g.Zr=function(){return 0};$.g.YE=null;
$.g.Ae=function(a,b,c){a=a||this.i("color")||"blue";var d,e=this.aa(),f={},h=this.sd();c=$.n(c)&&c;h&&!c&&(c=e.get(this.Se.ol),$.n(c)&&(d=h.yq(c)),$.Sc(f,{scaledColor:d,colorScale:h}));$P(this)&&(d=e.o("currentPointElement"),h=(h=e.o("features"))&&h.length?h[0]:null,$.Sc(f,{properties:h?h.properties:null,attributes:d?d.attrs:null,element:d?d.domElement:null}));f.sourceColor=a;this.Qs()&&(e=b?this.Qf():e,$.Sc(f,{index:e.la(),sourceColor:a,iterator:e,referenceValueNames:this.ue()}));return f};
$.g.Fi=function(a){var b=this.ph();return this.Qs()?(a=a?this.Qf():this.aa(),{index:a.la(),sourceHatchFill:b,iterator:a,referenceValueNames:this.ue()}):{sourceHatchFill:b}};$.g.EC=function(a){return $.n(a)?(a!=this.b&&(this.b=a,this.B(1536,5)),this):this.b||this.g};
$.g.al=function(a,b){var c=this.aa();c.select(a);var d=$.n(b)?b:$.$w(this.state,a),e=!!(d&$.qo),f=!e&&!!(d&$.po),h,k=c.get("normal");k=$.n(k)?k.label:void 0;var l=(k=$.Ro(k,c.get("label")))&&$.n(k.enabled)?k.enabled:null;var m=this.Sa().labels(),p=null;if(e){var q=c.get("selected");q=$.n(q)?q.label:void 0;var r=(q=$.Ro(q,c.get("selectLabel")))&&$.n(q.enabled)?q.enabled:null;p=this.selected().labels()}else f?(q=c.get("hovered"),q=$.n(q)?q.label:void 0,r=(q=$.Ro(q,c.get("hoverLabel")))&&$.n(q.enabled)?
q.enabled:null,p=this.mb().labels()):q=null;e||f?h=null===r?null===p.enabled()?null===l?m.enabled():l:p.enabled():r:h=null===l?m.enabled():l;return h?(c=YP(this,d),c=this.Ai(c),d=this.Ec(!0),e={},k&&$.Sc(e,k),p&&$.Sc(e,$.lN(p)),q&&$.Sc(e,q),q=e.anchor,$.n(q)&&null!==q||(e.anchor=this.aa().o("labelAnchor")),$.hn(m.measure(d,c,e,a))):null};
$.g.lN=function(a){return $.n(a)?(a=!1===a?"no-overlap":a,a=null===a?a:"allow-overlap"==$.Ok(a),this.YE!=a&&(this.YE=a,this.B(256,1025)),this):null===this.YE?this.Aa.i("overlapMode"):this.YE?"allow-overlap":"no-overlap"};$.g.yf=function(a,b,c){var d=a.la();this.f&&$.n(this.f[d])&&!this.f[d]||VP.u.yf.call(this,a,b,c)};$.g.v0=function(){return this.va};$.g.iD=function(){return!0};
$.g.qA=function(a){if(22==this.Se.type||this.hk()){var b=aQ(this,a);a.o("x",b?b.x:window.NaN);a.o("value",b?b.y:window.NaN)}this.hk()&&a.o("size",this.sF(Number(a.get("size"))))};
$.g.Pn=function(){for(var a=-window.Infinity,b=window.Infinity,c=0,d=0,e=this.vc();e.advance();){var f=this.enabled()?[this.aa().get(this.Se.ol)]:null;f&&(f=$.N(f[0]),(0,window.isNaN)(f)||(a=Math.max(a,f),b=Math.min(b,f),c+=f));d++}e=c/d;this.Ia("seriesMax",a);this.Ia("seriesMin",b);this.Ia("seriesSum",c);this.Ia("seriesAverage",e);this.Ia("seriesPointsCount",d);this.Ia("seriesPointCount",d)};
$.g.My=function(){var a=this.vc(),b=this.P()?this.P().Ha():null,c=b&&!b.ff();for(c&&b.suspend();a.advance()&&this.enabled();)Uea(this);c&&b.resume()};
$.g.Xj=function(a,b){var c=this.aa();if(this.Rg())if($P(this)){var d=c.o("features");if(!d){c.o("beforeDrawState",a);return}for(var e=0,f=d.length;e<f;e++){var h=d[e];$.n(h.fa)&&FR(this.mc(),h,function(b){var d=b.fa;if(d&&$.K(d,$.ng)){var e=c.o("beforeDrawState");$.ea(e)&&(a=e,c.o("beforeDrawState",null));e=a;var f="s"+$.oa(d),h=d.zIndex();switch(e){case $.po:f in this.VD&&(h=this.VD[f]);f in this.fA||(this.fA[f]=h,d.zIndex(1E4),c.o("stateZIndex",1E4),this.WG[f]=d);break;case $.qo:f in this.fA&&(h=
this.fA[f],delete this.WG[f],delete this.fA[f]);f in this.VD||(this.VD[f]=h,d.zIndex(1E3),c.o("stateZIndex",1E3),this.XN[f]=d);break;default:f in this.WG&&(this.WG[f].zIndex(this.fA[f]),c.o("stateZIndex",null),delete this.WG[f],delete this.fA[f]),f in this.XN&&(this.XN[f].zIndex(this.VD[f]),c.o("stateZIndex",null),delete this.XN[f],delete this.VD[f])}c.o("currentPointElement",b);d={foreignFill:d};b.p1&&(d.hatchFill=b.p1);this.vf.tm(a,d);this.vf.lB(a,d)}},this)}}else d=c.o("shapes"),this.vf.tm(a,d),
this.vf.lB(a,d);this.check(256)&&this.cL(c,a,!0);this.Se.sE(c,a);this.check(4194304)&&this.Op(c,a,!0);this.check($.tG)&&this.yf(c,a,!0);return b};$.g.Wp=$.ia;$.g.SZ=function(){this.I(65536)};
$.g.ob=function(){$P(this)||this.I(65536);if(this.J(4194304)||this.J(65536)){var a=this.nn(),b=this.ue();this.nW.length=0;var c=this.vc(),d=this.Aa.dH,e;for(d&&(e=d[this.EC()]);c.advance();){if(this.J(4194304)){if(!e)continue;d=c.get(b[0]);if(!d||!($.ea(d)||$.z(d)||$.A(d)))continue;d=$.A(d)?d:[d];c.o("features",void 0);for(var f=[],h=0,k=d.length;h<k;h++){var l=d[h],m=e[l];m&&(f.push(m),this.nW[c.la()]=l)}c.o("features",f)}a&&this.J(65536)&&a.Uc(c.get(b[1]))}a&&this.J(65536)&&a.Cg();this.I(65536);
this.I(4194304)}};$.g.rd=function(){this.ob();this.rA=this.Aa.gf.qg().clone();VP.u.rd.call(this)};$.g.jn=function(a,b){if(this.J(4)&&$P(this)){var c=a.o("features");if(c){var d=a.o("beforeDrawState");$.ea(d)&&(b=d,this.Xj(b),a.o("beforeDrawState",null));d=0;for(var e=c.length;d<e;d++){var f=c[d];$.n(f.fa)&&$.du(this,f.fa)}}}VP.u.jn.call(this,a,b)};
$.g.LC=function(a){var b=this.ss();b.I(b.sa);var c=b.F(),d={sourceColor:this.i("color")};$.E(b.ns())&&(c.iconFill=b.ns().call(d,d));$.E(b.ps())&&(c.iconStroke=b.ps().call(d,d));$.E(b.os())&&(d.sourceColor=this.lF,c.iconHatchFill=b.os().call(d,d));b=this.gC();var e;$.E(a)&&(e=a.call(b,b));$.z(e)||(e=this.name());"marker"==c.iconType&&this.check(4194304)&&(a=this.Sa().Eb(),c.iconFill=a.fill(),c.iconStroke=a.stroke());c.iconType=this.KC(c.iconType,b);e={text:e,iconEnabled:!0,iconStroke:void 0,iconFill:this.i("color"),
iconHatchFill:void 0,disabled:!this.enabled()};$.Sc(e,c);return e};$.g.sR=function(){return[this,this.mc()]};$.g.NS=function(){return{}};
$.g.Em=function(a,b){var c=this.cl(),d={chart:{value:this.mc(),type:""},series:{value:this,type:""},scale:{value:c,type:""},index:{value:b.la(),type:"number"},seriesName:{value:this.name(),type:"string"},id:{value:b.get("id"),type:"string"}},e=b.get("value");$.n(e)&&(d.value={value:e,type:"number"});c&&$.E(c.Na)&&(d.xScaleType={value:c.Na(),type:"string"});e=this.ue();for(c=0;c<e.length;c++){var f=e[c];f in d||(d[f]={value:b.get(f),type:"number"})}if(21==this.Se.type){var h=b.o("pointsWithoutMissing");
if(h&&h.length){d.startPoint={value:{lat:h[0],"long":h[1]},type:""};d.endPoint={value:{lat:h[h.length-2],"long":h[h.length-1]},type:""};f=[];c=0;for(e=h.length;c<e;c+=2)f.push({lat:h[c],"long":h[c+1]});d.connectorPoints={value:f,type:""}}}else if((c=b.o("regionId"))&&(d.id={value:c,type:"string"}),c=(c=b.o("features"))&&c.length?c[0].properties:null)for(h in d.regionProperties={value:c,type:""},c)!c.hasOwnProperty(h)||h in d||(d[h]={value:c[h]});return d};$.g.MS=function(){return $.eB(this,new $.rw)};
$.g.DF=function(){return this.MS()};$.g.jV=function(){return!1};$.g.t$=function(a,b){var c=this.Aa.scale().transform(a,b);return{x:c[0],y:c[1]}};$.g.Ec=function(a){if(!this.j||a)this.j=new $.rw;return $.eB(this,this.j)};
$.g.dL=function(a,b,c,d,e,f){var h=a[0],k=a[1],l=a[2];a=a[3];if(!d.value)return null;var m=e?h.Vd(c):h.Vq(c);m?(e&&m.lf(e),m.uc(d)):m=e?h.add(e,d,c):h.add(d,c);m.oi();if(e)m.Vk(this.aa().o("labelAnchor")),b.unshift(m),this.BW.apply(this,b);else{$.Sx(m,k||h);l=$.Qc(l||{});a=$.Qc(a||{});b=m.ic("rotation");if(!$.n(b)||null===b||(0,window.isNaN)(b))b=this.aa().o("markerRotation"),"rotation"in l||(l.rotation=b),"rotation"in a||(a.rotation=b);b=m.ic("anchor");$.n(b)&&null!==b||(b=this.aa().o("markerAnchor"),
"anchor"in l||(l.anchor=b),"anchor"in a||(a.anchor=b));m.kd(l,a)}f&&m.$();24==this.Se.type&&(m.rA=this.Aa.gf.qg().clone());return m};
$.g.Ai=function(a){var b=this.aa(),c={x:0,y:0};switch(this.Se.type){case 21:if(b.o("shapes").path){var d=b.o("sumDist"),e=b.o("connectorsDist"),f=b.o("points"),h=0;if($.z(a))switch(a){case "start":var k=0;break;case "middle":k=.5;break;case "end":k=1;break;default:$.oo(a)?k=(0,window.parseFloat)(a)/100:(k=$.N(a),(0,window.isNaN)(k)&&(k=.5))}else k=$.N(a),(0,window.isNaN)(k)&&(k=.5);d*=k;for(var l=0,m=f.length;l<m;l+=8){a=e[l/8];if(d>=h&&d<=h+a){var p=(d-h)/a,q=f[l+2],r=f[l+3],t=f[l+4],u=f[l+5],v=
f[l+6],w=f[l+7];c=t+(q-t)*(1-p);var x=u+(r-u)*(1-p);t=v+(t-v)*(1-p);u=w+(u-w)*(1-p);q=c+(q+(f[l]-q)*(1-p)-c)*(1-p);r=x+(r+(f[l+1]-r)*(1-p)-x)*(1-p);c=t+(c-t)*(1-p);t=u+(x-u)*(1-p);x=c+(q-c)*(1-p);p=t+(r-t)*(1-p);u=$.Qm($.cb(Math.atan(Math.abs(t-r)/Math.abs(c-q))),7);c<q&&t<r?u-=180:c<q&&t>r?u=180-u:c>q&&t>r||c>q&&t<r&&(u=-u);b.o("labelAnchor",ZP($.ab(u+90)));b.o("markerRotation",u);b.o("markerAnchor",1==k?"right-center":k?"center":"left-center")}h+=a}this.Aa.w5||this.Aa.Ofa||21!=this.Se.type?(e=this.rA,
b=this.Aa.gf.qg().clone(),e&&$.wb(b,$.Ib(e)),e=b.ed,c={x:x*e+b.Ad,y:p*e+b.xd}):c={x:x,y:p}}else c={x:0,y:0};break;case 22:case 23:c=aQ(this,b);break;case 24:if(p=(x=b.o("features"))&&x.length?x[0]:null){x=cQ(this);if(a=b.get("label"))l=a.positionMode,k=a.x,f=a.y;if(c=(c=p.properties)&&c.label)m=c&&c.positionMode,d=a.x,h=a.y;l=l||m||"relative";k=$.n(k)?k:d;h=$.n(f)?f:h;$.n(k)&&$.n(h)?(b.o("positionMode",l),e=x.x,f=x.y,"relative"==l?(k=$.so(k),h=$.so(h),k=$.oo(k)?(0,window.parseFloat)(k)/100:k,h=$.oo(h)?
(0,window.parseFloat)(h)/100:h,(p=p.fa)?(p=p.Qq(),k=p.left+p.width*k,h=p.top+p.height*h):h=k=0):"absolute"==l?(h=this.Aa.scale().transform((0,window.parseFloat)(k),(0,window.parseFloat)(h)),k=h[0],h=h[1]):"offset"==l&&(p=$.bb((0,window.parseFloat)(k)-90),h=(0,window.parseFloat)(h),k=e+h*Math.cos(p),h=f+h*Math.sin(p)),p=$.Qm($.cb(Math.atan(Math.abs(f-h)/Math.abs(e-k))),7),e<k&&f<h?p-=180:e<k&&f>h?p=180-p:e>k&&f>h||e>k&&f<h&&(p=-p),e=ZP($.ab(p-90)),b.o("labelAnchor",e),b.o("markerAnchor",e),e={x:k,
y:h}):(b.o("labelAnchor","center"),b.o("markerAnchor","center"))}else x=null;e?(e.connectorPoint={value:x},c=e):c=x;if(b=c&&c.connectorPoint)return delete c.connectorPoint,{connectorPoint:b,value:c}}return{value:c}};$.g.Rd=function(a){return $P(this)?new UP(this,a):VP.u.Rd.call(this,a)};var $R={};$.gq($R,0,"startSize",$.qq);$.gq($R,0,"endSize",$.qq);$.gq($R,0,"curvature",$.qq);$.U(VP,$R);
VP.prototype.F=function(){var a=VP.u.F.call(this);$.Hq(this,$R,a);a.seriesType=this.Na();a.overlapMode=this.YE;$.n(this.b)&&(a.geoIdField=this.b);return a};VP.prototype.X=function(a,b){VP.u.X.call(this,a,b);$.zq(this,$R,a);this.lN(a.overlapMode);this.EC(a.geoIdField)};var aS=VP.prototype;aS.overlapMode=aS.lN;aS.geoIdField=aS.EC;aS.transformXY=aS.t$;aS.getPoint=aS.Rd;$.H(fQ,$.iz);fQ.prototype.jw=function(){this.g||eQ(this.map.p2,1);fQ.u.jw.call(this)};fQ.prototype.Nl=function(){this.g||eQ(this.map.p2,0);fQ.u.Nl.call(this)};fQ.prototype.R=function(){fQ.u.R.call(this);this.map=null};$.H(gQ,fQ);gQ.prototype.QQ=function(a,b){var c=(a[b]-this.Td.$h)/this.Td.scale;var d=(a[b+1]-this.Td.Ti)/this.Td.scale;this.EI&&(d=this.EI.gj(c,d),c=d[0],d=d[1]);c=this.Td.Eo.forward(c,d);a[b]=c[0]*this.Td.scale+this.Td.$h;a[b+1]=c[1]*this.Td.scale+this.Td.Ti;this.FS.qL(a[b],a[b+1])};gQ.prototype.stop=function(a){$.gz(this);this.Xb=$.cz;a&&(this.Ed=1);iQ(this,this.Ed);this.Io("stop");this.Nl()};
gQ.prototype.HF=function(a){this.Xb!=$.cz&&(this.Ed=(a-this.j)/(this.D-this.j),1<=this.Ed&&(this.Ed=1),iQ(this,this.Ed),1==this.Ed?(this.Xb=$.cz,$.gz(this),this.wD(),this.Nl()):1==this.Xb&&this.Qm())};gQ.prototype.R=function(){gQ.u.R.call(this);this.Td=this.EI=this.Yr=null};$.H(jQ,fQ);jQ.prototype.jw=function(){this.G=$.Tm(this.b[0],this.f[0],1E-5)&&this.map.sJ;jQ.u.jw.call(this)};jQ.prototype.Qm=function(){this.G?oQ(this,this.coords[1],this.coords[2]):nQ(this,this.coords[0]);this.g||dQ(this.map).dispatchEvent(KR(this.map,"zoom"));jQ.u.Qm.call(this)};
jQ.prototype.wD=function(){if(this.map.Yr()){var a=this.coords[0],b=this.coords[1],c=this.coords[2];this.G?oQ(this,b,c):(b=this.map.gf.Gd,c=this.map.i("minZoomLevel"),!this.map.ur&&a<=c&&!$.yb(b)||this.map.dP==c?(this.map.gf.jc(c,0,0,c,0,0),this.map.Sp=c,this.map.scale().zoom=c,lQ(this.map.scale(),0,0),mQ(this.map)):nQ(this,a))}this.map.d2=this.map.ur;this.map.ur=!1;this.map.pl=window.NaN;jQ.u.wD.call(this)};
jQ.prototype.Nl=function(){this.g||dQ(this.map).dispatchEvent(KR(this.map,"zoomend"));jQ.u.Nl.call(this);this.map=this.map.ai=null;this.cd()};$.H(pQ,$.Y);$.g=pQ.prototype;$.g.qa=$.Y.prototype.qa;$.g.sa=$.Y.prototype.sa;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Y&&$.Zq(this.Y,this.Qc,this),(this.Y=a)&&$.L(this.Y,this.Qc,this)),this):this.Y};
$.g.Qc=function(a){var b=0;$.X(a,1)&&(b|=1);$.X(a,8)&&(b|=8);this.Rb=null;this.ta(b)};var hfa=pQ.prototype,bS={};$.gq(bS,1,"stroke",$.Dq);$.gq(bS,0,"length",$.N);$.gq(bS,0,"position",$.Qk);hfa.HJ=bS;$.U(pQ,pQ.prototype.HJ);$.g=pQ.prototype;$.g.orientation=function(a){return $.n(a)?(a=$.Fk(a),this.ih!=a&&(this.ih=a,this.Ko=null),this):this.ih};$.g.Hb=function(){var a=this.orientation();return"top"==a||"bottom"==a};$.g.remove=function(){this.path&&this.path.parent(null)};
$.g.$=function(){qQ(this);this.path.clear();this.path.stroke(this.i("stroke"));if(!this.Bc())return this;this.J(8)&&(this.path.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.path.parent(this.P()),this.I(2));return this};$.g.Pp=function(a){a=sQ(this,a);this.path.moveTo(a[0],a[1]);this.path.lineTo(a[2],a[3])};$.g.X=function(a,b){pQ.u.X.call(this,a,b);b?$.yq(this.ma,this.HJ,a):$.zq(this,this.HJ,a)};$.g.F=function(){var a=pQ.u.F.call(this);$.Hq(this,this.HJ,a,"Map axis ticks props");return a};
$.g.R=function(){$.qd(this.path);this.path=null;pQ.u.R.call(this)};$.H(uQ,$.Y);$.g=uQ.prototype;$.g.sa=$.Y.prototype.sa|976;$.g.qa=$.Y.prototype.qa|32768;$.g.line=null;$.g.kr="axis";$.g.Da=null;$.g.hb=null;$.g.oc=null;$.g.Nc=null;$.g.na=null;$.g.Ub=null;$.g.Qh=null;$.g.lk=null;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Y&&$.Zq(this.Y,this.Qc,this),(this.Y=a)&&$.L(this.Y,this.Qc,this)),this):this.Y};$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=this.xe,c|=8);$.X(a,32768)&&(b|=1,c|=9);this.Rb=null;this.B(b,c)};var cS={};$.gq(cS,1,"stroke",$.Dq);$.gq(cS,0,"overlapMode",$.Ok);$.gq(cS,0,"drawFirstLabel",$.uq);$.gq(cS,0,"drawLastLabel",$.uq);$.U(uQ,cS);$.g=uQ.prototype;
$.g.title=function(a){this.sb||(this.sb=new $.Nv,this.sb.Ye(),this.sb.padding().Ye(),this.sb.margin().Ye(),$.W(this,"title",this.sb),this.sb.ib(this),this.sb.parent(this.parent().title()),$.L(this.sb,this.uq,this));return $.n(a)?(this.sb.K(a),this):this.sb};$.g.uq=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=64,c=1);this.B(b,c)};
$.g.labels=function(a){this.Da||(this.Da=new $.Du,this.Da.Ye(),$.W(this,"labels",this.Da),this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.Zd=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=384,c=1);this.Qd();this.B(b,c)};
$.g.kb=function(a){this.oc||(this.oc=new $.Du,this.oc.Ye(),$.W(this,"minorLabels",this.oc),this.oc.ib(this),$.L(this.oc,this.z$,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this):this.oc};$.g.z$=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=384,c=1);this.Qd();this.B(b,c)};$.g.Xk=function(){var a=new pQ;a.orientation(this.ih);a.ib(this);$.L(a,this.A$,this);return a};
$.g.Qa=function(a){this.hb||(this.hb=this.Xk(),this.hb.Ye(),$.W(this,"ticks",this.hb),this.hb.parent(this.parent().Qa()));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.tb=function(a){this.Nc||(this.Nc=this.Xk(),this.Nc.Ye(),$.W(this,"minorTicks",this.Nc),this.Nc.parent(this.parent().tb()));return $.n(a)?(this.Nc.K(a),this):this.Nc};$.g.A$=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=384,c=1);this.Qd();this.B(b,c)};
$.g.scale=function(a){return $.n(a)?(this.vn!=a&&(this.vn&&$.Zq(this.vn,this.Vh,this),(this.vn=a)&&$.L(this.vn,this.Vh,this),this.Qd(),$.Mu(this.labels()),$.Mu(this.kb()),this.Qa().na=this.vn,this.tb().na=this.vn,this.B(this.xe,9)),this):this.vn};$.g.Vh=function(a){$.X(a,2)&&(this.Qd(),$.Mu(this.labels()),$.Mu(this.kb()),this.B(this.xe,9))};$.g.orientation=function(a){return $.n(a)?(this.ih=a,this):this.ih};$.g.Hb=function(){return"top"==this.ih||"bottom"==this.ih};
$.g.My=function(a){this.Wa&&this.Wa.jc(a.ed,a.We,a.Me,a.Ee,a.Ad,a.xd)};
$.g.Px=function(){if(!this.Qj||this.J(512)){if("allow-overlap"==this.i("overlapMode"))return!1;var a=this.scale(),b=[],c=[];if(a){var d=-1,e=-1,f=-1,h=(this.Hb()?this.scale().Uw():this.scale().Vw()).get(),k=h.length,l,m,p,q=this.parent().labels(),r=this.labels().dd("enabled");q=void 0==r?q.enabled():r;var t=this.Hb()?this.scale().Ty():this.scale().Uy();r=this.i("drawFirstLabel");var u=this.i("drawLastLabel"),v=t.get();var w=t=0;var x=v.length,y=this.parent().kb();var B=this.kb().dd("enabled");for(y=
void 0==B?y.enabled():B;t<k||w<x;){var G=(0,window.parseFloat)(h[t]);B=(0,window.parseFloat)(v[w]);if(this.Hb()){var C=a.sr(G);var I=a.sr(B)}else C=a.qp(G),I=a.qp(B);B=G=l=m=null;if(-1==e&&q)for(p=t;-1==e&&p<k;){!p&&r||p==k-1&&u||0!=p&&p!=k-1?B=this.hd(p,!0,h):B=null;-1!=d?G=this.hd(d,!0,h):G=null;p!=k-1&&u?l=this.hd(k-1,!0,h):l=null;if(B&&!$.Zm(B,G)&&!$.Zm(B,l)){var P=this.Hb()?a.sr(h[p]):a.qp(h[p]);0>=P&&r||1<=P&&u?e=p:0<P&&1>P&&(e=p)}p++}C<=I&&t<k||w==x?(q&&t==e?(d=t,e=-1,b.push(!0)):b.push(!1),
t++,C==I&&(q||this.Qa().enabled())&&(c.push(!1),w++)):(y?(B=this.hd(w,!1,v),-1!=d&&(G=this.hd(d,!0,h)),-1!=e&&(l=this.hd(e,!0,h)),-1!=f&&(m=this.hd(f,!1,v)),C=(C=this.kb().Vd(w))?$.n(C.enabled())?C.enabled():!0:!0,$.Zm(B,G)||$.Zm(B,l)||$.Zm(B,m)||!C?c.push(!1):(P=this.Hb()?a.sr(v[w]):P=a.qp(v[w]),0>=P&&r||1<=P&&u?(f=w,c.push(!0)):0<P&&1>P?(f=w,c.push(!0)):c.push(!1))):c.push(!1),w++)}y||(c=!1)}q||(b=!1);this.Qj={labels:b,kb:c};this.I(512)}return this.Qj};
$.g.Vp=function(a,b){b=(0,window.parseFloat)(b);var c=Math.abs(b)%1;var d=Math.floor(Math.abs(b));var e=Math.floor(60*c);c=Math.floor(60*c%1*60);d+="°";if(c||e)10>e&&(e="0"+e),d+=e+"'";e=this.Hb()?0<b?"E":"W":0<b?"N":"S";d+=e;e=this.scale();e={axis:{value:this,type:""},scale:{value:e,type:""},index:{value:a,type:"number"},value:{value:d,type:"string"},tickValue:{value:b,type:"number"},max:{value:$.n(e.max)?e.max:null,type:"number"},min:{value:$.n(e.min)?e.min:null,type:"number"}};d={};d["%AxisName"]=
{value:this.title().text(),type:"string"};e=new $.rw(e);e.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"}).nl(d);return $.av(e)};$.g.JL=function(a,b){switch(this.ih){case "top":var c=$.cb(a)+90;break;case "right":c=$.cb(a);break;case "bottom":c=$.cb(a)-90;break;case "left":c=$.cb(a)-180}var d=(b?this.Qa():this.tb()).i("position");if("inside"==d||"center"==d)c+=180;return c};
$.g.hd=function(a,b,c){var d=b?this.Qh:this.lk;if($.n(d[a]))return d[a];var e=b?this.Qa():this.tb(),f=b?this.labels():this.kb(),h=b?this.parent().labels():this.parent().kb(),k=(0,window.parseFloat)(c[a]);c=sQ(e,k);var l=f.i("position")||h.i("position");l=$.Ao(l);var m=e.i("position");m=$.Ao(m);e.enabled()?0<m*l?(e=c[2],l=c[3]):0>m*l||m?(e=c[0],l=c[1]):(e=c[0]+(c[2]-c[0])/2,l=c[1]+(c[3]-c[1])/2):(e=c[0],l=c[1]);k=this.Vp(a,k);e={value:{x:e,y:l}};l=$.lN(h);f=$.lN(f);c=this.JL(c[4],b);b=vQ(this,b);$.Sc(l,
f);$.n(l.rotation)||(l.rotation=c);$.n(l.anchor)||(l.anchor=b);h=h.hl(k,e,l,a);return d[a]=h};$.g.qd=function(){var a=this.ja();return a?this.scale()&&this.i("enabled")?wQ(this,a):a.clone():new $.J(0,0,0,0)};$.g.ho=function(){this.Qd();this.B(this.xe,9)};$.g.Qd=function(){this.Qh.length=0;this.lk.length=0;this.Qj=null};
$.g.ce=function(a,b,c){var d=b?this.Qa():this.tb(),e=b?this.labels():this.kb(),f=b?this.parent().labels():this.parent().kb(),h=sQ(d,a),k=e.i("position")||f.i("position");k=$.Ao(k);var l=d.i("position");l=$.Ao(l);if(d.enabled())if(!l&&!k){var m=h[0]+(h[2]-h[0])/2;var p=h[1]+(h[3]-h[1])/2}else if(0<l*k||!l&&0>k)m=h[2],p=h[3];else{if(0>l*k||!k||!l&&0<k)m=h[0],p=h[1]}else m=h[0],p=h[1];a=this.Vp(c,a);c=e.add(a,{value:{x:m,y:p}},c);h=this.JL(h[4],b);$.n(h)&&(h=$.N(h),c.zd.rotation!==h&&(c.zd.rotation=
h,$.n(c.Ma.rotation)&&!(0,window.isNaN)(c.Ma.rotation)||c.B(16,9)));c.Vk(vQ(this,b));b=$.lN(e);$.n(b.enabled)&&null==b.enabled&&delete b.enabled;$.Qu(c,[c,b,"auto",f,e.ma,f.ma])};
$.g.y$=function(){var a=this.scale(),b=a.precision()[0],c=a.hq(),d=a.eq(),e=a.fq(),f=c;if(!(0,window.isNaN)(f))if(RP(a.Td["default"].zg)){var h=a.transform(c,e,null);this.line.moveTo(h[0],h[1]);h=a.transform(d,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<d;){h=a.transform(f,e,null);var k=h[0];h=h[1];f==c?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(d,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.x$=function(){var a=this.scale(),b=a.precision()[1],c=a.eq(),d=a.iq(),e=a.fq(),f=d;if(!(0,window.isNaN)(f))if(RP(a.Td["default"].zg)){var h=a.transform(c,d,null);this.line.moveTo(h[0],h[1]);h=a.transform(c,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<e;){h=a.transform(c,f,null);var k=h[0];h=h[1];f==d?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(c,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.v$=function(){var a=this.scale(),b=a.precision()[0],c=a.hq(),d=a.eq(),e=a.iq(),f=c;if(!(0,window.isNaN)(f))if(RP(a.Td["default"].zg)){var h=a.transform(c,e,null);this.line.moveTo(h[0],h[1]);h=a.transform(d,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<d;){h=a.transform(f,e,null);var k=h[0];h=h[1];f==c?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(d,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.w$=function(){var a=this.scale(),b=a.precision()[1],c=a.hq(),d=a.iq(),e=a.fq(),f=d;if(!(0,window.isNaN)(f))if(RP(a.Td["default"].zg)){var h=a.transform(c,d,null);this.line.moveTo(h[0],h[1]);h=a.transform(c,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<e;){h=a.transform(c,f,null);var k=h[0];h=h[1];f==d?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(c,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.Np=function(){xQ(this).clear();switch(this.ih){case "top":var a=this.y$;break;case "right":a=this.x$;break;case "bottom":a=this.v$;break;case "left":a=this.w$}a.call(this);this.line.stroke(this.i("stroke"))};$.g.remove=function(){this.Wa&&this.Wa.parent(null)};$.g.Bc=function(){if(this.ef())return!1;if(!this.i("enabled"))return this.J(1)&&(this.remove(),this.I(1),this.title().B(2),this.Qa().B(2),this.tb().B(2),this.labels().B(2),this.kb().B(2),this.B(2|this.xe)),!1;this.I(1);return!0};
$.g.$=function(){var a=this.scale();if(!a)return $.cl(2),this;a.ob();if(!this.Bc())return this;this.Wa||(this.Wa=$.lk(),this.title().P(this.Wa),xQ(this).parent(this.Wa),this.Qa().P(this.Wa),this.tb().P(this.Wa),this.labels().P(this.Wa),this.kb().P(this.Wa));var b=this.ih;$.V(this.title());$.V(this.labels());$.V(this.kb());$.V(this.Qa());$.V(this.tb());this.J(16)&&(this.Np(),this.I(16));if(this.J(8)){var c=this.zIndex();this.Wa.zIndex(c);xQ(this).zIndex(1);this.I(8)}this.J(2)&&(c=this.P(),this.Wa.parent(c),
this.I(2));this.J(64)&&(c=this.title(),c.i("enabled")&&c.ja(wQ(this)),$.Qv(c,b),c.$(),this.I(64));if(this.J(256)){var d=this.Qa();d.$();if(d.enabled())var e=d.Pp;var f=this.tb();f.$();if(f.enabled())var h=d.Pp;this.I(256)}if(this.J(128)){var k=this.labels();k.P()||k.P(this.P());k.ja(this.ja());k.clear();k=this.labels().dd("enabled");k=void 0==k?this.parent().labels().enabled():k;var l=this.kb();l.P()||l.P(this.P());l.ja(this.ja());l.clear();l=this.kb().dd("enabled");l=void 0==l?this.parent().kb().enabled():
l;this.I(128)}if($.n(e)||$.n(h)||k||l){b=(this.Hb()?this.scale().Uw():this.scale().Vw()).get();c=b.length;var m=this.Px();if($.D(m)){l=m.labels;var p=m.kb}else l=!m,p=!m;var q=(this.Hb()?this.scale().Ty():this.scale().Uy()).get();var r=m=0;for(var t=q.length,u;m<c||r<t;){var v=(0,window.parseFloat)(b[m]);var w=(0,window.parseFloat)(q[r]);if(this.Hb()){var x=a.sr(v);u=a.sr(w)}else x=a.qp(v),u=a.qp(w);if(x<=u&&m<c||r==t){var y=$.A(l)?l[m]:l;$.da(l)&&(m||(y=y&&this.i("drawFirstLabel")),m==c-1&&(y=y&&
this.i("drawLastLabel")));(w=$.A(l)&&l[m]||$.da(l))&&e&&e.call(d,v);y&&this.ce(v,!0,m);y=x;m++}else{if(!e&&!k||y!=u)x=$.A(p)?p[r]:p,(v=$.A(p)&&p[r]||$.da(p))&&h&&h.call(f,w),x&&this.ce(w,!1,r);r++}}p&&($.Mu(this.parent().kb()),$.Mu(this.kb()),this.kb().$());$.Mu(this.parent().labels());$.Mu(this.labels());this.labels().$()}this.title().da(!1);this.labels().da(!1);this.kb().da(!1);this.Qa().da(!1);this.tb().da(!1);this.I(4);return this};
$.g.X=function(a,b){uQ.u.X.call(this,a,b);$.zq(this,cS,a,b);this.title().ia(!!b,a.title);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels);this.Qa().ia(!!b,a.ticks);this.tb().ia(!!b,a.minorTicks)};
$.g.F=function(){var a=uQ.u.F.call(this),b=this.title().F();$.Jc(b)||(a.title=b);b=this.Qa().F();$.Jc(b)||(a.ticks=b);b=this.tb().F();$.Jc(b)||(a.minorTicks=b);b=$.lN(this.labels());$.Jc(b)||(a.labels=b);b=$.lN(this.kb());$.Jc(b)||(a.minorLabels=b);$.Hq(this,cS,a,"Map "+this.ih+" axis props");return a};$.g.R=function(){$.td(this.sb,this.Da,this.oc,this.hb,this.Nc);this.Nc=this.hb=this.oc=this.Da=this.sb=null;uQ.u.R.call(this)};var dS=uQ.prototype;dS.title=dS.title;dS.labels=dS.labels;
dS.minorLabels=dS.kb;dS.ticks=dS.Qa;dS.minorTicks=dS.tb;$.H(yQ,$.Yq);$.g=yQ.prototype;$.g.sa=985;$.g.qa=32777;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};var eS={};$.hq(eS,[$.Z.Jn,$.Z.uB,$.Z.kP,$.Z.lP,$.Z.mP]);$.U(yQ,eS);$.g=yQ.prototype;$.g.hm=function(){return this.G};
$.g.top=function(a){this.j||(this.j=new uQ,this.j.Ye(),$.W(this,"top",this.j),this.j.orientation("top"),this.j.parent(this),$.L(this.j,this.D.bN,this.D),this.j.Mh=fS+0*gS,this.G[0]=this.j);return $.n(a)?(this.j.K(a),this):this.j};$.g.right=function(a){this.g||(this.g=new uQ,this.g.Ye(),$.W(this,"right",this.g),this.g.orientation("right"),this.g.parent(this),$.L(this.g,this.D.bN,this.D),this.g.Mh=fS+gS,this.G[1]=this.g);return $.n(a)?(this.g.K(a),this):this.g};
$.g.bottom=function(a){this.b||(this.b=new uQ,this.b.Ye(),$.W(this,"bottom",this.b),this.b.orientation("bottom"),this.b.parent(this),$.L(this.b,this.D.bN,this.D),this.b.Mh=fS+2*gS,this.G[2]=this.b);return $.n(a)?(this.b.K(a),this):this.b};$.g.left=function(a){this.f||(this.f=new uQ,this.f.Ye(),$.W(this,"left",this.f),this.f.orientation("left"),this.f.parent(this),$.L(this.f,this.D.bN,this.D),this.f.Mh=fS+3*gS,this.G[3]=this.f);return $.n(a)?(this.f.K(a),this):this.f};
$.g.title=function(a){this.sb||(this.sb=new $.Nv,$.W(this,"title",this.sb),$.L(this.sb,this.uq,this),this.sb.I(4294967295));return $.n(a)?(this.sb.K(a),this.sb.I(4294967295),this):this.sb};$.g.uq=function(){this.sb.I(4294967295)};$.g.labels=function(a){this.Da||(this.Da=new $.Du,$.W(this,"labels",this.Da),this.Da.X(this.Da.ma,!0),$.L(this.Da,this.Zd,this),this.Da.I(4294967295));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this.Da.I(4294967295),this):this.Da};
$.g.Zd=function(a){this.Da.I(4294967295);var b=0;$.X(a,8)?b=9:$.X(a,1)&&(b=1);this.ta(b)};$.g.kb=function(a){this.oc||(this.oc=new $.Du,$.W(this,"minorLabels",this.oc),this.oc.X(this.oc.ma,!0),$.L(this.oc,this.u$,this),this.oc.I(4294967295));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this.oc.I(4294967295),this):this.oc};$.g.u$=function(a){this.oc.I(4294967295);var b=0;$.X(a,8)?b=9:$.X(a,1)&&(b=1);this.ta(b)};
$.g.Qa=function(a){this.hb||(this.hb=new pQ,$.W(this,"ticks",this.hb),$.L(this.hb,this.Yh,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.tb=function(a){this.Nc||(this.Nc=new pQ,$.W(this,"minorTicks",this.Nc),$.L(this.Nc,this.Yh,this));return $.n(a)?(this.Nc.K(a),this):this.Nc};$.g.Yh=function(a){var b=0;$.X(a,8)?b=9:$.X(a,1)&&(b=1);this.ta(b)};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};
$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};$.g.sg=function(a,b){var c=$.n(b)?b:{};this.left().ia(!!a,c.left);this.top().ia(!!a,c.top);this.right().ia(!!a,c.right);this.bottom().ia(!!a,c.bottom)};
$.g.X=function(a,b){$.V(this.D);$.zq(this,eS,a,b);b||this.enabled("enabled"in a?a.enabled:!0);this.title().ia(!!b,a.title);this.Qa().ia(!!b,a.ticks);this.tb().ia(!!b,a.minorTicks);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels);this.sg(!!b,a);this.D.da(!0)};
$.g.F=function(){var a={};if(this.f){var b=this.f.F();$.Jc(b)||(a.left=b)}this.j&&(b=this.j.F(),$.Jc(b)||(a.top=b));this.g&&(b=this.g.F(),$.Jc(b)||(a.right=b));this.b&&(b=this.b.F(),$.Jc(b)||(a.bottom=b));a.title=this.title().F();a.ticks=this.Qa().F();a.minorTicks=this.tb().F();a.labels=this.labels().F();a.minorLabels=this.kb().F();$.Hq(this,eS,a,"Map axes props");return a};
$.g.R=function(){$.td(this.j,this.g,this.b,this.f,this.sb,this.Da,this.oc,this.hb,this.Nc);this.f=this.b=this.g=this.j=null;this.G.length=0;this.Nc=this.hb=this.oc=this.Da=this.sb=null;yQ.u.R.call(this)};var hS=yQ.prototype;hS.left=hS.left;hS.top=hS.top;hS.right=hS.right;hS.bottom=hS.bottom;hS.title=hS.title;hS.ticks=hS.Qa;hS.minorTicks=hS.tb;hS.labels=hS.labels;hS.minorLabels=hS.kb;$.H(zQ,$.Y);$.xq(zQ,["labels"],"normal");var iS=function(){var a={};$.hq(a,[[0,"orientation",function(a){return $.Fk(a,"right")}],$.Z.kJ,$.Z.mJ,$.Z.nJ]);return a}();$.U(zQ,iS);$.g=zQ.prototype;$.g.sa=$.Y.prototype.sa|448;$.g.qa=$.Y.prototype.qa;$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.g.Zd=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=128,c=1);this.B(b,c)};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.W(this,"padding",this.Pa),$.L(this.Pa,this.vk,this));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.margin=function(a,b,c,d){this.Mc||(this.Mc=new $.zv,$.W(this,"margin",this.Mc),$.L(this.Mc,this.vk,this));return $.n(a)?(this.Mc.K.apply(this.Mc,arguments),this):this.Mc};$.g.vk=function(a){$.X(a,2)&&this.B(4,9)};
$.g.items=function(a){return $.n(a)?(this.Qb!=a&&(this.Qb=a,this.B(16,1)),this):this.Qb||[]};$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.W(this,"background",this.Ka),$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(256,1)};$.g.title=function(a){this.sb||(this.sb=new $.Nv,$.W(this,"title",this.sb),$.L(this.sb,this.uq,this));return $.n(a)?(this.sb.K(a),this):this.sb};
$.g.uq=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=64,c=1);this.B(b,c)};$.g.My=function(){for(var a=0,b=this.Sa().labels().tH();a<b;a++){var c=this.Sa().labels().Vd(a),d=c.Zg,e=this.g[a],f=e.Ue();f.vc().select(e.la());c=this.Ai(c.la()).value;f=cQ(f);d.clear().moveTo(c.x,c.y).lineTo(f.x,f.y)}};$.g.sh=function(a){var b=this.g[$.n(a.labelIndex)?a.labelIndex:a.domTarget.Xea];a.domTarget.tag={W:b.Ue(),index:b.la()};a.pointIndex=b.la()};
$.g.Hb=function(){var a=this.i("orientation");return"top"==a||"bottom"==a};$.g.jm=function(){this.Dd||(this.Dd=$.lk());return this.Dd};$.g.qd=function(){var a=this.ja();if(a){a=a.clone();if(this.enabled()){var b=this.lb(),c=b.height;b=b.width;switch(this.i("orientation")){case "top":a.height-=c;a.top+=c;break;case "right":a.width-=b;break;case "bottom":a.height-=c;break;case "left":a.width-=b,a.left+=b}}return a}return new $.J(0,0,0,0)};
$.g.lb=function(){if(!this.N||this.J(4)){var a=this.ja();if(a){a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);if(this.Hb()){var b=a.width;var c=a.height}else b=a.height,c=a.width;var d=0,e=0;this.f=this.b=null;for(var f=0,h=this.g.length;f<h;f++){var k=this.g[f],l=new $.Hu;AQ(this,k,l);$.Mu($.Nu(l));k=l.ic("enabled")?$.Nu(l).measure(l):$.gn(0,0,0,0);$.Mu($.Nu(l));k.height>e&&(e=k.height);k.width>d&&(d=k.width)}this.Hb()||(f=d,d=e,e=f);f=
this.g.length;var m=null==this.i("length"),p=null==this.i("width"),q=null!=this.i("length")?$.M(this.i("length"),b):d*f,r=null!=this.i("width")?$.M(this.i("width"),c):e;d=e=0;var t=!1,u=!1;h=this.title();h.enabled()&&(h.P()||h.P(this.P()),$.V(h),h.ja(a),$.Qv(h,this.i("orientation")),this.Hb()?(e=h.gi().height,d=h.gi().width):(e=h.gi().width,d=h.gi().height),t=h.i("orientation")||$.Qv(h),"top"==t||"bottom"==t?(t=this.Hb(),u=!this.Hb()):(t=!this.Hb(),u=this.Hb()),h.da(!1));var v=this.padding();l=$.M(v.i("top"),
a.height);k=$.M(v.i("right"),a.width);var w=$.M(v.i("bottom"),a.height);v=$.M(v.i("left"),a.width);var x=this.margin(),y=$.M(x.i("top"),a.height),B=$.M(x.i("right"),a.width),G=$.M(x.i("bottom"),a.height);x=$.M(x.i("left"),a.width);m&&!p?(m=r-(t?e:0),q=Math.min(u?m*f+d:Math.max(m*f,d),b),this.b=(q-(u?d:0))/f,this.f=m):!m&&p?(m=(q-(u?d:0))/f,r=Math.min(t?m+e:Math.max(m,e),c),this.b=m,this.f=r-(t?e:0)):m&&p?(c=Math.min(q,b-(u?d:0))/f,q=Math.max(r,u?e:0),m=Math.max(c,q)*f+w+l+G+y>b?(b-(w+l+G+y)-(u?d:
0))/f:Math.max(c,q),q=u?m*f+d:Math.max(m*f,d),r=t?m+e:Math.max(m,e),this.f=this.b=m):(this.b=(q-(u?d:0))/f,this.f=r-(t?e:0));c=this.i("align");var C;this.Hb()?(q+k+v+B+x>b&&(q=b-(k+v+B+x)),"left"==c||"top"==c?C=v+x:"right"==c||"bottom"==c?C=b-q-k-B:"center"==c&&(C=(b-q)/2)):(q+w+l+G+y>b&&(q=b-(w+l+G+y)),"left"==c||"top"==c?C=l+y:"right"==c||"bottom"==c?C=b-q-w-G:"center"==c&&(C=(b-q)/2));switch(this.i("orientation")){case "top":var I=a.top+l+y;var P=a.left+C;var Q=r;var S=q;this.D=new $.J(P,I,this.b,
this.f);break;case "right":I=a.top+C;P=a.left+a.width-r-k-B;Q=q;S=r;this.D=new $.J(P,I,this.f,this.b);break;case "bottom":I=a.top+a.height-r-w-G;P=a.left+C;Q=r;S=q;this.D=new $.J(P,I,this.b,this.f);break;case "left":I=a.top+C,P=a.left+v+x,Q=q,S=r,this.D=new $.J(P,I,this.f,this.b)}if(h.enabled())switch(t=h.i("orientation")||$.Qv(h),t){case "top":this.D.left=P;this.D.top=I+(this.Hb()?e:d);break;case "left":this.D.left=P+(this.Hb()?d:e),this.D.top=I}this.Xf=new $.J(Math.round(P),Math.round(I),Math.round(S),
Math.round(Q));this.G=new $.J(this.Xf.left-v,this.Xf.top-l,this.Xf.width+v+k,this.Xf.height+l+w);this.N=new $.J(this.G.left-x,this.G.top-y,this.G.width+x+B,this.G.height+y+G)}else this.N=new $.J(0,0,0,0);this.B(this.xe);this.I(4)}return this.N};
$.g.Ai=function(a){if(null===this.b||null===this.f)return{value:{x:0,y:0}};var b=this.D;switch(this.i("orientation")){case "top":var c=b.left+this.b*a+this.b/2;var d=b.top+this.f;break;case "right":c=b.left;d=b.top+this.b*a+this.b/2;break;case "bottom":c=b.left+this.b*a+this.b/2;d=b.top;break;case "left":c=b.left+this.f,d=b.top+this.b*a+this.b/2}return{value:{x:c,y:d}}};
$.g.$=function(){if(!this.Bc())return this;var a=this.Sa().labels();!this.Aa&&this.g&&this.g.length&&(this.Aa=this.g[0].mc(),$.Id(this.Aa,"pointshover",function(b){b=b.seriesStatus;for(var c=0,d=this.g.length;c<d;c++)for(var h=this.g[c],k=h.la(),l=0,m=b.length;l<m;l++){var p=b[l];var q=p.series;if(q==h.Ue()){var r=!1;p=p.points;for(var t=0,u=p.length;t<u;t++){var v=p[t];if(h.la()==v.index){q=AQ(this,h,a.Vd(c),$.$w(q.state,k));q.$();$.Mu($.Nu(q));r=!0;break}}r||h.state!=$.po||(q=AQ(this,h,a.Vd(c),
$.Zl),q.$(),$.Mu($.Nu(q)))}}},!1,this),$.Id(this.Aa,"pointsselect",function(b){b=b.seriesStatus;for(var c=0,d=this.g.length;c<d;c++)for(var h=this.g[c],k=h.la(),l=0,m=b.length;l<m;l++){var p=b[l],q=p.series;if(q==h.Ue()){var r=!1;p=p.points;for(var t=0,u=p.length;t<u;t++){var v=p[t];if(h.la()==v.index){r=AQ(this,h,a.Vd(c),$.$w(q.state,k));r.$();$.Mu($.Nu(r));r=!0;break}}!r&&h.state&$.qo&&(r=AQ(this,h,a.Vd(c),$.$w(q.state,k)),r.$(),$.Mu($.Nu(r)))}}},!1,this));this.jm();this.j||(this.j=new $.JB(function(){return $.nk()},
function(a){a.clear()},void 0,this),$.du(this,this.j),this.j.ib(this));$.V(this.title());$.V(a);if(this.J(8)){var b=this.zIndex();this.Dd.zIndex(b);this.title().zIndex(2);a.zIndex(1);this.background().zIndex(0);this.j.zIndex(1.1);this.I(8)}this.J(2)&&(b=this.P(),this.Dd.parent(b),this.title().P(this.Dd),a.P(this.Dd),this.background().P(this.Dd),this.j.parent(this.Dd),this.I(2));this.J(256)&&(b=this.background(),$.V(b),b.ja(this.G),b.P(this.Dd),b.$(),b.da(!1),this.I(256));this.J(64)&&(b=this.title(),
b.ja(this.Xf),b.$(),this.I(64));if(this.J(128)){this.j.clear();Xea(this);a.B(8);a.$();b=0;for(var c=a.tH();b<c;b++)$.Mu($.Nu(a.Vd(b)));this.I(128)}this.title().da(!1);a.da(!1);return this};$.g.remove=function(){this.sb&&this.sb.remove();this.Da&&this.Da.remove()};$.g.ld=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.K(this.ca.ma);$.W(this,"hovered",this.xa);this.xa.K(this.xa.ma);$.W(this,"selected",this.Ca);this.Ca.K(this.Ca.ma)};
$.g.F=function(){var a=zQ.u.F.call(this);$.Hq(this,iS,a);a.title=this.title().F();a.background=this.background().F();a.padding=this.padding().F();a.margin=this.margin().F();a.items=this.items();a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return a};
$.g.X=function(a,b){$.V(this);zQ.u.X.call(this,a,b);$.zq(this,iS,a);"title"in a&&this.title(a.title);"background"in a&&this.background(a.background);"padding"in a&&this.padding(a.padding);"margin"in a&&this.margin(a.margin);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);this.items(a.items);this.da(!0)};$.g.R=function(){$.td(this.Pa,this.Mc,this.Ka,this.sb);this.G=this.sb=this.Ka=this.Mc=this.Pa=null;zQ.u.R.call(this)};var jS=zQ.prototype;jS.title=jS.title;
jS.normal=jS.Sa;jS.hovered=jS.mb;jS.selected=jS.selected;jS.background=jS.background;jS.padding=jS.padding;jS.margin=jS.margin;jS.items=jS.items;$.H(BQ,$.$z);$.g=BQ.prototype;
$.g.show=function(a){var b=[],c=$.hA(this);if(a=c.es(a))if((0,$.Qe)(a,function(a){a.series.enabled()&&0!=a.points.length&&b.push(a)},this),0==b.length)this.Oc();else{var d=b[0];(0,$.Qe)(b,function(a){d.nearestPointToCursor.distance>a.nearestPointToCursor.distance&&(d=a)});a=this.i("xStroke");var e=this.i("yStroke"),f=d.series,h=f.aa();h.select(d.nearestPointToCursor.point.index);var k=$.N(h.o("x"));h=$.N(h.o("value"));if((0,window.isNaN)(k)||(0,window.isNaN)(h))h=bQ(f).value,k=h.x,h=h.y;c=c.scale();
h=c.Fc(k,h);k=h[0];h=h[1];f=c.sr(k);c=c.qp(h);this.fi($.aA(this),!0,f,a,k);this.fi($.bA(this),!1,c,e,h)}};
$.g.update=function(a,b){if(this.enabled()){var c,d;$.n(a)?c=(0,window.parseFloat)(a):c=$.n(this.EU)?this.EU:0;$.n(b)?d=(0,window.parseFloat)(b):d=$.n(this.FU)?this.FU:0;c=$.hA(this).mT(c,d);var e=$.hA(this).Fc(c.x,c.y);c=e["long"];d=e.lat;var f=$.hA(this).scale(),h=f.sr(e.x);e=f.qp(e.y);f=this.i("xStroke");var k=this.i("yStroke");0<h&&1>h&&0<e&&1>e?(this.fi($.aA(this),!0,h,f,c),this.fi($.bA(this),!1,h,k,d)):this.Oc()}};
$.g.rg=function(a){this.EU=a.clientX;this.FU=a.clientY;"sticky"!=this.i("displayMode")&&this.update(a.clientX,a.clientY)};$.g.Gg=function(a){if(!$.no($.hA(this),a.relatedTarget)){this.EU=a.clientX;this.FU=a.clientY;a=$.hA(this).mT(a.clientX,a.clientY);var b=$.hA(this).Fc(a.x,a.y),c=$.hA(this).scale();a=c.sr(b.x);b=c.qp(b.y);(0>a||1<a||0>b||1<b)&&this.Oc()}};
$.g.$=function(){if(!this.Bc())return this;this.Wa||(this.Wa=$.lk(),this.wr.parent(this.Wa),this.zr.parent(this.Wa));this.J(16)&&(this.wr.stroke(this.i("xStroke")),this.zr.stroke(this.i("yStroke")),this.I(16));var a=$.Ga($.aA(this),$.bA(this));if(this.J(2)){var b=this.P();this.Wa.parent(b);$.fA(a,this.Wa);this.I(2)}this.J(8)&&(b=this.zIndex(),this.Wa.zIndex(b),this.I(8));this.J(4)&&(b=this.ja(),$.gA(a,b),this.I(4));return this};
$.g.Np=function(a,b,c){var d=$.hA(this).scale(),e=0==this.wr.Nk()%2?0:-.5,f=0==this.zr.Nk()%2?0:-.5;b.clear();if(a.Hb()){var h=d.precision()[1];for(f=d.iq();f<d.fq();)a=d.transform(c,f,null),f==d.iq()?b.moveTo(a[0]-e,a[1]):b.lineTo(a[0]-e,a[1]),f+=h;a=d.transform(c,d.fq(),null);b.lineTo(a[0]-e,a[1])}else{h=d.precision()[0];for(e=d.hq();e<d.eq();)a=d.transform(e,c,null),e==d.hq()?b.moveTo(a[0],a[1]-f):b.lineTo(a[0],a[1]-f),e+=h;a=d.transform(d.eq(),c,null);b.lineTo(a[0],a[1]-f)}};
$.g.yf=function(a,b,c){var d=this.Vp(a,c),e=b.format()||$.Xo;b.text(e.call(d,d));b.Vk($.eA(a));c=sQ(a.Qa(),c);b.x(c[0]).y(c[1]);b.rotation(this.JL(a,c[4]));b.P(this.Wa).$()};$.g.JL=function(a,b){switch(a.orientation()){case "top":var c=$.cb(b)+90;break;case "right":c=$.cb(b);break;case "bottom":c=$.cb(b)-90;break;case "left":c=$.cb(b)-180}return c};
$.g.Vp=function(a,b){b=(0,window.parseFloat)(b);var c=Math.abs(b)%1;var d=Math.floor(Math.abs(b));var e=Math.floor(60*c);c=Math.floor(60*c%1*60);d+="°";if(c||e)10>e&&(e="0"+e),d+=e+"'";e=a.Hb()?0<b?"E":"W":0<b?"N":"S";d+=e;e=a.scale();e={axis:{value:a,type:""},scale:{value:e,type:""},index:{value:window.NaN,type:"number"},value:{value:d,type:"string"},tickValue:{value:b,type:"number"},max:{value:$.n(e.max)?e.max:null,type:"number"},min:{value:$.n(e.min)?e.min:null,type:"number"}};d={};d["%AxisName"]=
{value:a.title().text(),type:"string"};e=new $.rw(e);e.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"}).nl(d);return $.av(e)};$.g.fi=function(a,b,c,d,e){var f=$.hA(this),h,k=!1,l=b?f.Rx:f.Tx,m=b?this.LT:this.MT;b=b?this.wr:this.zr;var p=d&&"none"!=d;for(d=0;d<a.length;d++)if(h=a[d]){var q=h.i("axisIndex");(q=l.call(f,q))&&$.n(q.scale().Fc(0))&&0<c&&1>c?(!k&&p&&(this.Np(q,b,e),k=!0),h.enabled()&&this.yf(q,h,e)):m.call(this,h)}};$.H(CQ,$.Wy);var ifa=CQ.prototype,kS=$.Wy.prototype.dz;$.gq(kS,1,"minorStroke",$.Dq);ifa.dz=kS;$.U(CQ,CQ.prototype.dz);$.g=CQ.prototype;$.g.scale=function(a){$.n(a)&&this.na!=a&&(this.na&&$.Zq(this.na,this.kg,this),(this.na=a)&&$.L(this.na,this.kg,this),this.B(68,9));return this.na||this.b&&this.b.scale()||null};$.g.kg=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)&&(b|=1);this.B(20,b)};
$.g.Gh=function(a){var b=a?this.j:this.g;b||(a?(b=this.j=$.nk(),b.zIndex(1)):(b=this.g=$.nk(),b.zIndex(0)),b.td(!0).Lp(!0),b.parent(this.va));return b};$.g.LY=function(){var a=$.nk();a.parent(this.va).zIndex(3).stroke("none");return a};$.g.My=function(a){this.va&&this.va.jc(a.ed,a.We,a.Me,a.Ee,a.Ad,a.xd)};$.g.Pu=function(){this.va||(this.va=$.lk())};$.g.WJ=function(){var a=this.P();this.va.parent(a)};$.g.OB=function(){var a=this.zIndex();this.va.zIndex(a)};
$.g.tca=function(a,b,c,d){c=this.na;var e=c.hq(),f=c.eq();if(RP(c.Td["default"].zg)){var h=c.transform(e,a,null);b.moveTo(h[0],h[1]);h=c.transform(f,a,null);b.lineTo(h[0],h[1])}else{for(var k=e;k<f;)h=c.transform(k,a,null),k==e?b.moveTo(h[0],h[1]):b.lineTo(h[0],h[1]),k+=d;h=c.transform(f,a,null);b.lineTo(h[0],h[1])}};
$.g.sca=function(a,b,c,d){c=this.na;var e=c.iq(),f=c.fq();if(RP(c.Td["default"].zg)){var h=c.transform(a,e,null);b.moveTo(h[0],h[1]);h=c.transform(a,f,null);b.lineTo(h[0],h[1])}else{for(var k=e;k<f;)h=c.transform(a,k,null),k==e?b.moveTo(h[0],h[1]):b.lineTo(h[0],h[1]),k+=d;h=c.transform(a,f,null);b.lineTo(h[0],h[1])}};
$.g.rca=function(a,b,c,d,e,f){c=this.na;e=c.hq();var h=c.eq(),k=c.iq();(0,window.isNaN)(b)&&a!=k&&(b=k);if(!(0,window.isNaN)(b)){var l;if(RP(c.Td["default"].zg))k=c.transform(e,a,null),d.moveTo(k[0],k[1]),k=c.transform(h,a,null),d.lineTo(k[0],k[1]),k=c.transform(h,a,null),d.lineTo(k[0],k[1]),k=c.transform(h,b,null),d.lineTo(k[0],k[1]),k=c.transform(h,b,null),d.lineTo(k[0],k[1]),k=c.transform(e,b,null),d.lineTo(k[0],k[1]),k=c.transform(e,b,null),d.lineTo(k[0],k[1]);else{for(l=e;l<h;)k=c.transform(l,
a,null),l==e?d.moveTo(k[0],k[1]):d.lineTo(k[0],k[1]),l+=f;k=c.transform(h,a,null);d.lineTo(k[0],k[1]);for(l=a;l>b;)k=c.transform(h,l,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(h,b,null);d.lineTo(k[0],k[1]);for(l=h;l>e;)k=c.transform(l,b,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(e,b,null);d.lineTo(k[0],k[1]);for(l=b;l<a;)k=c.transform(e,l,null),d.lineTo(k[0],k[1]),l+=f}k=c.transform(e,a,null);d.lineTo(k[0],k[1]);d.close()}};
$.g.qca=function(a,b,c,d,e,f){c=this.na;var h=c.hq();e=c.iq();var k=c.fq();(0,window.isNaN)(b)&&a!=h&&(b=h);if(!(0,window.isNaN)(b)){var l;if(RP(c.Td["default"].zg))h=c.transform(b,e,null),d.moveTo(h[0],h[1]),h=c.transform(a,e,null),d.lineTo(h[0],h[1]),h=c.transform(a,e,null),d.lineTo(h[0],h[1]),h=c.transform(a,k,null),d.lineTo(h[0],h[1]),h=c.transform(a,k,null),d.lineTo(h[0],h[1]),h=c.transform(b,k,null),d.lineTo(h[0],h[1]),h=c.transform(b,k,null),d.lineTo(h[0],h[1]);else{for(l=b;l<a;)h=c.transform(l,
e,null),l==b?d.moveTo(h[0],h[1]):d.lineTo(h[0],h[1]),l+=f;h=c.transform(a,e,null);d.lineTo(h[0],h[1]);for(l=e;l<k;)h=c.transform(a,l,null),d.lineTo(h[0],h[1]),l+=f;h=c.transform(a,k,null);d.lineTo(h[0],h[1]);for(l=a;l>b;)h=c.transform(l,k,null),d.lineTo(h[0],h[1]),l-=f;h=c.transform(b,k,null);d.lineTo(h[0],h[1]);for(l=k;l>e;)h=c.transform(b,l),d.lineTo(h[0],h[1]),l-=f}h=c.transform(b,e,null);d.lineTo(h[0],h[1]);d.close()}};$.g.wJ=function(){this.Gh(!0).stroke(this.i("stroke"));this.Gh(!1).stroke(this.i("minorStroke"))};
$.g.remove=function(){this.va&&this.va.parent(null)};
$.g.uj=function(){var a=this.na,b=this.Gh(!0),c=this.Gh(!1);if(this.J(64)||this.J(4)){var d=window.NaN,e,f=a.precision();if(this.Hb()){var h=a.Vw();var k=a.Uy();f=f[0];a=a.fq();var l=[this.tca,this.rca]}else h=a.Uw(),k=a.Ty(),f=f[1],a=a.eq(),l=[this.sca,this.qca];h=h.get();k=k.get();this.sz();b.clear();c.clear();var m=l[0],p=l[1];var q=-b.Nk()%2/2;var r=0;for(e=h.length;r<e;r++){var t=h[r];r&&(l=$.$y(this,r-1))&&p.call(this,t,d,null,l,q,f);(!r&&this.i("drawFirstLine")||r==e-1&&this.i("drawLastLine")||
0!=r&&r!=e-1)&&m.call(this,t,b,q,f);d=t}t!=a&&(l=$.$y(this,r-1))&&p.call(this,a,d,null,l,q);q=-b.Nk()%2/2;r=0;for(e=k.length;r<e;r++)t=k[r],m.call(this,t,c,q,f);this.I(64);this.I(4)}};$.g.R=function(){$.td(this.j,this.g);this.g=this.j=null;CQ.u.R.call(this)};$.H(DQ,$.Yq);$.g=DQ.prototype;$.g.sa=985;$.g.qa=98313;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};var lS={};$.hq(lS,[$.Z.mP,$.Z.Jn,$.Z.tB,[1,"minorStroke",$.Dq],[0,"drawFirstLine",$.uq],[0,"drawLastLine",$.uq],[0,"zIndex",$.N]]);$.U(DQ,lS);$.g=DQ.prototype;
$.g.cc=function(a){this.Ea||(EQ(this,this.ma.palette),$.W(this,"palette",this.Ea),this.Ea.oq(!1));return $.n(a)?(EQ(this,a),this.Ea.K(a),this):this.Ea};$.g.Ic=function(a){if(!$.K(this.Ea,a)){var b=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.L(this.Ea,this.If,this);b&&this.ta(1)}};$.g.If=function(a){$.X(a,2)&&this.ta(1)};$.g.hm=function(){return this.j};
$.g.vertical=function(a){if(!this.f){this.f=new CQ;$.Yy(this.f,"vertical");this.f.Ye().parent(this);$.W(this,"vertical",this.f);var b=this.i("zIndex")+this.j.length*gS;this.f.Mh=b;$.L(this.f,this.g.N2,this.g);this.j.push(this.f)}return $.n(a)?(this.f.K(a),this):this.f};
$.g.s1=function(a){if(!this.b){this.b=new CQ;$.Yy(this.b,"horizontal");this.b.Ye().parent(this);$.W(this,"horizontal",this.b);var b=this.i("zIndex")+this.j.length*gS;this.b.Mh=b;$.L(this.b,this.g.N2,this.g);this.j.push(this.b)}return $.n(a)?(this.b.K(a),this):this.b};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};
$.g.sg=function(a,b){var c=$.n(b)?b:this.ma;this.s1().ia(!!a,c.horizontal);this.vertical().ia(!!a,c.vertical)};$.g.X=function(a,b){$.V(this.g);$.zq(this,lS,a);b&&this.pa("enabled","enabled"in a?a.enabled:!0);a.palette&&this.cc(a.palette);this.sg(!!b,a);this.g.da(!0)};$.g.F=function(){var a={};if(this.f){var b=this.f.F();$.Jc(b)||(a.vertical=b)}this.b&&(b=this.b.F(),$.Jc(b)||(a.horizontal=b));this.Ea&&(a.palette=this.Ea.F());$.Hq(this,lS,a,"Map grids props");return a};
$.g.R=function(){$.td(this.f,this.b,this.Ea);this.Ea=this.b=this.f=null;this.j.length=0;this.g=null;DQ.u.R.call(this)};var mS=DQ.prototype;mS.horizontal=mS.s1;mS.vertical=mS.vertical;mS.palette=mS.cc;$.H(FQ,yP);FQ.prototype.ratio=function(a){return $.n(a)?(a=$.N(a)||0,this.b!=a&&(this.b=a),this):this.b};FQ.prototype.forward=function(a,b){var c=this.f.forward(a,b),d=this.QR.forward(a,b);a=(1-this.b)*c[0]+this.b*d[0];b=(1-this.b)*c[1]+this.b*d[1];return[a,b]};FQ.prototype.gj=function(a,b){var c=this.f.gj(a,b),d=this.QR.gj(a,b);a=(1-this.b)*c[0]+this.b*d[0];b=(1-this.b)*c[1]+this.b*d[1];return[a,b]};$.H(GQ,$.Yq);$.g=GQ.prototype;$.g.qa=2;$.g.ql=window.NaN;$.g.Ah=4;$.g.Yl=6;$.g.Tk=null;$.g.Ao=null;$.g.Rc=0;$.g.C$=function(a){return null!=a?(this.ql!=a&&(a=$.N(a),0>=a?(this.Ah=4,this.Yl=6,this.ql=window.NaN):(this.Yl=this.Ah=window.NaN,this.ql=+a),this.Ao=this.Tk=null,this.ta(2)),this):this.ql};
$.g.count=function(a,b){return $.n(a)?(this.Ah!=a&&(this.ql=window.NaN,this.Ah=Math.ceil($.N(a)),this.Yl=Math.ceil($.N(b)),2<=this.Ah||(this.Ah=4),this.Yl>=this.Ah||(this.Yl=this.Ah),this.Ao=this.Tk=null,this.ta(2)),this):[this.Ah,this.Yl]};$.g.nF=function(a){return $.n(a)?(a=+a||0,this.Rc!=a&&(this.Rc=a,this.Ao=null,this.Tk||this.ta(2)),this):this.Rc};
$.g.set=function(a){$.Ta(this.Tk,a)||(this.ql=this.Yl=this.Ah=window.NaN,this.Tk=$.Ja(a,0),$.Ka(this.Tk),$.Qa(this.Tk,$.jo),this.Ao=null,this.ta(2));return this};$.g.get=function(){var a=this.Aj(),b="horizontal"==this.ih?this.na.sr:this.na.qp;return(0,$.Ye)(a,function(a){a=b.call(this,(0,window.parseFloat)(a));return 0<=a&&1>=a},this.na)};$.g.Aj=function(){if(this.Tk)var a=this.Tk;else this.na.ob(),a=this.Ao;return a||[]};
$.g.UA=function(a,b,c,d){this.Ao=null;var e=[a,b];if(this.Tk)c&&(e[0]=Math.min(a,this.Tk[0]||0)),d&&(e[1]=Math.max(b,this.Tk[this.Tk.length-1]||0));else{var f=[],h=this.ql,k=this.Ah,l=this.Yl;!(0,window.isNaN)(h)&&(b-a)/h>this.na.Mm()&&(this.na.FX||($.el(20,null,[b-a,h]),this.na.FX=!0),h=window.NaN,k=4,l=6);if((0,window.isNaN)(h))for(var m=window.NaN,p=k;p<=l;p++){k=(b-a)/(p-1);var q=Math.log(k),r=Math.pow(10,Math.floor(q*Math.LOG10E)),t=Math.pow(10,Math.ceil(q*Math.LOG10E)),u=k<r+r?r/2:Number.POSITIVE_INFINITY;
q=$.Um(k/t,2);(q=Math.min($.Io(k,r)||window.Infinity,$.Io(k,t)||window.Infinity,$.Io(k,u)||window.Infinity,$.Io(k,Math.pow(2,Math.floor(q))*t)||window.Infinity,$.Io(k,Math.pow(2,Math.ceil(q))*t)||window.Infinity))&&(0,window.isFinite)(q)&&(k=q);q=$.Sm($.Ho(a,k,this.Rc))-a;q*=q;r=$.Sm($.Io(b,k,this.Rc))-b;r*=r;q+=r;if((0,window.isNaN)(m)||q<m)m=q,h=k}l=$.Rm(h);m=$.Sm($.Ho(a,h,this.Rc,l));c?e[0]=a=m:1E-7<a-m&&(f.push(a),e[2]=m);c=$.Sm($.Io(b,h,this.Rc,l));d?e[1]=b=c:1E-7<c-b&&(e[3]=c);for(a=$.Sm($.Io(a,
h,this.Rc,l));a<=b;a=$.Sm(a+h))f.push(a);3 in e&&f.push(b);this.Ao=f}return e};
$.g.VA=function(a,b,c){if(this.Tk)this.Ao=null;else if(this.Ao?this.Ao.length=0:this.Ao=[],!(2>a.length)){var d=this.B$,e=a.length-1,f=this.ql,h=this.Ah;if(!(0,window.isNaN)(this.ql)){var k=a[e];var l=a[0];(k-l)/this.ql>this.na.Mm()&&($.el(20,null,[k-l,this.ql]),this.ql=window.NaN,this.Ah=4)}$.n(b)?(l=a[0],k=a[1],d.call(this,l,k,b,k),l=1):l=0;$.n(c)&&e--;for(b=l;b<=e-1;b++)l=a[b],k=a[b+1],d.call(this,l,k,l,k);$.n(c)&&(l=a[e],k=a[e+1],d.call(this,l,k,l,c));this.ql=f;this.Ah=h}};
$.g.B$=function(a,b,c,d){var e=this.ql;(0,window.isNaN)(e)&&(e=(d-c)/(this.Ah-1));e=Math.max(e,1E-7);c=this.Ao[this.Ao.length-1];b=$.Qm(b,7);for(a=$.Qm(a,7);a<=b;a=$.Qm(a+e,7))c!=a&&this.Ao.push(a),c=a};$.g.F=function(){var a=GQ.u.F.call(this);this.Tk?a.explicit=this.Tk:(this.Ah==this.Yl?(0,window.isNaN)(this.Ah)||(a.count=this.Ah):((0,window.isNaN)(this.Ah)||(a.minCount=this.Ah),(0,window.isNaN)(this.Yl)||(a.maxCount=this.Yl)),(0,window.isNaN)(this.ql)||(a.interval=this.ql));return a};
$.g.Ce=function(a,b){var c=arguments[1];return $.A(c)?(this.set(c),!0):$.Yq.prototype.Ce.apply(this,arguments)};
$.g.X=function(a,b){GQ.u.X.call(this,a,b);(this.Tk=a.explicit||null)&&(0,$.Qe)(this.Tk,function(a,b,e){e[b]=(0,window.parseFloat)(a)});this.Ah=a.count||a.minCount||window.NaN;this.Yl=a.count||a.maxCount||window.NaN;this.ql=a.interval||window.NaN;this.Tk?this.Ah=this.Yl=this.ql=window.NaN:this.ql?this.Ah=this.Yl=window.NaN:(this.Ah=Math.ceil($.N(this.Ah)),this.Yl=Math.ceil($.N(this.Yl)),2<=this.Ah||(this.Ah=4),this.Yl>=this.Ah||(this.Yl=this.Ah))};var nS=GQ.prototype;nS.interval=nS.C$;nS.count=nS.count;
nS.set=nS.set;nS.get=nS.get;$.H(HQ,$.Yq);$.g=HQ.prototype;$.g.qa=6;$.g.Na=function(){return"geo"};$.g.XB=function(a){var b=this.zX!=this.Ja||this.TO!=this.ya||this.AX!=this.Ra||this.rX!=this.Ga;b&&(this.Gc=!1,a||this.ta(2));return b};$.g.pb=function(){return this.xb?this.xb.clone():$.gn(0,0,0,0)};$.g.uf=function(a){this.xb=a;this.Gc=!1;return this};$.g.Uw=function(a){this.Bd||(this.Bd=this.Xk(),this.Bd.ih="horizontal");return $.n(a)?(this.Bd.K(a),this):this.Bd};
$.g.Ty=function(a){this.Tc||(this.Tc=this.Xk(),this.Tc.ih="horizontal");return $.n(a)?(this.Tc.K(a),this):this.Tc};$.g.Vw=function(a){this.me||(this.me=this.Xk(),this.me.ih="vertical");return $.n(a)?(this.me.K(a),this):this.me};$.g.Uy=function(a){this.Ud||(this.Ud=this.Xk(),this.Ud.ih="vertical");return $.n(a)?(this.Ud.K(a),this):this.Ud};$.g.Yh=function(a){$.X(a,2)&&(this.Gc=!1,this.ta(2))};$.g.Xk=function(){var a=new GQ(this);$.L(a,this.Yh,this);return a};
$.g.Mm=function(a){return $.n(a)?(a=$.O(a,1E3,!1),this.Jk!=a&&(this.Jk=a,this.Gc=!1,this.ta(2)),this):this.Jk};$.g.precision=function(a,b){if(0<arguments.length){var c=0;a&&($.A(a)?(1<a.length&&(b=$.N(a[1])),a=$.N(a[0])):1==arguments.length&&(b=a=$.N(a)),0==a||(0,window.isNaN)(a)||this.qE==a||(this.qE=a,c=2));b&&(b=$.N(b))&&this.WI!=b&&(this.WI=b,c=2);this.ta(c);return this}return[this.qE,this.WI]};
$.g.Tp=function(a){return $.n(a)?(a=+a||0,this.O!=a&&(this.O=a,this.Hf()&&(this.Gc=!1,this.ta(2))),this):this.O};$.g.hq=function(a){if($.n(a)){a=$.Za($.N(a),-180,180);var b=(0,window.isNaN)(a);if(b!=this.Ob||!b&&a!=this.g)a>=this.D?this.eq(a):(this.Ob=b,this.g=a,this.Gc=!1,b?this.ta(4):this.ta(2));return this}this.ob();return this.g};
$.g.eq=function(a){if($.n(a)){a=$.Za($.N(a),-180,180);var b=(0,window.isNaN)(a);if(b!=this.eb||!b&&a!=this.D)a<=this.g?this.hq(a):(this.eb=b,this.D=a,this.Gc=!1,b?this.ta(4):this.ta(2));return this}this.ob();return this.D};$.g.iq=function(a){if($.n(a)){a=$.Za($.N(a),-90,90);var b=(0,window.isNaN)(a);if(b!=this.nb||!b&&a!=this.f)a>=this.j?this.fq(a):(this.nb=b,this.f=a,this.Gc=!1,b?this.ta(4):this.ta(2));return this}this.ob();return this.f};
$.g.fq=function(a){if($.n(a)){a=$.Za($.N(a),-90,90);var b=(0,window.isNaN)(a);if(b!=this.ab||!b&&a!=this.j)a<=this.f?this.iq(a):(this.ab=b,this.j=a,this.Gc=!1,b?this.ta(4):this.ta(2));return this}this.ob();return this.j};$.g.Uf=function(a,b){if($.n(a)||$.n(b)){var c=0;$.n(a)&&($.A(a)&&(1<a.length&&(b=a[1]),a=a[0]),this.hj!=a&&(this.hj=!!a,c=2));$.n(b)?(b=!!b,this.dh!=b&&(this.dh=b,c=2)):1==arguments.length&&(a=!!a,this.dh!=a&&(this.dh=a,c=2));this.ta(c);return this}return[LQ(this),MQ(this)]};
$.g.Uc=function(a){for(var b=0;b<arguments.length-1;b+=2){var c=(0,window.parseFloat)(+arguments[b]),d=(0,window.parseFloat)(+arguments[b+1]);(0,window.isNaN)(c)||(0,window.isNaN)(d)||(c<this.Eh&&(this.Eh=c,this.Gc=!1),c>this.Pg&&(this.Pg=c,this.Gc=!1),d<this.Tf&&(this.Tf=d,this.Gc=!1),d>this.Ge&&(this.Ge=d,this.Gc=!1))}this.Gc||this.ta(2);return this};
$.g.qL=function(a){for(var b=arguments,c=0;c<b.length-1;c+=2){var d=+b[c],e=+b[c+1];(0,window.isNaN)(d)&&(d=(0,window.parseFloat)(b[c]));(0,window.isNaN)(e)&&(e=(0,window.parseFloat)(b[c+1]));if(this.gp){var f=VQ(this,d,e,null);this.Uc.apply(this,f)}d<this.Ja&&(this.Ja=d,this.Gc=!1);d>this.ya&&(this.ya=d,this.Gc=!1);e<this.Ra&&(this.Ra=e,this.Gc=!1);e>this.Ga&&(this.Ga=e,this.Gc=!1)}};
$.g.mp=function(){this.gp&&(this.Eh=Number.MAX_VALUE,this.Pg=-Number.MAX_VALUE,this.Tf=Number.MAX_VALUE,this.Ge=-Number.MAX_VALUE);this.zX=this.Ja;this.TO=this.ya;this.AX=this.Ra;this.rX=this.Ga;this.Ja=Number.MAX_VALUE;this.ya=-Number.MAX_VALUE;this.Ra=Number.MAX_VALUE;this.Ga=-Number.MAX_VALUE;this.Gc=!1};$.g.Hf=function(){return this.Ob&&(0,window.isNaN)(this.ka)||this.nb&&(0,window.isNaN)(this.ga)||this.eb&&(0,window.isNaN)(this.ba)||this.ab&&(0,window.isNaN)(this.U)};
$.g.tg=function(a){this.gp=$.n(a)?a:!0;this.Jr||this.mp();this.Jr++;return this};$.g.Cg=function(a){return(this.Jr=Math.max(this.Jr-1,0))?!0:this.XB(!!a)};
$.g.ob=function(){if(!this.Gc&&this.xb){this.Gc=!0;this.RR();var a=[this.g,this.f],b=[this.D,this.j],c=this.Uw().UA(a[0],b[0]);a=this.Vw().UA(a[1],b[1]);this.Ty().VA(this.Uw().Aj(),c[2],c[3]);this.Uy().VA(this.Vw().Aj(),a[2],a[3]);this.hc=this.cq-this.Om;this.xc=this.Nm-this.gq;this.Dy=this.D-this.g;this.tw=this.j-this.f;this.ratio=Math.min(this.xb.height/this.xc,this.xb.width/this.hc);this.G=(this.xb.width-this.hc*this.ratio)/2;this.N=(this.xb.height-this.xc*this.ratio)/2;c=OQ(this,this.g,!0);a=
OQ(this,this.D,!0);b=OQ(this,this.f,!1);var d=OQ(this,this.j,!1);this.Om=Math.min(c.Om,a.Om,b.Om,d.Om,c.cq,a.cq,b.cq,d.cq);this.cq=Math.max(c.Om,a.Om,b.Om,d.Om,c.cq,a.cq,b.cq,d.cq);this.gq=Math.min(c.gq,a.gq,b.gq,d.gq,c.Nm,a.Nm,b.Nm,d.Nm);this.Nm=Math.max(c.gq,a.gq,b.gq,d.gq,c.Nm,a.Nm,b.Nm,d.Nm);this.hc=this.cq-this.Om;this.xc=this.Nm-this.gq;this.Dy=this.D-this.g;this.tw=this.j-this.f;this.ratio=Math.min(this.xb.height/this.xc,this.xb.width/this.hc);this.G=(this.xb.width-this.hc*this.ratio)/2;this.N=
(this.xb.height-this.xc*this.ratio)/2;a:{this.b||(this.b=$.nk());a=this.precision();c=a[0];a=a[1];b=this.hq();d=this.eq();var e=this.iq(),f=this.fq();this.b.clear();if(this.Td&&RP(this.Td["default"].zg)){var h=UQ(this,b,e,null);this.b.moveTo(h[0],h[1]);h=UQ(this,b,f,null);this.b.lineTo(h[0],h[1]);h=UQ(this,d,f,null);this.b.lineTo(h[0],h[1]);h=UQ(this,d,e,null);this.b.lineTo(h[0],h[1])}else{h=UQ(this,b,e,null);if((0,window.isNaN)(h[0])||(0,window.isNaN)(h[1]))break a;this.b.moveTo(h[0],h[1]);for(var k=
e;k<f;)h=UQ(this,b,k,null),this.b.lineTo(h[0],h[1]),k+=a;h=UQ(this,b,f,null);this.b.lineTo(h[0],h[1]);for(k=b;k<d;)h=UQ(this,k,f,null),this.b.lineTo(h[0],h[1]),k+=c;h=UQ(this,d,f,null);this.b.lineTo(h[0],h[1]);for(k=f;k>e;)h=UQ(this,d,k,null),this.b.lineTo(h[0],h[1]),k-=a;h=UQ(this,d,e,null);this.b.lineTo(h[0],h[1]);for(k=d;k>b;)h=UQ(this,k,e,null),this.b.lineTo(h[0],h[1]),k-=c}h=UQ(this,b,e,null);this.b.lineTo(h[0],h[1]);this.b.close()}}};
$.g.RR=function(){var a=(this.eb?(0,window.isNaN)(this.ba)?this.Pg:this.ba:this.D)-(this.Ob?(0,window.isNaN)(this.ka)?this.Eh:this.ka:this.g),b=(this.ab?(0,window.isNaN)(this.U)?this.Ge:this.U:this.j)-(this.nb?(0,window.isNaN)(this.ga)?this.Tf:this.ga:this.f);this.eb&&(this.D=(0,window.isNaN)(this.ba)?this.Pg+a*this.O:this.ba);this.Ob&&(this.g=(0,window.isNaN)(this.ka)?this.Eh-a*this.O:this.ka);this.ab&&(this.j=(0,window.isNaN)(this.U)?this.Ge+b*this.O:this.U);this.nb&&(this.f=(0,window.isNaN)(this.ga)?
this.Tf-b*this.O:this.ga);this.Om=this.Ja;this.gq=this.Ra;this.cq=this.ya;this.Nm=this.Ga};$.g.transform=function(a,b,c){a=UQ(this,a,b,c);a[0]=a[0]*this.zoom+this.Gk;a[1]=a[1]*this.zoom+this.Ml;return a};
$.g.Fc=function(a,b){this.ob();if(!this.xb||(0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];a=$.N(a);b=$.N(b);a=(a-this.Gk)/this.zoom;b=(b-this.Ml)/this.zoom;return VQ(this,+(LQ(this)?this.xb.$a()-this.G-a:a-this.xb.left-this.G)/this.ratio+this.Om,-(MQ(this)?this.xb.Ua()-this.N-b:b-this.xb.top-this.N)/this.ratio+this.Nm)};$.g.sr=function(a){this.ob();a=$.N(a);a=$.Qm((a-this.g)/this.Dy,3);return LQ(this)?1-a:a};
$.g.qp=function(a){this.ob();a=$.N(a);a=$.Qm((a-this.f)/this.tw,3);return MQ(this)?1-a:a};$.g.F=function(){var a=HQ.u.F.call(this);a.type=this.Na();this.eb||(a.maximumX=this.D);this.ab||(a.maximumY=this.j);this.Ob||(a.minimumX=this.g);this.nb||(a.minimumY=this.f);a.precision=this.precision();a.gap=this.Tp();a.xTicks=this.Uw().F();a.xMinorTicks=this.Ty().F();a.yTicks=this.Vw().F();a.yMinorTicks=this.Uy().F();(0,window.isNaN)(this.Jk)||(a.maxTicksCount=this.Jk);return a};
$.g.X=function(a,b){HQ.u.X.call(this,a,b);this.hq(a.minimumX);this.iq(a.minimumY);this.eq(a.maximumX);this.fq(a.maximumY);this.precision(a.precision);this.Tp(a.gap);this.Uw(a.xTicks);this.Ty(a.xMinorTicks);this.Vw(a.yTicks);this.Uy(a.yMinorTicks);this.Mm(a.maxTicksCount)};$.g.R=function(){$.td(this.Bd,this.Tc,this.me,this.Ud);this.Ud=this.me=this.Tc=this.Bd=null;HQ.u.R.call(this)};var oS=HQ.prototype;oS.maxTicksCount=oS.Mm;oS.getType=oS.Na;oS.gap=oS.Tp;oS.xTicks=oS.Uw;oS.xMinorTicks=oS.Ty;
oS.yTicks=oS.Vw;oS.yMinorTicks=oS.Uy;oS.extendDataRange=oS.Uc;oS.minimumX=oS.hq;oS.maximumX=oS.eq;oS.minimumY=oS.iq;oS.maximumY=oS.fq;oS.precision=oS.precision;XQ.prototype.pop=function(){YQ(this,0,this.b.length-1);var a=this.b.pop();WQ(this,0);return a};$.ja(ZQ);ZQ.prototype.Na=function(){return"geo-json"};
ZQ.prototype.f=function(a){var b,c=[];switch(a.type){case "FeatureCollection":if(a.features){var d=a.features;a=0;for(b=d.length;a<b;a++){var e=d[a];c.push($Q(this,e.geometry,e.properties))}}else $.cl(10,"FeatureCollection object missing 'features' member.");break;case "GeometryCollection":if(a.geometries)for(d=a.geometries,a=0,b=d.length;a<b;a++)c.push($Q(this,d[a],d[a].properties));else $.cl(10,"GeometryCollection object missing 'geometries' member.");break;case "Feature":a.properties&&a.geometry?
c.push($Q(this,a.geometry,a.properties)):$.cl(10,"Feature object missing 'properties' or 'geometry' member.");break;case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":a.coordinates?c.push($Q(this,a,null)):$.cl(10,"Geometry object missing 'coordinates' member.");break;default:$.cl(10,"GeoJSON object must be one of 'Point', 'LineString', 'Polygon', 'MultiPolygon', 'Feature', 'FeatureCollection' or 'GeometryCollection'.")}return c};var oR={Z:"Z",M:"M",L:"L",C:"C",Q:"Q",A:"A",H:"H",V:"V",S:"S",T:"T",z:"Z",m:"m",l:"l",c:"c",q:"q",a:"a",h:"h",v:"v",s:"s",t:"t"};$.ja(fR);fR.prototype.Na=function(){return"svg"};fR.prototype.f=function(a){this.g=$.z(a)?(new window.DOMParser).parseFromString(a,"text/xml"):a;this.b={};a=this.g.getElementsByTagName("defs");var b,c;var d=0;for(b=a.length;d<b;d++){var e=a[d];var f=$.Ze(e);e=0;for(c=f.length;e<c;e++){var h=f[e];if($.bf(h)){var k=h.getAttribute("id");this.b[k]||gR(this,h)}}}return kR(this,this.g,null,null)};$.ja(sR);sR.prototype.Na=function(){return"topo-json"};sR.prototype.f=function(a){var b=[],c=ZQ.vd();$.Dc(a.objects,function(d){d=cfa(this,a,d);b.push.apply(b,c.f(d))},this);return b};sR.prototype.reverse=function(a,b){for(var c,d=a.length,e=d-b;e<--d;)c=a[e],a[e++]=a[d],a[d]=c};$.g=uR.prototype;$.g.stroke=function(a,b,c,d,e){if($.n(a)){var f=$.Yb.apply(null,arguments);f!=this.g&&(this.g=f,this.Y.B(16,1));return this}return this.g};$.g.fill=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Vb.apply(null,arguments);k!=this.f&&(this.f=k,this.Y.B(16,1));return this}return this.f};$.g.enabled=function(a){return $.n(a)?(a=!!a,this.b!=a&&(this.b=a,this.Y.B(16,1)),this):this.b};
$.g.K=function(a){$.n(a)&&($.V(this.Y),$.da(a)||null===a?this.enabled(!!a):$.D(a)&&(this.stroke(a.stroke),this.fill(a.fill),this.enabled(a.enabled)),this.Y.da(!0));return this};$.g.F=function(){var a={};a.fill=this.fill();a.enabled=this.enabled();a.stroke=this.stroke();return a};var pS=uR.prototype;pS.stroke=pS.stroke;pS.fill=pS.fill;pS.enabled=pS.enabled;$.H(wR,$.xz);var qS={},rS=$.tG|5767168;qS.connector={Ab:21,Fb:2,Jb:[$.tH,$.TG,{name:"eventHandler",Mb:"path",Sb:!0,Tb:null,Vb:!1,Bb:!1,zIndex:0}],Ib:null,Cb:null,zb:rS};qS.marker={Ab:22,Fb:2,Jb:[$.tH,$.TG],Ib:null,Cb:null,zb:$.tG|1572864};qS.bubble={Ab:23,Fb:2,Jb:[$.WG,$.XG,$.$G,$.bH],Ib:null,Cb:null,zb:rS,yb:"value",wb:"value"};qS.choropleth={Ab:24,Fb:2,Jb:[{name:"foreignFill",Mb:"none",Sb:"fill",Tb:"stroke",Vb:!0,Bb:!1,zIndex:0},$.TG],Ib:null,Cb:null,zb:rS};wR.prototype.Oi=qS;$.yz(wR,wR.prototype.Oi);
var sS={};$.hq(sS,[[0,"geoIdField",$.tq],[0,"overlapMode",$.Ok],[0,"minZoomLevel",$.N],[0,"maxZoomLevel",$.N],[1,"selectPolygonMarqueeStroke",$.Dq],[1,"selectPolygonMarqueeFill",$.Eq],[0,"selectPolygonMarqueeMarker",$.tq]]);$.U(wR,sS);wR.prototype.sa=$.xz.prototype.sa|268238864;wR.prototype.qa=$.xz.prototype.qa|1024;var Wea=100,tS={"default":{crs:"wsg84",scale:1}},fS=20,gS=1E-5;$.g=wR.prototype;$.g.aN=0;$.g.Xy=1;$.g.Sp=1;$.g.kk=null;$.g.Na=function(){return"map"};$.g.Rx=function(a){return this.axes().hm()[a]};
$.g.Tx=function(a){return this.axes().hm()[a]};
$.g.Sba=function(){if(!this.fd){var a=this.P();if((a=a?a.Ha():null)&&this.Rf()){a=a.Bl();$.hd&&(a.style["-ms-touch-action"]="none");$.hE||($.hE=$.Ne("textarea"),$.hE.setAttribute("readonly","readonly"),$.uf($.hE,{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",left:0,top:0,width:"1px"}),window.document.body.appendChild($.hE),$.Id($.hE,["focus","focusin","select"],function(a){a.preventDefault()}));this.ra("pointsselect",function(a){$.hE.innerHTML=
this.Vc().i("copyFormat").call(a,a);$.hE.select()},!1,this);this.lg=new $.xC($.hE);this.lg.N=!0;this.lg.O=!0;this.lg.G=!0;this.lg.U=!0;this.lg.kl("zoom_in",187,8);this.lg.kl("zoom_out",189,8);this.lg.kl("zoom_full_out",48,8);this.lg.kl("zoom_in",187,2);this.lg.kl("zoom_out",189,2);this.lg.kl("zoom_full_out",48,2);this.lg.kl("zoom_in",107,8);this.lg.kl("zoom_out",109,8);this.lg.kl("zoom_full_out",96,8);this.lg.kl("zoom_in",107,2);this.lg.kl("zoom_out",109,2);this.lg.kl("zoom_full_out",96,2);this.lg.kl("move_left",
37);this.lg.kl("move_right",39);this.lg.kl("move_up",38);this.lg.kl("move_down",40);this.lg.kl("drill_up",8);this.lg.kl("drill_up",27);var b=this.i("minZoomLevel"),c=this.i("maxZoomLevel");this.lg.ra("shortcut",function(a){if(this.Hg.i("keyboardZoomAndMove")&&(!$.hE.Aa||$.hE.Aa==this)){var c=0;c=0;this.hy=!0;this.pl=100;var d=$.hE.Aa.qh();switch(a.identifier){case "zoom_in":d.Cr();break;case "zoom_out":d.Dr();break;case "zoom_full_out":d.Cm();break;case "move_up":c=10*d.Fg();d.move(0,c);break;case "move_left":c=
10*d.Fg();d.move(c,0);break;case "move_down":c=-10*d.Fg();d.move(0,c);break;case "move_right":c=-10*d.Fg();d.move(c,0);break;case "drill_up":a=d.gf.Gd,$.Tm(d.Fg(),b)&&$.Tm(a.Ad,0)&&$.Tm(a.xd,0)?(d.gf.jc(b,0,0,b,0,0),this.zx()):this.dv||(d.ai&&d.ai.stop(),this.cv(d,function(){this.TC=!0;this.pl=300;this.Ui(b);this.cv(this,function(){this.TC=!1})}))}}},!1,this);this.Sea=(0,$.pa)(function(a){if(!this.P())return!1;var d=$.Wj(this.P().Ha()),e=a.k0?a.dl:a,f=this.qh();e=$.Za(1-e.deltaY/120,.7,2);var m=f.Vc().i("zoomOnMouseWheel"),
p=this.Rf();return(p&&a.clientX>=p.left+d.x&&a.clientX<=p.left+d.x+p.width&&a.clientY>=p.top+d.y&&a.clientY<=p.top+d.y+p.height||!p)&&m&&!(1<e&&f.Sp>=c||1>e&&f.Sp<=b)},this);this.ly=new xP(a,!1,this.Sea);this.ly.ra("mousewheel",function(a){var d=this.qh(),e=d.gf;this.hy=!0;var f=$.Wj(this.P().Ha()),m=this.Rf();m=m&&a.clientX>=m.left+f.x&&a.clientX<=m.left+f.x+m.width&&a.clientY>=m.top+f.y&&a.clientY<=m.top+f.y+m.height;if(this.Hg.i("zoomOnMouseWheel")&&m&&!d.TC){m=$.Za(1-a.deltaY/120,.7,2);this.jI=
this.jJ;this.jJ=1<m?!0:1==m?!this.jI:!1;this.jI!=this.jJ&&d.ai&&1==d.ai.Xb&&d.ai.stop();var p=d.Fg();1>m&&$.Tm(p,b)&&!$.yb(e.Gd)?(e.jc(b,0,0,b,0,0),d.Sp=b,d.TC=!1,d.ai&&1==d.ai.Xb&&d.ai.stop(),d.scale().zoom=b,lQ(d.scale(),0,0),mQ(d)):1<=m&&($.Tm(p,c)||p>c)||1>=m&&($.Tm(p,b)||p<b)||d.zoom(m,a.clientX-f.x,a.clientY-f.y,20)}},!1,this);this.RU=function(a){if(this.P()&&this.P().Ha()){var b=$.Wj(this.P().Ha()),c=this.lb();if(c&&a.clientX>=c.left+b.x&&a.clientX<=c.left+b.x+c.width&&a.clientY>=c.top+b.y&&
a.clientY<=c.top+b.y+c.height&&this.hy){var d=$.Ge($.te($.hE).b),e=d.scrollLeft,f=d.scrollTop;$.hE.select();$.hE.Aa=this;if($.gd){var q=d.scrollLeft,r=d.scrollTop;(0,window.setTimeout)(function(){d.scrollLeft==q&&d.scrollTop==r&&$.fl.scrollTo(e,f)},0)}else $.fl.scrollTo(e,f)}}};this.SU=function(a){if(this.Hg.i("zoomOnDoubleClick")){var b=this.qh(),c=$.Wj(this.P().Ha()),d=b.Rf();d&&a.clientX>=d.left+c.x&&a.clientX<=d.left+c.x+d.width&&a.clientY>=d.top+c.y&&a.clientY<=d.top+c.y+d.height&&(this.hy=!0,
c=this.i("zoomFactor"),d=a.clientX,a=a.clientY,this.pl=100,b.zoom(c,d,a))}};this.FH=function(){this.VI=0;this.Cx();$.Sd(window.document,["pointermove","touchmove"],this.f5,!1,this)};this.TU=function(){this.zm||($.Sd(window.document,"mousemove",this.uA,!1,this),$.Sd(window.document,"mouseup",this.vA,!1,this))};$.Id(this.Gf(),["drag","dragstart"],function(){this.MM=!0},!1,this);$.Id(this.Gf(),"dragend",function(){this.MM=!1},!1,this);$.Id(a,"click",this.RU,!1,this);$.Id(a,"dblclick",this.SU,!1,this);
this.VI=0;$.Id(a,["pointerup","touchend"],this.FH,!1,this);var d,e;this.ra("mousedown",function(a){var b=$.Wj(this.P().Ha()),c=this.Rf();c&&a.clientX>=c.left+b.x&&a.clientX<=c.left+b.x+c.width&&a.clientY>=c.top+b.y&&a.clientY<=c.top+b.y+c.height&&(this.hy=!0,d=a.clientX,e=a.clientY,$.Id(window.document,"mousemove",this.uA,!0,this),$.Id(window.document,"mouseup",this.vA,!0,this))},!1,this);this.uA=function(a){var b=this.qh();this.Hg.i("drag")&&1!=b.Fg()&&!this.MM&&(b.Tj(),b.move(a.clientX-d,a.clientY-
e),this.dispatchEvent("drag"),d=a.clientX,e=a.clientY)};this.vA=function(){if(this.DM){this.Cx();for(var a=this.fb.length;a--;){var b=this.fb[a];21==b.Se.type&&(b.rA=this.gf.qg().clone(),b.B(1024,1),b.My())}}$.Sd(window.document,"mousemove",this.uA,!0,this);$.Sd(window.document,"mouseup",this.vA,!0,this)};$.Id(a,"mouseleave",this.TU,!1,this)}else(0,window.setTimeout)(this.A1,100)}};$.g.Tj=function(){this.zm||(this.zm=!0,this.dispatchEvent("dragstart"))};
$.g.Cx=function(){this.zm&&(this.zm=!1,this.Hg.i("drag")&&1!=this.qh().Fg()&&!this.MM&&this.dispatchEvent("dragend"))};
$.g.via=function(a){this.rg(a);this.hy=!1;var b=$.Wj(this.P().Ha()),c=this.Rf();if(c&&a.clientX>=c.left+b.x&&a.clientX<=c.left+b.x+c.width&&a.clientY>=c.top+b.y&&a.clientY<=c.top+b.y+c.height){b=(a.zD||a).Vj.dl;c=b.touches.length;if(2==c)a=b.touches[0],b=b.touches[1],this.VI=$.dn(a.pageX,a.pageY,b.pageX,b.pageY),this.SI=!1;else if(1==c){this.SI=!0;this.BV=a;if(!this.L4){this.Q4=this.sc.ve(this,"touchstart",function(a){1<a.zD.Vj.dl.touches.length&&(this.SI=!1)});this.P4=this.sc.ve(this,"touchmove",
function(){this.SI=!1});if(this.Hg.i("drag")&&1!=this.Fg()){c=this.gf;var d=c.Lj();$.rb(c.pb(),d)&&b.preventDefault()}this.L4=!0;(0,window.setTimeout)(this.wia,10)}this.D4=a.clientX;this.E4=a.clientY;this.zm=!0}else this.SI=!1;$.Id(window.document,["pointermove","touchmove"],this.f5,!1,this);$.Id(window.document.body,["pointermove","touchmove"],function(){return!1},!1,this)}};
$.g.Cj=function(a){this.FA||(this.DM=!1,this.BV=a,this.Fg()==this.i("minZoomLevel")?(0,window.setTimeout)(this.X8,0,a):this.B2||(this.N4=this.sc.ve(this,"mousemove",function(){this.DM=!this.MM}),this.B2=!0,(0,window.setTimeout)(this.lca,70)))};
$.g.kq=function(a){if("drill-down"==this.Vc().i("selectionMode")){var b=this.qh().cS();if(b){var c=$.mo(a.domTarget),d;if($.K(a.target,$.Du)||$.K(a.target,$.Px)){a=a.target.Gi();a.Ii&&a.Ii()&&(d=a);var e=c}else $.K(a.target,$.Iw)||this.Tu(a.target)?c&&(c.Jf?(d=c.Jf.W,e=c.Jf.md):(d=c.W,e=c.index)):(d=c&&c.W,e=$.ea(c.index)?c.index:a.pointIndex);d&&(c=d.Rd(e).get("id"),b=b[c])&&($.K(b,wR)?this.Pq(c,b):$.D(b)&&(this.fH[c]||(this.fH[c]=$.Np(b)),this.Pq(c,this.fH[c])))}}else wR.u.kq.call(this,a)};
$.g.Gg=function(a){var b=this.qh(),c=b.Vc().i("hoverMode"),d=$.mo(a.domTarget),e=!1,f;if($.K(a.target,$.Du)||$.K(a.target,$.Px)){var h=a.target.Gi();h.Ii&&h.Ii()&&(f=h);h=d}else $.K(a.target,$.Iw)||b.Tu(a.target)?(d&&(d.Jf?(f=d.Jf.W,h=d.Jf.md,$.A(h)&&!h.length&&(h=window.NaN)):(f=d.W,h=d.index)),e=!0):(f=d&&d.W,h=$.ea(d.index)?d.index:a.pointIndex);if(f&&!f.fd&&f.enabled()&&$.E(f.Ig)&&(d=f.Ig(a))){var k=$.mo(a.relatedDomTarget);k=$.N($.D(k)?k.index:k);$.no(f,a.relatedTarget)&&k==h||!f.dispatchEvent(d)||
"single"!=c||(0,window.isNaN)(h)&&!$.A(h)||(f.Pd(),b.Iz(),b.dispatchEvent(b.Ik("hovered",a,[{W:f,md:[],we:{index:$.A(h)?h[0]:h,Yf:0}}],!1,e)))}"single"==c||$.no(b,a.relatedTarget)||(b.Pd(),b.Iz(),b.jl&&b.dispatchEvent(b.Ik("hovered",a,b.jl,!0,e)),b.jl=null)};$.g.sh=function(a){this.DM||wR.u.sh.call(this,a)};
$.g.f5=function(a){var b=a.dl,c=b.touches?b.touches.length:0;this.hy=!1;var d=this.qh(),e=d.gf;if(2==c){c=b.touches[0];var f=b.touches[1];b=$.dn(c.pageX,c.pageY,f.pageX,f.pageY);a=Math.min(c.pageX,f.pageX)+Math.abs(c.pageX-f.pageX)/2;c=Math.min(c.pageY,f.pageY)+Math.abs(c.pageY-f.pageY)/2;var h=25<Math.abs(b-this.VI);f=this.i("minZoomLevel");var k=this.i("maxZoomLevel");this.Hg.i("zoomOnMouseWheel")&&h&&(h=0<b-this.VI?1.3:1/1.3,this.VI=b,this.jI=this.jJ,this.jJ=1<h?!0:1==h?!this.jI:!1,this.jI!=this.jJ&&
d.ai&&1==d.ai.Xb&&d.ai.stop(),1>h&&$.Qm(d.Fg(),2)==f&&!$.yb(e.Gd)?(e.jc(f,0,0,f,0,0),d.Sp=f,d.TC=!1,d.ai&&1==d.ai.Xb&&d.ai.stop(),d.scale().zoom=f,lQ(d.scale(),0,0),mQ(d)):1<h&&d.Fg()>=k||1>h&&d.Fg()<=f||(e=$.Of(this.P().fa()),d.zoom(h,a-e.left,c-e.top)))}else 1==c&&(this.zm&&this.Hg.i("drag")&&1!=this.Fg()?(e=a.clientX-d.D4,b=a.clientY-d.E4,$.uf(window.document.body,"cursor","move"),d.move(e,b),d.D4=a.clientX,d.E4=a.clientY):$.uf(window.document.body,"cursor",""))};
$.g.es=function(a){if($.K(a.target,$.Iw))return $.mo(a.domTarget).md;var b=this.Pf||$.gn(0,0,0,0),c=a.clientX;a=a.clientY;var d=$.Wj(this.P().Ha());c-=d.x;a-=d.y;d=b.left;var e=b.top,f=b.width;b=b.height;if(c<d||c>d+f||a<e||a>e+b)return null;b=[];d=this.Vc();if("by-spot"==d.i("hoverMode")){var h=d.i("spotRadius");e=0;for(f=this.fb.length;e<f;e++){var k=this.fb[e];if(k.enabled()){var l=k.aa(),m=[];l.reset();for(var p=window.Infinity,q;l.advance();)if(l.o("shape")){var r=l.o("x"),t=l.o("value");d=l.la();
r=$.dn(r,t,c,a);r<=h&&(m.push(d),r<p&&(p=r,q=d))}m.length&&b.push({W:k,md:m,xn:m[m.length-1],we:{index:q,Yf:p}})}}}else this.Vc().i("hoverMode");return b};
$.g.CF=function(a,b){for(var c=[],d,e=0,f=a.length;e<f;e++){var h=a[e],k=h.W,l={series:k},m=k.aa(),p=[];if(!b)for(var q=0;q<h.md.length;q++){var r=h.md[q];m.select(r)&&((d=(d=m.o("features"))&&d.length?d[0].properties:null)?(r={id:d[XP(k)],index:m.la(),properties:d},p.push(r)):p.push(r))}l.points=p;h.we?(r=h.we.index,m.select(r)&&(r={},(d=(d=m.o("features"))&&d.length?d[0].properties:null)?(r.id=d[XP(k)],r.index=m.la(),r.properties=d):r.index=m.la()),h={point:r,distance:h.we.Yf}):h={index:window.NaN,
distance:window.NaN};l.nearestPointToCursor=h;c.push(l)}return c};$.g.WK=function(a,b){var c=$.jr(this.qh(),"colorRange");a=$.A(a)?a.length?a[0]:window.NaN:a;if(c&&c.target()&&!(0,window.isNaN)(a)){var d=c.target();if(d==b){var e=d.aa();e.select(a);d=e.get(d.Se.ol);$.tN(c,d)}}};$.g.Iz=function(){var a=$.jr(this.qh(),"colorRange");a&&a.enabled()&&$.uN(a)};$.g.By=function(){this.Za().Nq()&&this.B(4,9)};$.g.qR=function(){return new SP(this)};
$.g.WN=function(a){var b=a.shiftKey||a.ctrlKey||a.metaKey;var c=a.left;var d=a.top;var e=a.width;a=a.height;for(var f=0;f<this.fb.length;f++){var h=this.fb[f],k=h.Ni()||this.Vc().i("selectionMode");if("none"!=k){var l=$.iB(h,c,d,e,a);"single-select"==k&&(b=!1,l=l[0]);$.jB(h,l,b)}}};
$.g.C4=function(a){var b=this.Qga,c=this.Oga,d=this.Pga,e=this.i("selectPolygonMarqueeStroke"),f=this.i("selectPolygonMarqueeFill");if(this.La){e=e||"red 0.5";f=f||"red 0.2";var h=this.i("selectPolygonMarqueeMarker")||{},k=$.Vb(h.fill||f),l=$.Yb(h.stroke||e);h=h.radius||15;this.hU=b;this.gU=c;this.gH=d;this.fk=[];this.by=window.Infinity;this.cD=-window.Infinity;this.dy=window.Infinity;this.dD=-window.Infinity;this.w1=!0;this.qM=h;this.E1=!!a;this.mm||(this.mm=this.La.path(),this.Ot=this.La.path(),
this.Xo=this.La.cn());this.Xo.parent(this.La);this.Xo.stroke(l);this.Xo.fill(k);this.Xo.zIndex(999);this.Ot.parent(this.La);this.Ot.stroke(e,3,"3 3");this.Ot.zIndex(1E3);this.mm.parent(this.La);this.mm.stroke(e);this.mm.fill(f);this.mm.zIndex(1E3);this.La.ra("mousemove",this.g3,!0,this);this.La.ra("dblclick",this.f3,!0,this);this.La.ra("click",this.e3,!0,this);a=!0}else a=!1;this.FA=a;return this};
$.g.g3=function(a){if(this.fk.length){var b=$.Wj(this.P().Ha()),c=a.clientX-b.x;a=a.clientY-b.y;b=$.jb(new $.gb(this.fk[0],this.fk[1]),new $.gb(c,a))<=this.qM;this.Ot.clear();b&&(this.Ot.moveTo(c,a),this.Ot.lineTo(this.fk[0],this.fk[1]));this.mm.clear();this.mm.moveTo(this.fk[0],this.fk[1]);for(b=2;b<this.fk.length;b+=2)this.mm.lineTo(this.fk[b],this.fk[b+1]);this.mm.lineTo(c,a)}};
$.g.e3=function(a){a.stopPropagation();a.preventDefault();var b=$.Wj(this.P().Ha());var c=a.clientX-b.x;b=a.clientY-b.y;this.by=Math.min(c,this.by);this.cD=Math.max(c,this.cD);this.dy=Math.min(b,this.dy);this.dD=Math.max(b,this.dD);this.fk.push(c,b);var d=!1;2<this.fk.length&&(d=$.jb(new $.gb(this.fk[0],this.fk[1]),new $.gb(c,b))<=this.qM);var e=new $.J(this.by,this.dy,this.cD-this.by,this.dD-this.dy);d?($.n(this.gH)&&this.gH.call(this,this.fk,e,a),this.E1?(xR(this),this.fk.length=0,this.cD=this.dD=
-window.Infinity,this.by=this.dy=window.Infinity):yR(this)):2==this.fk.length?(this.Xo.zp(c),this.Xo.Ap(b),this.Xo.Wb(this.qM),$.n(this.hU)&&this.hU.call(this,this.fk,e,a)):$.n(this.gU)&&this.gU.call(this,this.fk,e,a)};$.g.f3=function(a){var b=new $.J(this.by,this.dy,this.cD-this.by,this.dD-this.dy);this.gH&&this.gH.call(this,this.fk,b,a);this.E1?(xR(this),this.fk.length=0,this.cD=this.dD=-window.Infinity,this.by=this.dy=window.Infinity):yR(this);a.stopPropagation();a.preventDefault()};
$.g.zba=function(){yR(this);return this};$.g.mM=function(){return!!this.w1};$.g.Qga=function(a,b,c){return this.dispatchEvent(zR("selectmarqueestart",a,b,c))};$.g.Oga=function(a,b,c){return this.dispatchEvent(zR("selectmarqueechange",a,b,c))};
$.g.Pga=function(a,b,c){var d=zR("selectmarqueefinish",a,b,c);if(a=this.dispatchEvent(d)){var e=this.gf.qg();b=d.polygon;for(c=0;c<b.length;c+=2)b[c]-=e.Ad,b[c]/=e.ed,b[c+1]-=e.xd,b[c+1]/=e.Ee;var f=d.polygonBounds;f.left-=e.Ad;f.left/=e.ed;f.top-=e.xd;f.top/=e.Ee;d=d.shiftKey||d.ctrlKey||d.metaKey;for(c=0;c<this.fb.length;c++){e=this.fb[c];var h=e.Ni()||this.Vc().i("selectionMode");if("none"!=h){var k=e;for(var l=b,m=f,p=k.vc(),q=[];p.advance();){var r;var t=void 0;var u=r=void 0;var v=k;var w=p;
var x=l;var y=m;var B=[];var G=[];if($.K(v.vf,$.KA)&&(u=w.o(v.vf.O)))for(t in u)if(w=u[t],$.K(w,$.zg)){v=$.yg(w);if(0<=v.segments.indexOf(4)||0<=v.segments.indexOf(3))w.AI(),v=$.yg(w);if(0<(0,$.gda)(v.segments,1)){w=[];var C=0;var I,P;var Q=I=window.Infinity;var S=P=-window.Infinity;for(var sa=0;sa<v.segments.length;sa++){var va=v.count[sa];w=w.concat(v.arguments.slice(C,C+2*va));C+=2*va;if(sa+1>=v.segments.length||1==v.segments[sa+1]){for(va=0;va<w.length;va+=2)Q=Math.min(Q,w[va]),S=Math.max(S,w[va]),
I=Math.min(I,w[va+1]),P=Math.max(P,w[va+1]);va=[Q,I,S,I,S,P,Q,P];0<w.length&&$.Zm($.hn(y),va)&&(B.push(w),w=[])}}}else r=w.pb(),$.Zm($.hn(r),$.hn(y))&&B.push(v.arguments)}else $.K(w,$.pg)?(v=w.yp(),w=w.Wb(),B.push([v.x,v.y]),G.push({x:v.x,y:v.y,r:w})):B.push($.hn(r));else u=w.o(v.nh.wb+"X"),r=w.o(v.nh.wb),v.nh.wb==v.nh.yb?B.push([u,r]):(t=w.o(v.nh.yb+"X"),v=w.o(v.nh.yb),B.push([u,r,t,v,u,v,t,r]));u=!1;for(r=0;r<B.length;r++)for(t=B[r],v=0;v<t.length;v+=2){a:{w=t[v];C=t[v+1];Q=window.Infinity;if($.n(y)){if(w<
y.qb()||w>y.$a()||C<y.bc()||C>y.Ua()){w=!1;break a}}else for(S=0;S<x.length;S+=2)Q=Math.min(Q,x[S]);S=$.n(y)?{x:y.left-100,y:0}:{x:Q,y:0};I=x.length-2;P=!1;for(Q=0;Q<x.length;Q+=2)$.bn(x[Q],x[Q+1],x[I],x[I+1],w,C,S.x,S.y)&&(P=!P),I=Q;w=P}if(w){u=!0;break}}if(!(y=u)){r=!1;for(y=0;y<B.length;y++)if(t=B[y],!(4>t.length)){u=t.length-2;for(v=0;v<t.length;v+=2){w=x.length-2;for(C=0;C<x.length;C+=2){if($.bn(t[v],t[v+1],t[u],t[u+1],x[C],x[C+1],x[w],x[w+1])){r=!0;break}w=C}if(r)break;u=v}if(r)break}y=r}if(!y)for(y=
!1,B=0;B<G.length;B++){t=G[B];u=x.length-2;for(r=0;r<x.length;r+=2){Q=x[r];C=x[r+1];w=x[u];S=x[u+1];u=t.x;v=t.y;w=new $.Ai(Q,C,w,S);Q=u;Q instanceof $.gb?(C=Q.y,Q=Q.x):C=v;S=w.qj;I=w.se;C=((Number(Q)-S)*(w.rj-S)+(Number(C)-I)*(w.Xe-I))/Qea(w);C=$.Za(C,0,1);w=new $.gb(uP(w.qj,w.rj,C),uP(w.se,w.Xe,C));if($.jb(w,new $.gb(u,v))<=t.r){y=!0;break}u=r}if(y)break}y&&q.push(p.la())}k=q;"single-select"==h&&(d=!1,k=k[0]);$.jB(e,k,d)}}this.dispatchEvent({type:"pointsselect",points:this.PL(),seriesStatus:[]})}return a};
$.g.vR=function(a,b){this.Zu||(this.Zu=new $.Pw,$.W(this,"crsAnimation",this.Zu),$.L(this.Zu,this.vga,this));return $.n(a)?(this.Zu.K.apply(this.Zu,arguments),this):this.Zu};$.g.vga=function(){};$.g.Yj=function(a){this.Yb||(this.Yb=new $.oN,$.W(this,"colorRange",this.Yb),$.L(this.Yb,this.uz,this),this.B(524292,1));return $.n(a)?(this.Yb.K(a),this):this.Yb};$.g.uz=function(a){var b=0,c=0;$.X(a,1)&&(b|=557072,c|=1,this.Pv());$.X(a,8)&&(b|=4,c|=8);$.X(a,2)&&(b|=524288,c|=8);this.B(b,c)};
$.g.Tu=function(a){return $.K(a,$.oN)};$.g.UZ=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Qn[c];e||(e=new zQ,e.ib(this),e.Fa(this.z_()),e.ld(),this.Qn[c]=e,$.L(e,this.pga,this),this.B(16777220,1));return $.n(d)?(e.K(d),this):e};$.g.pga=function(a){var b=0,c=0;$.X(a,1)&&(b|=16777216,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.z_=function(a){this.DR||(this.DR=$.wm("map.defaultCalloutSettings"));return $.n(a)?($.ra(this.DR,a),this):this.DR||{}};
$.g.axes=function(a){if(!this.xp){this.xp=new yQ(this);$.W(this,"axesSettings",this.xp);this.xp.sg(!0);for(var b=this.scale(),c=this.xp.hm(),d=0;d<c.length;d++){var e=c[d];e.scale()!==b&&e.scale(b)}}return $.n(a)?(this.xp.ia(!1,a),this):this.xp};$.g.bN=function(a){var b=0;$.X(a,8)?b|=4:$.X(a,1)&&(b|=33554432);this.B(b,1)};$.g.AT=function(a){this.Vx||(this.Vx=new DQ(this),$.W(this,"gridsSettings",this.Vx),this.Vx.sg(!0));return $.n(a)?(this.Vx.ia(!1,a),this):this.Vx};
$.g.N2=function(){this.B(67108864,1)};$.g.$g=function(a){this.Ef||(this.Ef=new BQ,$.W(this,"crosshair",this.Ef),$.hA(this.Ef,this),$.L(this.Ef,this.yA,this));return $.n(a)?(this.Ef.K(a),this):this.Ef};$.g.yA=function(){this.B(134217728,1)};$.g.BL=function(a){return $P(a)?15:30};$.g.DW=function(a){WP(a,this.i("geoIdField"));this.gl&&(a.Yr=this.gl);wR.u.DW.call(this,a)};$.g.kt=function(a,b){return new VP(this,this,a,b,!0)};$.g.zs=function(a){return $.xk(gfa,a,"choropleth")};
$.g.XD=function(a){var b=0;$.X(a,32768)&&(b|=256);$.X(a,1)&&(b=32768,$P(a.target)&&(b|=16));$.X(a,1024)&&(b|=8388608);$.X(a,4)&&(b|=4194304);$.X(a,2048)&&(b=32);if($.X(a,16)){b|=8422144;$P(a.target)&&(b|=16);for(var c=this.fb.length;c--;)this.fb[c].B(4260356)}$.X(a,64)&&(b|=512,$.X(a,8)&&(b|=4));$.X(a,128)&&(b|=524288,a=$.jr(this,"colorRange"))&&(a.Qd(),a.B(a.xe));this.B(b,1)};$.g.Pv=function(){for(var a=this.fb.length;a--;)this.fb[a].B(4)};$.g.Az=function(a){a=a?a.path():$.nk();a.Lp(!0);return a};
$.g.b_=function(a){a.clear();a.parent(null);a.ll();a.jc(1,0,0,1,0,0);delete a.tag};$.g.clear=function(){this.gf&&(AR(this)?CR(this,this.gf):this.gf.clear());this.$v.length=0};$.g.Rf=function(){return this.Pf};
$.g.scale=function(a){if($.n(a))return a&&$.K(a,HQ)?this.na!=a&&(this.na&&$.Zq(this.na,this.AL,this),this.na=a,$.L(this.na,this.AL,this),this.B(65536,1)):(this.na||(this.na=new HQ,this.na.X(this.na.ma,!0),$.L(this.na,this.AL,this)),this.na.K(a)),this;this.na||(this.na=new HQ,this.na.X(this.na.ma,!0),$.L(this.na,this.AL,this));return this.na};$.g.AL=function(a){var b=0;$.X(a,4)&&(b|=65540);$.X(a,2)&&(b|=4);this.B(b,1)};$.g.Va=function(){return null};$.g.bb=function(){return null};
$.g.Rw=function(a){if($.n(a)){if($.D(a)){if(!this.XI||$.z(this.XI))this.XI=new uR(this);this.XI.K(a)}else this.XI=$.xk(ffa,a,"hide");this.B(16,1);return this}return this.XI};$.g.Yr=function(a){if($.n(a)){if($.z(a)&&!$.fc(a,"<")){this.zL=a;var b=a.split(".");a=$.fl;for(var c=0,d=b.length;c<d;c++)a=a[b[c]]}else this.zL=null;this.mn!=a&&(this.mn=a,this.B(5095440,1));return this}return this.mn};
$.g.I_=function(a,b,c){var d=PQ(this.scale(),a[b],a[b+1]);a=d[0];d=d[1];$.Hc(c,"coordinates")?c.fa.moveTo(a,d).lineTo(a,d):b?c.fa.lineTo(a,d):c.fa.moveTo(a,d)};
$.g.QQ=function(a,b,c){var d=this.FS;if(AR(this.map))"image"==c.type||"text"==c.type?(a=$.kg().VU(c.cloneNode),d.qL(a.qb(),a.bc(),a.$a(),a.Ua())):"path"==c.type&&(this.map.WU||(this.map.WU=$.nk()),qR(c.commands_tx?c.commands_tx:c.commands,this.map.WU),a=this.map.WU.pb(),d.qL(a.qb(),a.bc(),a.$a(),a.Ua()));else{if(this.r3){c=(a[b]-this.Td.$h)/this.Td.scale;var e=(a[b+1]-this.Td.Ti)/this.Td.scale;this.p3&&(e=this.p3.gj(c,e),c=e[0],e=e[1]);e=this.r3.forward(c,e);a[b]=e[0]*this.Td.scale+this.Td.$h;a[b+
1]=e[1]*this.Td.scale+this.Td.Ti}d.qL(a[b],a[b+1])}};$.g.WR=function(a){return this==dQ(this)?wR.u.WR.call(this,a):a};$.g.FC=function(a){var b=a.clone();if($.jr(this,"axesSettings")){var c=0,d=0,e=0,f=0;b=a.clone();for(var h=this.xp.hm(),k,l=0;l<h.length;l++)if(k=h[l],k.i("enabled")){k.ja(a);var m=k.qd(),p=a.left-m.left;c<p&&m.left&&(c=p);p=a.top-m.top;d<p&&m.top&&(d=p);p=m.$a()-a.$a();e<p&&m.$a()&&(e=p);p=m.Ua()-a.Ua();f<p&&m.Ua()&&(f=p);k.B(4)}b.left+=c;b.top+=d;b.width-=c+e;b.height-=d+f}return b};
$.g.ob=function(){var a;var b=this.scale();var c=!1;if(this.J(262144)){var d=this.Yr();if(null!=d){d=$.z(this.mn)&&!$.fc(d,"<")?$.fl.anychart.maps[this.mn]:this.mn;$.z(d)&&$.fc(d,"<")||$.Pe(d)?this.CD=fR.vd():"topology"===d.type.toLowerCase()?this.CD=sR.vd():this.CD=ZQ.vd();this.cU=this.CD.f(d);$.qd(this.gl);this.gl=null;(c=d["ac-geoFieldId"])&&this.pa("geoIdField",c);this.kk={};c=d["ac-tx"]||{};var e=c["default"];e||(e=c["default"]=$.Qc(tS["default"]));$.Dc(c||tS,function(a,b){var c={};c.zg=$.n(a.crs)?
wP(a.crs):e.zg;c.DI=c.zg;c.Eo=QP(c.zg);c.A4=QP(c.DI);c.scale=a.scale||e.scale||1;c.$h=$.n(a.xoffset)?(0,window.parseFloat)(a.xoffset):0;c.Ti=$.n(a.yoffset)?(0,window.parseFloat)(a.yoffset):0;$.n(a.heatZone)&&(c.It=$.A(a.heatZone)?a.heatZone:$.kn(a.heatZone));this.kk[b]=c},this);(c=d.scale)?IQ(b,"minLon"in c?c.minLon:window.NaN,"maxLon"in c?c.maxLon:window.NaN,"minLat"in c?c.minLat:window.NaN,"maxLat"in c?c.maxLat:window.NaN):IQ(b,window.NaN,window.NaN,window.NaN,window.NaN)}this.gf?this.clear():(this.gf=
BR(this,this.La),this.gf.zIndex(10),dQ(this)==this&&this.A1());AR(this)&&!this.Lw&&(this.Lw=BR(this,this.gf));this.xf||(this.xf=this.La.Dd(),this.xf.zIndex(30));c=!0;this.B(65540)}if(this.J(65536)){if(this.kk){Yea(b,this.kk);if(this.gf){var f=this.gf.Gd;b.zoom=f.ed;lQ(b,f.Ad,f.xd)}var h=this.kk?this.kk["default"]:null;var k=!this.Dz,l=null===this.mt?h.DI:this.mt;f=!this.gl;this.xA=null;k&&this.mt?this.xA=this.mt:this.Dz==h.zg&&this.Dz==l||k||AR(this)||(this.xA=l);var m=!!this.xA&&!AR(this);if(h.zg!=
this.xA&&h.DI!=this.xA||$.jr(this,"crsAnimation")&&this.Zu.i("enabled")){if(!RP(h.DI))var p=h.A4;m&&(a=QP(this.xA))}var q=h.Eo;k&&(this.Dz=l);m&&(this.Kq&&1==this.Kq.Xb&&(this.Kq.stop(),this.Kq.cd(),this.Kq=null),this.Dz=this.xA,h.zg=this.Dz,h.Eo=QP(h.zg));f?(d=this.cU,this.gl=[]):m?d=this.cU:d=this.gl;k=$.jr(this,"crsAnimation");if(this.Kq&&this.Kq.Xb==$.cz||!this.Kq)k&&k.i("enabled")&&0<k.i("duration")&&!f&&m?(h.Eo=new FQ(q,a),this.Kq=new gQ(this,d,p,h,k.i("duration"),this!=this.qh()),this.Kq.ve("end",
function(){this.map.Kq.stop();this.map.Kq.cd();this.Td.Eo=this.Td.Eo.QR},!0,{map:this,Td:h}),this.Kq.play()):(a=(0,$.pa)(this.QQ,{Td:h,p3:p,r3:a,FS:this.scale(),map:this}),AR(this),$.V(b),b.tg(c),hQ(this,d,a,f,m),b.Cg(),b.da(!0),AR(this)?(KQ(b,!0),this.Lw.parent(this.gf),this.Lw.jc(1,0,0,1,0,0)):KQ(b,!1));a=-window.Infinity;p=window.Infinity;f=c=0;for(b=this.fb.length;b--;)d=this.fb[b],d.B(512,1),d.Pn(),a=Math.max(a,d.Ia("seriesMax")),p=Math.min(p,d.Ia("seriesMin")),c+=d.Ia("seriesSum"),f+=d.Ia("seriesPointsCount");
m=c/f;for(b=0;b<this.fb.length;b++)d=this.fb[b],d.Ia("max",a),d.Ia("min",p),d.Ia("sum",c),d.Ia("average",m),d.Ia("pointsCount",f),d=$.bc(d.stroke()),d>this.ir&&(this.ir=d)}this.I(65536)}if(this.J(4194304)){a=this.i("geoIdField");this.dH={};this.dH[a]={};if(this.gl){for(b=this.fb.length;b--;)d=this.fb[b],$.n(d.EC())&&d.EC()!=a&&(this.dH[d.EC()]={});b=0;for(d=this.gl.length;b<d;b++)a=this.gl[b],FR(this,a,function(a){var b=a.properties;if(b)for(var c in this.dH)c in b&&(this.dH[c][b[c]]=a)},this)}this.I(4194304)}};
$.g.iE=function(){wR.u.iE.call(this,this.Xf);this.$u().Ir(JQ(this.scale()))};
$.g.ei=function(a){dQ(this);var b,c,d,e=this.i("maxZoomLevel"),f=this.i("minZoomLevel");var h=this.scale();this.ob();if(this.J(32768)){for(b=this.fb.length;b--;){var k=this.fb[b];$.V(k);k.P(this.xf);$P(k)&&k.ob();k.da(!1)}this.MB={};$.zz(this)}if(this.J(4)){b=0;for(d=this.Qn.length;b<d;b++){var l=this.Qn[b];l.B(4)}if($.jr(this,"axesSettings"))for(k=this.xp.hm(),b=0,d=k.length;b<d;b++){var m=k[b];$.Mu(m.labels());$.Mu(m.kb());m.B(m.xe)}if($.jr(this,"gridsSettings"))for(l=this.Vx.hm(),b=0,d=l.length;b<
d;b++)k=l[b],k.B(80);this.B(67108864);this.B(33554432);this.B(16777216)}if(this.J(524288)&&$.jr(this,"colorRange")){b=0;for(d=this.fb.length;b<d;b++)$P(this.fb[b])&&(c=this.fb[b]);c&&($.V(this.Yb),this.Yb.scale(c.sd()),this.Yb.target(c),this.Yb.ib(dQ(this)),this.Yb.da(!1),this.B(4))}if(this.J(16777216))for(b=0,d=this.Qn.length;b<d;b++)if(l=this.Qn[b]){c=[];m=l.items();for(var p=0,q=0,r=m.length;q<r;q++)for(var t=m[q],u=0,v=this.fb.length;u<v;u++){k=this.fb[u];var w=(0,$.za)(k.nW,t);if(k=-1!=w?k.Rd(w):
null)c[p]=k,p++}$.V(l);l.g=c;l.ib(dQ(this));l.P(this.La);l.zIndex(60);l.da(!1)}l=this.gf;if(this.J(4)){if(this.Yb){this.Yb.ja(a.clone().round());var x=this.Yb.qd()}else x=a.clone();this.La.clip(this.lb());a=$.D(this.Rw())?$.bc(this.Rw().stroke()):0;a>this.ir&&(this.ir=a);x.left=x.left+this.ir/2;x.top=x.top+this.ir/2;x.width=x.width-this.ir;x.height=x.height-this.ir;a=x;d=this.Qn;k=a.clone();q=p=m=c=0;for(b=d.length;b--;)(r=d[b])&&r.enabled()&&(r.ja(a),t=r.orientation(),"top"==t?(r=r.qd(),c=a.height-
r.height):"bottom"==t?(r=r.qd(),m=a.height-r.height):"left"==t?(r=r.qd(),p=a.width-r.width):"right"==t&&(r=r.qd(),q=a.width-r.width));k.left+=p;k.top+=c;k.width-=q+p;k.height-=m+c;a=this.FC(k).clone();a.left+=this.ir/2;a.top+=this.ir/2;a.width-=this.ir;a.height-=this.ir;h.uf(a);this.Pf=a;if($.jr(this,"axesSettings"))for(k=this.xp.hm(),b=0,d=k.length;b<d;b++)m=k[b],m.Qd();this.gf&&this.kk&&!this.kk["default"].$h&&this.gf.clip(JQ(h));this.clear();AR(this)&&(h.ob(),this.Lw.parent(this.gf),this.Lw.jc(1,
0,0,1,0,0),this.Lw.scale(h.ratio,h.ratio,0,0),h=PQ(h,0,0),c=new $.Cb(1,0,0,1,h[0],h[1]),$.wb(c,this.Lw.Gd),this.Lw.jc(c.ed,c.Me,c.We,c.Ee,c.Ad,c.xd));if(this.gl)for(a=AR(this)?this.Lw:this.gf,b=0,d=this.gl.length;b<d;b++)h=this.gl[b],ER(this,h,a);for(b=this.fb.length;b--;)k=this.fb[b],k.ja(this.Pf),k.B(4,1);h=8388608;AR(this)&&(h|=16);this.B(h)}if(this.J(2097152)){h=this.Fg();b=this.Xy*h;c=this.gf.qg();var y=c.Ad;var B=c.xd;if(!(h==f&&b<f||h==e&&b>e)&&l||this.ur){k=!($.n(this.Cc)&&$.n(this.yc));if((0,window.isNaN)(this.Cc)||
(0,window.isNaN)(this.yc))a=JQ(this.scale()).Lj(),m=a.top+a.height/2,d=(a.left+a.width/2-y)/c.ed,a=(m-B)/c.Ee,(0,window.isNaN)(this.Cc)&&(this.Cc=d),(0,window.isNaN)(this.yc)&&(this.yc=a);a=1>this.Xy;this.ur||(b>e?(this.Xy=e/this.Fg(),b=this.Xy*h):b<f&&a&&(this.Xy=f/this.Fg(),b=this.Xy*h));e=this.pl||200;this.ai&&this.ai.Xb!=$.cz||k||(this.rB=h,this.dP=b,((a=$.Tm(this.rB,this.dP,1E-5))&&this.sJ||!a)&&this!=this.qh()||dQ(this).dispatchEvent(KR(this,"zoomstart"))?($.fl.anychart.ui.ContextMenu&&(a=this.contextMenu(),
a.He()&&a.Oc()),a=this.gf,k=a.pb(),d=(this.Cc-y)/this.rB,a=(this.yc-B)/this.rB,this.ur||(d<k.left?d=k.left:d>k.$a()&&(d=k.$a()),a<k.top?a=k.top:a>k.Ua()&&(a=k.Ua())),this.ai=new jQ(this,[h,y,B],[b,d*(1-this.rB),a*(1-this.rB)],e,this!=this.qh()),this.ai.play()):a&&(e=this.qh(),a=e.gf.pb(),d=a.left+a.width/2,a=a.top+a.height/2,y=d*(1-e.Sp),B=a*(1-e.Sp),this.gf.jc(e.Sp,0,0,e.Sp,y,B),this.scale().zoom=e.Sp,lQ(this.scale(),y,B),mQ(this)))}this.sJ=!1;this.pl=window.NaN;this.Xy=1;this.I(2097152)}this.J(1048576)&&
(this.Fg()!=f&&l&&(f=l.Lj(),k=l.zt(l.qg()),this.d2?k.left+this.offsetX>=f.left&&0<this.offsetX?y=0:k.$a()+this.offsetX<=f.$a()&&0>this.offsetX?y=0:y=this.offsetX:k.left+this.offsetX>=f.left?y=f.left-k.left:k.$a()+this.offsetX<=f.$a()?y=f.$a()-k.$a():y=this.offsetX,this.d2?k.top+this.offsetY>=f.top&&0<this.offsetY?B=0:k.Ua()+this.offsetY<=f.Ua()&&0>this.offsetY?B=0:B=this.offsetY:k.top+this.offsetY>=f.top?B=f.top-k.top:k.Ua()+this.offsetY<=f.Ua()?B=f.Ua()-k.Ua():B=this.offsetY,y/=this.Fg(),B/=this.Fg(),
this.offsetY=this.offsetX=0,y||B)&&(this.Ofa=!0,l.hF(1,0,0,1,y,B),c=l.Gd,lQ(this.scale(),c.Ad,c.xd),mQ(this)),this.I(1048576));if(this.J(33554432)){if($.jr(this,"axesSettings"))for(k=this.xp.hm(),b=0;b<k.length;b++)m=k[b],$.V(m),m.P(this.La),m.$(),m.da(!1);this.I(33554432)}if(this.J(67108864)){if($.jr(this,"gridsSettings"))for(l=this.Vx.hm(),b=0,d=l.length;b<d;b++)k=l[b],$.V(k),k.scale(this.scale()),k.P(this.La),k.$(),k.da(!1);this.I(67108864)}this.J(134217728)&&(y=this.$g(),$.V(y),y.ja(x),y.P(this.La),
y.$(),y.da(!1),this.I(134217728));if(this.J(16)){y=this.Rw();if("as-is"==y)for(b=0,d=this.$v.length;b<d;b++)x=this.$v[b],x.visible(!0),x.ll(),delete x.tag;else if($.D(y)&&y.enabled())for(b=0,d=this.$v.length;b<d;b++)x=this.$v[b],x.visible(!0),x.ll(),delete x.tag,$.K(x,$.ng)&&x.fill(y.fill()).stroke(y.stroke());else for(b=0,d=this.$v.length;b<d;b++)x=this.$v[b],x.visible(!1),x.ll(),delete x.tag;this.Pv();this.B(32768);this.I(16)}if(this.J(32768)){for(b=this.fb.length;b--;)k=this.fb[b],x=k.Na(),this.MB[x]=
this.MB[x]||!k.ef(),$.V(k),k.ib(dQ(this)),WP(k,this.i("geoIdField")),k.$(),k.da(!1);this.I(32768)}this.J(8388608)&&(vR(this),this.I(8388608));this.J(524288)&&($.jr(this,"colorRange")&&($.V(this.Yb),this.Yb.P(this.La),this.Yb.zIndex(50),this.Yb.$(),this.Yb.da(!1)),this.I(524288));if(this.J(16777216)){b=0;for(d=this.Qn.length;b<d;b++)if(l=this.Qn[b])$.V(l),l.P(this.La),l.zIndex(60),l.$(),l.da(!1);this.I(16777216)}};
$.g.i5=function(a,b,c){var d=GR(this,a);if(d&&!AR(this)){var e=d.fa.Lj();var f=this.scale().Fc(e.left+e.width/2,e.top+e.height/2);f=TQ(this.scale(),f[0],f[1])[0];a=f==this.kk["default"]?this.kk[a]={}:f;b/=this.Fg();c/=this.Fg();var h=QQ(this.scale(),e.left,e.top),k=QQ(this.scale(),e.left+b,e.top+c);f=k[0]-h[0];h=k[1]-h[1];k=0;for(var l=d.polygones.length;k<l;k++){for(var m=d.polygones[k],p=m.outerPath,q=0;q<p.length-1;q+=2)p[q]+=f,p[q+1]+=h;m=m.holes;for(q=0;q<m.length-1;q+=2)m[q]+=f,m[q+1]+=h}a.$h=
a.$h?a.$h+f:f;a.Ti=a.Ti?a.Ti+h:h;e.left+=b;e.top+=c;b=QQ(this.scale(),e.left,e.top);e=QQ(this.scale(),e.left+e.width,e.top+e.height);a.It=$.gn(b[0],b[1],Math.abs(e[0]-b[0]),Math.abs(e[1]-b[1]));this.B(65540,1)}return this};
$.g.oS=function(a,b,c){var d=GR(this,a);if(d){var e=d.fa.Lj();var f=this.scale().Fc(e.left+e.width/2,e.top+e.height/2);f=TQ(this.scale(),f[0],f[1])[0];f=f==this.kk["default"]?this.kk[a]={}:f}if($.n(b)||$.n(c)){if(d&&!AR(this)){var h=f.Ti||0;a=(f.$h||0)*this.scale().ratio;h*=this.scale().ratio;b=$.n(b)?b:a;c=$.n(c)?c:h;b/=this.Fg();c/=this.Fg();for(var k=(b-a)/this.scale().ratio,l=(c-h)/this.scale().ratio,m=0,p=d.polygones.length;m<p;m++){for(var q=d.polygones[m],r=q.outerPath,t=0;t<r.length-1;t+=
2)r[t]+=k,r[t+1]+=l;q=q.holes;for(t=0;t<q.length-1;t+=2)q[t]+=k,q[t+1]+=l}f.$h=f.$h?f.$h+k:k;f.Ti=f.Ti?f.Ti+l:l;e.left+=b-a;e.top+=c-h;b=QQ(this.scale(),e.left,e.top);e=QQ(this.scale(),e.left+e.width,e.top+e.height);f.It=$.gn(b[0],b[1],Math.abs(e[0]-b[0]),Math.abs(e[1]-b[1]));this.B(65540,1)}return this}return d?[f.$h*this.scale().ratio||0,f.Ti*this.scale().ratio||0]:[window.NaN,window.NaN]};
$.g.nS=function(a,b){var c=GR(this,a);if(c){var d=this.scale();var e=c.fa.pb();var f=d.Fc(e.left+e.width/2,e.top+e.height/2);f=TQ(d,f[0],f[1])[0];f=f==this.kk["default"]?this.kk[a]={}:f}if($.n(b)){if(c&&!AR(this)){var h=$.N(b)||1,k=f.$h||0,l=f.Ti||0,m=this.kk["default"].scale||tS["default"].scale;m=f.scale?f.scale:m;var p=QQ(d,e.left,e.top),q=QQ(d,e.left+e.width,e.top+e.height),r=(q[0]-k)/m*h+k;q=(q[1]-l)/m*h+l;p=PQ(d,(p[0]-k)/m*h+k,(p[1]-l)/m*h+l);q=PQ(d,r,q);q=$.gn(p[0],p[1],Math.abs(q[0]-p[0]),
Math.abs(q[1]-p[1]));p=QQ(d,q.left+q.width/2,q.top+q.height/2);r=QQ(d,e.left+e.width/2,e.top+e.height/2);e=r[0]-p[0];r=r[1]-p[1];p=QQ(d,q.left,q.top);q=QQ(d,q.left+q.width,q.top+q.height);p[0]+=e;p[1]+=r;q[0]+=e;q[1]+=r;d=0;for(var t=c.polygones.length;d<t;d++){for(var u=c.polygones[d],v=u.outerPath,w=0;w<v.length-1;w+=2)v[w]=(v[w]-k)/m*h+k+e,v[w+1]=(v[w+1]-l)/m*h+l+r;u=u.holes;for(w=0;w<u.length-1;w+=2)u[w]=(u[w]-k)/m*h+k+e,u[w+1]=(u[w+1]-l)/m*h+l+r}f.It=$.gn(p[0],p[1],Math.abs(q[0]-p[0]),Math.abs(q[1]-
p[1]));f.$h=f.$h?f.$h+e:e;f.Ti=f.Ti?f.Ti+r:r;f.scale=h;this.B(65540,1)}return this}return c?f.scale||this.kk["default"].scale||1:window.NaN};
$.g.mS=function(a,b){var c=GR(this,a);if(c){var d=this.scale();var e=c.fa.pb(),f=d.Fc(e.left+e.width/2,e.top+e.height/2);f=TQ(d,f[0],f[1])[0];if($.n(b)){if(!AR(this)){c.fa.clear();var h=c.properties[this.i("geoIdField")];var k=f==this.kk["default"]?this.kk[h]={}:f,l=k.zg||this.kk["default"].zg||tS["default"].crs;f=QP(l);h=QP(b);for(var m=k.$h||0,p=k.Ti||0,q=k.scale||this.kk["default"].scale||tS["default"].scale,r=0,t=c.polygones.length;r<t;r++){for(var u=c.polygones[r],v=u.outerPath,w=0;w<v.length-
1;w+=2){var x=(v[w]-m)/q;var y=(v[w+1]-p)/q;x=f.gj(x,y);x=h.forward(x[0],x[1]);v[w]=x[0]*q+m;v[w+1]=x[1]*q+p;y=PQ(d,v[w],v[w+1]);x=y[0];y=y[1];w?c.fa.lineTo(x,y):c.fa.moveTo(x,y)}u=u.holes;for(w=0;w<u.length-1;w+=2)x=(u[w]-m)/q,y=(u[w+1]-p)/q,x=f.gj(x,y),x=h.forward(x[0],x[1]),u[w]=x[0]*q+m,u[w+1]=x[1]*q+p,y=PQ(d,u[w],u[w+1]),x=y[0],y=y[1],w?c.fa.lineTo(x,y):c.fa.moveTo(x,y)}p=c.fa.Lj();r=QQ(d,p.left+p.width/2,p.top+p.height/2);t=QQ(d,e.left+e.width/2,e.top+e.height/2);m=t[0]-r[0];q=t[1]-r[1];r=0;
for(t=c.polygones.length;r<t;r++){u=c.polygones[r];v=u.outerPath;for(w=0;w<v.length-1;w+=2)v[w]+=m,v[w+1]+=q;u=u.holes;for(w=0;w<u.length-1;w+=2)u[w]+=m,u[w+1]+=q}c.fa.setPosition(e.left+e.width/2-p.width/2,e.top+e.height/2-p.height/2);p=c.fa.pb();c=QQ(d,p.left,p.top);d=QQ(d,p.left+p.width,p.top+p.height);k.It=$.gn(c[0],c[1],Math.abs(d[0]-c[0]),Math.abs(d[1]-c[1]));k.$h=k.$h?k.$h+m:m;k.Ti=k.Ti?k.Ti+q:q;k.zg=b;k.Eo=h;k.DI=l;k.A4=f;this.B(65540,1)}d=this}else d=$.n(f.zg)?f.zg:this.kk["default"].zg}else d=
null;return d};$.g.zg=function(a){return $.n(a)?(a=wP(a),this.mt!=a&&(this.mt=a,this.B(65540,1)),this):this.mt||this.Dz||tS["default"].crs};$.g.show=function(){this.La.visible(!0)};$.g.Oc=function(){this.La.visible(!1);var a=dQ(this);a.jl&&(a.dispatchEvent(this.Ik("hovered",{target:this},a.jl,!0,!0)),a.jl=null);a.ac("mousemove",a.ZI);(a=$.jr(this,"colorRange"))&&a.enabled()&&$.uN(a)};$.g.qh=function(){return dQ(this).DK};
$.g.cS=function(a){return $.n(a)?($.D(a)&&(this.Ax=a,this.fH&&$.Dc(this.fH,function(a){a.cd()}),this.fH={}),this):this.Ax};$.g.cv=function(a,b,c){var d=$.Ja(arguments,2);a.ai?a.ai.ve("end",function(){b.apply(this,d)},!1,a):b.apply(a,d)};$.g.Sz=function(){var a=dQ(this),b=[new TP(null,this,null,null)];b.push.apply(b,$.Ja(a.nt,0));return b};
$.g.Pq=function(a,b){var c=dQ(this),d=this.qh();if(b==d||c.dv)return this;if(null===a||"null"==a)return JR(this,c,c.nt.length),this;if($.n(b))IR(this,a,b);else if(this.Ax&&this.Ax[a])IR(this,a,this.Ax[a]);else{for(d=c.nt.length;d--;){var e=c.nt[d];if(e.Lx()==a){var f=e.r0();break}}f?JR(this,f,c.nt.length-1-d):$.el(301,null,[a])}return this};$.g.zx=function(){var a=dQ(this),b=this.qh().$ga;if(!b||a.dv)return a.dv=!1,this;JR(this,b);return this};$.g.Fg=function(){return this.Sp};
$.g.Ui=function(a,b,c,d){this.ur||(a=$.Za(a,this.i("minZoomLevel"),this.i("maxZoomLevel")));return this.zoom(a/this.Fg(),b,c,d)};
$.g.lja=function(a,b){var c=this.qh(),d=[];$.A(a)||(a=[a]);for(var e,f,h="",k=0,l=a.length;k<l;k++){var m=a[k];if(f=GR(c,m))h+=m+";",d.push(f)}if(d.length){m=c.gf.qg();var p=this.vN&&h==this.vN&&this.uN&&Pea(m,this.uN);k=0;for(l=d.length;k<l;k++)f=d[k],f=f.fa,e?$.qb(e,p?f.pb():f.Qq()):e=p?f.pb():f.Qq();var q=m.ed,r=m.Ad,t=m.xd;d=kQ(c,e,void 0,p);var u=d[0],v=d[1],w=d[2];this.cv(c,function(){this.sJ=!0;this.pl=$.n(b)?b:(0,window.isNaN)(this.pl)?500:this.pl;p?($.Tm(q,u,1E-5)?dQ(this).dispatchEvent(KR(this,
"zoomstart"))&&(this.ai=new jQ(this,[1,r,t],[1,r+v,t+w],this.pl),this.ai.play()):this.Ui(this.i("minZoomLevel"),v,w,this.pl),this.uN=this.vN=null):($.Tm(q,u,1E-5)?dQ(this).dispatchEvent(KR(this,"zoomstart"))&&(this.ai=new jQ(this,[1,r,t],[1,r+v,t+w],this.pl),this.ai.play()):this.Ui(u,v,w,this.pl),this.vN=h,this.ai&&this.ai.ve("end",function(){this.vN?this.uN=this.qh().gf.qg().clone():this.uN=null},!1,this))})}else $.el(301,null,[a])};
$.g.Cr=function(a){return this.zoom(this.i("zoomFactor"),void 0,void 0,a)};$.g.Dr=function(a){return this.zoom(1/this.i("zoomFactor"),void 0,void 0,a)};$.g.Cm=function(){this.dv||(this.ai&&this.ai.stop(),this.cv(this,function(){this.TC=!0;this.pl=300;var a=this.qh();a.Ui(a.i("minZoomLevel"));this.cv(this,function(){this.TC=!1})}));return this};
$.g.zoom=function(a,b,c,d){if($.n(a)){var e=0,f=0;$.n(d)&&(this.pl=d);a=$.N(a);if((this.Fg()==this.i("minZoomLevel")&&1>a||this.Fg()==this.i("maxZoomLevel")&&1<a)&&!this.ur)return this;1!=a&&(this.Xy=a,e=2097152,f=1);b=$.N(b);c=$.N(c);if(this.Cc!=b||this.yc!=c)this.Cc=b,this.yc=c,e=2097152,f=1;this.sJ=!0;this.B(e,f)}return this};
$.g.move=function(a,b){if($.n(a)||$.n(b)){var c=0,d=0;$.n(a)&&(a=$.N(a),(0,window.isNaN)(a)||(this.offsetX=a,c=1048576,d=1));$.n(b)&&(b=$.N(b),(0,window.isNaN)(b)||(this.offsetY=b,c=1048576,d=1));this.B(c,d)}return this};$.g.transform=function(a,b){var c=this.scale().transform(a,b);return{x:c[0],y:c[1]}};$.g.Fc=function(a,b){var c=this.scale().Fc(a,b);return{x:c[0],"long":c[0],y:c[1],lat:c[1]}};
$.g.bm=function(a,b){var c,d=[];if("default"==a){var e=0;for(c=this.fb.length;e<c;e++){var f=this.fb[e];var h=f.sd();var k=f.LC(b);k.sourceUid=$.oa(this);k.sourceKey=f.id();k.meta={scale:h};d.push(k)}}else if("categories"==a){if(this.Yb&&this.Yb.enabled()&&this.Yb.target()&&$.K(this.Yb.scale(),$.Uy))h=this.Yb.scale(),f=this.Yb.target();else for(e=0,c=this.fb.length;e<c;e++)if(f=this.fb[e],$.K(f.sd(),$.Uy)){h=f.sd();break}if(h)for(k=h.Xq(),e=0,c=k.length;e<c;e++){var l=k[e];"default"!==l.name&&d.push({text:l.name,
iconEnabled:!0,iconType:"square",iconFill:l.color,disabled:!this.enabled(),sourceUid:$.oa(this),sourceKey:e,meta:{W:f,scale:h,qe:l}})}}return d};$.g.ts=function(a){return"default"==a||"categories"==a};
$.g.er=function(a,b){var c=a.o();var d=this.Gf().i("itemsSourceMode");if("default"==d){if(d=a.si(),d=this.Ue(d))d.enabled(!d.enabled()),d.enabled()?d.Ek():d.Pd()}else if("categories"==d){d=c.W;var e=c.scale;if(e&&d){var f=[];c=c.qe;for(var h=d.vc();h.advance();){var k=h.get(d.Se.ol);c==e.pn(k)&&f.push(h.la())}"single"==this.Vc().i("hoverMode")?b.Jf={W:d,md:f}:b.Jf=[{W:d,md:f,xn:f[f.length-1],we:{index:f[f.length-1],Yf:0}}]}}};
$.g.bq=function(a,b){var c=a.o();var d=this.Gf().i("itemsSourceMode");if("default"==d)d=a.si(),(!a||null!=d||(0,window.isNaN)(d))&&(d=this.Ue(d))&&d.Ek();else if("categories"==d){d=c.W;var e=c.scale;if(e&&d){c=c.qe;for(var f=d.vc(),h=[];f.advance();){var k=f.get(d.Se.ol);c==e.pn(k)&&h.push(f.la())}if(e=$.mo(b.domTarget))"single"==this.Vc().i("hoverMode")?e.Jf={W:d,md:h}:e.Jf=[{W:d,md:h,xn:h[h.length-1],we:{index:h[h.length-1],Yf:0}}];this.Yb&&this.Yb.enabled()&&this.Yb.target()&&$.tN(this.Yb,(c.start+
c.end)/2)}}};$.g.aq=function(a,b){var c=a.o(),d=this.Gf().i("itemsSourceMode");"default"==d?(c=a.si(),(!a||null!=c||(0,window.isNaN)(c))&&(c=this.Ue(c))&&c.Pd()):"categories"==d&&("single"==this.Vc().i("hoverMode")&&(d=$.mo(b.domTarget))&&(d.W=c.W),this.Yb&&this.Yb.enabled()&&this.Yb.target()&&$.uN(this.Yb))};$.g.qk=function(a,b){var c=$.mx(this);return $.bp(c.headers,c.data,b)};
var jfa={"select-submenu":{"select-submenu":{index:9,text:"Select points",iconClass:"ac ac-mouse-pointer",subMenu:{"select-polygon":{index:9.2,text:"Polygon",iconClass:"ac ac-pentagon",eventType:"anychart.startSelectPolygonMarquee",action:function(a){a.menuParent.C4(!1)}},"select-marquee":{index:9.3,text:"Marquee",iconClass:"ac ac-square",eventType:"anychart.startSelectMarquee",action:function(a){a.menuParent.vO(!1)}}}}}};$.g=wR.prototype;
$.g.Hw=function(a){var b={};$.Sc(b,$.Kl(jfa["select-submenu"]),a);return b};$.g.Jia=function(){return Zea(ZQ.vd(),this.gl,this.kk)};
$.g.X=function(a,b){wR.u.X.call(this,a,b);"defaultSeriesSettings"in a&&this.Sr(a.defaultSeriesSettings);"defaultCalloutSettings"in a&&this.z_(a.defaultCalloutSettings);"colorRange"in a&&this.Yj().ia(!!b,a.colorRange);"unboundRegions"in a&&this.Rw(a.unboundRegions);$.zq(this,sS,a);var c=a.geoData;c&&this.Yr($.fc(c,"{")?JSON.parse(c):c);this.vR(a.crsAnimation);this.zg(a.crs);var d;if(a.geoScale){var e=new HQ;e.K(a.geoScale);this.scale(e)}if("callouts"in a){c=a.callouts;var f=0;for(var h=c.length;f<
h;f++)(e=c[f])&&this.UZ(f,e)}"axesSettings"in a&&this.axes().ia(!!b,a.axesSettings);"gridsSettings"in a&&this.AT().ia(!!b,a.gridsSettings);"crosshair"in a&&this.$g(a.crosshair);h=a.colorScales;c={};if($.D(h))for(d in h)if(h.hasOwnProperty(d)){f=h[d];e=$.z(f)?f:f.type;e=String(e).toLowerCase();switch(e){case "ordinal-color":e=$.Vy();break;case "linear-color":e=$.Sy();break;default:e=$.Sy()}$.D(f)&&e.K(f);c[d]=e}h=a.series;if($.A(h))for(d=0;d<h.length;d++)if(f=h[d],e=(f.seriesType||this.i("defaultSeriesType")).toLowerCase(),
e=this.te(e,f.data))e.K(f),$.D(f)&&"colorScale"in f&&(f=f.colorScale,$.ea(f)?e.sd(c[f]):(e=$.z(f)?f:f.type,(e=$.Rs(e,null))&&$.D(f)&&e.K(f)));d=a.drillDownMap;$.D(d)&&(this.Ax={},$.Dc(d,function(a,b){this.cS()[b]=$.Np(a)},this))};
$.g.F=function(){var a=wR.u.F.call(this);a.unboundRegions=$.z(this.Rw())?this.Rw():this.Rw().F();$.jr(this,"colorRange")&&(a.colorRange=this.Yj().F());a.geoScale=this.scale().F();$.Hq(this,sS,a);var b;this.zL?b=this.zL:AR(this)?$.z(this.mn)?b=this.mn:b="#document"==this.mn.nodeName?this.mn.documentElement.outerHTML:this.mn.outerHTML:b=JSON.stringify(this.mn);$.n(b)&&(a.geoData=b);a.crsAnimation=this.vR().F();$.D(this.mt)?$.el(8,null,["Map crs"]):this.mt&&(a.crs=this.mt);b=[];for(var c={},d=[],e=0;e<
this.fb.length;e++){var f=this.fb[e],h=f.F();if(f=f.sd()){var k=$.oa(f);c[k]?h.colorScale=(0,$.za)(d,c[k]):(c[k]=f.F(),d.push(c[k]),h.colorScale=d.length-1)}b.push(h)}c=[];e=0;for(h=this.Qn.length;e<h;e++)(f=this.Qn[e])&&(c[e]=f.F());c.length&&(a.callouts=c);b.length&&(a.series=b);d.length&&(a.colorScales=d);$.jr(this,"axesSettings")&&(a.axesSettings=this.axes().F());$.jr(this,"gridsSettings")&&(a.gridsSettings=this.AT().F());$.jr(this,"crosshair")&&(a.crosshair=this.$g().F());this.Ax&&(a.drillDownMap=
{},$.Dc(this.Ax,function(b,c){var d=$.K(b,wR)?b.F():b;a.drillDownMap[c]=d},this.Ax));return{map:a}};
$.g.R=function(){$.td(this.lg,this.ly,this.Ef,this.Yb,this.Qn,this.xp,this.Pda,this.Zu,this.mm,this.Ot,this.Xo);this.Yb=this.Ef=this.ly=this.lg=null;this.Qn.length=0;this.Xo=this.Ot=this.mm=this.Zu=this.Pda=this.xp=null;if(this.P()&&this.P().Ha()){var a=this.P().Ha().Bl();this.RU&&$.Sd(a,"click",this.RU,!1,this);this.SU&&$.Sd(a,"dblclick",this.SU,!1,this);this.FH&&$.Sd(a,"pointerup",this.FH,!1,this);this.FH&&$.Sd(a,"touchend",this.FH,!1,this);this.TU&&$.Sd(a,"mouseleave",this.TU,!1,this)}wR.u.R.call(this)};
var uS=wR.prototype;$.F("anychart.mapModule.Chart.DEFAULT_TX",tS);uS.getType=uS.Na;uS.geoData=uS.Yr;uS.unboundRegions=uS.Rw;uS.toGeoJSON=uS.Jia;uS.toCsv=uS.qk;uS.getSeries=uS.Ue;uS.addSeries=uS.Rk;uS.getSeriesAt=uS.Nh;uS.getSeriesCount=uS.Mj;uS.removeSeries=uS.mo;uS.removeSeriesAt=uS.Cn;uS.removeAllSeries=uS.kp;uS.colorRange=uS.Yj;uS.callout=uS.UZ;uS.axes=uS.axes;uS.grids=uS.AT;uS.crosshair=uS.$g;uS.palette=uS.cc;uS.markerPalette=uS.sf;uS.hatchFillPalette=uS.oe;uS.getPlotBounds=uS.Rf;
uS.crsAnimation=uS.vR;uS.featureTranslation=uS.oS;uS.translateFeature=uS.i5;uS.featureScaleFactor=uS.nS;uS.featureCrs=uS.mS;uS.crs=uS.zg;uS.transform=uS.transform;uS.inverseTransform=uS.Fc;uS.zoom=uS.zoom;uS.move=uS.move;uS.zoomToFeature=uS.lja;uS.zoomTo=uS.Ui;uS.getZoomLevel=uS.Fg;uS.getCurrentScene=uS.qh;uS.fitAll=uS.Cm;uS.zoomIn=uS.Cr;uS.zoomOut=uS.Dr;uS.drillTo=uS.Pq;uS.drillUp=uS.zx;uS.drillDownMap=uS.cS;uS.getDrilldownPath=uS.Sz;uS.startSelectPolygonMarquee=uS.C4;uS.inPolygon=uS.mM;
uS.cancelPolygonMarquee=uS.zba;$.H(LR,$.OB);$.sG[23]=LR;LR.prototype.type=23;LR.prototype.sp=["id","long","lat","size"];LR.prototype.ol="size";$.H(MR,$.xA);$.sG[24]=MR;$.g=MR.prototype;$.g.type=24;$.g.flags=532;$.g.sp=["id","value"];$.g.vh={foreignFill:"none",hatchFill:"path"};$.g.fg=function(a,b){var c=a.o("features");if(c)for(var d=0,e=c.length;d<e;d++){var f=c[d];$.n(f.fa)&&FR(this.W.mc(),f,function(c){var d=c.fa;if(d&&$.K(d,$.ng)){d.visible(!0);a.o("currentPointElement",c);var e=this.Wc.Xc(b,void 0,void 0,d),f=e.foreignFill;f&&(a.o("fill",f.fill()),a.o("stroke",f.stroke()));e=e.hatchFill;e.fe($.yg(d));c.p1=e}},this)}};$.H(NR,$.xA);$.sG[21]=NR;$.g=NR.prototype;$.g.type=21;$.g.flags=528;$.g.sp=["points"];$.g.vh={path:"path",hatchFill:"path"};
$.g.fg=function(a,b){var c=this.g(this.W,a,b),d=this.f(this.W,a,b),e={};e.eventHandler=10>c||10>d;e.path=!0;e.hatchFill=!0;e=this.Wc.Xc(b,e);var f=this.b(this.W,a,0),h=0,k=0,l=[],m=[],p=0,q=10>c||10>d;var r=this.ue();var t=this.W.mc().scale();if((r=a.get(r[0]))&&$.A(r)){var u=[];var v=[];for(var w,x,y,B=0,G=r.length;B<G;B+=2){var C=$.N(r[B]);w=$.N(r[B+1]);y=t.transform(w,C);x=y[0];y=y[1];(0,window.isNaN)(x)||(0,window.isNaN)(y)||(u.push(x,y),v.push(C,w))}a.o("pointsWithoutMissing",v);C=u}else C=null;
t=0;for(r=C.length;t<r;t+=2){w=e.path;x=e.hatchFill;u=C[t];v=C[t+1];var I;q&&(I=e.eventHandler);if(!(0,window.isNaN)(u)&&!(0,window.isNaN)(v)){if(0!=t){B=$.dn(h,k,u,v);var P=B/2*f;y=(h+u)/2;var Q=(k+v)/2;var S=$.Qm($.cb(Math.atan(Math.abs(k-v)/Math.abs(h-u))),7);G=1;if(u<=h&&v<=k)var sa=S-90;else u<=h&&v>=k?sa=270-S:u>=h&&v>=k?(sa=S-90,G=-1):u>=h&&v<=k&&(sa=180-S+90,G=-1);y+=Math.cos($.bb(sa))*P*1.2;P=Q+Math.sin($.bb(sa))*P*1.2;Q=B/2*f;S=0<f?1:-1;var va=Math.abs(Q)<B/4?B/4*S:Math.abs(Q)>B/2?B/2*S:
Q;var Oa=(0>f?90:-90)*G;Oa=$.bb(sa+Oa);Q=y+Math.cos(Oa)*va;S=P+Math.sin(Oa)*va;Oa=(0>f?-90:90)*G;Oa=$.bb(sa+Oa);y+=Math.cos(Oa)*va;P+=Math.sin(Oa)*va;va=OR(w,h,k,u,v,Q,S,y,P,c,d,f,G,sa);q&&OR(I,h,k,u,v,Q,S,y,P,20,20,f,G,sa);x.fe($.yg(w));l.push.apply(l,va);m.push(B);p+=B}h=C[t];k=C[t+1]}}a.o("points",l).o("sumDist",p).o("connectorsDist",m)};$.H(PR,$.VB);$.sG[22]=PR;PR.prototype.type=22;PR.prototype.sp=["id","long","lat"];PR.prototype.mB=function(a,b){PR.u.mB.call(this,a,b);var c=a.o("shapes");this.Wc.ct(b,c)};PR.prototype.fg=function(a,b){var c=this.Wc,d=a.get(this.W.ue()[0]),e=this.ah(d,this.prevValue),f={};f[e.path]=!0;f[e.he]=!0;a.o("names",e);c=c.Xc(b,f,b);$.WB(this,a,b,c,e);this.prevValue=d};$.Mp.map=QR;$.Mp.bubble=RR;$.Mp.choropleth=SR;$.Mp.connector=TR;$.Mp.marker=UR;$.Mp["seat-map"]=VR;$.F("anychart.map",QR);$.F("anychart.bubbleMap",RR);$.F("anychart.choropleth",SR);$.F("anychart.connector",TR);$.F("anychart.markerMap",UR);$.F("anychart.seatMap",VR);}).call(this,$)}
