(function(a){function C(a,b,c){this.Init(a,b,c)}function y(a){this.Init(a)}function x(a,b,c){this.Init(a,b,c)}function g(a,b){this.Init(a,b)}function l(a,b,c,d,e){this.Init(a,b,c,d,e)}function e(a,b,c,d,e){this.Init(a,b,c,d,e)}function b(a,b,c,d,e){this.Init(a,b,c,d,e)}function h(a,b,c){this.Init(a,b,c)}function c(a,b,c,d,e,g){this.Init(a,b,c,d,e,g)}function d(a,b,c,d,e,g,h){this.Init(a,b,c,d,e,g,h)}function D(a,b,c,d){this.Init(a,b,c,d)}function r(a,b,c,d,e){this.Init(a,b,c,d,e)}function F(a,b,c,
d,e,g){this.Init(a,b,c,d,e,g)}function t(a,b){this.Init(a,b)}function n(a,b,c){this.Init(a,b,c)}function w(a,b){this.Init(a,b)}function q(a){this.La=a}function H(){this.Init({fusion:H.DEFAULT,alta:H.sf})}a.Wk=function(a,b,c){this.Init(a,b,c)};a.l.D(a.Wk,a.ra);a.Wk.BN=10;a.Wk.prototype.Init=function(b,c,d){a.Wk.C.Init.call(this,b);this.La=new a.nb(b,c,d);this.Xja=new a.ra(b);this.Xja.u(this.La);this.u(this.Xja);this.Wg=new H};a.Wk.newInstance=function(b,c,d){return new a.Wk(b,c,d)};a.Wk.prototype.xa=
function(b,c,d){this.U=this.Wg.Un(b);this.Gb=c;this.$b=d;c=new a.ca(0,0,c,d);this.dP(this,c);this.La.xa(b,c.a,c.b)};a.Wk.prototype.dP=function(b,c){this.Lc&&(b.removeChild(this.Lc),this.Lc=null);var d=new a.ca(a.Wk.BN,a.Wk.BN,c.a-2*a.Wk.BN,c.b-2*a.Wk.BN),e=this.U,g=e.legend.rendered,h=e.legend.scrolling,l=a.ec.clone(e.legend);this.qva(this.U,l);var n=l.sections;if(g&&(!n||0!=n.length)&&(g=e.legend.position,delete l.position,l.layout.gapRatio=this.ncb(),l.hideAndShowBehavior="none",l.rolloverBehavior=
"none",l.scrolling=e.legend.scrolling,n=a.bg.newInstance(this.La.j()),b.u(n),"auto"==g&&"asNeeded"!==h?g="bottom":"auto"==g&&"asNeeded"==h&&(g="end"),h=a.A.ea(b.j()),"start"==g?g=h?"right":"left":"end"==g&&(g=h?"left":"right"),l.orientation="left"==g||"right"==g?"vertical":"horizontal",h="top"==g||"bottom"==g,h=n.Yu(l,h?d.a:e.layout.legendMaxSize*d.a,h?e.layout.legendMaxSize*d.b:d.b),0<h.a&&0<h.b))switch(n.xa(l,h.a,h.b),this.Lc=n,e=H.li(this,e.layout.legendGap),a.un.position(d,g,n,h.a,h.b,e),g){case "top":this.Xja.ya(h.b+
a.Wk.BN);case "bottom":c.b-=h.b+a.Wk.BN;break;case "left":this.Xja.la(h.a+a.Wk.BN);case "right":c.a-=h.a+a.Wk.BN}};a.Wk.prototype.ncb=function(){return null===this.U.layout.gapRatio||isNaN(this.U.layout.gapRatio)?Math.min(Math.min(this.Gb/400,1),Math.min(this.$b/300,1)):this.U.layout.gapRatio};a.Wk.prototype.qva=function(a,b){b.title=a.legend?a.legend.title:null;b.sections=[];if(a&&a.legend&&a.legend.sections)for(var c=0;c<a.legend.sections.length;c++){var d=a.legend.sections[c];d&&b.sections.push({title:d.title,
items:d.items,sections:d.sections})}return b};a.Wk.prototype.ji=function(a){var b;this.Lc&&(b=this.Lc.Di().ji(a));return b?b:this.La.Di().ji(a)};a.Wk.prototype.j$=function(a){var b;this.Lc&&(b=this.Lc.Di().j$(a));return b?b:this.La.Di().j$(a)};a.nb=function(a,b,c){this.Init(a,b,c)};a.l.D(a.nb,a.rc);a.nb.uua=1;a.nb.vua=2;a.nb.v4=3;a.nb.wua=4;a.nb.w4=5;a.nb.x4=6;a.nb.AN=7;a.nb.mxb=5;a.nb.VXa="controlPanelResources";a.nb.WXa="legendResources";a.nb.H7b="panelDrawerResources";a.nb.UXa="resources";a.nb.qnb=
6;a.nb.prototype.Init=function(b,c,d){a.nb.C.Init.call(this,b,c,d);this.I0a();this.Qi=[];this.lK=[];this.FK=this.Hf=this.Lc=null;this.Hva=!1;this.V5=[];this.v6={};this.Zia=!1;this.Iga={};this.nwa={};this.Yv=[];this.K0a();this.B7=this.H8=this.vza=!1;this.oAa=a.nb.qnb;this.BK=!0;this.i_={};this.xfa=!1;this.If=null;this.rI(a.Aa.TQ);this.Wg=new H;this.G.ub(this,this);this.Ij=!1};a.nb.prototype.K0a=function(){this.VZa=new a.ra(this.j());this.oga=new a.ra(this.j());this.gK=new a.ra(this.j());this.EK=new a.ra(this.j());
this.qT=new a.ra(this.j())};a.nb.newInstance=function(b,c,d){return new a.nb(b,c,d)};a.nb.prototype.Pf=function(b){a.nb.C.Pf.call(this,b);a.A.sl()||(this.U.animationOnDisplay="none",this.U.animationOnMapChange="none",this.U.animationOnDrill="none");(new y(this)).parse(this.U)};a.nb.prototype.Z3b=function(a){this.s8=a};a.nb.prototype.adb=function(){return this.H8?this.oAa:1};a.nb.prototype.k3b=function(a){this.oAa=a};a.nb.prototype.i3b=function(a){this.BK="fixed"==a};a.nb.prototype.NPb=function(a){this.Qi.push(a)};
a.nb.prototype.FPb=function(a){this.Qi.push(a)};a.nb.prototype.dV=function(a){for(var b=0;b<this.Qi.length;b++)if(this.Qi[b].Cl==a)return this.Qi[b]};a.nb.prototype.h3b=function(a){this.Hva=this.vr&&this.vr!=a;this.vr=a};a.nb.prototype.K1b=function(a){this.MZa=a};a.nb.prototype.M1b=function(a){this.pCb=a};a.nb.prototype.vF=function(a){this.so=parseFloat(a)};a.nb.prototype.xb=function(){return this.so};a.nb.prototype.v2b=function(a){this.mxa=a};a.nb.prototype.Rna=function(b){b=parseInt(b);var c=this.JS;
if(b==a.nb.uua||b==a.nb.v4||b==a.nb.w4||b==a.nb.AN)c&=~a.Aa.$w,this.tib(!1);if(b==a.nb.vua||b==a.nb.v4||b==a.nb.x4||b==a.nb.AN)c&=~a.Aa.UQ,this.Wib(!1);if(b==a.nb.wua||b==a.nb.w4||b==a.nb.x4||b==a.nb.AN)c&=~a.Aa.VQ;this.rI(c)};a.nb.prototype.rhb=function(a){this.SIb=a};a.nb.prototype.shb=function(a){this.TIb=a};a.nb.prototype.thb=function(a){this.h4a=a};a.nb.prototype.L1b=function(a){this.Cva=a};a.nb.prototype.ZIa=function(a){this.jt=a;this.G.ZIa(a)};a.nb.prototype.V2b=function(a){this.vza=a};a.nb.prototype.vX=
function(){a.nb.C.vX.call(this);!this.Bu&&this.VLb&&(this.Qi=[],this.V5=[],this.v6={},this.Iga={},this.nwa={},this.Yv=[],this.removeChild(this.Hf),this.FK=this.Lc=this.Hf=null,this.rI(a.Aa.TQ),this.B7=this.H8=!0,this.PZ=this.ae,this.K0a(),this.If=null,this.G.rp(this),this.I0a(),this.xfa=!1,this.G.Se(),this.G.ub(this,this))};a.nb.prototype.I0a=function(){this.G=new x(this.j(),this.dispatchEvent,this);this.G.og(this);a.A.fb()?this.VG=null:(this.VG=new g(this,this.G),this.G.Lt(this.VG))};a.nb.prototype.Wpb=
function(b){a.A.ea(this.j())||(b=this.getWidth()-5-b.getWidth(),this.Hf.la(b))};a.nb.prototype.dP=function(){if(this.FK){this.Hf&&(this.Hf.Ea(),this.removeChild(this.Hf));var b="true"==this.FK.disclosed,c="fixed"==this.FK.display||a.A.Ly();if(!c||b){var d=this.FK.maxWidth,e=d.indexOf("%"),d=-1!=e?parseFloat(d.substring(0,e))/100*this.getWidth():parseFloat(d),e=this.getHeight()-2*a.nb.mxb;this.Ge==a.f.sf?(this.Hf=new a.ma(this.j(),null,this,"pd"),this.Hf.mb(a.eu.$c,this.iOa,!1,this),this.Hf.QC(d),
this.Hf.haa(e),this.Hf.K2b(c),a.A.ea(this.j())?(this.Hf.Ona(a.ma.mk),this.Hf.la(0)):this.Hf.la(this.getWidth())):(this.Hf=new a.Tc(this.j(),d,e,a.Tc.w2,this.uc(),this.wA(),b,c),this.Hf.mb(a.aD.$c,this.iOa,!1,this),this.Hf.mb(a.$o.bN,this.Wpb,!1,this),this.Hf.U1b(this.FK.expandTooltip,this.FK.collapseTooltip));d=this.FK;this.Lc=a.bg.newInstance(this.j(),this.lIa,this);this.u(this.Hf);this.u(this.Lc);e=this.Lc.Yu(d,this.Hf.M9(),this.Hf.A0());this.Lc.xa(d,e.a,e.b);var g;if(this.Ge==a.f.sf){this.Hf.coa(this.Lc.RE().b);
this.removeChild(this.Lc);var d=new a.Image(this.j(),this.uc()[a.ma.fQa],0,0,a.ma.ti,a.ma.ti),e=new a.Image(this.j(),this.uc()[a.ma.gQa],0,0,a.ma.ti,a.ma.ti),h=new a.Image(this.j(),this.uc()[a.ma.eQa],0,0,a.ma.ti,a.ma.ti),l=a.F.Ca(a.F.Pa,"LEGEND");this.Hf.S_(this.Lc,d,e,h,l,a.ma.A3);this.Hf.Py();b&&this.Hf.lj(!0,!0)}else this.Hf.uPb(this.Lc),g=this.Hf.da(),b=a.A.ea(this.j())?5:this.getWidth()-5-g.a-g.x,this.Hf.Ta(b,5),g.a+=5;if(this.q4a=c)g||(g=this.Hf.da()),this.Wza=g.a,this.ae.Rw(this.getWidth()-
this.Wza,this.getHeight(),!0)}}};a.nb.prototype.Zo=function(){a.nb.C.Zo.call(this);var b=new a.ra(this.j()),c=new a.ra(this.j());this.ae=this.Va;this.ae.u(b);this.ae.Wa.u(c);this.Vm(b,c);if(this.mp){(this.Gf=this.ae.Gf)&&this.ae.u(this.Gf);this.Yr(!0);c=new a.ca(0,0,this.getWidth(),this.getHeight());if(this.Ij||this.PZ){var d=null;this.Hva&&!this.Bu?d=this.pCb:this.mp&&this.mp.Cl!=this.DKb&&(d=this.mp.uy());a.yc.isSupported(d)&&(this.ic=a.yc.IP(this.j(),d,this.PZ,this.ae,c,this.so))&&this.u(this.PZ)}else a.yc.isSupported(this.MZa)&&
(this.ic=a.yc.KH(this.j(),this.MZa,this.ae,c,this.so));this.ic?(this.Gf&&this.u(this.Gf),this.G.Se(),this.G.rp(this),this.xfa=!0,this.ic.Tg(this.mz,this),this.ic.play()):this.mz();this.VLb=b;this.mp&&(this.DKb=this.mp.Cl);this.j().CQ([this]);this.Ij=!0}};a.nb.prototype.rDb=function(){var a=this.ae.hA,b=this.mp.eV(),c=this.ae.Me();return Math.min((c.a-2*a)/b.a,(c.b-2*a)/b.b)};a.nb.prototype.Vm=function(a,c){this.dP();c.u(this.VZa);c.u(this.oga);this.BK?a.u(this.gK):c.u(this.gK);a.u(this.EK);a.u(this.qT);
var d=this.ae.Wa.Ab();this.fDa=!1;for(var e=0;e<this.Qi.length;e++){var g=this.Qi[e];if(!this.fDa&&g instanceof b||!(g instanceof b))g.xa(d),!this.fDa&&g instanceof b&&(this.fDa=!0,this.mp=g)}this.mp&&(d=this.mp.uZ,this.uZ!=d&&(this.uZ=d,this.rhb(null),this.shb(null),this.thb(null)),this.M8a(),this.ae.zF(null),this.ae.RC(null),this.ae.d2(!0),this.ae.SC(!0),this.Hva||this.Bu||null==this.h4a?this.ae.rv(null,this.mp.eV()):(this.ae.qv(this.h4a),this.ae.qF(this.SIb,this.TIb)),this.q7a(),this.m$a(),this.ae.d2(this.H8),
this.ae.SC(this.B7))};a.nb.prototype.M8a=function(){if(this.VG){var a=this.Q9();0==a.length&&(a=this.iV());0==a.length&&(a=this.R9());this.G.T2b(a[0])}};a.nb.prototype.W4b=function(a,b,c){this.Ij=!1;this.Yr(!0);(new y(this)).Sca([a],this.dV(b),this.mp.Cl,c);this.dP();this.Ij=!0;this.M8a();this.j().CQ([this]);this.m$a()};a.nb.prototype.V7a=function(){this.jn||this.Xr();this.ic=null;this.jn=!1};a.nb.prototype.m$a=function(){var a=this.rDb();this.ae.zF(a);this.ae.RC(a*this.adb())};a.nb.prototype.cQa=
function(){this.mp.uZ&&this.ae.rv(null,this.mp.eV());this.q7a();this.vza&&this.t$a();this.V7a()};a.nb.prototype.Qhb=function(a){this.FK=a};a.nb.prototype.uJa=function(a){this.$Ba=a};a.nb.prototype.N9a=function(b){var c=new a.dc;c.translate(b.He,b.De);this.BK&&this.gK.Db(c);this.EK.Db(c);this.qT.Db(c)};a.nb.prototype.iOa=function(b){b=a.kb.fn(a.rc.pPa,b.aq()==a.aD.jN);this.dispatchEvent(b)};a.nb.prototype.WDb=function(b){var c=this.ae.hA,d=this.ae.Me(),c=new a.ca(c,c,d.a-2*c,d.b-2*c),e=this.mp.eV(),
g=e.x*b,d=e.y*b,h=e.a*b;b*=e.b;e=0;h>c.a?(this.q4a&&a.A.ea(this.j())&&(e=this.Wza),this.ae.T1(c.x+c.a+e-(g+h)),this.ae.R1(c.x-g+e)):(this.q4a&&a.A.ea(this.j())&&(e=2*this.Wza),g=(c.x+c.a+e)/2-(g+h/2),this.ae.T1(g),this.ae.R1(g));b>c.b?(this.ae.U1(c.y+c.b-(d+b)),this.ae.S1(c.y-d)):(c=(c.y+c.b)/2-(d+b/2),this.ae.U1(c),this.ae.S1(c))};a.nb.prototype.W9a=function(b,c){var d=b.qa;if(d){var e=this.ae.Wa,g=d.ah(e,e.Ab);c&&(this.W0a=e.Ab(),d.P(a.K.$j,this,this.uGb,this.QNb,g));e=new a.dc(1,0,0,1,g.He,g.De);
this.BK&&d.P(a.K.$j,this.gK,this.gK.Ab,this.gK.Db,e);d.P(a.K.$j,this.EK,this.EK.Ab,this.EK.Db,e);d.P(a.K.$j,this.qT,this.qT.Ab,this.qT.Db,e)}};a.nb.prototype.Bl=function(b){switch(b.aq()){case a.Kd.lda:this.B7&&this.WDb(b.hE);break;case a.Kd.oda:case a.Kd.R3:this.W9a(b,!0);break;case a.Kd.kN:var c=b.hE;if(null!=c){var d=this.ae.Wa.Ab();b.qa=null;this.dispatchEvent(a.kb.OHa(d.He,d.De,c));this.N9a(d);for(c=0;c<this.Qi.length;c++)this.Qi[c].Bl(b,d)}break;case a.Kd.ata:this.qEa();break;case a.Kd.qda:this.dispatchEvent(a.kb.OHa())}};
a.nb.prototype.NF=function(b){var c=b.aq();if(c==a.ci.R3)this.W9a(b,!1);else if(c==a.ci.Wsa&&null!=b.V5a){var d=this.ae.Wa.Ab();b.qa=null;this.dispatchEvent(a.kb.OHa(d.He,d.De,this.ae.bh()));this.N9a(d);for(b=0;b<this.Qi.length;b++)this.Qi[b].NF(d)}this.Hf&&(this.Ge==a.f.sf?c===a.ci.hN?this.Hf.yb(!1):c===a.ci.iN&&this.Hf.yb(!0):(d=this.wA(),b=this.Hf.Jb.Wd().clone(),c===a.ci.hN?(this.Lc.Z(d[a.Aa.ZKa]),b.Z(d[a.Aa.fqa]),this.Hf.Jb.Na(b),this.Hf.wo&&this.Hf.wo.Z(d[a.Aa.fqa]),this.Hf.yb(!1)):c===a.ci.iN&&
(this.Lc.Z(1),b.Z(d[a.Aa.SA]),this.Hf.Jb.Na(b),this.Hf.wo&&this.Hf.wo.Z(d[a.Aa.SA]),this.Hf.yb(!0))))};a.nb.prototype.HM=function(){return"none"!=this.jt||this.H8||this.B7&&this.Ge!=a.f.sf?a.nb.C.HM.call(this):a.rc.GI};a.nb.prototype.Fba=function(){var b=this.HM();return b!=a.rc.GI?new C(this.j(),this,b==a.rc.wM?a.Aa.fu:a.Aa.Jv):null};a.nb.prototype.Wib=function(a){this.H8=a};a.nb.prototype.tib=function(a){this.B7=a};a.nb.prototype.zPb=function(a,b){this.v6[a]=b};a.nb.prototype.q7a=function(){this.Zia=
!0;for(var a=0;a<this.Qi.length;a++){var b=this.Qi[a].Cl;b in this.v6&&(this.i_[b]=this.v6[b][1],this.es=b,this.EG=this.v6[b][0],this.Qka())}this.Zia=!1};a.nb.prototype.CIa=function(){this.Yr(!0);for(var a=[],b=[],c=this.Qi.length-1;-1<c;c--)this.Qi[c].Cl==this.mp.Cl?this.Qi[c].reset(b):this.Qi[c].reset(a);for(c=0;c<a.length;c++)if(a[c]){var d=a[c].getParent();d&&d.removeChild(a[c])}for(c=0;c<b.length;c++)b[c]&&b[c].Z(1);this.V5=[];this.DSb();this.Yv=[];this.Gf&&"none"!=this.jt&&(this.Gf.cJa(!1),
this.Gf.dJa(!1))};a.nb.prototype.t$a=function(){var b=this.oga.da(),c=this.gK.da();if(this.BK){var d=this.ae.Wa.Ab();c.a/=d.Ig;c.b/=d.uk;c.x/=d.Ig;c.y/=d.uk}b=b.Qj(c);this.Yr(!0);var e;this.ae.ED||(e=this.ae.QH(),this.ae.RC(e*this.oAa));var g;a.A.sl()&&(g=new a.K(this.j(),.3));0<b.a&&0<b.b?this.ae.rv(g,b):this.ae.rv(g,this.mp.eV());g&&g.play();e&&this.ae.RC(e)};a.nb.prototype.N_=function(b){var c=new a.K(this.j(),.3);this.ae.rv(c,b);c.play()};a.nb.prototype.ESb=function(a){a||(a=this.u$a);a||(a=this.r5);
this.N_(a.da())};a.nb.prototype.qEa=function(){if(this.EG){var a=this.dV(this.es).Uk(this.EG);if(a&&(a=a.qd)){for(var a=a.getSelection(),b=0;b<a.length;b++)a[b]=a[b].$a();if(0<a.length){for(var c=a[0].da(),b=1;b<a.length;b++)c=c.Qj(a[b].da());this.N_(c)}}}};a.nb.prototype.DSb=function(){var b=new a.K(this.j(),.3);this.ae.rv(b);b.play()};a.nb.prototype.hcb=function(a){a=u.OVb(this.vr,a);return this.dV(a)};a.nb.prototype.XEa=function(a){a=u.Mbb(this.vr,a);return this.dV(a)};a.nb.prototype.Q9=function(){var a=
[];if(this.mp)for(var b=0;b<this.Qi.length;b++){var c=this.Qi[b].lo,d;for(d in c)a=this.mp.Cl==this.Qi[b].Cl?a.concat(c[d].tVb()):a.concat(c[d].uVb())}return a};a.nb.prototype.iV=function(){var a=[];if(this.mp)for(var c=0;c<this.Qi.length;c++){var d=this.Qi[c].lo;if(this.mp.Cl==this.Qi[c].Cl||!(this.Qi[c]instanceof b))for(var e in d)a=a.concat(d[e].wr)}return a};a.nb.prototype.R9=function(){var a=[];if(this.mp)for(var c=0;c<this.Qi.length;c++){var d=this.Qi[c].lo;if(this.mp.Cl==this.Qi[c].Cl||!(this.Qi[c]instanceof
b))for(var e in d)a=a.concat(d[e].rT)}return a};a.nb.prototype.QNb=function(a){this.W0a=a;if(this.BK){for(var b=this.iV(),c=0;c<b.length;c++)b[c].Bl(a);b=this.EK.bc();for(c=0;c<b;c++)for(var d=this.EK.vb(c),e=d.bc(),g=0;g<e;g++){var h=d.vb(g);h instanceof F&&h.update(a)}}};a.nb.prototype.uGb=function(){return this.W0a};a.nb.prototype.Qka=function(){this.Yr(!0);var a=this.XEa(this.es),b=this.dV(this.es),c=[];if(a){this.Iga[this.es]=this.EG;for(var d=this.i_[this.es],e=[],g=0;g<d.length;g++)this.mGb(d[g],
b.Uk(this.EG)).gF()||e.push(d[g]);this.Zia||"single"!=this.jt||(this.Yv.pop(),b.reset(c,d),a.reset(this.lK));d=[];for(g=0;g<e.length;g++){var h=e[g],l=b.PEa(h);d.push(l[0]);for(var n=0;n<l.length;n++)this.nwa[l[n]]=h;a.eEa(l,c);(l=b.Uk(this.EG))&&l.aSb(h,this.lK);this.Yv.push(h)}this.J3a(this.lK,c,!1);this.bka(a.Cl,!0);this.es=a.Cl;this.i_[this.es]=d}};a.nb.prototype.jEa=function(){this.Yr(!0);for(var b=this.dV(this.es),c=this.hcb(this.es),d=[],e=[],g=this.i_[this.es],h=0;h<g.length;h++){var l=this.nwa[g[h]];
e.push(l);-1!=a.va.Fb(this.Yv,l)&&(b.vaa(c.PEa(l),this.lK),c.Uk(this.Iga[c.Cl]).O4b(l,d),l=a.va.Fb(this.Yv,l),-1!=l&&this.Yv.splice(l,1))}this.J3a(this.lK,d,!0);this.es=c.Cl;this.EG=this.Iga[this.es];this.i_[this.es]=e;this.bka(this.es)};a.nb.prototype.J3a=function(b,c,d){this.ae.Wa.Ab();if("zoomToFit"==this.Cva&&!this.Zia){var e=new a.K(this.j(),.3);a.A.sl()||(e=null);d?this.ae.rv(e):this.qEa();e&&e.play()}this.Yr(!0);!a.A.sl()||"alphaFade"!=this.Cva&&"auto"!=this.Cva||(this.ic=a.yc.IP(this.j(),
"alphaFade",b,c,null,.5));this.ic?(this.G.Se(),this.G.rp(this),this.ic.Tg(this.msb,this),this.ic.play()):this.a0a()};a.nb.prototype.Z1b=function(a,b,c){this.es=b;this.EG=a;this.r5=c};a.nb.prototype.bW=function(a){this.B1a=a};a.nb.prototype.dispatchEvent=function(b){var c=b.type;if("selection"==c)this.qIb(b);else if(c==a.Ev.$c)this.jIb(b);else if("adfShowPopup"==c||"adfHidePopup"==c)b.clientId=this.B1a;a.nb.C.dispatchEvent.call(this,b)};a.nb.prototype.qIb=function(b){this.EG?(this.uCa=b.selection,
this.i_[this.es]=this.dV(this.es).Uk(this.EG).kWb(this.uCa),this.bka(this.es),b.clientId=this.EG,!this.r5||this.r5 instanceof a.Fa||this.r5 instanceof a.Uf||(this.u$a=this.r5)):(this.bka(null),this.u$a=null)};a.nb.prototype.bka=function(a,b){if(this.Gf&&this.jt&&"none"!=this.jt){var c=this.XEa(a),d=this.hcb(a);c&&!b?this.Gf.cJa(!0):this.Gf.cJa(!1);d?this.Gf.dJa(!0):this.Gf.dJa(!1)}};a.nb.prototype.jIb=function(b){b.im("clientId",this.B1a);this.V5="multiple"==this.jt?this.V5.concat(this.uCa):this.uCa;
var c=b.vFb;c==a.Ev.Vnb&&this.jEa();c==a.Ev.Lpa?this.Qka():c==a.Ev.Ctb&&this.CIa();b.lj(this.V5)};a.nb.prototype.Ea=function(){for(var b=this.Qi,c=0;c<b.length;c++)b[c].Ea();a.nb.C.Ea.call(this)};a.nb.prototype.mz=function(){this.Gf&&this.ae.u(this.Gf);this.PZ&&(this.removeChild(this.PZ),this.PZ=null);this.V7a();this.vza&&this.t$a();this.U.highlightedCategories&&0<this.U.highlightedCategories.length&&this.Af(this.U.highlightedCategories);this.xfa&&(this.G.og(this),this.xfa=!1)};a.nb.prototype.msb=
function(){this.a0a();this.ic=null;this.G.og(this)};a.nb.prototype.a0a=function(){if(0<this.lK.length){for(var a=0;a<this.lK.length;a++){var b=this.lK[a];if(b)if(b instanceof F)b.reset();else if(b.gF&&b.gF())b.Z(0);else{var c=b.getParent();c&&c.removeChild(b)}}this.lK=[]}};a.nb.prototype.qg=function(){return this.If};a.nb.prototype.Z1=function(a){this.If=a};a.nb.prototype.Di=function(){this.de||(this.de=new q(this));return this.de};a.nb.prototype.nn=function(){return a.F.Ca(a.F.Pa,"THEMATIC_MAP")};
a.nb.prototype.lIa=function(b){b.type==a.$o.bN&&this.Lc&&this.Lc.yf(b)};a.nb.prototype.Af=function(b){this.U.highlightedCategories=a.ec.clone(b);a.bi.Af(b,this.Q9().concat(this.iV()).concat(this.R9()),"any"==this.U.highlightMatch)};a.nb.prototype.CA=function(a,b){var c=this.dya(a);c&&c.CA(b)};a.nb.prototype.VL=function(a,b){var c=this.dya(a);c&&c.VL(b)};a.nb.prototype.rF=function(a,b){var c=this.dya(a);c&&c.rF(b)};a.nb.prototype.dya=function(a){for(var b=0;b<this.Qi.length;b++){var c=this.Qi[b].lo,
d;for(d in c)for(var e=c[d].wr,g=0;g<e.length;g++)if(e[g].getId()===a)return e[g]}return null};a.nb.prototype.mGb=function(a,b){for(var c=b.Ff,d=0;d<c.length;d++)if(c[d].Jo()===a)return c[d];return null};a.l.D(H,a.lb);H.DEFAULT={animationDuration:500,animationOnDisplay:"none",animationOnDrill:"none",animationOnMapChange:"none",controlPanelBehavior:"hidden",drilling:"none",highlightMatch:"all",hoverBehavior:"none",initialZooming:"none",markerZoomBehavior:"fixed",panning:"none",tooltipDisplay:"auto",
touchResponse:"auto",visualEffects:"none",zooming:"none",styleDefaults:{skin:"alta",_areaStyle:{backgroundColor:"#B8CDEC",borderColor:"#FFFFFF"},hoverBehaviorDelay:200,dataAreaDefaults:{borderColor:"#FFFFFF",drilledInnerColor:"#FFFFFF",drilledOuterColor:"#000000",hoverColor:"#FFFFFF",opacity:1,selectedInnerColor:"#FFFFFF",selectedOuterColor:"#000000"},dataMarkerDefaults:{borderColor:"#FFFFFF",borderStyle:"solid",borderWidth:.5,color:"#000000",height:8,labelStyle:"font-family:Tahoma;font-size:13pt;color:#000000",
opacity:.4,scaleX:1,scaleY:1,shape:"circle",width:8},linkDefaults:{color:"#9bb2c7",_hoverColor:"#FFFFFF",_selectedColor:"#000000",width:2},labelStyle:"font-family:Tahoma;font-size:11pt;"},legend:{position:"auto",rendered:!0,layout:{gapRatio:1}},layout:{gapRatio:null,legendMaxSize:.3,legendGap:10},resources:{images:{},translations:{}}};H.sf={styleDefaults:{_areaStyle:{backgroundColor:"#DDDDDD",borderColor:"#FFFFFF"},dataAreaDefaults:{drilledOuterColor:"#0572CE"},dataMarkerDefaults:{color:"rgb(51,51,51)",
labelStyle:a.lb.cr+"color:#333333",opacity:1},labelStyle:a.lb.cr}};H.enb={animationOnLayerChange:"none",labelDisplay:"auto",labelType:"short"};H.hnb={animationOnDataChange:"none",selectionMode:"none"};H.prototype.wQb=function(b){return a.ec.Xd(b,H.enb)};H.prototype.AQb=function(b){return a.ec.Xd(b,H.hnb)};H.li=function(a,b){return Math.ceil(b*a.ncb())};a.nb.prototype.Vga=function(){for(var a=0;a<this.Qi.length;a++){var b=this.Qi[a].lo,c;for(c in b){var d=b[c].el;if(d&&d.MS)return d}}return null};
a.nb.prototype.Dm=function(a,b,c){return(a=this.Vga())?a.Dm(c):!1};a.nb.prototype.an=function(a,b){var c=this.Vga();return c?c.an(a,b):null};a.nb.prototype.tC=function(a,b){var c=this.Vga();return c?c.tC(a,b):null};a.nb.prototype.VE=function(a,b){var c=this.Vga();return c?c.VE(a,b):null};a.l.D(function(){},a.OW);a.l.D(q,a.de);q.prototype.To=function(b){var c=this.La.jb().tb(b);if(c&&(c instanceof D||c instanceof r))return this.VHb(c);var d=this.La.Va.Gf;if(d&&(c=d.jb().tb(b))&&c instanceof a.pa){b=
"disclosure zoomIn zoomOut zoomToFit drillDown drillUp reset".split(" ");for(var e=0;e<b.length;e++)if(d.ty(b[e])===c)return"controlPanel#"+b[e]}return null};q.prototype.ji=function(b){if(b==a.de.tD)return this.MF(this.La);var c=b.indexOf(":"),d=b.indexOf("[");return 0<c&&0<d?this.OGb(b.substring(0,c),b.substring(c+1,d),parseInt(b.substring(d+1,b.length-1))):0===b.lastIndexOf("controlPanel")&&(c=b.indexOf("#"),0<c&&(b=b.substring(c+1),(c=this.La.Va.Gf)&&b))?(b=c.ty(b))?b.Xa():null:null};q.prototype.getData=
function(a,b,c){return(a=this.y2a(a,b,c))?(b={},b.color=a.Rl(),b.tooltip=a.Fe(),c=a.Ee(),b.label=c?c.uf():null,b.selected=a.Hb(),b):null};q.prototype.OGb=function(a,b,c){return(a=this.y2a(a,b,c))?a.$a().Xa():null};q.prototype.VHb=function(b){for(var c=b.$a(),d=this.La.Qi,e=0;e<d.length;e++){var g=d[e].lo,h;for(h in g)if(c instanceof a.Bb){for(var l=g[h].Ff,n=0;n<l.length;n++)if(l[n]===b)return this.Wga(h)+":area["+n+"]";l=g[h].rT;for(n=0;n<l.length;n++)if(l[n]===b)return this.Wga(h)+":link["+n+"]"}else if(c instanceof
a.Fa||c instanceof a.Uf)for(l=g[h].wr,n=0;n<l.length;n++)if(l[n]===b)return this.Wga(h)+":marker["+n+"]"}return null};q.prototype.y2a=function(a,b,c){for(var d=this.La.Qi,e=0;e<d.length;e++){var g=d[e].lo,h;for(h in g)if(this.Wga(h)==a){if("area"==b)return g[h].nga[c];if("marker"==b)return g[h].uga[c];if("link"==b)return g[h].sga[c]}}return null};q.prototype.Wga=function(a){var b=a.lastIndexOf(":");return 0<b?a.substring(b+1):a};a.l.D(w,a.Bb);w.MM=2;w.bda=1;w.cda=4;w.ada=6;w.Hpa=2;w.Ipa=4;w.prototype.Init=
function(a,b){w.C.Init.call(this,a);this.cO=this.bO=this.Aga=this.zga=null;this.Aza=!1;this.Zoom=1;this.Hk=b};w.prototype.gF=function(){return this.Aza};w.prototype.G1=function(a){this.Aza!=a&&(this.Aza=a,this.gF()?(this.bO=this.Vn(),this.bO.wa(null),this.bO.yb(!1),this.cO=this.Vn(),this.cO.wa(null),this.cO.yb(!1),a=this.getParent(),a.u(this.cO),a.u(this.bO),this.bO.Na(this.lB(this.zga,w.Hpa)),this.cO.Na(this.lB(this.Aga,w.Ipa)),this.yb(!1),this.Fh=!1):(this.Fh&&(this.Yl(),this.Vo.Na(this.lB(this.kD,
1),w.MM)),this.cO.getParent().removeChild(this.cO),this.bO.getParent().removeChild(this.bO),this.yb(!0),this.Z(1)))};w.prototype.vc=function(a){this.Wo!=a&&(a&&(this.Fh?(this.M2(),this.gu=this.lB(this.gu,w.MM),this.Vs=this.lB(this.Vs,w.ada)):(this.sD=this.lB(this.sD,w.bda),this.vz=this.lB(this.vz,w.cda))),w.C.vc.call(this,a))};w.prototype.Dd=function(){this.Hb()?(this.M2(),this.gu=this.lB(this.gu,w.MM),this.Vs=this.lB(this.Vs,w.ada)):this.kD=this.lB(this.kD,w.MM);w.C.Dd.call(this)};w.prototype.M2=
function(){this.gu||(this.gu=this.kD.clone(),this.gu.hb(w.MM),this.Hk&&this.gu.sg(!0));this.Vs||(this.Vs=this.vz.clone(),this.Vs.hb(w.ada),this.Hk&&this.Vs.sg(!0))};w.prototype.Vc=function(){this.Hb()&&(this.sD=this.lB(this.sD,w.bda),this.vz=this.lB(this.vz,w.cda));w.C.Vc.call(this)};w.prototype.Qr=function(a,b){w.C.Qr.call(this,a,b);this.Hk&&(this.kD&&this.kD.sg(!0),this.m3&&this.m3.sg(!0));return this};w.prototype.Mt=function(a,b){w.C.Mt.call(this,a,b);this.Hk&&(this.sD&&this.sD.sg(!0),this.vz&&
this.vz.sg(!0));return this};w.prototype.mv=function(a,b){w.C.mv.call(this,a,b);this.Hk&&(this.gu&&this.gu.sg(!0),this.Vs&&this.Vs.sg(!0));return this};w.prototype.u2b=function(a,b){(this.zga=a)&&this.Hk&&this.zga.sg(!0);(this.Aga=b)&&this.Hk&&this.Aga.sg(!0)};w.prototype.y1b=function(a){this.ULb=a};w.prototype.vP=function(a,b){if(!this.Hk){var c=a.Wd();c&&(c=c.clone(),c.hb(b/this.Zoom),a.Na(c))}};w.prototype.lB=function(a,b){if(!this.Hk){var c=a.clone();c.hb(b/this.Zoom);return c}return a};w.prototype.eeb=
function(a){this.Zoom=a.Ig;this.gF()?(this.vP(this.bO,w.Hpa),this.vP(this.cO,w.Ipa)):this.Hb()?this.Fh?(this.vP(this.Vo,w.MM),this.vP(this,w.ada)):(this.vP(this.Vo,w.bda),this.vP(this,w.cda)):this.Fh?this.vP(this.Vo,w.MM):this.vP(this,1)};a.l.D(n,a.ra);n.yea=5;n.prototype.Init=function(b,c,d){n.C.Init.call(this,b);this.JG=c;c instanceof a.kf?(this.Gb=c.getWidth(),this.$b=c.getHeight(),this.u(c)):(this.Xa().appendChild(c),c=a.si.Go(b,this),this.Gb=c.a,this.$b=c.b);this.HD=new a.Rect(b,-n.yea,-n.yea,
this.Gb+2*n.yea,this.$b+2*n.yea);this.HD.hc();b=new a.Da(d.selectedInnerColor,1,2);c=new a.Da("rgb(235, 236, 237)",1,4);var e=new a.Da(d.selectedInnerColor,1,2),g=new a.Da(d.selectedOuterColor,1,4),h=new a.Da(d.selectedInnerColor,1,2);d=new a.Da(d.selectedOuterColor,1,6);this.HD.Qr(b,c).Mt(e,g).mv(h,d);this.Rb(this.HD,0)};n.prototype.Td=function(b,c){a.A.fb()?this.HD.Td(b,c):n.C.Td.call(this,b,c)};n.prototype.yg=function(b){a.A.fb()?this.HD.yg(b):n.C.yg.call(this,b)};n.prototype.getWidth=function(){return this.Gb};
n.prototype.getHeight=function(){return this.$b};n.prototype.kk=function(a){this.HD.kk(a)};n.prototype.Cb=function(){return this.HD.Cb()};n.prototype.Hb=function(){return this.HD.Hb()};n.prototype.vc=function(a){this.HD.vc(a)};n.prototype.Dd=function(){this.HD.Dd()};n.prototype.Vc=function(){this.HD.Vc()};n.prototype.Z4b=function(b){this.JG!==b&&(this.JG&&(this.JG instanceof a.kf?this.removeChild(this.JG):this.Xa().removeChild(this.JG)),b instanceof a.kf?this.u(b):this.Xa().appendChild(b),this.JG=
b)};n.prototype.c0=function(b){this.JG instanceof a.kf&&this.JG.c0(b)};var u;this?this.DvtBaseMapManager?u=this.DvtBaseMapManager:(this.DvtBaseMapManager=u={},u._UNPROCESSED_MAPS=[[],[],[]],u._UNPROCESSED_PARENT_UPDATES=[[]]):window.DvtBaseMapManager?u=window.DvtBaseMapManager:(u={},window.DvtBaseMapManager=u,u._UNPROCESSED_MAPS=[[],[],[]],u._UNPROCESSED_PARENT_UPDATES=[[]]);a.l.D(u,a.l,"DvtBaseMapManager");u.QR=0;u.pq=1;u.Dta=2;u.Cta=3;u.Mda=4;u.nG="__index";u.yn={};u.ybb=function(b,c){u.ay();var d=
u.yn[b][c];return d&&(d=d[u.Mda])?new a.ca(d[0],d[1],d[2],d[3]):null};u.SSb=function(a,b){u.ay();var c=u.yn[a][b];return c?c[u.Cta]:null};u.pbb=function(a,b){var c=[],d=u.BEa(a,b),e;for(e in d)c.push(e);return c};u.TSb=function(a,b){u.ay();var c=u.yn[a][b];return c?c[u.QR]:null};u.gVb=function(a,b,c){u.ay();a=u.yn[a][b];var d;a&&(d=a[u.QR]);return d&&d[c]?d[c][1]:null};u.vTb=function(b,c){u.ay();var d=u.yn[b];return d&&(d=d.cities)&&(d=d[u.pq][c])?new a.V(d[0],d[1]):null};u.wTb=function(a,b){u.ay();
var c=u.yn[a];return c&&(c=c.cities)&&(c=c[u.QR][b])?c[1]:null};u.QSb=function(b,c,d){u.ay();var e=u.yn[b];if(e&&(e=e[c])){if((e=e[u.Cta])&&e[d])return a.ca.create(e[d][0]).Xe();b=u.yn[b][c][u.pq][d];if(!b)return null;b=a.M.O8(b);return a.M.da(b).Xe()}return null};u.Mbb=function(a,b){u.ay();var c=u.yn[a][b];return c?u.yn[a][u.nG][c.__index+1]:null};u.OVb=function(a,b){u.ay();return u.yn[a][b]?u.yn[a][u.nG][u.yn[a][b].__index-1]:null};u.BEa=function(a,b){u.ay();return u.yn[a][b][u.pq]};u.PVb=function(a,
b,c){u.ay();return u.yn[a][b][u.pq][c]};u.uTb=function(a,b){u.ay();var c=u.Mbb(a,b);return c&&(c=u.yn[a][c][u.Dta])?c:[]};u.W8b=function(a,b){u.ay();return u.yn[a][u.nG][b]};u.ggb=function(a,b,c,d,e,g,h,l){var n=u.yn[a];n||(n={},n[u.nG]=[],u.yn[a]=n);a=n[b];a||(a={},n[b]=a,null!=h&&(n[u.nG][h]=b));a[u.QR]=c;a[u.pq]=d;a[u.Dta]=e;a[u.Cta]=g;a[u.Mda]=l;a[u.nG]=h};u.B0b=function(a,b,c){var d=u.yn[a];d||(d={},u.yn[a]=d);a=d[b];a||(a={},d[b]=a);(a=d[b])&&(a[u.QR]=c)};u.Y4b=function(a,b,c){if(a=u.yn[a])if(b=
a[b])for(var d in c)b[u.QR][d]=c[d]};u.ay=function(){var a,b,c=u._UNPROCESSED_MAPS;if(c){for(a=0;a<c[0].length;a++)b=c[0][a],u.ggb(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7]);for(a=0;a<c[1].length;a++)b=c[1][a],u.B0b(b[0],b[1],b[2]);for(a=0;a<c[2].length;a++)b=c[2][a],u.Y4b(b[0],b[1],b[2]);u._UNPROCESSED_MAPS=[[],[],[]]}if(c=u._UNPROCESSED_PARENT_UPDATES){for(a=0;a<c[0].length;a++){b=c[0][a];var d=b[1],e=b[2],g=u.yn[b[0]],h;if(g){if(d=g[d])for(d[u.Dta]=b[3],h=d[u.Mda],a=d[u.nG],d=g[u.nG],d.splice(a,
0,e),g[e][u.nG]=a,a+=1;a<d.length;a++)(e=g[d[a]])&&e[u.nG]++;(d=g[b[2]])&&(d[u.Mda]=h)}}u._UNPROCESSED_PARENT_UPDATES=[[]]}};u.x4b=function(b,c,d,e,g,h){if(0<h){c=1/(Math.min(e/c,g/d)*h);if(1>=c)return b;d=[];if(b)for(var l in b)e=b[l],isNaN(e)&&(e=a.M.O8(b[l])),d[l]=a.M.y4b(e,c);return d}return b};u.$Ub=function(a,b){u.ay();var c=u.yn[a][b],d={};if(c){var c=c[u.QR],e;for(e in c)d[e]=c[e][1];if("cities"!==b&&!c)for(e=u.pbb(a,b),c=0;c<e.length;c++)d[e[c]]=null}return d};a.l.D(t,a.l);t.prototype.Init=
function(a,b){this.bk=a;this.vS=b};t.prototype.te=function(){return this.vS};t.prototype.qf=function(){return[this.bk]};a.Ev=function(b){this.Init(a.Ev.$c);this.vFb=b};a.l.D(a.Ev,a.Dh);a.Ev.$c="drill";a.Ev.Vnb=0;a.Ev.Lpa=1;a.Ev.Ctb=2;a.Ev.prototype.lj=function(a){this.it=a};a.kX=function(b,c,d){this.Init(a.kX.$c);this.item=b;this.rowKey=c;this.action=d};a.l.D(a.kX,a.Dh);a.kX.$c="action";a.kX.prototype.xy=function(){return this.item};a.kX.prototype.gh=function(){return this.action};a.l.D(F,a.ha);F.prototype.Init=
function(b,c,d,e,g,h){F.C.Init.call(this,b,c,0,0);this.Hk=h;this.CG=[];this.yb(!1);this.Cg();this.wh();this.Om=null;this.Sz=e;this.XT=g;if(d&&(this.CG.push(a.ca.create(d[0])),1<d.length))for(this.Tza=[],c=1;c<d.length;c++)e=d[c],this.CG.push(a.ca.create(e[0])),e=new a.rz(b,e[1]),e.rd(),g=new a.Da("#000000"),this.Hk&&g.sg(!0),e.Na(g),this.Tza.push(e)};F.prototype.mPb=function(a){this.CG.push(a)};F.prototype.yXb=function(){return 0<this.CG.length};F.prototype.update=function(b){b=b.Ig;for(var c=-1,
d=a.Ja.Bk(this),e=!1,g=0;g<this.CG.length;g++){var h=this.CG[g].a*b;if(d.b<=this.CG[g].b*b)if(d.a<=h){c=g;break}else if(this.getParent()||(e=!0,this.XT.u(this)),this.da().a<=h){c=g;break}}-1==c&&"on"==this.Sz&&(c=this.CG.length-1);this.Uwa!=c?(-1==c?this.reset():(this.getParent()||this.XT.u(this),d=this.CG[c].Xe(),this.OC(d),this.Tza&&(this.XT.removeChild(this.ps),this.ps=null,0<c?(this.ps=this.Tza[c-1],this.XT.u(this.ps),e=this.be(),e.ka(a.f.fc,"#000000"),this.Nb(e),e=this.CG[c],g=this.ps.ve(),h=
g.length,e.x>g[h-2]?(this.Bi(),this.wh(),this.OC(new a.V(e.x,d.y))):e.y>g[h-1]?(this.Hq(),this.Cg(),this.OC(new a.V(d.x,e.y))):e.x+e.a<g[h-2]?(this.ii(),this.wh(),this.OC(new a.V(e.x+e.a,d.y))):e.y+e.b<g[h-1]&&(this.us(),this.Cg(),this.OC(new a.V(d.x,e.y+e.b)))):(this.Cg(),this.wh(),e=this.be(),e.ka(a.f.fc,this.G4a),this.Nb(e)))),this.Uwa=c):-1==c&&e&&this.XT.removeChild(this);-1!=this.Uwa&&(c=new a.dc,c.translate(b*this.Om.x-this.Om.x,b*this.Om.y-this.Om.y),this.Db(c),this.ps&&(this.ps.Db(new a.dc(b,
0,0,b)),this.Hk||(c=this.ps.Wd().clone(),c.hb(1/b),this.ps.Na(c))))};F.prototype.OC=function(a){this.Om=a;this.Ha(a.x);this.ob(a.y)};F.prototype.Xe=function(){return this.Om};F.prototype.Nb=function(b){F.C.Nb.call(this,b);this.G4a||(this.G4a=b.O(a.f.fc))};F.prototype.reset=function(){this.XT.removeChild(this);this.Uwa=-1;this.ps&&(this.XT.removeChild(this.ps),this.ps=null)};a.l.D(r,a.l,"DvtMapObjPeer");r.Aoa=0;r.xaa=1;r.Boa=2;r.prototype.Init=function(c,d,k,g,h){this.Zb=c;this.ht=d;this.ta=k;this.nd=
this.Mp=this.Qm=!1;this.ta.D1&&this.ta.D1(c.color);this.Kc=g;this.Om=h;this.Zoom=1;this.ja=d.La;this.Zb.categories||this.Kc&&(this.Zb.categories=[this.Kc.uf()]);k=c.location;this.M6;k&&(d=d.E7,this.M6=!(d instanceof b)||d instanceof e?u.wTb(this.ja.vr,k):u.gVb(this.ja.vr,d.Cl,k));"auto"==this.ja.mxa&&this.M6&&(this.Zb.shortDesc=c.shortDesc?this.M6+": "+c.shortDesc:this.M6);this.ta&&(this.ta.ka(c.style).oe(c.className),c.destination?(this.ta.yg("link"),this.$za=a.H.WP("_blank",c.destination)):this.ta.yg("img"));
this.Ys();this.kk(this.Cb())};r.prototype.getId=function(){return this.Zb.id};r.prototype.xy=function(){return this.Zb.clientId};r.prototype.Jo=function(){return this.Zb.location};r.prototype.Xe=function(){return this.Om};r.prototype.I8a=function(a){this.Om=a;this.I4()};r.prototype.$a=function(){return this.ta};r.prototype.Ee=function(){return this.Kc};r.prototype.Uk=function(){return this.ht};r.prototype.geb=function(){return null!=this.gh()};r.prototype.gh=function(){return this.Zb.action};r.prototype.sd=
function(a){this.ta.sd(a);this.Kc&&this.Kc.sd(a)};r.prototype.Fe=function(){return this.Zb.shortDesc};r.prototype.K0b=function(){this.Kc=null};r.prototype.Me=function(){return this.ta.getWidth?this.ta.getWidth()*this.ta.getHeight():0};r.prototype.te=function(){var a=this.Zb.categories;return a?a:[]};r.prototype.xg=function(){if("none"!=this.ja.mxa){var a=this.ja.B()._tooltip;return a?this.ja.j().fg().yy(a.renderer,this.km()):this.Fe()}return null};r.prototype.km=function(){return{color:this.Rl(),
component:this.ja.B()._widgetConstructor,data:this.Zb,id:this.getId(),label:this.Kc?this.Kc.uf():null,location:this.Jo(),locationName:this.M6,tooltip:this.Fe(),x:this.Zb.x,y:this.Zb.y}};r.prototype.WP=function(){return this.$za};r.prototype.Rl=function(){return this.Zb.color?this.Zb.color:"#000000"};r.prototype.Gd=function(){var b=[];this.Cb()&&b.push(a.F.Ca(a.F.Pa,this.Hb()?"STATE_SELECTED":"STATE_UNSELECTED"));return a.ta.Pl(this.Fe(),b)};r.prototype.qf=function(){return[this.$a()]};r.prototype.Ys=
function(){if(!a.A.jk()){var b=this.Gd();b&&this.ta.Td("label",b)}};r.prototype.kk=function(a){var b=this.Ee();this.ta.kk&&(this.ta.kk(a),b&&a&&b.setCursor("pointer"));this.Zb.destination&&(this.ta.setCursor("pointer"),b&&b.setCursor("pointer"))};r.prototype.Cb=function(){return this.ta.Cb?"off"!==this.Zb.selectable?this.ht.Cb():!1:!1};r.prototype.Hb=function(){return this.Qm};r.prototype.vc=function(a){if(this.Cb()){var b=this.Fn();this.Qm=a;this.ht.B().selectionRenderer?this.m5(this.ht.B().selectionRenderer,
this.Fn(),b):this.VL(a);this.Ys()}};r.prototype.Dd=function(){var a=this.Fn();this.Mp=!0;this.ht.B().hoverRenderer?this.m5(this.ht.B().hoverRenderer,this.Fn(),a):this.CA(!0)};r.prototype.Vc=function(){var a=this.Fn();this.Mp=!1;this.ht.B().hoverRenderer?this.m5(this.ht.B().hoverRenderer,this.Fn(),a):this.CA(!1)};r.prototype.Z1=function(a){this.If=a};r.prototype.qg=function(){return this.If};r.prototype.Dm=function(a){for(var b=this.ht.xy(),c=0;c<a.length&&a[c]!=b;c++);return b};r.prototype.an=function(){return this.ht.GN(this)};
r.prototype.yt=function(){return this.ht.FN()};r.prototype.Rd=function(b){if(b.type==a.MouseEvent.Te||b.keyCode==a.KeyboardEvent.cj&&b.ctrlKey)return this;if((b.keyCode==a.KeyboardEvent.nx||a.KeyboardEvent.vv)&&b.altKey){var c=this.Uk().RH(this.getId());return g.p0(this,b,c)}return a.Kb.SH(this,b,this.Kba())};r.prototype.Kba=function(){return this.Uk().La.iV()};r.prototype.Tf=function(b){return this.ta.getParent()?this.ta.da(b?b:this.ta.j().We):new a.ca(0,0,0,0)};r.prototype.cn=function(){return this.ta.Xa()};
r.prototype.tg=function(){var a=this.Fn();this.nd=!0;this.ht.B().focusRenderer?this.m5(this.ht.B().focusRenderer,this.Fn(),a):this.rF(!0)};r.prototype.ce=function(){if(this.Od()){var a=this.Fn();this.nd=!1;this.ht.B().focusRenderer?this.m5(this.ht.B().focusRenderer,this.Fn(),a):this.rF(!1)}};r.prototype.Od=function(){return this.nd};r.prototype.Bl=function(a){this.ta.getParent()&&(this.Zoom=a.Ig,this.I4())};r.prototype.nna=function(){if(this.Kc){this.Kc.Cg();var b=this.ta.Sk()*this.Zoom,c=this.ta.Tk()*
this.Zoom,d=this.ta.getHeight(),e=this.ta instanceof a.Fa?this.ta.le():"image",g=this.Zb.labelPosition;"top"==g?(c=c-d/2-4,this.Kc.us()):"bottom"==g?(c+=d/2,this.Kc.Hq()):(c=e==a.Fa.uJ?c+d/6:e==a.Fa.tJ?c-d/6:c,this.Kc.wh());this.Kc.Ha(b).ob(c)}};r.prototype.I4=function(){var b=this.ta.getWidth(),c=this.ta.getHeight();if(null!=b&&null!=c&&this.ta.getParent()){var d=0,e=this.Om.x,d=this.Om.y;this.ta.$P&&(d=this.ta.$P(),e=this.Om.x*Math.cos(d)-this.Om.y*Math.sin(d),d=this.Om.x*Math.sin(d)+this.Om.y*
Math.cos(d));e=this.Om.x*this.Zoom-e;d=this.Om.y*this.Zoom-d;this.ta instanceof n&&(e+=this.Om.x-b/2,d+=this.Om.y-c/2);this.ta.Ta(e,d);a.A.WJa(this.ta);this.nna()}};r.prototype.$g=function(b,c){var d=new a.zd(this.ja.j(),this.ta,this.Uk().xb()),e=c.$a();if(this.ta.cd){var g=e.cd(),h=this.ta.cd();h instanceof a.gc&&!h.Nd(g)&&(this.ta.wa(g),c.Ee()&&this.Kc&&(g=this.Kc.cd(),this.Kc.wa(c.Ee().cd().clone()),g.Nd(this.Kc.cd())||d.qa.P(a.K.jr,this.Kc,this.Kc.cd,this.Kc.wa,g)),d.qa.P(a.K.jr,this.ta,this.ta.cd,
this.ta.wa,h))}this.ta.qC&&(h=c.$a().qC(),g=this.ta.qC(),h.x!=g.x||h.y!=g.y||h.a!=g.a||h.b!=g.b)&&(this.ta.aM(h),d.qa.P(a.K.eG,this.ta,this.ta.qC,this.ta.aM,g));h=e.$P();g=this.ta.$P();if(h!=g){var l=h-g;l>Math.PI?h-=2*Math.PI:l<-Math.PI&&(h+=2*Math.PI);this.ta.Sq(h);d.qa.P(a.K.Y,this.ta,this.ta.$P,this.ta.Sq,g)}var l=c.Xe(),n=this.Xe();l&&n&&(l.x!=n.x||l.y!=n.y||h!=g)&&(this.I8a(new a.V(l.x,l.y)),d.qa.P(a.K.MX,this,this.Xe,this.I8a,new a.V(n.x,n.y)));this.Kc&&c.Ee()?(h=c.Ee().bb(),g=this.Kc.bb(),
h!=g&&(this.Kc.Ha(h),d.qa.P(a.K.Y,this.Kc,this.Kc.bb,this.Kc.Ha,g)),h=c.Ee().sb(),g=this.Kc.sb(),h!=g&&(this.Kc.ob(h),d.qa.P(a.K.Y,this.Kc,this.Kc.sb,this.Kc.ob,g)),c.Ee().Z(0)):c.Ee()&&c.Ee().Z(0);e.Z(0);b.add(d,r.xaa)};r.prototype.rj=function(b){var c=[this.ta],d=this.Ee();d&&c.push(d);c=new a.Uj(this.ja.j(),c,this.Uk().xb());b.add(c,r.Aoa)};r.prototype.Ci=function(b){var c=[this.ta];this.ta.Z(0);var d=this.Ee();d&&(d.Z(0),c.push(d));c=new a.Qh(this.ja.j(),c,this.Uk().xb());b.add(c,r.Boa)};r.prototype.VL=
function(a){this.ta.vc&&this.ta.vc(a)};r.prototype.rF=function(a){this.CA(a)};r.prototype.CA=function(a){a?this.ta.Dd&&this.ta.Dd():this.ta.Vc&&!this.Od()&&this.ta.Vc()};r.prototype.m5=function(a,b,c){if(this.ta instanceof n){var d=this.ja.B()._contextHandler;d&&(b=d(this.ta.Xa(),this.ta.JG,this.Zb,b,c),a=a(b),this.ta.Z4b(a))}};r.prototype.Fn=function(){return{hovered:this.Mp,selected:this.Hb(),focused:this.Od()}};a.l.D(D,r,"DvtMapAreaPeer");D.prototype.Init=function(a,b,c,d){D.C.Init.call(this,a,
b,c,d)};D.prototype.P1b=function(a){this.Hx=a};D.prototype.vc=function(a){this.Cb()&&(a&&!this.Mp&&this.Hx.u(this.ta),D.C.vc.call(this,a))};D.prototype.Dd=function(){this.Hx.u(this.ta);D.C.Dd.call(this)};D.prototype.Vc=function(){this.Hb()?this.Hx.u(this.ta):this.Hx.Rb(this.ta,0);D.C.Vc.call(this)};D.prototype.gF=function(){return this.ta.gF()};D.prototype.G1=function(a){a?this.Hx.u(this.ta):this.Hx.Rb(this.ta,0);this.ta.G1(a)};D.prototype.Bl=function(a){D.C.Bl.call(this,a);this.ta.getParent()&&(this.ta.eeb(a),
this.gF()||this.nna(a))};D.prototype.nna=function(a){this.Ee()&&this.Ee().update(a)};D.prototype.Kba=function(){return this.Uk().La.Q9()};D.prototype.$g=function(a,b){D.C.$g.call(this,a,b);this.Uk().E7.Fna(this.Jo(),!1)};D.prototype.I4=function(){};a.l.D(d,r,"DvtMapLinkPeer");d.prototype.Init=function(a,b,c,e,g,h,l){d.C.Init.call(this,a,b,c);this.qP=e;this.fO=g;this.Oja=h;this.Dxa=l};d.prototype.Rd=function(b){var c=this.ht.La.G.Kb;return b.type==a.MouseEvent.Te||b.keyCode==a.KeyboardEvent.cj&&b.ctrlKey?
this:c.aia===g.qPa?b.keyCode===a.KeyboardEvent.Jh?(b=c.Z4a.getId(),b=this.Uk().RH(b),c=b.indexOf(this),c++,c===b.length&&(c=0),b[c]):b.keyCode===a.KeyboardEvent.hg?(b=c.Z4a.getId(),b=this.Uk().RH(b),c=b.indexOf(this),c--,-1===c&&(c=b.length-1),b[c]):b.keyCode===a.KeyboardEvent.ag?this.qP.x<=this.fO.x?this.Oja:this.Dxa:b.keyCode===a.KeyboardEvent.Of?this.qP.x>=this.fO.x?this.Oja:this.Dxa:this:a.Kb.SH(this,b,this.Kba())};d.prototype.Kba=function(){return this.Uk().La.R9()};d.prototype.I4=function(){if(this.ta.getParent()){var b=
new a.V(this.qP.x*this.Zoom,this.qP.y*this.Zoom),c=new a.V(this.fO.x*this.Zoom,this.fO.y*this.Zoom),b=y.W$a(this.ht,this.qP,this.fO,b,c);this.ta.sj(b);a.A.WJa(this.ta)}};d.prototype.$g=function(b,c){var d=new a.zd(this.ja.j(),this.ta,this.Uk().xb()),e=c.$a(),g=e.Wd(),h=this.ta.Wd();h.tc()!=g.tc()&&(this.ta.Na(g),d.qa.P(a.K.oN,this.ta,this.ta.Wd,this.ta.Na,h));var g=c.fO,h=this.fO,l=!0;c.qP.Nd(this.qP)&&g.Nd(h)||(l=!1,this.ta.Z(0),d.qa.P(a.K.Y,this.ta,this.ta.eb,this.ta.Z,1),d.qa.P(a.K.Y,e,e.eb,e.Z,
0));l&&e.Z(0);b.add(d,r.xaa)};a.l.D(c,a.ra);c.z7b=1;c.prototype.Init=function(a,b,d,e,g,h){c.C.Init.call(this,a);this.Qm=this.rS=!1;this.yCb=e;this.ACb=g;this.fa=d;this.u(this.fa);this.ja=b;this.Hk=h;if(a=d.Wd())this.WZa=a.getWidth()};c.prototype.xg=function(){if("none"!=this.ja.mxa){var a=this.ja.B()._tooltip;return a?this.ja.j().fg().yy(a.renderer,this.km()):this.Ym}return null};c.prototype.fhb=function(a){this.Ym=a};c.prototype.km=function(){return{color:null,component:this.ja.B()._widgetConstructor,
data:null,id:null,label:null,location:this.yCb,locationName:this.ACb,tooltip:this.Ym,x:null,y:null}};c.prototype.Wd=function(){return this.fa instanceof a.Ne?this.fa.Wd():null};c.prototype.Na=function(b){this.fa instanceof a.Ne&&this.fa.Na(b)};c.prototype.wa=function(b){this.fa instanceof a.Ne&&this.fa.wa(b)};c.prototype.cd=function(){return this.fa instanceof a.Ne?this.fa.cd():null};c.prototype.j0=function(){return this.fa instanceof a.Bb?this.fa.j0():null};c.prototype.sj=function(b){this.fa instanceof
a.Bb&&this.fa.sj(b)};c.prototype.gW=function(b){this.fa instanceof a.Image&&this.fa.gW(b)};c.prototype.contains=function(a,b){var c=this.da();return a>=c.x&&a<=c.x+c.a&&b>=c.y&&b<=c.y+c.b};c.prototype.Bl=function(a){if(!this.Hk&&this.fa&&this.WZa){var b=this.fa.Wd().clone();b.hb(this.WZa/a.Ig);this.fa.Na(b)}};a.l.D(h,a.l);h.prototype.Init=function(b,c,d){this.La=b;this.Cl=c;this.Zpa=d;this.lo={};this.px=new a.dc};h.prototype.A$a=function(a){this.lo[a.xy()]=a};h.prototype.IQa=function(){};h.prototype.dsa=
function(){};h.prototype.QJa=function(b,c){this.Ov&&this.Ov.stop(!0);this.px=c;this.NT=this.Uk(b.xy());this.A$a(b);b.xa(this.px);b.Bl(new a.Kd(a.Kd.kN),this.px);if(this.NT){var d=b.uy(),e=b.xb();if("auto"==d){var g=new a.Vr(this.La.j());g.Vp(this.NT.dla(),b.dla());this.Ov=g.uy()}else if(a.yc.isSupported(d)){this.K7a=!0;for(var h=new a.ca(0,0,this.La.getWidth(),this.La.getHeight()),l=this.NT.FFa(),g=0;g<l.length;g++){var n=new a.Rect(this.La.j(),0,0,this.La.getWidth(),this.La.getHeight());n.wa(null);
l[g].u(n)}for(var q=b.FFa(),g=0;g<q.length;g++)n=new a.Rect(this.La.j(),0,0,this.La.getWidth(),this.La.getHeight()),n.wa(null),q[g].u(n);h=a.yc.IP(this.La.j(),d,l,q,h,e);l=new a.ca(0,0,this.La.getWidth()/this.px.Ig,this.La.getHeight()/this.px.Ig);q=this.NT.XFa();for(g=0;g<q.length;g++)n=new a.Rect(this.La.j(),0,0,this.La.getWidth()/this.px.Ig,this.La.getHeight()/this.px.Ig),n.wa(null),q[g].u(n);for(var w=b.XFa(),g=0;g<w.length;g++)n=new a.Rect(this.La.j(),0,0,this.La.getWidth()/this.px.Ig,this.La.getHeight()/
this.px.Ig),n.wa(null),w[g].u(n);g=a.yc.IP(this.La.j(),d,q,w,l,e);this.Ov=new a.Th(this.La.j(),[h,g])}else for(d=this.NT.Rbb(),g=0;g<d.length;g++)d[g].getParent().removeChild(d[g]);this.IQa();if(this.Ov){this.Zpa.rp(this.rb);var r=this;this.Ov.Tg(function(){r.mz(b)},this);this.Ov.play()}}else this.dsa(),this.La.cQa()};h.prototype.Uk=function(a){return this.lo?this.lo[a]:null};h.prototype.xa=function(a){this.px=a;for(var b in this.lo)this.lo[b].xa(a)};h.prototype.reset=function(a,b){for(var c in this.lo)this.lo[c].reset(a,
b)};h.prototype.Bl=function(a,b){this.px=b;for(var c in this.lo)this.lo[c].Bl(a,b)};h.prototype.NF=function(a){this.px=a;for(var b in this.lo)this.lo[b].NF(a)};h.prototype.mz=function(a){if(this.NT)for(var b=this.NT.Rbb(),c=0;c<b.length;c++){var d=b[c].getParent();d&&d.removeChild(b[c])}if(this.K7a){this.K7a=!1;b=a.FFa();for(c=0;c<b.length;c++)b[c].MC(b[c].bc()-1);a=a.XFa();for(c=0;c<a.length;c++)a[c].MC(a[c].bc()-1)}this.dsa();this.La.cQa();this.Ov=null;this.Zpa.og(this.rb)};h.prototype.Ea=function(){var a=
this.lo,b;for(b in a)a[b].Ea()};a.l.D(b,h);b.PYa=0;b.Fua=1;b.prototype.Init=function(c,d,e,g,h){b.C.Init.call(this,c,d,h);this.Sz=e;this.I4a=g;this.R4={};this.LA={};this.DF={};this.yZ=this.Xw=null;this.it=[];this.WK={};this.pE={};this.mja={};this.Daa=new a.ra(this.La.j());this.u3=new a.ra(this.La.j());this.La.VZa.Rb(this.Daa,0);this.La.EK.Rb(this.u3,0)};b.prototype.V$=function(a){this.yva=a};b.prototype.uy=function(){return this.yva};b.prototype.vF=function(a){this.xva=a};b.prototype.xb=function(){return this.xva};
b.prototype.xgb=function(a){this.DF=a;for(var b in a)this.Fna(b,!0)};b.prototype.wgb=function(a){this.Xw=a;for(var b in a)this.K1(b,!0)};b.prototype.tWb=function(a){return this.Xw&&this.Xw[a]?this.Xw[a][b.PYa]:null};b.prototype.hVb=function(a){return this.Xw&&this.Xw[a]?this.Xw[a][b.Fua]:null};b.prototype.O1b=function(a){this.yZ=a};b.prototype.Dcb=function(a){return this.yZ?this.yZ[a]:null};b.prototype.N1b=function(a){this.nr=a};b.prototype.PEa=function(a){return this.nr[a]?this.nr[a].split(","):
[]};b.prototype.qbb=function(a){return this.DF[a]};b.prototype.Gla=function(){return this.Sz};b.prototype.b3b=function(a){this.Rza=a};b.prototype.ZUb=function(){return new a.f(this.Rza)};b.prototype.Fna=function(a,b){this.WK[a]=b};b.prototype.K1=function(a,b){this.pE[a]=b};b.prototype.Y2b=function(a){this.uZ=a;this.AZ=null;for(var b in this.DF)b!=a&&(this.WK[b]=!1)};b.prototype.eV=function(){if(!this.AZ)if(this.uZ)this.AZ=a.M.da(a.M.O8(u.PVb(this.La.vr,this.Cl,this.uZ)));else if("world"!=this.La.vr&&
"worldRegions"!=this.La.vr&&(this.AZ=u.ybb(this.La.vr,this.Cl)),!this.AZ){var b=this.Daa.da().Qj(this.La.oga.da()).Qj(this.La.gK.da()).Qj(this.La.qT.da());0<b.a&&0<b.b&&(this.AZ=b)}return this.AZ};b.prototype.gga=function(d,e){var g=this.DF[d];if(g){!e&&this.LA[d]||this.njb(d);if(!this.LA[d]){var h=this.Xw&&this.Xw[d]?this.Xw[d][b.Fua]:null,l=new c(this.La.j(),this.La,g,d,h,this.La.Hk);this.LA[d]=l;this.Zpa.ub(g,l);l.fhb(h)}this.pE[d]&&(h=this.R4[d],!h&&"off"!=this.Sz&&this.Xw&&(h="short"==this.I4a?
this.Xw[d][b.PYa]:this.Xw[d][b.Fua]))&&(this.yZ&&this.yZ[d]?h=new F(this.La.j(),h,this.yZ[d],this.Sz,this.u3,this.La.Hk):(g=a.si.Go(this.La.j(),g),h=new F(this.La.j(),h,[[g.x,g.y,g.a,g.b]],this.Sz,this.u3,this.La.Hk)),this.R4[d]=h,this.Rza&&h.Nb(this.Rza))}};b.prototype.Jea=function(a,b){if(this.DF[a]){this.Daa.u(this.LA[a]);var c=this.R4[a];c&&(this.pE[a]?c.update(this.px):c.reset(),this.mja[a]=this.pE[a]);b&&(b.push(this.LA[a]),c&&(b.push(c),b.push(c.ps)))}};b.prototype.njb=function(a){if(!this.W6a||
this.s_a){this.s_a=!1;var b;this.W6a=(b="world"==this.La.vr||"worldRegions"==this.La.vr?u.ybb(this.La.vr,this.Cl):this.eV())?u.x4b(u.BEa(this.La.vr,this.Cl),b.a,b.b,this.La.getWidth(),this.La.getHeight(),this.La.adb()):u.BEa(this.La.vr,this.Cl)}b=this.W6a[a];this.DF[a]&&b?this.DF[a].sj(b):delete this.DF[a]};b.prototype.j1b=function(){for(var a in this.Xw)this.Fna(a,!0),this.K1(a,!0)};b.prototype.QJa=function(a,c,d){b.C.QJa.call(this,a,c,d);if(d==this.Cl)for(var e in this.DF)this.gga(e,!0),this.WK[e]&&
this.Jea(e)};b.prototype.xa=function(a){this.s_a=!0;for(var c in this.DF)this.gga(c,!0),this.WK[c]&&this.Jea(c);b.C.xa.call(this,a)};b.prototype.IQa=function(){for(var a in this.WK)this.WK[a]||(this.gga(a,!1),this.Jea(a))};b.prototype.dsa=function(){for(var a in this.WK)if(!this.WK[a]){this.Daa.removeChild(this.LA[a]);var b=this.R4[a];b&&(this.mja[a]=!1,this.u3.removeChild(b),(b=b.ps)&&this.u3.removeChild(b))}};b.prototype.iNb=function(a,b){for(var c=0;c<a.length;c++)this.gga(a[c],!1),this.WK[a[c]]&&
this.Jea(a[c],b)};b.prototype.eEa=function(a,b){this.iNb(a,b);for(var c in this.lo)this.lo[c].eEa(a,b,this.px);this.it=this.it.concat(a)};b.prototype.vaa=function(b,c){for(var d in this.lo)this.lo[d].vaa(b,c);d=this.La.XEa(this.Cl);for(var e=0;e<b.length;e++){var g=b[e];if(this.LA[g]){var h=a.va.Fb(this.it,g);-1!==h&&(this.it.splice(h,1),c.push(this.LA[g]))}d&&d.vaa(this.PEa(g),c)}};b.prototype.reset=function(a,c){b.C.reset.call(this,a,c);"none"!=this.La.jt&&(this.vaa(this.it,a),this.it=[])};b.prototype.Bl=
function(a,c){b.C.Bl.call(this,a,c);if(!this.La.Hk)for(var d in this.LA)this.LA[d].Bl(c);for(d in this.mja)if(this.mja[d]){var e=this.R4[d];e&&e.update(c)}};a.l.D(e,b);e.prototype.Init=function(a,b,c,d,g){e.C.Init.call(this,a,b,c,d,g)};e.prototype.njb=function(){};e.prototype.eV=function(){return new a.ca(0,0,this.QJb,this.PJb)};e.prototype.D8a=function(){for(var a=this.La.getWidth(),b=this.La.getHeight(),c=this.zCb,d=0;d<c.length;d++){var e=c[d],g=e.source,h=e.width,e=e.height;if(g&&-1<g.search(".svg")||
h>=a&&e>=b||d==c.length-1)return g}};e.prototype.Q1b=function(b){var c=null,d=a.A.ea(this.La.j());if(b&&0<b.length){var c=b[0].width,e=b[0].height;this.QJb=c;this.PJb=e;for(var g=[],h=0;h<b.length;h++)d&&"rtl"==b[h].dir?g.push(b[h]):d||"ltr"!=b[h].dir||g.push(b[h]);this.zCb=0<g.length?g:b;this.zha=this.D8a();c=new a.Image(this.La.j(),this.zha,0,0,c,e)}c&&(this.wgb({image:[null,null]}),this.xgb({image:c}))};e.prototype.Bl=function(a,b){e.C.Bl.call(this,a,b);if(this.LA.image){var c=this.D8a();c!=this.zha&&
(this.zha=c,this.LA.image.gW(this.zha))}};a.l.D(l,a.l);l.prototype.Init=function(b,c,d,e,g){this.La=b;this.d0a=d;this.vg=g;this.Ff=[];this.wr=[];this.rT=[];this.nga=[];this.uga=[];this.sga=[];this.EB=e;this.J6={};this.el=new a.Mf(b.j());this.EB.aW(this.el);this.Hx=new a.ra(this.La.j());this.fK=new a.ra(this.La.j());this.qga=new a.ra(this.La.j());this.tga=new a.ra(this.La.j());this.La.oga.Rb(this.Hx,0);this.La.gK.Rb(this.fK,0);this.La.EK.Rb(this.qga,0);this.La.qT.Rb(this.tga,0);this.E7=c;this.it=[];
this.Yv=[]};l.prototype.B=function(){return this.vg};l.prototype.Rbb=function(){return[this.Hx,this.fK,this.qga,this.tga]};l.prototype.XFa=function(){return[this.Hx]};l.prototype.FFa=function(){var a=[this.qga,this.tga];this.La.BK&&a.push(this.fK);return a};l.prototype.dla=function(){return this.wr.concat(this.Ff).concat(this.rT)};l.prototype.tVb=function(){for(var a=[],b=0;b<this.Ff.length;b++)this.Ff[b].gF()||a.push(this.Ff[b]);return a};l.prototype.uVb=function(){for(var a=[],b=0;b<this.Ff.length;b++)for(var c=
0;c<this.it.length;c++)this.Ff[b].Jo()==this.it[c]&&(this.Ff[b].gF()||a.push(this.Ff[b]));return a};l.prototype.qka=function(a){this.uga.push(a);if(a){this.wr.push(a);this.EB.ub(a.$a(),a);var b=a.Ee();b&&this.EB.ub(b,a)}};l.prototype.sDa=function(a){this.nga.push(a);a&&(this.Ff.push(a),this.EB.ub(a.$a(),a),a.P1b(this.Hx))};l.prototype.GPb=function(a){this.sga.push(a);a&&(this.rT.push(a),this.EB.ub(a.$a(),a))};l.prototype.K4b=function(a,b){var c=l.pHb(a,b);this.J6[c]?this.J6[c]++:this.J6[c]=1;return this.J6[c]};
l.pHb=function(a,b){return a.x<b.x?a.x.toString()+a.y.toString()+b.x.toString()+b.y.toString():b.x.toString()+b.y.toString()+a.x.toString()+a.y.toString()};l.prototype.$Lb=function(a){a=this.Ff.indexOf(a);-1!==a&&this.Ff.splice(a,1)};l.prototype.xy=function(){return this.d0a};l.prototype.V$=function(a){this.yva=a};l.prototype.uy=function(){return this.yva};l.prototype.vF=function(a){this.xva=a};l.prototype.xb=function(){return this.xva};l.prototype.EA=function(b){if(this.hy=b)this.qd=new a.ed(this.hy),
this.EB.UC(this.d0a,this.qd)};l.prototype.Cb=function(){return null!=this.hy};l.prototype.OOb=function(a){var b=a.$a(),c=this.E7.qbb(a.Jo());if(c)return b.sj(c.j0()),!0;this.$Lb(a);return!1};l.prototype.S7a=function(a){if(this.OOb(this.Ff[a])){var b=this.Ff[a].$a();this.Hx.u(b);if(a=this.Ff[a].Ee())a.yXb()||(b=b.da(),a.mPb(b)),a.update(this.WZ);return!0}return!1};l.prototype.xa=function(b){this.h_a=!0;this.WZ=b;b={};var c=this.wr.slice();c.sort(function(a,b){return a.Me()<b.Me()?1:a.Me()>b.Me()?-1:
0});for(var d=0;d<c.length;d++){var e=c[d],g=e.$a(),h=e.Ee();if(h){var l=new a.ra(g.j());this.fK.u(l);l.u(g);l.u(h);e.nna()}else this.fK.u(g);(e=e.Jo())&&(b[e]=!0)}for(d=0;d<this.Ff.length;d++)b[this.Ff[d].Jo()]&&this.Ff[d].K0b(),this.S7a(d)||d--;for(d=0;d<this.rT.length;d++)this.tga.u(this.rT[d].$a());this.qza&&this.nE()};l.prototype.eEa=function(a,b,c){this.WZ=c;for(var d=[],e=0;e<a.length;e++)for(var g=0;g<this.Ff.length;g++)if(this.Ff[g].Jo()==a[e]){d.push(this.Ff[g].Jo());this.S7a(g);var h=this.Ff[g].$a();
b.push(h);h.eeb(c);if(g=this.Ff[g].Ee())b.push(g),(g=g.ps)&&b.push(g);break}for(g=0;g<this.wr.length;g++)for(e=0;e<a.length;e++)c=this.wr[g].Jo(),h=this.wr[g].$a(),null!=c?c==a[e]&&(this.fK.u(h),b.push(h)):(this.fK.u(h),b.push(h));this.it=this.it.concat(d)};l.prototype.vaa=function(b,c){for(var d=0;d<b.length;d++)for(var e=0;e<this.Ff.length;e++)if(this.Ff[e].Jo()==b[d]){this.Ff[e].gF()&&this.Ff[e].G1(!1);this.Ff[e].Hb()&&this.qd.S$(this.Ff[e]);var g=a.va.Fb(this.it,b[d]);-1<g&&(this.it.splice(g,
1),c.push(this.Ff[e].$a()),e=this.Ff[e].Ee())&&(c.push(e),c.push(e.ps));break}};l.prototype.aSb=function(a,b){for(var c=0;c<this.Ff.length;c++)if(this.Ff[c].Jo()==a){this.Ff[c].G1(!0);this.Yv.push(a);b.push(this.Ff[c].$a());if(c=this.Ff[c].Ee())b.push(c),(c=c.ps)&&b.push(c);break}for(c=0;c<this.wr.length;c++)if(this.wr[c].Jo()==a){b.push(this.wr[c].$a());break}};l.prototype.O4b=function(b,c){for(var d=0;d<this.Ff.length;d++)if(this.Ff[d].Jo()==b){var e=a.va.Fb(this.Yv,b);this.Yv.splice(e,1);this.Ff[d].G1(!1);
e=this.Ff[d].$a();this.Hx.u(e);c.push(e);if(d=this.Ff[d].Ee())d.update(this.WZ),c.push(d),c.push(d.ps);break}for(d=0;d<this.wr.length;d++)if(this.wr[d].Jo()==b){e=this.wr[d].$a();this.fK.u(e);c.push(e);break}};l.prototype.reset=function(b,c){if(this.qd)for(var d=this.qd.getSelection(),e=0;e<d.length;e++)(!c||c&&-1==a.va.Fb(c,d[e].Jo()))&&this.qd.S$(d[e]);if("none"!=this.La.jt)for(d=0;d<this.Yv.length;d++){for(e=0;e<this.Ff.length;e++)if(this.Ff[e].Jo()==this.Yv[d]){this.Ff[e].G1(!1);var g=this.Ff[e].$a();
this.Hx.u(g);b.push(g);if(e=this.Ff[e].Ee())e.update(this.WZ),b.push(e),b.push(e.ps);break}for(e=0;e<this.wr.length;e++)if(this.wr[e].Jo()==this.Yv[d]){g=this.wr[e].$a();this.fK.u(g);b.push(g);break}}this.Yv=[]};l.prototype.Bl=function(b,c){this.WZ=c;var d=c.Ig,e=b.aq();if(this.h_a&&e==a.Kd.kN)for(this.h_a=!1,e=0;e<this.Ff.length;e++){var g=this.Ff[e].$a(),h=g.ULb;if(h){var l=new a.Ic;h.Oh(l);l.Db(new a.dc(1/d,null,null,1/d));g.wa(l)}}e=this.Ff;for(d=0;d<e.length;d++)e[d].Bl(c);if(this.La.BK)for(e=
this.wr,d=0;d<e.length;d++)e[d].Bl(c);this.J6={};e=this.rT;for(d=0;d<e.length;d++)e[d].Bl(c)};l.prototype.NF=function(a){this.WZ=a};l.prototype.U2b=function(a){this.qza=a};l.prototype.nE=function(){this.qd&&(this.qd.gv(this.qza,this.dla()),this.qza=null)};l.prototype.GN=function(a){if(this.qd){a.Hb()||(this.qd.Pr(a,!1),this.EB.uL(a));a=[];for(var b=this.qd.getSelection(),c=0;c<b.length;c++)a.push(b[c].getId());return a}return null};l.prototype.FN=function(){for(var a=[],b=this.qd.getSelection(),c=
0;c<b.length;c++)a.push(b[c].$a());return a};l.prototype.kWb=function(a){for(var b=[],c=this.Ff,d=0;d<a.length;d++)for(var e=0;e<c.length;e++)if(c[e].getId()==a[d]){b.push(c[e].Jo());break}return b};l.prototype.Ea=function(){for(var a=this.dla(),b=0;b<a.length;b++){var c=a[b].$a();c instanceof n&&(c=c.JG,c.Ea&&c.Ea())}this.EB=null};l.prototype.RH=function(a){for(var b=[],c=0;c<this.sga.length;c++){var d=this.sga[c],e=d.Oja,g=d.Dxa;e&&e.getId()===a?b.push(d):g&&g.getId()===a&&b.push(d)}return b};a.l.D(g,
a.CR);g.qPa="linkNode";g.ura="link";g.prototype.Init=function(a,b){g.C.Init.call(this,a,b);this.La=a;this.aia=g.ura};g.prototype.hI=function(a){return this.ij(a)&&!a.ctrlKey};g.prototype.ul=function(b){var c=b.keyCode,e=this.Ib.Yf();if(c==a.KeyboardEvent.Zw){this.aia=g.ura;c=[];e instanceof D&&(c=this.La.iV());if("DvtMapObjPeer"===e.getTypeName()||0===c.length)c=this.La.R9();0<c.length&&(e=a.Kb.SH(e,b,c));this.Ib.LR(e)}else if(c==a.KeyboardEvent.lz){this.aia=g.ura;c=[];e instanceof d&&(c=this.La.iV());
if("DvtMapObjPeer"===e.getTypeName()||0===c.length)c=this.La.Q9();0<c.length&&(e=a.Kb.SH(e,b,c));this.Ib.LR(e)}else(b.keyCode==a.KeyboardEvent.nx||a.KeyboardEvent.vv)&&b.altKey&&(this.Z4a=e,this.aia=g.qPa),e=g.C.ul.call(this,b),this.ij(b)&&!b.ctrlKey&&this.Ib.LR(e);return e};g.prototype.Kw=function(b){return b.keyCode==a.KeyboardEvent.cj&&b.ctrlKey};g.prototype.ij=function(b){var c=g.C.ij.call(this,b);switch(b.keyCode){case a.KeyboardEvent.lz:case a.KeyboardEvent.Zw:c=!0;break;case a.KeyboardEvent.nx:case a.KeyboardEvent.vv:c=
b.altKey?!0:!1;break;default:c=g.C.ij.call(this,b)}return c};g.p0=function(b,c,d){c=c.keyCode;if(!d||1>d.length||!b)return null;for(var e=b.Xe(),g=0;g<d.length;g++){var h=d[g],l;l=b.getId()===h.Oja.getId()?h.fO:h.qP;if(c==a.KeyboardEvent.nx&&l.x<=e.x||c==a.KeyboardEvent.vv&&l.x>=e.x)break}return h};a.l.D(x,a.G);x.prototype.Init=function(a,b,c){x.C.Init.call(this,a,b,c);this.dL={};this.La=c;this.AG=!1};x.prototype.Ch=function(a){if(a&&a.Uk)return this.dL[a.Uk().xy()]};x.prototype.UC=function(a,b){this.dL[a]=
b};x.prototype.ZIa=function(a){this.jt=a};x.prototype.S$=function(a,b){var c=this.dL[a];c&&c.S$(b)};x.prototype.X_=function(a){(a=this.dL[a])&&a.X_()};x.prototype.T2b=function(a){a&&x.C.Ry.call(this,a)};x.prototype.bB=function(a){var b=this.tb(a.target);b&&b.qg&&b.Uk&&this.La.bW(b.Uk().xy());x.C.bB.call(this,a)};x.prototype.jq=function(a){this.La.bW(null);x.C.jq.call(this,a)};x.prototype.$k=function(b){var c=this.tb(b.target);this.LR(c);if(!(c&&c.Cb&&c.Cb()))for(var d in this.dL)if(this.dL[d].Pr(null,
b.ctrlKey)){var e=a.kb.I$([]);e.clientId=d;this.Pc.call(this.rb,e)}x.C.$k.call(this,b);this.pha(c,b.pageX,b.pageY)};x.prototype.pha=function(a,b,c){if(a instanceof r){var d=a.WP();d?d.call():a.geb()?this.bOa(a,b,c):a.qg()&&this.La.bW(a.Uk().xy())}};x.prototype.bOa=function(b,c,d){var e=new a.kX(b.xy(),b.getId(),b.gh());e.im("clientId",b.Uk().xy());null!=c&&null!=d&&(b=this.La.j().Sg(c,d),e.im("pointXY",{x:b.x,y:b.y}));this.Se();this.Pc.call(this.rb,e)};x.prototype.LR=function(a){var b=null,d=null,
e=null;a&&(a instanceof r?e=a.$a():a instanceof c&&(e=a),a.Uk&&(a=a.Uk(),b=a.xy(),d=a.E7.Cl));this.La.Z1b(b,d,e)};x.prototype.gJ=function(b){b=this.tb(b.target);this.Ch(b)&&this.jt&&"none"!=this.jt&&(b=new a.Ev(a.Ev.Lpa),this.Pc.call(this.rb,b))};x.prototype.qm=function(b){var c=!0,d=b.keyCode,e=this.Yf(),g=e.$a();d!=a.KeyboardEvent.Gh&&this.AG?(g.c0(b),b.preventDefault()):(d==a.KeyboardEvent.ZERO||d==a.KeyboardEvent.Dca)&&b.ctrlKey&&b.shiftKey?(this.La.CIa(),b.preventDefault()):d==a.KeyboardEvent.Nkb?
((e=this.La.Hf)&&(e instanceof a.Tc?e.OIa(!e.isCollapsed()):e instanceof a.ma&&e.lj(!e.Mb())),b.preventDefault()):d==a.KeyboardEvent.yj?e instanceof r&&((d=e.WP())?d.call():e.geb()?this.bOa(e):b.shiftKey?this.La.jEa():this.La.Qka(),b.preventDefault()):d==a.KeyboardEvent.cj&&b.ctrlKey?(this.LR(e),this.$M(e,!0),b.preventDefault()):d!=a.KeyboardEvent.ZERO&&d!=a.KeyboardEvent.Dca||!b.ctrlKey?d==a.KeyboardEvent.Gh&&g instanceof n?!b.shiftKey&&e.Od()?(e.ce(),g.c0(b),b.preventDefault(),this.AG=!0):(b.shiftKey&&
this.AG?(this.GX(b,e),b.preventDefault()):(this.AG&&e.tg(),c=x.C.qm.call(this,b)),this.AG=!1):c=x.C.qm.call(this,b):(b.altKey?this.La.ESb(g):this.La.qEa(),b.preventDefault());return c};x.prototype.VM=function(b){if(!this.up(b,a.fe.dR)){var c=this.tb(b.target);this.LR(c);if(c instanceof a.nb)for(var d in this.dL)if(this.dL[d].Pr(null,b.ctrlKey)){for(var e=this.dL[d].getSelection(),g=[],h=0;h<e.length;h++)g.push(e[h].getId());e=a.kb.I$(g);this.Pc.call(this.rb,e)}x.C.VM.call(this,b);this.pha(c,b.nv.pageX,
b.nv.pageY)}};x.prototype.Zqa=function(a){(a=this.tb(a.target))&&a.qg&&a.Uk?this.La.bW(a.Uk().xy()):this.La.bW(null)};x.prototype.GOa=function(a){(a=this.tb(a.target))&&a.qg&&a.Uk?this.La.bW(a.Uk().xy()):this.La.bW(null)};x.prototype.NM=function(b){var c=this.tb(b.target);c&&this.Ch(c)&&this.jt&&"none"!=this.jt&&(this.$M(c,b.ctrlKey),b=new a.Ev(a.Ev.Lpa),this.Pc.call(this.rb,b))};x.prototype.fca=function(a,b){var c=this.tb(a.target);this.LR(c);x.C.fca.call(this,a,b)};x.prototype.hr=function(b,c,d){b=
this.La.B();"dim"==b.hoverBehavior&&(c=c.te?c.te():[],b.highlightedCategories=d?c.slice():null,d=a.kb.RL(b.highlightedCategories,d),c=a.ab.Et(b.styleDefaults.hoverBehaviorDelay),this.dN.Fg(d,this.La.Q9().concat(this.La.iV()).concat(this.La.R9()),c,"any"==b.highlightMatch))};x.prototype.iD=function(){var b=this.La.B();return"none"!==b.panning||"none"!==b.zooming?a.G.sJ:b.touchResponse===a.G.hB?a.G.hB:a.G.c4};x.prototype.$F=function(b){return b==a.fe.dR?!1:x.C.$F.call(this,b)};a.l.D(y,a.l);y.qzb=6;
y.jzb=.5;y.Hzb=20;y.prototype.Init=function(a){this.La=a;this.Jha=!1;this.S4=this.lS=null;this.Y0a={}};y.prototype.parse=function(b){this.iLb(b);b._legend&&this.La.Qhb(b._legend);this.kLb(b.styleDefaults);if(this.Jha&&b.sourceXml){var c=(new a.TR(this.La.j())).parse(b.sourceXml);this.eLb(c)}this.bLb(b.areaLayers);this.Sca(b.pointDataLayers,null,null,!1)};y.prototype.iLb=function(a){var b=a.animationDuration;"string"==typeof b?"ms"==b.slice(-2)?b=parseInt(b.slice(0,-2))/1E3:"s"==b.slice(-1)&&(b=parseFloat(b.slice(0,
-1))):b/=1E3;this.La.vF(b);this.La.K1b("auto"==a.animationOnDisplay?"alphaFade":a.animationOnDisplay);this.La.M1b("auto"==a.animationOnMapChange?"alphaFade":a.animationOnMapChange);this.Jha=null!=a.source;this.La.h3b(this.Jha?"$"+a.basemap:a.basemap);this.La.Rna(a.featuresOff);this.La.Mna(a.controlPanelBehavior);b=a.tooltipDisplay;"shortDesc"==b?b="shortDescOnly":"labelAndShortDesc"==b&&(b="auto");this.La.v2b(b);(b=a.popups)&&this.La.Z1(this.ls(b));this.La.ZIa(a.drilling);this.La.L1b(a.animationOnDrill);
this.La.V2b("auto"==a.initialZooming);this.La.i3b(a.markerZoomBehavior);this.La.tib("auto"==a.panning);this.La.Wib("auto"==a.zooming);this.La.rhb(a.panX);this.La.shb(a.panY);this.La.thb(a.zoom);isNaN(a.maxZoom)||this.La.k3b(Math.max(a.maxZoom,1))};y.prototype.bLb=function(c){for(var d=this.La.vr,g=0;g<c.length;g++){var h=this.La.Wg.wQb(c[g]),l=h.layer;if(l){var n;if(n=h.areaStyle){n instanceof Object||(n=a.f.JU(n));var q=y.g2a(n);this.S4=a.ec.Xd(n,this.S4);this.lS.Xd(q)}h.labelStyle&&this.lS.Sj(h.labelStyle);
this.Jha?(n=new e(this.La,l,h.labelDisplay,h.labelType,this.La.jb()),n.Q1b(this.Y0a[l])):(n=new b(this.La,l,h.labelDisplay,h.labelType,this.La.jb()),n.xgb(this.HEb(u.pbb(d,l))),n.wgb(u.TSb(d,l)),n.O1b(u.SSb(d,l)),n.N1b(u.uTb(this.La.vr,l)));n.b3b(this.lS);n.V$("auto"==h.animationOnLayerChange?"alphaFade":h.animationOnLayerChange);n.vF(this.La.xb());this.La.FPb(n);h.areaDataLayer&&this.Sca([h.areaDataLayer],n,null,!0);h.pointDataLayers&&this.Sca(h.pointDataLayers,n,null,!1)}}};y.prototype.Sca=function(c,
d,e,g){if(c)for(var n=0;n<c.length;n++){var q=this.La.Wg.AQb(c[n]);q.legend&&this.La.Qhb(q.legend);d?d instanceof b&&g&&d.j1b():(d=new h(this.La,q.id,this.La.jb()),this.La.NPb(d));var w=new l(this.La,d,q.id,this.La.jb(),q);g=q.selectionMode;"single"==g?w.EA(a.ed.jB):"multiple"==g&&w.EA(a.ed.iB);w.V$(q.animationOnDataChange);w.vF(this.La.xb());var r=null;d instanceof b&&(r=q.isolatedItem);var u=q.disclosedItems,t=[],z;g=d instanceof b;var H;q.popups&&(H=this.ls(q.popups));var x=this.La.B().hiddenCategories,
D=q.areas;if(D)for(var F=0;F<D.length;F++)if(x&&a.va.Iy(x,D[F].categories))w.sDa(null);else{var C=D[F].location;if(r)if(r!=D[F].id)continue;else z=C;u&&-1!=a.va.Fb(u,D[F].id)&&t.push(C);if(C=this.iEb(d,w,D[F]))H&&C.Z1(H),w.sDa(C)}var D=q.renderer,V=q.markers;if(V&&!D)for(y.kDb(this.La,V),F=0;F<V.length;F++)if(x&&a.va.Iy(x,V[F].categories))w.qka(null);else{C=V[F].location;if(r)if(r!=V[F].id)continue;else z=C;if(C=this.yB(d,w,V[F],g))H&&C.Z1(H),w.qka(C)}var Q=q.images;if(Q)for(F=0;F<Q.length;F++){C=
Q[F].location;if(r)if(r!=Q[F].id)continue;else z=C;if(C=this.Iwa(d,w,Q[F],g))H&&C.Z1(H),w.qka(C)}if(Q=q.links)for(F=0;F<Q.length;F++)x&&a.va.Iy(x,Q[F].categories)?w.sDa(null):(C=this.DEb(w,Q[F]))&&w.GPb(C);if(D)for(F=0;F<V.length;F++){C=V[F].location;if(r)if(r!=V[F].id)continue;else z=C;u&&-1!=a.va.Fb(u,V[F].id)&&t.push(C);x=this.La.B()._contextHandler(this.La.Xa(),null,V[F],{hovered:!1,selected:!1,focused:!1},null);x=D(x);C=this.pEb(d,w,V[F],x,g);H&&C.Z1(H);C&&w.qka(C)}z&&d.Y2b(z);(q=q.selection)&&
0<q.length&&w.U2b(q);t&&0<t.length&&this.La.zPb(d.Cl,[w.xy(),t]);e?d.QJa(w,this.La.Va.Wa.Ab(),e):d.A$a(w)}};y.prototype.kLb=function(b){this.La.WHa(b);var c=b.areaStyle;!c||c instanceof Object||(c=a.f.JU(c));c=a.ec.Xd(c,b._areaStyle);this.lS=y.g2a(c);this.S4=c;this.lS.Sj(b.labelStyle);new a.f(b.dropTargetStyle);this.La.Z3b(b)};y.g2a=function(b){var c=new a.f;a.va.forEach([a.f.wb,a.f.Ub],function(d){var e=null,g=a.f.BP(d);b&&null!=b[g]&&(e=b[g],delete b[g]);c.ka(d,e)});return c};y.prototype.eLb=function(a){a=
a.Ye();for(var b,c,d=0;d<a.length;d++)b=a[d],c=b.getName(),"layer"==c?this.fLb(b):"points"==c&&this.gLb(b)};y.prototype.fLb=function(a){var b=a.Ye();a=a.ba("id");for(var c,d,e=[],g=0;g<b.length;g++)if(c=b[g],d=c.getName(),"image"==d){d={};d.source=c.ba("source");d.width=Number(c.ba("width"));d.height=Number(c.ba("height"));var h=c.ba("bidi");c=c.ba("dir");d.dir="true"==h||"rtl"==c?"rtl":"ltr";e.push(d)}this.Y0a[a]=e};y.prototype.gLb=function(a){a=a.Ye();for(var b,c,d={},e={},g=0;g<a.length;g++)b=
a[g],c=b.getName(),"point"==c&&(d[b.ba("name")]=[Number(b.ba("x")),Number(b.ba("y"))],e[b.ba("name")]=[null,b.ba("longLabel")]);u.ggb(this.La.vr,"cities",e,d,null,null,1)};y.prototype.HEb=function(b){for(var c={},d=this.La.j(),e=0;e<b.length;e++){var g=b[e];c[g]=new a.Bb(d);var h=this.lS.O(a.f.wb);h&&"transparent"!=h&&(h=new a.Da(h),this.La.Hk&&h.sg(!0),c[g].Na(h));h=this.lS.O(a.f.Ub);"transparent"!=h?c[g].qb(h):c[g].wa(null);this.S4&&c[g].ka(this.S4)}return c};y.prototype.iEb=function(b,c,d){var e=
d.location;if(b.qbb(e)){b.Fna(e,!1);e=new w(this.La.j(),this.La.Hk);d=a.ec.Xd(d,this.La.s8.dataAreaDefaults);d.labelStyle||(d.labelStyle=this.La.s8.labelStyle);var g=new a.Da(d.hoverColor,1,w.MM),h=new a.Da(d.selectedInnerColor,1,w.bda),l=new a.Da(d.selectedOuterColor,1,w.cda);e.Qr(g,null).Mt(h,l);g=new a.Da(d.drilledInnerColor,1,w.Hpa);h=new a.Da(d.drilledOuterColor,1,w.Ipa);e.u2b(g,h);b.K1(d.location,!1);this.p9a(d,e);b=this.zS(b,c,d,e,!0);return new D(d,c,e,b)}return null};y.prototype.yB=function(b,
c,d,e){var g=d._size,h;h=(h=this.La.B().mapProvider)&&null!=h.geo?new a.V(d.x,-d.y):y.Xe(c,d.location,d.x,d.y);if(!h||0===g)return null;var l=this.La.s8.dataMarkerDefaults,n=new a.f(l.labelStyle);n.Sj(d.labelStyle);d=a.ec.Xd(d,l);d.labelStyle=n.toString();if(null!=g)l=g;else{l=d.scaleX;null==l&&(l=1);g=d.scaleY;null==g&&(g=1);var q=d.width;null==q&&(q=this.La.B().styleDefaults.dataMarkerDefaults.width);n=d.height;null==n&&(n=this.La.B().styleDefaults.dataMarkerDefaults.height);l*=q;g*=n}n=d.borderRadius;
d.source?l=new a.Uf(this.La.j(),h.x,h.y,l,g,n,d.source,d.sourceSelected,d.sourceHover,d.sourceHoverSelected):(q=d.shape?d.shape:this.La.B().styleDefaults.dataMarkerDefaults.shape,l=new a.Fa(this.La.j(),q,this.La.Ge,h.x,h.y,l,g,n));(g=d.rotation)&&l.Sq(g*Math.PI/180);e&&b.K1(d.location,!1);this.p9a(d,l);b=this.zS(b,c,d,l,e);return new r(d,c,l,b,h)};y.prototype.Iwa=function(b,c,d,e){var g=y.Xe(c,d.location,d.x,d.y);if(!g)return null;var h=new a.Image(this.La.j(),d.url),l=d.width,n=d.height;null!=l&&
null!=n&&(h.Ha(g.x-l/2),h.ob(g.y-n/2),h.hb(l),h.zb(n));e&&b.K1(d.location,!1);var q=new r(d,c,h,null,g);l&&n||a.Yt.It(this.La.j(),d.url,function(a){a&&a.width&&a.height&&(h.hb(a.width),h.zb(a.height),h.Ha(g.x-a.width/2),h.ob(g.y-a.height/2),q.I4())});return q};y.prototype.pEb=function(a,b,c,d,e){var g=y.Xe(b,c.location,c.x,c.y);if(!g)return null;e&&a.K1(c.location,!1);a=new n(this.La.j(),d,this.La.s8.dataAreaDefaults);return new r(c,b,a,null,g)};y.prototype.DEb=function(b,c){var e=c.startLocation,
g=c.endLocation,h,l;if(e.id){for(var n=b.uga,q=0;q<n.length;q++){var w=n[q];if(w&&w.getId()==e.id){l=w;h=w.Xe();break}}if(!l)for(n=b.nga,q=0;q<n.length;q++)if((w=n[q])&&w.getId()==e.id){l=w;h=this.hha(b,{location:w.Jo()});break}}else h=this.hha(b,e);var r,u;if(g.id){n=b.uga;for(q=0;q<n.length;q++)if((w=n[q])&&w.getId()==g.id){u=w;r=w.Xe();break}if(!u)for(n=b.nga,q=0;q<n.length;q++)if((w=n[q])&&w.getId()==g.id){u=w;r=this.hha(b,{location:w.Jo()});break}}else r=this.hha(b,g);if(!r||!h)return null;e=
new a.Bb(this.La.j(),y.W$a(b,h,r,h,r));e.wa(null);var q=this.La.s8.linkDefaults,t=c.color;t||(t=q.color);(g=c.width)||(g=q.width);n=new a.Da(t,1,g);n.sg(!0);e.Na(n);var w=q._hoverColor,z=q._selectedColor,q=new a.Da(w,1,g),n=new a.Da(t,1,g+2),t=new a.Da(t,1,g),H=new a.Da(z,1,g+2),w=new a.Da(w,1,g),g=new a.Da(z,1,g+2);e.Qr(q,n).Mt(t,H).mv(w,g);return new d(c,b,e,h,r,l,u)};y.prototype.hha=function(b,c){var d=this.La.B().mapProvider;return d&&null!=d.geo?new a.V(c.x,-c.y):y.Xe(b,c.location,c.x,c.y)};
y.prototype.zS=function(b,c,d,e,g){var h=d.location,l=d.label,n=l?"on":"off";g&&(n=b.Gla());e=e instanceof a.Bb;!l&&g&&(e&&"off"!=n||!e&&"on"==n)&&(l="long"==b.I4a?b.hVb(h):b.tWb(h));if(l){var q=this.La.j(),q=e?new F(q,l,b.Dcb?b.Dcb(h):null,n,c.qga,this.La.Hk):new a.ha(q,l,0,0);c=new a.f;e&&c.Xd(b.ZUb());d.labelStyle&&c.Sj(d.labelStyle);b=c.O(a.f.fc);c.ka(a.f.fc,null);q.Nb(c);d.color&&q instanceof F&&(a.A.hQ()||!b)&&(b=a.R.$m(d.color));b&&q.qb(b)}return q};y.prototype.p9a=function(b,c){var d=b.pattern,
e=b.color,g=a.A.fb()||this.La.Ge==a.f.sf?"none":b.visualEffects;if(c instanceof a.Fa){if("none"!=b.borderStyle){var h=b.borderWidth;"string"==typeof h&&(h="px"==h.slice(-2)?parseFloat(b.borderWidth.slice(0,-2)):parseFloat(b.borderWidth));var l=new a.Da(b.borderColor,1,h);this.La.BK||l.sg(!0);l.sp(a.pd.iA(b.borderStyle));c.Na(l)}h=b.opacity;"none"!=g?c.wa(new a.yca.Eab(e,c,h)):d?c.wa(new a.Ic(d,e,"#FFFFFF")):e&&c.qb(e,h)}else if(c instanceof a.Bb){if(g=b.borderColor)l=new a.Da(g),this.La.Hk&&l.sg(!0),
c.Na(l);d?c.y1b(new a.Ic(d,e,"#FFFFFF")):c.qb(e,h)}};y.Xe=function(a,b,c,d){var e=a.La.vr;return b?((a=u.QSb(e,a.E7.Cl,b))||(a=u.vTb(e,b)),a):z.t0b(c,d,e)};y.prototype.ls=function(b){for(var c=[],d=0;d<b.length;d++)c.push(new a.md(b[d].popupId,b[d].triggerType,null,b[d].align));return c};y.kDb=function(b,c){for(var d=-Infinity,e=Infinity,g=0;g<c.length;g++){var h=c[g].value;null==h||0>=h||(d=Math.max(d,h),e=Math.min(e,h))}if(Infinity!==e){var h=2*y.Hzb,g=b.getWidth()-h,h=b.getHeight()-h,l=g/h;1.3>
l?h=2*g/3:1.7<l&&(g=1.5*h);l=y.jzb*Math.min(g,h);for(g=0;g<c.length;g++)h=c[g].value,c[g]._size=null==h||0>=h?0:a.un.Ebb(h,e,d,y.qzb,l)}};y.W$a=function(b,c,d,e,g){var h=e.x,l=e.y;e=g.x;g=g.y;var n=b.La,q=a.M.moveTo(h,l);c=b.K4b(c,d);d=Math.min(n.getWidth(),n.getHeight())/35;if(0===e-h||0===g-l){var w;1<c?(d*=c-1,0===e-h?(n=.3*Math.abs(l-g),b=h+d,c=l>g?l-n:l+n,w=b,h=g>l?g-n:g+n):(n=.3*Math.abs(h-e),b=h>e?h-n:h+n,c=l-d,w=e>h?e-n:e+n,h=c),q+=a.M.Kab(b,c,w,h,e,g)):q+=a.M.lineTo(e,g)}else{n=Math.sqrt(Math.pow(e-
h,2),Math.pow(g-l,2));b=n/4;1<c&&(b+=(c-1)*d);c=(g-l)/(e-h);d=-1/c;0<d&&(b*=-1);w=.3*n/Math.sqrt(1+Math.pow(c,2));var r=0<e-h,n=h+(r?1:-1)*w,r=e+(r?-1:1)*w;w=b/Math.sqrt(1+Math.pow(d,2));b=n+w;w=r+w;q+=a.M.Kab(b,d*(b-n)+(c*(n-h)+l),w,d*(w-r)+(c*(r-e)+g),e,g)}return q};var z={};a.l.D(z,a.l);z.Bz=new a.ca(0,0,800,500);z.cS=6378206.4;z.Jua=new a.ca(500,200,200,200);z.Iua=new a.ca(163,-49,17,17);z.YSa=new a.ca(-17.379205428479874,-37.201510854305546,68.66391442808313,77.50071544582713);z.aTa=new a.ca(-.8436866097568272,
-.7626456732012923,1.8336308036296942,1.5748427214611724);z.mXa=new a.ca(113.29667079927977,-52.89550592498755,65.25257389065216,42.123114617504626);z.$Xa=new a.ca(-.47944476148667076,-.0014669405958800579,.7364925893845453,.6293972741802124);z.EYa=new a.ca(-.6154469465354344,-.24589767758847714,1.2448236795108683,1.2631535127174947);z.VYa=new a.ca(-80.60817722658722,-60.796273249672765,46.608687602908056,66.96595767361796);z.$Sa=new a.ca(68.20516856593524,-52.89892708045518,111.65739821771903,116.55460214469134);
z.ZXa=new a.ca(-24.543831069368586,-37.202500659225905,204.54283106936856,164.9634493690208);z.wYa=new a.ca(-117.12451221229134,-54.95921623126266,82.33223251442891,87.67786623127876);z.$Ya=new a.ca(-.6154656300926513,.0507209798775865,1.0153104799231851,.966537441082997);z.bZa=new a.ca(-171.9,-62.6,349.8,150.8);z.owb=new a.ca(172,51,8,3);z.pwb=new a.ca(-180,51,51,21);z.Iyb=new a.ca(-178.5,18.9,35,11);z.NAb=new a.ca(-124.8,24.4,58,25.5);z.ZSa=new a.ca(-187.5517578125,59.82610321044922,57.562225341796875,
43.83738708496094);z.mYa=new a.ca(-160.23606872558594,18.91549301147461,5.4374847412109375,3.3189010620117188);z.ZYa=new a.ca(-2386803.25,-1183550.5,4514111,2908402);z.zua=new a.ca(165,400,100,100);z.Yta=new a.ca(-75,350,240,150);z.ju=[[1,0],[.9986,.0314],[.9954,.0629],[.99,.0943],[.9822,.1258],[.973,.1572],[.96,.1887],[.9427,.2201],[.9216,.2515],[.8962,.2826],[.8679,.3132],[.835,.3433],[.7986,.3726],[.7597,.4008],[.6732,.4532],[.6213,.4765],[.5722,.4951],[.5322,.5072]];z.t0b=function(b,c,d){var e;
switch(d){case "africa":e=z.qK(z.YSa,z.k6(b,c));break;case "asia":e=z.qK(z.aTa,z.Qga(40,95,20,60,b,c),z.eo(5));break;case "australia":e=z.oGb(b,c);break;case "europe":e=z.qK(z.$Xa,z.Qga(35,25,40,65,b,c),z.eo(10));break;case "northAmerica":e=z.qK(z.EYa,z.Qga(23,-96,20,60,b,c));break;case "southAmerica":e=z.qK(z.VYa,new a.V(b,c),z.eo(5));break;case "apac":e=z.qK(z.$Sa,z.k6(b,c));break;case "emea":e=z.qK(z.ZXa,z.k6(b,c));break;case "latinAmerica":e=z.qK(z.wYa,new a.V(b,c));break;case "usaAndCanada":e=
z.qK(z.$Ya,z.Qga(23,-96,20,60,b,c));break;case "worldRegions":e=z.F3a(b,c);break;case "usa":e=z.ZHb(b,c);break;case "world":e=z.F3a(b,c)}return e?new a.V(10*e.x,10*e.y):null};z.ZHb=function(b,c){var d;z.owb.Ui(b,c)||z.pwb.Ui(b,c)?(d=z.Qx(z.ZSa,z.Yta),d=z.P4(d,z.k6(b,c))):z.Iyb.Ui(b,c)?(d=z.Qx(z.mYa,z.zua),d=z.P4(d,new a.V(b,c))):z.NAb.Ui(b,c)&&(d=z.Qx(z.ZYa,z.Bz),d=z.P4(d,z.BHb(new a.V(-95,36),b,c)));return z.Sga(z.Bz,d)};z.F3a=function(a,b){var c=z.Qx(z.bZa,z.Bz),c=z.P4(c,z.OHb(a,b));return z.Sga(z.Bz,
c)};z.oGb=function(a,b){var c;c=z.Iua.Ui(a,b)?z.Qx(z.Iua,z.Jua):z.Qx(z.mXa,z.Bz);c=z.P4(c,z.k6(a,b));return z.Sga(z.Bz,c)};z.qK=function(b,c,d){b=z.Qx(b,z.Bz);if(d){var e=new a.dc;e.rotate(d);b=z.m0a(b,e)}c=b.Kf(c);return z.Sga(z.Bz,c)};z.Sga=function(a,b){return b&&a.Ui(b.x,b.y)?b:null};z.Qga=function(b,c,d,e,g,h){c=z.eo(c);b=z.eo(b);d=z.eo(d);e=z.eo(e);e=.5*(Math.sin(d)+Math.sin(e));d=Math.pow(Math.cos(d),2)+2*e*Math.sin(d);b=d-2*e*Math.sin(b);b=Math.sqrt(b)/e;g=e*(z.eo(g)-c);h=d-2*e*Math.sin(z.eo(h));
h=Math.sqrt(h)/e;return new a.V(h*Math.sin(g),b-h*Math.cos(g))};z.k6=function(b,c){return new a.V(b,z.g2(Math.log(Math.tan(.25*Math.PI+.5*z.eo(c)))))};z.BHb=function(b,c,d){c=z.eo(c);d=z.eo(d);var e=z.eo(b.x);b=z.eo(b.y);return new a.V(Math.cos(d)*Math.sin(c-e)*z.cS,(Math.cos(b)*Math.sin(d)-Math.sin(b)*Math.cos(d)*Math.cos(c-e))*z.cS)};z.OHb=function(b,c){var d=Math.floor(Math.abs(c)/5);d>=z.ju.length-1&&(d=z.ju.length-2);var e=(Math.abs(c)-5*d)/5,g=b*(z.ju[d][0]+e*(z.ju[d+1][0]-z.ju[d][0])),d=z.ju[d][1]+
e*(z.ju[d+1][1]-z.ju[d][1]);0>c&&(d*=-1);return new a.V(g,180*d)};z.P4=function(b,c){return new a.V(c.x*b.Ig+b.He,c.y*b.uk+b.De)};z.m0a=function(b,c){var d=b.Ig,e=b.uk;return new a.dc(c.Ig*d,c.sm*d,c.Fl*e,c.uk*e,b.He+c.He*d,b.De+c.De*e)};z.Qx=function(b,c){var d=c.x,e=c.y,g=b.a,h=b.b,l=0,l=c.a/g,n=c.b/h,l=l<=n?l:n,d=d-b.x*l,e=e+b.y*l,d=d+(c.a-g*l)/2,e=e+(c.b-(c.b-h*l)/2);return new a.dc(l,0,0,-l,d,e)};z.eo=function(a){return Math.PI/180*a};z.g2=function(a){return 180/Math.PI*a};z.g9b=function(b,c,
d){var e;b/=10;c/=10;switch(d){case "africa":e=z.rK(z.YSa,new a.V(b,c));e=z.i6(e.x,e.y);break;case "asia":e=z.rK(z.aTa,new a.V(b,c),z.eo(5));e=z.bha(40,95,20,60,e.x,e.y);break;case "australia":e=z.eHb(b,c);break;case "europe":e=z.rK(z.$Xa,new a.V(b,c),z.eo(10));e=z.bha(35,25,40,65,e.x,e.y);break;case "northAmerica":e=z.rK(z.EYa,new a.V(b,c));e=z.bha(23,-96,20,60,e.x,e.y);break;case "southAmerica":e=z.rK(z.VYa,new a.V(b,c),z.eo(5));break;case "apac":e=z.rK(z.$Sa,new a.V(b,c));e=z.i6(e.x,e.y);break;
case "emea":e=z.rK(z.ZXa,new a.V(b,c));e=z.i6(e.x,e.y);break;case "latinAmerica":e=z.rK(z.wYa,new a.V(b,c));break;case "usaAndCanada":e=z.rK(z.$Ya,new a.V(b,c));e=z.bha(23,-96,20,60,e.x,e.y);break;case "worldRegions":e=z.P2a(b,c);break;case "usa":e=z.hHb(b,c);break;case "world":e=z.P2a(b,c)}return e?e:new a.V(b,c)};z.hHb=function(b,c){var d;return z.Yta.Ui(b,c)?(d=z.Qx(z.ZSa,z.Yta),d.dI(),d=d.Kf(new a.V(b,c)),z.i6(d.x,d.y)):z.zua.Ui(b,c)?(d=z.Qx(z.mYa,z.zua),d.dI(),d.Kf(new a.V(b,c))):z.Bz.Ui(b,c)?
(d=z.Qx(z.ZYa,z.Bz),d.dI(),d=d.Kf(new a.V(b,c)),z.fHb(new a.V(-95,36),d.x,d.y)):new a.V(b,c)};z.P2a=function(b,c){var d=z.Qx(z.bZa,z.Bz);d.dI();d=d.Kf(new a.V(b,c));return z.gHb(d.x,d.y)};z.eHb=function(b,c){var d;d=z.Jua.Ui(b,c)?z.Qx(z.Iua,z.Jua):z.Qx(z.mXa,z.Bz);d.dI();d=d.Kf(new a.V(b,c));return z.i6(d.x,d.y)};z.rK=function(b,c,d){b=z.Qx(b,z.Bz);if(d){var e=new a.dc;e.rotate(d);b=z.m0a(b,e)}b.dI();return b.Kf(c)};z.bha=function(b,c,d,e,g,h){c=z.eo(c);b=z.eo(b);d=z.eo(d);e=z.eo(e);e=.5*(Math.sin(d)+
Math.sin(e));d=Math.pow(Math.cos(d),2)+2*e*Math.sin(d);b=d-2*e*Math.sin(b);b=Math.sqrt(b)/e;var l=Math.sqrt(g*g+(b-h)*(b-h));return new a.V(z.g2(c+Math.atan(g/(b-h))/e),z.g2(Math.asin((d-l*l*e*e)/(2*e))))};z.i6=function(b,c){return new a.V(b,z.g2(2*Math.atan(Math.exp(z.eo(c)))-.5*Math.PI))};z.fHb=function(b,c,d){c/=z.cS;d/=z.cS;var e=z.eo(b.y),g=Math.sqrt(c*c+d*d),h=Math.asin(g);return new a.V(z.g2(z.eo(b.x)+Math.atan(c*Math.sin(h)/(g*Math.cos(e)*Math.cos(h)-d*Math.sin(e)*Math.sin(h)))),z.g2(Math.asin(Math.cos(h)*
Math.sin(e)+d*Math.sin(h)*Math.cos(e)/g)))};z.gHb=function(b,c){var d=Math.floor(Math.abs(c)/5);d>=z.ju.length-1&&(d=z.ju.length-2);var e=(Math.abs(c/180)-z.ju[d][1])/(z.ju[d+1][1]-z.ju[d][1]),g=5*e+5*d,d=b/(z.ju[d][0]+e*(z.ju[d+1][0]-z.ju[d][0]));0>c&&(g*=-1);return new a.V(d,g)};a.l.D(C,a.Aa);C.prototype.Init=function(b,c,d){C.C.Init.call(this,b,c,d);this.jt=c.jt;this.ou=c.uc();this.wFb=a.l.gj(c,c.jEa);this.uFb=a.l.gj(c,c.Qka);this.qNb=a.l.gj(c,c.CIa);this.Gz=this.Hz=this.YK=null;this.s1a=this.r1a=
!1;this.Qa=c.wA()};C.prototype.cJa=function(a){this.r1a=a;this.Gz&&this.Gz.Oo(a)};C.prototype.dJa=function(a){this.s1a=a;this.Hz&&this.Hz.Oo(a)};C.prototype.I3=function(b){if(this.jt&&"none"!=this.jt){var c=a.ab.O(this.Qa,a.Aa.WQ,0);this.YK=a.X.DRb(this.j(),this.ou,this.Qa);this.YK.Ow(this.qNb,this);this.YK.gq(a.F.Ca(a.F.ei,"CONTROL_PANEL_RESET"));this.Ib.ub(this.YK,this.YK);b.u(this.YK);this.Gz=a.X.nRb(this.j(),this.ou,this.Qa);this.Gz.Ow(this.uFb,this);this.Gz.gq(a.F.Ca(a.F.ei,"CONTROL_PANEL_DRILLDOWN"));
this.Ib.ub(this.Gz,this.Gz);this.Gz.la(c);this.Gz.Oo(this.r1a);b.u(this.Gz);this.Hz=a.X.oRb(this.j(),this.ou,this.Qa);this.Hz.Ow(this.wFb,this);this.Hz.gq(a.F.Ca(a.F.ei,"CONTROL_PANEL_DRILLUP"));this.Ib.ub(this.Hz,this.Hz);this.Hz.la(2*c);this.Hz.Oo(this.s1a);b.u(this.Hz)}};C.prototype.ty=function(a,b){var c=C.C.ty.call(this,a,b);!c&&this.Mb()&&("drillDown"==a&&this.Gz&&this.Gz.isEnabled()?c=this.Gz:"drillUp"==a&&this.Hz&&this.Hz.isEnabled()?c=this.Hz:"reset"==a&&this.YK&&this.YK.isEnabled()&&(c=
this.YK));return c};a.ia(a,"AmxThematicMap",a.Wk);a.ia(a.Wk,"newInstance",a.Wk.newInstance);a.ia(a.Wk.prototype,"render",a.Wk.prototype.xa);a.ia(a.Wk.prototype,"getDomElementForSubId",a.Wk.prototype.ji);a.ia(a.Wk.prototype,"getSubIdForDomElement",a.Wk.prototype.j$);a.ia(u,"getLayerIds",u.$Ub);a.ia(a,"ThematicMap",a.nb);a.ia(a.nb,"newInstance",a.nb.newInstance);a.ia(a.nb.prototype,"updateLayer",a.nb.prototype.W4b);a.ia(a.nb.prototype,"destroy",a.nb.prototype.Ea);a.ia(a.nb.prototype,"getAutomation",
a.nb.prototype.Di);a.ia(a.nb.prototype,"highlight",a.nb.prototype.Af);a.ia(a.nb.prototype,"processDefaultHoverEffect",a.nb.prototype.CA);a.ia(a.nb.prototype,"processDefaultSelectionEffect",a.nb.prototype.VL);a.ia(a.nb.prototype,"processDefaultFocusEffect",a.nb.prototype.rF);a.ia(q.prototype,"getDomElementForSubId",q.prototype.ji);a.ia(q.prototype,"getData",q.prototype.getData)})(dvt);