-
Notifications
You must be signed in to change notification settings - Fork 45
/
zingchart.min.js
8 lines (7 loc) · 852 KB
/
zingchart.min.js
1
2
3
4
5
6
7
8
/*
All of the code within the ZingChart software is developed and copyrighted by ZingChart, Inc., and may not be copied,
replicated, or used in any other software or application without prior permission from ZingChart. All usage must coincide with the
ZingChart End User License Agreement which can be requested by email at [email protected].
Build 2.9.15
*/
if(typeof(ZC)==="undefined"){var _window_onunload_,A9R=(window.ZC={AV:function(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},VERSION:"2.9.15",VERSIONID:"2.9.15.2024.09.10",LICENSEKEY:"",ABX:!1,CHARTS:["null","null3d","line","line3d","vline","area","area3d","varea","bar","bar3d","vbar","vbar3d","hbar","hbar3d","scatter","hscatter","bubble","hbubble","pie","pie3d","ring","ring3d","nestedpie","mixed","mixed3d","hmixed","radar","bullet","vbullet","hbullet","funnel","vfunnel","hfunnel","piano","heatmap","stock","range","vrange","gauge","venn"],EQUIV:{floatbar:["vfloatbar","hfloatbar"],boxplot:["vboxplot","hboxplot"],waterfall:["vwaterfall","hwaterfall"],populationpyramid:["population-pyramid","pop-pyramid"],bubblepie:["bubble-pie","bubblepie"],bar:["column","vbar"],radar:["polar","radar"],stream:["vstream"]},ALIAS:{ring:"pie"},execFn:function(e,t){var i=[].slice.call(arguments).splice(2);return ZC.evalFn(e,t).apply(t,i)},eval(e,t){for(var i=e.split(/\.|\[/gi),n=0;n<i.length;n++)"]"===i[n].charAt(i[n].length-1)&&(i[n]=i[n].substring(0,i[n].length-1),'"'===i[n].charAt(0)&&'"'===i[n].charAt(i[n].length-1)&&(i[n]=i[n].substring(1,i[n].length-1)),"'"===i[n].charAt(0))&&"'"===i[n].charAt(i[n].length-1)&&(i[n]=i[n].substring(1,i[n].length-1));for(e=i.pop(),n=0;n<i.length;n++){if(null===ZC._n_(t[i[n]]))return null;t=t[i[n]]}return t[e]},evalFn:function(e,t){for(var i=e.split("."),e=i.pop(),n=0;n<i.length;n++)t=t[i[n]];return t[e]},cache:{data:{},size:0,add:function(e,t){ZC.cache.data[e]=t,ZC.cache.size++,2048<ZC.cache.size&&(ZC.cache.data={},ZC.cache.size=0)}},DEBUG:0,TS:{},MAX:Number.MAX_VALUE,IMG404:[],BLANK:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",TTLOCK:!1,REFRESH_TICK:{},ASYNC_TICK:[],COLORS:[],SEQ:0,LOGO_ABOUT:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAAA1CAYAAABBVQnbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABu1JREFUeNrsXLFy4zYQBW9UR7wfSHh1iqMn6S3NxLXlLp3lL5D1ARlLkw+Q/QWiu3TW1Sqk65M5ukh9vPzAUV+gLMilDUMgAYigZUm7MzAliiDBxcPu2+XS3nq9ZiQkdaTF/3iet/UJ/vjr5wKFyz9//7dLKj0u4UboHamBpK54HEm2lgisTwgbH78ucBtDG+LnFKxSTOo9DkvU2rLvBFpH2hcKgFpCI9d2JELujMQNsd5CRFdVWKRU2G/syv7+hQWw6ePX6Nd/WELTcgScyGV0BiDqCG6wCyBa0rRQdEZC7sxaxri1ckNggRYKcr6A/ZlVA4tExPxYQAQubERqJBDtSu6hfYb2k0isoX2ztWoke06s6woRayLWJCQ5kkhIyBKR7FQIRCQEIpJjCPFn/xWR15D1fqTyEALRVtLBrU/qJhDZWB8OmFDaG8J+vk3JIhGITEQsUCtkgtslo4K1wwMRxPoBbAIXJ/Q8b3mQmpqvevD3VGFhuVV95PaXnbXTkr6h5M7j0mP3UDxMNo6g3TgCkSe5tiKb2QU3ttxD8PRRN7pFxkFxB+AYKc4hVyx04biDWGx1aqwPX+Yrbjmm0HqGPfwMbPPVOYIkPRA9yAZmYwG8Boi6gtnfJ1koXBeXhD1XGagDCN53vuoeksvabYi/ny5sogAHv4/xhhvK+c5UOj7E1Ts8BhC5zljv/8qbrzh3uZb2RgAeNY85a8dobWVLe40u8TgsEXDhEZJrHYnq46rTuS4XhK0nrW7uQmYw1lTTL5R4jFE/QQYK91VtUbjbmq8u4NNX2Q6zvNCuind1hPtMMot31k4MwB5iv0CylvaRXz6O3tO5VMGBLjozKUrDyVmw8szzFZwnEo5X1VA/RW9rdQ3KGBUxLYmGuHKG4nWk8aleqiz6XSFA5N/HuIgKZX6X7wuUGhlOxoME4FvoO1RGZ88uT6XPKAOuCgxm0aK6/8txLDPrukmci/EtDO54vP7th1HL0CpYAaiGnGtSDVnEBONJ4Xozi/Hx/Q9MX3bb2wCfKYByGWZhvt69T0pIeyF9/P1EAsGUPZcSM03/Hhx/UmnVcu533TixhgnyNRM0dgQgplGsPAkzYXwPzOzZnC7X81FBps0ln7DE4j7FFz7lhGSYWZ0CxLkF6pdEiin27WykHHILXKaLTuPRmQGAoidX8LoScOsD145xJQUVRD+2UJYM4scG7+Gly8ldqZxWOBc41UBB9q8UPEmcr54GRIXwBXn/ZDnzAMIzyhNVVTYKAAorAHTVgHL5pHOS+gEVkGqUcFnmWmB876F18Vzb5KmaijbjDAAiZ8k/jxVuWAXwZANAz5HirKR/mfBxXECbZeDYIpPe0riMsGKim8qBXMDEFy4hQv6tighD+C0usUJLOMetQOYTOFYVPe0KRHcl7nAGK98k8k0dUIKCXNemIq0SK1RF4LK8iEXIbCMzAUCi37flOJ8UUWGCoLNRctAQiBLrHioLkbvAIswP0CoHtcFcF0Sg6FEFgNIGAeSSg8RbWhZ5ctuW+ZZAmsQUXYwbyUHTR67kghQvnYMIk4k3OwKQS/Edgdh2omT9RRXE1hZAfaQYvmbx+MbWyNGzvXcSgKYaAL21h6hpRb5JFSiEliszxIjHVE6l798cAShQAChBIt7N8klnbQ/aCdvBK+hFUVqR7S1l8G8QQJznxCUvX/Zg/5005onWQnHXM18l0kq+wWjRZKI7TbgLtHD+i5CcR1RvRAp3VpUL4qt9AJMyMDznvcPkoxEZZ5uZ5iw9AWPm41ihhTB1TWPJIvdeJP3KZbrBr9wVnn20IMTBrkDka/iFDTf4/Mr3cMfUhWN83PYpfQ6W+epSuudpRmrP2rclZFf1zG7cIMfzS6zh9SuAyLfJE+2F8JpusDi3zMEzINF9Q/siKWwCkzRAy/coWIi+QrFO8i/SwpRBHeB1YixfuVRG1TmnSxwWyN0IJS7c9S8PojwWgDREblQFpIiZPi/iz8B4ZeKmmw8MwBobcSg7iaSoz3/isOXJyUK+sHpv2CQbwcaz686qLg7mNWoOJJY/9b5FpaWogBlGlnahdp7f+WBJjiPWRH11/mDXZPwp3r/La0dM88io1YD/LpR+r+FHY4MQWwxllcdiZClai09I7uPapDMHQ1dwFx3FORIcy11FYlHWRWKol0Tiavz8A+SAvgCcGK8xwwI50SqLlQK6OSmTLrrKU+m6yyJ/stcWCMb/sFaLLx3XKTmuZ31RzkdyTnL0khU17vrf7Tm4iT5TJ0kTXHlc2iUEmBe3vSco1APRIVgiH9rX9XbSJxgQiIob4WUh3y0BNCEIEIhUFmlqACbOoTo0/cSJtJZJwX8O959NvAUQkZDUkf8FGADBt38P1SQKxwAAAABJRU5ErkJggg==",IMAGES:{"zc.logo":"data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAA8CAYAAABbyDl1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACGZJREFUeNrsXF9oFEccno2XRE1SI9ZQLcY0oIW21miQKoi5UPtiK7m+1GKhuWDrg7Z4+lILihGF6oueUH2w2pwFxT71gtonWy9SUJDEmKK0CvGikGtjg4mJ5p9xOt8mt5ndm93bTfaS3DkfLGxu525nZ779/b7vN6MKpZRISDhBlhwCCafwTLcO/XchRDsvhtTzeR/5yasb/YqcJkkaSwzGoqS3sUE9Lyj3yhmS6Uki4yNN7PFftH+oRz1/o2iVTBMSKhQr9/Tj7zU0+uiGel5TWZcS4vAaRk1P7VGWotrU85wFi0nOwhLtmtQ4UtMkaJjEa20agaTGkZpGIlPS0/2OGzTacUP7++b9MOl61q6el5VUkbl5r2vXKt/Z5lqa6GmMaJ3ovBAinRfPjKajajJvo5+PNDI1Tbf0BMJcuX1C2LA5Wq/7m5HGtU7wZOAJBD0jiSLTk0SmRZqSolWkkmyzlZ4kpKaZMsttpXFkapKWe1waR0JqGolMT09yGUHCMWkkJGR6kpCkkZCkkZCkkZCkkZCQpJGQpJGQpJF4yUnj/aOD4pDDnRmYlAXLhs4BOdIy0ki8zEjZ2hPSkVmEqZiXSyJri+QCaCakp9pTZyfMoNovPssYMjT3DNPI4+ck/Oh5wrVCj0J88z3EvzDH9HlrWwe08awtzc2YcdEiTaSphVZu/3bCP3jl+HfEu/Jd3QAp9Q/Vm9CqRWkzcP7bffRMbChpuznstfMvyCHBN2fqno2RjVY2Phsbl/LZxDvXM+2fH/3WsoVJfz1EIiG6+G49I2399oJuNwtCxx4OksJshWZCNDEQnYqIMymkgYZJFxgJs5gFkEBxDikrmKF91jVE1ZTFR6L9rQOkZKZCrdKVtNxOQl6aiF5GGMoTpnpBNgm9PUvYd19RNtMz2WpU6h6VPIG7/dA4L48Qhg5heiRpTG6+20p2HvtBeK16w/sJeiZdgFxezwleaBUzwvA5n6UkuvPugJaqoIWSfS+jIo2dCfd9c1BIrIoVy0ho7y7t+6FLlyk7dG3KlpaSYGCr2sa7bTe1e02977rVJPCpz7R/4YZrNHz1GonGOsYcTkEe8W9YT3wVaxSr+wHBB4N651NqL6UGinMV9l0tQsFtOXVkcGK4H0uBwucLPhigzT0vSLT/hdDFeefOUPthvBZqH6TR0X6hDUge7hiiIZZWu5jebXg8rAr0aB9+O3FaQ+1D7HmGKf99x+mp7POvaHfv04TPly95g0ROHNJ1Ohr7lzTc/NP0t0TXQLRA8CQR3QPta0+fo5HjhzDhip7IB2j91evC++DzfVs2U6u+qO24SRzRMfZFbXj5bHUSrAAdVHa9l97qfWF6/5vv5VEjcQJ/91MI7WR9j/ZRanRwIAeIoYKRkpGDIoV2G3ita8dB5x7Z9xlp1NMsJ4S5de++kDDNP30/4XAMkpkRRnMq7BojiP4tPB82JYwmUk+fs20zVRLOz3bUd0w03sL4IbTwd/qIGWF4EW6s8yQjTBxox9eFBBGO1NxJJEzKhLAZYebk57lCGKDtnw7b7ZCKkHLUgU1CCHt6ZtigVWa4rgMwWSJhzUcfpDikDyayldG0pLWrmu9BRFOs6klob5ZW45EUUZQX6yB5pHyMBsrlJzRZbSkpafwHjpgSBqnCTeA3Q3t2qlpEDfssghz7uT7xrbnXCp2CyJSQLhe/VkTCh/dqKYwJd+o/eISInsEMhdnu61hMlkggN6/OV/iJamYE8hWNRD8+KogIo6YW9puMNDROzGSFyOjaAiWlkQaEOfPrb6aEMWqLiSKwqYrEI8ioMAdpTENupKklsc8frtf1C+dM8LpS7Z4I7AprPgKguBYXu2aA2LX7m8GlM1Nbp8FbLCKMyvrDe1wnjDqwgnUruDIzESuKHqLfGHWFU7qfp2SW8w0FVssOiETQKUzH2IviWO5wqfAoJA1cjCgtAHUsfaRrLcZ0QvWmQ9U4cadgB7DRvHtyc40JGgf2PG63RS7HplhPTZ0mTpiag0dNCcPCf8YVrowDijfYCZgY1Tkjuv4VdyIvc0P7TSIJNBKIDTKNl0jjRZaxQGZGmH1bNk87wkD0iop8dj4zWuY5HnHNxg54wlS45LyQfnjCwD3BzTBCKjggaCGCnURE10kz4jLEhMHywHTcJ4OqbsLbefqsrc8SNFyxXqh6G5/a0kBGIVqW7w5p+Ap13G5Pl60VY2tP23ebFtYgiNlhaxARkSaLYL51a4ixsAdxXPjBJ7RsSalmz60Khpy7UVCuj9tWhHxUY41VVkEK0U92kvZ2oddI5kTsGqJTF2nsDOx0A9KlKEXhWeC4cDh5LqMtRpUVxDFLH4WRJ7pV8R2LUrPCjXUn00gXG0zZ+JoRMu03lkd/qVNQN7LC0R1f2qsTFecq+wTEATmQruIHqrjYrMQX05bnZ7kWZUYd2Fikjw2p6RJOCmTFgUow+mUs6KHNRO7LazssfcSfmU/DGfGvEVBorFq3Wnhtx6Yqy9VxUZqqe0tfBMPEIF3FD+MaEpYHUNl1tWbF+sFPIO77cUufurMOB4iEfoGsPNDGag0qacrn1t345+ZXwTNiuycKjVg6UAnU1DK2x3Wc9SQUwZijotArVk4Kk4qU5mRF3NHLUJ5HzPoAy417o6+IBG7ZbjiyQo9iuVCa1v99GggSadJXi70rlyWQBc5wRfXX4xbsoje3ZGThb9LcDL8Sj2UF4xYKOxvCXXdPaalnYh0J2x5Cl4qgc/RaJXhS6LycpIqpftZkRJhMO572/1Ej7LVT54f1LOOmMYlxWO50RTCw1Zk7YE7L6XckMizSxLVN7alzJNmWTuwyDO3ZlZIVekmadI4858O0S5CuoGEkWSRpJKSmkUgX/C/AAC1LYqunMJ6bAAAAAElFTkSuQmCC"},hosted:!1,adapter:"",flash:null,canvas:null,svg:null,vml:null,move:!1,objmove:!1,compat:function(){ZC.flash=ZC.canvas=ZC.svg=ZC.vml=!1;var e=!!document.createElement("canvas").getContext,t=!1,e=(e&&(t="function"==typeof document.createElement("canvas").getContext("2d").fillText),ZC.canvas=e&&t,ZC.svg=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"),document.body.appendChild(document.createElement("div"))),t=document.createElement("zcv:shape"),t=(t.className="zcvml",t.setAttribute("id","vml_flag1"),t.setAttribute("adj",new Object),e.appendChild(t),t.style.behavior="url(#default#VML)",ZC.vml=!t||"object"==typeof t.adj,e.parentNode.removeChild(e),!1);navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]?t=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:document.all&&-1===navigator.appVersion.indexOf("Mac")&&(t=new Function('try { var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj) { xObj = null; return true; } } catch (e) { return false; }')()),ZC.flash=t?1:0},quirks:!(document.compatMode&&"CSS1Compat"===document.compatMode),ie67:!!/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<8,ie678:!!/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<9,mobile:/Mobile|BlackBerry|Opera Mini|PPC|Windows CE|Android/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&0<navigator.maxTouchPoints||"iPad"===navigator.platform,ipad:/iPad/.test(navigator.userAgent),iphone:/iPhone/.test(navigator.userAgent),websockets:"WebSocket"in window,webstorage:"sessionStorage"in window,RM:[],WJ:[],E5:[0,0],ACJ:null,_cp_:function(e,t,i,n,a,l){null===ZC._n_(i)&&(i=!0),null===ZC._n_(n)&&(n=!0),null===ZC._n_(a)&&(a=!1),l=l||[],0===zingchart.DEV.COPYVALUES&&l.push(ZC._[5]);var o,r=l.length;for(o in e)if(0===r||0<r&&-1===ZC.AV(l,o))if(e[o]instanceof Array){if(n){null!==ZC._n_(t[o])&&("override"===o||a)||(t[o]=[]);for(var C=0,s=e[o].length;C<s;C++)t[o].push(e[o][C])}}else e[o]instanceof Object&&!(e[o]instanceof Function)?n&&(null===ZC._n_(t[o])&&(t[o]={}),t[o]instanceof Object)&&!(t[o]instanceof Function)&&ZC._cp_(e[o],t[o],i):null!==ZC._n_(t[o])&&!i||(t[o]=e[o])},_cpa_:function(e,t){t=t||[];for(var i=0,n=e.length;i<n;i++)t.push(e[i])},_inj_:function(e,t){var i={};ZC._cp_(e,i),ZC._cp_(t,e),ZC._cp_(i,e)},_todash_:function(e,t,i){if("dashed"!==zingchart.SYNTAX){typeof t===ZC._[31]&&(t=!0);var n,a,l,o=(i=i||[]).length;for(l in e)if(e.hasOwnProperty(l)&&(0===o||0<o&&-1===ZC.AV(i,l))){var r=l.substring(0,1);if("."!==r&&"#"!==r)if(e[l]instanceof Array)if(ZC.US(l)!==l){for(e[ZC.US(l)]=[],n=0,a=e[l].length;n<a;n++)ZC._todash_(e[l][n]),e[ZC.US(l)].push(e[l][n]);delete e[l]}else for(n=0,a=e[l].length;n<a;n++)ZC._todash_(e[l][n]);else e[l]instanceof Object&&!(e[l]instanceof Function)?(ZC.US(l)!==l&&(e[ZC.US(l)]={},ZC._cp_(e[l],e[ZC.US(l)]),delete e[l]),t&&ZC._todash_(e[ZC.US(l)],t,i)):ZC.US(l)!==l&&(e[ZC.US(l)]=e[l],delete e[l])}}},ZR:function(e,t){for(var i in e){var n;if(e.hasOwnProperty(i))if((n=i.replace(t+"-",""))!==i)if(e[n]=e[i],e[i]instanceof Array)for(var a=0,l=e[i].length;a<l;a++)ZC.ZR(e[i][a],t);else e[i]instanceof Object&&!(e[i]instanceof Function)&&ZC.ZR(e[i],t)}},AA2:function(e){for(var t="",i=0,n=e.length;i<n;i++){var a=i%2==0?i:e.length-i;t+=e.substring(a,a+1)}return t=t.replace(/\./g,"d")},AD6:function(e){return e=(e=(e=e.replace("*","&")).replace("9","3")).replace("l","1")},AA3:function(e){return e.replace(/[a-zA-Z]/g,function(e){return String.fromCharCode((e<="Z"?90:122)>=(e=e.charCodeAt(0)+13)?e:e-26)})},AC7:function(e,t){var i=ZC.X4(ZC.ABZ(e)),n=ZC.X4(ZC.A2E(t)),a=i.length;if(0===a)return"";for(var l,o=i[a-1],r=i[0],C=2654435769,s=Math.floor(6+52/a)*C;0!==s;){for(var A=s>>>2&3,Z=a-1;0<Z;Z--)l=((o=i[Z-1])>>>5^r<<2)+(r>>>3^o<<4)^(s^r)+(n[3&Z^A]^o),r=i[Z]-=l;l=((o=i[a-1])>>>5^r<<2)+(r>>>3^o<<4)^(s^r)+(n[3&Z^A]^o),r=i[0]-=l,s-=C}return decodeURIComponent(ZC.AC0(ZC.A60(i)))},AG2:function(e,t){e=encodeURIComponent(e);var i=ZC.X4(ZC.A2E(e)),n=ZC.X4(ZC.A2E(t)),a=i.length;if(0===a)return"";1===a&&(i[a++]=0);for(var l,o=i[a-1],r=i[0],C=Math.floor(6+52/a),s=0;0<C--;){for(var A=(s+=2654435769)>>>2&3,Z=0;Z<a-1;Z++)l=(o>>>5^(r=i[Z+1])<<2)+(r>>>3^o<<4)^(s^r)+(n[3&Z^A]^o),o=i[Z]+=l;l=(o>>>5^(r=i[0])<<2)+(r>>>3^o<<4)^(s^r)+(n[3&Z^A]^o),o=i[a-1]+=l}return ZC.ABY(ZC.A60(i))},X4:function(e){for(var t=new Array(Math.ceil(e.length/4)),i=0;i<t.length;i++)t[i]=e[4*i]+(e[4*i+1]<<8)+(e[4*i+2]<<16)+(e[4*i+3]<<24);return t},A60:function(e){for(var t=[],i=0;i<e.length;i++)t.push(255&e[i],e[i]>>>8&255,e[i]>>>16&255,e[i]>>>24&255);return t},ABY:function(e){for(var t="",i=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n=0;n<e.length;n++)t+=i[e[n]>>4]+i[15&e[n]];return t},ABZ:function(e){for(var t=[],i="0x"===e.substr(0,2)?2:0;i<e.length;i+=2)t.push(parseInt(e.substr(i,2),16));return t},AC0:function(e){for(var t="",i=0;i<e.length;i++)0!==e[i]&&(t+=String.fromCharCode(e[i]));return t},A2E:function(e){for(var t=[],i=0;i<e.length;i++)t.push(e.charCodeAt(i));return t},_i_:function(e){return-1!==String(e).indexOf("e-")||""===(e=String(e).replace(/[^0-9\.\-]/gi,""))?0:Math.round(e)},_f_:function(e){return e=parseFloat(e),isNaN(e)?0:e},_x_:function(e,t){return typeof t===ZC._[31]&&(t=2),parseFloat(Number(e).toFixed(t))},_a_:function(e){return Math.abs(e)},_b_:function(e){return"false"!==e&&"0"!==e&&!("true"!==e&&"1"!==e&&!e)},_p_:function(e){var t=(e=String(e).replace(/[^0-9\.\%\-]/gi,"")).indexOf("%");return-1!==t&&(e=e.substring(0,t),e=ZC._f_(e)/100),e},_h_:function(e){return window.toStaticHTML?window.toStaticHTML(e):e},_n_:function(e){return null===e||typeof e===ZC._[31]?null:e},_c_:function(e,t){return null===e||typeof e===ZC._[31]?t:e},_ang_:function(e){return(e%=360)<0&&(e+=360),e},IO:function(e,t){return ZC._f_(e)+""==e+""?t?ZC._f_(e):ZC._a_(e):-1!==(e+="").indexOf("%")?ZC._f_(e.replace("%",""))/100:-1!==e.indexOf("px")?ZC._f_(e.replace("px","")):ZC._f_(e)},R1:function(e){return parseInt(e,16)},OZ:function(e){return ZC._i_(e).toString(16)},_r_:function(e,t){return parseInt(e+(t-e)*Math.random(),10)},_l_:function(e,t,i){return e=i<(e=e<t?t:e)?i:e},DS:function(e,t,i,n){return n?t<e&&e<i||i<e&&e<t:t<=e&&e<=i||i<=e&&e<=t},BR:function(e,t){return Math.max(e,t)},CY:function(e,t){return Math.min(e,t)},A1U:function(e,t){null===ZC._n_(t)&&(t=!1);for(var i=0,n=e.length,a=-Number.MAX_VALUE;i<n;i++)t&&0==e[i]||(a=Math.max(a,e[i]));return a},Y4:function(e,t){null===ZC._n_(t)&&(t=!1);for(var i=0,n=e.length,a=Number.MAX_VALUE;i<n;i++)t&&0==e[i]||(a=Math.min(a,e[i]));return a},_rcolor_:function(){for(var e=(16777215*Math.random()+1<<0).toString(16);e.length<6;)e="0"+e;return"#"+e},A1X:function(e,t){for(var i,n=ZC._f_(t),a=Number.MAX_VALUE,l=0,o=0,r=e.length;o<r;o++)(i=Math.abs(ZC._f_(e[o])-n))<a&&(l=o,a=i);return l},AGF:function(e){e=e.split(".");return e[e.length-1]||""},GY:function(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},FU:function(e,t){return t=t||Math.E,isFinite(Math.log(e)/Math.log(t))?Math.log(e)/Math.log(t):0},U4:function(e){return 360*e/(2*Math.PI)},TD:function(e){return 2*e*Math.PI/360},EF:function(e){return Math.cos(ZC.TD(e))},EL:function(e){return Math.sin(ZC.TD(e))},PH:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},EH:function(e){return-1!==e.indexOf("-")?e.replace(/(\-[a-z0-9])/g,function(e){return e.toUpperCase().replace("-","")}):e},US:function(e){return e.toUpperCase()!==e&&-1===e.indexOf("-")&&e.substring(0,1).toLowerCase()===e.substring(0,1)?e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}).replace(/([0-9]+)/g,function(e){return"-"+e.toLowerCase()}).replace("-3d","3d"):e},AGG:function(e){return ZC.XR.md5(e)},AL:function(e){return document.getElementById(e)},A1Q:function(e,t){return e[0].length<t[0].length?1:e[0].length>t[0].length?-1:0},ZS:function(e){window.setTimeout(e,zingchart.TIMEOUT)},_fixed_:function(e,t){return 0<=t&&t<=20?e.toFixed(t):""+e},_nfind_:function(e,t,i,n){var a=t.S[i].BV,l=t.S[n].BV;if(e==a)return i;if(e==l)return n;var o=ZC._i_((i+n)/2);if(!t.S[o]){for(;!t.S[o]&&o<n;)o++;if(o===n){for(o=ZC._i_((i+n)/2);!t.S[o]&&i<o;)o--;if(o===i)return null}}a=t.S[o].BV;return o!==i&&o!==n?e==a?o:a<e?ZC._nfind_(e,t,o,n):ZC._nfind_(e,t,i,o):e==a?o:null},_tx_:function(e){var t,i=[1,1,0,0];if(zingchart.DEV.LOOKUPCSSTRANSFORM&&!ZC.vml&&ZC.AL(e)){for(var n=ZC.AL(e),a="";n&&(""===a||"none"===a);)a=ZC.A3(n).css("transform")||"",n=n.parentNode;-1!==(e=a.indexOf("matrix("))&&(t=a.indexOf(")",e),t=a.substring(e+7,t-e).split(","),i=[ZC._f_(t[0]),ZC._f_(t[3]),ZC._f_(t[4]),ZC._f_(t[5])])}return i},Utils_SetupFormat:function(e,t){return ZC.AO.OA(e,t)},Utils_Format:function(e,t,i,n){return ZC.AO.G5(e,t,i,n)},Loader_Api_Loader_Info:function(e){return e.FH()}},ZC.hasPassive=!1,ZC.SEC=1e3,ZC.MIN=60*ZC.SEC,ZC.HR=60*ZC.MIN,ZC.DAY=24*ZC.HR,ZC.MON=30*ZC.DAY,ZC.YR=365*ZC.DAY,ZC.MAPTX=0,window.JSON=window.JSON||{},JSON.stringify=JSON.stringify||function(e){var t=typeof e;if("object"!==t||null===e)return"string"===t&&(e='"'+e.replace("\\","\\\\").replace('"','"')+'"'),String(e);var i,n,a=[],l=e&&e.constructor===Array;for(i in e)"function"!=typeof e[i]&&("string"===(t=typeof(n=e[i]))?n='"'+n.replace("\\","\\\\").replace('"','\\"')+'"':"object"===t&&null!==n&&(n=JSON.stringify(n)),a.push((l?"":'"'+i+'":')+String(n)));return(l?"[":"{")+String(a)+(l?"]":"}")},JSON.parse=JSON.parse||function(L1){return""===L1&&(L1='""'),eval("("+L1+")")},ZC._=["background-color","angle-start","angle-end","graphid","line-width","values","-node-area zc-node-area","placement","slice","value","labels","series","decimals","thousands-separator","decimals-separator","-print-c","graphset","value-box","outer","width","height","size","-hover-c","enable-guide","zc-abs zc-layer","exponent-decimals","3d-aspect","x-angle","y-angle","z-angle",'" coords="',"undefined","~rgba(255,255,255,0)","~rgb(255,255,255)","-node-area ","-plotset-plot-","http://www.w3.org/2000/svg","http://www.w3.org/1999/xlink","skip_context_menu","skip_segment_tracking","skip_marker_tracking","skip_interactivity","use_fast_mode","use_fast_markers","use_single_canvas","If-Modified-Since","Thu, 1 Jan 1970 00:00:00 GMT","mousedown","mousemove","mouseup","scale-x","scale-y","scale-v","preservezoom","toggle-action","enable-animation","enable-preview","margin-top","margin-right","margin-bottom","margin-left","border-color","border-width","Network error","URL Data loader","loader.gui.context-menu","-menu-item-exitfullscreen","transform-date-format","transform-date","bg-image-width","bg-image-height","hover-state","background-state","selected-state"],!function(){var l=!1,o=/xyz/.test(function(){xyz})?/\bb\b/:/.*/;ZC.C6=function(){},ZC.C6.CD=function(e){var t,a=this.prototype,i=(l=!0,new this);for(t in l=!1,e)i[t]="function"==typeof i[t]&&"function"==typeof a[t]&&o.test(e[t])?function(i,n){return function(){var e=this.b,t=(this.b=a[i],n.apply(this,arguments));return this.b=e,t}}(t,e[t]):e[t];function n(){!l&&this.$i&&this.$i.apply(this,arguments)}return n.prototype=i,(n.constructor=n).CD=arguments.callee,n}}(),ZC.AAY=function(e){this.G=e,this.A9Z=function(e,t){var i,n=this,a=n.B6["theme-name"]||"",l=n.B6.palette;return null!==ZC._n_(t)&&null!==ZC._n_(l[t])&&(l=l[t]),null!==ZC._n_(t)&&null!==ZC._n_(n.B6["palette["+t+"]"])&&(l=n.B6["palette["+t+"]"]),ZC._b_(n.B6["cycle-palette"])&&(e%=l.length),null!==ZC._n_(l[e])?(t=l[e],null===ZC._n_(t[2])&&(t[2]=ZC.AO.PP(t[1],10)),null===ZC._n_(t[3])&&(t[3]=ZC.AO.PP(t[1],20)),null===ZC._n_(t[4])&&(t[4]="light"===a?"#FFF":ZC.AO.PP(t[1],30)),t):(l=["#00BAF2","#E80C60","#E2D51A","#9B26AF","#FB301E","#00AE4D","#20398B"],t=null!==ZC._n_(l[e-n.B6.palette.length])?l[e-n.B6.palette.length]:"#"+ZC.XR.md5(e).substr(e%20,6),l=ZC.AO.PP(t,10),e=ZC.AO.PP(t,20),a="light"===a?"#FFF":ZC.AO.PP(t,30),i="#FFF",[i=n.B6.palette&&n.B6.palette[0]&&n.B6.palette[0][0]?n.B6.palette[0][0]:i,t,l,e,a])},this.A47=function(e){e&&ZC._cp_(e,this.B6,!0)},this.AB0=function(e){null!==ZC._n_(this.NS[e])&&(ZC._todash_(this.NS[e]),ZC._cp_(this.NS[e],this.B6))},this.NS={},ZC._cp_(zingchart.THEMES,this.NS),this.NS.classic={"theme-name":"classic",palette:[["#fff","#6a921f","#a7da47","#89b92e","#89b92e"],["#fff","#007fa3","#00b0e1","#0392bb","#0392bb"],["#fff","#a62b02","#ef4810","#cc3300","#cc3300"],["#fff","#b79007","#f9c332","#da9b04","#da9b04"],["#fff","#563d02","#84680a","#6e4503","#6e4503"],["#fff","#0b32a0","#4d62b1","#1540a0","#1540a0"]],graph:{refresh:{curtain:{alpha:.5,"background-color":"#999",color:"#000","font-size":15,bold:1,text:"Loading..."}},"background-color":"#e1eaec #edf3f5",title:{"font-size":14,bold:1,color:"#fff","background-color":"#00bbf1 #05a0cd",padding:6},subtitle:{"font-size":11,bold:1,color:"#333","margin-top":30,padding:6},source:{"font-size":10,color:"#333",width:"100%",bold:1,"text-align":"right",height:20,margin:"auto 0 0 auto",padding:5},"no-data":{"font-size":12,color:"#333","text-align":"center","vertical-align":"middle",text:""},SCALE:{"font-size":11,"line-width":2,"line-color":"#3e6c7b",item:{flat:!0},"ref-line":{"line-width":1,"line-color":"#3e6c7b"},guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#2c4a59",alpha:.2},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#aaa",alpha:.1},tick:{visible:1,size:6,placement:ZC._[18],"line-width":2,"line-color":"#3e6c7b"},"minor-tick":{visible:1,size:4,placement:ZC._[18],"line-width":1,"line-color":"#3e6c7b"},label:{color:"#2c4a59",flat:!0}},"scroll-x":{bar:{height:16},handle:{height:16}},"scroll-y":{bar:{width:16},handle:{width:16}},legend:{"background-color":"#fff","border-width":1,alpha:.75,"border-alpha":.75,"border-color":"#666","shadow-distance":3,header:{padding:"4 6",color:"#fff","border-width":1,"border-color":"#3e6c7b","background-color":"#3e6c7b"},footer:{padding:"2 6","background-color":"#ccc","border-width":1,"border-color":"#666"},marker:{"border-color":"#333","border-width":1}},plot:{"value-box":{flat:!0},marker:{shadow:1,"line-width":1,"border-width":1},"hover-marker":{"line-width":1,"border-width":1}},guide:{"line-width":1,"line-color":"#999",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{padding:"3 6"}}},line:{plot:{"shadow-alpha":.5,marker:{size:4},"hover-marker":{size:5}}},area:{plot:{"shadow-alpha":.5,marker:{size:4},"hover-marker":{size:5}}},vbar:{plot:{"fill-angle":90,shadow:0}},hbar:{plot:{"fill-angle":180,shadow:0}},piano:{plotarea:{"mask-tolerance":[0,0]},plot:{shadow:0}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0}},hbullet:{plot:{"fill-angle":0,shadow:0}},scatter:{plot:{marker:{size:4},"hover-marker":{size:5}}},hscatter:{plot:{marker:{size:4},"hover-marker":{size:5}}},bubble:{plot:{marker:{"border-width":0},"hover-marker":{"border-width":0}}},hbubble:{plot:{marker:{"border-width":0},"hover-marker":{"border-width":0}}},pie:{plot:{"border-width":1}},nestedpie:{plot:{"border-width":1}},radar:{plot:{marker:{size:3},"hover-marker":{size:4}},"scale-k":{guide:{alpha:.5,"background-color":"#eee #ddd"}}},gauge:{"scale-r":{"background-color":"-1",guide:{alpha:.5,"background-color":"#eee #ddd"},item:{"offset-r":0},ring:{size:1,items:[{"background-color":"#999",alpha:.8},{"background-color":"#666",alpha:.8}]}}},vfunnel:{plotarea:{margin:"50 100"},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":0},"minor-guide":{"line-width":0}},"scale-y":{guide:{alpha:.25,"background-color":"-1 #58595B"}},"scale-y-n":{guide:{alpha:.25,"background-color":"-1 #58595B"}},plot:{"border-width":1}},hfunnel:{plotarea:{margin:"50 100"},"scale-x":{label:{angle:270}},"scale-x-n":{label:{angle:90}},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":0},"minor-guide":{"line-width":0}},"scale-y":{label:{angle:0},item:{"text-align":"center"},guide:{alpha:.25,"background-color":"#58595B -1"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"},guide:{alpha:.25,"background-color":"#58595B -1"}},plot:{"border-width":1}},range:{plot:{marker:{type:"circle",size:4},"hover-marker":{size:5}}},line3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":0,"line-width":1}},area3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":0,"line-width":1}},mixed3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":1}},vbar3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":1}},hbar3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":1}},pie3d:{plot:{"border-width":1}},"-":""},this.NS.light={"theme-name":"light",palette:[["#fff","#29A2CC","#29A2CC","#1089B3","#fff"],["#fff","#D31E1E","#D31E1E","#BA0505","#fff"],["#fff","#7CA82B","#7CA82B","#638F12","#fff"],["#fff","#EF8535","#EF8535","#D66C1C","#fff"],["#fff","#A14BC9","#A14BC9","#8832B0","#fff"],["#fff","#A05F18","#A05F18","#874600","#fff"],["#fff","#265E96","#265E96","#0D457D","#fff"],["#fff","#6B7075","#6B7075","#52575C","#fff"],["#fff","#96C245","#96C245","#7CA82B","#fff"]],graph:{refresh:{curtain:{alpha:.5,"background-color":"#999",color:"#000","font-size":15,bold:1,text:"Loading..."}},"background-color":"#ffffff",title:{"font-size":21,bold:1,color:"#414042","background-color":"none",padding:6},subtitle:{"font-size":11,bold:1,color:"#414042","margin-top":30,padding:6},source:{"font-size":10,color:"#414042",width:"100%",bold:1,"text-align":"right",height:20,margin:"auto 0 0 auto",padding:5},"no-data":{"font-size":12,color:"#333","text-align":"center","vertical-align":"middle",text:"No Data","background-color":"#BBBBBB",alpha:.8},SCALE:{"font-size":11,"line-width":1,"line-color":"#8C8C8C",item:{"font-size":12,flat:!0,color:"#808285"},"ref-line":{"line-width":1,"line-color":"#D1D3D4"},guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#DCDCDC",alpha:1},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#aaa",alpha:.1},tick:{visible:1,size:5,placement:ZC._[18],"line-width":1,"line-color":"#8C8C8C"},"minor-tick":{visible:1,size:3,placement:ZC._[18],"line-width":1,"line-color":"#A7A9AC"},label:{color:"#414042",flat:!0}},"scale-x":{normalize:!0,guide:{visible:!1}},scroll:{bar:{"background-color":"#F0F1F1",margin:1},handle:{"background-color":"#A7A9AC","border-radius":6}},"scroll-x":{bar:{height:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{height:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-y":{bar:{width:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{width:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-xi":{bar:{width:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{width:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-yi":{bar:{height:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{height:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},preview:{"background-color":"#fff","border-width":1,"border-color":"#A7A9AC",live:!0,mask:{"background-color":"#999"},active:{alpha:0},handle:{width:11,"border-width":2,"border-radius":3,"line-color":"#C6C6C6","border-color":"#A7A9AC","background-color":"#F0F1F1"},"handle-top":{height:11},"handle-bottom":{height:11}},tooltip:{shadow:1,"shadow-angle":45,"shadow-distance":1,"shadow-alpha":.25,"border-width":1,"border-color":"#fff","border-alpha":1},zoom:{"preserve-zoom":1,"background-color":"#929497"},legend:{"background-color":"#fff","border-width":1,shadow:0,"shadow-alpha":.2,alpha:1,"border-alpha":1,"border-color":"#cccccc",header:{padding:"5 0 5 10",color:"#222222","background-color":"none","border-width":0,"border-top":"0px solid none","border-bottom":"1px solid #cccccc"},footer:{padding:"5 0 5 10","border-top":"1px solid #cccccc"},icon:{"line-color":"#000000","line-width":1},marker:{"border-color":"#fff","border-width":1},"page-on":{"background-color":"#929497"},"page-off":{"background-color":"#D1D2D3"},scroll:{bar:{"background-color":"none","margin-top":3,"margin-bottom":3},handle:{"background-color":"#D1D2D3","border-top":"none","border-right":"none","border-bottom":"none","border-left":"none","border-radius":6,width:12,height:12}}},plot:{"value-box":{flat:!0},marker:{shadow:0,"line-width":1,"border-width":1},"hover-marker":{"line-width":1,"border-width":1},monotone:!0},guide:{"line-width":1,"line-color":"#8C8C8C",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{padding:"3 6"}}},line:{plot:{"line-width":2,shadow:0,marker:{size:4},"hover-state":{},"hover-marker":{size:5,"border-width":1}}},area:{plot:{"line-width":2,shadow:0,"alpha-area":.25,"background-color-style":"solid",marker:{size:4},"hover-state":{},"hover-marker":{size:5,"border-width":1,"border-color":"#fff"}}},vbar:{plot:{"fill-angle":90,shadow:0}},hbar:{plot:{"fill-angle":180,shadow:0}},piano:{plotarea:{"mask-tolerance":[0,0]},plot:{shadow:0},"scale-x":{guide:{visible:!0}}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0,goal:{"border-width":1,"border-color":"#fff",height:8}}},hbullet:{plot:{"fill-angle":0,shadow:0,goal:{"border-width":1,"border-color":"#fff",width:8}}},scatter:{plot:{"line-color":"%palette-0","border-color":"%palette-0",marker:{size:5},"hover-marker":{size:6}},"scale-x":{guide:{visible:!0}}},hscatter:{plot:{"line-color":"%palette-0","border-color":"%palette-0",marker:{size:4},"hover-marker":{size:5}},"scale-x":{guide:{visible:!0}}},bubble:{plot:{marker:{"border-width":1},"hover-marker":{"border-width":1}},"scale-x":{guide:{visible:!0}}},hbubble:{plot:{marker:{"border-width":1},"hover-marker":{"border-width":1}},"scale-x":{guide:{visible:!0}}},pie:{plot:{shadow:0,"border-width":1,"value-box":{placement:"in","font-size":16,text:"%node-percent-value%"}}},nestedpie:{plot:{"border-width":1}},radar:{plot:{shadow:0,"line-width":2,"background-color":"%palette-1","active-area":!0,marker:{size:4},"hover-marker":{size:5,"border-color":"#fff"}},"scale-k":{guide:{"line-width":1,"line-style":"solid","line-color":"#8C8C8C","line-segment-size":6,"line-gap-size":6,alpha:1,"background-color":"#fff #F7F8F8"},tick:{"line-color":"#8C8C8C","line-width":1,size:10}},"scale-r":{},"scale-v":{"ref-line":{"line-color":"#8C8C8C","line-width":1},tick:{"line-color":"#8C8C8C","line-width":1},guide:{"line-color":"#CDCDCD","line-width":1}}},gauge:{plot:{shadow:0},scale:{"size-factor":1},"scale-r":{aperture:270,tick:{size:11,"line-width":2},"background-color":-1,guide:{"background-color":"#fff"},ring:{size:8,"background-color":"#CDCDCD"},center:{size:20,"background-color":"#fff","border-width":6,"border-color":"#1089B3"}}},vfunnel:{plotarea:{margin:"50 100"},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":1,"line-style":"solid","line-color":"#CDCDCD","line-segment-size":6,"line-gap-size":6,alpha:1},"minor-guide":{"line-width":0}},"scale-x":{visible:!1,guide:{visible:0}},"scale-y":{guide:{"background-color":"-1",alpha:1}},"scale-y-n":{guide:{"background-color":"-1"}},plot:{"border-width":1,"border-color":"#fff",shadow:0,"hover-state":{"line-color":"-1","border-color":"-1"}}},hfunnel:{plotarea:{margin:"50 100"},"scale-x":{visible:!1,guide:{visible:0},label:{angle:270}},"scale-x-n":{label:{angle:90}},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":1,"line-style":"solid","line-color":"#CDCDCD","line-segment-size":6,"line-gap-size":6,alpha:1},"minor-guide":{"line-width":0}},"scale-y":{guide:{"background-color":"-1",alpha:1},label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"},guide:{"background-color":"-1"}},plot:{"border-width":1,"border-color":"#fff",shadow:0,"hover-state":{"line-color":"-1","border-color":"-1"}}},range:{plot:{marker:{type:"circle",size:4},"hover-marker":{size:5}}},line3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":0,"line-width":1}},area3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":0,"line-width":1}},mixed3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":1}},vbar3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":1}},hbar3d:{SCALE:{"line-color":"#ddd",tick:{}},plot:{"border-width":1}},pie3d:{plot:{"border-width":1}},venn:{plot:{"border-width":0,shadow:0,alpha:.75,"background-color":"%palette-1"}},root:{gui:{"context-menu":{visible:!0,width:"125px",padding:"5 0","background-color":"#595959","border-width":0,"border-color":"#595959",position:"left",button:{visible:ZC.mobile,alpha:0},gear:{"background-color":"#000",type:"hamburger",alpha:1},item:{"background-color":"#595959","text-align":"left",padding:"4 20 4 15","border-width":0,"border-color":"#595959","font-size":"12px",color:"#fff","hover-state":{"background-color":"#414141"}},separator:{"line-width":1,"line-color":"#969696"}},"context-menu[mobile]":{item:{padding:"6 10 6 6"}}}},"-":""},this.NS.light.graph["crosshair-x"]=this.NS.light.graph["crosshair-y"]=this.NS.light.graph.guide,this.NS.dark={"theme-name":"dark"},ZC._cp_(this.NS.light,this.NS.dark,!0,!0),ZC._cp_({graph:{"background-color":"#221F1F",title:{color:"#fff"},subtitle:{color:"#fff"},source:{color:"#fff"},SCALE:{"line-color":"#D1D3D4",item:{color:"#D1D3D4"},"ref-line":{"line-color":"#D1D3D4"},guide:{"line-color":"#58595B"},"minor-guide":{"line-color":"#58595B"},tick:{"line-color":"#D1D3D4"},"minor-tick":{"line-color":"#D1D3D4"},label:{color:"#D1D3D4"}},scroll:{bar:{"background-color":"#6C6D70"},handle:{"background-color":"#A7A9AC"}},"scroll-x":{bar:{"border-top":"0px solid none","border-right":"2px solid #D1D3D4","border-bottom":"2px solid #D1D3D4","border-left":"2px solid #D1D3D4"},handle:{"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-y":{bar:{"border-top":"2px solid #D1D3D4","border-right":"0px solid none","border-bottom":"2px solid #D1D3D4","border-left":"2px solid #D1D3D4"}},preview:{"background-color":"#221F1F"},tooltip:{"border-color":"#000"},legend:{"background-color":"#221F1F",header:{color:"#fff"},footer:{color:"#D1D3D4","background-color":"#414042","border-top":"0px solid none","border-right":"2px solid #A7A9AC","border-bottom":"2px solid #A7A9AC","border-left":"2px solid #A7A9AC"},icon:{"line-color":"#676667"},"page-status":{color:"#D1D3D4"},"page-on":{"background-color":"#D1D2D3"},"page-off":{"background-color":"#929497"},marker:{"border-color":"#000"},item:{color:"#D1D3D4"}},plot:{marker:{"border-color":"#221F1F"}},guide:{"line-color":"#D1D3D4","scale-label":{"background-color":"#929497"},"plot-label":{"background-color":"#221F1F",color:"#FFF","border-color":"#5a5a5a"}}},line:{plot:{"hover-marker":{"border-color":"#221F1F"}}},area:{plot:{"hover-marker":{"border-color":"#221F1F"}}},vbullet:{plot:{goal:{"border-color":"#221F1F"}}},hbullet:{plot:{goal:{"border-color":"#221F1F"}}},bubble:{plot:{marker:{"border-color":"#221F1F"},"hover-marker":{"border-color":"#221F1F"}}},hbubble:{plot:{marker:{"border-color":"#221F1F"},"hover-marker":{"border-color":"#221F1F"}}},pie:{plot:{"border-color":"#221F1F"}},radar:{plot:{"hover-marker":{"border-color":"#221F1F"}},"scale-k":{guide:{"line-color":"#58595B","background-color":"#221F1F #312F30"},tick:{"line-color":"#D1D3D4"}},"scale-v":{"ref-line":{"line-color":"#58595B"},tick:{"line-color":"#58595B"},guide:{"line-color":"#58595B"}}},gauge:{"scale-r":{guide:{"background-color":"#221F1F"},ring:{"background-color":"#57585B"}}},vfunnel:{SCALE:{guide:{"line-color":"#58595B"}},plot:{"border-color":"#221F1F","hover-state":{"line-color":"#58595B","border-color":"#221F1F"}}},hfunnel:{SCALE:{guide:{"line-color":"#58595B"}},"scale-y":{guide:{alpha:.25,"background-color":"#b6c8cf -1"}},"scale-y-n":{guide:{alpha:.25,"background-color":"#b6c8cf -1"}},plot:{"border-color":"#221F1F","hover-state":{"line-color":"#58595B","border-color":"#221F1F"}}},root:{gui:{"context-menu":{gear:{"background-color":"#FFF"}}}},"-":""},this.NS.dark,!0,!0),this.NS.dark.graph["crosshair-x"]=this.NS.dark.graph["crosshair-y"]=this.NS.dark.graph.guide,this.NS.mini={"theme-name":"mini",graph:{title:{width:"100%",padding:"1 2 2","font-size":10},subtitle:{width:"100%",padding:"1 2 2","margin-top":14,"font-size":9},plotarea:{width:"100%",height:"100%",margin:"18 4 4 4"},SCALE:{visible:0},tooltip:{shadow:0,"border-radius":7},legend:{visible:0},preview:{visible:0},guide:{"line-width":1,"line-color":"#ccc",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{"border-color":"#ccc","border-radius":5,padding:"3 6"}},plot:{shadow:0,"value-box":{visible:0},"hover-state":{visible:0},"hover-marker":{visible:0},"max-trackers":99999,"max-nodes":99999}},line:{plot:{"line-width":1,marker:{type:"none"}}},line3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},area:{plot:{"line-width":1,marker:{type:"none"}}},area3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},scatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},hscatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},bubble:{SCALE:{offset:15},plot:{marker:{"fill-type":"none",shadow:!1,alpha:.8},"min-size":3,"max-size":9}},hbubble:{SCALE:{offset:15},plot:{marker:{"fill-type":"none",shadow:!1,alpha:.8},"min-size":3,"max-size":9}},pie:{plotarea:{margin:"18 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":.95}},pie3d:{plotarea:{margin:"32 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":1}},nestedpie:{plotarea:{margin:"18 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":.95}},radar:{plotarea:{margin:"18 4 4 4"},plot:{"line-width":1,marker:{shadow:0,size:2}},scale:{"size-factor":.95}},vbar3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},hbar3d:{"3d-aspect":{depth:20,angle:45,"x-angle":0,"y-angle":-20,"z-angle":0,zoom:.9}},venn:{plotarea:{margin:"18 4 4 4"},plot:{"border-width":0}},gauge:{plotarea:{margin:"18 4 4 4"},plot:{indicator:[5]},SCALE:{visible:1},scale:{"size-factor":.9},"scale-r":{"background-color":"-1",aperture:270,tick:{visible:0},item:{visible:0},guide:{visible:0},ring:{size:6,"background-color":"#CDCDCD",items:[]},center:{"border-width":0,size:2,"background-color":"#fff"}}},vfunnel:{plotarea:{margin:"18 4 4 4"}},hfunnel:{plotarea:{margin:"18 4 4 4"}},vbullet:{plot:{"bar-space":.5,goal:{"border-width":0,height:4}}},hbullet:{plot:{"bar-space":.5,goal:{"border-width":0,width:4}}},range:{plot:{"line-width":1,marker:{visible:0},"hover-state":{visible:0}}},"-":""},this.NS.negative={"theme-name":"negative",palette:[["#000","#909090","#969696","#9c9c9c","#000"],["#000","#a0a0a0","#a6a6a6","#acacac","#000"],["#000","#b0b0b0","#b6b6b6","#bcbcbc","#000"],["#000","#c0c0c0","#c6c6c6","#cccccc","#000"],["#000","#d0d0d0","#d6d6d6","#dcdcdc","#000"],["#000","#e0e0e0","#e6e6e6","#ececec","#000"],["#000","#f0f0f0","#f6f6f6","#fcfcfc","#000"]],graph:{"background-color":"#111",title:{color:"#fff"},subtitle:{color:"#333"},SCALE:{"font-size":11,"line-width":2,"line-color":"#ccc",guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#ccc",alpha:.2},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#ccc",alpha:.2},tick:{visible:1,size:6,placement:ZC._[18],"line-width":2,"line-color":"#ccc"},"minor-tick":{visible:1,size:4,placement:ZC._[18],"line-width":1,"line-color":"#ccc"},label:{color:"#fff"},item:{color:"#fff"}}},radar:{"scale-k":{guide:{alpha:.5,"background-color":"#222 #333"}}},"-":""},this.NS.spark=this.NS.mini,this.B6={root:{gui:{behaviors:[{id:"PageScroll",enabled:"all"},{id:"ViewSource",enabled:"all"},{id:"BugReport",enabled:"none"},{id:"LogScale",enabled:"none"},{id:"LinScale",enabled:"none"},{id:"FullScreen",enabled:"none"},{id:"3D",enabled:"none"},{id:"ExportData",enabled:"none"},{id:"SaveAsImageJPG",enabled:"none"},{id:"DownloadCSV",enabled:ZC.ie678?"none":"all"},{id:"DownloadXLS",enabled:ZC.ie678?"none":"all"}],watermark:{type:1,position:"rb"},history:{margin:"10 auto auto 10",width:30,height:22,padding:4,item:{"background-color":"#369","border-width":1,"border-color":"#69c"},"item-off":{"background-color":"#eee","border-color":"#ddd"}},progress:{"background-color":"#fff",color:"#000"},"context-menu":{padding:0,"border-width":1,"border-color":"#000",button:{visible:ZC.mobile,margin:"5 auto auto 5",alpha:.8,"background-color":"#333 #999","border-radius":8,width:40,height:40},gear:{"background-color":"#fff #f6f6f6",type:"gear6",alpha:.8},item:{"background-color":"#36393D","text-align":"left",padding:"4 20 4 8","border-width":1,"border-color":"#000",color:"#fff","hover-state":{"background-color":"#0084AA"}},separator:{"line-width":1,"line-color":"#000000"}},"context-menu[mobile]":{item:{padding:"6 10 6 6"}}}},palette:[],graph:{title:{width:"100%",bold:1,"font-size":13},subtitle:{width:"100%",bold:1,"font-size":11},scroll:{bar:{"background-color":"#e1eaec","border-color":"#ddd"},handle:{"background-color":"#ddd","border-color":"#ccc","border-width":2,"border-top":"2px solid #eee","border-left":"2px solid #eee","border-right":"2px solid #999","border-bottom":"2px solid #999"}},"scroll-x":{bar:{height:16},handle:{height:16}},"scroll-y":{bar:{width:16},handle:{width:16}},"scroll-xi":{bar:{width:16},handle:{width:16}},"scroll-yi":{bar:{height:16},handle:{height:16}},preview:{width:"100%",height:50,margin:"auto 50 20 50","border-width":1,shadow:0,"background-color":"#f0f0f0","border-color":"#999",mask:{alpha:.5,"background-color":"#333"},active:{alpha:.1,"background-color":"#999"},handle:{width:9,height:16,"border-width":1,"line-width":1,"line-color":"#111","border-color":"#444","border-radius":2,"background-color":"#e6e6e6"},"handle-top":{width:16,height:9},"handle-bottom":{width:16,height:9}},"preview[yx]":{width:50,height:"100%",margin:"60 auto 65 20"},plotarea:{width:"100%",height:"100%",margin:"60 50 65 50"},"plotarea[preview]":{margin:"60 50 105 50"},"plotarea[preview[yx]]":{margin:"60 50 65 105"},SCALE:{"line-width":1,guide:{"line-width":1,"line-color":"#ddd"},tick:{size:6,"line-width":2},"minor-guide":{"line-width":1,"line-color":"#ddd"},"minor-tick":{size:4,"line-width":1},label:{bold:1,padding:6,flat:!0},item:{padding:2,"auto-align":!0,flat:!0},marker:{"line-width":1,"line-color":"#000","background-color":"#ccc"},"transform[date]":{item:{"font-size":10,padding:2,color:"#000","background-color":"#fff"}}},"SCALE[3d]":{"background-color":"#ccc"},"scale-y[default]":{label:{angle:270},item:{"text-align":"right"}},"scale-y[opposite]":{label:{angle:90},item:{"text-align":"left"}},plot:{error:{"line-width":1,"line-color":"#333",size:.5},"value-box":{flat:!0,text:"%v",bold:1,placement:"auto",shadow:1},"tooltip-text":"%v",shadow:1,"line-width":1,marker:{type:"square",shadow:1},"highlight-state":{shadow:!0,"shadow-blur":2,"shadow-distance":1,"shadow-alpha":.91}},tooltip:{shadow:1,padding:"4 8","shadow-distance":3,"offset-y":ZC.mobile?-40:-20},"tooltip[dynamic]":{padding:"4 8","offset-y":0},guide:{marker:{type:"circle"},"plot-label[single]":{text:'<b style="color:%color">%plot-text:</b> %node-value',padding:10,"background-color":"#fff #eee","border-width":1,"border-color":"#999",color:"#000","text-align":"left"},"plot-label[multiple]":{text:'<b style="color:%color">%plot-text:</b> %node-value',padding:5,"background-color":"#fff #eee","border-width":1,"border-color":"#999",color:"#000","text-align":"left"}},zoom:{"preserve-zoom":1,"border-width":0,"background-color":"#369",alpha:.25,label:{visible:!1,"background-color":"#fff","font-size":10,padding:2,"border-width":1,"border-color":"#999"}},arrow:{"border-width":1,"border-color":"#000","background-color":"#666",size:4},"legend[position]":{margin:10},legend:{"background-color":"#eee",alpha:1,shadow:1,margin:"10 10 auto auto",padding:"4 2 4 2",item:{"text-align":"left",margin:"2 6 2 4",padding:"2 4"},"item-off":{alpha:.25},marker:{shadow:0,size:6,"border-color":"#999","border-width":1},header:{"font-size":12,"text-align":"left",bold:1},footer:{"text-align":"left"},icon:{"line-color":"#000","line-width":1},"page-status":{color:"#000"},"page-on":{"background-color":"#f90"},"page-off":{"background-color":"#999"},scroll:{bar:{width:12,height:12,"background-color":"#e1eaec","border-color":"#ddd"},handle:{width:12,height:12,"background-color":"#ddd","border-color":"#ccc","border-width":2,"border-top":"2px solid #eee","border-left":"2px solid #eee","border-right":"2px solid #999","border-bottom":"2px solid #999"}}}},vbar:{plot:{"value-box":{placement:"top-out"}}},vbar3d:{plot:{"value-box":{placement:"top-out"}},"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0}},mixed3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0}},hbar:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x[default]":{label:{angle:270}},"scale-x[opposite]":{label:{angle:90}},plot:{"value-box":{placement:"top-out"}}},vline:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x[default]":{label:{angle:270}},"scale-x[opposite]":{label:{angle:90}}},varea:{plot:{"fill-angle":0},"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x[default]":{label:{angle:270}},"scale-x[opposite]":{label:{angle:90}}},hbar3d:{"scale-y":{label:{angle:0}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0}},"scale-x-n":{label:{angle:90}},"3d-aspect":{depth:40,angle:45,"x-angle":0,"y-angle":-20,"z-angle":0},plot:{"value-box":{placement:"top-out"}}},hbullet:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}}},line:{plot:{"line-width":4,marker:{type:"circle",size:4}}},area:{plot:{"line-width":4,marker:{type:"circle",size:4},"value-box":{placement:"top"}}},line3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0},plot:{"border-width":1,"line-width":1,marker:{type:"circle",size:4,alpha:1,visible:0}}},area3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0},plot:{"border-width":1,"line-width":1,marker:{type:"circle",size:4,alpha:1,visible:0},"value-box":{placement:"top"}}},scatter:{SCALE:{offset:10},plot:{marker:{type:"circle",size:4},"value-box":{placement:"top"}}},poly:{SCALE:{offset:10},plot:{"alpha-area":.4,marker:{type:"none"},"value-box":{placement:"top"}}},hscatter:{SCALE:{offset:10},"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}},plot:{marker:{type:"circle",size:4},"value-box":{placement:"top"}}},bubble:{SCALE:{offset:40},plot:{marker:{type:"circle","fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"hover-marker":{"fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"value-box":{placement:"middle",text:"%node-size-value"},"tooltip-text":"%node-size-value"}},hbubble:{SCALE:{offset:40},"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}},plot:{marker:{type:"circle","fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"hover-marker":{"fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"value-box":{placement:"middle",text:"%node-size-value"},"tooltip-text":"%node-size-value"}},hmixed:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}}},pie:{plotarea:{margin:"35 5 5 5"},scale:{"size-factor":"auto","line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"radial","value-box":{connector:{"line-width":1},placement:"out",text:"%t",visible:1}}},pie3d:{"3d-aspect":{"x-angle":38,"y-angle":0,"z-angle":0},plotarea:{margin:"25 5 5 5"},scale:{"size-factor":"auto","line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"linear","value-box":{connector:{"line-width":1},placement:"out",text:"%t",visible:1}}},nestedpie:{plotarea:{margin:"40 5 15 5"},scale:{"size-factor":.8,"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"radial","value-box":{connector:{"line-width":1},text:"%t",visible:1}}},venn:{plotarea:{margin:"30 10 10 10"},plot:{alpha:.5,"border-width":4},scale:{"size-factor":.65,"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}}},radar:{SCALE:{guide:{"line-width":1,"line-color":"#999","background-color":"-1"},tick:{"line-width":1},item:{"auto-align":!1}},scale:{visible:0,"size-factor":.7},"scale-k":{"ref-angle":270},plotarea:{margin:"40 5 5 5"},plot:{"line-width":4,aspect:"line",marker:{type:"circle"}}},gauge:{SCALE:{guide:{"border-width":1,"border-color":"#999","background-color":"-1"}},scale:{"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0},"size-factor":.7},"scale-r":{"ref-angle":270,"background-color":"#fff",guide:{"line-width":0},tick:{placement:"inner"},item:{"offset-r":"-45%"}},plot:{size:"85%"},plotarea:{margin:"40 5 5 5"}},stock:{plot:{"line-width":1,"border-width":1,"tooltip-text":"Open: $%open<br>High: $%high<br>Low: $%low<br>Close: $%close"}},range:{plot:{"line-width":2,"value-box":{text:"%node-min-value - %node-max-value"},"tooltip-text":"%node-min-value - %node-max-value"}},"-":""},this.PU=function(e,t){var i,n=!1;return null!==ZC._n_(i=this.B6.graph[e])&&null!==ZC._n_(i.enabled)&&(n=n||ZC._b_(i.enabled)),n=null!==ZC._n_(this.B6[t])&&null!==ZC._n_(i=this.B6[t][e])&&null!==ZC._n_(i.enabled)?n||ZC._b_(i.enabled):n},this.load=function(e,t,i,n){for(var a,l,o=this,r=(i=null===ZC._n_(i)||ZC._b_(i),n=null!==ZC._n_(n)&&ZC._b_(n),[]),C="",s=0,A=(t=t instanceof Array?t:new Array(t)).length;s<A;s++)/(\(\w+\))(.*)/.test(t[s])?(l=RegExp.$1,C=t[s].replace(l,"graph"),-1===ZC.AV(r,C)&&r.push(C),C=t[s].replace(l,l.substring(1,l.length-1)),-1===ZC.AV(r,C)&&r.push(C)):(-1===ZC.AV(r,t[s])&&r.push(t[s]),/root(.*)/.test(t[s])&&-1===ZC.AV(r,t[s].replace("root","loader"))&&r.push(t[s].replace("root","loader")),/loader(.*)/.test(t[s])&&-1===ZC.AV(r,t[s].replace("loader","root"))&&r.push(t[s].replace("loader","root")));var Z={};for(s=0,A=r.length;s<A;s++){for(var c=r[s].split("."),h=o.B6,p=0,u=c.length;p<u;p++){if(null===ZC._n_(a=h[c[p]])&&null===ZC._n_(a=h[ZC.US(c[p])])&&null===ZC._n_(a=h[ZC.EH(c[p])])){h=null;break}h=a}if(h)for(var _ in h)null!==ZC._n_(h[_])&&(n||"object"!=typeof h[_]||h[_].length)&&(i||null===ZC._n_(e[_])?o.G.SB&&null!==ZC._n_(o.G.SB[_])||(Z[_]=h[_]):!i||"object"!=typeof h[_]||o.G.SB&&null!==ZC._n_(o.G.SB[_])||(Z[_]=h[_]))}ZC._cp_(Z,e)}},ZC.AO={AGU:function(e,t){for(var i,n,a=[],l=0,o=e.p.length;l<o;l++)e.p[l]?(i=(e.p[l][0]-e.x)/e.w,n=(e.p[l][1]-e.y)/e.h,a.push([t.x+t.w*i,t.y+t.h*n])):a.push(null);return{l:t.w*e.l/e.w,r:t.w*e.r/e.w,p:a}},ACE:function(e,t,i){var n=document.getElementsByTagName("head")[0],a=document.createElement("script"),l=(a.type="text/javascript",a.src=t+"?v"+ZC.VERSION,!1);a.onload=a.onreadystatechange=function(){var e;l||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(l=!0,a.onload=a.onreadystatechange=null,n&&a.parentNode&&n.removeChild(a),(e=new RegExp("zingchart-(.+?).min.js","g").exec(t))&&ZC.WJ.push(e[1]),i&&i(t))},a.onerror=function(){(e=!e&&zingchart.HW[0]?zingchart.HW[0]:e)?e.O5({name:ZC._[63],message:"Resource not found ("+a.src+")"},"Module loader"):alert("Resource not found ("+a.src+")")},n.insertBefore(a,n.firstChild)},_rcolor_:function(){return"#"+ZC.XR.md5(ZC._r_(0,99999)).substr(ZC._r_(0,20),6)},WX:function(){},A8J:function(e,t){return zingchart[e]||t&&t.A17&&t.A17[e]||zingchart.hasEvent(null,e)||t&&zingchart.hasEvent(t.K,e)},C0:function(e,t,i,n,a){i instanceof Array||(i=[i]);var l=1;return null!==ZC._n_(n)&&i.push(n),a&&(l=2,i.push(a)),"touchmove"===(e="touchend"===(e="touchstart"===e?ZC._[47]:e)?ZC._[49]:e)&&(e=ZC._[48]),zingchart[e]&&"render"!==e&&(null!==ZC._n_(n)?i[i.length-l]=zingchart[e].apply(zingchart,i):zingchart[e].apply(zingchart,i)),t&&t.A17[e]&&(null!==ZC._n_(n)?i[i.length-l]=t.A17[e].apply(zingchart,i):t.A17[e].apply(zingchart,i)),zingchart.hasEvent(null,e)&&(null!==ZC._n_(n)?i[i.length-l]=zingchart.callEvent(null,e,i,n):zingchart.callEvent(null,e,i)),t&&zingchart.hasEvent(t.K,e)&&(null!==ZC._n_(n)?i[i.length-l]=zingchart.callEvent(t.K,e,i,n):zingchart.callEvent(t.K,e,i)),i[i.length-l]},OB:function(e,t,i){if(i.AA%360==0)return ZC.Q.FP("rect",i.E9,i.IE)+'class="'+t+'-label-area zc-label-area" id="'+i.K+"-area"+ZC._[30]+ZC._i_(i.iX+i.BK+ZC.MAPTX)+","+ZC._i_(i.iY+i.BJ+ZC.MAPTX)+","+ZC._i_(i.iX+i.BK+i.I+ZC.MAPTX)+","+ZC._i_(i.iY+i.BJ+i.F+ZC.MAPTX)+'" />';for(var n=[[-i.I/2,-i.F/2],[i.I/2,-i.F/2],[i.I/2,i.F/2],[-i.I/2,i.F/2]],a="",l=0;l<4;l++)n[l]=[i.iX+i.I/2+i.BK+ZC.MAPTX+n[l][0]*ZC.EF(i.AA)-n[l][1]*ZC.EL(i.AA),i.iY+i.F/2+i.BJ+ZC.MAPTX+n[l][0]*ZC.EL(i.AA)+n[l][1]*ZC.EF(i.AA)],a+=ZC._i_(n[l][0])+","+ZC._i_(n[l][1])+",";return i.D=n,ZC.Q.FP("poly",i.E9,i.IE)+'class="'+t+'-label-area zc-label-area" id="'+i.K+"-area"+ZC._[30]+a.substring(0,a.length-1)+'" />'},_rebuild_map_:function(e,t){var i=document.getElementById(e+"-map"),n=i.parentNode,i=(n.removeChild(i),document.createElement("map"));i.id=e+"-map",i.className="zc-map",i.name=e+"-map",i.innerHTML=t,document.getElementById(e+"-img")&&n.insertBefore(i,document.getElementById(e+"-img").nextSibling)},NA:function(e){var t,i,n="",a=e.indexOf('id="');return-1!==a&&-1!==(i=e.indexOf('"',a+4))&&(n=e.substring(a+4,i)),ZC.cache.data["area-score-"+n]||(a=0,-1!==e.indexOf('shape="rect"')?(a+=1e4,5===(t=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(e)).length&&(a+=(ZC._i_(t[3])-ZC._i_(t[1]))*(ZC._i_(t[4])-ZC._i_(t[2])))):-1!==e.indexOf('shape="circle"')?(a+=100,t=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(e),null!==ZC._n_(t[3])&&(a+=ZC._i_(t[3])/10)):-1!==e.indexOf('shape="poly"')?-1!==e.indexOf("data-map")?a+=1e6:a+=1e3:a+=1,-1!==e.indexOf("data-z-sort")&&(i=/data-z-sort=\"(\-*\d+)\"/.exec(e))&&2===i.length&&(a*=ZC._i_(Math.pow(10,ZC._i_(i[1])))),""!==n&&ZC.cache.add("area-score-"+n,a),a)},A5M:function(e,t,i){for(var n,a=[],l=0,o=e.length;l<o;l++)null!==ZC._n_(e[l])?(n=e[l].slice(0),null!==ZC._n_(n[0])&&"string"!=typeof n[0]&&(n[0]+=t),null!==ZC._n_(n[1])&&"string"!=typeof n[1]&&(n[1]+=i),null!==ZC._n_(n[2])&&"string"!=typeof n[2]&&n.length<=4&&(n[2]+=t),null!==ZC._n_(n[3])&&"string"!=typeof n[3]&&n.length<=4&&(n[3]+=i),a.push(n)):a.push(null);return a},OA:function(e,t){t=t||{},e=e||{};var i,n={};return null!==ZC._n_(i=e.negation)&&(n.negation=i),null!==ZC._n_(i=e["short"])&&(n["short"]=ZC._b_(i)),null!==ZC._n_(i=e["short-unit"])&&(n["short-unit"]=i),null!==ZC._n_(i=e.exponent)&&(n.exponent=ZC._b_(i)),null!==ZC._n_(i=e[ZC._[25]])&&(n[ZC._[25]]=ZC._i_(i)),(null!==ZC._n_(i=e[ZC._[14]])||null===ZC._n_(t[ZC._[14]])&&null!==ZC._n_(i=ZC.HG[ZC._[14]]))&&(n[ZC._[14]]=i),(null!==ZC._n_(i=e[ZC._[13]])||null===ZC._n_(t[ZC._[13]])&&null!==ZC._n_(i=ZC.HG[ZC._[13]]))&&(n[ZC._[13]]=i),null!==ZC._n_(i=e[ZC._[12]])&&(n[ZC._[12]]=ZC._i_(i)),null!==ZC._n_(i=e["decimals-dyn"])&&(n["decimals-dyn"]=i),null!==ZC._n_(i=e.transform)&&null!==ZC._n_(i.type)&&"date"===i.type&&(n[ZC._[68]]=!0,null!==ZC._n_(i.text)&&(i.all=i.text),null!==ZC._n_(i.all))&&(n[ZC._[67]]=i.all),n},G5:function(e,t,i,n){var a=e,l=e+"",o=!1;if(n&&null!==ZC._n_(t[ZC._[68]])&&t[ZC._[68]]&&""+Number(l)===l&&(l=ZC.AO.YF(Number(l),t[ZC._[67]],t.utc,t.timezone),o=!0),null===ZC._n_(t[ZC._[14]])&&null!==ZC._n_(e=ZC.HG[ZC._[14]])&&(t[ZC._[14]]=e),null===ZC._n_(t[ZC._[13]])&&null!==ZC._n_(e=ZC.HG[ZC._[13]])&&(t[ZC._[13]]=e),null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]]&&typeof t["max-decimals"]!==ZC._[31]&&-1!==t["max-decimals"]&&(t[ZC._[12]]=ZC.BR(t["max-decimals"],t[ZC._[12]])),!o)if(null!==ZC._n_(t.exponent)&&t.exponent)l=Number(l).toExponential(ZC.CY(20,t[ZC._[25]])),null!==ZC._n_(t[ZC._[14]])&&(l=l.replace(/\./g,t[ZC._[14]]));else{if(null!==ZC._n_(t["short"])&&t["short"]){var r="",n=t["short-unit"]||"";if("string"!=typeof n&&n.length){for(var C,e=1,o=(n=""+ZC._f_(n[0])!==n[0]?[1e3].concat(n):n)[0]||1e3,s=n.slice(1),A=null,Z=0;Z<s.length;Z++)0===s[Z].indexOf("#")&&(s[A=Z]=s[Z].substring(1));s.length&&(r=s[e=null!==A?A:null!==ZC._n_(t["max-power"])?t["max-power"]:(C=ZC.FU(ZC._a_(Number(l)),o),e=Math.floor(C),ZC.CY(e,s.length-1))],2===(C=(l=""+Number(l)/Math.pow(o,e)).split(".")).length)&&9<=C[1].length&&(l=null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]]?""+ZC._x_(l,t[ZC._[12]]):""+ZC._x_(l))}else{var c=ZC.FU(ZC._a_(Number(l)))/Math.LN10;switch(ZC._a_(Number(l))){case 1e3:c=3;break;case 1e6:c=6;break;case 1e9:c=9}if(null!==ZC._n_(t["max-power"])&&(c=3*t["max-power"]),"KB"===n.toUpperCase())l=""+Number(l)/1024,r="KB";else if("MB"===n.toUpperCase())l=""+Number(l)/1048576,r="MB";else if("GB"===n.toUpperCase())l=""+Number(l)/1073741824,r="GB";else if("TB"===n.toUpperCase())l=""+Number(l)/1099511627776,r="TB";else if("PB"===n.toUpperCase())l=""+Number(l)/0x4000000000000,r="PB";else if(0<=c&&c<3)switch(n){default:r="";break;case"K":l=""+Number(l)/1e3,r="K";break;case"M":l=""+Number(l)/1e6,r="M";break;case"B":l=""+Number(l)/1e9,r="B"}else 3<=c&&c<6&&""===n||"K"===n.toUpperCase()?(l=""+Number(l)/1e3,r="K"):6<=c&&c<9&&""===n||"M"===n.toUpperCase()?(l=""+Number(l)/1e6,r="M"):(9<=c&&""===n||"B"===n.toUpperCase())&&(l=""+Number(l)/1e9,r="B")}ZC.PH(l)&&(null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]]?l=ZC._fixed_(Number(l),ZC.BR(0,ZC._i_(t[ZC._[12]]))):(o=l.split(".")[1]||"",-1!==t["max-decimals"]&&t["max-decimals"]<o.length&&(l=ZC._fixed_(Number(l),ZC.BR(0,ZC._i_(t["max-decimals"])))))),null!==ZC._n_(t[ZC._[14]])&&(l=l.replace(/\./g,t[ZC._[14]]))}e=i?i.K:"";if(!isNaN(l)&&("string"!=typeof a||-1===e.indexOf("-scale-"))){if(null===ZC._n_(t[ZC._[12]])||-1===t[ZC._[12]]||!ZC.PH(l)||null!==ZC._n_(t["short"])&&t["short"]||(l=ZC._fixed_(Number(l),ZC.BR(0,ZC._i_(t[ZC._[12]])))),null!==ZC._n_(t[ZC._[13]])||null!==ZC._n_(t[ZC._[14]])){for(var h=l.split("."),p="",u=0,_=3,d=t.locale||"",f=h[0].length-1;0<=f;f--)var g,B=h[0].substring(f,f+1),p=-1===ZC.AV(["-","+"],B)&&(g=h[0].length-f-1,"en_in"!==d.toLowerCase()&&"hi_in"!==d.toLowerCase()||(u=3<g?1:0,_=3<g?2:3),g%_===u)&&0!=g?B+t[ZC._[13]]+p:B+p;l=p+(null!==ZC._n_(h[1])?t[ZC._[14]]+h[1]:"")}null!==ZC._n_(t["short"])&&t["short"]&&(l+=r)}}return l},AAJ:function(e){var t=e.indexOf("("),i="",n="",a=(-1!==t?(i=ZC.GY(e.substring(0,t)),n=ZC.GY(e.substring(t+1,e.length-1))):i=ZC.GY(e),[]),l="";if(""!==n)for(var o=!1,r=!1,C=!1,l="",s=0,A=n.length;s<A;s++){var Z=n.substring(s,s+1);switch(Z){case"\\":C=!C||(l+="\\",!1);break;case'"':C?(l+='"',C=!1):r?(a.push(l),l="",r=!1):o?l+=Z:r=!0;break;case"'":C?(l+="'",C=!1):o?(a.push(l),l="",o=!1):r?l+=Z:o=!0;break;case" ":(o||r)&&(l+=Z);break;case",":o||r?l+=Z:(""!==l&&a.push(l),l="");break;default:l+=Z}}return""!==l&&a.push(l),[i,a]},A5G:function(e){return e.toString().replace(/^([0-9])$/,"0$1")},YF:function(e,t,i,n){e=ZC._i_(e),t=t||ZC.HG["date-formats"].minute,typeof i===ZC._[31]&&(i=!1),typeof n===ZC._[31]&&(n=0),i&&(e+=36e5*n);for(var a,l,o,r,C,s,A,n=new Date,Z=(n.setTime(e),e=i?(a=n.getUTCHours(),l=n.getUTCMinutes(),o=n.getUTCSeconds(),r=n.getUTCMilliseconds(),C=n.getUTCDay(),s=n.getUTCDate(),A=n.getUTCMonth(),n.getUTCFullYear()):(a=n.getHours(),l=n.getMinutes(),o=n.getSeconds(),r=n.getMilliseconds(),C=n.getDay(),s=n.getDate(),A=n.getMonth(),n.getFullYear()),[["mm",ZC.AO.A5G(A+1)],["dd",ZC.AO.A5G(s)],["Y",e],["y",e.toString().substr(2,2)],["F",ZC.HG["months-long"][A]],["m",A+1],["M",ZC.HG["months-short"][A]],["n",A],["d",s],["D",ZC.HG["days-short"][C]],["j",s],["l",ZC.HG["days-long"][C]],["N",C+1],["w",C],["S",function(){return s%10==1?"st":s%10==2?"nd":s%10==3?"rd":"th"}],["a",a<12?"am":"pm"],["A",a<12?"AM":"PM"],["g",a%12||12],["G",a],["h",ZC.AO.A5G(a%12||12)],["H",ZC.AO.A5G(a)],["i",ZC.AO.A5G(l)],["s",ZC.AO.A5G(o)],["q",r]]),c=0;c<Z.length;c++)t=t.replace("%"+Z[c][0],Z[c][1]);return t},A0G:{},Z4:function(e,t){var i=null;if(t&&t.BP?i=t.BP:t&&t.A&&t.A.BP&&(i=t.A.BP),"string"==typeof e&&-1!==e.indexOf("%color-")&&0<ZC.COLORS.length)for(var n=0;n<ZC.COLORS.length;n++)e=(e=-1===e.indexOf("(+")&&-1===e.indexOf("(-")?e:e.replace(/%color-(\d+?)\((\+|\-)(\d+?)\)/gi,function(){var e=ZC.AO.GD(ZC.COLORS[ZC._i_(arguments[1])]);return"+"===arguments[2]?e=ZC.AO.PP(e,ZC._i_(arguments[3])):"-"===arguments[2]&&(e=ZC.AO.JR(e,ZC._i_(arguments[3]))),e})).replace("%color-"+n,ZC.COLORS[n]);else"string"==typeof e&&i&&-1!==e.indexOf("%palette-")&&(e=i[ZC._i_(e.replace("%palette-",""))]);return e},GD:function(e,t){var i,n,a,l,o,r,C;return null!==ZC._n_(ZC.AO.A0G[e])?ZC.AO.A0G[e]:(C=!(r=1),0===(o=ZC.GY(String(e))).length?"":("rgba("===(o=o.replace("0x","#")).substring(0,5)?(i=new RegExp("rgba\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*([0-9.]+)\\)","gi").exec(o))&&(o="#"+(n=1===(n=ZC.OZ(i[1])).length?"0"+n:n)+(a=1===(a=ZC.OZ(i[2])).length?"0"+a:a)+(l=1===(l=ZC.OZ(i[3])).length?"0"+l:l),r=ZC.BR(0,ZC.CY(1,parseFloat(i[4]))),C=!0):"rgb("===o.substring(0,4)?(i=new RegExp("rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)","gi").exec(o))&&(o="#"+(n=1===(n=ZC.OZ(i[1])).length?"0"+n:n)+(a=1===(a=ZC.OZ(i[2])).length?"0"+a:a)+(l=1===(l=ZC.OZ(i[3])).length?"0"+l:l)):"#"===o.substring(0,1)?4===o.length?o="#"+o.substring(1,2)+o.substring(1,2)+o.substring(2,3)+o.substring(2,3)+o.substring(3,4)+o.substring(3,4):7!==o.length&&(o=""):null!==ZC._n_(ZC.Q.A9K[o.toUpperCase()])&&(o="#"+ZC.Q.A9K[o.toUpperCase()]),"none"!==o&&"transparent"!==o||(o="-1"),t||(ZC.AO.A0G[e]=o),t&&C?[o,r]:o))},A1C:{},A34:function(e,t){var i;return-1===e&&(e="#ffffff",t=0),null!==ZC._n_(ZC.AO.A1C[e+","+t])?ZC.AO.A1C[e+","+t]:(4===e.length&&(e=e.substring(0,1)+e.substring(1,2)+e.substring(1,2)+e.substring(2,3)+e.substring(2,3)+e.substring(3,4)+e.substring(3,4)),i="rgba("+[ZC.R1(e.substring(1,3)),ZC.R1(e.substring(3,5)),ZC.R1(e.substring(5,7)),t].join(",")+")",ZC.AO.A1C[e+","+t]=i)},AD4:function(e,t,i){e/=255,t/=255,i/=255;var n,a=Math.max(e,t,i),l=Math.min(e,t,i),o=a,r=a-l,C=0===a?0:r/a;if(a===l)n=0;else{switch(a){case e:n=(t-i)/r+(t<i?6:0);break;case t:n=(i-e)/r+2;break;case i:n=(e-t)/r+4}n/=6}return[n,C,o]},AD5:function(e,t,i){var n,a,l,o=Math.floor(6*e),e=6*e-o,r=i*(1-t),C=i*(1-e*t),s=i*(1-(1-e)*t);switch(o%6){case 0:n=i,a=s,l=r;break;case 1:n=C,a=i,l=r;break;case 2:n=r,a=i,l=s;break;case 3:n=r,a=C,l=i;break;case 4:n=s,a=r,l=i;break;case 5:n=i,a=r,l=C}return[255*n,255*a,255*l]},JR:function(e,t){if(-1===e)return-1;if(100<=t)return"#000000";e=ZC.AO.GD(e),typeof t===ZC._[31]&&(t=10);var i=ZC.R1(e.substring(1,3)),n=ZC.R1(e.substring(3,5)),a=ZC.R1(e.substring(5,7)),i=ZC.AO.AD4(i,n,a),n=(i[2]=0<t?Math.max(0,i[2]-i[2]*t/100):Math.min(1,i[2]-i[2]*t/100),ZC.AO.AD5(i[0],i[1],i[2]));return n[0]=ZC._i_(n[0])<16?"0"+ZC.OZ(n[0]):ZC.OZ(n[0]),n[1]=ZC._i_(n[1])<16?"0"+ZC.OZ(n[1]):ZC.OZ(n[1]),n[2]=ZC._i_(n[2])<16?"0"+ZC.OZ(n[2]):ZC.OZ(n[2]),e="#"+n[0]+n[1]+n[2]},PP:function(e,t){if(-1===e)return-1;if(100<=t)return"#ffffff";e=ZC.AO.GD(e),typeof t===ZC._[31]&&(t=10);var i=parseInt(e.substr(1,2),16),n=parseInt(e.substr(3,2),16),e=parseInt(e.substr(5,2),16);return"#"+(0|256+i+(256-i)*t/100).toString(16).substr(1)+(0|256+n+(256-n)*t/100).toString(16).substr(1)+(0|256+e+(256-e)*t/100).toString(16).substr(1)},_hex2rgb_:function(e,t){var i=parseInt(e.substr(1,2),16),n=parseInt(e.substr(3,2),16),e=parseInt(e.substr(5,2),16);return ZC._n_(t)?"rgb("+i+","+n+","+e+")":{r:i,g:n,b:e}},_rgb2hex_:function(e,t,i){return"#"+((1<<24)+(e<<16)+(t<<8)+i).toString(16).slice(1)},AAB:function(e,t,i){e=ZC.AO._hex2rgb_(e);return 128<=(299*e.r+587*e.g+114*e.b)/1e3?i:t},_colorAlpha_:function(e,t,i){e=ZC.AO.GD(e),t=ZC.AO.GD(t);var n,a=ZC.AO._hex2rgb_(e),l=ZC.AO._hex2rgb_(t),o={};for(n in a)o[n]=Math.floor(i*a[n]+(1-i)*l[n]);return ZC.AO._rgb2hex_(o.r,o.g,o.b)},A3W:function(){},ABM:function(){},gc:function(e,t){for(var i=0;i<t.length;i++)e[t[i]]=null;for(i in e)0===i.indexOf("zc_")&&"function"==typeof e[i]&&(e[i]=null)},getPrecedence:function(e){var t=0;switch(e){case"%":case"*":case"/":t=3;break;case"+":case"-":t=4;break;case">":case"<":case">=":case"<=":t=6;break;case"==":case"!=":t=7;break;case"&&":t=11;break;case"||":t=12}return t},eval:function(e){for(var t=[],i=-1,n=0,a=ZC.AO.getRPNTokens(e),l=0;l<a.length;l++){var o=a[l];switch(o){case"%":case"*":case"/":case"+":case"-":case">":case"<":case">=":case"<=":case"==":case"!=":case"&&":case"||":var r=t[i--],C=t[i--],s=ZC._f_(r),A=ZC._f_(C);"%"===o?n=A%s:"*"===o?n=A*s:"/"===o?n=A/s:"+"===o?n=A+s:"-"===o?n=A-s:">"===o?n=s<A?1:0:"<"===o?n=A<s?1:0:">="===o?n=s<=A?1:0:"<="===o?n=A<=s?1:0:"=="===o?n=C===r?1:0:"!="===o?n=C!==r?1:0:"&&"===o?n=0!==A&&0!==s?1:0:"||"===o&&(n=0!==A||0!==s?1:0),t[++i]=n+"";break;default:t[++i]=o}}return n=1===a.length?ZC._f_(t[0]):n},getTokens:function(e){for(var t=[],i=0,n=(e=e.replace(/===/g,"==").replace(/!==/g,"!=")).length,a="",l=!1;i<n;){var o=e.charAt(i),r=i+1<n?e.charAt(i+1):"#";if(" "===o)i++;else if("'"===o||'"'===o){var C=e.indexOf(o,i+1),s=e.substring(i,C+1);t.push(s),i=C+1}else if("="===o)"="===r&&(t.push("=="),i+=2);else if("!"===o)"="===r&&(t.push("!="),i+=2);else if("&"===o)"&"===r&&(t.push("&&"),i+=2);else if("|"===o)"|"===r&&(t.push("||"),i+=2);else if(">"===o)"="===r?(t.push(">="),i+=2):(t.push(">"),i++);else if("<"===o)"="===r?(t.push("<="),i+=2):(t.push("<"),i++);else if("("===o)t.push(o),i++;else if(")"===o)t.push(o),i++;else if("+"===o)t.push(o),i++;else if("-"===o)""===a||-1!==",(,<,<=,>,>=,==,!=,||,&&,".indexOf(","+a+",")?l=!0:t.push(o),i++;else if("*"===o)t.push(o),i++;else if("/"===o)t.push(o),i++;else if("%"===o)t.push(o),i++;else{var A=o;if(l&&(A="-"+A,l=!1),i++,"#"!==r)for(var Z;(Z="."===r||"0"<=r&&r<="9")&&(A+=r,r=i+1<n?e.charAt(i+1):"#",i++),i<n&&Z;);t.push(A)}0<t.length&&(a=t[t.length-1])}return t},getRPNTokens:function(e){for(var t=ZC.AO.getTokens(e),i=[],n=-1,a=[],l=0;l<t.length;l++){var o,r=t[l];switch(r){case"%":case"*":case"/":case"+":case"-":case">":case"<":case">=":case"<=":case"==":case"!=":case"&&":case"||":!(-1<n)||"("===(o=i[n])||ZC.AO.getPrecedence(r)<ZC.AO.getPrecedence(o)?i[++n]=r:(a.push(o),i[n]=r);break;case"(":i[++n]=r;break;case")":for(;"("!==i[n];)a.push(i[n]),n--;n--;break;default:a.push(r)}}for(;-1<n;)a.push(i[n--]);return a}},ZC.Q={A9K:{BLACK:"000000",BLUE:"0000FF",BROWN:"A52A2A",CYAN:"00FFFF",FUCHSIA:"FF00FF",GOLD:"FFD700",GRAY:"808080",GREEN:"008000",INDIGO:"4B0082",LIME:"00FF00",MAGENTA:"FF00FF",MAROON:"800000",NAVY:"000080",ORANGE:"FFA500",PINK:"FFC0CB",PURPLE:"800080",RED:"FF0000",SILVER:"C0C0C0",TURQUOISE:"40E0D0",VIOLET:"EE82EE",WHITE:"FFFFFF",YELLOW:"FFFF00"},FP:function(e,t,i){return"<area"+(i&&!t&&"hand"!==i?' style="cursor:'+i+'"':"")+(t&&"arrow"!==i||"hand"===i?' href="javascript:;"':"")+' shape="'+e+'" '},ABA:function(e){if(ZC.A3.browser.msie)try{i=document.createElement("<iframe />")}catch(n){i=document.createElement("iframe")}else i=document.createElement("iframe");i.id=e.id+"-iframe",i.style.visibility="hidden",e.appendChild(i);var t,e=null,i=i.contentWindow||i.contentDocument;return(e=i.document||i).body||(i=e.createElement("HTML"),e.appendChild(i),t=e.createElement("HEAD"),i.appendChild(t),t=e.createElement("BODY"),i.appendChild(t)),e},C1:function(e){var t;if(typeof ZC.TOUCHEVENTS===ZC._[31]){if(ZC.ie678)t=!1;else{t=!0;try{document.createEvent("TouchEvent")}catch(i){t=!1}}t=(t=t&&!ZC.mobile?!1:t)&&"ontouchstart"in document.documentElement,ZC.TOUCHEVENTS=t}else t=ZC.TOUCHEVENTS;if(t)switch(e){case"mouseover":case"mousedown":e="touchstart";break;case"mousemove":e="touchmove";break;case"mouseout":case"mouseup":e="touchend";break;case"click":e="touchstart"}return e},_sh_:function(e,t){var i,n,a=[],l=t.JZ,o=t.ON,r=t.PA,C=l-r/2;if(0<e.length){var s=0,A=0;for(0!==l&&(s=ZC._i_(C*ZC.EF(o)+r),A=ZC._i_(C*ZC.EL(o)+r)),i=0,n=e.length;i<n;i++)if(null!==ZC._n_(e[i])){for(var Z=[],c=0;c<e[i].length;c++)Z[c]=e[i][c];var h=Z.length;if(2===h||4===h)for(c=0;c<h;c++)Z[c]=e[i][c]+(c%2?A+ZC._c_(t.BJ,0):s+ZC._c_(t.BK,0));a.push(Z)}else a.push(null)}return a},_txp_:function(e,t,i,n,a){typeof a===ZC._[31]&&(a=!1);var l,o,r,C=[e[0],e[1]];switch(4<=e.length&&(C[2]=e[2],C[3]=e[3]),6<=e.length&&(C[4]=e[4],C[5]=e[5]),7===e.length&&(C[6]=e[6]),t){case"canvas":case"svg":i.D0&&(r=o=i.B1%2==1?.5:0,ZC.A3.browser.msie&&ZC.quirks&&"svg"===t&&(r=i.B1%2==1?.5:0,o=i.B1%2==1?0:.5),C[0]=Math.round(C[0])-r,C[1]=Math.round(C[1])-o,4===C.length)&&(C[2]=Math.round(C[2])-r,C[3]=Math.round(C[3])-o),"svg"===t&&(C[0]=parseFloat(C[0].toFixed(4)),C[1]=parseFloat(C[1].toFixed(4)),4===C.length)&&(C[2]=parseFloat(C[2].toFixed(4)),C[3]=parseFloat(C[3].toFixed(4))),"canvas"!==t||n||typeof i.BK!==ZC._[31]&&typeof i.BJ!==ZC._[31]&&(C[0]+=i.BK,C[1]+=i.BJ,4===C.length)&&(C[2]+=i.BK,C[3]+=i.BJ);break;case"vml":r=i.AA%360==0?(l=10,i.B1%2==1?0:l/2):(l=1,0),i.D0?(C[0]=l*ZC._i_(ZC._i_(l*C[0])/l)-r,C[1]=l*ZC._i_(ZC._i_(l*C[1])/l)-r,4!==C.length&&7!==C.length||(C[2]=l*ZC._i_(ZC._i_(l*C[2])/l)-r,C[3]=l*ZC._i_(ZC._i_(l*C[3])/l)-r),7===C.length&&(C[4]=l*ZC._i_(ZC._i_(l*C[4])/l)-r,C[5]=l*ZC._i_(ZC._i_(l*C[5])/l)-r)):(C[0]=ZC._i_(l*C[0]),C[1]=ZC._i_(l*C[1]),4!==C.length&&7!==C.length||(C[2]=ZC._i_(l*C[2]),C[3]=ZC._i_(l*C[3])),7===C.length&&(C[4]=ZC._i_(l*C[4]),C[5]=ZC._i_(l*C[5])))}return C},A33:function(e,t,i,n,a){var l,o,r,C;if(i.QW&&(i.E["fast-vector-path"]=!0),!i.E["fast-vector-path"]){for(p=0,u=e.length;p<u;p++)e[p]&&(e[p][0]=parseFloat(Number(e[p][0]).toFixed(2)),e[p][1]=parseFloat(Number(e[p][1]).toFixed(2)));if(i.OC&&(C=i.K+":"+i.AA+":"+e.join("#"),ZC.cache.data["path-points-"+C]))return ZC.cache.data["path-points-"+C].split("#")}for(var s,A,Z=[ZC.MAX,ZC.MAX,-ZC.MAX,-ZC.MAX],c=[],h=!1,p=0,u=e.length;p<u;p++)null===ZC._n_(e[p])?h=!0:(i.E["fast-vector-path"]?(s=e[p],"vml"===t&&(A=i.AA%360==0?10:1,s[0]=ZC._i_(A*s[0]),s[1]=ZC._i_(A*s[1]),4===s.length)&&(s[2]=ZC._i_(A*s[2]),s[3]=ZC._i_(A*s[3]))):s=ZC.Q._txp_(e[p],t,i,n,a),null!==ZC._n_(s)&&!isNaN(s[0])&&!isNaN(s[1])&&isFinite(s[0])&&isFinite(s[1])&&(u<=20&&n&&(Z[0]=ZC.CY(Z[0],s[0]/("vml"===t?10:1)),Z[1]=ZC.CY(Z[1],s[1]/("vml"===t?10:1)),Z[2]=ZC.BR(Z[2],s[0]/("vml"===t?10:1)),Z[3]=ZC.BR(Z[3],s[1]/("vml"===t?10:1))),0===p?c.push(("svg"===t?"M ":"m ")+s[0]+" "+s[1]):(h&&(c.push(("svg"===t?"M ":"m ")+s[0]+" "+s[1]),h=!1),2===s.length?c.push(("svg"===t?"L ":"l ")+s[0]+" "+s[1]):4===s.length?(c.push(("svg"===t?"Q ":"qb ")+s[0]+" "+s[1]+" "+s[2]+" "+s[3]),"vml"===t&&c.push("l "+s[2]+" "+s[3])):6===s.length?"svg"===t?(A=0,s[3]%360==s[4]%360&&(A=s[4]>=s[3]?.001:-.001),l=ZC.AQ.BN(s[0],s[1],s[2],s[3]+A),o=ZC.AQ.BN(s[0],s[1],s[2],s[4]-A),r="0 0",0===s[5]?360<s[4]-s[3]?(r="0 1",o[0]=l[0],o[1]=l[1]):r=s[4]-s[3]<=180?"0 1":"1 1":360<s[3]-s[4]?(r="0 0",o[0]=l[0],o[1]=l[1]):r=s[3]-s[4]<=180?"0 0":"1 0",c.push("a "+s[2]+","+s[2]+" 0 "+r+" "+(o[0]-l[0])+","+(o[1]-l[1]))):"vml"===t&&(s[2]*=10,l=ZC.AQ.BN(s[0],s[1],s[2],s[3]),o=ZC.AQ.BN(s[0],s[1],s[2],s[4]),r=1===s[5]?"at":"wa",c.push(r+" "+ZC._i_(s[0]-s[2])+","+ZC._i_(s[1]-s[2])+","+ZC._i_(s[0]+s[2])+","+ZC._i_(s[1]+s[2])+" "+ZC._i_(l[0])+","+ZC._i_(l[1])+" "+ZC._i_(o[0])+","+ZC._i_(o[1]))):7===s.length&&c.push(("svg"===t?"C ":"c ")+s[0]+" "+s[1]+" "+s[2]+" "+s[3]+" "+s[4]+" "+s[5]))));return i.E["fast-vector-path"]||i.OC&&ZC.cache.add("path-points-"+C,c.join("#")),i.G&&u<=20&&n&&(i.G.E[i.K+"-bounds"]=Z),c},MJ:function(e,t){var i,n,a=e.originalEvent||e.originalEventZC;return t=ZC._i_(t||"0"),a&&a.touches?0<a.touches.length?(i=a.touches[t].pageX,n=a.touches[t].pageY):0<a.changedTouches.length&&(i=a.changedTouches[t].pageX,n=a.changedTouches[t].pageY):(i=e.pageX,n=e.pageY),[ZC._i_(i||"0"),ZC._i_(n||"0")]},F8:function(e,t,i){var n;return i=i||document,null!==ZC._n_(t)?i.createElementNS?n=i.createElementNS(t,e):(n=i.createElement(e)).setAttribute("xmlns",t):n=i.createElement(e),"zcv:"===e.substring(0,4)&&(n.className="zcvml"),n},EW:function(e){for(var t,i=0,n=(e=e instanceof Array?e:[e]).length;i<n;i++)(t="object"!=typeof(t=e[i])?ZC.AL(e[i]):t)&&(typeof t.parentElement!==ZC._[31]?t.parentElement.removeChild(t):typeof t.parentNode!==ZC._[31]&&t.parentNode.removeChild(t))},G6:function(e,t){for(var i in t)if("string"==typeof i&&"object"!=typeof t[i]&&"function"!=typeof t[i])try{e.setAttribute(i,t[i])}catch(n){}},P9:function(e,t){for(var i in t)"string"==typeof i&&"object"!=typeof t[i]&&"function"!=typeof t[i]&&(e.style[i]=t[i])},AAZ:function(e){var t;if(e===document)return!0;if(!e)return!1;if(!e.parentNode)return!1;if(e.style){if("none"===e.style.display)return!1;if("hidden"===e.style.visibility)return!1}if(window.getComputedStyle){if("none"===(t=window.getComputedStyle(e,"")).display)return!1;if("hidden"===t.visibility)return!1}if(t=e.currentStyle){if("none"===t.display)return!1;if("hidden"===t.visibility)return!1}return ZC.Q.AAZ(e.parentNode)},TC:function(e){e=e.className||ZC.A3(e).attr("class");return(e=null!==ZC._n_(e)&&"object"==typeof e?typeof e.baseVal!==ZC._[31]?e.baseVal:"":e)||""},IW:function(e,t,i,n,a,l,o,r){if(e)switch(o=o||"",t){case"canvas":r?e.getContext("2d").clearRect(i,n,a,l):e.width=e.width;break;case"vml":case"svg":var C=e.childNodes.length;if(1024<C&&typeof e.innerHTML!==ZC._[31])e.innerHTML="";else if(0<C)for(var s=C-1;0<=s;s--)(""===o||0===e.childNodes[s].id.indexOf(o+"-"))&&e.removeChild(e.childNodes[s])}},EE:function(e,t){switch("string"==typeof e&&(e=ZC.AL(e)),t){case"canvas":return e.getContext("2d");case"svg":case"vml":return e}},K6:function(e,t){switch(t){case"svg":return ZC.Q.ABN(e);case"vml":case"canvas":return ZC.Q.I2(e)}},HL:function(e,t){switch(t){case"svg":return ZC.Q.ABN(e);case"vml":return ZC.Q.I2(e);case"canvas":return ZC.Q.ADB(e)}},ABN:function(e){var t,i;return ZC.AL(e.id)?ZC.AL(e.id):(i=ZC.Q.F8("g",ZC._[36]),null!==ZC._n_(t=e.id)&&i.setAttribute("id",t),null!==ZC._n_(t=e.cls)&&i.setAttribute("class",t),null!==ZC._n_(t=e.zidx)&&i.setAttribute("z-index",t),null!==ZC._n_(t=e["clip-path"])&&i.setAttribute("clip-path",t),e.after?e.p.insertBefore(i,e.after.nextSibling):e.p.appendChild(i),i)},XL:function(e){ZC.Q.EW(e.id);var t,i=ZC.Q.F8("clipPath",ZC._[36]);return i.id=e.id,null!==ZC._n_(e.cx)?((t=ZC.Q.F8("circle",ZC._[36])).id=e.id+"-shape",ZC.Q.G6(t,{cx:e.cx,cy:e.cy,r:e.r})):((t=ZC.Q.F8("polygon",ZC._[36])).id=e.id+"-shape",ZC.Q.G6(t,{points:e.path})),i.appendChild(t),i},ADB:function(e){var t,i,n,a;return ZC.AL(e.id)?ZC.AL(e.id):(n=(i=document.createElement("canvas")).style,null!==ZC._n_(t=e.id)&&(i.id=t),null!==ZC._n_(t=e.cls)&&(i.className=t),null!==ZC._n_(t=e.wh)&&(a=(""+t).split("/"),e[ZC._[19]]=a[0],e[ZC._[20]]=a[1]),null!==ZC._n_(t=e.tl)&&(a=(""+t).split("/"),e.top=a[0],e.left=a[1]),i.width=e[ZC._[19]],i.height=e[ZC._[20]],null!==ZC._n_(t=e.left)&&(n.left=t+"px"),null!==ZC._n_(t=e.top)&&(n.top=t+"px"),null!==ZC._n_(t=e.display)&&(n.display=t),null!==ZC._n_(t=e.position)&&(n.position=t),null!==ZC._n_(t=e.zidx)&&(n.zIndex=t),e.p.appendChild(i),i)},I2:function(e){var t,i,n,a,l,o;if(ZC.AL(e.id))n=ZC.AL(e.id),null!==ZC._n_(t=e.wh)&&(l=(""+t).split("/"),n.style.width=l[0]+"px",n.style.height=l[1]+"px"),null!==ZC._n_(t=e.tl)&&(o=(""+t).split("/"),n.style.top=o[0]+"px",n.style.left=o[1]+"px");else{(a=(n=document.createElement("div")).style).whiteSpace="nowrap",null!==ZC._n_(t=e.wh)&&(l=(""+t).split("/"),e[ZC._[19]]=l[0],e[ZC._[20]]=l[1]),null!==ZC._n_(t=e.tl)&&(o=(""+t).split("/"),e.top=o[0],e.left=o[1]),null!==ZC._n_(t=e.id)&&(n.id=t),null!==ZC._n_(t=e.cls)&&""!==t&&(n.className=t);for(var r=["tabindex","role","aria-label"],C=0;C<r.length;C++)null!==ZC._n_(t=e[r[C]])&&n.setAttribute(r[C],t);for(var s=[["top","","px"],["left","","px"],[ZC._[19],"","px"],[ZC._[20],"","px"],"position","overflow",["float","cssFloat|styleFloat"],["zidx","zIndex"],"clip","display",["fontSize","","px"],"fontFamily","fontWeight","fontStyle","textDecoration","textAlign","verticalAlign","color","border","borderTop","borderRight","borderBottom","borderLeft","background","cursor",["margin","marginTop|marginRight|marginBottom|marginLeft","px"],["marginTop","","px"],["marginRight","","px"],["marginBottom","","px"],["marginLeft","","px"],["padding","paddingTop|paddingRight|paddingBottom|paddingLeft","px"],["paddingTop","","px"],["paddingRight","","px"],["paddingBottom","","px"],["paddingLeft","","px"],"lineHeight","filter"],A=null,Z=null,c=null,C=0,h=s.length;C<h;C++)if("string"==typeof s[C]&&(s[C]=[s[C]]),(t=null)!==ZC._n_(i=e[s[C][0]])&&(t=i),null!==ZC._n_(t)){null!==ZC._n_(s[C][1])&&""!==s[C][1]||(s[C][1]=s[C][0]);for(var p=s[C][1].split("|"),u=0,_=p.length;u<_;u++){var d=t+(null===ZC._n_(s[C][2])?"":s[C][2]);a[p[u]]=d,"fontFamily"===p[u]&&(A=d),"fontSize"===p[u]&&(Z=ZC._i_(d)),"fontWeight"===p[u]&&(c=d)}}null!==ZC._n_(t=e.opacity)&&(a.opacity=t,1!==ZC._f_(t))&&(a.filter="alpha(opacity = "+ZC._i_(100*ZC._f_(t))+")",a.opacity=t),null!==ZC._n_(t=e.p)&&(e.after?t.insertBefore(n,e.after.nextSibling):t.appendChild(n)),null!==ZC._n_(t=e.html)&&(n.innerHTML=ZC._h_(t),-1!==t.indexOf("<"))&&-1!==t.indexOf(">")&&ZC.A3(n).children().each(function(){null===ZC._n_(A)||null!==ZC._n_(this.style.fontFamily)&&""!==this.style.fontFamily||(this.style.fontFamily=A),null===ZC._n_(Z)||null!==ZC._n_(this.style.fontSize)&&""!==this.style.fontSize||(this.style.fontSize=Z+"px"),null===ZC._n_(c)||null!==ZC._n_(this.style.fontWeight)&&""!==this.style.fontWeight||(this.style.fontWeight=c)}),e.rtl&&(n.style.unicodeBidi="bidi-override",n.style.direction="rtl"),e.cursor&&"hand"===e.cursor&&(n.style.cursor="pointer")}return n},VW:null,A48:function(e,t,i,n,a,l,o){null===ZC._n_(o)&&(o=!1);var r,C,s,A,Z,c=!1,h=("[HTMLMODE]"===t.substring(0,10)&&(c=!0,t=t.substring(10)),s=e+"-text-ruler",-1!==e.indexOf("-fullscreen")&&(s="zc-text-ruler"),"{{"+t+"}}"+i.replace(/[^a-z]/gi,"").toLowerCase()+n+l+a);return ZC.cache.data["text-width-"+h]&&!o?ZC.cache.data["text-width-"+h]:ZC.cache.data["text-height-"+h]&&o?ZC.cache.data["text-height-"+h]:(Z=(Z=t).replace(/<hr>/g,'<hr style="margin:0;padding:0">'),(A=ZC.AL(s))?(ZC.Q.VW&&ZC.Q.VW===e+i+n+l+a||(A.style.fontFamily=i,A.style.fontSize=n+"px",A.style.fontWeight=a,A.style.lineHeight=!c&&-1!==l?ZC._i_(l)+"px":"130%",ZC.Q.VW=e+i+n+l+a),A.innerHTML=Z):(A=ZC.Q.I2({id:s,p:document.body,tl:"-9999/-9999",html:Z,position:"absolute",fontFamily:i,fontSize:n,cls:"zc-text-ruler",fontWeight:a})).style.lineHeight=!c&&-1!==l?ZC._i_(l)+"px":"130%",-1===t.indexOf("<")||-1===t.indexOf(">")||c||ZC.A3(A).children().each(function(){"BR"!==this.tagName.toUpperCase()&&(null!==ZC._n_(this.style.fontFamily)&&""!==this.style.fontFamily||(this.style.fontFamily=i),null!==ZC._n_(this.style.fontSize)&&""!==this.style.fontSize||(this.style.fontSize=n+"px"),this.style.lineHeight=-1!==l?ZC._i_(l)+"px":"130%","B"===this.tagName.toUpperCase()||"STRONG"===this.tagName.toUpperCase()||null!==ZC._n_(this.style.fontWeight)&&""!==this.style.fontWeight||(this.style.fontWeight=a))}),(e=A.getBoundingClientRect())&&0<e.width?(r=e.width,o&&(C=e.height)):(r=ZC.mobile&&ZC.A3.browser.webkit?A.offsetWidth:ZC.A3(A).width(),o&&(C=ZC.mobile&&ZC.A3.browser.webkit?A.offsetHeight:ZC.A3(A).height())),o?(ZC.cache.add("text-height-"+h,C),C):(ZC.cache.add("text-width-"+h,r),r))}},!document.getElementsByClassName&&document.querySelectorAll&&(document.getElementsByClassName=function(e){return document.querySelectorAll("."+e)}),ZC.A3=function(e,t,i){var n,a=this;if(i=typeof i===ZC._[31]?!0:i)return new ZC.A3(e,t,!1);if(a.P4=[],a.QC=e,a.M6=t,a.length=0,a.M6=a.M6||document.getElementsByTagName("body")[0],"object"==typeof a.QC)a.P4=[a.QC];else if("string"==typeof a.QC)for(var l=a.QC.split(","),o=0;o<l.length;o++){var r,C=ZC.GY(l[o]),s=!1;if(2===(r=C.split(">")).length&&(s=!0,ZC.A3(r[0]).each(function(){var e=this;ZC.A3(r[1],this).each(function(){this.parentNode===e&&a.P4.push(this)})})),2===(r=C.split(" ")).length&&(s=!0,ZC.A3(r[0]).each(function(){ZC.A3(r[1],this).each(function(){a.P4.push(this)})})),!s)if("#"===C.substring(0,1))ZC.AL(C.substring(1))&&(a.P4=[ZC.AL(C.substring(1))]);else if("."===C.substring(0,1))if(document.getElementsByClassName){if(a.M6.getElementsByClassName)n=a.M6.getElementsByClassName(C.substring(1));else if(n=document.getElementsByClassName(C.substring(1)),a.M6!==document){for(var A=[],Z=0,c=n.length;Z<c;Z++)ZC.A3.childof(n[Z],a.M6)&&A.push(n[Z]);n=A}for(Z=0,c=n.length;Z<c;Z++)a.P4.push(n[Z])}else{var h=new RegExp("(^|\\s)"+C.substring(1)+"(\\s|$)","i"),p=a.M6.getElementsByTagName("*"),u="";for(Z=0,c=p.length;Z<c;Z++)""!==(u="object"==typeof(u=p[Z].className)?typeof u.baseVal!==ZC._[31]?u.baseVal:"":u)&&h.test(u)&&a.P4.push(p[Z])}else for(Z=0,c=(n=a.M6.getElementsByTagName(C)).length;Z<c;Z++)a.P4.push(n[Z])}return a.length=a.P4.length,this},ZC.A3.prototype={eachfn:function(){for(var e,t=[],i=0,n=this.P4.length;i<n;i++){var a=[this.P4[i]];if(1<(e=arguments.length))for(var l=1;l<e;l++)a.push(arguments[l]);t.push(arguments[0].apply(this,a))}return t},each:function(){for(var e,t=0,i=this.P4.length;t<i;t++){var n=[this.P4[t]];if(1<(e=arguments.length))for(var a=1;a<e;a++)n.push(arguments[a]);arguments[0].apply(this.P4[t],n)}return this},children:function(){var i=[];return this.each(function(){for(var e=0,t=this.childNodes.length;e<t;e++)1===this.childNodes[e].nodeType&&i.push(this.childNodes[e])}),this.P4=i,this},remove:function(){this.eachfn.call(this,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})},empty:function(){this.eachfn.call(this,function(e){if(e)for(;e.childNodes.length;)e.removeChild(e.childNodes[e.childNodes.length-1])})},A35:function(o){typeof o===ZC._[31]&&(o=!0);var r,C,e=this.eachfn.call(this,function(e){var t,i,n,a,l;return e?(e===window?(n=document.body,e.innerWidth?(r=e.innerWidth,C=e.innerHeight):n&&n.parentElement&&n.parentElement.clientWidth?(r=n.parentElement.clientWidth,C=n.parentElement.clientHeight):n&&n.clientWidth&&(r=n.clientWidth,C=n.clientHeight)):(n=o?"block":ZC.A3(e).getstyle("display"),i=window.getComputedStyle?(t=(i=window.getComputedStyle(e,null)).getPropertyValue(ZC._[19]).slice(0,-2),i.getPropertyValue(ZC._[20]).slice(0,-2)):e.getBoundingClientRect?(t=(i=e.getBoundingClientRect()).width||e.offsetWidth,i.height||e.offsetHeight):(t=e.offsetWidth,e.offsetHeight),"none"===n||""===n||typeof n===ZC._[31]?(e=(n=e.style).visibility,a=n.position,l=n.display,n.visibility="hidden",n.position="absolute",n.display="block",r=t,C=i,n.display=l,n.position=a,n.visibility=e):(r=t||0,C=i||0)),{width:r,height:C}):null});return 1===e.length?e[0]:e},getstyle:function(e){e=this.eachfn.call(this,function(e,t){var i,n,a;return"display"===t?e.style.display:(i=document,t=ZC.EH(t),e&&e!==i?"opacity"===t&&typeof e.filters!==ZC._[31]?(a=(ZC.A3(e).getstyle("filter")||"").match(/alpha\(opacity=(.*)\)/))&&a[1]?parseFloat(a[1])/100:1:-1!==ZC.AV(["float","cssFloat","styleFloat"],t)?e.style["float"]||e.style.cssFloat||e.style.styleFloat||"none":((a=e.style?e.style[t]:null)||(i.defaultView&&i.defaultView.getComputedStyle?(i=i.defaultView.getComputedStyle(e,null),t=t.replace(/([A-Z])/g,"-$1").toLowerCase(),a=i?i.getPropertyValue(t):null):e.currentStyle&&(a=e.currentStyle[t],/^\d/.test(a))&&!/px$/.test(a)&&"fontWeight"!==t&&(i=e.style.left,n=e.runtimeStyle.left,e.runtimeStyle.left=e.currentStyle.left,e.style.left=a||0,a=e.style.pixelLeft+"px",e.style.left=i,e.runtimeStyle.left=n)),"opacity"===t&&(a=parseFloat(a)),"auto"===(a=/Opera/.test(navigator.userAgent)&&-1!==ZC.AV(["left","top","right","bottom"],t)&&"static"===ZC.A3(e).getstyle("position")?"auto":a)?null:a):undefined)},e);return 1===e.length?e[0]:e},wh:function(){var e;return this.P4[0]?null!==ZC._n_(e=ZC.A3(this.P4[0]).A35())?[ZC._i_(e[ZC._[19]]),ZC._i_(e[ZC._[20]])]:[0,0]:null},width:function(e){var t,i;return typeof e===ZC._[31]?1===(i=this.eachfn.call(this,function(e){return null!==ZC._n_(t=ZC.A3(e).A35())?ZC._i_(t[ZC._[19]]):0})).length?i[0]:i:(this.eachfn.call(this,function(e,t){e.style.width=t+"px"},e),this)},height:function(e){var t,i;return typeof e===ZC._[31]?1===(i=this.eachfn.call(this,function(e){return null!==ZC._n_(t=ZC.A3(e).A35())?ZC._i_(t[ZC._[20]]):0})).length?i[0]:i:(this.eachfn.call(this,function(e,t){e.style.height=t+"px"},e),this)},scrollLeft:function(){return ZC.A3.scroll().left},scrollTop:function(){return ZC.A3.scroll().top},css:function(t,e){var i;return typeof e===ZC._[31]?1===(i=this.eachfn.call(this,function(e){e=ZC.A3(e).getstyle(t);return"transform"!==t&&-1!==(""+e).indexOf("px")?ZC._i_(e):e})).length?i[0]:i:(this.eachfn.call(this,function(e,t,i){e.style[t]=i},t,e),this)},attr:function(t,e){var i;return typeof e===ZC._[31]?1===(i=this.eachfn.call(this,function(e){return e.getAttribute(t)})).length?i[0]:i:(this.eachfn.call(this,function(e,t,i){e.setAttribute(t,i)},t,e),this)},val:function(e){var t;return typeof e===ZC._[31]?1===(t=this.eachfn.call(this,function(e){return e.value})).length?t[0]:t:(this.eachfn.call(this,function(e,t){e.value=t},e),this)},show:function(){return this.eachfn.call(this,function(e){e.style.display="block"}),this},hide:function(){return this.eachfn.call(this,function(e){e.style.display="none"}),this},offset:function(){var e=this.eachfn.call(this,function(e){var t,i,n,a,l,o;return e&&(e.x&&e.y||null!==!e.parentNode&&"none"!==ZC.A3(e).getstyle("display"))?(t={top:0,left:0},l={top:0,left:0},(o=e&&e.ownerDocument)&&((n=o.body)===e&&(t={top:n.offsetTop,left:n.offsetLeft}),i=o.documentElement,typeof e.getBoundingClientRect!==ZC._[31]&&(l=e.getBoundingClientRect()),e=o.defaultView||o.parentWindow,o=i.clientTop||n.clientTop||0,n=i.clientLeft||n.clientLeft||0,a=e.pageYOffset||i.scrollTop,e=e.pageXOffset||i.scrollLeft,t={top:l.top+a-o,left:l.left+e-n}),t):undefined});return 1===e.length?e[0]:e},bind:function(e,t,a){if(""!==(e=ZC.A3.cleanTouchEvents(e))){if(a=a||!ZC.hasPassive||{passive:!0},-1!==e.indexOf(" "))for(var i=e.split(/\s+/),n=0;n<i.length;n++)this.bind(i[n],t,a);else this.eachfn.call(this,function(e,t,i){function n(e){var t=(e=e||window.event).target||e.srcElement,e=ZC.A3.C1(e);null!==e&&i.call(t,e)}ZC.A3.J3||(ZC.A3.J3=[]),ZC.A3.J3.push([e,t,i,n]),e.addEventListener?e.addEventListener(t,n,a):e.attachEvent("on"+t,n)},e,t);return this}},unbind:function(e,t){if(""!==(e=ZC.A3.cleanTouchEvents(e))){if(-1!==e.indexOf(" "))for(var i=e.split(/\s+/),n=0;n<i.length;n++)this.unbind(i[n],t);else this.eachfn.call(this,function(e,t,i){if(typeof ZC.A3.J3!==ZC._[31])for(var n=0,a=ZC.A3.J3.length;n<a;n++)if((ZC.A3.J3[n][0]===e||e.tagName&&"MAP"===e.tagName.toUpperCase()&&e.id===ZC.A3.J3[n][0].id)&&ZC.A3.J3[n][1]===t&&ZC.A3.J3[n][2]===i){e.removeEventListener?e.removeEventListener(t,ZC.A3.J3[n][3],!0):e.detachEvent("on"+t,ZC.A3.J3[n][3]),ZC.A3.J3.splice(n,1);break}},e,t);return this}},live:function(s,e,t){if(""!==(s=ZC.A3.cleanTouchEvents(s))){if(t=t||!ZC.hasPassive||{passive:!0},-1===s.indexOf("touch")&&-1===s.indexOf("wheel")||(t={passive:!1}),-1!==s.indexOf(" "))for(var i=s.split(/\s+/),n=0;n<i.length;n++)this.live(i[n],e,t);else{var a=this.QC;ZC.A3.EVENTS||(ZC.A3.EVENTS={}),ZC.A3.EVENTS[s]||(ZC.A3.EVENTS[s]=[],document.addEventListener?document.addEventListener(s,l,t):document.attachEvent("on"+s,l)),ZC.A3.EVENTS[s].push([a,e])}return this}function l(e){for(var t,i,n=(e=e||window.event).target||e.srcElement,a=n.className||"",l=("object"==typeof a&&(a=typeof a.baseVal!==ZC._[31]&&null!==ZC._n_(a.baseVal)?a.baseVal:""),ZC.A3.EVENTS[s]),o=[],r=0,C=l.length;r<C;r++)("object"==typeof l[r][0]&&(n===l[r][0]||l[r][0]===document)||"string"==typeof l[r][0]&&("."===l[r][0].substring(0,1)&&-1!==ZC.AV(a.split(" "),l[r][0].replace(".",""))||"#"===l[r][0].substring(0,1)&&n.id===l[r][0].substring(1)))&&(t=l[r][1],i=ZC.A3.C1(e),null!==ZC._n_(t))&&null!==ZC._n_(i)&&o.push([t,n,i]);for(r=0,C=o.length;r<C;r++)o[r][0].call(o[r][1],o[r][2])}},die:function(e,t){if(""!==(e=ZC.A3.cleanTouchEvents(e))){var i,n,a;if(-1!==e.indexOf(" "))for(n=0,a=(i=e.split(/\s+/)).length;n<a;n++)this.die(i[n],t);else{var l=this.QC;if(ZC.A3.EVENTS||(ZC.A3.EVENTS={}),i=ZC.A3.EVENTS[e])for(n=i.length-1;0<=n;n--)i[n][0]!==l||t&&i[n][1]!==t||ZC.A3.EVENTS[e].splice(n,1)}return this}}},ZC.A3._list_=function(e){for(var t=[],i=0;i<ZC.A3.EVENTS[e].length;i++)t.push(ZC.A3.EVENTS[e][i][0]);return t.join(",")},ZC.A3.cleanTouchEvents=function(e){return e=ZC.ie678?ZC.GY(e.replace(/touchstart|touchend|touchmove/,"")):e},ZC.A3.cache={},ZC.A3.browser={},!function(){var t=/(webkit)[ \/]([\w.]+)/,i=/(opera)(?:.*version)?[ \/]([\w.]+)/,n=/(msie) ([\w.]+)/,a=/(mozilla)(?:.*? rv:([\w.]+))?/,l=/(trident)(?:.*? rv:([\w.]+))?/,e=function(e){e=e.toLowerCase();e=t.exec(e)||i.exec(e)||n.exec(e)||l.exec(e)||e.indexOf("compatible")<0&&a.exec(e)||[];return[e[1]||"",e[2]||"0"]}(navigator.userAgent);e[0]&&("trident"===e[0]&&(e[0]="msie"),ZC.A3.browser[e[0]]=!0,ZC.A3.browser.version=e[1])}(),ZC.A3.scroll=function(){var e={top:0,left:0},t=document,i=t.documentElement,t=t.body;return i&&(i.scrollTop||i.scrollLeft)?(e.left=i.scrollLeft,e.top=i.scrollTop):t&&(e.left=t.scrollLeft,e.top=t.scrollTop),e},ZC.A3.C1=function(e){var t,i;return(e.originalEventZC=e).target||(e.target=e.srcElement||document),3!==e.target.nodeType&&8!==e.target.nodeType||(e.target=e.target.parentNode),null===ZC._n_(e.pageX)&&null!==ZC._n_(e.clientX)&&(t=(i=e.target.ownerDocument||document).documentElement,i=i.body,e.pageX=e.clientX+(t&&t.scrollLeft||i&&i.scrollLeft||0)-(t&&t.clientLeft||i&&i.clientLeft||0),e.pageY=e.clientY+(t&&t.scrollTop||i&&i.scrollTop||0)-(t&&t.clientTop||i&&i.clientTop||0)),e.which||e.button===undefined||(e.which=1&e.button?1:2&e.button?3:4&e.button?2:0),e.preventDefault||(e.preventDefault=function(){this.returnValue=!1}),e.stopPropagation||(e.stopPropagation=function(){this.cancelBubble=!0}),e},ZC.A3.childof=function(e,t){if(e===t)return!0;for(;e!==t&&e.parentNode;)if((e=e.parentNode)===t)return!0;return!1},ZC.A3.ajax=function(e){var t=e.url||"",i=e.type||"GET",n=e.data||"",a=!0,l=(typeof e["async"]!==ZC._[31]&&(a=ZC._b_(e["async"])),""===n.replace(/\&/g,"")&&(n=""),e.beforeSend||null),o=e.error||null,r=e.success||null,C=null;try{window.ActiveXObject?C=new ActiveXObject("Microsoft.XMLHTTP"):window.XMLHttpRequest&&(C=new XMLHttpRequest)}catch(A){}var s="file:"===window.location.protocol;if(C){a&&(C.onreadystatechange=function(){4===C.readyState&&((s||200<=C.status&&C.status<300)&&r&&r(C.responseText,C.status,C,t),400<=C.status&&o&&o(C,C.status,C.statusText,t),C.onreadystatechange=new window.Function,C=null)}),window.ActiveXObject||(C.onerror=function(){o&&o(C,0,"",t)}),"POST"===i.toUpperCase()?(C.open("POST",t,a),C.setRequestHeader("X-Requested-With","XMLHttpRequest"),C.setRequestHeader("Content-type","application/x-www-form-urlencoded")):(""!==n&&(-1===t.indexOf("?")&&(t+="?"),t+="&"+n),C.open("GET",t,a)),l&&l(C);try{C.send(n),a||((s||200<=C.status&&C.status<300)&&r&&r(C.responseText,C.status,C,t),400<=C.status&&o&&o(C,C.status,C.statusText,t),C=null)}catch(Z){s&&o&&(o(C,C.status,C.statusText,t),C.onreadystatechange=new window.Function,C=null)}}},ZC.AQ={ACI:function(e,t){var i=zingchart.DEV.SPREADFACTOR,n=[],a=0;function l(e,t){-1===ZC.AV(e,t)&&e.push(t)}for(r=0;r<e.length;r++)e[r]+=t;for(var o=-1,r=1;r<e.length;r++)ZC._a_(e[r]-e[r-1])<i?(n[a]=n[a]||{min:-1,max:-1,items:[]},-1===n[a].min&&(n[a].min=1<r?e[r-2]:t,-1===o&&(o=n[a].min),n[a].min),l(n[a].items,r-1),l(n[a].items,r)):n[a]&&(n[a].max=e[r],n[a].max,a++);n[a]&&-1===n[a].max&&(n[a].max=360+t);var C=n.length;if(1<C&&n[C-1].max-n[0].min==360){for(h=0;h<n[0].items.length;h++)e[n[0].items[h]]+=360;n[C-1].items=n[C-1].items.concat(n[0].items),n[C-1].max+=n[0].min,n=n.splice(1)}for(1<n.length&&(n[n.length-1].max=n[0].min+360),r=0;r<n.length;r++){for(var s=n[r],A=s.items.length,Z=(s.max-s.min)/(A+4),Z=ZC.CY(Z,i),c=0,h=0;h<s.items.length;h++)c+=e[s.items[h]];c/=s.items.length;for(var p=!0;p;)for(p=!1,h=1;h<s.items.length;h++)if(e[s.items[h]]-e[s.items[h-1]]<Z){e[s.items[h-1]]<c?(e[s.items[h-1]]-=.45,e[s.items[h]]+=.05):e[s.items[h]]+=.25,p=!0;break}}return e},_int_:function(e){return Math.abs(e-ZC._i_(e))<Math.pow(10,-10)},VD:function(e,t,i){return!(e.x>t.x+t.width+(i=i||1)||t.x>e.x+e.width+i||e.y>t.y+t.height+i||t.y>e.y+e.height+i)},_boxoverlap2_:function(e,t,i){return!(e.iX>t.iX+t.I+(i=i||1)||t.iX>e.iX+e.I+i||e.iY>t.iY+t.F+i||t.iY>e.iY+e.F+i)},AGI:function(e,t){return e.iX>=t.iX&&e.iX<=t.iX+t.I&&e.iY>=t.iY&&e.iY<=t.iY+t.F&&e.iX+e.I>=t.iX&&e.iX+e.I<=t.iX+t.I&&e.iY+e.F>=t.iY&&e.iY+e.F<=t.iY+t.F},A6G:function(e,t,i){for(var e=Math.sqrt(e/Math.PI),t=Math.sqrt(t/Math.PI),n=Math.min(e,t),a=Math.max(e,t),l=ZC.MAX,o=0,r=n+a;a-n<r;r-=n/50){var C=n*n*Math.acos((r*r+n*n-a*a)/(2*r*n))+a*a*Math.acos((r*r+a*a-n*n)/(2*r*a))-.5*Math.sqrt((-r+n+a)*(r+n-a)*(r-n+a)*(r+n+a));Math.abs(C-i)<l&&(l=Math.abs(C-i),o=r)}return o},BN:function(e,t,i,n){return[e+i*Math.cos(2*n*Math.PI/360),t+i*Math.sin(2*n*Math.PI/360)]},A5L:function(e,t,i,n,a){n=ZC.U4(Math.atan((n-t)/(i-e)));return[e+ZC._i_(ZC.EF(n)*a),t+ZC._i_(ZC.EL(n)*a)]},K1:function(e,t,i,n,a,l){var o,r,C;return a=null===ZC._n_(a)?0:a,l=null===ZC._n_(l)||l,i-e!=0?(r=o=0,C=Math.atan((n-t)/(i-e)),(a<1||l)&&(o=a/2.5*Math.cos(C),r=a/2.5*Math.sin(C)),[(e+i)/2+(e<i?o:-o),(t+n)/2+r]):[e,(t+n)/2]},A3X:function(e,t){t=(e[1]-t[1])/(e[0]-t[0]);return[t,e[1]-t*e[0]]},A5K:function(e,t,i,n){var a,l,o,r,C,s,A;return t[0]===n[0]&&t[1]===n[1]?t:e[0]===i[0]&&e[1]===i[1]?e:(e=e[0]===t[0]&&i[0]===n[0]?e[0]===i[0]?(A=e[0],(e[1]+t[1]+i[1]+n[1])/4):A=NaN:e[0]===t[0]?(C=(r=ZC.AQ.A3X(i,n))[0],s=r[1],C*(A=e[0])+s):i[0]===n[0]?(l=(a=ZC.AQ.A3X(i,n))[0],o=a[1],l*(A=i[0])+o):(l=(a=ZC.AQ.A3X(e,t))[0],o=a[1],C=(r=ZC.AQ.A3X(i,n))[0],l*(A=((s=r[1])-o)/(l-C))+o),[A,e])},PJ:function(e,t,i){null===ZC._n_(t)&&(t=5);for(var n,a,l,o=0,r=0,C=(null!==ZC._n_(i)&&(o=i[0],r=i[1]),""),s=ZC.ie67?ZC.MAPTX:0,A=0,Z=e.length;A<Z;A++)e[A]&&(0===A?(a=e[A][0]+s+o,l=e[A][1]+s+r,n=A,C+=Math.round(a,10)+","+Math.round(l,10)+","):t<Math.sqrt((e[A][0]+s-a)*(e[A][0]+s-a)+(e[A][1]+s-l)*(e[A][1]+s-l))&&e[A-1]&&(t<Math.sqrt((e[A][0]-e[A-1][0])*(e[A][0]-e[A-1][0])+(e[A][1]-e[A-1][1])*(e[A][1]-e[A-1][1]))&&1<A-n&&(C+=Math.round(e[A-1][0]+s+o,10)+","+Math.round(e[A-1][1]+s+r,10)+","),a=e[A][0]+s+o,l=e[A][1]+s+r,n=A,C+=Math.round(a,10)+","+Math.round(l,10)+","));return C=C.substring(0,C.length-1)},Z1:function(e,t){if(null===ZC._n_(e)||e.length<2)return"";null===ZC._n_(t)&&(t=6,ZC.mobile)&&(t+=10);for(var i,n,a=[],l=0,o=e.length;l<o;l++)(0===l||0<l&&null!==ZC._n_(e[l])&&null!==ZC._n_(e[l-1])&&e[l].join("/")!==e[l-1].join("/")||null===ZC._n_(e[l]))&&a.push(e[l]);var r,C,s,A,Z,c,h,p,u,_=[],d=[],f=!1;for(l=0,o=a.length;l<o;l++)a[l]&&(r=a[l][0],C=a[l][1],a[l-1]&&(Z=a[l-1][0],c=a[l-1][1],Z===r)&&(Z-=.1),a[l+1]&&(s=a[l+1][0],A=a[l+1][1],s===r)&&(s+=.1),0===l?(i=Math.atan((A-C)/(s-r)),u=n=ZC.U4(i),r<=s&&(u+=180),_.push(ZC.AQ.BN(r,C,t,n+90),ZC.AQ.BN(r,C,t,u),ZC.AQ.BN(r,C,t,n+270))):l===a.length-1?(i=Math.atan((c-C)/(Z-r)),u=n=ZC.U4(i),r<=Z&&(u+=180),f?(d.push(ZC.AQ.BN(r,C,t,n+270),ZC.AQ.BN(r,C,t,u),ZC.AQ.BN(r,C,t,n+90)),f=!1):_.push(ZC.AQ.BN(r,C,t,n+270),ZC.AQ.BN(r,C,t,u),ZC.AQ.BN(r,C,t,n+90))):(h=Math.atan((A-C)/(s-r)),p=Math.atan((C-c)/(r-Z)),u=ZC.U4((h+p)/2),_.push(ZC.AQ.BN(r,C,t,u+270)),r<=s&&r<=Z?(_.push(ZC.AQ.BN(r,C,t,u+180)),_.push(ZC.AQ.BN(r,C,t,u+90)),d.push(ZC.AQ.BN(r,C,t,u)),f=!0):s<=r&&Z<=r?(_.push(ZC.AQ.BN(r,C,t,u)),_.push(ZC.AQ.BN(r,C,t,u+90)),d.push(ZC.AQ.BN(r,C,t,u+180)),f=!0):d.push(ZC.AQ.BN(r,C,t,u+90))));for(l=d.length-1;0<=l;l--)_.push(d[l]);return _},A2F:function(e,t){var i,n=0,a=0;switch(e+=""){case"horizontal":case"h":n=1,a=t;break;case"vertical":case"v":n=t,a=1;break;default:i=e.split("x"),null!==ZC._n_(i[0])&&ZC._i_(i[0])+""===i[0]&&(n=ZC._i_(i[0])),0===(a=null!==ZC._n_(i[1])&&ZC._i_(i[1])+""===i[1]?ZC._i_(i[1]):a)&&0===n?(n=Math.ceil(Math.sqrt(t)),a=Math.ceil(t/n)):(0===a&&(a=Math.ceil(t/n)),0===n&&(n=Math.ceil(t/a)))}return[n,a]},AB4:function(e,t){return.5*(2*t[1]+(-t[0]+t[2])*e+(2*t[0]-5*t[1]+4*t[2]-t[3])*e*e+(-t[0]+3*t[1]-3*t[2]+t[3])*e*e*e)},ABD:function(C,s){for(var e,t=C.length,i=[],n=[],a=[],l=0;l<t-1;l++)o=C[l+1]-C[l],e=s[l+1]-s[l],n.push(o),i.push(e),a.push(e/o);var A=[a[0]];for(l=0;l<n.length-1;l++){var o,r,Z,c=a[l],h=a[l+1];A.push(c*h<=0?0:3*(Z=(o=n[l])+(r=n[l+1]))/((Z+r)/c+(Z+o)/h))}A.push(a[a.length-1]);var p=[],u=[];for(l=0;l<A.length-1;l++){var _=A[l],d=1/n[l];p.push(((c=a[l])-_-(Z=_+A[l+1]-c-c))*d),u.push(Z*d*d)}return function(e){var t=C.length-1;if(e===C[t])return s[t];for(var i=0,n=u.length-1;i<=n;){var a=Math.floor(.5*(i+n)),l=C[a];if(l<e)i=a+1;else{if(!(e<l))return s[a];n=a-1}}var t=Math.max(0,n),o=e-C[t],r=o*o;return s[t]+A[t]*o+p[t]*r+u[t]*o*r}},YC:function(e,t,i,n){null===ZC._n_(n)&&(n=1/(i/t.length*4));var a,l=[];if(e)if((a=[].concat(t))[1]&&a[2]){a[0]=a[0]||a[1]||a[2]||a[3],a[1]=a[1]||a[2]||a[0]||a[3],a[2]=a[2]||a[3]||a[1]||a[0],a[3]=a[3]||a[2]||a[1]||a[0];for(var o=ZC.AQ.ABD([0,1,2,3],a),r=1;r<=2;r+=n)l.push([r-1,o(r)])}else l.push([]);else for(var C=1;C<t.length-2;C++)if(1!==n)if((a=[t[C-1],t[C],t[C+1],t[C+2]])[1]&&a[2])for(a[0]=a[0]||a[1]||a[2]||a[3],a[1]=a[1]||a[2]||a[0]||a[3],a[2]=a[2]||a[3]||a[1]||a[0],a[3]=a[3]||a[2]||a[1]||a[0],r=0;r<=1;r+=n){var s=C+r,A=ZC.AQ.AB4(r,a);l.push([s-1,A])}else l.push([]);else l.push([C-1,t[C]]);return l},A0S:function(e){for(var t=Math.round(ZC.FU(ZC._a_(e))/Math.LN10),i=[1,2,4,5,6,8,10],n=ZC.MAX,a=1,l=0;l<i.length;l++){var o=i[l]*Math.pow(10,t)-e;ZC._a_(o)<n&&(a=i[l],n=ZC._a_(o))}return a*Math.pow(10,t)},_nice_number_:function(e,t){var i=Math.floor(Math.log(e)/Math.log(10)),e=e/Math.pow(10,i),t=t?e<1.5?1:e<3?2:e<7?5:10:e<=1?1:e<=2?2:e<=5?5:10;return t*Math.pow(10,i)},WI:function(e,t,i,n,a,l){null===ZC._n_(a)&&(a=!0),l=null===ZC._n_(l)?10:Math.min(Math.max(2,l),100),null!==ZC._n_(n)&&0!==n||(n=1);var o,r,C,s=Math.floor(ZC.FU(ZC._a_(t))/Math.LN10),n=(e===t&&(t+=Math.pow(10,s)),s=e,e=t,t=ZC.AQ._nice_number_(e-s,!1),null===ZC._n_(i)?(o=t/(l-1),o=ZC.AQ._nice_number_(o,!0),o*=n):o=i,a?(r=Math.floor(s/o)*o,C=Math.ceil(e/o)*o):(r=s,C=e,o=null===ZC._n_(i)?t/(l-1):i),Math.floor(ZC.FU(ZC._a_(o))/Math.LN10)),a=n<0?ZC._a_(n):0;return[r,C,o,a=0===a&&2===(s=(""+o).split(".")).length?s[1].length:a,o]},_intersect_:function(e,t,i,n){var a,l,o=e[0],e=e[1],r=t[0],t=t[1],C=i[0],i=i[1],s=n[0],n=n[1];return o===r&&e===t||C===s&&i===n||0==(a=(n-i)*(r-o)-(s-C)*(t-e))||(l=((r-o)*(e-i)-(t-e)*(o-C))/a,(s=((s-C)*(e-i)-(n-i)*(o-C))/a)<0)||1<s||l<0||1<l?null:[o+s*(r-o),e+s*(t-e)]},_outside_:function(e,t){return e[0]<t[0]||e[0]>t[2]||e[1]<t[1]||e[1]>t[3]},_angle_:function(e,t){var i=t[0]-e[0],t=t[1]-e[1];return Math.atan2(t,i)}},ZC.XR={md5:function(e){return ZC.XR.ACW(ZC.XR.ACX(ZC.XR.ACP(e)))},ACX:function(e){return ZC.XR.ACC(ZC.XR.ACY(ZC.XR.ACD(e),8*e.length))},ACW:function(e){for(var t,i="0123456789abcdef",n="",a=0,l=e.length;a<l;a++)t=e.charCodeAt(a),n+=i.charAt(t>>>4&15)+i.charAt(15&t);return n},ACP:function(e){for(var t,i,n="",a=-1,l=e.length;++a<l;)t=e.charCodeAt(a),i=a+1<l?e.charCodeAt(a+1):0,55296<=t&&t<=56319&&56320<=i&&i<=57343&&(t=65536+((1023&t)<<10)+(1023&i),a++),t<=127?n+=String.fromCharCode(t):t<=2047?n+=String.fromCharCode(192|t>>>6&31,128|63&t):t<=65535?n+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(n+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return n},ACD:function(e){for(var t=Array(e.length>>2),i=0;i<t.length;i++)t[i]=0;for(i=0;i<8*e.length;i+=8)t[i>>5]|=(255&e.charCodeAt(i/8))<<i%32;return t},ACC:function(e){for(var t="",i=0;i<32*e.length;i+=8)t+=String.fromCharCode(e[i>>5]>>>i%32&255);return t},ACY:function(e,t){function r(e,t,i,n,a,l){return o((t=o(o(t,e),o(n,l)))<<a|t>>>32-a,i)}function i(e,t,i,n,a,l,o){return r(t&i|~t&n,e,t,a,l,o)}function n(e,t,i,n,a,l,o){return r(t&n|i&~n,e,t,a,l,o)}function a(e,t,i,n,a,l,o){return r(t^i^n,e,t,a,l,o)}function l(e,t,i,n,a,l,o){return r(i^(t|~n),e,t,a,l,o)}function o(e,t){var i=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(i>>16)<<16|65535&i}e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var C=1732584193,s=-271733879,A=-1732584194,Z=271733878,c=0,h=e.length;c<h;c+=16){var p=C,u=s,_=A,d=Z,C=i(C,s,A,Z,e[c],7,-680876936),Z=i(Z,C,s,A,e[c+1],12,-389564586),A=i(A,Z,C,s,e[c+2],17,606105819),s=i(s,A,Z,C,e[c+3],22,-1044525330);C=i(C,s,A,Z,e[c+4],7,-176418897),Z=i(Z,C,s,A,e[c+5],12,1200080426),A=i(A,Z,C,s,e[c+6],17,-1473231341),s=i(s,A,Z,C,e[c+7],22,-45705983),C=i(C,s,A,Z,e[c+8],7,1770035416),Z=i(Z,C,s,A,e[c+9],12,-1958414417),A=i(A,Z,C,s,e[c+10],17,-42063),s=i(s,A,Z,C,e[c+11],22,-1990404162),C=i(C,s,A,Z,e[c+12],7,1804603682),Z=i(Z,C,s,A,e[c+13],12,-40341101),A=i(A,Z,C,s,e[c+14],17,-1502002290),C=n(C,s=i(s,A,Z,C,e[c+15],22,1236535329),A,Z,e[c+1],5,-165796510),Z=n(Z,C,s,A,e[c+6],9,-1069501632),A=n(A,Z,C,s,e[c+11],14,643717713),s=n(s,A,Z,C,e[c],20,-373897302),C=n(C,s,A,Z,e[c+5],5,-701558691),Z=n(Z,C,s,A,e[c+10],9,38016083),A=n(A,Z,C,s,e[c+15],14,-660478335),s=n(s,A,Z,C,e[c+4],20,-405537848),C=n(C,s,A,Z,e[c+9],5,568446438),Z=n(Z,C,s,A,e[c+14],9,-1019803690),A=n(A,Z,C,s,e[c+3],14,-187363961),s=n(s,A,Z,C,e[c+8],20,1163531501),C=n(C,s,A,Z,e[c+13],5,-1444681467),Z=n(Z,C,s,A,e[c+2],9,-51403784),A=n(A,Z,C,s,e[c+7],14,1735328473),C=a(C,s=n(s,A,Z,C,e[c+12],20,-1926607734),A,Z,e[c+5],4,-378558),Z=a(Z,C,s,A,e[c+8],11,-2022574463),A=a(A,Z,C,s,e[c+11],16,1839030562),s=a(s,A,Z,C,e[c+14],23,-35309556),C=a(C,s,A,Z,e[c+1],4,-1530992060),Z=a(Z,C,s,A,e[c+4],11,1272893353),A=a(A,Z,C,s,e[c+7],16,-155497632),s=a(s,A,Z,C,e[c+10],23,-1094730640),C=a(C,s,A,Z,e[c+13],4,681279174),Z=a(Z,C,s,A,e[c],11,-358537222),A=a(A,Z,C,s,e[c+3],16,-722521979),s=a(s,A,Z,C,e[c+6],23,76029189),C=a(C,s,A,Z,e[c+9],4,-640364487),Z=a(Z,C,s,A,e[c+12],11,-421815835),A=a(A,Z,C,s,e[c+15],16,530742520),C=l(C,s=a(s,A,Z,C,e[c+2],23,-995338651),A,Z,e[c],6,-198630844),Z=l(Z,C,s,A,e[c+7],10,1126891415),A=l(A,Z,C,s,e[c+14],15,-1416354905),s=l(s,A,Z,C,e[c+5],21,-57434055),C=l(C,s,A,Z,e[c+12],6,1700485571),Z=l(Z,C,s,A,e[c+3],10,-1894986606),A=l(A,Z,C,s,e[c+10],15,-1051523),s=l(s,A,Z,C,e[c+1],21,-2054922799),C=l(C,s,A,Z,e[c+8],6,1873313359),Z=l(Z,C,s,A,e[c+15],10,-30611744),A=l(A,Z,C,s,e[c+6],15,-1560198380),s=l(s,A,Z,C,e[c+13],21,1309151649),C=l(C,s,A,Z,e[c+4],6,-145523070),Z=l(Z,C,s,A,e[c+11],10,-1120210379),A=l(A,Z,C,s,e[c+2],15,718787259),s=l(s,A,Z,C,e[c+9],21,-343485551),C=o(C,p),s=o(s,u),A=o(A,_),Z=o(Z,d)}return Array(C,s,A,Z)}},typeof zingchart===ZC._[31]&&(zingchart={ADD:!0}),zingchart.clipart={},zingchart.widgets={},zingchart.plugins={},zingchart.pool={},zingchart.pool.size=0,zingchart.pool.data={},zingchart.pool.getInstance=function(e,t,i,n){var a;if(null!==ZC._n_(zingchart.pool.data[i]))(a=zingchart.pool.data[i])._POOL_=!0,ZC.SKIPOBJCOUNT=!0,n||(a.$i(t),a.K=i),ZC.SKIPOBJCOUNT=!1;else{switch(e){case"DQ":a=new ZC.DQ(t);break;case"HU":a=new ZC.HU(t);break;case"DT":a=new ZC.DT(t);break;case"P8":a=new ZC.P8(t);break;case"CZ":a=new ZC.CZ(t)}a.K=i,zingchart.pool.size++,zingchart.pool.size>zingchart.DEV.MAXPOOLSIZE?(zingchart.pool.data={},zingchart.pool.size=0):zingchart.pool.data[i]=a}return a},zingchart.i18n={},zingchart.THEMES={},zingchart.V3D=2,zingchart.QUOTEDVALUES=!1,zingchart.EDITSOURCE=1,zingchart.MODULESDEP={line:"xy",line3d:"3d,line",area:"xy",area3d:"3d,area",vline:"yx",varea:"yx",vbar:"xy",vbar3d:"3d,vbar",hbar:"yx",hbar3d:"3d,hbar",scatter:"xy",bubble:"xy",hscatter:"yx",hbubble:"yx",pie:"r",pie3d:"3d,pie",nestedpie:"r",gauge:"r",vbullet:"vbar",hbullet:"hbar",vfunnel:"xy",hfunnel:"yx",piano:"xy",radar:"r",range:"xy",vrange:"yx",stock:"xy,vbar",venn:"r"},zingchart.SKIP={EVENT:!1,ANIMATION:!1,LEGEND:!1,CSV:!1,PARSE3D:!1},zingchart.MODULESDIR=function(e){for(var t=0;t<e.length;t++)if(e[t].src)if(-1<e[t].src.indexOf("zingchart.min.js"))return e[t].src.split("zingchart.min.js")[0]+"modules/";return"./modules/"}(document.getElementsByTagName("head")[0].childNodes),zingchart.DEV={STRICTRULES:0,DOMFRAGMENTS:1,SORTTOKENS:1,PLOTSTATS:1,RESOURCES:1,KEEPSOURCE:1,SPREADTYPE:0,SPREADFACTOR:10,IGNORESUBUNIT:0,DELAYEDTRACKERS:0,STACKINGLOGIC:-1,SMARTDATELABELS:0,GC:1,CACHECANVASTEXT:0,CHECKDECIMALS:0,CACHESELECTION:0,MEDIARULES:1,SKIPTRACKERS:0,PLOTSHLAYER:0,RESIZESPEED:250,DEBOUNCESPEED:250,LOCALSVGEXPORT:1,SKIPPROGRESS:0,SKIPCONTEXTMENU:0,COPYDATA:1,GUIDETIMEOUT:0,LOOKUPCSSTRANSFORM:0,MAPSONBOTTOM:0,MAXPOOLSIZE:1024,MINTRACKERDIFF:1.5,TRACKERMASKING:2,COPYVALUES:1},zingchart.CANVASTEXT=0,zingchart.ZINDEX=1,zingchart.CMZINDEX=9999,zingchart.FSZINDEX=9998,zingchart.FSID=null,zingchart.ZCOUTPUT=0,zingchart.ASYNC=0,zingchart.SORTTRACKERS=0,zingchart.TIMEOUT=0,zingchart.USERCSS={},zingchart.OBJECTMODE="normal",zingchart.SYNTAX="mixed",zingchart.THEME=null,zingchart.EXPORTURL=("file:"===document.location.protocol?"http:":document.location.protocol)+"//export.zingchart.com/",zingchart.AJAXEXPORT=!1,zingchart.TOUCHZOOM="normal",zingchart.DEFAULT={height:480,width:640},zingchart.FASTWIDTH=0,zingchart.FONTSIZE=11,zingchart.FONTFAMILY="Lucida Sans Unicode,Lucida Grande,Lucida Sans,Helvetica,Arial,sans-serif",ZC.mobile&&(zingchart.FONTFAMILY="Lucida Sans,Helvetica,Arial,sans-serif"),zingchart.zc_a11y={events_$i:!1,last_focused_id:"",last_clicked_id:""},zingchart.zc_a11y.mousedown=function(e){e=e.target;zingchart.zc_a11y.last_clicked_id=e.id},zingchart.zc_a11y.keyup=function(e){var t,i,n,a=e.target.id||"";""!==a&&(t=a.split("-"),-1!==a.indexOf("-legend-item_"))&&" "===e.key&&6===t.length&&(i=zingchart.getLoader(t[0]))&&((n=zingchart.getGraph(i,t[2]))&&(n.OE({targetid:a.replace("-a11y","-")}),zingchart.exec(i.K,"toggleplot",{graphid:t[2],plotindex:ZC._i_(t[4].replace("item","")),KC:1})),window.setTimeout(function(){n.O4({targetid:a.replace("-a11y","-")}),""!==zingchart.zc_a11y.last_focused_id&&document.getElementById(zingchart.zc_a11y.last_focused_id).focus()},1))},zingchart.zc_a11y.blur=function(e){var t,i,n,e=e.target.id||"";""!==e&&(t=e.split("-"),-1!==e.indexOf("-legend-item_"))&&6===t.length&&(i=zingchart.getLoader(t[0]))&&(n=zingchart.getGraph(i,t[2]))&&n.OE({targetid:e.replace("-a11y","-")})},zingchart.zc_a11y.focus=function(e){var e=e.target,t=e.id||"";if(""!==t){var i=t.split("-"),n=document.getElementById(i[0]+"-focus");if(n&&(n.style.display="block",2!==i.length||"entry"!==i[1]&&"exit"!==i[1]||(n.style.display="none",zingchart.exec(i[0],"hidetooltip",{}))),zingchart.zc_a11y.last_clicked_id!==t){-1!==t.indexOf("-legend-item_")&&6===i.length&&(a=zingchart.getLoader(i[0]))&&(a=zingchart.getGraph(a,i[2]))&&a.O4({targetid:t.replace("-a11y","-")}),"plot"===i[4]&&"node"===i[6]&&zingchart.exec(i[0],"showtooltip",{graphid:i[2],plotindex:i[5],nodeindex:i[7]});var a=ZC.A3("#"+i[0]+"-wrapper").offset(),l=(e.tagName||"").toUpperCase(),o=(e.className||"").split(" ");if(e.getAttribute("aria-label")&&"AREA"===l&&(-1!==o.indexOf("zc-graph-descriptor")||-1!==o.indexOf("zc-node-area")||-1!==o.indexOf("zc-legend-item-a11yarea"))){zingchart.zc_a11y.last_focused_id=t;for(var l=e.getAttribute("shape"),r=(e.getAttribute("data-coords")||"").split(","),C=(0!==r.length&&""!==r[0]||(r=(e.getAttribute("coords")||"").split(",")),0),s=0;s<r.length;s++)ZC._i_(r[s])<0&&C++;if(1<C&&zingchart.exec(i[0],"hidetooltip",{}),"rect"===l)1<C&&(r=["0","0","1","1"]),n.style.left=ZC._i_(r[0])+a.left-5+"px",n.style.top=ZC._i_(r[1])+a.top-5+"px",n.style.width=ZC._i_(r[2])-ZC._i_(r[0])+"px",n.style.height=ZC._i_(r[3])-ZC._i_(r[1])+"px";else if("circle"===l)1<C&&(r=["0","0","1"]),n.style.left=ZC._i_(r[0])+a.left-ZC._i_(r[2])-5+"px",n.style.top=ZC._i_(r[1])+a.top-ZC._i_(r[2])-5+"px",n.style.width=2*ZC._i_(r[2])+"px",n.style.height=2*ZC._i_(r[2])+"px";else if("poly"===l){1<C&&(r=["0","0","1","1"]);for(var A=Number.MAX_VALUE,Z=-Number.MAX_VALUE,c=Number.MAX_VALUE,h=-Number.MAX_VALUE,s=0;s<r.length;s+=2)A=Math.min(A,ZC._i_(r[s])),Z=Math.max(Z,ZC._i_(r[s])),c=Math.min(c,ZC._i_(r[s+1])),h=Math.max(h,ZC._i_(r[s+1]));n.style.left=A+a.left-5+"px",n.style.top=c+a.top-5+"px",n.style.width=Z-A+"px",n.style.height=h-c+"px"}}}}},zingchart.loadModules=function(e,t){for(var i=(""+e).split(","),n=0,a=i.length;n<a;n++){var l=ZC.GY(i[n]),l=ZC.ALIAS[l]||l,o=(-1!==ZC.AV(["bar","bar3d","funnel","bullet"],l)&&(l="v"+l),zingchart.MODULESDEP[l]);null!==ZC._n_(o)&&zingchart.loadModules(o),-1===ZC.AV(ZC.RM,l)&&ZC.RM.push(l)}t&&zingchart.A1S(null,ZC.RM,t)},zingchart.A1S=function(n,a,l){var o=0;(0!==a.length&&document.getElementsByTagName("head")[0]?function r(){var e,t=!0;function i(){(++o===a.length?l:r)()}zingchart.ACO(a[o])?e=zingchart.MODULESDIR+"zingchart-"+a[o]+".min.js":t=!1,t?ZC.AO.ACE(n,e,i):i()}:l)()},zingchart.ACO=function(e){return-1!==ZC.AV(ZC.RM,e)&&-1===ZC.AV(ZC.WJ,e)},zingchart.L6=[],ZC.ie67||!function(){for(var e in ZC.IMAGES)ZC.IMAGES.hasOwnProperty(e)&&(zingchart.L6[e]=new Image,zingchart.L6[e].src=ZC.IMAGES[e])}(),typeof Ext!==ZC._[31]&&(zingchart.L6["zc.blank"]=new Image,zingchart.L6["zc.blank"].src=ZC.BLANK),zingchart.exec=function(e,t,i){return zingchart.exec_flash?zingchart.exec_flash(e,t,i):null},zingchart.AD8=function(N){var QO=N.dataurl||"",EX="",H,MF=null,DM=(null!==ZC._n_(H=N.data)&&("string"==typeof H?EX=H:MF=JSON.parse(JSON.stringify(H))),null);if(""!==QO)ZC.A3.ajax({type:"GET",url:QO,"async":!1,data:zingchart.ZCOUTPUT?"zcoutput=userdef":"",error:function(){return!1},success:function(KK){function _f_(e){ZC.cache.data["data-"+QO]=KK,N.output="auto",ZC._cp_(e.render,N)}try{DM=JSON.parse(KK),_f_(DM)}catch(JC){try{DM=eval("("+KK+")"),_f_(DM)}catch(JC){return!1}}}});else{if(""!==EX)try{DM=JSON.parse(EX)}catch(JC){return!1}else null!==MF&&(DM=MF);null===ZC._n_(N.output)&&(N.output="auto"),ZC._cp_(DM.render,N)}return zingchart.render(N)},zingchart.ZZ=null,zingchart.params={},zingchart.render=function(e,t){if(t=null===ZC._n_(t)?!1:t)return zingchart.AD8(e);null===ZC._n_(ZC.canvas)&&ZC.compat();var t=e.output||"auto",i=("html5"===t&&(t="auto"),!1);if("!"===(t=ZC.mobile&&"auto"===t?"svg":t).substring(0,1)&&(i=!0,t=t.substring(1)),i||("auto"===t||"canvas"===t&&!ZC.canvas||"svg"===t&&!ZC.svg||"vml"===t&&!ZC.vml||"flash"===t&&!ZC.flash)&&(ZC.svg?t="svg":ZC.canvas?t="canvas":ZC.vml?t="vml":ZC.flash&&(t="flash")),"vml"===t&&null===ZC._n_(zingchart.ZZ)&&(zingchart.ZZ=!1),"flash"!==t)return zingchart.A94(e,t);zingchart.render_flash(e)},document.attachEvent&&("complete"===document.readyState?zingchart.ZZ=!0:document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&(zingchart.ZZ=!0)})),zingchart.setlabel=zingchart.setLabel=function(e,t){ZC.HG[e]=t},zingchart.HW=[],zingchart.Y1={},zingchart.ADE=0,zingchart.AD0=0,zingchart.ADF=!1,zingchart.A9A=!1,zingchart.A9B=!1,zingchart.ACS=!1,zingchart.css=null,zingchart.X1=function(e){if(e.target.id){for(var t=null,i=0,n=zingchart.HW.length;i<n;i++)e.target.id.substr(0,zingchart.HW[i].K.length+1)===zingchart.HW[i].K+"-"&&(t=zingchart.HW[i]);return t}},ZC.GESTURE={id:null,on:!1,ts:null,type:null,dist:-1,mp:[-1,-1]},typeof zingchart.MO===ZC._[31]&&(zingchart.MO=function(e){if(e.target&&e.target.tagName&&"INPUT"!==e.target.tagName.toUpperCase()&&"TEXTAREA"!==e.target.tagName.toUpperCase()){var t,i,n;if("pinch"===zingchart.TOUCHZOOM)switch(ZC.TOUCHEVENTS=!1,e.type){case"touchstart":for(var a=!1,l=0;l<zingchart.HW.length;l++)t=ZC.A3("#"+zingchart.HW[l].K+"-top"),ZC.DS(e.touches[0].pageX,t.offset().left,t.offset().left+t.width())&&ZC.DS(e.touches[0].pageY,t.offset().top,t.offset().top+t.height())&&(a=!0,ZC.GESTURE.id=zingchart.HW[l].K);a&&(ZC.GESTURE.on=!0);break;case"touchmove":ZC.GESTURE.on&&2===e.touches.length&&(e.preventDefault(),n=(e.touches[0].clientX-e.touches[1].clientX)*(e.touches[0].clientX-e.touches[1].clientX)+(e.touches[0].clientY-e.touches[1].clientY)*(e.touches[0].clientY-e.touches[1].clientY),n=Math.round(Math.sqrt(n)),i=[Math.round((e.touches[0].clientX+e.touches[1].clientX)/2),Math.round((e.touches[0].clientY+e.touches[1].clientY)/2)],-1===ZC.GESTURE.dist?(ZC.GESTURE.dist=n,ZC.GESTURE.mp=i,ZC.GESTURE.ts=(new Date).getTime()):100<(new Date).getTime()-ZC.GESTURE.ts&&(n>ZC.GESTURE.dist+50?(ZC.GESTURE.type="pinch-in",zingchart.exec(ZC.GESTURE.id,"zoomin")):n<ZC.GESTURE.dist-50?(ZC.GESTURE.type="pinch-out",zingchart.exec(ZC.GESTURE.id,"zoomout")):(ZC.GESTURE.type="panning",n={},i[0]>ZC.GESTURE.mp[0]+10?(n["x-"]=!0,n.xdist=ZC._a_(ZC.GESTURE.mp[0]-i[0])):i[0]<ZC.GESTURE.mp[0]-10&&(n["x+"]=!0,n.xdist=ZC._a_(ZC.GESTURE.mp[0]-i[0])),i[1]>ZC.GESTURE.mp[1]+10?(n["y+"]=!0,n.ydist=ZC._a_(ZC.GESTURE.mp[1]-i[1])):i[1]<ZC.GESTURE.mp[1]-10&&(n["y-"]=!0,n.ydist=ZC._a_(ZC.GESTURE.mp[1]-i[1])),ZC.GESTURE.mp=i,zingchart.exec(ZC.GESTURE.id,"pan",n)),ZC.GESTURE.ts=(new Date).getTime()));break;case"touchend":ZC.GESTURE.id=null,ZC.GESTURE.on=!1,ZC.GESTURE.type=null,ZC.GESTURE.ts=null,ZC.GESTURE.dist=-1,ZC.GESTURE.mp=[-1,-1]}if(window.ZC){window.ZC.E5=[e.pageX,e.pageY];var o=zingchart.X1(e);if(o){if(!zingchart.SKIP.EVENT){if(e.type===ZC._[47]&&(window.ZC.aMDXY=[e.pageX,e.pageY]),"touchstart"===e.type&&o.AG)for(var r=0;r<o.AG.length;r++)o.AG[r].LN();if(-1!==ZC.AV(["mouseover","mouseout","mouseover"],e.type)&&"IMG"!==e.target.tagName.toUpperCase())return;if("mouseout"===e.type&&(t=ZC.A3("#"+o.K+"-top"),ZC.DS(e.pageX,t.offset().left,t.offset().left+t.width(),!0))&&ZC.DS(e.pageY,t.offset().top,t.offset().top+t.height(),!0))return;ZC.AO.C0(e.type,o,zingchart.A0R(e,o))}zingchart.SKIP.EVENT=!1}}}},ZC.A3(document).bind(ZC.Q.C1("mouseover"),zingchart.MO).bind(ZC.Q.C1("mouseout"),zingchart.MO).bind(ZC.Q.C1(ZC._[48]),zingchart.MO).bind(ZC.Q.C1(ZC._[47]),zingchart.MO).bind(ZC.Q.C1(ZC._[49]),zingchart.MO)),zingchart.A0R=function(e,t){var i=ZC.Q.MJ(e),n=t.A5D(i[0],i[1]),a=ZC.A3("#"+t.K+"-top"),l=Math.round(i[0]-a.offset().left),i=Math.round(i[1]-a.offset().top),a="none";return/(.*)\-scale\_(.*)\-item\_title\-area(.*)/.test(e.target.id)&&(a="scale-title"),/(.*)\-scale\_(.*)\-item\_(\d+)\-area(.*)/.test(e.target.id)&&(a="scale-item"),/(.*)\-plotset\-plot\-(\d+)\-node\-(\d+)(.*)/.test(e.target.id)&&(a="node"),/(.*)\-legend\-item\_(\d+)\-area/.test(e.target.id)&&(a="legend-item"),/(.*)\-legend\-marker\_(\d+)\-area/.test(e.target.id)&&(a="legend-marker"),/(.*)\-legend\-(.+)\-area/.test(e.target.id)&&(a="legend-element"),/(.*)\-menu\-item\-(.*)/.test(e.target.id)&&(a="menu-item"),/(.*)\-preview\-handler\-x(.*)/.test(e.target.id)&&(a="preview"),/(.*)\-shape\-(.*?)\-area/.test(e.target.id)&&(a="shape"),/(.*)\-label\-(.*?)\-area/.test(e.target.id)&&(a="label"),{id:t.K,ev:ZC.A3.C1(e),targetid:e.target.id,graphid:n?n.K:null,target:a,x:l,y:i,plotarea:!!n&&l>=n.P.iX&&l<=n.P.iX+n.P.I&&i>=n.P.iY&&i<=n.P.iY+n.P.F,touch:ZC.mobile}},typeof zingchart.SH===ZC._[31]&&(zingchart.SH=function(e){for(var t,i,n=0,a=zingchart.HW.length;n<a;n++)zingchart.HW[n].hideCM();ZC.mobile&&ZC.move?ZC.move=!1:!ZC.mobile&&1<e.which||!(t=zingchart.X1(e))||"click"===e.type&&ZC.aMDXY&&(2<ZC._a_(ZC.aMDXY[0]-e.pageX)||2<ZC._a_(ZC.aMDXY[1]-e.pageY))||(zingchart.SKIP.EVENT||((i=zingchart.A0R(e,t)).target=zingchart.plugins.CLICK_TARGET||i.target,zingchart.plugins.CLICK_TARGET=null,ZC.mobile&&"touchend"===e.type&&(t.E["click-ts"]&&(new Date).getTime()-t.E["click-ts"]<500&&ZC.AO.C0("dblclick",t,i),t.E["click-ts"]=(new Date).getTime()),ZC.AO.C0("dblclick"===e.type?"dblclick":"click",t,i)),zingchart.SKIP.EVENT=!1,e.target.id!==t.K+"-menu-area"?t.hideCM():zingchart.Z2(e))},ZC.mobile?(ZC.A3(document).bind("touchmove",function(){ZC.move=!0}),ZC.A3(document).bind("touchend",function(){ZC.move=!1})):(ZC.A3(document).bind("click",zingchart.SH),ZC.A3(document).bind("dblclick",zingchart.SH))),typeof zingchart.A2Y===ZC._[31]&&(zingchart.A2Y=function(e){0<e.touches.length&&(ZC.TOUCHEVENTS=!0)},ZC.A3(document).bind("touchstart",zingchart.A2Y)),typeof zingchart.Z2===ZC._[31]&&(zingchart.Z2=function(e,t,i){if(e.target&&e.target.id.indexOf("-pixmap")||e.targetid&&-1!==e.targetid.indexOf("-menu-area")||!e||!e.target||!e.target.tagName||"IMG"===e.target.tagName.toUpperCase()||"AREA"===e.target.tagName.toUpperCase()||-1!==ZC.Q.TC(e.target).indexOf("zc-scroll")||-1!==e.target.id.indexOf("-legend-")||-1!==e.target.id.indexOf("-preview-")||zingchart.DEV.SKIPTRACKERS){i=i||{};var n,a=null===ZC._n_(t)?zingchart.X1(e):zingchart.getLoader(t);if(a){if(-1!==ZC.AV(a.KQ,ZC._[38]))return!1;if(!(Z=null===ZC._n_(t)?(h=ZC.Q.MJ(e),a.A5D(h[0],h[1])):null!==ZC._n_(i[ZC._[3]])?a.P0(i[ZC._[3]]):a.AG[0]))return!1;var l=ZC.A3("#"+a.K+"-top"),o=null===ZC._n_(t)?(n=h[0]-l.offset().left,h[1]-l.offset().top):(n=a.I/2,a.F/2),r={},r=(e&&(r=zingchart.A0R(e,a)),ZC.AO.C0("contextmenu",a,r,!0));if(!r&&typeof r!==ZC._[31]&&(!e&&!i["from-api"]||e&&e.target.id!==a.K+"-menu-area"))return e.preventDefault(),!1;var C=ZC._tx_(a.K),s=(a.A61(Z?Z.L:-1,e),-1);if(0!==zingchart.CMZINDEX)s=zingchart.CMZINDEX;else for(var A=ZC.AL(a.K);-1===s&&null!==A.parentNode;)"auto"!==(s=ZC._i_(ZC.A3(A).css("zIndex")))&&""!==s&&null!==ZC._n_(s)||(s=-1),A=A.parentNode;s&&-1!==s&&null!==ZC._n_(s)||(s=1);r=ZC.A3("#"+a.K+"-menu");if(r.css("zIndex",zingchart.ZINDEX+s+1),null===ZC._n_(t)){if(e.target.id===a.K+"-print-png"||e.target.id===a.K+"-print-jpeg")return!0;e.preventDefault()}if(!ZC.AL(a.K+"-menu"))return!1;n=l.offset().left,o=l.offset().top;var Z=l.width(),c=l.height(),h=null===ZC._n_(t)?(d=(h=ZC.Q.MJ(e))[0]||ZC.E5[0],h[1]||ZC.E5[1]):(d=n+a.I/2,o+5),p=!1;if(a.VQ("goback",!1),0<a.NX&&(a.VQ("goback",!0),p=!0),a.VQ("goforward",!1),a.NX<a.QV.length-1&&(a.VQ("goforward",!0),p=!0),a.VQ("history",p,!0),n<=d&&d<=n+Z*C[0]&&o<=h&&h<=o+c*C[1]){ZC.A3(".zc-menu").each(function(){this.id!==a.K+"-menu"&&a.hideCM()}),a.SV=[d,h,null===ZC._n_(t)?e.target.id:t],r.css("opacity",0).show();var u,_,d,f=ZC._i_(r.css(ZC._[19]))+ZC._i_(r.css("paddingLeft"))+ZC._i_(r.css("paddingRight")),g=ZC._i_(r.css(ZC._[20]))+ZC._i_(r.css("paddingTop"))+ZC._i_(r.css("paddingBottom")),p=1,Z=!1;if(a.o.gui&&a.o.gui["context-menu"]&&a.o.gui["context-menu"]&&(p=a.o.gui["context-menu"].alpha||1,Z=a.o.gui["context-menu"].docked),r.css("opacity",p).hide(),"classic"!==a.L2&&Z)Z&&(c=a.B6.NS[a.L2].root.gui["context-menu"],ZC._cp_(a.o.gui["context-menu"],c),u="left"!==a.o.gui["context-menu"].position&&ZC._n_(a.o.gui["context-menu"].position)?l.offset().left+l.width()-f:l.offset().left),_=l.offset().top,r.css("left",ZC.BR(1,u)+"px").css("top",ZC.BR(1,_)+"px").css(ZC._[20],l.height()+"px").css("box-sizing","border-box").show(),r=ZC.A3("#"+a.K+"-menu"),Z&&r.P4[0].scrollHeight>l.height()&&r.css("overflow-y","scroll");else{if(null===ZC._n_(t)&&e.target.id===a.K+"-menu-area"?(ZC.AL(a.K+"-menu").style.paddingTop=0,d=ZC.A3("#"+a.K+"-menu-area").attr("coords").split(","),h=ZC._i_(d[3])-ZC._i_(d[1]),ZC.AL(a.K+"-menu").style.backgroundPosition=ZC._i_(d[0])>a.I/2?"100% 0% !important":"0% 0% !important",u=n+(ZC._i_(d[0])>a.I/2?ZC._i_(d[2])-f:ZC._i_(d[0])),_=o+(ZC._i_(d[1])>a.F/1.25?ZC._i_(d[3])-g-h:ZC._i_(d[3]))):(ZC.AL(a.K+"-menu").style.backgroundPosition="50% 0% !important",u=a.SV[0]-f/2,_=a.SV[1],g>a.F*C[1]?_=o:_-o+g>a.F*C[1]&&(_=ZC.BR(_-g,a.F*C[1]-g)),(u=u<n?ZC.BR(u,n):u)+f>n+a.I*C[0]&&(u=ZC.CY(n+a.I*C[0]-f/2,u-f/2))),i.position)switch(i.position){case"top":break;case"top-left":u=u-(a.I*C[0]-f)/2+5;break;case"top-right":u=u+(a.I*C[0]-f)/2-5;break;case"bottom":_=_+(a.F*C[1]-g)-10;break;case"bottom-left":_=_+(a.F*C[1]-g)-10,u=u-(a.I*C[0]-f)/2+5;break;case"bottom-right":_=_+(a.F*C[1]-g)-10,u=u+(a.I*C[0]-f)/2-5;break;case"left":_=_+(a.F*C[1]-g)/2-5,u=u-(a.I*C[0]-f)/2+5;break;case"right":_=_+(a.F*C[1]-g)/2-5,u=u+(a.I*C[1]-f)/2-5}else null!==ZC._n_(i.x)&&null!==ZC._n_(i.y)&&(u=n+ZC._i_(i.x),_=o+ZC._i_(i.y));r.css("left",ZC.BR(1,u)+"px").css("top",ZC.BR(1,_)+"px").show(),ZC.ie67&&(p=ZC.A3("#"+a.K+"-menu div").width()[0]||120,r.css(ZC._[19],p+"px"))}return!(a.A9C=!0)}}}},ZC.A3(document).bind("contextmenu",zingchart.Z2)),zingchart.AAK=function(e,t){if(zingchart.css)return zingchart.css.addRule?zingchart.css.addRule(e,t):zingchart.css.insertRule(e+"{"+t+"}",0)},zingchart.wh=function(e,t,i){"auto"===i&&(i="100%");var n=[0,0];return-1===(""+(t="auto"===t?"100%":t)).indexOf("%")&&-1===(""+i).indexOf("%")||(n=e.wh()),[-1!==(""+t).indexOf("%")?n[0]*parseInt(t,10)/100:parseInt(t,10),-1!==(""+i).indexOf("%")?n[1]*parseInt(i,10)/100:parseInt(i,10)]},zingchart.J3={},zingchart.bind=function(e,t,i){e=e||"zingchart-global",zingchart.J3[e]||(zingchart.J3[e]={}),zingchart.J3[e][t]?zingchart.J3[e][t].push({fn:i}):zingchart.J3[e][t]=[{fn:i}]},zingchart.unbind=function(e,t,i){if(e=e||"zingchart-global",zingchart.J3[e]&&zingchart.J3[e][t])if(i){for(var n=0,a=zingchart.J3[e][t].length;n<a;n++)if(zingchart.J3[e][t][n].fn===i){zingchart.J3[e][t].splice(n,1);break}}else zingchart.J3[e][t]=null},zingchart.callEvent=function(e,t,i,n){if(e=e||"zingchart-global",zingchart.J3[e]&&zingchart.J3[e][t]){for(var a=0,l=zingchart.J3[e][t].length;a<l;a++)null!==ZC._n_(n)?i[i.length-1]=zingchart.J3[e][t][a].fn.apply(zingchart,i):zingchart.J3[e][t][a].fn.apply(zingchart,i);if(null!==ZC._n_(n))return i[i.length-1]}},zingchart.hasEvent=function(e,t){return e=e||"zingchart-global",zingchart.J3[e]&&zingchart.J3[e][t]},zingchart.A94=function(e,t){ZC._todash_(e,!1);var i,n,a,l=[],o=(null!==ZC._n_(i=e.flags)&&(l=i.split(",")),null!==ZC._n_(i=e.mode)&&"static"===i&&(l=[ZC._[38],ZC._[39],ZC._[40],ZC._[41],ZC._[44]]),"");if(null!==ZC._n_(i=e.container)&&(o=i),null!==ZC._n_(i=e.id)&&(o=i),ZC.AL(o)){for(var r=null,C=0;C<zingchart.HW.length;C++)zingchart.HW[C].K===o&&(r=zingchart.HW[C].M7);if(null!==ZC._n_(r)){if(""!==r)return;zingchart.exec(o,"destroy")}zingchart.params[o]={},ZC._cp_(e,zingchart.params[o]);var s=!1,A=null;for(C=0;C<zingchart.HW.length;C++)zingchart.HW[C].K===o&&(zingchart.HW[C]=new ZC.Q9,A=zingchart.HW[C],s=!0);if(s||((A=new ZC.Q9).M7="init",zingchart.HW.push(A)),A.K=o,zingchart.Y1[o]=!0,"vml"!==t||zingchart.ZZ||zingchart.A94(e,t),!zingchart.A9B){zingchart.A9B=!0;var Z,c={".zc-style":"font-family:"+zingchart.FONTFAMILY+";font-size:"+zingchart.FONTSIZE+"px;font-weight:normal;font-style:normal;text-decoration:none;text-shadow:none;",".zc-style *":"font-family:"+zingchart.FONTFAMILY+";font-size:"+zingchart.FONTSIZE+"px;font-weight:normal;font-style:normal;text-decoration:none;text-shadow:none;",".zc-top *":"text-align:left;margin:auto;text-shadow:none;",".zc-menu *":"text-align:left;margin:auto;",".zc-main text":"-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;",".zc-img":"-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;",".zc-map":"-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;",".zc-pixmap":"-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;",".zc-preview-mask":"cursor:default;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;",".zc-about":"position:absolute;overflow:hidden;border:5px solid #fff;background:#003C4F url("+(ZC.ie67?"//":ZC.LOGO_ABOUT)+") no-repeat center 10px",".zc-about-1":"padding:80px 5px 5px 5px;text-align:center !important;",".zc-about-1 a":"color:#1AB6E3;font-size:17px;line-height:125%;",".zc-about-2":"padding:5px;color:#fff;text-align:center !important;",".zc-about-3":"padding:5px;text-align:center;line-height:125%;",".zc-about-3 div":"background-color:#1AB6E3;line-height:125%;color:#fff;border:1px solid #fff;padding:5px 10px;font-weight:bold;width:60px;margin:0 auto;cursor:pointer;text-align:center",".zc-about-4":"color:#fff;line-height:125%;",".zc-about-4 div":"float:right;color:#fff;line-height:125%;",".zc-viewsource":"border:5px solid #fff;background:#999",".zc-error":"border:5px solid #fff;background:#900",".zc-bugreport":"border:5px solid #fff;background:#999",".zc-form-row-label":"padding:4px 10px 2px;text-align:left;color:#fff",".zc-form-row-element":"padding:2px 8px",".zc-form-row-last":"padding:8px 8px 2px !important",".zc-form-row-element textarea":"text-align:left;background:#fff;color:#000;border:1px solid #333;",".zc-form-row-label input":"color:#000;padding:2px;margin:0 5px 0 0;background-color:#999;",".zc-form-row-element input":"color:#000;padding:2px;margin:0;background-color:#fff",".zc-form-row-last input":"padding:4px 10px !important;margin:0 20px 0 0 !important;background-color:#eee !important;border:2px outset #ccc !important",".zc-form-s0":"font-size:27px !important;letter-spacing:-1px;line-height:125%",".zc-form-s1":"font-size:17px !important;line-height:125%",".zc-form-s1 a":"color:#fff;padding:3px 10px;position:relative;top:4px;border:1px solid #333;border-bottom:0px solid #333",".zc-tab-active":"background-color:#fff;color:#333 !important",".zc-tab-inactive":"background-color:#999;color:#ddd !important",".zc-bugreport label":"display:inline-block;position:relative;top:-2px",".zc-viewimage div":"position:absolute;text-align:center;padding:5px;background:#999;color:#fff",".zc-license-ie67":"padding:0;position:absolute;font-size:12px;font-weight:bold;font-family:"+zingchart.FONTFAMILY+";color:#369;text-align:left",".zc-license":"padding:0;position:absolute;","#zc-fullscreen":"display:block;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;background:#fff;",".zc-menu":"position:absolute;display:none;background-repeat:no-repeat !important;background-position:50% 0% !important;",".zc-menu-sep":"font-size:1px;padding:0;line-height:1px;border-bottom:1px solid #000",".zc-menu-item":"cursor:pointer;white-space:nowrap",".zc-blocker":"background:#eee",".zc-blocker div.zc-blocker-msg":"position:absolute;border:2px solid #ccc;padding:10px 30px;background-color:#333;color:#fff",".zc-modal":"background-color:#fff;color:#000;border:2px solid #999",".zc-guide-label-table":"border-collapse:collapse",".zc-guide-label-table td":"padding:4px 10px 2px 2px",".zc-data-table":"border-collapse:collapse",".zc-data-table caption":"font-family:"+zingchart.FONTFAMILY+";text-align:left;font-size:17px;font-weight:600;padding:6px 14px 6px 4px;background-color:#ccc;border-bottom:2px solid #666",".zc-data-table th":"font-family:"+zingchart.FONTFAMILY+";text-align:left;font-size:13px;font-weight:600;padding:2px 14px 2px 4px;background-color:#ddd;border-bottom:1px solid #666",".zc-data-table td":"font-family:"+zingchart.FONTFAMILY+";text-align:left;font-size:11px;padding:1px 14px 1px 4px;background-color:#ffffff;border-bottom:1px solid #eee;white-space:nowrap",".zc-rel":"top:0;left:0;position:relative",".zc-abs":"top:0;left:0;position:absolute"},h=(ZC.ie678||(c[".zc-data-table th:not(:last-child)"]="border-right:1px dotted #666",c[".zc-data-table td:not(:last-child)"]="border-right:1px solid #eee"),document.getElementsByTagName("head")[0]),p=document.createElement("style");if(p.type="text/css",p.setAttribute("data-author","zingchart"),h.appendChild(p),!zingchart.css)for(C=0,a=document.styleSheets.length;C<a;C++)document.styleSheets[C].ownerNode&&"zingchart"===document.styleSheets[C].ownerNode.getAttribute("data-author")&&(zingchart.css=document.styleSheets[C]);for(Z in zingchart.css||(zingchart.css=document.styleSheets[document.styleSheets.length-1]),c)null!==ZC._n_(zingchart.USERCSS[Z])?zingchart.AAK(Z,zingchart.USERCSS[Z]):zingchart.AAK(Z,c[Z])}"vml"!==t||zingchart.A9A||(document.namespaces.add("zcv","urn:schemas-microsoft-com:vml"),document.createStyleSheet().cssText=".zcvml { behavior:url(#default#VML); }",zingchart.A9A=!0);var p="",u=(zingchart.THEME&&(p=zingchart.THEME),e.data&&null!==ZC._n_(i=e.data.theme)&&(p=i),null!==ZC._n_(i=e.theme)&&(p=i),{data:!1,defaults:!1,css:!1,csv:!1});if(null!==ZC._n_(i=e.cache))for(var _ in u)null!==ZC._n_(n=i[_])&&(u[_]=ZC._b_(n));var d,f,g,B,b,E,m,h=!1,D=(null!==ZC._n_(i=e.fullscreen)&&(h=ZC._b_(i)),!0),v=(null!==ZC._n_(i=e["auto-resize"])&&(D=ZC._b_(i)),ZC.A3("#"+o)),F=("auto"===(d=(e[ZC._[19]]||"100%")+"")&&(d="100%"),"auto"===(f=(e[ZC._[20]]||""+zingchart.DEFAULT.height)+"")&&(f="100%"),zingchart.wh(v,d,f)),K=F[0],F=F[1],I=(h&&(K=ZC.A3(window).width(),F=ZC.A3(window).height(),document.body.style.overflow="hidden"),K<10&&(K=zingchart.DEFAULT.width),F<10&&(F=zingchart.DEFAULT.height),K=0===K?zingchart.DEFAULT.width:K,F=0===F?zingchart.DEFAULT.height:F,e.dataurl||""),x=e.defaultsurl||"",y=null,Y="",L=null,t=(null!==ZC._n_(i=e.data)&&("string"==typeof i?Y=i:L=zingchart.DEV.COPYDATA?JSON.parse(JSON.stringify(i)):i),null!==ZC._n_(i=e.defaults)&&(y=i="string"==typeof i?JSON.parse(i):i),null!==ZC._n_(i=e.imggen)&&(A.ZA=ZC._b_(i)),A.ZA&&(A.G4=null),A.JO=d+"/"+f,A.AB=t,(A.A=A).iX=0,A.iY=0,A.I=K,A.F=F,A.G1=d,A.MX=f,A.QO=I,A.EX=Y,A.MF=L,A.QP=x,A.KR=y,A.UE=!1,null!==ZC._n_(e.fullscreenmode)&&ZC._b_(e.fullscreenmode)&&(A.QQ=!0),A.LV=h,A.RV=u,A.KQ=l,A.L2=p,(A.G=A).E.hideprogresslogo=!1,null!==ZC._n_(i=e.hideprogresslogo)&&(A.E.hideprogresslogo=ZC._b_(i)),null!==ZC._n_(i=e.customprogresslogo)&&(A.E.customprogresslogo=i),null!==ZC._n_(i=e.customprogresstext)&&(A.E.customprogresstext=i),null!==ZC._n_(i=e.exportdataurl)&&(A.E.exportdataurl=i),null!==ZC._n_(i=e.exportimageurl)&&(A.E.exportimageurl=i),{});for(g in null!==ZC._n_(i=e.bgcolor)&&(t[ZC._[0]]=i),null!==ZC._n_(i=e[ZC._[0]])&&(t[ZC._[0]]=i),null!==ZC._n_(i=e[ZC._[61]])&&(t[ZC._[61]]=i),null!==ZC._n_(i=e[ZC._[62]])&&(t[ZC._[62]]=i),null!==ZC._n_(i=e.color)&&(t.color=i),A.E.progress=t,null!==ZC._n_(i=e["auto-load-modules"])&&(A.A6H=ZC._b_(i)),null!==ZC._n_(i=e.events)&&(A.A17=i),null!==ZC._n_(i=e.modules)&&(A.A1D=i),null!==ZC._n_(i=e.format)&&(A.CL=i),null!==ZC._n_(i=e.csvdata)&&(A.NT=i),null!==ZC._n_(i=e.locale)&&null!==ZC._n_(zingchart.i18n[i])&&(A.UG=i,ZC.HG=zingchart.i18n[i]),null!==ZC._n_(i=e["cache-control"])&&(A.N5=i),null!==ZC._n_(i=e.accessibility)&&(A.bA11y=ZC._b_(i)),null!==ZC._n_(i=e.description)&&(A.NV=i+""),zingchart.params)if(!zingchart.Y1[g])for(var G in delete zingchart.params[g],delete ZC.TS[g],zingchart.pool.data)0===G.indexOf(g+"-")&&(delete zingchart.pool.data[G],zingchart.pool.size--);return A.render(),v.css("overflow","hidden"),0===ZC._i_(v.css(ZC._[19]))&&v.css(ZC._[19],"640px"),A.LV&&v.css("position","absolute").css("top",0).css("left",0),(-1!==A.G1.indexOf("%")||-1!==A.MX.indexOf("%")||A.LV||A.QQ)&&D&&(B=A.QQ||A.LV?ZC.A3(window):v,b=B.width(),E=B.height(),m=0,A.A0J=!1,A.YG=window.setInterval(function(){if(ZC.AL(o)&&!A.A2K){var e=ZC.A3("#"+o+"-top"),t=!1;if(-1!==(""+A.G1).indexOf("%")&&e.length&&B.length&&e.width()!==B.width()&&(t=!0),0!==m||B.width()===b&&B.height()===E&&!t){if(0<B.width()+B.height()&&(B.width()!==b||B.height()!==E)&&10<(e=A.LV||A.QQ?zingchart.wh(B,""+B.width(),""+B.height()):zingchart.wh(B,A.G1,A.MX))[0]&&10<e[1]){for(A.I=ZC._i_(e[0]),A.F=ZC._i_(e[1]),b=B.width(),E=B.height(),C=0,a=A.AG.length;C<a;C++)A.AG[C].MH[0]=0;M()}}else if(b=B.width(),E=B.height(),10<b&&10<E){for(-1!==(""+A.G1).indexOf("%")?A.I=ZC._i_(b*ZC.IO(A.G1)):A.I=ZC._i_(b),-1!==(""+A.MX).indexOf("%")?A.F=ZC._i_(E*ZC.IO(A.MX)):A.F=ZC._i_(E),C=0,a=A.AG.length;C<a;C++)A.AG[C].MH[0]=0;M()}m++}else window.clearInterval(A.YG)},zingchart.DEV.RESIZESPEED)),A}function X(){if(!A.E.wh||A.E.wh!==A.I+"/"+A.F){for(var e=!1,t=0;t<zingchart.HW.length;t++)zingchart.HW[t].K===A.K&&(e=!0);e&&A.resize()}A.A0J=!1}function M(){A.A0J?A.VI.width!==A.I&&(clearTimeout(A.A6A),A.VI.width=A.I,A.VI.height=A.F,A.A6A=setTimeout(X,zingchart.DEV.DEBOUNCESPEED)):(A.A0J=!0,A.VI={width:A.I,height:A.F},A.A6A=setTimeout(X,zingchart.DEV.DEBOUNCESPEED))}},window.zingchart=zingchart,ZC.A3.browser.msie&&parseFloat(ZC.A3.browser.version)<9&&(_window_onunload_=window.onunload,window.onunload=function(){for(;zingchart.HW.length;)zingchart.exec(zingchart.HW[0].K,"destroy");ZC.A3(document).unbind(ZC.Q.C1("mouseover"),zingchart.MO).unbind(ZC.Q.C1("mouseout"),zingchart.MO).unbind(ZC.Q.C1(ZC._[48]),zingchart.MO).unbind(ZC.Q.C1(ZC._[47]),zingchart.MO).unbind(ZC.Q.C1(ZC._[49]),zingchart.MO).unbind("click",zingchart.SH).unbind("contextmenu",zingchart.Z2),zingchart.HW=[],_window_onunload_&&_window_onunload_()}),zingchart.i18n.en_us={rtl:!1,"decimals-separator":".","thousands-separator":"","menu-enablepagescroll":"Enable Page Scroll","menu-disablepagescroll":"Disable Page Scroll","menu-reload":"Reload","menu-print":"Print Chart","menu-viewaspng":"View As PNG","menu-viewasjpg":"View As JPG","menu-downloadpdf":"Download PDF","menu-downloadsvg":"Download SVG","menu-downloadcsv":"Download CSV","menu-downloadxls":"Download XLS","menu-viewdatatable":"View Data Table","menu-hidedatatable":"Hide Data Table","menu-exportdata":"Export Data","menu-zoomin":"Zoom In","menu-zoomout":"Zoom Out","menu-viewall":"View All","menu-viewsource":"View Source","menu-bugreport":"Submit Bug","menu-switchto2d":"Switch To 2D","menu-switchto3d":"Switch To 3D","menu-showguide":"Show Guide","menu-hideguide":"Hide Guide","menu-switchtolin":"Show Linear Scale","menu-switchtolog":"Show Log Scale","menu-fullscreen":"Full Screen","menu-exitfullscreen":"Exit Full Screen","menu-goback":"Go Back","menu-goforward":"Go Forward","date-formats":{msecond:"%d %M %Y<br>%g:%i:%s %A<br>%q ms",second:"%d %M %Y<br>%g:%i:%s %A",minute:"%d %M %Y<br>%g:%i %A",hour:"%d %M %Y<br>%g %A",day:"%d %M %Y",month:"%M %Y",year:"%Y"},"days-short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"days-long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"months-short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"months-long":["January","February","March","April","May","June","July","August","September","October","November","December"],"sync-wait":"Wait...","export-wait":"Exporting...","progress-wait-long":"Wait. Loading...","progress-wait-short":"Wait...","progress-wait-mini":"...","error-header":"An Error Has Occured","error-message":"Error Message:","error-close":"Close","bugreport-header":"Submit Bug Report","bugreport-senddata":"Send JSON Data","bugreport-sendcapture":"Send Graph Capture","bugreport-yourcomment":"Your Comment:","bugreport-jsondata":"JSON Data:","bugreport-youremail":"Your Email Address","bugreport-infoemail":"if you want to receive via email our reply to your problem","bugreport-emailmandatory":"Email address is mandatory...","bugreport-validemailmandatory":"Please enter a valid email address...","bugreport-submit":"Submit","bugreport-cancel":"Cancel","bugreport-confirm":"Your bug report was sent.\n\nThank you!","about-close":"Close","viewsource-jsonsource":"Parsed JSON","viewsource-originalsource":"Original JSON","viewsource-close":"Close","viewsource-apply":"Apply","viewimage-close":"Close","legend-pagination":"Page %page% of %pages%"},ZC.HG=zingchart.i18n.en_us,zingchart.getLoader=function(e){for(var t=0;t<zingchart.HW.length;t++)if(zingchart.HW[t].K===e)return zingchart.HW[t];return null},zingchart.getGraph=function(e,t){return e.P0(t)},zingchart.clearLayer=function(e){e.A7&&e.A7.onmouseout();for(var t=0;t<e.AG.length;t++)e.AG[t].LN()},zingchart.getGraphInfo=function(e,t,i){return e.A5J(t,i)},zingchart.initThemes=function(e){e&&e.AAA(!0)},zingchart.setModule=function(e){ZC.WJ.push(e)},zingchart.getModules=function(e){return e.A1D.split(",")},zingchart.defineModule=function(o,e,r){switch(zingchart.setModule(o),e){case"chart":zingchart.bind(null,"dataparse",function(e,t){for(var i,n=t[ZC._[16]].length,a=0;a<n;a++)t[ZC._[16]][a].type===o&&((i=t[ZC._[16]][a]).id?i.id=i.id:i.id=o.replace(/-/g,"")+a,t[ZC._[16]][a]=r(i));return t});break;case"plugin":zingchart.bind(null,"dataparse",function(e,t){var i=zingchart.getLoader(e.id);if(-1!==zingchart.getModules(i).indexOf(o))for(var n=t[ZC._[16]].length,a=null,l=0;l<n;l++)(a=t[ZC._[16]][l]).hasOwnProperty(o)&&(t[ZC._[16]][l]=r(a,e.id));return t})}},zingchart.getPalette=function(e,t,i){return e.B6.A9Z(t,i=i||"bar")},zingchart.getObject=function(e,t,i){var n,a;switch(i=i||"label"){case"shape":for(n=0,a=e.FI.length;n<a;n++)if(e.FI[n].HA===t||n===t)return e.FI[n].BG;break;case"label":for(n=0,a=e.BY.length;n<a;n++)if(e.BY[n].HA===t||n===t)return e.BY[n]}return null},zingchart.getInstance=function(e,t){switch(t){case"style":return new ZC.CZ(e);case"shape":return new ZC.DT(e);case"box":return new ZC.HU(e);case"textbox":return new ZC.DQ(e)}return null},zingchart.normalize=function(e){ZC._todash_(e)},zingchart.copy=function(e,t){ZC._cp_(e,t)},zingchart.formatDate=function(e,t,i,n){return ZC.AO.YF(e,t,i,n)},zingchart.formatNumber=function(e,t){return ZC.AO.G5(e,t)},zingchart.fireEvent=function(e,t,i){ZC.AO.C0(e,t,i)},zingchart.A97=[],zingchart.extendAPI=function(e,t){zingchart.A97.push({call:e,api:t})},zingchart.exec=function(e,t,i){return zingchart.getLoader(e)?zingchart.ACZ(e,t,i):zingchart.exec_flash?zingchart.exec_flash(e,t,i):void 0},zingchart.ACZ=function(e,t,i){i=i||{},document.getElementById("zc-fullscreen")&&!i.skipfs&&(e="zc-fullscreen"),"string"==typeof i&&(i=JSON.parse(i));var n,a,l,o,r,C,s,A,Z=zingchart.getLoader(e);if(null!==ZC._n_(i[ZC._[53]])&&(Z.E[ZC._[53]]=ZC._b_(i[ZC._[53]])),Z)switch(t){case"goback":Z.IH&&0<Z.NX&&(ZC.AO.C0("history_back",Z,Z.FH()),Z.NX--,zingchart.exec(Z.K,"setdata",{data:Z.QV[Z.NX]}));break;case"goforward":Z.IH&&Z.NX<Z.QV.length-1&&(ZC.AO.C0("history_forward",Z,Z.FH()),Z.NX++,zingchart.exec(Z.K,"setdata",{data:Z.QV[Z.NX]}));break;case"setmode":typeof Z.E["mode-flags"]===ZC._[31]&&(Z.E["mode-flags"]=Z.KQ.join(",")),""===i.mode&&typeof Z.E["mode-flags"]!==ZC._[31]?Z.KQ=Z.E["mode-flags"].split(","):(Z.KQ=[],h=(""+i.mode).split(","),-1!==ZC.AV(h,"static")&&Z.KQ.push(ZC._[38],"skip_objects_tracking",ZC._[39],ZC._[40],ZC._[41]));break;case"showmenu":ZC.E5[0]=ZC._n_(i.x)?i.x:ZC.E5[0],ZC.E5[1]=ZC._n_(i.y)?i.y:ZC.E5[1],i["from-api"]=!0,zingchart.Z2(null,Z.K,i);break;case"hidemenu":Z.hideCM();break;case"destroy":case"zcdestroy":for(ZC.AO.C0("beforedestroy",Z,{id:e,loader:Z}),delete zingchart.Y1[e],a=0,l=Z.AG.length;a<l;a++)Z.AG[a].MH[0]=0,Z.AG[a].B7&&(Z.AG[a].B7.IX=!1,Z.AG[a].unbind(!1,!0)),Z.H6&&(Z.H6.IX=!1);for(var c in ZC.move=!1,Z.A0O(),Z.AA9(i,!0),zingchart.DEV.GC&&Z.gc(),Z.YG&&window.clearInterval(Z.YG),Z.YV&&window.clearInterval(Z.YV),zingchart.J3[e]&&delete zingchart.J3[e],ZC.Q.EW([e+"-wrapper",e+"-top",e+"-text-ruler",e+"-dummy",e+"-progress"]),Z.A1I||delete zingchart.params[e],delete ZC.TS[e],delete ZC.cache.data["svg-rect"],zingchart.pool.data)0===c.indexOf(e+"-")&&(delete zingchart.pool.data[c],zingchart.pool.size--);var h=ZC.AV(zingchart.HW,Z);-1!==h&&zingchart.HW.splice(h,1),zingchart.HW.length||(zingchart.GUIDE_EV=null,delete zingchart.L6["zc.logo"]),Z=null,ZC.AO.C0("destroy",null,{id:e});break;case"getrender":return Z.AB;case"clear":Z.AA9(i);break;case"reload":Z.A91(i);break;case"load":Z.ACV(i);break;case"enable":Z.A49();break;case"disable":Z.A8I(i.text);break;case"closemodal":ZC.Q.EW([Z.K+"-modal",Z.K+"-blocker"]);break;case"openmodal":if(ZC.AL(Z.K+"-modal"))break;return ZC.Q.I2({cls:"zc-abs zc-style zc-blocker",id:Z.K+"-blocker",p:ZC.AL(Z.K+"-top"),wh:Z.I+"/"+Z.F,opacity:.75}),ZC.Q.I2({cls:"zc-abs zc-style zc-modal",id:Z.K+"-modal",p:ZC.AL(Z.K+"-top"),tl:(Z.F-i[ZC._[20]])/2+"/"+(Z.I-i[ZC._[19]])/2,wh:i[ZC._[19]]+"/"+i[ZC._[20]],opacity:1}),ZC.AL(Z.K+"-modal");case"mapdata":Z.AC3(i);break;case"print":Z.AA4();break;case"fullscreen":Z.A5Z();break;case"exitfullscreen":zingchart.exec("zc-fullscreen","destroy"),ZC.Q.EW("zc-fullscreen");break;case"resize":var h=Z.I,p=Z.F,u=Z.JO.split("/"),_=!1,d=u[0],u=u[1],f=(null!==ZC._n_(n=i[ZC._[19]])&&(d=n),null!==ZC._n_(n=i[ZC._[20]])&&(u=n),null!==ZC._n_(n=i.scale)&&(_=ZC._b_(n)),Z.A1I&&(zingchart.params[Z.K][ZC._[19]]=d,zingchart.params[Z.K][ZC._[20]]=u),zingchart.wh(ZC.A3("#"+Z.K),d,u));(i.layout||(h!==f[0]||p!==f[1])&&10<f[0]&&10<f[1])&&(Z.I=f[0],Z.F=f[1],null!==ZC._n_(n=i.layout)&&(Z.o.layout=n),""===Z.M7)&&(Z.E["from-api"]=!0,Z.E[ZC._[53]]=!0,Z.A2K=!0,Z.resize(_),Z.G1=d,Z.MX=u,Z.A2K=!1);break;case"plothide":case"hideplot":(o=Z.CB(i[ZC._[3]]))&&o.A3V(i,"hide");break;case"showguide":case"hideguide":ZC.E5[0]=ZC._n_(i.x)?i.x:ZC.E5[0],ZC.E5[1]=ZC._n_(i.y)?i.y:ZC.E5[1],(o=Z.CB(i[ZC._[3]]))&&Z.Z9(o.K,"showguide"===t);break;case"showtooltip":case"hidetooltip":case"clicknode":(o=Z.CB(i[ZC._[3]]))&&(h=i.ev||{},"showtooltip"!==t&&"clicknode"!==t||((r=o.I7(i.plotindex,i.plotid))&&r.S.length&&!i.xy?(C=r.L,s=ZC._i_(i.nodeindex||"0"),h.targetid=o.K+ZC._[35]+C+"-node-"+s,h.update=!0):h.targetid=o.K+"-xy-"+ZC._i_(i.y||"0")+"-"+ZC._i_(i.x||"0")),"clicknode"===t?(h.which=0,o.TI(h)):o.A.A7&&("showtooltip"===t?o.A.A7.onmouseover(h,i.data):o.A.A7.hide()));break;case"locktooltip":ZC.TTLOCK=!0;break;case"unlocktooltip":ZC.TTLOCK=!1;break;case"showhoverstate":(o=Z.CB(i[ZC._[3]]))&&(r=o.I7(i.plotindex,i.plotid),C=ZC._i_(r?r.L:0),s=ZC._i_(i.nodeindex||"0"),p=o.AY.A4[C].FM(s),o.LN(),p.A15());break;case"plotshow":case"showplot":(o=Z.CB(i[ZC._[3]]))&&o.A3V(i,"show");break;case"togglesource":ZC.AL(Z.K+"-viewsource")?ZC.Q.EW(Z.K+"-viewsource"):Z.A5Y();break;case"togglebugreport":ZC.AL(Z.K+"-bugreport")?ZC.Q.EW(Z.K+"-bugreport"):Z.A72();break;case"toggleabout":ZC.AL(Z.K+"-about")?ZC.Q.EW([Z.K+"-about",Z.K+"-about-mask"]):Z.AA5();break;case"toggleplot":(o=Z.CB(i[ZC._[3]]))&&o.QL(i);break;case"getcharttype":return(o=Z.CB(i[ZC._[3]]))?o.AF:null;case"showversion":case"getversion":return ZC.VERSION;case"get3dview":return(o=Z.CB(i[ZC._[3]]))?o.ES:null;case"set3dview":(o=Z.CB(i[ZC._[3]]))&&(null===ZC._n_(Z.o[ZC._[16]][o.L][ZC._[26]])&&(Z.o[ZC._[16]][o.L][ZC._[26]]={}),ZC._cp_(i,Z.o[ZC._[16]][o.L][ZC._[26]]),null===ZC._n_(o.o[ZC._[26]])&&(o.o[ZC._[26]]={}),ZC._cp_(i,o.o[ZC._[26]]),zingchart.SKIP.PARSE3D=!0,o.autoFit(),o.KC(!0,!0),zingchart.SKIP.PARSE3D=!1);break;case"getpage":return Z.LA;case"setpage":f=0;null!==ZC._n_(n=i.page)&&(f=ZC._i_(n)),Z.LA=f,ZC.ZS(function(){Z.clear(),Z.parse(),Z.paint()},!0);break;case"unbinddocument":ZC.A3(document).unbind(ZC.Q.C1(ZC._[48]),zingchart.MO).unbind(ZC.Q.C1(ZC._[47]),zingchart.MO).unbind(ZC.Q.C1(ZC._[49]),zingchart.MO).unbind("click",zingchart.SH).unbind("contextmenu",zingchart.Z2),Z.D8&&Z.D8.unbind()}for(zingchart.ABR&&null!==(A=zingchart.ABR(e,t,i))&&(n=A),zingchart.AB3&&-1!==ZC.AV(["addobject","removeobject","updateobject","repaintobjects","getobjectsbyclass","getallobjects","getlabelinfo","getshapeinfo","setobjectsmode","settweenmode"],t)&&null!==(A=zingchart.AB3(e,t,i))&&(n=A),zingchart.ABC&&-1!==ZC.AV(["getimagedata","exportimage","saveasimage","exportdata","downloadCSV","downloadXLS","downloadRAW","viewDataTable"],t)&&null!==(A=zingchart.ABC(e,t,i))&&(n=A),zingchart.ABQ&&-1!==ZC.AV(["getzoom","pan","zoomin","zoomout","zoomto","zoomtovalues","viewall"],t)&&null!==(A=zingchart.ABQ(e,t,i))&&(n=A),zingchart.AAR&&-1!==ZC.AV(["clearselection","getselection","setselection","select","deselect"],t)&&null!==(A=zingchart.AAR(e,t,i))&&(n=A),zingchart.ABP&&-1!==ZC.AV(["clearfeed","getinterval","setinterval","stopfeed","startfeed"],t)&&null!==(A=zingchart.ABP(e,t,i))&&(n=A),a=0,l=zingchart.A97.length;a<l;a++)t===zingchart.A97[a].call&&null!==(A=zingchart.A97[a].api.call(zingchart,e,i))&&(n=A);return n},zingchart.extendAPI("addmenuitem",function(e,t){for(var e=zingchart.getLoader(e),i=(e.DJ["context-menu"]=e.DJ["context-menu"]||{},e.DJ["context-menu"]["custom-items"]=e.DJ["context-menu"]["custom-items"]||[],t.id||""),n=e.DJ["context-menu"]["custom-items"],a=!1,l=0;l<n.length;l++)if(n[l].id===i){a=!0;break}a||e.DJ["context-menu"]["custom-items"].push(t)}),zingchart.ABR=function(w,e,t){document.getElementById("zc-fullscreen")&&(w="zc-fullscreen"),"string"==typeof(t=t||{})&&(t=JSON.parse(t));var i,n,a,l,o,r,S,C,s,A,Z,c,h,p,u,P,_,d=zingchart.getLoader(w),f=!(null!==ZC._n_(t.update)&&!ZC._b_(t.update)),O=null!==ZC._n_(t.history)&&ZC._b_(t.history),g=typeof t.smart!==ZC._[31]&&ZC._b_(t.smart);if(d){var B;switch(-1===ZC.AV(["resize","addplot","removeplot","modify","modifyplot","setnodevalue","addnode","removenode","setdata"],e)&&((n=d.FH()).params=t,ZC.AO.C0(e,d,n)),e){case"clearscroll":if(!(b=d.CB(t[ZC._[3]])))return null;b.HO&&b.HO.MB&&(b.HO.MB(),b.HO.unbind()),b.HY&&b.HY.MB&&(b.HY.MB(),b.HY.unbind());break;case"getbubblesize":return(b=d.CB(t[ZC._[3]]))&&(F=b.I7(t.plotindex,t.plotid))?F.getSize(t[ZC._[9]]||1):null;case"fastlinexycoords":var b,E=(b=d.AG[0]).BM(ZC._[50]),N=b.BM(ZC._[51]);return E&&N?E.CM&&N.CM?[N.AR(t.val),E.AR(t.key)]:[E.AR(t.key),N.AR(t.val)]:[0,0];case"getscaleinfo":return(b=d.CB(t[ZC._[3]]))?(a=b.BM(t.name||""))?null!==ZC._n_(t[ZC._[9]])?a.AR?a.AR(t[ZC._[9]]):null:null!==ZC._n_(t.coord)&&a.NI?a.NI(t.coord):null:null:null;case"getobjectinfo":if(!(b=d.CB(t[ZC._[3]])))return null;var m={id:"K",x:"iX",y:"iY",width:"I",height:"F",color:"C2",lineColor:"B9",lineWidth:"B1",borderColor:"BX",borderWidth:"AU",backgroundColor1:"A0",backgroundColor2:"AE"};switch(t.object){case"graph":for(r in n={},m)n[r]=b[m[r]];return ZC._cp_({type:b.AF},n),n;case"plotarea":for(r in n={},m)n[r]=b.P[m[r]];return n;case"legend":if(n={},b.BE)for(r in m)n[r]=b.BE[m[r]];return n;case"scale":if(!(a=b.BM(t.name||"")))return null;for(r in n={},m)n[r]=a[m[r]];return ZC._cp_({type:a.AF,text:a.M&&a.M.AN||"",datetime:null!==a.F7&&"date"===a.F7.o.type,step:a.E3,step_:a.SK,stepSize:a.AD,values:a.V,placement:a.BA,aperture:a.EM,zooming:a.GP,offsetStart:a.A9,offsetEnd:a.BU,sizeFactor:a.JU,inversed:a.CM},n),a.M&&""!==a.M.AN&&(n.label={x:a.M.iX,y:a.M.iY,width:a.M.I,height:a.M.F,angle:a.M.AA}),"v"===a.AF?ZC._cp_({progression:a.BS,logBase:a.DY,minValue:a.B0,maxValue:a.BF,minValue_:a.FQ,maxValue_:a.GW},n):"scale-r"===t.name?ZC._cp_({refAngle:a.DK},n):ZC._cp_({minValue:a.V[a.W],maxValue:a.V[a.A1],minValue_:a.V[a.D4],maxValue_:a.V[a.DP],minIndex:a.W,maxIndex:a.A1,minIndex_:a.D4,maxIndex_:a.DP},n),n;case"plot":if(!(F=b.I7(t.plotindex,t.plotid)))return null;for(r in n={},m)n[r]=F[m[r]];var Q=F.AP&&b.E["plot"+F.L+".visible"];return ZC._cp_({visible:Q,id:F.HA,index:F.L,type:F.AF,text:F.AN,values:F.V,scales:F.BO,stacked:F.CG,stackType:F.KT,stack:F.DZ,xdata:F.K5},n),F.TU&&ZC._cp_({marker:{visible:F.TU.AP,size:F.TU.AI,type:F.TU.DH,backgroundColor1:F.TU.A0,backgroundColor2:F.TU.AE,borderColor:F.TU.BX,borderWidth:F.TU.AU}},n),n;case"node":if(F=b.I7(t.plotindex,t.plotid)){if(Y=null!==ZC._n_(t.nodeindex)?ZC._i_(t.nodeindex):0,!F.S[Y])return null;for(r in l=F.FM(Y),(n={}).bounds=l.G.E[l.K+"-bounds"],m)-1!==ZC.AV(["x","y",ZC._[19],ZC._[20]],r)?n[r]=l[m[r]]:n[r]=l.O[m[r]];if(ZC._cp_({plotindex:F.L,index:l.L,size:l.AI,value:l.AC,keyvalue:l.BV,visible:F.AP,onviewport:l.J1},n),-1!==F.AF.indexOf("pie")&&ZC._cp_({angleStart:l.B4,angleEnd:l.BL,slice:l.A.PY,npv:100*l.AC/l.A.A.KP[l.L]},n),F.K5){var k={};for(r in F.K5)F.K5[r]instanceof Array?k[r]=F.K5[r][Y]:k[r]=F.K5[r];n.xdata=k}return n}return null}break;case"getxyinfo":var z=[],D=t.x,v=t.y,E=ZC._tx_(d.K);D/=E[0],v/=E[1];for(var V=0;V<d.AG.length;V++){b=d.AG[V];for(var T=0;T<b.AY.A4.length;T++){var F=b.AY.A4[T],K=b.BM(F.BW("k")[0]),I=b.BM(F.BW("v")[0]);if(K&&I){K.OL&&K.OL&&(H=K.OL(K.CM?v:D),J=K.OL(K.CM?v:D,null,!0),z.push({infotype:"key-scale",xydistance:ZC._a_(D-K.II(H)),graphid:b.K,plotidx:F.L,scalename:K.BD,scaleidx:H,scalepos:J,scaletext:K.BY[H]||"",scalevalue:K.V[H],scalenumvalue:K.NI(K.CM?v:D)})),I.NI&&(J=I.NI(I.CM?D:v,!0),z.push({infotype:"value-scale",xydistance:ZC._a_(I.CM?D:v-I.AR(J)),graphid:b.K,plotidx:F.L,scalename:I.BD,scalevalue:J}));for(var H,J,R,x=ZC.MAX,U=null,W=0,j=F.S.length;W<j;W++)if(null!==(l=F.FM(W)))switch(b.AJ.layout){case"xy":case"yx":var y=!1;"vbar"===l.A.AF?(R=l.getNodeData("h")||l.F,ZC.DS(D,l.iX-l.I/2,l.iX+l.I/2)&&ZC.DS(v,l.iY,l.iY+R)&&(y=!0,x=1)):"hbar"===l.A.AF&&(R=l.getNodeData("w")||l.I,ZC.DS(D,l.iX,l.iX+R))&&ZC.DS(v,l.iY-l.F/2,l.iY+l.F/2)&&(y=!0,x=1),((i=Math.sqrt((l.iX-D)*(l.iX-D)+(l.iY-v)*(l.iY-v)))<x||y)&&(U={infotype:"node",xydistance:x,graphid:b.K,plotidx:F.L,plotid:F.HA,nodeidx:l.L,nodevalue:l.AC,nodekeyvalue:null===l.BV?K.V[l.L]:l.BV},y||(x=i));break;case"":y=l.AC9();(i=Math.sqrt((y[0]-D)*(y[0]-D)+(y[1]-v)*(y[1]-v)))<x&&(U={infotype:"node",xydistance:x,graphid:b.K,plotidx:F.L,plotid:F.HA,nodeidx:l.L,nodevalue:l.AC,nodekeyvalue:null===l.BV?K.V[l.L]:l.BV},x=i)}U&&z.push(U)}}}return z;case"update":t.objects?(b=d.CB(t[ZC._[3]]))&&(b.P3(),b.R3()):null!==ZC._n_(t[ZC._[3]])&&(b=d.CB(t[ZC._[3]]))?d.QK(function(){b.KC(g,g)}):d.KC();break;case"setcharttype":(b=d.CB(t[ZC._[3]]))&&(null!==ZC._n_(t["preserve-state"])&&ZC._b_(t["preserve-state"])?d.E["graph-state-"+b.L]=JSON.stringify(b.E):d.E["graph-state-"+b.L]=null,d.o[ZC._[16]][b.L].type=b.o.type=b.AF=t.type,f)&&d.KC();break;case"addgraph":d.o[ZC._[16]].push(t.data||{}),f&&d.KC();break;case"addplot":if(zingchart.SKIP.CSV=!0,C={},B=t.plotdata?"plotdata":"data",null!==ZC._n_(t[B])&&("object"==typeof t[B]?ZC._cp_(t[B],C):C=JSON.parse(t[B])),ZC._todash_(C),b=d.CB(t[ZC._[3]])){var q=[];if(null===ZC._n_(b.o[ZC._[11]])&&(b.o[ZC._[11]]=[]),S=(null!==ZC._n_(t.plotindex)||null!==ZC._n_(t.plotid))&&(F=b.I7(t.plotindex,t.plotid))?F.L:b.o[ZC._[11]].length,null!==ZC._n_(b.IY)&&b.IY.splice(S,0,!1),null!==ZC._n_(b.CF)){for(u in _={},b.CF)(P=ZC._i_(u.replace("p","")))<S?_[u]=b.CF[u]:_["p"+(P+1)]=b.CF[u];_["p"+S]={},b.CF=_}for(L=0,o=b.o[ZC._[11]].length;L<=o;L++)L===S&&q.push(C),b.o[ZC._[11]][L]&&q.push(b.o[ZC._[11]][L]);ZC.AO.C0("plot_add",d,{id:d.K,graphid:b.K,plotindex:S,data:C}),d.o[ZC._[16]][b.L][ZC._[11]]=b.o[ZC._[11]]=q,d.E.json=ZC.GY(JSON.stringify(d.o)),b.M3("on-change"),f&&(b.E["from-api"]=!0,d.QK(function(){b.KC(g,g)}))}break;case"removeplot":if(zingchart.SKIP.CSV=!0,(b=d.CB(t[ZC._[3]]))&&(F=b.I7(t.plotindex,t.plotid))){if(null!==ZC._n_(b.IY)&&b.IY.splice(F.L,1),null!==ZC._n_(b.CF)){for(u in _={},b.CF)(P=ZC._i_(u.replace("p","")))<F.L?_[u]=b.CF[u]:_["p"+(P-1)]=b.CF[u];b.CF=_}b.o[ZC._[11]].splice(F.L,1),d.o[ZC._[16]][b.L][ZC._[11]]=b.o[ZC._[11]],d.E.json=ZC.GY(JSON.stringify(d.o)),ZC.AO.C0("plot_remove",d,{id:d.K,graphid:b.K,plotindex:F.L}),b.M3("on-change"),b.KC(g,g)}break;case"modify":if(zingchart.exec(d.K,"setmode",{mode:""}),zingchart.SKIP.CSV=!0,C={},null!==ZC._n_(t.data)&&("object"==typeof t.data?ZC._cp_(t.data,C):C=JSON.parse(t.data)),ZC._todash_(C),b=d.CB(t[ZC._[3]])){if(b.B7&&!b.B7.KU&&f&&(b.B7.I3=!1,b.E["force-preview-parse"]=!0),null!==ZC._n_(t.object))switch(t.object){case"title":ZC._cp_(C,b.o.title);break;case"plotset":case"series":ZC._cp_(C,b.o[ZC._[11]]);break;case"plotarea":ZC._cp_(C,b.o.plotarea);break;case"legend":ZC._cp_(C,b.o.legend);break;case"plot":ZC._cp_(C,b.o.plot);break;case"map":ZC._cp_(C,b.o.shapes[0])}else ZC._cp_(C,b.o);switch(t.object){case"title":d.o[ZC._[16]][b.L].title=b.o.title;break;case"plotset":case"series":d.o[ZC._[16]][b.L][ZC._[11]]=b.o[ZC._[11]];break;case"plotarea":d.o[ZC._[16]][b.L].plotarea=b.o.plotarea;break;case"legend":d.o[ZC._[16]][b.L].legend=b.o.legend;break;case"plot":d.o[ZC._[16]][b.L].plot=b.o.plot;break;case"map":d.o[ZC._[16]][b.L].shapes[0]=b.o.shapes[0],d.XS(d.o),b.o.shapes=d.o[ZC._[16]][b.L].shapes;break;default:d.o[ZC._[16]][b.L]=b.o}d.E.json=ZC.GY(JSON.stringify(d.o)),ZC.AO.C0("modify",d,{id:d.K,graphid:b.K,data:C,object:t.object}),b.M3("on-change"),f&&(b.E["from-api"]=!0,d.QK(function(){b.KC(g,g)}))}break;case"modifyplot":zingchart.SKIP.CSV=!0,C={},B=t.plotdata?"plotdata":"data",null!==ZC._n_(t[B])&&("object"==typeof t[B]?ZC._cp_(t[B],C):C=JSON.parse(t[B])),ZC._todash_(C),(b=d.CB(t[ZC._[3]]))&&(F=b.I7(t.plotindex,t.plotid))&&(null===ZC._n_(d.o[ZC._[16]][b.L][ZC._[11]])&&(d.o[ZC._[16]][b.L][ZC._[11]]=[]),ZC._cp_(C,b.o[ZC._[11]][F.L]),d.o[ZC._[16]][b.L][ZC._[11]][F.L]=b.o[ZC._[11]][F.L],d.E.json=ZC.GY(JSON.stringify(d.o)),ZC.AO.C0("plot_modify",d,{id:d.K,graphid:b.K,plotindex:F.L,data:C}),b.M3("on-change"),f)&&(b.E["from-api"]=!0,d.QK(function(){b.KC(g,g)}));break;case"setnodevalue":zingchart.SKIP.CSV=!0,(b=d.CB(t[ZC._[3]]))&&(F=b.I7(t.plotindex,t.plotid))&&(Y=0,null!==ZC._n_(t.nodeindex)&&(Y=ZC._i_(t.nodeindex)),i=0,null!==ZC._n_(t[ZC._[9]])&&(i=t[ZC._[9]]),ZC.AO.C0("node_set",d,{id:d.K,graphid:b.K,plotindex:F.L,nodeindex:Y,key:Y,value:i,text:i}),d.o[ZC._[16]][b.L][ZC._[11]][F.L][ZC._[5]][Y]=b.o[ZC._[11]][F.L][ZC._[5]][Y]=i,d.E.json=ZC.GY(JSON.stringify(d.o)),b.M3("on-change"),f)&&(b.E["from-api"]=!0,b.KC(g,g));break;case"setscalevalues":if(zingchart.SKIP.CSV=!0,b=d.CB(t[ZC._[3]])){for(s=t.scale||ZC._[50],A=0,Z=b.BO.length;A<Z;A++)s===b.BO[A].BD&&null!==ZC._n_(b.o[s])&&(b.o[s][ZC._[5]]=t[ZC._[5]],d.o[ZC._[16]][b.L][s]=d.o[ZC._[16]][b.L][s]||{},d.o[ZC._[16]][b.L][s][ZC._[5]]=t[ZC._[5]]);d.E.json=ZC.GY(JSON.stringify(d.o)),b.M3("on-change"),f&&(b.E["from-api"]=!0,b.KC(g,g))}break;case"addscalevalue":if(zingchart.SKIP.CSV=!0,b=d.CB(t[ZC._[3]])){for(s=t.scale||ZC._[50],A=0,Z=b.BO.length;A<Z;A++)if(s===b.BO[A].BD&&null!==ZC._n_(b.o[s])&&null!==ZC._n_(b.o[s][ZC._[5]])){for(Y=null===ZC._n_(t.nodeindex)?b.o[s][ZC._[5]].length:ZC._i_(t.nodeindex),(h=b.o[s][ZC._[5]]).push(null),L=h.length-1;Y<L;L--)h[L]=h[L-1];h[Y]=t[ZC._[9]]||"",d.o[ZC._[16]][b.L][s][ZC._[5]]=h}d.E.json=ZC.GY(JSON.stringify(d.o)),b.M3("on-change"),f&&(b.E["from-api"]=!0,b.KC(g,g))}break;case"removescalevalue":if(zingchart.SKIP.CSV=!0,b=d.CB(t[ZC._[3]])){for(s=t.scale||ZC._[50],A=0,Z=b.BO.length;A<Z;A++)s===b.BO[A].BD&&null!==ZC._n_(b.o[s])&&null!==ZC._n_(b.o[s][ZC._[5]])&&(Y=null===ZC._n_(t.nodeindex)?b.o[s][ZC._[5]].length-1:ZC._i_(t.nodeindex),(h=b.o[s][ZC._[5]]).splice(Y,1),d.o[ZC._[16]][b.L][s][ZC._[5]]=h);d.E.json=ZC.GY(JSON.stringify(d.o)),b.M3("on-change"),f&&(b.E["from-api"]=!0,b.KC(g,g))}break;case"addnode":zingchart.exec(d.K,"setmode",{mode:""}),zingchart.SKIP.CSV=!0,b=d.CB(t[ZC._[3]]);N=t[ZC._[9]]instanceof Array;if(b&&(F=b.I7(t.plotindex,t.plotid))){c=b.o[ZC._[11]][F.L][ZC._[5]],Y=null===ZC._n_(t.nodeindex)?c.length:t.nodeindex,c.push(null);for(var E=c.length,Y=ZC.BR(0,ZC.CY(Y,E)),L=E-1;Y<L;L--)c[L]=c[L-1];if(c[Y]=t[ZC._[9]],!N)for(A=0,Z=b.BO.length;A<Z;A++)if(s=b.BO[A].BD,"k"===b.BO[A].AF&&null!==ZC._n_(t[s+"-value"])&&null!==ZC._n_(b.o[s])&&null!==ZC._n_(b.o[s][ZC._[5]])){for((h=b.o[s][ZC._[5]]).push(null),L=h.length-1;Y<L;L--)h[L]=h[L-1];h[Y]=t[s+"-value"],d.o[ZC._[16]][b.L][s][ZC._[5]]=h}ZC.AO.C0("node_add",d,{id:d.K,graphid:b.K,plotindex:F.L,nodeindex:Y,key:Y,value:t[ZC._[9]],text:t[ZC._[9]]}),d.o[ZC._[16]][b.L][ZC._[11]][F.L][ZC._[5]]=b.o[ZC._[11]][F.L][ZC._[5]],d.E.json=ZC.GY(JSON.stringify(d.o)),b.M3("on-change"),f&&(b.E["from-api"]=!0,b.KC(g,g))}break;case"removenode":if(zingchart.exec(d.K,"setmode",{mode:""}),zingchart.SKIP.CSV=!0,(b=d.CB(t[ZC._[3]]))&&(F=b.I7(t.plotindex,t.plotid))){c=b.o[ZC._[11]][F.L][ZC._[5]],Y=null===ZC._n_(t.nodeindex)?F.S.length-1:ZC._i_(t.nodeindex);var $=!0;if(null!==ZC._n_(t.nodekeyvalue))for($=!1,A=0,Z=F.S.length;A<Z;A++){if(null===F.S[A]&&A===t.nodekeyvalue){$=!0,Y=A;break}if(F.S[A]&&null!==ZC._n_(F.S[A].BV)&&F.S[A].BV===t.nodekeyvalue){$=!0,Y=A;break}}if($&&ZC.DS(Y,0,F.S.length-1)){for(c.splice(Y,1),A=0,Z=b.BO.length;A<Z;A++)s=b.BO[A].BD,"k"===b.BO[A].AF&&null!==ZC._n_(t[s])&&ZC._b_(t[s])&&null!==ZC._n_(b.o[s])&&null!==ZC._n_(b.o[s][ZC._[5]])&&((h=b.o[s][ZC._[5]]).splice(Y,1),d.o[ZC._[16]][b.L][s][ZC._[5]]=h);($||F.S[Y])&&(ZC.AO.C0("node_remove",d,{id:d.K,graphid:b.K,plotindex:F.L,nodeindex:Y,key:Y,value:F.S[Y]?F.S[Y].AC:null,text:F.S[Y]?F.S[Y].AC:null}),d.o[ZC._[16]][b.L][ZC._[11]][F.L][ZC._[5]]=b.o[ZC._[11]][F.L][ZC._[5]],d.E.json=ZC.GY(JSON.stringify(d.o)),b.M3("on-change"),f)&&(b.E["from-api"]=!0,b.KC(g,g))}}break;case"setdata":if(zingchart.exec(d.K,"setmode",{mode:""}),C={},null!==ZC._n_(t.data))if("object"==typeof t.data)zingchart.DEV.COPYDATA?C=JSON.parse(JSON.stringify(t.data)):ZC._cp_(t.data,C);else try{C=JSON.parse(t.data)}catch(Ze){return d.O5(Ze,"JSON parser"),!1}ZC._todash_(C),null===ZC._n_(t[ZC._[53]])&&(d.E[ZC._[53]]=!1),(b=null)!==ZC._n_(t[ZC._[3]])&&(b=d.CB(t[ZC._[3]])),ZC.AO.C0("setdata",d,{id:d.K,graphid:b?b.K:null,data:C});var G,ee,te=["x","y",ZC._[19],ZC._[20]];if(b){for(G=0;G<te.length;G++)delete d.E["graph-"+b.L+"-"+te[G]];var ie=!1;if((d.o[ZC._[16]][b.L]=b.o=C).widgets)ie=!0;else if(C.shapes)for(L=0;L<C.shapes.length;L++)"zingchart.maps"===C.shapes[L].type&&(ie=!0);ie&&d.XS(d.o),d.E.json=ZC.GY(JSON.stringify(d.o)),f&&(b.E["from-api"]=!0,O&&d.NX++,d.QK(function(){d.parse(b.K),d.AG[b.L].paint()}))}else{for(G=0;G<te.length;G++)for(ee=0;ee<d.AG.length;ee++)delete d.E["graph-"+ee+"-"+te[G]];d.o=C,d.E.json=ZC.GY(JSON.stringify(d.o)),d.XS(d.o),f&&(O&&d.NX++,d.KC())}break;case"getseriesdata":return(b=d.CB(t[ZC._[3]]))?null!==ZC._n_(t.plotindex)||null!==ZC._n_(t.plotid)?(F=b.I7(t.plotindex,t.plotid,0))?b.o[ZC._[11]][F.L]:null:b.o[ZC._[11]]:null;case"setseriesdata":case"appendseriesdata":if(zingchart.exec(d.K,"setmode",{mode:""}),zingchart.SKIP.CSV=!0,b=d.CB(t[ZC._[3]])){if(C=null!==ZC._n_(t.plotindex)||null!==ZC._n_(t.plotid)?(F=b.I7(t.plotindex,t.plotid,0),"setseriesdata"!==e&&b.o[ZC._[11]]&&b.o[ZC._[11]][F.L]?b.o[ZC._[11]][F.L]:{}):"setseriesdata"!==e&&b.o[ZC._[11]]||[],null!==ZC._n_(t.data)&&("object"==typeof t.data?ZC._cp_(t.data,C):ZC._cp_(JSON.parse(t.data),C)),ZC._todash_(C),null!==ZC._n_(t.plotindex)||null!==ZC._n_(t.plotid))F=b.I7(t.plotindex,t.plotid,0),(d.o[ZC._[16]][b.L][ZC._[11]][F.L]=b.o[ZC._[11]][F.L]=C).hasOwnProperty("visible")&&(b.E["plot"+F.L+".visible"]=C.visible);else for(d.o[ZC._[16]][b.L][ZC._[11]]=b.o[ZC._[11]]=C,L=0;L<C.length;L++)C[L].hasOwnProperty("visible")&&(b.E["plot"+L+".visible"]=C[L].visible);d.E.json=ZC.GY(JSON.stringify(d.o)),b.M3("on-change"),f&&d.QK(function(){b.KC(g,g)})}break;case"getseriesvalues":if(b=d.CB(t[ZC._[3]])){if(null!==ZC._n_(t.plotindex)||null!==ZC._n_(t.plotid))return(F=b.I7(t.plotindex,t.plotid,0))&&b.o[ZC._[11]][F.L][ZC._[5]]||[];for(p=[],L=0,o=b.AY.A4.length;L<o;L++)p.push(b.o[ZC._[11]][L][ZC._[5]]||[]);return p}return null;case"setseriesvalues":case"appendseriesvalues":zingchart.exec(d.K,"setmode",{mode:""}),zingchart.SKIP.CSV=!0,p=[],null!==ZC._n_(t[ZC._[5]])&&(p="object"==typeof t[ZC._[5]]?t[ZC._[5]]:JSON.parse(t[ZC._[5]]));var ne=!1;if(b=d.CB(t[ZC._[3]])){if(null===ZC._n_(t.plotindex)&&null===ZC._n_(t.plotid)||(p=[p],ne=!0),ne||"setseriesvalues"!==e){for(F=b.I7(t.plotindex,t.plotid,0),L=0,o=p.length;L<o;L++)if(b.AY.A4[F.L+L])if("setseriesvalues"===e)ne&&(d.o[ZC._[16]][b.L][ZC._[11]][F.L+L][ZC._[5]]=b.o[ZC._[11]][F.L+L][ZC._[5]]=p[L]);else{var X=d.o[ZC._[16]][b.L][ZC._[11]][F.L+L][ZC._[5]],ae=0<p[L].length&&null!==ZC._n_(p[L][0])&&1<p[L][0].length,le=!0;if(null!==ZC._n_(i=t.ignoreduplicates)&&(le=ZC._b_(i)),ae)for(var oe=X.length,M=0,re=p[L].length;M<re;M++){for(var Ce=!1,se=oe-1;0<=se;se--){if(p[L][M][0]>X[se][0]){X.push(p[L][M]),Ce=!0;break}if(p[L][M][0]===X[se][0]){Ce=!0;break}}Ce&&le||X.push(p[L][M])}else for(M=0,re=p[L].length;M<re;M++)X.push(p[L][M]);t["max-values"]&&ZC._i_(t["max-values"])<X.length&&(X=X.slice(-t["max-values"])),d.o[ZC._[16]][b.L][ZC._[11]][F.L+L][ZC._[5]]=b.o[ZC._[11]][F.L+L][ZC._[5]]=X}}else{for(A=0;A<p.length;A++)d.o[ZC._[16]][b.L][ZC._[11]][A]=d.o[ZC._[16]][b.L][ZC._[11]][A]||{},b.o[ZC._[11]][A]=b.o[ZC._[11]][A]||{},d.o[ZC._[16]][b.L][ZC._[11]][A][ZC._[5]]=b.o[ZC._[11]][A][ZC._[5]]=p[A];if(b.o[ZC._[11]].length>p.length)for(A=p.length;A<b.o[ZC._[11]].length;A++)delete d.o[ZC._[16]][b.L][ZC._[11]][A],delete b.o[ZC._[11]][A]}b.M3("on-change"),d.E.json=ZC.GY(JSON.stringify(d.o)),f&&b.KC(g,g)}break;case"togglelegend":(b=d.CB(t[ZC._[3]]))&&b.BE&&(B=!0,typeof b.BE.o.visible===ZC._[31]||b.BE.o.visible||(B=!1),b.BE.o.visible=!B,b.BE.clear(!1),b.BE.parse(),b.BE.paint());break;case"legendminimize":case"legendmaximize":(b=d.CB(t[ZC._[3]]))&&b.BE&&("legendminimize"===e?(ZC.AO.C0("legend_minimize",d,b.H2()),ZC.AO.C0("legend_hide",d,b.H2())):(ZC.AO.C0("legend_maximize",d,b.H2()),ZC.AO.C0("legend_show",d,b.H2())),b.BE.NC="legendminimize"===e,b.BE.WE(),b.BE.clear(!1),b.BE.parse(),b.BE.paint());break;case"legendscroll":(b=d.CB(t[ZC._[3]]))&&b.BE&&(F=b.I7(t.plotindex,t.plotid))&&(b.BE.scrollTo(ZC._i_(F.L)),b.BE.WE(),b.BE.clear(!0,!0),b.BE.YL=!0,b.BE.parse(),b.BE.paint());break;case"toggledimension":(b=d.CB(t[ZC._[3]]))&&d.A5H(b.K);break;case"getdata":return C=JSON.parse(d.E.json),ZC._todash_(C,!0),C;case"getoriginaljson":return C=JSON.parse(d.E.source),ZC._todash_(C,!0),C;case"getgraphlength":return d.AG.length;case"getplotlength":return(b=d.CB(t[ZC._[3]]))?b.AY.A4.length:0;case"getscales":if(b=d.CB(t[ZC._[3]])){var Ae=[];for(L=0;L<b.BO.length;L++)Ae.push(b.BO[L].BD);return Ae}return[];case"getnodelength":return(b=d.CB(t[ZC._[3]]))&&(F=b.I7(t.plotindex,t.plotid))?F.S.length:null;case"getnodevalue":return(b=d.CB(t[ZC._[3]]))&&(F=b.I7(t.plotindex,t.plotid))&&null!==ZC._n_(t.nodeindex)?(l=F.S[ZC._i_(t.nodeindex)])?F.EI?[l.BV,l.AC]:l.AC:null:null;case"getplotvalues":if((b=d.CB(t[ZC._[3]]))&&(F=b.I7(t.plotindex,t.plotid))){for(p=[],L=0,o=F.S.length;L<o;L++)F.S[L]?F.EI?p.push([F.S[L].BV,F.S[L].AC]):p.push(F.S[L].AC):p.push(null);return p}return null}}return null},{$i:function(){var e=this;e.NY=null,e.o={},e.IB=null,e.J2=null,e.E={},e.E6=[],e.HZ=null,e.MN=""},H8:function(e,t,i,n,a){if(e.HZ){a=a||this.MN;var l,o,r,C=e.HZ.call(this,n,a),s=(i&&C&&(C[i+"-state"]?C=C[i+"-state"]:C[i+"State"]&&(C=C[i+"State"])),this.getPMap()),A={},Z={};for(r in C)l=ZC.EH(r),o=ZC.US(r),"backgroundColor"===l?A.A0=A.AE=ZC.AO.GD(C[r]):"borderRadius"===l?A.F6=A.FW=A.FG=A.F2=C[r]:"padding"===r?A.FJ=A.FO=A.FX=A.ER=C[r]:s[l]?A[s[l]]=C[r]:A[l]=C[r],Z[o]=C[r];t.o||ZC._cp_(C,A),ZC._cp_(A,t),t.o&&(ZC._cp_(Z,t.o),t.L3())}},parse:function(){var s=this,H,i,oRule,KY,AB=("dashed"!==zingchart.SYNTAX&&ZC._todash_(s.o),"");if(typeof s.G!==ZC._[31]&&(AB=s.G.AB),ZC.ZR(s.o,"html5"),""!==AB&&ZC.ZR(s.o,AB),zingchart.DEV.MEDIARULES&&s.o["media-rules"]&&typeof s.G!==ZC._[31])for(i=0;i<s.o["media-rules"].length;i++)oRule=s.o["media-rules"][i],KY=!0,null!==ZC._n_(oRule["min-width"])&&ZC._i_(oRule["min-width"])>s.G.I&&(KY=!1),null!==ZC._n_(oRule["max-width"])&&ZC._i_(oRule["max-width"])<s.G.I&&(KY=!1),null!==ZC._n_(oRule["min-height"])&&ZC._i_(oRule["min-height"])>s.G.F&&(KY=!1),null!==ZC._n_(oRule["max-height"])&&ZC._i_(oRule["max-height"])<s.G.F&&(KY=!1),KY&&ZC._cp_(oRule,s.o);for(s.o.rules&&(s.E6=s.o.rules),i=0;i<s.E6.length;i++)if("*"===s.E6[i].rule&&s.E6[i].js){s.o["js-rule"]=s.E6[i].js,s.E6.splice(i,1);break}if(H=s.o["js-rule"])if("function"==typeof H)s.MN="",s.HZ=eval(H);else if("javascript:"===H.substring(0,11)||H.indexOf("(")<H.indexOf(")"))try{s.MN="";var ED=H.replace("javascript:",""),iOpen=H.indexOf("("),iClose=H.indexOf(")");-1!==iOpen&&-1!==iClose&&(s.MN=ED.substr(iOpen+1,iClose-iOpen-1),ED=ED.substr(0,iOpen)),s.HZ=ZC.evalFn(ED,window)}catch(e){}if(typeof s.G!==ZC._[31]&&null!==s.G.SB)for(var g in s.G.SB)s.G.SB.hasOwnProperty(g)&&null===ZC._n_(s.o[g])&&(s.o[g]=s.G.SB[g])},getPMap:function(){return{}},addPMap:function(e,t,i){for(var n=t.split(","),a=i.split(","),l=0,o=a.length;l<o;l++)e[n[l]]=a[l]},getData:function(){return this.o},setData:function(e){this.o=e},getAttributes:function(){return this.E},getAttribute:function(e){return this.E[e]},setAttribute:function(e,t){this.E[e]=t},get:function(e){var t=this.getPMap();return t[e]?this[t[e]]:null},set:function(e,t){var i=this.getPMap();i[e]&&(this[i[e]]=t)},append:function(e,t,i){null===t&&(t=!0);t=this;e&&(t.IB||(t.IB={},ZC._cp_(t.o,t.IB,!0,i)),t.J2||(t.J2={}),ZC._cp_(e,t.J2,!0,i),ZC._cp_(e,t.o,!0,i)),typeof t.AD7!==ZC._[31]&&t.AD7()&&e&&ZC._cp_(e,t.o)},AD7:function(){},assign_a:function(e){for(var t=0,i=e.length;t<i;t++)this.o.hasOwnProperty(e[t][0])&&this.YD(e[t][0],e[t][1],e[t][2],e[t][3],e[t][4])},YD:function(e,t,i,n,a){var l,o=this;if(null!==(l=o.o[e])&&typeof l!==ZC._[31]){if(i)switch(-1!==i.indexOf("p")&&(l=ZC._p_(l),i=i.replace("p","")),-1!==i.indexOf("a")&&(l=ZC._a_(l),i=i.replace("a","")),i){case"i":l=ZC._i_(l);break;case"f":l=ZC._f_(l);break;case"b":l=ZC._b_(l);break;case"c":l=ZC.AO.Z4(l,o),(l=ZC.AO.GD(l,o))instanceof Array&&("color"===e||"font-color"===e?(o.o["text-alpha"]=l[1],o.V1=l[1],o.E["text-alpha"]=l[1]):e===ZC._[61]?(o.o["border-alpha"]=l[1],o.O3=l[1],o.E["b-alpha"]=l[1]):("line-color"===e&&(o.E["l-alpha"]=l[1]),null===ZC._n_(o.o.alpha)&&(o.C5=l[1])),l=l[0])}null!==ZC._n_(n)&&null!==ZC._n_(a)&&(l=ZC._l_(l,n,a)),o[t]=l}},DG:function(){for(var e=this,t=!1,i=0,n=e.E6.length;i<n;i++){var a=!1;try{a=zingchart.DEV.STRICTRULES?0!==ZC.AO.eval(e.IQ(e.E6[i].rule)):new Function("return ("+e.IQ(e.E6[i].rule)+")")()}catch(l){a=!1}a&&(t=!0,e.append(e.E6[i]))}return t},ACH:function(e){for(var t="",i=0,n=e.length;i<n;i++){var a=!1;try{a=zingchart.DEV.STRICTRULES?0!==ZC.AO.eval(this.IQ(e[i].rule)):new Function("return ("+this.IQ(e[i].rule)+")")()}catch(l){a=!1}a&&(t+="<"+e[i].rule+">")}return""!==t?[t,ZC.XR.md5(t)]:null},IQ:function(){return!0},copy:function(e){var t=this;ZC._cp_(e.o,t.o),e.IB&&(t.IB=t.IB||{},ZC._cp_(e.IB,t.IB)),e.J2&&(t.J2=t.J2||{},ZC._cp_(e.J2,t.J2)),ZC._cp_(e.E,t.E),ZC._cp_(e.E6,t.E6)}}),CZ=(ZC.A9R=ZC.C6.CD(A9R),{$i:function(e){this.b(e);var t=this;e&&e.G&&(t.G=e.G),t.K="",t.DF=null,t.AP=!0,t.A0="-1",t.AE="-1",t.GT="",t.HQ="",t.VN=!0,t.DC="",t.M8="repeat",t.TE="50% 50%",t.WK="",t.KZ=1,t.NJ="linear",t.NB=90,t.VS=0,t.VR=0,t.B1=0,t.B9="#000",t.GE="",t.EU=0,t.G3=0,t.AU=0,t.BX="#000",t.C5=1,t.O3=1,t.T6="butt",t.A00="round",t.ME=!1,t.ON=45,t.JZ=2,t.T7=.75,t.RW="#999",t.PA=0,t.D0=!0,t.N2=!1,t.LB=!1,t.A1Z=!1,t.LR=null,t.BH=""},getPMap:function(){var e=this.b();return this.addPMap(e,"visible,backgroundColor1,backgroundColor2,gradientColors,gradientStops,backgroundImage,backgroundRepeat,backgroundPosition,backgroundFit,backgroundScale,fillType,fillAngle,fillOffsetX,fillOffsetY,lineWidth,lineColor,lineStyle,lineSegmentSize,lineGapSize,borderWidth,borderColor,borderAlpha,alpha,lineCap,shadow,shadowAngle,shadowDistance,shadowAlpha,shadowColor,shadowBlur,class,border","AP,A0,AE,GT,HQ,DC,M8,TE,WK,KZ,NJ,NB,VS,VR,B1,B9,GE,EU,G3,AU,BX,O3,C5,T6,ME,ON,JZ,T7,RW,PA,DF,BH"),e},copy:function(e){this.b(e);for(var t="AP,A0,AE,GT,HQ,DC,VN,M8,TE,WK,KZ,NJ,NB,VS,VR,B1,B9,GE,EU,G3,AU,BX,O3,C5,T6,ME,ON,JZ,T7,RW,PA,D0,LB,DF,G,BH".split(","),i=0,n=t.length;i<n;i++)typeof e[t[i]]!==ZC._[31]&&(this[t[i]]=e[t[i]])},AD7:function(){var e,t,i=this,n=!1;if((i.o["class"]||i.o.cls||i.o.id)&&null!==i.G&&null!==i.G.O){if(e=i.o["class"]||i.o.cls)for(var a=e.split(/(\s+)/),l=0,o=a.length;l<o;l++)(t=i.G.O["."+a[l]])&&(n=!0,ZC._cp_(t,i.o));(e=i.o.id)&&(t=i.G.O["#"+e])&&(n=!0,ZC._cp_(t,i.o))}return null!==i.NY&&(t=i.G.O[i.NY])&&(n=!0,ZC._cp_(t,i.o)),n},L3:function(e){var t,i=this;switch(null===ZC._n_(e)&&(e=i.B1),i.GE){case"dotted":i.EU=ZC.BR(1,.75*e),i.G3=1.75*e;break;case"dashed":i.EU=4*e,i.G3=3*e;break;case"dashdot":i.EU=4*e,i.G3=2*e;break;default:i.EU=0,i.G3=0}null!==(t=ZC._n_(i.o["line-segment-size"]))&&(i.EU=parseInt(t,10)),null!==(t=ZC._n_(i.o["line-gap-size"]))&&(i.G3=parseInt(t,10))},parse:function(){this.b();var e,t,i,n,a,l,o,r,C=this;if(null!==(u=ZC._n_(C.o.override))&&!C.A1Z){var s,A,Z,c=-1,h=-1;for(typeof C.E.plotidx!==ZC._[31]&&(c=ZC._i_(C.E.plotidx)),typeof C.E.nodeidx!==ZC._[31]&&(h=ZC._i_(C.E.nodeidx)),l=0,o=u.length;l<o;l++){if(A=s=-1,u[l].hook){if(null!==(e=ZC._n_(u[l].hook["node-index"]))){if(A=0,Z=[],"object"==typeof e)Z=e;else if("string"==typeof e){if(-1!==e.indexOf(","))Z=e.split(",");else if(-1!==e.indexOf("-"))for(t=e.split("-"),i=ZC._i_(t[0]);i<=ZC._i_(t[1]);i++)Z.push(i)}else Z=[e];-1!==ZC.AV(Z,h)&&(A=1)}if(null!==(e=u[l].hook["plot-index"])&&typeof e!==ZC._[31]){if(s=0,Z=[],"object"==typeof e)Z=e;else if("string"==typeof e){if(-1!==e.indexOf(","))Z=e.split(",");else if(-1!==e.indexOf("-"))for(t=e.split("-"),i=ZC._i_(t[0]);i<ZC._i_(t[1]);i++)Z.push(i)}else Z=[e];-1!==ZC.AV(Z,c)&&(s=1)}}0!==s&&0!==A&&C.append(u[l])}}if(null!==(u=C.LR)&&C.append(u),u=C.o[ZC._[0]]){if(u=ZC.AO.Z4(u,this),"rgb("===String(u).substring(0,4))for(n=new RegExp("rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)");a=n.exec(u);)u=u.replace(a[0],ZC.AO.GD(a[0]));if("rgba("===String(u).substring(0,5))for(n=new RegExp("rgba\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\,\\s*([0-9.]+)\\)");a=n.exec(u);){var p=ZC.AO.GD(a[0],C),u=u.replace(a[0],p[0]);C.o.alpha=p[1],C.C5=p[1],C.E["bg-alpha"]=p[1],null===ZC._n_(C.E["b-alpha"])&&(C.E["b-alpha"]=1),null===ZC._n_(C.E["l-alpha"])&&(C.E["l-alpha"]=1)}var _=ZC.GY(String(u)).split(/\s+|;|,/);C.A0=ZC.AO.GD(_[0]),C.AE=1===_.length?C.A0:ZC.AO.GD(_[1])}if(!(null===ZC._n_(C.o[ZC._[62]])&&null===ZC._n_(C.o[ZC._[61]])&&null===ZC._n_(C.o["line-style"])||null===ZC._n_(C.o["border-top"])&&null===ZC._n_(C.o["border-right"])&&null===ZC._n_(C.o["border-bottom"])&&null===ZC._n_(C.o["border-left"])&&null===ZC._n_(C.o.border))){var d=["top","right","bottom","left"],f={top:[0,"solid","#000"],right:[0,"solid","#000"],bottom:[0,"solid","#000"],left:[0,"solid","#000"]};if(C.IB=C.IB||{},u=C.IB.border)for(r=u.split(/\s/),l=0;l<4;l++)f[d[l]]=[ZC._i_(r[0]||"0"),ZC.GY(r[1]||"solid"),ZC.AO.GD(r[2]||"#000000")];if(null!==ZC._n_(C.IB[ZC._[62]]))for(l=0;l<4;l++)f[d[l]][0]=C.IB[ZC._[62]];if(null!==ZC._n_(C.IB["line-style"]))for(l=0;l<4;l++)f[d[l]][1]=C.IB["line-style"];if(null!==ZC._n_(C.IB[ZC._[61]]))for(l=0;l<4;l++)f[d[l]][2]=C.IB[ZC._[61]];for(l=0;l<4;l++)(u=C.IB["border-"+d[l]])&&(r=u.split(/\s/),f[d[l]]=[ZC._i_(r[0]||"0"),ZC.GY(r[1]||"solid"),ZC.AO.GD(r[2]||"#000000")]);if(C.J2=C.J2||{},u=C.J2.border)for(r=u.split(/\s/),l=0;l<4;l++)f[d[l]]=[ZC._i_(r[0]||"0"),ZC.GY(r[1]||"solid"),ZC.AO.GD(r[2]||"#000000")];if(null!==ZC._n_(C.J2[ZC._[62]]))for(l=0;l<4;l++)f[d[l]][0]=C.J2[ZC._[62]];if(null!==ZC._n_(C.J2["line-style"]))for(l=0;l<4;l++)f[d[l]][1]=C.J2["line-style"];if(null!==ZC._n_(C.J2[ZC._[61]]))for(l=0;l<4;l++)f[d[l]][2]=C.J2[ZC._[61]];for(l=0;l<4;l++)(u=C.J2["border-"+d[l]])&&(r=u.split(/\s/),f[d[l]]=[ZC._i_(r[0]||"0"),ZC.GY(r[1]||"solid"),ZC.AO.GD(r[2]||"#000000")]);for(l=0;l<4;l++)null===ZC._n_(C.o["border-"+d[l]])&&(C.o["border-"+d[l]]=f[d[l]].join(" "))}C.assign_a([["visible","AP","b"],["background-color-1","A0","c"],["background-color-2","AE","c"],["gradient-colors","GT"],["gradient-stops","HQ"],["pixel-correction","D0","b"],["background-clip","VN","b"],["background-image","DC"],["background-repeat","M8"],["background-position","TE"],["background-fit","WK"],["background-scale","KZ","f"],["fill-type","NJ"],["fill-angle","NB","i"],["fill-offset-x","VS","f"],["fill-offset-y","VR","f"],[ZC._[4],"B1","i"],["line-color","B9","c"],["line-style","GE",""],["class","DF"],["cls","DF"],["border","BH"]]),"none"===C.NJ&&(C.AE=C.A0,C.NJ="linear"),""!==C.BH&&(r=C.BH.split(/\s/),C.AU=ZC._i_(r[0]||"0"),C.GE=ZC.GY(r[1]||"solid"),C.BX=ZC.AO.GD(r[2]||"#000000")),C.GT=ZC.AO.Z4(C.GT,this),C.L3(),C.assign_a([["line-segment-size","EU","i"],["line-gap-size","G3","i"],[ZC._[62],"AU","i"],[ZC._[61],"BX","c"],["alpha","C5","f",0,1],["shadow","ME","b"],["shadow-angle","ON","i",0,360],["shadow-distance","JZ","i"],["shadow-alpha","T7","f",0,1],["shadow-color","RW","c"],["shadow-blur","PA","i"]]),C.O3=C.C5,C.assign_a([["border-alpha","O3","f",0,1]])}}),DT=(ZC.CZ=ZC.A9R.CD(CZ),ZC.CO={contour:function(e,t,i){var n,a;if(e&&i&&0!==i.length){if(!t.E["fast-vector-path"])for(r=0,n=i.length;r<n;r++)i[r]&&(i[r][0]=parseFloat(Number(i[r][0]).toFixed(2)),i[r][1]=parseFloat(Number(i[r][1]).toFixed(2)));for(var l=!1,o=i.length,r=0;r<o;r++)null!==ZC._n_(i[r])&&(a=[i[r][0],i[r][1]],null!==ZC._n_(i[r][2])&&a.push(i[r][2],i[r][3]),null!==ZC._n_(i[r][4])&&a.push(i[r][4],i[r][5]),t.N2&&(a[0]=Math.round(a[0]),a[1]=Math.round(a[1]),4===a.length)&&(a[2]=Math.round(a[2]),a[3]=Math.round(a[3])),t.D0)&&t.B1%2==1&&(a[0]-=.5,a[1]-=.5,4===a.length)&&(a[2]-=.5,a[3]-=.5),0===r?e.moveTo(a[0],a[1]):i[r]?(l&&(e.moveTo(a[0],a[1]),l=!1),2===a.length?e.lineTo(a[0],a[1]):4===a.length?e.quadraticCurveTo(a[0],a[1],a[2],a[3]):6===a.length&&e.arc(a[0],a[1],a[2],ZC.TD(a[3]),ZC.TD(a[4]),a[5])):l=!0}},setup:function(e,t){var i=t.G.AB;if(1!==t.C5&&t.LB&&(null===ZC._n_(t.o[ZC._[61]])&&(t.BX=t.A0),null===ZC._n_(t.o[ZC._[62]])))switch(i){case"canvas":t.AU=.2;break;case"svg":t.AU=.1;break;case"vml":t.AU=.2,t.E.A8K=t.C5/10}},paint:function(e,t,i,n,a,l){if(null===ZC._n_(a)&&(a=2),null===ZC._n_(n)&&(n=!1),null===ZC._n_(l)&&(l=!1),e&&i&&0!==i.length&&t){!l&&2<i.length&&null!==i[0]&&null!==i[i.length-1]&&i[0].join(",")===i[i.length-1].join(",")&&(t.T6="round");var o,r,C=t.G.AB;if("canvas"!==C||0!==t.B1&&"-1"!==t.B9){t.ME&&!n&&(t.C8=t.C8||t.Z,s=ZC.Q._sh_(i,t),typeof t.A4Q!==ZC._[31]?A=t.A4Q:((A=new ZC.DT(t)).copy(t),A.K=t.K+"-sh",A.ME=!1,A.B1+=A.PA,A.B9=A.RW),A.C5=t.C5*A.T7,typeof t.ADG===ZC._[31]&&(t.A4Q=A),A.D0=!1,Z=t.C8?ZC.Q.EE(t.C8,C):e,ZC.CO.setup(Z,A),ZC.CO.paint(Z,A,s,!1,1,l));var s,A,Z,c=ZC._i_(t.EU||"0"),h=ZC._i_(t.G3||"0"),p=("solid"===t.GE&&(c=h=0),i.length),u=(typeof t.AA===ZC._[31]&&(t.AA=0),"canvas"===C&&(e.lineJoin=t.A00,e.lineCap=t.T6,e.strokeStyle=ZC.AO.A34(ZC.AO.GD(t.B9),n?t.O3:t.C5),e.lineWidth=t.B1,e.beginPath()),!1);if(-1!==ZC.AV(["svg","vml"],C))o=l?[]:ZC.Q.A33(i,C,t,n);else{for(var _=!1,d=("dashdot"!==t.GE&&(_=e.setLineDash)&&e.setLineDash(0===c||0===h?[]:[c,h]),0),f=[ZC.MAX,ZC.MAX,-ZC.MAX,-ZC.MAX],g=0;g<p;g++)if(null===i[g])u=!0;else if(null!==(m=ZC.objmove?i[g]:ZC.Q._txp_(i[g],C,t,n))&&!isNaN(m[0])&&!isNaN(m[1])&&isFinite(m[0])&&isFinite(m[1]))if(p<=6&&n&&(f[0]=ZC.CY(f[0],m[0]),f[1]=ZC.CY(f[1],m[1]),f[2]=ZC.BR(f[2],m[0]),f[3]=ZC.BR(f[3],m[1])),0===g)2===m.length?e.moveTo(m[0],m[1]):6===m.length&&e.arc(m[0],m[1],m[2],ZC.TD(m[3]),ZC.TD(m[4]),m[5]);else if(u&&(e.moveTo(m[0],m[1]),u=!1),_||0===c||0===h||4===m.length||6===m.length||7===m.length)2===m.length?e.lineTo(m[0],m[1]):4===m.length?e.quadraticCurveTo(m[0],m[1],m[2],m[3]):6===m.length?e.arc(m[0],m[1],m[2],ZC.TD(m[3]),ZC.TD(m[4]),m[5]):7===m.length&&e.bezierCurveTo(m[0],m[1],m[2],m[3],m[4],m[5]);else if(null!==i[g-1]){var B=ZC.Q._txp_(i[g-1],C,t,n),b=B[4===B.length?2:0],B=B[4===B.length?3:1],E=m[0],m=m[1],D=c+h,v=E-b,F=m-B,K=Math.sqrt(v*v+F*F)+d;if(c<K){for(var d=0,I="dashdot"===t.GE?Math.floor(ZC._a_(K/((D+t.B1+h)/2))):Math.floor(ZC._a_(K/D)),x=Math.atan2(F,v),y=Math.cos(x),Y=Math.sin(x),L=b,G=B,X=c,M=0;M<I;M++)"dashdot"===t.GE&&(D=M%2?t.B1+h:c+h,X=M%2?t.B1:c),v=y*D,F=Y*D,e.moveTo(L,G),e.lineTo(L+y*X,G+Y*X),L+=v,G+=F;e.moveTo(L,G),c<(K=Math.sqrt((E-L)*(E-L)+(m-G)*(m-G)))?e.lineTo(L+y*c,G+Y*c):0<K&&e.lineTo(L+y*K,G+Y*K),e.moveTo(E,m)}else d=K}t.G&&p<=6&&n&&(t.G.E[t.K+"-bounds"]=f)}switch(C){case"canvas":e.globalCompositeOperation=t.A0Z,e.stroke();break;case"svg":case"vml":if(null!==ZC._n_(t.o["top-state"])||!t.G.OC||n&&!t.E.areanode)"svg"===C?ZC.CO.WG(e,t,o.join(" "),n,l):ZC.CO.WF(e,t,o.join(" "),n);else{if(r=t.E.areanode?t.A0+"-"+t.AE+"-"+t.DC+"-"+t.B1+"-"+t.GE+"-"+t.C5+"-"+t.BK+"-"+t.BJ:t.B9+"-"+t.B1+"-"+t.GE+"-"+t.C5+"-"+t.BK+"-"+t.BJ,null===ZC._n_(t.G.NU[a])){t.G.NU[a]={uid:r,ctx:e,path:o,style:t,filled:n};break}if(t.G.NU[a].uid===r&&t.G.NU[a].path.length<2e3){M=t.G.NU[a].path,o&&o[0]&&(0<M.length&&M[M.length-1].replace(/[A-Z]+/,"")===o[0].replace(/[A-Z]+/,"")&&(o[0]=""),t.G.NU[a].path=t.G.NU[a].path.concat(o));break}"svg"===C?ZC.CO.WG(t.G.NU[a].ctx,t.G.NU[a].style,t.G.NU[a].path.join(" "),t.G.NU[a].filled):ZC.CO.WF(t.G.NU[a].ctx,t.G.NU[a].style,t.G.NU[a].path.join(" "),t.G.NU[a].filled),t.G.NU[a]={uid:r,ctx:e,path:o,style:t,filled:n}}}null===ZC._n_(t.o["top-state"])||t.Y9||t.E["skip-top"]||t.W1||((Z=new ZC.HU(t.A)).copy(t),Z.W1=!0,Z.ME=!1,Z.Z=t.Z,Z.append(t.o["top-state"]),Z.K=t.K+"-top",Z.parse(),"svg"===C?ZC.CO.WG(e,Z,o.join(" "),n,l):"vml"===C?ZC.CO.WF(e,Z,o.join(" "),n):ZC.CO.paint(e,Z,i,n,a,l))}}},smooth:function(e,t,i){ZC._n_(t)&&(t=!1),i=i||"h";var n,a,l=[],o=[];for(A=0,Z=e.length;A<Z;A++)e[A]&&("h"===i?(o.push(e[A][0]),l.push(e[A][1])):(o.push(e[A][1]),l.push(e[A][0])),0===A)&&(o.push(o[0]),l.push(l[0]));for(o.push(o[o.length-1]),l.push(l[l.length-1]),e=[],n=1,a=l.length;n<a-1;n++)for(var r=[l[n-1],l[n],l[n+1],l[n+2]],C=ZC._a_(o[n+1]-o[n]),s=ZC.AQ.YC(t,r,C,1/(C/r.length)),A=0,Z=s.length;A<Z;A++)null!==ZC._n_(s[A][0])&&null!==ZC._n_(s[A][1])?"h"===i?e.push([o[n]+s[A][0]*C,s[A][1]]):e.push([s[A][1],o[n]+s[A][0]*C]):e.push(null);return e},_append_:function(e,t,i){(t.G&&t.G.G4?(null===ZC._n_(t.G.G4[e.id])&&(t.G.G4[e.id]=document.createDocumentFragment()),t.G.G4[e.id]):e).appendChild(i)},WG:function(e,t,i,n,a){var l,o,r,C,s,A,Z,c,h,p,u;""===i&&!a||(ZC.cache.data["svg-rect"]||(ZC.cache.data["svg-rect"]=ZC.Q.F8("rect",ZC._[36])),l=a?ZC.cache.data["svg-rect"].cloneNode(!0):ZC.Q.F8("path",ZC._[36]),u={},t.DF&&""!==t.DF&&(u["class"]=t.DF),a||(u.d=i),a&&(t.I<0&&(t.iX-=t.I,t.I=-t.I),t.F<0&&(t.iY+=t.F,t.F=-t.F),A=s=0,Z=1,t.D0&&(s=A=t.B1/2,(Z=0)===t.iX&&(s=0),0===t.iY)&&(A=0),A=(Z=(s=0===Z||t.I<=3||t.F<=3?(o=Math.floor(t.iX)+s,r=Math.floor(t.iY)+A,C=Math.ceil(t.I)-2*s,Math.ceil(t.F)-2*s):(o=parseFloat(t.iX.toFixed(Z))+s,r=parseFloat(t.iY.toFixed(Z))+A,C=parseFloat(t.I.toFixed(Z))-2*s,parseFloat(t.F.toFixed(Z))-2*A),t.F6),t.F6),u.x=o,u.y=r,u[ZC._[19]]=ZC.BR(0,C),u[ZC._[20]]=ZC.BR(0,s),u.rx=Z,u.ry=A,t.G)&&(t.G.E[t.K+"-bounds"]=[u.x,u.y,u.x+u[ZC._[19]],u.y+u[ZC._[20]]]),c="",typeof t.K===ZC._[31]||""===t.K?typeof t.G!==ZC._[31]&&(c=t.G.GRAPHID+"-path-"+ZC.SEQ,ZC.SEQ++):c=t.K+"-path",h="",typeof t.BK===ZC._[31]||typeof t.BJ===ZC._[31]||0===t.BK&&0===t.BJ||(h+="translate("+t.BK+" "+t.BJ+")"),typeof t.AA!==ZC._[31]&&0!==t.AA&&(p=t.AA,typeof t.E.cx!==ZC._[31]&&(p+=","+(ZC._x_(t.E.cx)-.5)),typeof t.E.cy!==ZC._[31]&&(p+=","+(ZC._x_(t.E.cy)-.5)),h+=" rotate("+p+")"),n&&-1!==t.E.fill?(u.fill=t.E.fill,u["fill-opacity"]=t.C5):u.fill="none",u["stroke-linecap"]=t.T6,u["stroke-linejoin"]=t.A00,0<t.B1&&(u.stroke=t.B9,u["stroke-width"]=t.B1,u["stroke-opacity"]=n?t.O3:t.C5,"solid"===t.GE||0===t.EU&&0===t.G3||("dashdot"===t.GE?u["stroke-dasharray"]=[t.EU,t.G3,t.B1,t.G3].join(" "):u["stroke-dasharray"]=t.EU+","+t.G3)),l.id=c,""!==h&&(u.transform=h),t.o["fast-line"]&&0<t.B1?(l.setAttribute("stroke",u.stroke),l.setAttribute("stroke-width",u["stroke-width"]),l.setAttribute("stroke-opacity",u["stroke-opacity"]),l.setAttribute("d",i)):ZC.Q.G6(l,u),ZC.CO._append_(e,t,l),t.E.border&&"all"!==t.E.border)||typeof t.E.imgfill!==ZC._[31]&&("string"==typeof t.E.imgfill?ZC.AL(c+"-imgfill")||(p=a?ZC.Q.F8("rect",ZC._[36]):ZC.Q.F8("path",ZC._[36]),ZC.Q.G6(p,{id:c+"-imgfill",transform:h,fill:t.E.imgfill,"fill-opacity":t.C5}),a?ZC.Q.G6(p,{x:o,y:r,width:ZC.BR(0,C),height:ZC.BR(0,s),rx:Z,ry:A}):ZC.Q.G6(p,{d:i}),ZC.CO._append_(e,t,p)):ZC.AL(c+"-imgfill")||(n=t.E.imgfill,(u=ZC.Q.F8("image",ZC._[36])).setAttributeNS?"zc."===t.DC.substring(0,3)?u.setAttributeNS(ZC._[37],"href",ZC.IMAGES[t.DC]):u.setAttributeNS(ZC._[37],"href",t.DC):"zc."===t.DC.substring(0,3)?u.setAttribute("src",ZC.IMAGES[t.DC]):u.setAttribute("src",t.DC),null!==ZC._n_(t.E["clip-path"])&&ZC.Q.G6(u,{"clip-path":"url(#"+t.E["clip-path"]+")"}),ZC.Q.G6(u,{id:c+"-imgfill",x:n[1],y:n[2],"fill-opacity":t.C5,width:t.E[ZC._[69]],height:t.E[ZC._[70]],preserveAspectRatio:"none"}),ZC.CO._append_(e,t,u)))},WF:function(e,t,i,n){n&&(i+=" x e");var a,l="",o=(typeof t.K===ZC._[31]||""===t.K?typeof t.G!==ZC._[31]&&(l=t.G.GRAPHID+"-path-"+ZC.SEQ,ZC.SEQ++):l=t.K+"-path",ZC.Q.F8("zcv:shape")),r=(o.style.position="absolute",o.style.rotation=t.AA,o.id=l,ZC.Q.F8("zcv:path"));if(r.v=i,r.setAttribute("VMLv",i),o.appendChild(r),0===t.B1)o.stroked=!1;else{var C=ZC.Q.F8("zcv:stroke"),s=t.C5;if(typeof t.E.A8K!==ZC._[31]&&(s=t.E.A8K),typeof t.E.stroke!==ZC._[31])Z=t.E.stroke.weight,c=t.E.stroke.color,s=t.E.stroke.opacity,a=t.E.stroke.dashstyle;else{switch(t.GE){case a="solid":a="solid";break;case"dotted":a="dot";break;case"dashed":a="dash";break;default:a=t.GE}"solid"!==a&&"0 0"!=(A=ZC.CY(6,t.EU*t.B1)+" "+ZC.CY(8,t.G3*t.B1))&&(a=A),Z=t.B1,c=t.B9}ZC.Q.G6(C,{weight:Z+"px",color:c,opacity:s,miterlimit:10,endcap:"flat",joinstyle:"round",dashstyle:a}),o.appendChild(C)}n&&typeof t.E.fill!==ZC._[31]&&-1!==t.E.fill?(o.filled=!0,o.appendChild(t.E.fill)):o.filled=!1,ZC.Q.G6(o,{coordorigin:"0 0",coordsize:t.AA%360==0?"100 100":t.G.I+" "+t.G.F});var A=0,Z=0,c=(t.AA%360!=0&&typeof t.E.cx!==ZC._[31]&&typeof t.E.cy!==ZC._[31]&&(c=t.G.I/2-t.E.cx,C=0==(s=t.G.F/2-t.E.cy)?0:ZC.U4(Math.atan(c/s)),t.E.cy>t.G.F/2&&(C+=180),A=c-(n=Math.sqrt(c*c+s*s))*ZC.EL(C-t.AA),Z=s-n*ZC.EF(C-t.AA)),0-A),s=(null!==ZC._n_(t.BK)&&(c+=t.BK),0-Z);null!==ZC._n_(t.BJ)&&(s+=t.BJ),o.style.left=c+"px",o.style.top=s+"px",e.appendChild(o),t.AA%360==0?(o.style.width="10px",o.style.height="10px"):(o.style.width=t.G.I+"px",o.style.height=t.G.F+"px"),"all"!==t.E.border&&typeof t.E.imgfill===ZC._[31]||typeof t.E.imgfill!==ZC._[31]&&(1===(n=t.E.imgfill).length?((o=ZC.Q.F8("zcv:shape")).style.position="absolute",o.style.rotation=t.AA,(r=ZC.Q.F8("zcv:path")).v=i,o.appendChild(r),o.appendChild(n[0]),o.stroked=!1,ZC.Q.G6(o,{id:l+"-imgfill",filled:!0,coordorigin:"0 0",coordsize:t.AA%360==0?"100 100":t.G.I+" "+t.G.F}),o.style.left=c+"px",o.style.top=s+"px",e.appendChild(o),t.AA%360==0?(o.style.width="10px",o.style.height="10px"):(o.style.width=t.G.I+"px",o.style.height=t.G.F+"px")):3===n.length&&((C=ZC.Q.F8("img")).id=l+"-img","zc."===t.DC.substring(0,3)?C.src=ZC.IMAGES[t.DC]:C.src=t.DC,C.style.position="absolute",C.style.left=n[1]+"px",C.style.top=n[2]+"px",C.style.width=t.E[ZC._[69]]+"px",C.style.height=t.E[ZC._[70]]+"px",e.appendChild(C)))}},{$i:function(e){this.b(e);var t=this;t.A=e,t.Z=null,t.C8=null,t.HA="",t.iX=-1,t.iY=-1,t.DH="poly",t.D=[],t.D2=[0,0,0,0],t.AA=0,t.AI=0,t.JI=0,t.BK=0,t.BJ=0,t.A99=0,t.DX=0,t.B4=0,t.BL=360,t.CP=0,t.TL=!1,t.ADA=!1,t.A4D=0,t.AAN="",t.OC=!1,t.A76=1,t.JW=1,t.E9=null,t.FD=null,t.IE="auto",t.KD=!1,t.A0Z="source-over",t.QW=!1},getPMap:function(){var e=this.b();return this.addPMap(e,"objectId,x,y,points,bounds,pieAngleStart,pieAngleEnd,pieSlice,url,target,offsetX,offsetY,offsetR,size,size2,angle,shape,flat,cursor","HA,iX,iY,D,D2,B4,BL,CP,E9,FD,BK,BJ,DX,AI,JI,AA,DH,KD,IE"),e},build:function(){},copy:function(e){this.b(e);for(var t="BK,BJ,DX,AI,JI,AA,DH,KD,IE".split(","),i=0,n=t.length;i<n;i++)typeof e[t[i]]!==ZC._[31]&&(this[t[i]]=e[t[i]]);if(e.D&&0<e.D.length)for(this.D=[],i=0,n=e.D.length;i<n;i++)this.D.push(e.D[i])},ll_:function(e,t){-1!==(""+e).indexOf("lat")&&(t="y"),-1!==(""+e).indexOf("lon")&&(t="x"),e=ZC._f_((""+e).replace("lat","").replace("lon",""));var i=zingchart.maps.maps[this.A4D];return i&&(e=zingchart.maps.lonlat2xy(i._INFO_.x,i._INFO_.y,i._INFO_.width,i._INFO_.height,"x"===t?[e,0]:[0,e],i._INFO_.bbox,{map:this.A4D,item:this.AAN,zoom:i._INFO_.zoom,offsetX:i._INFO_.offsetX,offsetY:i._INFO_.offsetY},!0)),e=ZC._i_("x"===t?e[0]:e[1])},kv_:function(e,t){-1!==(""+e).indexOf("val")&&(t="y"),-1!==(""+e).indexOf("key")&&(t="x"),e=ZC._f_((""+e).replace("key","").replace("val",""));var i,n=this.G||zingchart.HW[0];return n&&(n=this.A||n.AG[0])&&("x"===t?null!==(i=n.BW("k")[0])&&(e=ZC._i_(i.AR(e))):null!==(i=n.BW("v")[0])&&(e=ZC._i_(i.AR(e)))),ZC._i_(e)},xy_:function(e,t,i){var n,a,l,o=this,r=(t=t||"x",""+e);return-1!==r.indexOf("lat")||-1!==r.indexOf("lon")?o.ll_(e,t):-1!==r.indexOf("val")||-1!==r.indexOf("key")?o.kv_(e,t):""+ZC._f_(e)===r?(r=typeof o.E["p-x"]!==ZC._[31]?o.E["p-x"]:o.A.iX,n=typeof o.E["p-y"]!==ZC._[31]?o.E["p-y"]:o.A.iY,a=typeof o.E["p-width"]!==ZC._[31]?o.E["p-width"]:o.A.I,l=typeof o.E["p-height"]!==ZC._[31]?o.E["p-height"]:o.A.F,(1<=e||e<0||zingchart.DEV.IGNORESUBUNIT)&&!i?"x"===t?r+parseFloat(e):n+parseFloat(e):0<=e&&e<1||i?"x"===t?Math.round(r+(a=a||1)*e):Math.round(n+(l=l||1)*e):void 0):-1!==(e+="").indexOf("%")?o.xy_(parseFloat(e.replace("%",""))/100,t,!0):-1!==e.indexOf("px")?o.xy_(parseFloat(e.replace("px","")),t):o.xy_(parseFloat(e),t)},locate:function(e){var t,i=this;i.TL?(-1!==(""+i.o.x).indexOf("lon")?i.iX=i.ll_(i.o.x,"x"):i.YD("x","iX"),-1!==(""+i.o.y).indexOf("lat")?i.iY=i.ll_(i.o.y,"y"):i.YD("y","iY"),i.A3Y()):1===e?(null!==(t=ZC._n_(i.o.x))&&(i.iX=i.xy_(t,"x")),null!==(t=ZC._n_(i.o.y))&&(i.iY=i.xy_(t,"y")),-1===i.iX&&(i.iX=i.A.iX),-1===i.iY&&(i.iY=i.A.iY)):2===e&&(i.A3Y(),i.I=i.D2[2]-i.D2[0],i.F=i.D2[3]-i.D2[1])},A3Y:function(){var e,t=this,i=ZC.MAX,n=ZC.MAX,a=-ZC.MAX,l=-ZC.MAX;switch(t.DH){case"custom":l=a=n=i=0;break;case"circle":case"arc":case"pie":i=t.iX-t.AI,n=t.iY-t.AI,a=t.iX+t.AI,l=t.iY+t.AI;break;default:for(var o=0,r=t.D.length;o<r;o++)null!==(e=t.D[o])&&(i=Math.min(i,e[0]),n=Math.min(n,e[1]),a=Math.max(a,e[0]),l=Math.max(l,e[1]))}t.D2=[i,n,a,l]},F1:function(){var e,t=this;if("pie"===t.DH){var i=1,n=[],a=t.B4+t.AA,l=t.BL+t.AA,o=t.AI+Math.floor(t.AU/2),r=t.CP-Math.floor(t.AU/2);for(50<o&&(i=2),100<o&&(i=4),0==r?a%360!=l%360&&n.push([t.iX,t.iY]):n.push(ZC.AQ.BN(t.iX,t.iY,r,a),ZC.AQ.BN(t.iX,t.iY,(o+r)/2,a-.25*t.AU),ZC.AQ.BN(t.iX,t.iY,o,a)),e=a;e<=l;e+=i)n.push(ZC.AQ.BN(t.iX,t.iY,o,e));if(n.push(ZC.AQ.BN(t.iX,t.iY,o,l)),n.push(ZC.AQ.BN(t.iX,t.iY,(o+r)/2,l+.25*t.AU)),0==r)a%360!=l%360&&n.push([t.iX,t.iY]);else{for(n.push(ZC.AQ.BN(t.iX,t.iY,r,l)),e=l;a<=e;e-=i)n.push(ZC.AQ.BN(t.iX,t.iY,r,e));n.push(ZC.AQ.BN(t.iX,t.iY,r,a))}return n.push([n[0][0],n[0][1]]),ZC.AQ.PJ(n,Math.min(5,o/5),[t.BK,t.BJ])}if(0===t.AA||"rectangle"!==t.DH&&"rect"!==t.DH)return ZC.AQ.PJ(t.D,Math.min(5,t.AI/5),[t.BK,t.BJ]);for(var C,s,A,Z=[],c=ZC._i_((t.D2[0]+t.D2[2])/2),h=ZC._i_((t.D2[1]+t.D2[3])/2),p=0,u=t.D.length;p<u;p++)null!==t.D[p]&&(A=t.D[p][0]-c,C=t.D[p][1]-h,s=A*ZC.EF(t.AA)-C*ZC.EL(t.AA),A=A*ZC.EL(t.AA)+C*ZC.EF(t.AA),Z[p]=[s+c,A+h]);return ZC.AQ.PJ(Z,Math.min(5,t.AI/5),[t.BK,t.BJ])},A5F:function(){var e,t,i,n,a,l,o=this,r=ZC.ie67?ZC.MAPTX:0;switch(o.DH){case"line":if(c=[].concat(o.D),0!==o.AA)for(e=(o.D2[0]+o.D2[2])/2,t=(o.D2[1]+o.D2[3])/2,s=0,A=c.length;s<A;s++)null!==c[s]&&(i=c[s][0]-e,n=c[s][1]-t,a=i*ZC.EF(o.AA)-n*ZC.EL(o.AA),l=i*ZC.EL(o.AA)+n*ZC.EF(o.AA),c[s]=[a+e,l+t]);for(var C=["poly"],s=0,A=c.length;s<A-1;s++)null!==c[s]&&null!==c[s+1]&&C.push(ZC.AQ.PJ(ZC.AQ.Z1([c[s],c[s+1]]),4,[o.BK,o.BJ]));return C;case"cross":case"plus":return["circle",ZC._i_(o.iX+r+o.BK)+","+ZC._i_(o.iY+r+o.BJ)+","+ZC._i_(o.AI)];case"circle":case"arc":return["circle",ZC._i_(o.iX+r+o.BK)+","+ZC._i_(o.iY+r+o.BJ)+","+ZC._i_(o.AI+2)];case"pie":return["poly",o.F1()];default:var Z=["poly"],c=[];for(s=0,A=o.D.length;s<A;s++)if(null!==o.D[s])if(6===o.D[s].length)for(var h=o.D[s][3];h<o.D[s][4];h+=1)c.push(ZC.AQ.BN(o.D[s][0],o.D[s][1],o.D[s][2],h));else if(4===o.D[s].length&&c[s-1])for(var p=c[c.length-1][0],u=c[c.length-1][1],_=o.D[s][2],d=o.D[s][3],f=o.D[s][0],g=o.D[s][1],B=0;B<=1;B+=.1)c.push([(1-B)*(1-B)*p+2*B*(1-B)*f+B*B*_,(1-B)*(1-B)*u+2*B*(1-B)*g+B*B*d]);else if(7===o.D[s].length&&c[s-1]){var b=c[c.length-1][0],E=c[c.length-1][1],m=o.D[s][0],D=o.D[s][1],v=o.D[s][2],F=o.D[s][3],K=o.D[s][4],I=o.D[s][5];for(B=0;B<=1;B+=.1){var x=(1-B)*(1-B)*(1-B),y=3*B*(1-B)*(1-B),Y=3*B*B*(1-B),L=B*B*B;c.push([x*b+y*m+Y*v+L*K,x*E+y*D+Y*F+L*I])}}else c.push(o.D[s]);else-1<c.length&&Z.push(ZC.AQ.PJ(c,Math.min(5,o.AI/5),[o.BK,o.BJ])),c=[];if(0!==o.AA)for(e=ZC._i_((o.D2[0]+o.D2[2])/2),t=ZC._i_((o.D2[1]+o.D2[3])/2),s=0,A=c.length;s<A;s++)null!==c[s]&&(i=c[s][0]-e,n=c[s][1]-t,a=i*ZC.EF(o.AA)-n*ZC.EL(o.AA),l=i*ZC.EL(o.AA)+n*ZC.EF(o.AA),c[s]=[a+e,l+t]);return-1<c.length&&Z.push(ZC.AQ.PJ(c,Math.min(5,o.AI/5),[o.BK,o.BJ])),Z}},parse:function(e){null===ZC._n_(e)&&(e=!1),this.o.tween||e||this.b();var t,i,n,a,l,o=this;if(!o.o.tween&&!e){o.assign_a([["map","A4D"]]),"string"==typeof o.o.item&&o.assign_a([["item","AAN"]]),0===o.A4D||null!==ZC._n_(o.o["map-item"])&&!o.o["map-item"]||(o.o["map-item"]=!0,o.o["map-skip-z-sort"]=!0);for(var r=["offset-x","offset-y"],C=0;C<2;C++){var s,A=r[C],Z="offset-x"===A?"lon":"lat";null!==(s=o.o[A])&&typeof s!==ZC._[31]&&-1!==(s=""+s).indexOf(Z)&&(s=ZC._f_(s.replace(Z,"")),Z=zingchart.maps.maps[o.A4D])&&(s=zingchart.maps.translate(A.replace("offset-"),s,o.A.I,o.A.F,Z._INFO_.bbox),o.o[A]=s)}for(o.assign_a([["url","E9"],["target","FD"],["cursor","IE"],["id","HA"],["angle","AA","i"],["static","KD","b"],["flat","KD","b"],[ZC._[1],"B4","f"],[ZC._[2],"BL","f"],[ZC._[8],"CP","i"],[ZC._[21],"AI","f"],["fast-vector-path","QW","b"],["type","DH"],["points","D"],["offset-x","BK"],["offset-y","BJ"],["offset-z","A99","i"],["offset-r","DX","i"],["z-sort","A76","i"],["z-index","JW","f"],["composite","A0Z"]]),"rectangle"!==o.DH&&"rect"!==o.DH||(o.JI=o.AI/2),o.assign_a([["size-2","JI","f"]]),o.BK=ZC.IO(o.BK,!0),o.BJ=ZC.IO(o.BJ,!0),-1<o.BK&&o.BK<1&&typeof o.E["p-width"]!==ZC._[31]&&(o.BK*=o.E["p-width"]),-1<o.BJ&&o.BJ<1&&typeof o.E["p-height"]!==ZC._[31]&&(o.BJ*=o.E["p-height"]),o.AI=ZC.BR(1,o.AI),o.JI=ZC.BR(1,o.JI),null!==o.o["z-sort"]&&typeof o.o["z-sort"]!==ZC._[31]||(o.A76=o.JW),"rectangle"!==o.DH&&"rect"!==o.DH||o.assign_a([[ZC._[19],"AI","f"],[ZC._[20],"JI","f"]]),o.A50?(o.D=JSON.parse(JSON.stringify(o.FC)),o.A50=!1):o.FC=JSON.parse(JSON.stringify(o.D)),C=0,t=o.D.length;C<t;C++)if(null!==o.D[C])for(var c=0;c<o.D[C].length;c++)-1===(""+o.D[C][c]).indexOf("lat")&&-1===(""+o.D[C][c]).indexOf("lon")||(o.A50=!0,o.D[C][c]=o.ll_(o.D[C][c],c%2==0?"x":"y")),-1===(""+o.D[C][c]).indexOf("key")&&-1===(""+o.D[C][c]).indexOf("val")||(o.A50=!0,o.D[C][c]=o.kv_(o.D[C][c],c%2==0?"x":"y"))}if(o.o.tween=null,o.AA=o.AA%360,o.locate(1),"bar"!==o.DH){var h=o.AI;o.JI;switch(o.DH){case"custom":break;case"triangle":var h=o.AI,p=.1*o.AI;o.D=[[o.iX-h,o.iY+h-p],[o.iX,o.iY-h-p],[o.iX+h,o.iY+h-p],[o.iX-h,o.iY+h-p]];break;case"square":h=ZC._i_(.9*o.AI),o.D=[[o.iX-h,o.iY-h],[o.iX-h,o.iY+h],[o.iX+h,o.iY+h],[o.iX+h,o.iY-h],[o.iX-h,o.iY-h]];break;case"diamond":h=ZC._i_(1.2*o.AI),p=ZC._i_(1.2*(1===o.JI?o.AI:o.JI)),o.D=[[o.iX-h,o.iY],[o.iX,o.iY+p],[o.iX+h,o.iY],[o.iX,o.iY-p],[o.iX-h,o.iY]];break;case"trapezoid":o.D=[[o.iX-h/2,o.iY+o.JI],[o.iX+h/2,o.iY+o.JI],[o.iX+h,o.iY-o.JI],[o.iX-h,o.iY-o.JI],[o.iX-h/2,o.iY+o.JI]];break;case"rectangle":case"rect":o.D=[[o.iX-h/2,o.iY-o.JI/2],[o.iX+h/2,o.iY-o.JI/2],[o.iX+h/2,o.iY+o.JI/2],[o.iX-h/2,o.iY+o.JI/2],[o.iX-h/2,o.iY-o.JI/2]];break;case"parallelogram":o.D=[[o.iX-h/2,o.iY-o.JI/2],[o.iX+3*h/2,o.iY-o.JI/2],[o.iX+h,o.iY+o.JI/2],[o.iX-h,o.iY+o.JI/2],[o.iX-h/2,o.iY-o.JI/2]];break;case"plus":h=o.AI,o.D=[[o.iX,o.iY-h],[o.iX,o.iY+h],null,[o.iX-h,o.iY],[o.iX+h,o.iY]];break;case"cross":h=o.AI,o.D=[[o.iX-h,o.iY-h],[o.iX+h,o.iY+h],null,[o.iX-h,o.iY+h],[o.iX+h,o.iY-h]];break;case"ic_line":h=o.AI/4,o.D=[[o.iX-2*h,o.iY+h],[o.iX-h,o.iY],[o.iX,o.iY+h],[o.iX+h,o.iY-h],[o.iX+2*h,o.iY]];break;case"ic_area":h=o.AI/4,o.D=[[o.iX-2*h,o.iY+2*h],[o.iX-2*h,o.iY+h],[o.iX-h,o.iY],[o.iX,o.iY+h],[o.iX+h,o.iY-h],[o.iX+2*h,o.iY],[o.iX+2*h,o.iY+2*h],[o.iX-2*h,o.iY+2*h]];break;case"ic_bars":o.D0=!1,h=o.AI/4,o.D=[[o.iX-2*h,o.iY+2*h],[o.iX-2*h,o.iY-h],[o.iX-h,o.iY-h],[o.iX-h,o.iY+2*h],[o.iX-2*h,o.iY+2*h],[o.iX-2*h,o.iY+2*h-h],null,[o.iX-h/2,o.iY+2*h],[o.iX-h/2,o.iY],[o.iX+h/2,o.iY],[o.iX+h/2,o.iY+2*h],[o.iX-h/2,o.iY+2*h],[o.iX-h/2,o.iY+2*h-h],null,[o.iX+2*h,o.iY+2*h],[o.iX+2*h,o.iY-2*h],[o.iX+h,o.iY-2*h],[o.iX+h,o.iY+2*h],[o.iX+2*h,o.iY+2*h],[o.iX+2*h,o.iY+2*h-h]];break;case"arrow":h=2*o.AI;var p=o.AA,u=(o.AA=0,ZC.AQ.BN(o.iX,o.iY,h,p-35)),p=ZC.AQ.BN(o.iX,o.iY,h,p+35);o.D=[[o.iX,o.iY],u,null,[o.iX,o.iY],p];break;case"star3":case"star4":case"star5":case"star6":case"star7":case"star8":case"star9":for(o.D=[],h=2*o.AI,n=360/(i=ZC._i_(o.DH.replace("star",""))),l=h/(4<i?2:7-i),C=0+(a=i%2==0?0:-90);C<360+a;C+=n)o.D.push(ZC.AQ.BN(o.iX,o.iY,.75*h,C),ZC.AQ.BN(o.iX,o.iY,.75*l,C+n/2));o.D.push([o.D[0][0],o.D[0][1]]);break;case"rpoly3":case"rpoly4":case"rpoly5":case"rpoly6":case"rpoly7":case"rpoly8":case"rpoly9":for(o.D=[],h=o.AI,n=360/(i=ZC._i_(o.DH.replace("rpoly",""))),a=i%2==0?0:-90,C=0+(a=null!==ZC._n_(o.o["angle-offset"])?ZC._i_(o.o["angle-offset"]):a);C<360+a;C+=n)o.D.push(ZC.AQ.BN(o.iX,o.iY,h,C));o.D.push([o.D[0][0],o.D[0][1]]);break;case"gear3":case"gear4":case"gear5":case"gear6":case"gear7":case"gear8":case"gear9":for(o.D=[],h=2*o.AI,n=360/(2*(i=ZC._i_(o.DH.replace("gear","")))),l=.75*h,C=0+(a=i%2==0?0:-90);C<360+a;C+=2*n){var _=C+n/2;o.D.push(ZC.AQ.BN(o.iX,o.iY,.75*h,_),ZC.AQ.BN(o.iX,o.iY,.75*h,_+n),ZC.AQ.BN(o.iX,o.iY,.75*l,_+n+0*n),ZC.AQ.BN(o.iX,o.iY,.75*l,_+2*n-0*n))}o.D.push([o.D[0][0],o.D[0][1]]);break;case"hamburger":u=o.iX,p=o.iY-10;o.D=o.D.concat([[u-(h*=2)/2,p-o.JI/2],[u+h/2,p-o.JI/2],[u+h/2,p+o.JI/2],[u-h/2,p+o.JI/2],[u-h/2,p-o.JI/2],null]),o.D=o.D.concat([[u-h/2,(p+=5)-o.JI/2],[u+h/2,p-o.JI/2],[u+h/2,p+o.JI/2],[u-h/2,p+o.JI/2],[u-h/2,p-o.JI/2],null]),o.D=o.D.concat([[u-h/2,(p+=5)-o.JI/2],[u+h/2,p-o.JI/2],[u+h/2,p+o.JI/2],[u-h/2,p+o.JI/2],[u-h/2,p-o.JI/2],null]);break;case"ellipse":for(o.D0=!1,o.D=[],C=0;C<=360;C+=5)o.D.push([o.iX+o.AI*ZC.EF(C),o.iY+o.JI*ZC.EL(C)]);o.D.push([o.D[0][0],o.D[0][1]]);break;case"arc":o.D0=!1,o.D=[ZC.AQ.BN(o.iX,o.iY,o.AI,o.B4),[o.iX,o.iY,o.AI,o.B4,o.BL,0]];break;case"pie":for(var d=(o.o["pie-transform"]||"").split(/=|,/);o.B4<0||o.BL<0;)o.B4+=360,o.BL+=360;var f,g,B=o.D0=!1,b=(-1!==ZC.AV(["svg","vml"],o.G.AB)&&o.B4%360==o.BL%360&&(o.B4+=.05,o.BL-=.05,B=!0),o.iX),E=o.iY,m=ZC._x_(o.B4,2),D=ZC._x_(o.BL,2),v=ZC._x_((m+D)/2,2),F=h,K=o.CP,I=0===K&&m%360!=D%360&&!B;switch(o.D=[],"circle"!==d[0]&&(0===K?m%360==D%360||B||o.D.push([b,E]):o.D.push(ZC.AQ.BN(b,E,K,m))),d[0]){case"flat":case"fold":o.D.push(ZC.AQ.BN(b,E,F,m),ZC.AQ.BN(b,E,F-("fold"===d[0]?ZC._i_(d[1]):0),D)),I||o.D.push(ZC.AQ.BN(b,E,K,D));break;case"callout":o.D.push(ZC.AQ.BN(b,E,F,m),[b,E,F,m,D,0]),I||(f=1.5*ZC._i_(d[1])*360/(2*Math.PI*F),o.D.push(ZC.AQ.BN(b,E,F,D),ZC.AQ.BN(b,E,K,D),[b,E,K,D,v+f,1],ZC.AQ.BN(b,E,K-ZC._i_(d[1]),v),ZC.AQ.BN(b,E,K,v-f),[b,E,K,v-f,m,1]));break;case"flow":f=ZC._i_(d[1]),x=ZC.AQ.BN(b,E,(K+F)/2,m),99===f||-99===f?o.D.push([x[0],x[1],(F-K)/2,m+180,m,99===f?1:0]):o.D.push(ZC.AQ.BN(b,E,(K+F)/2,m+f)),o.D.push(ZC.AQ.BN(b,E,F,m),[b,E,F,m,D,0]),x=ZC.AQ.BN(b,E,(K+F)/2,D),I?99===f||-99===f?o.D.push(ZC.AQ.BN(b,E,F,D),[x[0],x[1],(F-K)/2,D,D+180,99===f?0:1]):o.D.push(ZC.AQ.BN(b,E,(K+F)/2,D+f)):(99===f||-99===f?o.D.push([x[0],x[1],(F-K)/2,D,D+180,99===f?0:1]):o.D.push(ZC.AQ.BN(b,E,(K+F)/2,D+f)),o.D.push(ZC.AQ.BN(b,E,K,D),[b,E,K,D,m,1]));break;case"circle":var x=ZC._f_(d[1]||"1"),x=(5+ZC._a_(D-m)%360*50/360)*x,y=D%360==m%360||B?[b,E]:ZC.AQ.BN(b,E,(F+K)/2,(m+D)/2);o.D.push(ZC.AQ.BN(y[0],y[1],x,0),[y[0],y[1],x,0,360,0]);break;case"bite":f=ZC._i_(d[1]),g=ZC._i_(2*F*ZC.EL(f/2)),y=ZC.AQ.BN(b,E,F,m),o.D.push(ZC.AQ.BN(b,E,F-g,m),[y[0],y[1],g,m+180,m+90+(90-(180-f)/2),1],[b,E,F,m+f,D,0]),I||o.D.push(ZC.AQ.BN(b,E,K,D),[b,E,K,D,m,1]);break;case"droplet":for(var Y=F,L=1,G=0;Y<=F*L+G;)L=ZC._x_(L-.02,2),g=ZC._i_(F*L/ZC.EF((D-m)/2)),G=ZC._i_(F*L*Math.tan(ZC.TD((D-m)/2)));y=ZC.AQ.BN(b,E,g,v),o.D.push(ZC.AQ.BN(b,E,F*L,m),[y[0],y[1],G,v-(360-(180-(D-m)))/2,v+(360-(180-(D-m)))/2,0]),I||o.D.push(ZC.AQ.BN(b,E,K,D),[b,E,K,D,m,1]);break;default:o.D.push(ZC.AQ.BN(b,E,F,m),[b,E,F,m,D,0]),0===K?m%360==D%360||B||o.D.push([b,E]):o.D.push(ZC.AQ.BN(b,E,F,D),ZC.AQ.BN(b,E,K,D),[b,E,K,D,m,1])}o.D.push([o.D[0][0],o.D[0][1]])}}o.locate(2)},paint:function(){var e=this;if("none"!==e.DH&&("custom"===e.DH||"circle"===e.DH||"arc"===e.DH||0!==e.D.length)){var t,i,n={x:"iX",y:"iY",width:"I",height:"F",size:"AI"};if(e.o["bottom-state"]&&!e.Y9&&!e.W1&&!e.bIsBottom){var a=new ZC.DT(e.A);for(t in a.copy(e),a.bIsBottom=!0,a.ME=!1,a.Z=e.Z,a.append({x:e.iX-e.A.iX,y:e.iY-e.A.iY}),a.append(e.o["bottom-state"]),a.K=e.K+"-bottom",a.parse(),i=!1,n)null===ZC._n_(a.o[t])||-1===(""+a.o[t]).indexOf("+")&&-1===(""+a.o[t]).indexOf("-")||(a.o[t]=a[n[t]]=e[n[t]]+ZC._i_(a.o[t]),i=!0);i&&a.parse(),a.paint()}var l=e.G.AB;switch(e.ME&&e.C8&&e.AA6(),l){case"canvas":e.A1R();break;case"svg":e.WG();break;case"vml":e.WF()}if(e.o["top-state"]&&!e.Y9&&!e.W1&&!e.bIsBottom){var o=new ZC.DT(e.A);for(t in o.copy(e),o.W1=!0,o.ME=!1,o.Z=e.Z,o.append({x:e.iX-e.A.iX,y:e.iY-e.A.iY}),o.append(e.o["top-state"]),o.K=e.K+"-top",o.parse(),i=!1,n)null===ZC._n_(o.o[t])||-1===(""+o.o[t]).indexOf("+")&&-1===(""+o.o[t]).indexOf("-")||(o.o[t]=o[n[t]]=e[n[t]]+ZC._i_(o.o[t]),i=!0);i&&o.parse(),o.paint()}}},AA6:function(){var e=this,t=new ZC.DT(e.A),i=(t.K=e.K+"-sh",t.copy(e),t.OC=e.OC,t.Z=e.C8,t.ME=!1,t.Y9=!0,t.A0=t.AE=t.RW,t.GT=t.HQ="",t.DC="",t.GE="solid",t.BX=t.RW,t.B1=0,t.C5=t.T7*e.C5,t.K=e.K+"-sh",(e.JZ-e.PA)*ZC.EF(e.ON)+e.PA),n=(e.JZ-e.PA)*ZC.EL(e.ON)+e.PA;if(t.iX=e.iX+parseInt(i,10),t.iY=e.iY+parseInt(n,10),t.AI=e.AI+e.PA,0<e.D.length)for(var a=[],l=0,o=e.D.length;l<o;l++)if(null!==e.D[l]){for(var r=[],C=0;C<e.D[l].length;C++)r[C]=e.D[l][C];r[0]=e.D[l][0]+parseInt(i,10),r[1]=e.D[l][1]+parseInt(n,10),a.push(r)}else a.push(null);t.D2=[e.D2[0]+i,e.D2[1]+n,e.D2[2]+i,e.D2[3]+n],t.D=a,t.paint()},A1T:function(){var e=this;return{lc:"-1"===e.B9?"rgba(255,255,255,0)":1===e.C5?e.B9:ZC.AO.A34(ZC.AO.GD(e.B9),e.C5),bc:"-1"===e.BX?"rgba(255,255,255,0)":1===e.O3?e.BX:ZC.AO.A34(ZC.AO.GD(e.BX),e.O3),bgc1:"-1"===e.A0?"rgba(255,255,255,0)":1===e.C5?e.A0:ZC.AO.A34(ZC.AO.GD(e.A0),e.C5),bgc2:"-1"===e.AE?"rgba(255,255,255,0)":1===e.C5?e.AE:ZC.AO.A34(ZC.AO.GD(e.AE),e.C5)}},YE:function(e){var t,i,n,a=this;switch(a.DH){case"circle":case"arc":case"pie":t=a.iX,i=a.iY,n=a.AI;break;default:t=a.D2[0]+(a.D2[2]-a.D2[0])/2,i=a.D2[1]+(a.D2[3]-a.D2[1])/2,n=ZC._a_(ZC.EF(a.NB)*(a.D2[2]-a.D2[0])/2+ZC.EL(a.NB)*(a.D2[3]-a.D2[1])/2)}ZC.PH(t)||(t=0),ZC.PH(i)||(i=0),ZC.PH(n)||(n=0);var l,o=a.VS,r=a.VR;return t+=o=ZC._a_(o)<=1?o*(a.D2[2]-a.D2[0])/2:o,i+=r=ZC._a_(r)<=1?r*(a.D2[3]-a.D2[1])/2:r,"radial"===e?{cx:t,cy:i,r:ZC._a_(n)}:"linear"===e?(r=t-(o=n*ZC.EF(a.NB)),l=i-(e=n*ZC.EL(a.NB)),o=t+o,e=i+e,ZC._i_(l)===ZC._i_(e)&&ZC._a_(o-r)<5&&(e+=1),ZC._i_(r)===ZC._i_(o)&&ZC._a_(e-l)<5&&(o+=1),{x1:r,y1:l,x2:o,y2:e}):void 0},RK:function(){var e,t,i,n,a=this;switch(ZC.cache.data[a.DC]?e=ZC.cache.data[a.DC]:((e=new Image).src=a.DC,ZC.cache.data[a.DC]=e),1!==a.KZ&&(e._width_?(e.width=e._width_,e.height=e._height_):(e._width_=e.width,e._height_=e.height)),t=e.width*a.KZ,i=e.height*a.KZ,a.WK){case"x":t=a.I;break;case"y":i=a.F;break;case"xy":case"both":t=a.I,i=a.F}var l=a.TE.split(" "),o=l[0]||"",r=0,C=0;switch(o){case"":case"left":r=A=0;break;case"center":A=(a.I-t)/2,r=.5;break;case"right":A=a.I-t,r=1;break;default:A=-1!==o.indexOf("%")?(r=ZC._i_(o.replace(/[^0-9\-]/g,""))/100,(a.I-t)*r):(r=ZC._i_(o.replace(/[^0-9\-]/g,""))/a.I,ZC._i_(o.replace(/[^0-9\-]/g,"")))}n=A/a.I,typeof a.KS!==ZC._[31]?A+=a.iX+a.BK:A+=a.D2[0]+a.BK;var s,A,Z,c=l[1]||"";switch(c){case"":case"top":C=Z=0;break;case"middle":Z=(a.F-i)/2,C=.5;break;case"bottom":Z=a.F-i,C=1;break;default:Z=-1!==c.indexOf("%")?(C=ZC._i_(c.replace(/[^0-9\-]/g,""))/100,(a.F-i)*C):(C=ZC._i_(c.replace(/[^0-9\-]/g,""))/a.F,ZC._i_(c.replace(/[^0-9\-]/g,"")))}return l=Z/a.F,typeof a.KS!==ZC._[31]?Z+=a.iY+a.BJ:Z+=a.D2[1]+a.BJ,"pie"===a.DH&&(s=a.AA+a.B4+(a.BL-a.B4)*r,A=(s=ZC.AQ.BN(a.iX,a.iY,a.CP+(a.AI-a.CP)*C,s))[0]-e.width/2,Z=s[1]-e.height/2),a.E[ZC._[69]]=t,a.E[ZC._[70]]=i,{image:e,x:ZC._i_(A)+.5,y:ZC._i_(Z)+.5,cx:ZC._f_(n),cy:ZC._f_(l),hPos:r,vPos:C}},ZT:function(e){for(var t=this.GT.split(/\s+|;/),i=this.HQ.split(/\s+|;/),n=0,a=t.length;n<a;n++){var l=ZC.AO.GD(t[n],this),l=("object"!=typeof l&&(l=[l,this.C5]),ZC.AO.A34(l[0],l[1])),o=ZC._f_(i[n]||"1");ZC.DS(o,0,1)||(o=1),e.addColorStop(o,l)}},A1R:function(){var e,t,i,n,a,l,o,r=this;if(r.Z){var C=r.Z.getContext("2d"),s=(C.save(),i="poly"===r.DH||"line"===r.DH?(t=r.D2[0]+(r.D2[2]-r.D2[0])/2,r.D2[1]+(r.D2[3]-r.D2[1])/2):(t=r.iX,r.iY),r.A1T()),A=s.lc,Z=s.bc,c=s.bgc1,s=s.bgc2;switch(c!==s||""!==r.GT&&""!==r.HQ?(B=r.YE(r.NJ),"radial"===r.NJ?n=C.createRadialGradient(B.cx,B.cy,1,B.cx,B.cy,B.r):"linear"===r.NJ&&(n=C.createLinearGradient(B.x1,B.y1,B.x2,B.y2)),""!==r.GT&&""!==r.HQ?r.ZT(n):(n.addColorStop(0,c),n.addColorStop(1,s)),C.fillStyle=n):(""!==r.DC&&-1!==ZC.AV(["repeat","true",!0],r.M8)&&"-1"===r.A0&&"-1"===r.AE&&(c="rgba(255,255,255,0)"),C.fillStyle=c),r.DH){case"custom":if((e=r.o.url)&&(ZC.cache.data[e]?E=ZC.cache.data[e]:((E=new Image).src=e,ZC.cache.data[e]=E),E.width=r.o[ZC._[19]]||E.width,E.height=r.o[ZC._[20]]||E.height,C.drawImage(E,r.iX-E.width/2+r.BK,r.iY-E.height/2+r.BJ,E.width,E.height),0===c.indexOf("#"))&&7===c.length){for(var h=parseInt(c.substring(1,3),16),p=parseInt(c.substring(3,5),16),u=parseInt(c.substring(5,7),16),_=C.getImageData(r.iX-E.width/2+r.BK,r.iY-E.height/2+r.BJ,E.width,E.height),d=0;d<_.data.length;d+=4)_.data[d]=h|_.data[d],_.data[d+1]=p|_.data[d+1],_.data[d+2]=u|_.data[d+2];C.putImageData(_,r.iX-E.width/2+r.BK,r.iY-E.height/2+r.BJ)}break;case"plus":case"cross":case"line":case"ic_line":case"arc":C.strokeStyle=A,C.lineWidth=r.B1;break;default:C.strokeStyle=Z,C.lineWidth=r.AU}0!==r.AA&&(C.translate(t,i),isNaN(r.AA)||C.rotate(ZC.TD(r.AA)),C.translate(-t,-i));var f,g,B=-1===ZC.AV(["cross","plus","arc","line","ic_line"],r.DH);switch(isNaN(r.BK)||isNaN(r.BJ)||0===r.BK&&0===r.BJ||!B&&"arc"!==r.DH||C.translate(r.BK,r.BJ),C.beginPath(),r.DH){case"circle":case"arc":C.setLineDash&&"circle"===r.DH&&(r.L3(r.AU),C.setLineDash(0===r.EU||0===r.G3?[]:[r.EU,r.G3])),C.arc(r.iX,r.iY,r.AI,ZC.TD(r.B4),ZC.TD(r.BL),!1);break;case"line":break;default:-1!==ZC.AV(["square","plus"],r.DH)&&(r.N2=!0),ZC.CO.contour(C,r,r.D),-1!==ZC.AV(["square","plus"],r.DH)&&(r.N2=!1)}if(C.globalCompositeOperation=r.A0Z,B)if(""!==r.DC&&-1===ZC.AV(ZC.IMG404,r.DC)){C.fill(),C.save(),C.clip(),s=C.globalAlpha,C.globalAlpha=r.C5;var b=r.RK(),E=b.image;switch(r.M8){case"repeat":case!0:case"true":a=r.D2[0]-(E.width-(r.D2[2]-r.D2[0]))/2,l=r.D2[1]-(E.height-(r.D2[3]-r.D2[1]))/2,C.translate(a,l),o=C.createPattern(E,"repeat"),C.fillStyle=o,C.fill(),C.translate(-a,-l);break;case"no-repeat":case!1:case"false":C.drawImage(E,b.x-r.BK,b.y-r.BJ,r.E[ZC._[69]],r.E[ZC._[70]])}C.globalAlpha=s,C.restore()}else C.fill();switch(C.closePath(),C.beginPath(),r.DH){case"circle":case"arc":C.arc(r.iX,r.iY,r.AI,ZC.TD(r.B4),ZC.TD(r.BL),!1),("circle"===r.DH&&0<r.AU||"arc"===r.DH&&0<r.B1)&&C.stroke(),C.closePath();break;case"plus":case"cross":case"line":case"ic_line":0<r.B1&&(ZC.CO.setup(C,r),r.o.spline?(r.D0=!1,r.QW=!0,ZC.CO.paint(C,r,ZC.CO.smooth(r.D,!1,r.o.direction||"h"))):ZC.CO.paint(C,r,r.D));break;default:0<r.AU&&(f=r.B9,g=r.B1,r.B9=r.BX,r.B1=r.AU,r.L3(),ZC.CO.setup(C,r),ZC.CO.paint(C,r,r.D,!0),r.B9=f,r.B1=g,r.L3()),C.closePath()}C.restore()}},A2Q:function(e){var t=this,i=e.info,n=i.image,a=!0;switch(t.M8){default:a=!0;break;case"no-repeat":case"false":case!1:a=!1}var l,o,r=t.DC,C=(0===n.src.indexOf("data:")&&(r=n.src),n.width*=t.KZ,n.height*=t.KZ,""===t.K?"pattern-"+ZC.SEQ++:t.K+"-pattern"),s=(ZC.Q.EW(C),ZC.Q.F8("image",ZC._[36])),r=(s.setAttributeNS?s.setAttributeNS(ZC._[37],"href",r):s.setAttribute("src",r),ZC.Q.G6(s,{id:C+"-image",preserveAspectRatio:"none",width:t.E[ZC._[69]],height:t.E[ZC._[70]]}),n.width),A=n.height,Z=(a||(r=A=1,o=0<t.I&&0<t.F?(l=t.I,t.F):(l=t.D2[2]-t.D2[0],t.D2[3]-t.D2[1]),l=ZC._i_(l*i.cx),o=ZC._i_(o*i.cy),"pie"===t.DH&&(r=(t.G||t.A).I,A=(t.G||t.A).F,Z=t.AA+t.B4+(t.BL-t.B4)*i.hPos,l=(i=ZC.AQ.BN(t.iX,t.iY,t.CP+(t.AI-t.CP)*i.vPos,Z))[0]-n.width/2,o=i[1]-n.height/2),t.E["pattern-image-id"]=C+"-image",t.E["pattern-tx"]=l,t.E["pattern-ty"]=o,ZC.Q.G6(s,{transform:"translate("+l+","+o+")"})),ZC.Q.F8("pattern",ZC._[36]));ZC.Q.G6(Z,{x:a?e.x:0,y:a?e.y:0,width:r,height:A,id:C,patternUnits:a||"pie"===t.DH?"userSpaceOnUse":"objectBoundingBox"}),t.G.KB.childNodes[0].appendChild(Z),Z.appendChild(s),t.E.imgfill="url(#"+C+")"},WZ:function(e){null!==e&&typeof e!==ZC._[31]||(e=!1);var t,i=this;if(i.A0!==i.AE||""!==i.GT&&""!==i.HQ){var n=""===i.K?"gradient-"+ZC.SEQ++:i.K+"-gradient",a=((i.TL||e&&!ZC.AL(n))&&(e=!1),ZC.A3.browser.msie&&9===ZC._i_(ZC.A3.browser.version)&&(e=!1),ZC.AL(n)&&!e&&ZC.Q.EW(n),i.YE(i.NJ));if("radial"===i.NJ?(t=e?ZC.AL(n):ZC.Q.F8("radialGradient",ZC._[36]),ZC.Q.G6(t,{cx:ZC._i_(a.cx),cy:ZC._i_(a.cy),r:ZC._i_(a.r),fx:ZC._i_(a.cx),fy:ZC._i_(a.cy)})):"linear"===i.NJ&&(t=e?ZC.AL(n):ZC.Q.F8("linearGradient",ZC._[36]),ZC.Q.G6(t,{x1:ZC._i_(a.x1),x2:ZC._i_(a.x2),y1:ZC._i_(a.y1),y2:ZC._i_(a.y2)})),!e){if(ZC.Q.G6(t,{id:n,gradientUnits:"userSpaceOnUse"}),i.G.KB.childNodes[0].appendChild(t),""!==i.GT&&""!==i.HQ)for(var l=i.GT.split(/\s+|;/),o=i.HQ.split(/\s+|;/),r=0,C=l.length;r<C;r++){var s=ZC.AO.GD(l[r],i),A=("object"!=typeof s&&(s=[s,i.C5]),l[r]=s[0],o[r]||1),s=(ZC.DS(A,0,1)||(A=1),s[1]),Z=l[r],c=("-1"===l[r]&&(s=0,Z="rgb(255,255,255)"),ZC.Q.F8("stop",ZC._[36]));ZC.Q.G6(c,{offset:A,"stop-color":Z,"stop-opacity":s}),t.appendChild(c)}else{var a=1,e=i.A0,h=("-1"===i.A0&&(a=0,e="rgb(255,255,255)"),ZC.Q.F8("stop",ZC._[36])),e=(ZC.Q.G6(h,{offset:0,"stop-color":e,"stop-opacity":a}),1),a=i.AE,p=("-1"===i.AE&&(e=0,a="rgb(255,255,255)"),ZC.Q.F8("stop",ZC._[36]));ZC.Q.G6(p,{offset:1,"stop-color":a,"stop-opacity":e}),t.appendChild(h),t.appendChild(p)}i.E.fill="url(#"+n+")"}}else"-1"!==i.A0&&(i.E.fill=i.A0)},A3Z:function(){var e=this;if("object"==typeof e.E.imgfill&&typeof e.G!==ZC._[31]&&e.G){var t=e.A5F()[1].split(",");if("circle"===e.DH)e.G.KB.appendChild(ZC.Q.XL({id:e.K+"_image-clip",cx:t[0],cy:t[1],r:t[2]})),e.E["clip-path"]=e.K+"_image-clip";else if(6<t.length){for(var i="",n=0,a=t.length;n<a;n+=2)i+=ZC._i_(t[n])+ZC._i_(e.BK)+","+(ZC._i_(t[n+1])+ZC._i_(e.BJ))+" ";e.G.KB.appendChild(ZC.Q.XL({id:e.K+"_image-clip",path:i})),e.E["clip-path"]=e.K+"_image-clip"}}},WG:function(){var e,t,i,n,a,l,o=this,r=o.Z,C="poly"===o.DH||"line"===o.DH?(e=o.D2[0]+(o.D2[2]-o.D2[0])/2,o.D2[1]+(o.D2[3]-o.D2[1])/2):(e=o.iX,o.iY);switch(o.E.cx=e,o.E.cy=C,o.E.fill=-1,""!==o.DC&&(t=o.RK(),o.A2Q({info:t,x:e-t.image.width/2,y:C-t.image.height/2})),o.VN&&o.A3Z(),o.WZ(),o.DH){case"custom":(l=o.o.url)&&(A=!1,ZC.cache.data[l]?s=ZC.cache.data[l]:((s=new Image).src=l,ZC.cache.data[l]=s),(a=(A=0<l.indexOf(".svg")&&0<=l.indexOf("#"))?(i=ZC.Q.F8("svg",ZC._[36]),ZC.Q.G6(i,{viewBox:"0 0 8 8",fill:o.E.fill}),ZC.Q.F8("use",ZC._[36])):ZC.Q.F8("image",ZC._[36])).setAttributeNS?a.setAttributeNS(ZC._[37],"href",l):a.setAttribute("src",l),l=o.o[ZC._[19]]||s.width,n=o.o[ZC._[20]]||s.height,s.width=l,s.height=n,A?ZC.Q.G6(i,{id:o.K+"-image",x:o.iX-s.width/2+o.BK,y:o.iY-s.height/2+o.BJ,width:s.width,height:s.height}):ZC.Q.G6(a,{id:o.K+"-image",x:o.iX-s.width/2+o.BK,y:o.iY-s.height/2+o.BJ,width:s.width,height:s.height}),A?(i.appendChild(a),r.appendChild(i)):r.appendChild(a));break;case"circle":ZC.AL(o.K+"-circle")||(l=ZC.Q.F8("circle",ZC._[36]),-1!==o.E.fill?ZC.Q.G6(l,{fill:o.E.fill,"fill-opacity":o.C5}):ZC.Q.G6(l,{fill:"none"}),o.DF&&""!==o.DF&&ZC.Q.G6(l,{"class":o.DF}),ZC.Q.G6(l,{id:o.K+"-circle",cx:o.iX+o.BK,cy:o.iY+o.BJ,r:o.AI}),0<o.AU&&(ZC.Q.G6(l,{stroke:o.BX,"stroke-width":o.AU,"stroke-opacity":o.O3}),o.L3(o.AU),"solid"===o.GE||0===o.EU&&0===o.G3||ZC.Q.G6(l,{"stroke-dasharray":"dashdot"===o.GE?[o.EU,o.G3,o.B1,o.G3].join(" "):[o.EU,o.G3].join(",")})),(o.G&&o.G.G4?(o.G.G4[r.id]||(o.G.G4[r.id]=document.createDocumentFragment()),o.G.G4[r.id]):r).appendChild(l),typeof o.E.imgfill!==ZC._[31]&&("string"==typeof o.E.imgfill?(l=ZC.Q.F8("circle",ZC._[36]),ZC.Q.G6(l,{id:o.K+"-imgfill",fill:o.E.imgfill,"fill-opacity":o.C5,cx:o.iX+o.BK,cy:o.iY+o.BJ,r:o.AI,"stroke-width":0}),(o.G&&o.G.G4?o.G.G4[r.id]:r).appendChild(l)):(n=o.E.imgfill,(a=ZC.Q.F8("image",ZC._[36])).setAttributeNS&&a.setAttributeNS(ZC._[37],"href",o.DC),o.E["clip-path"]&&ZC.Q.G6(a,{"clip-path":"url(#"+o.E["clip-path"]+(ZC.A3.browser.webkit?"-shape":"")+")"}),ZC.Q.G6(a,{id:o.K+"-imgfill",x:n[1],y:n[2],width:n[0].width,height:n[0].height}),r.appendChild(a))));break;case"plus":case"cross":case"line":case"ic_line":case"arc":0<o.B1&&(ZC.CO.setup(r,o),o.o.spline?(o.D0=!1,o.QW=!0,ZC.CO.paint(r,o,ZC.CO.smooth(o.D,!1,o.o.direction||"h"))):ZC.CO.paint(r,o,o.D));break;default:var s=o.B9,A=o.B1;o.B9=o.BX,o.B1=o.AU,o.L3(),ZC.CO.setup(r,o),ZC.CO.paint(r,o,o.D,!0,0),o.B9=s,o.B1=A,o.L3()}},X0:function(e,t){null!==t&&typeof t!==ZC._[31]||(t=!1);var i,n=this;if(n.A0!==n.AE||""!==n.GT&&""!==n.HQ){var a=""===n.K?"gradient-"+ZC.SEQ++:n.K+"-gradient";if(t&&!ZC.AL(a)&&(t=!1),ZC.AL(a)&&!t&&ZC.A3(a).remove(),i=t?ZC.AL(a):ZC.Q.F8("zcv:fill"),t&&(e=ZC.A3("#"+a).attr("focusposition")),""!==n.GT&&""!==n.HQ){for(var l=n.GT.split(/\s+|;/),o=n.HQ.split(/\s+|;/),r="",C="",s="",A=0,Z=l.length;A<Z;A++){l[A]=ZC.AO.GD(l[A]);var c="-1"===l[A]?"rgb(255,255,255)":l[A],h=o[A]||1,h=(ZC.DS(h,0,1)||(h=1),ZC._i_(100*h));0===A?r=c:A===Z-1?C=c:s+=h+"% "+ZC.AO.GD(c)+","}""!==s&&(s=s.substring(0,s.length-1)),"radial"===n.NJ?ZC.Q.G6(i,{id:a,type:"gradientradial",focusposition:e,color:r,color2:C,colors:s}):"linear"===n.NJ&&ZC.Q.G6(i,{id:a,type:"gradient",method:"sigma",angle:270-n.NB-n.AA,color:r,color2:C,colors:s})}else{var t=n.A0,p=("-1"===n.A0&&(t="rgb(255,255,255)"),n.AE);"-1"===n.AE&&(p="rgb(255,255,255)"),"radial"===n.NJ?ZC.Q.G6(i,{id:a,type:"gradientradial",focusposition:e,color:p,color2:t}):"linear"===n.NJ&&ZC.Q.G6(i,{id:a,type:"gradient",method:"sigma",angle:270-n.NB-n.AA,color:t,color2:p})}e=typeof n.E.opacity2!==ZC._[31]?n.E.opacity2:n.C5;ZC.Q.G6(i,{opacity:n.C5,"o:opacity2":e}),n.E.fill=i}else i=ZC.Q.F8("zcv:fill"),"-1"!==n.A0&&(ZC.Q.G6(i,{type:"solid",color:n.A0,opacity:n.C5}),n.E.fill=i)},WF:function(){var e,t,i,n=this,a=n.Z,l="poly"===n.DH||"line"===n.DH?(t=n.D2[0]+(n.D2[2]-n.D2[0])/2,n.D2[1]+(n.D2[3]-n.D2[1])/2):(t=n.iX,n.iY),o=(n.E.cx=t,n.E.cy=l,(n.E.fill=-1)===ZC.AV(["cross","plus","arc","line","ic_line"],n.DH)),r=ZC.Q.F8("zcv:fill");if(""!==n.DC){var C=n.RK(),s=C.image;switch(n.M8){default:r.type="tile",r.src=n.DC,ZC.Q.G6(r,{position:C.cx+","+C.cy,opacity:n.C5,"o:opacity2":n.C5}),n.E.imgfill=[r];break;case"no-repeat":case"false":case!1:n.E.imgfill=[s,C.x,C.y]}}n.X0("0,0");var A=ZC.Q.F8("zcv:stroke");switch(n.DH){case"custom":(e=n.o.url)&&(ZC.cache.data[e]?s=ZC.cache.data[e]:((s=new Image).src=e,ZC.cache.data[e]=s),(i=ZC.Q.F8("img")).id=n.K+"-img",i.src=e,i.style.position="absolute",1!==n.KZ&&(i.width*=n.KZ,i.height*=n.KZ,i.style.width=i.width+"px",i.style.height=i.height+"px"),i.style.left=n.iX-s.width/2+n.BK+"px",i.style.top=n.iY-s.height/2+n.BJ+"px",a.appendChild(i));break;case"plus":case"cross":case"line":case"ic_line":case"arc":A.weight=n.B1+"px",A.color=n.B9;break;default:A.weight=n.AU+"px",A.color=n.BX}switch(A.opacity=n.O3,n.GE){case"solid":A.dashstyle="solid";break;case"dotted":A.dashstyle="dot";break;case"dashed":A.dashstyle="dash"}switch(-1===ZC.AV(["plus","cross","line","ic_line"],n.DH)&&(n.E.stroke=A),n.DH){case"circle":case"arc":ZC.AL(n.K+"-circle")||((Z=ZC.Q.F8("circle"===n.DH?"zcv:oval":"zcv:arc")).id=n.K+"-circle",Z.style.position="absolute",-1!==n.E.fill&&o?Z.appendChild(n.E.fill):Z.filled=!1,0<n.AU||0<n.B1?Z.appendChild(A):Z.stroked=!1,Z.style.left=n.iX+n.BK-n.AI+"px",Z.style.top=n.iY+n.BJ-n.AI+"px",Z.style.width=2*n.AI+"px",Z.style.height=2*n.AI+"px","arc"===n.DH&&ZC.Q.G6(Z,{startangle:n.BL+90,endangle:n.B4+90}),a.appendChild(Z),o&&typeof n.E.imgfill!==ZC._[31]&&(1===(c=n.E.imgfill).length?((Z=ZC.Q.F8("zcv:oval")).id=n.K+"-imgfill",Z.style.position="absolute",a.appendChild(Z),Z.appendChild(c[0]),Z.style.left=n.iX+n.BK-n.AI+"px",Z.style.top=n.iY+n.BJ-n.AI+"px",Z.style.width=2*n.AI+"px",Z.style.height=2*n.AI+"px",Z.stroked=!1,"arc"===n.DH&&ZC.Q.G6(Z,{startangle:n.BL+90,endangle:n.B4+90})):3===c.length&&((i=ZC.Q.F8("img")).id=n.K+"-img",i.src=n.DC,i.style.position="absolute",i.style.left=c[1]+"px",i.style.top=c[2]+"px",1!==n.KZ&&(i.width*=n.KZ,i.height*=n.KZ,i.style.width=i.width+"px",i.style.height=i.height+"px"),a.appendChild(i))));break;case"plus":case"cross":case"line":case"ic_line":0<n.B1&&(ZC.CO.setup(a,n),n.o.spline?(n.D0=!1,n.QW=!0,ZC.CO.paint(a,n,ZC.CO.smooth(n.D,!1,n.o.direction||"h"))):ZC.CO.paint(a,n,n.D));break;default:var Z=n.B9,c=n.B1;n.B9=n.BX,n.B1=n.AU,n.L3(),ZC.CO.setup(a,n),ZC.CO.paint(a,n,n.D,!0,0),n.B9=Z,n.B1=c,n.L3()}}}),HU=(ZC.DT=ZC.CZ.CD(DT),{$i:function(e){this.b(e);e=this;e.DH="box",e.I=0,e.F=0,e.A8L="",e.EB=-1,e.EA=-1,e.DW=-1,e.E0=-1,e.F6=0,e.FW=0,e.F2=0,e.FG=0,e.A73=!1,e.KS=!1,e.EP="bottom",e.EY=0,e.M9=0,e.HD=8,e.GA=8,e.XP=[1,1],e.DN=null,e.OS=null,e.PZ=!1,e.N2=!0,e.Q1="",e.OO="",e.NQ="",e.PE="",e.VF="tl",e.FF=!1},getPMap:function(){var e=this.b();return this.addPMap(e,"width,height,borderRadiusTopLeft,borderRadiusTopRight,borderRadiusBottomRight,borderRadiusBottomLeft,callout,calloutType,calloutPosition,calloutHook,calloutWidth,calloutHeight,calloutOffset,calloutExtension,position,borderTop,borderRight,borderBottom,borderLeft,rectShortcut","I,F,F6,FW,F2,FG,KS,EP,DN,HD,GA,EY,M9,A8L,Q1,OO,NQ,PE,FF"),e},build:function(){},wh_:function(e,t,i){var n,a,l=this;return t=t||"w",ZC._f_(e)+""==e+""?(n=typeof l.E["p-width"]!==ZC._[31]?l.E["p-width"]:l.A.I,a=typeof l.E["p-height"]!==ZC._[31]?l.E["p-height"]:l.A.F,1<(e=ZC._a_(e))&&!i?ZC._i_(e):e<=1||i?"w"===t?ZC._i_(n*e):ZC._i_(a*e):void 0):-1!==(e+="").indexOf("%")?l.wh_(ZC._f_(e.replace("%",""))/100,t,!0):-1!==e.indexOf("px")?l.wh_(ZC._f_(e.replace("px","")),t):l.wh_(ZC._f_(e),t)},m_:function(e,t,i,n,a){var l,o,r,C=this;return i=i||0,n=n||0,a=a||"n","all"===(t=t||"all")?1===(r=String(e).split(/\s+|;|,/)).length?[C.m_(r[0],"tb",i,n,a),C.m_(r[0],"lr",i,n,a),C.m_(r[0],"tb",i,n,a),C.m_(r[0],"lr",i,n,a)]:2===r.length?[C.m_(r[0],"tb",i,n,a),C.m_(r[1],"lr",i,n,a),C.m_(r[0],"tb",i,n,a),C.m_(r[1],"lr",i,n,a)]:3===r.length?[C.m_(r[0],"tb",i,n,a),C.m_(r[1],"lr",i,n,a),C.m_(r[2],"tb",i,n,a),C.m_(r[1],"lr",i,n,a)]:[C.m_(r[0],"tb",i,n,a),C.m_(r[1],"lr",i,n,a),C.m_(r[2],"tb",i,n,a),C.m_(r[3],"lr",i,n,a)]:e+""=="auto"?-2:e+""=="dynamic"&&"y"===a?"dynamic":ZC._f_(e)+""==e+""?(!C.A&&typeof C.E["p-width"]===ZC._[31]||(l=typeof C.E["p-width"]!==ZC._[31]?C.E["p-width"]:C.A.I),!C.A&&typeof C.E["p-height"]===ZC._[31]||(o=typeof C.E["p-height"]!==ZC._[31]?C.E["p-height"]:C.A.F),1<=(e=ZC._a_(e))?ZC._i_(e):e<1?"lr"===t?ZC._i_((C.A?l:i)*e):ZC._i_((C.A?o:n)*e):void 0):-1!==(e+="").indexOf("%")?C.m_(ZC._f_(e.replace("%",""))/100,t):-1!==e.indexOf("px")?C.m_(ZC._f_(e.replace("px","")),t):C.m_(ZC._f_(e),t)},copy:function(e){this.b(e);for(var t="I,F,EB,DW,E0,EA,F6,FW,F2,FG,KS,EP,DN,XP,HD,GA,EY,M9,A8L,Q1,OO,NQ,PE,FF".split(","),i=0,n=t.length;i<n;i++)typeof e[t[i]]!==ZC._[31]&&(this[t[i]]=e[t[i]])},locate:function(e){var t,i,n,a=this;if(2!==(e=e||1))if(a.TL)a.assign_a([["x","iX"],["y","iY"],[ZC._[19],"I"],[ZC._[20],"F"]]);else{var e=typeof a.E["p-x"]!==ZC._[31]?a.E["p-x"]:a.A.iX,l=typeof a.E["p-y"]!==ZC._[31]?a.E["p-y"]:a.A.iY,o=typeof a.E["p-width"]!==ZC._[31]?a.E["p-width"]:a.A.I,r=typeof a.E["p-height"]!==ZC._[31]?a.E["p-height"]:a.A.F;if(!a.PZ){for(var C,s=0,A=0,Z=0,c=0,h=(null!==ZC._n_(a.o.margin)&&-1!==(f=""+a.o.margin).indexOf("dynamic")&&("dynamic"===(C=a.m_(f,"all",0,0,"y"))[0]&&(a.E["d-margin-top"]=a.E["d-margin"]=!0),"dynamic"===C[1]&&(a.E["d-margin-right"]=a.E["d-margin"]=!0),"dynamic"===C[2]&&(a.E["d-margin-bottom"]=a.E["d-margin"]=!0),"dynamic"===C[3]&&(a.E["d-margin-left"]=a.E["d-margin"]=!0),a.o.margin=f.replace(/dynamic/g,"20")),"dynamic"===a.o.margin&&(a.E["d-margin"]=a.E["d-margin-top"]=a.E["d-margin-right"]=a.E["d-margin-bottom"]=a.E["d-margin-left"]=!0,a.o.margin=null),typeof a.E["force-margins"]===ZC._[31]||null!==ZC._n_(a.o["adjust-layout"])&&ZC._b_(a.o["adjust-layout"])||(null!==ZC._n_(a.o[ZC._[57]])&&null===ZC._n_(a.o[ZC._[59]])&&(a.o[ZC._[59]]="auto"),null!==ZC._n_(a.o[ZC._[59]])&&null===ZC._n_(a.o[ZC._[57]])&&(a.o[ZC._[57]]="auto"),null!==ZC._n_(a.o[ZC._[60]])&&null===ZC._n_(a.o[ZC._[58]])&&(a.o[ZC._[58]]="auto"),null!==ZC._n_(a.o[ZC._[58]])&&null===ZC._n_(a.o[ZC._[60]])&&(a.o[ZC._[60]]="auto")),[ZC._[57],ZC._[58],ZC._[59],ZC._[60]]),p=0,u=h.length;p<u;p++)"dynamic"===a.o[h[p]]&&(a.E["d-"+h[p]]=a.E["d-margin"]=!0,a.o[h[p]]=null);null!==(C=ZC._n_(a.o.margin))&&(d=a.m_(C,"all"),null===ZC._n_(a.o[ZC._[57]])&&(s=d[0]),null===ZC._n_(a.o[ZC._[58]])&&(A=d[1]),null===ZC._n_(a.o[ZC._[59]])&&(Z=d[2]),null===ZC._n_(a.o[ZC._[60]]))&&(c=d[3]);var _,d,f=[s=null!==(C=ZC._n_(a.o[ZC._[57]]))?d=a.m_(C,"tb"):s,A=null!==(C=ZC._n_(a.o[ZC._[58]]))?d=a.m_(C,"lr"):A,Z=null!==(C=ZC._n_(a.o[ZC._[59]]))?d=a.m_(C,"tb"):Z,c=null!==(C=ZC._n_(a.o[ZC._[60]]))?d=a.m_(C,"lr"):c];if(null!==ZC._n_(a.o.x)&&(a.iX=a.xy_(a.o.x,"x")),null!==ZC._n_(a.o.y)&&(a.iY=a.xy_(a.o.y,"y")),null!==(C=ZC._n_(a.o[ZC._[19]]))?(d=ZC._p_(C),_=-1!==(""+C).indexOf("%"),a.I=1<d&&!_?ZC._i_(d):-2===c&&-2===A?ZC._i_(o*d):-2===c&&-2!==A?ZC._i_((o-A)*d):-2!==c&&-2===A?ZC._i_((o-c)*d):ZC._i_((o-c-A)*d),-1!==a.iX?(a.E0=a.iX-e,a.EA=e+o-a.E0-a.I):-2===c&&-2===A?(a.E0=a.EA=(o-a.I)/2,a.iX=e+a.E0):-2===c&&-2!==A?(a.EA=A,a.E0=o-a.EA-a.I,a.iX=e+a.E0):(a.E0=c,a.iX=e+a.E0,a instanceof ZC.DQ?a.EA=A:a.EA=o-a.E0-a.I)):(-1!==a.iX?(a.E0=a.iX-e,a.EA=-2===A?0:A):(-2===c&&-2===A?a.E0=a.EA=0:-2===c&&-2!==A?(a.EA=A,a.E0=0):-2!==c&&-2===A?(a.E0=c,a instanceof ZC.DQ?a.EA=A:a.EA=0):(a.E0=c,a.EA=A),a.iX=e+a.E0),a.I=o-a.E0-a.EA),null!==(C=ZC._n_(a.o[ZC._[20]]))?(d=ZC._p_(C),_=-1!==(""+C).indexOf("%"),a.F=1<d&&!_?ZC._i_(d):-2===s&&-2===Z?ZC._i_(r*d):-2===s&&-2!==Z?ZC._i_((r-Z)*d):-2!==s&&-2===Z?ZC._i_((r-s)*d):ZC._i_((r-s-Z)*d),-1!==a.iY?(a.EB=a.iY-l,a.DW=l+r-a.EB-a.F):-2===s&&-2===Z?(a.EB=a.DW=(r-a.F)/2,a.iY=l+a.EB):-2===s&&-2!==Z?(a.DW=Z,a.EB=r-a.DW-a.F,a.iY=l+a.EB):(a.EB=s,a.iY=l+a.EB,a instanceof ZC.DQ?a.DW=Z:a.DW=r-a.EB-a.F)):(-1!==a.iY?(a.EB=a.iY-l,a.DW=-2===Z?0:Z):(-2===s?a.EB=a.EB=0:(a.EB=s,a.DW=Z),a.iY=l+a.EB),a.F=r-a.EB-a.DW),null!==(C=ZC._n_(a.o.position))){if(a.A&&typeof a.A.iX!==ZC._[31]&&typeof a.A.iY!==ZC._[31]&&typeof a.A.I!==ZC._[31]&&typeof a.A.F!==ZC._[31]){switch(i=t=0,(n=String(C).split(/\s+/))[0]){case"left":t=0;break;case"right":t=1;break;case"center":t=.5;break;default:1<(t=ZC.IO(n[0]))&&(t/=a.A.I)}switch(n[1]){case"top":i=0;break;case"bottom":i=1;break;case"middle":i=.5;break;default:1<(i=ZC.IO(n[1]))&&(i/=a.A.F)}}a.E["position-info"]=[t,i],a.iX=a.A.iX+ZC._i_(t*(a.A.I-a.I-f[1]-f[3]))+f[3],a.iY=a.A.iY+ZC._i_(i*(a.A.F-a.F-f[0]-f[2]))+f[0]}a.D2=[a.iX,a.iY,a.iX+a.I,a.iY+a.F]}}},parse:function(){this.b();var e,t=this;t.o.tween||(t.assign_a([["anchor","VF"],["rect-shortcut","FF","b"],["center-ref","A73","b"],["callout","KS","b"],["callout-type","ACM"],["callout-position","EP"],["callout-hook","DN"],["callout-ratio","XP"],["callout-width","HD","i"],["callout-height","GA","i"],["callout-offset","EY","i"],["callout-extension","M9","i"],["border-top","Q1"],["border-right","OO"],["border-bottom","NQ"],["border-left","PE"]]),null!==(e=ZC._n_(t.o["border-radius"]))&&(2===(e=String(e).split(/\s+|;|,/)).length?(t.F6=t.FW=ZC._i_(e[0]),t.F2=t.FG=ZC._i_(e[1])):4===e.length?(t.F6=ZC._i_(e[0]),t.FW=ZC._i_(e[1]),t.F2=ZC._i_(e[2]),t.FG=ZC._i_(e[3])):t.F6=t.FW=t.F2=t.FG=ZC._i_(e[0])),null!==ZC._n_(t.o["callout-tip"])&&(t.OS=new ZC.DT(t.A)),t.assign_a([["border-radius-top-left","F6","i"],["border-radius-top-right","FW","i"],["border-radius-bottom-right","F2","i"],["border-radius-bottom-left","FG","i"]]))},WY:function(e){e=e.split(/\s/);return e[0]=ZC._i_(e[0]),e[2]=ZC.AO.GD(e[2]),e},paint:function(){var e,t,i,n=this,a=(null===n.DN||n.DN instanceof Array||"zcgraph"===n.A.OJ&&(a=n.A.V7(n.DN),n.DN=[a[0],a[1]],n.DN[0]-=n.BK,n.DN[1]-=n.BJ),n.A73&&(n.iX-=n.I/2,n.iY-=n.F/2),!0),l=("-1"!==n.BX&&0!==n.AU||n.Q1+n.OO+n.NQ+n.PE!==""||"-1"!==n.A0||"-1"!==n.AE||""!==n.DC||""!==n.GT||""!==n.HQ||(a=!1),n.G.AB),o=(a&&n.ME&&n.C8&&n.AA6(),{x:"iX",y:"iY",width:"I",height:"F"});if(n.o["bottom-state"]&&!n.Y9&&!n.bIsBottom&&!n.W1){var r=new ZC.HU(n.A);for(e in r.copy(n),r.bIsBottom=!0,r.ME=!1,r.Z=n.Z,r.VF=n.VF,r.append({x:n.iX-n.A.iX,y:n.iY-n.A.iY,width:n.I,height:n.F}),r.append(n.o["bottom-state"]),r.K=n.K+"-bottom",r.parse(),r.setAnchor(),o)null===ZC._n_(r.o[e])||-1===(""+r.o[e]).indexOf("+")&&-1===(""+r.o[e]).indexOf("-")||(r[o[e]]=n[o[e]]+ZC._i_(r.o[e]),0);r.paint()}if(n.Q1+n.OO+n.NQ+n.PE===""){switch(l){case"canvas":n.A1R();break;case"svg":n.WG();break;case"vml":n.WF()}n.KS&&n.OS&&(n.DN&&2===n.DN.length?(t=n.DN[0],Z=n.DN[1]):n.E.cp&&(t=n.E.cp[0],Z=n.E.cp[1]),n.OS.Z=n.OS.C8=n.Z,n.OS.copy(n),n.OS.append(n.o["callout-tip"]),n.OS.K=n.K+"-callout-tip",n.OS.o.x=t,n.OS.o.y=Z,n.E.cm&&(a=n.E.cm[0],i=n.E.cm[1],i=Math.atan2(ZC._i_(i)-ZC._i_(Z),ZC._i_(a)-ZC._i_(t)),isNaN(i)&&(i=0),null===ZC._n_(n.OS.o.angle))&&(n.OS.o.angle=ZC.U4(i)),n.OS.parse(),n.OS.paint())}else{var C=n.AU,s=n.BX,A=n.GE;switch(n.AU=0,l){case"canvas":n.A1R();break;case"svg":n.WG();break;case"vml":n.WF()}n.AU=C;for(var Z=n.A0,a=n.AE,c=(n.A0=n.AE="-1",["top","right","bottom","left"]),h=["Q1","OO","NQ","PE"],p=0;p<c.length;p++)if(""!==(u=n[h[p]])&&"none"!==u){var u=n.WY(u);switch(n.AU=u[0],n.GE=u[1],n.BX=u[2],l){case"canvas":n.A1R(c[p]);break;case"svg":n.WG(c[p]);break;case"vml":n.WF(c[p])}n.AU=C,n.BX=s,n.GE=A}n.A0=Z,n.AE=a}if(n.o["top-state"]&&!n.Y9&&!n.W1&&!n.bIsBottom){var _=new ZC.HU(n.A);for(e in _.copy(n),_.W1=!0,_.ME=!1,_.Z=n.Z,_.VF=n.VF,_.append({x:n.iX-n.A.iX,y:n.iY-n.A.iY,width:n.I,height:n.F}),_.append(n.o["top-state"]),_.K=n.K+"-top",_.parse(),_.setAnchor(),o)null===ZC._n_(_.o[e])||-1===(""+_.o[e]).indexOf("+")&&-1===(""+_.o[e]).indexOf("-")||(_[o[e]]=n[o[e]]+ZC._i_(_.o[e]),0);_.paint()}},setAnchor:function(){var e=this;switch(e.VF){case"tl":break;case"tr":e.iX-=e.I;break;case"bl":e.iY-=e.F;break;case"br":e.iX-=e.I,e.iY-=e.F;break;case"c":e.iX-=e.I/2,e.iY-=e.F/2;break;case"t":e.iX-=e.I/2;break;case"r":e.iX-=e.I,e.iY-=e.F/2;break;case"b":e.iX-=e.I/2,e.iY-=e.F;break;case"l":e.iY-=e.F/2}},AA6:function(){var e=this,t=new ZC.HU(e.A),i=(t.K=e.K+"-sh",t.copy(e),t.Z=e.C8,t.ME=!1,t.Y9=!0,t.Q1=t.OO=t.NQ=t.PE="",t.A0=t.AE=t.RW,t.GT=t.HQ="",t.DC="",t.GE="solid",t.BX=t.RW,t.B1=0,e.JZ*ZC.EF(e.ON)),n=e.JZ*ZC.EL(e.ON);t.I=e.I+("vml"===e.G.AB?0:.5)-ZC.EF(e.ON)*e.PA/2,t.F=e.F+("vml"===e.G.AB?0:.5)-ZC.EL(e.ON)*e.PA/2,t.O3=t.C5=t.T7*e.C5,t.K=e.K+"-sh",t.iX=e.iX+ZC._i_(i),t.iY=e.iY+ZC._i_(n),t.paint()},YE:function(e){var t,i=this,n=i.iX,a=i.iY,n=n+i.I/2,a=a+i.F/2,l=i.VS,o=i.VR;return n+=l=ZC._a_(l)<=1?l*i.I/2:l,a+=o=ZC._a_(o)<=1?o*i.F/2:o,"radial"===e?(l=ZC._i_((i.I+i.F)/2),t=(o=ZC.CY(i.I,i.F))<l/4?(o+l)/2:o,{cx:n,cy:a,r:ZC._a_(t)}):"linear"===e?{x1:n-(l=(t=i.I>=i.F?.5<ZC._a_(ZC.EL(i.NB))?i.F/2:i.I/2:.5<ZC._a_(ZC.EF(i.NB))?i.I/2:i.F/2)*ZC.EF(i.NB)),y1:a-(o=t*ZC.EL(i.NB)),x2:n+l,y2:a+o}:void 0},WH:function(e){var t,i,n=this,a=(typeof e===ZC._[31]&&(e="all"),n.iX),l=n.iY,o=(n.D=[],s=A=n.AU/2,1),r=("vml"===n.G.AB&&n.AU%(o=2)==1&&(s=ZC._i_((n.AU-1)/2),A=ZC._i_((n.AU+1)/2)),null),C=ZC._x_(a+s,2),a=ZC._x_(a-A,2),s=ZC._x_(l+s,2),l=ZC._x_(l-A,2),A=n.DN&&2===n.DN.length,Z=ZC._i_(n.EY*(n.I-n.HD)/100),c=ZC._i_(n.EY*(n.F-n.GA)/100),h=0!==n.F6||0!==n.FW||0!==n.F2||0!==n.FG,p=n.XP[0],u=n.XP[1];switch(n.EP){case"top":n.E.cm=[n.iX+n.I/2+Z,n.iY];break;case"bottom":n.E.cm=[n.iX+n.I/2+Z,n.iY+n.F];break;case"left":n.E.cm=[n.iX,n.iY+n.F/2+c];break;case"right":n.E.cm=[n.iX+n.I,n.iY+n.F/2+c]}h?(h=ZC.CY(n.I/2,n.F/2),"top"!==e&&"all"!==e||(0!==n.F6?(i=n.I/2>=n.F6&&n.F/2>=n.F6?ZC._a_(n.F6):h,n.D.push([C,s+i]),0<n.F6&&n.D.push([C,s,C+o*i,s]),n.D.push([C+i,s])):n.D.push([C,s]),n.KS&&"top"===n.EP&&(n.D.push([C+n.I/2-p*n.HD/2-n.AU/2+Z,s]),A?n.D.push([n.DN[0],n.DN[1]]):(r=[C+n.I/2-n.AU/2+Z,s-n.GA],n.D.push(r)),0<n.M9&&(t=n.D[n.D.length-1],n.D.push([t[0],t[1]-n.M9*(0<n.GA?1:-1)]),n.D.push([t[0],t[1]])),n.D.push([C+n.I/2-n.AU/2+u*n.HD/2+Z,s])),"top"===e&&(0!==n.FW?(i=n.I/2>=n.FW&&n.F/2>=n.FW?ZC._a_(n.FW):h,n.D.push([a+n.I-i,s])):n.D.push([a+n.I,s]))),"right"!==e&&"all"!==e||(0!==n.FW?(i=n.I/2>=n.FW&&n.F/2>=n.FW?ZC._a_(n.FW):h,n.D.push([a+n.I-i,s]),0<n.FW?n.D.push([a+n.I,s,a+n.I,s+o*i]):n.D.push([a+n.I,s+i])):n.D.push([a+n.I,s]),n.KS&&"right"===n.EP&&(n.D.push([a+n.I,s+n.F/2-p*n.GA/2-n.AU/2+c]),A?n.D.push([n.DN[0],n.DN[1]]):(r=[a+n.I+n.HD,s+n.F/2-n.AU/2+c],n.D.push(r)),n.D.push([a+n.I,s+n.F/2+u*n.GA/2-n.AU/2+c])),"right"===e&&(0!==n.F2?(i=n.I/2>=n.F2&&n.F/2>=n.F2?ZC._a_(n.F2):h,n.D.push([a+n.I,l+n.F-i])):n.D.push([a+n.I,l+n.F]))),"bottom"!==e&&"all"!==e||(0!==n.F2?(i=n.I/2>=n.F2&&n.F/2>=n.F2?ZC._a_(n.F2):h,n.D.push([a+n.I,l+n.F-i]),0<n.F2?n.D.push([a+n.I,l+n.F,a+n.I-o*i,l+n.F]):n.D.push([a+n.I-i,l+n.F])):n.D.push([a+n.I,l+n.F]),n.KS&&"bottom"===n.EP&&(n.D.push([a+n.I/2+p*n.HD/2+n.AU/2+Z,l+n.F]),A?n.D.push([n.DN[0],n.DN[1]]):(r=[a+n.I/2+n.AU/2+Z,l+n.F+n.GA],n.D.push(r)),0<n.M9&&(t=n.D[n.D.length-1],n.D.push([t[0],t[1]+n.M9*(0<n.GA?1:-1)]),n.D.push([t[0],t[1]])),n.D.push([a+n.I/2-u*n.HD/2+n.AU/2+Z,l+n.F])),"bottom"===e&&(0!==n.FG?(i=n.I/2>=n.FG&&n.F/2>=n.FG?ZC._a_(n.FG):h,n.D.push([C+i,l+n.F])):n.D.push([C,l+n.F]))),"left"!==e&&"all"!==e||(0!==n.FG?(i=n.I/2>=n.FG&&n.F/2>=n.FG?ZC._a_(n.FG):h,n.D.push([C+i,l+n.F]),0<n.FG?n.D.push([C,l+n.F,C,l+n.F-o*i]):n.D.push([C,l+n.F-i])):n.D.push([C,l+n.F]),n.KS&&"left"===n.EP&&(n.D.push([C,l+n.F/2+p*n.GA/2+n.AU/2+c]),A?n.D.push([n.DN[0],n.DN[1]]):(r=[C-n.HD,l+n.F/2+n.AU/2+c],n.D.push(r)),n.D.push([C,l+n.F/2-u*n.GA/2+n.AU/2+c])),0!==n.F6?(i=n.I/2>=n.F6&&n.F/2>=n.F6?ZC._a_(n.F6):h,n.D.push([C,s+i])):(n.D.push([C,s]),n.D.push([C+.1,s])))):("top"!==e&&"all"!==e||("top"===e?n.D.push([C+.5,s+.5]):n.D.push([C,s]),n.KS&&"top"===n.EP&&(n.D.push([C+n.I/2-p*n.HD/2-n.AU/2+Z,s]),A?n.D.push([n.DN[0],n.DN[1]]):(r=[C+n.I/2-n.AU/2+Z,s-n.GA],n.D.push(r)),0<n.M9&&(t=n.D[n.D.length-1],n.D.push([t[0],t[1]-n.M9*(0<n.GA?1:-1)]),n.D.push([t[0],t[1]])),n.D.push([C+n.I/2+u*n.HD/2-n.AU/2+Z,s])),"top"===e&&n.D.push([a+n.I+.5,s+.5])),"right"!==e&&"all"!==e||("right"===e?n.D.push([a+n.I+.5,s+.5]):n.D.push([a+n.I,s]),n.KS&&"right"===n.EP&&(n.D.push([a+n.I,s+n.F/2-n.AU/2-p*n.GA/2+c]),A?n.D.push([n.DN[0],n.DN[1]]):(r=[a+n.I+n.HD,s+n.F/2-n.AU/2+c],n.D.push(r)),n.D.push([a+n.I,s+n.F/2-n.AU/2+u*n.GA/2+c])),"right"===e&&n.D.push([a+n.I+.5,l+n.F+.5])),"bottom"!==e&&"all"!==e||("bottom"===e?n.D.push([a+n.I+.5,l+n.F+.5]):n.D.push([a+n.I,l+n.F]),n.KS&&"bottom"===n.EP&&(n.D.push([a+n.I/2+p*n.HD/2+n.AU/2+Z,l+n.F]),A?n.D.push([n.DN[0],n.DN[1]]):(r=[a+n.I/2+n.AU/2+Z,l+n.F+n.GA],n.D.push(r)),0<n.M9&&(t=n.D[n.D.length-1],n.D.push([t[0],t[1]+n.M9*(0<n.GA?1:-1)]),n.D.push([t[0],t[1]])),n.D.push([a+n.I/2-u*n.HD/2+n.AU/2+Z,l+n.F])),"bottom"===e&&n.D.push([C+.5,l+n.F+.5])),"left"!==e&&"all"!==e||("left"===e?n.D.push([C+.5,l+n.F+.5]):n.D.push([C,l+n.F]),n.KS&&"left"===n.EP&&(n.D.push([C,l+n.F/2+n.AU/2+p*n.GA/2+c]),A?n.D.push([n.DN[0],n.DN[1]]):(r=[C-n.HD,l+n.F/2+n.AU/2+c],n.D.push(r)),n.D.push([C,l+n.F/2+n.AU/2-u*n.GA/2+c])),"left"===e?n.D.push([C+.5,s+.5]):(n.D.push([C,s]),n.D.push([C+.1,s])))),r&&(n.E.cp=r)},A1R:function(e){e=e||"all";var t,i=this;if(i.Z){var n=i.Z.getContext("2d"),a=(n.save(),n.globalCompositeOperation=i.A0Z,i.iX),l=i.iY,o=i.A1T(),r=o.bc,C=o.bgc1,o=o.bgc2,s=("all"===e&&(C!==o||""!==i.GT&&""!==i.HQ?(s=i.YE(i.NJ),"radial"===i.NJ?A=n.createRadialGradient(s.cx,s.cy,1,s.cx,s.cy,s.r):"linear"===i.NJ&&(s.x1=isNaN(s.x1)?0:s.x1,s.x2=isNaN(s.x2)?0:s.x2,s.y1=isNaN(s.y1)?0:s.y1,s.y2=isNaN(s.y2)?0:s.y2,A=n.createLinearGradient(s.x1,s.y1,s.x2,s.y2)),""!==i.GT&&""!==i.HQ?i.ZT(A):(A.addColorStop(0,C),A.addColorStop(1,o)),n.fillStyle=A):(""!==i.DC&&-1!==ZC.AV(["repeat","true",!0],i.M8)&&"-1"===i.A0&&"-1"===i.AE&&(C="rgba(255,255,255,0)"),n.fillStyle=C)),n.strokeStyle=r,n.lineWidth=i.AU,n.translate(i.BK,i.BJ),0!==i.AA&&(n.translate(a+i.I/2,l+i.F/2),n.rotate(ZC.TD(i.AA)),n.translate(-(a+i.I/2),-(l+i.F/2))),n.beginPath(),i.WH(e),i.F6+i.FW+i.F2+i.FG!==0),A=(o=i.B1,i.B1=i.AU,i.GE);if(i.GE="",i.L3(),ZC.CO.contour(n,i,i.D),i.B1=o,i.GE=A,i.L3(),"all"===e)if(""!==i.DC&&-1===ZC.AV(ZC.IMG404,i.DC)){n.fill(),n.save(),n.clip();var C=n.globalAlpha,Z=(n.globalAlpha=i.C5,i.RK()),c=Z.image;switch(i.M8){default:n.translate(i.iX,i.iY),t=n.createPattern(c,"repeat"),n.fillStyle=t,n.fill(),n.translate(-Z.x,-Z.y);break;case"no-repeat":case"false":case!1:n.drawImage(c,Z.x-i.BK,Z.y-i.BJ,i.E[ZC._[69]],i.E[ZC._[70]])}n.globalAlpha=C,n.restore()}else n.fill();0<i.AU&&(r=i.B9,o=i.B1,i.B9=i.BX,i.B1=i.AU,i.L3(),ZC.CO.setup(n,i),i.T6=s?"round":"square",0<i.EU+i.G3&&(i.T6="butt"),i.A00=s?"round":"miter",i.E["skip-top"]=!0,i.E.border=e,ZC.CO.paint(n,i,i.D,!0),i.B9=r,i.B1=o,i.L3()),n.closePath(),n.restore()}},WG:function(e){e=e||"all";var t=this,i=t.Z,n=!(t.E.fill=-1),a=("all"===e&&(""!==t.DC&&-1===ZC.AV(ZC.IMG404,t.DC)&&(a=t.RK(),t.A2Q({info:a,x:t.iX,y:t.iY}),n=!0),t.WZ()),t.WH(e),n&&"repeat"!==t.M8&&t.KS&&(n=a=0,t.D2[1]<t.iY&&(n=t.D2[3]-t.D2[1]-t.F),t.D2[0]<t.iX&&(a=t.D2[2]-t.D2[0]-t.I),null===ZC._n_(t.E["pattern-tx"])?t.E["pattern-tx"]=a:t.E["pattern-tx"]+=a,null===ZC._n_(t.E["pattern-ty"])?t.E["pattern-ty"]=n:t.E["pattern-ty"]+=n,ZC.Q.G6(ZC.AL(t.E["pattern-image-id"]),{transform:"translate("+t.E["pattern-tx"]+","+t.E["pattern-ty"]+")"})),t.F6+t.FW+t.F2+t.FG!==0),n=(t.E.cx=t.iX+t.I/2,t.E.cy=t.iY+t.F/2,t.VN&&t.A3Z(),t.B9),l=t.B1,a=(t.B9=t.BX,t.B1=t.AU,t.L3(),ZC.CO.setup(i,t),t.T6=a?"round":"square",0<t.EU+t.G3&&(t.T6="butt"),t.A00=a?"round":"miter",!1);ZC.A3.browser.msie||!t.FF||t.KS||""!==t.Q1||""!==t.OO||""!==t.NQ||""!==t.PE||0!==t.F6||0!==t.FW||0!==t.F2||0!==t.FG||(a=!0),t.E["skip-top"]=!0,t.E.border=e,ZC.CO.paint(i,t,t.D,!0,null,a),t.B9=n,t.B1=l,t.L3()},WF:function(e){var t=this,i=t.Z;if("all"===(e=e||"all")){var n=ZC.Q.F8("zcv:fill");if(""!==t.DC&&-1===ZC.AV(ZC.IMG404,t.DC)){var a=t.RK(),l=a.image;switch(t.M8){default:n.type="tile",n.src=t.DC,ZC.Q.G6(n,{position:a.cx+","+a.cy,opacity:t.C5,"o:opacity2":t.C5}),t.E.imgfill=[n];break;case"no-repeat":case"false":case!1:t.E.imgfill=[l,a.x,a.y]}}t.X0("0.5,0.5")}var o=ZC.Q.F8("zcv:stroke");switch(o.weight=t.AU+"px",o.color=t.BX,o.opacity=t.C5,t.GE){case"solid":o.dashstyle="solid";break;case"dotted":o.dashstyle="dot";break;case"dashed":o.dashstyle="dash"}t.E.stroke=o,t.WH(e);var r=t.F6+t.FW+t.F2+t.FG!==0,C=(t.E.cx=t.iX+t.I/2,t.E.cy=t.iY+t.F/2,t.B9),s=t.B1;t.B9=t.BX,t.B1=t.AU,t.L3(),ZC.CO.setup(i,t),t.T6=r?"round":"square",0<t.EU+t.G3&&(t.T6="butt"),t.A00=r?"round":"miter",t.E.border=e,ZC.CO.paint(i,t,t.D,"all"===e),t.B9=C,t.B1=s,t.L3()}}),P8=(ZC.HU=ZC.DT.CD(HU),{$i:function(e){this.b(e);e=this;e.WQ=null,e.BG=null,e.M=null,e.SN=null,e.A7=null,e.KD=!1,e.OC=!1,e.L5=!1,e.A67=!1},parse:function(){var e,t=this;t.BG=zingchart.pool.getInstance("box"===t.WQ.type?"HU":"DT",t.A,t.K+"-shape",t.WQ.tween),t.BG.append(t.WQ),t.BG.iX=t.iX,t.BG.iY=t.iY,t.BG.K=t.K+"-gshape",t.BG.OC=t.OC,t.A67||null===ZC._n_(e=t.BG.o.points)||(t.BG.o.points=ZC.AO.A5M(e,t.A.iX,t.A.iY),t.A67=!0),t.BG.parse(),null===ZC._n_(e=t.BG.o.label)||null===ZC._n_(e.text)||""===e.text||typeof e.visible!==ZC._[31]&&!ZC._b_(e.visible)||(t.M=zingchart.pool.getInstance("DQ",t,t.A.K+"-shape-label-"+t.HA,ZC.objmove),ZC.objmove)||t.M.append(e),null!==ZC._n_(e=t.BG.o["static"])&&(t.KD=ZC._b_(e)),null!==ZC._n_(e=t.BG.o.flat)&&(t.KD=ZC._b_(e)),null!==ZC._n_(e=t.BG.o.dynamic)&&(t.L5=ZC._b_(e)),null!==ZC._n_(e=t.BG.o.connector)&&(t.SN=new ZC.DT(t),t.SN.append(e),t.SN.parse())},paint:function(){var e=this;if(e.BG.Z=e.Z,e.BG.C8=e.C8,e.BG.locate(2),e.BG.W1=!1,"box"===e.BG.o.type&&(e.iX-=e.BG.I/2,e.iY-=e.BG.F/2,e.BG.iX-=e.BG.I/2,e.BG.iY-=e.BG.F/2),e.BG.paint(),e.M){if(e.M.Z=e.M.C8=e.Z,e.M.IP=ZC.AL(e.A.A.K+"-text"),e.M.K=e.A.K+"-shape-label-"+e.HA,e.M.GN=e.A.K+"-shape-label zc-shape-label",e.M.o.anchor=e.M.o.anchor||"c",!e.WQ["map-item"])switch(e.DH){default:e.M.o.x=e.iX,e.M.o.y=e.iY;break;case"line":case"poly":case"rect":case"rectangle":e.M.o.x=ZC._i_((e.BG.D2[0]+e.BG.D2[2])/2),e.M.o.y=ZC._i_((e.BG.D2[1]+e.BG.D2[3])/2)}if(ZC.objmove||e.M.parse(),e.M.iX=e.M.iX+e.BG.BK,e.M.iY=e.M.iY+e.BG.BJ,e.M.AP){if(e.SN&&0<e.SN.D.length){ZC.AL(e.A.K+"-objects-front")||(t=e.A.A.I+"/"+e.A.A.F,ZC.Q.K6({cls:"zc-abs",wh:t,id:e.A.K+"-objects-front",p:ZC.AL(e.A.A.K+"-objects-front")},e.A.A.AB),ZC.Q.HL({cls:ZC._[24],id:e.A.K+"-objects-front-c",p:ZC.AL(e.A.K+"-objects-front"),wh:t},e.A.A.AB));var t=e.SN.D,i=e.SN.o.anchor||"",n=t[t.length-1];switch(i){case"l":e.M.iX=n[0]+e.BG.BK,e.M.iY=n[1]-e.M.F/2+e.BG.BJ;break;case"r":e.M.iX=n[0]-e.M.I+e.BG.BK,e.M.iY=n[1]-e.M.F/2+e.BG.BJ;break;case"t":e.M.iX=n[0]-e.M.I/2+e.BG.BK,e.M.iY=n[1]+e.BG.BJ;break;case"b":e.M.iX=n[0]-e.M.I/2+e.BG.BK,e.M.iY=n[1]-e.M.F+e.BG.BJ;break;default:e.M.iX=n[0]-e.M.I/2+e.BG.BK,e.M.iY=n[1]-e.M.F/2+e.BG.BJ}i=ZC.Q.EE(ZC.AL(e.A.K+"-objects-front-c"),e.A.G.AB),ZC.CO.setup(i,e.SN),ZC.CO.paint(i,e.SN,t)}e.M.W1=!1,e.WQ["map-item"]&&(e.M.GN=e.A.K+"-mapshape-label zc-mapshape-label",e.M.iX<e.A.iX||e.M.iX+e.M.I>e.A.iX+e.A.I||e.M.iY<e.A.iY||e.M.iY+e.M.F>e.A.iY+e.A.F)||(e.M.paint(),e.E["print-canvas"]?e.M.EO(ZC.AL(e.E["print-canvas"])):e.M.EO())}}}}),DQ=(ZC.P8=ZC.DT.CD(P8),{$i:function(e){this.b(e);e=this;e.IP=null,e.GN="",e.AN=null,e.OF="center",e.K3="middle",e.DI=zingchart.FONTSIZE,e.GJ=zingchart.FONTFAMILY,e.C2="#000",e.A96=!1,e.N3=!1,e.QR=!1,e.KE="none",e.sFontWeight="normal",e.Y8=0,e.FJ=2,e.FO=2,e.FX=2,e.ER=2,e.A8N=!1,e.A24=!1,e.FL=-1,e.KG=0,e.NM=0,e.OT=ZC.MAX,e.bRTL=!1,e.A1J=!0,e.UY=zingchart.FASTWIDTH,e.A68=1.65,e.V1=1,e.VT=!1,e.A7=null,e.VA=!1,e.A4U=!1},getPMap:function(){var e=this.b();return this.addPMap(e,"textAlign,verticalAlign,fontSize,fontFamily,color,bold,fontWeight,italic,underline,textDecoration,paddingTop,paddingRight,paddingBottom,paddingLeft,text","OF,K3,DI,GJ,C2,A96,sFontWeight,N3,QR,KE,FJ,FO,FX,ER,AN"),e},copy:function(e){this.b(e);for(var t="OF,K3,DI,GJ,C2,A96,sFontWeight,N3,KE,QR,FJ,FO,FX,ER,AN".split(","),i=0,n=t.length;i<n;i++)typeof e[t[i]]!==ZC._[31]&&(this[t[i]]=e[t[i]])},overrideFormat:function(e){for(var t=[ZC._[12],ZC._[13],ZC._[14]],i=0;i<t.length;i++)e[t[i]]=(typeof this.o[t[i]]!==ZC._[31]?this.o:e)[t[i]];return e},K2:function(e){return e},isBold:function(e){return"bold"===e||"bolder"===e||"500"===e||"600"===e||"700"===e||"800"===e||"900"===e},cwidth:function(e){var t,i=this;return i.UY?e.replace(/(<([^>]+)>)/gi,"").length*i.DI/(i.A68*(i.isBold(i.sFontWeight)?.87:1)*(i.N3?.95:1)):(t="",typeof i.o["html-mode"]!==ZC._[31]&&ZC._b_(i.o["html-mode"])&&(t="[HTMLMODE]"),ZC.Q.A48(this.G.K,t+e,this.GJ,this.DI,this.sFontWeight,this.FL))},parse:function(){this.I=this.F=this.NM=this.KG=0,this.b();var e,t=this;if(!t.o.tween){if(t.YD("text","AN"),null!==ZC._n_(t.AN)&&(t.AN=""+t.AN,t.AN=t.K2(t.AN),t.AN=t.AN.replace(/\n/g,"<br>").replace(/\\n/g,"<br>"),"svg"===t.G.AB&&(t.AN=t.AN.replace(/ /g," ")),t.AN=t.AN.replace(/<audio|<video|<embed|<object/gi,""),-1!==t.AN.indexOf("<img"))&&(t.AN=t.AN.replace(/onload=|onerror=/gi,"")),t.assign_a([["overlap","A1J","b"],["fast-width","UY","b"],["max-width","OT","i"],["line-height","FL","i"],["width-ratio","A68","f"],["wrap-text","A24","b"],["clip-text","A8N","b"],["bold","A96","b"],["italic","N3","b"],["underline","QR","b"],["text-decoration","KE"],["rtl","bRTL","b"],["text-align","OF"],["align","OF"],["vertical-align","K3"],["font-size","DI","f"],["max-chars","Y8","i"],["font-family","GJ"],["font-angle","AA","i"],["color","C2","c"],["font-color","C2","c"],["text-alpha","V1","f",0,1],["lock-rotation","VA","b"]]),t.DI=ZC.BR(1,t.DI),null===ZC._n_(t.o["text-alpha"])&&(t.V1=t.C5),t.A96&&(t.sFontWeight="bold"),null!==(n=ZC._n_(t.o["font-weight"]))&&(t.sFontWeight=n),null===ZC._n_(t.o["text-decoration"])&&(t.KE=t.QR?"underline":"none"),null!==(n=ZC._n_(t.o["font-style"]))&&(t.N3="italic"===n||"oblique"===n),null!==(n=ZC._n_(t.o.padding))&&(n=1===(n=String(n).split(/\s+|;|,/)).length?[ZC._i_(n[0]),ZC._i_(n[0]),ZC._i_(n[0]),ZC._i_(n[0])]:2===n.length?[ZC._i_(n[0]),ZC._i_(n[1]),ZC._i_(n[0]),ZC._i_(n[1])]:3===n.length?[ZC._i_(n[0]),ZC._i_(n[1]),ZC._i_(n[2]),ZC._i_(n[0])]:[ZC._i_(n[0]),ZC._i_(n[1]),ZC._i_(n[2]),ZC._i_(n[3])],t.FJ=n[0],t.FO=n[1],t.FX=n[2],t.ER=n[3]),t.assign_a([["padding-top","FJ","i"],["padding-right","FO","i"],["padding-bottom","FX","i"],["padding-left","ER","i"]]),t.AN){0<t.Y8&&t.AN.length>t.Y8&&(t.AN=t.AN.substring(0,t.Y8)+"...");var i=t.AN.split(/<br>|<br\/>|<br \/>|\n/),n="";typeof t.o["html-mode"]!==ZC._[31]&&ZC._b_(t.o["html-mode"])&&(i=[t.AN],n="[HTMLMODE]"),i.length;for(t.UY?t.KG=1.65*this.DI:t.KG=ZC.Q.A48(this.G.K,n+t.AN,this.GJ,this.DI,this.sFontWeight,this.FL,!0)+t.FJ+t.FX,s=0,A=i.length;s<A;s++)t.NM=ZC.BR(t.NM,t.cwidth(i[s])+t.ER+t.FO)}else t.AN="",t.NM=ZC._i_(1.25*t.DI),t.KG=-1===t.FL?ZC._i_(1.25*t.DI):t.FL;if(null!==ZC._n_(t.o[ZC._[19]])&&!isNaN(t.I)&&0!==t.I||(t.I=t.NM),null!==ZC._n_(t.o[ZC._[20]])&&!isNaN(t.F)&&0!==t.F||(t.F=t.KG),t.I=ZC.CY(t.I,t.OT),t.A24&&t.NM>t.I&&!t.E.wrapped&&t.I>2*t.DI){for(var a,l="",o=0,r=t.AN.replace(/<br>/gi," [##] ").split(/\s|<br>/),C=[],s=0,A=r.length;s<A;s++)if((a=t.cwidth(r[s]))>.9*t.I)for(var Z=Math.ceil(a/t.I*.9),c=Math.ceil(r[s].length/Z),h=0;h<Z;h++)C.push(r[s].substr(h*c,c));else C.push(r[s]);for(s=0,A=C.length;s<A;s++)""!==C[s]&&("[##]"===C[s]?(l+="<br>",o=0):(o+=a=1+t.cwidth(C[s]+" "))>.9*t.I?(0<s&&(l+="<br>"),l+=C[s]+" ",o=a):l+=C[s]+" ");var l=(l=l.replace(/<br><br>/g,"<br>").replace(/ <br> <br>/g," <br>")).replace(/(.+?)<br> $/g,"$1"),n=t.o.text;t.o.text=l,t.E.wrapped=!0,t.parse(),t.o.text=n,t.E.wrapped=!1}"canvas"!==t.G.AB&&(t.AN=t.AN.replace(/</g,"<").replace(/>/g,">")),null!==ZC._n_(t.o[ZC._[19]])&&null!==ZC._n_(t.o[ZC._[20]])||null===ZC._n_(t.o.position)&&null===ZC._n_(t.o.margin)&&null===ZC._n_(t.o[ZC._[57]])&&null===ZC._n_(t.o[ZC._[58]])&&null===ZC._n_(t.o[ZC._[59]])&&null===ZC._n_(t.o[ZC._[60]])||(t.iX=-1,t.iY=-1,n=t.o[ZC._[19]],e=t.o[ZC._[20]],null===ZC._n_(n)&&(t.o[ZC._[19]]=t.I),null===ZC._n_(e)&&(t.o[ZC._[20]]=t.F),t.locate(),t.o[ZC._[19]]=n,t.o[ZC._[20]]=e),typeof t.o["html-mode"]!==ZC._[31]&&t.o["html-mode"]||0<(n=Math.ceil((t.NM-t.ER-t.FO)/t.DI))&&(t.AN=t.AN.replace(/<hr>/g,new Array(n).join("\u2014")))}t.setAnchor()},paint:function(){var e,t,i,n,a,l,o,w,r,C=this;if(!C.VT&&!C.A1J){for(var S,P=!0,s=(null!==ZC._n_(C.o.flexible)&&(P=ZC._b_(C.o.flexible)),{x:C.iX+C.ER-1,y:C.iY+C.FJ-1,width:C.I-C.ER-C.FO+2,height:C.F-C.FJ-C.FX+2,type:C.E.lbltype||""}),O=P?[[0,0],[0,2],[0,-4],[0,4],[0,-8],[3,0],[-6,0],[5,0],[-10,0]]:[[0,0]],N=0;N<O.length;N++){for(S=!0,s.x+=O[N][0],s.y+=O[N][0],n=0,a=C.G.SY.length;n<a;n++)ZC.AQ.VD(s,C.G.SY[n],-2)&&(S=!1);if(S){C.iX=s.x-(C.ER-1),C.iY=s.y-(C.FJ-1);break}}if(!S)return;C.G.SY.push(s)}var A=C.G.AB,Z=ZC.Q.EE(C.Z,A);if(C.VT||C.b(),!C.A4U&&(C.o[ZC._[19]]||!(C.I-C.ER-C.FO<2))&&(C.o[ZC._[20]]||!(C.KG-C.FJ-C.FX<2))){var c=C.AA%360==0?"0":"";if((C.VT||zingchart.CANVASTEXT&&"canvas"===A)&&(c=""),ZC.vml&&"svg"===A&&""===C.GN&&(C.GN=C.K+"-class"),!C.VT&&ZC.AL(C.K)&&(A="_",ZC.objmove))ZC.AL(C.K).style.top=C.iY+C.BJ+"px",ZC.AL(C.K).style.left=C.iX+C.BK+"px";else{var h,p,u,_,d,f,g,B,b,Q,E,m,D,k,v,F,z,K,I,V,x,T,y=typeof C.E["html-mode"]!==ZC._[31]&&C.E["html-mode"],H=y,Y=(typeof C.o["html-mode"]!==ZC._[31]&&(y=ZC._b_(C.o["html-mode"])),[C.AN]),L=(y||(Y=C.AN.split(/<br>|<br\/>|<br \/>|\n/)),C.IP||C.Z.parentNode);switch(A+(c=y&&!H&&"svg"===A&&"0"===c?"0html":c)){case"canvas0":case"vml0":case"svg0html":if(i=1,!y)switch(C.K3){case"middle":i+=(C.F-C.KG)/2;break;case"bottom":i+=C.F-C.KG}var G=ZC.Q.I2({id:C.K,cls:C.GN,tl:ZC._x_(C.iY+C.BJ)+"/"+ZC._x_(C.iX+C.BK),wh:C.I+"/"+C.F,position:"absolute",padding:0,margin:0,overflow:y?"visible":"hidden",textAlign:C.OF});y&&(L=H||A+c!=="svg0html"?L:ZC.AL(C.G.K+"-top")).appendChild(G),ZC.Q.I2({id:C.K+"-t",cls:""!==C.GN?C.GN+"-t":"",p:G,width:C.I-C.ER-C.FO,height:y?null:C.KG-C.FJ-C.FX,tl:i+"/0",html:C.AN+"",position:"absolute",whiteSpace:"nowrap",opacity:C.V1,color:C.C2,fontWeight:C.sFontWeight,fontStyle:C.N3?"oblique":"normal",textDecoration:C.KE,fontSize:C.DI,fontFamily:C.GJ,marginTop:C.FJ,marginRight:C.FO,marginBottom:C.FX,marginLeft:C.ER,verticalAlign:C.K3,textAlign:C.OF,lineHeight:-1===C.FL?"125%":C.FL+"px",rtl:C.bRTL,padding:0}),C.E["css-display"]&&(G.style.display=C.E["css-display"],C.E["css-display"]=null),H&&C.G&&C.G.A7&&(C.o[ZC._[19]]||C.o[ZC._[20]]||(X=ZC.A3("#"+C.K+"-t"),"canvas"===A&&(ZC.AL(C.G.K+"-tooltip-c").width=X.width()+C.ER+C.FO,ZC.AL(C.G.K+"-tooltip-c").height=X.height()+C.FJ+C.FX),C.G.A7.clear(),C.I=X.width()+C.ER+C.FO,C.F=X.height()+C.FJ+C.FX,C.paint()));break;case"canvas":var X=!1;if(ZC.A3.browser.opera&&C.AA%90==0&&0!==C.AA&&(C.AA+=.5,X=!0),Z=C.Z.getContext("2d"),!zingchart.DEV.CACHECANVASTEXT||ZC.CanvasCache||(ZC.CanvasCache={}),!zingchart.DEV.CACHECANVASTEXT||zingchart.DEV.CACHECANVASTEXT&&!ZC.CanvasCache[C.K]){for(zingchart.DEV.CACHECANVASTEXT&&(ZC.CanvasCache[C.K]=document.createElement("canvas"),ZC.CanvasCache[C.K].width=C.NM,ZC.CanvasCache[C.K].height=C.KG),h=-1===C.FL?0:ZC._x_(C.FL-1.25*C.DI)/2,n=0,a=Y.length;n<a;n++)if(""!==ZC.GY(Y[n])){switch(e=1===a?C.NM:C.cwidth(Y[n])+C.FO+C.ER,u=-1===(p=Y[n]).indexOf("<")?p:p.replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,""),i=t=0,C.OF){case"center":t+=(C.I-e)/2;break;case"right":t+=C.I-e}switch(C.K3){case"middle":i+=(C.F-C.KG)/2;break;case"bottom":i+=C.F-C.KG}if(_=0,p!==u){for(;f=/<(.+?)>(.*?)<\/(.+?)>/.exec(p);){switch(B=g="",(w=/(.+?)style=(.+?)(\'|")(.*?)/.exec(f[1]))&&(B=w[2].replace(/\'|"/g,"")),f[3]){case"b":case"strong":g="font-weight:bold";break;case"i":case"em":g="font-style:italic";break;case"u":g="text-decoration:underline"}Q='[[span style="'+(""===g?"":g+";")+B+'"]]'+f[2]+"[[/span]]",p=p.replace(f[0],Q)}for(E=!1,I=0,V=(f=(p=p.replace(/\[\[/g,"<").replace(/\]\]/g,">").replace(/<span/g,"[[*]]<span").replace(/<\/span>/g,"</span>[[*]]")).split("[[*]]")).length;I<V;I++)if(""!==f[I]){if(l=C.C2,m=C.sFontWeight,D=C.N3,k=C.QR,v=C.DI,F=C.GJ,K=C.FL,z=C.KE,d=f[I],r=/<span style=(.+?)>(.+?)<\/(.+?)>/.exec(f[I]))for(d=r[2],x=0,T=(b=r[1].replace(/\'|"/g,"").split(/;|:/)).length;x<T-1;x+=2)switch(ZC.GY(b[x])){case"font-size":v=ZC._i_(ZC.GY(b[x+1]));break;case"font-family":F=ZC.GY(b[x+1]);break;case"font-weight":m=ZC.GY(b[x+1]);break;case"font-style":-1!==ZC.AV(["italic","oblique"],ZC.GY(b[x+1]))&&(D=!0);break;case"text-decoration":z=ZC.GY(b[x+1]);break;case"line-height":K=ZC._i_(ZC.GY(b[x+1]));break;case"color":l=ZC.AO.GD(ZC.GY(b[x+1]))}0===n&&(h=-1===K?0:ZC._x_(K-1.25*v)/2);var J={idx:n,ctx:Z,i:D,fw:m,fs:v,lh:K,ff:F,c:l,t:d,dx:t,dy:i};J.dy+=ZC._x_(h),J.dy+=E||C.isBold(m)||k?2:0,C.paintCANVASText(J),E=D,_++,t+=ZC.Q.A48(this.G.K,d,F,v,m,K)}null!==ZC._n_(K)&&null!==ZC._n_(v)&&(h+=-1===K?1.25*v:K)}else C.paintCANVASText({idx:n,ctx:Z,i:C.N3,fw:C.sFontWeight,fs:C.DI,lh:C.FL,ff:C.GJ,c:C.C2,t:Y[n],dx:t,dy:i+h}),h+=-1===C.FL?1.25*C.DI:C.FL}}else Z.drawImage(ZC.CanvasCache[C.K],C.iX+C.BK,C.iY+C.BJ);X&&(C.AA-=.5);break;case"vml":switch(i=0,C.K3){case"top":i-=(C.F-C.KG)/2;break;case"bottom":i+=(C.F-C.KG)/2}var X=ZC.Q.F8("zcv:line"),R=C.iX+C.BK+C.I/2,U=C.iY+C.BJ+C.F/2,W=ZC.EF(C.AA)*(C.I-C.ER-C.FO)/2,j=ZC.EL(C.AA)*(C.I-C.ER-C.FO)/2,q=ZC._i_(R-W-ZC.EF(90-C.AA)*i),M=ZC._i_(U-j+ZC.EL(90-C.AA)*i),R=ZC._i_(R+W-ZC.EF(90-C.AA)*i),W=ZC._i_(U+j+ZC.EL(90-C.AA)*i),U=(q===R&&(q-=.01,R+=.01),M===W&&(M-=.01,W+=.01),l=C.C2,0!==C.AA&&C.C5<1&&(l=ZC.AO.PP(l,99*(1-C.C5))),ZC.Q.G6(X,{id:C.K+"-line",from:q+"px,"+M+"px",to:R+"px,"+W+"px",fillcolor:l}),X.filled=!0,X.stroked=!1,ZC.Q.F8("zcv:path")),j=(U.setAttribute("textpathok",!0),X.appendChild(U),ZC.Q.F8("zcv:textpath")),q=C.AN.replace(/<br>|<br\/>|<br \/>/gi,"\n").replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,"");ZC.Q.G6(j,{on:!0,string:q}),ZC.Q.P9(j,{color:l,fontWeight:C.sFontWeight,fontStyle:C.N3?"oblique":"normal",textDecoration:C.KE,fontSize:C.DI+"px",fontFamily:C.GJ,"v-text-align":C.OF}),X.appendChild(j),Z.appendChild(X);break;case"svg":case"svg0":var $=C.iX+C.ER+C.BK,ee=C.iY+C.FJ+C.BJ;if(G=ZC.Q.F8("text",ZC._[36]),ZC.Q.G6(G,{x:ZC._x_($),y:ZC._x_(ee),id:C.K,"class":C.GN,opacity:C.V1}),C.E["css-display"]&&(G.style.display=C.E["css-display"],C.E["css-display"]=null),C.bRTL&&ZC.Q.G6(G,{"text-anchor":ZC.A3.browser.msie?"":"end","writing-mode":"rl",direction:"rtl","unicode-bidi":"bidi-override"}),C.A8N&&(C.G.KB.appendChild(ZC.Q.XL({id:C.K+"-clip",path:[[C.iX+C.ER+C.AU+C.BK,C.iY+C.FJ+C.AU+C.BJ].join(","),[C.iX+C.I-C.FO-C.AU+C.BK,C.iY+C.FJ+C.AU+C.BJ].join(","),[C.iX+C.I-C.FO-C.AU+C.BK,C.iY+C.F-C.FX-C.AU+C.BJ].join(","),[C.iX+C.ER+C.AU+C.BK,C.iY+C.F-C.FX-C.AU+C.BJ].join(","),[C.iX+C.ER+C.AU+C.BK,C.iY+C.FJ+C.AU+C.BJ].join(",")].join(" ")})),ZC.Q.G6(G,{"clip-path":"url(#"+C.K+"-clip)"})),C.AA%360!=0&&G.setAttribute("transform","rotate("+C.AA+" "+($+(C.I-C.ER-C.FO)/2)+" "+(ee+(C.F-C.FJ-C.FX)/2)+")"),y&&L.appendChild(G),y){ZC.Q.EW(C.K+"-float");M=ZC.Q.F8("div");ZC.Q.P9(M,{position:"absolute",left:0,top:0,width:C.I-C.ER-C.FO+"px",height:C.F-C.FJ-C.FX+"px",color:C.C2,fontSize:C.DI+"px",fontFamily:C.GJ,fontWeight:C.sFontWeight,textDecoration:C.KE,textAlign:C.OF,fontStyle:C.N3?"italic":"normal"}),M.id=C.K+"-float",M.className="zc-style zc-html-mode",M.innerHTML=Y[0],1===C.o["z-index"]?ZC.AL(C.G.K+"-top").append(M):ZC.AL(C.G.K+"-top").insertBefore(M,ZC.AL(C.G.K+"-img")),H&&C.G&&C.G.A7&&(C.o[ZC._[19]]||C.o[ZC._[20]]||(C.G.A7.clear(),M.style.width="",M.style.height="",C.I=ZC.A3(M).width()+C.ER+C.FO,C.F=ZC.A3(M).height()+C.FJ+C.FX,C.paint()))}else for(h=-1===C.FL?0:ZC._x_(C.FL-1.25*C.DI)/2,n=0,a=Y.length;n<a;n++){switch(e=1===a?C.NM:C.cwidth(Y[n])+C.FO+C.ER,u=-1===(p=Y[n]).indexOf("<")?p:p.replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,""),t=0,i=C.DI,C.OF){case"center":t=(C.I-e)/2;break;case"right":t=C.I-e}switch(C.K3){case"middle":i+=(C.F-C.KG)/2;break;case"bottom":i+=C.F-C.KG}if(_=0,p!==u){for(;f=/<(.+?)>(.*?)<\/(.+?)>/.exec(p);){switch(B=g="",(w=/(.+?)style=(.+?)(\'|")(.*?)/.exec(f[1]))&&(B=w[2].replace(/\'|"/g,"")),f[3]){case"b":case"strong":g="font-weight:bold";break;case"i":case"em":g="font-style:italic";break;case"u":g="text-decoration:underline"}Q='[[span style="'+(""===g?"":g+";")+B+'"]]'+f[2]+"[[/span]]",p=p.replace(f[0],Q)}for(E=!1,I=0,V=(f=(p=p.replace(/\[\[/g,"<").replace(/\]\]/g,">").replace(/<span/g,"[[*]]<span").replace(/<\/span>/g,"</span>[[*]]")).split("[[*]]")).length;I<V;I++)if(""!==f[I]){if(l=C.C2,m=C.sFontWeight,D=C.N3,k=C.QR,v=C.DI,F=C.GJ,z=C.KE,K=C.FL,d=f[I],r=/<span style=(.+?)>(.+?)<\/(.+?)>/.exec(f[I]))for(d=r[2],x=0,T=(b=r[1].replace(/\'|"/g,"").split(/;|:/)).length;x<T-1;x+=2)switch(ZC.GY(b[x])){case"font-size":v=ZC._i_(ZC.GY(b[x+1]));break;case"font-family":F=ZC.GY(b[x+1]);break;case"font-weight":m=ZC.GY(b[x+1]);break;case"font-style":-1!==ZC.AV(["italic","oblique"],ZC.GY(b[x+1]))&&(D=!0);break;case"text-decoration":z=ZC.GY(b[x+1]);break;case"line-height":K=ZC._i_(ZC.GY(b[x+1]));break;case"color":l=ZC.AO.GD(ZC.GY(b[x+1]))}i=v,o=ZC.Q.F8("tspan",ZC._[36]),0===_?(ZC.Q.G6(o,{x:ZC._x_($+t),y:ZC._x_(ee+i),dy:ZC._x_(h)}),h+=-1===K?1.25*v:ZC.BR(1.5*v,K)):ZC.Q.G6(o,{dx:E||C.isBold(m)||k?2:0}),ZC.Q.G6(o,{color:l,fill:l}),ZC.Q.P9(o,{fontWeight:m,fontStyle:D?"oblique":"normal",textDecoration:z,fontSize:v+"px",fontFamily:F,dominantBaseline:"auto"});var te=document.createElement("span");-1!==d.indexOf("<")||-1!==d.indexOf(">")?te.innerText=d:te.innerHTML=d,d=te.innerText||te.textContent,te=null,o.textContent=d,G.appendChild(o),E=D,_++}}else C.bRTL&&ZC.A3.browser.msie&&(t+=e-C.ER-C.FO),o=ZC.Q.F8("tspan",ZC._[36]),ZC.Q.G6(o,{x:ZC._x_($+t),y:ZC._x_(ee+i),color:C.C2,fill:C.C2,dy:ZC._x_(h)}),ZC.Q.P9(o,{fontWeight:C.sFontWeight,fontStyle:C.N3?"oblique":"normal",textDecoration:C.KE,fontSize:C.DI+"px",fontFamily:C.GJ,dominantBaseline:"auto"}),o.textContent=u,G.appendChild(o),h+=-1===C.FL?1.25*C.DI:C.FL}}y||!C.VT&&G&&L&&(C.G.G4&&(-1!==ZC.Q.TC(L).indexOf("zc-text")&&null===ZC._n_(C.G.G4[L.id])&&(C.G.G4[L.id]=document.createDocumentFragment()),C.G.G4[L.id])||L).appendChild(G)}}},paintCANVASText:function(e){var t=this,i=e.idx,n=e.ctx,a=e.i,l=e.fw,o=e.fs,r=e.ff,C=e.c,s=e.dx,A=e.dy,e=e.t;n.save(),n.globalAlpha=t.V1;n.font=a=(a?"italic":"normal")+" normal "+l+" "+o+"px "+r,n.fillStyle=C,n.textAlign="left",n.textBaseline="alphabetic",n.translate(t.iX+t.BK,t.iY+t.BJ),0!==t.AA&&(n.translate(t.I/2,t.F/2),n.rotate(ZC.TD(t.AA)),n.translate(-t.I/2,-t.F/2)),n.translate(t.ER,t.FJ+o),n.translate(s,A),n.fillText(e,0,0),zingchart.DEV.CACHECANVASTEXT&&((l=ZC.CanvasCache[t.K].getContext("2d")).font=a,l.fillStyle=C,l.textAlign="left",l.textBaseline="alphabetic",l.fillText(e,t.ER,t.FJ+o+1.25*i*o)),n.restore()},EO:function(e){var t,i=this;ZC.canvas&&"canvas"===i.G.AB&&(e=e||ZC.AL(i.G.K+"-textprint-c"),zingchart.CANVASTEXT||i.AA%360==0&&(t=i.Z,i.Z=e,i.VT=!0,e=i.G.AB,i.G.AB="canvas",i.paint(),i.VT=!1,i.G.AB=e,i.Z=t))}}),Q9=(ZC.DQ=ZC.HU.CD(DQ),{$i:function(e){this.b(e);e=this;e.CL="json",e.O1={graphset:!0,graph:!0,"objects-bottom":!0,"objects-top":!0,maps:!0,plotarea:!0,plots:!0,guide:!0,"static":!0,"value-box":!0},e.bA11y=!1,e.NV="",e.ZA=!1,e.UG="en_us",e.SB=null,e.JO="",e.UE=!1,e.RV={},e.N5="",e.ADI={},e.QO="",e.EX="",e.MF={},e.HI=null,e.AG=[],e.L2="",e.A7=null,e.H6=null,e.D8=null,e.B6=new ZC.AAY(e),e.QP="",e.KR=null,e.NU=[null,null,null,null],e.OC=!1,e.N4="x",e.KD=!1,e.TM=!1,e.ABG=!1,e.A3A=!1,e.GP=!1,e.A9D={},e.NT=null,e.QS={},e.LV=!1,e.QQ=!1,e.AD1=null,e.SV=[],e.O={},e.N0=null,e.DJ=null,e.UH=0,e.A20=0,e.A4E=1,e.MK=null,e.SC="",e.AAS="F*nStrlng4Cu$tOmLlc9nc9!",e.M7="",e.A17={},e.A0B=!1,e.AB="",e.KB=null,e.ZU=!1,e.QT=["",""],e.LA=0,e.KQ=[],e.A7P=0,e.A7O=0,e.A9C=!1,e.A1D="",e.A6H=!0,e.IH=null,e.QV=[],e.NX=0,e.AAM=!1,e.SE={},e.A1I=!1,e.G4=zingchart.DEV.DOMFRAGMENTS?{}:null,e.A2K=!1,e.SY=[]},clearLabelBoxes:function(e){if(e)for(var t=this.SY.length-1;0<=t;t--)this.SY[t].type===e&&this.SY.splice(t,1);else this.SY=[]},usc:function(){return-1!==ZC.AV(this.KQ,ZC._[44])},mc:function(e){return e=e||"",ZC.AL(this.K+"-main-c"+(""===e?e:"-"+e))},hideCM:function(){var e;(e=ZC.AL(this.K+"-menu"))&&(e.style.display="none"),this.A9C=!1},ZY:function(){for(var e=this,t=e.NU.length,i=0;i<t;i++)if(null!==ZC._n_(e.NU[i])){switch(e.AB){case"svg":ZC.CO.WG(e.NU[i].ctx,e.NU[i].style,e.NU[i].path.join(" "),e.NU[i].filled);break;case"vml":ZC.CO.WF(e.NU[i].ctx,e.NU[i].style,e.NU[i].path.join(" "),e.NU[i].filled)}e.NU[i]=null}},A93:function(){var e,t=this,i=(ZC.LICENSE=ZC.LICENSE||zingchart.LICENSE||"",ZC.BUILDCODE=ZC.BUILDCODE||zingchart.BUILDCODE||"",ZC.LICENSEKEY=ZC.LICENSEKEY||zingchart.LICENSEKEY||"",[e="file:"===document.location.protocol?ZC.HOSTNAME||"":document.location.hostname]),n=e.split(".");for("www"===n[0]?i.push(e.replace("www.","")):i.push("www."+e),C=0;C<=n.length-2;C++){for(var a="*",l=C;l<n.length;l++)a+="."+n[l];i.push(a)}function o(e){ZC.NOABOUT&&ZC.NOABOUT instanceof Array&&(e=ZC.XR.md5(ZC.AA2(ZC.AA3(e))),-1!==ZC.AV(ZC.NOABOUT,e))&&(t.ABG=!0)}if(-1!==ZC.AV(i,"localhost")||-1!==ZC.AV(i,"127.0.0.1"))t.TM=!0,t.A3A=!0,o("localhost");else{for(var r=[["window.AC.Core.zflags","Q^fhx]XKoJJLnmLPUYiWUuQKAOGnuAIWrSN_ZIj_LYvS`jRkihLOSfysvRQTBtQOUUO^`SdgZUHWKDVQ[xST_SWRLyFKogwOclSB"],["window.jsNorthNine.AppIdentity","09Vczmfsf/Q5G8dRWLio+7PVG0KjUnLRqnRSPOeqf6gu/hpxK6BeHRUtuasojuRTPFQYdzNGN57nxLviTf1hV4lwaFjtbv/tA1g0W0k7AKV1g1ouow1nG/+EJLl0khmPDSKBJa8fkP70KLNtrxt5pE2yjx+IvQ40ajd/03rqqtR="]],C=0,s=r.length;C<s;C++)try{if(ZC.eval(r[C][0])===ZC.AA3(r[C][1])){t.TM=!0;break}}catch(Z){}for(C=0,s=i.length;C<s;C++){var A=ZC.XR.md5(ZC.AA2(ZC.AA3(i[C])));ZC.LICENSE instanceof Array&&-1!==ZC.AV(ZC.LICENSE,A)&&(t.TM=!0,o(A))}ZC.BUILDCODE instanceof Array&&2===ZC.BUILDCODE.length&&(e=(e=ZC.AD6(t.AAS)).replace("O","0"),t.SC=ZC.AC7(ZC.BUILDCODE[0],e),t.SC===ZC.BUILDCODE[1])&&(t.TM=!0,t.A3A=!0,o(ZC.BUILDCODE[0]))}},A47:function(){var e,a=this;if(null!==a.KR)ZC._todash_(a.KR),a.load();else if(null===ZC._n_(ZC.cache.data["defaults-"+a.QP])){var t=["query-string"===a.N5?"zcrandom="+Math.random():"",zingchart.ZCOUTPUT?"zcoutput="+a.AB:""].join("&");ZC.A3.ajax({type:"GET",url:a.QP,dataType:"text",beforeSend:function(e){a.RV.defaults||"http-headers"!==a.N5||e.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:t,error:function(e,t,i,n){return a.O5({name:ZC._[63],message:"Resource not found ("+n+")"},ZC._[64]),!1},success:function(e){var t;try{t=JSON.parse(e),ZC.cache.data["defaults-"+a.QP]=e}catch(i){return a.O5(i,"JSON parser"),!1}a.KR=t,ZC._todash_(a.KR),a.load()}})}else{try{e=JSON.parse(ZC.cache.data["defaults-"+a.QP])}catch(i){return a.O5(i,"JSON parser"),!1}a.KR=e,ZC._todash_(a.KR),a.load()}},load:function(t,e){var i,a=this;a.M7="load",""!==(e=e||a.QO)&&0!==e.indexOf("javascript:")?null===ZC._n_(ZC.cache.data["data-"+e])?(i=["query-string"===a.N5?"zcrandom="+Math.random():"",zingchart.ZCOUTPUT?"zcoutput="+a.AB:""].join("&"),ZC.A3.ajax({type:"GET",url:e,dataType:"text",beforeSend:function(e){a.RV.data||"http-headers"!==a.N5||e.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:i,error:function(e,t,i,n){return a.O5({name:ZC._[63],message:"Resource not found ("+n+")"},ZC._[64]),!1},success:function(e){a.data_(t,e)}})):(a.data_(t,ZC.cache.data["data-"+e]),ZC.cache.data["data-"+e]=null):""!==a.EX?a.data_(t,a.EX):null!==a.MF&&(a.A7A?a.MF=JSON.parse(JSON.stringify(a.A7A)):a.A7A=JSON.parse(JSON.stringify(a.MF)),a.data_(t,a.MF))},data_:function(t,e){var i=this;ZC.TS[i.K]=(new Date).getTime(),ZC.AO.A8J("dataload",i)?ZC.AO.C0("dataload",i,i.FH(),e,function(e){i.load_(t,e)}):i.load_(t,e)},A5I:function(e){var t,i;if(!zingchart.DEV.RESOURCES)return[];var n=[];if((e=e||this.o).graphset)for(t=0,i=e.graphset.length;t<i;t++){var a=e.graphset[t].type||"null";if(-1===ZC.AV(ZC.CHARTS,a)){for(var l in"3d"===a.substring(a.length-2)&&(a=a.substring(0,a.length-2)),ZC.EQUIV)ZC.EQUIV.hasOwnProperty(l)&&-1!==ZC.AV(ZC.EQUIV[l],a)&&(a=l);zingchart.loadModules(a),n.push(a)}}for(this.ACR(e),t=0,i=ZC.RM.length;t<i;t++)""!==ZC.GY(ZC.RM[t])&&-1===ZC.AV(ZC.WJ,ZC.GY(ZC.RM[t]))&&n.push(ZC.GY(ZC.RM[t]));return n},ACR:function(e){e||this.o},load_:function(JM,TW){var s=this,H,DM=(s.E.rawsource=zingchart.DEV.KEEPSOURCE?TW:"N/A",null);if("string"==typeof TW)try{DM=JSON.parse(TW)}catch(JC){try{DM=eval("("+TW+")")}catch(JC){return s.O5(JC,"JSON parser"),!1}}else DM=TW;null===ZC._n_(DM[ZC._[16]])&&(DM={graphset:[DM]}),s.E.source="N/A",zingchart.DEV.KEEPSOURCE&&(s.E.source=ZC.GY(JSON.stringify(DM))),zingchart.A1S(s,s.A5I(DM),function(){DM=ZC.AO.C0("dataparse",s,s.FH(),DM),zingchart.A1S(s,s.A5I(DM),function(){var e,t;ZC.AO.C0("modulesready",s,{id:s.K}),null===ZC._n_(JM)?(s.XS(DM),s.o=DM,s.ZA?(s.parse(),s.paint()):s.QK(function(){s.parse(),s.paint()})):null!==(e=s.P0(JM))&&null!==ZC._n_(H=DM[ZC._[16]])&&((t=1<H.length?H[e.L]:H[0]).id||(t.id=e.o.id||""),s.o[ZC._[16]][e.L]=t,s.QK(function(){s.parse(JM),s.AG[e.L].paint()}))})})},XS:function(DM){var s=this,H,i,A6,j,JD,A6L;for(null===ZC._n_(DM[ZC._[16]])&&(DM={graphset:[DM]}),1===DM[ZC._[16]].length&&null===ZC._n_(DM[ZC._[16]][0])&&(DM[ZC._[16]]=[{type:"null"}]),i=0,A6=DM[ZC._[16]].length;i<A6;i++)if(null!==ZC._n_(DM[ZC._[16]][i])){if(null!==ZC._n_(H=DM[ZC._[16]][i].shapes)){var FI=[];for(DM[ZC._[16]][i][ZC._[10]]=DM[ZC._[16]][i][ZC._[10]]||[],j=0,JD=H.length;j<JD;j++)if(H[j].generated&&H[j]["map-item"]||FI.push(H[j]),null!==ZC._n_(H[j].type)&&0===H[j].type.indexOf("zingchart."))try{var M1=H[j].options||{},ED=H[j].type+"."+(M1.name||""),A2X=(M1[ZC._[3]]=i,eval(ED).call(s,M1,DM,H[j])),A3R;for(A3R in A2X)A2X.hasOwnProperty(A3R)&&("label"===A2X[A3R].objtype?DM[ZC._[16]][i][ZC._[10]]:FI).push(A2X[A3R])}catch(e){}DM[ZC._[16]][i].shapes=FI}if(null!==ZC._n_(A6L=DM[ZC._[16]][i].widgets))for(var AAX=s.A5J(DM,i),k=0;k<A6L.length;k++){var A2T=A6L[k];if(null!==ZC._n_(A2T.type)&&null!==ZC._n_(zingchart.widgets[A2T.type])&&"function"==typeof zingchart.widgets[A2T.type].parse)try{var BI={},o=(ZC._cp_(A2T,BI),BI.graph=AAX.graph,BI.loader={id:s.K,width:s.I,height:s.F},zingchart.widgets[A2T.type].parse.call(s,BI));if(null!==ZC._n_(H=o.graphs))for(j=0;j<H.length;j++)DM[ZC._[16]].push({}),ZC._cp_(H[j],DM[ZC._[16]][DM[ZC._[16]].length-1]);if(null!==ZC._n_(H=o[ZC._[10]]))for(null===ZC._n_(DM[ZC._[16]][i][ZC._[10]])&&(DM[ZC._[16]][i][ZC._[10]]=[]),j=0;j<H.length;j++)DM[ZC._[16]][i][ZC._[10]].push(H[j]);if(null!==ZC._n_(H=o.shapes))for(null===ZC._n_(DM[ZC._[16]][i].shapes)&&(DM[ZC._[16]][i].shapes=[]),j=0;j<H.length;j++)DM[ZC._[16]][i].shapes.push(H[j])}catch(e){}}}},AAI:function(e,t){var i=this;switch(e){case"line":return new ZC.A6E(i);case"area":return new ZC.A6F(i);case"vline":return new ZC.A9X(i);case"varea":return new ZC.A9Y(i);case"bar":case"vbar":case"column":return new ZC.A2M(i);case"hbar":return new ZC.A2N(i);case"mixed":case"hmixed":case"mixed3d":for(var n=!1,a=i.o[ZC._[16]][t][ZC._[11]],l=0,o=a.length;l<o;l++)a[l]&&a[l].type&&-1!==a[l].type.indexOf("3d")&&(n=!0);return new(n||i.o[ZC._[16]][t].plot&&i.o[ZC._[16]][t].type&&i.o[ZC._[16]][t].plot&&i.o[ZC._[16]][t].plot.type&&-1!==i.o[ZC._[16]][t].plot.type.indexOf("3d")?ZC.A2Z:"mixed"===e?ZC.A57:ZC.A8R)(i);case"scatter":return new ZC.A7V(i);case"hscatter":return new ZC.A7B(i);case"bubble":return new ZC.A8S(i);case"hbubble":return new ZC.A7W(i);case"ring":case"pie":return new ZC.A3U(i);case"nestedpie":return new ZC.A6P(i);case"radar":case"polar":return new ZC.A9S(i);case"venn":return new ZC.AAG(i);case"bullet":case"vbullet":return new ZC.A7Z(i);case"hbullet":return new ZC.A80(i);case"funnel":case"vfunnel":return new ZC.A82(i);case"hfunnel":return new ZC.A83(i);case"heatmap":case"piano":return new ZC.A9T(i);case"stock":return new ZC.A9U(i);case"range":return new ZC.A9W(i);case"vrange":return new ZC.ZCVRangeGraph(i);case"gauge":return new ZC.A9V(i);case"line3d":return new ZC.A8W(i);case"area3d":return new ZC.A8X(i);case"ring3d":case"pie3d":return new ZC.A5C(i);case"bar3d":case"vbar3d":return new ZC.A8V(i);case"hbar3d":return new ZC.A8U(i);case"null3d":return new ZC.A90(i);default:return new ZC.AAF(i)}},P0:function(e){for(var t=this,i=0,n=t.AG.length;i<n;i++)if(t.AG[i].K===t.K+"-graph-"+e||t.AG[i].K===t.K+"-graph-id"+e||t.AG[i].K===e||i===e)return t.AG[i];return null},A5D:function(e,t){for(var i=this,n=ZC.A3("#"+i.K+("svg"===i.AB?"-top":"-main")),a=ZC._tx_(i.K),l=(e-=n.offset().left,t-=n.offset().top,null),o=0,r=i.AG.length;o<r;o++)ZC.DS(e,i.AG[o].iX,i.AG[o].iX+i.AG[o].I*a[0])&&ZC.DS(t,i.AG[o].iY,i.AG[o].iY+i.AG[o].F*a[1])&&(l=i.AG[o]);return l},AAA:function(e){var t,i=this;if(typeof i.E.themesloaded===ZC._[31]){typeof e===ZC._[31]&&(e=!1),i.assign_a([["theme","L2"]]),i.o[ZC._[16]]&&1===i.o[ZC._[16]].length&&null!==ZC._n_(t=i.o[ZC._[16]][0].theme)&&(i.L2=t),""===i.L2&&(i.L2="light"),i.L2=String(i.L2).replace("zingchart","classic");for(var n=i.L2.split(/\s+|;|,/),a=0,l=n.length;a<l;a++)i.B6.AB0(n[a]);if(i.KR instanceof Array)for(a=0;a<i.KR.length;a++)i.B6.A47(i.KR[a]);else i.KR instanceof Object&&i.B6.A47(i.KR);ZC.mobile&&i.B6.AB0("mobile"),e||(i.E.themesloaded=!0)}},parse:function(e){var t,i,n,a=this,l=(a.N4="x",a.E.json=ZC.GY(JSON.stringify(a.o)),ZC._cp_(a.o.layers,a.O1),1===a.o[ZC._[16]].length&&ZC._cp_(a.o[ZC._[16]][0].layers,a.O1),a.FH());if(null!==ZC._n_(e)&&(l[ZC._[3]]=e),ZC.AO.C0("dataready",a,l),a.M7="parse",a.QT[1]=a.QT[0],a.QT[0]="",a.QT[0]+=a.I+":"+a.F+":",null!==ZC._n_(t=a.o[ZC._[16]]))for(a.QT[0]+=t.length+":",p=0;p<t.length;p++)a.QT[0]+=(t[p].type||"")+":",a.QT[0]+=(t[p].x||"")+":"+(t[p].y||"")+":"+(t[p][ZC._[19]]||"")+":"+(t[p][ZC._[20]]||"")+":",null!==ZC._n_(t[p][ZC._[11]])&&(a.QT[0]+=t[p][ZC._[11]].length+":");if(ZC.AL(a.K+"-main-c")&&a.clear(e,!1),typeof ZC.A56!==ZC._[31]&&(a.H6=new ZC.A56(a)),a.YD("layout","N4"),null===ZC._n_(e)){a.AAA(),a.B6.B6["font-family"]&&(zingchart.FONTFAMILY=a.B6.B6["font-family"]);l=!!a.o.gui;if(a.B6.load(a.o,"loader",!1,!0),a.assign_a([["gui","DJ"],["globals","SB"]]),a.o[ZC._[16]]&&1===a.o[ZC._[16]].length&&(_=a.o[ZC._[16]][0],null!==ZC._n_(t=_.gui)&&(a.DJ=t),null!==ZC._n_(t=_.globals))&&(a.SB=t),ZC._todash_(a.SB),ZC._cp_(a.B6.B6.root.gui,a.DJ,!1,!0,!0),a.DJ.behaviors)for(p=a.DJ.behaviors.length-1;0<=p;p--)for(n=0;n<p;n++)if(a.DJ.behaviors[p].id===a.DJ.behaviors[n].id){a.DJ.behaviors.splice(p,1);break}if(l||delete a.o.gui,ZC._todash_(a.DJ),a.O={},null!==ZC._n_(t=a.o.style))for(i in t)"url"!==i&&(a.O[i]=t[i]);if(a.o[ZC._[16]]&&1===a.o[ZC._[16]].length&&(_=a.o[ZC._[16]][0],null!==ZC._n_(t=_.style)))for(i in t)"url"!==i&&(a.O[i]=t[i]);ZC._todash_(a.O),a.O1[ZC._[16]]&&a.b(),a.assign_a([["locale","UG"],["set-locale","UG"],["layout","N4"],["h-space","A7P","i"],["v-space","A7O","i"],["flat","KD","b"],["show-progress","A0B","b"]]),a.o[ZC._[16]]&&1===a.o[ZC._[16]].length&&(_=a.o[ZC._[16]][0],null!==ZC._n_(t=_.locale)&&(a.UG=t),null!==ZC._n_(t=_["set-locale"])&&(a.UG=t),null!==ZC._n_(t=_.flat)&&(a.KD=ZC._b_(t)),null!==ZC._n_(t=_["show-progress"]))&&(a.A0B=ZC._b_(t)),null!==ZC._n_(t=zingchart.i18n[a.UG])&&(ZC.HG=t),a.AG=[]}var o,r,C=0,s=0,A=a.I,Z=a.F,c=(null===ZC._n_(a.o.margin)&&null===ZC._n_(a.o[ZC._[57]])&&null===ZC._n_(a.o[ZC._[58]])&&null===ZC._n_(a.o[ZC._[59]])&&null===ZC._n_(a.o[ZC._[60]])||((l=new ZC.HU(a)).append(a.o,!1,!1),l.parse(),C=l.E0,s=l.EB,A=A-l.E0-l.EA,Z=Z-l.EB-l.DW),a.P0(e));if(null!==ZC._n_(o=a.o[ZC._[16]])){for(var h=0,p=0,u=o.length;p<u;p++)r=0,null!==ZC._n_(t=o[p].page)&&(r=ZC._i_(t)),h+=a.LA===r?1:0;var _=ZC.AQ.A2F(a.N4,h),d=ZC._i_(_[0]),f=ZC._i_(_[1]),g=0,B=0,b=0;for(p=0,u=o.length;p<u;p++){if(r=0,null===c&&null!==ZC._n_(t=o[p].page)&&(r=ZC._i_(t)),(null===c||b===c.L)&&a.LA===r){if(a.AG[b]=a.AAI(o[p].type||"null",p),a.AG[b].NY=a.AG[b].AF+"graph",a.B6.load(a.AG[b].o,"graph"),a.B6.load(a.AG[b].o,o[p].type||"null"),a.AG[b].append(a.o.graph),a.AG[b].append(o[p]),a.AG[b].L=b,null===ZC._n_(o[b].id)||""===o[b].id?a.AG[b].K=a.K+"-graph-id"+b:a.AG[b].K=a.K+"-graph-"+o[p].id,0<o.length){for(var E=0,m=0,D=ZC._i_((A-(f+1)*a.A7P)/f),v=ZC._i_((Z-(d+1)*a.A7O)/d),F=["x","y",ZC._[19],ZC._[20]],K=0;K<F.length;K++)null!==ZC._n_(a.E["graph-"+b+"-"+F[K]])&&(delete a.E["graph-"+b+"-"+F[K]],delete a.AG[b].o[F[K]]);null===ZC._n_(a.AG[b].o.x)?a.E["graph-"+b+"-x"]=a.AG[b].o.x=ZC._i_(a.iX+(g+1)*a.A7P+g*D)+C:(E=ZC.IO(a.AG[b].o.x))<1&&(E=ZC._i_(a.I*E)),null===ZC._n_(a.AG[b].o.y)?a.E["graph-"+b+"-y"]=a.AG[b].o.y=ZC._i_(a.iY+(B+1)*a.A7O+B*v)+s:(m=ZC.IO(a.AG[b].o.y))<1&&(m=ZC._i_(a.F*m)),null===ZC._n_(a.AG[b].o[ZC._[19]])&&(a.E["graph-"+b+"-width"]=a.AG[b].o[ZC._[19]]=Math.max(D,D-E)),null===ZC._n_(a.AG[b].o[ZC._[20]])&&(a.E["graph-"+b+"-height"]=a.AG[b].o[ZC._[20]]=Math.max(v,v-m))}a.AG[b].parse()}a.LA===r&&(b++,++g===f)&&(B++,g=0)}}null===ZC._n_(e)&&null!==ZC._n_(t=a.o.refresh)&&(a.HI={type:"full",interval:10},ZC._cp_(t,a.HI))},A46:function(e,t){t=t||"";var i,n=[];for(i in e)if("object"==typeof e[i])for(var a=this.A46(e[i],t+"."+i),l=0,o=a.length;l<o;l++)-1===ZC.AV(n,a[l])&&n.push(a[l]);else{var r=t+"."+i;"background-image"!==i&&"backgroundImage"!==i||""===e[i]||"zc."===e[i].substring(0,3)||(!ZC.ie67&&ZC.PATTERNS&&"PATTERN_"===e[i].substring(0,8)&&(e[i]=ZC.PATTERNS[e[i].substring(8)]),"!"===e[i].charAt(0)&&(e[i]=e[i].substring(1),this.E["safe-images"]=this.E["safe-images"]||[],this.E["safe-images"].push(e[i])),n.push([e[i],"image"])),"src"===i&&""!==e[i]&&"zc."!==e[i].substring(0,3)&&-1!==r.indexOf(".images.")&&(!ZC.ie67&&ZC.PATTERNS&&"PATTERN_"===e[i].substring(0,8)&&(e[i]=ZC.PATTERNS[e[i].substring(8)]),"!"===e[i].charAt(0)&&(e[i]=e[i].substring(1),this.E["safe-images"]=this.E["safe-images"]||[],this.E["safe-images"].push(e[i])),n.push([e[i],"image"])),".csv"===r.substr(r.length-4,4)&&"string"==typeof e[i]&&n.push([e[i],"csv"]),"url"===i&&(-1!==r.indexOf(".style.")&&n.push([e[i],"css"]),-1!==r.indexOf(".csv.")&&n.push([e[i],"csv"]),-1!==r.indexOf(".marker."))&&n.push([e[i],"image"]),"string"==typeof e[i]&&"url"!==i&&(0===e[i].indexOf("url:")&&i===ZC._[5]||0===e[i].indexOf("javascript:"))&&-1===ZC.AV(["format","text","tooltipText"],ZC.EH(i))&&n.push([e[i],"data"])}return n},QK:function(JF){var s=this,J8,UH,L6,A1M,C4;function A32(i){if(!(i>=J8.length)){var EX,ML,KJ=J8[i][0],A0K=J8[i][1];if("url:"===KJ.substring(0,4)){var QO=KJ.substring(4);s.QS["url:"+QO]="[]";try{EX=["query-string"===s.N5?"zcrandom="+Math.random():""].join("&"),ZC.A3.ajax({type:"GET",url:QO,beforeSend:function(e){s.RV.data||"http-headers"!==s.N5||e.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EX,error:function(e,t,i,n){return s.O5({name:ZC._[63],message:"Resource not found ("+n+")"},ZC._[64]),!1},success:function(e,t,i,n){s.QS["url:"+n]=e,UH++}})}catch(JC){s.O5(JC,ZC._[64])}}else if("javascript:"===KJ.substring(0,11))if("zc.ext.load"===s.QS[KJ]){s.QS[KJ]="[]";var E4=ZC.AO.AAJ(KJ.substring(11)),N={id:s.K,resource:KJ,callback:function(e){s.QS[KJ]=e,UH++}},A06=E4[0];N.arguments=E4[1];try{var ZH=eval(A06).call(s,N);null!==ZC._n_(ZH)&&ZH&&(s.QS[KJ]=ZH,UH++)}catch(JC){s.O5(JC,"JavaScript data loader")}}else UH++;else"image"===A0K?(L6[KJ]=new Image,L6[KJ].crossOrigin="anonymous",L6[KJ].onload=function(){UH++},L6[KJ].onerror=function(){var e=ZC._b_(s.o.strict);if(ZC.IMG404.push(KJ),e)return s.O5({name:ZC._[63],message:"Resource not found ("+this.src+")"},"Resource loader (image)"),!1;this.src=ZC.BLANK,UH++},L6[KJ].src=KJ,ZC.cache.data[KJ]=L6[KJ]):"css"===A0K?(EX=["query-string"===s.N5?"zcrandom="+Math.random():""].join("&"),ZC.A3.ajax({type:"GET",url:KJ,beforeSend:function(e){s.RV.css||"http-headers"!==s.N5||e.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EX,error:function(e,t,i){return s.O5(i,"Resource loader"),!1},success:function(e){for(var t={},i=e.match(/[a-zA-Z0-9\.\#\-](.+?)\{((.|\s)+?)\}/gi),n=0,a=i.length;n<a;n++){ML=i[n].split("{");var l=ZC.GY(ML[0]),o=l.split(/\s+/);if(1===o.length||2===o.length&&ZC.GY(o[0])==="#"+s.K){t[l=ZC.GY(1===o.length?o[0]:o[1])]||(t[l]={});for(var r=0,C=(ML=ML[1].replace("}","").split(";")).length;r<C;r++){var A=ML[r].split(":");2===A.length&&(t[l][ZC.GY(A[0])]=""+ZC.GY(A[1]))}}}null!==ZC._n_(s.o.style)?ZC._cp_(t,s.o.style):null!==ZC._n_(s.o[ZC._[16]])&&1===s.o[ZC._[16]].length&&s.o[ZC._[16]][0].style&&ZC._cp_(t,s.o[ZC._[16]][0].style),UH++}})):"csv"===A0K&&(EX=["query-string"===s.N5?"zcrandom="+Math.random():""].join("&"),ZC.A3.ajax({type:"GET",url:KJ,beforeSend:function(e){s.RV.csv||"http-headers"!==s.N5||e.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EX,error:function(e,t,i){return s.O5(i,"Resource loader"),!1},success:function(e,t,i,n){s.A9D[n]=e,UH++}}))}}zingchart.DEV.RESOURCES?(J8=s.A46(s.o).concat(s.A46(s.KR)),0===J8.length?zingchart.Y1[s.K]&&JF():(UH=0,L6={},A1M=0,s.E["safe-images"]=s.E["safe-images"]||[],C4=window.setInterval(function(){if(UH>=J8.length){for(var e in window.clearInterval(C4),s.ABO(s.o),L6)if(0!==e.indexOf("data:")&&-1===ZC.AV(s.E["safe-images"],e))try{var t,i;0<L6[e].width&&0<L6[e].height&&((t=document.createElement("canvas")).width=L6[e].width,t.height=L6[e].height,t.getContext("2d").drawImage(L6[e],0,0),i=t.toDataURL("image/png"),L6[e].onload=null,L6[e].onerror=null,L6[e].src=i,ZC.cache.data[e]=L6[e])}catch(n){}window.setTimeout(function(){zingchart.Y1[s.K]&&JF()},1)}else A32(++A1M)},20),A32(A1M))):zingchart.Y1[s.K]&&JF()},ABO:function(BZ){var s=this,p;for(p in BZ)if("object"==typeof BZ[p])s.ABO(BZ[p]);else for(var EX in s.QS)EX===BZ[p]&&(BZ[p]=eval(s.QS[EX]))},resize:function(e){for(var t,i,n=this,a=0;a<n.AG.length;a++)null!==ZC._n_(ZC.REFRESH_TICK[n.AG[a].K])&&clearInterval(ZC.REFRESH_TICK[n.AG[a].K]);if(n.M7="",n.E.resize=!0,n.E.wh=n.I+"/"+n.F,n.o[ZC._[16]])if(n.A1I)zingchart.exec(n.K,"destroy"),zingchart.render(zingchart.params[n.K]);else{for(typeof e===ZC._[31]&&(e=!1),a=0;a<n.AG.length;a++)null!==ZC._n_(n.H6)&&n.H6.IX&&n.H6.TZ(null),null!==ZC._n_(n.AG[a].HO)&&n.AG[a].HO.IX&&n.AG[a].HO.MB(null),null!==ZC._n_(n.AG[a].HY)&&n.AG[a].HY.IX&&n.AG[a].HY.MB(null),null!==ZC._n_(n.AG[a].B7)&&n.AG[a].B7.A3M&&n.AG[a].B7.W6();if(ZC.AO.C0("resize",n,n.FH()),!(e=!1)){for(a=0;a<n.AG.length;a++)for(i=0;i<n.AG[a].AY.A4.length;i++)n.E["g-"+a+"-p-"+i+".visible"]=n.AG[a].E["plot"+i+".visible"];for(a=0;a<n.AG.length;a++)n.E["g-"+n.AG[a].L+"-selection"]=JSON.stringify(n.AG[a].CF);for(var l=n.o[ZC._[16]],o=[ZC._[10],"shapes"],r=0,C=l.length;r<C;r++)for(var s=0;s<o.length;s++){var A=o[s],Z=[];if(null!==ZC._n_(l[r][A])){for(a=0,t=l[r][A].length;a<t;a++)l[r][A][a].generated||Z.push(l[r][A][a]);l[r][A]=Z}}if(n.XS(n.o),n.o=ZC.AO.C0("dataparse",n,n.FH(),n.o),ZC.A3("#"+n.K+"-top").width(n.I).height(n.F),n.E["from-api"]&&(ZC.A3("#"+n.K+"-wrapper").width(n.I).height(n.F),delete n.E["from-api"]),1===(e=ZC.A3("#"+n.K+"-img")).length&&e.width(n.I).height(n.F).css("clip","rect(1px,"+(n.I-1)+"px,"+(n.F-1)+"px,1px)"),"svg"===n.AB&&(n.KB.setAttribute(ZC._[19],n.I+"px"),n.KB.setAttribute(ZC._[20],n.F+"px"),n.KB.setAttribute("viewBox","0 0 "+n.I+" "+n.F)),"canvas"===n.AB||"vml"===n.AB){for(ZC.A3("#"+n.K+"-main").width(n.I).height(n.F),a=0,t=n.AG.length;a<t;a++)ZC.A3("#"+n.AG[a].K+"-hover").remove();ZC.A3("#"+n.K+"-main>div").width(n.I).height(n.F)}for("canvas"===n.AB&&((e=ZC.AL(n.K+"-main-c"))&&(e.width=n.I,e.height=n.F),(e=ZC.AL(n.K+"-main-c-top"))&&(e.width=n.I,e.height=n.F),ZC.A3("#"+n.K+"-objects-bottom canvas, #"+n.K+"-objects-top canvas, #"+n.K+"-tools canvas").each(function(){this.width=n.I,this.height=n.F})),"vml"===n.AB&&ZC.A3("#"+n.K+"-objects-bottom div, #"+n.K+"-objects-top div, #"+n.K+"-tools div").each(function(){this.style.width=n.I+"px",this.style.height=n.F+"px"}),n.parse(),a=0,t=n.AG.length;a<t;a++)n.AG[a].UD&&n.AG[a].UD(),n.AG[a].HM=!0,n.AG[a].A6B=n.AG[a].GG,n.AG[a].GG=!1;for(n.paint(),a=0;a<n.AG.length;a++)for(i=0;i<n.AG[a].AY.A4.length;i++)delete n.E["g-"+a+"-p-"+i+".visible"];for(a=0;a<n.AG.length;a++)n.AG[a].HM=!1,n.AG[a].GG=n.AG[a].A6B,delete n.AG[a].A6B,delete n.E["g-"+n.AG[a].L+"-selection"]}}},clearGenerated:function(){var e=this.o[ZC._[16]],t=[ZC._[10],"shapes"];if(e)for(var i=0,n=e.length;i<n;i++)for(var a=0;a<t.length;a++){var l=t[a],o=[];if(null!==ZC._n_(e[i][l])){for(var r=0,C=e[i][l].length;r<C;r++)e[i][l][r].generated||o.push(e[i][l][r]);e[i][l]=o}}},clear:function(e,t,i){var n,a=this;for(n in a.E)-1!==n.indexOf("-label-")&&-1!==n.indexOf("-bounds")&&delete a.E[n];if(typeof t===ZC._[31]&&(t=!0),ZC.A3("."+a.K+"-history-area").die("click",a.A0X),ZC.A3("."+a.K+"-history-area").remove(),null!==ZC._n_(e))a.P0(e).clear();else{t&&a.clearGenerated(),a._unbind_();for(var l=0,o=a.AG.length;l<o;l++)"vml"===a.AB&&i?a.AG[l].destroy():a.AG[l].clear();null!==(e=ZC.AL(a.K+"-main-c"))&&ZC.Q.IW(e,a.AB,a.iX,a.iY,a.I,a.F),null!==(t=ZC.AL(a.K+"-main-c-top"))&&ZC.Q.IW(t,a.AB,a.iX,a.iY,a.I,a.F),null!==(e=ZC.AL(a.K+"-trigger-c"))&&(ZC.Q.IW(e,a.AB,a.iX,a.iY,a.I,a.F),ZC.A3("#"+a.K+"-menu-area").remove()),a.A7&&a.A7.hide(),ZC.A3("."+a.K+"-focus").remove(),ZC.A3("."+a.K+"-menu-item").remove(),ZC.Q.EW([a.K+"-menu-trigger",a.K+"-menu"]),ZC.Q.EW(a.K+"-license-text"),null!==a.IH&&ZC.Q.EW([a.K+"-history-path",a.K+"-history-back-path",a.K+"-history-forw-path",a.K+"-history-gradient",a.K+"-history-back-gradient",a.K+"-history-forw-gradient"])}},AB1:function(){var e,t,i,n=this,a=n.I+"/"+n.F,l=ZC.Q.I2({id:n.K+"-wrapper",position:"relative",p:ZC.AL(n.K)}),o=(ZC.Q.P9(l,{height:"100%"===n.MX?n.MX:n.F+"px",width:"100%"===n.G1?n.G1:n.I+"px"}),n.bA11y&&ZC.Q.G6(l,{tabindex:0,"aria-label":""===n.NV?"ZingChart":n.NV}),ZC.Q.I2({cls:"zc-rel zc-top",wh:a,id:n.K+"-top",overflow:"hidden",position:"absolute",p:l}));switch(zingchart.OFFSET&&(o.style.left="-0.5px",o.style.top="-0.5px"),n.AB){case"svg":n.KB=ZC.Q.F8("svg",ZC._[36]),n.KB.setAttributeNS&&n.KB.setAttributeNS(null,"xlink",ZC._[37]),ZC.Q.G6(n.KB,{version:"1.1",id:n.K+"-svg","class":"zc-svg",width:n.I,height:n.F,display:"block",viewBox:"0 0 "+n.I+" "+n.F}),o.appendChild(n.KB);var r=ZC.Q.F8("defs",ZC._[36]);if(r.id=n.K+"-defs",n.KB.appendChild(r),ZC.Q.K6({cls:"zc-rel zc-main",wh:a,id:n.K+"-main",p:n.KB},n.AB),n.A27=[],n.o[ZC._[16]])for(e=0,t=n.o[ZC._[16]].length;e<t;e++)if((i=n.o[ZC._[16]][e].resources)&&i.length)for(var C,s=0;s<i.length;s++)"css"===i[s].type&&i[s].url&&(C=ZC.Q.F8("link",ZC._[36]),ZC.Q.G6(C,{xmlns:"http://www.w3.org/1999/xhtml",href:i[s].url,rel:"stylesheet",type:"text/css"}),n.A27.push(i[s].url),r.appendChild(C));break;case"vml":case"canvas":ZC.Q.I2({cls:"zc-rel zc-main",wh:a,id:n.K+"-main",p:o})}},paintHistory:function(){},paint:function(){var n=this,e=(n.M7="paint",n.I+"/"+n.F);if(n.A0O(),null===ZC.AL(n.K+"-top")){n.AB1();var t=ZC.AL(n.K+"-main");if(n.O1[ZC._[16]]&&ZC.Q.HL({cls:"zc-abs",id:n.K+"-main-c",wh:e,p:t},n.AB),n.G.usc()?(ZC.Q.HL({cls:"zc-abs",id:n.K+"-main-c-top",wh:e,p:t},n.AB),ZC.Q.HL({cls:ZC._[24],id:n.K+ZC._[15],p:t,wh:e,display:"none"},n.AB)):(ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-objects-bottom",p:t},n.AB),zingchart.DEV.MAPSONBOTTOM&&ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-objects-maps",p:t},n.AB),ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-graphset",p:t},n.AB),zingchart.DEV.MAPSONBOTTOM||ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-objects-maps",p:t},n.AB),ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-objects-top",p:t},n.AB),ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-hover",p:t},n.AB),ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-objects-front",p:t},n.AB),ZC.Q.K6({cls:"zc-abs zc-text",wh:e,id:n.K+"-text",p:t},n.AB),i="tools",((o="legend")===n.o["top-layer"]||n.o[ZC._[16]]&&1===n.o[ZC._[16]].length&&"legend"===n.o[ZC._[16]][0]["top-layer"])&&(o="tools",i="legend"),ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-"+o,p:t},n.AB),ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-"+i,p:t},n.AB),o=ZC.AL(n.K+"-tools"),n.O1["static"]&&ZC.Q.HL({cls:ZC._[24],id:n.K+"-static-c",wh:e,p:o},n.AB),n.O1.guide&&ZC.Q.HL({cls:ZC._[24]+" zc-guide-c",id:n.K+"-guide-c",wh:e,p:o},n.AB),(ZC.A3.browser.opera&&ZC._i_(ZC.A3.browser.version)<=9.5||ZC.mobile||"classic"!==n.L2)&&ZC.Q.HL({cls:ZC._[24],id:n.K+"-trigger-c",wh:e,p:o},n.AB),ZC.Q.HL({cls:ZC._[24],id:n.K+ZC._[15],p:o,wh:e,display:"none"},n.AB),ZC.Q.HL({cls:ZC._[24],id:n.K+"-textprint-c",p:o,wh:e,display:"none"},n.AB),ZC.Q.K6({cls:"zc-abs",wh:e,id:n.K+"-text-top",p:t},n.AB)),!zingchart.DEV.SKIPTRACKERS){var i=document.createElement("img");if(i.id=n.K+"-img",i.className="zc-img",i.setAttribute("useMap","#"+n.K+"-map"),i.setAttribute("alt",""===n.NV?"ZingChart":n.NV),ZC.Q.P9(i,{position:"absolute",borderWidth:0,width:n.I+2*ZC.MAPTX+"px",height:n.F+2*ZC.MAPTX+"px",left:-ZC.MAPTX+"px",top:-ZC.MAPTX+"px",zIndex:0,opacity:0,filter:"alpha(opacity=0)",clip:"rect("+(ZC.MAPTX+1)+"px,"+(n.I+ZC.MAPTX-1)+"px,"+(n.F+ZC.MAPTX-1)+"px,"+(ZC.MAPTX+1)+"px)"}),i.src=(ZC.ie67?"//":"")+ZC.BLANK,ZC.AL(n.K+"-top").appendChild(i),!n.G.usc()){var a=document.createElement("map");a.className="zc-map",ZC.Q.G6(a,{id:n.K+"-map",name:n.K+"-map"}),ZC.AL(n.K+"-top").appendChild(a);for(var l=0;l<n.AG.length;l++)a.innerHTML+='<area shape="rect" coords="0,0,1,1" id="mark'+l+'">'}}}n.Z=ZC.AL(n.K+"-main-c"),n.b();for(var o,r=!1,C=!1,s=0,A=n.AG.length;s<A;s++){n.AG[s].paint(),(null!==n.AG[s].CX&&n.AG[s].CX.AP||null!==n.AG[s].HF&&n.AG[s].HF.AP)&&(r=!0);for(var Z=0;Z<n.AG[s].BO.length;Z++)if(n.AG[s].BO[Z].GP){C=!0;break}}if(!(o=ZC.AL(n.K+"-map"))||n.ZA||document.getElementById(n.K+"-entry")||(o.innerHTML='<area shape="rect" tabindex="0" coords="0,0,1,1" id="'+n.K+'-entry">'+o.innerHTML+'<area shape="rect" tabindex="0" coords="0,0,1,1" id="'+n.K+'-exit">'),n.G4){for(var c in n.G4)ZC.AL(c).appendChild(n.G4[c]);n.G4=null}n.E[ZC._[53]]=null,n.TM||n.UE||(n.YV?n.A95():n.YV=window.setInterval(function(){n.A93(),n.TM||n.UE?(window.clearInterval(n.YV),ZC.Q.EW(n.K+"-license-text")):ZC.AL(n.K+"-license-text")||n.A95()},2e3)),-1===ZC.AV(n.KQ,ZC._[38])&&n.A61(),n.bA11y&&(zingchart.zc_a11y.events_init||(zingchart.zc_a11y.events_init=!0,ZC.A3(document).live("focus",zingchart.zc_a11y.focus),ZC.A3(document).live("blur",zingchart.zc_a11y.blur),ZC.A3(document).live(ZC._[47],zingchart.zc_a11y.mousedown),ZC.A3(document).live("keyup",zingchart.zc_a11y.keyup)),e=ZC.Q.I2({id:n.K+"-focus",position:"absolute",p:ZC.AL(n.K)}),ZC.Q.P9(e,{left:"-9999px",top:"-9999px",height:"10px",width:"10px",opacity:.5,"border-radius":"5px",border:"5px solid #f00"})),-1===ZC.AV(n.KQ,ZC._[41])?(typeof ZC.A29!==ZC._[31]&&(n.A7=new ZC.A29(n)),C&&n.H6.bind(),r&&typeof ZC.JY!==ZC._[31]&&(n.D8=new ZC.JY(n),n.D8.bind()),ZC.mobile&&(n.AGA=function(e){ZC.swipe={xy:ZC.Q.MJ(e),ts:(new Date).getTime()},e.target.id===n.K+"-menu-area"?(ZC.move=!1,n.A7&&n.A7.hide(),zingchart.Z2(e)):(null===n.DJ||null===ZC._n_(n.DJ["page-scroll"])||n.DJ["page-scroll"]||e.preventDefault(),ZC.move=!1,n.hideCM(),n.A7&&n.A7.hide(),n.Z3(e))},n.P1=function(){window.clearTimeout(n.AAT),n.A3B=null},n.AG9=function(e){var t,i;ZC.swipe&&(t=ZC.Q.MJ(e),100<ZC._a_(t[0]-ZC.swipe.xy[0])&&(new Date).getTime()-ZC.swipe.ts<1e3&&((i=n.FH()).direction=t[0]>ZC.swipe.xy[0]?"right":"left",ZC.AO.C0("swipe",n,i)),ZC.swipe=null),n.A9C||ZC.move||zingchart.SH(e),n.P1(e)},ZC.A3("#"+n.K+"-img").bind("touchstart",n.AGA).bind("touchmove",n.P1).bind("touchend",n.AG9),ZC.A3("#"+n.K+"-pixmap").bind("touchstart",n.AGA).bind("touchmove",n.P1).bind("touchend",n.AG9),ZC.A3("#"+n.K+"-menu-area").live("touchstart",n.AGA)),n.zc_loader_mousewheel=function(e){var t=n.FH();t.ev=e,ZC.AO.C0("mousewheel",n,t)},ZC.A3("#"+n.K+"-img").bind("mousewheel",n.zc_loader_mousewheel),ZC.A3("#"+n.K+"-map").bind("mousewheel",n.zc_loader_mousewheel),"svg"===n.AB&&ZC.A3("#"+n.K+"-svg").bind("mousewheel",n.zc_loader_mousewheel),n.A28=function(e){27!==e.keyCode||!n.QQ||n.A7Q||n.A98()},ZC.A3(document).bind("keyup",n.A28),n.A98=function(){ZC.A3("#"+n.K+ZC._[66]).die("click",n.A98),ZC.FSSTATUS=null,ZC.Q.EW(n.K+"-data-table"),n.destroy(),zingchart.FSID&&ZC.AL(zingchart.FSID)&&(ZC.AL(zingchart.FSID).style.display="none")},ZC.A3("#"+n.K+ZC._[66]).live("click",n.A98)):ZC.mobile&&(n.zc_loader_touchstart_static=function(e){return e.preventDefault(),zingchart.SH(e),!1},ZC.A3("#"+n.K+"-img").bind("touchstart",n.zc_loader_touchstart_static)),null!==n.HI&&(t=50<=(t=ZC._i_(n.HI.interval))?t:1e3*t,window.setTimeout(function(){n.N8(),n.load()},t)),n.M7="",ZC.TS[n.K]=(new Date).getTime()-ZC.TS[n.K],n.E["fire-complete"]&&(ZC.AO.C0("complete",n,n.FH()),n.E["fire-complete"]=null),n.E["fire-load"]&&(ZC.AO.C0("load",n,n.FH()),n.E["fire-load"]=null)},togglePreviewMasks:function(e){for(var t=0;t<this.AG.length;t++)this.AG[t].B7&&this.AG[t].B7.toggleMasks(e)},createPreviewMasks:function(){var e=this,t=document.createElement("canvas");t.width=e.I,t.height=e.F,t.setAttribute("class","");for(var i=0;i<e.AG.length;i++)e.AG[i].B7&&e.AG[i].B7.toggleMasks(!0,t);return t},AGL:function(){null===ZC._n_(ZC.showZCAbout)&&(ZC.showZCAbout=function(e){zingchart.exec(e.id,"toggleabout")}),zingchart.exec(this.K,"addmenuitem",{text:"About ZingChart","function":"ZC.showZCAbout()",order:100})},A95:function(){var e,t,i,n=this,a={},l=n.DJ.watermark,l=(n.B6.load(a,"loader.gui.watermark"),l&&ZC._cp_(l,a),1===n.o[ZC._[16]].length&&n.o[ZC._[16]][0].gui&&(e=n.o[ZC._[16]][0].gui.watermark)&&ZC._cp_(e,a),ZC._l_(ZC._i_(a.type||1),1,2)),a=a.position||"br",o=(-1===ZC.AV(["tl","tr","br","bl"],a)&&(a="br"),n.ACT=a,32),r=146,C=0,s=1,A=(ZC.ie67&&(o=30,r=168,C=8,s=1),r=126,o=22,{light:["#6D6E71","#00384A"],dark:["#FFFFFF","#09A9DA"]}),Z=A.light,c=(zingchart.THEME&&(Z="light"===n.L2||"classic"===n.L2?A.light:A.dark),1===n.o[ZC._[16]].length&&(n.o[ZC._[16]][0][ZC._[0]]?7===(c=ZC.AO.GD(n.o[ZC._[16]][0][ZC._[0]])).length&&(Z=ZC.AO.AAB(c,A.dark,A.light)):n.o[ZC._[16]][0].theme&&(Z="light"===(c=n.o[ZC._[16]][0].theme)||"classic"===c?A.light:A.dark)),typeof window!==ZC._[31]&&window.location?window.location.origin:""),A=typeof window!==ZC._[31]&&window.location?window.location.pathname:"",c='<a title="JavaScript Charts by ZingChart" style="color:'+Z[0]+' !important;font-size:11px !important;display:block !important;opacity:1 !important; text-decoration:none;" href="http://www.zingchart.com/?origin='+c+"&pathname="+A+'">Powered by <span style="color:'+Z[1]+'; font-weight:bold;">ZingChart</span></a>';switch(a){case"br":t=n.F-o,i=n.I-r;break;case"bl":t=n.F-o,i=6;break;case"tr":t=2,i=n.I-r;break;case"tl":t=2,i=6}null!==ZC._n_(e=ZC.AL(n.K+"-top"))&&ZC.Q.I2({cls:ZC.ie67?"-ie67":"",p:e,id:n.K+"-license-text",tl:t+"/"+i,wh:r+"/"+(o-C),color:ZC.ie67?1===l?"#369":"#fff":"",padding:C,opacity:s,position:"absolute",cursor:"pointer",fontFamily:zingchart.FONTFAMILY,html:c})},_unbind_:function(){var e=this;1===zingchart.HW.length&&(ZC.A3(document).die("focus",zingchart.zc_a11y.focus),ZC.A3(document).die("blur",zingchart.zc_a11y.blur),ZC.A3(document).die(ZC._[47],zingchart.zc_a11y.mousedown),ZC.A3(document).die("keyup",zingchart.zc_a11y.keyup),ZC.A3("#"+e.K+"-focus").remove(),zingchart.zc_a11y.events_init=!1),ZC.A3("#"+e.K+"-menu").die(ZC._[47],e.U0),ZC.A3("."+e.K+"-menu-item").die(ZC._[47],e.U0),ZC.A3("."+e.K+"-menu-item").die("click touchend",e.AGD).die("mouseover",e.AGB).die("mouseout",e.AGC),e.E["menu-item-events"]=!1,null!==e.H6&&e.H6.unbind(),null!==e.D8&&e.D8.unbind(),ZC.mobile&&(ZC.A3("#"+e.K+"-img").unbind("touchstart",e.AGA).unbind("touchmove",e.P1).unbind("touchend",e.AG9),ZC.A3("#"+e.K+"-menu-area").die("touchstart",e.AGA),ZC.A3("#"+e.K+"-img").unbind("touchstart",e.zc_loader_touchstart_static)),ZC.A3("#"+e.K+"-img").unbind("mousewheel",e.zc_loader_mousewheel),ZC.A3("#"+e.K+"-map").unbind("mousewheel",e.zc_loader_mousewheel),"svg"===e.AB&&ZC.A3("#"+e.K+"-svg").unbind("mousewheel",e.zc_loader_mousewheel),ZC.A3(document).unbind("keyup",e.A28),ZC.A3("#"+e.K+ZC._[66]).die("click",e.A98)},VQ:function(e,t,i){typeof i===ZC._[31]&&(i=!1);i=ZC.AL("zc-menu-"+(i?"sep":"item")+"-"+e);i&&(i.style.display=t?"block":"none")},A61:function(LL,ev){if(!zingchart.DEV.SKIPCONTEXTMENU){var s=this,H,i,A6,j,JD,DJ=(typeof LL===ZC._[31]&&(LL=-1),{}),PL=(ZC._cp_(s.DJ,DJ),-1!==LL&&s.o[ZC._[16]][LL]&&ZC._cp_(s.o[ZC._[16]][LL].gui,DJ,null,null,!0),ZC.A3("#"+s.K+"-menu").remove(),[]);for(typeof ZC.AM===ZC._[31]&&PL.push({id:"3D",enabled:"none"},{id:"SwitchTo3D",enabled:"none"},{id:"SwitchTo2D",enabled:"none"}),i=DJ.behaviors.length-1;0<i;i--)for(var sBId=DJ.behaviors[i].id,ii=i-1;0<=ii;ii--)DJ.behaviors[ii].id===sBId&&DJ.behaviors.splice(ii,1);if(null!==ZC._n_(H=DJ.behaviors))for(i=0,A6=H.length;i<A6;i++){for(var NF=!1,j=0,JD=PL.length;j<JD;j++)PL[j].id===H[i].id&&(NF=!0);NF||PL.push(H[i])}var JL=DJ["context-menu"],OP=DJ["context-menu[mobile]"];for(i=0,A6=PL.length;i<A6;i++)null!==ZC._n_(PL[i]["function"])&&(null===ZC._n_(JL)&&(JL={}),null===ZC._n_(JL["custom-items"])&&(JL["custom-items"]=[]),JL["custom-items"].push(PL[i]));JL["custom-items"]&&JL["custom-items"].sort(function(e,t){e=ZC._i_(e.order||"0");return ZC._i_(t.order||"0")<e}),s.N0=new ZC.DQ(s);var A19=s.L2.split(/\s+|;|,/),A14,E7,LI,UA,AB7,GV;for(i=0,A6=A19.length;i<A6;i++){s.B6.NS[A19[i]]&&(A14=s.B6.NS[A19[i]].root||{},A14)&&A14.gui&&A14.gui.contextMenu&&ZC._cp_(A14.gui.contextMenu,s.N0.o)}if(s.B6.load(s.N0.o,ZC._[65]),JL&&s.N0.append(JL),ZC.mobile&&(s.B6.load(s.N0.o,ZC._[65]+"[mobile]"),OP)&&s.N0.append(OP),s.N0.UY=!0,s.N0.parse(),s.N0.AP||!s.A3A){var A4Z,A6N,D7,N7,QM,_iX,K0=(ZC.AL(s.K+"-menu-area")||(A4Z=!!(s.DJ&&s.DJ["context-menu"]&&s.DJ["context-menu"].button)&&ZC._n_(s.DJ["context-menu"].button.visible),(A4Z||"classic"!==s.L2&&A4Z)&&(GV=new ZC.DQ(s),s.B6.load(GV.o,ZC._[65]+".button"),JL&&ZC._n_(null!==(H=JL.button))&&GV.append(H),ZC.mobile&&(s.B6.load(GV.o,ZC._[65]+"[mobile].button"),OP)&&null!==ZC._n_(H=OP.button)&&GV.append(H),ZC._cp_(s.N0.o,JL),A6N="left"===JL.position||"classic"===s.L2,GV.K=s.K+"-menu-trigger",GV.IP=ZC.AL(s.K+"-tools"),GV.Z=GV.C8=ZC.AL(s.K+"-trigger-c"),GV.UY=!0,GV.parse(),GV.AP)&&(GV.paint(),D7=ZC.A3("#"+s.G.K+"-top"),""===GV.AN&&(N7=new ZC.DT(s),N7.D0=!1,s.B6.load(N7.o,ZC._[65]+".gear"),JL&&null!==ZC._n_(H=JL.gear)&&N7.append(H),ZC.mobile&&(s.B6.load(N7.o,ZC._[65]+"[mobile].gear"),OP)&&null!==ZC._n_(H=OP.gear)&&N7.append(H),N7.K=s.K+"-menu-trigger-gear",N7.IP=ZC.AL(s.K+"-tools"),N7.Z=ZC.AL(s.K+"-trigger-c"),N7.iX=A6N?GV.iX+GV.I/2:D7.width()-(GV.iX+GV.I/2),N7.iY=GV.iY+GV.F/2,N7.AI=ZC.CY(GV.I,GV.F)/4.5,N7.parse(),N7.paint(),"hamburger"!==N7.DH)&&(QM=new ZC.DT(s),QM.copy(GV),QM.K=s.K+"-menu-trigger-gear-hole",QM.IP=ZC.AL(s.K+"-tools"),QM.Z=ZC.AL(s.K+"-trigger-c"),QM.DH="circle",QM.AI=ZC.CY(GV.I,GV.F)/7,QM.parse(),QM.iX=A6N?GV.iX+GV.I/2:D7.width()-(GV.iX+GV.I/2),QM.iY=GV.iY+GV.F/2,QM.paint()),_iX=A6N?GV.iX:D7.width()-(GV.iX+GV.I),ZC.AL(s.K+"-map").innerHTML+=ZC.Q.FP("rect")+'id="'+s.K+"-menu-area"+ZC._[30]+ZC._i_(_iX+ZC.MAPTX)+","+ZC._i_(GV.iY+ZC.MAPTX)+","+ZC._i_(_iX+GV.I+ZC.MAPTX)+","+ZC._i_(GV.iY+GV.F+ZC.MAPTX)+'" />')),E7=new ZC.DQ(s),s.B6.load(E7.o,ZC._[65]+".item"),JL&&null!==ZC._n_(H=JL.item)&&E7.append(H),ZC.mobile&&(s.B6.load(E7.o,ZC._[65]+"[mobile].item"),OP)&&null!==ZC._n_(H=OP.item)&&E7.append(H),E7.UY=!0,E7.parse(),LI=new ZC.DQ(s),LI.copy(E7),s.B6.load(LI.o,ZC._[65]+".item.hover-state"),JL&&null!==ZC._n_(JL.item)&&null!==ZC._n_(H=JL.item[ZC._[71]])&&LI.append(H),ZC.mobile&&(s.B6.load(LI.o,ZC._[65]+"[mobile].item.hover-state"),OP)&&null!==ZC._n_(OP.item)&&null!==ZC._n_(H=OP.item[ZC._[71]])&&LI.append(H),LI.UY=!0,LI.parse(),UA={},JL&&null!==ZC._n_(JL.separator)&&(UA=JL.separator),[]),EN=null,AB7=null!==ZC._n_(s.N0.o.empty)&&ZC._b_(s.N0.o.empty);if(ZC.mobile&&(EN=G9("PageScroll"),"none"!==EN.enabled)&&(null===s.DJ||null===ZC._n_(s.DJ["page-scroll"])||s.DJ["page-scroll"]?K0.push(GZ("disablepagescroll",EN.text)):K0.push(GZ("enablepagescroll",EN.text)),K0.push(JG("pagescroll"))),EN=G9("Reload"),"none"!==EN.enabled&&(K0.push(GZ("reload",EN.text)),K0.push(JG("reload"))),typeof ZC.A89!==ZC._[31]){EN=G9("SaveAsImage"),"none"!==EN.enabled&&(EN=G9("SaveAsImagePNG"),"none"!==EN.enabled&&K0.push(GZ("viewaspng",EN.text||null)),EN=G9("SaveAsImageJPG"),"none"!==EN.enabled&&K0.push(GZ("viewasjpg",EN.text||null)),K0.push(JG("export")));for(var TH=["DownloadPDF","DownloadSVG","DownloadCSV","DownloadXLS","ViewDataTable","ExportData","Print"],A6D=0,A26=0,i=0;i<TH.length;i++)"ViewDataTable"===TH[i]&&ZC.AL(s.K+"-data-table")&&(TH[i]="HideDataTable"),EN=G9(TH[i]),"none"!==EN.enabled&&(A6D++,A26=i,K0.push(GZ(TH[i].toLowerCase(),EN.text)));0<A6D&&K0.push(JG(TH[A26].toLowerCase()))}if(-1!==LL){var GP=!1,A12,EN;for(j=0,JD=s.AG[LL].BO.length;j<JD;j++)s.AG[LL].BO[j].GP&&(GP=!0);GP&&typeof ZC.A56!==ZC._[31]&&(A12=!1,EN=G9("ZoomIn"),"none"!==EN.enabled&&(K0.push(GZ("zoomin",EN.text)),A12=!0),EN=G9("ZoomOut"),"none"!==EN.enabled&&(K0.push(GZ("zoomout",EN.text)),A12=!0),EN=G9("ViewAll"),"none"!==EN.enabled&&(K0.push(GZ("viewall",EN.text)),A12=!0),A12)&&K0.push(JG("zoom"))}var b2D=!1,b3D=!1;if(-1!==LL&&(-1!==ZC.AV(["line","area","bar","vbar","hbar","pie","mixed"],s.AG[LL].AF)&&(b2D=!0,s.X9="2d"),-1!==ZC.AV(["line3d","area3d","bar3d","vbar3d","hbar3d","pie3d","mixed3d"],s.AG[LL].AF))&&(b3D=!0,s.X9="3d"),(b2D||b3D)&&(EN=G9("3D"),"none"!==EN.enabled)&&(EN=G9(b2D?"SwitchTo3D":"SwitchTo2D"),"none"!==EN.enabled)&&(K0.push(GZ(b2D?"switchto3d":"switchto2d",EN.text)),K0.push(JG("dimension"))),-1!==LL){var C=s.AG[LL],AAO=!1,ABJ=!1;for(j=0;j<C.BO.length;j++){var B=C.BO[j];0===B.BD.indexOf(ZC._[51])&&(AAO=!0),"log"===B.BS&&(ABJ=!0)}AAO&&(EN=G9("Progression"),"none"!==EN.enabled)&&(EN=G9(ABJ?"LinScale":"LogScale"),"none"!==EN.enabled)&&(K0.push(GZ(ABJ?"switchtolin":"switchtolog",EN.text)),K0.push(JG("progression"))),(C.CX||C.HF)&&(EN=G9("Guide"),"none"!==EN.enabled)&&(EN=G9(C.A1F?"HideGuide":"ShowGuide"),"none"!==EN.enabled)&&(K0.push(GZ(C.A1F?"hideguide":"showguide",EN.text)),K0.push(JG("guide")))}var AAV=0,B8;if(typeof ZC.A8Y!==ZC._[31]&&(EN=G9("ViewSource"),"none"!==EN.enabled&&(K0.push(GZ("viewsource",EN.text)),AAV++),EN=G9("BugReport"),"none"!==EN.enabled)&&(K0.push(GZ("bugreport",EN.text)),AAV++),0<AAV&&K0.push(JG("tools")),EN=G9("FullScreen"),"none"===EN.enabled||s.LV||(s.QQ?(EN=G9("ExitFullScreen"),K0.push(GZ("exitfullscreen",EN.text)),K0.push(JG("exitfullscreen"))):(K0.push(GZ("fullscreen",EN.text)),K0.push(JG("fullscreen")))),s.IH&&(EN=G9("GoBack"),"none"!==EN.enabled&&K0.push(GZ("goback",EN.text)),EN=G9("GoForward"),"none"!==EN.enabled&&K0.push(GZ("goforward",EN.text)),K0.push(JG("history"))),0<K0.length&&-1!==K0[K0.length-1].indexOf("zc-menu-sep")&&K0.splice(K0.length-1,1),s.A1H={},-1!==LL)if(JL&&null!==ZC._n_(B8=JL["custom-items"]))for(0<K0.length&&K0.push(JG("custom")),i=0,A6=B8.length;i<A6;i++){var A3K=!0,AN,K;null!==ZC._n_(B8[i].enabled)&&("none"===B8[i].enabled?A3K=!1:"all"!==B8[i].enabled&&(A3K=!ev||eval(B8[i].enabled).call(s,zingchart.A0R(ev,s),B8[i].id,ev))),A3K&&(K=B8[i].id||"custom-"+i,"sep"===B8[i].id||"sep"===B8[i].type?K0.push(JG(K,!0)):"header"===B8[i].type?(AN=B8[i].text||"Custom Menu "+i,K0.push(A39(K,AN,!0))):(AN=B8[i].text||"Custom Menu "+i,s.A1H[K]={fn:B8[i]["function"]||"",url:B8[i].url||"",target:B8[i].target||""},K0.push(GZ(K,AN,!0))))}s.TM||(K0.push(JG("zingchart")),K0.push(GZ("xmiabt","About ZingChart"))),ZC.Q.I2({id:s.K+"-menu",p:document.body,cls:"zc-menu zc-style",top:null===ZC._n_(GV)?0:GV.iY+GV.F/2,left:null===ZC._n_(GV)?0:GV.iX+GV.I/2,borderBottom:s.N0.AU+"px solid "+s.N0.BX,background:(-1===s.N0.A0?"transparent":s.N0.A0)+" "+A1V(s.N0.DC),paddingTop:s.N0.FJ,paddingRight:s.N0.FO,paddingBottom:s.N0.FX,paddingLeft:s.N0.ER,html:K0.join("")}),s.E["menu-item-events"]||(s.AGD=function(e){var t=(1!==e.target.nodeType?e.target.parentNode:e.target).id,i=t.substring(0,t.indexOf("-menu-item-")),n=zingchart.getLoader(i),a=(ZC.mobile&&n.P1(),n.A5D(n.SV[0],n.SV[1])),l=(n.hideCM(),ZC.mobile&&zingchart.SH(e),t.replace(n.K+"-menu-item-","")),o=(n.AAH({graphid:a?a.K:null,menuitemid:l,ev:ZC.A3.C1(e)}),n.o["export-filename"]||n.o[ZC._[16]][0]["export-filename"]||"");switch(l){case"switchto2d":case"switchto3d":a&&n.A5H(a.K);break;case"enablepagescroll":s.DJ=s.DJ||{},s.DJ["page-scroll"]=!0;break;case"disablepagescroll":s.DJ=s.DJ||{},s.DJ["page-scroll"]=!1;break;case"showguide":n.Z9(a.K,!0);break;case"hideguide":n.Z9(a.K,!1);break;case"switchtolin":n.A16(a.K,"lin");break;case"switchtolog":n.A16(a.K,"log");break;case"reload":n.A91();break;case"viewaspng":n.OM("png");break;case"viewasjpg":n.OM("jpeg");break;case"downloadpdf":n.OM("pdf",""===o?null:{fn:o+".pdf"});break;case"downloadsvg":n.OM("svg",""===o?null:{fn:o+".svg"});break;case"exportdata":zingchart.exec(n.K,"exportdata");break;case"downloadcsv":zingchart.exec(n.K,"downloadCSV",""===o?null:{fn:o});break;case"downloadxls":var r,C=n.o["export-sheetname"]||n.o[ZC._[16]][0]["export-sheetname"]||"ZingChart";(r=G9("DownloadXLS"))["custom-function"]?n.A4B({graphid:a?a.K:null,menuitemid:l,filename:o,sheetname:C,"function":r["custom-function"]}):zingchart.exec(n.K,"downloadXLS",""===o?null:{fn:o,sn:C});break;case"viewdatatable":case"hidedatatable":zingchart.exec(n.K,"viewDataTable",{menuid:l});break;case"print":n.AA4();break;case"viewsource":n.A5Y();break;case"bugreport":n.A72();break;case"fullscreen":n.A5Z();break;case"goback":zingchart.exec(n.K,"goback");break;case"goforward":zingchart.exec(n.K,"goforward");break;case"zoomin":a&&(n.H6.C=a,n.A92({graphid:a.K,ev:e}));break;case"zoomout":a&&(n.H6.C=a,n.A8F({graphid:a.K,ev:e}));break;case"viewall":a&&(n.H6.C=a,n.A8G({graphid:a.K,ev:e}));break;case"xmiabt":n.AA5();break;default:null!==ZC._n_(H=s.A1H[l])&&(""!==H.fn?n.A4B({graphid:a?a.K:null,menuitemid:l,"function":H.fn}):""!==H.url&&a&&a.V8(e,H.url,H.target))}},s.AGB=function(){this.style.backgroundColor=LI.A0,this.style.color=LI.C2,this.style.borderLeft=this.style.borderRight=LI.AU+"px solid "+LI.BX},s.AGC=function(){this.style.backgroundColor=E7.A0,this.style.color=E7.C2,this.style.borderLeft=this.style.borderRight=E7.AU+"px solid "+E7.BX},s.U0=function(e){return e.preventDefault(),!1},ZC.A3("#"+s.K+"-menu").live(ZC._[47],s.U0),ZC.A3("."+s.K+"-menu-item").live(ZC._[47],s.U0),ZC.A3("."+s.K+"-menu-item").live("click touchend",s.AGD).live("mouseover",s.AGB).live("mouseout",s.AGC),s.E["menu-item-events"]=!0)}}function A1V(e){return""!==e&&e?"url("+(0===e.indexOf("zc.")?ZC.IMAGES[e]:e)+")":"none"}function JG(e){return'<div id="'+s.K+"-menu-sep-"+e+'" class="zc-menu-sep" style="background-color:'+E7.A0+";background-image:"+A1V(E7.DC)+" repeat-x 50% 0%;border-bottom-width:"+UA[ZC._[4]]+";border-bottom-color:"+UA["line-color"]+';"> </div>'}function GZ(e,t,i){t=t||ZC.HG["menu-"+e];i=typeof i!==ZC._[31]&&i?" zc-custom-menu-item "+s.K+"-custom-menu-item":"";return'<div class="'+s.K+"-menu-item"+i+'" style="width:'+s.N0.o.width+";color:"+E7.C2+";font-family:"+E7.GJ+";font-size:"+E7.DI+"px;background-color:"+E7.A0+";background-image:"+A1V(E7.DC)+" repeat-x 50% 0%;border-top:"+(ZC.ie67?E7.AU:1)+"px solid "+E7.BX+";border-left:"+E7.AU+"px solid "+E7.BX+";border-right:"+E7.AU+"px solid "+E7.BX+";padding:"+E7.FJ+"px "+E7.FO+"px "+E7.FX+"px "+E7.ER+"px;text-align:"+E7.OF+";"+(ZC.HG.rtl?"unicode-bidi:bidi-override;direction:rtl;":"")+'" id="'+s.K+"-menu-item-"+e+'">'+t+"</div>"}function A39(e,t,i){i=typeof i!==ZC._[31]&&i?" zc-custom-menu-header "+s.K+"-custom-menu-header":"";return'<div class="zc-menu-header '+s.K+"-menu-header"+i+'" style="color:'+E7.C2+";background-color:#666;border-top:"+(ZC.ie67?E7.AU:1)+"px solid "+E7.BX+";border-left:"+E7.AU+"px solid "+E7.BX+";border-right:"+E7.AU+"px solid "+E7.BX+";padding:"+E7.FJ+"px "+E7.FO+"px "+E7.FX+"px "+E7.ER+"px;text-align:"+E7.OF+";"+(ZC.HG.rtl?"unicode-bidi:bidi-override;direction:rtl;":"")+'" id="'+s.K+"-menu-item-"+e+'">'+t+"</div>"}function G9(e){var t={ViewAsImage:"SaveAsImage",ViewAsImagePNG:"SaveAsImagePNG",ViewAsImageJPG:"SaveAsImageJPG"};if(AB7)return{enabled:"none"};for(var i=0,n=PL.length;i<n;i++){if(PL[i].id===e)return PL[i];if(t[PL[i].id]&&t[PL[i].id]===e)return PL[i]}return{enabled:"all"}}},destroy:function(){this._unbind_(),--zingchart.HW.length,this.clear(),ZC.A3("#zc-fullscreen").remove(),document.body.style.overflow=""},N8:function(e,t){var i,n,a,l,o,r,C,s=this;((t=null===ZC._n_(t)?!1:t)||s.A0B)&&-1===ZC.AV(s.KQ,ZC._[41])&&(s.ZU=!0,t&&ZC.Q.I2({id:s.K+"-dummy",p:ZC.AL(s.K),wh:s.I+"/"+s.F}),s.E.hideprogresslogo||zingchart.DEV.SKIPPROGRESS?s.ZU=!1:typeof(t=ZC.A3("#"+s.K)).offset()===ZC._[31]||t.width()+t.height()===0||s.E.hideprogresslogo&&s.TM||(i=t.offset().left+ZC._i_(t.css("border-left-width"))+(null===e?s:e).iX,t=t.offset().top+ZC._i_(t.css("border-top-width"))+(null===e?s:e).iY,(ZC.ipad||ZC.iphone)&&(i-=ZC.A3(window).scrollLeft(),t-=ZC.A3(window).scrollTop()),n=(null===e?s:e).I,e=(null===e?s:e).F,a=ZC._i_(.8*s.I),l=30,o=new ZC.DQ(s),s.B6.load(o.o,"loader.gui.progress"),o.append(s.E.progress),null!==s.DJ&&null!==ZC._n_(r=s.DJ.progress)&&o.append(r),o.parse(),r=ZC.HG["progress-wait-long"],C=ZC.ie67?o.A0:(C=s.E.customprogresslogo||ZC.IMAGES["zc.logo"],o.A0+" url("+C+") no-repeat center center"),(n<180||e<90)&&(C=o.A0,l=-12),n<120&&60<n?(a=60,r=ZC.HG["progress-wait-short"]):n<60&&(a=20,r=ZC.HG["progress-wait-mini"]),r=s.E.customprogresstext||r,t=ZC.Q.I2({id:s.K+"-progress",p:document.body,tl:t+"/"+i,width:n-2*o.AU,height:e-2*o.AU,position:"absolute",opacity:.8,border:o.AU+"px solid "+o.BX,background:C}),ZC.Q.I2({id:s.K+"-progress-text",p:t,width:a,html:r,textAlign:"center",marginLeft:ZC._i_((n-a)/2),marginTop:ZC._i_(e/2+l),fontFamily:zingchart.FONTFAMILY,fontSize:zingchart.FONTSIZE,color:o.C2,fontWeight:"bold"})))},A0O:function(){var e=this;ZC.Q.EW(e.K+"-dummy"),e.E.hideprogresslogo||(e.ZU=!1,ZC.Q.EW([e.K+"-progress-text",e.K+"-progress"]))},A5J:function(e,t){var i,n=this,a=null!==ZC._n_(i=e[ZC._[16]])?i:[e],e=e.layout||"",e=ZC.AQ.A2F(e,a.length),l=a[t],a=n.I/e[1],o=n.F/e[0],r=Math.floor(t/e[1]),e=t%e[1]*a,r=r*o,C=(l&&(null!==ZC._n_(i=l.x)&&(e=ZC._p_(i))<=1&&(e=ZC._i_(e*n.I)),null!==ZC._n_(i=l.y)&&(r=ZC._p_(i))<=1&&(r=ZC._i_(r*n.F)),null!==ZC._n_(i=l[ZC._[19]])&&(a=ZC._p_(i))<=1&&(a=ZC._i_(a*n.I)),null!==ZC._n_(i=l[ZC._[20]]))&&(o=ZC._p_(i))<=1&&(o=ZC._i_(o*n.F)),[0,0,0,0]);if(l.plotarea){n.B6.load(l.plotarea,["("+l.type+").plotarea"],!1,!0),null!==ZC._n_(l.plotarea.margin)&&(C=new ZC.HU(null).m_(l.plotarea.margin,"all",a,o));for(var s,A=["top","right","bottom","left"],Z=0;Z<4;Z++)null!==ZC._n_(l.plotarea["margin-"+A[Z]])&&(s=l.plotarea["margin-"+A[Z]],ZC._i_(s)+""==s+"")&&(C[Z]=ZC._i_(s))}return{graph:{x:ZC._i_(e),y:ZC._i_(r),width:ZC._i_(a),height:ZC._i_(o),index:t},plotarea:{x:C[3],y:C[0],width:a-C[1]-C[3],height:o-C[0]-C[2]}}},KC:function(){var e=this;null===ZC._n_(e.o[ZC._[16]])&&(e.o={graphset:[e.o]}),e.N8(),zingchart.A1S(e,e.A5I(),function(){e.o=ZC.AO.C0("dataparse",e,e.FH(),e.o),zingchart.Y1[e.K]&&e.QK(function(){e.parse(),e.paint()})})},render:function(){var e=this;function t(){""!==e.QP||null!==e.KR?e.A47():e.load()}e.UE||e.A93(),e.N8(null,!0),0<zingchart.TIMEOUT?ZC.ZS(t):t()},Z3:function(e){var t=this;null===ZC._n_(t.A3B)&&(t.A3B=(new Date).getTime(),t.AAT=window.setTimeout(function(){null!==ZC._n_(t.A3B)&&(t.A3B=null,zingchart.Z2(e))},1500))},FH:function(){var e=this,t=0,i=0,t=typeof e.SV[0]!==ZC._[31]?e.SV[0]-t:0,i=typeof e.SV[1]!==ZC._[31]?e.SV[1]-i:0,n=e.L2||"light";return{id:e.K,width:e.I,height:e.F,output:e.AB,x:t,y:i,targetid:e.SV[2],theme:n}},AC3:function(e){e=e||{},null!==ZC._n_(e.resource)&&(this.QS[e.resource]=e.data||"[]",this.UH++)},A92:function(){},A8F:function(){},A8G:function(){},Q5:function(){},AA9:function(e,t){e=e||{},null!==ZC._n_(e[ZC._[3]])?null!==(e=this.P0(e[ZC._[3]]))&&e.clear():this.clear(null,null,t),ZC.JY&&ZC.JY.GUIDES&&(ZC.JY.GUIDES[this.K]=null)},A8I:function(e){e=e||ZC.HG["sync-wait"];var t=this;null===ZC.AL(t.K+"-blocker")&&(ZC.Q.I2({cls:"zc-abs zc-style zc-blocker",id:t.K+"-blocker",p:ZC.AL(t.K+"-top"),wh:t.I+"/"+t.F,opacity:.75}),ZC.Q.I2({cls:"zc-blocker-msg",id:t.K+"-blocker-t",p:ZC.AL(t.K+"-blocker"),html:e}),(e=ZC.A3("#"+t.K+"-blocker-t")).css("top",t.F/2-e.height()/2+"px").css("left",t.I/2-e.width()/2+"px"))},A49:function(){ZC.Q.EW(this.K+"-blocker")},AA5:function(){var e=this,t=(ZC.AO.C0("about_show",e,e.FH()),ZC.Q.I2({cls:"zc-abs",id:e.K+"-about-mask",p:ZC.AL(e.K+"-top"),wh:e.I+"/"+e.F,background:"#ccc",opacity:.75}),ZC.CY(320,e.I)),i=ZC.CY(215,e.F),n=ZC.BR(0,(e.I-t)/2),a=ZC.BR(0,(e.F-i)/2),a=ZC.Q.I2({cls:"zc-about zc-style",id:e.K+"-about",p:ZC.AL(e.K+"-top"),tl:a+"/"+n,wh:t-(ZC.quirks?0:10)+"/"+(i-(ZC.quirks?0:10))}),n="";""!==e.SC&&(n="Custom Built for<br />"+e.SC),a.innerHTML='<div class="zc-about-1"><a href="http://www.zingchart.com" target="_blank">zingchart.com</a></div><div class="zc-about-2">©2009-'+(new Date).getFullYear()+'</div><div class="zc-about-3"><div id="'+e.K+'-about-close">'+ZC.HG["about-close"]+'</div></div><div class="zc-about-4" style="padding:'+(i-215)+'px 5px 5px 5px;"><div> <br />Build '+ZC.VERSION+" ["+e.AB+"]</div>"+n+"</div>",ZC.A3("#"+e.K+"-about-close").bind("click",function(){ZC.AO.C0("about_hide",e,e.FH()),ZC.Q.EW([e.K+"-about",e.K+"-about-mask"])})},O5:function(e,t){var i,n=this;ZC.AO.A8J("error",n)?ZC.AO.C0("error",n,{id:n.K,error:e,section:t,json:n.E.json||n.E.rawsource}):(i="",i+="object"==typeof e?e.name+":"+e.message+"\n\n":e+"\n\n",null!==ZC._n_(t)&&(i+="Section:"+t+"\n\n"),i+="JSON data:\n\n"+n.E.json+"\n\n",n.A0O(),null===ZC.AL(n.K+"-top")&&n.AB1(),ZC.Q.I2({cls:"zc-abs zc-error zc-style",id:n.K+"-error",p:ZC.AL(n.K+"-top"),wh:n.I-(ZC.quirks?0:10)+"/"+(n.F-(ZC.quirks?0:10))}).innerHTML='<div class="zc-form-row-label zc-form-s0">'+ZC.HG["error-header"]+'</div><div class="zc-form-row-label zc-form-s1">'+ZC.HG["error-message"]+'</div><div class="zc-form-row-element"><textarea id="'+n.K+'-error-message" style="width:'+(n.I-35)+"px;height:"+(n.F-135)+'px;"></textarea></div><div class="zc-form-row-element zc-form-row-last"><input type="button" value="'+ZC.HG["error-close"]+'" id="'+n.K+'-error-close" /></div>',ZC.A3("#"+n.K+"-error-message").val(ZC.GY(i)),ZC.A3("#"+n.K+"-error-close").bind("click",function(){ZC.Q.EW(n.K+"-error")}))},A5Y:function(){},A72:function(){},A5Z:function(){var e,t=this,i=document.createElement("div"),n=(i.id="zc-fullscreen",i.style.zIndex=zingchart.FSZINDEX,i.style.overflow="hidden",document.body),a=!1;for(zingchart.FSID&&ZC.AL(zingchart.FSID)&&(a=!0,(n=ZC.AL(zingchart.FSID)).style.display="block"),n.appendChild(i),ZC.FSSTATUS={},A=0,e=t.AG.length;A<e;A++){var l=t.AG[A];if(null!==l.AY)for(var o=0,r=l.AY.A4.length;o<r;o++)ZC.FSSTATUS["g-"+l.L+"-p-"+o]=l.E["plot"+o+".visible"]}ZC.Q.EW(t.K+"-data-table");for(var C,i=JSON.parse(t.E.json),s=i[ZC._[16]],A=s.length-1;0<=A;A--)if(s[A].generated)s.splice(A,1);else{if(null!==ZC._n_(s[A].shapes))for(C=s[A].shapes.length-1;0<=C;C--)s[A].shapes[C].generated&&s[A].shapes.splice(C,1);if(null!==ZC._n_(s[A][ZC._[10]]))for(C=s[A][ZC._[10]].length-1;0<=C;C--)s[A][ZC._[10]][C].generated&&s[A][ZC._[10]].splice(C,1)}a||window.scroll(0,0),zingchart.render({id:"zc-fullscreen",output:t.AB,width:ZC.A3(a?n:window).width(),height:ZC.A3(a?n:window).height(),fullscreenmode:!0,theme:t.L2,modules:t.A1D,data:i,defaults:t.KR,defaultsurl:t.QP})},A16:function(e,t){for(var i=this,n=0,a=!1,l=0,o=i.AG.length;l<o;l++)if(e===i.AG[l].K){for(n=l,C=0;C<i.AG[l].AY.A4.length;C++)if(i.AG[l].AY.A4[C].GX){a=!0;break}for(var r=i.AG[n].AJ["3d"]||a?i.o[ZC._[16]][l]:i.AG[l].o,C=0;C<10;C++){var s=ZC._[51]+(0===C?"":"-"+C);null===ZC._n_(r[s])&&null===ZC._n_(r[ZC.EH(s)])&&null!==i.AG[l].BM(s)?r[s]={progression:t}:(null!==ZC._n_(r[s])&&(r[s].progression=t),null!==ZC._n_(r[ZC.EH(s)])&&(r[ZC.EH(s)].progression=t))}}delete i.E["graph"+n+".zoom"],i.AG[n].AJ["3d"]||a?i.KC():i.AG[n].KC(!0,!0)},Z9:function(e,t){var i=this;if(i.D8){for(var n,a=0,l=i.AG.length;a<l;a++)e===i.AG[a].K&&(i.AG[a].A1F=t,i.AG[a].E["guide-on"]=t);t?(n=ZC.A3("#"+i.K+"-top"),n={_pageX_:ZC.E5[0]-n.offset().left,_pageY_:ZC.E5[1]-n.offset().top,type:ZC._[48],target:{id:i.K+"-img"}},i.D8.QJ(n)):ZC.JY.clearGuide(i.K)}},A5H:function(e){for(var t=this,i=["line","area","bar","vbar","hbar","pie","mixed"],n=0,a=t.AG.length;n<a;n++)if(e===t.AG[n].K){var l=t.o[ZC._[16]][n];if("mixed"===l.type)for(var o=0,r=l[ZC._[11]].length;o<r;o++){var C=l[ZC._[11]][o];C.type=C.type||"line","3d"===t.X9?C.type=C.type.replace("3d",""):-1!==ZC.AV(i,C.type)&&(C.type=C.type+"3d")}else"3d"===t.X9?l.type=l.type.replace("3d",""):-1!==ZC.AV(i,l.type)&&(l.type=l.type+"3d")}t.X9="3d"===t.X9?"2d":"3d",t.E.json=ZC.GY(JSON.stringify(t.o)),t.KC()},A91:function(e){for(var t=this,i=0;i<t.AG.length;i++)delete t.E["g"+i+"-legend-collapsed"];e=e||{},ZC.AO.C0("reload",t,{id:t.K,graphid:e[ZC._[3]]}),null!==ZC._n_(e=e[ZC._[3]])?null!==(e=t.CB(e))&&(t.N8(e),t.load(e.K)):(t.QV=[],t.NX=-1,t.N8(),t.clearGenerated(),t.load())},ACV:function(e){var t,i,n=this;e=e||{},null!==ZC._n_(t=e[ZC._[3]])?null!==(i=n.CB(t))&&null!==ZC._n_(e.dataurl)&&(n.N8(i),n.load(t,e.dataurl)):null!==ZC._n_(t=e.dataurl)&&(n.QO=t,n.N8(),n.load())},AA4:function(){},OM:function(){},Z8:function(){},AAH:function(e){ZC._cp_(this.FH(),e),ZC.AO.C0("menu_item_click",this,e)},A4B:function(N){var s=this;try{var E4=ZC.AO.AAJ(N["function"]);N["function"]=E4[0],N.arguments=E4[1],ZC._cp_(s.FH(),N),eval(N["function"]).call(s,N)}catch(JC){return s.O5(JC,"JavaScript data loader"),!1}},CB:function(e){return null!==ZC._n_(e)?this.P0(e):0<this.AG.length?this.AG[0]:null},bind:function(e,t){zingchart.bind(this.K,e,t)},unbind:function(e,t){zingchart.unbind(this.K,e,t)},exec:function(e,t){return zingchart.exec(this.K,e,t)},gc:function(){for(var e=0,t=this.AG.length;e<t;e++)this.AG[e].gc()}}),CE=(ZC.Q9=ZC.HU.CD(Q9),ZC.Q9.prototype.AD9=function(e){var t,i,n;if((e=e||{}).action="pan",t=null!==ZC._n_(e[ZC._[3]])?this.P0(e[ZC._[3]]):this.AG[0]){for(i=0,n=t.BW("k").length;i<n;i++){var a,l,o,r,C,s=t.BW("k")[i],A=1===s.L?"":"-"+s.L;s.GP&&(null===ZC._n_(e["zoomx"+A])||e["zoomx"+A])&&(e["zoomx"+A]=!0,a=e.xdist||50,o=s.I/ZC.CY(s.I,Math.abs(a)),r=s.W,C=s.A1,C=a<0?(l=ZC.CY(s.W-s.D4,ZC._i_((s.A1-s.W)/o)),r=s.W-l,s.A1-l):(l=ZC.CY(s.DP-s.A1,ZC._i_((s.A1-s.W)/o)),r=s.W+l,s.A1+l),e["xmin"+A]=r,e["xmax"+A]=C)}for(i=0,n=t.BW("v").length;i<n;i++){var Z,c,h,p=t.BW("v")[i];A=1===p.L?"":"-"+p.L,p.GP&&(null===ZC._n_(e["zoomy"+A])||e["zoomy"+A])&&(e["zoomy"+A]=!0,c=e.ydist||50,o=p.F/ZC.CY(p.F,Math.abs(c)),c=p.B0,h=p.BF,h=a<0?(Z=ZC.CY(p.B0-p.FQ,ZC._i_((p.BF-p.B0)/o)),c=p.B0-Z,p.BF-Z):(Z=ZC.CY(p.GW-p.BF,ZC._i_((p.BF-p.B0)/o)),c=p.B0+Z,p.BF+Z),p.Q3&&1===p.E3&&(c=Math.round(c),h=Math.round(h)),e["ymin"+A]=c,e["ymax"+A]=h)}this.Q5(e)}},ZC.Q9.prototype.A92=function(e){var t,i,n;if((e=e||{}).action="zoomin",t=null!==ZC._n_(e[ZC._[3]])?this.P0(e[ZC._[3]]):this.AG[0]){for(i=0,n=t.BW("k").length;i<n;i++){var a,l,o=t.BW("k")[i],r=1===o.L?"":"-"+o.L;o.GP&&(null===ZC._n_(e["zoomx"+r])||e["zoomx"+r])&&(e["zoomx"+r]=!0,l=o.A1-o.W,(a=o.W+(l<2?0:ZC._i_(l/4)))<(l=o.A1-(l<2?0:ZC._i_(l/4)))?(e["xmin"+r]=a,e["xmax"+r]=l):(e["xmin"+r]=o.W,e["xmax"+r]=o.A1))}for(i=0,n=t.BW("v").length;i<n;i++){var C,s,A=t.BW("v")[i];r=1===A.L?"":"-"+A.L,A.GP&&(null===ZC._n_(e["zoomy"+r])||e["zoomy"+r])&&(e["zoomy"+r]=!0,s=A.BF-A.B0,C=A.B0+ZC._f_(s/4),s=A.BF-ZC._f_(s/4),A.Q3&&1===A.E3&&(C=Math.round(C),s=Math.round(s)),C<s)&&(e["ymin"+r]=C,e["ymax"+r]=s)}this.Q5(e)}},ZC.Q9.prototype.A8F=function(e){var t,i,n;if((e=e||{}).action="zoomout",e.previewscale=!0,t=null!==ZC._n_(e[ZC._[3]])?this.P0(e[ZC._[3]]):this.AG[0]){for(i=0,n=t.BW("k").length;i<n;i++){var a,l,o,r=t.BW("k")[i],C=1===r.L?"":"-"+r.L;r.GP&&(null===ZC._n_(e["zoomx"+C])||e["zoomx"+C])&&(e["zoomx"+C]=!0,t.B7&&t.B7.KU?(l=ZC._i_(t.B7.NO[r.BD][ZC._[5]].length*t.B7.IL/t.B7.AT.I),o=ZC._i_(t.B7.NO[r.BD][ZC._[5]].length*t.B7.HB/t.B7.AT.I),a=ZC.BR(2,o-l),(l=ZC.BR(0,l-ZC._i_(a/2)))<(o=ZC.CY(t.B7.NO[r.BD][ZC._[5]].length-1,o+ZC._i_(a/2)))&&(e["xmin"+C]=l,e["xmax"+C]=o)):(a=ZC.BR(2,r.A1-r.W),(l=ZC.BR(r.D4,r.W-ZC._i_(a/2)))<(o=ZC.CY(r.DP,r.A1+ZC._i_(a/2)))&&(e["xmin"+C]=l,e["xmax"+C]=o)))}for(i=0,n=t.BW("v").length;i<n;i++){var s,A,Z=t.BW("v")[i];C=1===Z.L?"":"-"+Z.L,Z.GP&&(null===ZC._n_(e["zoomy"+C])||e["zoomy"+C])&&(e["zoomy"+C]=!0,A=Z.BF-Z.B0,s=ZC.BR(Z.FQ,Z.B0-ZC._f_(A/2)),A=ZC.CY(Z.GW,Z.BF+ZC._f_(A/2)),Z.Q3&&1===Z.E3&&(A=1<Math.round(A)-Math.round(s)?(s=Math.round(s),Math.round(A)):(s=Math.floor(s),Math.ceil(A))),(s=ZC.BR(Z.FQ,s))<(A=ZC.CY(Z.GW,A)))&&(e["ymin"+C]=s,e["ymax"+C]=A)}this.Q5(e)}},ZC.Q9.prototype.A8G=function(e){var t,i,n,a,l,o;for(e=e||{},t=null!==ZC._n_(e[ZC._[3]])?this.P0(e[ZC._[3]]):this.AG[0],e.action="viewall",i=0,n=t.BW("k").length;i<n;i++)e["zoomx"+(a=((o=t.BW("k")[i]).aForcedMinMax[2]=1)===o.L?"":"-"+o.L)]=!0,e["xmin"+a]=null,e["xmax"+a]=null,t.o[o.BD]&&(t.o[o.BD]["zoom-to"]=null,t.o[o.BD]["zoom-to-values"]=null),t.B7&&t.B7.KU&&(l=t.B7.NO[o.BD][ZC._[5]],e["kmin"+a+"-async"]=l[0],e["kmax"+a+"-async"]=l[l.length-1]);for(i=0,n=t.BW("v").length;i<n;i++)o=t.BW("v")[i],t.o[o.BD]&&(t.o[o.BD]["zoom-to"]=null,t.o[o.BD]["zoom-to-values"]=null),o.DV=null!==ZC._n_(o.E[ZC._[12]])&&-1!==o.E[ZC._[12]]?o.E[ZC._[12]]:null,a=1===o.L?"":"-"+o.L,o.KO=null,e["zoomy"+a]=!0,e["ymin"+a]=null,e["ymax"+a]=null;this.Q5(e)},ZC.Q9.prototype.Q5=function(e){var t,i,n,a,l,o,r,C,s,A,Z=this,c=((e=e||{}).id=Z.K,null!==ZC._n_(e.zoom)&&!e.zoom),h=null!==ZC._n_(e[ZC._[3]])?Z.P0(e[ZC._[3]]):Z.AG[0];if(h){c&&(Z.E["graph."+h.L+".ignore-zoom"]=!0),Z.E["graph."+h.L+".ignore-zoom"]&&(c=!0),typeof e.scroll===ZC._[31]&&(ZC.Q.IW(ZC.AL(h.K+"-scroll-x-c"),h.A.AB,h.iX,h.iY,h.I,h.F),ZC.Q.IW(ZC.AL(h.K+"-scroll-y-c"),h.A.AB,h.iX,h.iY,h.I,h.F)),h.B7&&(h.B7.I3=!1);var p=Z.E["graph"+h.L+".zoom"]||{};for(e.yzoomed=!1,!(n=h.BW("v")[0])||null===ZC._n_(e.ymin)||null===ZC._n_(e.ymax)||e.ymin===n.FQ&&e.ymax===n.GW||(e.yzoomed=!0),Y=0,a=h.BW("k").length;Y<a;Y++)if(l=1===(i=h.BW("k")[Y]).L?"":"-"+i.L,null!==ZC._n_(e["kmin"+l])&&null!==ZC._n_(e["kmax"+l]))if(e["kmin"+l]===e["kmax"+l])delete e["kmin"+l],delete e["kmax"+l];else{for(var u=!1,_=!1,d=0,f=i.V.length;d<f&&(e["kmin"+l]<=i.V[d]&&!u&&(e["xmin"+l]=d,u=!0),e["kmax"+l]<=i.V[d]&&!_&&(e["xmax"+l]=d,_=!0),!u||!_);d++);u||(e["xmin"+l]=0),_||(e["xmax"+l]=i.V.length-1),e["zoomx"+l]=!0,e.xzoomed=!(u&&_)}else g=h.B7&&h.B7.KU&&e.previewscale?h.B7.NO[i.BD][ZC._[5]]:i.V,null!==ZC._n_(t=g[e["xmin"+l]])&&(e["kmin"+l]=t),null!==ZC._n_(t=g[e["xmax"+l]])&&(e["kmax"+l]=t),h.B7&&h.B7.KU?e.xzoomed=!(0===e["xmin"+l]&&e["xmax"+l]===g.length-1):e.xzoomed=!(e["xmin"+l]===i.D4&&e["xmax"+l]===i.DP);"viewall"===e.action&&(e.xzoomed=!1,e.yzoomed=!1);var g,B,b,E,m=ZC.AO.C0("zoom",h.A,e,!0);if(!e["async"]||c)if(h.B7&&h.B7.KU&&(g=h.B7.NO[i.BD][ZC._[5]],B=ZC.Y4(g),L=ZC.A1U(g),b=null!==ZC._n_(e.kmin)&&typeof e.kmin!==ZC._[31]?(b=ZC._i_(h.B7.AT.I*(e.kmin-B)/(L-B)),ZC.BR(b,0)):0,E=null!==ZC._n_(e.kmax)&&typeof e.kmax!==ZC._[31]?(E=ZC._i_(h.B7.AT.I*(e.kmax-B)/(L-B)),ZC.CY(E,h.B7.AT.I)):h.B7.AT.I,c||h.B7.update(b,E,h.B7.KX,h.B7.HE)),m||typeof m===ZC._[31]){for(Y=0,a=h.BW("k").length;Y<a;Y++)e["zoomx"+(l=1===(i=h.BW("k")[Y]).L?"":"-"+i.L)]&&(c||i.zoomTo(e["xmin"+l],e["xmax"+l]),p["xmin"+l]=e["xmin"+l],p["xmax"+l]=e["xmax"+l]);for(Y=0,a=h.BW("v").length;Y<a;Y++)e["zoomy"+(l=1===(n=h.BW("v")[Y]).L?"":"-"+n.L)]&&null!==ZC._n_(n)&&(c||n.zoomTo(e["ymin"+l],e["ymax"+l]),p["ymin"+l]=e["ymin"+l],p["ymax"+l]=e["ymax"+l]);if(c&&(Z.H6.C=h),Z.H6.parse(),Z.H6.A0D)for(Z.E["graph"+h.L+".zoom"]=p,s=0,A=Z.AG.length;s<A;s++)h.K!==Z.AG[s].K&&Z.AG[s].H6&&ZC._b_(Z.AG[s].H6.o.shared)&&(Z.E["graph"+Z.AG[s].L+".zoom"]=p);if(h.B7&&!e.preview&&h.B7.update(e.xmin,e.xmax,e.ymin,e.ymax,!0),!c){h.clear(!0);for(var D=h.BW("v"),v=0;v<D.length;v++)if((n=h.BW("v")[v])&&(n.aAutoFit[0]||n.aAutoFit[1])){for(var F=n.aAutoFit[0]?ZC.MAX:n.FQ,K=n.aAutoFit[1]?-ZC.MAX:n.GW,I=0,x=h.AY.A4.length;I<x;I++)if(h.AY.A4[I].AP&&-1!==ZC.AV(h.AY.A4[I].BO,n.BD))if(i.EI){for(Y=0,a=h.AY.A4[I].S.length;Y<a;Y++)if((C=h.AY.A4[I].S[Y])&&ZC.DS(C.BV,i.V[i.W],i.V[i.A1]))for(n.aAutoFit[0]&&(F=ZC.CY(F,C.CR)),n.aAutoFit[1]&&(K=ZC.BR(K,C.CR)),o=0,r=C.DU.length;o<r;o++)n.aAutoFit[0]&&(F=ZC.CY(F,C.DU[o])),n.aAutoFit[1]&&(K=ZC.BR(K,C.DU[o]))}else for(Y=i.W;Y<=i.A1;Y++)if(C=h.AY.A4[I].S[Y])for(n.aAutoFit[0]&&(F=ZC.CY(F,C.CR)),n.aAutoFit[1]&&(K=ZC.BR(K,C.CR)),o=0,r=C.DU.length;o<r;o++)n.aAutoFit[0]&&(F=ZC.CY(F,C.DU[o])),n.aAutoFit[1]&&(K=ZC.BR(K,C.DU[o]));"log"===n.BS&&(F=ZC.FU(F,n.DY),K=ZC.FU(K,n.DY)),n.QN(F,K,!0),n.J6();for(var y=h.BW("v"),Y=0;Y<y.length;Y++)y[Y].BD!==n.BD&&y[Y].sMaster===n.BD&&(y[Y].QN(F,K,!0),y[Y].J6())}var L=ZC._b_(e.zoomto),G=(h.E["skip-preview"]=!0,["top","right","bottom","left"]);for(Y=0;Y<G.length;Y++)!(h.P.E["d-margin-"+G[Y]]||h.E["plotarea.d-margin-"+G[Y]]||ZC._b_(h.P.o["adjust-layout"]))||h.o.plotarea["margin-"+G[Y]]&&!Number.isNaN(h.o.plotarea["margin-"+G[Y]])||(h.o.plotarea["margin-"+G[Y]]=h.P.o["margin-"+G[Y]]="dynamic",h.E["plotarea.d-margin"]=h.E["plotarea.d-margin-"+G[Y]]=!0);h.setupDynamicPlotArea(),h.paint(!L),Z.H6.C=null,ZC.AO.C0("postzoom",h.A,e)}}else h.ZE=!1}},zingchart.ABQ=function(e,t,i){document.getElementById("zc-fullscreen")&&(e="zc-fullscreen"),"string"==typeof(i=i||{})&&(i=JSON.parse(i));var n,a,l,o,r,C,s,A,Z=zingchart.getLoader(e);if(null!==ZC._n_(i[ZC._[53]])&&(Z.E[ZC._[53]]=ZC._b_(i[ZC._[53]])),Z)switch(t){case"getzoom":if(o={},l=Z.CB(i[ZC._[3]]))for(n=0,a=l.BO.length;n<a;n++){var c=l.BO[n];"k"===c.AF?o[c.BD]={xmin:c.W,xmax:c.A1,vmin:c.V[c.W],vmax:c.V[c.A1]}:o[c.BD]={ymin:c.B0,ymax:c.BF,vmin:c.V[c.W],vmax:c.V[c.A1]}}return o;case"pan":Z.AD9(i);break;case"zoomin":Z.A92(i);break;case"zoomout":Z.A8F(i);break;case"zoomto":if(l=Z.CB(i[ZC._[3]]),null!==ZC._n_(i.xall)&&i.xall)for(n=0,a=l.BW("k").length;n<a;n++)i["xmin"+(s=1===(r=l.BW("k")[n]).L?"":"-"+r.L)]=i.xmin||null,i["xmax"+s]=i.xmax||null,i["kmin"+s]=i.kmin||null,i["kmax"+s]=i.kmax||null;for(n=0,a=l.BW("k").length;n<a;n++)null===i["xmin"+(s=1===(r=l.BW("k")[n]).L?"":"-"+r.L)]&&null===ZC._n_(i["xmax"+s])&&null===ZC._n_(i["kmin"+s])&&null===ZC._n_(i["kmax"+s])||(i["zoomx"+s]=!0),"log"===r.BS&&(null!==ZC._n_(i["xmin"+s])&&(i["xmin"+s]=ZC.FU(i["xmin"+s],r.DY)),null!==ZC._n_(i["xmax"+s]))&&(i["xmax"+s]=ZC.FU(i["xmax"+s],r.DY));if(null!==ZC._n_(i.yall)&&i.yall)for(n=0,a=l.BW("v").length;n<a;n++)i["ymin"+(s=1===(C=l.BW("v")[n]).L?"":"-"+C.L)]=i.ymin||null,i["ymax"+s]=i.ymax||null;for(n=0,a=l.BW("v").length;n<a;n++)s=1===(C=l.BW("v")[n]).L?"":"-"+C.L,null===ZC._n_(i["ymin"+s])&&null===ZC._n_(i["ymax"+s])||(i["zoomy"+s]=!0),"log"===C.BS&&(null!==ZC._n_(i["ymin"+s])&&(i["ymin"+s]=ZC.FU(i["ymin"+s],C.DY)),null!==ZC._n_(i["ymax"+s]))&&(i["ymax"+s]=ZC.FU(i["ymax"+s],C.DY));Z.Q5(i);break;case"zoomtovalues":if(l=Z.CB(i[ZC._[3]]),null!==ZC._n_(i.xall)&&i.xall)for(n=0,a=l.BW("k").length;n<a;n++)i["xmin"+(s=1===(r=l.BW("k")[n]).L?"":"-"+r.L)]=i.xmin||null,i["xmax"+s]=i.xmax||null;for(n=0,a=l.BW("k").length;n<a;n++)s=1===(r=l.BW("k")[n]).L?"":"-"+r.L,null===ZC._n_(i["xmin"+s])&&null===ZC._n_(i["xmax"+s])||(l.B7&&l.B7.KU?(i.previewscale=!0,i["kmin"+s+"-async"]=i["xmin"+s],i["xmin"+s]=ZC.A1X(l.B7.NO[r.BD][ZC._[5]],i["xmin"+s])):-1!==(A=ZC.AV(r.V,i["xmin"+s]))?i["xmin"+s]=A:i["xmin"+s]=ZC.A1X(r.V,i["xmin"+s]),l.B7&&l.B7.KU?(i.previewscale=!0,i["kmax"+s+"-async"]=i["xmax"+s],i["xmax"+s]=ZC.A1X(l.B7.NO[r.BD][ZC._[5]],i["xmax"+s])):-1!==(A=ZC.AV(r.V,i["xmax"+s]))?i["xmax"+s]=A:i["xmax"+s]=ZC.A1X(r.V,i["xmax"+s]),i["zoomx"+s]=!0);if(null!==ZC._n_(i.yall)&&i.yall)for(n=0,a=l.BW("v").length;n<a;n++)i["ymin"+(s=1===(C=l.BW("v")[n]).L?"":"-"+C.L)]=i.ymin||null,i["ymax"+s]=i.ymax||null;for(n=0,a=l.BW("v").length;n<a;n++)s=1===(C=l.BW("v")[n]).L?"":"-"+C.L,null===ZC._n_(i["ymin"+s])&&null===ZC._n_(i["ymax"+s])||(i["zoomy"+s]=!0);Z.Q5(i);break;case"viewall":Z.A8G(i)}return null},ZC.A89={},ZC.AO.A3W=function(e,t,i,n){"jpg"===(n=n||"png")&&(n="jpeg");for(var a=document.createElement("canvas"),l=(a.width=t,a.height=i,a.style.width=t+"px",a.style.height=i+"px",a.getContext("2d")),o=0,r=(e=e instanceof Array?e:[e]).length;o<r;o++)if(-1===e[o].className.indexOf("zc-no-print")){var C=!1;try{e[o].toDataURL("image/"+n)}catch(s){C=!0}C||((C=e[o].getAttribute("data-clip"))?(C=C.split(","),l.drawImage(e[o],ZC.BR(0,C[0]),ZC.BR(0,C[1]),ZC.CY(C[2],e[o].width),ZC.CY(C[3],e[o].height),ZC.BR(0,C[0]),ZC.BR(0,C[1]),ZC.CY(C[2],e[o].width),ZC.CY(C[3],e[o].height))):l.drawImage(e[o],0,0,e[o].width,e[o].height,0,0,t,i))}return a.toDataURL("image/"+n)},ZC.AO.ABM=function(e,t,i,n,a){null===ZC._n_(a)&&(a=!1);e=ZC.AO.A3W(e,t,i,n);if(a)return(t=document.createElement("img")).src=e,t;e=e.replace("image/"+n,"image/octet-stream"),document.location.href=e},ZC.Q9.prototype.AA4=function(){var i=this,n=[];if(!i.A7Q){i.A7Q=!0;var a=document.body.childNodes,l=ZC.A3(document.body).css(ZC._[0]),o=ZC.A3(document.body).css("background-image");ZC.A3(document.body).css(ZC._[0],"#fff").css("background-image","none");for(var e=0,t=a.length;e<t;e++)1===a[e].nodeType&&(n[e]=a[e].style.display,a[e].style.display="none");document.body.appendChild(ZC.AL(i.K+"-wrapper")),window.setTimeout(function(){window.print(),window.setTimeout(function(){ZC.A3(document.body).css(ZC._[0],l).css("background-image",o),ZC.AL(i.K+"-wrapper")&&ZC.AL(i.K).appendChild(ZC.AL(i.K+"-wrapper"));for(var e=0,t=a.length;e<t;e++)1===a[e].nodeType&&(a[e].style.display=n[e]);i.A7Q=!1},1e3)},50)}},ZC.Q9.prototype.OM=function(r,C,s,A){var Z=this;if(C=C||{},typeof s===ZC._[31]&&(s=!1),!ZC.AL(Z.K+"-viewimage")){r=r||"png";var c,e,h,i,p=C.download,u=C.fn||"",t=(ZC.Q.IW(ZC.AL(Z.K+"-guide-c"),Z.AB,0,0,Z.I,Z.F),ZC.A3(".zc-guide-label").remove(),("canvas"===Z.AB||zingchart.AJAXEXPORT||zingchart.DEV.LOCALSVGEXPORT)&&"pdf"!==r&&"svg"!==r);if(ZC.mobile||!t||s||p||(c=ZC.Q.I2({cls:"zc-abs zc-viewimage zc-style",id:Z.K+"-viewimage",zidx:5,p:ZC.AL(Z.K+"-top"),wh:Z.I+"/"+Z.F}),e=ZC.Q.I2({id:Z.K+"-viewimage-close",p:c,zidx:10,tl:"5/"+(Z.I-15),html:ZC.HG["viewimage-close"]}),ZC.A3(e).css("cursor","pointer").css("left",Z.I-15-ZC.A3(e).width()+"px"),ZC.A3(e).bind("click",function(){ZC.A3(c).remove()})),ZC.mobile&&(p=!0),!zingchart.DEV.LOCALSVGEXPORT||p||"svg"!==Z.AB||"png"!==r&&"jpeg"!==r){if("canvas"===Z.AB&&"pdf"!==r&&"svg"!==r){var n,a,l=document.createElement("canvas");for(l.width=Z.I,l.height=Z.F,n=0,a=Z.AG.length;n<a;n++)Z.AG[n].BE&&Z.AG[n].BE.EO(l);var o=[],_=(ZC.A3("#"+Z.K+" canvas").each(function(){-1===ZC.AV([Z.K+"-guide-c",Z.K+"-trigger-c"],this.id)&&o.push(this)}),o.push(l),o.push(Z.createPreviewMasks()),ZC.AO.ABM(o,Z.I,Z.F,r,!0));_.id=Z.K+"-print-"+r,c.appendChild(_)}else s||Z.A8I(ZC.HG["export-wait"]),"vml"===Z.AB||"canvas"===Z.AB&&("pdf"===r||"svg"===r)?(_=document.createElement("div"),i="zc-export-svg-"+Z.K,_.id=i,_.style.display="none",document.body.appendChild(_),zingchart.render({id:i,output:"!svg",imggen:!0,width:Z.I,height:Z.F,data:Z.E.json,defaults:Z.KR,theme:Z.L2,hideprogresslogo:!0,events:{load:function(){window.setTimeout(function(){var e,t=zingchart.getLoader(i);t.E["dynamic-objects"]?e=window.setInterval(function(){"ready"===t.E["dynamic-objects"]&&(window.clearInterval(e),t.togglePreviewMasks(!0),h=ZC.AL(i+"-top").innerHTML,t.togglePreviewMasks(!1),zingchart.exec(i,"destroy",{skipfs:!0}),d())},100):(t.togglePreviewMasks(!0),h=ZC.AL(i+"-top").innerHTML,t.togglePreviewMasks(!1),zingchart.exec(i,"destroy",{skipfs:!0}),d())},100)}}})):"svg"===Z.AB&&(Z.togglePreviewMasks(!0),h=ZC.AL(Z.K+"-top").innerHTML,d(),Z.togglePreviewMasks(!1));t&&!s&&(ZC.A3(e).css("cursor","pointer").css("left",Z.I-15-ZC.A3(e).width()+"px"),ZC.A3(e).bind("click",function(){ZC.A3(c).remove()}))}else zingchart.exec(Z.K,"getimagedata",{callback:function(e){var t;-1!==e?((t=document.createElement("img")).id=Z.K+"-print-"+r,t.src=e,c.appendChild(t)):(ZC.Q.EW(Z.K+"-viewimage"),zingchart.DEV.LOCALSVGEXPORT=0,Z.OM(r,C,s,A))}})}function d(){var e,t={svg:h=(h=h.replace(/<foreignObject(.+?)<\/foreignObject>/g,"")).replace(' xmlns="http://www.w3.org/2000/svg"',""),w:Z.I,h:Z.F,t:r,fn:u};if(ZC._cp_(C,t),zingchart.AJAXEXPORT&&"pdf"!==r&&"svg"!==r&&!p){var i="base64=1&";for(e in t)i+=e+"="+encodeURIComponent(t[e])+"&";ZC.A3.ajax({type:"post",url:zingchart.EXPORTURL,data:i,success:function(e,t,i){Z.A49(),s?A&&A(e,t,i):((t=document.createElement("img")).src=e,t.id=Z.K+"-print-"+r,c.appendChild(t))}})}else{ZC.AL(Z.K+"-export")&&ZC.Q.EW(Z.K+"-export");var n,a=ZC.Q.I2({cls:"zc-abs zc-style",id:Z.K+"-export",p:ZC.AL(Z.K+"-top"),display:"none"}),l=(n=null!==ZC._n_(t.uid)&&null!==ZC._n_(t.page)?ZC.Q.ABA(ZC.AL(Z.K+"-export")):document).createElement("FORM");for(e in l.action=zingchart.EXPORTURL,l.method="post",l.enctype="multipart/form-data",(null!==ZC._n_(t.uid)&&null!==ZC._n_(t.page)?n.body:a).appendChild(l),l.style.display="none",t){var o=n.createElement("INPUT");o.type="hidden",o.name=e,o.value=t[e],l.appendChild(o)}l.submit(),(l=null)!==ZC._n_(t.uid)&&null!==ZC._n_(t.page)&&window.setTimeout(function(){ZC.A3("#"+Z.K+"-export").remove()},6e4),window.setTimeout(function(){Z.A49()},1e3)}}},ZC.Q9.prototype.Z8=function(e){var t,i,n=this,a=(e=e||"png",[]),l=document.createElement("canvas");for(l.width=n.I,l.height=n.F,t=0,i=n.AG.length;t<i;t++)n.AG[t].BE&&n.AG[t].BE.EO(l);return ZC.A3("#"+n.K+" canvas").each(function(){-1===ZC.AV([n.K+"-guide-c",n.K+"-tooltip-c"],this.id)&&a.push(this)}),a.push(l),a.push(n.createPreviewMasks()),ZC.AO.A3W(a,n.I,n.F,e)},ZC.AO.downloadFile=function(e,t,i){var n;ZC.ie678||(i=i||"application/octet-stream",n=document.createElement("a"),navigator.msSaveBlob?navigator.msSaveBlob(new Blob([e],{type:i}),t):URL&&"download"in n?(n.href=URL.createObjectURL(new Blob([e],{type:i})),n.setAttribute("download",t),document.body.appendChild(n),n.click(),document.body.removeChild(n)):location.href="data:application/octet-stream,"+encodeURIComponent(e))},ZC.AO.XW=function(e,t){var i,n,a,l,o,r,C,s,A,Z=[],c="",h=[];for("xls"===(t=t||"csv")&&Z.push('<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">',"<head>","\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>[ZC]</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e",'<style>td{border:none;font-family:Calibri,sans-serif} .number{mso-number-format:"0.00";} .text{mso-number-format:"@";}</style>',"<meta name=ProgId content=Excel.Sheet>","<meta charset=UTF-8>","</head>","<body>"),i=0,n=e.AG.length;i<n;i++){var p=e.AG[i],u=p.AY.A4,_=(e.E.fastlinedata&&(u=e.E.fastlinedata),{}),d=[],f=p.BW("k")[0],g=("html"!==t&&"xls"!==t&&"raw"!==t||(Z.push("<table>"),p.IM&&""!==p.IM.AN&&(h.push([p.IM.AN]),Z.push("<caption>"+p.IM.AN+"</caption>")),Z.push("<thead>"),Z.push("<tr>")),C=[],"Category"),B=!(A=[]),b="%Y-%mm-%dd %H:%i:%s";for(f&&(f.F7&&"date"===f.F7.o.type&&(g="Date",B=!0,f.F7.o["export-format"])&&(b=f.F7.o["export-format"]),f.M)&&f.M.AN&&(g=f.M.AN.replace(/\"|\'/g,"")),"csv"===t?C.push('"'+g+'"'):"raw"===t?A.push(g):"html"!==t&&"xls"!==t||C.push("<th>"+g+"</th>"),m=0,D=u.length;m<D;m++)null!==ZC._n_(u[m].o["export"])&&!ZC._b_(u[m].o["export"])||(s=(s=null!==ZC._n_(u[m].AN)?u[m].AN+"":"Series "+m).replace(/\"|\'/g,""),"csv"===t?C.push('"'+s+'"'):"raw"===t?A.push(s):"html"!==t&&"xls"!==t||C.push("<th"+("xls"===t?' scope="col" class="text"':"")+">"+s+"</th>"),d.push(""));if("csv"===t?Z.push(C.join(",")):"raw"===t?h.push(A):"html"!==t&&"xls"!==t||Z.push(C.join("")),"html"!==t&&"xls"!==t||(Z.push("</tr>"),Z.push("</thead>"),Z.push("<tbody>")),f){for(o=0,r=f.V.length;o<r;o++)_[o+""]={hasData:!1,nodes:[].concat(d)};for(var E=[],m=0,D=u.length;m<D;m++)if(null===ZC._n_(u[m].o["export"])||ZC._b_(u[m].o["export"]))for(a=0,l=u[m].S.length;a<l;a++){var v=u[m].S[a];v&&(_[o=null!==ZC._n_(v.BV)?""+v.BV:""+a]=_[o]||{hasData:!0,nodes:[].concat(d)},_[o].nodes[m]=v.AC,_[o].hasData=!0,null!==ZC._n_(v.BV))&&E.push(""+v.BV)}var F=[];for(o in _)_[o].hasData&&F.push([o,_[o].nodes]);F.sort(function(e,t){return e[0]-t[0]});for(var K=null,I=0,x=F.length;I<x;I++){if("html"!==t&&"xls"!==t||Z.push("<tr>"),"pie"!==p.AF&&"pie3d"!==p.AF&&"nestedpie"!==p.AF||null!==ZC._n_(f.V[F[I][0]])&&(F[I][0]=f.V[F[I][0]]),null!==ZC._n_(f.BY[F[I][0]])&&(F[I][0]=f.BY[F[I][0]]),null!==ZC._n_(f.V[F[I][0]])&&-1===ZC.AV(E,F[I][0])&&(F[I][0]=f.V[F[I][0]]),(K=p.A.FH()).row=I,K.col=0,K[ZC._[9]]=F[I][0],F[I][0]=ZC.AO.C0("dataexport",p.A,K,F[I][0],null),ZC._n_(F[I][1]))for(var y=0;y<F[I][1].length;y++)(K=p.A.FH()).row=I,K.col=y+1,K[ZC._[9]]=F[I][1][y],F[I][1][y]=ZC.AO.C0("dataexport",p.A,K,F[I][1][y],null);B&&(F[I][0]=ZC.AO.YF(F[I][0],b,p.UK,p.NE),"csv"===t)&&(F[I][0]='"'+F[I][0]+'"'),"csv"===t?Z.push([].concat(F[I][0]).concat(F[I][1]).join(",")):"raw"===t?h.push([].concat(F[I][0]).concat(F[I][1])):"html"!==t&&"xls"!==t||Z.push("<td"+("xls"===t?' scope="row"':"")+">"+[].concat(F[I][0]).concat(F[I][1]).join("</td><td>")+"</td>"),"html"!==t&&"xls"!==t||Z.push("</tr>")}}"html"!==t&&"xls"!==t||(Z.push("</tbody>"),Z.push("</table>")),1<n&&i<n-1&&("csv"===t?Z.push("","",""):"html"!==t&&"xls"!==t||Z.push("<p> </p>"))}return"xls"===t&&Z.push("</body>","</html>"),"raw"===t?h:("csv"===t?c=Z.join("\n"):"html"!==t&&"xls"!==t||(c=Z.join("")),c)},zingchart.ABC=function(e,t,l){var i,n,a="",o="";function r(e){ZC.A3.ajax({type:"post",url:i,data:e,success:function(e,t,i){n&&n(e,t,i)}})}document.getElementById("zc-fullscreen")&&(e="zc-fullscreen"),"string"==typeof(l=l||{})&&(l=JSON.parse(l));var C,s=zingchart.getLoader(e);if(s)switch(t){case"getimagedata":var A,Z,c,h,p="png";if(null!==ZC._n_(C=l.format)&&(p=C),"jpg"===(p=null!==ZC._n_(C=l.filetype)?C:p)&&(p="jpeg"),!zingchart.DEV.LOCALSVGEXPORT||"svg"!==s.AB||"png"!==p&&"jpeg"!==p||(s.togglePreviewMasks(!0),_=(A=ZC.AL(s.K+"-svg").parentNode.innerHTML).indexOf(">"),u=A.indexOf("</svg>"),A=(A='<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+s.I+'" height="'+s.F+'">[CSS]'+A.substring(_+1,u+6)).replace(/<foreignObject(.+?)<\/foreignObject>/g,""),Z=function(){var n,e=window.URL||window.webkitURL||window,t=!1,a=(navigator&&navigator.userAgent&&-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&(t=!0),n=e.createObjectURL&&window.Blob&&!t?e.createObjectURL(new window.Blob([A],{type:"image/svg+xml;charset-utf-16"})):"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(A),s.togglePreviewMasks(!1),new window.Image);a.crossOrigin="anonymous",a.src=n,a.onload=function(){var e=document.createElement("canvas"),t=e.getContext("2d");if(e.width=a.width,e.height=a.height,t.drawImage(a,0,0,e.width,e.height),l.callback&&"function"==typeof l.callback)try{l.callback(e.toDataURL("image/"+p))}catch(i){l.callback(n)}}},c=0,h=function(){var e=new XMLHttpRequest;e.open("get",s.A27[c]),e.responseType="text",e.onloadend=function(e){var n=e.target.response,a=n.match(/https?:\/\/[^ \)]+/g),l=0;a.forEach(function(i){var e=new XMLHttpRequest;e.open("get",i),e.responseType="blob",e.onloadend=function(e){var t=new FileReader;t.onloadend=function(e){n=n.replace(new RegExp(i),e.target.result),++l===a.length&&(A=A.replace("[CSS]","[CSS]<style><![CDATA["+n+"]]></style>"),(++c===s.A27.length?(A=A.replace("[CSS]",""),Z):h)())},t.readAsDataURL(e.target.response)},e.send()})},e.send()},(s.A27.length?h:(A=A.replace("[CSS]",""),Z))()),"canvas"!==s.AB&&!zingchart.AJAXEXPORT)return-1;if("canvas"===s.AB){if(!l.callback||"function"!=typeof l.callback)return s.Z8(p);try{l.callback(s.Z8(p))}catch(d){l.callback(-1)}}else s.OM(p,{},!0,l.callback);break;case"exportimage":case"saveasimage":if(!l.download&&"canvas"!==s.AB&&!zingchart.AJAXEXPORT)return-1;if(p="png",_={},null!==ZC._n_(C=l.options)&&(_=C),null!==ZC._n_(C=l.uid)&&(_.uid=C),null!==ZC._n_(C=l.page)&&(_.page=C),null!==ZC._n_(C=l.format)&&(p=C),null!==ZC._n_(C=l.filetype)&&(p=C),null!==ZC._n_(C=l.filename)&&(a=C),i=s.E.exportimageurl||"",null!==ZC._n_(C=l.url)&&(i=C),(n=null)!==ZC._n_(C=l.callback)&&(n=C),"jpg"===p&&(p="jpeg"),l.download&&("canvas"!==s.AB||"pdf"===p))return _.download=!0,""!==a&&(_.fn=a),void s.OM(p,_);if(""!==i){if("canvas"===s.AB)return r(s.Z8(p));s.OM(p,_,!0,r)}break;case"exportdata":if(i=s.E.exportdataurl||"",null!==ZC._n_(C=l.url)&&(i=C),o=ZC.AO.XW(s,"csv"),""===i)return o;(n=null)!==ZC._n_(C=l.callback)&&(n=C),ZC.A3.ajax({type:"post",url:i,data:o,success:function(e,t,i){n&&n(e,t,i)}});break;case"downloadCSV":o=ZC.AO.XW(s,"csv"),ZC.AO.downloadFile(o,(l.fn||s.K)+".csv","text/csv;encoding:utf-8");break;case"downloadXLS":var o=ZC.AO.XW(s,"xls"),u=l.sn||"ZingChart";o=o.replace("<x:Name>[ZC]</x:Name>","<x:Name>"+u+"</x:Name>"),ZC.AO.downloadFile(o,(l.fn||s.K)+".xls","application/vnd.ms-excel;encoding:utf-8");break;case"downloadRAW":var _=ZC.AO.XW(s,"raw");if(!l.callback||"function"!=typeof l.callback)return _;try{l.callback(_,l.fn||s.K)}catch(d){l.callback(-1)}break;case"viewDataTable":"viewdatatable"===l.menuid?(o=ZC.AO.XW(s,"html"),ZC.AL(s.K+"-data-table")?ZC.AL(s.K+"-data-table").innerHTML=o:(C=ZC.Q.I2({id:s.K+"-data-table",cls:"zc-data-table "+s.K+"-data-table"}),ZC.Q.P9(C,{width:s.I+"px","max-height":"400px",overflow:"auto"}),C.innerHTML=o,ZC.AL(s.K).parentNode.insertBefore(C,ZC.AL(s.K).nextSibling))):"hidedatatable"===l.menuid&&ZC.Q.EW(s.K+"-data-table")}return null},ZC.A8Y={},ZC.AO.WX=function(e){for(var t,i="",n=!1,a=!1,l=0,o="",r=0,C=(e=e.replace(/\t|\r|\n/g,"")).length;r<C;r++)switch(t=e.substr(r,1)){case'"':n=!n,i+=e.substr(r,1),o=t;break;case"{":i+=e.substr(r,1),n||(i+="\n"+new Array(l+1).join(" "),l++,o=t);break;case"}":n||(i+="\n"+new Array(l).join(" "),l--,o=t),i+=e.substr(r,1);break;case"[":var s=e.indexOf("]",r),A=-1===(A=e.indexOf("}",r))?999999:A,Z=-1===(Z=e.indexOf("{",r))?999999:Z;s<ZC.CY(A,Z)?(a=!0,i+=e.substr(r,1)):(a=!1,i=(i+=e.substr(r,1))+("\n"+new Array(l+1).join(" ")),l++),o=t;break;case"]":a=a&&!1,"}"===o&&(l--,i+="\n"+new Array(l).join(" ")),i+=e.substr(r,1),o=t;break;case" ":n&&(i+=e.substr(r,1),o=t);break;case",":i+=e.substr(r,1),n||a||(i+="\n"+new Array(l).join(" ")),o=t;break;default:i+=e.substr(r,1),o=t}return i},ZC.Q9.prototype.A5Y=function(){var t=this,e=(ZC.AO.C0("source_show",t,t.FH()),ZC.Q.I2({cls:"zc-abs zc-viewsource zc-style",id:t.K+"-viewsource",p:ZC.AL(t.K+"-top"),wh:t.I-(ZC.quirks?0:10)+"/"+(t.F-(ZC.quirks?0:10))}));e.style.zIndex=99,e.innerHTML=ZC._h_('<div class="zc-form-row-label zc-form-s1"> <a href="javascript:void(0)" id="'+t.K+'-viewsource-originalsource" class="zc-tab-active">'+ZC.HG["viewsource-originalsource"]+'</a> <a href="javascript:void(0)" id="'+t.K+'-viewsource-jsonsource" class="zc-tab-inactive">'+ZC.HG["viewsource-jsonsource"]+'</a></div><div class="zc-form-row-element"><textarea id="'+t.K+'-viewsource-json" style="width:'+(t.I-35)+"px;height:"+(t.F-95)+'px;"></textarea></div><div class="zc-form-row-element zc-form-row-last" id="'+t.K+'-viewsource-actions"><input type="button" value="'+ZC.HG["viewsource-close"]+'" id="'+t.K+'-viewsource-close" /></div>'),zingchart.EDITSOURCE&&(ZC.AL(t.K+"-viewsource-actions").innerHTML+='<input type="button" value="'+ZC.HG["viewsource-apply"]+'" id="'+t.K+'-viewsource-apply" />'),ZC.A3("#"+t.K+"-viewsource-json").val(ZC.AO.WX(t.E.source)),ZC.A3("#"+t.K+"-viewsource-jsonsource").bind("click",function(){ZC.AL(t.K+"-viewsource-jsonsource").className="zc-tab-active",ZC.AL(t.K+"-viewsource-originalsource").className="zc-tab-inactive",ZC.A3("#"+t.K+"-viewsource-json").val(ZC.AO.WX(t.E.json))}),ZC.A3("#"+t.K+"-viewsource-originalsource").bind("click",function(){ZC.AL(t.K+"-viewsource-jsonsource").className="zc-tab-inactive",ZC.AL(t.K+"-viewsource-originalsource").className="zc-tab-active",ZC.A3("#"+t.K+"-viewsource-json").val(ZC.AO.WX(t.E.source))}),ZC.A3("#"+t.K+"-viewsource-close").bind("click",function(){ZC.AO.C0("source_hide",t,t.FH()),ZC.Q.EW(t.K+"-viewsource")}),zingchart.EDITSOURCE&&ZC.A3("#"+t.K+"-viewsource-apply").bind("click",function(){ZC.AO.C0("source_hide",t,t.FH());var e=ZC.A3("#"+t.K+"-viewsource-json").val();ZC.Q.EW(t.K+"-viewsource"),zingchart.exec(t.K,"setdata",{data:e})})},ZC.Q9.prototype.A72=function(){var e,t,r=this;r.I<300||r.F<300?window.open("http://www.zingchart.com/support/","",""):(e=ZC.Q.I2({cls:"zc-abs zc-bugreport zc-style",id:r.K+"-bugreport",p:ZC.AL(r.K+"-top"),wh:r.I-(ZC.quirks?0:10)+"/"+(r.F-(ZC.quirks?0:10))}),t="",t+='<div class="zc-form-row-label zc-form-s0">'+ZC.HG["bugreport-header"]+'</div><div class="zc-form-row-label"><input type="checkbox" id="'+r.K+'-chkdata" checked="checked" /><label for="'+r.K+'-chkdata">'+ZC.HG["bugreport-senddata"]+"</label>",ZC.canvas&&(t+=' <input type="checkbox" id="'+r.K+'-chkcapture" checked="checked" /><label for="'+r.K+'-chkcapture">'+ZC.HG["bugreport-sendcapture"]+"</label>"),t+='</div><div class="zc-form-row-label zc-form-s1">'+ZC.HG["bugreport-yourcomment"]+'</div><div class="zc-form-row-element"><textarea id="'+r.K+'-bugreport-comment" style="width:'+(r.I-35)+"px;height:"+((r.F-300)/2-10)+'px;"></textarea></div><div class="zc-form-row-label zc-form-s1">'+ZC.HG["bugreport-jsondata"]+'</div><div class="zc-form-row-element"><textarea id="'+r.K+'-bugreport-json" style="width:'+(r.I-35)+"px;height:"+(r.F-210)/2+'px;"></textarea></div><div class="zc-form-row-label zc-form-s1">'+ZC.HG["bugreport-youremail"]+(510<=r.I?" <span>("+ZC.HG["bugreport-infoemail"]+")</span>":"")+'</div><div class="zc-form-row-element"><input type="email" id="'+r.K+'-bugreport-email" style="width:'+(r.I-35)+'px;" /></div><div class="zc-form-row-element zc-form-row-last"><input type="button" value="'+ZC.HG["bugreport-submit"]+'" id="'+r.K+'-bugreport-submit" /><input type="button" value="'+ZC.HG["bugreport-cancel"]+'" id="'+r.K+'-bugreport-cancel" /></div>',e.innerHTML=ZC._h_(t),ZC.A3("#"+r.K+"-bugreport-json").val("PARSED\n----------\n"+ZC.AO.WX(r.E.json)+"\n\nORIGINAL\n----------\n"+ZC.AO.WX(r.E.source)),ZC.A3("#"+r.K+"-bugreport-cancel").bind("click",function(){ZC.Q.EW(r.K+"-bugreport")}),ZC.A3("#"+r.K+"-bugreport-submit").bind("click",function(){var l,t,o=ZC.A3("#"+r.K+"-bugreport-email");0===o.val().length?window.setTimeout(function(){alert(ZC.HG["bugreport-emailmandatory"])},1e3):/^((\w+\+*\-*)+\.?)+@((\w+\+*\-*)+\.?)*[\w-]+\.[a-z]{2,6}$/.test(o.val())?(l="",t=function(){var e=("Parsed:"+r.E.json+" Original:"+r.E.source).replace(/\r|\n|\t|(\s{2,})/g,""),t="",i=[];ZC.A3("#"+r.K+"-chkcapture").attr("checked")&&i.push("****IMAGE:",l),ZC.A3("#"+r.K+"-chkdata").attr("checked")&&i.push("****JSON:",e),i.push("****COMMENT:",ZC.A3("#"+r.K+"-bugreport-comment").val(),"****EMAIL:",o.val(),"****VERSION:",ZC.VERSION,"****WIDTH:",r.I,"****HEIGHT:",r.F,"****URL:",window.location.href,"****UA:",navigator.userAgent,"****RENDER:",r.AB.toUpperCase(),"****RESOLUTION:",screen.width+"x"+screen.height);for(var n=0;n<i.length-1;n+=2)t+=i[n]+encodeURIComponent(i[n+1]);t+="****END";var e=ZC.Q.ABA(ZC.AL(r.K+"-bugreport")),a=e.createElement("FORM"),e=(a.action=document.location.protocol+"//www.zingchart.com/support/submitreportH5.php",a.method="post",e.body.appendChild(a),e.createElement("INPUT"));e.type="text",e.name="data",e.value=t,a.appendChild(e),a.submit(),window.setTimeout(function(){alert(ZC.HG["bugreport-confirm"]),ZC.Q.EW(r.K+"-bugreport")},1e3)},"canvas"===r.AB?(l=zingchart.exec(r.K,"getimagedata",{}),t()):l=zingchart.exec(r.K,"getimagedata",{callback:function(e){l=e,t()}})):window.setTimeout(function(){alert(ZC.HG["bugreport-validemailmandatory"])},1e3)}))},ZC.Q9.prototype.paintHistory=function(){var e,t,i,n,a,l,o,r=this,C=(ZC.Q.EW([r.K+"-history-path",r.K+"-history-back-path",r.K+"-history-forw-path",r.K+"-history-gradient",r.K+"-history-back-gradient",r.K+"-history-forw-gradient"]),null!==ZC._n_(C=r.o.history)&&(r.IH=new ZC.DQ(r),r.B6.load(r.IH.o,"loader.gui.history"),r.IH.append(C),r.IH.parse(),r.IH.A4U=!0,e=new ZC.DT(r),r.B6.load(e.o,"loader.gui.history.item"),e.append(C.item),e.parse(),t=new ZC.DT(r),r.B6.load(t.o,"loader.gui.history.item-off"),t.append(C.item),t.append(C["item-off"]),t.parse()),"");r.IH&&(r.IH.K=r.K+"-history",r.IH.Z=r.IH.C8=ZC.AL(r.K+"-static-c"),r.IH.paint(),i=r.IH.iX+r.IH.ER,n=r.IH.iY+r.IH.FJ,a=r.IH.I-r.IH.ER-r.IH.FO,l=r.IH.F-r.IH.FJ-r.IH.FX,(o=new ZC.DT(r)).K=r.K+"-history-back",o.copy(e),o.D0=!1,0===r.NX&&o.copy(t),o.D=[[i,n+l/2],[i+a/3,n],[i+a/3,n+l],[i,n+l/2]],o.IP=ZC.AL(r.A.K+"-text"),o.Z=o.C8=ZC.AL(r.K+"-static-c"),o.parse(),o.paint(),0<r.NX&&(C=(C+=ZC.Q.FP("rect",!0)+'class="'+r.K+'-history-area zc-history-area" id="'+r.K+"-history-back-area"+ZC._[30])+ZC._i_(i+ZC.MAPTX)+","+ZC._i_(n+ZC.MAPTX)+","+ZC._i_(i+a/3+ZC.MAPTX)+","+ZC._i_(n+l+ZC.MAPTX)+'" />'),(o=new ZC.DT(r)).K=r.K+"-history-forw",o.copy(e),o.D0=!1,r.NX!==r.QV.length-1&&0!==r.QV.length||o.copy(t),o.D=[[i+a,n+l/2],[i+2*a/3,n],[i+2*a/3,n+l],[i+a,n+l/2]],o.IP=ZC.AL(r.A.K+"-text"),o.Z=o.C8=ZC.AL(r.K+"-static-c"),o.parse(),o.paint(),""!==(C=r.NX<r.QV.length-1?(C+=ZC.Q.FP("rect",!0)+'class="'+r.K+'-history-area zc-history-area" id="'+r.K+"-history-forw-area"+ZC._[30])+ZC._i_(i+2*a/3+ZC.MAPTX)+","+ZC._i_(n+ZC.MAPTX)+","+ZC._i_(i+a+ZC.MAPTX)+","+ZC._i_(n+l+ZC.MAPTX)+'" />':C)&&(ZC.AL(r.K+"-map").innerHTML+=C),r.A0X=function(e){e.target.id===r.K+"-history-back-area"?zingchart.exec(r.K,"goback"):e.target.id===r.K+"-history-forw-area"&&zingchart.exec(r.K,"goforward")},ZC.A3("."+r.K+"-history-area").live("click",r.A0X))},ZC.AM={A4F:1,E1:0,E2:0,FE:40},ZC.DL={A38:function(e,t){var i,e=t.AA%180==0?(i=new ZC.CE(e,-e.I/2,t.iY-e.iY-e.F/4,0),new ZC.CE(e,e.I/2,t.iY-e.iY-e.F/4,0)):(i=new ZC.CE(e,t.iX-e.iX-e.I/4,-e.F/2,0),new ZC.CE(e,t.iX-e.iX-e.I/4,e.F/2,0));return ZC.U4(Math.atan((e.EC[1]-i.EC[1])/(e.EC[0]-i.EC[0])))+(t.AA%180==0?0:t.AA%360==90?90:-90)},DD:function(e,t,i,n,a,l,o,r,C){C=C||"z";var s,A,Z,c,e=new ZC.WD(e,t);switch(C){case"x":s=new ZC.CE(t,i,a,o),A=new ZC.CE(t,n,a,o),Z=new ZC.CE(t,n,l,r),c=new ZC.CE(t,i,l,r);break;case"y":s=new ZC.CE(t,i,a,o),A=new ZC.CE(t,i,l,o),Z=new ZC.CE(t,n,l,r),c=new ZC.CE(t,n,a,r);break;case"z":s=new ZC.CE(t,i,a,o),A=new ZC.CE(t,i,a,r),Z=new ZC.CE(t,n,l,r),c=new ZC.CE(t,n,l,o)}return e.add(s),e.add(A),e.add(Z),e.add(c),e},DA:function(e,t,i,n){typeof n===ZC._[31]&&(n=!1);for(var a=null,l=null,o=(i instanceof Array?a=i:(a=i.points,l=i.mathpoints),new ZC.WD(e,t)),r=0,C=a.length;r<C;r++)null!==ZC._n_(a[r])&&(n?o.add(a[r],l?l[r]:null):o.add(new ZC.CE(t,a[r][0],a[r][1],a[r][2]),l?new ZC.CE(t,l[r][0],l[r][1],l[r][2]):null));return(i=e.o["z-modifier"])&&(o.MG=[ZC._i_(i),ZC._i_(i),ZC._i_(i)]),o}},{$i:function(e,t,i,n){this.parse(e,t,i,n)},parse:function(e,t,i,n){var a,l,o,r,C,s,A,Z,c,h,p,u,_,d=this,e=(d.C=e,d.iX=t,d.iY=i,n-=d.C.ES.depth/2,d.iZ=n,d.EG=0,d.EK=0,d.AAL=0,d.EC=[],d.C.ES.angle),f=d.C.ES.zoom;d.C.ES.true3d?(a=t,l=i,o=n,s=C=r=0,p=d.C.ES[ZC._[27]],u=d.C.ES[ZC._[28]],_=d.C.ES[ZC._[29]],A=2*Math.PI/360,Z=Math.sin(p*A),c=Math.sin(u*A),h=Math.sin(_*A),p=Math.cos(p*A),u=Math.cos(u*A),_=Math.cos(_*A),d.EG=u*(h*(l-C)+_*(a-r))-c*(o-s),d.EK=Z*(u*(o-s)+c*(h*(l-C)+_*(a-r)))+p*(_*(l-C)-h*(a-r)),d.AAL=p*(u*(o-s)+c*(h*(l-C)+_*(a-r)))-Z*(_*(l-C)-h*(a-r)),d.EC[0]=ZC.AM.E1+ZC.AM.A4F/(ZC.AM.A4F+d.AAL)*d.EG*f,d.EC[1]=ZC.AM.E2+ZC.AM.A4F/(ZC.AM.A4F+d.AAL)*d.EK*f):(d.EC[0]=ZC.AM.E1+t+n*ZC.EF(e)*f,d.EC[1]=ZC.AM.E2+i-n*ZC.EL(e)*f)}}),WD=(ZC.CE=ZC.C6.CD(CE),{$i:function(e,t){var i=this;i.C=t,i.O=e,i.K="",i.KD=!1,i.MG=[1,1,1],i.G0=-1,i.D=[],i.PD=[],i.SO=-9999,i.ZV=-9999,i.A4H=9999,i.A4G=9999,i.A9E=9999,i.A3C=0,i.A21=0,i.ABS=0},add:function(e,t){this.D.push(e),this.PD.push(t||e)},ADC:function(){for(var e=this,t=e.PD.length,i=0;i<t;i++){var n=e.PD[i];e.SO=ZC.BR(e.SO,n.iZ),ZC._b_(e.C.ES.true3d)?(e.A4H=ZC.CY(e.A4H,n.iZ),e.ZV=ZC.BR(e.ZV,n.AAL),e.A21+=n.iY):(e.A4G=ZC.CY(e.A4G,n.iX),e.A9E=ZC.CY(e.A9E,n.iY),e.A3C+=n.iX,e.A21+=n.iY,e.ABS+=n.iZ)}e.A3C/=t,e.A21/=t,e.ABS/=t},F1:function(){for(var e="",t=0,i=this.D.length;t<i;t++)e+=ZC._i_(this.D[t].EC[0]+ZC.MAPTX)+","+ZC._i_(this.D[t].EC[1]+ZC.MAPTX)+",";return e=e.substring(0,e.length-1)}}),ST=(ZC.WD=ZC.C6.CD(WD),{$i:function(){this.A4I=[],this.A6M={},this.WL=[],this.SL={}},clear:function(){this.A4I=[],this.WL=[],this.SL={}},add:function(e){this.A4I.push(e)},sortFaces:function(e,t){return 1===zingchart.V3D?e[0][0]>t[0][0]?-1:e[0][0]<t[0][0]||e[0][1]>t[0][1]?1:e[0][1]<t[0][1]||e[0][2]>t[0][2]?-1:e[0][2]<t[0][2]?1:e[0][3]>t[0][3]?-1:e[0][3]<t[0][3]?1:0:2===zingchart.V3D?-1!==e[0][3]||-1!==t[0][3]?e[0][3]>t[0][3]?1:e[0][3]<t[0][3]?-1:0:e[0][0]>t[0][0]?-1:e[0][0]<t[0][0]||e[0][1]>t[0][1]?1:e[0][1]<t[0][1]?-1:e[0][2]>t[0][2]?1:e[0][2]<t[0][2]?-1:0:3===zingchart.V3D?e[0]>t[0]?-1:e[0]<t[0]?1:0:void 0}}),A29=(ZC.ST=ZC.C6.CD(ST),{$i:function(e){var t=this;t.G=e,t.VG=!1,t.OV=250,t.GK=0,t.H0=0,t.H5=20,t.BA="",t.CI=[],t.A7=null},onmouseout:function(){var i=this;ZC.mobile||(i.VG?(null!==ZC._n_(i.C4)&&window.clearInterval(i.C4),i.C4=window.setInterval(function(){var e=i.G.K,e=ZC.A3("#"+e+("svg"===i.G.AB?"-top":"-main")),t=ZC.E5[0]-e.offset().left,e=ZC.E5[1]-e.offset().top;ZC.DS(t,i.GK,i.GK+i.A7.I)&&ZC.DS(e,i.H0,i.H0+i.A7.F)||(null!==ZC._n_(i.C4)&&window.clearInterval(i.C4),i.hide())},i.OV)):i.hide())},clear:function(){var e=this;ZC.Q.IW(ZC.AL(e.G.K+"-tooltip-c"),e.G.AB,e.iX,e.iY,e.I,e.F,e.K)},hide:function(){var e;ZC.TTLOCK||(e=this.G.K,ZC.Q.EW([e+"-tooltip-text",e+"-tooltip",e+"-tooltip-text-float"]),"svg"===this.G.AB&&ZC.A3("clipPath").each(function(){-1!==this.id.indexOf("-hover_image-clip")&&ZC.Q.EW(this.id)}))},show:function(e){var t=this,i=(null!==ZC._n_(t.C4)&&window.clearInterval(t.C4),t.G.K);if(0!==ZC.A3("#"+i+"-tooltip-c").length&&t.A7){var n,a,l=ZC._tx_(t.G.K),o=ZC.Q.MJ(e),r=ZC.A3("#"+i+("svg"===t.G.AB?"-top":"-main")),C=null===ZC._n_(e.target)?t.A7.o.x:o[0]-r.offset().left,e=null===ZC._n_(e.target)?t.A7.o.y:o[1]-r.offset().top,s=C-t.A7.I*l[0]/2,A=e-t.A7.F*l[1],o=s,r=1+2*t.A7.JZ;switch(null!==ZC._n_(t.A7.o.x)&&(0<(s=ZC.IO(t.A7.o.x,!0))&&s<1&&(s=ZC._i_(t.G.I*s)),t.A7.o.fixed)&&(s-=t.A7.I/2),null!==ZC._n_(t.A7.o.y)&&(0<(A=ZC.IO(t.A7.o.y,!0))&&A<1&&(A=ZC._i_(t.G.F*A)),t.A7.o.fixed)&&(A-=t.A7.F/2),s+=ZC._i_(t.A7.E["offset-x"]),A+=ZC._i_(t.A7.E["offset-y"]),"svg"!==t.G.AB&&t.A7.o[ZC._[7]]&&!t.A7.o.fixed||(C=!1,a=t.A7.EP,s/l[n=0]<r&&(n=o/l[0]-r-t.A7.HD/2,s=r),s/l[0]+t.A7.I>t.G.I-r&&(n=o/l[0]+t.A7.I-t.G.I+r+t.A7.HD/2,s=(t.G.I-r-t.A7.I)*l[0]),A/l[1]<r&&(t.CI.node||!t.A7.o[ZC._[7]]||t.A7.o.fixed?(A=r+ZC._i_(t.A7.E["offset-y"]),A=t.CI.node?A<r?r:A:A<r?e-ZC._i_(t.A7.E["offset-y"]):A,a="top",C=!0):A=r+(e-ZC._i_(t.A7.E["offset-y"]))),A/l[1]+t.A7.F>t.G.F-r&&(A=t.G.F-r-t.A7.F,!t.CI.node&&t.A7.o[ZC._[7]]&&!t.A7.o.fixed||(a="top",C=!0)),C&&(t.A7.EP=a),(0!==n||C)&&t.A7.Z&&(t.clear(),""!==t.A7.AN)&&(C&&(t.A7.EP=a),n=ZC.CY(n,t.A7.I/2-t.A7.HD/2),n=48*(n=ZC.BR(n,-t.A7.I/2+t.A7.HD/2))/(t.A7.I/2-t.A7.HD/2),t.A7.EY=n,t.A7.AP)&&t.A7.paint()),t.GK=s,t.H0=A,t.G.AB){case"svg":null===ZC._n_(t.A7.o.x)&&null===ZC._n_(t.A7.o.y)&&ZC.AL(i+"-tooltip").setAttribute("transform","translate("+s/l[0]+","+A/l[1]+")"),t.A7.E["html-mode"]&&ZC.Q.P9(ZC.AL(i+"-tooltip-text-float"),{left:(""===t.BA?s/l[0]:t.A7.iX)+t.A7.ER+"px",top:(""===t.BA?A/l[1]:t.A7.iY)+t.A7.FJ+"px"});break;case"vml":null===ZC._n_(t.A7.o.x)&&null===ZC._n_(t.A7.o.y)&&ZC.Q.P9(ZC.AL(i+"-tooltip"),{left:s+"px",top:A+"px"});break;case"canvas":null!==ZC._n_(t.CI.x)&&(s=t.CI.x),null!==ZC._n_(t.CI.y)&&(A=t.CI.y);var Z=t.A7.E["html-mode"]?0:20;switch(t.A7.VF){case"tl":break;case"tr":s-=t.A7.I;break;case"bl":A-=t.A7.F;break;case"br":s-=t.A7.I,A-=t.A7.F;break;case"c":s-=t.A7.I/2,A-=t.A7.F/2;break;case"t":s-=t.A7.I/2;break;case"r":s-=t.A7.I,A-=t.A7.F/2;break;case"b":s-=t.A7.I/2,A-=t.A7.F;break;case"l":A-=t.A7.F/2}ZC.Q.P9(ZC.AL(i+"-tooltip-c"),{left:s/l[0]-Z+"px",top:A/l[1]-Z+"px"}),null!==(Z=ZC.AL(i+"-tooltip-text"))&&(Z.style.display="none",ZC.Q.P9(Z,{width:t.A7.I+"px",height:t.A7.F+"px",left:s/l[0]+"px",top:A/l[1]+"px"}),Z.style.display="block")}}},onmousemove:function(e){this.show(e)},onmouseover:function(e,t){var i,n,a,l,o,r,C=this,s=C.G.K,A=e.targetid||e.target.id,Z=A.replace(/--([a-zA-Z0-9]+)/,"").replace("-gshape-area","-area").replace("-area-path","").replace("-path","").replace("-marker-circle","").replace("-marker","").split("-").reverse(),A=A.split("--"),c=!1,h=!1,p=!1;if("node"===Z[1]&&"plot"===Z[3]&&"plotset"===Z[4]&&(c=!0),ZC.Q.EW([s+"-tooltip-text",s+"-tooltip",s+"-tooltip-text-float"]),c){if(!(l=C.G.P0(Z[5])))return;if(o=l.AY.A4[Z[2]],r=o.FM(Z[0]),"xy"===l.AJ.layout&&r.R2(),!r)return;ZC.A3("#"+s+"-graph-"+Z[5]+"-plot-"+Z[2]+"-bg-hover-c").show()}else"legend"===Z[2]&&0===Z[1].indexOf("item")&&(h=!0),0!==Z[2].indexOf("scale")||0!==Z[1].indexOf("item")&&0!==Z[1].indexOf("marker")||(p=!0),l=C.G.P0(Z[3]);if(ZC.AL(s+"-tooltip")||(ZC.Q.K6({id:s+"-tooltip",p:ZC.AL(s+"-main"),cls:"zc-abs zc-tooltip",wh:C.G.I+"/"+C.G.F,overflow:"hidden"},C.G.AB),ZC.Q.HL({id:s+"-tooltip-c",p:ZC.AL(s+"-tooltip"),cls:"zc-abs",tl:"-999/-999",width:140,height:60},C.G.AB)),C.A7=zingchart.pool.getInstance("DQ",C,s+"-tooltip-text"),C.A7.NY="tooltip",C.A7.A=C.G,l&&l.A7&&C.A7.copy(l.A7),c)C.A7.append(o.A7.o),l.CF["p"+o.L]&&l.CF["p"+o.L]["n"+r.L]&&C.A7.append(o.A7.o[ZC._[73]]),2===A.length&&C.A7.append(o.AC2(A[1]));else{var u,_,d=!1;if(h&&l.BE&&null!==ZC._n_(l.BE.o.tooltip)&&(C.A7.o.text="",C.A7.append(l.BE.o.tooltip),d=!0),p&&(C.A7.append({"background-color":"#fff","border-width":1,"border-color":"#999"}),(u=l.BM(Z[2].replace(/\_/g,"-")))&&null!==ZC._n_(u.o.tooltip)&&(C.A7.o.text="",C.A7.append(u.o.tooltip),d=!0),0===Z[1].indexOf("item_")?u&&(-1!==Z[1].indexOf("_title")&&u.o.label&&u.o.label.tooltip?(C.A7.o.text="",C.A7.append(u.o.label.tooltip),d=!0):u.o.item&&u.o.item.tooltip&&(C.A7.o.text="",C.A7.append(u.o.item.tooltip),d=!0)):0===Z[1].indexOf("marker_")&&(A=ZC._i_(Z[1].replace("marker_","")),u.Q7[A])&&u.Q7[A].o.label&&u.Q7[A].o.label.tooltip&&(C.A7.o.text="",C.A7.append(u.Q7[A].o.label.tooltip),d=!0)),"shape"===Z[2])if(C.A7.append({"background-color":"#fff","border-width":1,"border-color":"#999"}),e.target.getAttribute("data-lowlevel"))C.A7.append({text:e.target.getAttribute("data-tooltip-text")}),d=!0;else for(n=0,a=l.FI.length;n<a;n++)null!==ZC._n_(l.FI[n])&&(_=l.FI[n]instanceof ZC.P8?l.FI[n].BG:l.FI[n],l.K+"-shape-"+Z[1]===l.FI[n].K)&&null!==ZC._n_(i=_.o.tooltip)&&(C.A7.append(i),C.A7.o.fixed&&(C.A7.o.x=_.iX,C.A7.o.y=_.iY),d=!0);if("label"===Z[2])for(C.A7.append({"background-color":"#fff","border-width":1,"border-color":"#999"}),n=0,a=l.BY.length;n<a;n++)l.K+"-label-"+Z[1]===l.BY[n].K&&null!==ZC._n_(i=l.BY[n].o.tooltip)&&(C.A7.append(i),C.A7.o.fixed&&(C.A7.o.x=l.BY[n].iX+l.BY[n].I/2,C.A7.o.y=l.BY[n].iY+l.BY[n].F/2),d=!0);if("xy"===Z[2]&&(C.A7.append({"background-color":"#fff","border-width":1,"border-color":"#999"}),d=!0),!d)return}t&&C.A7.append(t),C.VG=!1,C.OV=250,null!==ZC._n_(i=C.A7.o.sticky)&&(C.VG=ZC._b_(i)),null!==ZC._n_(i=C.A7.o.timeout)&&(C.OV=ZC._i_(i)),null!==ZC._n_(i=C.A7.o[ZC._[7]])?C.BA=i:C.BA="",null!==ZC._n_(i=C.A7.o.distance)&&(C.H5=ZC._i_(i)),C.A7.iX=0,C.A7.iY=0,C.A7.Z=C.A7.C8=ZC.AL(s+"-tooltip-c");var f,g,B,b,E={};if(c)b=r.Y3(),r.H8(b),null!==ZC._n_(b["line-color"])?C.A7.A0=C.A7.AE=ZC.AO.JR(b["line-color"]):C.A7.A0=C.A7.AE=ZC.AO.JR(b[ZC._[0]]),C.A7.BX=b[ZC._[61]],C.A7.C2=b.color,null!==ZC._n_(o.o.rules)?(C.A04||(C.A04=new ZC.I1(o.A),C.A04.E["quick-parse"]=!0),C.A04.append(o.o),C.A04.parse(),C.A04.IQ=function(e){return r.IQ(e)},C.A04.DG()&&C.A04.parse(),C.A7.AN=C.A04.JA):C.A7.AN=o.JA,E=ZC.AO.OA(C.A7.o,o.o),C.A7.K2=function(e){return r.K2(e,E)},C.A7.E.plotidx=r.A.L,C.A7.E.nodeidx=r.L;else if(h){for(o=l.AY.A4[Z[1].replace("item_","")],C.A7.append(o.o["legend-tooltip"]),r=null,n=0,a=o.S.length;n<a;n++)if(null!==o.S[n]){r=o.FM(n);break}if(r){if("-1"===(b=r.Y3())[ZC._[0]])return;C.A7.A0=C.A7.AE=ZC.AO.JR(b[ZC._[0]]),C.A7.C2=b.color}else C.A7.A0=C.A7.AE=ZC.AO.JR(o.BP[1]),C.A7.C2=o.BP[0];C.A7.AN=o.NV,C.A7.K2=function(e){return e=(e=e.replace(/%plot-description/g,o.NV)).replace(/%plot-text|%t/g,o.AN)}}else p?0===Z[1].indexOf("item_")&&(A=Z[1].replace("item_","").split("_"),f=1===A.length?ZC._i_(A[0]):ZC._i_(A[1]),C.A7.K2=function(e){e=e||"%scale-value";var t,i,n=u.BY[f]||u.V[f];for(i in u.F7&&(t={"transform-date":!0,"transform-date-format":u.F7.o.all||u.F7.o.text||"",utc:l.UK,timezone:l.NE},n=ZC.AO.G5(n,t,C.A,u.F7||!1)),"number"==typeof n&&u.IU&&null!==ZC._n_(u.IU[n])&&(n=u.IU[n]),e=(e=e.replace(/%text|%item-text|%scale-value|%v/g,n)).replace(/%tooltip-text/g,u.A4X[f]||""),u.o)u.o.hasOwnProperty(i)&&"data-"===i.substring(0,5)&&(e=e.replace("%"+i,u.o[i][f]||"","g"));return e}):C.A7.K2=function(e){return e};null===ZC._n_(C.A7.o["text-alpha"])&&(C.A7.o["text-alpha"]=1),C.A7.parse(),!c&&"canvas"!==C.G.AB&&C.A7.o.fixed&&(C.A7.iX=C.A7.iX-C.A7.I/2+C.A7.BK,C.A7.iY=C.A7.iY-C.A7.F/2+C.A7.BJ),C.A7.AP&&(C.A7.HZ&&(c&&C.A7.H8(C.A7,C.A7,null,r.M2(e,!1)),C.A7.parse()),C.A7.E["html-mode"]=!1,null!==ZC._n_(i=C.A7.o["html-mode"])&&(C.A7.E["html-mode"]=ZC._b_(i)),c&&(C.A7.IQ=function(e){return r.IQ(e)},C.A7.DG())&&(E=C.A7.overrideFormat(E),C.A7.parse()),"canvas"!==C.G.AB&&"vml"!==C.G.AB||0===C.A7.AA?(g=C.A7.I+C.A7.JZ,B=C.A7.F+C.A7.JZ,g+=40,B+=40,C.A7.E["offset-x"]=C.A7.BK,C.A7.E["offset-y"]=C.A7.BJ):(t=1.25*ZC.BR(C.A7.I,C.A7.F)+C.A7.JZ,C.A7.iX+=((B=g=t)-C.A7.I)/2,C.A7.iY+=(t-C.A7.F)/2,C.A7.E["offset-x"]=-(t-C.A7.I)/2+C.A7.BK,C.A7.E["offset-y"]=-(t-C.A7.F)/2+C.A7.BJ),ZC.A3("#"+s+"-tooltip-c").attr(ZC._[19],g).attr(ZC._[20],B),"vml"===C.G.AB&&ZC.Q.P9(ZC.AL(s+"-tooltip-c"),{top:0,left:0}),C.A7.QH=C.A7.BK,C.A7.MI=C.A7.BJ,C.A7.BK=0,C.A7.BJ=0,!e.type&&c&&(h=r.iX,b=r.iY,null!==ZC._n_(r.bCXY)&&(h=(p=r.AC9())[0],b=p[1]),"canvas"===C.G.AB?(null===ZC._n_(C.A7.o.x)&&(C.A7.o.x=h-C.A7.I/2),null===ZC._n_(C.A7.o.y)&&(C.A7.o.y=b-C.A7.F)):(null===ZC._n_(C.A7.o.x)&&(C.A7.iX=h-C.A7.I/2),null===ZC._n_(C.A7.o.y)&&(C.A7.iY=b-C.A7.F-20))),c&&(C.CI=C.getPlacementInfo(r),""!==C.BA)&&("canvas"!==C.G.AB?(C.A7.o.x=C.A7.iX=C.CI.x,C.A7.o.y=C.A7.iY=C.CI.y):(C.A7.o.x=C.A7.iX=0,C.A7.o.y=C.A7.iY=0),C.A7.EP=C.CI.cp,C.A7.EY=C.CI.co),C.A7.AP&&""!==C.A7.AN&&("canvas"!==C.G.AB||C.A7.E["html-mode"]||(C.A7.iX=20,C.A7.iY=20),C.A7.paint()),(e.type&&c||e.update)&&(r.AB2(),r.C.R3(!0)),e.type||"canvas"===C.G.AB?C.show(e):C.A7.E["html-mode"]&&(A=C.A7.iX+C.A7.ER,t=C.A7.iY+C.A7.FJ,ZC.Q.P9(ZC.AL(s+"-tooltip-text-float"),{left:A+"px",top:t+"px",zIndex:zingchart.ZINDEX})))},getPlacementInfo:function(e){var t,i,n=this,a={},l=n.A7.HD,o=n.A7.GA,r=n.A7.I,C=n.A7.F;if(!n.A7.E["html-mode"]||"horizontal"!==n.BA&&"vertical"!==n.BA&&"node:"!==n.BA.substring(0,5)||(n.A7.iX=-9999,n.A7.iY=-9999,n.A7.AP&&(n.A7.paint(),r=(i=ZC.A3("#"+n.G.K+"-tooltip-text-"+("canvas"===n.G.AB?"t":"float"))).width()+n.A7.ER+n.A7.FO,C=i.height()+n.A7.FJ+n.A7.FX,null!==ZC._n_(n.A7.o[ZC._[19]])&&(r=ZC._i_(n.A7.o[ZC._[19]])),null!==ZC._n_(n.A7.o[ZC._[20]]))&&(C=ZC._i_(n.A7.o[ZC._[20]]))),"horizontal"===n.BA)e.iX+e.I/2<e.C.iX+e.C.I/2?(a.x=e.iX+0*e.I+n.H5,a.y=e.iY+0*e.F/2-C/2,a.cp="left"):(a.x=e.iX-r-n.H5,a.y=e.iY+0*e.F/2-C/2,a.cp="right"),a.y<5&&(t=5-a.y,a.co=-ZC._i_(100*t/(C-o)),a.y=5),a.y+C>n.G.F-5&&(t=n.G.F-5-a.y-C,a.co=-ZC._i_(100*t/(C-o)),a.y=n.G.F-5-C);else if("vertical"===n.BA)e.iY+e.F/2<e.C.iY+e.C.F/2?(a.y=e.iY+0*e.F+n.H5,a.x=e.iX+0*e.I/2-r/2,a.cp="top"):(a.y=e.iY-C-n.H5,a.x=e.iX+0*e.I/2-r/2,a.cp="bottom"),a.x<5&&(t=5-a.x,a.co=-ZC._i_(100*t/(n.A7.I-l)),a.x=5),a.x+r>n.G.I-5&&(t=n.G.I-5-a.x-r,a.co=-ZC._i_(100*t/(r-l)),a.x=n.G.I-5-r);else if("node:"===n.BA.substring(0,5)&&e.getTooltipPosition){switch((a=e.getTooltipPosition(n.A7,n.BA.substring(5))).node=!0,a.side=n.BA.substring(5),a.side){case"left":a.x=a.x-r+n.A7.QH,a.y=a.y-C/2+n.A7.MI;break;case"right":a.x=a.x+n.A7.QH,a.y=a.y-C/2+n.A7.MI;break;case"top":a.x=a.x-r/2+n.A7.QH,a.y=a.y-C+n.A7.MI;break;case"bottom":a.x=a.x-r/2+n.A7.QH,a.y=a.y+n.A7.MI;break;case"center":a.x=a.x-r/2+n.A7.QH,a.y=a.y-C/2+n.A7.MI}a.cp=n.A7.EP}return a.node&&(i=0,a.y+C>n.G.F-5&&("top"===a.side||"bottom"===a.side?(a.y=a.y-C-("bottom"===a.side?0:n.A7.GA)-n.A7.MI,a.cp="bottom"):a.y=n.G.F-C-5),a.y<5&&("top"===a.side||"bottom"===a.side?(a.y=a.y+("top"===a.side?0:n.A7.GA)+C-n.A7.MI,a.cp="top"):a.y=5),a.x+r>n.G.I-5&&("left"===a.side||"right"===a.side?(a.x=a.x-r-n.A7.QH-5,a.cp="right"):(i=48*(r-n.G.I+a.x+n.A7.HD/2)/(n.A7.I/2),a.x=n.G.I-r-n.A7.QH-5),a.co=i),a.x<5)&&("left"===a.side||"right"===a.side?(a.x=a.x+n.A7.I-n.A7.QH+5,a.cp="left"):(i=48*(a.x-n.A7.HD/2)/(n.A7.I/2),a.x=5),a.co=i),a}}),A56=(ZC.A29=ZC.C6.CD(A29),{$i:function(e){this.b(e);var t=this;t.G=e,t.IX=!1,t.C=null,t.R5=null,t.WR=null,t.ID=0,t.LK=0,t.IC=0,t.LJ=0,t.A8=null,t.AK=null,t.ZB=!1,t.AB5=0,t.A0D=!1,t.M=null},parse:function(){var e=this;e.C&&(e.C.H6&&e.append(e.C.H6.o),e.b(),e.YD("preserve-zoom","A0D","b"),e.M=new ZC.DQ(e),e.C.A.B6.load(e.M.o,"graph.zoom.label"),e.M.append(e.o.label),e.M.parse(),e.o.label)&&!1!==e.o.label.visible&&(e.M.AP=!0)},unbind:function(){var e=this;(zingchart.DEV.SKIPTRACKERS?ZC.A3(document.body):ZC.A3("#"+e.G.K+"-img")).unbind("mousedown touchstart",e.R7),ZC.A3(".zc-node-area").die("mousedown touchstart",e.R7),ZC.A3(document.body).unbind("mousemove touchmove",e.UB),ZC.A3(document.body).unbind("mouseup touchend",e.TZ)},bind:function(){var u=this,_=u.G.K;u.R7=function(e){if((!ZC.mobile||"pinch"!==zingchart.TOUCHZOOM)&&!(1<e.which||-1!==ZC.Q.TC(e.target).indexOf("zc-menu-item")||ZC.move)&&(e.type!==ZC._[47]||!ZC.TOUCHEVENTS)&&-1===e.target.id.indexOf("-legend-header-area")&&(ZC.mobile||e.preventDefault(),u.G.hideCM(),ZC.mobile||!(1<e.which))&&("vml"!==u.G.AB||-1===e.target.className.indexOf("zc-node-area"))){e.shiftKey&&(u.ZB=!0);for(var t,i=ZC.Q.MJ(e),n=ZC._tx_(u.G.K),a=ZC.A3("#"+_+"-top").offset(),l=(i[0]-a.left)/n[0],o=(i[1]-a.top)/n[1],i=(u.R5=l,u.WR=o,u.ZB&&(u.AB5=l),!1),r=0,C=u.G.AG.length;r<C;r++)t=u.G.AG[r].P,ZC.DS(l,t.iX-5,t.iX+t.I+5)&&ZC.DS(o,t.iY-5,t.iY+t.F+5)&&(u.C=u.G.AG[r]);if(null!==u.C){a={id:u.G.K,graphid:u.C.K,ev:e},n=ZC.AO.C0("beforezoom",u.G,a,!0);if(typeof n!==ZC._[31]&&!n)return;if(u.C.H6&&null!==ZC._n_(u.C.H6.o.active)&&!ZC._b_(u.C.H6.o.active))return;t=u.C.P,0<u.C.AY.A4.length&&(u.A8=u.C.BM(u.C.AY.A4[0].BW("k")[0]),u.AK=u.C.BM(u.C.AY.A4[0].BW("v")[0])),null!==u.A8&&null!==u.AK&&u.C.AJ["enable-zooming"]&&(u.A8.GP||u.AK.GP)&&(u.ID=u.A8.CM?o:l,u.IC=u.AK.CM?l:o,i=!0,u.A8.GP?u.A8.CM?u.ID=ZC._l_(u.ID,t.iY,t.iY+t.F):u.ID=ZC._l_(u.ID,t.iX,t.iX+t.I):u.ID=u.A8.CM?t.iY:t.iX,u.AK.GP?u.AK.CM?u.IC=ZC._l_(u.IC,t.iX,t.iX+t.I):u.IC=ZC._l_(u.IC,t.iY,t.iY+t.F):u.IC=u.AK.CM?t.iX:t.iY)}return i&&(u.LK=u.ID,u.LJ=u.IC,u.IX=!0,ZC.A3(document.body).bind("mousemove touchmove",u.UB),ZC.A3(document.body).bind("mouseup touchend",u.TZ),u.ZB?document.body.style.cursor="pointer":(u.parse(),u.C.AJ["3d"]||ZC.Q.I2({id:_+"-zoom",p:ZC.AL(_+"-top"),top:-9,left:-9,wh:"1/1",position:"absolute",border:u.AU+"px solid "+u.BX,background:u.A0,opacity:u.C5}),u.M.AP&&(ZC.Q.I2({id:_+"-from",p:ZC.AL(_+"-top"),top:-9999,left:-9999,position:"absolute",paddingTop:u.M.FJ,paddingRight:u.M.FO,paddingBottom:u.M.FX,paddingLeft:u.M.ER,border:u.M.AU+"px solid "+u.M.BX,background:u.M.A0,color:u.M.C2,fontFamily:u.M.GJ,fontWeight:u.M.sFontWeight,fontStyle:u.M.N3?"oblique":"normal",fontSize:u.M.DI,text:""}),ZC.Q.I2({id:_+"-to",p:ZC.AL(_+"-top"),top:-9999,left:-9999,position:"absolute",paddingTop:u.M.FJ,paddingRight:u.M.FO,paddingBottom:u.M.FX,paddingLeft:u.M.ER,border:u.M.AU+"px solid "+u.M.BX,background:u.M.A0,color:u.M.C2,fontFamily:u.M.GJ,fontWeight:u.M.sFontWeight,fontStyle:u.M.N3?"oblique":"normal",fontSize:u.M.DI,text:""})),document.body.style.cursor="crosshair")),!!ZC.mobile&&void 0}},u.UB=function(e){if(e.type!==ZC._[48]||!ZC.TOUCHEVENTS){if(ZC.mobile||e.preventDefault(),ZC.move=!0,u.C||(ZC.move=!1,u.IX=!1,ZC.A3(document.body).unbind("mousemove touchmove",u.UB),ZC.A3(document.body).unbind("mouseup touchend",u.TZ),document.body.style.cursor="auto",ZC.Q.EW([_+"-zoom",_+"-from",_+"-to"])),u.IX){u.C.A.A7.hide();var t=ZC.Q.MJ(e),i=ZC._tx_(u.G.K),n=ZC.A3("#"+_+"-top").offset(),a=(t[0]-n.left)/i[0],t=(t[1]-n.top)/i[1],n=(e.ctrlKey,u.A8.DE?u.A8.AD:0);if(u.LK=u.A8.CM?t:a,u.LJ=u.AK.CM?a:t,!u.ZB){var l,o,r,C,s,A,i=u.C.P,e=u.A8.AW?u.A8.BU:u.A8.A9,a=u.A8.AW?u.A8.A9:u.A8.BU,t=(u.A8.GP?u.A8.CM?(u.A8.Y5&&(u.ID=u.A8.iY+e+u.A8.AD*ZC._i_((u.ID-u.A8.iY-e-n/2)/u.A8.AD),u.LK=u.A8.iY+e+n+u.A8.AD*ZC._i_((u.LK-u.A8.iY-e-n/2)/u.A8.AD)),u.ID=ZC._l_(u.ID,i.iY+a,i.iY+i.F-e),u.LK=ZC._l_(u.LK,i.iY+a,i.iY+i.F-e)):(u.A8.Y5&&(u.ID=u.A8.iX+e+u.A8.AD*ZC._i_((u.ID-u.A8.iX-e-n/2)/u.A8.AD),u.LK=u.A8.iX+e+n+u.A8.AD*ZC._i_((u.LK-u.A8.iX-e-n/2)/u.A8.AD)),u.ID=ZC._l_(u.ID,i.iX+e,i.iX+i.I-a),u.LK=ZC._l_(u.LK,i.iX+e,i.iX+i.I-a)):(u.ID=u.A8.CM?i.iY+a:i.iX+e,u.LK=u.A8.CM?i.iY+i.F-e:i.iX+i.I-a),e=u.AK.AW?u.AK.A9:u.AK.BU,a=u.AK.AW?u.AK.BU:u.AK.A9,u.AK.GP?u.AK.CM?(u.AK.Y5&&(u.IC=u.AK.iX+e+u.AK.AD*ZC._i_((u.IC-u.AK.iX-e)/u.AK.AD),u.LJ=u.AK.iX+e+u.AK.AD*ZC._i_((u.LJ-u.AK.iX-e)/u.AK.AD)),u.IC=ZC._l_(u.IC,i.iX+a,i.iX+i.I-e),u.LJ=ZC._l_(u.LJ,i.iX+a,i.iX+i.I-e)):(u.AK.Y5&&(u.IC=u.AK.iY+e+u.AK.AD*ZC._i_((u.IC-u.AK.iY-e)/u.AK.AD),u.LJ=u.AK.iY+e+u.AK.AD*ZC._i_((u.LJ-u.AK.iY-e)/u.AK.AD)),u.IC=ZC._l_(u.IC,i.iY+e,i.iY+i.F-a),u.LJ=ZC._l_(u.LJ,i.iY+e,i.iY+i.F-a)):(u.IC=u.AK.CM?i.iX+a:i.iY+e,u.LJ=u.AK.CM?i.iX+i.I-e:i.iY+i.F-a),ZC.A3.browser.msie?0:2*u.AU),Z=(u.C.AJ["3d"]&&(t=0),ZC.AL(_+"-zoom")),n=u.A8.CM&&u.AK.CM?(l=ZC._a_(u.LJ-u.IC-t),o=ZC._a_(u.LK-u.ID-t),r=ZC.CY(u.IC,u.LJ),ZC.CY(u.ID,u.LK)):(l=ZC._a_(u.LK-u.ID-t),o=ZC._a_(u.LJ-u.IC-t),r=ZC.CY(u.ID,u.LK),ZC.CY(u.IC,u.LJ));if(u.C.AJ["3d"]){u.C.O7();e=ZC.AL(u.G.K+"-guide-c");e&&(ZC.Q.IW(e,u.G.AB,u.C.iX,u.C.iY,u.C.I,u.C.F),ZC.A3(".zc-guide-label").remove()),(Z=new ZC.DT(u)).Z=e,Z.A0=Z.AE=u.A0,Z.BX=u.BX,Z.AU=u.AU,Z.C5=u.C5,Z.D=[[r,n],[r+l,n],[r+l,n+o],[r,n+o],[r,n]];for(var c=0;c<Z.D.length;c++){var h=new ZC.CE(u.C,Z.D[c][0]-ZC.AM.E1,Z.D[c][1]-ZC.AM.E2,0);Z.D[c][0]=h.EC[0],Z.D[c][1]=h.EC[1]}Z.parse(),Z.paint()}else ZC.Q.P9(Z,{width:l+"px",height:o+"px",left:r+"px",top:n+"px"});u.M.AP&&(i=ZC.CY(u.ID,u.LK),a=ZC.BR(u.ID,u.LK),t=ZC.CY(u.IC,u.LJ),e=ZC.BR(u.IC,u.LJ),C=ZC.AL(_+"-from"),s=ZC.AL(_+"-to"),A={decimals:null===ZC._n_(u.AK.DV)?1:u.AK.DV},C.innerHTML=u.A8.FT(u.A8.OL(i))+"/"+u.AK.FT(-1,u.AK.NI(t),A),s.innerHTML=u.A8.FT(u.A8.OL(a))+"/"+u.AK.FT(-1,u.AK.NI(e),A),ZC.Q.P9(C,{left:r-u.AU-ZC._i_(ZC.A3(C).width())+"px",top:n-u.AU-ZC._i_(ZC.A3(C).height())+"px"}),ZC.Q.P9(s,{left:r+u.AU+u.M.AU+l+"px",top:n+u.AU+u.M.AU+o+"px"}))}}return!1}},u.TZ=function(e){var t;if((!e||e.type!==ZC._[49]||!ZC.TOUCHEVENTS)&&u.C)if(ZC.move=!1,u.IX=!1,document.body.style.cursor="auto",ZC.Q.EW([_+"-zoom",_+"-from",_+"-to"]),u.C.AJ["3d"]&&(u.C.O7(),t=ZC.AL(u.G.K+"-guide-c"))&&(ZC.Q.IW(t,u.G.AB,u.C.iX,u.C.iY,u.C.I,u.C.F),ZC.A3(".zc-guide-label").remove()),ZC.A3(document.body).unbind("mousemove touchmove",u.UB),ZC.A3(document.body).unbind("mouseup touchend",u.TZ),u.ZB)u.ZB=!1;else{var i,n,a,l,o,r={graphid:u.C.K,ev:e};if(10<ZC._a_(u.ID-u.LK)&&10<ZC._a_(u.IC-u.LJ)){for(var C,s,A,Z=!1,c=!1,h=0,p=(A=u.C.BW("k")).length;h<p;h++)(C=A[h])&&A[h].GP&&(o=C.DE?C.AD:0,n=1===C.L?"":"-"+C.L,i=C.OL(ZC.CY(u.ID,u.LK)+o/2),o=C.OL(ZC.BR(u.ID,u.LK)-o/2),1<=ZC._a_(o-i))&&(r["zoomx"+n]=!0,r["xmin"+n]=ZC.CY(i,o),r["xmax"+n]=ZC.BR(i,o),"log"===C.BS&&(r["kmin"+n]=C.V[ZC._i_(ZC.FU(r["xmin"+n],C.DY))],r["kmax"+n]=C.V[ZC._i_(ZC.FU(r["xmax"+n],C.DY))],delete r["xmin"+n],delete r["xmax"+n]),Z=!0);for(h=0,p=(A=u.C.BW("v")).length;h<p;h++)(s=A[h])&&A[h].GP&&(n=1===s.L?"":"-"+s.L,a=s.NI(ZC.BR(u.IC,u.LJ)),l=s.NI(ZC.CY(u.IC,u.LJ)),s=(s.GW-s.FQ)/Math.pow(10,10),ZC._a_(l-a)>=s)&&(r["zoomy"+n]=!0,r["ymin"+n]=ZC.CY(a,l),r["ymax"+n]=ZC.BR(a,l),c=!0);Z||c?(zingchart.SKIP.EVENT=!0,u.C.A.Q5(r)):zingchart.SKIP.EVENT=!0}else(5<ZC._a_(u.ID-u.LK)||5<ZC._a_(u.IC-u.LJ))&&(zingchart.SKIP.EVENT=!0);u.C=null}},ZC.mobile&&"normal"!==zingchart.TOUCHZOOM||((zingchart.DEV.SKIPTRACKERS?ZC.A3(document.body):ZC.A3("#"+_+"-img")).bind("mousedown touchstart",u.R7),ZC.A3(".zc-node-area").live("mousedown touchstart",u.R7))}}),A2D=(ZC.A56=ZC.HU.CD(A56),{$i:function(e){this.b(e);var t=this;t.I3=!0,t.ABT=!1,t.C=e,t.G=e.A,t.IX=!1,t.A3M=!1,t.G2=null,t.AT=null,t.Z=null,t.IL=0,t.HB=0,t.PC=0,t.A0H=0,t.KU=!1,t.iScaleXLength=0,t.NO=null,t.bBind=!1,t.BY=null,t.A1N=!1},parse:function(){var e,t=this,i=(t.K=t.C.K+"-preview",t.assign_a([["live","ABT","b"],["async","KU","b"],["min-distance","PC","i"],["min-distance-x","PC","i"],["min-distance-y","PC","i"],["visible","AP","b"]]),"("+t.C.AF+").preview"),n=t.G.B6;function a(e){return[i+".handler",i+".handler-"+e,i+".handle",i+".handle-"+e]}t.AT=new ZC.HU(t.C),t.AT.K=t.C.K+"-preview-viewport",n.load(t.AT.o,[i]),t.AT.append(t.o),t.AT.parse(),t.o.label&&(t.BY=[]),t.o.handle&&t.o.handle.label&&(t.J9=new ZC.DQ(t.C),t.J9.append(t.o.handle.label),t.J9.append({text:" "}),t.J9.parse(),t.J9.AP)&&(t.A1N=!0),t.OW=new ZC.CZ(t.C),n.load(t.OW.o,[i+".mask"]),null!==ZC._n_(e=t.o.mask)&&t.OW.append(e),t.OW.parse(),t.UI=new ZC.CZ(t.C),n.load(t.UI.o,[i+".active"]),null!==ZC._n_(e=t.o.active)&&t.UI.append(e),t.UI.parse(),t.IT=new ZC.HU(t.AT),t.HJ=new ZC.HU(t.AT),t.JE=new ZC.HU(t.AT),t.H9=new ZC.HU(t.AT),n.load(t.IT.o,a("left")),n.load(t.HJ.o,a("right")),n.load(t.JE.o,a("top")),n.load(t.H9.o,a("bottom"));for(var l=["handle","handler"],o=0;o<l.length;o++)null!==ZC._n_(e=t.o[l[o]])&&(t.IT.append(e),t.HJ.append(e),t.JE.append(e),t.H9.append(e)),null!==ZC._n_(e=t.o[l[o]+"-left"])&&t.IT.append(e),null!==ZC._n_(e=t.o[l[o]+"-right"])&&t.HJ.append(e),null!==ZC._n_(e=t.o[l[o]+"-top"])&&t.JE.append(e),null!==ZC._n_(e=t.o[l[o]+"-bottom"])&&t.H9.append(e);t.IT.parse(),t.HJ.parse(),t.JE.parse(),t.H9.parse()},setScalesInfo:function(){this.NO={};for(var e,t=this.C.BO,i=0,n=t.length;i<n;i++)(e=t[i])&&("k"===e.AF?this.NO[e.BD]={minindex:e.D4,maxindex:e.DP,minvalue:e.V[e.D4],maxvalue:e.V[e.DP],stepsize:e.AD,values:[].concat(e.V)}:this.NO[e.BD]={minvalue:e.FQ,maxvalue:e.GW})},toggleMasks:function(e,t){for(var i=this,n=["x-left","x-right","y-top","y-bottom"],a=0;a<n.length;a++)if(e){var l=new ZC.HU(i.C);switch(l.K=i.C.K+"-preview-mask-"+n[a],l.A0=l.AE=i.OW.A0,l.C5=i.OW.C5,l.Z=l.C8=t||ZC.AL(i.C.K+"-preview-c"),n[a]){case"x-left":l.iX=i.AT.iX,l.iY=i.AT.iY,l.I=ZC.A3(i.A3D).css(ZC._[19]),l.F=i.AT.F;break;case"x-right":l.iX=i.AT.iX+i.AT.I-ZC.A3(i.XA).css(ZC._[19]),l.iY=i.AT.iY,l.I=ZC.A3(i.XA).css(ZC._[19]),l.F=i.AT.F;break;case"y-top":l.iX=i.AT.iX,l.iY=i.AT.iY,l.I=i.AT.I,l.F=ZC.A3(i.A4V).css(ZC._[20]);break;case"y-bottom":l.iX=i.AT.iX,l.iY=i.AT.iY+i.AT.F-ZC.A3(i.VX).css(ZC._[20]),l.I=i.AT.I,l.F=ZC.A3(i.VX).css(ZC._[20])}l.paint()}else ZC.Q.EW(i.C.K+"-preview-mask-"+n[a]+"-path")},paint:function(){var e,t=this;if(t.PX=ZC.mobile?40:ZC.ie67?0:20,t.AP){t.Z=t.AT.Z=t.AT.C8=ZC.AL(t.C.K+"-preview-c"),t.AT.paint();var i,n,a,l,o,r,C,s=ZC.AL(t.G.K+"-top"),A=t.C.BW("k")[0],Z=t.C.BW("v")[0];if(null===t.NO&&(t.setScalesInfo(),t.iScaleXLength=A.V.length),"svg"!==t.G.AB?(c=ZC.AL(t.C.K+"-preview"))&&ZC.Q.P9(c,{clip:t.C.MD(0,"canvas",t.AT)}):(c=ZC.AL(t.C.K+"-clip-preview-shape"))&&ZC.Q.G6(c,{points:t.C.MD(0,"svg",t.AT)}),0===t.PC&&A&&(t.PC=ZC.BR(1,ZC._i_(2*t.AT.I/A.V.length)),"log"===A.BS)&&(t.PC=ZC.BR(1,ZC._i_(t.PC/A.DY))),t.BY)for(var c=ZC.ie67?ZC.AL(t.G.K):null,h=(ZC.A3("."+t.C.K+"-preview-item",c).remove(),[]),p=0;p<t.BY.length;p++){var u=(t.BY[p].x-A.iX)/A.I,u=ZC._i_(t.AT.iX+u*t.AT.I),_=new ZC.DQ(t.C);if(_.append({"line-width":1,"line-color":"#999",text:t.BY[p].text,x:u,y:t.AT.iY}),_.append(t.o.label),_.parse(),_.Z=t.Z,_.IP=t.G.usc()?ZC.AL(t.G.K+"-main"):ZC.AL(t.G.K+"-text"),_.GN=t.K+"-item "+t.C.K+"-preview-item zc-preview-item",_.K=t.K+"-item-"+p,_.iX>=t.AT.iX&&_.iX+_.I<=t.AT.iX+t.AT.I){for(var d=!1,f=0;f<h.length;f++)_.iX>h[f].x&&_.iX<h[f].x+h[f][ZC._[19]]&&(d=!0);!d&&_.AP&&(_.paint(),h.push({x:_.iX,width:_.I}));var u=[[u,t.AT.iY],[u,t.AT.iY+t.AT.F]],g=ZC.Q.EE(t.Z,t.G.AB);ZC.CO.paint(g,_,u)}}(A.GP||Z.GP)&&(t.K4=ZC.Q.I2({cls:"zc-abs zc-preview-handler zc-preview-handler-middle "+t.C.K+"-preview-handler",id:t.K+"-handler-middle",wh:t.AT.I+"/"+t.AT.F,tl:t.AT.iY+"/"+t.AT.iX,background:t.UI.A0,opacity:t.UI.C5,cursor:"pointer",p:s})),(!A.CM&&A.GP||Z.CM&&Z.GP)&&(t.A3D=ZC.Q.I2({cls:"zc-abs zc-preview-mask zc-preview-mask-left "+t.C.K+"-preview-mask",id:t.K+"-mask-x-left",wh:"0/"+t.AT.F,tl:t.AT.iY+"/"+t.AT.iX,background:t.OW.A0,opacity:t.OW.C5,p:s}),t.XA=ZC.Q.I2({cls:"zc-abs zc-preview-mask zc-preview-mask-right "+t.C.K+"-preview-mask",id:t.K+"-mask-x-right",wh:"0/"+t.AT.F,tl:t.AT.iY+"/"+(t.AT.iX+t.AT.I),background:t.OW.A0,opacity:t.OW.C5,p:s}),C=t.IT.I,e=t.IT.F,t.JV=ZC.Q.I2({cls:"zc-abs zc-preview-handler zc-preview-handler-left "+t.C.K+"-preview-handler",id:t.K+"-handler-x-left",wh:ZC.quirks?null:C+"/"+e,tl:ZC._i_(t.AT.iY+(t.AT.F-e)/4-t.PX/2)+"/"+ZC._i_(t.AT.iX-C/2-t.PX/2),lineHeight:"10%",cursor:"pointer",p:s,border:t.PX/2+"px solid transparent"}),c=t.JV,"svg"!==t.G.AB||ZC.AL(t.K+"-handler-x-left-svg")||(r=ZC.Q.F8("svg",ZC._[36]),ZC.Q.G6(r,{version:"1.1",id:t.K+"-handler-x-left-svg",width:C,height:e}),t.JV.appendChild(r),c=r),ZC.AL(t.K+"-handler-x-left-c")||(r=ZC.Q.HL({cls:"zc-no-print",id:t.K+"-handler-x-left-c",wh:C+"/"+e,p:c},t.G.AB),t.IT.Z=r,t.IT.K=t.K+"-handler-x-left-c-preview",t.IT.iX=0,t.IT.iY=0,t.IT.paint(),g=ZC.Q.EE(t.G.usc()?t.G.K+"-main-c":t.K+"-handler-x-left-c",t.G.AB),c=t.IT.B1,r=t.IT.AU,o=[[i=ZC._i_(C/2-c),a=r+3],[i,l=e-r-2],null,[n=ZC._i_(C/2+c),a],[n,l]],t.IT.D0=!0,ZC.CO.paint(g,t.IT,o)),C=t.HJ.I,e=t.HJ.F,t.JJ=ZC.Q.I2({cls:"zc-abs zc-preview-handler zc-preview-handler-right "+t.C.K+"-preview-handler",id:t.K+"-handler-x-right",wh:ZC.quirks?null:C+"/"+e,tl:ZC._i_(t.AT.iY+t.AT.F-t.HJ.F-(t.AT.F-e)/4-t.PX/2)+"/"+ZC._i_(t.AT.iX+t.AT.I-t.HJ.I/2-t.PX/2),lineHeight:"10%",cursor:"pointer",p:s,border:t.PX/2+"px solid transparent"}),r=t.JJ,"svg"!==t.G.AB||ZC.AL(t.K+"-handler-x-right-svg")||(c=ZC.Q.F8("svg",ZC._[36]),ZC.Q.G6(c,{version:"1.1",id:t.K+"-handler-x-right-svg",width:C,height:e}),t.JJ.appendChild(c),r=c),ZC.AL(t.K+"-handler-x-right-c")||(c=ZC.Q.HL({cls:"zc-no-print",id:t.K+"-handler-x-right-c",wh:C+"/"+e,p:r},t.G.AB),t.HJ.Z=c,t.HJ.K=t.K+"-handler-x-right-c-preview",t.HJ.iX=0,t.HJ.iY=0,t.HJ.paint(),g=ZC.Q.EE(t.G.usc()?t.G.K+"-main-c":t.K+"-handler-x-right-c",t.G.AB),r=t.HJ.B1,c=t.HJ.AU,o=[[i=ZC._i_(C/2-r),a=c+3],[i,l=e-c-2],null,[n=ZC._i_(C/2+r),a],[n,l]],t.HJ.D0=!0,ZC.CO.paint(g,t.HJ,o))),(!Z.CM&&Z.GP||A.CM&&A.GP)&&(t.A4V=ZC.Q.I2({cls:"zc-abs zc-preview-mask zc-preview-mask-top "+t.C.K+"-preview-mask",id:t.K+"-mask-x-top",wh:t.AT.I+"/0",tl:t.AT.iY+"/"+t.AT.iX,background:t.OW.A0,opacity:t.OW.C5,p:s}),t.VX=ZC.Q.I2({cls:"zc-abs zc-preview-mask zc-preview-mask-bottom "+t.C.K+"-preview-mask",id:t.K+"-mask-x-bottom",wh:t.AT.I+"/0",tl:t.AT.iY+t.AT.F+"/"+t.AT.iX,background:t.OW.A0,opacity:t.OW.C5,p:s}),C=t.JE.I,e=t.JE.F,t.KW=ZC.Q.I2({cls:"zc-abs zc-preview-handler zc-preview-handler-top "+t.C.K+"-preview-handler",id:t.K+"-handler-y-top",wh:ZC.quirks?null:C+"/"+e,tl:ZC._i_(t.AT.iY-e/2-t.PX/2)+"/"+ZC._i_(t.AT.iX+(t.AT.I-C)/4-t.PX/2),lineHeight:"10%",cursor:"pointer",p:s,border:t.PX/2+"px solid transparent"}),c=t.KW,"svg"!==t.G.AB||ZC.AL(t.K+"-handler-y-top-svg")||(r=ZC.Q.F8("svg",ZC._[36]),ZC.Q.G6(r,{version:"1.1",id:t.K+"-handler-y-top-svg",width:C,height:e}),t.KW.appendChild(r),c=r),ZC.AL(t.K+"-handler-y-top-c")||(Z=ZC.Q.HL({cls:"zc-no-print",id:t.K+"-handler-y-top-c",wh:C+"/"+e,p:c},t.G.AB),t.JE.Z=Z,t.JE.K=t.K+"-handler-y-top-c-preview",t.JE.iX=0,t.JE.iY=0,t.JE.paint(),g=ZC.Q.EE(t.G.usc()?t.G.K+"-main-c":t.K+"-handler-y-top-c",t.G.AB),r=t.JE.B1,c=t.JE.AU,l=ZC._i_(e/2-r),o=[[i=C-c-2,a=ZC._i_(e/2+r)],[n=c+3,a],null,[i,l],[n,l]],t.JE.D0=!0,ZC.CO.paint(g,t.JE,o)),C=t.H9.I,e=t.H9.F,t.J0=ZC.Q.I2({cls:"zc-abs zc-preview-handler zc-preview-handler-bottom "+t.C.K+"-preview-handler",id:t.K+"-handler-y-bottom",wh:ZC.quirks?null:C+"/"+e,tl:ZC._i_(t.AT.iY+t.AT.F-t.H9.F/2-t.PX/2)+"/"+ZC._i_(t.AT.iX+t.AT.I-t.H9.I-(t.AT.I-C)/4-t.PX/2),lineHeight:"10%",cursor:"pointer",p:s,border:t.PX/2+"px solid transparent"}),Z=t.J0,"svg"!==t.G.AB||ZC.AL(t.K+"-handler-y-bottom-svg")||(r=ZC.Q.F8("svg",ZC._[36]),ZC.Q.G6(r,{version:"1.1",id:t.K+"-handler-y-bottom-svg",width:C,height:e}),t.J0.appendChild(r),Z=r),ZC.AL(t.K+"-handler-y-bottom-c")||(c=ZC.Q.HL({cls:"zc-no-print",id:t.K+"-handler-y-bottom-c",wh:C+"/"+e,p:Z},t.G.AB),t.H9.Z=c,t.H9.K=t.K+"-handler-y-bottom-c-preview",t.H9.iX=0,t.H9.iY=0,t.H9.paint(),g=ZC.Q.EE(t.G.usc()?t.G.K+"-main-c":t.K+"-handler-y-bottom-c",t.G.AB),r=t.H9.B1,Z=t.H9.AU,l=ZC._i_(e/2-r),o=[[i=C-Z-2,a=ZC._i_(e/2+r)],[n=Z+3,a],null,[i,l],[n,l]],t.H9.D0=!0,ZC.CO.paint(g,t.H9,o))),t.IL=0,t.HB=t.AT.I,t.KX=0,t.HE=t.AT.F,A.GP&&t.A1N&&(c=A.W,C=A.A1,A.F7&&"date"===A.F7.o.type&&(c=A.FT(A.W,null,null).replace(/<br>/g," "),C=A.FT(A.A1,null,null).replace(/<br>/g," ")),t.RB=ZC.Q.I2({cls:"zc-abs zc-preview-label "+t.C.K+"-preview-label",id:t.K+"-min-label",background:t.J9.A0,opacity:t.J9.C5,fontFamily:t.J9.GJ,fontSize:t.J9.DI,fontWeight:t.J9.sFontWeight,color:t.J9.C2,padding:0,html:c+"",p:s}),t.RB.style.left=t.AT.iX+"px",t.RB.style.top=t.AT.iY+t.AT.F+"px",t.RC=ZC.Q.I2({cls:"zc-abs zc-preview-label "+t.C.K+"-preview-label",id:t.K+"-max-label",background:t.J9.A0,opacity:t.J9.C5,fontFamily:t.J9.GJ,fontSize:t.J9.DI,fontWeight:t.J9.sFontWeight,color:t.J9.C2,padding:0,html:C+"",p:s}),t.RC.style.left=t.AT.iX+t.AT.I+"px",t.RC.style.top=t.AT.iY+t.AT.F+"px",t.IL>ZC.A3(t.RB).width()?t.RB.style.left=t.AT.iX+t.IL-ZC.A3(t.RB).width()+"px":t.RB.style.left=t.AT.iX+"px",t.AT.I-t.HB>ZC.A3(t.RC).width()?t.RC.style.left=t.AT.iX+t.HB+"px":t.RC.style.left=t.AT.iX+t.HB-ZC.A3(t.RC).width()+"px"),t.bind(),t.BY&&(t.BY=[])}},reset:function(){var e=this.C.BW("k")[0],t=(t=this.C.BW("v",!0)[0])||this.C.BW("v")[0];e&&t&&this.update(e.D4,e.DP,t.FQ,t.GW,!0)},update:function(e,t,i,n,a){var l,o,r,C,s,A=this;(a=null===ZC._n_(a)?!1:a)||(t<=e&&(e=t-1),n<=i&&(i=n-1)),A.AP&&A.JV&&(l=A.C.BW("k")[0],o=(o=A.C.BW("v",!0)[0])||A.C.BW("v")[0],r=!0,a?l&&o&&(l.CM&&o.CM&&(a=e,C=t,e=i,t=n,i=a,n=C),l.CM?(null===ZC._n_(n)&&(n=l.A1),null===ZC._n_(i)&&(i=l.W)):(null===ZC._n_(e)&&(e=l.W),null===ZC._n_(t)&&(t=l.A1)),o.CM?(null===ZC._n_(e)&&(e=o.aAutoFit[0]?o.FQ:o.B0),null===ZC._n_(t)&&(t=o.aAutoFit[1]?o.GW:o.BF)):(null===ZC._n_(i)&&(i=o.aAutoFit[0]?o.FQ:o.B0),null===ZC._n_(n)&&(n=o.aAutoFit[1]?o.GW:o.BF)),a=l.DE?1:0,l.CM||o.CM?l.AW?A.update((e-o.FQ)*A.AT.I/(o.GW-o.FQ),(t-o.FQ)*A.AT.I/(o.GW-o.FQ),(i-l.D4)*A.AT.F/(l.DP-l.D4),(n-l.D4)*A.AT.F/(l.DP-l.D4)):A.update((e-o.FQ)*A.AT.I/(o.GW-o.FQ),(t-o.FQ)*A.AT.I/(o.GW-o.FQ),A.AT.F-(n-l.D4)*A.AT.F/(l.DP-l.D4),A.AT.F-(i-l.D4)*A.AT.F/(l.DP-l.D4)):l.AW?A.update(A.AT.I-(t-l.D4+a)*A.AT.I/(l.DP-l.D4+a),A.AT.I-(e-l.D4)*A.AT.I/(l.DP-l.D4+a),A.AT.F-(n-o.FQ)*A.AT.F/(o.GW-o.FQ),A.AT.F-(i-o.FQ)*A.AT.F/(o.GW-o.FQ)):A.update((e-l.D4)*A.AT.I/(l.DP-l.D4+a),(t-l.D4+a)*A.AT.I/(l.DP-l.D4+a),A.AT.F-(n-o.FQ)*A.AT.F/(o.GW-o.FQ),A.AT.F-(i-o.FQ)*A.AT.F/(o.GW-o.FQ))):(t-e<A.PC&&(A.G2===A.JJ?t=e+A.PC:A.G2===A.JV&&(e=t-A.PC)),n-i<A.A0H&&(A.G2===A.J0?n=i+A.A0H:A.G2===A.KW&&(i=n-A.A0H)),t<e&&(A.G2===A.JV?A.update(t-1,t,i,n):A.G2===A.JJ&&A.update(e,e+1,i,n),r=!1),e<0&&(A.G2===A.JV?A.update(0,t,i,n):A.G2===A.K4&&A.update(0,ZC.A3(A.K4).width(),i,n),r=!1),t>A.AT.I&&(A.G2===A.JJ?A.update(e,A.AT.I,i,n):A.G2===A.K4&&A.update(A.AT.I-ZC.A3(A.K4).width(),A.AT.I,i,n),r=!1),n<i&&(A.G2===A.KW?A.update(e,t,i-1,n):A.G2===A.J0&&A.update(e,t,i,n+1),r=!1),i<0&&(A.G2===A.KW?A.update(e,t,0,n):A.G2===A.K4&&A.update(e,t,0,ZC.A3(A.K4).height()),r=!1),n>A.AT.F&&(A.G2===A.J0?A.update(e,t,i,A.AT.F):A.G2===A.K4&&A.update(e,t,A.AT.F-ZC.A3(A.K4).height(),A.AT.F),r=!1),r&&(l&&l.Y5&&(l.CM?(i=(s=A.AT.F/(A.iScaleXLength-(l.DE?0:1)))*Math.round(i/s),n=ZC.CY(s*Math.round(n/s),A.AT.F)):(e=(s=A.AT.I/(A.iScaleXLength-(l.DE?0:1)))*Math.round(e/s),t=ZC.CY(s*Math.round(t/s),A.AT.I))),A.IL=e,A.HB=t,A.KX=i,A.HE=n,(!l.CM&&l.GP||o.CM&&o.GP)&&(A.JV.style.left=ZC._i_(A.AT.iX+A.IL-A.IT.I/2-A.PX/2)+"px",A.A3D.style.width=ZC._i_(A.IL)+"px",A.JJ.style.left=ZC._i_(A.AT.iX+A.HB-A.HJ.I/2-A.PX/2)+"px",A.XA.style.left=ZC._i_(A.AT.iX+A.HB)+"px",A.XA.style.width=ZC._i_(A.AT.I-A.HB)+"px"),(!o.CM&&o.GP||l.CM&&l.GP)&&(A.KW.style.top=ZC._i_(A.AT.iY+A.KX-A.JE.F/2-A.PX/2)+"px",A.A4V.style.height=ZC._i_(A.KX)+"px",A.J0.style.top=ZC._i_(A.AT.iY+A.HE-A.H9.F/2-A.PX/2)+"px",A.VX.style.top=ZC._i_(A.AT.iY+A.HE)+"px",A.VX.style.height=ZC._i_(A.AT.F-A.HE)+"px"),(l.GP||o.GP)&&(A.K4.style.left=ZC._i_(A.AT.iX+A.IL)+"px",A.K4.style.width=ZC._i_(A.HB-A.IL)+"px",A.K4.style.top=ZC._i_(A.AT.iY+A.KX)+"px",A.K4.style.height=ZC._i_(A.HE-A.KX)+"px"),A.ABT&&A.IX&&(A.C.OG=!0,A.zoom(!0)),l.GP)&&A.A1N&&(l.F7&&"date"===l.F7.o.type?(A.RB.innerHTML=l.FT(l.W,null,null).replace(/<br>/g," "),A.RC.innerHTML=l.FT(l.A1,null,null).replace(/<br>/g," ")):(A.RB.innerHTML=l.W,A.RC.innerHTML=l.A1),A.IL>ZC.A3(A.RB).width()?A.RB.style.left=A.AT.iX+A.IL-ZC.A3(A.RB).width()+"px":A.RB.style.left=A.AT.iX+"px",A.AT.I-A.HB>ZC.A3(A.RC).width()?A.RC.style.left=A.AT.iX+A.HB+"px":A.RC.style.left=A.AT.iX+A.HB-ZC.A3(A.RC).width()+"px")))},zoom:function(e){for(var t,i,n,a,l,o=this,r={graphid:o.C.K,preview:1,"async":o.KU,previewscale:!0,zooming:e},C=o.C.BO,s=o.C.BW("k")[0],A=o.C.BW("v")[0],Z=0,c=C.length;Z<c;Z++)(t=C[Z])&&(i=1===t.L?"":"-"+t.L,"k"===t.AF?s.GP&&(n=o.KU?o.NO[t.BD].minindex:t.D4,l=o.KU?o.NO[t.BD].maxindex:t.DP,r["zoomx"+i]=!0,a=s.DE?1:0,s.CM?(r["xmin"+i]=ZC._i_((o.AT.F-o.HE)/o.AT.F*(l-n)),r["xmax"+i]=ZC._i_((o.AT.F-o.KX)/o.AT.F*(l-n))):(r["xmin"+i]=ZC._i_(o.IL/(o.AT.I/(l-n+a))),r["xmax"+i]=ZC._i_(o.HB/(o.AT.I/(l-n+a))-a)),s.AW)&&(r["xmin"+i]=l-r["xmin"+i],r["xmax"+i]=l-r["xmax"+i],n=r["xmin"+i],r["xmin"+i]=r["xmax"+i],r["xmax"+i]=n):A.GP&&(a=o.KU?o.NO[t.BD].minvalue:t.FQ,l=o.KU?o.NO[t.BD].maxvalue:t.GW,r["zoomy"+i]=!0,A.CM?(r["ymin"+i]=a+o.IL/o.AT.I*(l-a),r["ymax"+i]=a+o.HB/o.AT.I*(l-a)):(r["ymin"+i]=a+(o.AT.F-o.HE)/o.AT.F*(l-a),r["ymax"+i]=a+(o.AT.F-o.KX)/o.AT.F*(l-a))));o.G.Q5(r)},unbind:function(){var e=this;ZC.A3("."+e.C.K+"-preview-handler").unbind("mousedown touchstart",e.YX),ZC.A3("."+e.C.K+"-preview-mask").unbind("click",e.AGE),ZC.A3(document.body).unbind("mousemove touchmove",e.YY),ZC.A3(document.body).unbind("mouseup touchend",e.W6),e.bBind=!1},bind:function(){var l,o,r,C=this;C.bBind||(l=C.G.K,r=o=0,C.AGE=function(e){var t,i,n;if(e.preventDefault(),C.G.H6)return C.G.H6.C=C.C,C.G.H6.parse(),t=ZC.Q.MJ(e),i=ZC.A3("#"+l+"-top").offset(),-1!==e.target.id.indexOf("preview-mask-x-left")||-1!==e.target.id.indexOf("preview-mask-x-right")?(e=t[0]-i.left-C.AT.iX)-(n=C.HB-C.IL)/2<0?(C.IL=0,C.HB=n):e+n/2>C.AT.I?(C.IL=C.AT.I-n,C.HB=C.AT.I):(C.IL=ZC._i_(e-n/2),C.HB=ZC._i_(e+n/2)):(e=t[1]-i.top-C.AT.iY)-(n=C.HE-C.KX)/2<0?(C.KX=0,C.HE=n):e+n/2>C.AT.F?(C.KX=C.AT.F-n,C.HE=C.AT.F):(C.KX=ZC._i_(e-n/2),C.HE=ZC._i_(e+n/2)),C.IX=!1,C.C.OG=!1,C.update(C.IL,C.HB,C.KX,C.HE),C.zoom(!1),!1},C.YX=function(e){if(e.preventDefault(),C.G.H6){C.G.H6.C=C.C,C.G.H6.parse();for(var t,i,n,a=e.target;a&&"BODY"!==a.tagName.toUpperCase();){if(-1!==ZC.Q.TC(a).indexOf("zc-preview-handler"))break;a=a.parentNode}if(ZC.mobile||!(1<e.which))if(a)return e=ZC.Q.MJ(e),t=ZC._tx_(C.G.K),i=ZC.A3("#"+l+"-top").offset(),n=(e[0]-i.left)/t[0]-C.AT.iX,e=(e[1]-i.top)/t[1]-C.AT.iY,-1!==a.id.indexOf("handler-x-left")?C.G2=C.JV:-1!==a.id.indexOf("handler-x-right")?C.G2=C.JJ:-1!==a.id.indexOf("handler-y-top")?C.G2=C.KW:-1!==a.id.indexOf("handler-y-bottom")?C.G2=C.J0:-1!==a.id.indexOf("handler-middle")&&(C.G2=C.K4,o=n-C.IL,r=e-C.KX),C.IX=!0,C.A3M=!1,!(C.G.E[C.K]=[a.id,o,r])}},C.YY=function(e){var t,i,n;return typeof C.G.E[C.K]!==ZC._[31]&&(C.IX=!0,t=C.G.E[C.K][0],o=C.G.E[C.K][1],r=C.G.E[C.K][2],-1!==t.indexOf("handler-x-left")?C.G2=C.JV:-1!==t.indexOf("handler-x-right")?C.G2=C.JJ:-1!==t.indexOf("handler-y-top")?C.G2=C.KW:-1!==t.indexOf("handler-y-bottom")?C.G2=C.J0:-1!==t.indexOf("handler-middle")&&(C.G2=C.K4)),C.IX&&(C.A3M=!0,zingchart.exec(C.G.K,"setmode",{mode:"static,fast"}),t=ZC._tx_(C.G.K),e=ZC.Q.MJ(e),i=ZC.A3("#"+l+"-top").offset(),n=(e[0]-i.left)/t[0]-C.AT.iX,e=(e[1]-i.top)/t[1]-C.AT.iY,C.G2===C.JV?C.update(n,C.HB,C.KX,C.HE):C.G2===C.JJ?C.update(C.IL,n,C.KX,C.HE):C.G2===C.KW?C.update(C.IL,C.HB,e,C.HE):C.G2===C.J0?C.update(C.IL,C.HB,C.KX,e):C.G2===C.K4&&C.update(n-o,n-o+ZC.A3(C.K4).width(),e-r,e-r+ZC.A3(C.K4).height())),!1},ZC.A3(document.body).bind("mousemove touchmove",C.YY),C.W6=function(){return delete C.G.E[C.K],C.IX&&(zingchart.exec(C.G.K,"setmode",{mode:""}),C.IX=!1,C.C.OG=!1,C.A3M&&C.zoom(!1),C.A3M=!1),!1},ZC.A3(document.body).bind("mouseup touchend",C.W6),ZC.A3("."+C.C.K+"-preview-handler").bind("mousedown touchstart",C.YX),ZC.A3("."+C.C.K+"-preview-mask").bind("click",C.AGE),C.bBind=!0)},gc:function(){ZC.AO.gc(this,["Z","C8","o","IB","J2","C","G","AT","UI","JV","JJ","KW","J0","K4","JE","HJ","H9","IT","oMask","OW","A3D","XA","A4V","VX"])}}),ZQ=(ZC.A2D=ZC.CZ.CD(A2D),{$i:function(e,t){this.b(e);var i=this;i.C=e,i.G=e.A,i.IX=!1,i.Z=null,i.BK=0,i.BJ=0,i.A78="",i.bYX="yx"===i.C.AJ.layout,i.AF=i.sTypeE=i.sTypeN="scroll-"+(t||"x"),i.bYX&&(i.AF+="i",i.sTypeE="scroll-xi"===i.AF?"scroll-y":"scroll-x")},parse:function(){var e,t=this,i=(t.K=t.C.K+"-"+t.sTypeE,t.assign_a([["offset-x","BK"],["offset-y","BJ"]]),"("+t.C.AF+")."),n=t.G.B6;t.B2=new ZC.HU(t.C),n.load(t.B2.o,[i+"scroll.bar",i+t.AF+".bar"]),null!==ZC._n_(e=t.o.bar)&&t.B2.append(e),t.B2.parse(),t.B3=new ZC.HU(t.C),n.load(t.B3.o,[i+"scroll.handle",i+t.AF+".handle"]),null!==ZC._n_(e=t.o.handle)&&t.B3.append(e),t.B3.parse()},paint:function(){var e,t=this,i=t.C.BW("k")[0],n=t.C.BW("v")[0],a=t.C.P;("scroll-x"===t.AF||"scroll-xi"===t.AF)&&i.D4===i.W&&i.DP===i.A1||("scroll-y"===t.AF||"scroll-yi"===t.AF)&&n.FQ===n.B0&&n.GW===n.BF?(t.unbind(),ZC.A3("#"+t.C.K+"-"+t.AF+"-handle").remove(),ZC.A3("#"+t.C.K+"-"+t.AF+"-bar").remove(),ZC.Q.IW(t.Z,t.G.AB,t.C.iX,t.C.iY,t.C.I,t.C.F)):(t.Z=ZC.AL(t.C.K+"-"+t.sTypeN+"-c"),e=ZC.AL(t.G.K+"-top"),"scroll-x"===t.AF||"scroll-yi"===t.AF?(t.B2.iX=a.iX+t.BK,t.B2.iY=a.iY+a.F+i.B1-1+t.BJ,t.B2.I=a.I,t.bYX?(t.B3.I=ZC._i_(ZC.BR(4,t.B2.I*((n.BF-n.B0)/(n.GW-n.FQ)))),n.FQ===n.B0?n.AW?t.B3.iX=t.B2.iX+t.B2.I-t.B3.I:t.B3.iX=t.B2.iX:n.GW===n.BF?n.AW?t.B3.iX=t.B2.iX:t.B3.iX=t.B2.iX+t.B2.I-t.B3.I:n.AW?t.B3.iX=ZC._i_(t.B2.iX+t.B2.I-t.B3.I-t.B2.I*(n.B0-n.FQ)/(n.GW-n.FQ)):t.B3.iX=ZC._i_(t.B2.iX+t.B2.I*(n.B0-n.FQ)/(n.GW-n.FQ))):(t.B3.I=ZC._i_(ZC.BR(4,t.B2.I*((i.A1-i.W)/(i.DP-i.D4)))),i.D4===i.W?i.AW?t.B3.iX=t.B2.iX+t.B2.I-t.B3.I:t.B3.iX=t.B2.iX:i.DP===i.A1?i.AW?t.B3.iX=t.B2.iX:t.B3.iX=t.B2.iX+t.B2.I-t.B3.I:i.AW?t.B3.iX=ZC._i_(t.B2.iX+t.B2.I-t.B3.I-t.B2.I*(i.W-i.D4)/(i.DP-i.D4)):t.B3.iX=ZC._i_(t.B2.iX+t.B2.I*(i.W-i.D4)/(i.DP-i.D4))),ZC.AL(t.K+"-handle")?(ZC.A3("#"+t.K+"-bar").css("top",t.B2.iY+"px"),ZC.A3("#"+t.K+"-handle").css("left",t.B3.iX+"px").css("top",t.B2.iY+"px").css(ZC._[19],ZC.BR(15,t.B3.I)+"px"),t.paint_()):(t.AAD=ZC.Q.I2({cls:"zc-abs zc-scroll zc-scroll-x-bar "+t.C.K+"-scroll-x-bar",id:t.K+"-bar",wh:t.B2.I+"/"+t.B2.F,tl:t.B2.iY+"/"+t.B2.iX,opacity:0,p:e}),t.ZF=ZC.Q.I2({cls:"zc-abs zc-scroll zc-scroll-x-handle "+t.C.K+"-scroll-x-handle",id:t.K+"-handle",wh:ZC.BR(15,t.B3.I)+"/"+t.B2.F,tl:t.B2.iY+"/"+(t.B3.iX-2),background:"#fff",opacity:0,p:e}),t.ZF.style.cursor="pointer",t.paint_(),t.IX||t.bind())):(t.B2.iX=a.iX-t.B2.I-1+t.BK,t.B2.iY=a.iY+t.BJ,t.B2.F=a.F,t.bYX?(t.B3.F=ZC._i_(ZC.BR(4,t.B2.F*((i.A1-i.W)/(i.DP-i.D4)))),i.D4===i.W?i.AW?t.B3.iY=t.B2.iY:t.B3.iY=t.B2.iY+t.B2.F-t.B3.F:i.DP===i.A1?i.AW?t.B3.iY=t.B2.iY+t.B2.F-t.B3.F:t.B3.iY=t.B2.iY:i.AW?t.B3.iY=ZC._i_(t.B2.iY+t.B2.F*(i.W-i.D4)/(i.DP-i.D4)):t.B3.iY=ZC._i_(t.B2.iY+t.B2.F-t.B3.F-t.B2.F*(i.W-i.D4)/(i.DP-i.D4))):(t.B3.F=ZC._i_(ZC.BR(4,t.B2.F*((n.BF-n.B0)/(n.GW-n.FQ)))),n.FQ===n.B0?n.AW?t.B3.iY=t.B2.iY:t.B3.iY=t.B2.iY+t.B2.F-t.B3.F:n.GW===n.BF?n.AW?t.B3.iY=t.B2.iY+t.B2.F-t.B3.F:t.B3.iY=t.B2.iY:n.AW?t.B3.iY=ZC._i_(t.B2.iY+t.B2.F*(n.B0-n.FQ)/(n.GW-n.FQ)):t.B3.iY=ZC._i_(t.B2.iY+t.B2.F-t.B3.F-t.B2.F*(n.B0-n.FQ)/(n.GW-n.FQ))),ZC.AL(t.K+"-handle")?(ZC.A3("#"+t.K+"-bar").css("left",t.B2.iX+"px"),ZC.A3("#"+t.K+"-handle").css("top",t.B3.iY+"px").css("left",t.B2.iX+"px").css(ZC._[20],ZC.BR(15,t.B3.F)+"px"),t.paint_()):(t.AAE=ZC.Q.I2({cls:"zc-abs zc-scroll zc-scroll-y-bar "+t.C.K+"-scroll-y-bar",id:t.K+"-bar",wh:t.B2.I+"/"+t.B2.F,tl:t.B2.iY+"/"+t.B2.iX,opacity:0,p:e}),t.ZG=ZC.Q.I2({cls:"zc-abs zc-scroll zc-scroll-y-handle "+t.C.K+"-scroll-y-handle",id:t.K+"-handle",wh:t.B2.I+"/"+ZC.BR(15,t.B3.F),tl:t.B3.iY-2+"/"+t.B2.iX,background:"#fff",opacity:0,p:e}),t.ZG.style.cursor="pointer",t.paint_(),t.IX||t.bind())))},zoom:function(e){for(var t,i,n,a,l,o=this,r={graphid:o.C.K,zooming:e,scroll:!0},C=o.C.BO,s=o.C.BW("k")[0],A=o.C.BW("v")[0],Z=0,c=C.length;Z<c;Z++)(t=C[Z])&&(a=1===t.L?"":"-"+t.L,s.GP&&"scroll-x"===o.AF&&"k"===t.AF&&!o.bYX?(l=t.A1-t.W,r["zoomx"+a]=!0,i=(o.B3.iX-o.B2.iX)/o.B2.I,n=(o.B3.iX-o.B2.iX+o.B3.I)/o.B2.I,s.AW?(r["xmin"+a]=t.DP-ZC._i_(n*(t.DP-t.D4)),r["xmax"+a]=t.DP-ZC._i_(i*(t.DP-t.D4))):(r["xmin"+a]=t.D4+ZC._i_(i*(t.DP-t.D4)),r["xmax"+a]=t.D4+ZC._i_(n*(t.DP-t.D4))),r["xmax"+a]-r["xmin"+a]!==l&&(r["xmax"+a]===t.DP?r["xmin"+a]=r["xmax"+a]-l:r["xmax"+a]=r["xmin"+a]+l)):A.GP&&"scroll-y"===o.AF&&"v"===t.AF&&!o.bYX?(r["zoomy"+a]=!0,i=(o.B2.F-(o.B3.iY-o.B2.iY+o.B3.F))/o.B2.F,n=(o.B2.F-(o.B3.iY-o.B2.iY))/o.B2.F,A.AW?(r["ymin"+a]=t.GW-ZC._f_(n*(t.GW-t.FQ)),r["ymax"+a]=t.GW-ZC._f_(i*(t.GW-t.FQ))):(r["ymin"+a]=t.FQ+ZC._f_(i*(t.GW-t.FQ)),r["ymax"+a]=t.FQ+ZC._f_(n*(t.GW-t.FQ)))):s.GP&&"scroll-xi"===o.AF&&"k"===t.AF&&o.bYX?(l=t.A1-t.W,r["zoomx"+a]=!0,i=(o.B2.F-o.B3.iY+o.B2.iY-o.B3.F)/o.B2.F,n=(o.B2.F-o.B3.iY+o.B2.iY)/o.B2.F,s.AW?(r["xmin"+a]=t.DP-ZC._i_(n*(t.DP-t.D4)),r["xmax"+a]=t.DP-ZC._i_(i*(t.DP-t.D4))):(r["xmin"+a]=t.D4+ZC._i_(i*(t.DP-t.D4)),r["xmax"+a]=t.D4+ZC._i_(n*(t.DP-t.D4))),r["xmax"+a]-r["xmin"+a]!==l&&(r["xmax"+a]===t.DP?r["xmin"+a]=r["xmax"+a]-l:r["xmax"+a]=r["xmin"+a]+l)):A.GP&&"scroll-yi"===o.AF&&"v"===t.AF&&o.bYX&&(r["zoomy"+a]=!0,i=(o.B3.iX-o.B2.iX)/o.B2.I,n=(o.B3.iX-o.B2.iX+o.B3.I)/o.B2.I,A.AW?(r["ymin"+a]=t.GW-ZC._f_(n*(t.GW-t.FQ)),r["ymax"+a]=t.GW-ZC._f_(i*(t.GW-t.FQ))):(r["ymin"+a]=t.FQ+ZC._f_(i*(t.GW-t.FQ)),r["ymax"+a]=t.FQ+ZC._f_(n*(t.GW-t.FQ)))));o.G.Q5(r)},paint_:function(){var e,t,i=this;ZC.Q.IW(i.Z,i.G.AB,i.C.iX,i.C.iY,i.C.I,i.C.F),"scroll-x"===i.AF||"scroll-yi"===i.AF?((e=new ZC.HU(i)).K=i.C.K+"-scroll-x-bar",e.copy(i.B2),e.Z=e.C8=i.Z,e.iX=i.B2.iX,e.iY=i.B2.iY,e.I=i.B2.I,e.F=i.B2.F,e.paint(),(t=new ZC.HU(i)).K=i.C.K+"-scroll-x-handle",t.copy(i.B3),t.Z=t.C8=i.Z,t.iX=i.B3.iX,t.iY=i.B2.iY+(i.B2.F-i.B3.F)/2-1,t.I=ZC.BR(15,i.B3.I),t.iX+t.I>i.C.P.iX+i.C.P.I&&(t.iX=i.C.P.iX+i.C.P.I-t.I),t.iX<i.C.P.iX&&(t.iX=i.C.P.iX),t.F=i.B3.F,t.paint(),ZC.A3("#"+i.K+"-handle").css("left",t.iX+"px")):((e=new ZC.HU(i)).K=i.C.K+"-scroll-y-bar",e.copy(i.B2),e.Z=e.C8=i.Z,e.iX=i.B2.iX,e.iY=i.B2.iY,e.I=i.B2.I,e.F=i.B2.F,e.paint(),(t=new ZC.HU(i)).K=i.C.K+"-scroll-y-handle",t.copy(i.B3),t.Z=t.C8=i.Z,t.iX=i.B2.iX+(i.B2.I-i.B3.I)/2,t.iY=i.B3.iY,t.I=i.B3.I,t.F=ZC.BR(15,i.B3.F),t.iY+t.F>i.C.P.iY+i.C.P.F&&(t.iY=i.C.P.iY+i.C.P.F-t.F),t.iY<i.C.P.iY&&(t.iY=i.C.P.iY),t.paint(),ZC.A3("#"+i.K+"-handle").css("top",t.iY+"px"))},setScrollingFlag:function(e){var t=this;if(t.C.OG=e,t.C.H6&&ZC._b_(t.C.H6.o.shared))for(var i=0;i<t.G.AG.length;i++)t.G.AG[i].H6&&ZC._b_(t.G.AG[i].H6.o.shared)&&(t.G.AG[i].OG=e)},update:function(e){var t=this;"scroll-x"===t.AF||"scroll-yi"===t.AF?(t.B3.iX=e,ZC.A3("#"+t.K+"-handle").css("left",e+"px")):(t.B3.iY=e,ZC.A3("#"+t.K+"-handle").css("top",e+"px")),t.paint_(),t.IX&&(t.setScrollingFlag(!0),t.zoom(!0))},unbind:function(){var e=this;ZC.A3("."+e.C.K+"-"+e.AF+"-handle").unbind("mousedown touchstart",e.RH),ZC.A3("."+e.C.K+"-"+e.AF+"-bar").unbind("click",e.RJ)},overscroll:function(e){var t=this.C.H2();t.type=e,ZC.AO.C0("overscroll",this.G,t)},bind:function(){var a=this,l=a.G.K,o=0,r=0;a.RH=function(e){if(e.preventDefault(),!(1<e.button)&&(a.A78=a.G.KQ.join(","),a.G.KQ.push(ZC._[38],"skip_objects_tracking",ZC._[39],ZC._[40],ZC._[41]),a.G.H6)){a.G.H6.C=a.C,a.G.H6.parse();for(var t,i,n=e.target;n&&"BODY"!==n.tagName.toUpperCase();){if(-1!==ZC.Q.TC(n).indexOf("zc-"+a.AF+"-handle"))break;n=n.parentNode}if(ZC.mobile||!(1<e.which))if(n)return e=ZC.Q.MJ(e),t=ZC.A3("#"+l+"-top").offset(),"scroll-x"===a.AF||"scroll-yi"===a.AF?(i=e[0]-t.left,o=i-a.B3.iX):(i=e[1]-t.top,r=i-a.B3.iY),ZC.A3(document.body).bind("mousemove touchmove",a.RI),ZC.A3(document.body).bind("mouseup touchend",a.MB),!(a.IX=!0)}},a.RI=function(e){var t,i;return a.IX&&(a.setScrollingFlag(!1),e=ZC.Q.MJ(e),t=ZC.A3("#"+l+"-top").offset(),"scroll-x"===a.AF||"scroll-yi"===a.AF?((i=e[0]-t.left)-o<a.B2.iX&&(i<a.B2.iX-15&&a.overscroll("scroll-x-left"),i=a.B2.iX+o),i-o+a.B3.I>a.B2.iX+a.B2.I&&(i>a.B2.iX+a.B2.I+15&&a.overscroll("scroll-x-right"),i=a.B2.iX+a.B2.I+o-a.B3.I),a.update(i-o)):((i=e[1]-t.top)-r<a.B2.iY&&(i<a.B2.iY-15&&a.overscroll("scroll-y-top"),i=a.B2.iY+r),i-r+a.B3.F>a.B2.iY+a.B2.F&&(i>a.B2.iY+a.B2.F+15&&a.overscroll("scroll-y-bottom"),i=a.B2.iY+a.B2.F+r-a.B3.F),a.update(i-r))),!1},a.MB=function(e){return a.G.KQ=a.A78.split(","),a.IX&&(ZC.A3(document.body).unbind("mousemove touchmove",a.RI),ZC.A3(document.body).unbind("mouseup touchend",a.MB),a.IX=!1,a.setScrollingFlag(!1),e)&&a.zoom(!1),!1},a.RJ=function(e){a.IX=!1,a.setScrollingFlag(!1);var e=ZC.Q.MJ(e),t=ZC.A3("#"+l+"-top").offset();"scroll-x"===a.AF||"scroll-yi"===a.AF?e[0]-t.left>a.B3.iX?a.update(ZC.CY(a.B2.iX+a.B2.I-a.B3.I-2*a.B3.AU,a.B3.iX+(e[0]-t.left-a.B3.iX)/4)):a.update(ZC.BR(a.B2.iX,e[0]-t.left+(a.B3.iX-e[0]+t.left-a.B3.I)/4)):e[1]-t.top>a.B3.iY?a.update(ZC.CY(a.B2.iY+a.B2.F-a.B3.F-2*a.B3.AU,a.B3.iY+(e[1]-t.top-a.B3.iY)/4)):a.update(ZC.BR(a.B2.iY,e[1]-t.top+(a.B3.iY-e[1]+t.top-a.B3.F)/4)),a.zoom(!1)},ZC.A3("."+a.C.K+"-"+a.sTypeE+"-handle").bind("mousedown touchstart",a.RH),ZC.A3("."+a.C.K+"-"+a.sTypeE+"-bar").bind("click",a.RJ)}}),WW=(ZC.ZQ=ZC.CZ.CD(ZQ),{$i:function(e,t){this.b(e);this.BE=e,this.IX=!1,this.Z=null,this.A78="",this.KV=1,this.H7=1,this.AF="scroll-"+(t||"y")},parse:function(){var e,t=this,i=(t.K=t.BE.K+"-legend-"+t.AF,t.BE.A.G.B6),n="("+t.BE.A.AF+")";t.B2=new ZC.HU(t.BE),i.load(t.B2.o,[n+".legend.scroll.bar",t.AF+".bar"]),null!==ZC._n_(e=t.o.bar)&&t.B2.append(e),t.B2.parse(),t.B3=new ZC.HU(t.BE),i.load(t.B3.o,[n+".legend.scroll.handle",t.AF+".handle"]),null!==ZC._n_(e=t.o.handle)&&t.B3.append(e),t.B3.parse()},paint:function(){var e,t,i=this;i.IX||(i.Z=ZC.AL(i.BE.A.K+"-legend-scroll-c"),t=ZC.AL(i.G.K+"-top"),"scroll-y"===i.AF?(i.B2.iX=i.BE.iX+i.BE.I-i.B2.I-1,i.B2.iY=i.BE.EK,i.B2.F=i.BE.F-(i.BE.KN?i.BE.KN.F:0)-(i.BE.EK-i.BE.iY),e=Math.ceil(i.BE.B8.length/i.H7-i.BE.EJ/i.H7)+1,i.B3.F=i.B2.F/e,i.B3.iY=i.B2.iY,0!==i.BE.D6.min&&(i.B3.iY+=i.BE.D6.min/i.H7*i.B3.F),ZC.AL(i.K+"-legend-handle")?(ZC.A3("#"+i.K+"-legend-handle").css("left",i.B2.iX+"px").css("top",i.B3.iY+"px").css(ZC._[20],i.B3.F-0*i.B3.AU+"px"),ZC.A3("#"+i.K+"-legend-bar").css("left",i.B2.iX+"px").css("top",i.B2.iY+"px"),ZC.A3("#"+i.BE.K+"-frame").css("left",i.BE.iX+"px").css("top",i.BE.EK+"px")):(i.AAE=ZC.Q.I2({cls:"zc-abs zc-scroll zc-scroll-y-bar "+i.BE.K+"-scroll-y-legend-bar",id:i.K+"-legend-bar",wh:i.B2.I+"/"+i.B2.F,tl:i.B2.iY+"/"+i.B2.iX,background:"#fff",opacity:0,zidx:1,p:t}),i.ZG=ZC.Q.I2({cls:"zc-abs zc-scroll zc-scroll-y-handle "+i.BE.K+"-scroll-y-legend-handle",id:i.K+"-legend-handle",wh:i.B2.I-0*i.B3.AU+"/"+(i.B3.F-0*i.B3.AU),tl:i.B3.iY+"/"+i.B2.iX,background:"#fff",opacity:0,zidx:1,p:t}),i.ZG.style.cursor="pointer"),i.paint_()):"scroll-x"===i.AF&&(i.B2.iX=i.BE.iX,i.B2.iY=i.BE.iY+i.BE.F-i.B2.F-1,i.B2.I=i.BE.I,e=Math.ceil(i.BE.B8.length/i.KV-i.BE.EJ/i.KV)+1,i.B3.I=i.B2.I/e,i.B3.iX=i.B2.iX,0!==i.BE.D6.min&&(i.B3.iX+=i.BE.D6.min/i.KV*i.B3.I),ZC.AL(i.K+"-legend-handle")?(ZC.A3("#"+i.K+"-legend-handle").css("left",i.B3.iX+"px").css("top",i.B2.iY+"px").css(ZC._[19],i.B3.I-0*i.B3.AU+"px"),ZC.A3("#"+i.K+"-legend-bar").css("left",i.B2.iX+"px").css("top",i.B2.iY+"px"),ZC.A3("#"+i.BE.K+"-frame").css("left",i.BE.iX+"px").css("top",i.BE.EK+"px")):(i.AAD=ZC.Q.I2({cls:"zc-abs zc-scroll zc-scroll-x-bar "+i.BE.K+"-scroll-x-legend-bar",id:i.K+"-legend-bar",wh:i.B2.I+"/"+i.B2.F,tl:i.B2.iY+"/"+i.B2.iX,background:"#fff",opacity:0,zidx:1,p:t}),i.ZF=ZC.Q.I2({cls:"zc-abs zc-scroll zc-scroll-x-handle "+i.BE.K+"-scroll-x-legend-handle",id:i.K+"-legend-handle",wh:i.B3.I-0*i.B3.AU+"/"+(i.B2.F-0*i.B3.AU),tl:i.B2.iY+"/"+i.B3.iX,background:"#fff",opacity:0,zidx:1,p:t}),i.ZF.style.cursor="pointer"),i.paint_()),ZC.move)||i.bind()},paint_:function(){var e,t,i=this;"scroll-y"===i.AF?((e=new ZC.HU(i)).K=i.BE.K+"-scroll-y-legend-bar",e.copy(i.B2),e.Z=i.Z,e.iX=i.B2.iX,e.iY=i.B2.iY,e.I=i.B2.I,e.F=i.B2.F,e.paint(),(t=new ZC.HU(i)).K=i.BE.K+"-scroll-y-legend-handle",t.copy(i.B3),t.Z=i.Z,t.iX=i.B2.iX,t.iY=i.B3.iY,t.I=i.B3.I,t.F=i.B3.F,t.paint()):"scroll-x"===i.AF&&((e=new ZC.HU(i)).K=i.BE.K+"-scroll-x-legend-bar",e.copy(i.B2),e.Z=i.Z,e.iX=i.B2.iX,e.iY=i.B2.iY,e.I=i.B2.I,e.F=i.B2.F,e.paint(),(t=new ZC.HU(i)).K=i.BE.K+"-scroll-x-legend-handle",t.copy(i.B3),t.Z=i.Z,t.iX=i.B3.iX,t.iY=i.B2.iY,t.I=i.B3.I,t.F=i.B2.F,t.paint())},update:function(e){var t,i,n,a,l=this,o=l.BE;if("scroll-y"===l.AF){if(e<l.B3.iY&&0,e===l.B3.iY)return;l.B3.iY=e,ZC.A3("#"+l.K+"-legend-handle").css("top",e+"px"),t=l.B3.iY-l.B2.iY,n=Math.ceil(o.B8.length/l.H7-o.EJ/l.H7)+1,i=l.B2.F/n,a=l.H7}else if("scroll-x"===l.AF){if(e>l.B3.iX&&0,e===l.B3.iX)return;l.B3.iX=e,ZC.A3("#"+l.K+"-legend-handle").css("left",e+"px"),t=l.B3.iX-l.B2.iX,n=Math.ceil(o.B8.length/l.KV-o.EJ/l.KV)+1,i=l.B2.I/n,a=l.KV}e=Math.round(t/i),n=o.B8.length-o.EJ,o.B8.length%a&&(n+=a-o.B8.length%a),o.D6.min=Math.min(e*a,n),o.D6.max=o.D6.min+o.EJ,o.WE(),o.clear(!1),o.parse(),o.paint(),l.paint_()},unbind:function(){ZC.A3("."+this.BE.K+"-"+this.AF+"-legend-handle").unbind("mousedown touchstart",this.RH),ZC.A3("."+this.BE.K+"-"+this.AF+"-legend-bar").unbind("click",this.RJ)},bind:function(){var a=this,l=a.G.K,o=0,r=0;a.RH=function(e){if(e.preventDefault(),!(1<e.button)){for(var t,i,n=e.target;n&&"BODY"!==n.tagName.toUpperCase();){if(-1!==ZC.Q.TC(n).indexOf("zc-"+a.AF+"-handle"))break;n=n.parentNode}if(ZC.mobile||!(1<e.which))if(n)return e=ZC.Q.MJ(e),t=ZC.A3("#"+l+"-top").offset(),"scroll-y"===a.AF?(i=e[1]-t.top,r=i-a.B3.iY):"scroll-x"===a.AF&&(i=e[0]-t.left,o=i-a.B3.iX),ZC.A3(document.body).bind("mousemove touchmove",a.RI),ZC.A3(document.body).bind("mouseup touchend",a.MB),!(a.IX=!0)}},a.RI=function(e){var t,i;return a.IX&&(e=ZC.Q.MJ(e),t=ZC.A3("#"+l+"-top").offset(),"scroll-y"===a.AF?((i=(i=e[1]-t.top)-r<a.B2.iY?a.B2.iY+r:i)-r+a.B3.F>a.B2.iY+a.B2.F&&(i=a.B2.iY+a.B2.F+r-a.B3.F),a.update(i-r)):"scroll-x"===a.AF&&((i=(i=e[0]-t.left)-o<a.B2.iX?a.B2.iX+o:i)-o+a.B3.I>a.B2.iX+a.B2.I&&(i=a.B2.iX+a.B2.I+o-a.B3.I),a.update(i-o))),!1},a.MB=function(){return a.G.KQ=a.A78.split(","),a.IX&&(ZC.A3(document.body).unbind("mousemove touchmove",a.RI),ZC.A3(document.body).unbind("mouseup touchend",a.MB),a.IX=!1,a.bind()),!1},a.A3T=function(e){0<(e.detail?-120*e.detail:e.wheelDelta)/120?a.update(ZC.BR(a.B2.iY,a.B3.iY-a.B3.F)):a.update(ZC.CY(a.B2.iY+a.B2.F-a.B3.F,a.B3.iY+a.B3.F))},a.RJ=function(e){var e=ZC.Q.MJ(e),t=ZC.A3("#"+l+"-top").offset();"scroll-y"===a.AF?e[1]-t.top>a.B3.iY?a.update(ZC.CY(a.B2.iY+a.B2.F-a.B3.F,a.B3.iY+a.B3.F)):a.update(ZC.BR(a.B2.iY,a.B3.iY-a.B3.F)):"scroll-x"===a.AF&&(e[0]-t.left>a.B3.iX?a.update(ZC.CY(a.B2.iX+a.B2.I-a.B3.I,a.B3.iX+a.B3.I)):a.update(ZC.BR(a.B2.iX,a.B3.iX-a.B3.I)))},ZC.A3("."+a.BE.K+"-"+a.AF+"-legend-handle").bind("mousedown touchstart",a.RH),ZC.A3("."+a.BE.K+"-"+a.AF+"-legend-bar").bind("click",a.RJ)}}),V5=(ZC.WW=ZC.CZ.CD(WW),{$i:function(e){this.b(e);e=this;e.NY="legend",e.B8=null,e.Q7=null,e.N4="x1",e.I5="hide",e.R4="",e.PW="",e.UU=!1,e.V2=!1,e.TQ="none",e.UJ="header",e.EJ=9999,e.D3=null,e.BQ=null,e.ZD=null,e.A2=null,e.NN=null,e.FR=null,e.KN=null,e.QH=0,e.MI=0,e.YL=!0,e.EK=0,e.GQ=0,e.sAlign="",e.K3="",e.D6={enabled:!1,min:-1,max:-1,page:-1,pages:-1},e.M5=!1,e.NC=!1,e.ND=-1,e.PV=!1,e.A4W=1,e.WV=0,e.LH=!1,e.XO=!1,e.YS=!1,e.XQ=[]},highlightItem:function(e){var t,i=this,n=!1,a=ZC.move,l=i.LH;-1!==e&&(l=i.LH||i.A.AY.A4[e].LH),i.o.item&&null!==ZC._n_(t=i.o.item["highlight-item"])&&(n=ZC._b_(t),null===ZC._n_(i.o["highlight-legend"]))&&null===i.A.AY.A4[e].o["highlight-legend"]&&(l=n),(n||l)&&(n&&(i.E["highlight-item"]=e),l&&(i.E["highlight-legend"]=ZC._i_(e)),i.scrollTo(ZC._i_(e)),i.WE(),i.clear(!0,!1),i.YL=!0,i.parse(),i.fixPlacement(!0),i.paint(),ZC.move=a)},scrollTo:function(e){var t,i=this,n=!1;if(i.D3)return 0<=e&&(e<i.D6.min||e>=i.D6.max)&&(n=!0,"scroll"===i.TQ?(e%(t="scroll-y"===i.D3.AF?i.D3.H7:i.D3.KV)&&(e-=e%t),i.D6.min=e,i.D6.max=e+i.EJ,i.D6.max>i.B8.length&&(i.D6.min=i.B8.length-i.EJ,i.B8.length%t&&(i.D6.min=i.D6.min+(t-i.B8.length%t)),i.D6.max=i.B8.length)):"page"===i.TQ&&(t=Math.floor(e/i.EJ),i.D6.min=t*i.EJ,i.D6.max=i.D6.min+i.EJ,i.D6.page=t+1)),n},parse:function(){var e,i=this;if(i.E["force-margins"]=!0,i.QH=0,i.MI=0,null!==ZC._n_(e=i.A.A.E["graph-"+i.A.K+"-legend-info"])&&(null!==ZC._n_(e.x)&&(i.o.x=e.x-i.A.iX),null!==ZC._n_(e.y))&&(i.o.y=e.y-i.A.iY),ZC.move)i.FR&&i.FR.parse(),i.KN&&i.KN.parse();else{for(var t=i.A.G.B6,n="("+i.A.AF+")",a=(i.b(),i.assign_a([["collapse","M5","b"],["minimize","UU","b"],["draggable","V2","b"],["shared","PV","b"],["overflow","TQ"],["max-items","EJ","i"],["group","A4W","i"],["drag-handler","UJ"],["highlight-plot","WV","b"],["highlight-legend","LH","b"],["align","sAlign"],["vertical-align","K3"]]),i.M5&&!i.UU&&(i.M5=!1),!zingchart.DEV.MEDIARULES||i.E["forced-align-position"]||(i.alignPosition({align:i.sAlign,"vertical-align":i.K3,layout:i.N4}),i.E["forced-align-position"]=!0),i.WV&&null===ZC._n_(i.o["highlight-legend"])&&(i.LH=i.WV),i.BQ=new ZC.DQ(i),t.load(i.BQ.o,n+".legend.item",!1,!0),i.o.item&&null===ZC._n_(i.o.item.visible)&&(i.o.item.visible=!0),i.BQ.append(i.o.item),i.BQ.parse(),i.ZD=new ZC.DQ(i),t.load(i.ZD.o,n+".legend.item-off",!1,!0),i.o["item-off"]&&null===ZC._n_(i.o["item-off"].visible)&&(i.o["item-off"].visible=!0),i.ZD.append(i.o["item-off"]),i.ZD.parse(),i.A2=new ZC.DT(i),t.load(i.A2.o,n+".legend.marker",!1,!0),i.o.marker&&null===ZC._n_(i.o.marker.visible)&&(i.o.marker.visible=!0),i.A2.append(i.o.marker),i.A2.E.type="default",i.A2.E["show-marker"]=!0,i.A2.E["show-line"]=!1,null!==ZC._n_(e=i.A2.o.type)&&(i.A2.E.type=e),null!==ZC._n_(e=i.A2.o["show-line"])&&(i.A2.E["show-line"]=ZC._b_(e)),null!==ZC._n_(e=i.BQ.o["marker-style"])&&(i.A2.E.type=e),null!==ZC._n_(e=i.BQ.o["show-line"])&&(i.A2.E["show-line"]=ZC._b_(e)),null!==ZC._n_(e=i.BQ.o["show-marker"])&&(i.A2.o.visible=ZC._b_(e)),i.A2.parse(),i.NN=new ZC.DT(i),t.load(i.NN.o,n+".legend.marker-off",!1,!0),i.o["marker-off"]&&(i.o["marker-off"].visible=!0),i.NN.append(i.o["marker-off"]),i.NN.E.type="default",i.NN.E["show-marker"]=!0,i.NN.E["show-line"]=!1,null!==ZC._n_(e=i.NN.o.type)&&(i.NN.E.type=e),null!==ZC._n_(e=i.NN.o["show-line"])&&(i.NN.E["show-line"]=ZC._b_(e)),null!==ZC._n_(e=i.BQ.o["marker-style"])&&(i.NN.E.type=e),null!==ZC._n_(e=i.BQ.o["show-line"])&&(i.NN.E["show-line"]=ZC._b_(e)),null!==ZC._n_(e=i.BQ.o["show-marker"])&&(i.NN.o.visible=ZC._b_(e)),i.NN.parse(),(null!==ZC._n_(e=i.o.header)||i.V2||i.UU)&&(i.FR=new ZC.DQ(i),i.FR.NY="legendheader",i.FR.GN="zc-legend-item "+i.K+"-header",i.FR.K=i.K+"-header",t.load(i.FR.o,n+".legend.header"),i.FR.o.text=i.FR.o.text||"\xa0",i.FR.append(e),i.FR.parse(),i.FR.AP||(i.FR=null)),null!==ZC._n_(e=i.o.footer)&&(i.KN=new ZC.DQ(i),i.KN.NY="legendfooter",i.KN.GN="zc-legend-item "+i.K+"-footer",i.KN.K=i.K+"-footer",t.load(i.KN.o,n+".legend.footer"),i.KN.append(e),i.KN.parse(),i.KN.AP||(i.KN=null)),i.A.AY.A4),l=(null!==ZC._n_(e=i.o.layout)?i.N4=e:25*a.length>i.A.F&&(i.N4="x"+Math.ceil(25*a.length/i.A.F)),null!==ZC._n_(e=i.o[ZC._[54]])&&(i.I5=e),i.R4=i.PW=i.I5,null!==ZC._n_(i.o.item)&&null!==ZC._n_(e=i.o.item[ZC._[54]])&&(i.R4=e),null!==ZC._n_(i.o.marker)&&null!==ZC._n_(e=i.o.marker[ZC._[54]])&&(i.PW=e),function(e){var t;return a[C]&&a[C].FM(0)&&(t=ZC.AO.OA(i.BQ.o,a[C].o),e=a[C].FM(0).K2(e,t)),e}),o=[],r=(i.B8=[],0),C=0,s=a.length;C<s;C++){var A,Z=i.A.AY.MA[C];a[Z].o["skip-paint"]||null!==ZC._n_(a[Z].o["show-in-legend"])&&!ZC._b_(a[Z].o["show-in-legend"])?a[Z].bShowInLegend=!1:a[Z].o["legend-item"]&&null!==ZC._n_(a[Z].o["legend-item"].visible)&&!ZC._b_(a[Z].o["legend-item"].visible)?a[Z].bShowInLegend=!1:((A=new ZC.DQ(i)).copy(i.BQ),A.append(a[Z].o["legend-item"]),null===ZC._n_(A.o.text)&&null!==ZC._n_(e=a[Z].A62)&&(A.o.text=e),null===ZC._n_(A.o.text)&&null!==ZC._n_(e=a[Z].AN)&&(A.o.text=e),A.AN=null===ZC._n_(A.o.text)?"Series "+(Z+1):A.o.text,A.E.order=Z,A.E.index=Z,null!==ZC._n_(a[Z].o["legend-item"])&&null!==ZC._n_(e=a[Z].o["legend-item"].order)&&(A.E.order=ZC._i_(e)),o.push([r,Z,A.E.order]),r++,-1!==A.AN.indexOf("%")&&(A.K2=l),A.parse(),i.B8.push(A))}for(o.sort(function(e,t){return e[2]-t[2]}),C=0;C<o.length;C++)o[C][2]=C,a[o[C][1]].o["legend-item"]=a[o[C][1]].o["legend-item"]||{},a[o[C][1]].o["legend-item"].order=o[C][2],i.B8[o[C][0]].E.order=o[C][2];(e=i.A.E["legend-info"])&&(i.NC=e.collapsed)}if(i.B8&&i.A2){"page"===i.TQ?((e=i.A.E["legend-info"])?(i.D6.min=e.min,i.D6.max=e.max,i.D6.page=e.page):(i.D6.min=0,i.D6.max=i.EJ,i.D6.page=1),i.D6.pages=Math.ceil(i.B8.length/i.EJ),i.D6.page>i.D6.pages&&(i.D6.page=i.D6.pages,i.D6.min=(i.D6.page-1)*i.EJ,i.D6.max=i.D6.page*i.EJ-1),i.D6.page=ZC.CY(i.D6.page,i.D6.pages)):"scroll"===i.TQ?(e=i.A.E["legend-info"])?(i.D6.min=e.min,i.D6.max=e.max,i.D6.page=e.page):(i.D6.min=0,i.D6.max=i.EJ,i.D6.page=1):(i.D6.min=0,i.D6.max="hidden"===i.TQ?i.EJ:i.B8.length,i.D6.page=1),i.WE(!1),i.B8.sort(function(e,t){return e.E.order-t.E.order}),i.o["reverse-series"]&&i.B8.reverse();var c,h=.9*i.A.I,p=(null!==ZC._n_(i.o[ZC._[19]])&&(h=i.I),0),u=0,_=-ZC.MAX,d=-ZC.MAX,f=i.A2.E["show-line"]?3:2,g=0,n=1,B=1;if("float"===i.N4){for(C=0,s=i.B8.length;C<s;C++)g+=i.B8[C].AP?1:0,C<i.D6.min||C>=i.D6.max||i.NC||i.B8[C].AP&&(c=i.B8[C].I+i.B8[C].E0+i.B8[C].EA+f*i.B8[C].DI,d=ZC.BR(d,i.B8[C].F+i.B8[C].EB+i.B8[C].DW),h<p+c?(_=ZC.BR(_,p),u+=d,p=c,d=ZC.BR(d,i.B8[C].F+i.B8[C].EB+i.B8[C].DW)):p+=c);_=ZC.BR(_,p),d!==-ZC.MAX&&(u+=d),_!==-ZC.MAX&&(p=_)}else{var b=0;for(C=0,s=i.B8.length;C<s;C++)g+=i.B8[C].AP?1:0,C<i.D6.min||C>=i.D6.max||i.NC||(b+=i.B8[C].AP?1:0);var E=ZC.AQ.A2F(i.N4,b),n=E[0],B=E[1];for(C=0,s=i.B8.length;C<s;C++)(C<i.D6.min||C>=i.D6.max||i.NC)&&("scroll"!==i.TQ||g<=i.EJ)||i.B8[C].AP&&(_=ZC.BR(_,i.B8[C].I+i.B8[C].E0+i.B8[C].EA+f*i.B8[C].DI),d=ZC.BR(d,i.B8[C].F+i.B8[C].EB+i.B8[C].DW),1===B)&&(u+=i.B8[C].F+i.B8[C].EB+i.B8[C].DW);p=B*_,u=n*d}"page"===i.TQ&&g>i.EJ&&(i.D6.enabled=!0),"scroll"===i.TQ&&g>i.EJ&&(i.D3||(!n||B<n?(i.D3=new ZC.WW(i,"y"),t.load(i.D3.o,".scroll-y")):(i.D3=new ZC.WW(i,"x"),t.load(i.D3.o,".scroll-x")),i.D3.append(i.o.scroll),i.D3.KV=n,i.D3.H7=B,i.D3.parse()),i.NC||("scroll-y"===i.D3.AF?p+=i.D3.B2.I:u+=i.D3.B2.F)),i.FR&&(E=i.FR.I,i.V2&&"icon"===i.UJ?(E+=15,i.UU&&(E+=25)):i.UU&&(E+=15),p=ZC.BR(p,E)),i.KN&&(p=ZC.BR(p,i.KN.I));var m,D,t=!1,n=!1;null===ZC._n_(i.o[ZC._[19]])&&(i.o[ZC._[19]]=p,t=!0),null===ZC._n_(i.o[ZC._[20]])&&(i.o[ZC._[20]]=u,n=!0),i.iX=-1,i.iY=-1,ZC.move||i.FR&&null!==ZC._n_(e=i.A.A.E["legend"+i.A.L+"-xy-ratio"])&&(i.locate(),E=i.I+i.ER+i.FO,m=i.F+i.FJ+i.FX,D=(i.PV?i.A:i).A,i.iX=D.I*e[0],i.iX=ZC.BR(i.iX,1.1),i.o.x=i.iX=ZC.CY(i.iX,D.I-E-2),i.iY=(D.F-i.FR.F)*e[1],i.iY=ZC.BR(i.iY,1.1),i.o.y=i.iY=ZC.CY(i.iY,D.F-m-i.FR.F-2)),i.locate(),null!==ZC._n_(i.o.position)&&typeof i.E["position-info"]!==ZC._[31]?(.5<i.E["position-info"][0]&&(i.QH+=i.ER+i.FO),.5<i.E["position-info"][1]?i.MI+=i.FJ+i.FX:(i.FR&&(i.MI-=i.FR.F),i.KN&&(i.MI-=i.KN.F),i.D6&&i.D6.enabled&&(i.MI-=20))):((0===i.A.iX||i.iX+i.I/2>i.A.iX+i.A.I/2)&&(i.QH+=i.ER+i.FO),(0===i.A.iY||i.iY+i.F/2>i.A.iY+i.A.F/2)&&(i.MI+=i.FJ+i.FX)),!ZC.move&&(e=i.A.A.E["graph-"+i.A.K+"-legend-info"])&&(e.x&&(i.iX=e.x),e.y)&&(i.iY=e.y),i.GQ=i.F,i.EK=i.iY,i.FR&&(i.F+=i.FR.F,i.EK+=i.FR.F,i.MI+=i.FR.F),i.KN&&(i.F+=i.KN.F,i.MI+=i.KN.F),i.D6.enabled&&!i.NC&&((E=new ZC.DQ(i)).AN=" ",E.append(i.o["page-status"]),null!==ZC._n_(E.o.text)&&""!==E.o.text||(E.o.text="#"),E.parse(),i.F+=E.F+4,i.MI+=E.F+4),t&&(i.o[ZC._[19]]=null),n&&(i.o[ZC._[20]]=null),i.NC||(i.I+=i.ER+i.FO,i.F+=i.FJ+i.FX),i.E["default-width"]&&(i.I=i.E["default-width"])}},alignPosition:function(e){var t,i,n,a=this;null!==ZC._n_(e)&&(t=a.A.G.B6.B6.graph.legend,i=e.align||t.align,n=e["vertical-align"]||t["vertical-align"],e=e.layout||t.layout,i||n)&&("center"===i?(null===ZC._n_(a.o.layout)&&(e=a.o.layout="horizontal"),a.o.position="50% "):a.o.position="left"===i?"0% ":"100% ",a.o.position+="middle"===n?"50%":"bottom"===n?"100%":"0%","horizontal"!==e&&"middle"!==n||(a.o["adjust-layout"]=!0))},WE:function(e){typeof e===ZC._[31]&&(e=!0),this.A.E["legend-info"]={collapsed:this.NC,min:this.D6.min,max:this.D6.max,page:this.D6.page},e&&(this.A.A.E["graph-"+this.A.K+"-legend-info"]={x:this.iX,y:this.iY})},clear:function(e,t){null===ZC._n_(e)&&(e=!1),null===ZC._n_(t)&&(t=!1);var i=this,n=i.A.K+"-legend-";ZC.A3("."+n+"item",null).remove(),ZC.A3("."+n+"header",null).remove(),ZC.A3("."+n+"footer",null).remove(),ZC.A3("#"+n+"page-status",null).remove(),e&&!t||(ZC.move||i.unbind(),ZC.A3("."+n+"page-area",null).remove(),ZC.A3("."+n+"header-area",null).remove(),ZC.A3("."+n+"item-area",null).remove(),ZC.A3("."+n+"marker-area",null).remove()),ZC.move?ZC.Q.IW(ZC.AL(n+"c"),i.A.G.AB,i.A.iX,i.A.iY,i.A.I,i.A.F):ZC.Q.IW(ZC.AL(n+"c"),i.A.G.AB,i.iX-2*i.AU-2*i.JZ,i.iY-2*i.AU-2*i.JZ,i.I+4*i.AU+4*i.JZ,i.F+4*i.AU+4*i.JZ),i.D3&&ZC.Q.IW(ZC.AL(n+"scroll-c"),i.A.G.AB,i.A.iX,i.A.iY,i.A.I,i.A.F)},unbind:function(){var e=this;ZC.A3("#"+e.K+"-frame").die(ZC.Q.C1("mouseover"),e.zc_legend_mouseover).die(ZC.Q.C1("mouseout"),e.zc_legend_mouseout),ZC.A3("#"+e.K+"-move-area").die(ZC.Q.C1(ZC._[47]),e.Z6),ZC.A3("#"+e.K+"-minimize-area").die(ZC.Q.C1("click"),e.Y2),ZC.A3("."+e.K+"-page-area").die(ZC.Q.C1("click"),e.YZ),e.D3&&e.D3.unbind(),e.BQ&&e.BQ.o.reorder&&ZC.A3("."+e.A.K+"-legend-item-area").die(ZC._[47],e.W7)},fixPlacement:function(e){var t=this;(t.YL&&null===ZC._n_(t.o.y)||e)&&(!t.o.position&&e||(t.iX-=t.QH),t.iX<t.E0&&(t.E0<t.EA||-2===t.EA)&&(t.iX=t.E0),!t.o.position&&e||(t.iY-=t.MI,t.EK-=t.MI),t.iY<t.EB&&(t.EB<t.DW||-2===t.DW)&&(e=t.EK-t.iY,t.iY=t.EB,t.EK=t.EB+e),t.YL=!1)},EO:function(e){this.FR&&this.FR.EO(e),this.KN&&this.KN.EO(e);for(var t=0;t<this.XQ.length;t++)this.XQ[t].EO(e)},paint:function(n){var t,e,i,a,l,o,A=this;if(A.AP&&(A.E["default-width"]||(A.E["default-width"]=A.I),A.B8)){for(var r=ZC.AL(A.G.K+"-top"),C=A.A.AY.A4,w=0,s=0,Z=A.B8.length;s<Z;s++)s<A.D6.min||s>=A.D6.max||A.NC||(w+=A.B8[s].AP?1:0);A.A4U=!0,A.b(),A.FR&&(A.FR.iX=A.iX,A.FR.iY=A.iY,A.FR.I=A.I,A.FR.Z=A.FR.C8=A.Z,A.FR.paint(),ZC.move||"canvas"!==A.A.A.AB&&A.FR.EO(),A.V2&&"icon"===A.UJ&&((i=new ZC.DT(A)).Z=A.Z,i.B9="#000",i.B1=1,i.DH="line",A.A.G.B6.load(i.o,"("+A.A.AF+").legend.icon"),i.append(A.o.icon),f=A.FR.iX+A.FR.I-10,g=A.FR.iY+A.FR.F/2,i.D=[[f-7,g],[f+7,g],null,[f,g-7],[f,g+7],null,[f-6,g-1],[f-6,g+1],null,[f-5,g-2],[f-5,g+2],null,[f+6,g-1],[f+6,g+1],null,[f+5,g-2],[f+5,g+2],null,[f-1,g-6],[f+1,g-6],null,[f-2,g-5],[f+2,g-5],null,[f-1,g+6],[f+1,g+6],null,[f-2,g+5],[f+2,g+5]],i.parse(),i.paint()),A.UU)&&((e=new ZC.DT(A)).Z=A.Z,e.B9=ZC.AO.AAB(A.A0,"#fff","#000"),e.B1=1,A.A.G.B6.load(e.o,"("+A.A.AF+").legend.icon"),e.append(A.o.icon),e.DH="line",f=A.FR.iX+A.FR.I-10-(A.V2&&"icon"===A.UJ?20:0),g=A.FR.iY+A.FR.F/2,e.D=[[f-7,g-2],[f+2,g-2],[f+2,g+7],[f-7,g+7],[f-7,g-2],[f+2,g-2],null,[f-4,g-5],[f+5,g-5],[f+5,g+4],[f-4,g+4],[f-4,g-5],[f+5,g-5]],e.parse(),e.paint()),A.KN&&(A.KN.iX=A.iX,A.KN.iY=A.iY+A.F-A.KN.F,A.KN.I=A.I,A.KN.Z=A.KN.C8=A.Z,A.KN.paint(),ZC.move||"canvas"!==A.A.A.AB&&A.KN.EO());var c,h,p,u,_,d,f=ZC.AQ.A2F(A.N4,w),g=f[0],S=f[1],P=A.I/S,O=A.GQ/g,N=0,B=0,b=(A.Q7=[],0),E=-ZC.MAX,m=A.A2.E["show-line"]?3:2,D=null,Q=function(e){var t,i=e;return null===ZC._n_(n)&&(n=0),C[c]&&C[c].S[n]&&(t=ZC.AO.OA(A.BQ.o,C[c].o),e=C[c].FM(n).K2(e,t)),A.XO=A.XO||e!==i,e},k=0;for(A.XO=!1,s=0,Z=A.B8.length;s<Z;s++)if(!(s-k<A.D6.min||s-k>=A.D6.max||A.NC)){var v,F=new ZC.DQ(A),K=(F.copy(A.B8[s]),A.E["highlight-legend"]===s&&(F.append({bold:!0}),null!==ZC._n_(F.o["highlight-state"]))&&F.append(F.o["highlight-state"]),c=F.E.index,new ZC.DQ(A)),F=(K.NY="legenditem",K.K=A.K+"-item_"+c,K.GN="zc-legend-item "+A.K+"-item",K.copy(F),A.A.E["plot"+c+".visible"]&&"off"!==C[c].o["legend-status"]||K.append(A.ZD.o),K.append(C[c].o["legend-item"]),K.K2=Q,K.parse(),K.AP?("float"===A.N4?(E=ZC.BR(E,F.F),null===ZC._n_(D)?(F.iX=A.iX+A.ER+F.E0+m*F.DI,F.iY=A.EK+A.FJ+F.EB,b=A.EK):(F.iX=D.iX+D.I+D.EA+F.E0+m*F.DI,ZC._i_(F.iX+F.I+F.EA)>ZC._i_(A.iX+A.I)&&(F.iX=A.iX+A.ER+F.E0+m*F.DI,b+=E+F.EB+F.DW,E=-ZC.MAX),F.iY=b+A.FJ+F.EB)):(F.iX=A.iX+(0===B?A.ER:0)+B*P+F.E0+m*F.DI,F.iY=A.EK+A.FJ+N*O+F.EB,++B===S&&(B=0,N++)),K.iX=(D=F).iX=ZC._i_(F.iX),K.iY=F.iY=ZC._i_(F.iY),K.Z=K.C8=A.Z,K.iX+=A.BK,K.iY+=A.BJ,c===A.ND&&(A.E["calculate-y"]&&(A.E["calculate-y"]=!1,A.E["dragged-offset-y"]=A.E["dragged-y"]-K.iY),K.iY=A.E["dragged-y"]-A.E["dragged-offset-y"]-K.DI/4),K.paint(),typeof A.E.showhide!==ZC._[31]&&null!==ZC._n_(A.E.showhide)||ZC.move||("canvas"!==A.A.A.AB?K.EO():A.XQ.push(K))):k++,A.A2.E.type),I=!1;switch("match"!==(F=null!==ZC._n_(t=C[c].o["legend-marker"])&&null!==ZC._n_(t.type)?t.type:F)&&"inherit"!==F||(I=!0,null!==ZC._n_(t=C[c].A2.o.type)?(F=t,A.A2.o.type=null):F="default"),-1!==ZC.AV(["default","square"],F)?v=new ZC.HU(A):(v=new ZC.DT(A)).DH=F,v.NY="legendmarker",v.append(A.A2.o),A.A.E["plot"+c+".visible"]&&"off"!==C[c].o["legend-status"]||v.append(A.NN.o),v.NB=C[c].NB,C[c].AF){case"pie":case"pie3d":case"nestedpie":case"vbar":case"vbar3d":case"hbar":case"hbar3d":case"vbullet":case"hbullet":case"area":case"area3d":case"gauge":case"vfunnel":case"hfunnel":case"venn":v.A0=C[c].A0,v.AE=C[c].AE,v.GT=C[c].GT,v.HQ=C[c].HQ;break;case"scatter":case"hscatter":case"bubble":case"hbubble":v.A0=("-1"!==C[c].A2.A0?C[c].A2:C[c]).A0,v.AE=("-1"!==C[c].A2.AE?C[c].A2:C[c]).AE,v.GT=(""!==C[c].A2.GT?C[c].A2:C[c]).GT,v.HQ=(""!==C[c].A2.HQ?C[c].A2:C[c]).HQ;break;default:v.A0=C[c].B9,v.AE=C[c].B9}"line"!==v.DH&&"area"!==v.DH||(v.B9=v.A0,v.B1=2),I&&(G=-1,X=!0,null!==ZC._n_(v.o[ZC._[21]])&&(G=v.o[ZC._[21]]),null!==ZC._n_(v.o.visible)&&(X=v.o.visible),v.append(C[c].A2.o),-1!==G&&(v.o[ZC._[21]]=G),v.o.visible=X),v.o["line-style"]="solid",v.o.type=v.DH,v.append(C[c].o["legend-marker"]),I&&(v.o.type=v.DH),v.E["show-marker"]=!0,v.E["show-line"]=!1,null!==ZC._n_(t=v.o["show-line"])&&(v.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=K.o["show-line"])&&(v.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=K.o["show-marker"])&&(v.o.visible=ZC._b_(t)),-1!==ZC.AV(["default","square"],F)&&null!==ZC._n_(t=v.o[ZC._[21]])&&(null===ZC._n_(v.o[ZC._[19]])&&(v.o[ZC._[19]]=2*ZC._i_(t)),null===ZC._n_(v.o[ZC._[20]]))&&(v.o[ZC._[20]]=2*ZC._i_(t)),v.K=A.K+"-marker_"+c,v.Z=v.C8=A.Z,v.iX=K.iX-m*K.DI+(m-1)*K.DI/2+K.DI/2,v.iY=K.iY+(K.F-K.DI)/2+K.DI/2,v.parse(),A.E["highlight-legend"]===s&&(v.append({size:v.AI+1,width:v.I+2,height:v.F+2}),C[c]&&C[c].S[n]&&C[c].S[n].GL&&v.append({A0:C[c].S[n].GL.A0,AE:C[c].S[n].GL.AE}),null!==ZC._n_(A.o.marker)&&v.append(A.o.marker["highlight-state"]),v.parse()),"line"===v.DH?(v.o.points=[[v.iX-1.75*v.AI,v.iY],[v.iX+1.75*v.AI,v.iY]],v.parse()):"area"===v.DH&&(v.o.points=[[v.iX-1.75*v.AI,v.iY+v.AI],[v.iX+1.75*v.AI,v.iY+v.AI],[v.iX+ +v.AI,v.iY-v.AI/2],[v.iX,v.iY],[v.iX-1.25*v.AI,v.iY-v.AI],[v.iX-1.75*v.AI,v.iY+v.AI]],v.parse());var x,y,Y,L,G=v.iX+v.BK,X=v.iY+v.BJ,I=(-1!==ZC.AV(["default","square"],F)&&(v.iX-=v.I/2,v.iY-=v.F/2),"On"),M=(A.A.E["plot"+c+".visible"]&&"off"!==C[c].o["legend-status"]||(v.C5/=4,I="Off"),K.AP&&v.E["show-line"]&&(F=ZC.Q.EE(A.Z,A.A.G.AB),(Y=new ZC.CZ(A)).Z=A.Z,Y.copy(C[c]),Y.o["line-style"]=A.A2.GE,Y.append(C[c].o),Y.append(A.A2.o),Y.append(C[c].o["legend-item"]),Y.append(C[c].o["legend-marker"]),Y.o["top-state"]=null,Y.o["bottom-state"]=null,Y.parse(),A.A.E["plot"+c+".visible"]||(Y.C5=.25),M=v.AP?2:1,y="box"===v.DH?v.I/2:v.AI,(x=[]).push([G-M*y-(1<Y.B1?1:0),X-(1<Y.B1?.5:0)]),x.push([G+M*y,X-(1<Y.B1?.5:0)]),Y.D0=!0,ZC.CO.paint(F,Y,x)),c===A.ND&&(v.iY=A.E["dragged-y"]-A.E["dragged-offset-y"]/2),v.AP&&K.AP&&v.paint(),A.Q7.push(v),!0);null!==ZC._n_(t=A.BQ.o.toggle)&&(M=ZC._b_(t)),A.E["item.toggle"]=M,K.AP||v.AP?-1===ZC.AV(A.A.G.KQ,ZC._[41])&&(F=v.BK+("box"===v.DH?v.iX+v.I/2:v.iX),Y=v.BJ+("box"===v.DH?v.iY+v.F/2:v.iY),y="box"===v.DH?v.I/2:v.AI,x="box"===v.DH?v.F/2:v.AI,L=(v.E["show-line"]?2:1)*y,ZC.AL(K.K+"-area")||(v.AP&&"disabled"!==A.PW&&"disabled"!==v.o[ZC._[54]]&&!ZC.AL(v.K+"-area")&&ZC.Q.I2({cls:A.K+"-marker-area zc-legend-marker-area zc-abs",id:v.K+"-area",wh:2*L+"/"+2*x,tl:Y-x+"/"+(F-L),opacity:0,background:"#fff",cursor:v.IE,p:r,zidx:1}),K.AP&&"disabled"!==A.R4&&"disabled"!==K.o[ZC._[54]]&&(ZC.AL(K.K+"-area")||ZC.Q.I2({cls:A.K+"-item-area zc-legend-item-area zc-abs",id:K.K+"-area",wh:K.I+"/"+K.F,tl:K.iY+K.BJ+"/"+(K.iX+K.BK),opacity:0,background:"#fff",cursor:K.IE,p:r,zidx:1}),F=A.K+"-item-a11yarea zc-legend-item-a11yarea zc-abs",L=ZC.Q.FP("poly",A.A.E9,A.IE)+'class="'+F+'" id="'+K.K+"-a11yarea",A.A.AY.H3=A.A.AY.H3||[],A.A.AY.H3.push(L+'" coords="0,0,0,0" data-z-sort="-199" data-coords="'+K.F1()+'" tabindex="0" role="button" aria-label="Legend item. '+K.AN+". "+I+'" />')))):C[s].bShowInLegend=!1}A.D3&&!A.NC&&(A.D3.paint(),ZC.AL(A.K+"-scroll-c").style.display="block"),A.D3&&A.NC&&(ZC.AL(A.K+"-scroll-c").style.display="none"),A.D6.enabled&&!A.NC&&((f=new ZC.DQ(A)).Z=f.C8=A.Z,f.K=A.K+"-page-status",f.AN=ZC.HG["legend-pagination"].replace("%page%",A.D6.page).replace("%pages%",A.D6.pages),f.append(A.o["page-status"]),f.parse(),A.I<f.I+48&&(f.AN=A.D6.page+"/"+A.D6.pages,f.parse()),f.iX=A.iX+A.I/2-f.I/2,f.iY=A.iY+A.F-(A.KN?A.KN.F:0)-f.F-4,f.AP&&f.paint(),g=A.A.G.B6,h="("+A.A.AF+")",u={"background-color":"#f90"},g.load(p={"background-color":"#999"},h+".legend.page-off"),g.load(u,h+".legend.page-on"),(h=new ZC.DT(A)).Z=h.C8=A.Z,h.K=A.K+"-page-prev",h.A0=h.AE=(1<A.D6.page?u:p)[ZC._[0]],h.append(1<A.D6.page?A.o["page-on"]:A.o["page-off"]),a=A.iX+A.I/2-f.I/2-6,l=f.iY+f.F/2,h.parse(),h.AI=ZC.BR(h.AI,8),g=ZC._i_(.75*h.AI),h.D=[[a,l-g],[a,l+g],[a-h.AI,l],[a,l-g]],h.parse(),h.AP&&h.paint(),(o=new ZC.DT(A)).Z=o.C8=A.Z,o.K=A.K+"-page-next",o.A0=o.AE=(A.D6.page<A.D6.pages?u:p)[ZC._[0]],o.append(A.D6.page<A.D6.pages?A.o["page-on"]:A.o["page-off"]),u=A.iX+A.I/2+f.I/2+6,p=f.iY+f.F/2,o.parse(),o.AI=ZC.BR(o.AI,8),g=ZC._i_(.75*o.AI),o.D=[[u,p-g],[u,p+g],[u+o.AI,p],[u,p-g]],o.parse(),o.AP)&&o.paint(),ZC.move||(f=A.F,g=A.iY,A.FR&&(f-=A.FR.F,g+=A.FR.F),ZC.AL(A.K+"-frame")?ZC.A3("#"+A.K+"-frame").css("top",g+"px").css("left",A.iX+"px").css(ZC._[19],A.I+"px").css(ZC._[20],f+"px"):ZC.Q.I2({cls:"zc-abs zc-legend-frame "+A.G.K+"-legend-frame "+A.K+"-frame",id:A.K+"-frame",wh:A.I+"/"+f,tl:g+"/"+A.iX,opacity:0,background:"#fff",p:r,zidx:0}),A.D6.enabled&&!A.NC&&(1<A.D6.page&&ZC.Q.I2({cls:A.K+"-page-area zc-legend-page-area zc-abs",id:A.K+"-page-prev-area",wh:h.AI+"/"+2*h.AI,tl:ZC._i_(l+h.BJ-h.AI)+"/"+ZC._i_(a+h.BK-h.AI),opacity:0,p:r,zidx:1}),A.D6.page<A.D6.pages)&&ZC.Q.I2({cls:A.K+"-page-area zc-legend-page-area zc-abs",id:A.K+"-page-next-area",wh:o.AI+"/"+2*o.AI,tl:ZC._i_(p+h.BJ-o.AI)+"/"+ZC._i_(u+o.BK),opacity:0,p:r,zidx:1}),A.FR&&A.V2&&(_="icon"===A.UJ?(d=ZC._i_(A.FR.iY+ZC.MAPTX+i.BJ)+"/"+ZC._i_(A.FR.iX+A.FR.I-20+ZC.MAPTX+i.BK),"20/"+A.FR.F):(d=ZC._i_(A.FR.iY+ZC.MAPTX)+"/"+ZC._i_(A.FR.iX+ZC.MAPTX),A.FR.I-(A.UU?23:0)+"/"+A.FR.F),ZC.Q.I2({cls:A.K+"-header-area zc-legend-header-area zc-abs",id:A.K+"-move-area",wh:_,tl:d,opacity:0,p:r,zidx:1})),A.UU&&(_=(d=A.V2&&"icon"===A.UJ?ZC._i_(A.FR.iY+ZC.MAPTX+e.BJ)+"/"+ZC._i_(A.FR.iX+A.FR.I-41+ZC.MAPTX+e.BK):ZC._i_(A.FR.iY+ZC.MAPTX+e.BJ)+"/"+ZC._i_(A.FR.iX+A.FR.I-22+ZC.MAPTX+e.BK),"20/"+A.FR.F),ZC.Q.I2({cls:A.K+"-header-area zc-legend-header-area zc-abs",id:A.K+"-minimize-area",wh:_,tl:d,opacity:0,p:r,zidx:1})),A.OY=0,A.A03=0,A.zc_legend_mouseover=function(){A.YS=!0},A.zc_legend_mouseout=function(){A.YS=!1},A.Z6=function(e){var t;e.preventDefault(),A.G.hideCM(),ZC.move=!0,!ZC.mobile&&1<e.which||(A.A.A.E["graph-"+A.A.K+"-legend-info"]=null,e=ZC.Q.MJ(e),t=ZC.A3("#"+A.A.A.K+"-top").offset(),A.OY=e[0]-t.left-A.FR.iX,A.A03=e[1]-t.top-A.FR.iY,A.oldcursor=document.body.style.cursor,document.body.style.cursor="move",ZC.A3(document.body).bind(ZC.Q.C1(ZC._[48]),A.Z7),ZC.A3(document.body).bind(ZC.Q.C1(ZC._[49]),A.A0W))},A.Z7=function(e){var e=ZC.Q.MJ(e),t=ZC.A3("#"+A.A.A.K+"-top").offset(),i=e[0]-t.left-A.OY,e=e[1]-t.top-A.A03,e=A.PV?(i=ZC.BR(i,A.G.iX+2),i=ZC.CY(i,A.G.iX+A.G.I-A.I-2),e=ZC.BR(e,A.G.iY+2),ZC.CY(e,A.G.iY+A.G.F-A.F-4)):(i=ZC.BR(i,A.A.iX+2),i=ZC.CY(i,A.A.iX+A.A.I-A.I-2),e=ZC.BR(e,A.A.iY+2),ZC.CY(e,A.A.iY+A.A.F-A.F-4));A.PV||(i-=A.A.iX,e-=A.A.iY),A.o.x=i,A.o.y=e,A.o.position=null,A.clear(!0),A.parse(),A.paint(),A.FR&&(t=(A.PV?A.A:A).A,A.A.A.E["legend"+A.A.L+"-xy-ratio"]=[i/t.I,e/(t.F-A.FR.F)])},A.A0W=function(){ZC.move=!1,document.body.style.cursor=A.oldcursor,delete A.oldcursor,ZC.A3(document.body).unbind(ZC.Q.C1(ZC._[48]),A.Z7),ZC.A3(document.body).unbind(ZC.Q.C1(ZC._[49]),A.A0W),A.XQ=[],A.clear(!1),A.parse(),A.paint(),A.WE()},A.YZ=function(e){A.E["default-width"]=null,-1!==(e.targetid||e.target.id).indexOf("-page-next-area")?(A.D6.min+=A.EJ,A.D6.max+=A.EJ,A.D6.page+=1):(A.D6.min-=A.EJ,A.D6.max-=A.EJ,--A.D6.page),(t=A.A.A.E["graph-"+A.A.K+"-legend-info"])&&(null!==ZC._n_(t.x)||null!==ZC._n_(t.y))||(A.iX=null,A.iY=null),A.WE(),A.A.KC()},A.Y2=function(e){var t=A.NC?"legendmaximize":"legendminimize";e&&(A.A.A.E["legend-toggling"]=1),zingchart.exec(A.A.G.K,t,{graphid:A.A.L}),e&&(A.A.A.E["legend-toggling"]=0),e&&(A.A.A.E["g"+A.A.L+"-legend-collapsed"]="legendminimize"==t)},A.MS=function(e){ZC.move=!0;var e=ZC.Q.MJ(e),t=ZC.A3("#"+A.A.A.K+"-top").offset(),i=e[0]-t.left,e=e[1]-t.top;A.E["dragged-x"]=i,A.E["dragged-y"]=e,A.WE(),A.clear(!1),A.parse(),A.paint()},A.W7=function(e){e.preventDefault(),A.G.hideCM(),A.IE=document.body.style.cursor,document.body.style.cursor="move",!ZC.mobile&&1<e.which||(e=new RegExp("-legend-item_([0-9]+)-area","g").exec(e.target.id))&&(A.E["dragged-offset-y"]=0,A.E["calculate-y"]=!0,A.E["dragged-x"]=0,A.E["dragged-y"]=0,A.ND=ZC._i_(e[1]),A.iDragPos=ZC.AV(A.A.AY.MA,A.ND),ZC.A3(document.body).bind(ZC.Q.C1(ZC._[48]),A.MS),ZC.A3(document.body).bind(ZC.Q.C1(ZC._[49]),A.XG))},A.XG=function(){var e=A.ND,t=A.iDragPos;if(A.ND=-1,A.iDragPos=-1,A.E["calculate-y"]=!1,document.body.style.cursor=A.IE,ZC.move||(t=e=-1),ZC.A3(document.body).unbind(ZC.Q.C1(ZC._[48]),A.MS),ZC.A3(document.body).unbind(ZC.Q.C1(ZC._[49]),A.XG),ZC.move&&-1!==e){for(var i=A.A.AY.A4,n=A.A.AY.MA,a=0,l=i.length;a<l;a++)i[a].o["legend-item"]=i[a].o["legend-item"]||{},null===ZC._n_(i[a].o["legend-item"].order)&&(i[a].o["legend-item"].order=ZC._i_(i[a].o["z-index"]||a+1));for(var o=i[e].o["legend-item"].order,r=-1,C=0,s=A.Q7.length;C<s;C++)A.E["dragged-y"]-A.E["dragged-offset-y"]/2>A.Q7[C].iY&&(r=C);for(i[e].o["legend-item"].order=-1===r?.5:i[n[r]].o["legend-item"].order+.5,C=0,s=A.Q7.length;C<s;C++)t<r?i[C].o["legend-item"].order<i[e].o["legend-item"].order&&i[C].o["legend-item"].order>o&&i[C].o["legend-item"].order--:i[C].o["legend-item"].order>i[e].o["legend-item"].order&&i[C].o["legend-item"].order<o&&i[C].o["legend-item"].order++;for(i[e].o["legend-item"].order=t<r?Math.floor(i[e].o["legend-item"].order):Math.ceil(i[e].o["legend-item"].order),C=0,s=A.Q7.length;C<s;C++)A.A.o[ZC._[11]][C]["z-index"]=i[C].o["legend-item"].order}A.A.AY.E["plot-sort"]=!0,ZC.move=!1,A.clear(!1),A.A.KC()},ZC.A3("#"+A.K+"-frame").live(ZC.Q.C1("mouseover"),A.zc_legend_mouseover).live(ZC.Q.C1("mouseout"),A.zc_legend_mouseout),ZC.A3("#"+A.K+"-move-area").live(ZC.Q.C1(ZC._[47]),A.Z6),ZC.A3("#"+A.K+"-minimize-area").live(ZC.Q.C1("click"),A.Y2),ZC.A3("."+A.K+"-page-area").live(ZC.Q.C1("click"),A.YZ),A.BQ.o.reorder&&ZC.A3("."+A.A.K+"-legend-item-area").live(ZC._[47],A.W7)),A.E.showhide=null,1===A.A.A.E["legend-toggling"]||ZC.move||(A.M5&&null===ZC._n_(A.A.A.E["g"+A.A.L+"-legend-collapsed"])||A.A.A.E["g"+A.A.L+"-legend-collapsed"]&&!A.NC)&&(window.setTimeout(function(){A.Y2(!0)},0),A.A.A.E["g"+A.A.L+"-legend-collapsed"]=!0)}},gc:function(){ZC.AO.gc(this,["B8","D","Q7","Z","C8","o","J2","IB","KN","FR","BQ","ZD","G","A","A2","NN","D6"])}}),A7Y=(ZC.V5=ZC.DQ.CD(V5),{$i:function(e){this.b(e);this.MZ=null,this.BB=null,this.M=null,this.JW=0,this.BG=null,this.GI="bottom",this.L8=40,this.A2W=[2,4]},parse:function(){var e,t,i=this;i.assign_a([["z-index","JW","i"],["length","L8","i"],["aspect","A2W"],["direction","GI"]]),null===ZC._n_(i.o.from)&&null===ZC._n_(i.o.to)&&null!==ZC._n_(i.o.x)&&null!==ZC._n_(i.o.y)&&null!==ZC._n_(i.o.length)&&null!==ZC._n_(i.o.angle)&&(e="string"==typeof i.o.x?i.A.V7(i.o.x)[0]:ZC._i_(i.o.x),t="string"==typeof i.o.y?i.A.V7(i.o.y)[1]:ZC._i_(i.o.y),i.o.from={x:e+i.L8*ZC.EL(i.AA+180),y:t+i.L8*ZC.EF(i.AA+180)},i.o.to={x:e+i.L8*ZC.EL(i.AA),y:t+i.L8*ZC.EF(i.AA)}),null!==ZC._n_(e=i.o.from)&&(i.MZ=new ZC.DT(i.A),i.MZ.append(e),null!==e.hook&&(i.MZ.E.hook=e.hook),i.MZ.parse(),"string"==typeof e)&&(i.MZ.E.hook=e),null!==ZC._n_(e=i.o.to)&&(i.BB=new ZC.DT(i.A),i.BB.append(e),null!==e.hook&&(i.BB.E.hook=e.hook),i.BB.parse(),"string"==typeof e)&&(i.BB.E.hook=e),(null!==ZC._n_(e=i.o.label)||""!==i.o.text&&typeof i.o.text!==ZC._[31])&&(i.M=new ZC.DQ(i),i.M.append(i.o),i.M.append(e),i.M.parse()),i.b()},paint:function(){var e,t,i=this;if(i.AP&&(null!==i.MZ||null!==i.BB))if(i.AI<1&&(i.AI=1),!i.MZ||null===ZC._n_(a=i.MZ.E.hook)||(l=i.A.V7(a),i.MZ.iX=l[0],i.MZ.iY=l[1],i.MZ.iX+=i.MZ.BK,i.MZ.iY+=i.MZ.BJ,ZC.DS(i.MZ.iX,i.A.P.iX-2,i.A.P.iX+i.A.P.I+2)&&ZC.DS(i.MZ.iY,i.A.P.iY-2,i.A.P.iY+i.A.P.F+2)))if(!i.BB||null===ZC._n_(a=i.BB.E.hook)||(l=i.A.V7(a),i.BB.iX=l[0],i.BB.iY=l[1],i.BB.iX+=i.BB.BK,i.BB.iY+=i.BB.BJ,ZC.DS(i.BB.iX,i.A.P.iX-2,i.A.P.iX+i.A.P.I+2)&&ZC.DS(i.BB.iY,i.A.P.iY-2,i.A.P.iY+i.A.P.F+2))){if(i.MZ&&i.BB)e=[i.MZ.iX,i.MZ.iY],t=[i.BB.iX,i.BB.iY];else if(i.MZ&&!i.BB)switch(e=[i.MZ.iX,i.MZ.iY],i.GI){case"top":t=[i.MZ.iX,i.MZ.iY+i.L8];break;case"right":t=[i.MZ.iX+i.L8,i.MZ.iY];break;case"bottom":t=[i.MZ.iX,i.MZ.iY-i.L8];break;case"left":t=[i.MZ.iX-i.L8,i.MZ.iY]}else if(!i.MZ&&i.BB)switch(t=[i.BB.iX,i.BB.iY],i.GI){case"top":e=[i.BB.iX,i.BB.iY+i.L8];break;case"right":e=[i.BB.iX-i.L8,i.BB.iY];break;case"bottom":e=[i.BB.iX,i.BB.iY-i.L8];break;case"left":e=[i.BB.iX+i.L8,i.BB.iY]}var n,a=t[0]-e[0],l=t[1]-e[1],o=ZC.U4(Math.atan2(l,a)),a=Math.sqrt(a*a+l*l),l=[];l.push(e),n=ZC.AQ.BN(e[0],e[1],i.AI/2,o+90),l.push(n),n=ZC.AQ.BN(n[0],n[1],a-i.A2W[1]*i.AI/2,o),l.push(n),n=ZC.AQ.BN(n[0],n[1],i.A2W[0]*i.AI/2,o+90),l.push(n),l.push(t),n=ZC.AQ.BN(n[0],n[1],(2*i.A2W[0]+2)*i.AI/2,o-90),l.push(n),n=ZC.AQ.BN(n[0],n[1],i.A2W[0]*i.AI/2,o+90),l.push(n),n=ZC.AQ.BN(e[0],e[1],i.AI/2,o-90),l.push(n),l.push(e),i.BG=new ZC.DT(i.A),i.BG.K=i.K,i.BG.Z=i.BG.C8=i.Z,i.BG.copy(i),i.BG.D=l,i.BG.D0=!1,i.BG.parse(),i.BG.paint(),null!==i.M&&i.M.AP&&(i.M.Z=i.Z,i.M.K=i.A.K+"-arrow-label-"+i.HA,i.M.GN=i.A.K+"-arrow-label zc-arrow-label",a=ZC.AQ.K1(e[0],e[1],t[0],t[1]),i.M.iX=a[0],i.M.iY=a[1],i.M.BK-=i.M.I/2,i.M.BJ-=i.M.F/2,null!==ZC._n_(i.M.o["font-angle"])&&"inherit"===i.M.o["font-angle"]&&(i.M.AA=o),i.M.paint(),i.M.EO())}else i.AP=!1;else i.AP=!1}}),JY=(ZC.A7Y=ZC.DT.CD(A7Y),{$i:function(e){this.G=e,this.S6=!1,this.C4=null,this.YH=null,this.QJ=null,this.zc_guide_touchend=null},unbind:function(){this.C4&&window.clearInterval(this.C4),this.YH&&window.clearInterval(this.YH),ZC.A3(document.body).unbind("mousemove touchstart touchmove",this.QJ),ZC.A3(document.body).unbind("touchend",this.zc_guide_touchend)},bind:function(){var nt,at=this,lt=at.G.K,ot=ZC.AL(lt+"-guide-c"),rt=ZC.Q.EE(ot,at.G.AB),Ct={},st={},At={},Zt=null,ct=null,ht=null;function pt(){!ct&&ht&&(ht.E["guide-active-plot"]=null),ZC.JY.GUIDES&&ZC.JY.GUIDES[lt]&&!ZC.JY.GUIDES[lt].blocked&&ZC.JY.clearGuide(lt),ct=null}ZC.mobile||null!==ZC._n_(ZC.YH)||(at.YH=window.setInterval(function(){for(var e,t,i=!0,n=0,a=zingchart.HW.length;n<a;n++)lt===zingchart.HW[n].K&&(ZC.AL(zingchart.HW[n].K+"-top")?(e=ZC._tx_(lt),t=ZC.A3("#"+zingchart.HW[n].K+"-top").offset(),ZC.E5[0]>=t.left&&ZC.E5[0]<=t.left+zingchart.HW[n].I*e[0]&&ZC.E5[1]>=t.top&&ZC.E5[1]<=t.top+zingchart.HW[n].F*e[1]&&(i=!1)):window.clearInterval(at.YH));i&&(pt(),ZC.JY.GUIDES)&&ZC.JY.GUIDES[lt]&&ZC.JY.GUIDES[lt].active&&(ZC.AO.C0("guide_mouseout",at.G,at.G.FH()),ZC.JY.GUIDES[lt].active=!1)},500)),at.QJ=function(e){if(!(zingchart.GUIDE_EV=e).target.id||-1===e.target.id.indexOf("-menu-item-")){var w,a,t,i,n,S,P,l,o,r,O,C;ZC.MAX,ZC.MAX;for(L=0;L<zingchart.HW.length;L++)if(zingchart.HW[L].K!==at.G.K&&-1!==zingchart.HW[L].K.indexOf("-fullscreen"))return;if((ZC.ie67||e.type!==ZC._[48]||!ZC.TOUCHEVENTS)&&-1!==e.target.id.indexOf(at.G.K+"-")&&(!ZC.move||ZC.mobile)){if(at.G.ZU||!ZC.AL(lt+"-top"))return!1;if(!ZC.Q.AAZ(ZC.AL(lt+"-top")))return!1;var s,A,Z=[],N=ZC.Q.MJ(e),Q=N[0],N=N[1],k=(null!==ZC._n_(e._pageX_)&&(Q=e._pageX_),null!==ZC._n_(e._pageY_)&&(N=e._pageY_),A=null===ZC._n_(e._pageX_)&&null===ZC._n_(e._pageY_)?(k=ZC.A3("#"+lt+"-top").offset(),s=Q-k.left,N-k.top):(s=Q,N),ZC._tx_(at.G.K));for(s/=k[0],A/=k[1],L=0,w=at.G.AG.length;L<w;L++)c=at.G.AG[L].P,ZC.DS(s,c.iX-15,c.iX+c.I+15)&&ZC.DS(A,c.iY-15,c.iY+c.F+15)&&(ct=at.G.AG[L]),ZC.DS(s,at.G.AG[L].iX,at.G.AG[L].iX+at.G.AG[L].I)&&ZC.DS(A,at.G.AG[L].iY,at.G.AG[L].iY+at.G.AG[L].F)&&(Zt=at.G.AG[L]);var c,z,V,T,H,h,J=null,R=!1;if(ct){if(ZC.JY.GUIDES=ZC.JY.GUIDES||{},ZC.JY.GUIDES[lt]=ZC.JY.GUIDES[lt]||{},e.fromAPI||(ZC.JY.GUIDES[lt].blocked=!1,ZC.JY.GUIDES[lt].active=!0),(ht=ct).CX&&"hover"===ct.CX.o.trigger){null!==ZC._n_(ct.E["guide-active-plot"])&&(J=ct.E["guide-active-plot"]);Q=/(.+)-plotset-plot-(.+)-node-(.+)/.exec(e.target.id);if(Q&&Q.length&&(J=parseInt(Q[2],10),ct.E["guide-active-plot"]=J),null===ZC._n_(J))return}if(!ct.A1F)return void pt();for(Z.push(ct),ct&&ct.CX&&(R=null!==ZC._n_(ct.CX.o.shared)&&ZC._b_(ct.CX.o.shared)),L=0,w=at.G.AG.length;L<w;L++)at.G.AG[L]!==ct&&(c=at.G.AG[L].P,z=at.G.AG[L].CX,V=at.G.AG[L].HF,T=z&&null!==ZC._n_(z.o.shared)&&ZC._b_(z.o.shared))&&("xy"===ct.AJ.layout&&"xy"===at.G.AG[L].AJ.layout&&(z||V)&&ZC.DS(s,c.iX-5,c.iX+c.I+5)&&(ZC.DS(A,c.iY-5,c.iY+c.F+5)||R&&T)||"yx"===ct.AJ.layout&&"yx"===at.G.AG[L].AJ.layout&&(z||V)&&ZC.DS(A,c.iY-5,c.iY+c.F+5)&&(ZC.DS(s,c.iX-5,c.iX+c.I+5)||R&&T))&&Z.push(at.G.AG[L])}else if(ZC.JY.GUIDES)for(var U in ZC.JY.GUIDES)ZC.JY.GUIDES[U]&&ZC.JY.GUIDES[U].active&&(h=(H=zingchart.getLoader(U)).FH(),ZC.AO.C0("guide_mouseout",H,h),ZC.JY.GUIDES[U].active=!1);if(0===Z.length&&(Ct={},st={},At={},at.S6&&(null===ZC._n_(e._pageX_)&&pt(),at.S6=!1),ht)&&ht.A.A7&&Zt&&Zt.K!==ht.K&&ht.A.A7.hide(),0<Z.length)for(var W=!(at.S6=!0),p=0,j=Z.length;p<j;p++){var q=!1;if(null===ZC._n_(Ct[p])&&(Ct[p]={}),null===ZC._n_(st[p])&&(st[p]={}),null===ZC._n_(At[p])&&(At[p]={}),(Z[p].CX||Z[p].HF)&&"ready"===Z[p].M7){for(var $,u,_,ee=[],d=[],te=[],ie=!1,ne="",f=[],g=[],B=[],ae=[],le={},oe={},re=[],Ce=(c=Z[p].P,Z[p].CX&&null!==ZC._n_(Z[p].CX.o.exact)&&ZC._b_(Z[p].CX.o.exact)),b=-1,E=(Z[p].CX&&(b=ZC._i_(ZC._c_(Z[p].CX.o.tolerance||-1))),S=[-1,ZC.MAX],P=[-1,ZC.MAX],ZC.MAX,ZC.MAX,!0),se=[],m="",Ae=(Z[p].CX&&(null!==ZC._n_(Z[p].CX.o["plot-label"])&&ZC._n_(null!==(nt=Z[p].CX.o["plot-label"].multiple))&&(E=ZC._b_(nt)),null!==ZC._n_(Z[p].CX.o["value-label"]))&&ZC._n_(null!==(nt=Z[p].CX.o["value-label"].multiple))&&(E=ZC._b_(nt)),{}),Ze=0,ce=Z[p].AY.A4.length;Ze<ce;Ze++)if(!Z[p].AY.A4[Ze].LT&&(L=Ze,Z[p].CX&&Z[p].CX.o["reverse-series"]&&(L=ce-Ze-1),Z[p].E["plot"+L+".visible"])&&(null===ZC._n_(J)||L===J)&&(u=Z[p].BM(Z[p].AY.A4[L].BW("k")[0]))){var he,pe,D=u.CM?(he=u.AW?u.iY+u.BU:u.iY+u.A9,pe=u.AW?u.iY+u.F-u.BU:u.iY+u.F-u.A9,A=ZC._l_(A,he,pe),u.EI&&Z[p].AY.A4[L].EI?u.OL(A,Z[p].AY.A4[L]):u.OL(A)):(he=u.AW?u.iX+u.BU:u.iX+u.A9,pe=u.AW?u.iX+u.I-u.A9:u.iX+u.I-u.BU,s=ZC._l_(s,he,pe),u.EI&&Z[p].AY.A4[L].EI?u.OL(s,Z[p].AY.A4[L]):u.OL(s));if(null!==ZC._n_(D)){var ue,_e,de,v,fe,ge,Be,be,F,Ee,me,De,ve,Fe,K,Ke=[],Ke=typeof D.length===ZC._[31]||0===D.length?[D]:D;if(Z[p].CX){for(var Ie=0,xe=Ke.length;Ie<xe;Ie++)if(D=Ke[Ie],a=Z[p].AY.A4[L].FM(D)){($=a).setup(),a.O?(ZC.COLORS=[a.O.C2,a.O.A0,a.O.AE,a.O.BX,a.O.B9],a.L9&&ZC.COLORS.push(a.L9.A0,a.L9.AE,a.L9.BX,a.L9.B9)):ZC.COLORS=[],a.A.GX&&typeof a.E.A5O!==ZC._[31]&&a.paint(!0),l=a.iX,o=a.iY,i=l=typeof a.E.A5O!==ZC._[31]?parseInt(a.E.A5O,10):l,n=o=typeof a.E.A7R!==ZC._[31]?parseInt(a.E.A7R,10):o,le[L]={index:D,y:o},Z[p].BE&&Z[p].BE.XO&&(Z[p].BE.clear(!0),Z[p].BE.parse(),Z[p].BE.paint(D)),(t=new ZC.DQ(u)).Z=t.C8=ot,t.K=Z[p].K+"-guide-label-"+D+"-"+L,t.GN=Z[p].A.K+"-guide-label "+Z[p].K+"-guide-label zc-guide-label",E&&(O=a.A8E(),t.AN=a.A.JA),E?t.append(Z[p].CX.o["plot-label[multiple]"]):t.append(Z[p].CX.o["plot-label[single]"]),t.append(Z[p].CX.o["plot-label"]),t.append(Z[p].CX.o["value-label"]),t.append(Z[p].AY.A4[L].o["guide-label"]),K=ZC.AO.OA(t.o,Z[p].AY.A4[L].o),t.K2=function(e){return a?a.K2(e,K):e},a.AB2();var ye="auto";if(null!==ZC._n_(nt=t.o[ZC._[7]])&&(ye=nt),t.E[ZC._[7]]=ye,t.KS=E,t.E.plotidx=a.A.L,t.E.nodeidx=a.L,t.parse(),C=null!==ZC._n_(t.o.distance)?ZC._i_(t.o.distance):6,t.E6&&t.E6.length&&(t.IQ=function(e){return e=a?a.K2(e,K):e.replace(/(%i)|(%node-index)/g,D)},t.DG())&&(K=t.overrideFormat(K),t.parse()),t.HZ&&a&&(t.H8(t,t,null,a.M2(null,!1),t.MN),t.parse()),ZC.DS(a.iX,c.iX-.5,c.iX+c.I+.5)){switch(E||(0===d.length&&(null===ZC._n_(t.o["header-text"])||ie||(ie=!0,m+=a.K2(t.o["header-text"],K)+"<br>"),null!==ZC._n_(t.o["footer-text"]))&&""===ne&&(ne=a.K2(t.o["footer-text"],K)+"<br>"),t.AP&&""!==t.AN&&(ZC._b_(t.o["single-text"])?se.push(a.K2(t.AN,K)):se.push(a.K2(t.AN,K)+"<br>"))),t.E.pos=d.length,t.E["node-value"]=a.AC,t.E["marker-x"]=l,t.E["marker-y"]=o,t.E["guide-style"]=a.A8E(),ye){default:null===ZC._n_(t.o.x)?u.CM?a.iY<=c.iY+c.F/2?(t.iY=o-t.F-C,t.EP="bottom"):(t.iY=o+C,t.EP="top"):a.iX>=c.iX+c.I/2?(t.iX=l-t.I-C,t.EP="right"):(t.iX=l+C,t.EP="left"):t.iX-=c.iX,null===ZC._n_(t.o.y)?u.CM?(t.iX=l-t.I/2,t.iX<c.iX&&(t.iX=c.iX),t.iX+t.I>c.iX+c.I&&(t.iX=c.iX+c.I-t.I)):(t.iY=o-t.F/2,t.iY<c.iY&&(t.iY=c.iY),t.iY+t.F>c.iY+c.F&&(t.iY=c.iY+c.F-t.F)):t.iY-=c.iY,t.DN=[l,o];break;case"left":t.iX=l-t.I-C,t.iY=o-t.F/2,t.DN=[l,o];break;case"right":t.iX=l+C,t.iY=o-t.F/2,t.DN=[l,o];break;case"top":u.CM?(t.iX=c.iX+c.I-t.I,t.iY=o-t.F/2,t.EP="left",t.DN=[c.iX+c.I-t.I-C,o]):(t.iX=l-t.I/2,t.iY=c.iY,t.EP="bottom",t.DN=[l,t.iY+t.F+C]);break;case"node-top":u.CM?(t.iX=l+2*C,t.iY=o-t.F/2,t.EP="left",t.DN=[l+C,o]):(t.iX=l-t.I/2,t.iY=o-t.F-2*C,t.EP="bottom",t.DN=[l,o-C]);break;case"bottom":u.CM?(t.iX=c.iX,t.iY=o-t.F/2,t.EP="right",t.DN=[c.iX+t.I+C,o]):(t.iX=l-t.I/2,t.iY=c.iY+c.F-t.F,t.EP="top",t.DN=[l,t.iY-C])}ee.push({plotindex:a.A.L,nodeindex:a.L,keyvalue:a.BV||u.V[a.L],value:a.AC,text:t.AN,x:t.iX,y:t.iY,refx:l,refy:o}),-1===ZC.AV(te,t.AN)&&(t,te.push(t.AN)),u.CM?t.E.diff=Ce||-1!==b?ZC._a_(o-A):-1:t.E.diff=Ce||-1!==b?ZC._a_(l-s):-1,t.AP&&d.push(t),st[p][L]=t,q=!0}}if(!a)continue}if(Z[p].CX&&ZC.DS(a.iX,c.iX-1,c.iX+c.I+1)){if((F=new ZC.DQ(u)).Z=F.C8=ot,F.K=Z[p].K+"-guide-scale-x-label-"+L,F.GN=Z[p].A.K+"-guide-label "+Z[p].K+"-guide-label zc-guide-label",F.A0=F.AE=u.B9,F.C2=Z[p].AJ["3d"]?"#999":"#fff",F.append(Z[p].CX.o["scale-label"]),F.append(Z[p].CX.o[u.BD+"-label"]),F.append(Z[p].AY.A4[L].o["scale-label"]),F.KS=!0,F.E.nodeidx=a.L,K=ZC.AO.OA(F.o),null===ZC._n_(K[ZC._[12]])&&(Fe=Math.floor(ZC.FU(null!==a.BV?a.BV:a.L,10)),K[ZC._[12]]=Fe<0?1-Fe:0),F.K2=function(e){e=u.K2(e,D,u.EI&&Z[p].AY.A4[L].EI?Z[p].AY.A4[L]:null,K,!0);var t=Z[p].AY.A4[L].K5;if(a&&t)for(var i in t){var n=t[i]instanceof Array?ZC._c_(t[i][a.L],""):ZC._c_(t[i],"");e=e.replace("%data-"+i,n,"g")}return e},F.parse(),C=null!==ZC._n_(F.o.distance)?ZC._i_(F.o.distance):6,F.E6&&F.E6.length&&(F.IQ=function(e){return e=a?a.K2(e,K):e.replace(/(%i)|(%node-index)/g,D)},F.DG())&&F.parse(),F.HZ&&a&&(F.H8(F,F,null,a.M2(null,!1),F.MN),F.parse()),oe[u.BD]=F.AN,ue=ZC._b_(F.o["callout-position"]),_e=F.o.x,de=F.o.y,Be="opposite"!==u.BA?u.CM?(v="right",ge=u.E.iX-F.I-C,fe=[u.E.iX,n],n-F.F/2):(v="top",ge=i-F.I/2,fe=[i,u.E.iY],u.E.iY+C):u.CM?(v="left",ge=u.E.iX+C,fe=[u.E.iX,n],n-F.F/2):(v="bottom",ge=i-F.I/2,fe=[i,u.E.iY],u.E.iY-F.F-C),ue||(F.EP=v),_e||(F.iX=ge),ue||_e||de||(F.DN=fe),de||(F.iY=Be),F.AP&&u.AP&&""!==F.AN){var Ye=!1;if(re.length)for(var Le=0;Le<re.length;Le++)F.AN+"@"+u.BD===re[Le]&&(Ye=!0);Ye||(re.push(F.AN+"@"+u.BD),u.CM?F.E.diff=Ce||-1!==b?ZC._a_(n-A):-1:F.E.diff=Ce||-1!==b?ZC._a_(i-s):-1,B.push(F)),ae.push(u.BD),At[p][L]=F,q=!0}-1!==String(Z[p].CX.o[ZC._[4]]).indexOf("%")&&0<(be=ZC.IO(Z[p].CX.o[ZC._[4]]))&&be<=1&&(Z[p].CX.B1=ZC._i_(be*u.AD)),u.CM?((-1===P[0]||P[1]>ZC._a_(n-A))&&(P=[n,ZC._a_(n-A)]),f.push([Ce||-1!==b?ZC._a_(n-A):-1,[null,[u.E.iX,n],[Z[p].P.iX+("opposite"===u.BA?0:Z[p].P.I),n]]])):((-1===S[0]||S[1]>ZC._a_(i-s))&&(S=[i,ZC._a_(i-s)]),f.push([Ce||-1!==b?ZC._a_(i-s):-1,[null,[i,u.E.iY],[i,Z[p].P.iY+("opposite"===u.BA?Z[p].P.F:0)]]]))}_=Z[p].BM(Z[p].AY.A4[L].BW("v")[0]),-1===ZC.AV(ae,_.BD)&&Z[p].HF&&("xy"===Z[p].AJ.layout&&ZC.DS(A,_.iY,_.iY+_.F)||"yx"===Z[p].AJ.layout&&ZC.DS(A,_.iX,_.iX+_.I))&&(Ee="single","multiple"===(Ee=Z[p].HF.o.type&&"multiple"===Z[p].HF.o.type?"multiple":Ee)&&null!==ZC._n_(le[L])&&(_.CM?s=le[L].x:A=le[L].y),(F=new ZC.DQ(_)).Z=F.C8=ot,F.K=Z[p].K+"-guide-scale-y-label-"+L,F.GN=Z[p].A.K+"-guide-label "+Z[p].K+"-guide-label zc-guide-label",me=_.B9,"multiple"===Ee&&(me=Z[p].AY.A4[L].B9),F.A0=F.AE=me,F.C2=Z[p].AJ["3d"]&&"multiple"!==Ee?"#999":"#fff",F.append(Z[p].HF.o["scale-label"]),F.append(Z[p].HF.o[_.BD+"-label"]),F.KS=!0,De=_.CM?_.NI(s,!0):_.NI(A,!0),ve=De,K=_.MU(),ZC._cp_(ZC.AO.OA(F.o,_.o),K),null===ZC._n_(K[ZC._[12]])&&(Fe=Math.floor(ZC.FU(De,10)),K[ZC._[12]]=Fe<=0?1-Fe:0),De=_.FT(0,De,K),F.o.text=De,F.parse(),C=null!==ZC._n_(F.o.distance)?ZC._i_(F.o.distance):6,F.E6&&F.E6.length&&(F.IQ=function(e){return e=e.replace(/(%v)|(%scale-value)/g,ve).replace(/(%t)|(%scale-text)/g,De).replace(/(%coord)/,_.CM?s:A)},F.DG())&&F.parse(),F.HZ&&a&&(Ae={value:ve,text:De,coord:_.CM?s:A},F.H8(F,F,null,Ae,F.MN),F.parse()),oe[_.BD]=F.AN,ue=ZC._b_(F.o["callout-position"]),_e=F.o.x,de=F.o.y,fe="opposite"!==_.BA?_.CM?(v="top",ge=s-F.I/2,Be=_.E.iY+C,[s,_.E.iY]):(v="right",ge=_.E.iX-F.I-C,Be=A-F.F/2,[_.E.iX,A]):_.CM?(v="bottom",ge=s-F.I/2,Be=_.E.iY-F.F-C,[s,_.E.iY]):(v="left",ge=_.E.iX+C,Be=A-F.F/2,[_.E.iX,A]),ue||(F.EP=v),_e||(F.iX=ge),ue||_e||de||(F.DN=fe),de||(F.iY=Be),F.AP&&_.AP&&(F.E.diff=-1,B.push(F),"multiple"===Ee&&null!==ZC._n_(le[L])||ae.push(_.BD),At[p][L]=F,q=!0),-1!==String(Z[p].HF.o[ZC._[4]]).indexOf("%")&&0<(be=ZC.IO(Z[p].HF.o[ZC._[4]]))&&be<=1&&(Z[p].HF.B1=ZC._i_(be*_.AD)),_.CM?g.push(null,[s,_.E.iY],[s,Z[p].P.iY+("opposite"===_.BA?Z[p].P.F:0)]):g.push(null,[_.E.iX,A],[Z[p].P.iX+("opposite"===_.BA?0:Z[p].P.I),A]))}}if(!Ce&&1<B.length)for(var Ge=B[B.length-1],Xe=ZC._i_((Ge.FJ+Ge.FX+Ge.ER+Ge.FO)/4),Me=B.length-1;0<=Me;Me--)for(var we=Me;0<=we;we--)Me!==we&&ZC.AQ._boxoverlap2_(B[Me],B[we],-Xe)&&(B[we].C5=.3,B[we].V1=.1);for(y=ZC.MAX,L=0,w=d.length;L<w;L++)0<=d[L].E.diff&&(y=ZC.CY(d[L].E.diff,y));-1!==b&&(y=ZC.BR(y,b));for(var Se=!1,Pe=1,Oe=!1,Ne=(d[0]&&(Oe=ZC._b_(d[0].o["single-text"]),d[0].o["table-columns"])&&ZC._b_(d[0].o["html-mode"])&&(Se=!0,Pe=ZC._i_(d[0].o["table-columns"]||"1"),m+='<table class="zc-guide-label-table '+at.G.K+'-guide-label-table">'),!E&&0<d.length&&("asc"!==d[0].o["sort-by-value"]&&"desc"!==d[0].o["sort-by-value"]||d.sort(function(e,t){return(e.E["node-value"]-t.E["node-value"])*("asc"===d[0].o["sort-by-value"]?1:-1)})),0),I=0,Qe=d.length;I<Qe&&(!(-1===d[I].E.diff||d[I].E.diff<=y)||(Se?(Ne%Pe==0&&(m+="<tr>"),m+="<td>"+se[I]+"</td>",Ne%Pe==Pe-1&&(m+="</tr>"),Ne++):m+=se[d[I].E.pos],Se)||!Oe);I++);if(Se&&(Ne%Pe!=Pe-1&&(m+="</tr>"),m+="</table>"),""!==ne&&(m+=ne),!E&&0<d.length&&(A=o=Ce?u.CM?(s=l=i,P[0]):(s=l=S[0],n):(s=l=i,n),""!==m&&(d[0].o.text=Se||Oe?m:m.substring(0,m.length-4),d[0].parse()),C=null!==ZC._n_(t.o.distance)?ZC._i_(t.o.distance):6,null===ZC._n_(t.o.x)?u.CM?s<Z[p].iX+Z[p].I/2?d[0].iX=s+C+14:d[0].iX=s-d[0].I-C-14:$&&$.iX>=c.iX+c.I/2?d[0].iX=l-d[0].I-C:d[0].iX=l+C:d[0].iX-=c.iX,null===ZC._n_(t.o.y)?u.CM?$&&$.iY>=c.iY+c.F/2?d[0].iY=o-d[0].F-C:d[0].iY=o+C:A<Z[p].iY+Z[p].F/2?d[0].iY=A+C+14:d[0].iY=A-d[0].F-C-14:d[0].iY-=c.iY),q){var ke=-1,ze=-1;if(W||(null===ZC._n_(e._pageX_)&&pt(),W=!0),0<f.length){for(var x=[],y=ZC.MAX,Y=0,Ve=f.length;Y<Ve;Y++)0<=f[Y][0]&&(y=ZC.CY(f[Y][0],y));for(-1!==b&&(y=ZC.BR(y,b)),Y=0,Ve=f.length;Y<Ve;Y++)null!==ZC._n_(f[Y])&&(-1===f[Y][0]||f[Y][0]<=y)&&(Z[p].CX&&Z[p].CX.o["single-line"]&&ZC._b_(Z[p].CX.o["single-line"])?(x=[].concat(f[Y][1]),"xy"===Z[p].AJ.layout?ke=ZC._x_(f[Y][1][1][0]):"yx"===Z[p].AJ.layout&&(ze=ZC._x_(f[Y][1][1][1]))):x=x.concat(f[Y][1]));if(Z[p].CX.o.mask&&(Ge=-1,1<x.length&&x[1]&&(Ge=x[1][0]||-1),Z[p].CX.oMask||(Z[p].CX.oMask=new ZC.HU(Z[p]),Z[p].CX.oMask.append({"background-color":"#fff",alpha:.85}),Z[p].CX.oMask.append(Z[p].CX.o.mask),Z[p].CX.oMask.Z=ot,Z[p].CX.oMask.parse()),Z[p].CX.oMask.iX=Ge,Z[p].CX.oMask.iY=Z[p].P.iY,Z[p].CX.oMask.I=Math.max(2,Z[p].P.iX+Z[p].P.I-Ge+2),Z[p].CX.oMask.F=Z[p].P.F,Z[p].CX.oMask.paint()),Z[p].AJ["3d"])for(Z[p].O7(),Y=0,Ve=x.length;Y<Ve;Y++)x[Y]&&(r=new ZC.CE(Z[p],x[Y][0]-ZC.AM.E1,x[Y][1]-ZC.AM.E2,0),x[Y][0]=r.EC[0],x[Y][1]=r.EC[1]);Z[p].CX.K=Z[p].K+"-crosshair-x",Z[p].CX.HZ&&a&&(Z[p].CX.H8(Z[p].CX,Z[p].CX,null,a.M2(null,!1),Z[p].CX.MN),Z[p].CX.parse()),Z[p].CX.AP&&ZC.CO.paint(rt,Z[p].CX,x)}if(0<g.length){if(Z[p].AJ["3d"])for(Z[p].O7(),Y=0,Ve=g.length;Y<Ve;Y++)null!==ZC._n_(g[Y])&&(r=new ZC.CE(Z[p],g[Y][0]-ZC.AM.E1,g[Y][1]-ZC.AM.E2,0),g[Y][0]=r.EC[0],g[Y][1]=r.EC[1]);Z[p].HF.HZ&&a&&(Z[p].HF.H8(Z[p].HF,Z[p].HF,null,Ae,Z[p].HF.MN),Z[p].HF.parse()),Z[p].HF.AP&&ZC.CO.paint(rt,Z[p].HF,g)}if(E){for(L=d.length-1;0<=L;L--)ZC.DS(d[L].DN[0],c.iX-5,c.iX+c.I+5)&&ZC.DS(d[L].DN[1],c.iY-5,c.iY+c.F+5)||d.splice(L,1);if(1<d.length)for(var Te,He=!0;He;)for(He=!1,L=0;L<d.length-1;L++)d[L].AP&&(_.CM&&d[L].iX>d[L+1].iX||!_.CM&&d[L].iY>d[L+1].iY)&&(Te=d[L],d[L]=d[L+1],d[L+1]=Te,He=!0);if(0<d.length){for(var Je=[],Re=[],L=0;L<d.length;L++)null!==ZC._n_(d[L].o.x)&&null!==ZC._n_(d[L].o.y)&&Re.push(d[L]);for(var G,Ue,We,je=!0,qe=0,$e=d.length*d.length;je&&qe<$e;)for(qe++,je=!1,L=0;L<d.length-1;L++)if(d[L].AP&&-1===ZC.AV(Re,d[L]))if(u.CM){if(d[L+1].iX<d[L].iX+d[L].I){if(d[L+1].iX-d[L].I-4<c.iX&&-1===ZC.AV(Je,d[L])&&(Je.push(d[L]),d[L].iX=c.iX),d[L+1].iX=d[L].iX+d[L].I+4,d[L+1].iX+d[L+1].I>c.iX+c.I)for(We=d[L+1].iX-(c.iX+c.I-d[L+1].I),G=0,Ue=d.length;G<Ue;G++)d[G].iX-We>=c.iX?d[G].iX-=We:(d[G].iX=c.iX,0<G&&(d[L+1].E["marker-y"]<c.iY+c.F/2?d[G].iY=d[G-1].iY+d[G-1].F+4:d[G].iY=d[G-1].iY-d[G].F-4));je=!0}}else if(d[L+1].iY<d[L].iY+d[L].F){if(d[L+1].iY-d[L].F-4<c.iY&&-1===ZC.AV(Je,d[L])&&(Je.push(d[L]),d[L].iY=c.iY),d[L+1].iY=d[L].iY+d[L].F+4,d[L+1].iY+d[L+1].F>c.iY+c.F)for(We=d[L+1].iY-(c.iY+c.F-d[L+1].F),G=0,Ue=d.length;G<Ue;G++)d[G].iY-We>=c.iY?d[G].iY-=We:(d[G].iY=c.iY,0<G&&(d[L+1].E["marker-x"]<c.iX+c.I/2?d[G].iX=d[G-1].iX+d[G-1].I+4:d[G].iX=d[G-1].iX-d[G].I-4));je=!0}}}var X,et=!1;for(L=0,w=B.length;L<w;L++)(-1===B[L].E.diff||B[L].E.diff<=y)&&(X=B[L],Z[p].AJ["3d"]&&(Z[p].O7(),r=new ZC.CE(Z[p],X.iX+X.I/2-ZC.AM.E1,X.iY+X.F/2-ZC.AM.E2,0),X.iX=r.EC[0]-X.I/2,X.iY=r.EC[1]-X.F/2,r=new ZC.CE(Z[p],X.DN[0]-ZC.AM.E1,X.DN[1]-ZC.AM.E2,0),X.DN[0]=r.EC[0],X.DN[1]=r.EC[1]),Z[p].CX&&Z[p].CX.o["single-line"]&&ZC._b_(Z[p].CX.o["single-line"])?("xy"===Z[p].AJ.layout&&ke===ZC._x_(X.iX+X.I/2)||"yx"===Z[p].AJ.layout&&ze===ZC._x_(X.iY+X.F/2))&&!et&&(X.paint(),et=!0):X.paint());for(y=ZC.MAX,I=0,Qe=d.length;I<Qe;I++)0<=d[I].E.diff&&(y=ZC.CY(d[I].E.diff,y));for(-1!==b&&(y=ZC.BR(y,b)),I=Ze=0,Qe=d.length;I<Qe;I++)if(-1===d[I].E.diff||d[I].E.diff<=y){var tt,it,M=ZC.DS(d[I].DN[0],c.iX-5,c.iX+c.I+5)&&ZC.DS(d[I].DN[1],c.iY-5,c.iY+c.F+5);if(!E||M){if(d[I].AP){switch(d[I].E[ZC._[7]]){case"top":u.CM?d[I].DN[0]=d[I].iX-d[I].GA:d[I].DN[1]=d[I].iY+d[I].F+d[I].GA;break;case"bottom":u.CM?d[I].DN[0]=d[I].iX+d[I].I+d[I].GA:d[I].DN[1]=d[I].iY-d[I].GA}-1!==ZC.AV(["top","bottom"],d[I].E[ZC._[7]])&&(tt=d[I].iX+d[I].I/2,d[I].iX=ZC.BR(d[I].iX,0),d[I].iX=ZC.CY(d[I].iX,at.G.I-d[I].I),d[I].iY=ZC.BR(d[I].iY,0),d[I].iY=ZC.CY(d[I].iY,at.G.F-d[I].F),null===ZC._n_(d[I].o["callout-offset"]))&&(d[I].EY=parseInt(100*(tt-d[I].iX-d[I].I/2)/(d[I].I-d[I].HD),10)),Z[p].AJ["3d"]&&(Z[p].O7(),r=new ZC.CE(Z[p],d[I].iX+d[I].I/2-ZC.AM.E1,d[I].iY+d[I].F/2-ZC.AM.E2,0),d[I].iX=r.EC[0]-d[I].I/2,d[I].iY=r.EC[1]-d[I].F/2,r=new ZC.CE(Z[p],d[I].DN[0]-ZC.AM.E1,d[I].DN[1]-ZC.AM.E2,0),d[I].DN[0]=r.EC[0],d[I].DN[1]=r.EC[1],"left"===d[I].EP?d[I].iX=d[I].DN[0]+C:d[I].iX=d[I].DN[0]-d[I].I-C),Z[p].AJ["3d"]||E||0!==Ze||(d[I].iX=ZC.BR(c.iX-5,d[I].iX),d[I].iY=ZC.BR(c.iY-5,d[I].iY),d[I].iX=ZC.CY(c.iX+c.I-d[I].I+5,d[I].iX),d[I].iY=ZC.CY(c.iY+c.F-d[I].F+5,d[I].iY)),(E||!E&&0===Ze)&&(tt=E?I:0,(!E||"canvas"===at.G.AB&&d[tt].o["background-image"]&&""!==d[tt].o["background-image"])&&d[tt].parse(),0!==d[tt].C5&&d[tt].paint(),Ze++)}M&&(M=new ZC.DT(Z[p]),at.G.B6.load(M.o,"("+Z[p].AF+").guide.marker"),M.K=d[I].K+"-marker",M.Z=M.C8=ot,M.iX=d[I].E["marker-x"],M.iY=d[I].E["marker-y"],Z[p].AJ["3d"]&&(Z[p].O7(),r=new ZC.CE(Z[p],M.iX-ZC.AM.E1,M.iY-ZC.AM.E2,0),M.iX=r.EC[0],M.iY=r.EC[1]),O=d[I].E["guide-style"],M.A0=M.AE=ZC.AO.JR(O[ZC._[0]]),M.BX=O.color,M.append(Z[p].CX.o.marker),M.append(Z[p].AY.A4[d[I].E.plotidx].o["guide-marker"]),"inherit"===M.o.type&&(it=Z[p].AY.A4[d[I].E.plotidx]).A2&&it.A2.o.type&&(M.o.type=it.A2.o.type),M.parse(),M.AP)&&"none"!==M.DH&&1<M.AI&&M.paint()}}(h=Z[p].H2()).items=ee,h.guide={x:l,y:o},h.ev=e,h["scale-label"]=oe,ZC.AO.C0("guide_mousemove",at.G,h),Z[p].R3(!0)}else(h={}).guide={x:l,y:o},h.ev=e,ZC.AO.C0("guide_mousemove",at.G,h)}}}}},at.zc_guide_touchend=function(){0!==zingchart.DEV.GUIDETIMEOUT&&window.setTimeout(function(){pt()},ZC._i_(zingchart.DEV.GUIDETIMEOUT))},ZC.A3(document.body).bind("mousemove touchstart touchmove",at.QJ),ZC.A3(document.body).bind("touchend",at.zc_guide_touchend)}}),A2O=(ZC.JY=ZC.C6.CD(JY),ZC.JY.clearGuide=function(e){var t,i,n,a=zingchart.getLoader(e);a&&(zingchart.GUIDE_EV=null,t=ZC.AL(e+"-guide-c"),i=ZC.A3(t).width(),n=ZC.A3(t).height(),ZC.A3("."+e+"-guide-label").remove(),ZC.Q.IW(t,a.AB,0,0,i,n),ZC.A3("#"+e+"-defs").children().each(function(){this.id&&-1!==this.id.indexOf("-guide-label-")&&ZC.Q.EW(this.id)}))},zingchart.extendAPI("resetguide",function(e,t){"string"==typeof(t=t||{})&&(t=JSON.parse(t)),ZC.JY.GUIDES[e]=ZC.JY.GUIDES[e]||{},ZC.JY.GUIDES[e].blocked=!1,ZC.JY.clearGuide(e)}),zingchart.extendAPI("setguide",function(e,t){"string"==typeof(t=t||{})&&(t=JSON.parse(t));var i,n=zingchart.getLoader(e),a=n.CB(t[ZC._[3]]),l=a.BM(ZC._[50]),a="xy"===a.AJ.layout?(i=t.x||l.AR(t.keyvalue),a.iY+a.F/2):(i=a.iX+a.I/2,t.y||l.AR(t.keyvalue)),t={_pageX_:i,_pageY_:a,type:ZC.mobile?"touchstart":ZC._[48],target:{id:e+"-img"}};ZC.JY.GUIDES=ZC.JY.GUIDES||{},ZC.JY.GUIDES[e]=ZC.JY.GUIDES[e]||{},ZC.JY.GUIDES[e].blocked=!0,ZC.JY.clearGuide(e),t.fromAPI=!0,n.D8.QJ(t)}),{$i:function(e,t){this.o=null,this.C=e,this.NT=t},parse:function(){var e,w,t=this,S=(t.o=t.C.o,t.NT),i="\r\n",n=",",P=!1,a=null,l=null,o=null,O=null,N=null,Q=!1,k=!1,r=null,C={},s=(null!==ZC._n_(e=t.o["html5-csv"])&&(C=e),null!==ZC._n_(e=t.o.csv)&&(C=e),null!==ZC._n_(e=C.separator)&&(n=e),null!==ZC._n_(e=C.mirrored)&&(P=ZC._b_(e)),null!==ZC._n_(e=C.title)&&(a=ZC._b_(e)),null!==ZC._n_(e=C["string-values"])&&(k=ZC._b_(e)),P?(null!==ZC._n_(e=C["horizontal-labels"])&&(o=ZC._b_(e)),null!==ZC._n_(e=C["vertical-labels"])&&(l=ZC._b_(e))):(null!==ZC._n_(e=C["horizontal-labels"])&&(l=ZC._b_(e)),null!==ZC._n_(e=C["vertical-labels"])&&(o=ZC._b_(e))),null!==ZC._n_(e=C["smart-scales"])&&(O=ZC._b_(e)),null!==ZC._n_(e=C["separate-scales"])&&(N=ZC._b_(e)),null!==ZC._n_(e=C["keyval-format"])&&(Q=ZC._b_(e)),null!==ZC._n_(e=C.columns)&&(r=e),null),A=(null!==ZC._n_(e=C[ZC._[13]])&&(s=e),null);if(null!==ZC._n_(e=C[ZC._[14]])&&(A=e),null!==(A=null!==s&&null===A?"."===s?",":".":A)&&null===s&&(s="."===A?",":"."),null!==ZC._n_(r)&&0<r.length){h=[],null!==ZC._n_(e=C["row-separator"])?i=e:0<S.split(/\n/).length?i="\n":0<S.split(/\r/).length&&(i="\r");for(var z=S.split(i),V=0,Z=0,c=z.length;Z<c;Z++)if(""!==z[Z].replace(/\s+/g,"")){h[V]=[];for(var T=0,H=0;T<z[Z].length-1;)K=z[Z].substring(T,T+r[H]),h[V].push(K),T+=r[H],H++;V++}}else for(var h=[[]],J=null!==ZC._n_(e=C["row-separator"])?new RegExp("(\\"+n+"|"+e+'|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+n+e+"]*))","gi"):new RegExp("(\\"+n+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+n+"\\r\\n]*))","gi"),p=null;p=J.exec(S);){var R=p[1];R.length&&R!==n&&h.push([]),K=p[2]?p[2].replace(new RegExp('""',"g"),'"'):p[3],h[h.length-1].push(K)}var u=[];for(Z=0,c=h.length;Z<c;Z++)0!==h[Z].join("").replace(/\s+/g,"").length&&u.push(h[Z]);var _=0,d=0;if((a=null!==ZC._n_(a)&&!a?a:1<u.length&&1===u[0].length&&(null===ZC._n_(t.o.title)?t.o.title={text:u[0][0]}:null===ZC._n_(t.o.title.text)&&(t.o.title.text=u[0][0]),!0))&&_++,P){for(h=[],a&&h.push(u[0]),B=_,b=u.length;B<b;B++)for(D=0,w=u[B].length;D<w;D++)null===ZC._n_(h[D+_])&&(h[D+_]=[]),h[D+_].push(u[B][D]);u=h}if("function"==typeof zingchart.csvParser)for(B=0,b=u.length;B<b;B++)for(D=0,w=u[B].length;D<w;D++)u[B][D]=zingchart.csvParser.call(this,u[B][D],B,D,t.C.A.K);var U=0;for(Z=0,c=u.length;Z<c;Z++)U=ZC.BR(U,u[Z].length);var f=[],g=(null===ZC._n_(l)&&(i=u[_].join("").length,l=.75<u[_].join("").replace(/[0-9]/g,"").length/i),l&&(f=u[_],_++),[]);if(null===ZC._n_(o))if(l&&-1!==f[0].indexOf("\\"))o=!0;else{for(var W="",B=_,b=u.length;B<b;B++)W+=u[B][0];C=W.length,o=.75<W.replace(/[0-9]/g,"").length/C}if(o){for(B=_,b=u.length;B<b;B++)g.push(Q?ZC._i_(u[B][d]):u[B][d]);d++}for(var E=[],m=[],D=d;D<U;D++){m[D-d]=[];var v,F,K,I=s,x=A,y=0,j=null;for(B=_,b=u.length;B<b;B++)null!==ZC._n_(u[B][D])&&""!==u[B][D]&&typeof u[B][D]!==ZC._[31]?(K=u[B][D],null!==ZC._n_(j)||k||(j=K.replace(/[0-9\-\,\.\+\e]+/g,"%v")),k||(K=K.replace(/[^0-9\-\,\.\+\e]+/g,"")),null!==I&&null!==x||(v=K.indexOf("."),F=K.indexOf(","),-1!==v&&-1!==F?y=v<F?(I=".",x=",",ZC.BR(0,K.length-F)):(I=",",x=".",ZC.BR(0,K.length-v)):-1===v&&-1!==F?K.length-F-1==3?(I=",",x="."):(I=".",x=",",y=ZC.BR(0,K.length-F)):-1!==v&&-1===F&&(K.length-v-1==3?(I=".",x=","):(I=",",x=".",y=ZC.BR(0,K.length-v)))),"."===I&&(K=K.replace(/\./g,"").replace(/,/g,".")),","===I&&(K=K.replace(/,/g,"")),m[D-d].push(k?K:ZC._f_(K))):m[D-d].push(null);E[D-d]={},null!==ZC._n_(j)&&(E[D-d].format=j),null!==ZC._n_(I)&&(E[D-d][ZC._[13]]=I),null!==ZC._n_(I)&&(E[D-d][ZC._[14]]=x),0!==y&&(E[D-d][ZC._[12]]=y)}if(Q)for(Z=0,c=m.length;Z<c;Z++)for(var Y=0;Y<m[Z].length;Y++)m[Z][Y]=[g[Y],m[Z][Y]];var q,L=[];switch(t.C.AF){case"line":case"area":case"vbar":case"hbar":case"line3d":case"area3d":case"vbar3d":case"hbar3d":case"mixed":null===ZC._n_(t.o[ZC._[50]])&&(t.o[ZC._[50]]={});var G=[],X=(o&&null!==ZC._n_(f[0])&&(G=f[0].split(/\\/)),null!==ZC._n_(G[0])&&(null===ZC._n_(t.o[ZC._[50]].label)&&(t.o[ZC._[50]].label={}),null===ZC._n_(t.o[ZC._[50]].label.text))&&(t.o[ZC._[50]].label.text=G[0]),o&&(null===ZC._n_(t.o[ZC._[50]][ZC._[5]])?t.o[ZC._[50]][ZC._[5]]=g:null===ZC._n_(t.o[ZC._[50]][ZC._[10]])&&(t.o[ZC._[50]][ZC._[10]]=g)),[]);if(null!==ZC._n_(N)&&N)for(Z=0,c=m.length;Z<c;Z++)X[Z]=ZC._[51]+(0===Z?"":"-"+(Z+1));else if(null!==ZC._n_(O)&&O){var $={},M=0,ee=[];for(Z=0,c=m.length;Z<c;Z++){for(var te=0,ie=0,ne=m[Z].length;ie<ne;ie++)te+=m[Z][ie];te/=m[Z].length;var ae=Math.round(ZC.FU(te)/Math.LN10/2);null===ZC._n_($[ae])&&($[ae]=ZC._[51]+(0===M?"":"-"+(M+1))),-1===ZC.AV(ee,E[Z].format)?X[Z]=ZC._[51]+(0===M?"":"-"+(M+1)):X[Z]=$[ae],M++,ee.push(E[Z].format)}}for(0===X.length&&(X[0]=ZC._[51]),null===ZC._n_(t.o[ZC._[11]])&&(t.o[ZC._[11]]=[]),Z=0,c=m.length;Z<c;Z++)null===ZC._n_(t.o[ZC._[11]][Z])&&(t.o[ZC._[11]][Z]={}),t.o[ZC._[11]][Z][ZC._[5]]=m[Z],l&&(null===ZC._n_(t.o[ZC._[11]][Z].text)&&(t.o[ZC._[11]][Z].text=f[Z+d],L.push(f[Z+d])),null===ZC._n_(t.o[ZC._[11]][Z]["legend-text"])&&(t.o[ZC._[11]][Z]["legend-text"]=f[Z+d],L.push(f[Z+d])),null===ZC._n_(t.o[ZC._[11]][Z]["tooltip-text"]))&&null!==ZC._n_(E[Z].format)&&(t.o[ZC._[11]][Z]["tooltip-text"]=E[Z].format),null!==ZC._n_(X[Z])&&(null===ZC._n_(t.o[X[Z]])&&(t.o[X[Z]]={}),null!==ZC._n_(G[1])&&(null===ZC._n_(t.o[X[Z]].label)&&(t.o[X[Z]].label={}),null===ZC._n_(t.o[X[Z]].label.text))&&(t.o[X[Z]].label.text=G[1]),null===ZC._n_(t.o[ZC._[11]][Z].scales)&&(t.o[ZC._[11]][Z].scales="scale-x,"+X[Z]),null===ZC._n_(t.o[X[Z]][ZC._[12]])&&null!==ZC._n_(E[Z][ZC._[12]])&&(t.o[X[Z]][ZC._[12]]=E[Z][ZC._[12]]),null===ZC._n_(t.o[X[Z]][ZC._[13]])&&null!==ZC._n_(E[Z][ZC._[13]])&&(t.o[X[Z]][ZC._[13]]=E[Z][ZC._[13]]),null===ZC._n_(t.o[X[Z]][ZC._[14]])&&null!==ZC._n_(E[Z][ZC._[14]])&&(t.o[X[Z]][ZC._[14]]=E[Z][ZC._[14]]),null===ZC._n_(t.o[X[Z]].format))&&null!==ZC._n_(E[Z].format)&&(t.o[X[Z]].format=E[Z].format);break;case"pie":case"pie3d":case"gauge":case"nestedpie":for(null===ZC._n_(t.o.scale)&&(t.o.scale={}),o&&null!==ZC._n_(f[0])&&(q=f[0].split(/\\/),null===ZC._n_(t.o.scale.label)&&(t.o.scale.label={}),null===ZC._n_(t.o.scale.label.text))&&(t.o.scale.label.text=q[0]),o&&(null===ZC._n_(t.o.scale[ZC._[5]])?t.o.scale[ZC._[5]]=g:null===ZC._n_(t.o.scale[ZC._[10]])&&(t.o.scale[ZC._[10]]=g)),null===ZC._n_(t.o[ZC._[11]])&&(t.o[ZC._[11]]=[]),Z=0,c=m.length;Z<c;Z++)null===ZC._n_(t.o[ZC._[11]][Z])&&(t.o[ZC._[11]][Z]={}),t.o[ZC._[11]][Z][ZC._[5]]=m[Z],l&&(null===ZC._n_(t.o[ZC._[11]][Z].text)&&(t.o[ZC._[11]][Z].text=f[Z+d],L.push(f[Z+d])),null===ZC._n_(t.o[ZC._[11]][Z]["legend-text"])&&(t.o[ZC._[11]][Z]["legend-text"]=f[Z+d],L.push(f[Z+d])),null===ZC._n_(t.o[ZC._[11]][Z]["tooltip-text"]))&&null!==ZC._n_(E[Z].format)&&(t.o[ZC._[11]][Z]["tooltip-text"]=E[Z].format),null===ZC._n_(t.o[ZC._[52]])&&(t.o[ZC._[52]]={}),null===ZC._n_(t.o[ZC._[52]][ZC._[12]])&&null!==ZC._n_(E[Z][ZC._[12]])&&(t.o[ZC._[52]][ZC._[12]]=E[Z][ZC._[12]]),null===ZC._n_(t.o[ZC._[52]][ZC._[13]])&&null!==ZC._n_(E[Z][ZC._[13]])&&(t.o[ZC._[52]][ZC._[13]]=E[Z][ZC._[13]]),null===ZC._n_(t.o[ZC._[52]][ZC._[14]])&&null!==ZC._n_(E[Z][ZC._[14]])&&(t.o[ZC._[52]][ZC._[14]]=E[Z][ZC._[14]]),null===ZC._n_(t.o[ZC._[52]].format)&&null!==ZC._n_(E[Z].format)&&(t.o[ZC._[52]].format=E[Z].format)}return""!==L.join("")&&null===ZC._n_(t.o.legend)&&(t.o.legend={}),t.o=JSON.parse(JSON.stringify(t.o).replace(/\\\\/g,"\\")),t.o}}),I1=(ZC.A2O=ZC.C6.CD(A2O),ZC.JN=ZC.HU.CD({$i:function(e){this.b(e);var t=this;t.OJ="zcgraph",t.G=e,t.AF="",t.IM=null,t.NV="",t.JQ=null,t.MV=null,t.S9=null,t.P=null,t.B7=null,t.HO=null,t.HY=null,t.A5R=1,t.VK=1,t.A4J=1,t.L=0,t.HI=null,t.MH=[1,0],t.A9F=null,t.CG=!1,t.KT="normal",t.BO=[],t.BY=[],t.Y6=[],t.FI=[],t.L6=[],t.AY=new ZC.LQ(t),t.H6=null,t.BE=null,t.A7=null,t.CX=null,t.HF=null,t.A1A="always",t.ABH=!0,t.M7="",t.RL=null,t.KU=!1,t.UK=!1,t.NE=0,t.YJ=!1,t.Q8=!1,t.ES={true3d:1,angle:45,depth:40,"x-angle":0,"y-angle":0,"z-angle":0,zoom:1},t.AJ={"enable-guide":!1,"enable-preview":!1,"enable-scroll":!1,"enable-zooming":!0,"3d":!1,clip:!1,layout:"","enable-animation":!0,"angle-min":15,"angle-max":75,"x-angle-min":-65,"x-angle-max":65,"y-angle-min":-65,"y-angle-max":65,"z-angle-min":-65,"z-angle-max":65},t.OG=!1,t.ZE=!1,t.A9G=[],t.A1F=!0,typeof ZC.PO!==ZC._[31]&&(t.LX=new ZC.PO(t)),t.GG=!1,t.CF={},t.IY=[],t.KL=!1,t.HM=!1,t.LA=0,t.BP=[],t.A4Y=!0,t.UM=zingchart.DEV.STACKINGLOGIC,-1===t.UM&&(t.UM=0)},a11y:function(){return this.A.bA11y?ZC.Q.FP("poly","","")+'class="zc-graph-descriptor" tabindex="0" aria-label="Chart '+(this.L+1)+" of "+this.A.AG.length+", "+({vbar:"column",vbar3d:"3d column",hbar:"bar",hbar3d:"3d bar",line3d:"3d line",area3d:"3d area",pie3d:"3d pie"}[this.AF]||this.AF)+" chart. "+(this.IM?this.IM.AN:"Untitled")+". "+(this.JQ?this.JQ.AN:"")+". "+this.NV+'" id="'+this.K+'--graph" coords="0,0,1,0,1,1,0,1,0,0" data-coords="'+this.F1()+'" data-z-sort="-200" />':""},getPMap:function(){var e=this.b();return this.addPMap(e,"index","L"),e},getToggleAction:function(){var e,t=this,i="hide";return t.BE&&""!==t.E["legend-last-trigger"]&&typeof t.E["legend-last-trigger"]!==ZC._[31]?i="item"===t.E["legend-last-trigger"]?t.BE.R4:t.BE.PW:(t.o.legend&&(e=t.o.legend[ZC._[54]])&&(i=e),t.o.legend&&t.o.legend.item&&(e=t.o.legend.item[ZC._[54]])&&(i=e)),i=t.A.KD||t.E["toggle-action-remove"]?"remove":i},BW:function(e,t){typeof t===ZC._[31]&&(t=!1);for(var i=[],n=0,a=this.BO.length;n<a;n++)this.BO[n].AF===e&&(!t||0<this.BO[n].V.length)&&i.push(this.BO[n]);return i},BM:function(e){for(var t=0,i=this.BO.length;t<i;t++)if(this.BO[t].BD===e)return this.BO[t];return null},A2P:function(e){return e},ACG:function(e){return new ZC.A2O(this,e)},ACN:function(){for(var e=this,t=0,i=e.BO.length;t<i;t++){var n=e.BO[t],a=n.BD,l=(e.A.B6.load(n.o,["("+e.AF+").SCALE","("+e.AF+")."+a.replace(/\-[0-9]+/,""),"("+e.AF+")."+a.replace(/\-[0-9]+/,"-n"),"("+e.AF+")."+a],!1,!0),a.replace(/\-[0-9]+/,"")+"-n");e.o[l]&&n.append(e.o[l]),e.o[a]&&n.append(e.o[a]),e.AJ["3d"]&&e.A.B6.load(n.o,["("+e.AF+").SCALE[3d]","("+e.AF+")."+a.replace(/\-[0-9]+/,"")+"[3d]","("+e.AF+")."+a.replace(/\-[0-9]+/,"-n")+"[3d]","("+e.AF+")."+a+"[3d]"],!1,!0),e.AJ["3d"]&&n.append(e.o[a+"[3d]"]),n.parse()}},ABF:function(){return null},AA1:function(e){for(var t,i,n=0,a=this.AY.A4.length,l=0;l<a;l++)n=ZC.BR(n,this.AY.A4[l].S.length);function o(e){return e=(e=(e=e.replace(/(%N|%node-count)/g,n)).replace(/(%P|%plot-count)/g,a)).replace(/(%S|%scale-values-count)/g,i.V.length)}for(l=0,t=this.BO.length;l<t;l++)(i=this.BO[l]).AA0(e),2===e&&(i.IQ=o,i.DG())&&i.parse(),null===ZC._n_(i.o["max-items"])&&null===ZC._n_(i.o["max-labels"])&&i.A8D(),null===ZC._n_(i.o["max-ticks"])&&i.ACA()},V7:function(){},O7:function(){},ADH:function(){},AC4:function(){},setupPlotArea:function(){var e,t=this,i=t.A.B6,n="("+t.AF+")",a=(t.P=new ZC.HU(t),t.P.NY="plotarea",t.P.K=t.K+"-plotarea",[n+".plotarea"]);if(t.B7&&("xy"===t.AJ.layout?a.push(n+".plotarea[preview]"):a.push(n+".plotarea[preview[yx]]")),t.AJ["3d"]&&a.push(n+".plotarea[3d]"),i.load(t.P.o,a),t.P.append(t.o.chart),t.P.append(t.o.plotarea),t.B7&&t.P.append(t.o["plotarea[preview]"]),t.AJ["3d"]&&t.P.append(t.o["plotarea[3d]"]),"dynamic"!==t.P.o[ZC._[57]]&&"dynamic"!==t.P.o[ZC._[58]]&&"dynamic"!==t.P.o[ZC._[59]]&&"dynamic"!==t.P.o[ZC._[60]]||(a=0<(n=String(t.P.o.margin||"").split(/\s+|;|,/)).length?n[0]:"",i=1<n.length?n[1]:"",e=0<n.length?n[2]||n[0]:"",n=1<n.length?n[3]||n[1]:"","dynamic"===t.P.o[ZC._[57]]&&(a="dynamic"),"dynamic"===t.P.o[ZC._[58]]&&(i="dynamic"),"dynamic"===t.P.o[ZC._[59]]&&(e="dynamic"),"dynamic"===t.P.o[ZC._[60]]&&(n="dynamic"),t.P.o.margin=[a,i,e,n].join(" ")),t.E["plotarea-margins"]?t.P.o.margin=t.E["plotarea-margin"]:(t.E["plotarea-margins"]=!0,t.E["plotarea-margin"]=t.P.o.margin,t.E["plotarea-margin-top"]=t.P.o[ZC._[57]],t.E["plotarea-margin-right"]=t.P.o[ZC._[58]],t.E["plotarea-margin-bottom"]=t.P.o[ZC._[59]],t.E["plotarea-margin-left"]=t.P.o[ZC._[60]]),typeof t.E["plotarea-p-x"]!==ZC._[31]&&(t.P.E["p-x"]=t.E["plotarea-p-x"],t.P.E["p-y"]=t.E["plotarea-p-y"],t.P.E["p-width"]=t.E["plotarea-p-width"],t.P.E["p-height"]=t.E["plotarea-p-height"]),null!==ZC._n_(t.P.o["adjust-layout"])&&ZC._b_(t.P.o["adjust-layout"])&&(t.P.o.margin="dynamic"),t.P.parse(),t.AJ["3d"]&&!t.ES.true3d&&(a=ZC._a_(ZC._i_(t.ES.depth*ZC.EL(t.ES.angle))),t.P.iY+=a,t.P.F-=a,t.P.I-=ZC._i_(t.ES.depth*ZC.EF(t.ES.angle))),typeof t.E["plotarea-p-x"]!==ZC._[31])for(var l=0,o=t.BO.length;l<o;l++)t.BO[l].A5E(),t.BO[l].J6()},setupDynamicPlotArea:function(){var e,t,i=this,n=["top","right","bottom","left"],a={};for(B=0;B<n.length;B++)a[n[B]]=!1,i.E["plotarea.d-margin-"+n[B]]&&(i.o.plotarea["margin-"+n[B]]=null),i.o.plotarea&&"dynamic"===i.o.plotarea["margin-"+n[B]]&&(a[n[B]]=!0,i.o.plotarea["margin-"+n[B]]="20");var l=!1,o={};if("xy"===i.AJ.layout&&(l=!0),("xy"===i.AJ.layout||"yx"===i.AJ.layout)&&(i.P.E["d-margin"]||i.E["plotarea.d-margin"])){for(var r=0,C=i.BO.length;r<C;r++){var s=0,A=0,Z="",c=i.BO[r];if(c.AP&&c.TF){"k"===c.AF?Z=c.CM?"default"===c.BA?"left":"right":"default"===c.BA?"bottom":"top":"v"===c.AF&&(Z=c.CM?"default"===c.BA?"bottom":"top":"default"===c.BA?"left":"right");var h,p,u=0;if(i.P.E["d-margin-"+Z]||i.E["plotarea.d-margin-"+Z]){for(var _,d,f=new ZC.DQ(c),g=(f.copy(c.BQ),ZC.BR(1,ZC._i_((c.A1-c.W)/c.EJ))),B=c.W;B<=c.A1;B+=g)f.AN=c.FT(B),f.A24&&("k"===c.AF&&!c.CM||"v"===c.AF&&c.CM)&&(f.o[ZC._[19]]=ZC._i_(.9*c.AD)),f.parse(),f.AP&&(A=ZC.BR(A,f.AA%180==0?f.F:f.I),s=ZC.BR(s,f.AA%180==0?f.I:f.F),u=ZC.BR(u,1.5*f.DI*(f.AN||"").split(/<br>|<br\/>|<br \/>|\n/).length),"top"===Z||"bottom"===Z?(u=ZC.BR(u,.465*f.DI+1.025*ZC._a_(ZC.EL(f.AA))*ZC.BR(f.I,f.F)),s=f.I,A=u,l&&"k"===c.AF&&(o[c.BD]||(o[c.BD]=[]),_=null===ZC._n_(f.o["auto-align"])||ZC._b_(f.o["auto-align"]),d=.465*f.DI+1.025*ZC._a_(ZC.EF(f.AA))*ZC.BR(f.I,f.F),"default"===c.BA?_&&(ZC.DS(ZC._ang_(f.AA),90,180)||ZC.DS(ZC._ang_(f.AA),270,360))&&o[c.BD].push(d):_&&(ZC.DS(ZC._ang_(f.AA),0,90)||ZC.DS(ZC._ang_(f.AA),180,270))&&o[c.BD].push(d),_||o[c.BD].push(d/2))):(f.AA%360!=0&&(s=u=ZC.BR(u,.465*f.DI+1.025*ZC._a_(ZC.EF(f.AA))*ZC.BR(f.I,f.F))),A=f.F));var b=new ZC.DQ(c);b.copy(c.M),b.AN=c.M.AN,b.parse(),""!==b.AN&&b.AP&&(A+=b.AA%180==0?b.F:b.I,s+=b.AA%180==0?b.I:b.F)}i.o.plotarea||(i.o.plotarea={}),"dynamic"!==i.o.plotarea["margin-"+Z]&&!i.P.E["d-margin-"+Z]||(i.P.E["d-margin-"+Z]=!1,a[Z]=!0,i.o.plotarea["margin-"+Z]="0"),a[Z]&&(i.o.plotarea["margin-"+Z]=ZC._f_(i.o.plotarea["margin-"+Z]||"0"),i.E[c.BD+"-distance"]=i.o.plotarea["margin-"+Z],b=("top"===Z||"bottom"===Z?ZC._i_(A):ZC._i_(s))+10+(i.AJ["3d"]?20:0),c.VG?i.o.plotarea["margin-"+Z]=ZC.BR(i.o.plotarea["margin-"+Z],b):i.o.plotarea["margin-"+Z]+=b,null!==ZC._n_(i.o.plotarea["margin-"+Z+"-offset"])&&(i.o.plotarea["margin-"+Z]+=ZC._i_(i.o.plotarea["margin-"+Z+"-offset"])),i.A.TM||(p=i.A.DJ.watermark,i.A.B6.load(h={},"loader.gui.watermark"),p&&ZC._cp_(p,h),1===i.A.o[ZC._[16]].length&&i.A.o[ZC._[16]][0].gui&&(e=i.A.o[ZC._[16]][0].gui.watermark)&&ZC._cp_(e,h),p=h.position||"br",-1===ZC.AV(["tl","tr","br","bl"],p)&&(p="br"),("bottom"!==Z||"bl"!==p&&"br"!==p)&&("top"!==Z||"tl"!==p&&"tr"!==p))||(i.o.plotarea["margin-"+Z]+=15),"bottom"===Z&&("xy"===i.AJ.layout&&i.HO||"yx"===i.AJ.layout&&i.HY)&&(i.o.plotarea["margin-"+Z]+=15),"left"===Z&&("xy"===i.AJ.layout&&i.HY||"yx"===i.AJ.layout&&i.HO)&&(i.o.plotarea["margin-"+Z]+=15),i.E["plotarea.d-margin-"+Z]=!0)}}if(l&&a.left&&null!==ZC._n_(i.o.plotarea[ZC._[60]]))for(var E in o){var m=i.BM(E);for(B=0;B<o[E].length;B++)ZC._i_(i.o.plotarea[ZC._[60]])+B*m.AD+(m.DE?m.AD/2:0)-o[E][B]<0&&(i.o.plotarea[ZC._[60]]=o[E][B]-B*m.AD-(m.DE?m.AD/2:0))}ZC.Q.IW(ZC.AL(i.K+"-plotarea-c"),i.G.AB,i.P.iX,i.P.iY,i.P.I,i.P.F,i.K),i.E["plotarea.paint"]=!0,i.setupPlotArea();var D=2,v=6;null!==ZC._n_(e=i.P.o["mask-tolerance"])&&(e instanceof Array?(D=v=ZC._i_(e[0]),1<e.length&&(v=ZC._i_(e[1]))):D=v=ZC._i_(e)),i.P.E.tolerance=D,"svg"===i.G.AB?((e=ZC.AL(i.K+"-clip-shape"))&&e.setAttribute("points",i.MD(D,"svg")),(e=ZC.AL(i.K+"-clip-hover-shape"))&&e.setAttribute("points",i.MD(v,"svg"))):(ZC.A3("#"+i.K+" div").each(function(){""!==this.style.clip&&(this.style.clip=i.MD(D))}),(e=ZC.AL(i.K+"-hover"))&&""!==e.style.clip&&(e.style.clip=i.MD(v)))}for(B=0,t=i.BO.length;B<t;B++)i.BO[B].A5E(),i.BO[B].J6()},parse:function(){var e,t,i,n,a,l,o=this,r=o.A.B6,C="("+o.AF+")",s=((e=o.A.E["graph-state-"+o.L])&&(o.E=JSON.parse(e),null===ZC._n_(o.E["guide-on"])||ZC._b_(o.E["guide-on"])||(o.A1F=!1)),o.E.legend_toggle_action||(o.A.E["graph-"+o.K+"-legend-info"]=null),o.E.legend_toggle_action=null,o.M7="parse.init",o.b(),o.DH="box",o.ADH(),-1!==JSON.stringify(o.o).indexOf("zingchart.maps")&&(o.o.plotarea=o.o.plotarea||{},o.o.plotarea.margin=0),null);if(!zingchart.SKIP.CSV&&((e=o.o["html5-csv"])&&(o.RL=e["html5-url"]),(e=o.o.csv)&&("object"==typeof e?e.url?o.RL=e.url:e["data-string"]&&(s=e["data-string"]):o.RL=e),""!==o.RL&&null!==ZC._n_(o.A.A9D[o.RL])&&(s=o.A.A9D[o.RL]),s=o.G.NT||s)&&(s=o.ACG(s),o.o=s.parse()),o.KU=zingchart.ASYNC,o.assign_a([["utc","UK","b"],["timezone","NE","f"],["async","KU","b"],["stacked","CG","b"],["stack-type","KT"],["animate-type","A1A"],["url-data","A9F"],["page","LA","i"],["palette","BP"],["sort-objects","A4Y","b"],["description","NV"]]),0<o.BP.length)for(r.B6.palette=[],p=0;p<o.BP.length;p++){var A=o.BP[p],Z=ZC.AO.JR(o.BP[p],10),c=ZC.AO.PP(o.BP[p],10);r.B6.palette.push(["#fff",A,Z,c])}"pie3d"===o.AF&&(o.ES.true3d=!0),(o.AJ["3d"]||o.A.ZA)&&(o.KU=!1),o.AC4(),-1===ZC.AV(o.G.KQ,ZC._[41])&&(null===ZC._n_(e=o.o.preview)&&!r.PU("preview",o.AF)||!o.AJ[ZC._[56]]||o.B7&&!o.E["force-preview-parse"]||typeof ZC.A2D===ZC._[31]||(o.E["force-preview-parse"]=!1,o.B7=new ZC.A2D(o),o.B7.NY="preview",r.load(o.B7.o,C+".preview"),"yx"===o.AJ.layout&&r.load(o.B7.o,C+".preview[yx]"),(s=o.o.plotarea)&&o.B7.append({"background-color":s[ZC._[0]],"background-color-1":s["background-color-1"],"background-color-2":s["background-color-2"],"gradient-stops":s["gradient-stops"],"gradient-colors":s["gradient-colors"]}),o.B7.append(e),o.B7.parse()),null===ZC._n_(e=o.o["scroll-x"])&&!r.PU("scroll-x",o.AF)||!o.AJ["enable-scroll"]||o.HO||typeof ZC.ZQ===ZC._[31]||(o.HO=new ZC.ZQ(o,"x"),o.HO.NY="scrollx",r.load(o.HO.o,C+".scroll-x"),o.HO.append(e),o.HO.parse()),null===ZC._n_(e=o.o["scroll-y"])&&!r.PU("scroll-y",o.AF)||!o.AJ["enable-scroll"]||o.HY||typeof ZC.ZQ===ZC._[31]||(o.HY=new ZC.ZQ(o,"y"),o.HY.NY="scrolly",r.load(o.HY.o,C+".scroll-y"),o.HY.append(e),o.HY.parse())),o.setupPlotArea(),o.O7(),o.BO=[],o.ACN(),o.AA1(1),null!==ZC._n_(e=o.o[ZC._[11]])&&(o.AY.o=e);for(var h=o.AY.o,p=0;p<h.length;p++)if(h[p].rel)for(l=0;l<h.length;l++)h[l].id&&h[l].id===h[p].rel&&(o.AY.o[p][ZC._[5]]=[].concat(o.AY.o[l][ZC._[5]]));if(o.AY.parse(),o.AA1(2),(null!==ZC._n_(e=o.o.title)||r.PU("title",o.AF))&&(o.IM=new ZC.DQ(o),o.IM.NY="title",r.load(o.IM.o,C+".title"),o.IM.append(e),o.IM.K=o.K+"-title",o.IM.KD=!0,o.IM.parse(),null===ZC._n_(o.IM.o.x))){var u=o.iX,_=o.I;switch("plotarea"===o.IM.o["center-point"]&&(u=o.P.iX,_=o.P.I),o.IM.OF){case"left":o.IM.iX=u;break;case"center":o.IM.iX=u+_/2-o.IM.I/2;break;case"right":o.IM.iX=u+_-o.IM.I}}null===ZC._n_(e=o.o.subtitle)&&!r.PU("subtitle",o.AF)||(o.JQ=new ZC.DQ(o),o.JQ.NY="subtitle",r.load(o.JQ.o,C+".subtitle"),o.JQ.append(e),o.JQ.K=o.K+"-subtitle",o.JQ.parse()),null!==ZC._n_(e=o.o.source)&&(o.MV=new ZC.DQ(o),o.MV.NY="source",r.load(o.MV.o,C+".source"),o.MV.append(e),o.MV.K=o.K+"-source",o.MV.parse()),typeof ZC.V5===ZC._[31]||null===ZC._n_(e=o.o.legend)&&!r.PU("legend",o.AF)||(o.BE=new ZC.V5(o),o.BE.K=o.K+"-legend",typeof e.alpha!==ZC._[31]&&e.alpha<.1&&typeof e[ZC._[62]]===ZC._[31]&&typeof e["border-alpha"]===ZC._[31]&&(e["border-alpha"]=e.alpha),r.load(o.BE.o,C+".legend"),o.BE.alignPosition(e),(null!==ZC._n_(e)&&null!==ZC._n_(e.position)||null!==ZC._n_(o.BE.o.position))&&r.load(o.BE.o,C+".legend[position]"),o.BE.append(e),ZC._b_(o.BE.o.shared)&&(o.BE.E["p-x"]=o.A.iX,o.BE.E["p-y"]=o.A.iY,o.BE.E["p-width"]=o.A.I,o.BE.E["p-height"]=o.A.F),o.BE.alignPosition(e),o.BE.parse());var d,f,s=!1,g=o.iX,B=o.iY,b=o.I,E=o.F,m="",D=B,v=(o.IM&&o.IM.AP&&o.IM.o["adjust-layout"]&&(s=!0,(D=o.IM.iY+o.IM.F/2)<B+E/2)&&(m="top",E=B+E-o.IM.F-o.IM.iY,B=o.IM.iY+o.IM.F),o.JQ&&o.JQ.AP&&o.JQ.o["adjust-layout"]&&(s=!0,o.IM&&o.IM.AP||(o.JQ.iY-=20),(d=o.JQ.iY+o.JQ.F/2)<B+E/2)&&D<d&&(E-=o.JQ.F,B+=o.JQ.F),o.MV&&o.MV.AP&&o.MV.o["adjust-layout"]&&(s=!0,B+E/2<(D=o.MV.iY+o.MV.F/2))&&(E-=o.MV.F),o.B7&&o.B7.AP&&o.B7.o["adjust-layout"]&&(s=!0,"xy"===o.AJ.layout?B+E/2<(D=o.B7.AT.iY+o.B7.AT.F/2)?E-=o.B7.AT.F+o.B7.AT.DW:(B=o.B7.AT.iY+o.B7.AT.F,E-=o.B7.AT.F):(u=o.B7.AT.iX+o.B7.AT.I/2)<g+b/2?(b-=o.B7.AT.I+o.B7.AT.E0,g+=o.B7.AT.I+o.B7.AT.E0):(g=o.B7.AT.iX+o.B7.AT.I,b-=o.B7.AT.I)),o.BE&&o.BE.AP&&o.BE.o["adjust-layout"]?(s=!0,d=o.BE.D6&&o.BE.D6.enabled?15:5,"top"===m&&o.BE.iY<o.IM.iY+o.IM.F+5&&(null!==ZC._n_(o.BE.o.position)?(m=(""+o.BE.o.position).split(" "),o.BE.o.position=m[0]+" "+(o.IM.iY-o.iY+o.IM.F+o.BE.MI+d)):o.BE.o[ZC._[57]]=o.IM.iY-o.iY+o.IM.F+o.BE.MI,o.BE.parse()),o.BE.fixPlacement(),D=o.BE.iY+o.BE.F/2,m="",ZC.MAX,d=o.BE.E["position-info"],D={Bottom:o.BE.iY-o.iY,Top:o.iY+o.F-o.BE.iY-o.BE.F,Right:o.BE.iX-o.iX,Left:o.iX+o.I-o.BE.iX-o.BE.I},f="",f=!(2<o.BE.I/o.BE.F)&&(2<o.BE.F/o.BE.I||1<Math.max(D.Left*o.F,D.Right*o.F)/Math.max(D.Top*o.I,D.Bottom*o.I))?"h":"v",d?.8<=d[0]?m=d[1]<=.2?"v"===f?"top":"right":.8<=d[1]&&"v"===f?"bottom":"right":d[0]<=.2?m=d[1]<=.2?"v"===f?"top":"left":.8<=d[1]&&"v"===f?"bottom":"left":d[1]<=.2?m="top":.8<=d[1]&&(m="bottom"):Math.min(D.Top,D.Bottom)/Math.max(D.Top,D.Bottom)<Math.min(D.Left,D.Right)/Math.max(D.Left,D.Right)?D.Bottom<D.Top?(m="top",o.BE.EB):(m="bottom",o.BE.DW):D.Right<D.Left?(m="left",o.BE.E0):(m="right",o.BE.EA),f=0,"top"===m&&(E=B+E-o.BE.F-o.BE.iY,B=o.BE.iY+o.BE.F),"bottom"===m&&(E-=f=E-o.BE.iY+B+o.BE.FJ+o.BE.FX),"left"===m&&(g+=f=o.BE.iX-o.iX+o.BE.I,b-=f),"right"===m&&(b-=f=b-(o.BE.iX-o.iX)+o.BE.ER+o.BE.FO)):o.BE&&o.BE.fixPlacement(),s&&(o.E["plotarea-p-x"]=g,o.E["plotarea-p-y"]=B,o.E["plotarea-p-width"]=b,o.E["plotarea-p-height"]=E,o.setupPlotArea()),o.setupDynamicPlotArea(),o.AY.parseLayout&&o.AY.parseLayout(!0),o.B7&&o.B7.o["adjust-layout"]&&("xy"===o.AJ.layout?(null===ZC._n_(o.B7.J2.x)&&(o.B7.AT.iX=o.P.iX),null===ZC._n_(o.B7.J2[ZC._[19]])&&(o.B7.AT.I=o.P.I)):(null===ZC._n_(o.B7.J2.y)&&(o.B7.AT.iY=o.P.iY),null===ZC._n_(o.B7.J2[ZC._[20]])&&(o.B7.AT.F=o.P.F))),0);for(p=0;p<o.AY.A4.length;p++)v+=o.AY.A4[p].S.length;null!==ZC._n_(e=o.o["no-data"])&&0===v?(o.S9=new ZC.DQ(o),o.S9.NY="nodata",r.load(o.S9.o,C+".no-data"),o.S9.append({x:o.P.iX,y:o.P.iY,width:o.P.I,height:o.P.F}),o.S9.append(e),o.S9.K=o.K+"-nodata",o.S9.parse()):o.S9=null,o.E["plotarea-margins"]&&(o.E["plotarea-margins"]=null,o.o.plotarea=o.o.plotarea||{},o.o.plotarea.margin=o.E["plotarea-margin"],o.o.plotarea[ZC._[57]]=o.E["plotarea-margin-top"],o.o.plotarea[ZC._[58]]=o.E["plotarea-margin-right"],o.o.plotarea[ZC._[59]]=o.E["plotarea-margin-bottom"],o.o.plotarea[ZC._[60]]=o.E["plotarea-margin-left"]);var F=["top","right","bottom","left"];for(p=0;p<F.length;p++)o.E["plotarea.d-margin-"+F[p]]=null;if(ZC.Q.EW(o.A.K+"-tooltip"),typeof o.E.datalength!==ZC._[31]&&null!==ZC._n_(o.E.datalength)&&0<o.E.datalength.length&&"canvas"!==o.G.AB&&o.AY.A4)for(var K=0,I=o.AY.A4.length;K<I;K++){if(o.AY.A4[K].S.length<o.E.datalength[K])for(n=o.AY.A4[K].S.length,a=o.E.datalength[K];n<a;n++)i=o.K+ZC._[35]+K+"-node-"+n,ZC.Q.EW([i+"-path",i+"-area-path",i+"-sh-path"]),-1!==ZC.AV(["scatter","bubble"],o.AF)&&ZC.Q.EW([i+"-marker-gradient",i+"-marker-path",i+"-marker-sh-path",i+"-marker-circle",i+"-marker-sh-circle"]),o.EQ[K+"-"+n]=null;if(-1===ZC.AV(["scatter","bubble"],o.AF)||ZC.A3.browser.webkit)for(n=0,a=o.E.datalength[K];n<a;n++)i=o.K+ZC._[35]+K+"-node-"+n,ZC.Q.EW([i+"-marker-gradient",i+"-marker-path",i+"-marker-sh-path",i+"-marker-circle",i+"-marker-sh-circle"])}for(o.E.datalength=null,p=0,t=o.AY.A4.length;p<t;p++)o.GG=o.GG||o.AY.A4[p].GG;!o.HM&&typeof ZC.PO!==ZC._[31]||(o.GG=!1),o.GG&&(o.LX.onStop=function(){o.M7="ready"}),-1===ZC.AV(o.G.KQ,ZC._[41])&&(o.H6=new ZC.HU(o),o.H6.K=o.K+"-zoom",r.load(o.H6.o,C+".zoom"),o.H6.append(o.o.zoom),o.A7=new ZC.DQ(o),o.A7.NY="tooltip",o.o.tooltip&&o.o.tooltip[ZC._[7]]&&-1<o.o.tooltip[ZC._[7]].indexOf("node")?r.load(o.A7.o,C+".tooltip[dynamic]"):r.load(o.A7.o,C+".tooltip"),o.A7.append(o.o.tooltip),o.A7.PZ=!0,o.A7.parse(),null!==ZC._n_(e=o.o.guide)&&(o.o["crosshair-x"]=e),(null!==ZC._n_(e=o.o["crosshair-x"])||r.PU("guide",o.AF)||r.PU("crosshair-x",o.AF))&&o.AJ[ZC._[23]]&&(o.CX=new ZC.CZ(o),o.CX.NY="crosshairx",r.load(o.CX.o,[C+".guide",C+".crosshair-x"],!0,!0),o.CX.append(e),o.CX.parse(),o.E["guide-on"]=!0),null!==ZC._n_(e=o.o["crosshair-y"])||r.PU("crosshair-y",o.AF))&&o.AJ[ZC._[23]]&&(o.HF=new ZC.CZ(o),o.HF.NY="crosshairy",r.load(o.HF.o,[C+".guide",C+".crosshair-y"],!0,!0),o.HF.append(e),o.HF.parse(),o.E["guide-on"]=!0),o.P3(),ZC.AO.C0("gparse",o.A,o.H2()),null!==ZC._n_(e=o.o.refresh)&&(o.HI={type:"full",interval:10,transport:"http",method:"pull","adjust-scale":!1,"max-ticks":20,"reset-timeout":100,"stop-timeout":0,storage:!1,"storage-size":1e3},ZC._cp_(e,o.HI),o.UM=1),o.M7="parse.complete"},P3:function(){},Q6:function(){},MD:function(e,t,i){var n=this,a=(i=i||n.P).iX,l=i.iY,o=i.I,i=i.F;if("svg"!==t)return"box"===t?a-e+","+(l-e)+","+(o+2*e)+","+(i+2*e):(n.AJ["3d"]&&(e+=10),"rect("+(l-e)+"px,"+(a+o+e)+"px,"+(l+i+e)+"px,"+(a-e)+"px)");if(n.AJ["3d"]){var r,C,s,A=[],Z=(e=1,[]),t=a-ZC.AM.E1,c=l-ZC.AM.E2,h=new ZC.CE(n,t+o/2-e,c-e,ZC.AM.FE),p=ZC._i_(h.EC[1]);h=new ZC.CE(n,t+o/2-e,c-e,0),s=ZC._i_(h.EC[1]),Z.push(new ZC.CE(n,t-e,c-e,p<s?ZC.AM.FE:0),new ZC.CE(n,t+o+e,c-e,p<s?ZC.AM.FE:0)),h=new ZC.CE(n,t+o-e,c+i/2-e,ZC.AM.FE),r=ZC._i_(h.EC[0]),h=new ZC.CE(n,t+o-e,c+i/2-e,0),C=ZC._i_(h.EC[0]),Z.push(new ZC.CE(n,t+o+e,c-e,C<r?ZC.AM.FE:0),new ZC.CE(n,t+o+e,c+i+e,C<r?ZC.AM.FE:0)),h=new ZC.CE(n,t+o/2-e,c+i+e,ZC.AM.FE),p=ZC._i_(h.EC[1]),h=new ZC.CE(n,t+o/2-e,c+i+e,0),s=ZC._i_(h.EC[1]),Z.push(new ZC.CE(n,t+o+e,c+i+e,s<p?ZC.AM.FE:0),new ZC.CE(n,t-e,c+i+e,s<p?ZC.AM.FE:0)),h=new ZC.CE(n,t-e,c+i/2-e,ZC.AM.FE),r=ZC._i_(h.EC[0]),h=new ZC.CE(n,t-e,c+i/2-e,0),C=ZC._i_(h.EC[0]),Z.push(new ZC.CE(n,t-e,c+i+e,r<C?ZC.AM.FE:0),new ZC.CE(n,t-e,c-e,r<C?ZC.AM.FE:0)),Z.push(Z[0]);for(var u=0;u<Z.length;u++)h=Z[u],A.push([ZC._i_(h.EC[0]),ZC._i_(h.EC[1])].join(","));return A.join(" ")}return[[a-e,l-e].join(","),[a+o+e,l-e].join(","),[a+o+e,l+i+e].join(","),[a-e,l+i+e].join(","),[a-e,l-e].join(",")].join(" ")},autoFit:function(){var e=this;if(e.AJ["3d"]&&e.ES["auto-fit"]){var t=!1;for(e.ES.zoom=1;!t&&.25<e.ES.zoom;){for(var t=!0,i=e.MD(0,"svg").split(" "),n=0;n<i.length;n++){var a=i[n].split(",");(ZC._i_(a[0])<e.iX+e.P.E0||ZC._i_(a[0])>e.iX+e.I-e.P.EA||ZC._i_(a[1])<e.iY+e.P.EB||ZC._i_(a[1])>e.iY+e.F-e.P.DW)&&(t=!1)}t||(e.ES.zoom-=.05),t&&(e.ES.zoom-=.025)}}},build:function(){var e,t,i,n,a,l,o,r=this,C=r.A.I+"/"+r.A.F,s="0/0";if(r.autoFit(),!r.G.usc()){var A=2,Z=6,c=(null!==ZC._n_(c=r.P.o["mask-tolerance"])&&(c instanceof Array?(A=Z=ZC._i_(c[0]),1<c.length&&(Z=ZC._i_(c[1]))):A=Z=ZC._i_(c)),"svg"===r.A.AB&&r.AJ.clip&&(ZC.Q.EW([r.K+"-clip",r.K+"-clip-hover",r.K+"-clip-preview"]),r.A.KB.appendChild(ZC.Q.XL({id:r.K+"-clip",path:r.MD(A,"svg")})),r.A.KB.appendChild(ZC.Q.XL({id:r.K+"-clip-hover",path:r.MD(Z,"svg")})),r.B7)&&(c=r.AJ["3d"],r.AJ["3d"]=!1,r.A.KB.appendChild(ZC.Q.XL({id:r.K+"-clip-preview",path:r.MD(0,"svg",r.B7.AT)})),r.AJ["3d"]=c),!r.AJ.clip),h=c?null:r.MD(A),p=c?null:"url(#"+r.K+"-clip)",u=c?null:r.MD(Z),_=c?null:"url(#"+r.K+"-clip-hover)";if(r.B7&&(n=c?null:r.MD(0,r.A.AB,r.B7.AT),a=c?null:"url(#"+r.K+"-clip-preview)"),ZC.Q.K6({cls:"zc-abs",id:r.K,p:ZC.AL(r.A.K+"-graphset"),tl:s,wh:C},r.A.AB),r.A.O1.graph&&ZC.Q.HL({cls:ZC._[24]+" zc-persistent",id:r.K+"-c",p:ZC.AL(r.K),wh:C},r.A.AB),ZC.Q.K6({id:r.K+"-plotarea",p:ZC.AL(r.K),tl:s,wh:C,position:"absolute"},r.A.AB),r.o.plotarea&&r.A.O1.plotarea&&ZC.Q.HL({cls:ZC._[24],id:r.K+"-plotarea-c",p:ZC.AL(r.K+"-plotarea"),wh:C},r.A.AB),"null"!==r.AF&&r.A.O1.plots){for(ZC.Q.K6({id:r.K+"-scales-bl",p:ZC.AL(r.K),tl:s,wh:C,position:"absolute","clip-path":p,clip:h},r.A.AB),e=0;e<r.A5R;e++)ZC.Q.HL({cls:ZC._[24],id:r.K+"-scales-bl-"+e+"-c",p:ZC.AL(r.K+"-scales-bl"),wh:C},r.A.AB);if(r.AY.E["plot-sort"]){for(e=0,t=r.AY.A4.length;e<t;e++){for(r.AY.A4[e].UL={},i=0;i<r.AY.A4[e].SW;i++)ZC.Q.EW(r.K+"-plots-bl-"+i);for(i=0;i<r.AY.A4[e].A1B;i++)ZC.Q.EW(r.K+"-plots-fl-"+i)}delete r.AY.E["plot-sort"]}if(r.A.KD||r.AJ["3d"])ZC.AL(r.K+"-plots-bl")||ZC.Q.K6({id:r.K+"-plots-bl",p:ZC.AL(r.K),after:ZC.AL(r.K+"-scales-bl"),tl:s,wh:C,position:"absolute","clip-path":p,clip:h},r.A.AB),(l=ZC.Q.HL({cls:"zc-abs zc-layer zc-bl",id:r.K+"-plots-bl-c",p:ZC.AL(r.K+"-plots-bl"),wh:C},r.A.AB)).setAttribute("data-clip",r.MD(A,"box"));else for(e=0,t=r.AY.A4.length;e<t;e++)for(o=r.AY.MA[e],i=r.AY.A4[e].SW-1;0<=i;i--)ZC.AL(r.K+"-plots-bl-"+i)||ZC.Q.K6({id:r.K+"-plots-bl-"+i,p:ZC.AL(r.K),after:ZC.AL(r.K+"-scales-bl"),tl:s,wh:C,position:"absolute","clip-path":p,clip:h},r.A.AB),(l=ZC.Q.HL({cls:"zc-abs zc-layer zc-bl",id:r.K+"-plot-"+o+"-bl-"+i+"-c",p:ZC.AL(r.K+"-plots-bl-"+i),wh:C},r.A.AB)).setAttribute("data-clip",r.MD(A,"box")),l.style.display="block";for(e=0;e<r.VK;e++)ZC.Q.HL({cls:ZC._[24],id:r.K+"-scales-ml-"+e+"-c",p:ZC.AL(r.K),wh:C},r.A.AB);if(r.A.KD||r.AJ["3d"])ZC.AL(r.K+"-plots-fl")||ZC.Q.K6({id:r.K+"-plots-fl",p:ZC.AL(r.K),after:ZC.AL(r.K+"-scales-ml-"+(r.VK-1)+"-c"),tl:s,wh:C,position:"absolute"},r.A.AB),(l=ZC.Q.HL({cls:"zc-abs zc-layer zc-fl",id:r.K+"-plots-fl-c",p:ZC.AL(r.K+"-plots-fl"),wh:C},r.A.AB)).setAttribute("data-clip",r.MD(Z,"box"));else for(e=0,t=r.AY.A4.length;e<t;e++)for(o=r.AY.MA[e],i=r.AY.A4[e].A1B-1;0<=i;i--)ZC.AL(r.K+"-plots-fl-"+i)||ZC.Q.K6({id:r.K+"-plots-fl-"+i,p:ZC.AL(r.K),after:ZC.AL(r.K+"-scales-ml-"+(r.VK-1)+"-c"),tl:s,wh:C,position:"absolute"},r.A.AB),(l=ZC.Q.HL({cls:"zc-abs zc-layer zc-fl",id:r.K+"-plot-"+o+"-fl-"+i+"-c",p:ZC.AL(r.K+"-plots-fl-"+i),wh:C},r.A.AB)).setAttribute("data-clip",r.MD(Z,"box")),l.style.display="block";for(zingchart.DEV.PLOTSHLAYER&&(ZC.Q.K6({id:r.K+"-plots-hover",p:ZC.AL(r.K),tl:s,wh:C,position:"absolute"},r.A.AB),ZC.Q.HL({cls:"zc-abs zc-layer zc-fl",id:r.K+"-plots-hover-c",p:ZC.AL(r.K+"-plots-hover"),wh:C},r.A.AB)),ZC.Q.K6({id:r.K+"-scales-fl",p:ZC.AL(r.K),tl:s,wh:C,position:"absolute","clip-path":p,clip:h},r.A.AB),e=0;e<r.A4J;e++)ZC.Q.HL({cls:ZC._[24],id:r.K+"-scales-fl-"+e+"-c",p:ZC.AL(r.K+"-scales-fl"),wh:C},r.A.AB);if(r.B7&&(ZC.Q.K6({id:r.K+"-preview",p:ZC.AL(r.A.K+"-tools"),tl:s,wh:C,position:"absolute","clip-path":a,clip:n},r.A.AB),ZC.Q.HL({cls:"zc-abs",id:r.K+"-preview-c",p:ZC.AL(r.K+"-preview"),wh:C},r.A.AB)),ZC.Q.K6({id:r.K+"-scroll",p:ZC.AL(r.K),tl:s,wh:C,position:"absolute"},r.A.AB),r.o["scroll-x"]&&ZC.Q.HL({cls:"zc-abs",id:r.K+"-scroll-x-c",p:ZC.AL(r.K+"-scroll"),wh:C},r.A.AB),r.o["scroll-y"]&&ZC.Q.HL({cls:"zc-abs",id:r.K+"-scroll-y-c",p:ZC.AL(r.K+"-scroll"),wh:C},r.A.AB),ZC.Q.K6({id:r.K+"-plots-vb",p:ZC.AL(r.K),tl:s,wh:C,position:"absolute"},r.A.AB),r.A.O1[ZC._[17]])if(r.A.KD||r.AJ["3d"])ZC.Q.HL({cls:"zc-abs zc-layer zc-vb",id:r.K+"-plots-vb-c",p:ZC.AL(r.K+"-plots-vb"),wh:C},r.A.AB);else for(e=0,t=r.AY.A4.length;e<t;e++)ZC.Q.HL({cls:"zc-abs zc-layer zc-vb",id:r.K+"-plot-"+e+"-vb-c",p:ZC.AL(r.K+"-plots-vb"),wh:C},r.A.AB)}(r.o.title||r.o.subtitle||r.o.source||r.o["no-data"])&&(ZC.Q.K6({id:r.K+"-titles",p:ZC.AL(r.K),tl:s,wh:C,position:"absolute"},r.A.AB),ZC.Q.HL({cls:ZC._[24],id:r.K+"-titles-c",p:ZC.AL(r.K+"-titles"),wh:C},r.A.AB)),ZC.Q.K6({cls:"zc-abs",wh:C,id:r.K+"-hover",p:ZC.AL(r.A.K+"-hover"),"clip-path":_,clip:u},r.A.AB),"canvas"===r.A.AB&&(ZC.AL(r.K+"-hover").style.clip=u),ZC.Q.HL({cls:ZC._[24],id:r.K+ZC._[22],p:ZC.AL(r.K+"-hover"),wh:C},r.A.AB),r.A.O1.maps&&-1!==JSON.stringify(r.o).indexOf("zingchart.maps")&&(ZC.Q.K6({cls:"zc-abs",wh:C,id:r.K+"-objects-maps",p:ZC.AL(r.A.K+"-objects-maps"),"clip-path":_,clip:u},r.A.AB),ZC.Q.HL({cls:ZC._[24],id:r.K+"-objects-maps-sh-c",p:ZC.AL(r.K+"-objects-maps"),wh:C},r.A.AB),ZC.Q.HL({cls:ZC._[24],id:r.K+"-objects-maps-c",p:ZC.AL(r.K+"-objects-maps"),wh:C},r.A.AB),ZC.Q.HL({cls:ZC._[24],id:r.K+"-objects-maps-click-c",p:ZC.AL(r.K+"-objects-maps"),wh:C},r.A.AB),ZC.Q.HL({cls:ZC._[24],id:r.K+"-objects-maps-hover-c",p:ZC.AL(r.K+"-objects-maps"),wh:C},r.A.AB),ZC.Q.HL({cls:ZC._[24],id:r.K+"-objects-maps-print-c",p:ZC.AL(r.K+"-objects-maps"),wh:C,display:"none"},r.A.AB)),r.initObjectsLayers(),r.o.legend&&(ZC.Q.HL({cls:ZC._[24],id:r.K+"-legend-c",p:ZC.AL(r.A.K+"-legend"),wh:C},r.A.AB),ZC.Q.HL({cls:ZC._[24],id:r.K+"-legend-scroll-c",p:ZC.AL(r.A.K+"-legend"),wh:C},r.A.AB))}r.Z=r.G.usc()?r.G.mc():ZC.AL(r.K+"-c")},initObjectsLayers:function(){var e=this,t=e.A.I+"/"+e.A.F;!ZC.AL(e.K+"-objects-bottom")&&e.A.O1["objects-bottom"]&&(e.o.shapes||e.o[ZC._[10]]||e.o.arrows||e.o.images)&&(ZC.Q.K6({cls:"zc-abs",wh:t,id:e.K+"-objects-bottom",p:ZC.AL(e.A.K+"-objects-bottom")},e.A.AB),ZC.Q.HL({cls:ZC._[24],id:e.K+"-objects-bottom-sh-c",p:ZC.AL(e.K+"-objects-bottom"),wh:t},e.A.AB),ZC.Q.HL({cls:ZC._[24],id:e.K+"-objects-bottom-c",p:ZC.AL(e.K+"-objects-bottom"),wh:t},e.A.AB)),!ZC.AL(e.K+"-objects-top")&&e.A.O1["objects-top"]&&(e.o.shapes||e.o[ZC._[10]]||e.o.arrows||e.o.images)&&(ZC.Q.K6({cls:"zc-abs",wh:t,id:e.K+"-objects-top",p:ZC.AL(e.A.K+"-objects-top")},e.A.AB),ZC.Q.HL({cls:ZC._[24],id:e.K+"-objects-top-sh-c",p:ZC.AL(e.K+"-objects-top"),wh:t},e.A.AB),ZC.Q.HL({cls:ZC._[24],id:e.K+"-objects-top-c",p:ZC.AL(e.K+"-objects-top"),wh:t},e.A.AB)),(e.A.O1["objects-bottom"]||e.A.O1["objects-top"])&&(e.o.shapes||e.o[ZC._[10]]||e.o.arrows)&&ZC.Q.HL({cls:ZC._[24],id:e.K+"-objects-print-c",p:ZC.AL(e.K+"-objects-top"),wh:t,display:"none"},e.A.AB),!ZC.AL(e.K+"-objects-click")&&(e.A.O1["objects-bottom"]||e.A.O1["objects-top"])&&(e.o.shapes||e.o[ZC._[10]]||e.o.arrows||e.o.images)&&(ZC.Q.K6({cls:"zc-abs",wh:t,id:e.K+"-objects-click",p:ZC.AL(e.A.K+"-hover")},e.A.AB),ZC.Q.HL({cls:ZC._[24],id:e.K+"-objects-click-c",p:ZC.AL(e.K+"-objects-click"),wh:t},e.A.AB)),!ZC.AL(e.K+"-objects-hover")&&(e.A.O1["objects-bottom"]||e.A.O1["objects-top"])&&(e.o.shapes||e.o[ZC._[10]]||e.o.arrows||e.o.images)&&(ZC.Q.K6({cls:"zc-abs",wh:t,id:e.K+"-objects-hover",p:ZC.AL(e.A.K+"-hover")},e.A.AB),ZC.Q.HL({cls:ZC._[24],id:e.K+"-objects-hover-c",p:ZC.AL(e.K+"-objects-hover"),wh:t},e.A.AB))},A0P:function(){},clear_:function(){},destroy:function(){var e,t=this;null!==ZC._n_(e=t.A.SE[t.K])&&"feed"===t.HI.type&&(e.send("zingchart.stopfeed"),e.close(),t.A.SE[t.K]=null),t.GG&&t.LX.stop(!0),t.M7="clear.init",t.unbind(),t.BE&&t.BE.unbind(),t.B7&&t.B7.unbind(),t.HO&&t.HO.unbind(),t.HY&&t.HY.unbind(),t.M7="clear.complete"},clear:function(n,a){null===ZC._n_(n)&&(n=!1),null===ZC._n_(a)&&(a=!1);var l,o=this;if(o.TG={},null===ZC._n_(t=o.A.SE[o.K])||n||"feed"===o.HI.type&&(t.send("zingchart.stopfeed"),t.close(),o.A.SE[o.K]=null),o.GG&&o.LX.stop(!0),o.M7="clear.init",o.unbind(n),o.A0P(!1,!0),o.LN(),o.LN("click"),o.LN("guide",!0),o.LN("print",!0),o.LN("textprint",!0),n||o.B7&&(!o.B7||o.B7.KU)||o.LN("static",!0),this.o[ZC._[10]])for(var e=this.o[ZC._[10]].length-1;0<=e;e--)this.o[ZC._[10]][e].cls&&"zcScaleMarkerLabel"===this.o[ZC._[10]][e].cls&&this.o[ZC._[10]].splice(e,1);o.AY.W5=[],o.A.SY=[],zingchart.SKIP.LEGEND||o.BE&&o.BE.clear(),o.E.datalength=[];var t=ZC.ie67?ZC.AL(o.A.K):null;if(ZC.A3("."+o.K+"-legend-item-a11yarea",t).remove(),ZC.mobile||ZC.ie67)ZC.A3("."+o.K+"-node-area",t).remove();else if(ZC.AL(o.A.K+"-img")&&ZC.AL(o.A.K+"-map")){ZC.AL(o.A.K+"-img").setAttribute("useMap","");var i,r=ZC.AL(o.A.K+"-map").cloneNode(!0);for(e=(i=r.childNodes.length)-1;0<=e;e--)-1!==r.childNodes[e].className.indexOf(o.K+"-node-area")&&r.removeChild(r.childNodes[e]);ZC.Q.EW(o.A.K+"-map"),ZC.AL(o.A.K+"-top").appendChild(r),ZC.AL(o.A.K+"-img").setAttribute("useMap","#"+o.A.K+"-map")}if(ZC.Q.EW(o.K+"--graph"),o.AY.H3=[],ZC.A3("."+o.K+"-value-box",t).remove(),ZC.A3("."+o.K+"-scale-marker-label",t).remove(),ZC.A3("."+o.K+"-scale-item",t).remove(),ZC.A3("."+o.K+"-scale-label",t).remove(),ZC.A3("."+o.K+"-guide-label",t).remove(),ZC.A3("."+o.K+"-shape-label",t).remove(),ZC.A3("."+o.K+"-mapshape-label",t).remove(),ZC.A3("."+o.K+"-node-errorbars",t).remove(),n||o.B7&&!o.B7.KU&&ZC.A3("."+o.K+"-preview-item",t).remove(),"svg"===o.A.AB){for(e=0,i=o.AY.A4.length;e<i;e++)o.AY.A4[e].HN=null;ZC.A3("#"+o.A.K+"-defs").children().each(function(){"LINK"===this.tagName.toUpperCase()||0!==this.id.indexOf(o.K+"-")&&1!==o.A.AG.length||(n?this.id===o.K+"-gradient"||-1!==this.id.indexOf("-preview-gradient")||-1!==this.id.indexOf("-menu-trigger-gradient")||-1===this.id.indexOf(o.K+ZC._[35])||a&&o.GG||-1!==this.id.indexOf(o.K+"-legend-")&&zingchart.SKIP.LEGEND||ZC.A3(this).remove():-1===this.id.indexOf("zc-menu-")&&-1===this.id.indexOf("-menu-trigger-")&&(-1!==this.id.indexOf(o.K+"-legend-")?zingchart.SKIP.LEGEND||ZC.A3(this).remove():o.B7&&o.B7.KU&&-1!==this.id.indexOf("-preview-gradient")||ZC.A3(this).remove()))}),n||ZC.Q.EW([o.K+"-clip",o.K+"-clip-hover",o.K+"-clip-preview"]),ZC.A3("#"+o.A.K+"-svg").children().each(function(){var e=o.K+"-";"clippath"===this.tagName.toLowerCase()&&this.id.substring(0,e.length)===e&&this.id!==o.K+"-clip"&&this.id!==o.K+"-clip-hover"&&this.id!==o.K+"-clip-preview"&&ZC.Q.EW(this.id)})}ZC.Q.EW(o.K+"-nodata"),ZC.Q.EW(o.A.K+"-tooltip-text-float"),n||(ZC.Q.EW([o.K+"-title",o.K+"-subtitle",o.K+"-source",o.K+"-hover"]),zingchart.SKIP.LEGEND||o.BE&&(ZC.Q.EW(o.K+"-legend-c"),ZC.Q.EW(o.K+"-legend-scroll-c"),ZC.A3("."+o.K+"-legend-item-area",t).remove(),ZC.A3("."+o.K+"-legend-marker-area",t).remove(),ZC.A3("."+o.K+"-legend-item",t).remove(),ZC.A3("."+o.K+"-legend-header",t).remove(),ZC.A3("."+o.K+"-legend-footer",t).remove(),ZC.A3("."+o.K+"-legend-frame",t).remove(),o.BE.gc(),o.BE=null),!o.B7||o.B7.KU&&!o.A.E.resize||(o.B7.unbind(),ZC.A3("."+o.K+"-preview-handler").remove(),ZC.A3("."+o.K+"-preview-mask").remove(),ZC.A3("#"+o.K+"-preview").remove(),o.B7.gc(),o.B7=null),o.HO&&(o.HO.unbind(),o.HO=null),ZC.Q.IW(ZC.AL(o.K+"-scroll-x-c"),o.A.AB,o.iX,o.iY,o.I,o.F,o.K),ZC.Q.IW(ZC.AL(o.K+"-scroll-y-c"),o.A.AB,o.iX,o.iY,o.I,o.F,o.K),ZC.A3("#"+o.K+"-scroll-x-handle").remove(),ZC.A3("#"+o.K+"-scroll-x-bar").remove(),o.HY&&(o.HY.unbind(),o.HY=null),ZC.A3("#"+o.K+"-scroll-y-handle").remove(),ZC.A3("#"+o.K+"-scroll-y-bar").remove(),ZC.A3("#"+o.K+"-c").empty(),o.G.QT[0]!==o.G.QT[1]&&""!==o.G.QT[1]&&("canvas"===o.G.AB&&ZC.A3("#"+o.K+" canvas").each(function(){this.width=1,this.height=1,ZC.Q.EW(this)}),ZC.A3("#"+o.K+" div").each(function(){ZC.Q.EW(this)}),ZC.Q.EW(o.K))),ZC.A3("#"+o.K+" .zc-layer").each(function(){var e=ZC.Q.TC(this);if(-1===e.indexOf("zc-persistent")&&(!n||this.id!==o.K+"-plotarea-c"&&this.id!==o.K+"-titles-c"))if(-1===this.id.indexOf(o.K+"-plot-")&&-1===this.id.indexOf(o.K+"-plots-"))ZC.Q.IW(this,o.G.AB,o.iX,o.iY,o.I,o.F,o.K);else if(a&&o.GG&&!o.HM){if("canvas"!==o.G.AB)for(var t=0,i=o.AY.A4.length;t<i;t++)o.E.datalength[t]=o.AY.A4[t].S.length;(l=(o.A.KD?new RegExp("-plots-[a-z]+-c","g"):new RegExp("-plot-(\\d+)-[a-z]+-\\d+-","g")).exec(this.id))&&(!o.E["plot"+l[1]+".visible"]&&"remove"===o.getToggleAction()||o.A.KD)&&ZC.Q.IW(this,o.G.AB,o.iX,o.iY,o.I,o.F,o.K),-1===e.indexOf("zc-vb")&&-1===e.indexOf("zc-fl")||ZC.Q.IW(this,o.G.AB,o.iX,o.iY,o.I,o.F,o.K)}else ZC.Q.IW(this,o.G.AB,o.iX,o.iY,o.I,o.F,o.K)}),-1!==ZC.AV(o.G.KQ,ZC._[44])&&((t=ZC.AL(o.G.K+"-main-c"))&&ZC.Q.IW(t,o.G.AB,o.iX,o.iY,o.I,o.F,o.K),(t=ZC.AL(o.G.K+"-main-c-top"))&&ZC.Q.IW(t,o.G.AB,o.iX,o.iY,o.I,o.F,o.K),t=ZC.AL(o.G.K+ZC._[15]))&&ZC.Q.IW(t,o.G.AB,o.iX,o.iY,o.I,o.F,o.K),o.clear_(),o.A.E.resize=!1,o.M7="clear.complete"},unbind:function(e,t){null===ZC._n_(e)&&(e=!1);e=this;-1!==ZC.AV(e.G.KQ,ZC._[41])&&!t||(ZC.A3("."+e.K+"-node-area").die("mousedown mouseover touchstart",e.X3).die("mouseup mouseout touchend",e.A1O).die("mousemove touchmove",e.A0T).die("click",e.TI).die("contextmenu",e.TI).die("dblclick",e.A1P),!e.BE)||zingchart.SKIP.LEGEND||(ZC.A3("."+e.K+"-legend-item-area").die("mouseup touchstart",e.SS).die("DOMMouseScroll",e.zc_legend_mousescroll).die("mousewheel",e.zc_legend_mousescroll),ZC.A3("."+e.K+"-legend-marker-area").die("mouseup touchstart",e.SS).die("DOMMouseScroll",e.zc_legend_mousescroll).die("mousewheel",e.zc_legend_mousescroll),ZC.A3("#"+e.K+"-legend-frame").die("DOMMouseScroll",e.zc_legend_mousescroll).die("mousewheel",e.zc_legend_mousescroll),ZC.mobile)||(ZC.A3("."+e.K+"-legend-item-area").die(ZC.Q.C1("mouseover"),e.O4).die(ZC.Q.C1("mouseout"),e.OE).die(ZC.Q.C1(ZC._[48]),e.PT),ZC.A3("."+e.K+"-legend-marker-area").die(ZC.Q.C1("mouseover"),e.O4).die(ZC.Q.C1("mouseout"),e.OE).die(ZC.Q.C1(ZC._[48]),e.PT)),e.AC8()},AC8:function(){},SI:function(){},R3:function(){},KM:function(){},SM:function(){},S5:function(){},LN:function(e,t){var i=this,n=(e=e||"hover",null===ZC._n_(t)&&(t=!1),ZC.AL((t?i.A:i).K+"-"+e+"-c"));n&&(ZC.Q.IW(n,i.G.AB,i.iX,i.iY,i.I,i.F,i.K,"textprint"===e),ZC.A3("."+i.K+"-label-hover").remove()),"hover"===e&&(ZC.Q.IW(ZC.AL(i.K+"-objects-hover-c"),i.G.AB,i.iX,i.iY,i.I,i.F,i.K),ZC.Q.IW(ZC.AL(i.K+"-objects-maps-hover-c"),i.G.AB,i.iX,i.iY,i.I,i.F,i.K),zingchart.DEV.PLOTSHLAYER)&&ZC.Q.IW(ZC.AL(i.K+"-plots-hover-c"),i.G.AB,i.iX,i.iY,i.I,i.F,i.K),"click"===e&&(ZC.Q.IW(ZC.AL(i.K+"-objects-click-c"),i.G.AB,i.iX,i.iY,i.I,i.F,i.K),ZC.Q.IW(ZC.AL(i.K+"-objects-maps-click-c"),i.G.AB,i.iX,i.iY,i.I,i.F,i.K)),i.hideLayer_(e,t)},hideLayer_:function(){},A71:function(e,t){var i,n=this;if(null!==ZC._n_(e)&&null!==ZC._n_(t)){var a=n.AY.A4[e].J4,l=n.AY.A4[e].RQ;if("none"===a)return;if(null!==ZC._n_(n.CF["p"+e])){if(null!==ZC._n_(n.CF["p"+e]["n"+t])){if(delete n.CF["p"+e]["n"+t],l)for(i=0;i<n.AY.A4.length;i++)delete n.CF["p"+i]["n"+t]}else if("graph"===a?(n.CF={},n.CF["p"+e]={}):"plot"===a&&(n.CF["p"+e]={}),n.CF["p"+e]["n"+t]=!0,l)for(i=0;i<n.AY.A4.length;i++)n.CF["p"+i]=n.CF["p"+i]||{},n.CF["p"+i]["n"+t]=!0}else if("graph"===a&&(n.CF={}),n.CF["p"+e]={},n.CF["p"+e]["n"+t]=!0,l)for(i=0;i<n.AY.A4.length;i++)n.CF["p"+i]=n.CF["p"+i]||{},n.CF["p"+i]["n"+t]=!0}null!==ZC._n_(e)&&null!==ZC._n_(t)&&(n.HM=!0,n.KC(!0,!0))},paint:function(e){null===ZC._n_(e)&&(e=!1);for(var o,t,i,n,a,l,r,C,s,A=this,Z=(A.A.GRAPHID=A.K,A.UZ=e,window.clearTimeout(ZC.ASYNC_TICK[A.K]),A.A.clearLabelBoxes("vb"+A.L),A.BW("k")[0]),c=ZC.MAX,h=-ZC.MAX,p={},u=A.AY.A4,_=0,d=0;d<u.length;d++)if(u[d].o.rel)for(r=0;r<u.length;r++)if(u[r].o.id&&u[r].o.id===u[d].o.rel){_++;for(var f=!0,g=[],B=0;B<u[r].S.length;B++)(Z.EI?u[r].S[B].BV>=Z.B0&&u[r].S[B].BV<=Z.BF:u[r].S[B].L>=Z.W&&u[r].S[B].L<=Z.A1)?(a=u[r].S[B].AC,c=Math.min(c,a),h=Math.max(h,a),f?(f=!1,u[r].S[B].BV?g.push([u[r].S[B].BV,0]):g.push(0),s=a):u[r].S[B].BV?g.push([u[r].S[B].BV,100*(a-s)/s]):g.push(100*(a-s)/s)):u[r].S[B].BV?g.push([u[r].S[B].BV,0]):g.push(0);p["p-"+d]=[].concat(g)}if(0<_){for(c=ZC.MAX,h=-ZC.MAX,d=0;d<u.length;d++)if(u[d].o.rel&&p["p-"+d])for(B=0;B<u[d].S.length;B++)2===(l=p["p-"+d][B]).length?(a=l[1],u[d].V[B]=l,u[d].S[B].AC=u[d].S[B].CR=l[1]):u[d].V[B]=u[d].S[B].AC=u[d].S[B].CR=a=l,u[d].FM(B),c=Math.min(c,a),h=Math.max(h,a);var e=A.BW("v")[0];e.QN(c,h,!0),e.J6()}for(A.A.E["g-"+A.L+"-selection"]&&(A.CF=JSON.parse(A.A.E["g-"+A.L+"-selection"])),A.KL=!1,t=0,i=A.AY.A4.length;t<i;t++)A.IY[t]=!1;for(t in A.CF)if(A.CF.hasOwnProperty(t)){var b=ZC._i_(t.replace("p",""));for(C in A.CF[t])if(A.CF[t].hasOwnProperty(C)){A.IY[b]=!0,A.KL=!0;break}}function E(){var e,t,i,n,a,l;A.AJ["3d"]?(e=ZC.DL.DD(A.P,A,A.P.iX-ZC.AM.E1,A.P.iX-ZC.AM.E1+A.P.I,A.P.iY-ZC.AM.E2,A.P.iY-ZC.AM.E2+A.P.F,ZC.AM.FE+10,ZC.AM.FE+10,"y"),(i=ZC.DL.DD(A.P,A,A.P.iX-ZC.AM.E1,A.P.iX-ZC.AM.E1+A.P.I,A.P.iY-ZC.AM.E2,A.P.iY-ZC.AM.E2+A.P.F,ZC.AM.FE,ZC.AM.FE,"y")).K=A.K+"-plotarea",i.PD=e.D,A.CN.add(i)):(A.P.Z=A.P.C8=A.G.usc()?A.G.mc():ZC.AL(A.K+"-plotarea-c"),e=[A.P.iX,A.P.iY,A.P.I,A.P.F],i=A.P.AU,n=A.P.AU,a=A.P.AU,l=A.P.AU,""!==(o=A.P.Q1)&&(t=o.split(/\s/),i=ZC._i_(t[0])),""!==(o=A.P.OO)&&(t=o.split(/\s/),n=ZC._i_(t[0])),""!==(o=A.P.NQ)&&(t=o.split(/\s/),a=ZC._i_(t[0])),""!==(o=A.P.PE)&&(t=o.split(/\s/),l=ZC._i_(t[0])),A.P.iX-=l+1,A.P.iY-=i+1,A.P.I+=l+n+1,A.P.F+=i+a+1,A.P.paint(),A.P.iX=e[0],A.P.iY=e[1],A.P.I=e[2],A.P.F=e[3])}if(A.A.A0O(),A.O7(),A.UZ?A.E["plotarea.paint"]&&(E(),A.E["plotarea.paint"]=null):(A.build(),A.Z&&(A.C8=A.Z,A.b()),E()),"xy"===A.AJ.layout||"yx"===A.AJ.layout){var m=A.BW("v"),D=null;for(B=0;B<m.length;B++)(0===B||m[B].o["ref-zero"])&&m[B].FQ<=0&&0<=m[B].GW&&m[B].TF&&(D=B);if(null!==ZC._n_(D)){var v=m[D].AR(0);for(B=0;B<m.length;B++)if(B!==D&&m[B].o["sync-zero"]&&m[B].FQ<=0&&0<=m[B].GW&&m[B].TF){var F=m[B].AR(0);if(1<=ZC._a_(F-v))for(var K=!0,I=0;K;)v<F?m[B].CM?m[B].AW?m[B].A9+=1:m[B].BU+=1:m[B].AW?m[B].BU+=1:m[B].A9+=1:m[B].CM?m[B].AW?m[B].BU+=1:m[B].A9+=1:m[B].AW?m[B].A9+=1:m[B].BU+=1,I++,m[B].J6(),m[B].A8D(),(I>(m[B].CM?A.P.I:A.P.F)||ZC._a_(m[B].AR(0)-v)<1)&&(K=!1)}}}for(B=0,n=A.BO.length;B<n;B++)A.BO[B].Z=A.BO[B].C8=A.G.usc()?A.G.mc():ZC.AL(A.K+"-scales-bl-0-c"),A.A.OC=!0,A.BO[B].paint(),A.A.ZY(),A.A.OC=!1;e=typeof A.E["shared-zoom"]!==ZC._[31]&&null!==ZC._n_(A.E["shared-zoom"])&&A.E["shared-zoom"];if(A.B7&&A.B7.KU?A.B7.I3&&(A.B7.I3=!0,A.B7.paint()):A.E["skip-preview"]||!A.B7||A.UZ&&!A.B7.I3||e||(A.B7.I3=!0,A.B7.paint()),A.E["shared-zoom"]=null,A.E["skip-preview"]=null,A.HO&&A.HO.paint(),A.HY&&A.HY.paint(),A.UZ||(e=A.G.usc()?A.G.mc():ZC.AL(A.K+"-titles-c"),A.IM&&A.IM.AP&&null!==ZC._n_(A.IM.AN)&&(A.IM.Z=A.IM.C8=e,A.IM.paint(),!A.IM.KD)&&ZC.AL(A.A.K+"-map")&&(ZC.AL(A.A.K+"-map").innerHTML+=ZC.AO.OB(A.G.K,A.K,A.IM)),A.JQ&&A.JQ.AP&&null!==ZC._n_(A.JQ.AN)&&(A.JQ.Z=A.JQ.C8=e,A.JQ.paint(),!A.JQ.KD)&&ZC.AL(A.A.K+"-map")&&(ZC.AL(A.A.K+"-map").innerHTML+=ZC.AO.OB(A.G.K,A.K,A.JQ)),A.MV&&A.MV.AP&&null!==ZC._n_(A.MV.AN)&&(A.MV.Z=A.MV.C8=e,A.MV.paint(),!A.MV.KD)&&ZC.AL(A.A.K+"-map")&&(ZC.AL(A.A.K+"-map").innerHTML+=ZC.AO.OB(A.G.K,A.K,A.MV)),A.S9&&A.S9.AP&&null!==ZC._n_(A.S9.AN)&&(A.S9.Z=A.S9.C8=e,A.S9.paint())),A.IM&&A.IM.EO(),A.JQ&&A.JQ.EO(),A.MV&&A.MV.EO(),A.AJ["3d"],A.ACQ(),A.A.OC=!A.GG,zingchart.DEV.SKIPTRACKERS&&(A.A.OC=!1),A.A.E["graph."+A.K+".disableanimation"])for(B=0,n=A.AY.A4.length;B<n;B++)A.AY.A4[B].GG=!1;A.AY.paint(),A.G.paintHistory()},ACQ:function(){},clearPreview:function(){var e=this;e.B7&&(ZC.Q.IW(ZC.AL(e.K+"-preview-c"),e.A.AB,e.iX,e.iY,e.I,e.F,e.K),e.A.H6&&!e.A.H6.A0D&&e.B7.reset(),e.B7.I3=!0)},flatten:function(){},_end_:function(){var e,t,i,l=this;for(l.E["toggle-action-remove"]=null,l.GG||l.A.ZY(),l.A.OC=!1,!l.KU&&l.GG&&!l.G.E["graph."+l.K+".disableanimation"]&&l.AJ[ZC._[55]]&&-1===ZC.AV(l.G.KQ,ZC._[41])&&!zingchart.SKIP.ANIMATION||(l.M7="ready"),"initial"===l.A1A&&(l.ABH=!1,l.G.E["graph."+l.K+".disableanimation"]=!0),s=0,A=l.BO.length;s<A;s++)l.BO[s].paint_();if(!l.A.E["fire-load"]){var n=ZC.AO.C0("objectsinit",l.A,l.H2(),!0);if(n)for(var a=[ZC._[10],"shapes","imges","arrows"],o=0;o<a.length;o++)n[a[o]]&&(l.o[a[o]]=(l.o[a[o]]||[]).concat(n[a[o]]))}function r(e){var t,i,e=(e.targetid||e.target.id).replace("-area-path","").replace("-path","").replace(/--([a-zA-Z0-9]+)/,"").replace("-marker","").replace("-circle","").split("-").reverse();return"node"===e[1]&&(t=e[2],i=e[0]),[t,i]}if(l.AJ["3d"]||(l.flatten(),l.Q6(),l.KM(),-1===ZC.AV(l.G.KQ,ZC._[41])&&l.S5()),-1===ZC.AV(l.G.KQ,ZC._[41])&&(i=ZC.A3("."+l.K+"-node-area"),l.X3=function(e){if(!(zingchart.NODE_EV&&"mouseover"===zingchart.NODE_EV_TYPE&&"mouseover"===e.type||(zingchart.NODE_EV_CHART=l.A.K,zingchart.NODE_EV=e,zingchart.NODE_EV_TYPE=e.type,ZC.move)||l.BE&&l.BE.YS||-1===ZC.Q.TC(e.target).indexOf("zc-node-area")||"ready"!==l.M7)){ZC.mobile&&(l.E["node-target-id"]=e.target.id,ZC.move=!1,l.G.hideCM(),null===l.G.DJ||null===ZC._n_(l.G.DJ["page-scroll"])||l.G.DJ["page-scroll"]||e.preventDefault(),l.A.Z3(e));var t=r(e);if(l.AY.A4[t[0]]){var i=l.AY.A4[t[0]].FM(t[1]);if(i&&(i.O?(ZC.COLORS=[i.O.C2,i.O.A0,i.O.AE,i.O.BX,i.O.B9],i.L9&&ZC.COLORS.push(i.L9.A0,i.L9.AE,i.L9.BX,i.L9.B9)):ZC.COLORS=[],l.E["plot"+t[0]+".visible"])){var n=ZC.mobile?"mousedown":e.xtype||e.type,a=((ZC.mobile||n!==ZC._[47])&&l.A.A7&&l.A7&&l.A7.AP&&l.A.A7.onmouseover(e),l.AY.A4[t[0]]);if("plot"===a.A3J)for(s=0,A=a.S.length;s<A;s++)a.S[s]&&a.FM(s).A15("hover");else i.A15("hover");i.X6(e,n),i.A.X5(e,n),l.BE&&(ZC.move=!0,e=t[0],l.AY.A4[e].o["legend-item"]&&null!==ZC._n_(l.AY.A4[e].o["legend-item"].order)&&(e=ZC._i_(l.AY.A4[e].o["legend-item"].order)),l.BE.o["reverse-series"]&&(e=l.AY.A4.length-1-e),!l.AY.A4[t[0]].bShowInLegend||l.BE.PV&&l.L!==l.A.AG.length-1||l.BE.highlightItem(e),ZC.move=!1)}}}},i.live("mousedown mouseover touchstart",l.X3),l.A1O=function(e){if(zingchart.NODE_EV=zingchart.NODE_EV_TYPE=null,zingchart.NODE_EV_CHART=null,!(ZC.move||l.BE&&l.BE.YS)){e.target;if(ZC.mobile&&document.elementFromPoint){var t=ZC.Q.MJ(e),i=Math.max(window.pageXOffset,document.documentElement.scrollLeft,document.body.scrollLeft),n=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop);if((i=document.elementFromPoint(t[0]-i,t[1]-n))&&l.E["node-target-id"]&&l.E["node-target-id"]!==i.id)return}-1!==ZC.Q.TC(e.target).indexOf("zc-node-area")&&"ready"===l.M7&&(ZC.mobile&&l.A.P1(e),t=r(e),n=l.AY.A4[t[0]].FM(t[1]))&&(l.E["plot"+t[0]+".visible"]&&(l.A.A7&&l.A7&&l.A7.AP&&l.A.A7.onmouseout(e),l.AY.A4[t[0]].D=[],n.LN(),l.LN(),i=ZC.mobile?"mouseup":e.xtype||e.type,n.X6(e,i),n.A.X5(e,i),l.BE)&&(ZC.move=!0,l.BE.PV&&l.L!==l.A.AG.length-1||l.BE.highlightItem(-1),ZC.move=!1),!ZC.mobile||l.G.A9C||ZC.move||"touchend"!==e.type||(zingchart.SH(e),l.TI(e)))}},i.live("mouseup mouseout touchend",l.A1O),l.A0T=function(e){var t;zingchart.NODE_EV=e,zingchart.NODE_EV_CHART=l.A.K,zingchart.NODE_EV_TYPE=e.type,-1!==ZC.Q.TC(e.target).indexOf("zc-node-area")&&"ready"===l.M7&&(ZC.mobile&&l.A.P1(e),t=r(e),l.E["plot"+t[0]+".visible"])&&l.A.A7&&l.A7&&l.A7.AP&&l.A.A7.onmousemove(e)},i.live("mousemove touchmove",l.A0T),l.TI=function(e){if((e.targetid||-1!==ZC.Q.TC(e.target).indexOf("zc-node-area"))&&"ready"===l.M7){var t=r(e),i=l.AY.A4[t[0]].FM(t[1]);if(i)if("none"!==i.A.J4&&(ZC.mobile||0===e.button)&&(l.A.E[ZC._[53]]=!0,l.clearPreview(),t=!0,t=(null===ZC._n_(i.A.K5)||!i.A.K5["ignore-selection"])&&t)&&l.A71(i.A.L,i.L),i.X6(e,"click"),i.A.X5(e,"click"),null!==ZC._n_(i.A.E9)&&"NULL"!==i.A.E9)if(i.A.E9 instanceof Array)for(var n=0;n<i.A.E9.length;n++){var a=i.A.FD;i.A.FD instanceof Array&&(a=i.A.FD[n]||"graph="+(l.o.id||"")),n===i.L&&l.V8(e,i.K2(i.A.E9[n],null,null,!0),a)}else l.V8(e,i.K2(i.A.E9,null,null,!0),i.A.FD||"graph="+(l.o.id||""))}},l.A1P=function(e){var t;-1!==ZC.Q.TC(e.target).indexOf("zc-node-area")&&"ready"===l.M7&&(t=r(e),t=l.AY.A4[t[0]].FM(t[1]))&&(t.X6(e,"doubleclick"),t.A.X5(e,"doubleclick"))},ZC.mobile||i.live("click",l.TI).live("contextmenu",l.TI).live("dblclick",l.A1P)),l.AC1(),l.A.E["tr-ev-"+l.L]&&(l.A.E["tr-ev-"+l.L]=null),l.A8H(),l.ZE){l.ZE=!1;for(var C={graphid:l.K},s=0,A=l.BW("k").length;s<A;s++){var Z=l.BW("k")[s];null!==ZC._n_(e=Z.KO)&&(C["zoomx"+(t=1===Z.L?"":"-"+Z.L)]=!0,C["xmin"+t]=e[0],C["xmax"+t]=e[1])}for(s=0,A=l.BW("v").length;s<A;s++){var c=l.BW("v")[s];null!==ZC._n_(e=c.KO)&&(C["zoomy"+(t=1===c.L?"":"-"+c.L)]=!0,C["ymin"+t]=e[0],C["ymax"+t]=e[1])}if(C.zoomto=!0,l.A.G4){for(var h in l.A.G4)ZC.AL(h).appendChild(l.A.G4[h]);l.A.G4=null}l.A.Q5(C)}},AC1:function(){},A8H:function(){var e=this;if(e.A.A20<e.A.AG.length&&(e.A.A20++,ZC.AO.C0("gload",e.A,e.H2())),ZC.AO.C0("gcomplete",e.A,e.H2()),e.B7&&(e.B7.I3=!1),zingchart.NODE_EV&&zingchart.NODE_EV_CHART&&zingchart.NODE_EV_CHART===e.A.K){var t=ZC.A3("#"+e.A.K+"-top"),i=ZC.E5[0]-t.offset().left,t=ZC.E5[1]-t.offset().top,n=zingchart.exec(e.A.K,"getxyinfo",{x:i,y:t});if(n)for(var a,l=0;l<n.length;l++)"node"===n[l].infotype&&n[l].xydistance<10&&(a=n[l].graphid+ZC._[35]+n[l].plotidx+"-node-"+n[l].nodeidx,zingchart.NODE_EV)&&zingchart.NODE_EV.target&&zingchart.NODE_EV.target.id===a&&(e.X3(zingchart.NODE_EV),zingchart.NODE_EV=null)}zingchart.GUIDE_EV&&e.A.D8&&e.A.D8.QJ(zingchart.GUIDE_EV),e.A.A4E<e.A.AG.length?e.A.A4E++:(e.A.A4E=1,e.A.A20===e.A.AG.length&&(e.A.A20++,e.A.E["fire-load"]=!0,e.KU)&&1<e.AY.A4.length&&(zingchart.SKIP.EVENT||ZC.AO.C0("load",e.A,e.A.FH())),e.A.E["fire-complete"]=!0,(e.E["graph-KC"]||e.KU&&1<e.AY.A4.length)&&(zingchart.SKIP.EVENT||ZC.AO.C0("complete",e.A,e.A.FH()),e.E["graph-KC"]=null)),0!==e.A.QV.length&&e.A.QV[e.A.QV.length-1]===e.A.E.json||(e.A.QV[e.A.NX]!==e.A.E.json&&(e.A.QV.length=e.A.NX+1),e.A.QV[e.A.NX]=e.A.E.json)},KC:function(e,t){var i=this;null===ZC._n_(e)&&(e=!1),null===ZC._n_(t)&&(t=!1),i.A.N8(i),i.E["graph-KC"]=!0,i.clear(e,t),i.parse(),i.UD&&i.UD(),i.paint(e),i.B7&&!i.B7.KU&&i.B7.setScalesInfo(),i.HM=!1,zingchart.SKIP.CSV=!1},V8:function(ev,E9,FD){if(2!==ev.button){var s=this,C,PF=[""];switch(null!==ZC._n_(FD)&&(PF=FD.split("=")),PF[0]){case"_blank":window.open(E9,"_blank");break;case"_top":window.top.location.href=E9;break;case"_parent":window.parent.location.href=E9;break;case"window":null!==ZC._n_(PF[1])&&""!==PF[1]&&(window.top[PF[1]].location.href=E9);break;case"graph":var Y0=null;if("()"===E9.substring(E9.length-2)||"javascript:"===E9.substring(0,11))try{var ED=E9.replace("javascript:","").replace("()","");eval(ED)&&(Y0=eval(ED).call(s))}catch(e){}null!==ZC._n_(PF[1])&&""!==PF[1]?"_top"===PF[1]||"_parent"===PF[1]?(s.A.N8(),Y0?zingchart.exec(s.A.K,"setdata",{data:Y0}):s.A.load(null,E9)):(C=s.A.P0(PF[1]),C&&(s.A.N8(C),s.A.E["tr-ev-"+C.L]=!0,s.A.NX++,Y0?zingchart.exec(s.A.K,"setdata",{graphid:PF[1],data:Y0}):s.A.load(PF[1],E9))):(C=s.A.AG[0],s.A.N8(C),Y0?zingchart.exec(s.A.K,"setdata",{graphid:C.K,data:Y0}):(s.A.E["tr-ev-"+C.L]=!0,s.A.NX++,s.A.load(C.K,E9)));break;default:window.location.href=E9}}},I7:function(e,t,i){if(null===ZC._n_(i)&&(i=this.AY.A4.length-1),null!==ZC._n_(e)&&typeof e!==ZC._[31])return this.AY.A4[e];if(null===ZC._n_(t)||typeof t===ZC._[31])return this.AY.A4[i];for(var n=0,a=this.AY.A4.length;n<a;n++)if(t===this.AY.A4[n].HA)return this.AY.A4[n];return null},A3V:function(e,t){(e=e||{})[ZC._[54]]=e[ZC._[54]]||this.getToggleAction();var i=[];if(typeof e.plotindex!==ZC._[31])if(e.plotindex instanceof Array)i=[].concat(e.plotindex);else if(-1===ZC._i_(e.plotindex))for(l=0,o=this.AY.A4.length;l<o;l++)i.push(l);else i.push(ZC._i_(e.plotindex));for(var n=e.plotid||"",a=(n instanceof Array||(n=[n]),[]),l=0,o=ZC.BR(i.length,n.length);l<o;l++){var r,C,s=this.I7(i[l],n[l]);s&&(r={},ZC._cp_(e,r),C=s.L,r.plotindex=C,r.plotid=s.HA,"show"===t&&!this.E["plot"+C+".visible"]||"hide"===t&&this.E["plot"+C+".visible"])&&a.push(r)}for(l=0,o=a.length;l<o;l++)this.A.o[ZC._[16]][this.L][ZC._[11]][a[l].plotindex].visible="show"===t,l===o-1&&(a[l].KC=1),this.QL(a[l])},QL:function(e){var t,n,i,a=this,l=(e=e||{},a.A.E["graph."+a.K+".disableanimation"]=!1),o=(null!==ZC._n_(e.skip)&&e.skip&&(l=!0),null===ZC._n_(e.update)||e.update||(l=!0),!1),r=(e[ZC._[54]]=e[ZC._[54]]||a.getToggleAction(),null!==ZC._n_(t=e["ignore-legend"])&&(o=ZC._b_(t)),a.I7(e.plotindex,e.plotid));if(r){var C=r.L;switch(e[ZC._[54]]){case"hide":if(a.BE&&(a.BE.E.showhide=!0),a.E["plot"+C+".visible"]=!a.E["plot"+C+".visible"],null!==ZC._n_(a.A.o[ZC._[16]][a.L][ZC._[11]])&&(a.A.o[ZC._[16]][a.L][ZC._[11]][C].visible=a.E["plot"+C+".visible"]),a.AJ["3d"])o=!0,l||a.KC();else{var s=a.E["plot"+C+".visible"]?"block":"none";if(zingchart.DEV.SKIPTRACKERS||ZC.A3("."+a.K+ZC._[35]+C+"-node-area").each(function(){var e,t,i;"AREA"===this.tagName.toUpperCase()&&(t=(e=ZC.A3(this)).attr("coords"),i=e.attr("shape"),"none"==s?(t="-"+t.replace(/,/g,",-"),"rect"===i?4===(n=t.split(",")).length&&(t=[n[2],n[3],n[0],n[1]].join(",")):"circle"===i&&3===(n=t.split(",")).length&&(t=[n[0],n[1],-n[2]].join(","))):(t=t.replace(/\-/g,""),"rect"===i&&4===(n=t.split(",")).length&&(t=[n[2],n[3],n[0],n[1]].join(","))),e.attr("coords",t))}),a.A.KD)ZC.AL(a.K+"-plots-bl-c").style.display=s,ZC.AL(a.K+"-plots-fl-c").style.display=s,ZC.AL(a.K+"-plots-vb-c").style.display=s;else{for(i=0;i<r.SW;i++)(t=ZC.AL(a.K+"-plot-"+C+"-bl-"+i+"-c"))&&(t.style.display=s);for(i=0;i<r.A1B;i++)(t=ZC.AL(a.K+"-plot-"+C+"-fl-"+i+"-c"))&&(t.style.display=s);(t=ZC.AL(a.K+"-plot-"+C+"-vb-c"))&&(t.style.display=s)}var A=ZC.A3("."+a.K+"-plot-"+C+"-value-box");a.E["plot"+C+".visible"]?(A.show(),ZC.A3("."+a.K+ZC._[35]+C+"-preview").show()):(A.hide(),ZC.A3("."+a.K+ZC._[35]+C+"-preview").hide())}break;case"remove":a.clearPreview(),a.E["toggle-action-remove"]=o=!0,a.E["plot"+C+".visible"]=!a.E["plot"+C+".visible"],!e.KC||l||(a.M3("on-legend-toggle"),a.KC(!0,!0))}a.BE&&!o&&(a.BE.clear(),a.BE.paint())}},M3:function(e){var t=!0,i=this.o.plot||{};null!==ZC._n_(i.animation)&&null!==ZC._n_(i.animation[e])&&(t=ZC._b_(i.animation[e])),this.HM="initial"===this.A1A||!t},H2:function(){return{id:this.A.K,graphidx:this.L,graphid:this.K.replace(this.A.K+"-graph-",""),x:this.iX,y:this.iY,width:this.I,height:this.F,loader:this.A.FH()}},S3:function(){},S4:function(){},gc:function(){for(var e=0;e<this.BO.length;e++)this.BO[e].gc();for(var t=0;t<this.AY.A4.length;t++)this.AY.A4[t].gc();ZC.AO.gc(this.AY,["A","C","G","F9","o","IB","J2"]),ZC.AO.gc(this,["Z","C8","AJ","IM","JQ","MV","ES"])}}),ZC.JN.prototype.Q6=function(){var c,e,t,i,n,a,l,o,r,C,s,h=this,A=(h.initObjectsLayers(),h.BY=[],h.FI=[],h.Y6=[],h.L6=[],h.FB=[],h.XF={},h.A.B6),Z="("+h.AF+")";if(null!==ZC._n_(r=h.o[ZC._[10]]))for(e=0,t=r.length;e<t;e++){r[e].id||(r[e].id="lbl_"+e+"_"+ZC._r_(1e3,9999)),i=r[e].id||e,a=n=!1,h.E["objects.updates"]&&-1===ZC.AV(h.E["objects.updates"],i)&&(a=n=!0),r[e].tween&&(n=!0);var p,u=zingchart.pool.getInstance("DQ",h,h.K+"-label-"+i,n);if(!a||!u._POOL_){if(A.load(u.o,Z+".label"),u.append(r[e]),null!==ZC._n_(c=u.o.parent))for(var _=0;_<h.BY.length;_++)if(""+h.BY[_].HA==""+c){u.E["p-x"]=h.BY[_].iX,u.E["p-y"]=h.BY[_].iY,u.E["p-width"]=h.BY[_].I,u.E["p-height"]=h.BY[_].F;break}u.HA=i,u.K=h.K+"-label-"+i,u.GN=h.K+"-label zc-label",null!==ZC._n_(c=r[e].hook)&&(u.E.hook=c),u.K2=function(e){if(e&&-1!==(""+e).indexOf("%")){e=""+e;var t,i=[],n=(i.push(["%id",h.A.K]),i.push(["%graphid",h.K.replace(h.A.K+"-graph-","")]),h.E.update);for(t in n)i.push(["%"+t,n[t]]);i.sort(ZC.A1Q);for(var a=0,l=i.length;a<l;a++)Z=new RegExp(i[a][0],"g"),e=e.replace(Z,i[a][1]);var o,r,C,s,A=u.o["default-value"]||" ",Z=new RegExp("(%plot-([0-9]+?)-value(-*)([0-9]*?))|(%plot-value-([0-9]+?))|(%plot-value)|(%npv)|(%node-percent-value)","g");for(e=e.replace(Z,A),Z=new RegExp("%plot-([0-9]+?)-data-([a-zA-Z0-9-]+)","g"),e=e.replace(Z,A),Z=new RegExp("\\((.+?)\\)\\(([0-9]*)\\)\\(([0-9]*)\\)");o=Z.exec(e);)"%node-value"===o[1]&&(s=C=0,(r="")!==(c=o[2])&&(C=ZC._i_(c)),""!==(c=o[3])&&(s=ZC._i_(c)),(C=h.AY.A4[C])&&(s=C.FM(s,3))&&(r=s.K2(o[1])),e=e.replace(o[0],r))}return e},u.parse(),r[e]["3d"]&&(p=new ZC.CE(h,u.iX+u.I/2-ZC.AM.E1,u.iY+u.F/2-ZC.AM.E2,ZC._i_(r[e].z||"0")),u.iX=p.EC[0]-u.I/2,u.iY=p.EC[1]-u.F/2)}h.BY.push(u),h.FB.push({type:"label",index:e,zindex:u.JW}),h.XF[i]={shape:"label",idx:e}}if(null!==ZC._n_(C=h.o.arrows))for(e=0,t=C.length;e<t;e++){var d=new ZC.A7Y(h);A.load(d.o,Z+".arrow"),d.append(C[e]),i=C[e].id||e,d.K=h.K+"-arrow-"+i,d.parse(),h.Y6.push(d),h.FB.push({type:"arrow",index:e,zindex:d.JW})}var f,g,B,b,E=0;if(null!==ZC._n_(s=h.o.shapes))for(e=0,t=s.length;e<t;e++)if(null===ZC._n_(s[e].type)||0!==s[e].type.indexOf("zingchart.")){if(s[e].id||(s[e].id="shp_"+e+"_"+ZC._r_(1e3,9999)),i=s[e].id||e,a=null!==ZC._n_(zingchart.pool[h.K+"-shape-"+i])&&zingchart.SKIP.PARSE3D,n=!1,h.E["objects.updates"]&&-1===ZC.AV(h.E["objects.updates"],i)&&(a=n=!0),s[e].tween&&(n=!0),s[e]["3d"]?((l=zingchart.pool.getInstance("DT",h,h.K+"-shape-"+i,!0)).o=s[e],"poly"===s[e].type&&!s[e]["map-item"]||(a=!1)):(null!==ZC._n_(s[e].label)?(l=zingchart.pool.getInstance("P8",h,h.K+"-shape-"+i,n)).WQ=s[e]:((l=zingchart.pool.getInstance("DT",h,h.K+"-shape-"+i,n)).o=s[e],l.append({},!0)),n&&l._POOL_||(a=!1)),a||(l.HA=i,l.K=h.K+"-shape-"+i,l.OC=!0,s[e]["map-item"]&&(l.OC=!1),l.parse()),null!==ZC._n_(c=s[e].hook)&&(l.E.hook=c),s[e]["3d"]){if(s[e]["map-item"]){for(f=[],g=0,B=l.D.length;g<B;g++)null!==l.D[g]?(o=new ZC.CE(h,l.D[g][0]-ZC.AM.E1,l.D[g][1]-ZC.AM.E2,ZC._i_(l.D[g][2]||s[e].z||"0")),f.push(o.EC)):f.push(null);l.D=f,h.FI.push(l),h.FB.push({type:"shape",index:E,zindex:l.JW,z3d:o.AAL}),h.XF[i]={shape:l.DH,idx:E}}else if("poly"===s[e].type){var m=ZC.DL.DA(l,h,s[e].points,!1);h.CN.add(m),h.FI.push(null)}else{if(0<l.D.length){for(f=[],g=0,B=l.D.length;g<B;g++)o=new ZC.CE(h,l.D[g][0]-ZC.AM.E1,l.D[g][1]-ZC.AM.E2,ZC._i_(l.D[g][2]||s[e].z||"0")),f.push(o.EC);l.D=f}else o=new ZC.CE(h,l.iX-ZC.AM.E1,l.iY-ZC.AM.E2,ZC._i_(s[e].z||"0")),l.iX=ZC._i_(o.EC[0]),l.iY=ZC._i_(o.EC[1]);h.FI.push(l),h.FB.push({type:"shape",index:E,zindex:l.JW,z3d:o.AAL})}l.E["3dtx"]=!0,l.E["3d"]=!0}else h.FI.push(l),l instanceof ZC.P8?(h.FB.push({type:"shape",index:E,zindex:l.BG.JW}),h.XF[i]={shape:l.BG.DH,idx:E}):(h.FB.push({type:"shape",index:E,zindex:l.JW}),h.XF[i]={shape:l.DH,idx:E});E++}if(null!==ZC._n_(b=h.o.images))for(e=0,t=b.length;e<t;e++){var D,v=b[e].src;ZC.cache.data[v]&&((D=new ZC.HU(h)).append({"background-repeat":"no-repeat","background-image":v,width:ZC.cache.data[v].width,height:ZC.cache.data[v].height}),D.append(b[e]),i=b[e].id||e,D.HA=i,D.K=h.K+"-image-"+i,D.L=e,D.parse(),h.L6.push(D),h.FB.push({type:"image",index:e,zindex:D.JW}))}h.E["objects.updates"]=null,h.FB=h.FB.sort(function(e,t){return null!==ZC._n_(e.z3d)&&null!==ZC._n_(t.z3d)?0<e.z3d-t.z3d?1:-1:0}),h.FB=h.FB.sort(function(e,t){return e.zindex-t.zindex==0?e.index-t.index:e.zindex-t.zindex})},ZC.JN.prototype.A0P=function(e,t){typeof e===ZC._[31]&&(e=!1),typeof t===ZC._[31]&&(t=!1);var i,n=this,a=[n.K+"-objects-bottom-sh-c",n.K+"-objects-bottom-c",n.K+"-objects-top-sh-c",n.K+"-objects-top-c",n.K+"-objects-front-c",n.K+"-objects-print-c"];ZC.SKIPMAPS||a.push(n.K+"-objects-maps-sh-c",n.K+"-objects-maps-c");for(var l=0;l<a.length;l++)(i=ZC.AL(a[l]))&&ZC.Q.IW(i,n.G.AB,n.iX,n.iY,n.I,n.F,n.K);"canvas"===n.A.AB&&!zingchart.CANVASTEXT&&ZC.objmove||(ZC.A3("."+n.K+"-label").remove(),ZC.A3("."+n.K+"-shape-label").remove(),ZC.A3("."+n.K+"-arrow-label").remove()),e||(ZC.A3("."+n.K+"-label-area").each(function(){var e;-1===ZC.AV([n.K+"-title-area",n.K+"-subtitle-area",n.K+"-source-area"],this.id)&&(e=new RegExp("scale_(x|y|k|v)((_[0-9]+)*)-(item_|marker_)([0-9]+)").exec(this.id),!t&&e&&e.length||ZC.Q.EW(this.id))}),ZC.A3("."+n.K+"-shape-area").each(function(){(!ZC.SKIPMAPS||ZC.SKIPMAPS&&"1"!==this.getAttribute("data-map"))&&ZC.Q.EW(this.id)}),ZC.A3("."+n.K+"-arrow-area").remove()),"svg"===n.A.AB&&ZC.A3("#"+n.A.K+"-svg").children().each(function(){var e=n.K+"-label-";"clippath"===this.tagName.toLowerCase()&&this.id.substring(0,e.length)===e&&ZC.Q.EW(this.id)})},ZC.JN.prototype.AC8=function(){var e=this;(e.G.O1["objects-top"]||e.G.O1["objects-bottom"])&&(ZC.A3("."+e.K+"-label-area").die(ZC.mobile?"touchstart":"mousedown mouseover",e.A07).die(ZC.mobile?"touchend":"mouseup mouseout",e.A0U).die(ZC.mobile?"touchmove":ZC._[48],e.A08),ZC.mobile||ZC.A3("."+e.K+"-label-area").die("click",e.UN).die("dblclick",e.UN),ZC.A3("."+e.K+"-shape-area").die(ZC.mobile?"touchstart":"mousedown mouseover",e.A09).die(ZC.mobile?"touchend":"mouseup mouseout",e.A0V).die(ZC.mobile?"touchmove":ZC._[48],e.A0A),ZC.mobile||ZC.A3("."+e.K+"-shape-area").die("click",e.UO).die("dblclick",e.UO))},ZC.JN.prototype.P3=function(){var e,t,i,n;if(this.YJ=!1,null!==ZC._n_(i=this.o[ZC._[10]]))for(e=0,t=i.length;e<t;e++){var a=""+(i[e].text||"");if(-1!==a.indexOf("%node-")||-1!==a.indexOf("%plot-")||-1!==a.indexOf("%npv")||-1!==a.indexOf("%node-percent-value")||ZC._b_(i[e].dynamic)){this.YJ=!0;break}}if(null!==ZC._n_(n=this.o.shapes))for(e=0,t=n.length;e<t;e++)if(ZC._b_(n[e].dynamic)){this.YJ=!0;break}},ZC.JN.prototype.R3=function(e){this.A0P(e),this.Q6(),this.KM(e),ZC.SKIPMAPS=!1},ZC.JN.prototype.KM=function(e){typeof e===ZC._[31]&&(e=!1);var n,t,i,a=this,l=[],o=[];if(a.G.clearLabelBoxes("label"),a.FB)for(t=0,i=a.FB.length;t<i;t++){var r=a.FB[t].index;switch(a.FB[t].type){case"arrow":C=r,d=void 0,(C=a.Y6[C]).AP&&(C.Z=C.C8=a.G.usc()?a.G.mc("top"):ZC.AL(a.K+"-objects-"+(C.JW<0?"bottom":"top")+"-c"),C.paint(),C.AP)&&ZC.AL(a.A.K+"-map")&&(d=C.BG.A5F(),d=ZC.Q.FP(d[0],C.BG.E9,C.BG.IE)+'class="'+a.K+'-arrow-area zc-arrow-area" id="'+C.BG.K+'-area" coords="'+d[1]+'" />',("top"===C.o[ZC._[7]]?o:l).push(d));break;case"shape":h=p=c=_=u=Z=A=s=C=void 0;var C=r;if(a.FI[C]){var s=a.FI[C],A=s instanceof ZC.P8?s.BG:s;if(!ZC.SKIPMAPS||!A.o["map-item"])if(A.AP)if(null!==ZC._n_(n=s.E.hook)&&(-1!==(C=a.V7(n))[0]&&(A.iX=ZC._i_(C[0])),-1!==C[1])&&(A.iY=ZC._i_(C[1])),(!s.E["3d"]||s.E["3dtx"])&&(s.Z=a.G.usc()?a.G.mc("top"):ZC.AL(a.K+"-objects-"+(A.JW<0?"bottom":"top")+"-c"),s.C8=a.G.usc()?a.G.mc("top"):ZC.AL(a.K+"-objects-"+(A.JW<0?"bottom":"top")+"-sh-c"),A.o["map-item"]&&(s.Z=a.G.usc()?a.G.mc("top"):ZC.AL(a.K+"-objects-maps-c"),s.C8=a.G.usc()?a.G.mc("top"):ZC.AL(a.K+"-objects-maps-sh-c")),C="",null!==ZC._n_(n=A.o.limit)&&("x"===n?C="x":"y"===n?C="y":"xy"===n&&(C="xy")),""===C||"x"===C&&ZC.DS(A.iX-A.BK,a.P.iX-2,a.P.iX+a.P.I+2)||"y"===C&&ZC.DS(A.iY-A.BJ,a.P.iY-2,a.P.iY+a.P.F+2)||"xy"===C&&ZC.DS(A.iX+A.BK,a.P.iX-2,a.P.iX+a.P.I-2)&&ZC.DS(A.iY+A.BJ,a.P.iY-2,a.P.iY+a.P.F+2))&&(s.W1=!1,s.E["print-canvas"]=a.K+"-"+(A.o["map-item"]?"maps":"objects")+ZC._[15],s.paint()),!s.KD&&!a.Q8&&"normal"===zingchart.OBJECTMODE){var Z=A.A5F();if(ZC.AL(a.A.K+"-map"))for(var c,h,p,u=1,_=Z.length;u<_;u++)""!==Z[u]&&(c=A.o["map-item"]&&!A.o["map-skip-z-sort"]?' data-map="1"':"",p=ZC.Q.FP(Z[0],A.E9,A.IE)+'class="'+a.K+'-shape-area zc-shape-area" id="'+A.K+"-area"+(1<u?"--"+u:"")+ZC._[30]+Z[u]+'" data-z-sort="'+A.A76+'"'+c+" />",("top"===s.o[ZC._[7]]?o:l).push(p),s.M)&&(h=[ZC._i_(s.M.iX+s.M.BK),ZC._i_(s.M.iY+s.M.BJ),ZC._i_(s.M.iX+s.M.BK+s.M.I),ZC._i_(s.M.iY+s.M.BJ+s.M.F)].join(","),p=ZC.Q.FP("rect",A.E9,A.IE)+'class="'+a.K+'-shape-area zc-shape-area" id="'+A.K+"-area"+(1<u?"--"+u:"")+ZC._[30]+h+'" data-z-sort="'+A.A76+'"'+c+" />",("top"===s.o[ZC._[7]]?o:l).push(p))}}break;case"image":Y=y=x=I=K=F=v=D=m=E=b=B=g=f=d=void 0;var d=r,f=a.L6[d];if(f.AP)if(f.Z=f.C8=a.G.usc()?a.G.mc("top"):ZC.AL(a.K+"-objects-"+(f.JW<0?"bottom":"top")+"-c"),null!==ZC._n_(f.o.repeat)&&ZC._b_(f.o.repeat)){var g=ZC._i_(ZC._c_(f.o.items,0)),B=null;if(f.o.inactive&&((B=new ZC.HU(f.A)).copy(f),B.append(f.o.inactive),B.parse(),B.Z=B.C8=f.Z),0<g||B)for(var b=ZC._i_(ZC._c_(f.o.rows,-1)),E=ZC._i_(ZC._c_(f.o.cols,-1)),m=ZC._i_(ZC._c_(f.o["space-x"],0)),D=ZC._i_(ZC._c_(f.o["space-y"],0)),v=ZC._i_(ZC._c_(f.o["offset-row"],0)),F=ZC._i_(ZC._c_(f.o["offset-col"],0)),K=(-1!==b&&-1===E?E=Math.ceil(g/b):-1===b&&-1!==E?b=Math.ceil(g/E):-1===b&&-1===E&&(E=Math.ceil(Math.sqrt(g)),b=Math.ceil(g/E)),f.iX),I=f.iY,x=f.K,y=0;y<b;y++)for(var Y=0;Y<E;Y++)f.iX=K+Y*m+y*v,f.iY=I+y*D+Y*F,f.K=x+(y*E+Y),y*E+Y<g?f.paint():B&&(B.iX=f.iX,B.iY=f.iY,B.K=f.K,B.paint());else f.paint()}else f.paint();break;case"label":!function(e){if((e=a.BY[e]).AP){if(e.E.lbltype="label",null!==ZC._n_(n=e.E.hook)){var t=a.V7(n);if(-1===t[0]&&-1===t[1])return;-1!==t[0]&&(e.iX=t[0]),-1!==t[1]&&(e.iY=t[1]),null===ZC._n_(t[2])||e.o.anchor||null!==ZC._n_(t[2].center)&&t[2].center&&(e.iX-=e.I/2,e.iY-=e.F/2),e.o.anchor&&e.setAnchor(),e.o["3d"]&&(i=0,t[2]&&t[2].z?i=t[2].z:e.o.z&&(i=ZC._i_(e.o.z)),t=new ZC.CE(a,e.iX+e.I/2-ZC.AM.E1,e.iY+e.F/2-ZC.AM.E2,i),e.iX=t.EC[0]-e.I/2,e.iY=t.EC[1]-e.F/2)}e.iX=ZC._i_(e.iX),e.iY=ZC._i_(e.iY),e.IP=ZC.AL(a.A.K+"-text"),e.Z=a.G.usc()?a.G.mc("top"):ZC.AL(a.K+"-objects-"+(e.JW<0?"bottom":"top")+"-c"),e.C8=a.G.usc()?a.G.mc("top"):ZC.AL(a.K+"-objects-"+(e.JW<0?"bottom":"top")+"-sh-c");var i="";null!==ZC._n_(n=e.o.limit)&&("x"===n?i="x":"y"===n?i="y":"xy"===n&&(i="xy")),(""===i||"x"===i&&ZC.DS(e.iX-e.BK,a.P.iX-e.I/2-2,a.P.iX+a.P.I-e.I/2+2)||"y"===i&&ZC.DS(e.iY-e.BJ,a.P.iY-e.F/2-2,a.P.iY+a.P.F-e.F/2+2)||"xy"===i&&ZC.DS(e.iX+e.BK,a.P.iX-e.I/2-2,a.P.iX+a.P.I-e.I/2+2)&&ZC.DS(e.iY+e.BJ,a.P.iY-e.F/2-2,a.P.iY+a.P.F-e.F/2+2))&&(e.W1=!1,e.paint(),e.EO(ZC.AL(a.K+"-objects-print-c")),e.KD||a.Q8||"normal"!==zingchart.OBJECTMODE||ZC.AL(a.A.K+"-map")&&(t=ZC.AO.OB(a.G.K,a.K,e),("top"===e.o[ZC._[7]]?o:l).push(t)))}}(r)}}for(t=0;t<a.AY.A4.length;t++)a.AY.A4[t].RR=null;e||"normal"!==zingchart.OBJECTMODE||(0<o.length||0<l.length)&&ZC.AL(a.A.K+"-map")&&(a.A4Y&&(o.sort(e=function(e,t){return-1!==e.indexOf("data-map")&&-1!==t.indexOf("data-map")?ZC.AO.NA(t)-ZC.AO.NA(e):ZC.AO.NA(e)-ZC.AO.NA(t)}),l.sort(e)),zingchart.DEV.MAPSONBOTTOM?window.setTimeout(function(){ZC.AO._rebuild_map_(a.A.K,o.join("")+ZC.AL(a.A.K+"-map").innerHTML+l.join(""))},33):ZC.AO._rebuild_map_(a.A.K,o.join("")+ZC.AL(a.A.K+"-map").innerHTML+l.join(""))),a.A.E["fire-load"]||ZC.AO.C0("objectsready",a.A,a.H2())},ZC.JN.prototype.SM=function(e,t,i,n){var a,l,o,r=this;switch(i=i||"hover",e){case"shape":var C,s,A=r.FI[t],Z=A instanceof ZC.P8?A.BG:A;if(null!==ZC._n_(Z.o[i+"-state"])){if(!n&&Z.o.group)for(l=0,o=r.FI.length;l<o;l++)l!==t&&(r.FI[l].o.group===Z.o.group||r.FI[l].BG&&r.FI[l].BG.o.group===Z.o.group)&&r.SM(e,l,i,!0);(s=new ZC.DT(r)).append(Z.o),s.append(Z.o[i+"-state"]),a=Z.o.id||t,s.HA=a+"-"+i,s.K=r.K+"-shape-"+a+"-"+i,s.parse(),A.E["3d"]&&(s.D=Z.D,s.iX=A.iX,s.iY=A.iY),s.AP&&(s.Z=s.C8=ZC.AL(r.K+"-objects-"+i+"-c"),s.o["map-item"]&&(s.Z=s.C8=ZC.AL(r.K+"-objects-maps-"+i+"-c")),s.o["map-item"]&&zingchart.maps.LITE&&"canvas"!==r.A.AB?"svg"===r.A.AB?(h=ZC.A3("#"+r.K+"-shape-"+s.HA+"-gshape-path"),r.E["map-shape-info"]={fill:h.attr("fill"),stroke:h.attr("stroke"),"stroke-width":h.attr("stroke-width")},"poly"===s.DH?(h.attr("fill",s.A0),h.attr("stroke-width",s.AU),h.attr("stroke",s.BX)):"line"===s.DH&&(h.attr("stroke-width",s.B1),h.attr("stroke",s.B9))):"vml"===r.A.AB&&(h=ZC.AL(r.K+"-shape-"+s.HA+"-gshape-path"),C=ZC.A3(h.childNodes[1]),h=ZC.A3(h.childNodes[2]),r.E["map-shape-info"]={fill:""+h.attr("color"),stroke:""+C.attr("color"),"stroke-width":""+C.attr("weight")},"poly"===s.DH?(h.attr("color",s.A0),C.attr("weight",s.AU),C.attr("color",s.BX)):"line"===s.DH&&(C.attr("weight",s.B1),C.attr("color",s.B9))):(s.paint(),"canvas"===r.A.AB&&zingchart.CANVASTEXT&&A.M&&(A.M.Z=A.M.C8=ZC.AL(r.K+"-objects-"+i+"-c"),A.M.paint())))}break;case"label":var c=r.BY[t];if(c&&null!==ZC._n_(c.o[i+"-state"])){if(!n&&c.o.group)for(l=0,o=r.BY.length;l<o;l++)l!==t&&r.BY[l].o.group===c.o.group&&r.SM(e,l,i,!0);var h=zingchart.pool.getInstance("DQ",r,r.K+"-label-"+i);h.append(c.o),h.append(c.o[i+"-state"]),a=c.id||t,h.HA=a+"-"+i,h.K=r.K+"-label-"+a+"-"+i,h.GN=r.K+"-label "+r.K+"-label-"+i+" zc-label zc-label-"+i,h.IP=ZC.AL(r.A.K+"-text"),h.parse(),h.AP&&(h.iX=c.iX,h.iY=c.iY,h.I=c.I,h.F=c.F,h.Z=h.C8=ZC.AL(r.K+"-objects-"+i+"-c"),ZC.AL(r.K+"-label-"+a)&&(ZC.AL(r.K+"-label-"+a).style.display="none"),h.paint())}}},ZC.JN.prototype.S5=function(){var u,_,d,f=this;function l(e){for(var t=(e.targetid||e.target.id).replace(/\-\-\d+/g,"").replace(f.K+"-shape-","").replace("-gshape-area","").replace("-area",""),i=-1,n=null,a=0,l=f.FI.length;a<l;a++)if(f.FI[a]&&""+f.FI[a].HA==""+t){i=a,n=f.FI[a]instanceof ZC.P8?f.FI[a].BG:f.FI[a];break}if(!n&&e.target.getAttribute("data-lowlevel"))return{shapeid:e.target.id,lowlevel:!0,ev:e};if(-1===i)return null;var o,r={shapeid:t,shapeindex:i,tooltip:n.o.tooltip?1:0,shape:{id:t,index:i,cls:n.DF,x:n.iX,y:n.iY,type:n.DH,mapItem:n.o["map-item"],points:n.D,width:n.I,height:n.F,size:n.AI,size2:n.JI,angle:n.AA,zIndex:n.JW},ev:e};for(o in n.o)n.o.hasOwnProperty(o)&&"data-"===o.substring(0,5)&&(r[o]=n.o[o]);return r}function a(e){var t,i,n,a,l=e.targetid||e.target.id;if(l===f.K+"-title-area"||l===f.K+"-subtitle-area"||l===f.K+"-source-area"){var o,r=null,C=-1;switch(o=l.replace(f.K+"-","").replace("-area","")){case"title":r=f.IM,C=-1;break;case"subtitle":r=f.JQ,C=-2;break;case"source":r=f.MV,C=-3}return{type:"graph-"+o,labelid:r.K,labelindex:C,text:r.AN,label:{id:r.K,index:C,text:r.AN},ev:e}}if(-1===l.indexOf("-scale")||-1===l.indexOf("-item")&&-1===l.indexOf("-marker")){if(-1!==l.indexOf("-value-box-"))return u=l.replace(f.K+ZC._[35],"").replace("-value-box-area",""),_=u.split("-node-"),(a=f.AY.A4[ZC._i_(_[0])].FM(ZC._i_(_[1])))?{type:ZC._[17],labelid:"vb_"+_.join("_"),plotindex:ZC._i_(_[0]),nodeindex:ZC._i_(_[1]),text:a.AC,label:{id:"vb_"+_.join("_"),text:a.AC},ev:e}:null;u=l.replace(f.K+"-label-","").replace("-area","");for(var s=-1,A=null,Z=0,c=f.BY.length;Z<c;Z++)if(""+f.BY[Z].HA==""+u){s=Z,A=f.BY[Z];break}if(d=-1===s?"":f.BY[s].AN,-1===s)return null;var h,p={type:"label",labelid:u,labelindex:s,text:d,tooltip:A.o.tooltip?1:0,label:{id:u,index:s,cls:A.DF,x:A.iX+A.BK,y:A.iY+A.BJ,width:A.I,height:A.F,text:d},ev:e};for(h in A.o)A.o.hasOwnProperty(h)&&"data-"===h.substring(0,5)&&(p[h]=A.o[h]);return p}return u=l.replace(f.K+"-","").replace("-area",""),a=0,2===(t=(_=u.split("-"))[1].split("_")).length?a=ZC._i_(t[1]):3===t.length&&(a=ZC._i_(t[2])),t=_[0].replace(/_/g,"-"),i=f.BM(t),-1!==l.indexOf("-item")?(o="scale-item",n="si_"+_[1].replace("item_",""),d=i.BY[a]||i.V[a],"si_title"===n&&(d=i.M.AN)):(o="scale-marker",n="sm_"+_[1].replace("marker_",""),d=i.E["marker_text_"+a]||""),{type:o,labelid:n,labelindex:a,scale:t,text:d,tooltip:i.o.tooltip||i.o.item&&i.o.item.tooltip?1:0,label:{id:n,index:a,text:d},ev:e}}(f.G.O1["objects-top"]||f.G.O1["objects-bottom"])&&(f.A09=function(e){ZC.mobile&&(f.LN(),ZC.move=!1,f.G.hideCM(),null===f.G.DJ||null===ZC._n_(f.G.DJ["page-scroll"])||f.G.DJ["page-scroll"]||e.preventDefault(),f.A.Z3(e));var t=l(e);t&&(t.tooltip&&f.A7&&f.A.A7&&f.A7.AP&&f.A.A7.onmouseover(e),e=ZC.mobile?"mousedown":e.xtype||e.type,t.lowlevel||f.SM("shape",t.shapeindex),f.S4(e,t))},f.A0V=function(e){ZC.mobile&&(f.G.A9C||ZC.move||(zingchart.SH(e),f.UO(e)),f.A.P1(e)),f.A7&&f.A.A7&&f.A7.AP&&f.A.A7.onmouseout(e),ZC.mobile||f.LN();var t,i,n,a=ZC.mobile?"mouseup":e.xtype||e.type,e=l(e);e&&(e.shape&&e.shape.mapItem&&zingchart.maps.LITE&&"canvas"!==f.A.AB&&("svg"===f.A.AB?(i=ZC.A3("#"+f.K+"-shape-"+e.shape.id+"-gshape-path"),"poly"===e.shape.type&&i.attr("fill",f.E["map-shape-info"].fill),i.attr("stroke",f.E["map-shape-info"].stroke),i.attr("stroke-width",f.E["map-shape-info"]["stroke-width"])):"vml"===f.A.AB&&(t=(i=ZC.AL(f.K+"-shape-"+e.shape.id+"-gshape-path")).childNodes[1],i=i.childNodes[2],n=f.E["map-shape-info"],"poly"===e.shape.type&&ZC.Q.G6(i,{color:n.fill}),ZC.Q.G6(t,{weight:n["stroke-width"],color:n.stroke}))),f.S4(a,e))},f.A0A=function(e){var t=l(e);t&&(t.tooltip&&f.A7&&f.A.A7&&f.A7.AP&&f.A.A7.onmousemove(e),f.S4(ZC._[48],t))},f.UO=function(e){var t=l(e);if(t)if("dblclick"!==e.type){e.ctrlKey||f.LN("click"),f.TG=f.TG||{},f.TG["s_"+t.shapeid]?(f.TG["s_"+t.shapeid]=null,f.LN("click")):(e.ctrlKey||(f.TG={}),f.TG["s_"+t.shapeid]=1,f.SM("shape",t.shapeindex,"click")),f.S4("click",t);var i=f.FI[t.shapeindex].BG||f.FI[t.shapeindex];if(ZC.mobile&&(f.E["click-ts"]&&(new Date).getTime()-f.E["click-ts"]<500&&f.S4("dblclick",t),f.E["click-ts"]=(new Date).getTime()),i&&i.E9&&"NULL"!==i.E9)if(i.E9 instanceof Array)for(var n=0;n<i.E9.length;n++)null!==ZC._n_(i.FD[n])&&f.V8(e,i.E9[n],i.FD[n]);else f.V8(e,i.E9,i.FD)}else f.S4("dblclick",t)},ZC.A3("."+f.K+"-shape-area").live(ZC.mobile?"touchstart":"mousedown mouseover",f.A09).live(ZC.mobile?"touchend":"mouseup mouseout",f.A0V).live(ZC.mobile?"touchmove":ZC._[48],f.A0A),ZC.mobile||ZC.A3("."+f.K+"-shape-area").live("click",f.UO).live("dblclick",f.UO),f.A07=function(e){ZC.mobile&&(f.LN(),ZC.move=!1,f.G.hideCM(),null===f.G.DJ||null===ZC._n_(f.G.DJ["page-scroll"])||f.G.DJ["page-scroll"]||e.preventDefault(),f.A.Z3(e));var t=a(e);t&&(t.tooltip&&f.A7&&f.A.A7&&f.A7.AP&&f.A.A7.onmouseover(e),null!==t)&&"label"===t.type&&(e=ZC.mobile?"mousedown":e.xtype||e.type,t["data-active"]||f.SM("label",t.labelindex),f.S3(e,t))},f.A0U=function(e){ZC.mobile&&(f.G.A9C||ZC.move||(zingchart.SH(e),f.UN(e)),f.A.P1(e)),f.A7&&f.A.A7&&f.A7.AP&&f.A.A7.onmouseout(e),ZC.mobile||f.LN();var t=a(e);t&&null!==t&&(e=ZC.mobile?"mouseup":e.xtype||e.type,ZC.AL(f.K+"-label-"+t.label.id)&&(ZC.AL(f.K+"-label-"+t.label.id).style.display="block"),f.S3(e,t))},f.A08=function(e){var t=a(e);t&&(t.tooltip&&f.A7&&f.A.A7&&f.A7.AP&&f.A.A7.onmousemove(e),f.S3(ZC._[48],t))},f.UN=function(e){var t=a(e);if(t)if("dblclick"!==e.type){e.ctrlKey||f.LN("click"),f.TG=f.TG||{},f.TG["l_"+t.labelid]?(f.TG["l_"+t.labelid]=null,f.LN("click")):(e.ctrlKey||(f.TG={}),f.TG["l_"+t.labelid]=1,f.SM("label",t.labelindex,"click")),f.S3("click",t),ZC.mobile&&(f.E["click-ts"]&&(new Date).getTime()-f.E["click-ts"]<500&&f.S3("dblclick",t),f.E["click-ts"]=(new Date).getTime());var i=f.BY[t.labelindex];if(!i)switch(t.type){case"graph-title":i={E9:f.IM.E9,FD:f.IM.FD};break;case"graph-subtitle":i={E9:f.JQ.E9,FD:f.JQ.FD};break;case"graph-source":i={E9:f.MV.E9,FD:f.MV.FD}}if(i&&i.E9&&"NULL"!==i.E9)if(i.E9 instanceof Array)for(var n=0;n<i.E9.length;n++)null!==ZC._n_(i.FD[n])&&(i.E9[n]=i.E9[n].replace("%id",f.A.K),i.E9[n]=i.E9[n].replace("%graphid",f.K.replace(f.A.K+"-graph-","")),f.V8(e,i.E9[n],i.FD[n]));else i.E9=i.E9.replace("%id",f.A.K),i.E9=i.E9.replace("%graphid",f.K.replace(f.A.K+"-graph-","")),f.V8(e,i.E9,i.FD)}else f.S3("dblclick",t)},ZC.A3("."+f.K+"-label-area").live(ZC.mobile?"touchstart":"mousedown mouseover",f.A07).live(ZC.mobile?"touchend":"mouseup mouseout",f.A0U).live(ZC.mobile?"touchmove":ZC._[48],f.A08),ZC.mobile||ZC.A3("."+f.K+"-label-area").live("click",f.UN).live("dblclick",f.UN))},ZC.JN.prototype.S3=function(e,t){ZC._cp_(this.H2(),t),t.ev=ZC.A3.C1(t.ev),ZC.AO.C0("label_"+e,this.A,t)},ZC.JN.prototype.S4=function(e,t){ZC._cp_(this.H2(),t),t.ev=ZC.A3.C1(t.ev),ZC.AO.C0("shape_"+e,this.A,t)},ZC.JN.prototype.V7=function(e){var t,i=this;if("string"==typeof e){var n={};if(2===(a=e.split(":")).length){n.type=a[0];for(var a,l=0,o=(a=a[1].split(/\s|,|;/)).length;l<o;l++){var r=a[l].split("=");n[r[0]]=r[1]}}e=n}var C=[-1,-1];switch(i.E.hooks=!0,e.type){case"scale":var s,A,Z,c="",h=-1,p=null;if(null!==ZC._n_(t=e.name)&&(c=t),null!==ZC._n_(t=e.index)&&(h=ZC._i_(t)),null!==ZC._n_(t=e[ZC._[9]])&&(p=ZC._f_(t)),b=null,""===c&&(c=ZC._[50]),b=i.BM(c))switch(b.II&&-1!==h?Z=b.II(h):b.AR&&(null!==ZC._n_(p)?Z=b.AR(p):-1!==h&&(Z=b.AR(b.V[h]))),i.AJ.layout){case"radar":case"gauge":s=Z[0],A=Z[1];break;case"xy":"k"===b.AF?(s=Z,A=b.iY,"default"===b.BA&&(A+=b.F),null!==ZC._n_(b.E.iY)&&(A=b.E.iY)):"v"===b.AF&&(A=Z,s=b.iX,"opposite"===b.BA&&(s+=b.I),null!==ZC._n_(b.E.iX))&&(s=b.E.iX);break;case"yx":"k"===b.AF?(A=Z,s=b.iX,"opposite"===b.BA&&(s+=b.I),null!==ZC._n_(b.E.iX)&&(s=b.E.iX)):"v"===b.AF&&(s=Z,A=b.iY,"default"===b.BA&&(A+=b.F),null!==ZC._n_(b.E.iY))&&(A=b.E.iY)}C=[s,A,{center:!0}];break;case"node":var c=-1,u=null,_=null,p=null,h=null,d=(null!==ZC._n_(t=e.plot)&&(p=t),null!==ZC._n_(t=e.plotindex)&&(p=t),null!==ZC._n_(t=e.plotid)&&(h=t),i.I7(p,h)),f=(null!==ZC._n_(t=e.index)&&(c=ZC._i_(t)),null!==ZC._n_(t=e[ZC._[9]])&&(u=t),null!==ZC._n_(t=e.keyvalue)&&(_=t),null);if(d){if(-1!==c&&d.S[c])f=d.FM(c,3);else if(null!==ZC._n_(u)||null!==ZC._n_(_)){var g,B,b=d.C.BM(d.BO[0]);if(!(f=null!==_&&null===u&&4096<d.S.length&&b.F7&&"date"===b.F7.o.type&&null!==(g=ZC._nfind_(_,d,0,d.S.length-1))?d.FM(g,3):f))for(g=0,B=d.S.length;g<B;g++)d.S[g]&&(null!==u&&d.S[g].AC==u&&(f=d.FM(g,3)),null!==_)&&null!==ZC._n_(d.S[g].BV)&&d.S[g].BV==_&&(f=d.FM(g,3))}f&&(f.setup(),C=f.V7(e),!f.J1&&ZC.DS(C[0],i.P.iX,i.P.iX+i.P.I)&&ZC.DS(C[1],i.P.iY,i.P.iY+i.P.F)&&(f.J1=!0),f.J1&&f.AP&&f.A.AP&&f.C.E["plot"+f.A.L+".visible"]||(C=[-1,-1])),d.E["z-mid"]&&(C[2].z=d.E["z-mid"])}}return null!==ZC._n_(e.x)&&(C[0]=ZC._i_(e.x)),null!==ZC._n_(e.y)&&(C[1]=ZC._i_(e.y)),null!==ZC._n_(t=e["offset-x"])&&(C[0]+=ZC._i_(t)),null!==ZC._n_(t=e["offset-y"])&&(C[1]+=ZC._i_(t)),C},zingchart.AB3=function(e,t,i){document.getElementById("zc-fullscreen")&&(e="zc-fullscreen"),"string"==typeof(i=i||{})&&(i=JSON.parse(i));var n,a,l,o,r,C,s,A=!(null!==ZC._n_(i.update)&&!ZC._b_(i.update)),Z=!!i.dynamic&&ZC._b_(i.dynamic),c=zingchart.getLoader(e);if(c)switch(t){case"addobject":if((F=c.CB(i[ZC._[3]]))&&i.data){if(l=(a=i.data instanceof Array)?[]:{},ZC._cp_(i.data,l),h=i.type||"label",a)for(g=0,n=l.length;g<n;g++)h=i.type||l[g].objtype||"label",F.o[h+"s"]||(F.o[h+"s"]=[]),Z&&(l[g]["map-item"]=!1),F.o[h+"s"].push(l[g]);else F.o[h+"s"]||(F.o[h+"s"]=[]),Z&&(l["map-item"]=!1),F.o[h+"s"].push(l);A&&(F.P3(),F.R3(Z))}i.callback&&"function"==typeof i.callback&&i.callback(i);break;case"removeobject":if(F=c.CB(i[ZC._[3]]),i["class"]&&(i.cls=i["class"]),F&&(i.id||i.cls||i.group)){for(var h=i.type||"label",p=F.o[h+"s"]||[],u=i.id?"string"==typeof i.id?[i.id]:i.id:[],_=i.cls?"string"==typeof i.cls?[i.cls]:i.cls:[],d=!1,f=[],g=p.length-1;0<=g;g--)(null!==ZC._n_(p[g].id)&&-1!==ZC.AV(u,p[g].id)||null!==ZC._n_(p[g].cls)&&-1!==ZC.AV(_,p[g].cls)||null!==ZC._n_(p[g]["class"])&&-1!==ZC.AV(_,p[g]["class"])||i.group&&p[g].group===i.group)&&(null!==ZC._n_(p[g].id)&&f.push(p[g].id),p.splice(g,1),d=!0);for(g=0;g<f.length;g++)ZC.Q.EW([F.K+"-label-"+f[g]+"-gradient",F.K+"-label-"+f[g]+"-top-gradient",F.K+"-shape-"+f[g]+"-gradient",F.K+"-shape-"+f[g]+"-top-gradient",F.K+"-shape-"+f[g]+"-gshape-gradient",F.K+"-shape-"+f[g]+"-gshape-top-gradient"]);d&&A&&(F.P3(),F.R3(Z))}i.callback&&"function"==typeof i.callback&&i.callback(i);break;case"updateobject":if(i["class"]&&(i.cls=i["class"]),(F=c.CB(i[ZC._[3]]))&&i.data){F.E["objects.updates"]=[],h=i.type||"label",p=F.o[h+"s"]||[],s="label"===h?F.BY:F.FI,l=(a=i.data instanceof Array)?[]:{},ZC._cp_(i.data,l);var B=!(d=!1),b=function(e,t){var i,n,a,l=F.XF[e.id||""],o=!1;if(l&&("label"===l.shape?(a=F.BY[l.idx],Object.keys&&3===Object.keys(e).length&&null!==ZC._n_(e.x)&&null!==ZC._n_(e.y)&&(a.iX=e.x,a.iY=e.y,o=!0)):((a=F.FI[l.idx]).BG&&a.BG.o["map-item"]&&(B=!1),"circle"===l.shape?Object.keys&&3===Object.keys(e).length&&null!==ZC._n_(e.x)&&null!==ZC._n_(e.y)&&(a.BG?(a.BG.iX=e.x,a.BG.iY=e.y):(a.iX=e.x,a.iY=e.y),o=!0):"line"===l.shape&&Object.keys&&2===Object.keys(e).length&&null!==ZC._n_(e.points)&&(a.BG?a.BG.D=e.points:a.D=e.points,o=!0))),o||F.E["objects.updates"].push(e.id),ZC._cp_(e,t),null!==ZC._n_(e.animation)){var r=null;if("label"===h){for(i=0,n=F.BY.length;i<n;i++)if(F.BY[i].HA===e.id){r=F.BY[i];break}}else if("shape"===h)for(i=0,n=F.FI.length;i<n;i++)if(F.FI[i].HA===e.id){r=F.FI[i]instanceof ZC.P8?F.FI[i].BG:F.FI[i];break}var C=F.LX,s={};if(ZC._cp_(e,s),null!==ZC._n_(s.x)&&(s.x+=F.iX),null!==ZC._n_(s.y)&&(s.y+=F.iY),null!==ZC._n_(s.points))for(i=0,n=s.points.length;i<n;i++)null!==ZC._n_(s.points[i])&&(s.points[i][0]+=F.iX,s.points[i][1]+=F.iY,null!==ZC._n_(s.points[i][2])&&(s.points[i][2]+=F.iX),null!==ZC._n_(s.points[i][3]))&&(s.points[i][3]+=F.iY);s.animation=null;var A=new ZC.E8(r,s,ZC._i_(e.animation.speed||"300"),ZC._i_(e.animation.delay||"0"),ZC.E8.RN[ZC._i_(e.animation.method||"0")],function(){null!==ZC._n_(e.animation.end)&&e.animation.end.call()});F.Q8=!0,window.setTimeout(function(){C.add(A)},33)}d=!0};if(a){var E=!1,m=!1;for(g=0,n=l.length;g<n;g++){if(p=null!==ZC._n_(l[g].objtype)?F.o[l[g].objtype+"s"]:p)for(o=0,r=p.length;o<r;o++)null!==ZC._n_(l[g].id)&&null!==ZC._n_(p[o].id)&&p[o].id===l[g].id&&b(l[g],p[o]);null!==ZC._n_(l[g].animation)?E=!0:m=!0,m&&E&&(ZC.SKIPMAPS=B,F.Q6())}}else if(i.group)for(o=0,r=p.length;o<r;o++)p[o].group===i.group&&(l.id=p[o].id,b(l,p[o]));else if(i.cls)for(o=0,r=p.length;o<r;o++)p[o].cls===i.cls&&(l.id=p[o].id,b(l,p[o]));else for(e=l.id||i.id,o=0,r=p.length;o<r;o++)null!==ZC._n_(p[o].id)&&null!==ZC._n_(e)&&p[o].id===e&&(l.id=e,b(l,p[o]));ZC.SKIPMAPS=B,!d||!A&&F.Q8||F.Q8||(F.P3(),F.R3(Z))}i.callback&&"function"==typeof i.callback&&i.callback(i);break;case"repaintobjects":(F=c.CB(i[ZC._[3]]))&&(F.P3(),F.R3(Z)),i.callback&&"function"==typeof i.callback&&i.callback(i);break;case"getallobjects":if(u=[],F=c.CB(i[ZC._[3]]))for(h=i.type||"label",g=0,n=(p=F.o[h+"s"]||[]).length;g<n;g++)null!==ZC._n_(p[g].id)&&u.push(p[g].id);return u;case"getobjectsbyclass":if(i["class"]&&(i.cls=i["class"]),u=[],(F=c.CB(i[ZC._[3]]))&&i.cls){h=i.type||"label",p=F.o[h+"s"]||[];var D=i.cls instanceof Array?i.cls:[i.cls];for(g=0,n=p.length;g<n;g++)-1===ZC.AV(D,p[g].cls)&&-1===ZC.AV(D,p[g]["class"])||null===ZC._n_(p[g].id)||u.push(p[g].id)}return u;case"getlabelinfo":case"getshapeinfo":var v={x:"iX",y:"iY",width:"I",height:"F",color:"C2",lineColor:"B9",lineWidth:"B1",borderColor:"BX",borderWidth:"AU",backgroundColor1:"A0",backgroundColor2:"AE",size:"AI",type:"DH",text:"AN",fontSize:"DI",callout:"KS",calloutPosition:"EP",offsetX:"BK",offsetY:"BJ"},F=c.CB(i[ZC._[3]]);if(h=i.type||"label",!("getlabelinfo"===t&&"label"!==h||"getshapeinfo"===t&&"shape"!==h)&&(e=i.id||"",F&&""!==e)){s=[],"label"===h?s=F.BY:"shape"===h&&(s=F.FI);var K=null;for(g=0,n=s.length;g<n;g++)s[g].HA===e&&(K=s[g]);if(K){var I={};if("shape"===h){if(K.M)for(C in I.label={},v)I.label[C]=K.M[v[C]];K.BG&&(K=K.BG)}for(C in v)I[C]=K[v[C]];return I}}return null;case"setobjectsmode":zingchart.OBJECTMODE="normal",i.mode&&"flat"===i.mode&&(zingchart.OBJECTMODE="flat");break;case"settweenmode":ZC.objmove=!1,i.mode&&"position"===i.mode&&(ZC.objmove=!0)}return null},ZC.JN.prototype.A37=function(){for(var e=this,t=0,i=0,n=e.BO.length;i<n;i++)"k"===e.BO[i].AF&&e.o[e.BO[i].BD]&&e.o[e.BO[i].BD][ZC._[5]]&&(t=ZC.BR(t,e.o[e.BO[i].BD][ZC._[5]].length));for(i=0,n=e.AY.A4.length;i<n;i++)null!==ZC._n_(e.o[ZC._[11]][i])&&e.o[ZC._[11]][i][ZC._[5]]&&(t=ZC.BR(t,e.o[ZC._[11]][i][ZC._[5]].length));return t},ZC.JN.prototype.UD=function(){var e,t=this;if(t.HI&&"full"!==t.HI.type)for(var i=t.A37(),n=0,a=t.BO.length;n<a;n++)"k"===t.BO[n].AF&&(t.BO[n].CM?(e=(t.BO[n].F-t.BO[n].A9-t.BO[n].BU)/ZC._i_(t.HI["max-ticks"]),t.BO[n].OR=ZC.BR(0,t.BO[n].F-i*e)):(e=(t.BO[n].I-t.BO[n].A9-t.BO[n].BU)/ZC._i_(t.HI["max-ticks"]),t.BO[n].OR=ZC.BR(0,t.BO[n].I-i*e)),ZC._b_(t.HI["adjust-scale"])&&(t.BO[n].OR=0),t.BO[n].A9=t.BO[n].A41+t.BO[n].OR,t.A.E[t.K+"-"+t.BO[n].BD+"-feed-offset-start"]=t.BO[n].A9,t.BO[n].W=ZC.BR(0,t.BO[n].A1-t.HI["max-ticks"]+1),t.BO[n].J6())},ZC.JN.prototype.AC1=function(){var s=this,H,MR,ws,OV,OK,M0,A13,A43,A54,A9N,A0I,A5N,E9,OV;s.E["from-api"]&&(window.clearTimeout(ZC.REFRESH_TICK[s.K]),delete s.E["from-api"]),s.HI&&(OV=ZC._i_(s.HI.interval),OV=50<=OV?OV:1e3*OV,"full"===s.HI.type?"http"===s.HI.transport?ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.A.N8(s),ZC.ZS(function(){s.A.load(s.K,s.A9F||s.HI.url)})},OV):"websockets"===s.HI.transport&&ZC.websockets&&(s.G.SE[s.K]?"pull"===s.HI.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.G.SE[s.K].send("zingchart.getdata")},OV)):(ws=new WebSocket(s.HI.url,"zingchart"),ws.onopen=function(){ws.send("zingchart."+s.HI.type),ws.send("zingchart."+s.HI.method),ws.send("zingchart.getdata")},ws.onmessage=function(e){"ready"===s.M7&&(s.A.N8(s),s.M7="full",ZC.ZS(function(){zingchart.exec(s.A.K,"setdata",{graphid:s.K,data:e.data,softclear:!0})}))},s.G.SE[s.K]=ws)):"feed"===s.HI.type&&null!==ZC._n_(s.HI.url)&&(null!==ZC._n_(s.HI.curtain)&&(OK=s.BW("k"),0<OK.length)&&(ZC.Q.EW(s.K+"-curtain-t"),0<OK[0].OR)&&(M0=new ZC.DQ(s),s.A.B6.load(M0.o,"("+s.AF+").refresh.curtain"),M0.append(s.HI.curtain),M0.parse(),M0.AP)&&(OK[0].CM&&M0.F<=OK[0].OR||!OK[0].CM&&M0.I<=OK[0].OR)&&(M0.K=s.K+"-curtain-t",M0.IP=ZC.AL(s.A.K+"-text-top"),OK[0].CM?(M0.F>OK[0].OR&&(M0.AN="",M0.parse()),M0.iX=s.P.iX,M0.iY=OK[0].AW?s.P.iY:s.P.iY+s.P.F-OK[0].OR,M0.I=s.P.I,M0.F=OK[0].OR):(M0.I>OK[0].OR&&(M0.AN="",M0.parse()),M0.iX=OK[0].AW?s.P.iX+s.P.I-OK[0].OR:s.P.iX,M0.iY=s.P.iY,M0.I=OK[0].OR,M0.F=s.P.F),M0.Z=M0.C8=ZC.AL(s.K+"-scales-ml-0-c"),M0.paint()),A13=s.HI.transport,A43=ZC._i_(s.HI["reset-timeout"]),A54=ZC._i_(s.HI["stop-timeout"]),A9N=ZC._b_(s.HI.storage),A0I=!0,null!==ZC._n_(s.HI["preserve-data"])&&(A0I=ZC._b_(s.HI["preserve-data"])),A5N=function(KK){for(var TW=eval("("+KK+")"),i,A6,A8P=TW instanceof Array?TW:[TW],r=0,rLen=A8P.length;r<rLen;r++){for(var DM=A8P[r],i=0,A6=s.BO.length,BD,A3S;i<A6;i++){"k"===s.BO[i].AF&&(BD=s.BO[i].BD,null!==ZC._n_(DM[BD]))&&null!==ZC._n_(s.o[BD])&&(null===ZC._n_(s.o[BD][ZC._[5]])&&(s.G.o[ZC._[16]][s.L][BD][ZC._[5]]=[],s.o[BD][ZC._[5]]=[]),s.o[BD][ZC._[5]].push(DM[BD]),!A0I&&s.o[BD][ZC._[5]].length>ZC._i_(s.HI["max-ticks"])&&s.o[BD][ZC._[5]].splice(0,1),s.G.o[ZC._[16]][s.L][BD][ZC._[5]].push(DM[BD]),(s.o[BD][ZC._[5]].length>A43||1===s.MH[1])&&(s.G.o[ZC._[16]][s.L][BD][ZC._[5]]=[],s.o[BD][ZC._[5]]=[],s.G.E["graph"+s.L+".zoom"]&&(s.G.E["graph"+s.L+".zoom"].xmin=null,s.G.E["graph"+s.L+".zoom"].xmax=null),s.HO&&(s.HO.unbind(),ZC.Q.IW(ZC.AL(s.K+"-scroll-x-c"),s.A.AB,s.iX,s.iY,s.I,s.F,s.K),ZC.A3("#"+s.K+"-scroll-x-handle").remove(),ZC.A3("#"+s.K+"-scroll-x-bar").remove()),s.HY)&&(s.HY.unbind(),ZC.Q.IW(ZC.AL(s.K+"-scroll-y-c"),s.A.AB,s.iX,s.iY,s.I,s.F,s.K),ZC.A3("#"+s.K+"-scroll-y-handle").remove(),ZC.A3("#"+s.K+"-scroll-y-bar").remove()),ZC.webstorage)&&A9N&&ZC.AO.storage.push("zingchart.scale."+s.K+"."+BD,""+DM[BD])}for(i=0,A6=s.AY.A4.length;i<A6;i++){null!==ZC._n_(s.o[ZC._[11]][i])&&(A3S=null,null===ZC._n_(H=DM["plot-"+i])&&null===ZC._n_(H=DM["plot"+i])||(A3S=H),"xy"===s.AJ.layout||"yx"===s.AJ.layout?(s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]].push(A3S),!A0I&&s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]].length>ZC._i_(s.HI["max-ticks"])&&s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]].splice(0,1)):s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[A3S],ZC.webstorage&&A9N&&(H=DM["plot"+i],"object"==typeof H&&(H=H.join("###")),ZC.AO.storage.push("zingchart.plot."+s.K+".plot"+i,""+H)),s.o[ZC._[11]][i][ZC._[5]].length>A43||1===s.MH[1])&&(ZC.AO.C0("feed_clear",s.A,s.H2(),DM),s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[])}MR=s.A37()}("ready"===s.M7||s.GG)&&(1===s.MH[1]&&(s.MH[1]=0),MR<=A54||0===A54)&&(s.M7="feed",ZC.ZS(function(){ZC.AL(s.A.K+"-main")&&(ZC.AO.C0("feed_step",s.G,s.H2(),s.o),s.parse(),s.clear(!0),s.UD(),s.paint(!0,!0))}))},"http"===A13||"js"===A13?(E9=s.HI.url,ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){if(1===s.MH[0]||1===s.MH[1])if(s.A.N8(s),"http"===A13){var EX=["query-string"===s.A.N5?"zcrandom="+Math.random():"",zingchart.ZCOUTPUT?"zcoutput="+s.G.AB:""].join("&");ZC.A3.ajax({type:"GET",url:E9,beforeSend:function(e){s.A.RV.data||"http-headers"!==s.A.N5||e.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EX,dataType:"text",error:function(){},success:function(e){A5N(e)}})}else if("()"===E9.substring(E9.length-2)||"javascript:"===E9.substring(0,11))try{var ED=E9.replace("javascript:","").replace("()","");eval(ED)&&eval(ED).call(s,function(e){A5N(e)},s.H2())}catch(e){}},OV)):"websockets"===A13&&ZC.websockets&&(s.G.SE[s.K]?"pull"===s.HI.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.G.SE[s.K].send("zingchart.getdata")},OV)):(ws=new WebSocket(s.HI.url,"zingchart"),ws.onopen=function(){ws.send("zingchart."+s.HI.type),ws.send("zingchart."+s.HI.method),ws.send("zingchart.startfeed"),"pull"===s.HI.method&&ws.send("zingchart.getdata")},ws.onmessage=function(e){1!==s.MH[0]&&1!==s.MH[1]||A5N(e.data)},s.G.SE[s.K]=ws))))},zingchart.ABP=function(e,t,i){document.getElementById("zc-fullscreen")&&(e="zc-fullscreen"),"string"==typeof(i=i||{})&&(i=JSON.parse(i));var n,a=zingchart.getLoader(e);if(a){var l=a.CB(i[ZC._[3]]);switch(t){case"clearfeed":l.MH[1]=1,0===l.MH[0]&&ZC.ZS(function(){l.parse(),l.clear(!0),l.UD(),l.paint(!0,!0)});break;case"getinterval":return l.HI.interval;case"setinterval":ZC.AO.C0("feed_interval_modify",a,l.H2()),l.o.refresh=l.o.refresh||{},l.o.refresh.interval=i.interval||1;break;case"stopfeed":1===l.MH[0]&&(ZC.AO.C0("feed_stop",a,l.H2()),l.MH[0]=0,null!==ZC._n_(n=a.SE[l.K]))&&n.send("zingchart.stopfeed");break;case"startfeed":0===l.MH[0]&&(ZC.AO.C0("feed_start",a,l.H2()),l.MH[0]=1,null!==ZC._n_(n=a.SE[l.K])&&n.send("zingchart.startfeed"),ZC.ZS(function(){l.parse(),l.clear(!0),l.UD(),l.paint(!0,!0)}))}}return null},ZC.AO.A4C=function(e){for(var t={},i=[],n=0,a=(i="object"==typeof e?e:JSON.parse(e)).length;n<a;n++)if(null!==ZC._n_(e=i[n])){t["p"+n]={};var l=[];if("object"==typeof e)l=e;else if("string"==typeof e&&/\d+\-\d+/.test(e)){var o=e.split("-");if(2===o.length)for(var l=[],r=ZC._i_(o[0]);r<=ZC._i_(o[1]);r++)l.push(r)}else l=[e];for(var C=0,s=l.length;C<s;C++)t["p"+n]["n"+l[C]]=!0}return t},ZC.JN.prototype.AC4=function(){var e;null!==ZC._n_(e=this.o.selection)&&(this.CF=ZC.AO.A4C(e),this.o.selection=null)},zingchart.AAR=function(e,C,t){document.getElementById("zc-fullscreen")&&(e="zc-fullscreen"),"string"==typeof(t=t||{})&&(t=JSON.parse(t));var s,i,A,Z,c,h,p,u,_=zingchart.getLoader(e);if(_)switch(C){case"clearselection":if(i=_.CB(t[ZC._[3]])){for(i.CF={},A=0,Z=i.AY.A4.length;A<Z;A++)i.IY[A]=!1;i.HM=!0,i.clearPreview(),i.KC(!0,!0)}break;case"getselection":if(i=_.CB(t[ZC._[3]])){for(l=[],A=0,Z=i.AY.A4.length;A<Z;A++)if((l[A]=null)!==ZC._n_(i.CF["p"+A])){var n=[];for(h in i.CF["p"+A])i.CF["p"+A].hasOwnProperty(h)&&i.CF["p"+A][h]&&n.push(ZC._i_(h.replace("n","")));l[A]=n}return l}return{};case"setselection":var a={},l=[];null!==ZC._n_(s=t.selection)&&(a=ZC.AO.A4C(s)),(i=_.CB(t[ZC._[3]]))&&(i.CF=a,i.HM=!0,i.clearPreview(),i.KC(!0,!0));break;case"select":case"deselect":var d=[],o=function(e){var t=!1,i=(null!==ZC._n_(s=e.toggle)&&(t=ZC._b_(s)),_.CB(e[ZC._[3]]));if(i){for(A=0,Z=i.AY.A4.length;A<Z;A++)i.IY[A]=!1;var n=null,a=null;if(null!==ZC._n_(s=e.plotindex))if("object"==typeof s)n=s;else if("string"==typeof s&&/\d+\-\d+/.test(s)){if(2===(c=s.split("-")).length)for(n=[],u=ZC._i_(c[0]);u<=ZC._i_(c[1]);u++)n.push(u)}else n=[s];if(null!==ZC._n_(s=e.plotid)){var l=[],l="object"==typeof s?s:[s];for(u=0;u<l.length;u++){var o=i.I7(null,l[u]);o&&(n=n||[]).push(o.L)}}if(null!==ZC._n_(s=e.nodeindex))if("object"==typeof s)a=s;else if("string"==typeof s&&/\d+\-\d+/.test(s)){if(2===(c=s.split("-")).length)for(a=[],u=ZC._i_(c[0]);u<=ZC._i_(c[1]);u++)a.push(u)}else a=[s];if(null===ZC._n_(n))for(n=[],A=0,Z=i.AY.A4.length;A<Z;A++)n.push(A);for(A=0,Z=n.length;A<Z;A++){var r=n[A];if(i.AY.A4[r])if(null===ZC._n_(i.CF["p"+r])&&(i.CF["p"+r]={}),null===ZC._n_(a))for(h=0,p=i.AY.A4[r].S.length;h<p;h++)"select"===C?t&&i.CF["p"+r]["n"+h]?delete i.CF["p"+r]["n"+h]:i.CF["p"+r]["n"+h]=!0:"deselect"===C&&delete i.CF["p"+r]["n"+h];else for(h=0,p=a.length;h<p;h++)"select"===C?t&&i.CF["p"+r]["n"+a[h]]?delete i.CF["p"+r]["n"+a[h]]:i.CF["p"+r]["n"+a[h]]=!0:"deselect"===C&&delete i.CF["p"+r]["n"+a[h]]}-1===ZC.AV(d,i)&&d.push(i)}};if(t instanceof Array)for(u=0;u<t.length;u++)o(t[u]);else o(t);for(u=0;u<d.length;u++)d[u].HM=!0,d[u].clearPreview(),d[u].KC(!0,!0)}return null},ZC.JN.prototype.O7=function(){var e=this;e.AJ["3d"]&&typeof ZC.AM!==ZC._[31]&&(ZC.AM.A4F=2.5*ZC.BR(e.I,e.F),ZC.AM.E1=e.P.iX+e.P.I/2,ZC.AM.E2=e.P.iY+e.P.F/2,ZC.AM.FE=ZC._i_(e.ES.depth),ZC.AM.E1+=e.ES["offset-x"],ZC.AM.E2+=e.ES["offset-y"])},ZC.JN.prototype.ADH=function(){var e=this;if(e.AJ["3d"]&&typeof ZC.AM!==ZC._[31]){e.A.B6.load(e.ES,"graph.3d-aspect"),e.A.B6.load(e.ES,e.AF+".3d-aspect"),null!==ZC._n_(t=e.o[ZC._[26]])&&ZC._cp_(t,e.ES),"pie3d"===e.AF&&e.o.plot&&e.o.plot.tilt&&(t=ZC._l_(ZC._f_(e.o.plot.tilt),1,3),e.ES[ZC._[27]]=25+(t-1)/2*(e.AJ["x-angle-max"]-e.AJ["x-angle-min"]));for(var t,i=["angle","depth",ZC._[27],ZC._[28],ZC._[29],"zoom","offset-x","offset-y"],n=0;n<i.length;n++)e.ES[i[n]]=ZC._f_(e.ES[i[n]]);var a=["angle",ZC._[27],ZC._[28],ZC._[29]];for(n=0;n<a.length;n++)ZC.DS(e.ES[a[n]],e.AJ[a[n]+"-min"],e.AJ[a[n]+"-max"])||(e.ES[a[n]]=e.AJ[a[n]+"-min"]);e.ES.true3d=ZC._b_(e.ES.true3d)}},ZC.JN.prototype.SI=function(){for(var e=this,t=(3!==zingchart.V3D&&(zingchart.V3D=e.ES.true3d?1:2),e.CN.A4I.length),i=0;i<t;i++)(o=e.CN.A4I[i]).ADC(),e.ES.true3d?3===zingchart.V3D?e.CN.WL[i]=[ZC._f_(o.ZV.toFixed(1))*o.MG[2],i]:e.CN.WL[i]=[[ZC._f_(o.SO.toFixed(1))*o.MG[0],ZC._f_(o.A4H.toFixed(1))*o.MG[1],ZC._f_(o.ZV.toFixed(1))*o.MG[2],ZC._f_(o.A21.toFixed(1))],i]:e.CN.WL[i]=[[ZC._f_(o.SO.toFixed(1))*o.MG[0],ZC._f_(o.A4G.toFixed(1))*o.MG[1],ZC._f_(o.A3C.toFixed(1))*o.MG[2],ZC._i_(o.G0)],i];e.CN.WL.sort(e.CN.sortFaces);var n=new ZC.DT(e),a=e.G.usc()?e.G.mc():ZC.AL(e.K+"-plots-bl-c"),l=ZC.Q.EE(a,e.G.AB);for(i=0;i<t;i++){var o,r=[],C=e.CN.WL[i][1],s=(o=e.CN.A4I[C]).D.length;if(0<s){for(var A=0;A<s;A++)r.push(o.D[A].EC);r.push(o.D[0].EC),n.$i(e),n.K=e.K+"-3dshape-"+(""!==o.K?o.K:ZC.SEQ++),n.copy(o.O),n.D0=!1,n.Z=a,n.locate(1),n.D=r,n.DH="poly",n.locate(2),n.paint()}}var Z,c=[];for(Z in e.CN.SL)c.push([Z,e.CN.SL[Z].zIndex]);c.sort(function(e,t){return t[1]-e[1]});for(var h=0;h<c.length;h++){var p=e.CN.SL[c[h][0]];ZC.CO.setup(l,p.style),ZC.CO.paint(l,p.style,p.points)}},ZC.JN.prototype.ACQ=function(){var p,u;zingchart.SKIP.LEGEND||!(p=this).BE||p.BE.PV&&p.L!==p.A.AG.length-1&&!p.BE.o.force||(p.BE.Z=p.BE.C8=p.G.usc()?p.G.mc("top"):ZC.AL(p.K+"-legend-c"),p.BE.paint(),-1===ZC.AV(p.G.KQ,ZC._[41])&&(p.O4=function(e){var t,i;if(!ZC.move){p.A7&&p.A.A7&&p.A7.AP&&p.A.A7.onmouseover(e);var n=e.targetid||e.target.id,n=ZC._i_(n.replace(p.K,"").replace("-legend-item_","").replace("-legend-marker_","").replace("-area","").replace("-marker","")),a=p.AY.A4[n];if(a.FV&&(p.BE.WV||a.I9)&&a.S.length)for(t=0,i=a.S.length;t<i;t++)if(null!==a.S[t]&&a.S[t].J1&&(a.FM(t).A15("highlight"),p.BE.PV))for(var l,o=0;o<p.A.AG.length;o++)p.A.AG[o].BE&&p.A.AG[o].BE.PV&&p.A.AG[o].AY.A4[a.L]&&(l=p.A.AG[o].AY.A4[a.L]).FM(t)&&l.FM(t).A15("highlight");ZC.move=!0;var r=a.L,r=(a.o["legend-item"]&&null!==ZC._n_(a.o["legend-item"].order)&&(r=ZC._i_(a.o["legend-item"].order)),p.BE.o["reverse-series"]&&(r=p.AY.A4.length-1-r),p.BE.highlightItem(r),ZC.move=!1,p.AY.A4[n].V6(e));p.E["legend-action-index"]=n,ZC.AO.C0("legend_mouseover",p.A,r)}},p.PT=function(e){ZC.move||p.A7&&p.A.A7&&p.A7.AP&&p.A.A7.onmousemove(e)},p.OE=function(e){if(!ZC.move){if(p.A7&&p.A.A7&&p.A7.AP&&p.A.A7.onmouseout(e),p.LN(),p.BE.PV)for(var t=0;t<p.A.AG.length;t++)p.A.AG[t].BE&&p.A.AG[t].BE.PV&&p.A.AG[t].LN();ZC.move=!0,p.BE.highlightItem(-1),ZC.move=!1;var i=ZC._c_(p.E["legend-action-index"],0),i=p.AY.A4[i].V6(e);ZC.AO.C0("legend_mouseout",p.A,i)}},p.zc_legend_mousescroll=function(e){p.BE.D3&&"scroll-y"===p.BE.D3.AF&&(e.preventDefault(),p.BE.D3.A3T(e))},p.SS=function(e){if(p.E.legend_toggle_action=!0,!(ZC.move||(zingchart.SH(e),1<e.which))){var t,i,n,a,l,o=e.targetid||e.target.id,r=ZC._b_(p.BE.BQ.o.reorder),C=(ZC.mobile&&p.G.A7&&p.G.A7.hide(),"item"),s=(-1!==o.indexOf("-legend-marker_")&&(C="marker"),p.LN(),e.preventDefault(),p.BE.I5),A=("item"===C?s=p.BE.R4:"marker"===C&&(s=p.BE.PW),p.A.KD&&"hide"===s&&(s="remove"),p.E["legend-last-trigger"]=C,ZC._i_(o.replace(p.K+"-legend-item_","").replace(p.K+"-legend-marker_","").replace("-area",""))),o=(p.o[ZC._[11]]&&p.o[ZC._[11]][A]&&(null!==ZC._n_(u=p.o[ZC._[11]][A]["legend-item"])&&(o=u.url||"",i=u.target||"",""!==o)&&p.V8(e,o,i),p.o[ZC._[11]][A].visible=!0),p.AY.A4[A].V6(e));switch(o.visible=ZC._b_(p.E["plot"+A+".visible"]),o.toggleaction=s,ZC.AO.C0("legend_click",p.A,o),ZC.AO.C0("legend_"+C+"_click",p.A,o),s){case"hide":case"remove":if(e.shiftKey){for(var Z=0,c=0,h=p.AY.A4.length;c<h;c++)if(c!==A&&(p.QL({"ignore-legend":r,KC:t=++Z===h-1,plotindex:c,"toggle-action":s}),p.BE.PV))for(n=0,a=p.G.AG.length;n<a;n++)(l=p.G.AG[n]).BE&&l.BE.PV&&l.BE.A4W===p.BE.A4W&&l.K!==p.K&&l.QL({"ignore-legend":!0,KC:t,plotindex:c,"toggle-action":s})}else if(p.QL({"ignore-legend":r,KC:1,plotindex:A,"toggle-action":s}),p.BE.PV)for(n=0,a=p.G.AG.length;n<a;n++)(l=p.G.AG[n]).BE&&l.BE.PV&&l.BE.A4W===p.BE.A4W&&l.K!==p.K&&l.QL({"ignore-legend":!0,KC:1,plotindex:A,"toggle-action":s})}"hide"===s&&p.E.hooks&&(p.P3(),p.R3())}},ZC.A3("."+p.K+"-legend-item-area").live("mouseup touchstart",p.SS).live("DOMMouseScroll",p.zc_legend_mousescroll).live("mousewheel",p.zc_legend_mousescroll),ZC.A3("."+p.K+"-legend-marker-area").live("mouseup touchstart",p.SS).live("DOMMouseScroll",p.zc_legend_mousescroll).live("mousewheel",p.zc_legend_mousescroll),ZC.A3("#"+p.K+"-legend-frame").live("DOMMouseScroll",p.zc_legend_mousescroll).live("mousewheel",p.zc_legend_mousescroll),ZC.mobile||(ZC.A3("."+p.K+"-legend-item-area").live(ZC.Q.C1("mouseover"),p.O4).live(ZC.Q.C1("mouseout"),p.OE).live(ZC.Q.C1(ZC._[48]),p.PT),ZC.A3("."+p.K+"-legend-marker-area").live(ZC.Q.C1("mouseover"),p.O4).live(ZC.Q.C1("mouseout"),p.OE).live(ZC.Q.C1(ZC._[48]),p.PT))))},ZC.AAF=ZC.JN.CD({$i:function(e){this.b(e);this.AF="null",this.AJ.clip=!0,this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0}}),ZC.A90=ZC.JN.CD({$i:function(e){this.b(e);this.AF="null3d",this.CN=new ZC.ST,this.AJ["3d"]=!0,this.AJ["x-angle-min"]=-1800,this.AJ["x-angle-max"]=1800,this.AJ["y-angle-min"]=-1800,this.AJ["y-angle-max"]=1800,this.AJ["z-angle-min"]=-1800,this.AJ["z-angle-max"]=1800,zingchart.V3D=3},clear:function(){this.b(),this.CN.clear()},paint:function(){this.b(),this.Q6(),this.SI(),this.flatten(),this.KM(),-1===ZC.AV(this.G.KQ,ZC._[41])&&this.S5()}}),ZC.NL=ZC.JN.CD({$i:function(e){this.b(e);this.AF="xy",this.AJ.clip=!0,this.AJ.layout="xy"},MT:function(e){switch(e){case"x":return new ZC.QA(this);case"y":return new ZC.QB(this)}},ACN:function(){var e,t,i=this,n=i.MT("x",ZC._[50]);for(n.BD=ZC._[50],n.K=i.K+"-scale-x",i.BO.push(n),e=2;e<200;e++)null!==ZC._n_(i.o["scale-x-"+e])&&((t=i.MT("x","scale-x-"+e)).L=e,t.BD="scale-x-"+e,t.K=i.K+"-scale-x-"+e,i.BO.push(t));var a,n=i.MT("y",ZC._[51]);for(n.BD=ZC._[51],n.K=i.K+"-scale-y",i.BO.push(n),e=2;e<200;e++)null!==ZC._n_(i.o["scale-y-"+e])&&((a=i.MT("y","scale-y-"+e)).L=e,a.BD="scale-y-"+e,a.K=i.K+"-scale-y-"+e,i.BO.push(a));i.b()}}),ZC.A6E=ZC.NL.CD({$i:function(e){this.b(e);this.AF="line",this.AY=new ZC.A44(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0,this.AJ["enable-scroll"]=!0}}),ZC.A6F=ZC.NL.CD({$i:function(e){this.b(e);this.AF="area",this.AY=new ZC.A45(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0,this.AJ["enable-scroll"]=!0}}),ZC.A9X=ZC.NL.CD({$i:function(e){this.b(e);this.AF="vline",this.AJ.layout="yx",this.AY=new ZC.A8B(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0,this.AJ["enable-scroll"]=!0},MT:function(e){switch(e){case"x":return new ZC.SZ(this);case"y":return new ZC.T0(this)}}}),ZC.A9Y=ZC.NL.CD({$i:function(e){this.b(e);this.AF="varea",this.AJ.layout="yx",this.AY=new ZC.A8C(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0,this.AJ["enable-scroll"]=!0},MT:function(e){switch(e){case"x":return new ZC.SZ(this);case"y":return new ZC.T0(this)}}}),ZC.A2M=ZC.NL.CD({$i:function(e){this.b(e);this.AF="vbar",this.AY=new ZC.A0L(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0,this.AJ["enable-scroll"]=!0},MT:function(e,t){switch(e){case"x":var i=this.b(e,t);return i.DE=!0,i;case"y":return this.b(e,t)}}}),ZC.A2N=ZC.NL.CD({$i:function(e){this.b(e);this.AF="hbar",this.AJ.layout="yx",this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0,this.AJ["enable-scroll"]=!0,this.AY=new ZC.A0M(this)},MT:function(e){switch(e){case"x":var t=new ZC.SZ(this);return t.DE=!0,t;case"y":return new ZC.T0(this)}}}),ZC.A57=ZC.NL.CD({$i:function(e){this.b(e);this.AF="mixed",this.AY=new ZC.ZK(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0,this.AJ["enable-scroll"]=!0},MT:function(e,t){switch(e){case"x":var i=!1;if(this.o[ZC._[11]])for(var n,a=0;a<this.o[ZC._[11]].length;a++)this.o[ZC._[11]][a]&&this.o[ZC._[11]][a].type&&-1!==ZC.AV(["bar","vbar","bullet","vbullet","stock","vbar3d"],this.o[ZC._[11]][a].type)&&(n=(this.o[ZC._[11]][a].scales||"scale-x,scale-y").split(","),-1!==ZC.AV(n,t))&&(i=!0);var l=this.b(e,t);return l.DE=i,l;case"y":return this.b(e,t)}}}),ZC.A8R=ZC.NL.CD({$i:function(e){this.b(e);this.AF="hmixed",this.AJ.layout="yx",this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!1,this.AJ["enable-scroll"]=!0,this.AY=new ZC.ZK(this)},MT:function(e,t){switch(e){case"x":var i=new ZC.SZ(this),n=!1;if(this.o[ZC._[11]])for(var a,l=0;l<this.o[ZC._[11]].length;l++)this.o[ZC._[11]][l]&&this.o[ZC._[11]][l].type&&-1!==ZC.AV(["hbar","hbullet"],this.o[ZC._[11]][l].type)&&(a=(this.o[ZC._[11]][l].scales||"scale-x,scale-y").split(","),-1!==ZC.AV(a,t))&&(n=!0);return i.DE=n,i;case"y":return new ZC.T0(this)}}}),ZC.A2Z=ZC.A57.CD({$i:function(e){this.b(e);this.AF="mixed3d",this.AY=new ZC.ZK(this),this.CN=new ZC.ST,this.AJ["3d"]=!0,this.AJ[ZC._[56]]=!1,this.AJ[ZC._[55]]=!1,this.AJ["enable-scroll"]=!0},clear:function(){this.b(),this.CN.clear()},paint:function(){var e=this;e.b(),e.SI(),e.flatten(),e.Q6(),e.FB.length&&(e.CN.clear(),e.KM(),e.SI()),-1===ZC.AV(e.G.KQ,ZC._[41])&&e.S5()}}),ZC.A7V=ZC.NL.CD({$i:function(e){this.b(e);this.AF="scatter",this.AY=new ZC.A6Q(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0,this.AJ["enable-scroll"]=!0}}),ZC.A7B=ZC.NL.CD({$i:function(e){this.b(e);this.AF="hscatter",this.AJ.layout="yx",this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!1,this.AJ["enable-scroll"]=!0,this.AY=new ZC.A5S(this)},MT:function(e){switch(e){case"x":return new ZC.SZ(this);case"y":return new ZC.T0(this)}}}),ZC.A8S=ZC.NL.CD({$i:function(e){this.b(e);this.AF="bubble",this.AY=new ZC.A7C(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!0,this.AJ["enable-scroll"]=!0}}),ZC.A7W=ZC.NL.CD({$i:function(e){this.b(e);this.AF="hbubble",this.AJ.layout="yx",this.AJ[ZC._[23]]=!0,this.AJ[ZC._[56]]=!1,this.AJ["enable-scroll"]=!0,this.AY=new ZC.A6R(this)},MT:function(e){switch(e){case"x":return new ZC.SZ(this);case"y":return new ZC.T0(this)}}}),ZC.A3U=ZC.JN.CD({$i:function(e){this.b(e),this.AF="pie",this.AY=new ZC.A58(this)},A2P:function(e){return e},MT:function(e){switch(e){case"m":return new ZC.TB(this);case"v":return new ZC.WA(this);case"r":return new ZC.A2B(this)}},ACN:function(){var e=this,t=e.MT("m","scale"),i=e.MT("v",ZC._[52]),n=e.MT("r","scale-r");t.BD="scale",t.K=e.K+"-scale",e.o[ZC._[11]]&&e.o[ZC._[11]].length&&e.o[ZC._[11]][0][ZC._[5]]&&(t.N4="1x"+e.o[ZC._[11]][0][ZC._[5]].length),i.BD=ZC._[52],i.K=e.K+"-scale-v",n.BD="scale-r",n.K=e.K+"-scale-r",e.BO.push(t,i,n),e.b()},clear_:function(){-1!==ZC.AV(["svg","vml"],this.G.AB)&&ZC.A3("#"+this.K+" .zc-layer").each(function(){/\-plot-\d+\-bl\-\d+\-/.test(this.id)&&ZC.A3(this).children().each(function(){/\-connector\-path/.test(this.id)&&ZC.Q.EW(this)})})}}),ZC.A6P=ZC.JN.CD({$i:function(e){this.b(e);this.AF="nestedpie",this.AY=new ZC.A59(this)},A2P:function(e){return e},MT:function(e){if("m"===e)return new ZC.TB(this)},ACN:function(){var e=this.MT("m","scale");e.BD="scale",e.K=this.K+"-scale",this.BO.push(e),this.b()}}),ZC.A9S=ZC.JN.CD({$i:function(e){this.b(e);var t=this;if(t.AF="radar",t.AJ.layout="radar",t.AY=new ZC.A7X(t),-1!==ZC.AV(t.A.K,"polar")){for(var i=1,n=0;n<t.A.MF.series.length;n++)i=ZC.BR(i,t.A.MF.series[n][ZC._[5]].length);i=Math.round(360/i).toString(),null===ZC._n_(t.A.MF.plot)?t.A.MF.plot={aspect:"area"}:ZC._cp_({aspect:"area"},t.A.MF.plot),null===ZC._n_(t.A.MF["scale-k"])?t.A.MF["scale-k"]={aspect:"circle",format:"%v\xb0",values:"0:330:"+i}:ZC._cp_({aspect:"circle",format:"%v\xb0",values:"0:330:"+i},t.A.MF["scale-k"],!0)}},A2P:function(e){return e},MT:function(e){switch(e){case"m":return new ZC.TB(this);case"k":return new ZC.ZP(this);case"v":return new ZC.ZO(this)}},ACN:function(){var e=this,t=e.MT("k","scale-k"),t=(t.BD="scale-k",t.K=e.K+"-scale-k",e.BO.push(t),e.MT("v",ZC._[52])),t=(t.BD=ZC._[52],t.K=e.K+"-scale-v",e.BO.push(t),e.MT("m","scale"));t.BD="scale",t.K=e.K+"-scale",e.BO.push(t),e.b()}}),ZC.A7Z=ZC.A2M.CD({$i:function(e){this.b(e);this.AF="vbullet",this.AY=new ZC.A6T(this),this.AJ[ZC._[55]]=!1}}),ZC.A80=ZC.A2N.CD({$i:function(e){this.b(e);this.AF="hbullet",this.AJ.layout="yx",this.AY=new ZC.A6U(this),this.AJ[ZC._[55]]=!1}}),ZC.A9T=ZC.NL.CD({$i:function(e){this.b(e);this.AF="piano",this.AY=new ZC.A81(this),this.AJ[ZC._[55]]=!1,this.AJ["enable-scroll"]=!0},ABF:function(e){if("v"===e&&this.o[ZC._[11]]&&this.o[ZC._[11]].length){for(var t=[],i=0;i<this.o[ZC._[11]].length;i++)t.push(this.o[ZC._[11]][i].text||"Metric "+(i+1));return t}return null},MT:function(e){switch(e){case"x":var t=new ZC.QA(this);return t.DE=!0,t;case"y":t=new ZC.QB(this);return t.DE=!0,t.append({step:1,"fixed-step":!0}),t}}}),ZC.A82=ZC.NL.CD({$i:function(e){this.b(e);this.AF="vfunnel",this.AY=new ZC.A6V(this),this.AJ[ZC._[55]]=!1,this.AJ["enable-zooming"]=!1,this.AJ["enable-scroll"]=!1},MT:function(e,t){switch(e){case"x":var i=this.b(e,t);return i.DE=!0,i;case"y":i=this.b(e,t);return i.DE=!0,i}},ABF:function(e){if("v"===e&&this.o[ZC._[11]]&&this.o[ZC._[11]].length){for(var t=[],i=0;i<this.o[ZC._[11]].length;i++)t.push("Step "+(i+1));return t}return null},paint:function(){for(var e=0,t=this.BO.length;e<t;e++)"v"===this.BO[e].AF&&(this.BO[e].AW=!this.BO[e].AW);this.b()}}),ZC.A83=ZC.NL.CD({$i:function(e){this.b(e);this.AF="hfunnel",this.AY=new ZC.A6W(this),this.AJ[ZC._[55]]=!1,this.AJ["enable-zooming"]=!1,this.AJ["enable-scroll"]=!1},ABF:function(e){if("v"===e&&this.o[ZC._[11]]&&this.o[ZC._[11]].length){for(var t=[],i=0;i<this.o[ZC._[11]].length;i++)t.push("Step "+(i+1));return t}return null},MT:function(e){switch(e){case"x":var t=new ZC.SZ(this);return t.DE=!0,t;case"y":t=new ZC.T0(this);return t.DE=!0,t}}}),ZC.A9U=ZC.NL.CD({$i:function(e){this.b(e);this.AF="stock",this.AY=new ZC.A84(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[55]]=!1,this.AJ["enable-scroll"]=!0,this.AJ[ZC._[56]]=!0},MT:function(e,t){switch(e){case"x":var i=this.b(e,t);return i.DE=!0,i;case"y":return this.b(e,t)}}}),ZC.A9V=ZC.JN.CD({$i:function(e){this.b(e);this.AF="gauge",this.AJ.layout="gauge",this.AY=new ZC.A85(this)},A2P:function(e){return e},MT:function(e){switch(e){case"m":return new ZC.TB(this);case"r":return new ZC.A86(this);case"v":return new ZC.WA(this)}},ACN:function(){var e,t,i=this,n=i.MT("m","scale");for(n.BD="scale",n.K=i.K+"-scale",i.BO.push(n),e=2;e<10;e++)null!==ZC._n_(i.o["scale-"+e])&&((t=i.MT("m","scale-"+e)).L=e,t.BD="scale-"+e,t.K=i.K+"-scale-"+e,i.BO.push(t));var a,n=i.MT("r","scale-r");for(n.BD="scale-r",n.K=i.K+"-scale-r",i.BO.push(n),e=2;e<10;e++)null!==ZC._n_(i.o["scale-r-"+e])&&((a=i.MT("r","scale-r-"+e)).L=e,a.BD="scale-r-"+e,a.K=i.K+"-scale-r-"+e,i.BO.push(a));i.b()},hideLayer_:function(){var e=this;ZC.A3("#"+e.K+"-plots-bl-2").children().each(function(){ZC.Q.IW(this,e.G.AB,e.iX,e.iY,e.I,e.F,e.K)})}}),ZC.A9W=ZC.NL.CD({$i:function(e){this.b(e);this.AF="range",this.AY=new ZC.A87(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[55]]=!1,this.AJ["enable-scroll"]=!0,this.AJ[ZC._[56]]=!0}}),ZC.ZCVRangeGraph=ZC.NL.CD({$i:function(e){this.b(e);this.AF="range",this.AJ.layout="yx",this.AY=new ZC.ZCVRangePlotSet(this),this.AJ[ZC._[23]]=!0,this.AJ[ZC._[55]]=!1,this.AJ["enable-scroll"]=!0,this.AJ[ZC._[56]]=!1},MT:function(e){switch(e){case"x":return new ZC.SZ(this);case"y":return new ZC.T0(this)}}}),ZC.A5C=ZC.A3U.CD({$i:function(e){this.b(e);e=this;e.AF="pie3d",e.AY=new ZC.A88(e),e.CN=new ZC.ST,e.AJ["3d"]=!0,e.AJ[ZC._[55]]=!1,e.AJ["x-angle-min"]=15,e.AJ["x-angle-max"]=75,e.AJ["y-angle-min"]=0,e.AJ["y-angle-max"]=0,e.AJ["z-angle-min"]=0,e.AJ["z-angle-max"]=0},clear:function(){this.b(),this.CN.clear()},paint:function(){var e=this;e.b(),e.SI(),e.flatten(),e.Q6(),e.FB.length&&(e.CN.clear(),e.KM(),e.SI()),-1===ZC.AV(e.G.KQ,ZC._[41])&&e.S5()}}),ZC.A8U=ZC.A2N.CD({$i:function(e){this.b(e);e=this;e.AF="hbar3d",e.AY=new ZC.A7J(e),e.CN=new ZC.ST,e.AJ["3d"]=!0,e.AJ[ZC._[56]]=!1,e.AJ[ZC._[55]]=!1,e.AJ["x-angle-min"]=-20,e.AJ["x-angle-max"]=20,e.AJ["y-angle-min"]=-20,e.AJ["y-angle-max"]=0},clear:function(){this.b(),this.CN.clear()},paint:function(){var e=this;e.b(),e.SI(),e.flatten(),e.Q6(),e.FB.length&&(e.CN.clear(),e.KM(),e.SI()),-1===ZC.AV(e.G.KQ,ZC._[41])&&e.S5()}}),ZC.A8V=ZC.A2M.CD({$i:function(e){this.b(e);this.AF="vbar3d",this.AY=new ZC.A7I(this),this.CN=new ZC.ST,this.AJ["3d"]=!0,this.AJ[ZC._[56]]=!0,this.AJ[ZC._[55]]=!1,this.AJ["enable-scroll"]=!0},clear:function(e,t){this.b(e,t),this.CN.clear()},paint:function(){var e=this;e.b(),e.SI(),e.flatten(),e.Q6(),e.FB.length&&(e.CN.clear(),e.KM(),e.SI()),-1===ZC.AV(e.G.KQ,ZC._[41])&&e.S5()}}),ZC.A8W=ZC.A6E.CD({$i:function(e){this.b(e);this.AF="line3d",this.AY=new ZC.A7K(this),this.CN=new ZC.ST,this.AJ["3d"]=!0,this.AJ[ZC._[56]]=!0,this.AJ[ZC._[55]]=!1,this.AJ["enable-scroll"]=!0},clear:function(e,t){this.b(e,t),this.CN.clear()},paint:function(){var e=this;e.b(),e.SI(),e.flatten(),e.Q6(),e.FB.length&&(e.CN.clear(),e.KM(),e.SI()),-1===ZC.AV(e.G.KQ,ZC._[41])&&e.S5()}}),ZC.A8X=ZC.A6F.CD({$i:function(e){this.b(e);this.AF="area3d",this.AY=new ZC.A7L(this),this.CN=new ZC.ST,this.AJ["3d"]=!0,this.AJ[ZC._[56]]=!0,this.AJ[ZC._[55]]=!1,this.AJ["enable-scroll"]=!0},clear:function(e,t){this.b(e,t),this.CN.clear()},paint:function(){var e=this;e.b(),e.SI(),e.flatten(),e.Q6(),e.FB.length&&(e.CN.clear(),e.KM(),e.SI()),-1===ZC.AV(e.G.KQ,ZC._[41])&&e.S5()}}),ZC.AAG=ZC.JN.CD({$i:function(e){this.b(e);this.AF="venn",this.AY=new ZC.A8Z(this)},A2P:function(e){return e},MT:function(e){if("m"===e)return new ZC.TB(this)},parse:function(){this.b(),this.BE&&(this.BE.I5="remove",this.BE.R4="remove",this.BE.PW="remove")},ACN:function(){var e=this.MT("m","scale");e.BD="scale",e.K=this.K+"-scale",this.BO.push(e),this.b()}}),ZC.LQ=ZC.HU.CD({$i:function(e){this.b(e);var t=this;t.C=e,t.G=t.C.A,t.A4=[],t.H3=null,t.KH=[],t.K8=[],t.PZ=!0,t.F9=null,t.A4K=!0,t.W5=[]},ACU:function(){return new ZC.I1(this)},parse:function(){var e,t=this;for(t.K=t.A.K+"-plotset",t.F9=null,a=t.o.length-1;0<=a;a--)typeof t.o[a]===ZC._[31]&&t.o.splice(a,1);if(null===ZC._n_(t.E["plot-sort"])&&(t.E["plot-sort"]=!1),1<t.o.length){for(a=0,l=t.o.length;a<l;a++)typeof t.o[a].palette===ZC._[31]&&(t.o[a].palette=a);for(var i=[],n=[],a=0,l=t.o.length;a<l;a++)i[n[a]=a]={"z-index":t.o[a]["z-index"]||0};for(var o=!1;!o;)for(o=!0,a=0,l=i.length;a<l-1;a++){var r=i[a]["z-index"];i[a+1]["z-index"]<r&&(t.E["plot-sort"]=!0,r=i[a],i[a]=i[a+1],i[a+1]=r,r=n[a],n[a]=n[a+1],n[a+1]=r,o=!1)}t.MA=n}else t.MA=[0];for(t.A4=[],a=0,l=t.o.length;a<l;a++){var C="",C=(t.A.o.plot&&null!==ZC._n_(e=t.A.o.plot.type)&&(C=e),null!==ZC._n_(e=t.o[a].type)&&(C=e),t.ACU(C,a));C.NY=C.AF+"plot",C.L=a,C.JW=a,t.C.A.B6.load(C.o,["("+C.AF+").plot"]),C.sTypeX&&t.C.A.B6.load(C.o,["("+C.sTypeX+").plot"]),t.C.A.B6.load(C.o,["("+C.AF+").plot.animation"]),null!==ZC._n_(e=t.A.o.plot)&&C.append(e),C.append(t.o[a]),0===zingchart.DEV.COPYVALUES&&(C.o[ZC._[5]]=[].concat(t.o[a][ZC._[5]]||[])),C.CG=t.A.CG,C.parse(),t.A4.push(C)}var s,A,Z,c={},h=[],p=[],u={},_={},d=0,f=0;for(a=0,l=t.A4.length;a<l;a++)null!==ZC._n_(t.A.A.E["g-"+t.A.L+"-p-"+a+".visible"])&&(t.C.E["plot"+a+".visible"]=t.A.A.E["g-"+t.A.L+"-p-"+a+".visible"]),t.A4[a].HT||!t.C.E["plot"+a+".visible"]&&"hide"!==t.C.getToggleAction()||(t.A4[a].CG?-1===(f=ZC.AV(p,t.A4[a].DZ))&&(p.push(t.A4[a].DZ),f=p.length-1):(p.push(-1),f=p.length-1),null===ZC._n_(h[f])?h[f]=[a]:h[f].push(a),s=t.A4[a].AF,t.A4[a].o.type&&s!==t.A4[a].o.type&&(A=s.indexOf("3d"),Z=t.A4[a].o.type.indexOf("3d"),-1===A&&-1!==Z||-1===A&&-1===Z)&&(s=t.A4[a].o.type),-1!==ZC.AV(["bar","bar3d","bullet"],s)&&(s="v"+s),-1===ZC.AV(["vbar","hbar","vbullet","hbullet","stock","vbar3d","hbar3d"],s))||t.A4[a].HT||(null===ZC._n_(u[s])&&(u[s]=[]),null===ZC._n_(_[s])&&(_[s]=[]),t.A4[a].CG?(null===ZC._n_(c[t.A4[a].DZ])?c[t.A4[a].DZ]=1:c[t.A4[a].DZ]++,-1===(d=ZC.AV(_[s],t.A4[a].DZ))&&(_[s].push(t.A4[a].DZ),d=_[s].length-1)):(_[s].push(-1),d=_[s].length-1),null===ZC._n_(u[s][d])?u[s][d]=[a]:u[s][d].push(a));if(t.KH=h,t.K8=u,t.WS)for(var g in t.WS)t.WS[g].sort();for(t.A1K=[],a=0;a<t.KH.length;a++)t.A1K.push(t.KH[a][t.KH[a].length-1])},paint:function(){var n=this;function a(e){var t=n.MA[e],i=((n.A4[t].HZ||n.A4[t].E6.length&&n.A.B7||"none"!==n.A4[t].J4)&&(n.G.OC=!1),n.A4K=!0,n.C.getToggleAction());n.A4[t].o["skip-paint"]||(n.C.AJ["3d"]?n.C.E["plot"+t+".visible"]&&(n.A4[t].paint(),n.G.ZY()):!n.C.E["plot"+t+".visible"]&&"hide"!==i||(typeof n.C.E["plot-"+t+"-first-run"]!==ZC._[31]&&(n.A4[t].TO=0),n.A4[t].paint(),n.A4[t].TO=0,n.G.ZY(),n.C.E["plot"+t+".visible"])||"hide"!==i||(n.C.E["plot"+t+".visible"]=!0,n.A.QL({plotindex:t,"ignore-legend":!0}))),n.C.E["plot-"+t+"-first-run"]=!1,e<n.A4.length-1?n.C.KU?ZC.ASYNC_TICK[n.C.K]=window.setTimeout(function(){a(e+1)},10):n.A4.length<=100&&a(e+1):(!n.C.KU||n.C.KU&&n.A4K)&&n._end_()}if(n.H3=n.H3||[],0<n.A4.length)if(100<n.A4.length&&!n.C.KU)for(var e=0;e<n.A4.length;e++)a(e);else a(0);else n._end_()},_end_:function(){var e,a=this;a.S0=null,a.VO=null;for(var t=0;t<a.C.BO.length;t++)a.C.BO[t].EV=null,a.C.BO[t].WU=null;var i,n,l,o;function r(e){var t=0,i=e.indexOf(ZC._[35]),n=e.indexOf("-node-",i);return-1!==i&&-1!==n&&(t=e.substr(i+14,n-i-14)),typeof a.A4[t].E["z-mid"]!==ZC._[31]?a.A4[t].E["z-mid"]:t}(e=ZC.AL(a.C.A.K+"-map"))&&!a.G.ZA&&(a.A.G.bA11y||-1===ZC.AV(["bubble","hbubble","vbullet","hbullet","radar","vbar3d","hbar3d","mixed","mixed3d","pie3d","hmixed","hmixed3d"],a.C.AF)&&1!==zingchart.SORTTRACKERS||a.H3.sort(function(e,t){return"pie3d"===a.C.AF?ZC.AO.NA(e)>ZC.AO.NA(t)?1:ZC.AO.NA(e)<ZC.AO.NA(t)?-1:0:r(e)>r(t)&&a.A.AJ["3d"]?1:r(e)<r(t)&&a.A.AJ["3d"]?-1:ZC.AO.NA(e)>ZC.AO.NA(t)?1:ZC.AO.NA(e)<ZC.AO.NA(t)?-1:0}),i='<area shape="rect" coords="0,0,1,1" id="mark'+a.A.L+'">',n=a.A.a11y(),l=e.innerHTML.indexOf(i),o="",zingchart.DEV.DELAYEDTRACKERS?window.setTimeout(function(){o=-1!==l?e.innerHTML.substring(0,l+i.length)+n+a.H3.join("")+e.innerHTML.substring(l+i.length):e.innerHTML+n+a.H3.join(""),ZC.AO._rebuild_map_(a.G.K,o)},500):(o=-1!==l?e.innerHTML.substring(0,l+i.length)+n+a.H3.join("")+e.innerHTML.substring(l+i.length):e.innerHTML+n+a.H3.join(""),ZC.AO._rebuild_map_(a.G.K,o))),a.F3=null,a.D9=null,a.C.A9G=[],a.A._end_()}}),ZC.A44=ZC.LQ.CD({ACU:function(){return new ZC.QX(this)}}),ZC.A45=ZC.LQ.CD({ACU:function(){return new ZC.QY(this)}}),ZC.A8B=ZC.LQ.CD({ACU:function(){var e=new ZC.QX(this);return e.NG=!0,e}}),ZC.A8C=ZC.LQ.CD({ACU:function(){var e=new ZC.QY(this);return e.NG=!0,e}}),ZC.A0L=ZC.LQ.CD({ACU:function(){return new ZC.QZ(this)}}),ZC.A0M=ZC.LQ.CD({ACU:function(){return new ZC.R0(this)}}),ZC.ZK=ZC.LQ.CD({ACU:function(e){var t=this;switch(e){default:return new ZC.QX(t);case"vline":var i=new ZC.QX(t);return i.NG=!0,i;case"poly":i=new ZC.PG(t);return i.bPoly=!0,i.sTypeX="poly",i;case"area":return new ZC.QY(t);case"varea":i=new ZC.QY(t);return i.NG=!0,i;case"bar":case"vbar":return new ZC.QZ(t);case"hbar":return new ZC.R0(t);case"scatter":return new ZC.PG(t);case"hscatter":return new ZC.PG(t,"hscatter");case"bubble":return new ZC.S2(t);case"hbubble":return new ZC.S2(t,"hbubble");case"stock":return new ZC.VJ(t);case"range":return new ZC.T1(t);case"vrange":i=new ZC.T1(t);return i.NG=!0,i;case"line3d":return new ZC.UQ(t);case"area3d":return new ZC.UR(t);case"bar3d":case"vbar3d":return new ZC.UP(t);case"bullet":case"vbullet":return new ZC.TJ(t);case"hbullet":return new ZC.TK(t)}}}),ZC.A6Q=ZC.LQ.CD({ACU:function(){return new ZC.PG(this)}}),ZC.ACF=ZC.LQ.CD({ACU:function(){var e=new ZC.PG(this);return e.bPoly=!0,e.sTypeX="poly",e}}),ZC.A5S=ZC.LQ.CD({ACU:function(){return new ZC.PG(this,"hscatter")}}),ZC.A7C=ZC.LQ.CD({ACU:function(){return new ZC.S2(this)}}),ZC.A6R=ZC.LQ.CD({ACU:function(){return new ZC.S2(this,"hbubble")}}),ZC.A58=ZC.LQ.CD({$i:function(e){this.b(e);this.KP=[],this.PB=[],this.TS=[]},ACU:function(){return new ZC.W9(this)},parseLayout:function(e){for(var t=this,i=(e&&(t.TS=[],t.PB=[]),t.A.BM("scale-r")),n=t.A.BM("scale"),a=.9,l=1,o=(10<=t.A4.length&&(l=1),20<=t.A4.length&&(l=1.25),30<=t.A4.length&&(l=1.5),i.DK),r=0,C=t.A4.length;r<C;r++)null!==ZC._n_(t.A4[r].o["ref-angle"])&&(o=t.A4[r].DK);for(r=0,C=t.A4.length;r<C;r++)if(t.C.E["plot"+r+".visible"]||"hide"===t.C.getToggleAction())for(var s,A,Z,c=0,h=t.A4[r].S.length;c<h;c++)t.A4[r].S[c]&&(t.YB["n"+c]=t.YB["n"+c]||[],A=t.A4[r].S[c],null===ZC._n_(t.PB[c])&&(t.PB[c]=o),Z=null!==ZC._n_(Z=t.A4[r].o[ZC._[1]])?ZC._f_(Z):t.PB[c],s=t.KP[c],s=0===(s=null!==ZC._n_(t.A4[r].o.totals)&&null!==ZC._n_(t.A4[r].o.totals[c])?t.KP[c]=ZC._f_(t.A4[r].o.totals[c]):s)?Z+i.EM*(1/C):0===A.AC&&t.A4[r].TT?Z+i.EM*(.005*t.KP[c])/s:Z+i.EM*A.AC/s,t.PB[c]=s,A.B4=Z,A.BL=s,"out"===(A=A.H1(!0)).o[ZC._[7]])&&A.AP&&(Z=ZC._i_((Z+s)/2),t.YB["n"+c][r]=Z-o,s=ZC.CY(n.I/2-l*A.I-A.DX-35,n.F/2-l*A.F-A.DX-15),a=ZC.CY(a,2*s/ZC.CY(n.I,n.F)));if("pie3d"===t.A.AF&&(a*=.75),a=ZC.BR(.1,ZC.CY(.9,a)),"auto"===n.o["size-factor"]&&(n.JU=a),e)for(var p in t.YB)t.YB[p]=ZC.AQ.ACI(t.YB[p],o)},parse:function(){var e=this;e.A.o.plot&&"auto"===e.A.o.plot.layout&&(null===ZC._n_(e.A.o.plot["ref-angle"])&&(e.A.o.plot["ref-angle"]=-90),e.o.sort(function(e,t){return t[ZC._[5]][0]-e[ZC._[5]][0]})),e.TS=[],e.KP=[],e.PB=[],e.YB={},e.b();for(var t=0,i=e.A4.length;t<i;t++)for(var n=0,a=e.A4[t].S.length;n<a;n++)e.A4[t].S[n]&&e.A4[t].S[n]&&(e.C.E["plot"+t+".visible"]||"hide"===e.C.getToggleAction())&&0===e.A4[t].S[n].AC&&e.A4[t].TT&&(e.KP[n]+=.005*e.KP[n]);e.parseLayout()}}),ZC.A59=ZC.LQ.CD({$i:function(e){this.b(e);this.KP=[],this.PB=[]},ACU:function(){return new ZC.U1(this)},parse:function(){for(var e=this,t=(e.KP=[],e.PB=[],e.b(),e.A.BM("scale")),i=t.iX+t.I/2,n=1,a=0,l=e.A4.length;a<l;a++)if(e.C.E["plot"+a+".visible"]||"hide"===e.C.getToggleAction())for(var o,r,C,s=0,A=e.A4[a].S.length;s<A;s++)e.A4[a].S[s]&&(o=e.A4[a].S[s],null===ZC._n_(e.PB[s])&&(e.PB[s]=e.A4[a].DK),C=(r=e.PB[s])+360*o.AC/e.KP[s],e.PB[s]=C,o.B4=r,o.BL=C,o=o.H1(!0))&&"in"!==o.o[ZC._[7]]&&(C=((0<=(r=ZC._i_((r+C)/2))&&r<=90||270<=r&&r<=360?t.iX+t.I-(o.I+25):t.iX+(o.I+25))-i)/ZC.EF(r),n=ZC.CY(n,2*C/t.I),C=t.F/2-(o.F/2+10),n=ZC.CY(n,2*C/t.F));n=ZC.BR(.15,ZC.CY(.85,n)),"auto"===t.o["size-factor"]&&(t.o["size-factor"]=t.JU=n)}}),ZC.A7X=ZC.LQ.CD({A23:{},$i:function(e){this.b(e)},ACU:function(){return new ZC.XH(this)},paint:function(){this.A23={},this.b()}}),ZC.A6T=ZC.A0L.CD({ACU:function(){return new ZC.TJ(this)}}),ZC.A6U=ZC.A0M.CD({ACU:function(){return new ZC.TK(this)}}),ZC.A81=ZC.LQ.CD({ACU:function(){return new ZC.XI(this)}}),ZC.A2C=ZC.LQ.CD({parse:function(){var e,t,i,n,a,l=this;for(l.B0=ZC.MAX,l.BF=-ZC.MAX,l.A7T=[],l.SD=[],l.b(),e=0,t=l.A4.length;e<t;e++)for(i=0,n=l.A4[e].S.length;i<n;i++)l.A4[e].S[i]&&(a=l.A4[e].S[i],null===ZC._n_(l.SD[i])&&(l.SD[i]=ZC.MAX),null===ZC._n_(l.A7T[i])&&(l.A7T[i]=-ZC.MAX),l.SD[i]=ZC.CY(l.SD[i],a.AC),l.A7T[i]=ZC.BR(l.A7T[i],a.AC));for(e=0,t=l.A4.length;e<t;e++)for(i=0,n=l.A4[e].S.length;i<n;i++)l.A4[e].S[i]&&(a=l.A4[e].S[i],l.B0=ZC.CY(l.B0,a.AC),l.BF=ZC.BR(l.BF,a.AC))}}),ZC.A6V=ZC.A2C.CD({ACU:function(){return new ZC.VB(this)}}),ZC.A6W=ZC.A2C.CD({ACU:function(){return new ZC.VC(this)}}),ZC.A84=ZC.LQ.CD({ACU:function(){return new ZC.VJ(this)}}),ZC.A85=ZC.LQ.CD({ACU:function(){return new ZC.XJ(this)}}),ZC.A87=ZC.LQ.CD({ACU:function(){return new ZC.T1(this)}}),ZC.ZCVRangePlotSet=ZC.LQ.CD({ACU:function(){var e=new ZC.T1(this);return e.NG=!0,e}}),ZC.A88=ZC.A58.CD({ACU:function(){return new ZC.XK(this)}}),ZC.A7I=ZC.A0L.CD({ACU:function(){return new ZC.UP(this)}}),ZC.A7J=ZC.A0M.CD({ACU:function(){return new ZC.WC(this)}}),ZC.A7K=ZC.A44.CD({ACU:function(){return new ZC.UQ(this)}}),ZC.A7L=ZC.A45.CD({ACU:function(){return new ZC.UR(this)}}),ZC.A8Z=ZC.LQ.CD({$i:function(e){this.b(e),this.E4=[],this.NZ=[],this.XD=[]},ACU:function(){return new ZC.Z0(this)},paint:function(){for(var e,t,i,n,a,l=this,o=l.A.BM("scale"),r=ZC.CY(o.GH,o.GM),C=-ZC.MAX,s=ZC.CY(3,l.A4.length),A=0,Z=s;A<Z;A++)for(a=l.A4[A].S,i=ZC.AO.OA(l.A4[A].o[ZC._[17]],l.A4[A].o),e=0,t=a.length;e<t;e++)a[e].setup(),C=ZC.BR(C,a[e].AC),a[e].WN=ZC.AO.G5(l.A4[A].ABV[e],i);var c=r/(4*Math.sqrt(C/Math.PI));function h(e,t){var i=ZC._a_(e[0]-t[0]),e=ZC._a_(e[1]-t[1]);return Math.sqrt(i*i+e*e)}var p,u,_,d,f,g=[],B=[],b=[],E=[],m=null;for(l.NZ=[],A=0,Z=s;A<Z;A++)for(g[A]||(g[A]=[]),B[A]||(B[A]=[],b[A]=[]),l.E4[A]||(l.E4[A]=[]),a=l.A4[A].S,E=(l.A4[A+1]&&A+1<3?l.A4[A+1]:l.A4[0]).S,e=0,t=a.length;e<t;e++){l.NZ[e]||(l.NZ[e]=[]),l.XD[e]||(l.XD[e]={}),a[e].WO=E[e].AC,0===A?(p=c*Math.sqrt(a[e].AC/Math.PI),u=c*Math.sqrt(a[e].WO/Math.PI),g[A][e]=c*ZC.AQ.A6G(a[e].AC,a[e].WO,a[e].WN),B[A][e]=a[e].iX-ZC.BR(p,u)/2,b[A][e]=a[e].iY+a[e].F/4):1===A?(g[A][e]=c*ZC.AQ.A6G(a[e].AC,a[e].WO,a[e].WN),B[A][e]=B[0][e]+g[0][e],b[A][e]=b[0][e],2===s&&(_=B[0][e]-p,d=o.GM-(B[1][e]+u),l.A4[A-1].S[e].iX-=f=(_-d)/2,B[1][e]-=f,l.E4[0][e].x-=f,l.NZ[e][0][0]-=f,l.A4[A-1].S[e].iY=o.iY+o.GH/2,b[1][e]=o.iY+o.GH/2,l.E4[0][e].y=o.iY+o.GH/2)):2===A&&(g[A][e]=c*ZC.AQ.A6G(a[e].AC,a[e].WO,a[e].WN),n=(g[0][e]*g[0][e]-g[1][e]*g[1][e]+g[2][e]*g[2][e])/(2*g[0][e]),B[A][e]=B[0][e]+n,n=Math.sqrt(g[2][e]*g[2][e]-n*n),b[A][e]=b[0][e]-n,3===s)&&(_=B[0][e]-p,d=o.GM-(B[1][e]+u),l.A4[0].S[e].iX-=f=(_-d)/2,l.A4[1].S[e].iX-=f,l.E4[0][e].x-=f,l.E4[1][e].x-=f,l.NZ[e][0][0]-=f,B[2][e]-=f),a[e].iX=B[A][e]+o.iX,a[e].iY=b[A][e],a[e].I=c*Math.sqrt(a[e].AC/Math.PI),a[e].F=c*Math.sqrt(a[e].AC/Math.PI),a[e].AI=c*Math.sqrt(a[e].AC/Math.PI),null===ZC._n_(m)&&(m=a[e].AC/(Math.PI*a[e].AI*a[e].AI));var D=c*Math.sqrt(a[e].AC/Math.PI),v=c*Math.sqrt(a[e].WO/Math.PI),F=D+v-g[A][e],K=(2*F*v-F*F)/(2*(D+v-F));if(l.E4[A][e]={x:B[A][e],y:b[A][e],sz:a[e].AI,r1:D,r2:v,dx1:F-K,dx2:K},0===A?(n=Math.sqrt(D*D-(D-K)*(D-K)),l.NZ[e].push([B[0][e]+D-K,b[0][e]-n])):2===A&&(D=l.E4[1][e].r1,l.E4[1][e].r2,l.E4[1][e].dx1,K=l.E4[1][e].dx2,F=ZC.U4(Math.asin((b[1][e]-b[2][e])/g[1][e]))-ZC.U4(Math.acos((D-K)/D)),l.NZ[e].push([B[1][e]-D*ZC.EF(F)-f,b[1][e]-D*ZC.EL(F)]),l.E4[2][e].r1,v=l.E4[2][e].r2,K=l.E4[2][e].dx1,l.E4[2][e].dx2,F=ZC.U4(Math.asin((b[0][e]-b[2][e])/g[2][e]))-ZC.U4(Math.acos((v-K)/v)),l.NZ[e].push([B[0][e]+v*ZC.EF(F)-f,b[0][e]-v*ZC.EL(F)])),A===s-1)if(3===s){if(null!==ZC._n_(l.A4[0].A9L[e]))l.XD[e].area=l.A4[0].A9L[e];else{for(var I=[-1],x=[-1],y=(I[1]=h(l.NZ[e][0],l.NZ[e][2]),I[2]=h(l.NZ[e][0],l.NZ[e][1]),I[3]=h(l.NZ[e][2],l.NZ[e][1]),x[1]=l.E4[0][e].sz,x[2]=l.E4[1][e].sz,x[3]=l.E4[2][e].sz,.25*Math.sqrt((I[1]+I[2]+I[3])*(I[1]+I[2]-I[3])*(I[1]+I[3]-I[2])*(I[2]+I[3]-I[1]))),Y=1;Y<=3;Y++)y+=x[Y]*x[Y]*Math.asin(I[Y]/(2*x[Y]))-I[Y]/4*Math.sqrt(4*x[Y]*x[Y]-I[Y]*I[Y]);l.XD[e].area=m*y}l.E4[0][e].intxy=ZC.AQ.A5L(l.E4[0][e].x,l.E4[0][e].y,l.E4[1][e].x,l.E4[1][e].y,l.E4[0][e].r1-(l.E4[0][e].dx1+l.E4[0][e].dx2)/2),l.E4[1][e].intxy=ZC.AQ.A5L(l.E4[1][e].x,l.E4[1][e].y,l.E4[2][e].x,l.E4[2][e].y,-(l.E4[1][e].r1-(l.E4[1][e].dx1+l.E4[1][e].dx2)/2)),l.E4[2][e].intxy=ZC.AQ.A5L(l.E4[2][e].x,l.E4[2][e].y,l.E4[0][e].x,l.E4[0][e].y,-(l.E4[2][e].r1-(l.E4[2][e].dx1+l.E4[2][e].dx2)/2)),l.XD[e].xy=[(l.NZ[e][0][0]+l.NZ[e][1][0]+l.NZ[e][2][0])/3,(l.NZ[e][0][1]+l.NZ[e][1][1]+l.NZ[e][2][1])/3]}else 2===s&&(l.E4[0][e].intxy=ZC.AQ.A5L(l.E4[0][e].x,l.E4[0][e].y,l.E4[1][e].x,l.E4[1][e].y,l.E4[0][e].r1-(l.E4[0][e].dx1+l.E4[0][e].dx2)/2),l.E4[1][e].intxy=[-9999,-9999])}if(3===s)for(A=0,Z=s;A<Z;A++)for(i=ZC.AO.OA(l.A4[A].o[ZC._[17]],l.A4[A].o),null!==ZC._n_(i[ZC._[12]])&&-1!==i[ZC._[12]]||(i[ZC._[12]]=0),e=0,t=l.A4[A].S.length;e<t;e++)l.XD[e].area=ZC.AO.G5(l.XD[e].area,i);l.b()}}),{$i:function(e){this.b(e);var t=this;t.C=e.A,t.G=t.C.A,t.A63={},t.HT=!1,t.SW=3,t.A1B=1,t.V=[],t.K5={},t.S=[],t.AF="",t.sTypeX=null,t.IK=null,t.RQ=!1,t.J4="none",t.O8="plot",t.UX=!0,t.T2=null,t.T8=null,t.TV={},t.A2=null,t.GB=null,t.PR=null,t.PQ=null,t.BP=null,t.L=-1,t.BO=[],t.CG=!1,t.KT="normal",t.DZ=0,t.U=null,t.O2=null,t.A7=null,t.JB=null,t.AN=null,t.JA=null,t.A62=null,t.NV=null,t.DV=-1,t.I6=-1,t.RD=null,t.RY=null,t.A02=!1,t.SJ=2,t.A2R=!1,t.TN="",t.A05="standard",t.CW=null,t.A0Y=null,t.MW=null,t.RZ=null,t.XZ=!0,t.XN=null,t.YA=1,t.QE=!1,t.QU=!0,t.JW=0,t.XX=null,t.T3=null,t.PZ=!0,t.K9=null,t.AAC=1,t.A2G=1,t.S7=[],t.JC=null,t.EI=!1,t.T4=[],t.A6J=-1,t.GG=!1,t.LE=0,t.JH=.6,t.LF=0,t.ABU=0,t.ABW=null,t.TO=0,t.FY=null,t.GX=!1,t.YM=!0,t.A75=!1,t.XY=1,t.YO=0,t.I9=!1,t.LH=!1,t.A3J="node",t.LT=!1,t.R9=-1,t.RU=0,t.bShowInLegend=!0,t.QI=!1,t.GS=[null,null,null,null],t.P7="line",t.fValueBoxThreshold=.1},applyRGBA:function(){var e;null!==ZC._n_(e=this.E["l-alpha"])&&null===ZC._n_(this.J2.alpha)&&(this.C5=e),null!==ZC._n_(e=this.E["bg-alpha"])&&null===ZC._n_(this.J2["alpha-area"])&&(this.o["alpha-area"]=e)},FM:function(e,t,i){var n=this;return typeof i===ZC._[31]&&(i=!1),(typeof t===ZC._[31]||!n.GS[t]&&n.GS[1])&&(t=1),e=parseInt(e,10),!n.GX||"xy"!==n.C.AJ.layout&&"yx"!==n.C.AJ.layout?n.S[e]:n.S[e]&&n.GS[t]?(n.GS[t].K=n.K+"-node-"+e,n.GS[t].o={value:n.V[e]},"string"==typeof n.V[e]&&(n.GS[t].A22=!0),n.GS[t].L=e,("line"!==n.AF&&"area"!==n.AF&&"vline"!==n.AF&&"varea"!==n.AF||n.U||i||null!==n.S[e].BV||typeof n.C.E["plot-"+n.L+"-first-run"]!==ZC._[31])&&n.GS[t].parse(),"line"===n.AF||"area"===n.AF||"vline"===n.AF||"varea"===n.AF?"xy"===n.C.AJ.layout?(null!==n.S[e].BV?n.GS[t].iX=n.S[e].iX=n.AZ.AR(n.S[e].BV):n.GS[t].iX=n.S[e].iX=n.AZ.II(e),n.CG&&"100%"===n.KT?n.GS[t].iY=n.S[e].iY=n.CQ.AR(100*n.S[e].CR/n.A.F9[e]["%total-"+n.DZ]):n.GS[t].iY=n.S[e].iY=n.CQ.AR(n.S[e].CR)):(null!==n.S[e].BV?n.GS[t].iY=n.S[e].iY=n.AZ.AR(n.S[e].BV):n.GS[t].iY=n.S[e].iY=n.AZ.II(e),n.CG&&"100%"===n.KT?n.GS[t].iX=n.S[e].iX=n.CQ.AR(100*n.S[e].CR/n.A.F9[e]["%total-"+n.DZ]):n.GS[t].iX=n.S[e].iX=n.CQ.AR(n.S[e].CR)):n.GS[t].R2(),n.GS[t].J1=n.S[e].J1,n.GS[t]):null},V9:function(e,t){this.K9[e]||(this.K9[e]=[]),(!this.GX||this.GX&&-1===ZC.AV(this.K9[e],t))&&this.K9[e].push(t)},U2:function(){return new ZC.LM(this)},AC2:function(){return{}},O6:function(){return this.YD("palette","A6J","i"),this.C.A.B6.A9Z(-1!==this.A6J?this.A6J:this.L,this.C.AF)},NR:function(){if(this.BP[5])for(var e in this.BP[5])e===this.AF&&ZC._cp_(this.BP[5][e],this.o,!0,!0);var t=[];this.C.A.B6.load(t,"("+this.C.AF+").series",!0,!0),ZC._n_(t)&&ZC._cp_(t[this.L%t.length],this.o,!0,!0)},IJ:function(e,t){var i,n,a=this,l=!1,o="";return"none"!==a.J4&&(a.C.IY[a.L]||a.C.KL)?(n=!(e.E[ZC._[73]]||e.E[ZC._[72]]),a.C.CF["p"+a.L]&&a.C.CF["p"+a.L]["n"+e.L]?zingchart.DEV.CACHESELECTION&&n&&a.TV[ZC._[73]]?(i=a.TV[ZC._[73]],l=!0):(o=ZC._[73],(i=new ZC.DQ(a)).copy(t),e.E[ZC._[73]]?i.LR=e.E[ZC._[73]]:i.LR=a.T2?a.T2.o:{}):"none"!==a.O8&&("plot"===a.O8&&a.C.IY[a.L]||"graph"===a.O8&&a.C.KL)&&(zingchart.DEV.CACHESELECTION&&n&&a.TV[ZC._[72]]?(i=a.TV[ZC._[72]],l=!0):(o=ZC._[72],(i=new ZC.DQ(a)).copy(t),e.E[ZC._[72]]?i.LR=e.E[ZC._[72]]:i.LR=a.T8?a.T8.o:{})),l||(i?(i.PZ=!0,i.parse()):(i=new ZC.DQ(a)).copy(t),zingchart.DEV.CACHESELECTION&&n&&""!==o&&(a.TV[o]=i))):(i=new ZC.DQ(a)).copy(t),null!==ZC._n_(l=a.T4[e.L])&&(0===e.A.E6.length&&(e.A.E6=[{}]),"string"==typeof a.T4[e.L]?i.append({"background-color":l+" "+ZC.AO.JR(l,20),"line-color":l,"border-color":ZC.AO.JR(l,20)}):i.append(a.T4[e.L]),i.parse()),i.Z=t.Z,i.C8=t.C8,i},BW:function(e){var t=[];if(null!==ZC._n_(e))for(var i=0,n=this.BO.length;i<n;i++){var a=this.C.BM(this.BO[i]);a&&a.AF===e&&t.push(this.BO[i])}else t=this.BO;return t},MU:function(){var e=this;return{negation:e.A05,"thousands-separator":e.RD,"decimals-separator":e.RY,decimals:e.DV,"max-decimals":e.I6,"short":e.A2R,"short-unit":e.TN,exponent:e.A02,"exponent-decimals":e.SJ,locale:e.G.UG}},parse:function(){var e,t,i,n,a,l=this;if(l.UL={},l.b(),l.K9={},null!==ZC._n_(e=l.o.scales))for(l.BO=e.split(/,|;|\s/),h=0;h<l.BO.length;h++)l.BO[h]=ZC.US(ZC.GY(l.BO[h]));if((l.C.o.legend&&l.C.o.legend["highlight-plot"]||(l.G.B6.load(o={},"("+l.A.AF+").legend"),o["highlight-plot"]))&&(l.I9=!0),null!==ZC._n_(l.o.multiplier)&&null===ZC._n_(l.o["short"])&&(l.o["short"]=l.o.multiplier),null!==ZC._n_(l.o["click-marker"])&&null===ZC._n_(l.o["selection-mode"])&&null===ZC._n_(l.o["selected-marker"])&&(l.o["selection-mode"]="multiple",l.o["selected-marker"]={},ZC._cp_(l.o["click-marker"],l.o["selected-marker"])),l.KT=l.C.KT,l.assign_a([["ignore","HT","b"],["exponent","A02","b"],[ZC._[25],"SJ","ia"],[ZC._[12],"DV","ia"],["max-decimals","I6","i"],["preview","QU","b"],["stacked","CG","b"],["stack-type","KT"],["exact","QE","b"],["text","AN"],["tooltip-text","JA"],["legend-text","A62"],["description","NV"],["stack","DZ","i"],["z-index","JW","i"],["aspect","CW"],["mode","A0Y"],["density","XY","f"],["max-nodes","MW"],["max-trackers","RZ"],["segment-trackers","XZ","b"],["sampling-step","XN","i"],["scroll-step-multiplier","YA","i"],["url","E9"],["target","FD"],[ZC._[14],"RY"],[ZC._[13],"RD"],["short","A2R","b"],["negation","A05"],["short-unit","TN"],["fast-rules","A75","b"],["errors","S7"],["styles","T4"],["monotone","QI","b"],["highlight","I9","b"],["highlight-legend","LH","b"],["hover-mode","A3J"],["mid-point","UX","b"],["clustered","LT","b"],["cluster-index","R9","i"],["cluster-offset","RU","i"],["animate","GG","b"],["effect","LE","i"],["speed","JH","f"],["selection-mode","J4"],["group-selections","RQ","b"],["background-mode","O8"],["extra-values","YO","ia"],["value-box-threshold","fValueBoxThreshold","f"]]),l.AAP=l.QE,!l.E["quick-parse"]){for(n in ZC._todash_(l.T4),l.I9&&(null===ZC._n_(l.C.o.legend)||null===ZC._n_(l.C.o.legend["highlight-legend"]))&&ZC._n_(null===l.o["highlight-legend"])&&(l.LH=l.I9),null!==ZC._n_(e=l.o.animation)&&(l.GG=!0,null!==ZC._n_(t=e.effect)&&(0===(t+"").indexOf("ANIMATION_")&&null!==ZC._n_(C=ZC.ANIMATION[(t+"").substring(10)])&&(t=C),l.LE=ZC._i_(t),0===l.LE)&&(l.GG=!1),null!==ZC._n_(t=e.speed)&&(0===(t+"").indexOf("ANIMATION_")&&null!==ZC._n_(C=ZC.ANIMATION[(t+"").substring(10)])&&(t=C),l.JH=ZC._f_(t)),null!==ZC._n_(t=e.delay)&&(l.LC=ZC._f_(t)),null!==ZC._n_(t=e.method)&&(0===(t+"").indexOf("ANIMATION_")&&null!==ZC._n_(C=ZC.ANIMATION[(t+"").substring(10)])&&(t=C),l.LF=ZC._i_(t)),null!==ZC._n_(t=e.sequence)&&(0===(t+"").indexOf("ANIMATION_")&&null!==ZC._n_(C=ZC.ANIMATION[(t+"").substring(10)])&&(t=C),l.TO=ZC._i_(t)),null!==ZC._n_(t=e.attributes))&&(l.FY=t),l.JH<10&&(l.JH*=1e3),l.LC<10&&(l.LC*=1e3),typeof ZC.PO!==ZC._[31]&&(l.JH=ZC.BR(ZC.PO.U5,l.JH)),"fast"!==l.A0Y&&typeof ZC.PO!==ZC._[31]&&!zingchart.SKIP.ANIMATION||(l.GG=!1),l.G.ZA&&(l.GG=!1),-1!==ZC.AV(["line","area","vbar","hbar","stock","scatter","bubble","radar","piano"],l.AF)&&("fast"!==l.A0Y&&("normal"===l.A0Y||l.GG||-1!==JSON.stringify(l.o).indexOf('"rules"')||-1!==JSON.stringify(l.o).indexOf('"js-rule"')||0!==l.T4.length||-1!==l.G.E.json.indexOf('"override"')||-1!==l.G.E.json.indexOf('"errors"')||"none"!==l.J4)?l.GX=!1:l.GX=!0),l.o)"data-"===n.substring(0,5)&&(a=n.substring(5),l.K5[a]=l.o[n]);var o,r=l.G.B6;if(l.IK=new ZC.CZ(l),l.IK.append(l.o),r.load(l.IK.o,g(ZC._[71])),l.IK.append(l.o[ZC._[71]]),null!==ZC._n_(l.o[ZC._[71]])||"line"!==l.AF&&"area"!==l.AF||(l.IK.AP=!1),l.I9&&(l.SA=new ZC.CZ(l),r.load(l.SA.o,g("highlight-state")),l.SA.append(l.o),null!==ZC._n_(e=l.o["highlight-state"])&&l.SA.append(e),null===ZC._n_(l.SA.o.shadow))&&(l.SA.o.shadow=!0),null!==ZC._n_(e=l.o[ZC._[73]])&&(l.T2=new ZC.CZ(l),r.load(l.T2.o,g(ZC._[73])),l.T2.append(e)),null!==ZC._n_(e=l.o[ZC._[72]])&&(l.T8=new ZC.CZ(l),r.load(l.T8.o,g(ZC._[72])),l.T8.append(e)),l.A2=new ZC.CZ(l),r.load(l.A2.o,g("marker")),r.load(l.A2.o,g("marker["+l.CW+"]")),l.A2.append(l.o.marker),"auto"===l.A2.o.type&&(l.A2.o.type=(o=["circle","square","diamond","triangle","star5"])[l.L%o.length]),l.A2.parse(),(0<l.A2.E6.length||0<l.T4.length||l.A2.o["top-state"])&&(l.YM=!1),l.GB=new ZC.CZ(l),r.load(l.GB.o,g("hover-marker")),l.GB.append(l.o.marker),l.GB.append(l.o["hover-marker"]),null!==ZC._n_(e=l.o["selected-marker"])&&(l.PR=new ZC.CZ(l),r.load(l.PR.o,g("selected-marker")),l.PR.append(e)),null!==ZC._n_(e=l.o["background-marker"])&&(l.PQ=new ZC.CZ(l),r.load(l.PQ.o,g("background-marker")),l.PQ.append(e)),l.I9&&(l.V4=new ZC.CZ(l),l.V4.append(l.o.marker),r.load(l.V4.o,g("highlight-marker")),l.V4.append(e)),"normal"!==l.A0Y&&(l.T2||l.PR)&&(l.GX=!1),"fast"===l.A0Y&&(l.GX=!0),l.A7=new ZC.DQ(l),l.o.tooltip&&l.o.tooltip.placement&&-1<l.o.tooltip.placement.indexOf("node")?r.load(l.A7.o,"("+l.AF+").tooltip[dynamic]"):r.load(l.A7.o,l.AF+".tooltip"),l.A7.append(l.o.tooltip),null!==ZC._n_(e=l.o.error)&&(l.JC=new ZC.DT(l),r.load(l.JC.o,g("error")),l.JC.append(e),null===ZC._n_(l.JC.o[ZC._[21]]))&&(l.JC.o[ZC._[21]]=4),null!==ZC._n_(e=l.o[ZC._[17]])){if(e instanceof Array)for(l.U=new ZC.CZ(l),r.load(l.U.o,g(ZC._[17])),null!==ZC._n_(t=l.C.o.plot)&&l.U.append(t[ZC._[17]]),l.U.append(e[0]),1<e.length&&(l.O2=[]),h=1;h<e.length;h++)l.O2[h-1]=new ZC.CZ(l),r.load(l.O2[h-1].o,g(ZC._[17])),null!==ZC._n_(t=l.C.o.plot)&&l.O2[h-1].append(t[ZC._[17]]),l.O2[h-1].append(e[h]);else l.U=new ZC.CZ(l),r.load(l.U.o,g(ZC._[17])),null!==ZC._n_(t=l.C.o.plot)&&l.U.append(t[ZC._[17]]),l.U.append(e);l.U.parse()}l.G.QQ&&(l.AP=ZC.FSSTATUS["g-"+l.C.L+"-p-"+l.L]);var C=!1;for((C=typeof l.C.E["plot"+l.L+".visible"]===ZC._[31]?!0:C)?l.C.E["plot"+l.L+".visible"]=!0:l.AP=l.C.E["plot"+l.L+".visible"],l.AP||C&&(l.C.E["plot"+l.L+".visible"]=!1),h=0,i=l.C.BO.length;h<i;h++)(null!==ZC._n_(l.C.BO[h].o[ZC._[5]])||-1!==ZC.AV(l.BO,l.C.BO[h].BD)&&("remove"!==l.C.getToggleAction()&&!l.C.A.KD||l.AP&&l.C.E["plot"+l.L+".visible"]))&&(l.C.BO[h].TF=!0);var s,A=null;if(l.K=l.A.K+"-plot-"+l.L,l.S=[],l.A.F9||(l.A.F9={}),-1!==l.AF.indexOf("area")&&-1===l.AF.indexOf("3d")&&l.CG){l.A.WS||(l.A.WS={}),l.A.WS["s"+l.DZ]||(l.A.WS["s"+l.DZ]=[]);var Z=!1;if(null!==ZC._n_(l.o[ZC._[5]]))for(h=0,i=l.o[ZC._[5]].length;h<i;h++)if("object"==typeof l.o[ZC._[5]][h]&&null!==ZC._n_(l.o[ZC._[5]][h])){Z=!0;break}Z&&(l.GG=!1,l.HZ||0!==l.E6.length||(l.GX=!0,-1===zingchart.DEV.STACKINGLOGIC&&(l.C.UM=1)))}if(l.AZ=l.C.BM(l.BW("k")[0]),l.CQ=l.C.BM(l.BW("v")[0]),null!==ZC._n_(l.o[ZC._[5]])&&""!==l.AF){if(l.V=l.o[ZC._[5]],l.GX&&"area"===l.AF&&"spline"===l.CW){for(var c=!1,h=0;h<l.V.length;h++)if(null===ZC._n_(l.V[h])){c=!0;break}c&&(l.GX=!1)}var p=null,u=(l.Q4=[ZC.MAX,-ZC.MAX],[]),_=[],d=0;for(h=0,i=l.V.length;h<i;h++){var f=!1;l.o["hint-ts"]||(null!==ZC._n_(l.V[h])&&"object"==typeof l.V[h]&&1<l.V[h].length?(null===ZC._n_(l.V[h][1])||"string"==typeof l.V[h][1]&&"NULL"===l.V[h][1].toUpperCase())&&(f=!0):(null===ZC._n_(l.V[h])||"string"==typeof l.V[h]&&"NULL"===l.V[h].toUpperCase())&&(f=!0),"piano"===l.C.AF&&(f=!1)),f?l.S.push(null):(!l.GX||"xy"!==l.C.AJ.layout&&"yx"!==l.C.AJ.layout?A=l.U2():l.GS[1]||("bubble"===l.AF||"scatter"===l.AF?l.GS[1]=A=l.U2():(l.GS[0]=l.U2(),l.GS[1]=A=l.U2(),l.GS[2]=l.U2(),l.GS[3]=l.U2())),A.K=l.K+"-node-"+h,"string"==typeof l.V[h]&&zingchart.QUOTEDVALUES&&(l.V[h]=ZC._f_(l.V[h])),A.o={value:l.V[h]},"string"==typeof l.V[h]&&(A.A22=!0),A.L=h,l.o["hint-ts"]?(A.E.plotidx=l.L,A.E.nodeidx=A.L,A.K=l.K+"-node-"+A.L,A.BV=l.V[h][0],A.AC=l.V[h][1]):A.parse(),(i<256||zingchart.DEV.CHECKDECIMALS)&&null!==ZC._n_(A.AC)&&2===(s=A.AC.toString().split(".")).length&&(d=ZC.BR(d,s[1].length)),A.BV&&(null!==p&&0<ZC._a_(A.BV-p)&&u.push(ZC._a_(A.BV-p)),p=A.BV),l.A.WS=l.A.WS||{},(f=l.A.WS["s"+l.DZ])&&(null!==p?-1===ZC.AV(f,A.BV)&&f.push(A.BV):-1===ZC.AV(f,h)&&f.push(h)),!l.GX||"xy"!==l.C.AJ.layout&&"yx"!==l.C.AJ.layout?l.S.push(A):(f={iX:A.iX,iY:A.iY,L:A.L,BV:A.BV,AC:A.AC,CR:A.AC,DU:A.DU,J1:A.J1},"bubble"===l.AF&&(f.SQ=A.SQ),l.S.push(f)),null!==A.BV&&(l.Q4[0]=Math.min(l.Q4[0],A.BV),l.Q4[1]=Math.max(l.Q4[1],A.BV)),l.C.E["plot"+l.L+".visible"]&&(zingchart.DEV.PLOTSTATS||"100%"===l.KT)&&l.CG&&(null===ZC._n_(l.A.F9[h])?(l.A.F9[h]={},l.A.F9[h]["%total-"+l.DZ]=A.AC):null===ZC._n_(l.A.F9[h]["%total-"+l.DZ])?l.A.F9[h]["%total-"+l.DZ]=A.AC:l.A.F9[h]["%total-"+l.DZ]+=A.AC),zingchart.DEV.PLOTSTATS&&(_.push(A.AC),l.JB?(l.JB["%plot-max-index"]=h,l.JB["%plot-sum"]+=A.AC,i<256&&(l.JB["%plot-values"]+=","+A.AC)):l.JB={"%plot-min-index":h,"%plot-max-index":h,"%plot-sum":A.AC,"%plot-values":A.AC},l.A.F9||(l.A.F9={}),l.AP)&&(null===ZC._n_(l.A.F9["%pstack-"+h+"-"+l.DZ+"-sum"])?(l.A.F9["%pstack-"+h+"-"+l.DZ+"-sum"]=A.AC,l.A.F9["%pstack-"+h+"-"+l.DZ+"-stack-length"]=1):(l.A.F9["%pstack-"+h+"-"+l.DZ+"-sum"]+=A.AC,l.A.F9["%pstack-"+h+"-"+l.DZ+"-stack-length"]+=1)))}(l.V.length<256||zingchart.DEV.CHECKDECIMALS)&&l.JB&&null!==ZC._n_(l.JB["%plot-sum"])&&2===(s=l.JB["%plot-sum"].toString().split(".")).length&&ZC._i_(s[1])>d&&(l.JB["%plot-sum"]=ZC._f_(l.JB["%plot-sum"].toFixed(ZC.CY(20,d)))),zingchart.DEV.PLOTSTATS?(l.JB&&(l.JB["%plot-average"]=l.JB["%plot-sum"]/l.V.length,l.JB["%plot-average"]=ZC._f_(l.JB["%plot-average"].toFixed(ZC.CY(20,d+2)))),0<_.length&&(l.JB["%plot-min-value"]=ZC.Y4(_),l.JB["%plot-max-value"]=ZC.A1U(_))):l.JB={"%plot-min-index":0,"%plot-max-index":l.V.length,"%plot-sum":-1,"%plot-values":"","%plot-average":-1,"%plot-min-value":-1,"%plot-max-value":-1},p&&0<u.length&&(l.AAC=ZC.Y4(u),l.A2G=ZC.A1U(u))}}function g(e){var t=["("+l.AF+").plot."+e];return l.sTypeX&&t.push("("+l.sTypeX+").plot."+e),t}},mapPointsToPreview:function(e,t){for(var i,n,a=this.C.P,l=this.C.B7.AT,o=[],r=0,C=e.length;r<C;r++)e[r]?("vml"===this.G.AB&&t&&(e[r][0]=e[r][0]/10,e[r][1]=e[r][1]/10),i=(e[r][0]-a.iX)/a.I,n=(e[r][1]-a.iY)/a.F,i=l.iX+l.AU+i*(l.I-2*l.AU),n=l.iY+l.AU+n*(l.F-2*l.AU),o.push([i,n])):o.push(null);return o},paint:function(){var e=this,t=e.C.P.I;switch(e.C.AF){case"scatter":case"bubble":t=1e6;break;case"hbar":case"hbar3d":t=e.C.P.F}null===ZC._n_(e.MW)&&(e.MW=ZC._i_(t/4)),null===ZC._n_(e.RZ)&&(e.RZ=ZC._i_(t/4)),e.YM&&(e.HH=null,e.HN=null,e.RE=null,e.QF=null)},XT:function(e){for(var t,i=this,n=0,a=i.S.length;n<a;n++)i.S[n]&&(i.S[n].J1=!1);var l=i.C.P;if(i.R8=!1,i.FV=!0,i.U8=!1,t=0,i.C.OG||typeof i.AAP!==ZC._[31]&&(i.QE=i.AAP),e)i.R8=!0,i.RZ<i.S.length&&(i.FV=!1);else{if(i.AZ.EI&&i.EI){for(n=0,a=i.S.length;n<a;n++)i.S[n]&&(0<i.AZ.IU.length||ZC.DS(i.S[n].BV,i.AZ.V[i.AZ.W],i.AZ.V[i.AZ.A1]))&&t++;i.RZ<t&&(i.FV=!1),t*i.XY>l.I&&(i.U8=!0),i.MW>=t&&(i.R8=!0)}else i.MW>i.AZ.A1-i.AZ.W&&(i.R8=!0);i.Y=1,i.AZ.EI&&i.EI||(t=i.AZ.A1-i.AZ.W,i.RZ<t&&(i.FV=!1),t*i.XY>l.I&&(i.U8=!0),!i.QE&&t*i.XY>l.I&&(i.Y=ZC.BR(1,ZC._i_(t*i.XY/l.I)))),i.AZ.EI&&i.EI&&(i.QE||t*i.XY>l.I&&(i.Y=ZC.BR(1,ZC._i_(t*i.XY/l.I)))),i.C.OG&&(i.QE=!1,i.Y*=i.YA)}null!==ZC._n_(i.XN)&&i.Y>i.XN&&(i.Y=i.XN)},PI:function(e){var n=this,a=(null!==ZC._n_(e)&&e||(e=!1),n.AZ&&"log"===n.AZ.BS&&(e=!0),n.XT(e),null);if(e||n.LT)n.A.A4K=!1,!function h(e,t){for(var i=e;i<ZC.CY(e+t,n.S.length);i++)n.S[i]?((a=n.FM(i)).Z=n.KI,a.paint(),a.J1=!0,n.S[i].J1=!0):"radar"===n.C.AF&&(i===n.S.length-1?"line"!==n.CW&&"area"!==n.CW&&"range"!==n.CW||ZC.CO.paint(n.OD,n,n.D):n.D.push(null));e+t<n.S.length?n.C.KU?window.setTimeout(function(){h(e+t,t)},10):h(e+t,t):n.C.KU&&n.L===n.A.A4.length-1&&n.A._end_()}(0,ZC.ie678||ZC.mobile?200:2e3);else{var t="vbar"!==n.AF&&"hbar"!==n.AF;if(n.AZ.EI&&n.EI){for(var i=n.GC=n.HK=n.Y,l=!0,o=0,r=0,C=0,s=n.S.length;C<s;C+=i)t&&(s-C==1?(n.GC=i,n.HK=1):s-C<n.Y&&(n.GC=n.Y,n.HK=s-C-1,i=s-C-1)),n.S[C]&&(0<n.AZ.IU.length||ZC.DS(n.S[C].BV,n.AZ.V[n.AZ.W],n.AZ.V[n.AZ.A1])||t&&l&&n.S[C+i]&&n.S[C+i].BV>=n.AZ.V[n.AZ.W])&&(t&&l&&n.S[C-i]&&((a=n.FM(C-i)).Z=n.KI,a.paint(),l=!(a.J1=!0),r++),(a=n.FM(C)).Z=n.KI,a.paint(),a.J1=!0,r++,l=!(n.S[C].J1=!0),o=C);t&&0<r&&n.S[o+i]&&((a=n.FM(o+i)).Z=n.KI,a.paint(),a.J1=!0)}else{i=n.GC=n.HK=n.Y;var A=0,Z=1,c=null;for(t||(e="vbar"===n.AF?n.C.P.I:n.C.P.F,A=4/("vbar"===n.AF?n.C.P.F:n.C.P.I)*(n.CQ.BF-n.CQ.B0),Z=1+ZC._i_((n.AZ.A1-n.AZ.W)/(2*e)),i=1),C=n.AZ.W;C<=n.AZ.A1;C+=i)(n.AZ.A1-n.AZ.W)%n.Y!=0&&t&&(n.AZ.A1-C==0?(n.GC=i,n.HK=1):n.AZ.A1-C<=n.Y&&(n.GC=n.Y,n.HK=n.AZ.A1-C,i=n.AZ.A1-C)),n.S[C]?(a=n.FM(C),(t||n.QE||!t&&null===c||ZC._a_(a.AC-c)>A||C%Z==0)&&(a.Z=n.KI,a.paint(),a.J1=!0,n.S[C].J1=!0),c=a.AC):n.CG&&-1!==ZC.AV(["vbar","hbar","vbar3d","hbar3d"],n.AF)&&n.SU()}}},CS:function(e,t){var i,n=this;return n.UL[e+t]||(i=null,i=n.G.usc()?ZC.AL(n.G.K+"-main-c"+("fl"===e?"-top":"")):n.G.KD||n.C.AJ["3d"]?ZC.AL(n.C.K+"-plots-"+e+"-c"):ZC.AL(n.C.K+"-plot-"+n.L+"-"+e+"-"+t+"-c"),n.UL[e+t]||(n.UL[e+t]=i),i)},V6:function(e){return{id:this.G.K,graphid:this.C.K,graphidx:this.C.L,plotid:this.HA,plotindex:this.L,plottext:this.AN,ev:e?ZC.A3.C1(e):null,xdata:this.K5}},X5:function(e,t){ZC.AO.C0("plot_"+t,this.G,this.V6(e))},applyJsRuleSvg:function(e,t,i){if(e=e.o["js-rule-svg"]){var n=ZC.AL(t),t=ZC.evalFn(e.replace("javascript:","").replace("()",""),window);if(n&&t)try{var a,l=t.call(this,i);for(a in l)n.setAttribute(a,l[a])}catch(o){}}},sharedZScale:function(){var e,t,i,n,a,l,o,r=this,C=r.C,s=C.P;if(C.o["scale-z"]&&C.E["plot"+r.L+".visible"]){if(n=new ZC.CE(C,s.iX+s.I-ZC.AM.E1+10,s.iY+s.F-ZC.AM.E2,r.E["z-mid"]),(a=new ZC.DQ(r)).GN=C.K+"-scale-z-item "+C.K+"-scale-item zc-scale-item",a.K=C.K+"-scale-z-item_"+r.L,a.AN=C.o["scale-z"][ZC._[5]][r.L],a.Z=a.C8=r.G.usc()?r.G.mc():ZC.AL(C.K+"-scales-ml-0-c"),i=ZC.Q.EE(a.Z,r.G.AB),a.IP=r.G.usc()?ZC.AL(r.G.K+"-main"):ZC.AL(r.G.K+"-text"),a.append(C.o["scale-z"].item),a.parse(),a.AA+=a.VA?0:ZC.DL.A38(C,a),a.iX=n.EC[0],a.iY=n.EC[1],a.o["auto-align"]&&a.VA&&(a.iY-=a.F/2),a.paint(),null===ZC._n_(r.E["scale-z-item-max-width"])&&(r.E["scale-z-item-max-width"]=0),r.E["scale-z-item-max-width"]=ZC.BR(r.E["scale-z-item-max-width"],a.I),r.E["z-cnt"]===r.E["z-plots"]-1&&C.o["scale-z"].label&&(n=new ZC.CE(C,s.iX+s.I-ZC.AM.E1+20+r.E["scale-z-item-max-width"],s.iY+s.F-ZC.AM.E2,ZC.AM.FE/2),(a=new ZC.DQ(r)).GN=C.K+"-scale-z-label "+C.K+"-scale-label zc-scale-label",a.K=C.K+"-scale-z-label",a.Z=a.C8=r.G.usc()?r.G.mc():ZC.AL(C.K+"-scales-ml-0-c"),i=ZC.Q.EE(a.Z,r.G.AB),a.IP=r.G.usc()?ZC.AL(r.G.K+"-main"):ZC.AL(r.G.K+"-text"),a.append(C.o["scale-z"].label),a.parse(),o=new ZC.CE(C,s.iX+s.I-ZC.AM.E1,s.iY+s.F-ZC.AM.E2,0),l=new ZC.CE(C,s.iX+s.I-ZC.AM.E1,s.iY+s.F-ZC.AM.E2,ZC.AM.FE),l=ZC.U4(Math.atan((l.EC[1]-o.EC[1])/(l.EC[0]-o.EC[0]))),a.AA+=a.VA?0:l,a.iX=n.EC[0],a.iY=n.EC[1],a.paint()),C.o["scale-z"].tick&&((t=new ZC.DT(r)).B9="#cccccc",t.B1=1,t.AI=6,t.append(C.o["scale-z"].tick),t.parse(),t.AP)&&0<t.B1){t.K=C.K+"-scale-z-tick-"+r.L;for(var A=[],Z=[[s.iX+s.I,s.iY+s.F],[s.iX+s.I+t.AI,s.iY+s.F]],c=0;c<Z.length;c++)n=new ZC.CE(C,Z[c][0]-ZC.AM.E1,Z[c][1]-ZC.AM.E2,r.E["z-mid"]),A.push([n.EC[0],n.EC[1]]);ZC.CO.paint(i,t,A)}0===r.E["z-cnt"]&&((t=new ZC.CZ(r)).B9="#cccccc",t.B1=1,t.append(C.o["scale-z"].axis),t.parse(),0<t.B1)&&t.AP&&(t.A0=t.AE=t.B9,(e=ZC.DL.DD(t,C,s.iX+s.I-ZC.AM.E1-t.B1,s.iX+s.I-ZC.AM.E1,s.iY+s.F-ZC.AM.E2,s.iY+s.F-ZC.AM.E2,0,ZC.AM.FE,"x")).K=C.K+"-scale-z-axis",C.CN.add(e)),0<r.E["z-cnt"]&&C.o["scale-z"].guide&&((t=new ZC.CZ(r)).B9="#cccccc",t.B1=1,t.append(C.o["scale-z"].guide),t.parse(),0<t.B1)&&t.AP&&(t.A0=t.AE=t.B9,(e=ZC.DL.DD(t,C,s.iX-ZC.AM.E1,s.iX+s.I-ZC.AM.E1,s.iY+s.F-ZC.AM.E2,s.iY+s.F-ZC.AM.E2+t.B1,r.E["z-cnt"]*r.E["z-depth"],r.E["z-cnt"]*r.E["z-depth"],"y")).K=C.K+"-scale-z-guideh-"+r.L,C.CN.add(e),(e=ZC.DL.DD(t,C,s.iX-ZC.AM.E1,s.iX-ZC.AM.E1,s.iY-ZC.AM.E2,s.iY+s.F-ZC.AM.E2,r.E["z-cnt"]*r.E["z-depth"],r.E["z-cnt"]*r.E["z-depth"]+t.B1,"y")).K=C.K+"-scale-z-guidev-"+r.L,C.CN.add(e)),C.o["scale-z"].items&&C.o["scale-z"].items.length&&((t=new ZC.CZ(r)).A0=t.AE="#ff9900",t.C5=.25,o=r.E["z-cnt"]%C.o["scale-z"].items.length,t.append(C.o["scale-z"].items[o]),t.parse(),(e=ZC.DL.DD(t,C,s.iX-ZC.AM.E1,s.iX+s.I-ZC.AM.E1,s.iY+s.F-ZC.AM.E2,s.iY+s.F-ZC.AM.E2,r.E["z-cnt"]*r.E["z-depth"],r.E["z-cnt"]*r.E["z-depth"]+r.E["z-depth"],"z")).K=r.K+"-item-",C.CN.add(e))}},gc:function(){if(this.S)for(var e=0;e<this.S.length;e++)this.S[e]&&this.S[e].A&&ZC.AO.gc(this.S[e],["Z","C8","o","J2","IB","A","C","G","O","L9"]);ZC.AO.gc(this,["V","S","GS","K9","V3","A7","Z","C8","UL","A2","TU","HH","GB","IK","KI","OD","AZ","CQ","S","GS","K9","JB","o","J2","IB","A","C","G"])}}),LM=(ZC.I1=ZC.HU.CD(I1),ZC.W8=ZC.I1.CD({$i:function(e){this.b(e);this.bXY=!0,this.AF="xy",this.BO=[ZC._[50],ZC._[51]]},paint:function(){this.b()}}),ZC.QX=ZC.W8.CD({$i:function(e){this.b(e);this.AF="line",this.CW="segmented",this.Y=1,this.SR="middle",this.V3=[],this.N6=!0,this.NG=!1},U2:function(){return new ZC.A30(this)},parse:function(){var e=this;e.BP=e.O6(),e.C2=e.BP[0],e.B9=e.BP[1],e.NR(),e.b(),e.assign_a([["step-start","SR"],["smart-sampling","N6","b"]]),e.AZ=e.C.BM(e.BW("k")[0]),e.CQ=e.C.BM(e.BW("v")[0])},paint:function(){var e,t,i,n,a=this,l=(a.b(),a.V3=[],a.NG);if(a.KI=a.CS("bl",0),a.OD=ZC.Q.EE(a.CS("bl",1),a.G.AB),!a.GX||a.C.AJ["3d"])a.PI(),a.D=null;else{a.XT(),a.C8=a.CS("bl",0);var o=!0,r=((null!==ZC._n_(a.A2.o.visible)&&!ZC._b_(a.A2.o.visible)||null!==ZC._n_(a.A.o.type)&&"none"===a.A2.o.type)&&(o=!1),[]),C=[],s=[],A=!0,Z=0,c=null,h=0,p=-1,u=-1,_=a.A.A4[0].S7&&a.A.A4[0].S7.length,d=a.Y,f=a.CW;if(1<a.Y&&"spline"===f&&(f="segmented"),a.AZ.EI&&a.EI){for(B=a.Y,a.N6&&(B=1),y=0,e=a.S.length;y<e;y+=B)u-y<=a.Y&&(B=ZC.BR(1,u-y)),a.S[y]&&(0<a.AZ.IU.length||ZC.DS(a.S[y].BV,a.AZ.V[a.AZ.W],a.AZ.V[a.AZ.A1])||A&&a.S[y+B]&&a.S[y+B].BV>=a.AZ.V[a.AZ.W])&&(A&&a.S[y-B]&&(-1===p&&(p=y-B),u=y-B,A=!1,Z++),-1===p&&(p=y),Z++,A=!1,h=u=y);0<Z&&a.S[h+B]&&(-1===p&&(p=h+B),a.S[u=h+B].J1=!0)}else p=a.AZ.W,u=a.LT||"log"===a.AZ.BS?a.S.length:a.AZ.A1;a.Y=d;var g=-1,B=a.Y,b=(a.N6&&(B=1),null),E=null,m=0,D=1;h=p,l?u-p>a.C.P.F&&(m=4/a.C.P.I*(a.CQ.BF-a.CQ.B0),D=ZC._f_((u-p)/(4*a.C.P.F))):u-p>a.C.P.I&&(m=4/a.C.P.F*(a.CQ.BF-a.CQ.B0),D=ZC._f_((u-p)/(4*a.C.P.I))),a.o["sampling-threshold"]&&(m*=Math.max(1,(u-p)/ZC._i_(a.o["sampling-threshold"])),D*=Math.max(1,(u-p)/ZC._i_(a.o["sampling-threshold"])));for(a.D=[],y=p;y<=u;y+=B){var v=!1;if(((u-p)%a.Y!=0||a.AZ.EI&&a.EI)&&u-y<=a.Y&&(B=ZC.BR(1,u-y),v=!0),a.N6&&!v&&a.S[y])if(null===ZC._n_(b))b=a.S[y].CR,h=y,E=0;else{if(Math.abs(a.S[y].CR-b)<m&&y-h<D&&(!a.EI||a.S[y].BV-E<4*a.AZ.SK))continue;b=a.S[y].CR,E=a.S[y].BV,h=y}if(c=a.FM(y)){switch(a.S[y].J1=!0,(a.FV||a.LT)&&c.paint(!0),-1===g&&(g=c.iX),f){default:r.push([c.iX,c.iY]);break;case"spline":l?(C.push(c.iX),s.push(c.iY),1===C.length&&(C.push(c.iX),s.push(c.iY))):(C.push(c.iY),s.push(c.iX),1===C.length&&(C.push(c.iY),s.push(c.iX)));break;case"stepped":switch(a.SR){default:(i=a.FM(y-B,0))&&(i.setup(),t=ZC.AQ.K1(a.S[y-B].iX,a.S[y-B].iY,c.iX,c.iY),r.push(l?[c.iX,t[1]]:[t[0],c.iY])),r.push([c.iX,c.iY]),(n=a.FM(y+B,0))&&(n.setup(),t=ZC.AQ.K1(c.iX,c.iY,a.S[y+B].iX,a.S[y+B].iY),r.push(l?[c.iX,t[1]]:[t[0],c.iY]));break;case"before":(i=a.FM(y-B,0))&&(i.setup(),r.push([a.S[y-B].iX,a.S[y-B].iY],[a.S[y-B].iX,c.iY])),r.push([c.iX,c.iY]);break;case"after":r.push([c.iX,c.iY]),(n=a.FM(y+B,0))&&(n.setup(),r.push([a.S[y+B].iX,c.iY],[a.S[y+B].iX,a.S[y+B].iY]))}break;case"jumped":(i=a.FM(y-B,0))?(i.setup(),t=ZC.AQ.K1(a.S[y-B].iX,a.S[y-B].iY,c.iX,c.iY),r.push(l?[c.iX,t[1]]:[t[0],c.iY])):r.push(l?[c.iX,c.iY-a.AZ.AD/2]:[c.iX-a.AZ.AD/2,c.iY]),r.push([c.iX,c.iY]),(n=a.FM(y+B,0))?(n.setup(),t=ZC.AQ.K1(c.iX,c.iY,a.S[y+B].iX,a.S[y+B].iY),r.push(l?[c.iX,t[1]]:[t[0],c.iY])):r.push(l?[c.iX,c.iY+a.AZ.AD/2]:[c.iX+a.AZ.AD/2,c.iY]),r.push(null)}_&&c.N9(ZC.Q.EE(a.CS("fl",0),a.G.AB)),(a.R8&&o||a.FV||a.U)&&c.PK(),c.J1=!0}else null!==ZC._n_(a.o["connect-nulls"])&&ZC._b_(a.o["connect-nulls"])||(r.push(null),C.push(null),s.push(null))}if("spline"===f){C.push(C[C.length-1]),s.push(s[s.length-1]);for(var r=[],F=1;F<C.length-1;F++)for(var K=[C[F-1],C[F],C[F+1],C[F+2]],I=ZC._a_(s[F+1]-s[F]),I=Math.min(I,Math.max(a.C.I,a.C.F)),x=ZC.AQ.YC(a.QI,K,I),y=0;y<x.length;y++)null!==ZC._n_(x[y][0])&&null!==ZC._n_(x[y][1])?l?r.push([x[y][1],s[F]+(a.AZ.AW?1:-1)*x[y][0]*I]):r.push([s[F]+(a.AZ.AW?-1:1)*x[y][0]*I,x[y][1]]):r.push(null)}a.D0=!1;var Y,L,G,d=a.G.OC;a.G.OC=!1,a.E["fast-vector-path"]=!0,ZC.CO.setup(a.OD,a),ZC.CO.paint(a.OD,a,r),a.G.OC=d,a.C.B7&&a.C.B7.I3&&a.QU&&(d=a.mapPointsToPreview(r,!0),Y=ZC.Q.EE(a.C.B7.Z,a.G.AB),(L=new ZC.CZ(a)).copy(a),L.K=a.K+"-preview",L.DF=a.K+"-preview",L.B1=1,(G=a.o["preview-state"])&&(L.append(G),L.parse()),ZC.CO.paint(Y,L,d,null,3))}}}),ZC.QY=ZC.W8.CD({$i:function(e){this.b(e);e=this;e.AF="area",e.Y=1,e.CW="segmented",e.SW=3,e.HS=e.C.AJ["3d"]?1:.5,e.SR="middle",e.A42=!0,e.V3=[],e.N6=!0,e.XE=!1,e.NG=!1},U2:function(){return new ZC.A31(this)},parse:function(){var e=this;e.BP=e.O6(),e.C2=e.BP[0],e.B9=e.BP[1],e.C.AJ["3d"]||"solid"===e.o["background-color-style"]?e.A0=e.AE=e.BP[1]:(e.A0=e.BP[0],e.AE=e.BP[1]),e.NR(),e.b(),e.applyRGBA(),e.assign_a([["alpha-area","HS","f",0,1],["step-start","SR"],["active-area","XE","b"],["contour-on-top","A42","b"],["smart-sampling","N6","b"]]),e.AZ=e.C.BM(e.BW("k")[0]),e.CQ=e.C.BM(e.BW("v")[0])},paint:function(){var w,e,t,i,n,a,l=this,o=(l.b(),l.V3=[],l.NG);if(-1===ZC.AV(["segmented","spline","stepped"],l.CW)&&(l.CW="segmented"),l.KI=l.CS("bl",0),l.A4R=ZC.Q.EE(l.CS("bl",1),l.G.AB),l.OD=ZC.Q.EE(l.CS("bl",l.A42?2:1),l.G.AB),X=l.C.P,!l.GX||l.C.AJ["3d"]){var S=ZC.MAX,P=-ZC.MAX;for(A=0,Z=l.S.length;A<Z;A++)l.S[A]&&(S=ZC.CY(S,l.S[A].CR),P=ZC.BR(P,l.S[A].CR));var r=l.CQ.AR(S),C=l.CQ.AR(P),s=l.CQ.AR(l.CQ.HC);if(ZC.DS(s,r,C)&&(l.CQ.AW?s<r&&(r=s):C<s&&(C=s)),l.E["min-y"]=Math.min(r,C),l.E["max-y"]=Math.max(r,C),l.CG&&l.A.F3){for(var O=ZC.MAX,N=-ZC.MAX,A=0,Z=l.A.F3.length;A<Z;A++)if(l.A.F3[A])for(var c=0,Q=l.A.F3[A].length;c<Q;c++)O=ZC.CY(O,l.A.F3[A][c][1]),N=ZC.BR(N,l.A.F3[A][c][1]);l.CQ.AW?l.E["min-y"]=O:l.E["max-y"]=N}l.E["max-y"]-l.E["min-y"]<100&&(l.E["max-y"]+=50,l.E["min-y"]-=50),l.PI(),l.D=null,l.D9=null,l.AH=null}else{l.XT(),l.C8=l.CS("bl",0);var k=!0,h=((null!==ZC._n_(l.A2.o.visible)&&!ZC._b_(l.A2.o.visible)||null!==ZC._n_(l.A.o.type)&&"none"===l.A2.o.type)&&(k=!1),l.CG&&0===l.C.UM),p=[],u=[],_=[],d=[],f=[],s=l.CQ.HC,g=(l.o["ref-value"]&&(s=ZC._f_(l.o["ref-value"])),l.CQ.AR(s)),g=o?"xy"===l.C.AJ.layout?(g=l.AZ.AR(s),ZC._l_(g,l.AZ.iX,l.AZ.iX+l.AZ.I)):ZC._l_(g,l.CQ.iX,l.CQ.iX+l.CQ.I):"yx"===l.C.AJ.layout?(g=l.AZ.AR(s),ZC._l_(g,l.AZ.iY,l.AZ.iY+l.AZ.F)):ZC._l_(g,l.CQ.iY,l.CQ.iY+l.CQ.F),B=!0,z=0,b=null,E=0,m=-1,D=-1,V=l.A.A4[0].S7&&l.A.A4[0].S7.length,r=l.Y,v=l.CW;if(1<l.Y&&"spline"===v&&(v="segmented"),l.AZ.EI&&l.EI){for(F=l.Y,l.N6&&(F=1),A=0,Z=l.S.length;A<Z;A+=F)D-A<=l.Y&&(F=ZC.BR(1,D-A)),l.S[A]&&(0<l.AZ.IU.length||ZC.DS(l.S[A].BV,l.AZ.V[l.AZ.W],l.AZ.V[l.AZ.A1])||B&&l.S[A+F]&&l.S[A+F].BV>=l.AZ.V[l.AZ.W])&&(B&&l.S[A-F]&&(-1===m&&(m=A-F),D=A-F,B=!1,z++),-1===m&&(m=A),z++,B=!1,E=D=A);0<z&&l.S[E+F]&&(-1===m&&(m=E+F),l.S[D=E+F].J1=!0)}else m=l.AZ.W,D=l.LT||"log"===l.AZ.BS?l.S.length:l.AZ.A1;l.Y=r,h||l.A.D9&&(u=l.A.D9.reverse());var T=null,H=null,J=0,R=1,U=(E=m,o?D-m>l.C.P.F&&(J=4/l.C.P.I*(l.CQ.BF-l.CQ.B0),R=ZC._f_((D-m)/(4*l.C.P.F))):D-m>l.C.P.I&&(J=4/l.C.P.F*(l.CQ.BF-l.CQ.B0),R=ZC._f_((D-m)/(4*l.C.P.I))),!1),W=!1,j=-1,F=l.Y,K=(l.N6&&(F=1),U=!0,!l.A.S0&&h&&(l.A.S0={},l.A.VO={}),null),I=null;if(l.A.S0&&!l.A.S0["s"+l.DZ]&&h){l.A.S0["s"+l.DZ]={},l.A.VO["s"+l.DZ]={};var q=l.A.WS["s"+l.DZ];for(A=0;A<=q.length;A++)null!==ZC._n_(q[A])&&(w=l.AZ.EI?ZC._i_(l.AZ.AR(q[A])):ZC._i_(l.AZ.II(q[A])),l.A.S0["s"+l.DZ][w]=g,l.A.VO["s"+l.DZ][w]=g)}for(h&&(K=l.A.S0["s"+l.DZ],I=l.A.VO["s"+l.DZ]),A=m;A<=D;A+=F){var $=!1;if(((D-m)%l.Y!=0||l.AZ.EI&&l.EI)&&D-A<=l.Y&&(F=ZC.BR(1,D-A),$=!0),l.N6&&!$&&l.S[A])if(null===ZC._n_(T))T=l.S[A].CR,E=A,H=0;else{if(Math.abs(l.S[A].CR-T)<J&&A-E<R&&(!l.EI||l.S[A].BV-H<4*l.AZ.SK))continue;T=l.S[A].CR,H=l.S[A].BV,E=A}if(b=l.FM(A)){switch(l.S[A].J1=!0,(l.FV||l.LT)&&b.paint(!0),!W&&("segmented"!==v&&"stepped"!==v||A!==m||0!==u.length)||h||(u.push(o?[g,b.iY]:[b.iX,g]),W&&_.push(o?[g,b.iY]:[b.iX,g])),W=!1,-1===j&&(j=b.iX),v){default:h||U&&(o?b.iY>l.AZ.iY&&(_.push([g,l.AZ.iY]),_.push([g,b.iY]),u.push([g,b.iY])):b.iX>l.AZ.iX&&(_.push([l.AZ.iX,g]),_.push([b.iX,g]),u.push([b.iX,g])),U=!1),p.push([b.iX,b.iY]),h?o?I[ZC._i_(b.iY)]=b.iX:I[ZC._i_(b.iX)]=b.iY:(_.push([b.iX,b.iY]),u.push([b.iX,b.iY]));break;case"spline":o?(d.push(b.iX),f.push(b.iY),1===d.length&&(d.push(b.iX),f.push(b.iY))):(d.push(b.iY),f.push(b.iX),1===d.length&&(d.push(b.iY),f.push(b.iX)));break;case"stepped":var x=l.AZ.AW?-1:1;switch(l.SR){default:(t=l.FM(A-F,0))&&(t.setup(),e=ZC.AQ.K1(l.S[A-F].iX,l.S[A-F].iY,b.iX,b.iY),p.push(o?[b.iX,e[1]]:[e[0],b.iY]),h?o?I[ZC._i_(e[1])-x]=b.iX:I[ZC._i_(e[0])+x]=b.iY:(_.push(o?[b.iX,e[1]]:[e[0],b.iY]),u.push(o?[b.iX,e[1]]:[e[0],b.iY]))),p.push([b.iX,b.iY]),h?o?I[ZC._i_(b.iY)]=b.iX:I[ZC._i_(b.iX)]=b.iY:(_.push([b.iX,b.iY]),u.push([b.iX,b.iY])),(i=l.FM(A+F,0))&&(i.setup(),e=ZC.AQ.K1(b.iX,b.iY,l.S[A+F].iX,l.S[A+F].iY),p.push(o?[b.iX,e[1]]:[e[0],b.iY]),h?o?I[ZC._i_(e[1])+x]=b.iX:I[ZC._i_(e[0])-x]=b.iY:(_.push(o?[b.iX,e[1]]:[e[0],b.iY]),u.push(o?[b.iX,e[1]]:[e[0],b.iY])));break;case"before":(t=l.FM(A-F,0))&&(t.setup(),p.push([l.S[A-F].iX,l.S[A-F].iY],[l.S[A-F].iX,b.iY]),h?o?(I[ZC._i_(b.iY)+x]=l.S[A-F].iX,I[ZC._i_(b.iY)]=l.S[A-F].iX):(I[ZC._i_(l.S[A-F].iX)]=l.S[A-F].iY,I[ZC._i_(l.S[A-F].iX)+x]=b.iY):(_.push([l.S[A-F].iX,l.S[A-F].iY],[l.S[A-F].iX,b.iY]),u.push([l.S[A-F].iX,l.S[A-F].iY],[l.S[A-F].iX,b.iY]))),p.push([b.iX,b.iY]),h?o?I[ZC._i_(b.iY)]=b.iX:I[ZC._i_(b.iX)]=b.iY:(_.push([b.iX,b.iY]),u.push([b.iX,b.iY]));break;case"after":p.push([b.iX,b.iY]),h?o?I[ZC._i_(b.iY)]=b.iX:I[ZC._i_(b.iX)]=b.iY:(_.push([b.iX,b.iY]),u.push([b.iX,b.iY])),(i=l.FM(A+F,0))&&(i.setup(),p.push([l.S[A+F].iX,b.iY],[l.S[A+F].iX,l.S[A+F].iY]),h?o?(I[ZC._i_(b.iY)-x]=l.S[A+F].iX,I[ZC._i_(l.S[A+F].iY)]=l.S[A+F].iX):(I[ZC._i_(l.S[A+F].iX)-x]=b.iY,I[ZC._i_(l.S[A+F].iX)]=l.S[A+F].iY):(_.push([l.S[A+F].iX,b.iY],[l.S[A+F].iX,l.S[A+F].iY]),u.push([l.S[A+F].iX,b.iY],[l.S[A+F].iX,l.S[A+F].iY])))}}V&&b.N9(ZC.Q.EE(l.CS("fl",0),l.G.AB)),(l.R8&&k||l.FV||l.U)&&b.PK(),b.J1=!0}else null!==ZC._n_(l.o["connect-nulls"])&&ZC._b_(l.o["connect-nulls"])||(p.push(null),d.push(null),f.push(null),h)||(0<=u.length-1&&u.push(o?[g,u[u.length-1][1]]:[u[u.length-1][0],g]),0<=_.length-1&&_.push(o?[g,u[u.length-1][1]]:[u[u.length-1][0],g]),W=!0)}if("segmented"!==v&&"stepped"!==v||h||0<=u.length-1&&(o?u.push([g,u[u.length-1][1]]):u.push([u[u.length-1][0],g])),"spline"===v){d.push(d[d.length-1]),f.push(f[f.length-1]),p=[],h||u.push(o?[g,f[0]]:[f[0],g]);for(var y=1;y<d.length-1;y++){var ee=[d[y-1],d[y],d[y+1],d[y+2]],te=ZC._a_(f[y+1]-f[y]),te=Math.min(te,Math.max(l.C.I,l.C.F)),Y=ZC.AQ.YC(l.QI,ee,te);for(A=0;A<Y.length;A++)null!==ZC._n_(Y[A][0])&&null!==ZC._n_(Y[A][1])?(n=o?[Y[A][1],f[y]+(l.AZ.AW?1:-1)*Y[A][0]*te]:[f[y]+(l.AZ.AW?-1:1)*Y[A][0]*te,Y[A][1]],p.push(n),h?o?I[ZC._i_(n[1])]=n[0]:I[ZC._i_(n[0])]=n[1]:(u.push(n),_.push(n))):p.push(null)}h||u.push(o?[g,u[u.length-1][1]]:[u[u.length-1][0],g])}if(h||0<_.length&&(C=_[_.length-1],o||C[0]<l.AZ.iX+l.AZ.I&&(_.push(o?[g,C[1]]:[C[0],g]),_.push(o?[g,l.AZ.iY]:[l.AZ.iX+l.AZ.I,g]))),h){var ie=[],ne=[],L=[],G=[];for(a in I)L.push([a,I[a]]);for(a in L.sort(function(e,t){return e[0]-t[0]}),K)G.push([a,K[a]]);for(G.sort(function(e,t){return e[0]-t[0]}),A=0;A<L.length;A++)ie.push(o?[L[A][1],L[A][0]]:[L[A][0],L[A][1]]);for(A=0;A<G.length;A++)ne.push(o?[G[A][1],G[A][0]]:[G[A][0],G[A][1]]);for(a in(u=ie.concat(ne.reverse()))[0]&&u.push(u[0]),K=l.A.S0["s"+l.DZ]={},I)K[a]=I[a]}var X,M,s=new ZC.DT(l);s.copy(l),s.D0=!0,s.LB=!0,s.B1=0,s.AU=0,s.EU=0,s.G3=0,s.NB=l.NG?180:90,s.parse(),s.C5=l.HS,s.Z=l.CS("bl",l.C.CG?0:1),s.D=u,s.A3Y(),s.K=l.K+"-area",s.paint(),l.D0=!1,ZC.CO.setup(l.OD,l),ZC.CO.paint(l.OD,l,p),l.C.B7&&l.C.B7.I3&&l.QU&&(r=l.C.B7,C=l.mapPointsToPreview(u),(s=new ZC.DT(l.A)).copy(l),s.D0=!0,s.LB=!0,s.B1=0,s.AU=0,s.EU=0,s.G3=0,s.C5=l.HS,s.D2=[X.iX,X.iY,X.iX+X.I,X.iY+X.F],s.K=l.K+"-area-preview",s.DF=l.K+"-preview",s.Z=r.Z,(X=l.o["preview-state"])&&(null!==ZC._n_(X["alpha-area"])?(M=X.alpha,X.alpha=l.o["preview-state"]["alpha-area"]):X.alpha=s.C5,s.append(X),s.parse(),null!==ZC._n_(M)?X.alpha=M:delete X.alpha),s.D=C,s.paint(),M=l.mapPointsToPreview(p),C=ZC.Q.EE(r.Z,l.G.AB),(s=new ZC.CZ(l)).copy(l),s.D0=!0,s.LB=!0,s.K=l.K+"-line-preview",s.DF=l.K+"-preview",s.B1=1,X&&(s.append(X),s.parse()),ZC.CO.paint(C,s,M,null,3)),l.CG&&(l.A.D9=_)}}}),ZC.A2A=ZC.W8.CD({$i:function(e){this.b(e);e=this;e.AF="bar",e.sMetaType="bar",e.F5=.1,e.D5=0,e.bKeyWidth=!1,e.YW=-1,e.CH=.1,e.CU=.1,e.F0=0,e.TT=!1,e.LZ=[],e.P7="bg",e.A3N=!0,e.N6=!1},parse:function(){var e,t,i,n,a=this;a.BP=a.O6(),a.C2=a.BP[0],a.B9=a.BP[1],a.BX=a.BP[1],a.A0=a.BP[1],a.AE=a.BP[2],a.NR(),a.b(),"histogram"===a.CW&&(a.F5=a.CH=a.CU=0),a.assign_a([["group-bars","A3N","b"],["show-zero","TT","b"],["offset-values","LZ"],["bar-space","F5","fp"],["bar-width","D5","fp"],["key-width","bKeyWidth","b"],["bar-max-width","YW","fp"],["bars-space-left","CH","fp"],["bars-space-right","CU","fp"],["bars-overlap","F0","fp"],["smart-sampling","N6","b"]]),a.A3N||(a.F0=1),0===a.F5&&0===a.CH&&0===a.CU&&(a.FF=!1),a.AZ=a.C.BM(a.BW("k")[0]),a.CQ=a.C.BM(a.BW("v")[0]),null!==ZC._n_(a.o.column)&&2===(t=a.o.column.split("/")).length&&(e=ZC._i_(t[0]),t=ZC._i_(t[1]),i=a.CH,1<=a.CH&&(i=a.CH/a.AZ.AD),n=a.CU,n=1-i-(n=1<=a.CU?a.CU/a.AZ.AD:n),n=ZC._x_(n/(3*t+1)),a.CH=i+n+3*(e-1)*n,a.CU=1-a.CH-2*n)},SU:function(){var e,t=this;if(t.RR)return t.RR;if(t.o["fast-dimensions"]&&t.A.A4[0].RR)return t.A.A4[0].RR;t.bKeyWidth&&(t.assign_a([["bar-width","D5","fp"]]),t.D5=((t.AZ.CM?t.AZ.F:t.AZ.I)-t.AZ.A9-t.AZ.BU)*(t.D5/(t.AZ.BF-t.AZ.B0)));var i,n=t.AZ.AD*t.Y,a=0;for(t.A.K8[t.AF]=t.A.K8[t.AF]||[],e=0;e<t.A.K8[t.AF].length;e++){var l=t.A.K8[t.AF][e][0];t.A.A4[l].BO[0]===t.BO[0]&&a++}if(t.LT)for(e=a=0;e<t.A.A4.length;e++)"bar"===t.A.A4[e].sMetaType&&(a=ZC.BR(a,t.A.A4[e].S.length));if(null===ZC._n_(t.AZ.EV)&&(t.AZ.EV=0,t.AZ.WU={}),t.CG&&null!==ZC._n_(t.AZ.WU["stack-"+t.DZ]))i=t.AZ.WU["stack-"+t.DZ];else{for(i=t.AZ.EV,e=0;e<t.L;e++)if((t.A.A4[e].AP||"hide"===t.C.getToggleAction())&&t.BO[0]===t.A.A4[e].BO[0]&&t.A.A4[e].AF===t.AF&&(!t.CG||t.A.A4[e].DZ!==t.DZ)&&!t.A.A4[e].HT){i++;break}t.AZ.EV=i,t.AZ.WU["stack-"+t.DZ]=i}for(var o=!0,r=0,C=[],s=0;s<t.A.A4.length;s++)t.A.A4[s].D5<=1?o=!1:null===ZC._n_(t.A.A4[s].D5)||t.A.A4[s].CG&&-1!==ZC.AV(C,t.A.A4[s].DZ)||(C.push(t.A.A4[s].DZ),r+=t.A.A4[s].D5);var A,Z,c,h,p,u=t.CH,_=(u<=1&&(u*=n),t.CU),d=(_<=1&&(_*=n),u=ZC._i_(u),_=ZC._i_(_),t.F0);return o?(A=r,0===t.F0||a<=1?((Z=t.F5)<=1&&(Z*=A/a),_=(h=n-A-(Z=ZC.BR(0,Z))*(a-1))-(u=h*(p=0===_?1:u/_)/(1+p)),u<1&&(Z=n-A,1<a&&(Z/=a-1),Z<(u=_=0))&&(A=n-u-_-(Z=0)*(a-1)),c=(A=ZC.BR(A,+a))/a):1<a&&(Z=0,c=A/a,d<=1&&(d*=c),_=(h=n-(A=a*(c-(d=ZC.CY(d,c)))+d)-Z*(a-1))-(u=h*(p=0===_?1:u/_)/(1+p)),u<1)&&(A-=1-u)):(A=n-u-_,0===t.F0||a<=1?((Z=t.F5)<=1&&(Z*=A/a),_=(h=n-A-(Z=ZC.BR(0,Z))*(a-1))-(u=h*(p=0===_?1:u/_)/(1+p)),u<1&&(Z=n-A,1<a&&(Z/=a-1),Z<(u=_=0))&&(A=n-u-_-(Z=0)*(a-1)),c=(A=ZC.BR(A,+a))/a):1<a&&(c=A/a,1<d&&(d=c/d),d*=c=A/(a-a*d+d),_=(h=n-A-(Z=0)*(a-1))-(u=h*(p=0===_?1:u/_)/(1+p)),u<1)&&(A-=1-u)),-1!==t.YW&&c>t.YW&&!t.E.bw&&(t.D5=t.YW),t.RR={AD:n,EV:i,CH:u,CU:_,F5:Z,D5:c,F0:d},{AD:n,EV:i,CH:u,CU:_,F5:Z,D5:c,F0:d}},paint:function(){var e=this,t=(e.b(),e.KI=e.CS("bl",0),e.FF),i=(e.A2L=!1,e.SF=null,1);e.AZ.EI&&(i=e.S.length/(e.AZ.DP-e.AZ.D4)),0!==e.E6.length||e.HZ||e.C.KL||"svg"!==e.G.AB||!(2048<e.AZ.A1-e.AZ.W||e.AZ.EI&&2048<i*(e.AZ.A1-e.AZ.W))||(e.A2L=!0,null===ZC._n_(e.o["rect-shortcut"])&&(e.FF=!0)),e.FF||(e.A2L=!1),e.PI(),e.FF=t,e.RefNode=null,e.W2=null}}),ZC.QZ=ZC.A2A.CD({$i:function(e){this.b(e),this.AF="vbar"},U2:function(){return new ZC.ZL(this)}}),ZC.R0=ZC.A2A.CD({$i:function(e){this.b(e),this.AF="hbar"},U2:function(){return new ZC.ZM(this)}}),ZC.PG=ZC.W8.CD({$i:function(e,t){this.b(e),this.AF=t||"scatter",this.P7="markerbg",this.bPoly=!1,this.HS=.5},U2:function(){return new ZC.A5T(this)},parse:function(){var e=this;e.BP=e.O6(),e.C2=e.BP[0],e.A0=e.BP[1],e.AE=e.BP[1],e.B9=e.BP[2],e.BX=e.BP[2],e.NR(),e.b(),e.assign_a([["alpha-area","HS","f",0,1]]),e.AZ=e.C.BM(e.BW("k")[0]),e.CQ=e.C.BM(e.BW("v")[0])},paint:function(){var e,t,i,n=this;if(n.b(),n.KI=n.CS("bl",0),n._oCtxNode=ZC.Q.EE(n.CS("bl",0),n.G.AB),!n.GX||n.C.AJ["3d"]||"fast"!==n.A0Y||0!==n.RZ)n.PI(!0);else{var a,l=null,o=n.AZ,r=n.CQ,C=(n.XT(!0),new ZC.DT(n.A));for(C.Z=n.CS("bl",1),C.C8=n.CS("bl",0),C.B9=n.BP[4],C.BX=n.BP[4],C.A0=n.BP[2],"bubble"===n.AF||"hbubble"===n.AF?C.AE=n.BP[1]:C.AE=n.BP[2],C.append(n.A2.o),C.parse(),t=0;t<=n.S.length;t++)(l=n.FM(t))&&(a=!1,o.CM?ZC.DS(l.iX,r.iX+(r.AW?r.BU:r.A9)-1,r.iX+r.I-(r.AW?r.A9:r.BU)+1)&&ZC.DS(l.iY,o.iY+(o.AW?o.BU:o.A9)-1,o.iY+o.F-(o.AW?o.A9:o.BU)+1)&&(a=!0):ZC.DS(l.iX,o.iX+(o.AW?o.BU:o.A9)-1,o.iX+o.I-(o.AW?o.A9:o.BU)+1)&&ZC.DS(l.iY,r.iY+(r.AW?r.A9:r.BU)-1,r.iY+r.F-(r.AW?r.BU:r.A9)+1)&&(a=!0),a)&&(l.J1=!0,n.S[t].J1=!0,C.K=l.K+"-marker",C.iX=l.iX,C.iY=l.iY,"circle"!==C.DH&&C.parse(),"none"!==n.J4&&(n.C.IY[n.L]||n.C.KL)&&(C.o={},C.LR={},n.C.CF["p"+n.L]&&n.C.CF["p"+n.L]["n"+t]?C.LR=n.PR?n.PR.o:{}:"none"!==n.O8&&("plot"===n.O8&&n.C.IY[t]||"graph"===n.O8&&n.C.KL)&&(C.LR=n.PQ?n.PQ.o:{}),C.B9=n.BP[4],C.BX=n.BP[4],C.A0=n.BP[2],"bubble"===n.AF||"hbubble"===n.AF?C.AE=n.BP[1]:C.AE=n.BP[2],C.append(n.A2.o),C.parse()),C.paint())}if(n.bPoly){for(e=[],t=0,i=n.S.length;t<i;t++)e.push([n.S[t].iX,n.S[t].iY]);e.length&&e.push(e[0]);var s=new ZC.DT(n);s.copy(n),s.C5=n.HS,s.D0=!0,s.LB=!0,s.B1=0,s.AU=0,s.EU=0,s.G3=0,s.Z=n.KI,s.D=e,s.A3Y(),s.K=n.K+"-area",s.paint(),n.D0=!1,ZC.CO.setup(n._oCtxNode,n),ZC.CO.paint(n._oCtxNode,n,e)}}}),ZC.S2=ZC.W8.CD({$i:function(e,t){this.b(e),this.AF=t||"bubble",this.TA=null,this.RO=null,this.A1E=1,this.JU=1,this.A6K="area",this.P7="markerbg"},U2:function(){return new ZC.A6S(this)},parse:function(){var e=this;e.BP=e.O6(),e.C2=e.BP[0],e.A0=e.BP[2],e.AE=e.BP[1],e.B9=e.BP[2],e.BX=e.BP[2],e.NR(),e.b(),e.assign_a([["min-size","TA","i"],["max-size","RO","i"],["scaling","A6K"],["sizing-group","A1E","i"],["size-factor","JU","f"]]),e.AZ=e.C.BM(e.BW("k")[0]),e.CQ=e.C.BM(e.BW("v")[0])},getSize:function(e){var t=this,i=Math.min(Math.min(t.AZ.I,t.AZ.F)/10,Math.max(t.AZ.I,t.AZ.F)/20),n="radius"===t.A6K?t.RP/t.O0:Math.sqrt(t.RP)/Math.sqrt(t.O0);return null===ZC._n_(t.TA)&&null===ZC._n_(t.RO)?(t.RO=i,t.TA=Math.max(1,t.RO/n)):null===ZC._n_(t.TA)&&null!==ZC._n_(t.RO)?t.TA=Math.max(1,t.RO/n):null!==ZC._n_(t.TA)&&null===ZC._n_(t.RO)&&(t.RO=t.TA*n,t.RO>i)&&(t.RO=i,t.TA=Math.max(1,t.RO/n)),e=ZC.BR(e,t.O0),i=t.RP===t.O0?e-t.O0:"radius"===t.A6K?(e-t.O0)/(t.RP-t.O0):(Math.sqrt(e)-Math.sqrt(t.O0))/(Math.sqrt(t.RP)-Math.sqrt(t.O0)),n=t.TA+t.JU*(t.RO-t.TA)*i,ZC.BR(t.TA,n)},paint:function(){var e=this;e.b(),e.KI=e.CS("bl",0),e.RP=-ZC.MAX,e.O0=ZC.MAX;for(var t=e.A.A4,i=0,n=t.length;i<n;i++)if(t[i].A1E===e.A1E)for(var a=0,l=t[i].S.length;a<l;a++)e.RP=ZC.BR(e.RP,ZC._a_(t[i].S[a].SQ)),e.O0=ZC.CY(e.O0,ZC._a_(t[i].S[a].SQ));e.PI(!0)}}),ZC.W9=ZC.I1.CD({$i:function(e){this.b(e);this.AF="pie",this.BO=["scale",ZC._[52],"scale-r"],this.PY=0,this.DK=0,this.TT=!1,this.A7U=!0,this.C3=null,this.P7="bg"},U2:function(){return new ZC.A8T(this)},parse:function(){var e,t=this;null===ZC._n_(t.o[ZC._[17]])&&(t.o[ZC._[17]]={}),"ring"!==t.A.A.o.type&&"ring3d"!==t.A.A.o.type||(t.PY=.35),t.BP=t.O6(),t.C2=t.BP[0],t.A0=t.BP[1],t.AE=t.BP[2],t.BX=t.BP[4],t.B9=t.BP[4],t.NR(),t.b(),t.C3=new ZC.CZ(t),t.C.A.B6.load(t.C3.o,["graph.plot.value-box.connector",t.AF+".plot.value-box.connector"]),null!==ZC._n_(e=t.C.o.plot)&&null!==ZC._n_(e[ZC._[17]])&&null!==ZC._n_(e=e[ZC._[17]].connector)&&t.C3.append(e),t.C3.append(t.o[ZC._[17]].connector),t.assign_a([["offset","DX","fp"],[ZC._[8],"PY","fp"],["show-zero","TT","b"],["detach","A7U","b"],["ref-angle","DK","i"]]),t.DK%=360;for(var i=0,n=t.S.length;i<n;i++)t.S[i]&&(t.S[i].CP=t.PY,t.S[i])&&(t.C.E["plot"+t.L+".visible"]||"hide"===t.C.getToggleAction())&&(null===ZC._n_(t.A.KP[i])&&(t.A.KP[i]=0),t.A.KP[i]+=ZC._f_(t.S[i].AC))},paint:function(){this.b(),this.KI=this.CS("bl",0),this.PI(!0)}}),ZC.U1=ZC.I1.CD({$i:function(e){this.b(e);this.AF="nestedpie",this.BO=["scale"],this.U6=0,this.SP=0,this.DK=0,this.C3=null,this.P7="bg",this.aBandWidths=null},U2:function(){return new ZC.A4A(this)},parse:function(){var e,t=this;t.BP=t.O6(),t.C2=t.BP[0],t.A0=t.BP[1],t.AE=t.BP[2],t.BX=t.BP[0],t.B9=t.BP[0],t.NR(),t.b(),t.U&&(t.C3=new ZC.CZ(t),t.C.A.B6.load(t.C3.o,["graph.plot.value-box.connector",t.AF+".plot.value-box.connector"]),null!==ZC._n_(e=t.C.o.plot)&&null!==ZC._n_(e[ZC._[17]])&&null!==ZC._n_(e=e[ZC._[17]].connector)&&t.C3.append(e),t.C3.append(t.o[ZC._[17]].connector)),t.assign_a([["slice-start","U6","fp"],["offset","U6","fp"],[ZC._[8],"U6","fp"],["band-space","SP","fp"],["ref-angle","DK","i"],["band-widths","aBandWidths"]]),t.DK%=360;for(var i=0,n=t.S.length;i<n;i++)t.S[i]&&(t.C.E["plot"+t.L+".visible"]||"hide"===t.C.getToggleAction())&&(null===ZC._n_(t.A.KP[i])&&(t.A.KP[i]=0),t.A.KP[i]+=ZC._f_(t.S[i].AC))},paint:function(){this.b(),this.KI=this.CS("bl",0),this.PI(!0)}}),ZC.XH=ZC.I1.CD({$i:function(e){this.b(e);this.AF="radar",this.SW=3,this.BO=["scale-k",ZC._[52],"scale"],this.HS=.5,this.CW="line",this.A65=null,this.XE=!1,this.D=[],this.AH=[]},U2:function(){return new ZC.A7D(this)},parse:function(){var e=this;e.BP=e.O6(),e.C2=e.BP[0],e.B9=e.BP[1],e.BX=e.BP[1],e.A0=e.BP[2],e.AE=e.BP[3],e.NR(),e.b(),e.applyRGBA(),e.assign_a([["active-area","XE","b"],["alpha-area","HS","f",0,1],["angle-space","A65","f"]]),e.AZ=e.C.BM("scale-k"),e.CQ=e.C.BM(ZC._[52]),"range"===e.CW&&(e.A0Y="normal",e.GX=!1)},paint:function(){var e=this;e.b(),e.AZ.V.length===e.V.length&&-1===ZC.AV(e.V,null)||(e.A0Y="normal",e.GX=!1),e.KI=ZC.AL(e.C.K+"-plot-"+e.L+"-bl-0-c"),e.A4R=ZC.Q.EE(e.CS("bl",0),e.G.AB),e.OD=ZC.Q.EE(e.CS("bl",2),e.G.AB),e.PI(!0)}}),ZC.A5B=ZC.A2A.CD({$i:function(e){this.b(e);this.F5=.2,this.CH=.28,this.CU=.28,this.F0=0,this.FK=null,this.A2S=[],this.Q0=[],this.A9H=!0,this.P7="bg"},AC2:function(e){if("goal"===e){if(null!==ZC._n_(e=this.FK.o.tooltip))return e;if(null!==ZC._n_(e=this.FK.o["tooltip-text"]))return{text:e}}return{}},parse:function(){var e,t=this;if(t.BP=t.O6(),t.b(),null!==ZC._n_(t.A2S=t.o.goals))for(var i=0,n=t.A2S.length;i<n;i++)null!==ZC._n_(t.A2S[i])?"string"==typeof t.A2S[i]?t.Q0[i]=ZC.AV(t.CQ.JP,t.A2S[i]):t.Q0[i]=ZC._f_(t.A2S[i]):t.Q0[i]=null;t.FK=new ZC.HU(t),t.FK.copy(t),t.FK.append({"background-color":t.BP[3]}),t.FK.o["tooltip-text"]="%node-goal-value",t.G.B6.load(t.FK.o,["("+t.AF+").plot.goal"],!0,!0),null!==ZC._n_(e=t.o.goal)&&t.FK.append(e),t.FK.parse()}}),ZC.TJ=ZC.A5B.CD({$i:function(e){this.b(e),this.AF="vbullet"},U2:function(){return new ZC.A5U(this)}}),ZC.TK=ZC.A5B.CD({$i:function(e){this.b(e),this.AF="hbullet"},U2:function(){return new ZC.A5V(this)}}),ZC.XI=ZC.W8.CD({$i:function(e){this.b(e);this.AF="piano",this.CW="alpha",this.A74="plot-max",this.QD=.2,this.UV=1,this.P7="bg"},U2:function(){return new ZC.A7E(this)},parse:function(){var e=this;e.BP=e.O6(),e.C2=e.BP[0],e.B9=e.BP[1],e.BX=e.BP[1],e.A0=e.BP[2],e.AE=e.BP[1],e.NR(),e.b(),e.assign_a([["min-ratio","QD","f",0,1],["max-ratio","UV","f",0,1],["reference","A74",""]]),e.QD>=e.UV&&(e.QD=.2,e.UV=1),e.AZ=e.C.BM(e.BW("k")[0]),e.CQ=e.C.BM(e.BW("v")[0])},paint:function(){var e=this;e.b(),e.KI=e.CS("bl",0),e.A4S=e.A3I=-ZC.MAX,e.Y7=e.WM=ZC.MAX;for(var t=e.A66=e.A4T=0,i=e.A.A4.length;t<i;t++)for(var n,a=e.A.A4[t],l=0,o=a.S.length;l<o;l++)a.S[l]&&(n=ZC._f_(a.S[l].AC),a.L===e.L&&(e.A4S=ZC.BR(e.A4S,n),e.Y7=ZC.CY(e.Y7,n),e.A66+=n),e.A3I=ZC.BR(e.A3I,n),e.WM=ZC.CY(e.WM,n),e.A4T+=n);e.PI()}}),ZC.WB=ZC.W8.CD({$i:function(e){this.b(e);this.L7=.1,this.OH=.1,this.LY=0,this.A2I="dynamic",this.OX=[],this.VM=[],this.P7="bg"},parse:function(){var e,t,i,n,a=this;if(a.BP=a.O6(),a.C2=a.BP[0],a.B9=a.BP[1],a.BX=a.BP[1],a.A0=a.BP[2],a.AE=a.BP[1],a.NR(),a.b(),a.assign_a([["start-width","A2I"],["min-exit","LY","fp"],["space-entry","L7","fp"],["offset","L7","fp"],["offset","OH","fp"]]),null!==ZC._n_(i=a.o.entry))for(e=0,t=(i=i instanceof Array?i:[i]).length;e<t;e++){var l=new ZC.DT(a);l.o=i[e],l.parse(),a.OX.push(l)}if(null!==ZC._n_(n=a.o.exit))for(e=0,t=(n=n instanceof Array?n:[n]).length;e<t;e++){var o=new ZC.DT(a);o.o=n[e],o.parse(),a.VM.push(o)}a.AZ=a.C.BM(a.BW("k")[0]),a.CQ=a.C.BM(a.BW("v")[0])},paint:function(){this.b(),this.KI=this.CS("bl",0),this.PI()}}),ZC.VB=ZC.WB.CD({$i:function(e){this.b(e),this.AF="vfunnel"},U2:function(){return new ZC.A5W(this)}}),ZC.VC=ZC.WB.CD({$i:function(e){this.b(e),this.AF="hfunnel"},U2:function(){return new ZC.A5X(this)}}),ZC.VJ=ZC.A2A.CD({$i:function(e){this.b(e);this.AF="stock",this.CW="candlestick",this.MY={size:0},this.P7="bg"},U2:function(){return new ZC.A7F(this)},parse:function(){this.b()},paint:function(){this.b(),this.paintPreview()},paintPreview:function(){var e=this,t=e.C.BM(e.BW("v")[0]),i=t.AR(t.HC);if(e.C.B7&&e.C.B7.I3&&e.QU){for(var n,a=e.C.P,l=e.C.B7,o=[],r=[],C=!0,s=0,A=e.S.length;s<A;s++)null!==ZC._n_(e.S[s])&&null!==ZC._n_(e.S[s].DU[2])&&(n=t.AR(e.S[s].DU[2]),C&&(r.push([e.S[s].iX,i]),C=!1),o.push([e.S[s].iX,n]),r.push([e.S[s].iX,n]));r.length&&r.push([r[r.length-1][0],i]);var Z=e.mapPointsToPreview(r),c=e.o.preview||{},a=("area"===(c.type||"area")&&((h=new ZC.DT(e.A)).copy(e),h.append({"background-color":e.BX,"alpha-area":.2}),h.append(c),h.parse(),h.D0=!0,h.LB=!0,h.B1=0,h.AU=0,h.EU=0,h.G3=0,h.C5=ZC._f_(h.o["alpha-area"]),h.D2=[a.iX,a.iY,a.iX+a.I,a.iY+a.F],h.K=e.K+"-area-preview",h.Z=l.Z,h.D=Z,h.paint()),e.mapPointsToPreview(o)),Z=ZC.Q.EE(l.Z,e.G.AB),h=new ZC.CZ(e);h.copy(e),h.append({"line-color":e.BX,"line-width":1}),h.append(c),h.parse(),ZC.CO.paint(Z,h,a,null,3)}}}),ZC.XJ=ZC.I1.CD({$i:function(e){this.b(e);this.AF="gauge",this.SW=3,this.BO=["scale-r",ZC._[52],"scale"],this.HS=.5,this.I4=[10,0,0,0,0],this.P7="bg"},U2:function(){return new ZC.A7G(this)},parse:function(){var e,t=this;t.BP=t.O6(),t.C2=t.BP[0],t.B9=t.BP[1],t.A0=t.BP[3],t.AE=t.BP[3],t.NR(),t.b(),t.assign_a([["alpha-area","HS","f",0,1],["indicator","I4"]]),null!==ZC._n_(e=t.o.csize)&&(t.I4[0]=ZC._i_(e)),t.I4=[ZC._f_(t.I4[0]||"10"),ZC._f_(t.I4[1]||"0"),ZC._f_(t.I4[2]||"0"),ZC._f_(t.I4[3]||"0"),ZC._f_(t.I4[4]||"0")]},paint:function(){this.b(),this.KI=this.CS("bl",0),this.PI(!0)}}),ZC.T1=ZC.W8.CD({$i:function(e){this.b(e);this.AF="range",this.Y=1,this.CW="segmented",this.SW=3,this.HS=.5,this.bFastRange=!1,this.aPointsMin=[],this.aPointsMax=[]},U2:function(){return new ZC.A7H(this)},parse:function(){var e=this;e.BP=e.O6(),e.C2=e.BP[0],e.B9=e.BP[1],e.A0=e.BP[1],e.AE=e.BP[1],e.NR(),e.b(),e.applyRGBA(),e.YD("alpha-area","HS","f",0,1),e.AZ=e.C.BM(e.BW("k")[0]),e.CQ=e.C.BM(e.BW("v")[0])},PI:function(){var e,t=this,i=t.NG,n=(t.XT(!1),t.C.P),i=(t.Y=1,i?n.F:n.I),i=(t.AZ.EI||!t.QE&&5*(t.AZ.A1-t.AZ.W)>i&&(t.Y=ZC._i_(5*(t.AZ.A1-t.AZ.W)/i)),t.AZ.EI);if(i&&t.Q4[0]===ZC.MAX&&t.Q4[1]===-ZC.MAX&&(i=!1),t.bFastRange=1024<t.S.length,(t.AZ.A1-t.AZ.W)/(t.AZ.DP-t.AZ.D4)<.1&&(t.bFastRange=!1),i)for(r=0,e=t.S.length;r<e;r++)t.S[r]&&ZC.DS(t.S[r].BV,t.AZ.V[t.AZ.W],t.AZ.V[t.AZ.A1])&&(t.S[r].Z=t.KI,t.S[r].MP="min",t.S[r].paint(),t.bFastRange&&t.aPointsMin.push([t.S[r].iX,t.S[r].iY]),t.S[r].MP="max",t.S[r].paint(),t.bFastRange&&t.aPointsMax.push([t.S[r].iX,t.S[r].iY]),delete t.S[r].E["intersect.index"]);else for(r=t.AZ.W;r<=t.AZ.A1;r+=t.Y)t.S[r]&&(t.S[r].MP="min",t.S[r].paint(),t.bFastRange&&t.aPointsMin.push([t.S[r].iX,t.S[r].iY]),t.S[r].MP="max",t.S[r].paint(),t.bFastRange&&t.aPointsMax.push([t.S[r].iX,t.S[r].iY]),delete t.S[r].E["intersect.index"]);if(t.bFastRange){var i=new ZC.CZ(t),i=(i.copy(t),i.append(t.o["min-line"]),i.K=t.K+"-min-line",i.parse(),ZC.CO.setup(t.OD,i),ZC.CO.paint(t.OD,i,t.aPointsMin),new ZC.CZ(t)),i=(i.copy(t),i.append(t.o["max-line"]),i.K=t.K+"-max-line",i.parse(),ZC.CO.setup(t.OD,i),ZC.CO.paint(t.OD,i,t.aPointsMax),[].concat(t.aPointsMax).reverse()),i=[].concat(t.aPointsMin).concat(i),a=new ZC.DT(t.A),n=(a.K=t.K+"-area",a.Z=t.CS("bl",0),a.copy(t),a.B1=0,a.AU=0,a.EU=0,a.G3=0,a.parse(),a.D=i,a.C5=t.HS,t.C.P);if(a.D2=[n.iX,n.iY,n.iX+n.I,n.iY+n.F],a.paint(),t.FV)for(var i=t.NG?t.C.P.F:t.C.P.I,l=Math.max(1,.52*i/t.aPointsMin.length),o=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.L+ZC._[6],r=0;r<t.aPointsMin.length;r++){var C=t.aPointsMin[r],s=t.aPointsMax[r],s=t.NG?[[C[0],C[1]-l],[C[0],C[1]+l],[s[0],s[1]+l],[s[0],s[1]-l],[C[0],C[1]-l]]:[[C[0]-l,C[1]],[C[0]+l,C[1]],[s[0]+l,s[1]],[s[0]-l,s[1]],[C[0]-l,C[1]]],C=ZC.AQ.PJ(s,4);""!==C&&t.A.H3.push(ZC.Q.FP("poly",t.E9,t.IE)+'class="'+o+'" id="'+t.K+"-node-"+r+'--area" coords="'+C+'" />')}}},paint:function(){var e=this;e.b(),e.KI=e.CS("bl",0),e.A4R=ZC.Q.EE(e.CS("bl",1),e.G.AB),e.OD=ZC.Q.EE(e.CS("bl",2),e.G.AB),e.PI(),e.aPointsMin=[],e.aPointsMax=[],e.D=null,e.D9=null,e.ZW=null,e.S8=null}}),ZC.XK=ZC.W9.CD({$i:function(e){this.b(e);this.AF="pie3d",this.JK=-1},parse:function(){this.b(),this.assign_a([["thickness","JK","ia"]])},U2:function(){return new ZC.A7M(this)}}),ZC.UP=ZC.QZ.CD({$i:function(e){this.b(e),this.AF="vbar3d"},U2:function(){return new ZC.A6X(this)},parse:function(){this.b(),null===ZC._n_(this.o[ZC._[61]])&&(this.BX=this.BP[0]),null===ZC._n_(this.o["line-color"])&&(this.B9=this.BP[0])},paint:function(){this.b(),this.sharedZScale()}}),ZC.WC=ZC.R0.CD({$i:function(e){this.b(e),this.AF="hbar3d"},U2:function(){return new ZC.A6Y(this)},parse:function(){this.b(),null===ZC._n_(this.o[ZC._[61]])&&(this.BX=this.BP[0]),null===ZC._n_(this.o["line-color"])&&(this.B9=this.BP[0])}}),ZC.UQ=ZC.QX.CD({$i:function(e){this.b(e),this.AF="line3d"},U2:function(){return new ZC.A6Z(this)},parse:function(){this.b(),null===ZC._n_(this.o[ZC._[61]])&&(this.BX=this.BP[1])},paint:function(){this.b(),this.sharedZScale()}}),ZC.UR=ZC.QY.CD({$i:function(e){this.b(e),this.AF="area3d"},U2:function(){return new ZC.A70(this)},parse:function(){this.b(),null===ZC._n_(this.o[ZC._[61]])&&(this.BX=this.BP[1])},paint:function(){this.b(),this.sharedZScale()}}),ZC.Z0=ZC.I1.CD({$i:function(e){this.b(e);this.AF="venn",this.ABV=[],this.A9L=[],this.BO=["scale"],this.P7="bg"},U2:function(){return new ZC.A8A(this)},parse:function(){var e=this;e.BP=e.O6(),e.C2=e.BP[0],e.BX=e.BP[1],e.A0=e.BP[3],e.AE=e.BP[3],e.NR(),e.b(),e.assign_a([["join","ABV"],["share","A9L"]])},paint:function(){this.b(),this.KI=this.CS("bl",0),this.PI(!0)}}),{$i:function(e){this.b(e);var t=this;t.C=e.A.A,t.G=t.C.A,t.L=-1,t.AC=null,t.DU=[],t.CR=null,t.BV=null,t.CK=null,t.JS=[],t.I3=!1,t.PZ=!0,(t.O=t).J1=!1,t.A22=!1},H8:function(e,t){this.b(this.A,e,t,this.M2(null,!1),this.A.MN)},V7:function(){return[this.iX,this.iY,{reference:this,center:!0}]},AC9:function(){return[this.iX,this.iY]},getTooltipPosition:function(e,t,i){var n,a,l,o,r=this;switch(r.paint(!0),n=r.iX,a=r.iY,l=r.I,o=r.F,t){case"center":n=r.iX+l/2,a=r.iY+o/2;break;case"top":n=r.iX+l/2,a=r.iY,a=i?a-i:a;break;case"bottom":n=r.iX+l/2,a=r.iY+o,a=i?a+i:a;break;case"left":n=r.iX,a=r.iY+o/2,n=i?n-i:n;break;case"right":n=r.iX+l,a=r.iY+o/2,n=i?n+i:n;break;default:n+=r.BK,a+=r.BJ}return{x:n,y:a}},setNodeData:function(e){for(var t in e)e.hasOwnProperty(t)&&(this.A.GX?this.A.S[this.L][t]=e[t]:this.E[t]=e[t])},getNodeData:function(e){return(this.A.GX?this.A.S[this.L]:this.E)[e]},AB2:function(){var e,t,i,n=this,a=n.C.E,l=n.A.L,o=(null===ZC._n_(a.update)&&(a.update={}),a.update),a=""+n.AC,r=n.A.MU();for(ZC.PH(a)&&ZC._f_(a)<0&&"currency"===r.negation&&(a=ZC._a_(ZC._f_(a))),r.utc=n.C.UK,r.timezone=n.C.NE,a=ZC.AO.G5(a,r,n.A),o["plot-"+l+"-value"]=a,o["plot-"+l+"-value-0"]=a,e=0,t=n.DU.length;e<t;e++)o["plot-"+l+"-value-"+(e+1)]=n.DU[e];for(o["plot-value"]=o["plot-value-0"]=a,e=0,t=n.DU.length;e<t;e++)o["plot-value-"+(e+1)]=n.DU[e];for(i in n.A.K5){var C=null,C="object"==typeof n.A.K5[i]&&n.A.K5[i].length?n.A.K5[i][n.L]:n.A.K5[i];o["plot-"+l+"-data-"+i]=C}},R2:function(){var e=this,t=e.A.AZ,i=e.A.CQ,n=[t.W,t.A1,i.W,i.A1];e.A.GX&&(e.CR=e.A.S[e.L].CR),e.JS!==n&&(t.CM?(null!==e.BV?e.iY=t.AR(e.BV):e.iY=t.II(e.L),e.A.CG&&"100%"===e.A.KT?0<e.A.A.F9[e.L]["%total-"+e.A.DZ]?e.iX=i.AR(100*e.CR/e.A.A.F9[e.L]["%total-"+e.A.DZ]):e.iX=i.AR(100*e.CR):e.iX=i.AR(e.CR+0)):(null!==e.BV?e.iX=t.AR(e.BV):e.A.LT?"bar"===e.A.sMetaType?e.iX=t.II(e.A.R9):e.iX=t.II(e.A.R9)+e.A.RU+e.L*(t.AD-2*e.A.RU)/(e.A.S.length-1)-t.AD/2:"log"===t.BS?e.iX=t.AR(e.L):e.iX=t.II(e.L),e.A.CG&&"100%"===e.A.KT?0<e.A.A.F9[e.L]["%total-"+e.A.DZ]?e.iY=i.AR(100*e.CR/e.A.A.F9[e.L]["%total-"+e.A.DZ]):e.iY=i.AR(100*e.CR):e.iY=i.AR(e.CR+0)),e.A.GX&&(e.A.S[e.L].iX=e.iX,e.A.S[e.L].iY=e.iY),e.JS=n),e.I3||(e.I3=!0,0!==e.A.E6.length||-1===ZC.AV(["line","area","vbar","hbar","line3d","area3d","vbar3d","hbar3d"],e.A.AF)||e.A.o.override?ZC.A3.browser.mozilla||e.A.o.override?(e.copy(e.A),e.E6=e.A.E6,e.DG(),e.parse(!1),e.R2(),e.O=e):(t=e.ACH(e.A.E6),null===ZC._n_(i=e.A.A63[t])?(e.copy(e.A),e.E6=e.A.E6,e.DG(),e.parse(!1),e.R2(),(e.O=e).A.A63[t]=e):e.O=i):e.O=e.A,e.A.o.override&&(e.O.E.plotidx=e.A.L,e.O.E.nodeidx=e.L,e.O.parse(!1)))},a11y:function(){var e,t="";return this.G.bA11y?(this.A.GX?(e=this.A.FM(this.L,1,!0))&&(t=e.K2(this.C.A7.o.text||this.A.A7.o.text||this.A.JA)):t=this.K2(this.C.A7.o.text||this.A.A7.o.text||this.A.JA),t=(t=this.A.AN&&-1===t.indexOf(this.A.AN)?this.A.AN+":"+t:t).replace(/<.+?>/gi," "),0<this.L?'tabindex="0" aria-label="Node '+(this.L+1)+" of "+this.A.S.length+". "+t+'"':(e=this.A.AN||"Series "+(this.A.L+1),'tabindex="0" aria-label="Series '+(this.A.L+1)+" of "+this.A.A.A4.length+". "+e+". Node "+(this.L+1)+" of "+this.A.S.length+". "+t+'"')):""},AA0:function(){var e,t=this;if(t.o[ZC._[9]]instanceof Array&&(t.CK=t.o[ZC._[9]].join(" "),"string"==typeof t.o[ZC._[9]][0]?-1!==(e=ZC.AV(t.A.AZ.IU,t.o[ZC._[9]][0]))?t.BV=e:(t.A.AZ.IU.push(t.o[ZC._[9]][0]),t.BV=t.A.AZ.IU.length-1):t.BV=parseFloat(t.o[ZC._[9]][0]),"string"==typeof t.o[ZC._[9]][1]?-1!==(e=ZC.AV(t.A.CQ.JP,t.o[ZC._[9]][1]))?t.AC=e:(t.A.CQ.JP.push(t.o[ZC._[9]][1]),t.AC=t.A.CQ.JP.length-1):t.AC=parseFloat(t.o[ZC._[9]][1]),null!==t.BV&&t.A.V9(t.BV,t.L),0<t.A.YO)&&t.o[ZC._[9]].length>t.A.YO)for(var i=t.o[ZC._[9]].length-t.A.YO;i<t.o[ZC._[9]].length;i++)t.DU.push(t.o[ZC._[9]][i])},parse:function(e){var t=this;t.E.plotidx=t.A.L,t.E.nodeidx=t.L,t.K=t.A.K+"-node-"+t.L,(e=null===ZC._n_(e)?!0:e)?(t.o[ZC._[9]]instanceof Array||t.A.A9H?t.AA0():(t.CK=t.o[ZC._[9]],"string"==typeof t.o[ZC._[9]]?-1!==(e=ZC.AV(t.A.CQ.JP,t.o[ZC._[9]]))?t.AC=e:(t.A.CQ.JP.push(t.o[ZC._[9]]),t.AC=t.A.CQ.JP.length-1):t.AC=t.o[ZC._[9]]),null===t.CR&&(t.CR=t.AC)):t.b()},IQ:function(e){return this.K2(e,{})},getFormatValue:function(){return this.AC},K2:function(AN,ET,LS,bUrl){var s=this,H,CK,BC,i,A6,D1,oRE,oPPI=(typeof LS===ZC._[31]&&(LS=!1),s.A.JB),oPS=s.A.A,EZ,PN;if(!bUrl&&"javascript:"===AN.substring(0,11))try{var ED=AN.replace("javascript:","").replace("()","");eval(ED)&&(H=0===s.DU.length?s.AC:[s.AC].concat(s.DU),AN=eval(ED).call(s,H,{nodeindex:s.L,plotindex:s.A.L,plotid:s.A.HA,nodeinfo:s.M2(null,!1),plotinfo:s.A.V6()})||AN)}catch(e){}if(AN+="",s.A.A75)for(EZ in CK=s.getFormatValue(),null!==ZC._n_(s.A.CQ.JP[CK])&&s.A22&&(CK=s.A.CQ.JP[CK]),AN=AN.replace(/%node-numeric-value/g,s.AC).replace(/%node-value/g,CK).replace(/%previous-node-value/g,s.A.S[s.L-1]?s.A.S[s.L-1].AC:null).replace(/%next-node-value/g,s.A.S[s.L+1]?s.A.S[s.L+1].AC:null).replace(/%node-index/g,s.L).replace(/%plot-text/g,s.A.AN).replace(/%plot-index/g,s.A.L).replace(/%plot-count/g,oPS.A4.length).replace(/%p/g,s.A.L).replace(/%P/g,oPS.A4.length).replace(/%v/g,CK).replace(/%V/g,s.AC).replace(/%i/g,s.L).replace(/%n/g,s.L),s.A.K5)PN="",PN=s.A.K5[EZ]instanceof Array?null!==s.A.K5[EZ][s.L]?s.A.K5[EZ][s.L]:"":null!==s.A.K5[EZ]?s.A.K5[EZ]:"",oRE=new RegExp("%data-"+EZ,"g"),AN=AN.replace(oRE,PN);else{var PS="",S1="",RS="",TY="",R=s.C.BM(s.A.BW("k")[0]),X=s.C.BM(s.A.BW("v")[0]),TX=(R&&(null!==s.BV?PS=S1=RS=s.BV:(null!==ZC._n_(R.V[s.L])&&(PS=S1=RS=R.V[s.L]),null!==ZC._n_(R.BY[s.L])&&(RS=S1=R.BY[s.L]))),null!==ZC._n_(H=s.A.AZ.IU[PS])&&"number"==typeof PS&&(PS=H),null!==ZC._n_(H=s.A.AZ.IU[S1])&&"number"==typeof S1&&(S1=H),null!==ZC._n_(H=s.A.AZ.IU[RS])&&"number"==typeof RS&&(RS=H),TY=null!==ZC._n_(s.A.AN)?s.A.AN:"Series "+(s.A.L+1),s.A.LT&&s.A.A.A4[s.L]&&(TY=s.A.A.A4[s.L].AN||"Series "+s.L),(TY+"").split(/\s+/)),A6C=PS,A52=(R&&(BC=R.MU(),ET&&ET[ZC._[68]]&&ZC._cp_({"transform-date":!0,"transform-date-format":ET[ZC._[67]]},BC),BC.utc=s.C.UK,BC.timezone=s.C.NE,RS=S1=ZC.AO.G5(PS,BC,R,!0),null!==s.BV||null===ZC._n_(R.BY[s.BV])&&null===ZC._n_(R.BY[s.L])||(S1=RS=R.BY[s.BV]||R.BY[s.L]),BC[ZC._[68]])&&(RS=ZC.AO.G5(RS,BC,R,!0)),(S1+"").split(/\s+/)),A6O=(RS+"").split(/\s+/),W3=(PS+"").split(/\s+/),CK=s.getFormatValue(),OU=(s.A.CQ&&null!==ZC._n_(s.A.CQ.JP[CK])&&s.A22&&(CK=s.A.CQ.JP[CK]),ZC.PH(CK)&&ZC._f_(CK)<0),BC=s.A.MU();if(ZC._cp_(ET,BC),OU&&"currency"===BC.negation&&(CK=ZC._a_(ZC._f_(CK))),BC.utc=s.C.UK,BC.timezone=s.C.NE,CK=ZC.AO.G5(CK,BC,s.A,!(!X||!X.F7)&&X.F7),"%v"===AN&&"%vv"!==AN||"%node-value"===AN)return CK;if("%t"===AN||"%plot-text"===AN)return TY;var CA=s.CA||[],YT,AAW,WT,oNode_,YP,A69,oPlot_,p,pLen;if(X&&X.NI&&(YT=X.MU(),null===ZC._n_(YT[ZC._[12]])&&(YT[ZC._[12]]=0),AAW=X.CM?X.NI(this.iX,!0,"piano"===s.A.AF):X.NI(this.iY,!0,"piano"===s.A.AF),WT=X.FT(0,AAW,YT),CA.push(["%scale-value-value",WT],["%vv",WT]),null!==ZC._n_(H=X.BY[s.L])?CA.push(["%scale-value-label",H],["%vl",H]):CA.push(["%scale-value-label",WT],["%vl",WT])),X&&(-1!==AN.indexOf("%scale-value-text")||-1!==AN.indexOf("%vt")))for(-1!==(H=ZC.AV(X.V,s.AC))&&null!==ZC._n_(X.BY)&&null!==ZC._n_(X.BY[H])?CA.push(["%scale-value-text",X.BY[H]],["%vt",X.BY[H]]):CA.push(["%scale-value-text",s.AC],["%vt",s.AC]),oRE=-1!==AN.indexOf("%vt(")?new RegExp("(%vt)\\(([0-9]*)\\)"):new RegExp("(%scale-value-text)\\(([0-9]*)\\)");D1=oRE.exec(AN);)YP="",""!==(H=D1[2])&&(A69=ZC._i_(H),null!==ZC._n_(oPlot_=s.A.A.A4[A69]))&&(oNode_=oPlot_.FM(s.L),null!==oNode_)&&(YP=oNode_.K2(D1[1])),AN=AN.replace(D1[0],YP),""!==YP&&CA.push([D1[0],YP]);for(EZ in null!==ZC._n_(s.A.LZ)&&null!==ZC._n_(s.A.LZ[s.L])&&CA.push(["%offset-values",s.A.LZ[s.L]]),s.A.A.A1K&&CA.push(["%stack-top",-1!==ZC.AV(s.A.A.A1K,s.A.L)?1:0]),s.A.K5)PN="",PN=s.A.K5[EZ]instanceof Array?null!==s.A.K5[EZ][s.L]?s.A.K5[EZ][s.L]:"":null!==s.A.K5[EZ]?s.A.K5[EZ]:"","number"==typeof PN&&(PN=ZC.AO.G5(PN,BC,s.A,!(!X||!X.F7)&&X.F7)),CA.push(["%data-"+EZ,PN]);for(i=0;i<A52.length;i++)CA.push(["%scale-key-label-"+i,A52[i]],["%kl"+i,A52[i]]);for(i=0;i<A6O.length;i++)CA.push(["%scale-key-text-"+i,A6O[i]],["%kt"+i,A6O[i]]);for(i=0;i<W3.length;i++)CA.push(["%scale-key-value-"+i,W3[i]],["%kv"+i,W3[i]],["%k"+i,W3[i]]);for(p=0,pLen=oPS.A4.length;p<pLen;p++)null!==ZC._n_(oPS.A4[p].S[s.L])&&(CA.push(["%plot-"+p+"-text",oPS.A4[p].AN||""]),CA.push(["%plot-"+p+"-value",oPS.A4[p].S[s.L].AC]));CA.push(["%scale-key-label",S1],["%scale-key-text",RS],["%scale-key-value",PS],["%scale-key-value-ts",A6C],["%kvts",A6C],["%kt",RS],["%kl",S1],["%kv",PS],["%k",PS],["%node-value",CK],["%v",CK],["%node-numeric-value",s.AC],["%previous-node-value",s.A.S[s.L-1]?s.A.S[s.L-1].AC:null],["%next-node-value",s.A.S[s.L+1]?s.A.S[s.L+1].AC:null],["%V",s.AC],["%node-index",s.L],["%node-x",s.iX],["%node-y",s.iY],["%chart-width",s.G.I],["%chart-height",s.G.F],["%i",s.L],["%n",s.L],["%node-count",s.A.S.length],["%N",s.A.S.length]);for(var ABL=oPPI["%plot-sum"],A3O=ABL+"",ABK=oPPI["%plot-average"],A3P=ABK+"",A8Q=ZC._f_(oPS.F9["%pstack-"+s.L+"-"+s.A.DZ+"-sum"]||"0"),A53=A8Q+"",AB8=ZC._f_(A8Q/oPS.F9["%pstack-"+s.L+"-"+s.A.DZ+"-stack-length"]),A51=String(AB8),A9M=String(oPS.F9["%pstack-"+s.L+"-"+s.A.DZ+"-stack-length"]),A79=0,A3Q=(null!==ZC._n_(oPS.F9)&&null!==ZC._n_(oPS.F9[s.L])&&(A79=ZC._f_(oPS.F9[s.L]["%total-"+s.A.DZ]||"0")),A79+""),A3O=ZC.AO.G5(A3O,BC),A3P=ZC.AO.G5(A3P,BC),A3Q=ZC.AO.G5(A3Q,BC),A53=ZC.AO.G5(A53,BC),A51=ZC.AO.G5(A51,BC),A9Q=(CA.push(["%node-error-plus",s.E["node-error-plus"]],["%node-error-minus",s.E["node-error-minus"]],["%stack-total",A53],["%stack-average",A51],["%stack-length",A9M],["%total",A3Q],["%plot-min-index",oPPI["%plot-min-index"]],["%pmi",oPPI["%plot-min-index"]],["%plot-max-index",oPPI["%plot-max-index"]],["%pxi",oPPI["%plot-max-index"]],["%plot-min-value",oPPI["%plot-min-value"]],["%pmv",oPPI["%plot-min-value"]],["%plot-max-value",oPPI["%plot-max-value"]],["%pxv",oPPI["%plot-max-value"]],["%plot-sum",A3O],["%psum",A3O],["%plot-average",A3P],["%pavg",A3P],["%plot-values",oPPI["%plot-values"]],["%pv",oPPI["%plot-values"]]),100*s.AC/oPPI["%plot-sum"]),YU=A9Q+"",bNpv=(null!==ZC._n_(BC[ZC._[12]])&&(YU=ZC.AO.G5(YU,BC)),CA.push(["%plot-percent",YU],["%pper",YU]),!1),i=0,A6=CA.length,JT,HV,W4,AX,J,BZ,sMColor,sMColor;i<A6;i++)if("%npv"===CA[i][0]){bNpv=!0;break}for(bNpv||null!==ZC._n_(s.A.A.F9)&&null!==ZC._n_(s.A.A.F9[s.L])&&(JT=100*s.AC/s.A.A.F9[s.L]["%total-"+s.A.DZ],HV=JT+"",null!==ZC._n_(BC[ZC._[12]])&&(HV=ZC.AO.G5(HV,BC)),CA.push(["%node-percent-value",HV],["%npv",HV])),i=0;i<TX.length;i++)CA.push(["%plot-text-"+i,TX[i]],["%t"+i,TX[i]]);for(CA.push(["%plot-text",TY],["%t",TY],["%plot-description",s.A.NV],["%plot-index",s.A.L],["%p",s.A.L],["%plot-count",oPS.A4.length],["%P",oPS.A4.length],["%id",s.G.K],["%graphid",s.C.K.replace(s.G.K+"-graph-","")]),-1!==AN.indexOf("%negation")&&(OU&&"currency"===BC.negation?(CA.push(["%negation","-"]),OU=!1):CA.push(["%negation",""])),CA.push(["%node-x",s.iX],["%node-y",s.iY],["%node-width",s.I],["%node-height",s.F],["%node-size",s.E["marker.size"]||1]),zingchart.DEV.SORTTOKENS&&CA.sort(ZC.A1Q),oRE=new RegExp("\\(([^(]+?)\\)\\(([0-9]*)\\)(\\(*)([0-9]*)(\\)*)");D1=oRE.exec(AN);){var W4="",CT=s.A.L,DB=s.L;""!==(H=D1[2])&&(CT=ZC._i_(H)),""!==(H=D1[4])&&(DB=ZC._i_(H)),null!==(J=oPS.A4[CT])&&(AX=J.FM(DB,3),null!==AX)&&(W4=AX.K2(D1[1],ET)),AN=AN.replace(D1[0],W4)}if(-1!==AN.indexOf("%prop-"))for(var oRE=new RegExp("%prop-([a-zA-Z0-9-]+)"),oMap=s.getPMap();D1=oRE.exec(AN);)null!==ZC._n_(oMap[D1[1]])&&null!==ZC._n_(s[oMap[D1[1]]])&&(AN=AN.replace(D1[0],s[oMap[D1[1]]]));if(-1!==AN.indexOf("%linecolor"))for(oRE=new RegExp("%linecolor([0-9]*)");D1=oRE.exec(AN);)""===D1[1]?(BZ=s.O||s,BZ.B9||(BZ=s.A)):BZ=oPS.A4[D1[1]],AN=AN.replace(D1[0],BZ&&BZ.B9||"#000");if(-1!==AN.indexOf("%backgroundcolor"))for(oRE=new RegExp("%backgroundcolor([0-9]*)");D1=oRE.exec(AN);){""===D1[1]?(BZ=s.O||s,BZ.B9||(BZ=s.A)):BZ=oPS.A4[D1[1]],AN="markerbg"===s.A.P7?(sMColor="#000",BZ&&(BZ.A2?sMColor=BZ.A2.A0||"#000":BZ.L9&&(sMColor=BZ.L9.A0||"#000")),AN.replace(D1[0],sMColor)):AN.replace(D1[0],BZ&&BZ.A0||"#000")}if(-1!==AN.indexOf("%color"))for(oRE=new RegExp("%color([0-9]*)");D1=oRE.exec(AN);){""===D1[1]?(BZ=s.O||s,BZ.B9&&"line"!==s.A.P7||(BZ=s.A)):BZ=oPS.A4[D1[1]],AN="line"===s.A.P7?AN.replace(D1[0],BZ&&BZ.B9||"#000"):"markerbg"===s.A.P7?(sMColor="#000",BZ&&(BZ.A2?sMColor=BZ.A2.A0||"#000":BZ.L9&&(sMColor=BZ.L9.A0||"#000")),AN.replace(D1[0],sMColor)):AN.replace(D1[0],BZ&&BZ.A0||"#000")}for(AN=ZC.AO.Z4(AN,this),i=0,A6=CA.length;i<A6;i++)oRE=new RegExp(CA[i][0],"g"),AN=typeof CA[i][1]===ZC._[31]?AN.replace(oRE,""):LS?AN.replace(oRE,encodeURIComponent(CA[i][1])):AN.replace(oRE,CA[i][1]);if(AN=AN.replace(new RegExp("%data-([a-zA-Z0-9]+)","g"),""),OU&&"currency"===BC.negation&&(AN="-"+AN),-1!==AN.indexOf("{{")&&-1!==AN.indexOf("}}"))for(oRE=new RegExp("{{(.+?)}}");D1=oRE.exec(AN);){var sExpr=D1[1],sExpr=sExpr.replace(/[a-zA-Z]/g,""),mEv="";try{mEv=eval(sExpr)}catch(oException){}AN=AN.replace(D1[0],mEv+"")}}return AN},paint:function(){},paint_:function(){},ABE:function(){return{color:this.O.A0}},Y3:function(){return{"border-color":this.O.A0,"background-color":this.O.AE,color:this.O.C2}},A8E:function(){return this.Y3()},H1:function(e,t){var i,n,a,l=this,o=(t=t||1,l.A.AZ);if(!(128<l.A.V.length&&(o.A1-o.W)/(o.DP-o.D4)>l.A.fValueBoxThreshold)&&(l.A.O2&&0<l.A.O2.length&&l.A.O2.length>t-1&&l.H1(e,t+1),l.AP||"pie"===l.A.AF||"pie3d"===l.A.AF)){var r,o=1===t?l.A.U:l.A.O2[t-2];if(o){if(l.A.A77)(r=l.A.A77).K=l.K+"-value-box-"+t,r.Z=r.C8=l.G.usc()?l.G.mc("top"):l.C.AJ["3d"]||l.G.KD?ZC.AL(l.C.K+"-plots-vb-c"):ZC.AL(l.C.K+"-plot-"+l.A.L+"-vb-c"),r.IP=l.G.usc()?ZC.AL(l.C.A.K+"-top"):ZC.AL(l.C.A.K+"-text"),r.E.plotidx=l.A.L,r.E.nodeidx=l.L,a=ZC.AO.OA(r.o,l.A.o),r.K2=function(e){return l.K2(e,a)},r.parse();else{r=new ZC.DQ(l.A),o.o.rules||l.A.U.HZ||(n="all",null!==ZC._n_(i=o.o.type)&&(n=i),"pie"===l.C.AF)||"nestedpie"===l.C.AF||"pie3d"===l.C.AF||"all"!==n||l.A.O2&&0!==l.A.O2.length||(l.A.A77=r),r.append(o.o),l.appendToValueBox&&!e&&(r.parse(),r.append(l.appendToValueBox(r))),r.GN=l.C.K+"-value-box "+l.C.K+"-plot-"+l.A.L+"-value-box zc-value-box",r.K=l.K+"-value-box-"+t,r.Z=r.C8=l.G.usc()?l.G.mc("top"):l.C.AJ["3d"]||l.G.KD?ZC.AL(l.C.K+"-plots-vb-c"):ZC.AL(l.C.K+"-plot-"+l.A.L+"-vb-c"),r.IP=l.G.usc()?ZC.AL(l.C.A.K+"-top"):ZC.AL(l.C.A.K+"-text"),a=ZC.AO.OA(r.o,l.A.o),r.K2=function(e){return l.K2(e,a)};var t=l.ABE(r);if(null!==ZC._n_(i=t.color)&&(r.C2=i),null!==ZC._n_(i=t[ZC._[0]])&&(r.A0=r.AE=i),r.E.plotidx=l.A.L,r.E.nodeidx=l.L,l.A.U.HZ&&(l.A.U.H8(l.A.U,r,null,l.M2(null,!1)),r.parse()),r.parse(),r.IQ=function(e){return l.IQ(e)},r.DG()&&(a=r.overrideFormat(a),r.parse()),l.A.YN||((t=new ZC.DQ(l.A)).copy(r),l.A.YN=t),n="all",null!==ZC._n_(i=o.o.type)&&(n=i),r.AP){r.AP=!1;var C=l.A.o[ZC._[17]].text||"";if("values("===n.substring(0,7)){t=n.substring(7,n.length).replace(")","").split(",");-1!==ZC.AV(t,l.AC)&&(r.AP=!0)}else{var s,A=n.split(","),Z={min:"%plot-min-value",max:"%plot-max-value",first:"%plot-min-index",last:"%plot-max-index"};for(s in Z)-1===ZC.AV(A,s)||("first"!==s&&"last"!==s||l.L!==l.A.JB[Z[s]])&&("min"!==s&&"max"!==s||l.AC!==l.A.JB[Z[s]])||("object"==typeof C&&null!==ZC._n_(C[s])&&(r.o.text=C[s],r.parse()),r.AP=!0);-1!==ZC.AV(A,"all")&&(r.AP=!0)}}}if(l.C.E["plot"+l.A.L+".visible"]||(r.E["css-display"]="none"),!e&&r.AP&&null!==ZC._n_(r.AN)&&""!==r.AN){var c=l.AC6(r),h=(r.E.positioninfo=c,r.iX=c[0],r.iY=c[1],{});if(-1!==r.iX&&-1!==r.iY){var p=!1;if(null!==ZC._n_(r.o.overlap)&&!ZC._b_(r.o.overlap))for(var h={x:r.iX,y:r.iY,width:r.I,height:r.F},u=0,_=l.A.A.W5.length;u<_;u++)if(ZC.AQ.VD(h,l.A.A.W5[u])){if(p=!0,2<c.length)for(var d=2;d<c.length;d+=2)if(r.iX=c[d],r.iY=c[d+1],h={x:r.iX,y:r.iY,width:r.I,height:r.F},!ZC.AQ.VD(h,l.A.A.W5[u])){p=!1;break}break}p||(l.C.E["plot"+l.A.L+".visible"]||(r.E["css-display"]="none"),r.E.lbltype="vb"+l.C.L,r.paint(),r.EO(),l.A.A.W5.push(h),!r.KD&&ZC.AL(l.G.K+"-map")&&l.A.A.H3.push(ZC.AO.OB(l.C.G.K,l.C.K,r)))}}return r}}},setupValueBoxWH:function(e){var t;return null!==ZC._n_(e.o[ZC._[19]])&&((t=ZC.IO(e.o[ZC._[19]]))<=1&&(t=this.I*t),e.I=t),null!==ZC._n_(e.o[ZC._[20]])&&((t=ZC.IO(e.o[ZC._[20]]))<=1&&(t=this.I*t),e.F=t),e},AC6:function(e){var t,i=this,n=i.C.BM(i.A.BW("v")[0]),a=i.AC>=n.LG&&!n.AW||i.AC<n.LG&&n.AW?-1:1,n="auto",l=("auto"===(n=null!==ZC._n_(s=e.o[ZC._[7]])?s:n)&&(s=(null!==ZC._n_(i.A.S[i.L-1])?i.A.S[i.L-1]:i).AC,t=(null!==ZC._n_(i.A.S[i.L+1])?i.A.S[i.L+1]:i).AC,s>=i.AC&&i.AC<=t?n="bottom":s<=i.AC&&i.AC>=t?n="top":s>=i.AC&&i.AC>=t?n=s/i.AC>i.AC/t?"bottom":"top":s<=i.AC&&i.AC<=t&&(n=i.AC/s>t/i.AC?"top":"bottom")),e.I),o=e.F,r=i.iX-l/2,C=i.iY-o/2;switch(n){case"top":C-=a*(o/2+4);break;case"bottom":C+=a*(o/2+4);break;case"left":r-=l/2+4;break;case"right":r+=l/2+4}i.C.AJ["3d"]||(r=ZC.BR(i.C.P.iX-l/2,r),r=ZC.CY(i.C.P.iX+i.C.P.I-l/2,r),C=ZC.BR(i.C.P.iY-o,C),C=ZC.CY(i.C.P.iY+i.C.P.F,C)),null!==ZC._n_(e.o.x)&&(r=e.iX),null!==ZC._n_(e.o.y)&&(C=e.iY);var s=[ZC._i_(r),ZC._i_(C)];return ZC._b_(e.o.flexible)&&(s.push(ZC._i_(i.iX-l/2),ZC._i_(i.iY-o/2-a*(o/2+5))),s.push(ZC._i_(i.iX-l/2),ZC._i_(i.iY-o/2+a*(o/2+5))),s.push(ZC._i_(i.iX-l/2-l/2-5),ZC._i_(i.iY-o/2)),s.push(ZC._i_(i.iX-l/2+l/2+5),ZC._i_(i.iY-o/2)),s.push(ZC._i_(i.iX-l/2),ZC._i_(i.iY-o/2-a*(o/2+10))),s.push(ZC._i_(i.iX-l/2),ZC._i_(i.iY-o/2+a*(o/2+10))),s.push(ZC._i_(i.iX-l/2-l/2-10),ZC._i_(i.iY-o/2)),s.push(ZC._i_(i.iX-l/2+l/2+10),ZC._i_(i.iY-o/2))),s},PK:function(o,e){var r,C=this;if(typeof C.A.bBS===ZC._[31]&&(C.A.bBS=-1===ZC.AV(["bubble","hbubble","scatter","hscatter"],C.A.AF)),null!==ZC._n_(C.A.o["markers-on-top"])&&(C.A.bBS=ZC._b_(C.A.o["markers-on-top"])),!C.C.OG||!C.A.bBS){null===ZC._n_(o)&&(o=!1),null===ZC._n_(e)&&(e=!1);var t=C.C.P.E.tolerance||2,i=!0;if(ZC.DS(C.iX,C.C.P.iX-t,C.C.P.iX+C.C.P.I+t)&&ZC.DS(C.iY,C.C.P.iY-t,C.C.P.iY+C.C.P.F+t)||(i=!1,0!==zingchart.DEV.TRACKERMASKING)){var s=C.C.K+ZC._[34]+C.C.K+ZC._[35]+C.A.L+ZC._[6];if(-1===ZC.AV(C.G.KQ,ZC._[39])&&C.A.FV){if(C.A.XZ&&!zingchart.DEV.SKIPTRACKERS){var n=C.getNodeData("points");if(-1!==ZC.AV(C.G.KQ,ZC._[42])&&-1!==ZC.AV(["line","area"],C.A.AF)&&typeof n===ZC._[31]&&C.paint(!0),n)if(typeof C.E.polypoints===ZC._[31]){if(2===zingchart.DEV.TRACKERMASKING){for(var a=[C.C.P.iX,C.C.P.iY,C.C.P.iX+C.C.P.I,C.C.P.iY+C.C.P.F],l=[[a[0],a[1],a[2],a[1]],[a[0],a[3],a[2],a[3]],[a[0],a[1],a[0],a[3]],[a[2],a[1],a[2],a[3]]],A=[],Z=0;Z<n.length-1;Z++)A.push([[n[Z][0],n[Z][1]],[n[Z+1][0],n[Z+1][1]]]);for(var c=[],Z=0;Z<A.length;Z++){var h=A[Z],p=h[0],u=h[1],_=ZC.AQ._outside_(p,a),d=ZC.AQ._outside_(u,a),f=[];if(_||d){for(var g=0;g<l.length;g++){var B=l[g],B=ZC.AQ._intersect_(p,u,[B[0],B[1]],[B[2],B[3]]);B&&(f.push(B),_&&!d&&B.join(",")!==u.join(",")?(h[0]=B,c.push(h)):!_&&d&&B.join(",")!==p.join(",")&&(h[1]=B,c.push(h)))}_&&d&&0!==f.length&&2===f.length&&(Math.abs(ZC.AQ._angle_(p,u)-ZC.AQ._angle_(f[0],f[1]))<.01?(h[0]=f[0],h[1]=f[1]):(h[0]=f[1],h[1]=f[0]),c.push(h))}else c.push(h)}for(var b=[],Z=0;Z<c.length;Z++)2===c[Z].length&&b.push(c[Z][0],c[Z][1])}else b=n;K=ZC.AQ.PJ(ZC.AQ.Z1(b,ZC.BR(6,C.A.B1/2)),4)}else K=ZC.AQ.PJ(n,4);""!==K&&typeof K!==ZC._[31]&&C.A.A.H3.push(ZC.Q.FP("poly",C.A.E9,C.O.IE)+'class="'+s+'" id="'+C.K+ZC._[30]+K+'" />')}"area"!==C.A.AF&&"area3d"!==C.A.AF&&("radar"!==C.A.AF||"area"!==C.A.CW&&"range"!==C.A.CW)||!C.A.XE||(t=C.getNodeData("pointsarea"),""!==(K=ZC.AQ.PJ(t,4))&&C.A.A.H3.push(ZC.Q.FP("poly",C.A.E9,C.A.IE)+'class="'+s+'" id="'+C.K+'--area" coords="'+K+'" />'))}if(i&&(C.A.U||!C.A.GX||!C.A.A2.o||"none"!==C.A.A2.o.type&&(null===ZC._n_(C.A.A2.o.visible)||ZC._b_(C.A.A2.o.visible))))if(e||C.A.R8){if(C.A.HH?(r=C.A.HH,"svg"!==C.G.AB&&(o?(F=new ZC.CE(C.C,C.iX-ZC.AM.E1,C.iY-ZC.AM.E2,C.A.E["z-start"]||0),r.iX=ZC._x_(F.EC[0]),r.iY=ZC._x_(F.EC[1]),C.E["3dxy"]=[r.iX,r.iY]):(r.iX=ZC._x_(C.iX),r.iY=ZC._x_(C.iY)),r.E.plotidx=C.A.L,r.E.nodeidx=C.L,r.K=C.K+"-marker",r.parse(!0))):(C.GX?C.A._oMarker?r=C.A._oMarker:C.A._oMarker=r=new ZC.DT(C.A):r=new ZC.DT(C.A),r.K=C.K+"-marker",r.E["p-width"]=C.A.AZ.AD,r.E["p-height"]=C.A.CQ.AD,C.A.bBS?(r.Z=C.A.CS("fl",0),r.C8=C.A.CS("fl",0)):(r.Z=C.A.CS("bl",1),r.C8=C.A.CS("bl",0),Object&&Object.keys&&0<Object.keys(C.C.CF).length&&(t=C.C.CF["p"+C.A.L],"none"!==C.A.J4)&&t&&t["n"+C.L]&&(r.Z=C.A.CS("bl",2))),o?(F=new ZC.CE(C.C,C.iX-ZC.AM.E1,C.iY-ZC.AM.E2,C.A.E["z-start"]||0),r.iX=ZC._x_(F.EC[0]),r.iY=ZC._x_(F.EC[1]),C.E["3dxy"]=[r.iX,r.iY]):(r.iX=ZC._x_(C.iX),r.iY=ZC._x_(C.iY)),r.B9=C.A.BP[3],r.BX=C.A.BP[4],r.A0=C.A.BP[2],"bubble"===C.A.AF||"hbubble"===C.A.AF?r.AE=C.A.BP[1]:r.AE=C.A.BP[2],r.append(C.A.A2.o),null!==ZC._n_(C.E["marker.size"])&&(r.AI=C.E["marker.size"]),r.E.plotidx=C.A.L,r.E.nodeidx=C.L,"none"!==C.A.J4&&(C.C.IY[C.A.L]||C.C.KL)&&(C.C.CF["p"+C.A.L]&&C.C.CF["p"+C.A.L]["n"+C.L]?(r.LR={},C.A.PR&&ZC._cp_(C.A.PR.o,r.LR),r.LR.rules&&((K=new ZC.DT(C.A)).o=r.LR,K.parse(),K.IQ=function(e){return C.IQ(e)},K.DG())&&(r.LR=K.o)):"none"!==C.A.O8&&("plot"===C.A.O8&&C.C.IY[C.A.L]||"graph"===C.A.O8&&C.C.KL)&&(r.LR=C.A.PQ?C.A.PQ.o:{})),null!==ZC._n_(i=C.A.o.marker)&&null!==ZC._n_(i.styles)&&null!==ZC._n_(e=i.styles[C.L])&&("string"==typeof e?r.append({"background-color":ZC.AO.PP(e,20),"line-color":ZC.AO.JR(e,20),"border-color":ZC.AO.JR(e,20)}):r.append(e)),r.parse(),r.IQ=function(e){return C.IQ(e)},r.DG()&&r.parse()),C.E["marker.size"]=ZC.BR(2.02,C.E["marker.size"]||r.AI),r.DF=s,o||ZC.DS(r.iX,C.C.P.iX-2,C.C.P.iX+C.C.P.I+2)&&ZC.DS(r.iY,C.C.P.iY-2,C.C.P.iY+C.C.P.F+2))if(r.HZ&&(C.A.YM=!1,r.H8(r,r,null,C.M2(null,!1)),r.parse()),(C.L9=r).AP&&"none"!==r.AF){var E=function(){var e,t,i,n,a,l,o;C.A.bBS||C.N9(ZC.Q.EE(C.A.CS("bl",0),C.G.AB)),C.E["marker.type"]=r.DH,C.A.FV&&-1===ZC.AV(C.G.KQ,ZC._[40])&&!zingchart.DEV.SKIPTRACKERS&&(e=C.E["3dxy"]?C.E["3dxy"][0]:C.iX,t=C.E["3dxy"]?C.E["3dxy"][1]:C.iY,e=parseInt(e+r.BK+ZC.MAPTX,10),t=parseInt(t+r.BJ+ZC.MAPTX,10),i=parseInt(ZC.BR(ZC.mobile?6:3,C.E["marker.size"]+1)*(ZC.mobile?1.25:1.05),10),l=!0,typeof C.A.aLastMarkerXY!==ZC._[31]?Math.sqrt((e-C.A.aLastMarkerXY[0])*(e-C.A.aLastMarkerXY[0])+(t-C.A.aLastMarkerXY[1])*(t-C.A.aLastMarkerXY[1]))<zingchart.DEV.MINTRACKERDIFF&&(l=!1):C.A.aLastMarkerXY=[e,t],l)&&(C.A.aLastMarkerXY=[e,t],-1!==ZC.AV(["pie","square","rect","rectangle"],r.DH)?C.A.A.H3.push(ZC.Q.FP("poly",C.A.E9,C.A.IE)+'class="'+s+'" id="'+C.K+"--marker"+ZC._[30]+r.F1()+'" />'):C.A.A.H3.push(ZC.Q.FP("circle",C.A.E9,C.A.IE)+'class="'+s+'" '+C.a11y()+' id="'+C.K+"--marker"+ZC._[30]+e+","+t+","+i+'" />')),C.A.U&&(C.A.E.vboxid=C.K,C.H1()),C.A.bBS||C.C.B7&&C.C.B7.I3&&C.A.QU&&C.C.B7.AP&&(l=C.C.P,t=(e=C.C.B7).AT,i=C.A.HH||r,(n=new ZC.DT(C.A)).copy(i),o=(C.iX-l.iX)/l.I,a=(C.iY-l.iY)/l.F,l=Math.min(t.F/l.F,t.I/l.I),n.iX=t.iX+t.AU+o*(t.I-2*t.AU),n.iY=t.iY+t.AU+a*(t.F-2*t.AU),n.K=C.K+"-marker-preview",n.DF=C.A.K+"-preview",o=i.AI,null!==ZC._n_(C.E["marker.size"])&&(o=C.E["marker.size"]),n.AI=ZC.BR(2.02,.9*l*o),n.Z=n.C8=e.Z,n.parse(),n.paint())},t=!1;if(C.A.bBS&&("radar"!==C.A.AF||"dots"!==C.A.CW)||(t=!0),C.A.GG&&t&&!C.C.HM){var m,D=r,v={},F=r.C5,K=r.AI,i=r.iX,e=r.iY,t=(D.iX=i,D.iY=e,v.x=i,v.y=e,C.A.LE),I=C.C.P;for(m in D.C5=0,v.alpha=F,3===t?(D.AI=2,v.size=K):8===t?(D.iX=i-I.iX,v.x=i):9===t?(D.iX=i+I.iX,v.x=i):10===t?(D.iY=e-I.iY,v.y=e):11===t&&(D.iY=e+I.iY,v.y=e),C.A.FY)D[ZC.E8.GO[ZC.EH(m)]]=C.A.FY[m],v[ZC.EH(m)]=C.O[ZC.E8.GO[ZC.EH(m)]];if(null===ZC._n_(C.C.EQ)&&(C.C.EQ={}),null!==ZC._n_(C.C.EQ[C.A.L+"-"+C.L]))for(m in C.C.EQ[C.A.L+"-"+C.L])D[ZC.E8.GO[ZC.EH(m)]]=C.C.EQ[C.A.L+"-"+C.L][m];C.C.EQ[C.A.L+"-"+C.L]={},ZC._cp_(v,C.C.EQ[C.A.L+"-"+C.L]);F=new ZC.E8(D,v,C.A.JH,C.A.LC,ZC.E8.RN[C.A.LF],function(){E()});F.AX=C,F.OI=function(){C.N9(ZC.Q.EE(C.A.CS("bl",0),C.G.AB))},C.LU(F)}else{var x="circle"===r.DH?"circle":"path";if(C.A.HN){K=function(e,t){var i,n=e.cloneNode(!1),a=C.iX,l=C.iY;o&&(i=new ZC.CE(C.C,a-ZC.AM.E1,l-ZC.AM.E2,C.A.E["z-start"]||0),a=ZC._x_(i.EC[0]),l=ZC._x_(i.EC[1]),C.E["3dxy"]=[a,l]),n.setAttribute("transform","translate("+ZC._i_(a-r.iX)+","+ZC._i_(l-r.iY)+") "+(n.getAttribute("transform")||"")),n.setAttribute("id",t),"bubble"!==C.A.AF&&"hbubble"!==C.A.AF||n.setAttribute("r",C.E["marker.size"]),e.parentNode.appendChild(n)};r.ME&&K(C.A.RE,C.K+"-marker-sh-"+x),K(C.A.HN,C.K+"-marker-"+x),r.DC&&K(C.A.QF,C.K+"-marker-imgfill")}else{r.paint();i=r.A0!==r.AE;if(!C.C.IY[C.A.L]&&C.A.YM&&!i)if("svg"===C.G.AB){if(-1===ZC.AV(["pie","square","rect","rectangle","cross","plus","custom"],r.DH))if(C.A.HH=r,zingchart.DEV.DOMFRAGMENTS&&document.querySelector){for(var y in C.G.G4)C.A.HN||(C.A.HN=C.G.G4[y].querySelector("#"+C.K+"-marker-"+x)),r.ME&&!C.A.RE&&(C.A.RE=C.G.G4[y].querySelector("#"+C.K+"-marker-sh-"+x)),r.DC&&!C.A.QF&&(C.A.QF=C.G.G4[y].querySelector("#"+C.K+"-marker-imgfill")||C.G.G4[y].querySelector("#"+C.K+"-marker-path-imgfill"));C.A.HN||(C.A.HN=ZC.AL(C.K+"-marker-"+x),r.ME&&(C.A.RE=ZC.AL(C.K+"-marker-sh-"+x)),r.DC&&(C.A.QF=ZC.AL(C.K+"-marker-imgfill")))}else C.A.HN=ZC.AL(C.K+"-marker-"+x),r.ME&&(C.A.RE=ZC.AL(C.K+"-marker-sh-"+x)),r.DC&&(C.A.QF=ZC.AL(C.K+"-marker-imgfill")||ZC.AL(C.K+"-marker-path-imgfill"))}else"bubble"===C.A.AF||"hbubble"===C.A.AF||o||(C.A.HH=r)}"svg"===C.G.AB&&C.A.applyJsRuleSvg(C.A.A2,C.K+"-marker-"+x,C.M2()),E()}}else C.A.U&&C.H1()}else C.A.U&&C.H1()}}},LU:function(e,t){var i,n,a=this.C.LX,l=a.PM,o=this.A.TO;switch(o){default:t&&a.add(t),a.add(e);break;case 1:case 2:case 3:t&&(n="all",1===o?n="plots-group-"+this.L+"-area":2===o&&(n="nodes-group-"+this.A.L+"-area"),null===ZC._n_(l[n])&&(i=new ZC.VP(n),a.AA7(i,t.XC)),l[n].add(t)),i="all",1===o?i="plots-group-"+this.L:2===o&&(i="nodes-group-"+this.A.L),null===ZC._n_(l[i])&&(n=new ZC.VP(i),a.AA7(n,e.XC)),l[i].add(e)}},U3:function(e){var t=this,i=(t.A.GX&&t.A.bXY&&(t.R2(),!e||"scatter"!==t.A.AF&&"hscatter"!==t.A.AF&&"bubble"!==t.A.AF&&"hbubble"!==t.A.AF||t.paint(!0)),t.A.BP);t.MC({layer:e,type:"shape",id:"marker",marker:!0,initcb:function(){this.DH=t.E["marker.type"],this.iX=t.iX,this.iY=t.iY,"bubble"===t.A.AF||"hbubble"===t.A.AF?(this.AE=i[3],this.A0=i[2]):(this.A0=i[2],this.AE=i[1]),this.B9=i[3],this.BX=i[4],this.AI=t.E["marker.size"]}})},A1W:function(e){var t=this;t.MC({layer:e,type:"line",id:"line",initcb:function(){this.B9=t.A.BP[3]}})},MC:function(e){if(!ZC.move){var t,i,n,a,l,o,r=this,C=e.layer||"hover",s=e.id||"",A=!1;switch((r.GL=null)!==ZC._n_(t=e.marker)&&(A=ZC._b_(t)),C){case"hover":null!==ZC._n_(r.C.CF["p"+r.A.L])&&null!==ZC._n_(r.C.CF["p"+r.A.L]["n"+r.L])||(n=A?r.A.GB:r.A.IK,a="hover");break;case"highlight":n=A?r.A.V4:r.A.SA,a="hover"}if((n=null!==ZC._n_(e.state)?e.state:n)&&r.C.E["plot"+r.A.L+".visible"]&&n.AP){switch(e.type){case"box":(o=new ZC.HU(r.A)).PZ=!0;break;case"line":o=new ZC.DT(r.A),l=ZC.Q.EE(r.C.K+"-"+a+"-c",r.G.AB),o.D0=!1;break;case"shape":o=new ZC.DT(r.A);break;case"area":o=new ZC.DT(r.A),l=ZC.Q.EE(r.C.K+"-"+a+"-c",r.G.AB)}if(A&&(o.E["p-width"]=r.A.AZ.AD,o.E["p-height"]=r.A.CQ.AD),zingchart.DEV.PLOTSHLAYER&&"hover"===a?o.Z=o.C8=ZC.AL(r.C.K+"-plots-hover-c"):o.Z=o.C8=ZC.AL(r.C.K+"-"+a+"-c"),o.K=r.K+"-"+(""!==s?s+"-":"")+C,o.E.plotidx=r.A.L,o.E.nodeidx=r.L,"hover"!==C&&(o.A1Z=!0),e.initcb&&e.initcb.call(o),o.append(n.o),e.parsecb&&e.parsecb.call(o),"hover"===C&&null!==ZC._n_(t=r.A.o)&&null!==ZC._n_(t.styles)&&null!==ZC._n_(i=t.styles[r.L])&&("string"==typeof i?o.append({"background-color":i,"line-color":i,"border-color":i}):o.append(i)),null!==ZC._n_(t=r.A.o[C+"-state"])&&null!==ZC._n_(t.styles)&&null!==ZC._n_(i=t.styles[r.L])&&("string"==typeof i?o.append({"background-color":i,"line-color":i,"border-color":i}):o.append(i)),r.A.HZ&&r.H8(o,C),"hover"===C&&r.A.A2&&r.A.A2.HZ&&(r.A.A2.H8(r.A.A2,o,null,r.M2(null,!1)),o.parse()),o.parse(),o.IQ=function(e){return r.IQ(e)},o.DG()&&o.parse(),o.AP){switch(e.setupcb&&e.setupcb.call(o),e.type){case"box":case"shape":o.locate(2),o.paint();break;case"line":ZC.CO.setup(l,o),"plot"===r.A.A3J?ZC.CO.paint(l,o,r.A.V3):ZC.CO.paint(l,o,r.getNodeData("points"));break;case"area":"spline"!==r.A.CW&&(null!==ZC._n_(t=n.o["alpha-area"])&&(o.C5=ZC._f_(t)),ZC.CO.setup(l,o),o.paint())}r.GL=o}}}},N9:function(){},setup:function(){},A15:function(){},LN:function(){ZC.Q.EW([this.K+"-hover-gradient",this.K+"-marker-hover-gradient",this.G.K+"-tooltip-text-gradient",this.G.K+"-tooltip-text-sh-gradient"])},M2:function(e,t){var i,n=this,a=(typeof t===ZC._[31]&&(t=!0),!1),l=("none"!==n.A.J4&&n.C.CF&&n.C.CF["p"+n.A.L]&&n.C.CF["p"+n.A.L]["n"+n.L]&&(a=!0),{id:n.C.A.K,graphid:n.C.K,graphindex:n.C.L,plotid:n.A.HA,plotindex:n.A.L,nodeindex:n.L,key:null===n.BV?n.L:n.BV,scaleval:n.A.AZ?n.A.AZ.V[null===n.BV?n.L:n.BV]:null,scaletext:n.A.AZ?n.A.AZ.FT(n.L,null===n.BV?null:n.A):null,value:n.AC,text:t?n.K2(n.A.JA):n.A.JA,ev:e?ZC.A3.C1(e):null,x:n.iX,y:n.iY,width:n.I,height:n.F,size:n.E["marker.size"]||1,selected:a});for(i in n.A.K5)n.A.K5[i]instanceof Array?null!==ZC._n_(n.A.K5[i][n.L])&&(l["data-"+i]=n.A.K5[i][n.L]):l["data-"+i]=n.A.K5[i];return l},X6:function(e,t){ZC.AO.C0("node_"+t,this.G,this.M2(e))}}),F4=(ZC.LM=ZC.DQ.CD(LM),ZC.A30=ZC.LM.CD({setup:function(){this.R2()},ABE:function(){return{color:(this.A.GX?this.A:this.O).B9}},Y3:function(){return{"background-color":this.O.B9,"border-color":this.O.B9,color:this.O.C2}},getTooltipPosition:function(e,t){return this.b(e,t,this.L9.AI)},paint:function(e){var t=this,i=(typeof e===ZC._[31]&&(e=!1),t.b(),t.A.NG),n=t.A.OD,a=t.A.AZ,l=t.A.S;if(t.setup(),!t.A.GX||t.C.AJ["3d"]||t.A.FV){t.O.D0=t.D0=!1,t.O.C8=t.A.CS("bl",0);var o,r,C,s=[],A=t.A.CW,Z=((t.C.OG||t.A.U8)&&"spline"===t.A.CW&&(A="segmented"),typeof t.A.GC!==ZC._[31]?t.A.GC:t.A.Y),c=typeof t.A.HK!==ZC._[31]?t.A.HK:t.A.Y,h=!0,p=!0,u=((null===ZC._n_(l[t.L-Z])||"log"!==a.BS&&!a.EI&&t.L<=a.W)&&(h=!1),t.A.LT?t.A.S.length:a.A1);switch((null===ZC._n_(l[t.L+c])||"log"!==a.BS&&!a.EI&&t.L>=u)&&(p=!1),A){default:h&&(t.A.FM(t.L-Z,0).setup(),t.A.UX)&&(o=ZC.AQ.K1(t.A.S[t.L-Z].iX,t.A.S[t.L-Z].iY,t.A.S[t.L].iX,t.A.S[t.L].iY),s.push(o)),s.push([t.iX,t.iY]),p&&(t.A.FM(t.L+c,2).setup(),o=t.A.UX?ZC.AQ.K1(t.A.S[t.L].iX,t.A.S[t.L].iY,t.A.S[t.L+c].iX,t.A.S[t.L+c].iY,t.O.C5):[l[t.L+c].iX,l[t.L+c].iY],s.push(o));break;case"spline":if(t.A.D&&(s=t.A.D),t.A.D=[],l[t.L+1]){for(var _=[],d=[],f=-1;f<3;f++)l[t.L+f]?(t.A.FM(t.L+f,2).setup(),i?(_.push(l[t.L+f].iX),d.push(l[t.L+f].iY)):(_.push(l[t.L+f].iY),d.push(l[t.L+f].iX))):0===_.length?i?(d.push(t.iY),_.push(t.iX)):(d.push(t.iX),_.push(t.iY)):(_.push(_[_.length-1]),d.push(d[d.length-1]));var g=ZC._a_(d[2]-d[1]),g=Math.min(g,Math.max(t.C.I,t.C.F)),B=ZC.AQ.YC(t.A.QI,_,g);if(t.A.UX){for(f=0;f<ZC._i_(B.length/2)+(1===t.O.C5?1:0);f++)B[f]&&(i?s.push([B[f][1],t.iY+(a.AW?1:-1)*B[f][0]*g]):s.push([t.iX+(a.AW?-1:1)*B[f][0]*g,B[f][1]]));for(f=ZC._i_(B.length/2)-1,r=B.length;f<r;f++)B[f]&&(i?t.A.D.push([B[f][1],t.iY+(a.AW?1:-1)*B[f][0]*g]):t.A.D.push([t.iX+(a.AW?-1:1)*B[f][0]*g,B[f][1]]))}else for(f=0;f<ZC._i_(B.length);f++)i?s.push([B[f][1],t.iY+(a.AW?1:-1)*B[f][0]*g]):s.push([t.iX+(a.AW?-1:1)*B[f][0]*g,B[f][1]])}break;case"stepped":if(h)switch(t.A.FM(t.L-Z,0).setup(),o=ZC.AQ.K1(t.A.S[t.L-Z].iX,t.A.S[t.L-Z].iY,t.A.S[t.L].iX,t.A.S[t.L].iY),t.A.SR){default:i?s.push([l[t.L-Z].iX,o[1]],[t.iX,o[1]]):s.push([o[0],l[t.L-Z].iY],[o[0],t.iY]);break;case"before":s.push([t.A.S[t.L-Z].iX,l[t.L-Z].iY],[t.A.S[t.L-Z].iX,t.iY]);break;case"after":}if(s.push([t.iX,t.iY]),p)switch(t.A.FM(t.L+c,0).setup(),o=ZC.AQ.K1(t.A.S[t.L+Z].iX,t.A.S[t.L+Z].iY,t.A.S[t.L].iX,t.A.S[t.L].iY),t.A.SR){default:s.push(i?[t.iX,o[1]]:[o[0],t.iY]);break;case"before":break;case"after":s.push([t.A.S[t.L+Z].iX,t.iY],[t.A.S[t.L+Z].iX,l[t.L+c].iY])}break;case"jumped":h?(t.A.FM(t.L-Z,0).setup(),o=ZC.AQ.K1(t.A.S[t.L-Z].iX,t.A.S[t.L-Z].iY,t.A.S[t.L].iX,t.A.S[t.L].iY),s.push(i?[t.iX,o[1]]:[o[0],t.iY])):s.push(i?[t.iX,t.iY-a.AD/2]:[t.iX-a.AD/2,t.iY]),s.push([t.iX,t.iY]),p?(t.A.FM(t.L+c,0).setup(),o=ZC.AQ.K1(t.A.S[t.L+Z].iX,t.A.S[t.L+Z].iY,t.A.S[t.L].iX,t.A.S[t.L].iY),s.push(i?[t.iX,o[1]]:[o[0],t.iY])):s.push(i?[t.iX,t.iY+a.AD/2]:[t.iX+a.AD/2,t.iY])}if(t.setNodeData({points:s}),"ready"!==t.C.M7&&(t.A.V3=t.A.V3.concat(s)),!e&&!t.C.AJ["3d"]){var b=t.O=t.A.IJ(t,t.O),u=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6];if(b.DF=u,b.K=t.K,t.A.HZ&&t.H8(b),ZC.CO.setup(n,b),t.paintPreview(b,s),t.A.GG&&!t.C.HM){var E=new ZC.DT(t),m={},D=(E.copy(b),E.K=t.K,E.Z=t.A.CS("bl",1),E.C8=t.A.CS("bl",0),E.D=s,m.points=s,[]),v=t.A.LE,F=t.C.P;for(E.C5=0,m.alpha=b.C5,f=0;f<s.length;f++)2===v?D[f]=[s[f][0],F.iY+F.F/2]:3===v?D[f]=[s[f][0],F.iY-5]:4===v?D[f]=[s[f][0],F.iY+F.F+5]:5===v?D[f]=[F.iX-5,s[f][1]]:6===v?D[f]=[F.iX+F.I+5,s[f][1]]:7===v?D[f]=[F.iX+F.I/2,s[f][1]]:8===v?D[f]=[s[f][0]-F.I,s[f][1]]:9===v?D[f]=[s[f][0]+F.I,s[f][1]]:10===v?D[f]=[s[f][0],s[f][1]-F.F]:11===v?D[f]=[s[f][0],s[f][1]+F.F]:12===v?D[f]=[(s[0][0]+s[s.length-1][0])/2,s[0][1]]:13===v&&(D[f]=[s[0][0],(s[0][1]+s[s.length-1][1])/2]),1<v&&(E.D=D,m.points=s);for(C in t.A.FY)E[ZC.E8.GO[ZC.EH(C)]]=t.A.FY[C],m[ZC.EH(C)]=b[ZC.E8.GO[ZC.EH(C)]];if(t.C.EQ||(t.C.EQ={}),null!==ZC._n_(t.C.EQ[t.A.L+"-"+t.L]))for(C in t.C.EQ[t.A.L+"-"+t.L])E[ZC.E8.GO[ZC.EH(C)]]=t.C.EQ[t.A.L+"-"+t.L][C];t.C.EQ[t.A.L+"-"+t.L]={},ZC._cp_(m,t.C.EQ[t.A.L+"-"+t.L]);A=new ZC.E8(E,m,t.A.JH,t.A.LC,ZC.E8.RN[t.A.LF],function(){K()});A.AX=t,A.OI=function(){t.N9(ZC.Q.EE(t.A.CS("bl",1),t.G.AB))},A.HX=n,t.LU(A)}else ZC.CO.paint(n,b,s),K()}}function K(){!t.C.OG&&ZC.DS(t.iX,a.iX-1,a.iX+a.I+1)&&ZC.DS(t.iY,a.iY-1,a.iY+a.F+1)&&(t.PK(),t.N9(ZC.Q.EE(t.A.CS("bl",1),t.G.AB)),t.A.U)&&t.A.U.AP&&t.A.E.vboxid!==t.K&&t.H1()}},paintPreview:function(e,t){var i,n=this;n.C.B7&&n.C.B7.I3&&n.A.QU&&(t=n.A.mapPointsToPreview(t),n.A.VY?i=n.A.VY:(i=new ZC.CZ(n),n.A.VY=i),i.copy(e),i.K=n.K+"-line-preview",i.DF=n.A.K+"-preview",e=ZC.Q.EE(n.C.B7.Z,n.G.AB),i.B1=1,(n=n.o["preview-state"])&&(i.append(n),i.parse()),ZC.CO.paint(e,i,t,null,3))},A15:function(e){ZC.move||(this.A1W(e),this.A.R8&&this.U3(e))}}),ZC.A31=ZC.LM.CD({setup:function(){this.R2()},ABE:function(){return{color:(this.A.GX?this.A:this.O).B9}},Y3:function(){return{"background-color":this.O.B9,"border-color":this.O.B9,color:this.O.C2}},getTooltipPosition:function(e,t){return this.b(e,t,this.L9.AI)},paint:function(e){var t,i,n,a,l,o=this,r=(typeof e===ZC._[31]&&(e=!1),o.b(),o.A.NG),w=o.A.OD,C=o.A.AZ,s=o.A.CQ,A=o.A.S;if(o.setup(),!o.A.GX||o.C.AJ["3d"]||o.A.FV){o.O.D0=o.D0=!1,o.O.C8=o.A.CS("bl",1);var Z,c,h=s.HC,p=s.AR(h),p=r?ZC._l_(p,s.iX,s.iY+s.I):ZC._l_(p,s.iY,s.iY+s.F),u=C.DE?C.AD/2:0,_=[],d=[],f=[],g=null,h=(null!==ZC._n_(o.A.A.F3)&&null!==ZC._n_(o.A.A.F3[o.L])&&(g=o.A.A.F3[o.L]),o.A.CW),B=((o.C.OG||o.A.U8)&&"spline"===o.A.CW&&(h="segmented"),t=o.O.B1/2-1,i="svg"===o.G.AB&&ZC.mobile?o.O.HS/4:0,"vml"===o.G.AB&&o.A.GG&&(i=.5),o.C.AJ["3d"]&&(1===o.A.HS?i=1:(i=o.A.HS/3,"canvas"===o.G.AB&&(ZC.A3.browser.msie||ZC.A3.browser.opera)&&(i=.5)),C.AW)&&(i=-i),typeof o.A.GC!==ZC._[31]?o.A.GC:o.A.Y),b=typeof o.A.HK!==ZC._[31]?o.A.HK:o.A.Y,S=!0,P=!0,s=((!A[o.L-B]||"log"!==C.BS&&!C.EI&&o.L<=C.W)&&(S=!1),o.A.LT?o.A.S.length:C.A1);switch((!A[o.L+b]||"log"!==C.BS&&!C.EI&&o.L>=s)&&(P=!1),h){default:S?(o.A.FM(o.L-B,0).setup(),o.A.UX?(n=ZC.AQ.K1(A[o.L-B].iX,A[o.L-B].iY,A[o.L].iX,A[o.L].iY),f.push([ZC._i_(n[0])-i,n[1]-t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(n[0])-i,p]),d.push([ZC._i_(n[0])-i,n[1]+t]),_.push([n[0],n[1]])):d.push([ZC._i_(o.iX),p])):C.EI||o.L!==C.W?o.A.CG&&null!==ZC._n_(g)?(Z=o.A.A.A4[o.A.L-1])&&Z.S[o.L]&&d.push([ZC._i_(o.iX),Z.S[o.L].iY+t]):(d.push([ZC._i_(o.iX),p]),f.push([ZC._i_(o.iX-C.AD/2),p]),f.push([ZC._i_(o.iX),p])):C.AW?(o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(C.iX+C.I-C.BU-u),p]),d.push([ZC._i_(C.iX+C.I-C.BU-u),o.iY+t])):(c=ZC._i_(C.iX+C.A9+u),o.A.LT&&(c=C.II(o.A.R9)-C.AD/2),o.A.CG&&null!==ZC._n_(g)||d.push([c,p]),d.push([c,o.iY+t])),f.push([ZC._i_(o.iX),o.iY-t]),d.push([ZC._i_(o.iX),o.iY+t]),_.push([o.iX,o.iY]),P?(o.A.FM(o.L+b,2).setup(),c=o.A.UX?ZC.AQ.K1(A[o.L].iX,A[o.L].iY,A[o.L+b].iX,A[o.L+b].iY):[A[o.L+b].iX,A[o.L+b].iY],f.push([ZC._i_(c[0]),c[1]-t]),d.push([ZC._i_(c[0]),c[1]+t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(c[0]),p]),n=o.A.UX?ZC.AQ.K1(A[o.L].iX,A[o.L].iY,A[o.L+b].iX,A[o.L+b].iY,o.O.C5):[A[o.L+b].iX,A[o.L+b].iY],_.push([n[0],n[1]])):o.L===C.A1?C.AW?(d.push([C.iX+C.A9-u,o.iY+t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(C.iX+C.A9-u),p])):(d.push([C.iX+C.I-C.BU-u,o.iY+t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(C.iX+C.I-C.BU-u),p])):o.A.CG&&null!==ZC._n_(g)?(Z=o.A.A.A4[o.A.L-1])&&Z.S[o.L]&&d.push([ZC._i_(o.iX),Z.S[o.L].iY+t]):(d.push([ZC._i_(o.iX),p]),f.push([ZC._i_(o.iX),p]),f.push([ZC._i_(o.iX+C.AD/2),p]));break;case"spline":if(null!==ZC._n_(o.A.D9)&&(f=o.A.D9),null!==ZC._n_(o.A.AH)&&(d=o.A.AH),o.A.D9=[],o.A.AH=[],null!==ZC._n_(o.A.D)&&(_=o.A.D),o.A.D=[],A[o.L+1]){for(var E=[],m=[],D=-1;D<3;D++)A[o.L+D]?(o.A.FM(o.L+D,2).setup(),r?(E.push(A[o.L+D].iX),m.push(A[o.L+D].iY)):(E.push(A[o.L+D].iY),m.push(A[o.L+D].iX))):0===E.length?r?(m.push(o.iY),E.push(o.iX)):(m.push(o.iX),E.push(o.iY)):(E.push(E[E.length-1]),m.push(m[m.length-1]));var v=ZC._a_(m[2]-m[1]),v=Math.min(v,Math.max(o.C.I,o.C.F)),F=ZC.AQ.YC(o.A.QI,E,v);if(o.A.UX){for(0!==d.length||o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(o.iX+(C.AW?-1:1)*F[0][0]*v),p]),D=0;D<ZC._i_(F.length/2)+(1===o.O.C5?1:0);D++)F[D]&&(r?_.push([F[D][1],o.iY+(C.AW?1:-1)*F[D][0]*v]):_.push([o.iX+(C.AW?-1:1)*F[D][0]*v,F[D][1]]));for(D=0;D<ZC._i_(F.length/2)+(1===o.O.HS?1:0);D++)f.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),F[D][1]-t]),d.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),F[D][1]]);for(o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(d[d.length-1][0]),p]),l=1===o.HS?ZC.CY(2,ZC._i_(F.length/2)):1,D=ZC._i_(F.length/2)-1,a=F.length;D<a;D++)F[D]&&(r?o.A.D.push([F[D][1],o.iY+(C.AW?1:-1)*F[D][0]*v]):o.A.D.push([o.iX+(C.AW?-1:1)*F[D][0]*v,F[D][1]]));for(D=ZC._i_(F.length/2)-l,a=F.length;D<a;D++)0!==o.A.AH.length||o.A.CG&&null!==ZC._n_(g)||o.A.AH.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),p]),o.A.AH.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),F[D][1]]),o.A.D9.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),F[D][1]-t])}else{for(0!==d.length||o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(o.iX+(C.AW?-1:1)*F[0][0]*v),p]),D=0;D<F.length;D++)r?_.push([F[D][1],o.iY+(C.AW?1:-1)*F[D][0]*v]):_.push([o.iX+(C.AW?-1:1)*F[D][0]*v,F[D][1]]);for(D=0;D<F.length;D++)f.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),F[D][1]-t]),d.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),F[D][1]]);for(o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(d[d.length-1][0]),p]),l=1===o.HS?ZC.CY(2,ZC._i_(F.length/2)):1,D=F.length,a=F.length;D<a;D++)r?o.A.D.push([F[D][1],o.iY+(C.AW?1:-1)*F[D][0]*v]):o.A.D.push([o.iX+(C.AW?-1:1)*F[D][0]*v,F[D][1]]);for(D=F.length-l,a=F.length;D<a;D++)0!==o.A.AH.length||o.A.CG&&null!==ZC._n_(g)||o.A.AH.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),p]),o.A.AH.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),F[D][1]]),o.A.D9.push([ZC._i_(o.iX+(C.AW?-1:1)*F[D][0]*v),F[D][1]-t])}}else 0<d.length&&d.push([d[d.length-1][0],p]);break;case"stepped":if(S)switch(o.A.FM(o.L-B,0).setup(),n=ZC.AQ.K1(A[o.L-B].iX,A[o.L-B].iY,A[o.L].iX,A[o.L].iY),o.A.SR){default:f.push([ZC._i_(n[0])-i,o.iY-t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(n[0])-i,p]),d.push([ZC._i_(n[0])-i,o.iY+t]),_.push(r?[A[o.L-B].iX,n[1]]:[n[0],A[o.L-B].iY]),_.push(r?[o.iX,n[1]]:[n[0],o.iY]);break;case"before":f.push([ZC._i_(A[o.L-B].iX)-i,o.iY-t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(A[o.L-B].iX)-i,p]),d.push([ZC._i_(A[o.L-B].iX)-i,o.iY+t]),_.push([A[o.L-B].iX,A[o.L-B].iY]),_.push([A[o.L-B].iX,o.iY]);break;case"after":f.push([ZC._i_(o.iX)-i,o.iY-t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(o.iX)-i,p]),d.push([ZC._i_(o.iX)-i,o.iY+t])}else C.EI||o.L!==C.W?o.A.CG&&null!==ZC._n_(g)?(Z=o.A.A.A4[o.A.L-1])&&Z.S[o.L]&&d.push([ZC._i_(o.iX),Z.S[o.L].iY+t]):(d.push([ZC._i_(o.iX),p]),f.push([ZC._i_(o.iX-C.AD/2),p]),f.push([ZC._i_(o.iX),p])):C.AW?(o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(C.iX+C.I-C.BU-u),p]),d.push([ZC._i_(C.iX+C.I-C.BU-u),o.iY+t])):(o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(C.iX+C.A9+u),p]),d.push([ZC._i_(C.iX+C.A9+u),o.iY+t]));if(f.push([ZC._i_(o.iX),o.iY-t]),d.push([ZC._i_(o.iX),o.iY+t]),_.push([o.iX,o.iY]),P)switch(o.A.FM(o.L+b,2).setup(),n=ZC.AQ.K1(A[o.L].iX,A[o.L].iY,A[o.L+b].iX,A[o.L+b].iY,o.O.C5),o.A.SR){default:f.push([ZC._i_(n[0]),o.iY-t]),d.push([ZC._i_(n[0]),o.iY+t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(n[0]),p]),_.push(r?[o.iX,n[1]]:[n[0],o.iY]);break;case"before":f.push([ZC._i_(o.iX),o.iY-t]),d.push([ZC._i_(o.iX),o.iY+t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(o.iX),p]);break;case"after":f.push([ZC._i_(A[o.L+b].iX),o.iY-t]),d.push([ZC._i_(A[o.L+b].iX),o.iY+t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(A[o.L+b].iX),p]),_.push([A[o.L+b].iX,o.iY]),_.push([A[o.L+b].iX,A[o.L+b].iY])}else o.L===C.A1?C.AW?(d.push([C.iX+C.A9-u,o.iY+t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(C.iX+C.A9-u),p])):(d.push([C.iX+C.I-C.BU-u,o.iY+t]),o.A.CG&&null!==ZC._n_(g)||d.push([ZC._i_(C.iX+C.I-C.BU-u),p])):o.A.CG&&null!==ZC._n_(g)?(Z=o.A.A.A4[o.A.L-1])&&Z.S[o.L]&&d.push([ZC._i_(o.iX),Z.S[o.L].iY+t]):(d.push([ZC._i_(o.iX),p]),f.push([ZC._i_(o.iX),p]),f.push([ZC._i_(o.iX+C.AD/2),p]))}if(o.A.CG&&null!==ZC._n_(g))for(D=g.length-1;0<=D;D--)d.push(g[D]);if(o.setNodeData({points:_,pointsarea:d}),"ready"!==o.C.M7&&(o.A.V3=o.A.V3.concat(_)),null===ZC._n_(o.A.A.F3)&&(o.A.A.F3=[]),o.A.A.F3[o.L]=f,!e&&!o.C.AJ["3d"]){var K,I=o.O=o.A.IJ(o,o.O),s=o.C.K+ZC._[34]+o.C.K+ZC._[35]+o.A.L+ZC._[6],h=(I.DF=s,I.K=o.K,o.A.HZ&&o.H8(I),o.C.P);if(0!==o.A.E6.length||o.A.HZ||typeof o.A.A9J===ZC._[31]||o.O.o.override||o.C.KL?((K=new ZC.DT(o.A)).copy(I),K.C5=o.A.HS):K=o.A.A9J,o.H8(K),K.C5=ZC._f_(K.o["alpha-area"]||"1"),K.D0=!1,K.LB=!0,K.B1=0,K.AU=0,K.EU=0,K.G3=0,K.Z=o.A.CS("bl",o.C.CG?0:1),K.D=d,K.D2=[h.iX,h.iY,h.iX+h.I,h.iY+h.F],null!==ZC._n_(e=o.A.E["min-y"])&&(K.E["bound-1"]=e,K.D2[1]=e),null!==ZC._n_(e=o.A.E["max-y"])&&(K.E["bound-3"]=e,K.D2[3]=e),K.K=o.K+"-area",o.A.GG||(K.E.areanode=!0),ZC.CO.setup(w,I),o.paintPreview(I,_,d),o.A.GG&&!o.C.HM){var x,y=new ZC.DT(o),Y={},L=(y.copy(I),y.K=o.K,y.Z=o.A.CS("bl",2),y.C8=o.A.CS("bl",1),y.D=_,K),G={},O=[],N=[],X=(y.D=_,Y.points=_,L.D=d,G.points=d,o.A.LE),M=o.C.P,s=(y.C5=0,Y.alpha=I.C5,L.C5=0,G.alpha=o.A.HS,function(e){for(var t=e?d:_,i=e?N:O,n=0;n<t.length;n++)2===X?i[n]=[t[n][0],M.iY+o.C.P.F/2]:3===X?i[n]=[t[n][0],M.iY-5]:4===X?i[n]=[t[n][0],M.iY+M.F+5]:5===X?i[n]=[M.iX-5,t[n][1]]:6===X?i[n]=[M.iX+M.I+5,t[n][1]]:7===X?i[n]=[M.iX+M.I/2,t[n][1]]:8===X?i[n]=[t[n][0]-M.I,t[n][1]]:9===X?i[n]=[t[n][0]+M.I,t[n][1]]:10===X?i[n]=[t[n][0],t[n][1]-M.F]:11===X?i[n]=[t[n][0],t[n][1]+M.F]:12===X?i[n]=[(t[0][0]+t[t.length-1][0])/2,t[0][1]]:13===X&&(i[n]=[t[0][0],(t[0][1]+t[t.length-1][1])/2]),1<X&&(e?(L.D=N,G.points=d):(y.D=O,Y.points=_))});for(x in s(),s(!0),o.A.FY)y[ZC.E8.GO[ZC.EH(x)]]=o.A.FY[x],Y[ZC.EH(x)]=I[ZC.E8.GO[ZC.EH(x)]],L[ZC.E8.GO[ZC.EH(x)]]=o.A.FY[x],G[ZC.EH(x)]=I[ZC.E8.GO[ZC.EH(x)]];if(null===ZC._n_(o.C.EQ)&&(o.C.EQ={}),null===ZC._n_(o.C.SX)&&(o.C.SX={}),null!==ZC._n_(o.C.EQ[o.A.L+"-"+o.L])){for(x in o.C.EQ[o.A.L+"-"+o.L])y[ZC.E8.GO[ZC.EH(x)]]=o.C.EQ[o.A.L+"-"+o.L][x];for(x in o.C.SX[o.A.L+"-"+o.L])L[ZC.E8.GO[ZC.EH(x)]]=o.C.SX[o.A.L+"-"+o.L][x]}o.C.EQ[o.A.L+"-"+o.L]={},ZC._cp_(Y,o.C.EQ[o.A.L+"-"+o.L]),o.C.SX[o.A.L+"-"+o.L]={},ZC._cp_(G,o.C.SX[o.A.L+"-"+o.L]);h=new ZC.E8(y,Y,o.A.JH,o.A.LC,ZC.E8.RN[o.A.LF],function(){Q()}),e=(h.AX=o,h.OI=function(){o.N9(ZC.Q.EE(o.A.CS("bl",1),o.G.AB))},h.HX=w,new ZC.E8(L,G,o.A.JH,o.A.LC,ZC.E8.RN[o.A.LF],function(){}));(e.AX=o).LU(h,e)}else K.paint(),0!==o.A.E6.length||typeof o.A.A9J!==ZC._[31]||o.O.o.override||o.C.KL||o.C.HM||(o.A.A9J=K),ZC.CO.paint(w,I,_),Q()}}function Q(){!o.C.OG&&ZC.DS(o.iX,C.iX-1,C.iX+C.I+1)&&ZC.DS(o.iY,C.iY-1,C.iY+C.F+1)&&(o.PK(),o.N9(ZC.Q.EE(o.A.CS("bl",1),o.G.AB)),o.A.U)&&o.A.U.AP&&o.A.E.vboxid!==o.K&&o.H1()}},paintPreview:function(e,t,i){var n,a,l,o,r,C=this;C.C.B7&&C.C.B7.I3&&C.A.QU&&(l=C.C.P,n=C.C.B7,i=C.A.mapPointsToPreview(i),(a=new ZC.DT(C.A)).copy(e),a.D0=!0,a.LB=!0,a.B1=0,a.AU=0,a.EU=0,a.G3=0,a.C5=C.A.HS,a.D2=[l.iX,l.iY,l.iX+l.I,l.iY+l.F],a.K=C.K+"-area-preview",a.DF=C.A.K+"-preview",a.Z=n.Z,(l=C.A.o["preview-state"])&&(null!==ZC._n_(l["alpha-area"])?(r=l.alpha,l.alpha=l["alpha-area"]):l.alpha=a.C5,a.append(l),a.parse(),null!==ZC._n_(r)?l.alpha=r:delete l.alpha),a.D=i,a.paint(),r=C.A.mapPointsToPreview(t),C.A.VY?o=C.A.VY:(o=new ZC.CZ(C),C.A.VY=o),o.copy(e),o.K=C.K+"-line-preview",o.DF=C.A.K+"-preview",i=ZC.Q.EE(n.Z,C.G.AB),o.B1=1,l&&(o.append(l),o.parse()),ZC.CO.paint(i,o,r,null,3))},A15:function(e){var t=this;ZC.move||(t.A.NG||t.MC({layer:e,type:"area",initcb:function(){this.A0=t.A.BP[2],this.AE=t.A.BP[2],this.D=t.getNodeData("pointsarea")||[]},setupcb:function(){this.B1=0,this.AU=0,this.C5=t.A.HS;var e=t.C.P;this.D2=[e.iX,e.iY,e.iX+e.I,e.iY+e.F]}}),t.A1W(e),t.A.R8&&t.U3(e))}}),ZC.ZL=ZC.LM.CD({setup:function(){this.R2()},V7:function(){this.paint(!0);var e=this.C.BM(this.A.BW("v")[0]);return[this.iX+this.I/2,this.iY+(e.AW?this.F:0),{reference:this,center:!0}]},AC6:function(e){var t=this,i="top-out",n=t.C.BM(t.A.BW("v")[0]),a=t.AC>=n.HC&&!n.AW||t.AC<n.HC&&n.AW?1:-1,n=(e=t.setupValueBoxWH(e),null!==ZC._n_(e.o[ZC._[7]])&&(i=e.o[ZC._[7]]),e.I),l=e.F,o=t.iX+t.I/2-n/2,r=t.iYVal-l/2,C=e.AA%180==90,s=C?n/2:l/2,C=C?n/2-l/2:0;switch(i){case"top-out":case"top":r-=a*(5+s);break;case"top-in":r+=a*(5+s);break;case"middle":r+=a*(t.F/2);break;case"bottom-in":r+=a*(t.F-s-5);break;case"bottom-out":case"bottom":r+=a*(t.F+l/2+5)}if(null!==ZC._n_(e.o.x)||null!==ZC._n_(e.o.y))null!==ZC._n_(e.o.x)&&(o=e.iX),null!==ZC._n_(e.o.y)&&(r=e.iY);else{i=ZC._c_(t.A.o.tolerance,5);if(!ZC.AQ._boxoverlap2_(t,t.C.P,i))return[-1,-1]}i=e.o.tolerance||[t.C.P.EB,t.C.P.EA,t.C.P.DW,t.C.P.E0];return t.C.AJ["3d"]||(o=ZC.BR(t.C.P.iX+0-i[3],o),o=ZC.CY(t.C.P.iX+t.C.P.I-n+i[1],o),(r=r-C<t.C.P.iY+5-i[0]?t.C.P.iY+5-i[0]+C:r)+C>t.C.P.iY+t.C.P.F-l-5+i[2]&&(r=t.C.P.iY+t.C.P.F-l-5+i[2]-C)),[ZC._i_(o),ZC._i_(r)]},getPMap:function(){var e=this.b();return this.addPMap(e,"barWidth","I"),e},paint:function(e){var t,i=this;if(i.b(),!i.C.AJ["3d"]){typeof e===ZC._[31]&&(e=!1);var n,a,l,o=i.A.AZ,r=i.A.CQ,C=(i.setup(),r.HC),C=r.AR(C),s=i.A.SU(),A=s.AD,Z=s.EV,c=s.CH,h=s.CU,p=s.F5,u=s.D5,_=s.F0;if(e?Z=i.A.E["node-"+i.L+"-bar-index"]:i.A.E["node-"+i.L+"-bar-index"]=s.EV,i.A.CG)for(var d=0,f=i.A.A.KH[Z],g=0;g<f.length;g++){var B=i.A.A.A4[f[g]].S[i.L];B&&(d+=B.AC)}var b,E=1,m=1,D=(i.A.CG&&(i.CR!==i.AC&&(E=(d-i.CR+i.AC)/d),m=(d-i.CR)/d),r.AW&&(s=E,E=m,m=s),i.A.LT&&(Z=i.L),i.iX-A/2+c+Z*(u+p)-Z*_),D=ZC._l_(D,i.iX-A/2+c,i.iX+A/2-h),v=(0<i.A.D5&&(s=u,(u=i.A.D5)<=1&&(u*=s),D+=(s-u)/2),u),F=i.iY,p=null!==ZC._n_(i.A.LZ[i.L])?i.A.LZ[i.L]:0;if(F=i.A.CG&&"100%"===i.A.KT?r.AR(100*(i.CR+p)/i.A.A.F9[i.L]["%total-"+i.A.DZ]):r.AR(i.CR+p),i.A.CG?(b="100%"===i.A.KT?r.AR(100*(i.CR-i.AC+p)/i.A.A.F9[i.L]["%total-"+i.A.DZ]):r.AR(i.CR-i.AC+p),F=ZC._i_(F),b=ZC._i_(b),Z=!r.AW&&0<=i.AC||r.AW&&i.AC<=0?-1:1,c=_=0,""!==i.A.Q1?(_=i.WY(i.A.Q1)[0],c=0):_=i.A.AU,""!==i.A.NQ?(c=i.WY(i.A.NQ)[0],_=0):c=i.A.AU,n=F-b+(Z=_!==c?0:Z)*_,i.AC<0&&(F=b),r.AW?0<n&&(n=ZC._a_(n),F=b):n<0&&(n=ZC._a_(n),F=b-n),r.AW&&i.AC<0&&(n+=c)):(b=r.AR(p),F=(n=F-b)<0?b-(n=ZC._a_(n)):b),i.A.TT&&i.A.CG&&0<i.A.L&&i.A.A.A4[i.A.L-1].S[i.L]&&0===i.A.A.A4[i.A.L-1].S[i.L].AC&&(--n,F+=r.AW?1:-1),n<2&&(0<i.AC||i.A.TT)&&(n=1,r.AW?i.A.CG&&(0<i.A.L&&--F,0===i.A.L||0<i.AC&&i.AC===i.CR)&&(F+=1):i.A.CG?(0===i.A.L||0<i.AC&&i.AC===i.CR)&&(F-=2):F=p?b-1:C-2),i.I=v,i.F=n,i.iX=D,i.iY=F,r.AW?i.AC>=r.HC?i.iYVal=F+i.F:i.iYVal=F:i.AC>=r.HC?i.iYVal=F:i.iYVal=F+i.F,i.C.CX&&(A="middle",i.C.CX.o.marker&&null!==ZC._n_(t=i.C.CX.o.marker.alignment)&&(A=t),"node"===(A=null!==ZC._n_(i.A.o["guide-marker"])&&null!==ZC._n_(t=i.A.o["guide-marker"].alignment)?t:A))&&(i.E.A5O=i.iX+i.I/2),!e){i.setNodeData({x:D,y:F,w:v,h:n});var K,I,h=!0;if("none"!==i.A.J4||i.C.IY[i.A.L]||i.C.KL||i.A.T4&&i.A.T4[i.L]?(K=i.O=i.A.IJ(i,i.O),h=!1):K=i.O,(0!==i.A.E6.length||i.A.HZ||i.O.o.override||i.C.KL)&&(h=!1),i.AP){switch(i.A.CW){default:0!==i.A.E6.length||i.A.HZ||typeof i.A.TR===ZC._[31]||i.O.o.override||i.C.KL?(I=new ZC.HU(i.A)).copy(K):I=i.A.TR,i.A.HZ&&(i.H8(I),I.parse()),I.FF=i.A.FF,I.K=i.K,I.iX=D,I.iY=F,I.I=i.I,I.F=i.F,o.AD<5&&I.I<5?(I.I=ZC.BR(1,I.I)+1,I.N2=!1,I.D0=!1):I.N2=!0,I.I<5&&o.A1!==o.W&&i.C.P.I/(o.A1-o.W)<1&&(I.QW=!0);break;case"pyramid":case"cone":0!==i.A.E6.length||i.A.HZ||typeof i.A.TR===ZC._[31]||i.O.o.override||i.C.KL?(I=new ZC.DT(i.A)).copy(K):I=i.A.TR,i.A.HZ&&(i.H8(I),I.parse()),I.K=i.K,a=r.AW&&!i.A.CG?(l=0<=i.AC?0:i.F,0<=i.AC?i.F:0):(l=0<=i.AC?i.F:0,0<=i.AC?0:i.F),I.D=[],I.D.push([D+i.I/2-E*i.I/2,F+l],[D+i.I/2+E*i.I/2,F+l]),i.A.CG&&0!==m?I.D.push([D+i.I/2+m*i.I/2,F+a],[D+i.I/2-m*i.I/2,F+a]):I.D.push([D+i.I/2,F+a]),I.D.push([I.D[0][0],I.D[0][1]]),i.setNodeData({points:I.D}),I.iX=D,I.iY=F,I.locate(2)}I.Z=i.A.CS("bl",1),I.C8=i.A.CS("bl",0),i.paintPreview(K,h);var x=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],y=(I.DF=x,ZC._c_(i.A.o.tolerance,5)),Y=function(){var e,t;typeof i.paint_!==ZC._[31]&&i.paint_(),i.N9(ZC.Q.EE(I.Z,i.G.AB)),ZC.AQ._boxoverlap2_(i,i.C.P,y)&&i.A.FV&&-1===ZC.AV(i.G.KQ,ZC._[39])&&(t=v<5?.5:-.5,e=n<3?.5:-.5,t=ZC.Q.FP("rect",i.A.E9,I.IE)+'class="'+x+'" '+i.a11y()+' id="'+i.K+ZC._[30]+ZC._i_(D+i.A.BK+ZC.MAPTX-t)+","+ZC._i_(F+i.A.BJ+ZC.MAPTX-e)+","+ZC._i_(D+i.A.BK+v+ZC.MAPTX+t)+","+ZC._i_(F+i.A.BJ+n+ZC.MAPTX+e)+'" />',i.A.A.H3.push(t)),i.A.U&&i.A.U.AP&&i.H1()};if(i.A.GG&&!i.C.HM){var L,G=I,X={},s=(G.iX=D,G.iY=F,G.I=v,G.F=n,X.x=D,X.y=F,X.width=v,X.height=n,i.A.LE),u=i.C.P;for(L in G.C5=0,X.alpha=K.C5,2===s?(G.iY=u.iY+u.F/2,G.F=1,X.height=i.F,X.y=F):3===s?(G.iY=u.iY,G.F=1,X.height=i.F,X.y=F):4===s?(G.iY=u.iY+u.F,G.F=1,X.height=i.F,X.y=F):5===s?(G.iX=u.iX,G.I=1,X.width=i.I,X.x=D):6===s?(G.iX=u.iX+u.I,G.I=1,X.width=i.I,X.x=D):7===s?(G.iX=u.iX+u.I/2,G.I=1,X.width=i.I,X.x=D):8===s?(G.iX=D-u.I,X.x=D):9===s?(G.iX=D+u.I,X.x=D):10===s?(G.iY=F-u.F,X.y=F):11===s?(G.iY=F+u.F,X.y=F):12===s?(G.I=1,X.width=i.I):13===s&&(G.F=1,X.height=i.F),i.A.FY)G[ZC.E8.GO[ZC.EH(L)]]=i.A.FY[L],X[ZC.EH(L)]=K[ZC.E8.GO[ZC.EH(L)]];if(null===ZC._n_(i.C.EQ)&&(i.C.EQ={}),null!==ZC._n_(i.C.EQ[i.A.L+"-"+i.L]))for(L in i.C.EQ[i.A.L+"-"+i.L])G[ZC.E8.GO[ZC.EH(L)]]=i.C.EQ[i.A.L+"-"+i.L][L];i.C.EQ[i.A.L+"-"+i.L]={},ZC._cp_(X,i.C.EQ[i.A.L+"-"+i.L]),ZC.AQ._boxoverlap2_(i,i.C.P,y)&&((Z=new ZC.E8(G,X,i.A.JH,i.A.LC,ZC.E8.RN[i.A.LF],function(){Y()})).AX=i,Z.OI=function(){i.N9(ZC.Q.EE(I.Z,i.G.AB))},i.LU(Z))}else(I.AP||0===i.A.E6.length&&!i.A.HZ)&&(i.A.W2||(i.A.W2={iX:I.iX,iY:I.iY,F:I.F}),i.A.A2L?i.A.SF?i.A.SF.el&&"RECT"===i.A.SF.el.tagName.toUpperCase()?(_=!1,(_=i.A.N6&&i.A.W2&&ZC._a_(I.iX-i.A.W2.iX)<.75&&ZC._a_(I.iY-i.A.W2.iY)<1.5&&ZC._a_(I.F-i.A.W2.F)<1.5?!0:_)||(i.A.W2={iX:I.iX,iY:I.iY,F:I.F},(c=i.A.SF.el.cloneNode(!1)).setAttribute("id",i.K),c.setAttribute("x",i.iX),c.setAttribute("y",i.iY),c.setAttribute(ZC._[20],i.F),(i.A.SF.df?i.G.G4[I.Z.id]:i.A.SF.el.parentNode).appendChild(c))):I.paint():(I.paint(),i.A.SF={id:I.K+"-path"},zingchart.DEV.DOMFRAGMENTS&&document.querySelector&&i.G.G4&&i.G.G4[I.Z.id]?(i.A.SF.df=!0,i.A.SF.el=i.G.G4[I.Z.id].querySelector("#"+I.K+"-path")):(i.A.SF.df=!1,i.A.SF.el=ZC.AL(i.A.SF.id))):ZC.AQ._boxoverlap2_(i,i.C.P,y)&&I.paint()),I.AP&&Y();"svg"===i.G.AB&&i.A.applyJsRuleSvg(i.A,i.K+"-path",i.M2()),0!==i.A.E6.length||i.A.HZ||typeof i.A.TR!==ZC._[31]||i.O.o.override||i.C.KL||i.A.GG||(i.A.TR=I)}}}},paintPreview:function(e,t){var i,n,a,l,o,r,C,s=this;s.C.B7&&s.C.B7.I3&&s.A.QU&&(a=s.C.P,o=(l=s.C.B7).AT,r=(s.iX-a.iX)/a.I,C=(s.iY-a.iY)/a.F,s.A.VZ?i=s.A.VZ:(i=new ZC.HU(s.A),(s.A.VZ=i).copy(e),(n=s.A.o["preview-state"])&&(i.append(n),i.parse())),!t&&(i.copy(e),n=s.A.o["preview-state"])&&(i.append(n),i.parse()),i.K=s.K+"-preview",i.DF=s.A.K+"-preview",i.iX=o.iX+o.AU+r*(o.I-2*o.AU),i.iY=o.iY+o.AU+C*(o.F-2*o.AU),i.I=s.I/a.I*(o.I-2*o.AU),i.F=s.F/a.F*(o.F-2*o.AU),o.I/s.A.S.length<10?(i.I=i.I+.5,i.N2=!1,i.D0=!1):(i.N2=!0,i.D0=!0),i.Z=i.C8=l.Z,i.paint())},A15:function(e){var t,i=this;e=e||"hover",ZC.move||(t="",t="pyramid"!==i.A.CW?"box":"shape",i.MC({layer:e,type:t,initcb:function(){this.A0=i.A.BP[3],this.B9=i.A.BP[1],this.BX=i.A.BP[1],this.AE=i.A.BP[2]},setupcb:function(){switch(i.A.CW){default:this.iX=i.getNodeData("x"),this.iY=i.getNodeData("y"),this.I=i.getNodeData("w"),this.F=i.getNodeData("h");var e=i.C.P;this.iY<e.iY&&(this.F=this.F-(e.iY-this.iY),this.iY=e.iY),this.iY+this.F>e.iY+e.F&&(this.F=e.iY+e.F-this.iY);break;case"pyramid":case"cone":this.D=i.getNodeData("points")}}}),i.N9(ZC.Q.EE(i.C.K+ZC._[22],i.G.AB),!0),i.A.RR=null)}}),ZC.ZM=ZC.LM.CD({setup:function(){this.R2()},V7:function(){this.paint(!0);var e=this.C.BM(this.A.BW("v")[0]);return[this.iX+(e.AW?0:this.I),this.iY+this.F/2,{reference:this,center:!0}]},AC6:function(e){var t=this,i="top-out",n=t.C.BM(t.A.BW("v")[0]),a=t.AC>=n.HC&&!n.AW||t.AC<n.HC&&n.AW?-1:1,n=(null!==ZC._n_(e.o[ZC._[7]])&&(i=e.o[ZC._[7]]),e.I),l=e.F,o=t.iXVal-n/2,r=t.iY+t.F/2-l/2,C=e.AA%180==90?l/2:n/2;switch(i){case"top-out":case"top":o-=a*(5+C);break;case"top-in":o+=a*(5+C);break;case"middle":o+=a*(t.I/2);break;case"bottom-in":o+=a*(t.I-C-5);break;case"bottom-out":case"bottom":o+=a*(t.I+C+5)}if(null!==ZC._n_(e.o.x)||null!==ZC._n_(e.o.y))null!==ZC._n_(e.o.x)&&(o=e.iX),null!==ZC._n_(e.o.y)&&(r=e.iY);else{i=ZC._c_(t.A.o.tolerance,5);if(!ZC.AQ._boxoverlap2_(t,t.C.P,i))return[-1,-1]}i=e.o.tolerance||[t.C.P.EB,t.C.P.EA,t.C.P.DW,t.C.P.E0];return t.C.AJ["3d"]||(o=ZC.BR(t.C.P.iX+5-i[3],o),o=ZC.CY(t.C.P.iX+t.C.P.I-n-5+i[1],o),r=ZC.BR(t.C.P.iY+0-i[0],r),r=ZC.CY(t.C.P.iY+t.C.P.F-l/2+i[2],r)),[ZC._i_(o),ZC._i_(r)]},paint:function(e){var i=this;if(i.b(),!i.C.AJ["3d"]){typeof e===ZC._[31]&&(e=!1);var n,t,a,l=i.A.AZ,o=i.A.CQ,r=(i.setup(),i.A.SU()),C=r.AD,s=r.EV,A=r.CH,Z=r.CU,c=r.F5,h=r.D5,p=r.F0;if(e?s=i.A.E["node-"+i.L+"-bar-index"]:i.A.E["node-"+i.L+"-bar-index"]=r.EV,i.A.CG)for(var u=0,_=i.A.A.KH[s],d=0;d<_.length;d++){var f=i.A.A.A4[_[d]].S[i.L];f&&(u+=f.AC)}var g,B=1,b=1,E=(i.A.CG&&(i.CR!==i.AC&&(B=(u-i.CR+i.AC)/u),b=(u-i.CR)/u),o.AW&&(r=B,B=b,b=r),i.A.LT&&(s=i.L),i.iY-C/2+A+s*(h+c)-s*p),E=ZC._l_(E,i.iY-C/2+A,i.iY+C/2-Z),m=(0<i.A.D5&&(r=h,(h=i.A.D5)<=1&&(h*=r),E+=(r-h)/2),h),D=i.iX,c=null!==ZC._n_(i.A.LZ[i.L])?i.A.LZ[i.L]:0;if(D=i.A.CG&&"100%"===i.A.KT?o.AR(100*(i.CR+c)/i.A.A.F9[i.L]["%total-"+i.A.DZ]):o.AR(i.CR+c),i.A.CG?(g="100%"===i.A.KT?o.AR(100*(i.CR-i.AC+c)/i.A.A.F9[i.L]["%total-"+i.A.DZ]):o.AR(i.CR-i.AC+c),D=ZC._i_(D),g=ZC._i_(g),s=!o.AW&&0<=i.AC||o.AW&&i.AC<=0?1:-1,A=p=0,""!==i.A.OO?(p=i.WY(i.A.OO)[0],A=0):p=i.A.AU,""!==i.A.PE?(A=i.WY(i.A.PE)[0],p=0):A=i.A.AU,n=D-g+(s=p!==A?0:s)*p,0<i.AC?D=g:n=ZC._a_(n),o.AW?0<n?(n=ZC._a_(n),D=g):(n=ZC._a_(n),D-=n):n<0&&(n=ZC._a_(n),D=g-n)):(g=o.AR(c),D=(n=D-g)<0?g-(n=ZC._a_(n)):g),i.A.TT&&i.A.CG&&0<i.A.L&&i.A.A.A4[i.A.L-1].S[i.L]&&0===i.A.A.A4[i.A.L-1].S[i.L].AC&&(--n,D+=o.AW?-1:1),n<1&&(0<i.AC||i.A.TT)&&(n=1,o.AW?i.A.CG?0===i.A.L&&--D:D-=2:0<i.A.L&&i.A.CG&&--D),i.I=n,i.F=m,i.iX=D,i.iY=E,o.AW?i.AC>=o.HC?i.iXVal=D:i.iXVal=D+i.I:i.AC>=o.HC?i.iXVal=D+i.I:i.iXVal=D,!e){i.setNodeData({x:D,y:E,w:n,h:m});var v,F,C=!0;if("none"!==i.A.J4||i.C.IY[i.A.L]||i.C.KL||i.A.T4&&i.A.T4[i.L]?(v=i.O=i.A.IJ(i,i.O),C=!1):v=i.O,(0!==i.A.E6.length||i.A.HZ||i.O.o.override||i.C.KL)&&(C=!1),i.AP){switch(i.A.CW){default:0!==i.A.E6.length||i.A.HZ||typeof i.A.TR===ZC._[31]||i.O.o.override||i.C.KL?(F=new ZC.HU(i.A)).copy(v):F=i.A.TR,i.A.HZ&&(i.H8(F),F.parse()),F.FF=i.A.FF,F.K=i.K,F.iX=D,F.iY=E,F.I=i.I,F.F=i.F,l.AD<5&&F.F<5?(F.F=ZC.BR(1,F.F)+1,F.N2=!1,F.D0=!1):F.N2=!0,F.F<5&&l.A1!==l.W&&i.C.P.F/(l.A1-l.W)<1&&(F.QW=!0);break;case"pyramid":case"cone":0!==i.A.E6.length||i.A.HZ||typeof i.A.TR===ZC._[31]||i.O.o.override||i.C.KL?(F=new ZC.DT(i.A)).copy(v):F=i.A.TR,i.A.HZ&&(i.H8(F),F.parse()),F.K=i.K,t=o.AW&&!i.A.CG?(a=0<=i.AC?i.I:0,0<=i.AC?0:i.I):(a=0<=i.AC?0:i.I,0<=i.AC?i.I:0),F.D=[],F.D.push([D+a,E+i.F/2-B*i.F/2],[D+a,E+i.F/2+B*i.F/2]),i.A.CG&&0!==b?F.D.push([D+t,E+i.F/2+b*i.F/2],[D+t,E+i.F/2-b*i.F/2]):F.D.push([D+t,E+i.F/2]),F.D.push([F.D[0][0],F.D[0][1]]),i.E.points=F.D,F.iX=D,F.iY=E,F.locate(2)}F.Z=i.A.CS("bl",1),F.C8=i.A.CS("bl",0),i.paintPreview(v,C);var K=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],I=(F.DF=K,ZC._c_(i.A.o.tolerance,5)),x=function(){var e,t;typeof i.paint_!==ZC._[31]&&i.paint_(),i.N9(ZC.Q.EE(F.Z,i.G.AB)),ZC.AQ._boxoverlap2_(i,i.C.P,I)&&i.A.FV&&-1===ZC.AV(i.G.KQ,ZC._[39])&&(t=n<3?.5:-.5,e=m<5?.5:-.5,t=ZC.Q.FP("rect",i.A.E9,F.IE)+'class="'+K+'" '+i.a11y()+' id="'+i.K+ZC._[30]+ZC._i_(D+i.A.BK+ZC.MAPTX-t)+","+ZC._i_(E+i.A.BJ+ZC.MAPTX-e)+","+ZC._i_(D+i.A.BK+n+ZC.MAPTX+t)+","+ZC._i_(E+i.A.BJ+m+ZC.MAPTX+e)+'" />',i.A.A.H3.push(t)),i.A.U&&i.A.U.AP&&i.H1()};if(i.A.GG&&!i.C.HM){var y,Y=F,L={},Z=(Y.iX=D,Y.iY=E,Y.I=n,Y.F=m,L.x=D,L.y=E,L.width=n,L.height=m,i.A.LE),r=i.C.P;for(y in Y.C5=0,L.alpha=v.C5,2===Z?(Y.iX=r.iX+r.I/2,Y.I=1,L.width=i.I,L.x=D):3===Z?(Y.iX=r.iX+r.I,Y.I=1,L.width=i.I,L.x=D):4===Z?(Y.iX=r.iX,Y.I=1,L.width=i.I,L.x=D):5===Z?(Y.iY=r.iY+r.F,Y.F=1,L.height=i.F,L.y=E):6===Z?(Y.iY=r.iY,Y.F=1,L.height=i.F,L.y=E):7===Z?(Y.iY=r.iY+r.F/2,Y.F=1,L.height=i.F,L.y=E):8===Z?(Y.iY=E+r.F,L.y=E):9===Z?(Y.iY=E-r.F,L.y=E):10===Z?(Y.iX=D+r.I,L.x=D):11===Z?(Y.iX=D-r.I,L.x=D):12===Z?(Y.F=1,L.height=i.F):13===Z&&(Y.I=1,L.width=i.I),i.A.FY)Y[ZC.E8.GO[ZC.EH(y)]]=i.A.FY[y],L[ZC.EH(y)]=i.O[ZC.E8.GO[ZC.EH(y)]];if(null===ZC._n_(i.C.EQ)&&(i.C.EQ={}),null!==ZC._n_(i.C.EQ[i.A.L+"-"+i.L]))for(y in i.C.EQ[i.A.L+"-"+i.L])Y[ZC.E8.GO[ZC.EH(y)]]=i.C.EQ[i.A.L+"-"+i.L][y];i.C.EQ[i.A.L+"-"+i.L]={},ZC._cp_(L,i.C.EQ[i.A.L+"-"+i.L]),ZC.AQ._boxoverlap2_(i,i.C.P,I)&&((h=new ZC.E8(Y,L,i.A.JH,i.A.LC,ZC.E8.RN[i.A.LF],function(){x()})).AX=i,h.OI=function(){i.N9(ZC.Q.EE(F.Z,i.G.AB))},i.LU(h))}else(F.AP||0===i.A.E6.length&&!i.A.HZ)&&ZC.AQ._boxoverlap2_(i,i.C.P,I)&&F.paint(),F.AP&&x();"svg"===i.G.AB&&i.A.applyJsRuleSvg(i.A,i.K+"-path",i.M2()),0!==i.A.E6.length||i.A.HZ||typeof i.A.TR!==ZC._[31]||i.O.o.override||i.C.KL||i.A.GG||(i.A.TR=F)}}}},paintPreview:function(e,t){var i,n,a,l,o,r,C,s=this;s.C.B7&&s.C.B7.I3&&s.A.QU&&(a=s.C.P,o=(l=s.C.B7).AT,r=(s.iX-a.iX)/a.I,C=(s.iY-a.iY)/a.F,s.A.VZ?i=s.A.VZ:(i=new ZC.HU(s.A),(s.A.VZ=i).copy(e),(n=s.A.o["preview-state"])&&(i.append(n),i.parse())),!t&&(i.copy(e),n=s.A.o["preview-state"])&&(i.append(n),i.parse()),i.K=s.K+"-preview",i.DF=s.A.K+"-preview",i.iX=o.iX+o.AU+r*(o.I-2*o.AU),i.iY=o.iY+o.AU+C*(o.F-2*o.AU),i.I=s.I/a.I*(o.I-2*o.AU),i.F=s.F/a.F*(o.F-2*o.AU),o.I/s.A.S.length<10?(i.I=i.I+.5,i.N2=!1,i.D0=!1):(i.N2=!0,i.D0=!0),i.Z=i.C8=l.Z,i.paint())},A15:function(e){var t,i=this;ZC.move||(t="",t="pyramid"!==i.A.CW?"box":"shape",i.MC({layer:e,type:t,initcb:function(){this.B9=i.A.BP[1],this.BX=i.A.BP[1],this.A0=i.A.BP[3],this.AE=i.A.BP[2]},setupcb:function(){switch(i.A.CW){default:this.iX=i.getNodeData("x"),this.iY=i.getNodeData("y"),this.I=i.getNodeData("w"),this.F=i.getNodeData("h");var e=i.C.P;this.iX<e.iX&&(this.I=this.I-(e.iX-this.iX),this.iX=e.iX),this.iX+this.I>e.iX+e.I&&(this.I=e.iX+e.I-this.iX);break;case"pyramid":case"cone":this.D=i.getNodeData("points")}}}),i.N9(ZC.Q.EE(i.C.K+ZC._[22],i.G.AB),!0),i.A.RR=null)}}),ZC.A5T=ZC.LM.CD({setup:function(){var e,t=this,i=t.A.AZ,n=t.A.CQ,a=[i.W,i.A1,n.W,n.A1];t.JS!==a&&("scatter"===t.A.AF?(t.A.LT&&t.A.Q4?(e=ZC.AQ.WI(t.A.Q4[0],t.A.Q4[1]),e=(t.BV-e[0])/(e[1]-e[0]),t.iX=i.II(t.A.R9)-i.AD/2+t.A.RU+e*(i.AD-2*t.A.RU)):t.iX=i.AR(t.BV),t.iY=n.AR(t.AC)):(t.iY=i.AR(t.BV),t.iX=n.AR(t.AC)),t.JS=a),t.I3||(t.copy(t.A),t.E6=t.A.E6,t.DG()&&t.parse(!1),t.I3=!0)},parse:function(){this.b(),this.o[ZC._[9]]instanceof Array||(this.BV=this.L)},ABE:function(){return{color:("-1"===this.A.A2.A0?this.O:this.A.A2).A0}},getTooltipPosition:function(e,t){return this.b(e,t,this.L9.AI)},Y3:function(){return{"background-color":("-1"===this.A.A2.AE?this.O:this.A.A2).AE,"border-color":("-1"===this.A.A2.AE?this.O:this.A.A2).AE,color:this.O.C2}},paint:function(e){var t=this,i=(t.b(),t.A.AZ),n=t.A.CQ;t.setup(),e||(i.CM?ZC.DS(t.iX,n.iX+(n.AW?n.BU:n.A9)-1,n.iX+n.I-(n.AW?n.A9:n.BU)+1)&&ZC.DS(t.iY,i.iY+(i.AW?i.BU:i.A9)-1,i.iY+i.F-(i.AW?i.A9:i.BU)+1)&&t.PK(!1,!0):ZC.DS(t.iX,i.iX+(i.AW?i.BU:i.A9)-1,i.iX+i.I-(i.AW?i.A9:i.BU)+1)&&ZC.DS(t.iY,n.iY+(n.AW?n.A9:n.BU)-1,n.iY+n.F-(n.AW?n.BU:n.A9)+1)&&t.PK(!1,!0))},A15:function(e){ZC.move||this.U3(e)}}),ZC.A6S=ZC.LM.CD({$i:function(e){this.b(e),this.SQ=null},parse:function(){this.b(),this.o[ZC._[9]]instanceof Array||(this.BV=this.L),this.o[ZC._[9]]instanceof Array&&null!==ZC._n_(this.o[ZC._[9]][2])?this.SQ=ZC._f_(this.o[ZC._[9]][2]):this.SQ=2},ABE:function(){return{color:("-1"===this.A.A2.A0?this.O:this.A.A2).A0}},getTooltipPosition:function(e,t){var i=this.A.getSize(ZC._a_(this.SQ));return this.b(e,t,i)},Y3:function(){return{"background-color":("-1"===this.A.A2.AE?this.O:this.A.A2).AE,"border-color":("-1"===this.A.A2.AE?this.O:this.A.A2).AE,color:this.O.C2}},K2:function(e,t,i,n){var a=this.A.MU(),a=(ZC._cp_(t,a),ZC.AO.G5(this.SQ,a));return this.CA=[["%v0",this.BV],["%v1",this.AC],["%v2",a],["%node-size-value",a]],e=this.b(e,t,i,n)},setup:function(){var e,t=this,i=t.A.AZ,n=t.A.CQ,a=[i.W,i.A1,n.W,n.A1];t.JS!==a&&("bubble"===t.A.AF?(t.A.LT&&t.A.Q4?(e=ZC.AQ.WI(t.A.Q4[0],t.A.Q4[1]),e=(t.BV-e[0])/(e[1]-e[0]),t.iX=i.II(t.A.R9)-i.AD/2+t.A.RU+e*(i.AD-2*t.A.RU)):t.iX=i.AR(t.BV),t.iY=n.AR(t.AC)):(t.iY=i.AR(t.BV),t.iX=n.AR(t.AC)),t.JS=a),t.I3||(t.copy(t.A),t.E6=t.A.E6,t.DG()&&t.parse(!1),t.I3=!0)},AC6:function(e){var t,i=this,n="auto",a=(null!==ZC._n_(t=e.o[ZC._[7]])&&(n=t),e.I),l=e.F,o=i.E["marker.size"],r=i.iX-a/2,C=i.iY-l/2,s=0,A=0;switch(n){case"top":C-=l/2+o,A=i.iY-i.C.P.iY+o;break;case"bottom":C+=l/2+o,A=i.C.P.iY+i.C.P.F-i.iY+o;break;case"left":r-=a/2+o,s=i.iX-i.C.P.iX+o;break;case"right":r+=a/2+o,s=i.C.P.iX+i.C.P.I-i.iX+o}return null!==ZC._n_(e.o.x)&&(r=e.iX),null!==ZC._n_(e.o.y)&&(C=e.iY),(r=r<i.C.P.iX?i.C.P.iX+s:r)+a>i.C.P.iX+i.C.P.I&&(r=i.C.P.iX+i.C.P.I-a-s),(C=C<i.C.P.iY?i.C.P.iY+A:C)+l>i.C.P.iY+i.C.P.F&&(C=i.C.P.iY+i.C.P.F-l-A),[ZC._i_(r),ZC._i_(C)]},paint:function(e){var t=this,i=(typeof e===ZC._[31]&&(e=!1),t.b(),t.A.AZ),n=t.A.CQ;t.setup(),t.E["marker.size"]=t.A.getSize(ZC._a_(t.SQ)),e||(i.CM?ZC.DS(t.iX,n.iX+(n.AW?n.BU:n.A9)-1,n.iX+n.I-(n.AW?n.A9:n.BU)+1)&&ZC.DS(t.iY,i.iY+(i.AW?i.BU:i.A9)-1,i.iY+i.F-(i.AW?i.A9:i.BU)+1)&&t.PK(!1,!0):ZC.DS(t.iX,i.iX+(i.AW?i.BU:i.A9)-1,i.iX+i.I-(i.AW?i.A9:i.BU)+1)&&ZC.DS(t.iY,n.iY+(n.AW?n.A9:n.BU)-1,n.iY+n.F-(n.AW?n.BU:n.A9)+1)&&t.PK(!1,!0))},A15:function(e){ZC.move||this.U3(e)}}),ZC.A8T=ZC.LM.CD({bCXY:!0,U:null,$i:function(e){this.b(e)},parse:function(){this.b()},AB2:function(){this.b();var e=this.C.E;e.update.npv=e.update["node-percent-value"]=this.K2("%npv")},K2:function(e,t,i,n){var a=this,l=a.A.MU(),o=(ZC._cp_(t,l),-1===e.indexOf("%npv")&&-1===e.indexOf("%node-percent-value")||null!==ZC._n_(l[ZC._[12]])&&-1!==l[ZC._[12]]||(l[ZC._[12]]=1),0),r="0";if(0<a.A.A.KP[a.L]&&(r=""+(o=100*a.AC/a.A.A.KP[a.L])),1<a.A.A.A4.length&&a.A.L===a.A.A.A4.length-1){var C=0;if(null===ZC._n_(a.A.o.totals)){for(var s,A,Z=0;Z<a.A.A.A4.length-1;Z++)a.A.A.A4[Z].AP&&null!==ZC._n_(a.A.A.A4[Z].S[a.L])&&(A="0",(s=0)<a.A.A.KP[a.L]&&(A=""+(s=100*a.A.A.A4[Z].S[a.L].AC/a.A.A.KP[a.L])),null!==ZC._n_(l[ZC._[12]])&&(A=s.toFixed(ZC.BR(0,ZC._i_(l[ZC._[12]])))),C+=ZC._f_(A));r=""+(o=Math.max(0,100-C))}}null!==ZC._n_(l[ZC._[12]])&&(r=o.toFixed(ZC.BR(0,ZC._i_(l[ZC._[12]]))));o=ZC._f_(a.A.A.KP[a.L]||"0"),o=ZC.AO.G5(o,l,a.A);return a.CA=[["%node-percent-value",r],["%npv",r],["%pie-total-value",o]],e=a.b(e,t,i,n)},getTooltipPosition:function(e,t){var i,n,a,l=this,o=(l.B4+l.BL)/2%360;switch(t){case"out":n=(i=ZC.AQ.BN(l.iX,l.iY,l.AI+l.DX+e.DX,o))[0]+l.BK,a=i[1]+l.BJ,270<o&&o<=360?a-=e.F:90<o&&o<=180?n-=e.I:180<o&&o<=270&&(n-=e.I,a-=e.F);break;case"center":n=(i=ZC.AQ.BN(l.iX,l.iY,l.CP+.5*(l.AI-l.CP)+l.DX,o))[0]+l.BK,a=i[1]+l.BJ;break;default:n=l.iX+l.BK,a=l.iY+l.BJ}return{x:n,y:a}},V7:function(e){var t=this,i=(t.B4+t.BL)/2%360,n=0,e=((n=null!==ZC._n_(e=e["offset-r"])?ZC._f_(ZC._p_(e)):n)<1&&(n*=t.AI),ZC.AQ.BN(t.iX,t.iY,t.CP+.6*(t.AI-t.CP)+t.DX+n,i));return[e[0],e[1],{reference:t,center:!0}]},AC9:function(){var e=(this.B4+this.BL)/2%360,e=ZC.AQ.BN(this.iX,this.iY,this.CP+.5*(this.AI-this.CP)+this.DX,e);return[e[0],e[1]]},setup:function(){var e=this,t=e.C.BM(e.A.BW("k")[0]),i=e.L%t.H7,n=Math.floor(e.L/t.H7);e.iX=t.iX+i*t.GM+t.GM/2+t.BK,e.iY=t.iY+n*t.GH+t.GH/2+t.BJ,e.I3||(e.copy(e.A),e.E6=e.A.E6,e.DG()&&e.parse(!1),e.I3=!0)},ABE:function(e){var t={},i="out";return null!==ZC._n_(e=e.o[ZC._[7]])&&(i=e),t.color="out"===i?this.A0:this.C2,t},AC6:function(n){var e,t,a,i,l,o,r=this,C="out",s=(null!==ZC._n_(Z=n.o[ZC._[7]])&&(C=Z),n.I),A=n.F;Z=(r.B4+r.BL)/2%360;if("out"===C){var Z=e=r.A.A.YB["n"+r.L][r.A.L],c=function(e,t){t<0&&(t=360+t),t%=360;var e=(a=ZC.AQ.BN(r.iX,r.iY,e+r.DX+n.DX+20,t))[0]+n.BK-s/2,i=a[1]+n.BJ-A/2;return 0<=t&&t<=90||270<=t&&t<=360?e+=s/2+10:e-=s/2+10,[e,i]},h=c(r.AI,e),p=h[0],u=h[1];r.U=n;for(var _={x:p,y:u,width:s,height:A},d=zingchart.DEV.SPREADTYPE,f=(m=!0,0),g=0,B=-1,b=0,E=0;m&&E<1024;)for(var m=!1,D=0,v=r.A.A.TS.length;D<v;D++)t=r.A.A.TS[D],(ZC.AQ.VD(_,t)||_.x+n.I>r.C.P.iX+r.C.P.I||_.x<r.C.P.iX||_.y+n.F>r.C.P.iY+r.C.P.F||_.y<r.C.P.iY)&&(m=!0,0===d?(f+=.4,B*=-1):1===d&&(g+=2),h=c(r.AI+g,e+f*B),_.x=h[0],_.y=h[1],E++,100<++b)&&((b=0)===d?(f=0,g+=2):1===d&&(g=0,f+=.4,B*=-1));p=_.x,u=_.y,Z=e+f,t={text:r.A.AN,x:_.x,y:_.y,width:s,height:A,plotindex:r.A.L,nodeindex:r.L},r.A.A.TS.push(t)}else"in"===C||"radial"===C?(i=r.CP<30?.65:.5,p=(a=ZC._x_(r.B4,2)%360==ZC._x_(r.BL,2)%360?0===r.CP?[r.iX,r.iY]:ZC.AQ.BN(r.iX,r.iY,r.CP+.3*(r.AI-r.CP)+r.DX+n.DX,270):ZC.AQ.BN(r.iX,r.iY,r.CP+i*(r.AI-r.CP)+r.DX+n.DX,Z))[0]-s/2+r.BK,u=a[1]-A/2+r.BJ):-1!==C.indexOf("fixed=")?(i=C.split(/=|;|,/),l=(r.AI+r.CP)/2,o=Z,i[1]&&(l=-1<=(l=ZC.IO(i[1],!0))&&l<=1||-1!==i[1].indexOf("%")?r.CP+r.DX+l*(r.AI-r.CP):r.CP+r.DX+l),i[2]&&(o=-1<=(o=ZC.IO(i[2],!0))&&o<=1||-1!==i[2].indexOf("%")?r.B4+o*(r.BL-r.B4):r.B4+o),i[3]&&("+"===i[3].charAt(0)||"-"===i[3].charAt(0)?(n.AA=(o%=360)+ZC._f_(i[3]),90<n.AA&&n.AA<270&&(n.AA+=180)):n.AA=ZC._f_(i[3])),p=(a=ZC.AQ.BN(r.iX,r.iY,l,o))[0]-s/2,u=a[1]-A/2):"center"===C&&(p=r.iX-s/2+r.BK,u=r.iY-A/2+r.BJ);return m&&(n.AP=!(u=p=-9999)),null!==ZC._n_(n.o.x)&&(p=n.iX),null!==ZC._n_(n.o.y)&&(u=n.iY),-2<=p&&(p=ZC._a_(p)),-2<=u&&(u=ZC._a_(u)),[ZC._i_(p),ZC._i_(u),Z]},appendToValueBox:function(e){var t,i,n,a=this,l={};return"radial"===e.o[ZC._[7]]&&(t=.9*ZC._a_(a.AI-a.CP),i=Math.PI*(a.AI+a.CP)*.9*ZC._a_(a.BL-a.B4)/360,n=ZC._i_(Math.max(t,i)/(.75*e.DI)),null===ZC._n_(e.o.visible)?l.visible=1===a.A.A.A4.length||i>1.25*e.DI:l.visible=!e.J2||e.J2.visible,null===ZC._n_(e.o["max-chars"])&&(l["max-chars"]=n),null===ZC._n_(e.o.angle))&&(n=(a.B4+a.BL)/2%360,1<a.A.A.A4.length?t<i?0<n&&n<180?n-=90:n+=90:90<n&&n<270&&(n+=180):n=0,l.angle=n),l},H1:function(e,t){var i,n,a,l=this,t=l.b(e,t);if(e)return t;l.AP&&t.AP&&null!==ZC._n_(t.AN)&&""!==t.AN&&(e="out")===(e=null!==ZC._n_(i=t.o[ZC._[7]])?i:e)&&(e=!0,e=null!==ZC._n_(i=t.o.connected)?ZC._b_(i):e)&&((i=new ZC.DT(l.A)).Z=i.C8=l.A.CS("bl",0),i.append(l.A.C3.o),i.K=l.K+"-connector",i.B9=l.A0,i.DH="line",i.D=[],e=t.E.positioninfo,n=(l.B4+l.BL)/2%360,(a=ZC.AQ.BN(l.iX,l.iY,l.AI+l.DX,n))[0]+=l.BK,a[1]+=l.BJ,i.D.push(a),(a=ZC.AQ.BN(l.iX,l.iY,l.AI+l.DX+10,n))[0]+=l.BK,a[1]+=l.BJ,t.iX>=l.iX?"vml"===l.G.AB?i.D.push([e[0],e[1]+t.F/2]):i.D.push([a[0],a[1],e[0],e[1]+t.F/2]):"vml"===l.G.AB?i.D.push([e[0]+t.I+2,e[1]+t.F/2]):i.D.push([a[0],a[1],e[0]+t.I+2,e[1]+t.F/2]),i.parse(),i.IQ=function(e){return l.IQ(e)},i.DG()&&i.parse(),i.AP)&&i.paint()},paint:function(){var i=this;if(i.b(),!(i.AC<0)){var e=i.C.BM(i.A.BW("k")[0]),t=(i.setup(),"pie-sel-"+i.A.L+"-"+i.L),n=(typeof i.o.detached!==ZC._[31]&&(i.C.E[t]=ZC._b_(i.o.detached)),i.AI=ZC.CY(e.GH,e.GM)/2,null!==ZC._n_(i.A.o[ZC._[21]])?(l=ZC.IO(i.A.o[ZC._[21]],!1),i.AI=l<=1?i.AI*l:l):i.AI=e.JU*i.AI,i.CP<=1&&(i.CP*=i.AI),i.CP=Math.max(0,i.CP),i.o[ZC._[8]]=i.CP,i.DX<=1&&(i.DX*=i.AI),i.o["offset-r"]=i.DX,i.C.E[t]&&(i.DX+=ZC._i_(.15*i.AI)),i.O=i.A.IJ(i,i));if(i.H8(n),0<=i.AC||0===i.A.A.KP[i.L]){var a=new ZC.DT(i.A),l=(a.K=i.K,a.Z=i.A.CS("bl",1),a.C8=i.A.CS("bl",0),a.copy(n),i.iX),e=i.iY,o=(0<i.DX&&(l=(A=ZC.AQ.BN(i.iX,i.iY,i.DX,(i.B4+i.BL)/2))[0],e=A[1]),a.iX=l,a.iY=e,a.AI=i.AI,a.o[ZC._[21]]=i.AI,a.DH="pie",a.B4=ZC._f_(i.B4),a.BL=ZC._f_(i.BL),a.CP=i.CP,a.E.plotidx=i.A.L,a.E.nodeidx=i.L,a.parse(),i.G7=a,function(){var e,t;!i.A.KD&&i.AP&&(e=a.F1(),t=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],t=ZC.Q.FP("poly",i.A.E9,i.A.IE)+'class="'+t+'" '+i.a11y()+' id="'+i.K+ZC._[30]+e+'" />',i.A.A.H3.push(t)),i.A.U&&i.H1()}),t=!1;if("sunburst"===i.C.o["plugin-type"]&&(t=!0),i.AP||!t)if(i.A.GG&&!i.C.HM){var r,C=a,s={},t=(C.iX=l,C.iY=e,C.B4=i.B4,C.BL=i.BL,s.angleStart=i.B4,s.angleEnd=i.BL,s.x=l,s.y=e,i.A.LE);for(r in C.C5=0,s.alpha=n.C5,2===t?(C.BL=i.B4,s.angleEnd=i.BL):3===t?(C.AI=i.CP,s.size=i.AI):4===t?(A=ZC.AQ.BN(i.iX,i.iY,1.2*i.AI,(i.B4+i.BL)/2),C.iX=A[0],C.iY=A[1],s.x=l,s.y=e):5===t&&(C.B4=C.BL=(i.B4+i.BL)/2,s.angleStart=i.B4,s.angleEnd=i.BL),i.A.FY)C[ZC.E8.GO[ZC.EH(r)]]=i.A.FY[r],s[ZC.EH(r)]=n[ZC.E8.GO[ZC.EH(r)]];if(null===ZC._n_(i.C.EQ)&&(i.C.EQ={}),null!==ZC._n_(i.C.EQ[i.A.L+"-"+i.L]))for(r in i.C.EQ[i.A.L+"-"+i.L])C[ZC.E8.GO[ZC.EH(r)]]=i.C.EQ[i.A.L+"-"+i.L][r];i.C.EQ[i.A.L+"-"+i.L]={},ZC._cp_(s,i.C.EQ[i.A.L+"-"+i.L]);var A=new ZC.E8(C,s,i.A.JH,i.A.LC,ZC.E8.RN[i.A.LF],function(){o()});(A.AX=i).LU(A)}else a.paint(),o()}else i.A.U&&i.H1()}},A15:function(e){var t=this;ZC.move||t.MC({layer:e,type:"shape",initcb:function(){var e;this.copy(t),this.iX=t.iX,this.iY=t.iY,0<t.DX&&(e=ZC.AQ.BN(t.iX,t.iY,t.DX,(t.B4+t.BL)/2),this.iX=e[0],this.iY=e[1]),this.AI=t.AI,this.DH="pie",this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.B4=ZC._f_(t.B4),this.BL=ZC._f_(t.BL),this.CP=t.CP},parsecb:function(){this.o[ZC._[21]]=t.AI,this.o[ZC._[8]]=t.CP,this.o["offset-r"]=t.DX}})},X6:function(e,t){this.b(e,t),"click"===t&&e.which<=1&&this.A.A7U&&(zingchart.SKIP.ANIMATION=!0,zingchart.SKIP.EVENT=!0,t="pie-sel-"+this.A.L+"-"+this.L,this.C.E[t]=typeof this.C.E[t]===ZC._[31]||!this.C.E[t],this.C.KC(),zingchart.SKIP.EVENT=!1,zingchart.SKIP.ANIMATION=!1)}}),ZC.A4A=ZC.LM.CD({bCXY:!0,$i:function(e){this.b(e)},setup:function(){var e=this,t=e.C.BM(e.A.BW("k")[0]);e.iX=t.iX+t.I/2+t.BK,e.iY=t.iY+t.F/2+t.BJ,e.I3||(e.copy(e.A),e.o[ZC._[8]]=null,e.E6=e.A.E6,e.DG()&&e.parse(!1),e.I3=!0)},AC9:function(){var e=(this.B4+this.BL)/2%360,e=ZC.AQ.BN(this.iX,this.iY,this.CP+this.E.bandwidth/2+this.DX,e);return[e[0],e[1]]},K2:function(e,t,i,n){var a=this.A.MU(),l=(ZC._cp_(t,a),100*this.AC/this.A.A.KP[this.L]),o=""+l;return null!==ZC._n_(a[ZC._[12]])&&(o=l.toFixed(ZC.BR(0,ZC._i_(a[ZC._[12]])))),this.CA=[["%node-percent-value",o],["%npv",o]],e=this.b(e,t,i,n)},ABE:function(e){var t={},i="in";return null!==ZC._n_(e.o[ZC._[7]])&&(i=e.o[ZC._[7]]),t.color="out"===i?this.A0:this.C2,t},AC6:function(e){var t,i,n=this,a="in",l=(null!==ZC._n_(e.o[ZC._[7]])&&(a=e.o[ZC._[7]]),e.I),o=e.F,r=(n.B4+n.BL)/2%360,a="out"===a?n.L===n.A.S.length-1?(i=ZC.AQ.BN(n.iX,n.iY,n.A.U6+n.A.S.length*(n.E.bandwidth+n.E.bandspace)+15+e.DX,r),t=0<=r&&r<90||270<=r&&r<360?i[0]+10+n.BK:i[0]-l-10+n.BK,i[1]-o/2+n.BJ):t=-1:(t=(i=ZC.AQ.BN(n.iX,n.iY,n.CP+n.E.bandwidth/2+e.DX,r))[0]-l/2+n.BK,i[1]-o/2+n.BJ);return null!==ZC._n_(e.o.x)&&(t=e.iX),null!==ZC._n_(e.o.y)&&(a=e.iY),[ZC._i_(t),ZC._i_(a),r]},H1:function(e){var t,i,n=this,a=n.b(e);if(e)return a;a.AP&&null!==ZC._n_(a.AN)&&""!==a.AN&&(e="in","out"===(e=null!==ZC._n_(a.o[ZC._[7]])?a.o[ZC._[7]]:e))&&n.L===n.A.S.length-1&&((e=new ZC.DT(n.A)).Z=e.C8=n.G.usc()?n.G.mc("top"):n.C.AJ["3d"]||n.G.KD?ZC.AL(n.C.K+"-plots-vb-c"):ZC.AL(n.C.K+"-plot-"+n.A.L+"-vb-c"),e.append(n.A.C3.o),e.B9=n.A0,e.DH="line",e.D=[],t=(n.B4+n.BL)/2%360,i=ZC.AQ.BN(n.iX,n.iY,n.CP+n.E.bandwidth+a.DX,t),a=ZC.AQ.BN(n.iX,n.iY,n.A.U6+n.A.S.length*(n.E.bandwidth+n.E.bandspace)+15+a.DX,t),i[0]+=n.BK,a[0]+=n.BK,i[1]+=n.BJ,a[1]+=n.BJ,e.D.push(i),0<=t&&t<90||270<=t&&t<360?e.D.push([a[0],a[1],a[0]+10,a[1]]):e.D.push([a[0],a[1],a[0]-10,a[1]]),e.parse(),e.IQ=function(e){return n.IQ(e)},e.DG()&&e.parse(),e.AP)&&e.paint()},paint:function(){var e,i=this,t=(i.b(),i.C.BM(i.A.BW("k")[0])),t=(i.setup(),i.AI=ZC.CY(t.I,t.F)/2,i.AI=t.JU*i.AI,i.CP=i.A.U6,i.CP<1&&(i.CP=i.A.U6*i.AI),i.A.SP),n=(t<1&&(t=i.A.SP*i.AI),2),a=i.AI-i.CP;if(null!==ZC._n_(i.A.aBandWidths)&&null!==ZC._n_(i.A.aBandWidths[i.L])){1<(n=ZC._f_(i.A.aBandWidths[i.L]))&&(n/=100),n=ZC._i_(a*n);for(var n=ZC.BR(n,2),l=0,o=0;o<i.L;o++)l+=ZC._f_(i.A.aBandWidths[o]);1<l&&(l/=100),l=ZC._i_(a*l),i.CP+=l}else n=(a-(i.A.S.length-1)*t)/i.A.S.length,n=ZC.BR(n,2),i.CP+=i.L*(n+t);i.AI=i.CP+n;var r=i.O=i.A.IJ(i,i),C=(i.H8(r),new ZC.DT(i.A)),a=(C.K=i.K,C.Z=i.A.CS("bl",1),C.C8=i.A.CS("bl",0),C.copy(r),C.iX=i.iX,C.iY=i.iY,C.DH="pie",C.B4=i.B4,C.BL=i.BL,C.CP=i.CP,C.AI=i.AI,C.parse(),C.CP);function s(){var e=C.F1(),t=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],t=ZC.Q.FP("poly",i.A.E9,i.A.IE)+'class="'+t+'" '+i.a11y()+' id="'+i.K+ZC._[30]+e+'" />';i.A.A.H3.push(t),i.A.U&&i.A.U.AP&&i.H1()}if(i.E.bandwidth=n,i.E.bandspace=t,i.A.GG&&!i.C.HM){var A=C,Z={},n=(A.B4=i.B4,A.BL=i.BL,Z.angleStart=i.B4,Z.angleEnd=i.BL,i.A.LE);for(e in A.C5=0,Z.alpha=r.C5,2===n?(A.BL=i.B4,Z.angleEnd=i.BL):3===n?(A.CP=a+i.E.bandwidth,Z.slice=a):4===n?(t=ZC.AQ.BN(i.iX,i.iY,i.AI,(i.B4+i.BL)/2),A.iX=t[0],A.iY=t[1],Z.x=i.iX,Z.y=i.iY):5===n&&(A.B4=A.BL=(i.B4+i.BL)/2,Z.angleStart=i.B4,Z.angleEnd=i.BL),i.A.FY)A[ZC.E8.GO[ZC.EH(e)]]=i.A.FY[e],Z[ZC.EH(e)]=r[ZC.E8.GO[ZC.EH(e)]];if(i.C.EQ||(i.C.EQ={}),null!==ZC._n_(i.C.EQ[i.A.L+"-"+i.L]))for(e in i.C.EQ[i.A.L+"-"+i.L])A[ZC.E8.GO[ZC.EH(e)]]=i.C.EQ[i.A.L+"-"+i.L][e];i.C.EQ[i.A.L+"-"+i.L]={},ZC._cp_(Z,i.C.EQ[i.A.L+"-"+i.L]);a=new ZC.E8(A,Z,i.A.JH,i.A.LC,ZC.E8.RN[i.A.LF],function(){s()});(a.AX=i).LU(a)}else C.paint(),s()},A15:function(e){var t=this;ZC.move||t.MC({layer:e,type:"shape",initcb:function(){this.copy(t),this.iX=t.iX,this.iY=t.iY,this.DH="pie",this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.B4=t.B4,this.BL=t.BL,this.CP=t.CP,this.AI=t.AI},parsecb:function(){this.o[ZC._[8]]=null}})}}),ZC.A7D=ZC.LM.CD({$i:function(e){this.b(e);this.C9=null,this.CC=null,this.MP="max"},K2:function(e,t,i,n){return"range"===this.A.CW&&(this.CA=[["%node-min-value",this.C9],["%node-max-value",this.CC]]),e=this.b(e,t,i,n)},AA0:function(){var e,t=this;"range"===t.A.CW&&t.o[ZC._[9]]instanceof Array?(2<(e=t.o[ZC._[9]].length)&&(t.BV=ZC._f_(t.o[ZC._[9]][0])),t.C9=ZC._f_(t.o[ZC._[9]][e-2]),t.CC=ZC._f_(t.o[ZC._[9]][e-1]),t.AC=t.CR=t.CC,t.DU.push(t.C9)):t.b()},setup:function(){var e,t=this,i=t.A.AZ,n=t.A.CQ,a=[i.W,i.A1,n.W,n.A1];t.JS!==a&&(n="range"===t.A.CW?n.UC("min"===t.MP?t.C9:t.CC):n.UC(t.CR),e=null!==ZC._n_(t.BV),n=i.A7N(e?t.BV:t.L,n,e),t.iX=n[0],t.iY=n[1],t.JS=a),t.I3||(t.copy(t.A),t.E6=t.A.E6,t.DG()&&t.parse(!1),t.I3=!0)},AC6:function(e){var t=this,i=t.A.AZ,n=t.A.CQ,a=t.C.BM("scale"),l=a.iX+a.I/2,o=a.iY+a.F/2,r=e.I,C=e.F,s="out",A=1.15;switch(s=null!==ZC._n_(e.o[ZC._[7]])?e.o[ZC._[7]]:s){case"out":A=1.15;break;case"over":A=1;break;case"in":A=.85;break;case"middle":A=.5}var Z=i.EM/(i.V.length-(360===i.EM||i.DE?0:1)),c=n.UC(t.CR);switch(t.A.CW){case"matrix":case"piano":var h=(ZC.CY(a.I/2,a.F/2)*a.JU-n.A9)/t.A.A.A4.length,p=n.A9+t.A.L*h,h=n.A9+(t.A.L+1)*h,u=ZC.AQ.BN(l,o,(p+h)/2*A+e.DX,i.DK+(i.DE?Z/2:0)+t.L*Z);break;default:u=null!==ZC._n_(t.BV)?(p=i.DK+i.EM*(t.BV-i.B0)/(i.BF-i.B0),ZC.AQ.BN(l,o,n.A9+c*A+e.DX,p)):ZC.AQ.BN(l,o,n.A9+c*A+e.DX,i.DK+(i.DE?Z/2:0)+t.L*Z)}return u[0]-=r/2,u[1]-=C/2,null!==ZC._n_(e.o.x)&&(u[0]=e.iX),null!==ZC._n_(e.o.y)&&(u[1]=e.iY),[ZC._i_(u[0]),ZC._i_(u[1])]},ABE:function(){return{color:"rose"===this.A.CW?this.A0:this.B9}},Y3:function(){return{"background-color":"rose"===this.A.CW?this.A0:this.B9,"border-color":"rose"===this.A.CW?this.A0:this.B9,color:this.C2}},paint:function(){var e,n,a=this,t=(a.b(),a.A.OD),i=a.A.A4R,l=a.A.AZ,o=a.A.CQ,r=a.A.S,C=(a.setup(),a.D0=!1,a.C8=a.A.CS("bl",0),[]),s=[],A=[],Z=[],c="range"===a.A.CW;function w(){var e,t,i;a.A.RZ>=a.A.S.length&&a.A.XZ&&(e=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6],i=t="",-1!==ZC.AV(["line","area","range"],a.A.CW)?""!==(i="range"!==a.A.CW||a.A.XE?ZC.AQ.PJ(ZC.AQ.Z1(a.E.points),4):ZC.AQ.PJ(s,4))&&(t=ZC.Q.FP("poly",a.A.E9,a.A.IE)+'class="'+e+'" id="'+a.K+ZC._[30]+i+'" />'):-1!==ZC.AV(["rose","column","bar","matrix","piano"],a.A.CW)&&(i=n.F1(),t=ZC.Q.FP("poly",a.A.E9,a.A.IE)+'class="'+e+'" '+a.a11y()+' id="'+a.K+ZC._[30]+i+'" data-z-sort="'+(a.A.A.A4.length-a.A.L)+'" />'),a.A.A.H3.push(t)),a.A.U&&a.A.E.vboxid!==a.K&&a.H1()}var h,p,u,_,d,f,g,B,S,b,E,m,D,v,F,K,I,x,y,Y,L=a.O=a.A.IJ(a,a),r=(a.A.HZ&&a.H8(L),-1!==ZC.AV(["line","area","range"],a.A.CW)&&(C=[],s=[],A=[],Z=[],b=a.iX,v=a.iY,h=a.iX,Y=a.iY,c&&(a.MP="max",a.setup(),b=a.iX,v=a.iY,a.MP="min",a.setup(),h=a.iX,Y=a.iY),a.A.GX&&(a.A.D.push([b,v]),a.A.AH.push([b,v])),0<a.L?(F=r[a.L-1])&&(F.MP="max",F.setup(),K=ZC.AQ.K1(F.iX,F.iY,b,v),C.push(K),s.push(K),c)&&(F.MP="min",F.setup(),K=ZC.AQ.K1(F.iX,F.iY,h,Y),A.push(K),Z.push(K)):(F=r[a.A.S.length-1])&&(F.MP="max",F.setup(),K=ZC.AQ.K1(F.iX,F.iY,b,v),C.push(K),s.push(K),c)&&(F.MP="min",F.setup(),K=ZC.AQ.K1(F.iX,F.iY,h,Y),A.push(K),Z.push(K)),C.push([b,v]),s.push([b,v]),c&&(A.push([h,Y]),Z.push([h,Y])),a.L<a.A.S.length-1?(F=r[a.L+1])&&(F.MP="max",F.setup(),K=ZC.AQ.K1(b,v,F.iX,F.iY),C.push(K),s.push(K),c)&&(F.MP="min",F.setup(),K=ZC.AQ.K1(h,Y,F.iX,F.iY),A.push(K),Z.push(K)):(F=r[0])&&(F.MP="max",F.setup(),K=ZC.AQ.K1(b,v,F.iX,F.iY),C.push(K),s.push(K),c)&&(F.MP="min",F.setup(),K=ZC.AQ.K1(h,Y,F.iX,F.iY),A.push(K),Z.push(K)),ZC.CO.setup(t,L)),c&&(C.push(null),C=C.concat(A.reverse()),s=s.concat(Z.reverse())),a.C.P);if(b=a.C.BM("scale"),"area"!==a.A.CW&&"range"!==a.A.CW||(E=b.iX+b.I/2,m=b.iY+b.F/2,D=360/l.V.length,"area"===a.A.CW&&s.push([E,m]),a.A.GX)||((p=new ZC.DT(a.A)).K=a.K+"-area",p.Z=a.A.CS("bl",0),p.copy(L),p.LB=!0,p.D=s,p.parse(),p.C5=a.A.HS,1===p.C5&&0===p.AU&&(p.A0=ZC.AO.PP(ZC.AO.GD(p.A0),20),p.AE=ZC.AO.PP(ZC.AO.GD(p.AE),20),p.AU=2,p.BX=p.A0),p.D2=[r.iX,r.iY,r.iX+r.I,r.iY+r.F],ZC.CO.setup(i,p)),a.E.points=C,a.E.pointsarea=s,a.setNodeData({points:C,pointsarea:s}),a.A.GX&&a.L===l.A1&&("area"===a.A.CW&&((p=new ZC.DT(a.A)).K=a.K+"-area",p.Z=a.A.CS("bl",0),p.copy(a.A),p.LB=!0,p.D=a.A.AH,p.parse(),p.C5=a.A.HS,p.D2=[r.iX,r.iY,r.iX+r.I,r.iY+r.F],p.paint()),"line"!==a.A.CW&&"area"!==a.A.CW&&"range"!==a.A.CW||(a.A.D[0]&&a.A.D.push([a.A.D[0][0],a.A.D[0][1]]),ZC.CO.paint(t,L,a.A.D))),-1!==ZC.AV(["dots","scatter","area","line"],a.A.CW)?a.PK(!1,!0):-1!==ZC.AV(["rose","column","bar","piano","matrix"],a.A.CW)&&((n=new ZC.DT(a.A)).K=a.K+"-pie",n.copy(L),n.Z=a.A.CS("bl",1),n.C8=a.A.CS("bl",0),E=(b=a.C.BM("scale")).iX+b.I/2,m=b.iY+b.F/2,v=.1*(D=l.EM/(l.V.length-(360===l.EM||l.DE?0:1))),a.A.CG||(v=.1*D+.4*D*a.A.L/a.A.A.A4.length),null!==ZC._n_(h=a.A.A65)&&(v=h<1?D*h:h),Y=o.A9,F=a.A.A,a.A.CG&&null!==ZC._n_(F.A23["stack"+a.L])&&(Y+=F.A23["stack"+a.L]),K=ZC._i_(o.UC(a.CR)),a.A.CG&&(F.A23["stack"+a.L]=K),x=null===ZC._n_(a.BV)?(I=l.DK+a.L*D-D/2+v+(l.DE?D/2:0),l.DK+(a.L+1)*D-D/2-v+(l.DE?D/2:0)):(I=(c=l.DK+l.EM*(a.BV-l.B0)/(l.BF-l.B0))-D/2+v,c+D/2-v),y=K+o.A9,"piano"!==a.A.CW&&"matrix"!==a.A.CW||(A=(ZC.CY(b.I/2,b.F/2)*b.JU-o.A9)/a.A.A.A4.length,y=o.A9+a.A.L*A,Y=o.A9+(a.A.L+1)*A),a.setNodeData({x:E,y:m,sz:y,sl:Y,as:I,ae:x}),n.iX=E,n.iY=m,n.DH="pie",n.B4=I,n.BL=x,n.AI=y,n.CP=Y,n.parse(),n.IQ=function(e){return a.IQ(e)},n.DG())&&n.parse(),a.A.GG&&-1!==ZC.AV(["line","area","rose","column","bar","matrix","piano"],a.A.CW)){switch(a.A.CW){case"line":case"area":_={},(u=new ZC.DT(a)).copy(L),u.K=a.K,u.Z=a.A.CS("bl",1),u.C8=a.A.CS("bl",0),u.D=C,u.C5=0,_.alpha=L.C5,_.points=C;var G=[];"area"===a.A.CW&&(g={},d=[],(f=p).D=s,f.C5=0,g.points=s,g.alpha=a.A.HS);break;case"rose":case"column":case"bar":case"matrix":case"piano":_={},(u=n).iX=E,u.iY=m,u.B4=I,u.BL=x,u.C5=0,_.angleStart=I,_.angleEnd=x,_.x=E,_.y=m,_.size=y,_.alpha=L.C5}var X,Z=a.A.LE,M=a.C.P;switch(Z){case 1:break;case 7:switch(a.A.CW){case"line":case"area":for(e=0;e<C.length;e++)G[e]=[C[e][0],M.iY+M.F/2];if(u.D=G,_.points=C,"area"===a.A.CW){for(e=0;e<s.length;e++)d[e]=[s[e][0],M.iY+M.F/2];f.D=d,g.points=s}}break;case 2:switch(a.A.CW){case"line":case"area":for(e=0;e<C.length;e++)G[e]=[M.iX+M.I/2,C[e][1]];if(u.D=G,_.points=C,"area"===a.A.CW){for(e=0;e<s.length;e++)d[e]=[M.iX+M.I/2,s[e][1]];f.D=d,g.points=s}break;case"rose":case"column":case"bar":case"matrix":case"piano":u.BL=I,_.angleEnd=x}break;case 3:switch(a.A.CW){case"line":case"area":for(e=0;e<C.length;e++)G[e]=[M.iX+M.I/2,M.iY+M.F/2];if(u.D=G,_.points=C,"area"===a.A.CW){for(e=0;e<s.length;e++)d[e]=[M.iX+M.I/2,M.iY+M.F/2];f.D=d,g.points=s}break;case"rose":case"column":case"bar":case"matrix":case"piano":u.AI=o.A9,_.size=y}break;case 4:switch(a.A.CW){case"line":case"area":for(e=0;e<C.length;e++)B=M.iX+M.I/2-C[e][0],S=M.iY+M.F/2-C[e][1],G[e]=[M.iX+M.I/2-2.5*B,M.iY+M.F/2-2.5*S];if(u.D=G,_.points=C,"area"===a.A.CW){for(e=0;e<s.length;e++)B=M.iX+M.I/2-s[e][0],S=M.iY+M.F/2-s[e][1],d[e]=[M.iX+M.I/2-2.5*B,M.iY+M.F/2-2.5*S];f.D=d,g.points=s}break;case"rose":case"column":case"bar":case"matrix":case"piano":u.AI=2*y,_.size=y}break;case 5:switch(a.A.CW){case"rose":case"column":case"bar":case"matrix":case"piano":u.B4=u.BL=(I+x)/2,_.angleStart=I,_.angleEnd=x}}for(X in a.A.FY)u[ZC.E8.GO[ZC.EH(X)]]=a.A.FY[X],_[ZC.EH(X)]=L[ZC.E8.GO[ZC.EH(X)]];if(null===ZC._n_(a.C.EQ)&&(a.C.EQ={},"area"===a.A.CW)&&(a.C.SX={}),null!==ZC._n_(a.C.EQ[a.A.L+"-"+a.L])){for(X in a.C.EQ[a.A.L+"-"+a.L])u[ZC.E8.GO[ZC.EH(X)]]=a.C.EQ[a.A.L+"-"+a.L][X];if("area"===a.A.CW)for(X in a.C.SX[a.A.L+"-"+a.L])f[ZC.E8.GO[ZC.EH(X)]]=a.C.SX[a.A.L+"-"+a.L][X]}a.C.EQ[a.A.L+"-"+a.L]={},ZC._cp_(_,a.C.EQ[a.A.L+"-"+a.L]),"area"===a.A.CW&&(a.C.SX[a.A.L+"-"+a.L]={},ZC._cp_(g,a.C.SX[a.A.L+"-"+a.L]));i=new ZC.E8(u,_,a.A.JH,a.A.LC,ZC.E8.RN[a.A.LF],function(){w()}),r=(i.AX=a,-1!==ZC.AV(["line","area"],a.A.CW)&&(i.HX=t),null);"area"===a.A.CW&&((r=new ZC.E8(f,g,a.A.JH,a.A.LC,ZC.E8.RN[a.A.LF],function(){})).AX=a),a.LU(i,r)}else{switch(a.A.CW){case"line":case"area":case"range":a.A.GX||(ZC.CO.paint(t,L,C),"area"!==a.A.CW&&"range"!==a.A.CW)||p.paint();break;case"rose":case"column":case"bar":case"matrix":case"piano":n.paint()}w()}},A15:function(e){var t=this;ZC.move||(t.A.IK&&t.A.AP&&(-1!==ZC.AV(["line","area","range"],t.A.CW)?(t.A1W(e),"area"!==t.A.CW&&"range"!==t.A.CW||t.MC({layer:e,type:"area",initcb:function(){this.D=t.E.pointsarea},setupcb:function(){this.B1=0,this.AU=0,this.C5=t.A.HS;var e=t.C.P;this.D2=[e.iX,e.iY,e.iX+e.I,e.iY+e.F]}})):-1!==ZC.AV(["rose","column","bar","matrix","piano"],t.A.CW)&&t.MC({layer:e,type:"shape",initcb:function(){this.copy(t),this.B9=t.A.BP[1],this.BX=t.A.BP[1],this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.iX=t.getNodeData("x"),this.iY=t.getNodeData("y"),this.CP=t.getNodeData("sl"),this.B4=t.getNodeData("as"),this.BL=t.getNodeData("ae"),this.DH="pie",this.AI=t.getNodeData("sz")}})),-1!==ZC.AV(["dots","scatter","line"],t.A.CW)&&t.U3(e))}}),ZC.A5U=ZC.ZL.CD({$i:function(e){this.b(e),this.FK=null},K2:function(e,t,i,n){var a=this.A.MU(),a=(ZC._cp_(t,a),ZC.AO.G5(this.A.Q0[this.L],a));return this.CA=[["%node-goal-value",a],["%g",a]],e=this.b(e,t,i,n)},AC6:function(e){return"goal"===ZC._n_(e.o[ZC._[7]])?[this.FK.iX+this.FK.I/2-e.I/2,this.FK.iY-e.F]:this.b(e)},AA0:function(){var e,t=this;t.DU=[],t.CK=t.o[ZC._[9]],"string"==typeof t.o[ZC._[9]]?-1!==(e=ZC.AV(t.A.CQ.JP,t.o[ZC._[9]]))?t.AC=e:(t.A.CQ.JP.push(t.o[ZC._[9]]),t.AC=t.A.CQ.JP.length-1):t.AC=ZC._f_(t.o[ZC._[9]]),t.A.o.goals&&null!==ZC._n_(e=t.A.o.goals[t.L])&&t.DU.push(ZC._f_(e))},paint:function(){this.b()},paint_:function(){var e,t,i,n=this;null!==ZC._n_(n.A.Q0[n.L])&&n.AP&&(e=n.A.CQ.AR(n.A.Q0[n.L]),n.FK=new ZC.HU(n.A),n.FK.K=n.K+"-goal",n.FK.copy(n.A.FK),n.FK.Z=n.A.CS("fl",0),n.FK.C8=n.A.CS("fl",0),n.FK.IQ=function(e){return n.IQ(e)},n.FK.DG()&&n.FK.parse(),null!==ZC._n_(i=n.FK.o)&&null!==ZC._n_(i.styles)&&null!==ZC._n_(t=i.styles[n.L])&&("string"==typeof t?n.FK.append({"background-color":t}):n.FK.append(t),n.FK.parse()),t=.2,null!==ZC._n_(i=n.FK.o.extension)&&(t=ZC._f_(i)),n.FK.iX=n.getNodeData("x")-n.I*t,n.FK.I=n.I*(1+2*t),null===ZC._n_(n.A.FK.o[ZC._[20]])&&(n.FK.F=ZC.CY(5,n.C.P.F/30)),n.FK.iY=e-n.FK.F/2,n.FK.AP)&&(n.FK.paint(),i=n.C.K+ZC._[34]+n.C.K+ZC._[35]+n.A.L+ZC._[6],n.A.A.H3.push(ZC.Q.FP("rect",n.A.E9,n.A.IE)+'class="'+i+'" id="'+n.K+"--goal"+ZC._[30]+ZC._i_(n.FK.iX+n.A.BK+ZC.MAPTX)+","+ZC._i_(n.FK.iY+n.A.BJ+ZC.MAPTX)+","+ZC._i_(n.FK.iX+n.A.BK+n.FK.I+ZC.MAPTX)+","+ZC._i_(n.FK.iY+n.A.BJ+n.FK.F+ZC.MAPTX)+'" />'))},A15:function(e){ZC.move||(this.b(e),this.FK&&this.FK.AP&&((e=new ZC.HU(this.A)).copy(this.FK),e.Z=ZC.AL(this.C.K+ZC._[22]),e.ME=!1,e.iX=this.FK.iX,e.iY=this.FK.iY,e.paint()))}}),ZC.A5V=ZC.ZM.CD({$i:function(e){this.b(e),this.FK=null},K2:function(e,t,i,n){var a=this.A.MU(),a=(ZC._cp_(t,a),ZC.AO.G5(this.A.Q0[this.L],a));return this.CA=[["%node-goal-value",a],["%g",a]],e=this.b(e,t,i,n)},AC6:function(e){return"goal"===ZC._n_(e.o[ZC._[7]])?[this.FK.iX+this.FK.I,this.FK.iY+this.FK.F/2-e.F/2]:this.b(e)},AA0:function(){var e,t=this;t.DU=[],t.CK=t.o[ZC._[9]],"string"==typeof t.o[ZC._[9]]?-1!==(e=ZC.AV(t.A.CQ.JP,t.o[ZC._[9]]))?t.AC=e:(t.A.CQ.JP.push(t.o[ZC._[9]]),t.AC=t.A.CQ.JP.length-1):t.AC=ZC._f_(t.o[ZC._[9]]),t.A.o.goals&&null!==ZC._n_(e=t.A.o.goals[t.L])&&t.DU.push(ZC._f_(e))},paint:function(){this.b()},paint_:function(){var e,t,i,n=this;null!==ZC._n_(n.A.Q0[n.L])&&n.AP&&(e=n.A.CQ.AR(n.A.Q0[n.L]),n.FK=new ZC.HU(n.A),n.FK.K=n.K+"-goal",n.FK.copy(n.A.FK),n.FK.Z=n.A.CS("fl",0),n.FK.C8=n.A.CS("fl",0),n.FK.IQ=function(e){return n.IQ(e)},n.FK.DG()&&n.FK.parse(),null!==ZC._n_(i=n.FK.o)&&null!==ZC._n_(i.styles)&&null!==ZC._n_(t=i.styles[n.L])&&("string"==typeof t?n.FK.append({"background-color":t}):n.FK.append(t),n.FK.parse()),t=.2,null!==ZC._n_(i=n.FK.o.extension)&&(t=ZC._f_(i)),n.FK.iY=n.getNodeData("y")-n.F*t,n.FK.F=n.F*(1+2*t),null===ZC._n_(n.A.FK.o[ZC._[19]])&&(n.FK.I=ZC.CY(5,n.C.P.I/30)),n.FK.iX=e-n.FK.I/2,n.FK.AP)&&(n.FK.paint(),i=n.C.K+ZC._[34]+n.C.K+ZC._[35]+n.A.L+ZC._[6],n.A.A.H3.push(ZC.Q.FP("rect",n.A.E9,n.A.IE)+'class="'+i+'" id="'+n.K+"--goal"+ZC._[30]+ZC._i_(n.FK.iX+n.A.BK+ZC.MAPTX)+","+ZC._i_(n.FK.iY+n.A.BJ+ZC.MAPTX)+","+ZC._i_(n.FK.iX+n.A.BK+n.FK.I+ZC.MAPTX)+","+ZC._i_(n.FK.iY+n.A.BJ+n.FK.F+ZC.MAPTX)+'" />'))},A15:function(e){ZC.move||(this.b(e),this.FK&&this.FK.AP&&((e=new ZC.HU(this.A)).copy(this.FK),e.Z=ZC.AL(this.C.K+ZC._[22]),e.ME=!1,e.iX=this.FK.iX,e.iY=this.FK.iY,e.paint()))}}),ZC.A7E=ZC.LM.CD({AA0:function(){var e,t=this;t.o[ZC._[9]]instanceof Array&&null!==ZC._n_(t.o[ZC._[9]][1])&&(t.CK=t.o[ZC._[9]][1],"string"==typeof t.o[ZC._[9]][0]?-1!==(e=ZC.AV(t.A.AZ.IU,t.o[ZC._[9]][0]))?t.BV=e:(t.A.AZ.IU.push(t.o[ZC._[9]][0]),t.BV=t.A.AZ.IU.length-1):t.BV=ZC._f_(t.o[ZC._[9]][0]),"string"==typeof t.o[ZC._[9]][1]?-1!==(e=ZC.AV(t.A.CQ.JP,t.o[ZC._[9]][1]))?t.AC=e:(t.A.CQ.JP.push(t.o[ZC._[9]][1]),t.AC=t.A.CQ.JP.length-1):t.AC=ZC._f_(t.o[ZC._[9]][1]),null!==t.BV)&&t.A.V9(t.BV,t.L)},setup:function(){var e=this,t=e.A.AZ,i=e.A.CQ,n=[t.W,t.A1,i.W,i.A1];e.JS!==n&&(t.AW?e.iX=t.iX+t.I-t.A9-(e.L-t.W+1)*t.AD:e.iX=t.iX+t.A9+(e.L-t.W)*t.AD,i.AW?e.iY=i.iY+i.A9+(e.A.L-i.B0)*i.AD:e.iY=i.iY+i.F-i.A9-(e.A.L-i.B0+1)*i.AD,e.JS=n),e.I3||(e.copy(e.A),e.E6=e.A.E6,e.DG()&&e.parse(!1),e.I3=!0),e.H8(e)},AC6:function(e){var t="over",i=(null!==ZC._n_(e.o[ZC._[7]])&&(t=e.o[ZC._[7]]),e.I),n=e.F,a=this.iX+this.I/2-i/2,l=this.iY+this.F/2-n/2;switch(t){case"top":l-=this.F/2+n/2+2;break;case"left":a-=this.I/2+i/2+2;break;case"bottom":l+=this.F/2+n/2+2;break;case"right":a+=this.I/2+i/2+2}return null!==ZC._n_(e.o.x)&&(a=e.iX),null!==ZC._n_(e.o.y)&&(l=e.iY),[ZC._i_(a),ZC._i_(l)]},ABE:function(){return{color:"#000"}},getFormatValue:function(){return this.CK},K2:function(e,t,i,n){var a=this.A.CQ,l=this.A.L,a=(null!==ZC._n_(a.BY[l])?a.BY:a.V)[l];return this.CA=[["%y",a],["%scale-value-label",a]],e=this.b(e,t,i,n)},R2:function(){var e,t=this,i=(t.setup(),t.A.AZ),n=t.A.CQ;switch(t.A.A74){case"plot-max":e=(ZC._f_(t.AC)-t.A.Y7)/(t.A.A4S-t.A.Y7);break;case"plot-total":e=(ZC._f_(t.AC)-t.A.Y7)/(t.A.A66-t.A.Y7);break;case"chart-max":e=(ZC._f_(t.AC)-t.A.WM)/(t.A.A3I-t.A.WM);break;case"chart-total":e=(ZC._f_(t.AC)-t.A.WM)/(t.A.A4T-t.A.WM)}switch(ZC.PH(e)||(e=.5),t.I=i.AD,t.F=n.AD,t.A.CW){case"alpha":case"brightness":t.C5=t.A.QD+e*(t.A.UV-t.A.QD);break;case"horizontal":t.I=1.01+t.A.QD*i.AD+e*i.AD*(t.A.UV-t.A.QD),i.AW&&(t.iX=t.iX+i.AD-t.I);break;case"vertical":t.F=1.01+t.A.QD*n.AD+e*n.AD*(t.A.UV-t.A.QD),n.AW||(t.iY=t.iY+n.AD-t.F);break;case"size":t.I=1.01+t.A.QD*i.AD+e*i.AD*(t.A.UV-t.A.QD),t.F=1.01+t.A.QD*n.AD+e*n.AD*(t.A.UV-t.A.QD),t.iX+=(i.AD-t.I)/2,t.iY+=(n.AD-t.F)/2}t.iX-=t.AU/2,t.iY-=t.AU/2,t.I+=t.AU,t.F+=t.AU},paint:function(){var e=this,t=(e.b(),e.R2(),e.C.P);e.iY+5<t.iY||e.iY+5>=t.iY+t.F||(e.AP&&((t=zingchart.pool.getInstance("HU",e,e.A.K+"-piano-box")).K=e.K,t.copy(e),("none"!==e.A.J4||e.C.IY[e.A.L]||e.C.KL||e.A.T4&&e.A.T4[e.L])&&t.copy(e.A.IJ(e,t)),t.iX=e.iX,t.iY=e.iY,t.I=e.I,t.F=e.F,t.Z=e.A.CS("bl",1),t.C8=e.A.CS("bl",0),-1!==t.BX&&0<t.AU||t.Q1+t.OO+t.NQ+t.PE!==""||-1!==t.A0||-1!==t.AE||""!==t.DC||""!==t.GT||""!==t.HQ)&&(t.paint(),t.KD||(t=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],e.A.A.H3.push(ZC.Q.FP("rect",e.A.E9,e.A.IE)+'class="'+t+'" '+e.a11y()+' id="'+e.K+ZC._[30]+ZC._i_(e.iX+ZC.MAPTX)+","+ZC._i_(e.iY+ZC.MAPTX)+","+ZC._i_(e.iX+e.I+ZC.MAPTX)+","+ZC._i_(e.iY+e.F+ZC.MAPTX)+'" />'))),e.A.U&&e.A.U.AP&&e.H1())},A15:function(e){var t=this;ZC.move||t.MC({layer:e,type:"box",initcb:function(){this.AE=t.A.BP[3],this.B9=t.A.BP[1],this.BX=t.A.BP[1],this.A0=t.A.BP[2]},setupcb:function(){this.iX=t.iX,this.iY=t.iY,this.I=t.I,this.F=t.F}})}}),ZC.A5W=ZC.LM.CD({setup:function(){var e=this,t=e.A.AZ,i=e.A.CQ,n=[t.W,t.A1,i.W,i.A1];e.JS!==n&&(t.AW?e.iX=t.iX+t.I-t.A9-(e.L+1)*t.AD:e.iX=t.iX+t.A9+e.L*t.AD,i.AW?e.iY=i.iY+i.A9+e.A.L*i.AD:e.iY=i.iY+i.F-i.A9-(e.A.L+1)*i.AD,e.JS=n),e.I3||(e.copy(e.A),e.E6=e.A.E6,e.DG()&&e.parse(!1),e.I3=!0)},K2:function(e,t,i,n){var a,l,o=this,r=ZC._f_(o.A.A.F9["%pstack-"+o.L+"-0-sum"]||"0"),C=o.A.MU();return ZC._cp_(t,C),o.CA=[],l=0<o.A.L&&o.A.A.A4[o.A.L-1]&&o.A.A.A4[o.A.L-1].S[o.L]?""+(a=100*o.AC/o.A.A.A4[o.A.L-1].S[o.L].AC):(a=100,"100"),null!==ZC._n_(C[ZC._[12]])&&(l=a.toFixed(ZC.BR(0,ZC._i_(C[ZC._[12]])))),o.CA.push(["%output-percent-value",l]),0<r&&(l=""+(a=100*o.AC/r),null!==ZC._n_(C[ZC._[12]])&&(l=a.toFixed(ZC.BR(0,ZC._i_(C[ZC._[12]])))),o.CA.push(["%node-percent-value",l]),o.CA.push(["%npv",l])),e=o.b(e,t,i,n)},paint:function(){var e,t,i,n,a,l,o,r,C,s,A,Z,c=this,h=(c.b(),c.A.AZ),p=c.A.CQ,u=(c.setup(),Z="static"===c.A.A2I?(c.C.AY.SD[c.L],c.C.AY.A7T[c.L]):(c.C.AY.B0,c.C.AY.BF),c.A.L7),_=(u<=1&&(u*=h.AD),c.A.OH),d=(_<=1&&(_*=h.AD),c.A.LY),f=(d<=1&&(d*=h.AD),h.AD-u-_-d),g=d+f*(c.AC/Z),B=0,b=d+f*((B=c.A.L+1<c.A.A.A4.length&&c.A.A.A4[c.A.L+1].S[c.L]?c.A.A.A4[c.A.L+1].S[c.L].AC:B)/Z),B=(c.E["entry-exit"]=[g,b],c.iX+(h.AW?_:u)+f/2+d/2),E=[];for(p.AW?E.push([B-g/2,c.iY],[B+g/2,c.iY],[B+b/2,c.iY+p.AD],[B-b/2,c.iY+p.AD],[B-g/2,c.iY]):E.push([B-g/2,c.iY+p.AD],[B+g/2,c.iY+p.AD],[B+b/2,c.iY],[B-b/2,c.iY],[B-g/2,c.iY+p.AD]),c.E.points=E,c.AP&&((Z=new ZC.DT(c.A)).K=c.K+"-trapeze",Z.copy(c),Z.D=E,Z.parse(),Z.Z=c.A.CS("bl",1),Z.C8=c.A.CS("bl",0),Z.paint(),B=Z.F1(),Z=c.C.K+ZC._[34]+c.C.K+ZC._[35]+c.A.L+ZC._[6],c.A.A.H3.push(ZC.Q.FP("poly",c.A.E9,c.A.IE)+'class="'+Z+'" '+c.a11y()+' id="'+c.K+ZC._[30]+B+'" />')),e=0,t=c.A.OX.length;e<t;e++){var m=c.A.OX[e];m&&null!==ZC._n_(m.o[ZC._[5]])&&null!==ZC._n_(m.o[ZC._[5]][c.L])&&(null===ZC._n_(m.o[ZC._[19]])&&null===ZC._n_(m.o[ZC._[20]])||((i=new ZC.HU(c.A)).append(m.o),i.parse()),a=n=0,null!==ZC._n_(m.o[ZC._[19]])&&(n=i.I),null!==ZC._n_(m.o[ZC._[20]])&&(a=i.F),0===n&&(n=ZC.BR(20,h.AD/10)),0===a&&(a=ZC.BR(16,p.AD/10)),(l=new ZC.DT(c.A)).K=c.K+"-arrow-entry",l.copy(c),l.append(m.o),l.parse(),E=[],r=1===c.A.OX.length?c.iY+p.AD/2:(C=p.AD/(c.A.OX.length+1),c.iY+C+e*C),h.AW?(o=c.iX+h.AD+n-u-f/2+(g+b)/4-d/2+2,E.push([o,r-2*a/6],[o-2*n/3,r-a/6],[o-2*n/3,r-3*a/6],[o-n,r],[o-2*n/3,r+3*a/6],[o-2*n/3,r+a/6],[o,r+2*a/6],[o,r-2*a/6])):(o=c.iX+u-n+f/2-(g+b)/4+d/2-2,E.push([o,r-2*a/6],[o+2*n/3,r-a/6],[o+2*n/3,r-3*a/6],[o+n,r],[o+2*n/3,r+3*a/6],[o+2*n/3,r+a/6],[o,r+2*a/6],[o,r-2*a/6])),l.D=E,l.parse(),l.Z=c.A.CS("bl",1),l.C8=c.A.CS("bl",0),l.paint(),null!==ZC._n_(m.o[ZC._[10]]))&&null!==ZC._n_(m.o[ZC._[10]][c.L])&&""!==m.o[ZC._[10]][c.L]&&(s=m.o[ZC._[10]][c.L],(A=new ZC.DQ(c.A)).K=c.K+"-entry-label-"+e,A.GN=c.K+"-entry-label "+c.A.K+"-entry-label zc-entry-label",A.copy(c),A.o.text=s,A.append(m.o),null!==ZC._n_(m.o.label)&&A.append(m.o.label),A.Z=c.A.CS("fl",0),A.parse(),h.AW?A.iX=o+2:A.iX=o-A.I-2,A.iY=r-A.F/2,A.paint(),A.EO())}for(e=0,t=c.A.VM.length;e<t;e++){var D=c.A.VM[e];D&&null!==ZC._n_(D.o[ZC._[5]])&&null!==ZC._n_(D.o[ZC._[5]][c.L])&&(null===ZC._n_(D.o[ZC._[19]])&&null===ZC._n_(D.o[ZC._[20]])||((i=new ZC.HU(c.A)).append(D.o),i.parse()),a=n=0,null!==ZC._n_(D.o[ZC._[19]])&&(n=i.I),null!==ZC._n_(D.o[ZC._[20]])&&(a=i.F),0===n&&(n=ZC.BR(20,h.AD/10)),0===a&&(a=ZC.BR(16,p.AD/10)),(l=new ZC.DT(c.A)).K=c.K+"-arrow-exit",l.copy(c),l.append(D.o),l.parse(),E=[],r=1===c.A.VM.length?c.iY+p.AD/2:(C=p.AD/(c.A.VM.length+1),c.iY+C+e*C),h.AW?(o=c.iX+_+f/2-(g+b)/4+d/2-2,E.push([o,r-2*a/6],[o-2*n/3,r-a/6],[o-2*n/3,r-3*a/6],[o-n,r],[o-2*n/3,r+3*a/6],[o-2*n/3,r+a/6],[o,r+2*a/6],[o,r-2*a/6])):(o=c.iX+h.AD-_-f/2+(g+b)/4-d/2+2,E.push([o,r-2*a/6],[o+2*n/3,r-a/6],[o+2*n/3,r-3*a/6],[o+n,r],[o+2*n/3,r+3*a/6],[o+2*n/3,r+a/6],[o,r+2*a/6],[o,r-2*a/6])),l.D=E,l.parse(),l.Z=c.A.CS("bl",1),l.C8=c.A.CS("bl",0),l.paint(),null!==ZC._n_(D.o[ZC._[10]]))&&null!==ZC._n_(D.o[ZC._[10]][c.L])&&""!==D.o[ZC._[10]][c.L]&&(s=D.o[ZC._[10]][c.L],(A=new ZC.DQ(c.A)).K=c.K+"-exit-label-"+e,A.GN=c.K+"-exit-label "+c.A.K+"-exit-label zc-exit-label",A.copy(c),A.o.text=s,A.append(D.o),null!==ZC._n_(D.o.label)&&A.append(D.o.label),A.parse(),A.Z=c.A.CS("fl",0),h.AW?A.iX=o-n-A.I-2:A.iX=o+n+2,A.iY=r-A.F/2,A.paint(),A.EO())}c.A.U&&c.H1()},AC6:function(e){var t,i=this,n=i.A.AZ,a=i.A.CQ,l=(null!==ZC._n_(e.o[ZC._[7]])&&(t=e.o[ZC._[7]]),i.iX+n.AD/2-e.I/2),o=i.iY+a.AD/2-e.F/2,r=i.E["entry-exit"],C=(r[0]+r[1])/2;switch(t){case"in":case"auto":break;case"top":o=i.iY+5;break;case"bottom":o=i.iY+a.AD-e.F-5;break;case"left":l=i.iX+n.AD/2-C/2+5;break;case"left-out":l=i.iX+n.AD/2-C/2-e.I-5;break;case"right":l=i.iX+n.AD/2+C/2-e.I-5;break;case"right-out":l=i.iX+n.AD/2+C/2+5}return null!==ZC._n_(e.o.x)&&(l=e.iX),null!==ZC._n_(e.o.y)&&(o=e.iY),[ZC._i_(l),ZC._i_(o)]},A15:function(){var e,t=this;ZC.move||t.A.IK&&t.A.AP&&(t.b(),(e=new ZC.DT(t.A)).K=t.K+"-trapeze-hover",e.Z=ZC.AL(t.C.K+ZC._[22]),e.D=t.E.points,e.parse(),e.B9=t.A.BP[1],e.BX=t.A.BP[1],e.A0=t.A.BP[2],e.AE=t.A.BP[3],e.append(t.A.IK.o),e.parse(),e.IQ=function(e){return t.IQ(e)},e.DG()&&e.parse(),e.AP)&&e.paint()}}),ZC.A5X=ZC.LM.CD({setup:function(){var e=this,t=e.A.AZ,i=e.A.CQ,n=[t.W,t.A1,i.W,i.A1];e.JS!==n&&(t.AW?e.iY=t.iY+t.A9+e.L*t.AD:e.iY=t.iY+t.F-t.A9-(e.L+1)*t.AD,i.AW?e.iX=i.iX+i.I-i.A9-(e.A.L+1)*i.AD:e.iX=i.iX+i.A9+e.A.L*i.AD,e.JS=n),e.I3||(e.copy(e.A),e.E6=e.A.E6,e.DG()&&e.parse(!1),e.I3=!0)},K2:function(e,t,i,n){var a,l,o=this,r=ZC._f_(o.A.A.F9["%pstack-"+o.L+"-0-sum"]||"0"),C=o.A.MU();return ZC._cp_(t,C),o.CA=[],l=0<o.A.L&&o.A.A.A4[o.A.L-1]&&o.A.A.A4[o.A.L-1].S[o.L]?""+(a=100*o.AC/o.A.A.A4[o.A.L-1].S[o.L].AC):(a=100,"100"),null!==ZC._n_(C[ZC._[12]])&&(l=a.toFixed(ZC.BR(0,ZC._i_(C[ZC._[12]])))),o.CA.push(["%output-percent-value",l]),0<r&&(l=""+(a=100*o.AC/r),null!==ZC._n_(C[ZC._[12]])&&(l=a.toFixed(ZC.BR(0,ZC._i_(C[ZC._[12]])))),o.CA.push(["%node-percent-value",l]),o.CA.push(["%npv",l])),e=o.b(e,t,i,n)},AC6:function(e){var t,i=this,n=i.A.AZ,a=i.A.CQ,l=(null!==ZC._n_(e.o[ZC._[7]])&&(t=e.o[ZC._[7]]),i.iX+a.AD/2-e.I/2),o=i.iY+n.AD/2-e.F/2,r=i.E["entry-exit"],C=(r[0]+r[1])/2;switch(t){case"in":case"auto":break;case"top":l=i.iX+a.AD-e.I-5;break;case"bottom":l=i.iX+5;break;case"left":o=i.iY+n.AD/2-C/2+5;break;case"left-out":o=i.iY+n.AD/2-C/2-e.F-5;break;case"right":o=i.iY+n.AD/2+C/2-e.F-5;break;case"right-out":o=i.iY+n.AD/2+C/2+5}return null!==ZC._n_(e.o.x)&&(l=e.iX),null!==ZC._n_(e.o.y)&&(o=e.iY),[ZC._i_(l),ZC._i_(o)]},paint:function(){var e,t,i,n,a,l,o,r,C,s,A,Z,c=this,h=(c.b(),c.A.AZ),p=c.A.CQ,u=(c.setup(),Z="static"===c.A.A2I?(c.C.AY.SD[c.L],c.C.AY.A7T[c.L]):(c.C.AY.B0,c.C.AY.BF),c.A.L7),_=(u<=1&&(u*=h.AD),c.A.OH),d=(_<=1&&(_*=h.AD),c.A.LY),f=(d<=1&&(d*=h.AD),h.AD-u-_-d),g=d+f*(c.AC/Z),B=0,b=d+f*((B=c.A.L+1<c.A.A.A4.length&&c.A.A.A4[c.A.L+1].S[c.L]?c.A.A.A4[c.A.L+1].S[c.L].AC:B)/Z),B=(c.E["entry-exit"]=[g,b],c.iY+(h.AW?u:_)+f/2+d/2),E=[];for(p.AW?E.push([c.iX+p.AD,B-g/2],[c.iX+p.AD,B+g/2],[c.iX,B+b/2],[c.iX,B-b/2],[c.iX+p.AD,B-g/2]):E.push([c.iX,B-g/2],[c.iX,B+g/2],[c.iX+p.AD,B+b/2],[c.iX+p.AD,B-b/2],[c.iX,B-g/2]),c.E.points=E,c.AP&&((Z=new ZC.DT(c.A)).K=c.K+"-trapeze",Z.copy(c),Z.D=E,Z.parse(),Z.Z=c.A.CS("bl",1),Z.C8=c.A.CS("bl",0),Z.paint(),_=Z.F1(),B=c.C.K+ZC._[34]+c.C.K+ZC._[35]+c.A.L+ZC._[6],c.A.A.H3.push(ZC.Q.FP("poly",c.A.E9,c.A.IE)+'class="'+B+'" '+c.a11y()+' id="'+c.K+ZC._[30]+_+'" />')),e=0,t=c.A.OX.length;e<t;e++){var m=c.A.OX[e];m&&null!==ZC._n_(m.o[ZC._[5]])&&null!==ZC._n_(m.o[ZC._[5]][c.L])&&(null===ZC._n_(m.o[ZC._[19]])&&null===ZC._n_(m.o[ZC._[20]])||((a=new ZC.HU(c.A)).append(m.o),a.parse()),n=i=0,null!==ZC._n_(m.o[ZC._[19]])&&(i=a.I),0===(n=null!==ZC._n_(m.o[ZC._[20]])?a.F:n)&&(n=ZC.BR(20,h.AD/10)),0===i&&(i=ZC.BR(16,p.AD/10)),(l=new ZC.DT(c.A)).K=c.K+"-arrow-entry",l.copy(c),l.append(m.o),l.parse(),E=[],o=1===c.A.OX.length?c.iX+p.AD/2:(C=p.AD/(c.A.OX.length+1),c.iX+C+e*C),h.AW?(r=c.iY+u-n+f/2-(g+b)/4+d/2-2,E.push([o-2*i/6,r],[o+2*i/6,r],[o+i/6,r+2*n/3],[o+3*i/6,r+2*n/3],[o,r+n],[o-3*i/6,r+2*n/3],[o-i/6,r+2*n/3])):(r=c.iY+h.AD+n-u-f/2+(g+b)/4-d/2+2,E.push([o-2*i/6,r],[o+2*i/6,r],[o+i/6,r-2*n/3],[o+3*i/6,r-2*n/3],[o,r-n],[o-3*i/6,r-2*n/3],[o-i/6,r-2*n/3])),l.D=E,l.parse(),l.Z=c.A.CS("bl",1),l.C8=c.A.CS("bl",0),l.paint(),null!==ZC._n_(m.o[ZC._[10]]))&&null!==ZC._n_(m.o[ZC._[10]][c.L])&&""!==m.o[ZC._[10]][c.L]&&(s=m.o[ZC._[10]][c.L],(A=new ZC.DQ(c.A)).K=c.K+"-entry-label-"+e,A.GN=c.K+"-entry-label "+c.A.K+"-entry-label zc-entry-label",A.copy(c),A.o.text=s,A.append(m.o),null!==ZC._n_(m.o.label)&&A.append(m.o.label),A.AN=s,A.Z=c.A.CS("fl",0),A.parse(),A.iX=o-A.I/2,h.AW?A.iY=r-A.F-2:A.iY=r+2,A.paint(),A.EO())}for(e=0,t=c.A.VM.length;e<t;e++){var D=c.A.VM[e];D&&null!==ZC._n_(D.o[ZC._[5]])&&null!==ZC._n_(D.o[ZC._[5]][c.L])&&(null===ZC._n_(D.o[ZC._[19]])&&null===ZC._n_(D.o[ZC._[20]])||((a=new ZC.HU(c.A)).append(D.o),a.parse()),n=i=0,null!==ZC._n_(D.o[ZC._[19]])&&(i=a.I),0===(n=null!==ZC._n_(D.o[ZC._[20]])?a.F:n)&&(n=ZC.BR(20,h.AD/10)),0===i&&(i=ZC.BR(16,p.AD/10)),(l=new ZC.DT(c.A)).K=c.K+"-arrow-exit",l.copy(c),l.append(D.o),l.parse(),E=[],o=1===c.A.OX.length?c.iX+p.AD/2:(C=p.AD/(c.A.OX.length+1),c.iX+C+e*C),h.AW?(r=c.iY+u+f/2+(g+b)/4+d/2+2,E.push([o-2*i/6,r],[o+2*i/6,r],[o+i/6,r+2*n/3],[o+3*i/6,r+2*n/3],[o,r+n],[o-3*i/6,r+2*n/3],[o-i/6,r+2*n/3])):(r=c.iY+h.AD-u-f/2-(g+b)/4-d/2-2,E.push([o-2*i/6,r],[o+2*i/6,r],[o+i/6,r-2*n/3],[o+3*i/6,r-2*n/3],[o,r-n],[o-3*i/6,r-2*n/3],[o-i/6,r-2*n/3])),l.D=E,l.parse(),l.Z=c.A.CS("bl",1),l.C8=c.A.CS("bl",0),l.paint(),null!==ZC._n_(D.o[ZC._[10]]))&&null!==ZC._n_(D.o[ZC._[10]][c.L])&&""!==D.o[ZC._[10]][c.L]&&(s=D.o[ZC._[10]][c.L],(A=new ZC.DQ(c.A)).K=c.K+"-exit-label-"+e,A.GN=c.K+"-exit-label "+c.A.K+"-exit-label zc-exit-label",A.copy(c),A.o.text=s,A.append(D.o),null!==ZC._n_(D.o.label)&&A.append(D.o.label),A.AN=s,A.Z=c.A.CS("fl",0),A.parse(),A.iX=o-A.I/2,h.AW?A.iY=r+n+2:A.iY=r-n-A.F-2,A.paint(),A.EO())}c.A.U&&c.H1()},A15:function(){var e,t=this;ZC.move||t.A.IK&&t.A.AP&&(t.b(),(e=new ZC.DT(t.A)).K=t.K+"-trapeze-hover",e.Z=ZC.AL(t.C.K+ZC._[22]),e.D=t.E.points,e.parse(),e.B9=t.A.BP[1],e.BX=t.A.BP[1],e.A0=t.A.BP[2],e.AE=t.A.BP[3],e.append(t.A.IK.o),e.parse(),e.IQ=function(e){return t.IQ(e)},e.DG()&&e.parse(),e.AP)&&e.paint()}}),ZC.A7F=ZC.LM.CD({$i:function(e){this.b(e),this.J5=null},setup:function(){var e=this,t=e.A.AZ,i=e.A.CQ,n=[t.W,t.A1,i.W,i.A1];e.JS!==n&&(null!==e.BV?e.iX=t.AR(e.BV):e.iX=t.II(e.L),e.iY=i.AR(e.AC),e.E.XB=i.AR(e.AC),e.E.A9I=i.AR(e.DU[0]),e.E.AAU=i.AR(e.DU[1]),e.E.VE=i.AR(e.DU[2]),e.JS=n),(!e.I3||e.A.GX&&e.A.MY[ZC._[21]]<3)&&(e.copy(e.A),e.E6=e.A.E6,e.DG()&&e.parse(!1),e.J5=new ZC.DQ(e.A),e.J5.copy(e),e.DU[2]<e.AC&&(e.J5.A0=e.J5.AE=e.C2,e.J5.BX=e.B9),e.DU[2]<e.AC?(e.A.o["trend-down"]&&(e.J5.append(e.A.o["trend-down"]),e.J5.parse()),e.A.MY.down||(e.A.MY.down=new ZC.DQ(e.A),e.A.MY.down.copy(e.J5),e.A.MY[ZC._[21]]++)):e.DU[2]>e.AC?(e.A.o["trend-up"]&&(e.J5.append(e.A.o["trend-up"]),e.J5.parse()),e.A.MY.up||(e.A.MY.up=new ZC.DQ(e.A),e.A.MY.up.copy(e.J5),e.A.MY[ZC._[21]]++)):(e.A.o["trend-equal"]&&(e.J5.append(e.A.o["trend-equal"]),e.J5.parse()),e.A.MY.equal||(e.A.MY.equal=new ZC.DQ(e.A),e.A.MY.equal.copy(e.J5),e.A.MY[ZC._[21]]++)),e.I3=!0),e.A.GX&&(e.DU[2]<e.AC?e.J5=e.A.MY.down:e.DU[2]>e.AC?e.J5=e.A.MY.up:e.J5=e.A.MY.equal,t=ZC.CY(e.E.XB,e.E.VE),i=ZC.BR(e.E.XB,e.E.VE)-ZC.CY(e.E.XB,e.E.VE),e.E.A7R=t+(i=i<2?2:i)/2)},K2:function(e,t,i,n){var a=this,l=a.A.MU();function o(e){return ZC.AO.G5(e,l)}return ZC._cp_(t,l),a.CA=[["%node-value-stock-open",o(a.AC)],["%open",o(a.AC)],["%v0",o(a.AC)],["%node-value-stock-high",o(a.DU[0])],["%high",o(a.DU[0])],["%v1",o(a.DU[0])],["%node-value-stock-low",o(a.DU[1])],["%low",o(a.DU[1])],["%v2",o(a.DU[1])],["%node-value-stock-close",o(a.DU[2])],["%close",o(a.DU[2])],["%v3",o(a.DU[2])]],e=a.b(e,t,i,n)},AA0:function(){var e,t,i=this;i.DU=[],t=i.o[ZC._[9]]instanceof Array&&5===i.o[ZC._[9]].length?(i.BV=ZC._f_(i.o[ZC._[9]][0]),null===i.BV||null!==ZC._n_(i.A.K9[i.BV])&&-1!==ZC.AV(i.A.K9[i.BV],i.L)||i.A.V9(i.BV,i.L),[i.o[ZC._[9]][1],i.o[ZC._[9]][2],i.o[ZC._[9]][3],i.o[ZC._[9]][4]]):i.o[ZC._[9]][1]instanceof Array?("string"==typeof i.o[ZC._[9]][0]?-1!==(t=ZC.AV(i.A.AZ.IU,i.o[ZC._[9]][0]))?i.BV=t:(i.A.AZ.IU.push(i.o[ZC._[9]][0]),i.BV=i.A.AZ.IU.length-1):i.BV=ZC._f_(i.o[ZC._[9]][0]),null===i.BV||null!==ZC._n_(i.A.K9[i.BV])&&-1!==ZC.AV(i.A.K9[i.BV],i.L)||i.A.V9(i.BV,i.L),i.o[ZC._[9]][1]):i.o[ZC._[9]],i.CK=t.join(" "),i.AC=ZC._f_(t[0]),null!==ZC._n_(e=t[1])&&i.DU.push(ZC._f_(e)),null!==ZC._n_(e=t[2])&&i.DU.push(ZC._f_(e)),null!==ZC._n_(e=t[3])&&i.DU.push(ZC._f_(e))},ABE:function(){var e={};return this.DU[2]<this.AC?e[ZC._[0]]=this.J5.B9:e[ZC._[0]]=this.J5.A0,e.color=this.J5.C2,e},Y3:function(){var e={};return this.DU[2]<this.AC?e[ZC._[0]]=this.J5.B9:e[ZC._[0]]=this.J5.A0,e[ZC._[61]]=e[ZC._[0]],e.color=this.J5.C2,e},A8E:function(){return this.Y3()},paint:function(){for(var e,t=this,i=(t.b(),t.A.AZ),i=(t.setup(),i.AD*t.A.Y),n=t.A.L,a=0,l=0;l<t.A.A.K8.stock.length;l++)a++,-1!==ZC.AV(t.A.A.K8[t.A.AF][l],t.A.L)&&(n=l);var o=t.A.CH,r=(o<=1&&(o*=i),t.A.CU),C=(r<=1&&(r*=i),i-o-r),s=t.A.F5,A=(s<=1&&(s*=C),C<1&&(C=.8*i,r=o=.1*i),C),Z=t.A.F0,c=(0!==Z&&(s=0),1<a&&(1<Z?A=(C-(a-1)*s+(a-1)*Z)/a:Z*=A=(C-(a-1)*s)/(a-(a-1)*Z)),A=ZC._l_(A,1,C),t.iX-i/2+o+n*(A+s)-n*Z),c=ZC._l_(c,t.iX-i/2+o,t.iX+i/2-r),C=A,h=ZC.CY(t.E.XB,t.E.VE),s=ZC.BR(t.E.XB,t.E.VE)-ZC.CY(t.E.XB,t.E.VE);if(s<2&&(s=2),o+r===0&&(c-=.5,C+=1),t.I=C,t.F=s,t.iX=c,t.E.A7R=h+s/2,t.setNodeData({x:c,y:h,w:C,h:s}),t.AP){var p,u,_=ZC.Q.EE(t.G.usc()?t.G.K+"-main-c":t.G.KD?t.C.K+"-plots-bl-c":t.C.K+"-plot-"+t.A.L+"-bl-1-c",t.G.AB),d=t.iX+t.I/2,f=((t.DU[2]<t.AC&&(e=t.A.o["trend-down"])||t.DU[2]>t.AC&&(e=t.A.o["trend-up"])||t.DU[2]===t.AC&&(e=t.A.o["trend-equal"]))&&(t.E[ZC._[73]]=e[ZC._[73]],t.E[ZC._[72]]=e[ZC._[72]]),t.A.IJ(t,t.J5));switch(t.A.CW){default:(u=[]).push([d,t.E.A9I],[d,ZC.CY(t.E.XB,t.E.VE)],null,[d,t.E.AAU],[d,ZC.BR(t.E.XB,t.E.VE)]),ZC.CO.paint(_,f,u),g=t.DU[2]<t.AC?t.A.ABI:t.DU[2]>t.AC?t.A.ACL:t.A.AB6,0!==t.A.E6.length||typeof g===ZC._[31]||t.O.o.override||t.C.KL?(p=new ZC.HU(t.A)).copy(f):p=g,t.H8(p),p.Z=t.A.CS("bl",1),p.C8=t.A.CS("bl",0),p.K=t.K,p.iX=c,p.iY=h,p.I=t.I,p.F=t.F,p.paint(),0!==t.A.E6.length||typeof g!==ZC._[31]||t.O.o.override||t.C.KL||(t.DU[2]<t.AC?t.A.ABI=p:t.DU[2]>t.AC?t.A.ACL=p:t.A.AB6=p);break;case"whisker":case"ohlc":u=[];var g=Math.max(t.I/4,4);u.push([d,t.E.A9I],[d,t.E.AAU],null,[d-g,t.E.XB],[d,t.E.XB],null,[d+g,t.E.VE],[d,t.E.VE]),t.H8(f),ZC.CO.paint(_,f,u)}t.A.FV&&(Z=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],t.A.A.H3.push(ZC.Q.FP("rect",t.A.E9,t.A.IE)+'class="'+Z+'" '+t.a11y()+' id="'+t.K+ZC._[30]+ZC._i_(c+ZC.MAPTX)+","+ZC._i_(t.E.A9I+ZC.MAPTX)+","+ZC._i_(c+C+ZC.MAPTX)+","+ZC._i_(t.E.AAU+ZC.MAPTX)+'" />')),t.A.U&&t.A.U.AP&&t.H1()}},A15:function(){var e,t,i=this;ZC.move||i.A.IK&&i.A.AP&&(i.b(),"candlestick"===i.A.CW)&&((e=new ZC.HU(i.A)).K=i.K+"-hover",e.Z=ZC.AL(i.C.K+ZC._[22]),e.C2=i.A.BP[0],e.AE=i.A.BP[3],e.B9=i.A.BP[1],e.BX=i.A.BP[1],e.A0=i.A.BP[2],e.append(i.A.IK.o),e.PZ=!0,e.parse(),e.IQ=function(e){return i.IQ(e)},e.DG()&&e.parse(),i.DU[2]<i.AC&&(e.A0=e.AE=e.C2,e.BX=e.B9),i.DU[2]<i.AC&&i.A.o["trend-down"]?(e.append(i.A.o["trend-down"]),e.append(i.A.o[ZC._[71]]),i.A.o["trend-down"][ZC._[71]]&&e.append(i.A.o["trend-down"][ZC._[71]]),e.parse()):i.DU[2]>i.AC&&i.A.o["trend-up"]?(e.append(i.A.o["trend-up"]),e.append(i.A.o[ZC._[71]]),i.A.o["trend-up"][ZC._[71]]&&e.append(i.A.o["trend-up"][ZC._[71]]),e.parse()):i.DU[2]===i.AC&&i.A.o["trend-equal"]&&(e.append(i.A.o["trend-equal"]),e.append(i.A.o[ZC._[71]]),i.A.o["trend-equal"][ZC._[71]]&&e.append(i.A.o["trend-equal"][ZC._[71]]),e.parse()),e.iX=i.getNodeData("x"),e.iY=i.getNodeData("y"),e.I=i.getNodeData("w"),e.F=i.getNodeData("h"),t=i.C.P,e.iY<t.iY&&(e.F=e.F-(t.iY-e.iY),e.iY=t.iY),e.iY+e.F>t.iY+t.F&&(e.F=t.iY+t.F-e.iY),e.AP)&&e.paint()}}),ZC.A7G=ZC.LM.CD({setup:function(){var e=this,t=e.C.BM(e.A.BW("k")[0]),i=e.C.BM(e.A.BW("v")[0]),n=e.L%t.H7,a=Math.floor(e.L/t.H7),l=i.EM/(i.BF-i.B0);e.iX=t.iX+n*t.GM+t.GM/2,e.iY=t.iY+a*t.GH+t.GH/2,e.E.angle=i.DK-i.EM/2+l*(e.AC-i.B0),i.AW&&(e.E.angle=i.DK+i.EM/2-l*(e.AC-i.B0)),e.I3||(e.copy(e.A),e.E6=e.A.E6,e.DG()&&e.parse(!1),e.I3=!0)},AC6:function(e){var t,i,n,a=e.I,l=e.F,o=this,r=o.C.BM(o.A.BW("k")[0]),C=ZC.CY(r.GM/2,r.GH/2)*r.JU,s=o.L%r.H7,A=Math.floor(o.L/r.H7),Z=r.iX+s*r.GM+r.GM/2+r.BK,c=r.iY+A*r.GH+r.GH/2+r.BJ;switch(e.o[ZC._[7]]){case"center":i=Z-a/2+o.BK,n=c-l/2+o.BJ;break;case"edge":i=(t=ZC.AQ.BN(Z,c,C+e.DX,o.E.angle))[0]-a/2+o.BK,n=t[1]-l/2+o.BJ;break;case"tip":i=(t=ZC.AQ.BN(Z,c,o.E[ZC._[21]]+e.DX,o.E.angle))[0]-a/2+o.BK,n=t[1]-l/2+o.BJ;break;default:i=(t=ZC.AQ.BN(Z,c,C/2+e.DX,o.E.angle))[0]-a/2+o.BK,n=t[1]-l/2+o.BJ}return null!==ZC._n_(e.o.x)&&(i=e.iX),null!==ZC._n_(e.o.y)&&(n=e.iY),[ZC._i_(i),ZC._i_(n)]},ABE:function(){return{color:this.A0}},Y3:function(){return{"background-color":this.A0,"border-color":this.B9,color:this.C2}},paint:function(){var a,l=this,e=(l.b(),l.setup(),l.D0=!1,l.C.BM(l.A.BW("k")[0])),o=ZC.CY(e.GM/2,e.GH/2)*e.JU,t=l.L%e.H7,i=Math.floor(l.L/e.H7),r=e.iX+t*e.GM+e.GM/2+e.BK,C=e.iY+i*e.GH+e.GH/2+e.BJ,s=ZC.IO(l.A.o[ZC._[21]]||"0.9",!1),n=(0<s&&s<=1&&(s*=o),l.E[ZC._[21]]=s,l.O=l.A.IJ(l,l)),A=new ZC.DT(l.A);function Z(e){var t=[],i=l.A.I4,n=(-1<i[4]&&i[4]<1&&(i[4]=ZC._i_(i[4]*o)),ZC.AQ.BN(r,C,i[4],e));if(0<=i[0])for(a=-i[2];a<=180+i[2];a+=5)t.push(ZC.AQ.BN(n[0],n[1],i[0],e+270-a));else t.push(ZC.AQ.BN(n[0],n[1],ZC._a_(i[0]),e-90)),t.push(ZC.AQ.BN(n[0],n[1],ZC._a_(i[0]),e+90));if(0===i[1])t.push(ZC.AQ.BN(r,C,0<s?s:.9*o,e));else if(0<i[1])for(n=ZC.AQ.BN(r,C,0<s?s:.9*o,e),a=-i[3];a<=180+i[3];a+=5)t.push(ZC.AQ.BN(n[0],n[1],i[1],e-270-a));else n=ZC.AQ.BN(r,C,(0<s?s:.9*o)+i[1],e),t.push(ZC.AQ.BN(n[0],n[1],ZC._a_(i[1]/(90/i[3])),e+90),ZC.AQ.BN(n[0],n[1],ZC._a_(i[1]),e+90),ZC.AQ.BN(r,C,0<s?s:.9*o,e),ZC.AQ.BN(n[0],n[1],ZC._a_(i[1]),e+270),ZC.AQ.BN(n[0],n[1],ZC._a_(i[1]/(90/i[3])),e+270));return t.push([t[0][0],t[0][1]]),t}function c(){var e=A.F1(),t=l.C.K+ZC._[34]+l.C.K+ZC._[35]+l.A.L+ZC._[6],t=ZC.Q.FP("poly",l.A.E9,l.A.IE)+'class="'+t+'" '+l.a11y()+' id="'+l.K+ZC._[30]+e+'" />';l.A.A.H3.push(t)}A.copy(n),A.Z=l.A.CS("bl",1),A.C8=l.A.CS("bl",0),A.K=l.K+"-arrow";t=l.C.BM(l.A.BW("v")[0]),i=t.DK-t.EM/2,e=Z(l.E.angle);if(l.E.points=e,A.DH="poly",A.D=e,A.parse(),A.IQ=function(e){return l.IQ(e)},A.DG()&&A.parse(),l.A.GG&&!l.C.HM){var h,p=A,u={},t=l.A.LE;for(h in p.C5=0,u.alpha=n.C5,2===t&&(p.A2H=i,u.A2H=l.E.angle),l.A.FY)p[ZC.E8.GO[ZC.EH(h)]]=l.A.FY[h],u[ZC.EH(h)]=n[ZC.E8.GO[ZC.EH(h)]];if(l.C.EQ||(l.C.EQ={}),null!==ZC._n_(l.C.EQ[l.A.L+"-"+l.L]))for(h in l.C.EQ[l.A.L+"-"+l.L]){var _=ZC.E8.GO[ZC.EH(h)];p[_=null===ZC._n_(_)?h:_]=l.C.EQ[l.A.L+"-"+l.L][h]}l.C.EQ[l.A.L+"-"+l.L]={},ZC._cp_(u,l.C.EQ[l.A.L+"-"+l.L]);e=new ZC.E8(p,u,l.A.JH,l.A.LC,ZC.E8.RN[l.A.LF],function(){c()});e.AX=l,e.A0E=function(e,t){null!==ZC._n_(t.A2H)&&(e.D=Z(t.A2H))},l.LU(e),l.A.U&&l.H1()}else A.paint(),l.A.U&&l.H1(),c()},A15:function(e){var t=this;ZC.move||t.MC({layer:e,type:"shape",initcb:function(){this.copy(t),this.B9=t.A.BP[1],this.BX=t.A.BP[1],this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.D=t.E.points,this.Z=this.C8=t.A.CS("bl",2)}})}}),ZC.A7H=ZC.LM.CD({$i:function(e){this.b(e);this.C9=null,this.CC=null,this.MP="min"},K2:function(e,t,i,n){return this.CA=[["%range-set",this.MP],["%node-min-value",this.C9],["%node-max-value",this.CC]],e=this.b(e,t,i,n)},AA0:function(){var e,t=this,i=t.o[ZC._[9]][1]instanceof Array?("string"==typeof t.o[ZC._[9]][0]?-1!==(e=ZC.AV(t.A.AZ.IU,t.o[ZC._[9]][0]))?t.BV=e:(t.A.AZ.IU.push(t.o[ZC._[9]][0]),t.BV=t.A.AZ.IU.length-1):t.BV=ZC._f_(t.o[ZC._[9]][0]),null===t.BV||null!==ZC._n_(t.A.K9[t.BV])&&-1!==ZC.AV(t.A.K9[t.BV],t.L)||t.A.V9(t.BV,t.L),t.o[ZC._[9]][1]):t.o[ZC._[9]];"string"==typeof i[0]?-1!==(e=ZC.AV(t.A.CQ.JP,i[0]))?t.C9=e:(t.A.CQ.JP.push(i[0]),t.C9=t.A.CQ.JP.length-1):t.C9=ZC._f_(i[0]),t.DU.push(t.C9),"string"==typeof i[1]?-1!==(e=ZC.AV(t.A.CQ.JP,i[1]))?t.CC=e:(t.A.CQ.JP.push(i[1]),t.CC=t.A.CQ.JP.length-1):t.CC=ZC._f_(i[1]),t.CK=i.join(" "),t.AC=t.CC},setup:function(){var e=this,t=e.A.NG,i=e.A.AZ,n=e.A.CQ,a=[i.W,i.A1,n.W,n.A1,e.MP];null===ZC._n_(e.AH)&&(e.AH=[]),e.A.bFastRange&&(e.E.points=null,e.E.pointsarea=null),e.JS!==a&&(t?(null!==e.BV?e.iY=i.AR(e.BV):e.iY=i.II(e.L),e.iX=n.AR("min"===e.MP?e.C9:e.CC)):(null!==e.BV?e.iX=i.AR(e.BV):e.iX=i.II(e.L),e.iY=n.AR("min"===e.MP?e.C9:e.CC)),e.JS=a),e.A.bFastRange?e.I3=!1:e.I3||ZC.DS(e.iX,e.C.P.iX-10,e.C.P.iX+e.C.P.I+10)&&ZC.DS(e.iY,e.C.P.iY-10,e.C.P.iY+e.C.P.F+10)&&(e.copy(e.A),e.E6=e.A.E6,e.DG()&&e.parse(),e.I3=!0),e.E.NH=n.AR(e.C9),e.E.RA=n.AR(e.CC)},ABE:function(){return this.A.bFastRange?{color:this.A.B9}:{color:this.B9}},Y3:function(){return this.A.bFastRange?{"background-color":this.A.B9,"border-color":this.A.B9,color:this.A.C2}:{"background-color":this.O.B9,"border-color":this.O.B9,color:this.O.C2}},paint:function(){var e,t=this,i=(t.b(),t.A.AZ),n=t.A.OD,a=t.A.NG,l=t.A.S;if(t.setup(),!t.A.bFastRange){null!==ZC._n_(t.A.o[t.MP+"-line"])&&(t.append(t.A.o[t.MP+"-line"]),t.parse()),t.D0=!1,t.C8=t.A.CS("bl",1);var o,r,C,s,A,Z=[],c=[];if("spline"!==t.A.CW){var h=!0,h=(!i.EI&&t.L<=i.W&&(h=!1),(h=l[t.L-t.A.Y]?h:!1)&&(l[t.L-t.A.Y].MP=t.MP,l[t.L-t.A.Y].setup(),a?(K=[t.E.NH,t.iY],I=[l[t.L-t.A.Y].E.NH,l[t.L-t.A.Y].iY],y=[t.E.RA,t.iY],x=[l[t.L-t.A.Y].E.RA,l[t.L-t.A.Y].iY],r=ZC.AQ.A5K(K,I,y,x),o=ZC.DS(r[1],l[t.L-t.A.Y].iY,t.iY)?r:ZC.AQ.K1(l[t.L-t.A.Y].iX,l[t.L-t.A.Y].iY,l[t.L].iX,l[t.L].iY),c.push([o[0],ZC._i_(o[1])])):(K=[t.iX,t.E.NH],I=[l[t.L-t.A.Y].iX,l[t.L-t.A.Y].E.NH],y=[t.iX,t.E.RA],x=[l[t.L-t.A.Y].iX,l[t.L-t.A.Y].E.RA],r=ZC.AQ.A5K(K,I,y,x),o=ZC.DS(r[0],l[t.L-t.A.Y].iX,t.iX)?r:ZC.AQ.K1(l[t.L-t.A.Y].iX,l[t.L-t.A.Y].iY,l[t.L].iX,l[t.L].iY),c.push([ZC._i_(o[0]),o[1]])),Z.push([o[0],o[1]])),c.push(a?[t.iX,ZC._i_(t.iY)]:[ZC._i_(t.iX),t.iY]),Z.push([t.iX,t.iY]),!0);!i.EI&&t.L>=i.A1&&(h=!1),(h=l[t.L+t.A.Y]?h:!1)&&(l[t.L+t.A.Y].MP=t.MP,l[t.L+t.A.Y].setup(),a?(K=[t.E.NH,t.iY],I=[l[t.L+t.A.Y].E.NH,l[t.L+t.A.Y].iY],y=[t.E.RA,t.iY],x=[l[t.L+t.A.Y].E.RA,l[t.L+t.A.Y].iY],r=ZC.AQ.A5K(K,I,y,x),o=ZC.DS(r[1],l[t.L+t.A.Y].iY,t.iY)?r:ZC.AQ.K1(l[t.L].iX,l[t.L].iY,l[t.L+t.A.Y].iX,l[t.L+t.A.Y].iY),c.push([o[0],ZC._i_(o[1])])):(K=[t.iX,t.E.NH],I=[l[t.L+t.A.Y].iX,l[t.L+t.A.Y].E.NH],y=[t.iX,t.E.RA],x=[l[t.L+t.A.Y].iX,l[t.L+t.A.Y].E.RA],r=ZC.AQ.A5K(K,I,y,x),o=ZC.DS(r[0],l[t.L+t.A.Y].iX,t.iX)?r:ZC.AQ.K1(l[t.L].iX,l[t.L].iY,l[t.L+t.A.Y].iX,l[t.L+t.A.Y].iY),c.push([ZC._i_(o[0]),o[1]])),Z.push([o[0],o[1]]))}else{if(typeof t.E["intersect.index"]===ZC._[31]&&(t.E["intersect.index"]=-1,l[t.L+t.A.Y])){var p=[],u=[],_=[];for(b=-1;b<3;b++)l[t.L+b]?(l[t.L+b].setup(),p.push(l[t.L+b].E.NH),_.push(l[t.L+b].E.RA),u.push(a?l[t.L+b].iY:l[t.L+b].iX)):(p.push(t.E.NH),_.push(t.E.RA),u.push(a?t.iY:t.iX));var d=ZC._a_(u[2]-u[1]),f=ZC.AQ.YC(t.A.QI,p,ZC._i_(d)),g=ZC.AQ.YC(t.A.QI,_,ZC._i_(d));if(l[t.L+t.A.Y].C9===l[t.L+t.A.Y].CC)t.E["intersect.index"]=f.length;else for(var B=f[0][1]-g[0][1],b=1,E=f.length;b<E;b++)if(Math.round(B*(f[b][1]-g[b][1]),2)<=0){t.E["intersect.index"]=b+1;break}t.E["spline.points.min"]=f,t.E["spline.points.max"]=g,t.E["spline.xdiff"]=d}d=t.E["spline.xdiff"]||i.AD,null===ZC._n_(t.A.ZW)&&(t.A.ZW={}),null===ZC._n_(t.A.S8)&&(t.A.S8={});var m=[],D=[];if("min"===t.MP){if(null!==ZC._n_(e=t.A.S8.max))for(b=e.length-1;0<=b;b--)t.AH.push(t.A.S8.max[b]);if(null!==ZC._n_(e=t.A.S8.min))for(b=0,E=e.length;b<E;b++)t.AH.push(e[b])}if(null!==ZC._n_(e=t.A.ZW[t.MP]))for(Z=[],b=0,E=e.length;b<E;b++)Z.push(e[b]);if(l[t.L+t.A.Y]&&t.L<i.A1){"min"===t.MP?C=t.E["spline.points.min"]:"max"===t.MP&&(C=t.E["spline.points.max"]);var v=-1===t.E["intersect.index"]?ZC._i_(C.length/2):t.E["intersect.index"],F=a?i.AW?1:-1:i.AW?-1:1;for(b=0;b<v;b++)a?(Z.push([C[b][1],t.iY+F*C[b][0]*d]),c.push([C[b][1],ZC._i_(t.iY+F*C[b][0]*d)])):(Z.push([t.iX+F*C[b][0]*d,C[b][1]]),c.push([ZC._i_(t.iX+F*C[b][0]*d),C[b][1]]));h=1===t.HS?ZC.CY(2,v):1;for(b=v-1,E=C.length;b<E;b++)m.push(a?[C[b][1],t.iY+F*C[b][0]*d]:[t.iX+F*C[b][0]*d,C[b][1]]);for(b=v-h,E=C.length;b<E;b++)D.push(a?[C[b][1],ZC._i_(t.iY+F*C[b][0]*d)]:[ZC._i_(t.iX+F*C[b][0]*d),C[b][1]])}else Z.push([l[t.L].iX,l[t.L].iY]),a?(m.push([l[t.L].iX,ZC._i_(l[t.L].iY)]),c.push([l[t.L].iX,ZC._i_(l[t.L].iY)]),D.push([l[t.L].iX,ZC._i_(l[t.L].iY)])):(m.push([ZC._i_(l[t.L].iX),l[t.L].iY]),c.push([ZC._i_(l[t.L].iX),l[t.L].iY]),D.push([ZC._i_(l[t.L].iX),l[t.L].iY]));t.A.ZW[t.MP]=m,t.A.S8[t.MP]=D}if("min"===t.MP)for(b=0,E=c.length;b<E;b++)t.AH.push(c[b]);else for(b=c.length-1;0<=b;b--)t.AH.push(c[b]);if("max"===t.MP){var K=new ZC.DT(t.A),I=(K.K=t.K+"-area",K.Z=t.A.CS("bl",0),K.copy(t.O),K.B1=0,K.AU=0,K.EU=0,K.G3=0,K.parse(),K.D=t.AH,K.C5=t.A.HS,t.C.P);for(K.D2=[I.iX,I.iY,I.iX+I.I,I.iY+I.F],K.paint(),t.E.pointsarea=[],b=0,E=t.AH.length;b<E;b++)t.E.pointsarea.push(t.AH[b]);t.AH=[],t.A.FV&&(A=K.F1(),s=t.C.K+ZC._[34]+t.C.K+"-plot-"+t.A.L+ZC._[6],t.A.A.H3.push(ZC.Q.FP("poly",t.A.E9,t.A.IE)+'class="'+s+'" id="'+t.K+"--area"+ZC._[30]+A+'" />'))}"min"===t.MP?t.E.points=Z:(t.E.points.push(null),t.E.points=t.E.points.concat(Z));var x,y=new ZC.CZ(t);y.copy(t.O),y.append(t.A.o[t.MP+"-line"]),y.K=t.K+"-line",y.parse(),ZC.CO.setup(n,y),ZC.CO.paint(n,y,Z),"max"===t.MP&&t.paintPreview(t,t.E.points,t.E.pointsarea);(a?ZC.DS(t.iY,i.iY-1,i.iY+i.F+1)&&ZC.DS(t.iX,i.iX-1,i.iX+i.I+1):ZC.DS(t.iX,i.iX-1,i.iX+i.I+1)&&ZC.DS(t.iY,i.iY-1,i.iY+i.F+1))&&((x=new ZC.DT(t.A)).K=t.K+"-marker-"+t.MP,x.Z=x.C8=t.A.CS("fl",0),x.iX=t.iX,x.iY=t.iY,x.B9=t.A.BP[4],x.BX=t.A.BP[4],x.A0=t.A.BP[2],x.AE=t.A.BP[2],x.append(t.A.A2.o),t.A.o[t.MP+"-marker"]&&x.append(t.A.o[t.MP+"-marker"]),x.parse(),x.IQ=function(e){return t.IQ(e)},x.DG()&&x.parse(),x.AP&&"none"!==x.AF&&(t.A.MW>i.A1-i.W&&x.paint(),t.E["marker.type"]=x.DH,s=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],i.AW&&Z.reverse(),t.A.FV)&&(""!==(A=ZC.AQ.PJ(ZC.AQ.Z1(t.E.points),4))&&t.A.A.H3.push(ZC.Q.FP("poly",t.A.E9,t.A.IE)+'class="'+s+'" id="'+t.K+"--"+t.MP+ZC._[30]+A+'" />'),t.A.A.H3.push(ZC.Q.FP("circle",t.A.E9,t.A.IE)+'class="'+s+'" '+t.a11y()+' id="'+t.K+"--"+t.MP+ZC._[30]+ZC._i_(x.iX+ZC.MAPTX)+","+ZC._i_(x.iY+ZC.MAPTX)+","+ZC._i_(1.5*ZC.BR(3,x.AI))+'" />')),t.A.U)&&t.A.U.AP&&t.H1()}},paintPreview:function(e,t,i){var n,a,l,o,r=this;r.C.B7&&r.C.B7.I3&&r.A.QU&&(o=r.C.P,n=r.C.B7,i=r.A.mapPointsToPreview(i),(a=new ZC.DT(r.A)).copy(e),a.D0=!0,a.LB=!0,a.B1=0,a.AU=0,a.EU=0,a.G3=0,a.C5=r.A.HS,a.D2=[o.iX,o.iY,o.iX+o.I,o.iY+o.F],a.K=r.K+"-area-preview",a.Z=n.Z,a.D=i,a.paint(),o=r.A.mapPointsToPreview(t),r.A.VY?l=r.A.VY:(l=new ZC.CZ(r),r.A.VY=l),l.copy(e),i=ZC.Q.EE(n.Z,r.G.AB),l.B1=1,ZC.CO.paint(i,l,o,null,3))},A15:function(){var e,t,i,n,a=this,l=a.A.NG;ZC.move||(e=a.A.AZ,a.A.GB&&a.A.AP&&(i=ZC.Q.EE(a.C.K+ZC._[22],a.G.AB),(n=new ZC.DT(a.A)).K=a.K+"-area-hover",n.Z=ZC.AL(a.C.K+ZC._[22]),n.LB=!0,n.copy(a),n.append(a.A.IK.o),n.D=a.E.pointsarea||[],n.parse(),n.AP&&(n.C5=a.A.HS,t=a.C.P,n.D2=[t.iX,t.iY,t.iX+t.I,t.iY+t.F],ZC.CO.setup(i,n),n.paint()),t=ZC.Q.EE(a.C.K+ZC._[22],a.G.AB),(i=new ZC.CZ(a.A)).K=a.K+"-line-hover",i.D0=!1,i.B9=a.A.BP[3],i.append(a.A.IK.o),i.parse(),i.IQ=function(e){return a.IQ(e)},i.DG()&&i.parse(),i.AP)&&(ZC.CO.setup(t,i),ZC.CO.paint(t,i,a.E.points||[])),a.A.MW>e.A1-e.W&&a.A.GB&&a.A.AP&&(a.b(),(n=new ZC.DT(a.A)).K=a.K+"-marker-max-hover",n.Z=ZC.AL(a.C.K+ZC._[22]),n.DH=a.E["marker.type"],l?(n.iY=a.iY,n.iX=a.E.RA):(n.iX=a.iX,n.iY=a.E.RA),n.B9=a.A.BP[4],n.BX=a.A.BP[4],n.A0=a.A.BP[2],n.AE=a.A.BP[2],n.append(a.A.GB.o),n.parse(),n.IQ=function(e){return a.IQ(e)},n.DG()&&n.parse(),n.AP&&"none"!==n.AF&&n.paint(),n.K=a.K+"-marker-min-hover",l?n.iX=a.E.NH:n.iY=a.E.NH,n.AP)&&"none"!==n.AF&&n.paint())}}),ZC.A7M=ZC.LM.CD({bCXY:!0,U:null,$i:function(e){this.b(e)},parse:function(){this.b()},AB2:function(){this.b();var e=this.C.E;e.update.npv=e.update["node-percent-value"]=this.K2("%npv")},K2:function(e,t,i,n){var a=this,l=a.A.MU(),o=(ZC._cp_(t,l),-1===e.indexOf("%npv")&&-1===e.indexOf("%node-percent-value")||null!==ZC._n_(l[ZC._[12]])&&-1!==l[ZC._[12]]||(l[ZC._[12]]=1),0),r="0";if(0<a.A.A.KP[a.L]&&(r=""+(o=100*a.AC/a.A.A.KP[a.L])),1<a.A.A.A4.length&&a.A.L===a.A.A.A4.length-1){var C=0;if(null===ZC._n_(a.A.o.totals)){for(var s,A,Z=0;Z<a.A.A.A4.length-1;Z++)a.A.A.A4[Z].AP&&null!==ZC._n_(a.A.A.A4[Z].S[a.L])&&(A="0",(s=0)<a.A.A.KP[a.L]&&(A=""+(s=100*a.A.A.A4[Z].S[a.L].AC/a.A.A.KP[a.L])),null!==ZC._n_(l[ZC._[12]])&&(A=s.toFixed(ZC.BR(0,ZC._i_(l[ZC._[12]])))),C+=ZC._f_(A));r=""+(o=Math.max(0,100-C))}}null!==ZC._n_(l[ZC._[12]])&&(r=o.toFixed(ZC.BR(0,ZC._i_(l[ZC._[12]]))));o=ZC._f_(a.A.A.KP[a.L]||"0"),o=ZC.AO.G5(o,l,a.A);return a.CA=[["%node-percent-value",r],["%npv",r],["%pie-total-value",o]],e=a.b(e,t,i,n)},V7:function(e){var t=this,i=(t.B4+t.BL)/2%360,n=0;(n=null!==ZC._n_(e=e["offset-r"])?ZC._f_(ZC._p_(e)):n)<1&&(n*=t.AI);e=new ZC.CE(t.C,(t.CP+.5*(t.AI-t.CP)+t.DX+n)*ZC.EF(i),(t.CP+.5*(t.AI-t.CP)+t.DX+n)*ZC.EL(i),0).EC;return[e[0],e[1],{reference:t,center:!0}]},setup:function(){var e=this,t=e.C.BM(e.A.BW("k")[0]),i=e.L%t.H7,n=Math.floor(e.L/t.H7);e.iX=t.iX+i*t.GM+t.GM/2+t.BK,e.iY=t.iY+n*t.GH+t.GH/2+t.BJ,e.I3||(e.copy(e.A),e.E6=e.A.E6,e.DG()&&e.parse(),e.I3=!0)},ABE:function(e){var t={},i="out";return null!==ZC._n_(e.o[ZC._[7]])&&(i=e.o[ZC._[7]]),t.color="out"===i?this.A0:this.C2,t},AC6:function(n){var e,t,i,a,l=this,o="out",r=(null!==ZC._n_(s=n.o[ZC._[7]])&&(o=s),n.I),C=n.F;s=(l.B4+l.BL)/2%360;if("out"===o){var s=e=l.A.A.YB["n"+l.L][l.A.L],A=function(e,t){t<0&&(t=360+t),t%=360;var e=ZC.AQ.BN(l.iX,l.iY,e+l.DX+n.DX+20,t),i=l.C.ES[ZC._[27]],i=(45<i&&10<l.A.A.A4.length&&(l.C.ES[ZC._[27]]=45+(i-45)/3),a=new ZC.CE(l.C,e[0]-ZC.AM.E1,e[1]-ZC.AM.E2,0),l.C.ES[ZC._[27]]=i,e[0]=a.EC[0],e[1]=a.EC[1],e[0]+n.BK-r/2),e=e[1]+n.BJ-C/2;return 0<=t&&t<=90||270<=t&&t<=360?i+=r/2+10:i-=r/2+10,[i,e]},Z=A(l.AI,e),c=Z[0],h=Z[1];l.U=n;for(var p={x:c,y:h,width:r,height:C},u=zingchart.DEV.SPREADTYPE,_=(b=!0,0),d=0,f=-1,g=0,B=0;b&&B<1024;)for(var b=!1,E=0,m=l.A.A.TS.length;E<m;E++)t=l.A.A.TS[E],(ZC.AQ.VD(p,t,10<l.A.A.A4.length?-8:-2)||p.x+n.I>l.C.P.iX+l.C.P.I||p.x<l.C.P.iX||p.y+n.F>l.C.P.iY+l.C.P.F||p.y<l.C.P.iY)&&(b=!0,0===u?(_+=.4,f*=-1):1===u&&(d+=1),Z=A(l.AI+d,e+_*f),p.x=Z[0],p.y=Z[1],B++,100<++g)&&((g=0)===u?(_=0,d+=4):1===u&&(d=0,_+=1,f*=-1));c=p.x,h=p.y,s=e+_,t={text:l.A.AN,x:p.x,y:p.y,width:r,height:C,plotindex:l.A.L,nodeindex:l.L},l.A.A.TS.push(t)}else"in"===o?(i=l.CP<30?.65:.5,i=ZC.AQ.BN(l.iX,l.iY,l.CP+i*(l.AI-l.CP)+l.DX+n.DX,s),a=new ZC.CE(l.C,i[0]-ZC.AM.E1,i[1]-ZC.AM.E2,0),i[0]=a.EC[0],i[1]=a.EC[1],c=i[0]+n.BK-r/2,h=i[1]+n.BJ-C/2):"center"===o&&(c=(a=new ZC.CE(l.C,l.iX-ZC.AM.E1,l.iY-ZC.AM.E2,0)).EC[0]+n.BK-r/2,h=a.EC[1]+n.BJ-C/2);return b&&(n.AP=!(h=c=-9999)),null!==ZC._n_(n.o.x)&&(c=n.iX),null!==ZC._n_(n.o.y)&&(h=n.iY),-2<=c&&(c=ZC._a_(c)),-2<=h&&(h=ZC._a_(h)),[ZC._i_(c),ZC._i_(h),s]},H1:function(e,t){var i,n,a,l,o=this,t=o.b(e,t);if(e)return t;o.AP&&t.AP&&null!==ZC._n_(t.AN)&&""!==t.AN&&(e="out")===(e=null!==ZC._n_(t.o[ZC._[7]])?t.o[ZC._[7]]:e)&&(e=!0,e=null!==ZC._n_(i=t.o.connected)?ZC._b_(i):e)&&((i=new ZC.DT(o.A)).Z=i.C8=o.A.CS("bl",0),i.append(o.A.C3.o),i.B9=o.A0,i.DH="line",i.D=[],e=t.E.positioninfo,(a=0)<=(n=(o.B4+o.BL)/2%360)&&n<=180&&(a=o.E.thickness/2),l=ZC.AQ.BN(o.iX,o.iY,o.AI+o.DX+t.DX,n),(l=new ZC.CE(o.C,l[0]-ZC.AM.E1,l[1]-ZC.AM.E2,a).EC)[0]+=o.BK,l[1]+=o.BJ,i.D.push(l),l=ZC.AQ.BN(o.iX,o.iY,o.AI+o.DX+t.DX+20,n),(l=new ZC.CE(o.C,l[0]-ZC.AM.E1,l[1]-ZC.AM.E2,a).EC)[0]+=o.BK,l[1]+=o.BJ,t.iX>=o.iX?i.D.push([l[0],l[1],e[0],e[1]+t.F/2]):i.D.push([l[0],l[1],e[0]+t.I+2,e[1]+t.F/2]),i.parse(),i.IQ=function(e){return o.IQ(e)},i.DG()&&i.parse(),i.AP)&&i.paint()},paint:function(){var e,l,t,o=this,r=o.C.CN,i=o.C.BM(o.A.BW("k")[0]),n=o.C.ES[ZC._[27]],a=o.C.ES[ZC._[28]],C=(o.setup(),"pie-sel-"+o.A.L+"-"+o.L);if(typeof o.o.detached!==ZC._[31]&&(o.C.E[C]=ZC._b_(o.o.detached)),!(o.AC<0)){var s,n=ZC.BR(.7,ZC.EF(n)),A=(o.AI=ZC.CY(i.GH/n,i.GM)/2,null!==ZC._n_(o.A.o[ZC._[21]])?o.AI=o.A.AI:o.AI=i.JU*o.AI,o.CP<1&&(o.CP*=o.AI),o.CP=Math.max(0,o.CP),o.o[ZC._[8]]=o.CP,o.DX<1&&(o.DX*=o.AI),o.o["offset-r"]=o.DX,o.A.JK),Z=(-1===A&&(A=o.AI/5),o.E.thickness=A,o.iX-ZC.AM.E1),c=o.iY-ZC.AM.E2,n=(o.B4=ZC._i_(o.B4),o.BL=ZC._i_(o.BL),(o.B4+o.BL)/2),i=(o.C.E[C]&&(o.DX+=ZC._i_(.15*o.AI)),0<o.DX&&(Z+=o.DX*ZC.EF(n),c+=o.DX*ZC.EL(n)),o.O=o.A.IJ(o,o)),h=(i.DF=o.K+"-3dfacet",new ZC.CZ(o));if(h.copy(i),h.A0=ZC.AO.JR(ZC.AO.GD(h.A0)),h.AE=ZC.AO.JR(ZC.AO.GD(h.AE)),0<=o.AC||0===o.A.A.KP[o.L]){for(e=o.B4,(t=[]).push([Z+o.CP*ZC.EF(e),c+o.CP*ZC.EL(e),0]),e=o.B4;e<=o.BL;e+=1)t.push([Z+o.AI*ZC.EF(e),c+o.AI*ZC.EL(e),0]);for(e=o.BL,t.push([Z+o.CP*ZC.EF(e),c+o.CP*ZC.EL(e),0]),e=o.BL;e>=o.B4;--e)t.push([Z+o.CP*ZC.EF(e),c+o.CP*ZC.EL(e),0]);if((C=ZC.DL.DA(i,o.C,t)).K=o.K+"-facet1",r.add(C),l=null,(o.B4%360>=0+a&&o.B4%360<180+a||o.BL%360>0+a)&&(s=o.B4,n=o.BL,i=function(e,t,i){var n=[],a=e;for(n.push([Z+o.AI*ZC.EF(a),c+o.AI*ZC.EL(a),0]),a=e;a<=t;a+=1)n.push([Z+o.AI*ZC.EF(a),c+o.AI*ZC.EL(a),0]);for(a=t,n.push([Z+o.AI*ZC.EF(a),c+o.AI*ZC.EL(a),A]),a=t;e<=a;--a)n.push([Z+o.AI*ZC.EF(a),c+o.AI*ZC.EL(a),A]);(l=ZC.DL.DA(h,o.C,n)).MG=[.01,1,1,1],l.K=o.K+"-facet2"+i,r.add(l)},s<180&&360<n?(i(s=s<0?s+360:s,180,1),i(360,n,2)):(s=ZC.BR(s,360<n?365:5))<(n=ZC.CY(n,360<n?535:175))&&i(s,n,1)),n=null,o.CP>0+a&&o.BL>180+a){for(e=o.B4,s=o.B4,o.B4<180+a&&o.BL>180+a&&(s=e=180+a),(t=[]).push([Z+o.CP*ZC.EF(e),c+o.CP*ZC.EL(e),0]),e=s;e<=o.BL;e+=1)t.push([Z+o.CP*ZC.EF(e),c+o.CP*ZC.EL(e),0]);for(e=o.BL,t.push([Z+o.CP*ZC.EF(e),c+o.CP*ZC.EL(e),A]),e=o.BL;s<=e;--e)t.push([Z+o.CP*ZC.EF(e),c+o.CP*ZC.EL(e),A]);(n=ZC.DL.DA(h,o.C,t)).K=o.K+"-facet3",r.add(n)}var i=function(e,t,i){return[[Z+e*ZC.EF(i),c+e*ZC.EL(i),0],[Z+e*ZC.EF(i),c+e*ZC.EL(i),A],[Z+t*ZC.EF(i),c+t*ZC.EL(i),A],[Z+t*ZC.EF(i),c+t*ZC.EL(i),0]]},p=((a=ZC.DL.DA(h,o.C,{points:i(o.CP,o.AI,o.B4),mathpoints:i(o.CP+1,o.AI+1,o.B4-1)})).K=o.K+"-facet4",r.add(a),(i=ZC.DL.DA(h,o.C,{points:i(o.CP,o.AI,o.BL),mathpoints:i(o.CP+1,o.AI+1,o.BL+1)})).K=o.K+"-facet5",r.add(i),o.C.K+ZC._[34]+o.C.K+ZC._[35]+o.A.L+ZC._[6]),p=ZC.Q.FP("poly",o.A.E9)+'class="'+p+'" id="'+o.K,u=o.A.A.H3;u.push(p+'--top" '+o.a11y()+' data-z-sort="1" coords="'+C.F1()+'" />'),l&&u.push(p+'--outer" data-z-sort="1" coords="'+l.F1()+'" />'),(0<o.CP||0<o.DX)&&(n&&u.push(p+'--inner" data-z-sort="2" coords="'+n.F1()+'" />'),u.push(p+'--start" data-z-sort="2" coords="'+a.F1()+'" />',p+'--end" data-z-sort="2" coords="'+i.F1()+'" />'))}o.A.U&&o.H1()}},X6:function(e,t){this.b(e,t),"click"===t&&e.which<=1&&this.A.A7U&&(t="pie-sel-"+this.A.L+"-"+this.L,this.C.E[t]=typeof this.C.E[t]===ZC._[31]||!this.C.E[t],this.C.KC())}}),ZC.A6X=ZC.ZL.CD({setup:function(){this.R2()},V7:function(){var e=this,t=(e.paint(!0),e.C.BM(e.A.BW("v")[0])),i=e.iX+e.I/2,t=e.iY+(t.AW?e.F:0),i=new ZC.CE(e.C,i-ZC.AM.E1,t-ZC.AM.E2,e.A.E["z-start"]);return[ZC._i_(i.EC[0]),ZC._i_(i.EC[1]),{reference:e,center:!0}]},AC6:function(e){var t,i=this.b(e);return"-1/-1"!==i.join("/")?(t=new ZC.CE(this.C,i[0]+e.I/2-ZC.AM.E1,i[1]+e.F/2-ZC.AM.E2,this.A.E["z-mid"]),[ZC._i_(t.EC[0])-e.I/2,ZC._i_(t.EC[1])-e.F/2]):i},paint:function(w){var S,P,O,e,t,i,n,a,l,o,r,N,Q,C,s=this,A=(s.b(),typeof w===ZC._[31]&&(w=!1),s.C.CN),k=s.A.AZ,Z=s.A.CQ,c=(s.setup(),s.A.SU()),h=c.AD,p=c.EV,z=c.CH,V=c.CU,T=c.F5,H=c.D5,J=c.F0;if(w?p=s.A.E["node-"+s.L+"-bar-index"]:s.A.E["node-"+s.L+"-bar-index"]=c.EV,s.A.CG)for(var R=0,U=s.A.A.KH[p],u=0;u<U.length;u++){var W=s.A.A.A4[U[u]].S[s.L];W&&(R+=W.AC)}var _=1,d=1,f=(s.A.CG&&0<R&&(s.CR!==s.AC&&(_=(R-s.CR+s.AC)/R),d=(R-s.CR)/R),Z.AW&&(c=_,_=d,d=c),s.A.LT&&(p=s.L),s.iX-h/2+z+p*(H+T)-p*J),f=ZC._l_(f,s.iX-h/2+z,s.iX+h/2-V),T=(0<s.A.D5&&(c=H,(H=s.A.D5)<=1&&(H*=c),f+=(c-H)/2),H),g=s.iY,p=null!==ZC._n_(s.A.LZ[s.L])?s.A.LZ[s.L]:0,g=s.A.CG&&"100%"===s.A.KT?Z.AR(100*(s.CR+p)/s.A.A.F9[s.L]["%total-"+s.A.DZ]):Z.AR(s.CR+p);if(s.A.CG?(e=g-(O="100%"===s.A.KT?Z.AR(100*(s.CR-s.AC+p)/s.A.A.F9[s.L]["%total-"+s.A.DZ]):Z.AR(s.CR-s.AC+p)),s.AC<0&&(g=O),Z.AW?0<e&&(e=ZC._a_(e),g=O):e<0&&(g=O-(e=ZC._a_(e)))):g=(e=g-(O=Z.AR(p)))<0?O-(e=ZC._a_(e)):O,z+V===0&&(f-=.5,T+=1),s.I=T,s.F=e,s.iX=f,s.iY=g,Z.AW?s.AC>=Z.HC?s.iYVal=g+s.F:s.iYVal=g:s.AC>=Z.HC?s.iYVal=g:s.iYVal=g+s.F,s.C.CX&&(J="middle",s.C.CX.o.marker&&null!==ZC._n_(S=s.C.CX.o.marker.alignment)&&(J=S),"node"===(J=null!==ZC._n_(s.A.o["guide-marker"])&&null!==ZC._n_(S=s.A.o["guide-marker"].alignment)?S:J))&&(s.E.A5O=s.iX+s.I/2),!w){var B,b,j,q,E=f-ZC.AM.E1,m=g-ZC.AM.E2,D=ZC.AM.FE,v=0,h=D;if(s.A.A3N){if(j=0,"mixed3d"===s.C.AF||"mixed"===s.C.AF){for(b=1,u=0,P=s.A.A.A4.length;u<P;u++)"vbar3d"!==s.A.A.A4[u].AF&&b++;j=(b-1)*(ZC.AM.FE/b),D=ZC._i_(.9*D/b)}q=j+D}else{if(b=0,v=-1,h=ZC.AM.FE,"hide"===s.C.getToggleAction())b=s.A.A.A4.length,v=s.A.L,h/=b;else if(s.A.CG)v=0;else{for(u=0;u<s.A.A.A4.length;u++)s.C.E["plot"+u+".visible"]&&v++;for(u=0;u<s.A.A.A4.length;u++)s.C.E["plot"+u+".visible"]&&(b++,s.A.L>u)&&v--;h/=b,v=b-v-1}j=v*h+.2*h,q=(v+1)*h-.2*h}null!==ZC._n_(s.A.o["z-start"])&&(j=ZC._i_(s.A.o["z-start"])),null!==ZC._n_(s.A.o["z-end"])&&(q=ZC._i_(s.A.o["z-end"])),null!==ZC._n_(s.A.o.depth)&&(j=v*h+h/2-(c=ZC._i_(s.A.o.depth)),q=v*h+h/2+c),D=q-(B=j),s.A.E["z-plots"]=b,s.A.E["z-cnt"]=v,s.A.E["z-depth"]=h,s.A.E["z-start"]=j,s.A.E["z-mid"]=(j+q)/2;var F=s.O=s.A.IJ(s,s.O);if(F.DF=s.K+"-3dfacet",s.A.HZ&&(s.H8(F),F.parse()),F.AP){var K=new ZC.CZ(s),I=(K.copy(F),K.A0=ZC.AO.JR(ZC.AO.GD(K.A0)),K.AE=ZC.AO.JR(ZC.AO.GD(K.AE)),K.BX=ZC.AO.JR(ZC.AO.GD(K.BX)),new ZC.CZ(s)),$=(I.copy(F),I.A0=ZC.AO.JR(ZC.AO.GD(I.A0),15),I.AE=ZC.AO.JR(ZC.AO.GD(I.AE),15),I.BX=ZC.AO.JR(ZC.AO.GD(I.BX),15),new ZC.CZ(s)),H=($.copy(F),s.C.K+ZC._[34]+s.C.K+ZC._[35]+s.A.L+ZC._[6]),ee=ZC.Q.FP("poly",s.A.E9,s.O.IE)+'class="'+H+'" id="'+s.K,x=s.C.ES.true3d,y=s.I/2,Y=D/2,te=_*y,ie=d*y,ne=d*Y,ae=_*Y,L=Z.AW&&!s.A.CG?(t=0<=s.AC?0:s.F,0<=s.AC?s.F:0):(t=0<=s.AC?s.F:0,0<=s.AC?0:s.F),le=s.A.A.H3,G=ZC.CY(Y,y),oe=s.C.ES[ZC._[28]],p=s.C.ES.angle,re=ZC.EF(p)*Y,Ce=ZC.EL(p)*Y,X=(x||(G=ZC.CY(2*re,y)),function(e){var t=0,i=s.A.L,n=s.L,a=s.A.A.A4.length,l=s.A.S.length;switch((s.A.CG?"s":"")+(k.AW?"k":"")+(Z.AW?"v":"")){case"":case"v":t=10*i+1e4*n+e;break;case"sv":t=10*(a-i)+1e4*n+e;break;case"k":t=10*i+1e4*(l-n)+e;break;case"skv":t=10*(a-i)+1e4*(l-n)+e;break;case"kv":t=10*i+1e4*(l-n)+e;break;case"s":t=10*i+1e4*n+e;break;case"sk":t=10*i+1e4*(l-n)+e}return t}),se=ZC.MAX,Ae=-ZC.MAX,Ze=ZC.MAX,ce=-ZC.MAX,he=ZC.MAX,pe=-ZC.MAX,ue=ZC.MAX,_e=-ZC.MAX;if("cylinder"===s.A.CW)for(C=0;C<=360;C+=4)(n=new ZC.CE(s.C,E+ZC.EL(C)*G+y,m,B+ZC.EF(C)*G+Y)).EC[0]<Ze&&(Ze=n.EC[0],se=C),n.EC[0]>ce&&(ce=n.EC[0],Ae=C),(n=new ZC.CE(s.C,E+ZC.EL(C)*G+y,m+s.F,B+ZC.EF(C)*G+Y)).EC[0]<ue&&(ue=n.EC[0],he=C),n.EC[0]>_e&&(_e=n.EC[0],pe=C);var M=s.A.o.facets||{};switch(s.A.CW){default:(r=M.bottom?((i=new ZC.CZ(s)).copy(K),i.append(M.bottom),i.parse(),ZC.DL.DD(i,s.C,.1+E,E+s.I-.1,m+s.F-.1,m+s.F-.1,B+.1,B+D-.1,"x")):ZC.DL.DD(K,s.C,.1+E,E+s.I-.1,m+s.F-.1,m+s.F-.1,B+.1,B+D-.1,"x")).K=s.K+"-facet1",r.G0=X(1),A.add(r),(o=M.top?((i=new ZC.CZ(s)).copy(K),i.append(M.top),i.parse(),ZC.DL.DD(i,s.C,.1+E,E+s.I-.1,.1+m,.1+m,B+.1,B+D-.1,"x")):ZC.DL.DD(K,s.C,.1+E,E+s.I-.1,.1+m,.1+m,B+.1,B+D-.1,"x")).K=s.K+"-facet2",o.G0=X(3),A.add(o),(N=M.left?((i=new ZC.CZ(s)).copy(I),i.append(M.left),i.parse(),ZC.DL.DD(i,s.C,.1+E,.1+E,.1+m,m+s.F-.1,B+.1,B+D-.1,"z")):ZC.DL.DD(I,s.C,.1+E,.1+E,.1+m,m+s.F-.1,B+.1,B+D-.1,"z")).K=s.K+"-facet3",N.G0=X(2),A.add(N),(Q=M.right?((i=new ZC.CZ(s)).copy(I),i.append(M.right),i.parse(),ZC.DL.DD(i,s.C,E+s.I-.1,E+s.I-.1,.1+m,m+s.F-.1,B+.1,B+D-.1,"z")):ZC.DL.DD(I,s.C,E+s.I-.1,E+s.I-.1,.1+m,m+s.F-.1,B+.1,B+D-.1,"z")).K=s.K+"-facet4",Q.G0=X(4),A.add(Q),(l=M.front?((i=new ZC.CZ(s)).copy($),i.append(M.front),i.parse(),ZC.DL.DD(i,s.C,.1+E,E+s.I-.1,.1+m,m+s.F-.1,B+.1,B+.1,"y")):ZC.DL.DD($,s.C,.1+E,E+s.I-.1,.1+m,m+s.F-.1,B+.1,B+.1,"y")).K=s.K+"-facet5",l.G0=X(5),A.add(l),s.A.FV&&(1===d&&le.push(ee+"--top"+ZC._[30]+o.F1()+'" />'),le.push(ee+"--left"+ZC._[30]+N.F1()+'" />',ee+"--right"+ZC._[30]+Q.F1()+'" />',ee+"--front"+ZC._[30]+l.F1()+'" '+s.a11y()+' data-z-sort="-100" />'));break;case"pyramid":(r=M.bottom?((i=new ZC.CZ(s)).copy(K),i.append(M.bottom),i.parse(),ZC.DL.DD(i,s.C,E+y-te,E+y+te,m+t,m+t,B+Y-ae,B+Y+ae,"x")):ZC.DL.DD(K,s.C,E+y-te,E+y+te,m+t,m+t,B+Y-ae,B+Y+ae,"x")).K=s.K+"-facet1",r.G0=X(Z.AW&&!s.A.CG?6:1),A.add(r),a=[[E+y-te,m+t,B+Y-ae],[E+y+te,m+t,B+Y-ae]],s.A.CG&&0!==d?a.push([E+y+ie,m+L,B+Y-ne],[E+y-ie,m+L,B+Y-ne]):a.push([E+y,m+L,B+Y]),(l=M.front?((i=new ZC.CZ(s)).copy(F),i.append(M.front),i.parse(),ZC.DL.DA(i,s.C,a)):ZC.DL.DA(F,s.C,a)).K=s.K+"-facet2",l.G0=X(3),A.add(l),a=[[E+y-te,m+t,B+Y-ae],[E+y-te,m+t,B+Y+ae]],s.A.CG&&0!==d?a.push([E+y-ie,m+L,B+Y+ne],[E+y-ie,m+L,B+Y-ne]):a.push([E+y,m+L,B+Y]),(N=M.left?((i=new ZC.CZ(s)).copy(I),i.append(M.left),i.parse(),ZC.DL.DA(i,s.C,a)):ZC.DL.DA(I,s.C,a)).K=s.K+"-facet3",N.G0=X(2),A.add(N),a=[[E+y+te,m+t,B+Y-ae],[E+y+te,m+t,B+Y+ae]],s.A.CG&&0!==d?a.push([E+y+ie,m+L,B+Y+ne],[E+y+ie,m+L,B+Y-ne]):a.push([E+y,m+L,B+Y]),(Q=M.right?((i=new ZC.CZ(s)).copy(I),i.append(M.right),i.parse(),ZC.DL.DA(i,s.C,a)):ZC.DL.DA(I,s.C,a)).K=s.K+"-facet4",Q.G0=X(4),A.add(Q),s.A.CG&&0!==d&&(a=[[E+y-ie,m+L,B+Y-ne],[E+y-ie,m+L,B+Y+ne],[E+y+ie,m+L,B+Y+ne],[E+y+ie,m+L,B+Y-ne]],(o=M.top?((i=new ZC.CZ(s)).copy(K),i.append(M.top),i.parse(),ZC.DL.DA(i,s.C,a)):ZC.DL.DA(K,s.C,a)).K=s.K+"-facet5",o.G0=X(5),A.add(o)),s.A.FV&&le.push(ee+"--left"+ZC._[30]+N.F1()+'" />',ee+"--right"+ZC._[30]+Q.F1()+'" />',ee+"--front"+ZC._[30]+l.F1()+'" '+s.a11y()+' data-z-sort="-100" />');break;case"cylinder":if(a=[],x)for(C=0;C<=360;C+=5)a.push([E+ZC.EL(C)*G+y,m+s.F,B+ZC.EF(C)*G+Y]);else for(C=0;C<=360;C+=5)(n=new ZC.CE(s.C,0,0,0)).EC=[f+ZC.EF(C)*G+y+re,g+s.F+ZC.EL(C)*(G/2)-Ce],a.push(n);if((r=M.bottom?((i=new ZC.CZ(s)).copy(K),i.append(M.bottom),i.parse(),ZC.DL.DA(i,s.C,a,!x)):ZC.DL.DA(K,s.C,a,!x)).K=s.K+"-facet1",r.G0=X(1),A.add(r),a=[],x)for(C=0;C<=360;C+=5)a.push([E+ZC.EL(C)*G+y,m,B+ZC.EF(C)*G+Y]);else for(C=0;C<=360;C+=5)(n=new ZC.CE(s.C,0,0,0)).EC=[f+ZC.EF(C)*G+y+re,g+ZC.EL(C)*(G/2)-Ce],a.push(n);if((o=M.top?((i=new ZC.CZ(s)).copy(K),i.append(M.top),i.parse(),ZC.DL.DA(i,s.C,a,!x)):ZC.DL.DA(K,s.C,a,!x)).K=s.K+"-facet2",o.G0=X(3),A.add(o),a=[],x){for(C=ZC.CY(se,Ae);C<=ZC.BR(se,Ae);C+=1)a.push([E+ZC.EL(C)*G+y,m,B+ZC.EF(C)*G+Y]);for(a.push([E+ZC.EL(C)*G+y,m+s.F,B+ZC.EF(C)*G+Y]),C=ZC.BR(he,pe);C>=ZC.CY(he,pe);--C)a.push([E+ZC.EL(C)*G+y,m+s.F,B+ZC.EF(C)*G+Y])}else{for(C=0;C<=180;C+=5)(n=new ZC.CE(s.C,0,0,0)).EC=[f+ZC.EF(C)*G+y+re,g+s.F+ZC.EL(C)*(G/2)-Ce],a.push(n);for(C=180;0<=C;C-=5)(n=new ZC.CE(s.C,0,0,0)).EC=[f+ZC.EF(C)*G+y+re,g+ZC.EL(C)*(G/2)-Ce],a.push(n)}(l=M.front?((i=new ZC.CZ(s)).copy(F),i.append(M.front),i.parse(),ZC.DL.DA(i,s.C,a,!x)):ZC.DL.DA(F,s.C,a,!x)).K=s.K+"-facet3",l.G0=X(2),A.add(l),s.A.FV&&le.push(ee+"--front"+ZC._[30]+l.F1()+'" '+s.a11y()+' data-z-sort="-100" />',ee+"--top"+ZC._[30]+o.F1()+'" />');break;case"cone":if(a=[],x)for(C=0;C<=360;C+=5)a.push([E+ZC.EL(C)*G*_+y,m+t,B+ZC.EF(C)*G*_+Y]);else for(C=0;C<=360;C+=5)(n=new ZC.CE(s.C,0,0,0)).EC=[f+ZC.EF(C)*G*_+y+re,g+t+ZC.EL(C)*(G/2)*_-Ce],a.push(n);if((r=M.bottom?((i=new ZC.CZ(s)).copy(K),i.append(M.bottom),i.parse(),ZC.DL.DA(i,s.C,a,!x)):ZC.DL.DA(K,s.C,a,!x)).K=s.K+"-facet1",r.G0=X(1),A.add(r),a=[],x){for(C=90+oe;C<=270+oe;C+=5)a.push([E+ZC.EL(C)*G*_+y,m+t,B+ZC.EF(C)*G*_+Y]);if(s.A.CG&&0!==d)for(C=270+oe;90+oe<=C;C-=5)a.push([E+ZC.EL(C)*G*d+y,m+L,B+ZC.EF(C)*G*d+Y]);else a.push([E+y,m+L,B+Y])}else{for(C=0;C<=180;C+=5)(n=new ZC.CE(s.C,0,0,0)).EC=[f+ZC.EF(C)*G*_+y+re,g+t+ZC.EL(C)*(G/2)*_-Ce],a.push(n);if(s.A.CG&&0!==d)for(C=180;0<=C;C-=5)(n=new ZC.CE(s.C,0,0,0)).EC=[f+ZC.EF(C)*G*d+y+re,g+L+ZC.EL(C)*(G/2)*d-Ce],a.push(n);else(n=new ZC.CE(s.C,0,0,0)).EC=[f+y+re,g+L-Ce],a.push(n)}if((l=M.front?((i=new ZC.CZ(s)).copy(F),i.append(M.front),i.parse(),ZC.DL.DA(i,s.C,a,!x)):ZC.DL.DA(F,s.C,a,!x)).K=s.K+"-facet2",l.G0=X(2),A.add(l),s.A.CG&&0!==d){if(a=[],x)for(C=0;C<=360;C+=5)a.push([E+ZC.EL(C)*G*d+y,m+L,B+ZC.EF(C)*G*d+Y]);else for(C=0;C<=360;C+=5)(n=new ZC.CE(s.C,0,0,0)).EC=[f+ZC.EF(C)*G*d+y+re,g+L+ZC.EL(C)*(G/2)*d-Ce],a.push(n);(o=M.top?((i=new ZC.CZ(s)).copy(K),i.append(M.top),i.parse(),ZC.DL.DA(i,s.C,a,!x)):ZC.DL.DA(K,s.C,a,!x)).K=s.K+"-facet3",A.add(o),o.G0=X(3)}s.A.FV&&le.push(ee+"--front"+ZC._[30]+l.F1()+'" data-z-sort="-100" />')}s.A.U&&s.A.U.AP&&s.H1()}s.paintPreview(F)}},A15:function(){}}),ZC.A6Y=ZC.ZM.CD({setup:function(){this.R2()},V7:function(){var e=this,t=(e.paint(!0),e.C.BM(e.A.BW("v")[0])),t=e.iX+(t.AW?0:e.I),i=e.iY+e.F/2,t=new ZC.CE(e.C,t-ZC.AM.E1,i-ZC.AM.E2,e.A.E["z-start"]);return[ZC._i_(t.EC[0]),ZC._i_(t.EC[1]),{reference:e,center:!0}]},AC6:function(e){var t,e=this.b(e);return"-1/-1"!==e.join("/")?(t=new ZC.CE(this.C,e[0]-ZC.AM.E1,e[1]-ZC.AM.E2,this.A.E["z-start"]),[ZC._i_(t.EC[0]),ZC._i_(t.EC[1])]):e},paint:function(w){var S,e,t,i,P,n,a,l,O,o,r,C,s=this,A=(s.b(),typeof w===ZC._[31]&&(w=!1),s.C.CN),N=s.A.AZ,Z=s.A.CQ,c=(s.setup(),s.A.SU()),Q=c.AD,h=c.EV,k=c.CH,z=c.CU,V=c.F5,T=c.D5,H=c.F0;if(w?h=s.A.E["node-"+s.L+"-bar-index"]:s.A.E["node-"+s.L+"-bar-index"]=c.EV,s.A.CG)for(var J=0,R=s.A.A.KH[h],U=0;U<R.length;U++){var W=s.A.A.A4[R[U]].S[s.L];W&&(J+=W.AC)}var p=1,u=1,_=(s.A.CG&&(s.CR!==s.AC&&(p=(J-s.CR+s.AC)/J),u=(J-s.CR)/J),Z.AW&&(c=p,p=u,u=c),s.A.LT&&(h=s.L),s.iY-Q/2+k+h*(T+V)-h*H),_=ZC._l_(_,s.iY-Q/2+k,s.iY+Q/2-z),V=(0<s.A.D5&&(c=T,(T=s.A.D5)<=1&&(T*=c),_+=(c-T)/2),T),d=s.iX,h=null!==ZC._n_(s.A.LZ[s.L])?s.A.LZ[s.L]:0,d=s.A.CG&&"100%"===s.A.KT?Z.AR(100*(s.CR+h)/s.A.A.F9[s.L]["%total-"+s.A.DZ]):Z.AR(s.CR+h);if(s.A.CG?(e=d-(S="100%"===s.A.KT?Z.AR(100*(s.CR-s.AC+h)/s.A.A.F9[s.L]["%total-"+s.A.DZ]):Z.AR(s.CR-s.AC+h)),0<s.AC?d=S:e=ZC._a_(e),Z.AW?0<e?(e=ZC._a_(e),d=S):d-=e=ZC._a_(e):e<0&&(d=S-(e=ZC._a_(e)))):d=(e=d-(S=Z.AR(h)))<0?S-(e=ZC._a_(e)):S,k+z===0&&(_-=.5,V+=1),s.I=e,s.F=V,s.iX=d,s.iY=_,Z.AW?s.AC>=Z.HC?s.iXVal=d:s.iXVal=d+s.I:s.AC>=Z.HC?s.iXVal=d+s.I:s.iXVal=d,!w){var f=d+e-ZC.AM.E1,g=_-ZC.AM.E2,B=0,b=ZC.AM.FE,E=(null!==ZC._n_(s.A.o["z-start"])&&(B=ZC._i_(s.A.o["z-start"])),null!==ZC._n_(s.A.o["z-end"])&&(b=ZC._i_(s.A.o["z-end"])-B),s.A.E["z-start"]=B,s.A.E["z-mid"]=B+b/2,s.O=s.A.IJ(s,s.O));if(E.DF=s.K+"-3dfacet",s.A.HZ&&(s.H8(E),E.parse()),E.AP){var m=new ZC.CZ(s),D=(m.copy(E),m.A0=ZC.AO.JR(ZC.AO.GD(m.A0)),m.AE=ZC.AO.JR(ZC.AO.GD(m.AE)),m.BX=ZC.AO.JR(ZC.AO.GD(m.BX)),new ZC.CZ(s)),j=(D.copy(E),D.A0=ZC.AO.JR(ZC.AO.GD(D.A0),15),D.AE=ZC.AO.JR(ZC.AO.GD(D.AE),15),D.BX=ZC.AO.JR(ZC.AO.GD(D.BX),15),new ZC.CZ(s)),H=(j.copy(E),s.C.K+ZC._[34]+s.C.K+ZC._[35]+s.A.L+ZC._[6]),v=ZC.Q.FP("poly",s.A.E9,s.O.IE)+'class="'+H+'" id="'+s.K,F=s.C.ES.true3d,K=s.F/2,I=b/2,x=p*K,y=u*K,Y=u*I,q=p*I,L=Z.AW&&!s.A.CG?(t=0<=s.AC?0:s.I,0<=s.AC?s.I:0):(t=0<=s.AC?s.I:0,0<=s.AC?0:s.I),$=s.A.A.H3,G=ZC.CY(I,K),ee=s.C.ES[ZC._[27]],Q=s.C.ES.angle,te=ZC.EF(Q)*I,ie=ZC.EL(Q)*I,X=(F||(G=ZC.CY(2*ie,K)),function(e){var t=-1,i=s.A.L,n=s.L,a=s.A.A.A4.length,l=s.A.S.length;switch((s.A.CG?"s":"")+(N.AW?"k":"")+(Z.AW?"v":"")){case"":case"v":case"sv":t=10*(a-i)+1e4*n+e;break;case"k":case"skv":case"kv":t=10*(a-i)+1e4*(l-n)+e;break;case"s":t=10*i+1e4*n+e;break;case"sk":t=10*i+1e4*(l-n)+e}return ZC._i_(t)}),M=s.A.o.facets||{};switch(s.A.CW){default:(P=M.left?((i=new ZC.CZ(s)).copy(D),i.append(M.left),i.parse(),ZC.DL.DD(i,s.C,f-s.I+.1,f-.1,.1+g,.1+g,B+.1,B+b-.1,"x")):ZC.DL.DD(D,s.C,f-s.I+.1,f-.1,.1+g,.1+g,B+.1,B+b-.1,"x")).K=s.K+"-facet1",P.G0=X(5),A.add(P),(O=M.right?((i=new ZC.CZ(s)).copy(D),i.append(M.right),i.parse(),ZC.DL.DD(i,s.C,f-s.I+.1,f-.1,g+s.F-.1,g+s.F-.1,B+.1,B+b-.1,"x")):ZC.DL.DD(D,s.C,f-s.I+.1,f-.1,g+s.F-.1,g+s.F-.1,B+.1,B+b-.1,"x")).K=s.K+"-facet2",O.G0=X(1),A.add(O),(n=M.bottom?((i=new ZC.CZ(s)).copy(m),i.append(M.bottom),i.parse(),ZC.DL.DD(i,s.C,f-s.I+.1,f-s.I+.1,g+s.F-.1,.1+g,B+.1,B+b-.1,"z")):ZC.DL.DD(m,s.C,f-s.I+.1,f-s.I+.1,g+s.F-.1,.1+g,B+.1,B+b-.1,"z")).K=s.K+"-facet3",n.G0=X(2),A.add(n),(a=M.top?((i=new ZC.CZ(s)).copy(m),i.append(M.top),i.parse(),ZC.DL.DD(i,s.C,f-.1,f-.1,g+s.F-.1,.1+g,B+.1,B+b-.1,"z")):ZC.DL.DD(m,s.C,f-.1,f-.1,g+s.F-.1,.1+g,B+.1,B+b-.1,"z")).K=s.K+"-facet4",a.G0=X(3),A.add(a),(l=M.front?((i=new ZC.CZ(s)).copy(j),i.append(M.front),i.parse(),ZC.DL.DD(i,s.C,f-s.I+.1,f-.1,g+s.F-.1,.1+g,B+.1,B+.1,"y")):ZC.DL.DD(j,s.C,f-s.I+.1,f-.1,g+s.F-.1,.1+g,B+.1,B+.1,"y")).K=s.K+"-facet5",l.G0=X(4),A.add(l),s.A.FV&&(s.A.CG||$.push(v+"--top"+ZC._[30]+a.F1()+'" />'),$.push(v+"--left"+ZC._[30]+P.F1()+'" />',v+"--right"+ZC._[30]+O.F1()+'" />',v+"--front"+ZC._[30]+l.F1()+'" '+s.a11y()+' data-z-sort="-100" />'));break;case"pyramid":(n=M.bottom?((i=new ZC.CZ(s)).copy(m),i.append(M.bottom),i.parse(),ZC.DL.DD(i,s.C,f-t,f-t,g+K-x,g+K+x,I-q,I+q,"z")):ZC.DL.DD(m,s.C,f-t,f-t,g+K-x,g+K+x,I-q,I+q,"z")).K=s.K+"-facet1",n.G0=X(Z.AW&&!s.A.CG?6:1),A.add(n),C=[[f-t,g+K-x,I-q],[f-t,g+K+x,I-q]],s.A.CG&&0!==u?C.push([f-L,g+K+y,I-Y],[f-L,g+K-y,I-Y]):C.push([f-L,g+K,b/2]),(l=M.front?((i=new ZC.CZ(s)).copy(E),i.append(M.front),i.parse(),ZC.DL.DA(i,s.C,C)):ZC.DL.DA(E,s.C,C)).K=s.K+"-facet2",l.G0=X(3),A.add(l),C=[[f-t,g+K-x,I-q],[f-t,g+K-x,I+q]],s.A.CG&&0!==u?C.push([f-L,g+K-y,I+Y],[f-L,g+K-y,I-Y]):C.push([f-L,g+s.F/2,b/2]),(P=M.left?((i=new ZC.CZ(s)).copy(D),i.append(M.left),i.parse(),ZC.DL.DA(i,s.C,C)):ZC.DL.DA(D,s.C,C)).K=s.K+"-facet3",P.G0=X(4),A.add(P),C=[[f-t,g+K+x,I-q],[f-t,g+K+x,I+q]],s.A.CG&&0!==u?C.push([f-L,g+K+y,I+Y],[f-L,g+K+y,I-Y]):C.push([f-L,g+K,b/2]),(O=M.right?((i=new ZC.CZ(s)).copy(D),i.append(M.right),i.parse(),ZC.DL.DA(i,s.C,C)):ZC.DL.DA(D,s.C,C)).K=s.K+"-facet4",O.G0=X(2),A.add(O),s.A.CG&&0!==u&&((a=M.top?((i=new ZC.CZ(s)).copy(m),i.append(M.top),i.parse(),ZC.DL.DD(i,s.C,f-L,f-L,g+K-y,g+K+y,I-Y,I+Y,"z")):ZC.DL.DD(m,s.C,f-L,f-L,g+K-y,g+K+y,I-Y,I+Y,"z")).K=s.K+"-facet5",a.G0=X(5),A.add(a)),s.A.FV&&$.push(v+"--left"+ZC._[30]+P.F1()+'" />',v+"--right"+ZC._[30]+O.F1()+'" />',v+"--front"+ZC._[30]+l.F1()+'" '+s.a11y()+' data-z-sort="-100" />');break;case"cylinder":if(C=[],F)for(o=0;o<=360;o+=5)C.push([f-s.I,g+ZC.EL(o)*G+K,B+ZC.EF(o)*G+I]);else for(o=0;o<=360;o+=5)(r=new ZC.CE(s.C,0,0,0)).EC=[d+ZC.EF(o)*(G/2)+te,_+K+ZC.EL(o)*G-ie],C.push(r);if((n=M.bottom?((i=new ZC.CZ(s)).copy(m),i.append(M.bottom),i.parse(),ZC.DL.DA(i,s.C,C,!F)):ZC.DL.DA(m,s.C,C,!F)).K=s.K+"-facet1",n.G0=X(1),A.add(n),C=[],F){for(o=90-ee;o<=270-ee;o+=5)C.push([f-s.I,g+ZC.EL(o)*G+K,B+ZC.EF(o)*G+I]);for(C.push([f,g+ZC.EL(o)*G+K,B+ZC.EF(o)*G+I]),o=270-ee;90-ee<=o;o-=5)C.push([f,g+ZC.EL(o)*G+K,B+ZC.EF(o)*G+I])}else{for(o=90;o<=270;o+=5)(r=new ZC.CE(s.C,0,0,0)).EC=[d+ZC.EF(o)*(G/2)+te,_+K+ZC.EL(o)*G-ie],C.push(r);for(o=270;90<=o;o-=5)(r=new ZC.CE(s.C,0,0,0)).EC=[d+ZC.EF(o)*(G/2)+s.I+te,_+K+ZC.EL(o)*G-ie],C.push(r)}if((l=M.front?((i=new ZC.CZ(s)).copy(E),i.append(M.front),i.parse(),ZC.DL.DA(i,s.C,C,!F)):ZC.DL.DA(E,s.C,C,!F)).K=s.K+"-facet2",l.G0=X(2),A.add(l),C=[],F)for(o=0;o<=360;o+=5)C.push([f,g+ZC.EL(o)*G+K,B+ZC.EF(o)*G+I]);else for(o=0;o<=360;o+=5)(r=new ZC.CE(s.C,0,0,0)).EC=[d+ZC.EF(o)*(G/2)+s.I+te,_+K+ZC.EL(o)*G-ie],C.push(r);(a=M.top?((i=new ZC.CZ(s)).copy(m),i.append(M.top),i.parse(),ZC.DL.DA(i,s.C,C,!F)):ZC.DL.DA(m,s.C,C,!F)).K=s.K+"-facet3",a.G0=X(3),A.add(a),s.A.FV&&$.push(v+"--front"+ZC._[30]+l.F1()+'" '+s.a11y()+' data-z-sort="-100" />',v+"--top"+ZC._[30]+a.F1()+'" />');break;case"cone":if(C=[],F)for(o=0;o<=360;o+=5)C.push([f-t,g+ZC.EL(o)*G*p+K,ZC.EF(o)*G*p+I]);else for(o=0;o<=360;o+=5)(r=new ZC.CE(s.C,0,0,0)).EC=[d+L+ZC.EF(o)*(G/2)*p+te,_+K+ZC.EL(o)*G*p-ie],C.push(r);if((n=M.bottom?((i=new ZC.CZ(s)).copy(m),i.append(M.bottom),i.parse(),ZC.DL.DA(i,s.C,C,!F)):ZC.DL.DA(m,s.C,C,!F)).K=s.K+"-facet1",n.G0=X(1),A.add(n),C=[],F){for(o=90-ee;o<=270-ee;o+=5)C.push([f-t,g+ZC.EL(o)*G*p+K,ZC.EF(o)*G*p+I]);if(s.A.CG&&0!==u)for(o=270-ee;90-ee<=o;o-=5)C.push([f-L,g+ZC.EL(o)*G*u+K,ZC.EF(o)*G*u+I]);else C.push([f-L,g+K,G])}else{for(o=90;o<=270;o+=5)(r=new ZC.CE(s.C,0,0,0)).EC=[d+L+ZC.EF(o)*(G/2)*p+te,_+K+ZC.EL(o)*G*p-ie],C.push(r);if(s.A.CG&&0!==u)for(o=270;90<=o;o-=5)(r=new ZC.CE(s.C,0,0,0)).EC=[d+t+ZC.EF(o)*(G/2)*u+te,_+K+ZC.EL(o)*G*u-ie],C.push(r);else(r=new ZC.CE(s.C,0,0,0)).EC=[d+t+te,_+K-ie],C.push(r)}if((l=M.front?((i=new ZC.CZ(s)).copy(E),i.append(M.front),i.parse(),ZC.DL.DA(i,s.C,C,!F)):ZC.DL.DA(E,s.C,C,!F)).K=s.K+"-facet2",l.G0=X(2),A.add(l),s.A.CG&&0!==u){if(C=[],F)for(o=0;o<=360;o+=5)C.push([f-L,g+ZC.EL(o)*G*u+K,ZC.EF(o)*G*u+I]);else for(o=0;o<=360;o+=5)(r=new ZC.CE(s.C,0,0,0)).EC=[d+t+ZC.EF(o)*(G/2)*u+te,_+K+ZC.EL(o)*G*u-ie],C.push(r);(a=M.top?((i=new ZC.CZ(s)).copy(m),i.append(M.top),i.parse(),ZC.DL.DA(i,s.C,C,!F)):ZC.DL.DA(m,s.C,C,!F)).K=s.K+"-facet3",a.G0=X(3),A.add(a)}s.A.FV&&$.push(v+"--front"+ZC._[30]+l.F1()+'" data-z-sort="-100" />')}}s.A.U&&s.A.U.AP&&s.H1()}},A15:function(){}}),ZC.A6Z=ZC.A30.CD({setup:function(){this.R2()},ABE:function(){return{color:this.O.B9}},Y3:function(){return{"background-color":this.O.B9,"border-color":this.O.B9,color:this.O.C2}},AC6:function(e){e=this.b(e);return new ZC.CE(this.C,e[0]-ZC.AM.E1,e[1]-ZC.AM.E2,this.A.E["z-start"]).EC},paint:function(){var e,t,i=this,n=(i.b(),i.E.points),a="none"!==i.A.J4?i.O=i.A.IJ(i,i.O):i.O,l=(a.DF=i.K+"-3dfacet",i.A.HZ&&i.H8(a),0),o=-1,r=ZC.AM.FE;if("hide"===i.C.getToggleAction())i.A.CG?o=0:(l=i.A.A.A4.length,o=i.A.L,r/=l);else if(i.A.CG)o=0;else{for(e=0;e<i.A.A.A4.length;e++)i.C.E["plot"+e+".visible"]&&o++;for(e=0;e<i.A.A.A4.length;e++)i.C.E["plot"+e+".visible"]&&(l++,i.A.L>e)&&o--;r/=l,o=l-o-1}a.A0=a.AE=a.B9,"spline"===i.A.CW&&(a.BX=a.B9);var C,s,A,Z=i.A.A.H3,c=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],h=ZC.Q.FP("poly",i.A.E9,i.O.IE)+'class="'+c+'" '+i.a11y()+' id="'+i.K,p=o*r,u=(o+1)*r,_=(null!==ZC._n_(i.A.o["z-start"])&&(p=ZC._i_(i.A.o["z-start"])),null!==ZC._n_(i.A.o["z-end"])&&(u=ZC._i_(i.A.o["z-end"])),null!==ZC._n_(i.A.o.depth)&&(p=o*r+r/2-(c=ZC._i_(i.A.o.depth)),u=o*r+r/2+c),i.A.E["z-plots"]=l,i.A.E["z-cnt"]=o,i.A.E["z-depth"]=r,i.A.E["z-start"]=p,i.A.E["z-mid"]=(p+u)/2,[]),d=[],f=a;ZC._a_(p-u)<=2&&(i.C.CN.SL[i.A.K]||(i.C.CN.SL[i.A.K]={zIndex:i.A.L,style:a,points:[]},i.C.CN.SL[i.A.K].style.ME=!1,i.C.CN.SL[i.A.K].style.B1=ZC.BR(1,ZC._i_(+ZC._a_(p-u)))));for(var g,B,b,E,m,D=0;D<n.length-1;D++){if(2<ZC._a_(p-u)&&(g=-ZC._i_(ZC.U4(Math.atan((n[D+1][1]-n[D][1])/(n[D+1][0]-n[D][0])))),(f=new ZC.CZ(i)).copy(a),f.A0=ZC.AO.JR(ZC.AO.GD(f.A0),g),f.AE=ZC.AO.JR(ZC.AO.GD(f.AE),g),f.BX=ZC.AO.JR(ZC.AO.GD(f.BX),g)),i.A.oP0&&ZC._a_(p-u)<=2?((B=i.A.oP0).parse(i.C,n[D][0]-ZC.AM.E1,n[D][1]-ZC.AM.E2,p),(b=i.A.oP1).parse(i.C,n[D+1][0]-ZC.AM.E1,n[D+1][1]-ZC.AM.E2,p),(E=i.A.oP2).parse(i.C,n[D+1][0]-ZC.AM.E1,n[D+1][1]-ZC.AM.E2,u-1),(m=i.A.oP3).parse(i.C,n[D][0]-ZC.AM.E1,n[D][1]-ZC.AM.E2,u-1)):(B=i.A.oP0=new ZC.CE(i.C,n[D][0]-ZC.AM.E1,n[D][1]-ZC.AM.E2,p),b=i.A.oP1=new ZC.CE(i.C,n[D+1][0]-ZC.AM.E1,n[D+1][1]-ZC.AM.E2,p),E=i.A.oP2=new ZC.CE(i.C,n[D+1][0]-ZC.AM.E1,n[D+1][1]-ZC.AM.E2,u-1),m=i.A.oP3=new ZC.CE(i.C,n[D][0]-ZC.AM.E1,n[D][1]-ZC.AM.E2,u-1)),2<ZC._a_(p-u)?((C=new ZC.WD(f,i.C)).K=i.K+"-facet"+D,C.add(B),C.add(b),C.add(E),C.add(m),i.C.CN.add(C)):(i.C.CN.SL[i.A.K].points.push(B.EC),D===n.length-2&&i.C.CN.SL[i.A.K].points.push(b.EC),"spline"===i.A.CW&&(B=new ZC.CE(i.C,n[D][0]-ZC.AM.E1,n[D][1]-ZC.AM.E2,p-10),m=new ZC.CE(i.C,n[D][0]-ZC.AM.E1,n[D][1]-ZC.AM.E2,u-1+10))),_.push(B.EC),d.push(m.EC),i.A.FV&&"spline"!==i.A.CW)if(2<ZC._a_(p-u))t=C.F1();else{for(s=ZC.AQ.Z1([B.EC,b.EC],4),A=0;A<s.length;A++)s[A][0]=Math.round(s[A][0]),s[A][1]=Math.round(s[A][1]);t=s.join(",")}"spline"!==i.A.CW&&i.A.FV&&Z.push(h+"--face"+D+ZC._[30]+t+'" />')}"spline"===i.A.CW?(i.E.polypoints=!0,i.E.points=_.concat(d.reverse())):i.E.points=null,i.A.A2.o&&("spline"===i.A.CW||"none"===i.A.A2.o.type||null!==ZC._n_(i.A.A2.o.visible)&&!ZC._b_(i.A.A2.o.visible))&&"spline"!==i.A.CW||i.PK(!0),i.A.U&&i.A.U.AP&&i.H1(),i.paintPreview(a,n)},A15:function(){}}),ZC.A70=ZC.A31.CD({setup:function(){this.R2()},ABE:function(){return{color:this.O.B9}},Y3:function(){return{"background-color":this.O.B9,"border-color":this.O.B9,color:this.O.C2}},AC6:function(e){e=this.b(e);return new ZC.CE(this.C,e[0]-ZC.AM.E1,e[1]-ZC.AM.E2,this.A.E["z-start"]).EC},paint:function(){var e,t,i=this,n=(i.b(),i.A.CQ),a=n.HC,a=n.AR(a),a=ZC._l_(a,n.iY,n.iY+n.F),l=i.E.points,o=i.E.pointsarea,n="none"!==i.A.J4?i.O=i.A.IJ(i,i.O):i.O,r=(n.DF=i.K+"-3dfacet",i.A.HZ&&i.H8(n),0),C=-1,s=ZC.AM.FE;if("hide"===i.C.getToggleAction())i.A.CG?C=0:(r=i.A.A.A4.length,C=i.A.L,s/=r);else if(i.A.CG)C=0;else{for(e=0;e<i.A.A.A4.length;e++)i.C.E["plot"+e+".visible"]&&C++;for(e=0;e<i.A.A.A4.length;e++)i.C.E["plot"+e+".visible"]&&(r++,i.A.L>e)&&C--;s/=r,C=r-C-1}for(var A=new ZC.CZ(i),Z=(A.copy(n),A.A0=A.AE=n.B9,"spline"===i.A.CW&&(A.BX=n.B9),new ZC.CZ(i)),c=(Z.copy(n),Z.LB=!0,Z.AU=0,Z.C5=i.A.HS,Z.A0=ZC.AO.PP(ZC.AO.GD(Z.A0),30),Z.AE=ZC.AO.PP(ZC.AO.GD(Z.AE),30),i.A.A.H3),h=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],p=ZC.Q.FP("poly",i.A.E9,i.O.IE)+'class="'+h+'"'+i.a11y()+' id="'+i.K,u=[],_=[],d=C*s,f=(C+1)*s,g=(null!==ZC._n_(i.A.o["z-start"])&&(d=ZC._i_(i.A.o["z-start"])),null!==ZC._n_(i.A.o["z-end"])&&(f=ZC._i_(i.A.o["z-end"])),null!==ZC._n_(i.A.o.depth)&&(d=C*s+s/2-(h=ZC._i_(i.A.o.depth)),f=C*s+s/2+h),i.A.E["z-plots"]=r,i.A.E["z-cnt"]=C,i.A.E["z-depth"]=s,i.A.E["z-start"]=d,i.A.E["z-mid"]=(d+f)/2,new ZC.WD(Z,i.C)),B=0,b=o.length;B<b;B++){var E=new ZC.CE(i.C,o[B][0]-ZC.AM.E1,o[B][1]-ZC.AM.E2,d);g.add(E)}i.C.CN.add(g),i.E.pointsarea=o,i.L===i.A.S.length-1&&((g=new ZC.WD(Z,i.C)).add(new ZC.CE(i.C,i.iX-.5-ZC.AM.E1,i.iY-ZC.AM.E2,d)),g.add(new ZC.CE(i.C,i.iX-.5-ZC.AM.E1,a-ZC.AM.E2,d)),g.add(new ZC.CE(i.C,i.iX-.5-ZC.AM.E1,a-ZC.AM.E2,f-1)),g.add(new ZC.CE(i.C,i.iX-.5-ZC.AM.E1,i.iY-ZC.AM.E2,f-1)),g.K=i.K+"-facet99",i.C.CN.add(g));var m=n;for(ZC._a_(d-f)<=2&&(i.C.CN.SL[i.A.K]||(i.C.CN.SL[i.A.K]={zIndex:i.A.L,style:n,points:[]},i.C.CN.SL[i.A.K].style.ME=!1,i.C.CN.SL[i.A.K].style.B1=ZC.BR(1,ZC._i_(+ZC._a_(d-f))))),B=0;B<l.length-1;B++){2<ZC._a_(d-f)&&(D=-ZC._i_(ZC.U4(Math.atan((l[B+1][1]-l[B][1])/(l[B+1][0]-l[B][0])))),(m=new ZC.CZ(i)).copy(A),m.A0=ZC.AO.JR(ZC.AO.GD(m.A0),D),m.AE=ZC.AO.JR(ZC.AO.GD(m.AE),D),m.BX=ZC.AO.JR(ZC.AO.GD(m.BX),D));var D=new ZC.CE(i.C,l[B][0]-ZC.AM.E1,l[B][1]-ZC.AM.E2,d),v=new ZC.CE(i.C,l[B+1][0]-ZC.AM.E1,l[B+1][1]-ZC.AM.E2,d),F=new ZC.CE(i.C,l[B+1][0]-ZC.AM.E1,l[B+1][1]-ZC.AM.E2,f-1),K=new ZC.CE(i.C,l[B][0]-ZC.AM.E1,l[B][1]-ZC.AM.E2,f-1);if(2<ZC._a_(d-f)?((g=new ZC.WD(m,i.C)).K=i.K+"-facet"+B,g.add(D),g.add(v),g.add(F),g.add(K),i.C.CN.add(g)):(i.C.CN.SL[i.A.K].points.push(D.EC),B===l.length-2&&i.C.CN.SL[i.A.K].points.push(v.EC),"spline"===i.A.CW&&(D=new ZC.CE(i.C,l[B][0]-ZC.AM.E1,l[B][1]-ZC.AM.E2,d-10),K=new ZC.CE(i.C,l[B][0]-ZC.AM.E1,l[B][1]-ZC.AM.E2,f-1+10))),u.push(D.EC),_.push(K.EC),i.A.FV&&"spline"!==i.A.CW)if(2<ZC._a_(d-f))t=g.F1();else{for(var I=ZC.AQ.Z1([g.D[0].EC,g.D[1].EC],4),x=0;x<I.length;x++)I[x][0]=Math.round(I[x][0]),I[x][1]=Math.round(I[x][1]);t=I.join(",")}"spline"!==i.A.CW&&i.A.FV&&c.push(p+"--face"+B+ZC._[30]+t+'" />')}"spline"===i.A.CW?(i.E.polypoints=!0,i.E.points=u.concat(_.reverse())):i.E.points=null,i.A.A2.o&&("none"===i.A.A2.o.type||null!==ZC._n_(i.A.A2.o.visible)&&!ZC._b_(i.A.A2.o.visible))&&"spline"!==i.A.CW||i.PK(!0),i.A.U&&i.A.U.AP&&i.H1(),i.paintPreview(n,l,o)},A15:function(){}}),ZC.A8A=ZC.LM.CD({$i:function(e){this.b(e),this.WO=0,this.WN=0},K2:function(e,t,i,n){var a=this,l=null,l=a.A.L<a.A.A.A4.length-1?a.A.A.A4[a.A.L+1]:a.A.A.A4[0];return a.CA=[["%paired-plot-text",l.AN],["%paired-node-value",l.S[a.L].AC],["%joined-value",a.WN],["%shared-value",null===ZC._n_(a.A.A.XD[a.L])?0:a.A.A.XD[a.L].area]],e=a.b(e,t,i,n)},setup:function(){var e=this,t=e.C.BM("scale"),i=e.L%t.H7,n=Math.floor(e.L/t.H7);e.iX=t.iX+i*t.GM+t.GM/2+t.BK,e.iY=t.iY+n*t.GH+t.GH/2+t.BJ,e.I3||(e.copy(e.A),e.E6=e.A.E6,e.DG()&&e.parse(!1),e.I3=!0),e.I=t.GM/2,e.F=t.GH/2},AC6:function(e){var t=this,i=e.I,n=e.F,a=t.iX-i/2,l=t.iY-n/2;if(3===t.A.A.A4.length)switch(t.A.L){case 0:a-=t.AI/4,l+=t.AI/8;break;case 1:a+=t.AI/4,l+=t.AI/8;break;case 2:l-=t.AI/4}else switch(t.A.L){case 0:a-=t.AI/4;break;case 1:a+=t.AI/4}return null!==ZC._n_(e.o.x)&&(a=e.iX),null!==ZC._n_(e.o.y)&&(l=e.iY),a+=e.BK,l+=e.BJ,[ZC._i_(a),ZC._i_(l)]},H1:function(){var t=this,e=t.b(),i=t.C.K+"-value-box "+t.C.K+"-plot-"+t.A.L+"-value-box zc-value-box",n=t.G.usc()?t.G.mc("top"):t.C.AJ["3d"]||t.G.KD?ZC.AL(t.C.K+"-plots-vb-c"):ZC.AL(t.C.K+"-plot-"+t.A.L+"-vb-c"),a=t.G.usc()?ZC.AL(t.C.A.K+"-top"):ZC.AL(t.C.A.K+"-text");if(null!==ZC._n_(e.o.joined)){if(0===t.A.L&&!t.C.E["plot1.visible"]||1===t.A.L&&!t.C.E["plot2.visible"]||2===t.A.L&&!t.C.E["plot0.visible"])return;t.A.L<t.A.A.A4.length-1?t.A.A.A4[t.A.L+1]:t.A.A.A4[0];var l,o=t.A.A.E4[t.A.L][t.L].intxy;(l=new ZC.DQ(t)).copy(e),l.o.text=""+t.WN,l.append(e.o.joined),l.K2=function(e){return t.K2(e,{})},l.parse(),l.GN=i,l.K=t.K+"-value-box-join",l.Z=e.C8=n,l.IP=a,l.iX=o[0]-l.I/2,l.iY=o[1]-l.F/2,l.AP&&(l.paint(),l.EO())}null!==ZC._n_(e.o.shared)&&2===t.A.L&&t.C.E["plot0.visible"]&&t.C.E["plot1.visible"]&&t.C.E["plot2.visible"]&&(o=t.A.A.XD[t.L].xy,(l=new ZC.DQ(t)).copy(e),l.o.text=""+t.A.A.H3[t.A.L],l.append(e.o.shared),l.K2=function(e){return t.K2(e,{})},l.parse(),l.GN=i,l.K=t.K+"-value-box-shared",l.Z=e.C8=n,l.IP=a,l.iX=o[0]-l.I/2,l.iY=o[1]-l.F/2,l.AP)&&(l.paint(),l.EO())},ABE:function(){return{color:this.B9}},Y3:function(){return{"background-color":this.BX,"border-color":this.BX,color:this.C2}},paint:function(){var e,t=this;if(3<=t.A.L)t.A.U&&t.H1();else{t.b();var i=t.O=t.A.IJ(t,t),n=new ZC.DT(t.A),a=(n.K=t.K,n.Z=t.A.CS("bl",1),n.C8=t.A.CS("bl",0),n.copy(i),t.iX),l=t.iY;if(n.iX=a,n.iY=l,n.AI=t.AI,n.DH="circle",n.E.plotidx=t.A.L,n.E.nodeidx=t.L,n.parse(),t.FS=n,t.A.GG&&!t.C.HM){var o=n,r={},C=(o.iX=a,o.iY=l,r.x=a,r.y=l,t.A.LE);if(o.C5=0,r.alpha=i.C5,3===C)o.AI=2,r.size=t.AI;else if(4===C){switch(t.A.L){case 0:o.iX=a-3*t.AI,o.iY=l;break;case 1:o.iX=a+3*t.AI,o.iY=l;break;case 2:o.iX=a,o.iY=l-3*t.AI}r.x=a,r.y=l}for(e in t.A.FY)o[ZC.E8.GO[ZC.EH(e)]]=t.A.FY[e],r[ZC.EH(e)]=i[ZC.E8.GO[ZC.EH(e)]];if(t.C.EQ||(t.C.EQ={}),null!==ZC._n_(t.C.EQ[t.A.L+"-"+t.L]))for(e in t.C.EQ[t.A.L+"-"+t.L])o[ZC.E8.GO[ZC.EH(e)]]=t.C.EQ[t.A.L+"-"+t.L][e];t.C.EQ[t.A.L+"-"+t.L]={},ZC._cp_(r,t.C.EQ[t.A.L+"-"+t.L]);C=new ZC.E8(o,r,t.A.JH,t.A.LC,ZC.E8.RN[t.A.LF],function(){s()});(C.AX=t).LU(C)}else n.paint(),s()}function s(){var e=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],e=ZC.Q.FP("circle",t.A.E9,t.A.IE)+'class="'+e+'" '+t.a11y()+' id="'+t.K+ZC._[30]+ZC._i_(t.iX+ZC.MAPTX)+","+ZC._i_(t.iY+ZC.MAPTX)+","+ZC._i_(ZC.BR(ZC.mobile?6:3,t.AI)*(ZC.mobile?2:1.2))+'" />';t.A.A.H3.push(e),t.A.U&&t.H1()}},A15:function(e){var t=this;ZC.move||t.MC({layer:e,type:"shape",initcb:function(){this.DH="circle",this.A0=t.A.BP[3],this.AE=t.A.BP[3]},setupcb:function(){this.iX=t.iX,this.iY=t.iY,this.AI=t.AI}})}}),ZC.LM.prototype.N9=function(e,t){var i,n,a,l,o,r,C,s,A=this;(t=typeof t===ZC._[31]?!1:t)?typeof A.E.pointserror!==ZC._[31]&&((i=new ZC.CZ(A)).copy(A.A),A.A.JC&&(i.copy(A.A.JC),i.append(A.A.JC.o[ZC._[71]])),i.parse(),i.K=A.K+"--error-hover",i.DF=A.A.A.A.K+"-node-errorbars",i.AP)&&ZC.CO.paint(e,i,A.E.pointserror):(t=A.A.CQ,n=A.A.AZ,0!==A.A.S7.length&&(l=!(a=C=null),(l=!(A.A.S7.length<=2)||(null!==ZC._n_(A.A.S7[0])&&A.A.S7[0]instanceof Array&&(l=!1),null!==ZC._n_(A.A.S7[1])&&A.A.S7[1]instanceof Array)?!1:l)?(C=A.A.S7[0],a=A.A.S7[1]):null!==ZC._n_(l=A.A.S7[A.L])&&l instanceof Array&&(C=a=l[0],2===l.length)&&(a=l[1]),A.E["node-error-plus"]=C,A.E["node-error-minus"]=a,-1!==(C+"").indexOf("%")&&(C=ZC.IO(C))<=1&&(C*=A.AC),-1!==(a+"").indexOf("%")&&(a=ZC.IO(a))<=1&&(a*=A.AC),l=[],(o=ZC.IO(A.A.JC&&A.A.JC.o[ZC._[21]]||.5))<=1&&(o="vbar"===A.A.AF?ZC._i_(o*A.I):"hbar"===A.A.AF?ZC._i_(o*A.F):ZC._i_(o*n.AD)),s=0,s=n.CM?A.F:A.I,null!==ZC._n_(C)&&(C=t.AR(A.CR+C),n.CM?(r=t.AW?A.AC<0?A.iX+A.I:A.iX:0<A.AC?A.iX+A.I:A.iX,l.push([C,A.iY+s/2-o/2],[C,A.iY+s/2+o/2],null,[C,A.iY+s/2],[r,A.iY+s/2])):(r=t.AW?0<A.AC?A.iY+A.F:A.iY:A.AC<0?A.iY+A.F:A.iY,l.push([A.iX+s/2-o/2,C],[A.iX+s/2+o/2,C],null,[A.iX+s/2,C],[A.iX+s/2,r]))),null!==ZC._n_(a)&&(C=t.AR(A.CR-a),n.CM?(r=t.AW?A.AC<0?A.iX+A.I:A.iX:0<A.AC?A.iX+A.I:A.iX,l.push(null,[C,A.iY+s/2-o/2],[C,A.iY+s/2+o/2],null,[C,A.iY+s/2],[r,A.iY+s/2])):(r=t.AW?0<A.AC?A.iY+A.F:A.iY:A.AC<0?A.iY+A.F:A.iY,l.push(null,[A.iX+s/2-o/2,C],[A.iX+s/2+o/2,C],null,[A.iX+s/2,C],[A.iX+s/2,r]))),(i=new ZC.CZ(A)).copy(A.A),A.A.JC&&i.copy(A.A.JC),i.parse(),i.K=A.K+"--error",i.DF=A.A.A.A.K+"-node-errorbars",i.D0=!1,ZC.CO.paint(e,i,l),A.E.pointserror=l))},{$i:function(e){this.b(e);e=this;e.G=e.A.A,e.BD="",e.V=[],e.BY=[],e.A4X=[],e.DE=!1,e.M=null,e.BQ=null,e.IV=null,e.D8=null,e.FZ=0,e.IG=null,e.G8=null,e.HC=0,e.P5=null,e.L=1,e.A9=0,e.A41=0,e.BU=0,e.AW=!1,e.CM=!1,e.AD=0,e.iStepMultiplier=1,e.DV=-1,e.RD=ZC.HG[ZC._[13]]||"",e.RY=ZC.HG[ZC._[14]]||".",e.A02=!1,e.SJ=2,e.A2R=!1,e.TN="",e.A05="standard",e.CL=null,e.AF="",e.EJ=ZC.MAX,e.M4=ZC.MAX,e.GP=!1,e.Y5=!1,e.KO=null,e.NP=null,e.Q7=[],e.E3=1,e.B0=-1,e.BF=-1,e.SK=-1,e.FQ=-1,e.GW=-1,e.BS="lin",e.DY=10,e.F7=null,e.P6=1,e.PZ=!0,e.A0F=!1,e.aAutoFit=[!1,!1],e.LW=null,e.WP=null,e.TF=!1,e.I6=-1,e.YK=!1,e.BA="default",e.Q3=!1,e.VG=!1,e.R6=1,e.sMaster="",e.bNormalize=!0,e.bAllowDuplicates=!1,e.fMinValueFactor=0,e.fMaxValueFactor=0},parse:function(){this.b();var e,i=this;if(null!==ZC._n_(e=i.o.step))if(ZC.PH(e))i.E3=ZC._f_(e);else{var t=e.replace(/[0-9]/gi,""),n=parseInt(e.replace(/[^0-9]/gi,""),10)||1;switch(t){case"second":i.E3=1e3*n;break;case"minute":i.E3=1e3*n*60;break;case"hour":i.E3=1e3*n*60*60;break;case"day":i.E3=1e3*n*60*60*24;break;case"week":i.E3=1e3*n*60*60*24*7;break;case"month":i.E3=2629743e3*n;break;case"year":i.E3=31556926e3*n}}if(null!==ZC._n_(i.o.multiplier)&&null===ZC._n_(i.o["short"])&&(i.o["short"]=i.o.multiplier),i.assign_a([[ZC._[10],"BY"],["tooltip-text","A4X"],["format","CL"],["offset-start","A9","i"],["offset-start","A41","i"],["offset-end","BU","i"],["minor-ticks","FZ","i"],["step-multiplier","iStepMultiplier","i"],["index","L","i"],["mirrored","AW","b"],["zooming","GP","b"],["zoom-snap","Y5","b"],["fixed-step","Q3","b"],["zoom-to","KO"],["force-view","YK","b"],["zoom-to-values","NP"],["items-overlap","A0F","b"],["used","TF","b"],["max-labels","EJ","i"],["max-items","EJ","i"],["ref-value","HC","f"],[ZC._[12],"DV","ia"],[ZC._[14],"RY"],[ZC._[13],"RD"],["short","A2R","b"],["short-unit","TN"],["negation","A05"],["exponent","A02","b"],[ZC._[25],"SJ","ia"],["progression","BS"],["log-base","DY","fa"],["scale-factor","P6","fa"],["show-labels","LW"],["max-decimals","I6","i"],[ZC._[7],"BA"],["factor","R6","f"],["master","sMaster"],["blended","VG","b"],["ranged","DE","b"],["normalize","bNormalize","b"],["allow-duplicates","bAllowDuplicates","b"],["min-value-factor","fMinValueFactor","f"],["max-value-factor","fMaxValueFactor","f"]]),"linear"===i.BS&&(i.BS="lin"),"logarithmic"===i.BS&&(i.BS="log"),"log"===i.BS&&(i.FZ=Math.max(0,i.DY-2),null!==ZC._n_(i.KO))&&"v"===i.AF&&(i.KO[0]=ZC.FU(i.KO[0],i.DY),i.KO[1]=ZC.FU(i.KO[1],i.DY)),null!==ZC._n_(e=i.o["auto-fit"])&&(e.length?(i.aAutoFit[0]=ZC._b_(e[0]),i.aAutoFit[1]=ZC._b_(e[e.length-1])):i.aAutoFit[0]=i.aAutoFit[1]=ZC._b_(e)),"string"==typeof i.BY){var a=i.BY.split(":"),l=1;3===a.length&&(l=ZC._f_(a[2])),i.BY=[];for(var o=ZC._f_(a[0]);o<ZC._f_(a[1]);o+=l)i.BY.push(""+o);i.BY.push(""+a[1])}null!==ZC._n_(i.o["fixed-items"])&&(i.EJ=ZC.MAX),i.EJ=ZC.BR(i.EJ,2),null!==ZC._n_(e=i.o.offset)&&(i.A9=i.BU=ZC._i_(e),0!==ZC._i_(e)||"mixed"!==i.A.AF&&"mixed3d"!==i.A.AF||(i.DE=!1)),null!==ZC._n_(e=i.o["max-ticks"])?i.M4=ZC._i_(e):i.M4=i.EJ,i.M4=ZC.BR(2,i.M4),null!==ZC._n_(e=i.o.transform)&&(i.F7=new ZC.CZ,i.F7.append(e));var r=i.A.A.B6,C="("+i.A.AF+")",s=i.BD.replace(/\-[0-9]/,""),A=i.BD.replace(/\-[0-9]/,"-n");function Z(e){var t=[C+".SCALE."+e,C+"."+i.BD+"."+e,C+"."+s+"."+e,C+"."+s+"["+i.BA+"]."+e,C+"."+A+"."+e];return t=i.A.AJ["3d"]?t.concat([C+".SCALE[3d]."+e,C+"."+i.BD+"[3d]."+e,C+"."+s+"[3d]."+e,C+"."+A+"[3d]."+e]):t}if(null===ZC._n_(i.o[ZC._[7]])&&1<i.L&&(i.BA="opposite"),null!==ZC._n_(e=i.o.markers))for(var c=0,h=e.length;c<h;c++){var p=new ZC.A0N(i);p.L=c,p.K=i.K+"-marker-"+c,r.load(p.o,Z("marker")),p.append(e[c]),p.parse(),i.Q7.push(p)}i.P5=new ZC.CZ(i),r.load(i.P5.o,Z("ref-line")),i.P5.append(i.o["ref-line"]),"k"===i.AF&&(i.P5.AP=!1),i.P5.parse(),i.M=new ZC.DQ(i),r.load(i.M.o,Z("label")),i.M.append(i.o.label),i.M.K=i.K+"-label",i.M.parse(),i.BQ=new ZC.DQ(i),r.load(i.BQ.o,Z("item")),i.BQ.append(i.o.item),i.BQ.K=i.K+"-item",i.BQ.parse(),i.IV=new ZC.CZ(i),r.load(i.IV.o,Z("tick")),i.IV.append(i.o.tick),i.IV.parse(),i.D8=new ZC.CZ(i),r.load(i.D8.o,Z("guide")),i.D8.append(i.o.guide),i.D8.parse(),null===ZC._n_(i.D8.o.items)&&"-1"!==i.D8.A0&&"-1"!==i.D8.AE&&i.D8.A0!==i.D8.AE&&(i.D8.o.items=[{alpha:i.D8.C5,"background-color":i.D8.A0},{alpha:i.D8.C5,"background-color":i.D8.AE}]),i.IG=new ZC.CZ(i),r.load(i.IG.o,Z("minor-tick")),i.IG.append(i.o["minor-tick"]),i.IG.parse(),i.G8=new ZC.CZ(i),r.load(i.G8.o,Z("minor-guide")),i.G8.append(i.o["minor-guide"]),i.G8.parse(),i.A5E()},A5E:function(){var e,t=this,i={x:"iX",y:"iY",width:"I",height:"F"};for(e in i){var n=t.A.P[i[e]];null!==ZC._n_(t.o[e])&&0<=(n=ZC.IO(t.o[e]))&&n<=1&&(n="x"===e||"y"===e?t.A.P["x"===e?"iX":"iY"]+ZC._i_(n*t.A.P["x"===e?"I":"F"]):ZC._i_(n*t.A.P[i[e]])),t[i[e]]=n}null!==ZC._n_(a=t.o.offset)&&(t.A9=t.BU=ZC._f_(ZC._p_(a))),null!==ZC._n_(a=t.o["offset-start"])&&(t.A9=ZC._f_(ZC._p_(a))),null!==ZC._n_(a=t.o["offset-end"])&&(t.BU=ZC._f_(ZC._p_(a)));var a="k"===t.AF&&!t.CM||"v"===t.AF&&t.CM?t.I:t.F;t.A9<1&&(t.A9*=a),t.BU<1&&(t.BU*=a)},Z5:function(e){var t=this;null!==ZC._n_(t.o.rules)&&(t.WP||(t.WP=new ZC.F4(t.A)),t.WP.append(t.o),t.WP.parse(),t.WP.IQ=e,t.WP.DG())&&(t.WP.parse(),t.DV=t.WP.DV,t.CL=t.WP.CL)},J6:function(){},A8D:function(){},ACA:function(){},AA0:function(){},clear:function(){},build:function(){},MU:function(){var e=this,t={negation:e.A05,"thousands-separator":e.RD,"decimals-separator":e.RY,decimals:e.DV,"max-decimals":e.I6,"short":e.A2R,"short-unit":e.TN,exponent:e.A02,"exponent-decimals":e.SJ,locale:e.G.UG};if(e.F7&&"date"===e.F7.o.type){t[ZC._[68]]=!0,null!==ZC._n_(n=e.F7.o.text)&&(e.F7.o.all=n);var i,n=e.V[e.A1]-e.V[e.W],a="",l="",o={},r=["msecond","second","minute","hour","day","month","year"];for(i in r)o[r[i]]=ZC.HG["date-formats"][r[i]];l=0<=n&&n<=1e3?"msecond":1e3<n&&n<=36e5?"second":36e5<n&&n<=864e5?"minute":864e5<n&&n<=26784e5?"hour":26784e5<n&&n<=316224e5?"day":316224e5<n&&n<=632448e6?"month":"year",a=null!==ZC._n_(e.F7.o[l])?e.F7.o[l]:null!==ZC._n_(e.F7.o.all)?e.F7.o.all:o[l],e.E.dateformat=a,t[ZC._[67]]=e.E.dateformat}return t},A0Q:function(){for(var e=this.A.AY.A4,t=-1,i=0,n=e.length;i<n;i++){var a=e[i].BW(this.AF);if(-1!==ZC.AV(a,this.BD)){switch(e[i].AF){case"pie":case"pie3d":case"nestedpie":case"vbar":case"vbar3d":case"hbar":case"hbar3d":case"vbullet":case"hbullet":case"area":case"area3d":case"gauge":case"vfunnel":case"hfunnel":case"venn":t=e[i].A0;break;case"scatter":case"bubble":t=(-1!==e[i].A2.A0?e[i].A2:e[i]).A0;break;default:t=e[i].B9}break}}return t},paint:function(){this.build(),this.A.AJ["3d"]||this.b()},N1:function(e,t,i,n){var a;return null===ZC._n_(n)&&(n=5),this.A.AJ["3d"]&&(a=new ZC.CE(this.A,e.iX+e.I/2-ZC.AM.E1,e.iY+e.F/2-ZC.AM.E2,0+e.A99),e.iX=a.EC[0]-e.I/2+("v"===i?"default"===this.BA?-n:n:0),e.iY=a.EC[1]-e.F/2+("h"===i?"default"===this.BA?n:-n:0),a=ZC.DL.A38(this.A,e),null===ZC._n_(t)&&(t=e.AA,e.AA%90==0)&&(t+=e.VA?0:a),e.AA=t),t},X8:function(e,t,i){var n=this,a=(i.items,i.lcoords),l=i.lstep,o=i.tdim,r=i.mdim,C=i.dim,i=i.html,s=[e.iX+e.BK,e.iY+e.BJ,e.I,e.F],A=ZC._a_(e.AA%180),Z=((A%360!=0?!0:!1)&&(s=[e.iX+e.BK+e.I/2-e.F/2,e.iY+e.BJ+e.F/2-e.I/2,e.F,e.I]),!0);if(e.AP){if(!n.A0F)if("log"===n.BS||t!==n.W&&t!==n.A1){t%l==0&&(Z=!0);for(var c=0,h=a.length;c<h;c++)if(ZC.AQ.VD({x:s[0],y:s[1],width:s[2],height:s[3]},{x:a[c][0],y:a[c][1],width:a[c][2],height:a[c][3]})){Z=!1;break}}else Z=!0;Z&&(a.push(s),e.paint(),r=ZC.BR(r,1.5*e.DI*(e.AN||"").split("<br>").length),"h"===C?(o+=e.F,r=ZC.BR(r,ZC._a_(ZC.EL(A))*ZC.BR(e.I,e.F))):"w"===C&&(o+=e.I,r=ZC.BR(r,ZC._a_(ZC.EF(A))*ZC.BR(e.I,e.F))),e.EO(),null===ZC._n_(n.o.tooltip)&&e.KD||(null!==ZC._n_(n.o.tooltip)&&(n.o.tooltip.text=n.o.tooltip.text||"%scale-value"),i.push(ZC.AO.OB(n.A.G.K,n.A.K,e))))}return{tdim:o,mdim:r,overlaps:!Z}},VL:function(e,t){var i,n=this;"v"!==n.AF||n.HC!==n.B0&&n.HC!==n.BF||(null===ZC._n_(n.o["ref-line"])||null!==ZC._n_(n.o["ref-line"])&&null===ZC._n_(n.o["ref-line"].visible))&&(n.P5.AP=!1),n.P5.K=n.K+"-ref-line",0<n.V.length&&n.P5.AP&&!n.A.AJ["3d"]&&0<n.P5.B1&&("inherit"===n.P5.o["line-color"]&&-1!==t&&(n.P5.B9=t),t=n.HC,"k"===n.AF&&!n.CM||"v"===n.AF&&n.CM?(i=n.AR(t))>=n.iX&&i<=n.iX+n.I&&ZC.CO.paint(e,n.P5,[[i,n.iY],[i,n.iY+n.F]]):(i=n.AR(t))>=n.iY&&i<=n.iY+n.F&&ZC.CO.paint(e,n.P5,[[n.iX,i],[n.iX+n.I,i]]))},paint_:function(){},XV:function(){for(var e=0,t=this.Q7.length;e<t;e++)0<this.V.length&&this.Q7[e].paint()},gc:function(){ZC.AO.gc(this,["V","BY","Z","C8","D8","BQ","M","G8","IG","P5","IV","IQ","o","IB","J2","A","G"])}}),ZN=(ZC.F4=ZC.HU.CD(F4),{$i:function(e){this.b(e);e=this;e.EI=!1,e.AF="k",e.D4=-1,e.DP=-1,e.W=-1,e.A1=-1,e.V0=1,e.DV=null,e.OR=0,e.A4L=!1,e.NW=!1,e.U9={},e.IU=[],e.iMinOffset=0,e.aForcedMinMax=[null,null,1]},zoomTo:function(e,t){var i=this;if(i.GP){null!==ZC._n_(e)?i.W=e:i.W=i.D4,null!==ZC._n_(t)?i.A1=t:i.A1=i.DP;var n=i.IU;if(0<n.length?(i.B0=ZC.AV(n,i.V[i.W]),i.BF=ZC.AV(n,i.V[i.A1])):(i.B0=i.V[i.W],i.BF=i.V[i.A1]),i.G.H6.C||(i.G.H6.C=i.A),i.A.H6&&null!==ZC._n_(i.A.H6.o.shared)&&ZC._b_(i.A.H6.o.shared)&&i.A.K===i.G.H6.C.K)for(var a=0,l=i.G.AG.length;a<l;a++){var o,r=i.G.AG[a];r.K!==i.A.K&&null!==ZC._n_(r.H6.o.shared)&&ZC._b_(r.H6.o.shared)&&(o=r.BM(i.BD))&&o.GP&&(e=Math.max(o.D4,Math.min(o.DP,i.W)),t=Math.max(o.D4,Math.min(o.DP,i.A1)),o.zoomTo(e,t),ZC.AL(r.K))&&(r.clear(!0),r.E["shared-zoom"]=!0,r.paint(),r.B7)&&r.B7.update(e,t,null,null,!0)}i.J6()}},zoomToV:function(e,t){null!==ZC._n_(e)?this.B0=e:this.B0=this.FQ,null!==ZC._n_(t)?this.BF=t:this.BF=this.GW,this.QN(this.B0,this.BF,null===ZC._n_(e)&&null===ZC._n_(t))},FT:function(L,J,ET,bKeep,AC){var s=this,CV="",OU=(J?(CV=J.S[L].BV,s.F7&&"date"===s.F7.o.type||"number"==typeof CV||(null!==ZC._n_(s.BY[CV])?CV=s.BY[CV]:null!==ZC._n_(s.V[CV])&&(CV=s.V[CV]))):CV="log"===s.BS&&bKeep?L+1:(null!==ZC._n_(s.BY[L])?s.BY:s.V)[L],"number"==typeof CV&&null!==ZC._n_(s.IU[CV])&&(CV=s.IU[CV]),null!==ZC._n_(AC)&&(CV=AC),ZC.PH(CV)&&ZC._f_(CV)<0),BC=s.MU();if(ZC._cp_(ET,BC),OU&&"currency"===BC.negation&&(CV=ZC._a_(ZC._f_(CV))),BC.utc=s.A.UK,BC.timezone=s.A.NE,CV=ZC.AO.G5(CV,BC,s,!0),s.CL)if("()"===s.CL.substring(s.CL.length-2)||"javascript:"===s.CL.substring(0,11))try{var ED=s.CL.replace("javascript:","").replace("()","");eval(ED)&&(CV=eval(ED).call(s,CV))}catch(e){}else CV=OU&&"currency"===BC.negation?"-"+s.CL.replace(/%v|%scale-value/g,CV):s.CL.replace(/%v|%scale-value/g,CV);return CV},K2:function(e,t,i,n,a){var i=this.FT(t,i,n,a),l=[];l.push(["%scale-label",i],["%scale-index",t],["%scale-position",t]),this.F7&&"date"===this.F7.o.type?l.push(["%scale-value",i],["%v",i]):"log"===this.BS&&a?l.push(["%scale-value",Math.pow(this.DY,t)],["%v",Math.pow(this.DY,t)]):l.push(["%scale-value",ZC._c_(this.V[t],"")],["%v",ZC._c_(this.V[t],"")]),l.push(["%l",i],["%t",i],["%i",t],["%c",t]),l.sort(ZC.A1Q);for(var o=0,r=l.length;o<r;o++){var C=new RegExp(l[o][0],"g");e=e.replace(C,l[o][1])}return e},A8D:function(){var e=this,t=ZC.BR(e.V.length,e.BY.length),i=0;if(0<t&&e.BQ.AA%180==0){for(var n=ZC.BR(1,ZC._i_(t/20)),a=0,l=0;l<t;l+=n){for(var o=((e.BY[l]||e.V[l])+"").split(/<br>|<br\/>|<br \/>|\n/),r=0,C=0,s=o.length;C<s;C++)r=ZC.BR(r,11*o[C].replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,"").length);i+=r,a++}i=.75*i/Math.max(1,a)}else i=15;e.CM?e.EJ=ZC._i_((e.F-e.A9-e.BU)/15):e.EJ=ZC._i_((e.I-e.A9-e.BU)/i),e.EJ=ZC.CY(e.EJ,20),(e.BF-e.B0)/e.E3+1<e.EJ?e.EJ=ZC.BR(e.EJ,ZC._i_((e.BF-e.B0)/e.E3)+1):(e.BF-e.B0)/(2*e.E3)+1<e.EJ&&(e.EJ=ZC.BR(e.EJ,ZC._i_((e.BF-e.B0)/(2*e.E3))+1)),e.EJ=ZC.BR(2,e.EJ)},ACA:function(){null===ZC._n_(this.o["max-ticks"])&&(this.M4=this.EJ)},AA0:function(e){var t,i,n=this;if(1!==e||n.o.transform&&"date"===n.o.transform.type&&null!==ZC._n_(n.o.transform.uniform)&&!ZC._b_(n.o.transform.uniform)&&(n.NW=!0),1===e&&null!==ZC._n_(n.o[ZC._[5]]))if(n.V=[],"object"==typeof n.o[ZC._[5]])for(n.V=n.o[ZC._[5]],0===n.BY.length&&(n.BY=n.V),F=0,t=n.V.length;F<t;F++)"string"==typeof n.V[F]&&(n.A4L=!0,n.IU.push(n.V[F]));else{var a=n.o[ZC._[5]].split(":"),l=n.E3;if(3===a.length&&(l=ZC._f_(a[2])),n.E3=n.SK=l,ZC._f_(a[0])>ZC._f_(a[1])&&(I=a[0],a[0]=a[1],a[1]=I),l<=0&&(l=1),1<a.length){for(var o=0,r=0,C=0,s=(""+l).split("."),A=ZC._f_(a[0]);A<=ZC._f_(a[1]);A+=l){var Z=(""+A).split(".");1<s.length&&1<Z.length&&0<s[1].length&&9<=Z[1].length&&2<ZC._a_(Z[1].length-s[1].length)?(o+=s[1].length,r=ZC.BR(r,s[1].length),C++,null!==(i=ZC._n_(n.o[ZC._[12]]))?n.V.push(ZC._f_(Number(A).toFixed(ZC._i_(i)))):n.V.push(ZC._f_(ZC._fixed_(Number(A),s[1].length))),A=ZC._f_(ZC._fixed_(Number(A),s[1].length))):(o+=Z[1]?Z[1].length:0,r=ZC.BR(r,Z[1]?Z[1].length:0),C++,null!==(i=ZC._n_(n.o[ZC._[12]]))?n.V.push(ZC._f_(Number(A).toFixed(ZC._i_(i)))):n.V.push(A))}null===ZC._n_(n.o[ZC._[12]])&&(o=Math.ceil(o/C),n.DV=ZC._a_(r-o)<=1?r:o)}}if(2===e){var c,h=0,p=[],u=(B=0===n.V.length?(g=ZC.MAX,-ZC.MAX):(g=n.V[0],n.V[n.V.length-1]),n.A.AY.A4),_=!1;for(F=0,t=u.length;F<t;F++){var d=u[F].BW();if(-1!==ZC.AV(d,n.BD)){for(var f,g,B,b=0===p.length,E=0,m=u[F].S.length;E<m;E++)u[F].S[E]?null!==u[F].S[E].BV?(f=u[F].S[E].BV,g=ZC.CY(g,f),B=ZC.BR(B,f),n.NW&&b&&p.push(f),n.EI=!0,u[F].EI=!0):_=!0:n.NW&&b&&p.push("");u[F].EI||(h=ZC.BR(h,u[F].S.length))}}if(null!==ZC._n_(n.o[ZC._[5]]))for(F=0;F<n.V.length;F++)null===n.V[F]&&(n.V[F]="");if(null!==ZC._n_(n.o[ZC._[10]]))for(F=0;F<n.BY.length;F++)null===n.BY[F]&&(n.BY[F]="");if(h>n.V.length&&0<n.V.length&&!n.EI)for(F=n.V.length;F<h;F++);var D=0;for(F=0;F<u.length;F++)u[F].LT&&(-1===u[F].R9&&(u[F].R9=D),D++,n.DE=!0);if(0===n.V.length)for(F=0;F<D;F++)n.V.push(F),n.BY.push(F);if(0===n.V.length)if(n.EI)_&&0<g&&(g=0),_&&B<h-1&&(B=h-1),null!==ZC._n_(n.o["min-value"])&&(g=ZC._f_(n.o["min-value"])),(B=null!==ZC._n_(n.o["max-value"])?ZC._f_(n.o["max-value"]):B)-g<n.E3&&0<B-g&&(n.E3=Math.pow(10,Math.floor(ZC.FU(B-g)/Math.LN10))),n.NW||n.QN(g,B,!0),0===g&&0===B&&"0,1"===n.V.join(",")&&(n.V=[0]);else if(null!==ZC._n_(n.o["max-value"])){v=c=0,null!==ZC._n_(n.o["min-value"])&&(c=ZC._f_(n.o["min-value"]));var v=ZC._f_(n.o["max-value"]),F=0,K=c;for(n.F7&&null!==ZC._n_(n.F7.o.type)?"date"===n.F7.o.type&&(n.E3=n.A1Y(c,v)):1e4<(v-c)/n.E3&&(n.E3=Math.pow(10,ZC.BR(1,ZC._i_(ZC.FU(ZC._a_(v-c),10)-4))));K<v;)K=n.A.A2P(F*n.E3+c),null===ZC._n_(n.V[F])&&(n.V[F]=K),F++}else if(v=(c=null!==ZC._n_(n.o["min-value"])?ZC._f_(n.o["min-value"]):0)+(h-1)*n.E3,"log"===n.BS)n.QN(c,v,!0);else for(F=0;F<h;F++)null===ZC._n_(n.V[F])&&(n.V[F]=n.A.A2P(F*n.E3+c));n.NW&&n.EI&&(n.V=[].concat(p),n.BY=[].concat(p))}if(n.NW)for(n.U9={},F=0,t=n.BY.length;F<t;F++)n.U9[n.BY[F]]=F;n.W=0,n.A1=n.V.length-1,n.D4=0,n.DP=n.V.length-1,0<n.IU.length?(n.B0=n.W,n.BF=n.A1):(n.B0=ZC._f_(n.V[n.W]),n.BF=ZC._f_(n.V[n.A1])),n.NP&&(-1===ZC.AV(n.V,n.NP[0])&&ZC.PH(n.NP[0])&&null!==ZC._n_(n.V[0])&&-1!==n.SK&&(n.NP[0]=n.V[0]+n.SK*Math.floor((n.NP[0]-n.V[0])/n.SK)),-1===ZC.AV(n.V,n.NP[1])&&ZC.PH(n.NP[1])&&null!==ZC._n_(n.V[0])&&-1!==n.SK&&(n.NP[1]=n.V[0]+n.SK*Math.ceil((n.NP[1]-n.V[0])/n.SK)),I=ZC.AV(n.V,n.NP[0]),e=ZC.AV(n.V,n.NP[1]),n.KO=[-1===I?0:I,-1===e?n.V.length-1:e]),n.KO&&-1!==n.W&&-1!==n.A1&&((n.KO[0]>n.A1||n.KO[0]<n.W)&&(n.KO[0]=n.W),n.KO[1]>n.A1||n.KO[1]<n.W)&&(n.KO[1]=n.A1);var I=n.G.E["graph"+n.A.L+".zoom"];null===ZC._n_(n.G.E[ZC._[53]])||n.G.E[ZC._[53]]?(e=1===n.L?"":"-"+n.L,typeof I!==ZC._[31]&&null!==ZC._n_(I["xmin"+e])&&null!==ZC._n_(I["xmax"+e])&&(n.KO=[I["xmin"+e],I["xmax"+e]])):n.G.E["graph"+n.A.L+".zoom"]={},n.KO&&(n.A.ZE=!0)},QN:function(e,t,i){var n,a=this,l=!1,o=null!==ZC._n_(a.o.step)&&-1!==(""+a.o.step).indexOf("month"),r=(a.F7&&null!==ZC._n_(a.F7.o.type)?"date"===a.F7.o.type&&((t-e)%(B=a.A1Y(e,t))==0||o||(t+=B-(t-e)%B),B=[e,t,B,1,B],l=!0):B="log"===a.BS?[e,t,1,1,1]:(b=null!==ZC._n_(a.o.step)||null!==ZC._n_(a.o["min-value"])||null!==ZC._n_(a.o["max-value"]),e!==t?ZC.AQ.WI(e,t,a.E3,a.P6,b):[e,t,a.E3,1,a.E3]),-1===a.SK&&(a.SK=B[4]),B[0]),C=B[1],s=B[2],A=(i&&"log"===a.BS&&(r=Math.floor(ZC.FU(r,a.DY)),C=Math.ceil(ZC.FU(C,a.DY))),null===ZC._n_(a.o.step)&&1e4<(C-r)/s&&(s=(C-r)/1e4,A=Math.ceil(ZC.FU(s)/Math.LN10),s=Math.pow(10,A)),null!==ZC._n_(a.o["min-value"])||r===C||l&&o||(r-=r%s),null!==ZC._n_(a.o["max-value"])||r===C||l&&o||(C=C-C%s+(C%s==0?0:s)),Math.floor(ZC.FU(s)/Math.LN10)),Z=B[3];if(A<Z&&A<0&&(Z=A),"log"===a.BS&&(Z=ZC.BR(1,Z)),a.V=[],l&&o){var c=ZC.AO.YF(r,"%Y-%n-%d-%H-%i-%s",!1,0).split("-"),h=new Date(r).getTimezoneOffset(),p=!0,u=ZC._i_((""+a.o.step).replace("month","")),_=(0===u&&(u=1),ZC._i_(c[1])),d=ZC._i_(c[0]);for(a.V.push(r);p&&r!==C;){var p=!1,f=ZC._i_(c[2]),f=(12<=_+u&&d++,_=(_+u)%12,(31===f&&(3===_||5===_||8===_||10===_)||28<f&&1===_)&&(f=1===_?d%4==0&&d%100!=0||d%400==0?29:28:30),new Date(d,_,f,ZC._i_(c[3]),ZC._i_(c[4]),ZC._i_(c[5]))),g=f.getTimezoneOffset(),f=f.getTime()+6e4*(h-g);a.V.push(f),f<C&&f<=t&&(p=!0)}}else if(i){a.FQ=e,a.GW=t,a.V0=ZC._i_((C-r)/s);var B,b=Math.floor(ZC.FU(ZC._a_(s))/Math.LN10),E=b<0?ZC._a_(b):0;for(0===E&&2===(B=(""+s).split(".")).length&&(E=B[1].length),(C-r)%s!=0&&(C-=(C-r)%s)<t&&(C=C-(C-r)%s+s),n=r;n<=C+Number.MIN_VALUE;n+=s){var m,D,v=n,F=a.DV;if("log"===a.BS)for(var K=!0;K;)K=!1,D=m=Math.pow(a.DY,v),m=ZC._f_(ZC._fixed_(m,F)),D<1&&D!==m&&1.005<ZC.BR(D,m)/ZC.CY(D,m)&&(K=!0,++F>ZC.CY(20,-1===a.I6?99:a.I6))&&(K=!1);else m=null!==F?ZC._f_(ZC._fixed_(v,Math.max(F,E))):ZC._f_(ZC._fixed_(v,E));a.V.push(m)}}else for(s=ZC._f_((t-e)/a.V0),n=0;n<=a.V0;n++)v=e+s*n,Z<0&&(v=ZC._f_(v.toFixed(-Z))),a.V.push(v);a.W=0,a.A1=a.V.length-1,a.D4=0,a.DP=a.V.length-1,a.B0=ZC._f_(a.V[a.W]),a.BF=ZC._f_(a.V[a.A1])},A1Y:function(e,t,i){typeof i===ZC._[31]&&(i=!1);t=Math.floor(ZC.FU(t-e)/Math.LN10);return null===ZC._n_(this.o.step)||i?t<=3?1:4===t?1e3:5===t?1e4:6===t?2e4:7===t?3e4:8===t?6e4:9===t?6e5:10===t?12e5:11===t?18e5:36e5:this.E3},parse:function(){this.b()},clear:function(){this.b()},build:function(){this.b()},paint:function(){this.b(),null!==ZC._n_(this.o[ZC._[5]])&&(this.TF=!0)}}),WA=(ZC.ZN=ZC.F4.CD(ZN),{$i:function(e){this.b(e);this.AF="v",this.W=-1,this.A1=-1,this.V0=0,this.DV=null,this.KT="normal",this.JP=[],this.bExtendMinValue=!0,this.bExtendMaxValue=!0},zoomTo:function(e,t){var i,n=this;if(n.GP){null!==ZC._n_(e)?n.B0=e:n.B0=n.FQ,null!==ZC._n_(t)?n.BF=t:n.BF=n.GW,"piano"!==n.A.AF&&!n.Q3||(n.B0=ZC._i_(n.B0),n.BF=ZC._i_(n.BF),n.B0!==n.BF)||(n.B0=Math.floor(n.B0),n.BF=n.B0+n.E3),n.QN(n.B0,n.BF,!1),"lin"!==n.BS&&"log"!==n.BS&&(a=ZC.evalFn(n.BS,window))&&a.valueToCoord&&a&&a.values&&(n.V=a.values.call(n,{x:n.iX,y:n.iY,width:n.I,height:n.F,offsetStart:n.A9,offsetEnd:n.BU,inversed:n.CM,mirrored:n.AW,minValue:n.B0,maxValue:n.BF,minValue_:n.FQ,maxValue_:n.GW}),n.W=0,n.A1=n.V.length-1);for(var a,l=n.A.BW("v"),o=0;o<l.length;o++)l[o].BD!==n.BD&&l[o].sMaster===n.BD&&l[o].zoomTo(e,t);if(""===n.sMaster){if(n.G.H6.C||(n.G.H6.C=n.A),n.A.H6&&null!==ZC._n_(n.A.H6.o.shared)&&ZC._b_(n.A.H6.o.shared)&&n.A.K===n.G.H6.C.K)for(o=0,i=n.G.AG.length;o<i;o++){var r,C=n.G.AG[o];C.K!==n.A.K&&null!==ZC._n_(C.H6.o.shared)&&ZC._b_(C.H6.o.shared)&&(r=C.BM(n.BD))&&r.GP&&(e=Math.max(r.FQ,Math.min(r.GW,n.B0)),t=Math.max(r.FQ,Math.min(r.GW,n.BF)),r.zoomTo(e,t),ZC.AL(C.K))&&(C.clear(!0),C.E["shared-zoom"]=!0,C.paint(),C.B7)&&C.B7.update(null,null,e,t,!0)}n.J6()}}},FT:function(L,CV,ET){var s=this,OU=(typeof CV===ZC._[31]&&(CV="",CV=(null!==ZC._n_(s.BY[L])?s.BY:s.V)[L]),"number"==typeof CV&&null!==ZC._n_(s.JP[CV])&&(CV=s.JP[CV]),ZC.PH(CV)&&ZC._f_(CV)<0),BC=s.MU();if(ZC._cp_(ET,BC),null!==ZC._n_(s.E["max-power"])&&(BC["max-power"]=s.E["max-power"]),OU&&"currency"===BC.negation&&(CV=ZC._a_(ZC._f_(CV))),BC.utc=s.A.UK,BC.timezone=s.A.NE,CV=ZC.AO.G5(CV,BC,s,!0),s.CL)if("()"===s.CL.substring(s.CL.length-2)||"javascript:"===s.CL.substring(0,11))try{var ED=s.CL.replace("javascript:","").replace("()","");eval(ED)&&(CV=eval(ED).call(s,CV))}catch(e){}else CV=OU&&"currency"===BC.negation?"-"+s.CL.replace(/%v|%scale-value/g,CV):s.CL.replace(/%v|%scale-value/g,CV);return CV},A8D:function(){var e=this,t=ZC.BR(e.V.length,e.BY.length);0===t&&(t=10),"log"===e.BS?e.EJ=999:(t=Math.max(15,10*ZC.BR(e.V.join("").length,e.BY.join("").length)/t),e.CM?e.EJ=ZC._i_((e.I-e.A9-e.BU)/t):e.EJ=ZC._i_((e.F-e.A9-e.BU)/10),e.EJ=ZC.CY(e.EJ,10),e.EJ=ZC.BR(2,e.EJ))},ACA:function(){null===ZC._n_(this.o["max-ticks"])&&(this.M4=this.EJ)},AA0:function(e){var t,i,n,a=this;if(""!==a.sMaster&&2===e){var l=a.A.BM(a.sMaster);if(l)return a.B0=l.B0,a.FQ=l.FQ,a.BF=l.BF,a.GW=l.GW,a.E3=l.E3,a.SK=l.SK,a.W=l.W,a.A1=l.A1,a.D4=l.D4,a.DP=l.DP,a.V=[].concat(l.V),void(a.BY=[].concat(l.BY))}1===e&&null===ZC._n_(a.o[ZC._[5]])&&null!==ZC._n_(l=a.A.ABF("v"))&&(a.o[ZC._[5]]=l);var o,r,C,l=0,s=a.JP;if(1===e&&null!==ZC._n_(a.o[ZC._[5]])){if(a.V=[],"object"==typeof a.o[ZC._[5]]){for(var A=a.o[ZC._[5]],Z=ZC.Y4(A),c=ZC.A1U(A),h=!0,p=0,u=A.length-2;p<u;p++)if("number"==typeof A[p+2]&&"number"==typeof A[p+1]&&"number"==typeof A[p]&&ZC._f_(A[p+2])-ZC._f_(A[p+1])!=ZC._f_(A[p+1])-ZC._f_(A[p])){h=!1;break}if(!h&&(a.o[ZC._[5]]=Z+":"+c,!a.LW))for(a.LW=[],p=0,u=A.length;p<u;p++)a.LW.push(""+A[p])}if("object"==typeof a.o[ZC._[5]])for(ZC._cpa_(a.o[ZC._[5]],a.V),0===a.BY.length&&ZC._cpa_(a.BY,a.V),p=0,u=a.V.length;p<u;p++)"string"==typeof a.V[p]&&(r=a.V[p],-1===(C=ZC.AV(s,a.V[p]))||a.bAllowDuplicates?(s.push(a.V[p]),a.V[p]=s.length-1):a.V[p]=C,null===ZC._n_(a.BY[p]))&&(a.BY[p]=r);else{var _=a.o[ZC._[5]].split(":"),d=1;if(3===_.length&&(d=ZC._f_(_[2])),ZC._f_(_[0])>ZC._f_(_[1])&&(Z=_[0],_[0]=_[1],_[1]=Z),d<=0&&(d=1),null!==ZC._n_(a.o["fixed-items"])&&(d=(ZC._f_(_[1])-ZC._f_(_[0]))/ZC.BR(1,ZC._i_(a.o["fixed-items"])-1),a.V0=ZC.BR(1,ZC._i_(a.o["fixed-items"])-1)),1<_.length){for(var f=0,g=0,B=0,b=(""+d).split("."),E=ZC._f_(_[0]);E<=ZC._f_(_[1]);E+=d)t=(""+E).split("."),1<b.length&&1<t.length&&0<b[1].length&&9<=t[1].length&&2<ZC._a_(t[1].length-b[1].length)?(f+=b[1].length,g=ZC.BR(g,b[1].length),B++,a.V.push(ZC._f_(ZC._fixed_(Number(E),b[1].length)))):(f+=ZC._i_(t[1]?t[1].length:0),g=ZC.BR(g,t[1]?t[1].length:0),B++,a.V.push(E));E-ZC._f_(_[1])!=0&&ZC._a_(E-ZC._f_(_[1]))/d<1e-8&&a.V.push(ZC._f_(_[1])),null===ZC._n_(a.o[ZC._[12]])&&(f=(t=(""+d).split("."))[1]?t[1].length:Math.ceil(f/B),a.DV=ZC._a_(g-f)<=1?g:f)}}a.W=0,a.A1=a.V.length-1,a.E3=d,1<s.length?(l=ZC.Y4(a.V,!0),a.B0=ZC.Y4(a.V),a.BF=ZC.A1U(a.V)):(a.B0=a.V[0],a.BF=a.V[a.V.length-1]),"log"===a.BS&&(0===a.B0&&(o=Math.floor(ZC.FU(l,a.DY)),a.B0=Math.pow(a.DY,Math.min(-1,o))),a.QN(ZC.FU(a.B0,a.DY),ZC.FU(a.BF,a.DY),!1))}if(2===e){var m={},D=(null===ZC._n_(a.o[ZC._[5]])&&(a.V=[],i=ZC.MAX,n=-ZC.MAX),[]),v=a.A.AY.A4;for(p=0,u=v.length;p<u;p++)if(a.A.E["plot"+p+".visible"]||"hide"===a.A.getToggleAction()){var F=v[p].BW();if(-1!==ZC.AV(F,a.BD))for(var K=-1!==ZC.AV(["vbar","hbar","vbar3d","hbar3d"],v[p].AF),I=[],x=0,y=v[p].V.length;x<y;x++)if(v[p].S[x]){var Y=null===v[p].S[x].BV?x:v[p].S[x].BV;if(!v[p].CG||-1===ZC.AV(I,Y)){I.push(Y);var L=v[p].LZ&&null!==ZC._n_(v[p].LZ[x])?ZC._f_(v[p].LZ[x]):0;if(v[p].CG)null===ZC._n_(m[v[p].DZ])&&(m[v[p].DZ]=[]),null===ZC._n_(m[v[p].DZ][Y])?0<=v[p].S[x].AC||!K?m[v[p].DZ][Y]=[v[p].S[x].AC,0]:m[v[p].DZ][Y]=[0,v[p].S[x].AC]:0<=v[p].S[x].AC||!K?m[v[p].DZ][Y][0]+=v[p].S[x].AC:m[v[p].DZ][Y][1]+=v[p].S[x].AC,0<=v[p].S[x].AC||!K?v[p].S[x].CR=m[v[p].DZ][Y][0]:v[p].S[x].CR=m[v[p].DZ][Y][1],null===ZC._n_(a.o[ZC._[5]])&&D.push(m[v[p].DZ][Y][0]+L,m[v[p].DZ][Y][1]+L);else if(null===ZC._n_(a.o[ZC._[5]])){D.push(v[p].S[x].AC+L),0!==L&&D.push(L);for(var G=0,X=v[p].S[x].DU.length;G<X;G++)D.push(v[p].S[x].DU[G]+L)}}}}0<D.length&&(l=ZC.Y4(D,!0),i=ZC.Y4(D),n=ZC.A1U(D)),0!==a.V.length||i!==Number.MAX_VALUE&&n!==Number.MIN_VALUE||(a.V=[0,1],i=0,n=1),null===ZC._n_(a.o[ZC._[5]])&&(null!==ZC._n_(a.o["min-value"])&&"auto"!==a.o["min-value"]?i=ZC._f_(a.o["min-value"]):0<i&&"auto"!==a.o["min-value"]&&"log"!==a.BS&&(i=0),null!==ZC._n_(a.o["max-value"])&&(n=ZC._f_(a.o["max-value"])),i===ZC.MAX&&n===-ZC.MAX?(a.W=0,a.A1=0,a.B0=0,a.BF=0):"log"===a.BS?(0===i&&(o=Math.floor(ZC.FU(l,a.DY)),i=Math.pow(a.DY,Math.min(-1,o))),a.QN(ZC.FU(i,a.DY),ZC.FU(n,a.DY),!1)):"lin"===a.BS?a.QN(i,n,!0):(a.QN(i,n,!0),(c=ZC.evalFn(a.BS,window))&&c.values&&(a.V=c.values.call(a,{x:a.iX,y:a.iY,width:a.I,height:a.F,offsetStart:a.A9,offsetEnd:a.BU,inversed:a.CM,mirrored:a.AW,minValue:i,maxValue:n,minValue_:i,maxValue_:n}),a.W=0,a.A1=a.V.length-1)))}2===e&&(-1===a.FQ&&-1===a.GW&&(a.FQ=a.B0,a.GW=a.BF),-1===a.SK)&&(a.SK=a.E3),"auto"===a.o["min-value"]&&null===ZC._n_(a.o["ref-value"])&&(a.HC=a.B0),0===a.V0&&(a.V0=ZC._i_((a.BF-a.B0)/a.E3));Z=a.G.E["graph"+a.A.L+".zoom"];null===ZC._n_(a.G.E[ZC._[53]])||a.G.E[ZC._[53]]?(l=1===a.L?"":"-"+a.L,2===e&&typeof Z!==ZC._[31]&&null!==ZC._n_(Z["ymin"+l])&&null!==ZC._n_(Z["ymax"+l])&&(ZC.DS(Z["ymin"+l],a.B0,a.BF)||(Z["ymin"+l]=a.B0),ZC.DS(Z["ymax"+l],a.B0,a.BF)||(Z["ymax"+l]=a.BF),a.KO=[Z["ymin"+l],Z["ymax"+l]])):a.G.E["graph"+a.A.L+".zoom"]={},a.KO&&(a.A.ZE=!0)},QN:function(e,t,i){var n,a,l,o,r,C=this,s=(e-=C.fMinValueFactor*(t-e),t+=C.fMaxValueFactor*(t-e),"piano"!==C.A.AF&&!C.Q3&&1<C.JP.length&&(e=0),C.TN.length&&null===ZC._n_(C.o["scale-factor"])&&(f=Math.floor(ZC.FU(ZC._a_(t),ZC._f_(C.TN[0]))),C.P6=Math.pow(ZC._f_(C.TN[0]),f)/Math.pow(1e3,f),C.E["max-power"]=f),(n=C.F7&&"date"===C.F7.o.type?ZC.AQ.WI(e,t,"lin"===C.BS?C.E3:null,C.P6,C.bNormalize,C.EJ):ZC.AQ.WI(e,t,"lin"===C.BS?C.o.step:null,C.P6,C.bNormalize,C.EJ))[0]),A=n[1],Z=!1,c=(d=Math.floor(n[0]),"log"===C.BS&&(f=Math.ceil(n[1]),.5<=n[1]-n[0]?Z=!0:n=ZC.AQ.WI(Math.pow(C.DY,n[0]),Math.pow(C.DY,n[1]),null,C.P6,C.bNormalize)),n[0]),h=n[1],p=n[2],u=(null!==ZC._n_(C.o["fixed-items"])&&(p=(h-c)/ZC.BR(1,ZC._i_(C.o["fixed-items"])-1)),C.Q3&&t===e&&(t+p<=C.BF?t+=p:e-=p),1!==C.R6&&(c*=C.R6,h*=C.R6,p*=C.R6),null!==ZC._n_(C.E["o-decimals"])?C.DV=C.E["o-decimals"]:C.E["o-decimals"]=C.DV,null===ZC._n_(C.o[ZC._[12]])&&("log"===C.BS&&Z?C.DV=d<0?null:0:C.bNormalize?C.A2R||(C.DV=0):(a=ZC.FU(t-e,10),C.DV=n[3],9<C.DV&&(1<=a?C.DV=1:0<a&&a<1&&(C.DV=2)))),!0);if(Z){for(var _,d=Math.floor(c),f=Math.ceil(h),g=Math.pow(C.DY,e),B=Math.pow(C.DY,t),b=(C.V=[],[0,2,5]),E=[0,1,2,3,4,5,6,7,8,9,10],m=d;m<=f;m++){var D=n[3],D=m<0?Math.max(ZC._a_(m),D):0;if(m===f)for(_=0;_<b.length;_++)r=Math.pow(C.DY,m)+b[_]*Math.pow(C.DY,m-1),r=ZC._f_(r.toFixed(D)),-1===ZC.AV(C.V,r)&&C.V.push(r);for(_=0;_<E.length;_++)r=E[_]*Math.pow(C.DY,m),r=ZC._f_(r.toFixed(D)),-1===ZC.AV(C.V,r)&&C.V.push(r)}C.V.sort(function(e,t){return e-t});for(var v=-1,F=-1,K=0;K<C.V.length-1;K++)C.V[K]<=g&&g<=C.V[K+1]&&(v=K),C.V[K]===B?F=K:C.V[K]<=B&&B<=C.V[K+1]&&(F=K+1);C.V=C.V.slice(v,F+1),0===C.V[0]&&C.V.shift(),s=ZC.FU(C.V[0],C.DY),A=ZC.FU(C.V[C.V.length-1],C.DY)}else{for("log"===C.BS&&(g=Math.pow(C.DY,e),B=Math.pow(C.DY,t));u;){for(u=!1,C.V=[],l=o=c;o=l,o=ZC._f_(o.toFixed(C.DV)),-1!==ZC.AV(C.V,o)&&(u=!0),("log"!==C.BS||c<=o&&o<=h)&&C.V.push(o),l+=p,(l=ZC._f_(l.toFixed(n[3])))<=h;);u&&(C.DV+=1)}"log"===C.BS&&(s=ZC.FU(c,C.DY),A=ZC.FU(h,C.DY),C.V.push(c),C.V.push(h),C.V.sort(function(e,t){return e-t}))}C.E3=p,C.W=0,C.A1=C.V.length-1,i?(C.B0=C.bExtendMinValue?s:e,C.BF=C.bExtendMaxValue?A:t):(C.B0=e,C.BF=t)},parse:function(){this.assign_a([["stack-type","KT"],["extend-min-value","bExtendMinValue","b"],["extend-max-value","bExtendMaxValue","b"]]),(this.A.CG&&"100%"===this.A.KT||"100%"===this.KT)&&null===ZC._n_(this.o[ZC._[5]])&&(this.o[ZC._[5]]="0:100:20",this.o.format="%v%"),this.b()},clear:function(){this.b()},build:function(){this.b()},paint:function(){this.b(),null===ZC._n_(this.E[ZC._[12]])&&(this.E[ZC._[12]]=null!==ZC._n_(this.DV)?this.DV:-1),null!==ZC._n_(this.o[ZC._[5]])&&(this.TF=!0)}}),QA=(ZC.WA=ZC.F4.CD(WA),{$i:function(e){this.b(e)},parse:function(){this.b()},J6:function(){var e=this;e.A1===e.W?e.AD=e.I-e.A9-e.BU:e.AD=(e.I-e.A9-e.BU)/(e.A1-e.W+(e.DE?1:0))},AA0:function(e){this.b(e),this.J6()},zoomTo:function(e,t){this.b(e,t);this.J6()},clear:function(){},build:function(){this.b()},NI:function(e){var t=this,e=t.AW?(t.iX+t.I-t.A9-e)/(t.I-t.A9-t.BU):(e-t.iX-t.A9)/(t.I-t.A9-t.BU),i=t.B0,n=t.BF,n=(null!==ZC._n_(t.aForcedMinMax[0])&&t.aForcedMinMax[0]!==i&&(i=t.aForcedMinMax[0]),null!==ZC._n_(t.aForcedMinMax[1])&&t.aForcedMinMax[1]!==n&&(n=t.aForcedMinMax[1]),"log"===t.BS&&(i=ZC.FU(i,t.DY),n=ZC.FU(n,t.DY)),i+ZC._f_((n-i)*e));return n="log"===t.BS?Math.pow(t.DY,n):n},OL:function(e,t,i){var n,a,l=this,o=(typeof i===ZC._[31]&&(i=!1),l.DE?l.AD:0),e=l.AW?(l.iX+l.I-e-l.A9-o/2)/(l.I-l.A9-l.BU-o):(e-l.iX-l.A9-o/2)/(l.I-l.A9-l.BU-o),r=!1;if(t)for(a in t.K9){r=!0;break}if(t&&!l.NW&&r){var o=l.V[l.W],C=("string"==typeof o&&(o=ZC.AV(l.IU,o)),"log"===l.BS&&(o=ZC.FU(o,l.DY)),l.V[l.A1]),s=("string"==typeof C&&(C=ZC.AV(l.IU,C)),"log"===l.BS&&(C=ZC.FU(C,l.DY)),o+ZC._f_((C-o)*e)),A=("log"===l.BS&&(s=Math.pow(l.DY,s)),ZC.MAX),Z=null;for(a in t.K9)(n=Math.abs(a-s))<A&&(A=n,Z=t.K9[a]);if(null===ZC._n_(Z)&&(Z=s),A>t.A2G){C=Math.ceil((C-o)/(l.I-l.A9-l.BU));if(t.V.length<2&&(C*=100),C<A)return null}}else{o=l.W,C=l.A1;l.EI&&(null!==ZC._n_(n=l.V[o])&&(o=n),null!==ZC._n_(n=l.V[C]))&&(C=n),"log"===l.BS&&(o=ZC.FU(o,l.DY),C=ZC.FU(C,l.DY)),Z=i?l.DE?o+(C-o+1)*e:o+(C-o)*e:(l.DE,l.W+(l.A1-l.W)*e),Z="log"===l.BS?(Z=Math.pow(l.DY,Z),Math.round(Z)-1):(Z=ZC._i_(Z),Z=ZC.BR(0,Z),ZC.CY(l.DP,Z))}return Z},II:function(e){var t=this;t.W,t.A1;return t.EI&&!t.NW&&(t.B0,t.BF),"log"===t.BS&&(e=ZC.FU(e+1,t.DY)),t.AW?t.iX+t.I-t.A9-(e-t.W+(t.DE?1:0))*t.AD+(t.DE?t.AD/2:0):t.iX+t.A9+(e-t.W)*t.AD+(t.DE?t.AD/2:0)},AR:function(e){var t,i,n,a,l,o=this;return"log"===o.BS&&(0===e&&(e=o.B0),e=ZC.FU(e,o.DY)),o.NW?(l=o.U9[e],o.II(l)):-1!==(l=ZC.AV(o.IU,e))?o.II(l):!o.A4L&&(o.EI||o.F7&&"date"===o.F7.o.type)?(n=o.V[o.W],a=o.V[o.A1],l=o.I,"log"===o.BS&&(n=ZC.FU(n,o.DY),a=ZC.FU(a,o.DY),o.W===o.D4)&&o.A1===o.DP&&(l=(o.A1-o.W)*o.AD+o.A9+o.BU),t=a===n?0:(l-o.A9-o.BU-(o.DE?o.AD:0))/(i=a-n),o.AW?o.iX+l-o.A9-(e-n)*t-(o.DE?o.AD/2:0)+o.iMinOffset:o.iX+o.A9+(e-n)*t+(o.DE?o.AD/2:0)-o.iMinOffset):(n=o.B0,a=o.BF,"log"===o.BS&&(n=ZC.FU(n,o.DY),a=ZC.FU(a,o.DY)),t=a===n?0:(i=a-n+(o.DE?1:0),(o.I-o.A9-o.BU)/i),o.AW?o.iX+o.I-o.A9-(e-n)*t-(o.DE?o.AD/2:0):o.iX+o.A9+(e-n)*t+(o.DE?o.AD/2:0))},paint:function(){var w,S,e,r,P,t,O,i,n,N,C=this,a=(C.b(),null!==ZC._n_(C.A.A.E[C.A.K+"-"+C.BD+"-feed-offset-start"])&&(C.A9=C.A.A.E[C.A.K+"-"+C.BD+"-feed-offset-start"]),"bubble"!==C.A.AF&&"scatter"!==C.A.AF||(-1===C.A9&&-1===C.BU||1===C.V.length)&&(C.A9=C.BU=C.I/(C.V.length+1),C.J6()),C.BF),l=C.B0,s=("log"===C.BS&&(null!==ZC._n_(C.o["max-value"])&&(a=ZC._f_(C.o["max-value"]),C.aForcedMinMax[1]=a),null!==ZC._n_(C.o["min-value"])&&(l=ZC._f_(C.o["min-value"]),C.aForcedMinMax[0]=l),C.iMinOffset=0,a===C.BF&&l===C.B0||C.W!==C.D4||C.A1!==C.DP||1===C.aForcedMinMax[2]&&(C.aForcedMinMax[2]=0,o=C.AD,C.AD=(C.I-C.A9-C.BU)/(ZC.FU(a,C.DY)-ZC.FU(l,C.DY))-.1,l=ZC.FU(l,C.DY)-ZC.FU(C.B0,C.DY),a=ZC.FU(C.BF,C.DY)-ZC.FU(a,C.DY),C.iMinOffset=l*(C.AD-o)*(C.V.length-1)/(a+l))),C.A0Q()),Q=0,k=1,z=1,V={};for(L=0,S=C.A.BO.length;L<S;L++)C.A.BO[L].BD.substring(0,7)===ZC._[50]&&C.A.BO[L].BA===C.BA&&Q++,C.A.BO[L].BD.substring(0,7)===ZC._[50]&&("default"===C.A.BO[L].BA?(V[C.A.BO[L].BD]=k,k++):(V[C.A.BO[L].BD]=z,z++));var o=V[C.BD],A="default"===C.BA,Z=null,c=null;for(L=0,S=C.A.AY.A4.length;L<S;L++){var T=C.A.AY.A4[L],H=T.BW();if(-1!==ZC.AV(H,C.BD)){H=C.A.BM(T.BW("v")[0]),Z=H.AR(H.HC),c=T;break}}var h=8,p=(null!==ZC._n_(C.IV.o[ZC._[21]])&&(h=ZC._i_(C.IV.o[ZC._[21]])),4),a=(null!==ZC._n_(C.IG.o[ZC._[21]])&&(p=ZC._i_(C.IG.o[ZC._[21]])),ZC._i_(C.A.E[C.BD+"-distance"]||-1)),l=(C.VG&&(a=0),"default"===C.BA?(y=ZC._i_(C.A.P.DW/Q),r=C.iY+C.F+(o-1)*y,-1!==a&&(r=C.iY+C.F+a)):(y=ZC._i_(C.A.P.EB/Q),r=C.iY-(o-1)*y,-1!==a&&(r=C.iY-a)),r);if(C.A.HO&&(C.A.HO.AP=!0,C.D4===C.W&&C.DP===C.A1&&(C.A.HO.AP=!1),C.A.HO.AP)&&0===C.A.HO.B2.BJ&&"default"===C.BA&&(r+=C.A.HO.B2.F+C.B1/2),C.E.iY=r,C.AP&&C.TF){null!==ZC._n_(C.o["fixed-items"])&&(C.M4=C.EJ=ZC._i_(C.o["fixed-items"]));for(var u=ZC.BR(1,Math.ceil((C.A1-C.W)/(C.M4-1))),_=ZC.BR(1,Math.ceil((C.A1-C.W)/(C.EJ-1))),J=(null===ZC._n_(C.o["fixed-items"])&&ZC._b_(C.o.normalize)&&(u=ZC.AQ.A0S(u),_=ZC.AQ.A0S(_)),C.iStepMultiplier),d=3;0<d;d--)C.iStepMultiplier>d&&C.A1-C.W<=d*C.iStepMultiplier&&(J=d);_*=J;var f,g,R,U,W=0,B=C.AD*(u*=J)/(C.FZ+1),j=C.AW?C.iX+C.BU:C.iX+C.A9,q=C.AW?C.iX+C.I-C.A9:C.iX+C.I-C.BU;if(null===ZC._n_(Z)&&(Z=r),o=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-ml-0-c"),t=ZC.Q.EE(o,C.G.AB),P=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-bl-0-c"),O=ZC.Q.EE(P,C.G.AB),"inherit"===C.o["line-color"]&&-1!==s&&(C.B9=s),C.A.AJ["3d"]?((f=ZC.DL.DD(C,C.A,C.iX-ZC.AM.E1,C.iX-ZC.AM.E1+C.I,r-ZC.AM.E2,r-ZC.AM.E2,-1,ZC.AM.FE+1,"x")).K=C.K+"-line",C.A.ES.true3d&&(0<C.A.ES[ZC._[27]]?f.MG=[1===C.L?-100:100,1,1]:f.MG=[1===C.L?100:-100,1,1]),C.A.CN.add(f),null!==ZC._n_(C.o.axis)&&((y=new ZC.CZ(C)).append(C.o.axis),y.parse(),y.A0=y.AE=y.B9,(f=ZC.DL.DD(y,C.A,C.iX-ZC.AM.E1,C.iX-ZC.AM.E1+C.I,r-ZC.AM.E2,r-ZC.AM.E2,-y.B1/2,y.B1/2,"x")).K=C.K+"-axis",C.A.CN.add(f))):(g=[[C.iX-1,l],[C.iX+C.I+1,l]],a=C.K,C.K+="-line",ZC.CO.paint(t,C,g),C.K=a),0<C.V.length&&C.D8.AP){var b,E,$,ee,m,te=null===ZC._n_(C.D8.o["offset-start"])?0:ZC._i_(C.D8.o["offset-start"]),ie=null===ZC._n_(C.D8.o["offset-end"])?0:ZC._i_(C.D8.o["offset-end"]);if(C.D8.o.items&&0<C.D8.o.items.length&&!C.A.AJ["3d"])for(n=new ZC.HU(C),L=C.W;L<C.A1+(C.DE?1:0);L++)b=L-C.W,N=L%C.D8.o.items.length,n.append(C.D8.o.items[N]),n.K=C.K+"-guide-"+L,n.Z=P,n.parse(),C.AW?n.iX=C.iX+C.I-C.A9-b*C.AD-C.AD:n.iX=C.iX+C.A9+b*C.AD,n.iY=C.iY+te,n.I=C.AD,n.F=C.F-te-ie,n.paint();if(0<C.D8.B1)for(C.GU=0,L=C.W;L<=C.A1+(C.DE?1:0);L++)(C.KA=L)!==C.W&&L!==C.A1+(C.DE?1:0)&&(L-C.W)%u!=0||((0<C.D8.E6.length||L===C.W)&&((i=new ZC.CZ(C)).Z=i.C8=P,i.copy(C.D8),i.IQ=X,i.DG())&&i.parse(),g=[],b=L-C.W,E="log"===C.BS?C.AR(C.V[L]):C.AW?C.iX+C.I-C.A9-b*C.AD:C.iX+C.A9+b*C.AD,$=C.iY+te,ee=C.F-te-ie,i.AP&&(C.A.AJ["3d"]?((m=new ZC.CZ(C)).copy(i),null!==ZC._n_(C.o["scale-z"])&&null!==ZC._n_(w=C.o["scale-z"].guide)&&(m.append(w),m.parse()),m.A0=m.AE=m.B9,f=ZC.DL.DD(m,C.A,E-ZC.AM.E1-m.B1/2,E-ZC.AM.E1+m.B1/2,r-ZC.AM.E2,r-ZC.AM.E2,0,ZC.AM.FE,"z"),C.A.CN.add(f),i.A0=i.AE=i.B9,(f=ZC.DL.DD(i,C.A,E-ZC.AM.E1-i.B1/2,E-ZC.AM.E1+i.B1/2,$-ZC.AM.E2,$+ee-ZC.AM.E2,ZC.AM.FE+2,ZC.AM.FE+2,"y")).K=C.K+"-guide-"+L,C.A.CN.add(f)):(g.push([E,$],[E,$+ee]),i.K=C.K+"-guide-"+L,ZC.CO.paint(O,i,g))),C.GU++)}if(0<C.V.length&&C.G8.AP&&!C.A.AJ["3d"]&&C.G8.o.items&&0<C.G8.o.items.length)for(n=new ZC.HU(C),L=C.W;L<C.A1+(C.DE?1:0);L++)for(C.KA=L,b=L-C.W,C.GU=0,e=1;e<=C.FZ;e++)N=C.GU%C.G8.o.items.length,n.append(C.G8.o.items[N]),n.K=C.K+"-guide-"+L+"-"+e,n.Z=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-bl-0-c"),n.parse(),C.AW?n.iX=C.iX+C.I-C.A9-b*C.AD-(e+1)*B:n.iX=C.iX+C.A9+b*C.AD+e*B,n.iY=C.iY,n.I=B,n.F=C.F,n.paint(),C.GU++;if(0<C.G8.B1)for(L=C.W;L<C.A1+(C.DE?1:0);L++)if((C.KA=L)%u==0)for(b=L-C.W,C.GU=0,e=1;e<=C.FZ;e++)g=[],(i=new ZC.CZ(C)).copy(C.G8),i.IQ=X,i.DG()&&i.parse(),E="log"===C.BS?C.AR(C.V[L]+e*C.V[L+1]/(C.FZ+2)):C.AW?C.iX+C.I-C.A9-b*C.AD-e*B:C.iX+C.A9+b*C.AD+e*B,ZC.DS(E,j,q)&&(g.push([E,C.iY],[E,C.iY+C.F]),i.AP)&&(i.K=C.K+"-minor-guide-"+e,ZC.CO.paint(O,i,g)),C.GU++;if(C.VL(O,s),0<C.V.length&&C.IV.AP){switch(C.IV.o[ZC._[7]]){case"inner":break;case"outer":W+=h;break;default:W+=h/2}if(!zingchart.DEV.SMARTDATELABELS||!C.F7||"date"!==C.F7.o.type)for(C.GU=0,L=C.W;L<=C.A1+(C.DE?1:0);L++)if(L===C.W||L===C.A1+(C.DE?1:0)||(L-C.W)%u==0){C.KA=L;var D=h;if(g=[],b=L-C.W,(0<C.IV.E6.length||L===C.W)&&((i=new ZC.DT(C)).copy(C.IV),"inherit"===C.IV.o["line-color"]&&-1!==s&&(i.B9=s),i.IQ=X,i.DG()&&i.parse(),1<i.AI)&&(D=i.AI),E="log"===C.BS?C.AR(C.V[L]):C.AW?C.iX+C.I-C.A9-b*C.AD:C.iX+C.A9+b*C.AD,ZC.DS(E,j,q)){switch(i.o[ZC._[7]]){case"ref-auto":g.push([E,Z+D/2],[E,Z-D/2]);break;case"ref-top":g.push([E,Z-D],[E,Z]);break;case"ref-bottom":g.push([E,Z+D],[E,Z]);break;case"inner":g.push([E,r-(A?D:-D)],[E,r]);break;case"outer":g.push([E,r],[E,r+(A?D:-D)]);break;default:g.push([E,r+D/2],[E,r-D/2])}if(i.AP){for(R=ZC._i_(i.o["offset-x"]||"0"),U=ZC._i_(i.o["offset-y"]||"0"),v=0;v<g.length;v++)g[v][0]+=R,g[v][1]+=U;if(i.K=C.K+"-tick-"+L,C.A.AJ["3d"])if(C.A.ES.true3d){for(var ne,ae=[],v=0;v<g.length;v++)ne=new ZC.CE(C.A,g[v][0]-ZC.AM.E1,g[v][1]-ZC.AM.E2,0),ae.push([ne.EC[0],ne.EC[1]]);ZC.CO.paint(t,i,ae)}else{var le=this.A.ES.angle||45;for(v=0;v<g.length;v++)g[v][0]-=ZC.EF(le)*ZC.AM.FE/2,g[v][1]+=ZC.EL(le)*ZC.AM.FE/2;ZC.CO.paint(t,i,g)}else ZC.CO.paint(t,i,g)}}C.GU++}}var oe,F,re=[];if(0<C.V.length&&0<C.FZ&&C.IG.AP&&!C.A.AJ["3d"])for(L=C.W;L<C.A1+(C.DE?1:0);L++)if((C.KA=L)%u==0)for(b=L-C.W,C.GU=0,e=1;e<=C.FZ;e++){if(g=[],(i=new ZC.CZ(C)).copy(C.IG),"inherit"===C.IG.o["line-color"]&&-1!==s&&(i.B9=s),i.IQ=X,i.DG()&&i.parse(),E="log"===C.BS?(oe=Math.round(ZC.FU(C.V[L],C.DY)),F=C.V[L]+e*C.V[L+1]/(C.FZ+2),F=oe<0?ZC._f_(F.toFixed(-oe)):ZC._f_(F.toFixed(oe)),re.push(F),C.AR(F)):C.AW?C.iX+C.I-C.A9-b*C.AD-e*B:C.iX+C.A9+b*C.AD+e*B,ZC.DS(E,j,q)){switch(i.o[ZC._[7]]){case"ref-auto":g.push([E,Z+p/2],[E,Z-p/2]);break;case"ref-top":g.push([E,Z],[E,Z-p]);break;case"ref-bottom":g.push([E,Z],[E,Z+p]);break;case"inner":g.push([E,r-(A?p:-p)],[E,r]);break;case"outer":g.push([E,r],[E,r+(A?p:-p)]);break;default:g.push([E,r+p/2],[E,r-p/2])}if(i.AP){for(R=ZC._i_(i.o["offset-x"]||"0"),U=ZC._i_(i.o["offset-y"]||"0"),v=0;v<g.length;v++)g[v][0]+=R,g[v][1]+=U;i.K=C.K+"-minor-tick-"+L,ZC.CO.paint(t,i,g)}}C.GU++}C.XV();var K=null,Ce=null,se=C.CL,Ae=C.DV,I=[],Ze=new ZC.DT(C),ce=(Ze.copy(C.IV),0),he=0,x=0,pe=[],ue=[];if(C.o["custom-items"])for(L=0;L<C.o["custom-items"].length;L++)M(C.o["custom-items"][L][0],!1,!0,C.o["custom-items"][L][1]);if(0<C.V.length&&C.BQ.AP)if(zingchart.DEV.SMARTDATELABELS&&C.F7&&"date"===C.F7.o.type){for(var o=C.getOptimalDateInterval(C.V[C.A1]-C.V[C.W]),_e=o[0],de=o[1],fe=o[2],ge=o[3],x=o[4],y=fe*Math.ceil(C.V[C.W]/fe),Be=fe*Math.floor(C.V[C.A1]/fe),be="",Y=!(C.GU=0),L=y;L<=Be;L+=fe){var Y=!0,G=ZC.AO.YF(L,_e,C.A.UK,C.A.NE);if(G!==be){switch(ge){case"yr":15<x&&(Y=ZC._i_(G)%2==0);break;case"mon":15<x&&(Y=ZC._i_(G)%3==0);break;case"day":45<x?Y=1===ZC._i_(G)||15===ZC._i_(G):30<x?Y=1===ZC._i_(G)||10===ZC._i_(G)||20===ZC._i_(G):15<x&&(Y=1===ZC._i_(G)||10===ZC._i_(G)||15===ZC._i_(G)||20===ZC._i_(G)||25===ZC._i_(G));break;case"hr":45<x?Y=ZC._i_(G)%12==0:30<x?Y=ZC._i_(G)%6==0:15<x&&(Y=ZC._i_(G)%3==0);break;case"min":case"sec":45<x?Y=ZC._i_(G)%30==0:30<x?Y=ZC._i_(G)%10==0:15<x&&(Y=ZC._i_(G)%5==0)}Y&&(M(L,!0),be=G)}}Ze.AP&&(Ze.K=C.K+"-ticks",ZC.CO.paint(t,Ze,I))}else for(C.GU=0,M(C.W),C.GU=C.A1-C.W,M(C.A1),C.GU=1,L=C.W+1;L<C.A1;L++)(L-C.W)%_==0&&M(L);for(L=0;L<re.length;L++){var Ee=C.FT(L,null,null,!1,re[L]);M(Ee,!1,!0,Ee)}if(C.M.AP&&C.M.AN&&""!==C.M.AN){(K=new ZC.DQ(C)).copy(C.M),K.K=C.A.K+"-"+C.BD.replace(/\-/g,"_")+"-item_title",K.GN=C.K+"-label "+C.A.K+"-scale-label zc-scale-label",K.AN=C.M.AN,K.Z=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-ml-0-c"),K.IP=C.G.usc()?ZC.AL(C.G.K+"-main"):ZC.AL(C.G.K+"-text"),K.parse(),"inherit"!==C.M.o["font-color"]&&"inherit"!==C.M.o.color||-1===s||(K.C2=s);var me=C.iX+(C.AW?C.BU:C.A9),De=C.I-C.A9-C.BU;switch("chart"===K.o["center-point"]&&(me=C.A.iX,De=C.A.I),K.OF){case"left":K.iX=me;break;case"center":K.iX=me+De/2-K.I/2;break;case"right":K.iX=me+De-K.I}K.iY=A?r+W+he:r-K.F-W-he,C.M.iX=K.iX,C.M.iY=K.iY,K.AP&&(C.N1(K,null,"h"),K.paint(),K.EO(),null===ZC._n_(K.o.tooltip)&&K.KD||ue.push(ZC.AO.OB(C.A.G.K,C.A.K,K)))}0<ue.length&&ZC.AL(C.A.A.K+"-map")&&(ZC.AL(C.A.A.K+"-map").innerHTML+=ue.join("")),null!==ZC._n_(C.o.transform)&&"date"===C.o.transform.type&&C.paintTransformDate()}function X(e){return e=(e=(e=(e=(e=(e=e.replace(/%scale-last-position/g,C.A1-C.W)).replace(/(%c)|(%scale-position)/g,C.GU)).replace(/(%i)|(%scale-index)/g,C.KA)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(C.V[C.KA])?C.V[C.KA]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(C.BY[C.KA])?C.BY[C.KA]:"")).replace(/%scale-day-of-week/g,ZC.AO.YF(C.V[C.KA],"%w",C.A.UK,C.A.NE))}function M(e,t,i,n){if(C.KA=e,b=e-C.W,(K=0<C.BQ.E6.length||e===C.W||!K||C.BQ.HZ||i?new ZC.DQ(C):K).copy(C.BQ),K.GN=C.K+"-item "+C.A.K+"-scale-item zc-scale-item",K.K=C.A.K+"-"+C.BD.replace(/\-/g,"_")+"-item_"+(n?"c"+n:e),K.E["p-width"]=C.AD,C.CL=se,C.DV=Ae,i||C.Z5(X),n=t?ZC.AO.YF(e,de,C.A.UK,C.A.NE):n||C.FT(e,null,null),!i&&C.BQ.HZ&&(o=C.A.H2(),ZC._cp_({index:e,cnt:b,text:n},o),C.H8(C.BQ,K,null,o,C.BQ.MN)),!(null!==ZC._n_(C.LW)&&-1===ZC.AV(C.LW,n)||(K.AN=n,K.Z=K.C8=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-ml-0-c"),K.IP=C.G.usc()?ZC.AL(C.G.K+"-main"):ZC.AL(C.G.K+"-text"),K.E.nodeidx=e,K.parse(),C.BQ.A24&&C.BQ.AA%180==0&&(K.o[ZC._[19]]=ZC._i_(.9*C.AD),K.parse()),"inherit"!==C.BQ.o["font-color"]&&"inherit"!==C.BQ.o.color||-1===s||(K.C2=s),i||(K.IQ=X,K.DG()&&K.parse()),K.o["auto-fit"]&&(K.I=ZC._i_(C.AD)),t?(E=C.AR(e),K.iX=E-K.I/2-(C.DE?C.AD/2:0)):i?(E=C.AR(e),K.iX=E-K.I/2):"log"===C.BS?(E=C.AR(C.V[e]),K.iX=E-K.I/2+(C.DE?C.AD/2:0)*(C.AW?-1:1)):C.AW?(E=C.iX+C.I-C.A9-b*C.AD,K.iX=E-K.I/2-(C.DE?C.AD/2:0)):(E=C.iX+C.A9+b*C.AD,K.iX=E-K.I/2+(C.DE?C.AD/2:0)),E<C.iX-1)||E>C.iX+C.I+1)){if(C.A.B7&&C.A.B7.BY&&C.A.B7.I3){for(var a=!1,l=0;l<C.A.B7.BY.length;l++)C.A.B7.BY[l].text===K.AN&&(a=!0);a||C.A.B7.BY.push({x:ZC._i_(E),text:K.AN})}switch(K.o[ZC._[7]]){case"inner":K.iY=A?r-K.F-h:r+h;break;case"ref-top":K.iY=Z-K.F-h;break;case"ref-bottom":K.iY=Z+h;break;case"ref-auto":!c||!c.S[e]||(c.FM(e).setup(),c.FM(e).iY<Z)?K.iY=Z+h:K.iY=Z-K.F-h;break;default:K.iY=A?r+h:r-K.F-h}Ce=C.N1(K,Ce,"h",0),C.BQ.o["auto-align"]&&C.BQ.AA%180!=0&&(o=ZC.DS(C.BQ.AA,0,180)?A?1:-1:A?-1:1,K.iX+=o*K.I*ZC.EF(C.BQ.AA)/2,K.iY+=o*(K.I*ZC.EL(C.BQ.AA)/2-K.F*ZC.EL(C.BQ.AA)/2));var o,n=C.X8(K,e,{items:x,lcoords:pe,lstep:_,tdim:ce,mdim:he,dim:"h",html:ue});if(ce=n.tdim,he=n.mdim,!n.overlaps&&t&&C.IV.AP)switch(Ze.o[ZC._[7]]){case"ref-auto":I.push([E,Z+h/2],[E,Z-h/2],null);break;case"ref-top":I.push([E,Z-h],[E,Z],null);break;case"ref-bottom":I.push([E,Z+h],[E,Z],null);break;case"inner":I.push([E,r-(A?h:-h)],[E,r],null);break;case"outer":I.push([E,r],[E,r+(A?h:-h)],null);break;default:I.push([E,r+h/2],[E,r-h/2],null)}C.GU++}}},getOptimalDateInterval:function(e){var t,i,n,a,e=0<=e&&e<=3*ZC.SEC?(t="%q",i="%q ms",n=10,a="ms",ZC._i_(e/10)):3*ZC.SEC<e&&e<=3*ZC.MIN?(t="%s",i="%h:%i:%s %A",n=ZC.SEC,a="sec",ZC._i_(e/ZC.SEC)):3*ZC.MIN<e&&e<=3*ZC.HR?(t="%i",i="%h:%i %A",n=ZC.MIN,a="min",ZC._i_(e/ZC.MIN)):3*ZC.HR<e&&e<=3*ZC.DAY?(t="%h:%i",i="%M %d, %h %A",n=ZC.HR,a="hr",ZC._i_(e/ZC.HR)):3*ZC.DAY<e&&e<=3*ZC.MON?(t="%d",i="%M %d",n=ZC.DAY,a="day",ZC._i_(e/ZC.DAY)):3*ZC.MON<e&&e<=3*ZC.YR?(t="%m",i="%M %Y",n=ZC.DAY,a="mon",ZC._i_(e/ZC.MON)):(i=t="%Y",n=ZC.DAY,a="yr",ZC._i_(e/ZC.YR));return[t,i,n,a,e]},paintTransformDate:function(){var e,_,d,f=this,g=ZC.Q.EE(f.G.usc()?f.G.K+"-main-c":f.A.K+"-scales-bl-0-c",f.G.AB),B=[],b=1;!function a(e,t){typeof t===ZC._[31]&&(t=!1),0<=e&&e<=2*ZC.SEC?(_="%q",d="%q ms",t&&a(60*e)):2*ZC.SEC<e&&e<=2*ZC.MIN?(_="%s",d="%h:%i:%s %A",t&&a(60*e),e>10*ZC.SEC&&(b=2),e>30*ZC.SEC&&(b=5),e>60*ZC.SEC&&(b=10)):2*ZC.MIN<e&&e<=2*ZC.HR?(_="%i",d="%h:%i %A",t&&a(24*e),e>10*ZC.MIN&&(b=2),e>30*ZC.MIN&&(b=5),e>60*ZC.MIN&&(b=10)):2*ZC.HR<e&&e<=2*ZC.DAY?(_="%h",d="%M %d, %h %A",t&&a(30*e),e>6*ZC.HR&&(b=2),e>12*ZC.HR&&(b=4),e>24*ZC.HR&&(b=6)):2*ZC.DAY<e&&e<=2*ZC.MON?(_="%d",d="%M %d",t&&a(366*e),e>12*ZC.DAY&&(B=[1,5,9,13,17,21,25,29]),e>24*ZC.DAY&&(B=[1,6,11,16,21,26])):2*ZC.MON<e&&e<=2*ZC.YR?(_="%m",d="%M %Y",t&&a(10*e),e>9*ZC.MON&&(B=[1,4,7,10])):(d=_="%Y",e>9*ZC.YR&&(b=3),e>16*ZC.YR&&(b=4),e>25*ZC.YR&&(b=5))}(f.V[f.A1]-f.V[f.W]);var E=null,m=[],D=!1,t=!1;function i(e){var t;if(null!==ZC._n_(f.V[e])&&""!==f.V[e]){f.NW&&e!==f.W&&e!==f.A1&&null!==ZC._n_(f.V[e-1])&&""!==f.V[e-1]&&null!==ZC._n_(f.V[e])&&f.V[e];var i=ZC.AO.YF(f.V[e],_,f.A.UK,f.A.NE);if(i!==E&&ZC._i_(i)%b==0&&(0===B.length||-1!==ZC.AV(B,ZC._i_(i)))){var n,a=!0,l=e-f.W,l=f.AW?f.iX+f.I-f.A9-l*f.AD:f.iX+f.A9+l*f.AD+(f.DE?f.AD/2:0),o=new ZC.DQ(f),r=(f.G.B6.load(o.o,"graph.SCALE.transform[date].item"),null!==ZC._n_(n=f.o.transform.item)&&o.append(n),o.GN=f.K+"-item "+f.A.K+"-scale-item zc-scale-item",o.K=f.K+"-date-item-"+e,ZC.AO.YF(f.V[e],d,f.A.UK,f.A.NE)),C=(o.AN=r,o.Z=o.C8=f.G.usc()?f.G.mc():ZC.AL(f.A.K+"-scales-ml-0-c"),o.IP=f.G.usc()?ZC.AL(f.G.K+"-main"):ZC.AL(f.G.K+"-text"),o.parse(),f.AW?o.iX=l-o.I/2-(f.DE?f.AD/2:0):o.iX=l,o.iY=f.iY,f.A.AJ["3d"]&&(f.A.O7(),t=new ZC.CE(f.A,o.iX+o.I/2-ZC.AM.E1,o.iY+o.F/2-ZC.AM.E2,0),o.iX=t.EC[0]-o.I/2,o.iY=t.EC[1]-o.F/2),[o.iX+o.BK,o.iY+o.BJ,o.I,o.F]);if(o.AA%180==90&&(C=[o.iX+o.BK+o.I/2-o.F/2,o.iY+o.BJ+o.F/2-o.I/2,o.F,o.I]),f.A.B7&&f.A.B7.I3){for(var s=!1,A=0;A<f.A.B7.BY.length;A++)f.A.B7.BY[A].text===o.AN&&(s=!0);s||o.iX>=f.iX&&o.iX+o.I<=f.iX+f.I&&f.A.B7.BY.push({x:ZC._i_(o.iX),text:o.AN})}if(o.AP&&D){if(a=!0,!f.A0F){if(e===f.W||e===f.A1)a=!0;else for(var Z=0,c=m.length;Z<c;Z++)if(ZC.DS(C[0],m[Z][0],m[Z][0]+m[Z][2])||ZC.DS(C[0]+C[2],m[Z][0],m[Z][0]+m[Z][2])){a=!1;break}o.iX+o.BK+o.I>f.iX+f.BK+f.I&&(a=!1)}if(a){m.push(C),o.paint(),o.EO();var r=new ZC.CZ(f),h=(null!==ZC._n_(n=f.o.transform.guide)&&r.append(n),r.B1=1,r.B9="#ccc",r.parse(),[]);if(h.push([l,f.iY],[l,f.iY+f.F]),f.A.AJ["3d"]){f.A.O7();for(var p=0,u=h.length;p<u;p++)t=new ZC.CE(f.A,h[p][0]-ZC.AM.E1,h[p][1]-ZC.AM.E2,0),h[p][0]=t.EC[0],h[p][1]=t.EC[1]}r.AP&&ZC.CO.paint(g,r,h)}}0}E=i}}if(f.A.B7&&f.A.B7.I3&&(f.A.B7.BY=[]),0<f.V.length&&(D=!1,null!==ZC._n_(e=f.o.transform.item)&&(D=!(null!==ZC._n_(e.visible)&&!ZC._b_(e.visible))),t=!1,f.A.B7&&f.A.B7.BY&&(t=!0),D||t)){i(f.W),i(f.A1);for(var n=f.W+1;n<f.A1;n++)i(n)}}}),QB=(ZC.QA=ZC.ZN.CD(QA),{$i:function(e){this.b(e)},parse:function(){this.b()},J6:function(){var e=this;e.A1===e.W?e.AD=e.F-e.A9-e.BU:e.AD=(e.F-e.A9-e.BU)/(e.A1-e.W+(e.DE?1:0))},AA0:function(e){this.b(e),this.J6()},clear:function(){},build:function(){this.b()},zoomTo:function(e,t){this.b(e,t),this.J6()},NI:function(e,t,i){var n=this,e=n.AW?(e-n.iY-n.A9)/(n.F-n.A9-n.BU):(n.iY+n.F-n.A9-e)/(n.F-n.A9-n.BU),e=n.B0+ZC._f_((n.BF-n.B0)*e);return i&&(e=ZC._a_(n.AW?Math.ceil(e):Math.floor(e))),e="log"===n.BS&&t?Math.pow(n.DY,e):e},AR:function(e){var t,i,n=this;return"lin"===n.BS||"log"===n.BS?(i=0==(i=n.BF-n.B0)?0:(n.F-n.A9-n.BU-(n.DE?n.AD:0))/i,"log"===n.BS&&(e=0===e?n.FQ:ZC.FU(e,n.DY)),n.AW?n.iY+n.A9+(e-n.B0)*i:n.iY+n.F-n.A9-(e-n.B0)*i):(t=ZC.evalFn(n.BS,window))&&t.valueToCoord?(i=t.valueToCoord.call(n,e,{type:n.AF,x:n.iX,y:n.iY,width:n.I,height:n.F,offsetStart:n.A9,offsetEnd:n.BU,inversed:n.CM,mirrored:n.AW,minValue:n.B0,maxValue:n.BF,minValue_:n.FQ,maxValue_:n.GW}),n.AW?n.iY+n.A9+i*(n.F-n.A9-n.BU):n.iY+n.F-n.A9-i*(n.F-n.A9-n.BU)):n.iY},paint:function(){var w,e,n,t,i,a,l,o,r,C=this,s=(C.b(),"bubble"!==C.A.AF&&"scatter"!==C.A.AF||1!==C.V.length||(C.A9=C.F/2),C.A0Q()),S=0,P=1,O=1,N={};for(X=0,e=C.A.BO.length;X<e;X++)C.A.BO[X].AP&&C.A.BO[X].TF&&(C.A.BO[X].BD.substring(0,7)===ZC._[51]&&C.A.BO[X].BA===C.BA&&S++,C.A.BO[X].BD.substring(0,7)===ZC._[51])&&("default"===C.A.BO[X].BA?(N[C.A.BO[X].BD]=P,P++):(N[C.A.BO[X].BD]=O,O++));var A=N[C.BD],Z="default"===C.BA,c=null,h=null;for(X=0,e=C.A.AY.A4.length;X<e;X++){var Q=C.A.AY.A4[X],p=Q.BW();if(-1!==ZC.AV(p,C.BD)){p=C.A.BM(Q.BW("k")[0]),c=p.AR(p.HC),h=Q;break}}var u=8,_=(null!==ZC._n_(C.IV.o[ZC._[21]])&&(u=ZC._i_(C.IV.o[ZC._[21]])),4),d=(null!==ZC._n_(C.IG.o[ZC._[21]])&&(_=ZC._i_(C.IG.o[ZC._[21]])),ZC._i_(C.A.E[C.BD+"-distance"]||-1)),A=(C.VG&&(d=0),"default"===C.BA?(m=ZC._i_(C.A.P.E0/S),n=C.iX-(A-1)*m,-1!==d&&(n=C.iX-d)):(m=ZC._i_(C.A.P.EA/S),n=C.iX+C.I+(A-1)*m,-1!==d&&(n=C.iX+C.I+d)),n);if(C.A.HY&&C.BD===ZC._[51]&&(C.A.HY.AP=!0,C.FQ===C.B0&&C.GW===C.BF&&(C.A.HY.AP=!1),C.A.HY.AP)&&0===C.A.HY.B2.BK&&"default"===C.BA&&(n-=C.A.HY.B2.I+C.B1/2),C.E.iX=n,C.AP&&C.TF){for(var f=Math.ceil((C.A1-C.W)/(C.EJ-1)),g=Math.ceil((C.A1-C.W)/(C.M4-1)),k=C.iStepMultiplier,B=3;0<B;B--)C.iStepMultiplier>B&&C.A1-C.W<=B*C.iStepMultiplier&&(k=B);f*=k;var b=0,E=C.AD*(g*=k)/(C.FZ+1),m=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-ml-0-c"),D=ZC.Q.EE(m,C.G.AB),z=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-bl-0-c"),V=ZC.Q.EE(z,C.G.AB);if(C.TF||C.YK||null!==ZC._n_(C.A.o[C.BD])){"inherit"===C.o["line-color"]&&-1!==s&&(C.B9=s),C.A.AJ["3d"]?((v=ZC.DL.DD(C,C.A,n-ZC.AM.E1,n-ZC.AM.E1,C.iY-ZC.AM.E2,C.iY-ZC.AM.E2+C.F,-1,ZC.AM.FE+1,"y")).K=C.K+"-line",C.A.ES.true3d&&(0<C.A.ES[ZC._[28]]?v.MG=[1===C.L?-100:100,1,1]:v.MG=[1===C.L?100:-100,1,1]),C.A.CN.add(v),null!==ZC._n_(C.o.axis)&&((d=new ZC.CZ(C)).append(C.o.axis),d.parse(),d.A0=d.AE=d.B9,(v=ZC.DL.DD(d,C.A,n-ZC.AM.E1,n-ZC.AM.E1,C.iY-ZC.AM.E2,C.iY-ZC.AM.E2+C.F,-d.B1/2,d.B1/2,"y")).K=C.K+"-axis",C.A.CN.add(v))):(F=[[A,C.iY+C.F],[A,C.iY]],m=C.K,C.K+="-line",ZC.CO.paint(D,C,F),C.K=m);var v,F,T,H,J=0,R=0,U=0,W=[],j=[];if(C.TF||C.YK){if(0<C.V.length&&C.D8.AP){var K,I,x,y,q,Y,$=null===ZC._n_(C.D8.o["offset-start"])?0:ZC._i_(C.D8.o["offset-start"]),ee=null===ZC._n_(C.D8.o["offset-end"])?0:ZC._i_(C.D8.o["offset-end"]);if(C.D8.o.items&&0<C.D8.o.items.length&&!C.A.AJ["3d"])for(C.GU=0,i=new ZC.HU(C),X=C.W;X<C.A1+(C.DE?1:0);X++)(C.KA=X)%g==0&&(x=X-C.W,a=C.GU%C.D8.o.items.length,i.append(C.D8.o.items[a]),i.K=C.K+"-guide-"+X,i.Z=z,i.parse(),K=C.AR(C.V[X]),I=C.AR(C.V[Math.min(X+g,C.V.length-1)]),C.DE&&K===I&&(I=C.AR(C.V[Math.min(X-g,C.V.length-1)]),I=K-Math.abs(K-I)),i.iX=C.iX+$,i.iY=C.AW?K:I,i.I=C.I-$-ee,i.F=Math.abs(K-I),i.paint(),C.GU++);if(0<C.D8.B1)for(C.GU=0,X=C.W;X<=C.A1+(C.DE?1:0);X++)(C.KA=X)!==C.W&&X!==C.A1&&X%g!=0||((0<C.D8.E6.length||X===C.W||"log"===C.BS)&&((t=new ZC.CZ(C)).Z=t.C8=z,"log"!==C.BS||ZC.AQ._int_(ZC.FU(C.V[X],C.DY))?t.copy(C.D8):t.copy(C.G8),t.IQ=M,t.DG())&&t.parse(),F=[],x=X-C.W,y=C.iX+$,q=C.I-$-ee,K=(C.BS,C.AR(C.V[X])),t.AP&&(C.A.AJ["3d"]?((Y=new ZC.CZ(C)).copy(t),null!==ZC._n_(C.o["scale-z"])&&null!==ZC._n_(w=C.o["scale-z"].guide)&&(Y.append(w),Y.parse()),Y.A0=Y.AE=Y.B9,v=ZC.DL.DD(Y,C.A,n-ZC.AM.E1,n-ZC.AM.E1,K-ZC.AM.E2-Y.B1/2,K-ZC.AM.E2+Y.B1/2,0,ZC.AM.FE,"y"),C.A.CN.add(v),t.A0=t.AE=t.B9,(v=ZC.DL.DD(t,C.A,y-ZC.AM.E1,y-ZC.AM.E1+q,K-ZC.AM.E2-t.B1/2,K-ZC.AM.E2+t.B1/2,ZC.AM.FE+2,ZC.AM.FE+2,"x")).K=C.K+"-guide-"+X,C.A.CN.add(v)):(F.push([y,K],[y+q,K]),t.K=C.K+"-guide-"+X,ZC.CO.paint(V,t,F))),C.GU++)}if(0<C.V.length&&C.G8.AP&&2<E&&!C.A.AJ["3d"]){if(C.G8.o.items&&0<C.G8.o.items.length)for(i=new ZC.HU(C),X=C.W;X<C.A1+(C.DE?1:0);X++)if((C.KA=X)%g==0)for(x=X-C.W,C.GU=0,l=1;l<=C.FZ;l++)a=C.GU%C.G8.o.items.length,i.append(C.G8.o.items[a]),i.K=C.K+"-guide-"+X+"-"+l,i.Z=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-bl-0-c"),i.parse(),i.iX=C.iX,K=C.AW?C.iY+C.A9+x*C.AD+l*E:C.iY+C.F-C.A9-x*C.AD-(l+1)*E,i.iY=K,i.I=C.I,i.F=E,i.paint(),C.GU++;if(0<C.G8.B1&&"log"!==C.BS)for(X=C.W;X<C.A1+(C.DE?1:0);X++)if((C.KA=X)===C.W||X===C.A1||X%g==0)for(x=X-C.W,C.GU=0,l=1;l<=C.FZ;l++)F=[],(t=new ZC.CZ(C)).copy(C.G8),t.IQ=M,t.DG()&&t.parse(),K="log"===C.BS?C.AR(C.V[X]+l*(C.V[X+1]-C.V[X])/(C.FZ+1)):C.AR(C.V[X]+l*f*(C.V[X+1]-C.V[X])/(C.FZ+1)),ZC.DS(K,C.iY,C.iY+C.F)&&(F.push([C.iX,K],[C.iX+C.I,K]),t.AP)&&(t.K=C.K+"-minor-guide-"+l,ZC.CO.paint(V,t,F)),C.GU++}if(C.VL(V,s),0<C.V.length&&C.IV.AP){switch(C.IV.o[ZC._[7]]){case"inner":break;case"outer":b+=u;break;default:b+=u/2}for(C.GU=0,o=ZC.AV(C.V,0),X=C.W;X<=C.A1+(C.DE?1:0);X++){C.KA=X;var te=-1;if((X===C.W||X===C.A1||X%g==0||ZC._b_(C.o["show-zero"])&&X===o)&&(F=[],x=X-C.W,(0<C.IV.E6.length||X===C.W||"log"===C.BS)&&(t=new ZC.CZ(C),"log"!==C.BS||ZC.AQ._int_(ZC.FU(C.V[X],C.DY))?t.copy(C.IV):(t.copy(C.IG),te=u,u=_),"inherit"===C.IV.o["line-color"]&&-1!==s&&(t.B9=s),t.IQ=M,t.DG())&&t.parse(),K=(C.BS,C.AR(C.V[X])),ZC.DS(K,C.A.P.iY,C.A.P.iY+C.A.P.F))){switch(t.o[ZC._[7]]){case"ref-right":F.push([c,K],[c+u,K]);break;case"ref-left":F.push([c,K],[c-u,K]);break;case"ref-auto":F.push([c-u/2,K],[c+u/2,K]);break;case"inner":F.push([n,K],[n+(Z?u:-u),K]);break;case"outer":F.push([n,K],[n-(Z?u:-u),K]);break;default:F.push([n+u/2,K],[n-u/2,K])}if(-1!==te&&(u=te,te=-1),t.AP){for(T=ZC._i_(t.o["offset-x"]||"0"),H=ZC._i_(t.o["offset-y"]||"0"),L=0;L<F.length;L++)F[L][0]+=T,F[L][1]+=H;if(t.K=C.K+"-tick-"+X,C.A.AJ["3d"])if(C.A.ES.true3d){for(var ie,ne=[],L=0;L<F.length;L++)ie=new ZC.CE(C.A,F[L][0]-ZC.AM.E1,F[L][1]-ZC.AM.E2,0),ne.push([ie.EC[0],ie.EC[1]]);ZC.CO.paint(D,t,ne)}else{var ae=this.A.ES.angle||45;for(L=0;L<F.length;L++)F[L][0]-=ZC.EF(ae)*ZC.AM.FE/2,F[L][1]+=ZC.EL(ae)*ZC.AM.FE/2;ZC.CO.paint(D,t,F)}else ZC.CO.paint(D,t,F)}C.GU++}}}if(0<C.V.length&&C.IG.AP&&0<C.FZ&&5<E&&!C.A.AJ["3d"]&&"log"!==C.BS)for(X=C.W;X<C.A1+(C.DE?1:0);X++)if((C.KA=X)===C.W||X===C.A1||X%g==0)for(x=X-C.W,C.GU=0,l=1;l<=C.FZ;l++){if(F=[],(t=new ZC.CZ(C)).copy(C.IG),"inherit"===C.IG.o["line-color"]&&-1!==s&&(t.B9=s),t.IQ=M,t.DG()&&t.parse(),K="log"===C.BS?C.AR(C.V[X]+l*(C.V[X+1]-C.V[X])/(C.FZ+1)):C.AR(C.V[X]+l*f*(C.V[X+1]-C.V[X])/(C.FZ+1)),ZC.DS(K,C.iY,C.iY+C.F)){switch(t.o[ZC._[7]]){case"ref-right":F.push([c,K],[c+_,K]);break;case"ref-left":F.push([c,K],[c-_,K]);break;case"ref-auto":F.push([c-_/2,K],[c+_/2,K]);break;case"inner":F.push([n,K],[n+(Z?_:-_),K]);break;default:F.push([n,K],[n-(Z?_:-_),K]);break;case"cross":F.push([n+_/2,K],[n-_/2,K])}if(t.AP){for(T=ZC._i_(t.o["offset-x"]||"0"),H=ZC._i_(t.o["offset-y"]||"0"),L=0;L<F.length;L++)F[L][0]+=T,F[L][1]+=H;t.K=C.K+"-minor-tick-"+X,ZC.CO.paint(D,t,F)}}C.GU++}C.XV();var le=null,oe=C.CL,re=C.DV,G=function(e){var t,i;if(C.KA=e,x=e-C.W,(r=0<C.BQ.E6.length||e===C.W||!r||C.BQ.HZ?new ZC.DQ(C):r).copy(C.BQ),r.GN=C.K+"-item "+C.A.K+"-scale-item zc-scale-item",r.K=C.A.K+"-"+C.BD.replace(/\-/g,"_")+"-item_"+e,C.CL=oe,C.DV=re,C.Z5(M),i=("piano"===C.A.AF||C.Q3)&&C.BY.length?C.FT(e+C.B0-C.FQ):C.FT(e),C.BQ.HZ&&(t=C.A.H2(),ZC._cp_({index:e,cnt:x,text:i},t),C.H8(C.BQ,r,null,t,C.BQ.MN)),null===ZC._n_(C.LW)||-1!==ZC.AV(C.LW,i)){switch(r.AN=i,r.Z=r.C8=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-ml-0-c"),r.IP=C.G.usc()?ZC.AL(C.G.K+"-main"):ZC.AL(C.G.K+"-text"),r.parse(),"inherit"!==C.BQ.o["font-color"]&&"inherit"!==C.BQ.o.color||-1===s||(r.C2=s),r.IQ=M,r.DG()&&r.parse(),r.o[ZC._[7]]){case"ref-left":r.iX=c-r.I-u;break;case"ref-right":r.iX=c+u;break;case"ref-auto":!h||!h.S[e]||(h.FM(e).setup(),h.FM(e).iX<c)?r.iX=c+u:r.iX=c-r.I-u;break;case"middle":r.iX=n-r.I/2;break;case"inner":r.iX=Z?n+u:n-r.I-u;break;default:r.iX=Z?n-r.I-u:n+u}"log"===C.BS?r.iY=C.AR(C.V[e])-r.F/2:r.iY=C.AR(C.V[e])-r.F/2+(C.AW?1:-1)*(C.DE?C.AD/2:0),le=C.N1(r,le,"v"),C.BQ.o["auto-align"]&&C.BQ.AA%180!=0&&(t=Z?1:-1,90===C.BQ.AA||270===C.BQ.AA?r.iX+=t*(r.I/2-r.F/2):ZC.DS(C.BQ.AA,0,90)||ZC.DS(C.BQ.AA,270,360)?(r.iX+=t*(r.I-r.I*ZC.EF(C.BQ.AA))/2,r.iY-=t*r.I*ZC.EL(C.BQ.AA)/2):ZC.DS(C.BQ.AA,90,270)&&(r.iX+=t*(r.I+r.I*ZC.EF(C.BQ.AA))/2,r.iY+=t*r.I*ZC.EL(C.BQ.AA)/2)),(ZC.DS(r.iY+r.F/2,C.A.P.iY-1,C.A.P.iY+C.A.P.F+1)||C.A.AJ["3d"])&&(i=C.X8(r,e,{items:U,lcoords:W,lstep:f,tdim:J,mdim:R,dim:"w",html:j}),J=i.tdim,R=i.mdim,C.GU++)}};if(0<C.V.length&&C.BQ.AP)if("log"===C.BS){for(var Ce=[],X=C.W;X<=C.A1;X++)ZC.AQ._int_(ZC.FU(C.V[X],C.DY))&&(C.GU=X,G(X),Ce.push(X));for(X=C.W;X<=C.A1;X++)-1===ZC.AV(Ce,X)&&(C.GU=X,G(X))}else for(C.GU=0,G(C.W),C.GU=C.A1-C.W,G(C.A1),-1!==(o=ZC.AV(C.V,0))&&ZC._b_(C.o["show-zero"])&&(C.GU=o,G(o)),C.GU=1,X=C.W+1;X<C.A1;X++)X%f==0&&G(X)}if(C.M.AP&&C.M.AN&&""!==C.M.AN){(r=new ZC.DQ(C)).copy(C.M),r.K=C.A.K+"-"+C.BD.replace(/\-/g,"_")+"-item_title",r.GN=C.K+"-label "+C.A.K+"-scale-label zc-scale-label",r.AN=C.M.AN,r.Z=C.G.usc()?C.G.mc():ZC.AL(C.A.K+"-scales-ml-0-c"),r.IP=C.G.usc()?ZC.AL(C.G.K+"-main"):ZC.AL(C.G.K+"-text"),r.parse(),"inherit"!==C.M.o["font-color"]&&"inherit"!==C.M.o.color||-1===s||(r.C2=s);var se=C.iY+(C.AW?C.A9:C.BU),Ae=C.F-C.BU-C.A9;switch("chart"===r.o["center-point"]&&(se=C.A.iY,Ae=C.A.F),r.K3){case"top":r.iY=se+r.I/2-r.F/2;break;case"middle":r.iY=se+Ae/2-r.F/2;break;case"bottom":r.iY=se+Ae-r.I/2-r.F/2}r.iX=Z?n-r.I/2-r.F/2-b-R:n+R+r.F/2+b-r.I/2,C.M.iX=r.iX,C.M.iY=r.iY,r.AP&&(C.N1(r,null,"v",10),r.paint(),r.EO(),null===ZC._n_(r.o.tooltip)&&r.KD||j.push(ZC.AO.OB(C.A.G.K,C.A.K,r)))}0<j.length&&ZC.AL(C.A.A.K+"-map")&&(ZC.AL(C.A.A.K+"-map").innerHTML+=j.join(""))}}function M(e){return e=(e=(e=(e=(e=e.replace(/%scale-last-position/g,C.A1-C.W)).replace(/(%c)|(%scale-position)/g,C.GU)).replace(/(%i)|(%scale-index)/g,C.KA)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(C.V[C.KA])?C.V[C.KA]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(C.BY[C.KA])?C.BY[C.KA]:"")}}}),SZ=(ZC.QB=ZC.WA.CD(QB),{$i:function(e){this.b(e),this.CM=!0},parse:function(){this.b()},J6:function(){var e=this;e.A1===e.W?e.AD=e.F-e.A9-e.BU:e.AD=(e.F-e.A9-e.BU)/(e.A1-e.W+(e.DE?1:0))},AA0:function(e){this.b(e),this.J6()},clear:function(){},build:function(){this.b()},zoomTo:function(e,t){this.b(e,t),this.J6()},NI:function(e){var t=this,e=t.AW?(e-t.iY-t.A9)/(t.F-t.A9-t.BU):(t.iY+t.F-t.A9-e)/(t.F-t.A9-t.BU),i=t.B0,n=t.BF,n=("log"===t.BS&&(i=ZC.FU(i,t.DY),n=ZC.FU(n,t.DY)),i+ZC._f_((n-i)*e));return n="log"===t.BS?Math.pow(t.DY,n):n},OL:function(e,t,i){var n,a,l=this,o=(typeof i===ZC._[31]&&(i=!1),l.DE?l.AD:0),e=l.AW?(e-l.iY-l.A9-o/2)/(l.F-l.A9-l.BU-o):(l.iY+l.F-e-l.A9-o/2)/(l.F-l.A9-l.BU-o),r=!1;if(t)for(a in t.K9){r=!0;break}if(t&&!l.NW&&r){var o=l.V[l.W],C=("string"==typeof o&&(o=ZC.AV(l.IU,o)),"log"===l.BS&&(o=ZC.FU(o,l.DY)),l.V[l.A1]),s=("string"==typeof C&&(C=ZC.AV(l.IU,C)),"log"===l.BS&&(C=ZC.FU(C,l.DY)),o+ZC._f_((C-o)*e)),A=("log"===l.BS&&(s=Math.pow(l.DY,s)),ZC.MAX),Z=null;for(a in t.K9)(n=Math.abs(a-s))<A&&(A=n,Z=t.K9[a]);if(null===ZC._n_(Z)&&(Z=s),A>t.A2G){C=Math.ceil((C-o)/(l.I-l.A9-l.BU));if(t.V.length<2&&(C*=100),C<A)return null}}else{o=l.W,C=l.A1;l.EI&&(null!==ZC._n_(n=l.V[o])&&(o=n),null!==ZC._n_(n=l.V[C]))&&(C=n),"log"===l.BS&&(o=ZC.FU(o,l.DY),C=ZC.FU(C,l.DY)),Z=i?l.DE?o+(C-o+1)*e:o+(C-o)*e:(l.DE,l.W+(l.A1-l.W)*e),Z="log"===l.BS?(Z=Math.pow(l.DY,Z),Math.floor(Z)-1):(Z=ZC._i_(Z),Z=ZC.BR(0,Z),ZC.CY(l.DP,Z))}return Z},II:function(e){var t=this;t.W,t.A1;return t.EI&&!t.NW&&(t.B0,t.BF),"log"===t.BS&&(e=ZC.FU(e+1,t.DY)),t.AW?t.iY+t.A9+(e-t.W)*t.AD+(t.DE?t.AD/2:0):t.iY+t.F-t.A9-(e-t.W)*t.AD-(t.DE?t.AD/2:0)},AR:function(e){var t,i,n,a,l,o=this;return"log"===o.BS&&(0===e&&(e=o.B0),e=ZC.FU(e,o.DY)),o.NW?(l=o.U9[e],o.II(l)):-1!==(l=ZC.AV(o.IU,e))?o.II(l):!o.A4L&&(o.EI||o.F7&&"date"===o.F7.o.type)?(n=o.V[o.W],a=o.V[o.A1],l=o.F,"log"===o.BS&&(n=ZC.FU(n,o.DY),a=ZC.FU(a,o.DY),o.W===o.D4)&&o.A1===o.DP&&(l=(o.A1-o.W)*o.AD+o.A9+o.BU),i=a===n?0:(l-o.A9-o.BU-(o.DE?o.AD:0))/(t=a-n),o.AW?o.iY+o.A9+(e-n)*i+(o.DE?o.AD/2:0):o.iY+l-o.A9-(e-n)*i-(o.DE?o.AD/2:0)):(n=o.B0,a=o.BF,"log"===o.BS&&(n=ZC.FU(n,o.DY),a=ZC.FU(a,o.DY)),i=a===n?0:(t=a-n+(o.DE?1:0),(o.F-o.A9-o.BU)/t),o.AW?o.iY+o.A9+(e-n)*i+(o.DE?o.AD/2:0):o.iY+o.F-o.A9-(e-n)*i-(o.DE?o.AD/2:0))},paint:function(){var w,a,e,t,i,n,l,o,r,C,s,A,Z=this;if(Z.AP){Z.b(),null!==ZC._n_(Z.A.A.E[Z.A.K+"-"+Z.BD+"-feed-offset-start"])&&(Z.A9=Z.A.A.E[Z.A.K+"-"+Z.BD+"-feed-offset-start"]),"hbubble"!==Z.A.AF&&"hscatter"!==Z.A.AF||(-1===Z.A9&&-1===Z.BU||1===Z.V.length)&&(Z.A9=Z.BU=Z.F/(Z.V.length+1),Z.J6());for(var c=Z.A0Q(),S=0,P=1,O=1,N={},h=0,Q=Z.A.BO.length;h<Q;h++)Z.A.BO[h].BD.substring(0,7)===ZC._[50]&&Z.A.BO[h].BA===Z.BA&&S++,Z.A.BO[h].BD.substring(0,7)===ZC._[50]&&("default"===Z.A.BO[h].BA?(N[Z.A.BO[h].BD]=P,P++):(N[Z.A.BO[h].BD]=O,O++));var p=N[Z.BD],u="default"===Z.BA,_=null,d=null;for(h=0,Q=Z.A.AY.A4.length;h<Q;h++){var k=Z.A.AY.A4[h],f=k.BW();if(-1!==ZC.AV(f,Z.BD)){f=Z.A.BM(k.BW("v")[0]),_=f.AR(f.HC),d=k;break}}var g=8,B=(null!==ZC._n_(Z.IV.o[ZC._[21]])&&(g=ZC._i_(Z.IV.o[ZC._[21]])),4),b=(null!==ZC._n_(Z.IG.o[ZC._[21]])&&(B=ZC._i_(Z.IG.o[ZC._[21]])),ZC._i_(Z.A.E[Z.BD+"-distance"]||-1)),p=(Z.VG&&(b=0),"default"===Z.BA?(e=ZC._i_(Z.A.P.E0/S),a=Z.iX-(p-1)*e,-1!==b&&(a=Z.iX-b)):(e=ZC._i_(Z.A.P.EA/S),a=Z.iX+Z.I+(p-1)*e,-1!==b&&(a=Z.iX+Z.I+b)),a);if(Z.A.HO&&Z.BD===ZC._[50]&&(Z.A.HO.AP=!0,Z.D4===Z.W&&Z.DP===Z.A1&&(Z.A.HO.AP=!1),Z.A.HO.AP)&&0===Z.A.HO.B2.BK&&"default"===Z.BA&&(a-=Z.A.HO.B2.I+Z.B1/2-Z.A.HO.BK),Z.E.iX=a,Z.AP&&Z.TF){null!==ZC._n_(Z.o["fixed-items"])&&(Z.M4=Z.EJ=ZC._i_(Z.o["fixed-items"]));for(var E=Math.ceil((Z.A1-Z.W)/(Z.M4-1)),m=Math.ceil((Z.A1-Z.W)/(Z.EJ-1)),z=(null===ZC._n_(Z.o["fixed-items"])&&ZC._b_(Z.o.normalize)&&(E=ZC.AQ.A0S(E),m=ZC.AQ.A0S(m)),Z.iStepMultiplier),D=3;0<D;D--)Z.iStepMultiplier>D&&Z.A1-Z.W<=D*Z.iStepMultiplier&&(z=D);m*=z;var v,F,V,T=0,K=Z.AD*(E*=z)/(Z.FZ+1);if(null===ZC._n_(_)&&(_=a),e=Z.G.usc()?Z.G.mc():ZC.AL(Z.A.K+"-scales-ml-0-c"),t=ZC.Q.EE(e,Z.G.AB),i=Z.G.usc()?Z.G.mc():ZC.AL(Z.A.K+"-scales-bl-0-c"),n=ZC.Q.EE(i,Z.G.AB),"inherit"===Z.o["line-color"]&&-1!==c&&(Z.B9=c),Z.A.AJ["3d"]?((r=ZC.DL.DD(Z,Z.A,a-ZC.AM.E1,a-ZC.AM.E1,Z.iY-ZC.AM.E2,Z.iY-ZC.AM.E2+Z.F,-1,ZC.AM.FE+1,"y")).K=Z.K+"-line",Z.A.ES.true3d&&(0<Z.A.ES[ZC._[27]]?r.MG=[1===Z.L?-100:100,1,1]:r.MG=[1===Z.L?100:-100,1,1]),Z.A.CN.add(r)):(v=[[p,Z.iY+Z.F],[p,Z.iY]],b=Z.K,Z.K+="-line",ZC.CO.paint(t,Z,v),Z.K=b),0<Z.V.length&&Z.D8.AP){var I,x,H,y,J=null===ZC._n_(Z.D8.o["offset-start"])?0:ZC._i_(Z.D8.o["offset-start"]),R=null===ZC._n_(Z.D8.o["offset-end"])?0:ZC._i_(Z.D8.o["offset-end"]);if(Z.D8.o.items&&0<Z.D8.o.items.length&&!Z.A.AJ["3d"])for(C=new ZC.HU(Z),h=Z.W;h<Z.A1+(Z.DE?1:0);h++)l=h-Z.W,A=h%Z.D8.o.items.length,C.append(Z.D8.o.items[A]),C.K=Z.K+"-guide-"+h,C.Z=i,C.parse(),C.iX=Z.iX+J,Z.AW?C.iY=Z.iY+Z.A9+l*Z.AD:C.iY=Z.iY+Z.F-Z.A9-(l+1)*Z.AD,C.I=Z.I-J-R,C.F=Z.AD,C.paint();if(0<Z.D8.B1)for(Z.GU=0,h=Z.W;h<=Z.A1+(Z.DE?1:0);h++)(Z.KA=h)!==Z.W&&h!==Z.A1+(Z.DE?1:0)&&(h-Z.W)%E!=0||((0<Z.D8.E6.length||h===Z.W)&&((o=new ZC.CZ(Z)).Z=o.C8=i,o.copy(Z.D8),o.IQ=X,o.DG())&&o.parse(),l=h-Z.W,v=[],I=Z.AW?Z.iY+Z.A9+l*Z.AD:Z.iY+Z.F-Z.A9-l*Z.AD,x=Z.iX+J,H=Z.I-J-R,o.AP&&(Z.A.AJ["3d"]?((y=new ZC.CZ(Z)).copy(o),null!==ZC._n_(Z.o["scale-z"])&&null!==ZC._n_(w=Z.o["scale-z"].guide)&&(y.append(w),y.parse()),y.A0=y.AE=y.B9,r=ZC.DL.DD(y,Z.A,a-ZC.AM.E1,a-ZC.AM.E1,I-ZC.AM.E2-y.B1/2,I-ZC.AM.E2+y.B1/2,0,ZC.AM.FE,"z"),Z.A.CN.add(r),o.A0=o.AE=o.B9,(r=ZC.DL.DD(o,Z.A,x-ZC.AM.E1,x-ZC.AM.E1+H,I-ZC.AM.E2-y.B1/2,I-ZC.AM.E2+y.B1/2,ZC.AM.FE+2,ZC.AM.FE+2,"x")).K=Z.K+"-guide-"+h,Z.A.CN.add(r)):(v.push([x,I],[x+H,I]),o.K=Z.K+"-guide-"+h,ZC.CO.paint(n,o,v))),Z.GU++)}if(0<Z.V.length&&Z.G8.AP&&!Z.A.AJ["3d"]){if(Z.G8.o.items&&0<Z.G8.o.items.length)for(C=new ZC.HU(Z),h=Z.W;h<Z.A1+(Z.DE?1:0);h++)for(Z.KA=h,l=h-Z.W,Z.GU=0,s=1;s<=Z.FZ;s++)A=Z.GU%Z.G8.o.items.length,C.append(Z.G8.o.items[A]),C.K=Z.K+"-guide-"+h+"-"+s,C.Z=Z.G.usc()?Z.G.mc():ZC.AL(Z.A.K+"-scales-bl-0-c"),C.parse(),C.iX=Z.iX,Z.AW?C.iY=Z.iY+Z.A9+(l+1)*Z.AD-(s+1)*K:C.iY=Z.iY+Z.F-Z.A9-(l+1)*Z.AD+s*K,C.I=Z.I,C.F=K,C.paint(),Z.GU++;if(0<Z.G8.B1)for(h=Z.W;h<Z.A1+(Z.DE?1:0);h++)if((Z.KA=h)%E==0)for(l=h-Z.W,Z.GU=0,s=1;s<=Z.FZ;s++)v=[],(o=new ZC.CZ(Z)).copy(Z.G8),o.IQ=X,o.DG()&&o.parse(),I="log"===Z.BS?Z.AR(Z.V[h]+s*Z.V[h+1]/(Z.FZ+2)):Z.AW?Z.iY+Z.A9+l*Z.AD+s*K:Z.iY+Z.F-Z.A9-l*Z.AD-s*K,ZC.DS(I,Z.iY,Z.iY+Z.F)&&(v.push([Z.iX,I],[Z.iX+Z.I,I]),o.AP)&&(o.K=Z.K+"-minor-guide-"+s,ZC.CO.paint(n,o,v)),Z.GU++}if(Z.VL(n,c),0<Z.V.length&&Z.IV.AP){switch(Z.IV.o[ZC._[7]]){case"inner":break;case"outer":T+=g;break;default:T+=g/2}for(Z.GU=0,h=Z.W;h<=Z.A1+(Z.DE?1:0);h++)if((Z.KA=h)===Z.W||h===Z.A1+(Z.DE?1:0)||(h-Z.W)%E==0){switch(v=[],l=h-Z.W,(0<Z.IV.E6.length||h===Z.W)&&((o=new ZC.CZ(Z)).copy(Z.IV),"inherit"===Z.IV.o["line-color"]&&-1!==c&&(o.B9=c),o.IQ=X,o.DG())&&o.parse(),I=Z.AW?Z.iY+Z.A9+l*Z.AD:Z.iY+Z.F-Z.A9-l*Z.AD,o.o[ZC._[7]]){case"ref-auto":v.push([_-g/2,I],[_+g/2,I]);break;case"ref-left":v.push([_-g,I],[_,I]);break;case"ref-right":v.push([_+g,I],[_,I]);break;case"inner":v.push([a,I],[a+(u?g:-g),I]);break;case"outer":v.push([a,I],[a-(u?g:-g),I]);break;default:v.push([a+g/2,I],[a-g/2,I])}if(o.AP){for(F=ZC._i_(o.o["offset-x"]||"0"),V=ZC._i_(o.o["offset-y"]||"0"),Y=0;Y<v.length;Y++)v[Y][0]+=F,v[Y][1]+=V;if(o.K=Z.K+"-tick-"+h,Z.A.AJ["3d"])if(Z.A.ES.true3d){for(var U,W=[],Y=0;Y<v.length;Y++)U=new ZC.CE(Z.A,v[Y][0]-ZC.AM.E1,v[Y][1]-ZC.AM.E2,0),W.push([U.EC[0],U.EC[1]]);ZC.CO.paint(t,o,W)}else{var j=this.A.ES.angle||45;for(Y=0;Y<v.length;Y++)v[Y][0]-=ZC.EF(j)*ZC.AM.FE/2,v[Y][1]+=ZC.EL(j)*ZC.AM.FE/2;ZC.CO.paint(t,o,v)}else ZC.CO.paint(t,o,v)}Z.GU++}}var q,L,G,$=[];if(0<Z.V.length&&0<Z.FZ&&Z.IG.AP&&!Z.A.AJ["3d"])for(h=Z.W;h<Z.A1+(Z.DE?1:0);h++)if(h===Z.W||h===Z.A1+(Z.DE?1:0)||h%E==0)for(l=h-Z.W,s=1;s<=Z.FZ;s++){if(v=[],(o=new ZC.CZ(Z)).copy(Z.IG),"inherit"===Z.IG.o["line-color"]&&-1!==c&&(o.B9=c),o.IQ=X,o.DG()&&o.parse(),I="log"===Z.BS?(q=Math.round(ZC.FU(Z.V[h],Z.DY)),L=Z.V[h]+s*Z.V[h+1]/(Z.FZ+2),L=q<0?ZC._f_(L.toFixed(-q)):ZC._f_(L.toFixed(q)),$.push(L),Z.AR(L)):Z.AW?Z.iY+Z.A9+l*Z.AD+s*K:Z.iY+Z.F-Z.A9-l*Z.AD-s*K,ZC.DS(I,Z.iY,Z.iY+Z.F)){switch(o.o[ZC._[7]]){case"ref-auto":v.push([_-B/2,I],[_+B/2,I]);break;case"ref-left":v.push([_-B,I],[_,I]);break;case"ref-right":v.push([_+B,I],[_,I]);break;case"inner":v.push([a,I],[a+(u?B:-B),I]);break;case"outer":v.push([a,I],[a-(u?B:-B),I]);break;default:v.push([a+B/2,I],[a-B/2,I])}if(o.AP){for(F=ZC._i_(o.o["offset-x"]||"0"),V=ZC._i_(o.o["offset-y"]||"0"),Y=0;Y<v.length;Y++)v[Y][0]+=F,v[Y][1]+=V;o.K=Z.K+"-minor-tick-"+h,ZC.CO.paint(t,o,v)}}Z.GU++}Z.XV();var ee=null,te=Z.CL,ie=Z.DV,ne=0,ae=0,le=0,oe=[],re=[];if(1===Z.V.length&&Z.BQ.AP)Z.GU=0,M(Z.W);else if(1<Z.V.length&&Z.BQ.AP)for(Z.GU=0,M(Z.W),Z.GU=Z.A1-Z.W,M(Z.A1),Z.GU=1,h=Z.W+1;h<Z.A1;h++)(h-Z.W)%m==0&&M(h);for(h=0;h<$.length;h++){var Ce=Z.FT(h,null,null,!1,$[h]);M(Ce,!0,Ce)}if(Z.M.AP&&Z.M.AN&&""!==Z.M.AN){(G=new ZC.DQ(Z)).copy(Z.M),G.K=Z.A.K+"-"+Z.BD.replace(/\-/g,"_")+"-item_title",G.GN=Z.K+"-label "+Z.A.K+"-scale-label zc-scale-label",G.AN=Z.M.AN,G.Z=Z.G.usc()?Z.G.mc():ZC.AL(Z.A.K+"-scales-ml-0-c"),G.IP=Z.G.usc()?ZC.AL(Z.G.K+"-main"):ZC.AL(Z.G.K+"-text"),G.parse(),"inherit"!==Z.M.o["font-color"]&&"inherit"!==Z.M.o.color||-1===c||(G.C2=c);var se=Z.iY+(Z.AW?Z.A9:Z.BU),Ae=Z.F-Z.A9-Z.BU;switch("chart"===G.o["center-point"]&&(se=Z.A.iY,Ae=Z.A.F),G.K3){case"top":G.iY=se+G.I/2-G.F/2;break;case"middle":G.iY=se+Ae/2-G.F/2;break;case"bottom":G.iY=se+Ae-G.I/2-G.F/2}G.iX=u?a-G.I/2-G.F/2-T-ae:a+G.F/2+ae+T-G.I/2,Z.M.iX=G.iX,Z.M.iY=G.iY,G.AP&&(Z.N1(G,null,"v"),G.paint(),G.EO(),null===ZC._n_(G.o.tooltip)&&G.KD||re.push(ZC.AO.OB(Z.A.G.K,Z.A.K,G)))}0<re.length&&ZC.AL(Z.A.A.K+"-map")&&(ZC.AL(Z.A.A.K+"-map").innerHTML+=re.join(""))}}function X(e){return e=(e=(e=(e=(e=e.replace(/%scale-last-position/g,Z.A1-Z.W)).replace(/(%c)|(%scale-position)/g,Z.GU)).replace(/(%i)|(%scale-index)/g,Z.KA)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(Z.V[Z.KA])?Z.V[Z.KA]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(Z.BY[Z.KA])?Z.BY[Z.KA]:"")}function M(e,t,i){Z.KA=e,l=e-Z.W,(G=0<Z.BQ.E6.length||e===Z.W||!G||Z.BQ.HZ?new ZC.DQ(Z):G).copy(Z.BQ),G.K=Z.A.K+"-"+Z.BD.replace(/\-/g,"_")+"-item_"+(i?"c"+i:e),G.GN=Z.K+"-item "+Z.A.K+"-scale-item zc-scale-item",G.E["p-height"]=Z.AD,Z.CL=te,Z.DV=ie,Z.Z5(X);var n="",n=i||Z.FT(e);if(Z.BQ.HZ&&(i=Z.A.H2(),ZC._cp_({index:e,cnt:l,text:n},i),Z.H8(Z.BQ,G,null,i,Z.BQ.MN)),null===ZC._n_(Z.LW)||-1!==ZC.AV(Z.LW,n)){switch(G.AN=n,G.Z=G.C8=Z.G.usc()?Z.G.mc():ZC.AL(Z.A.K+"-scales-ml-0-c"),G.IP=Z.G.usc()?ZC.AL(Z.G.K+"-main"):ZC.AL(Z.G.K+"-text"),G.E.nodeidx=e,G.parse(),"inherit"!==Z.BQ.o["font-color"]&&"inherit"!==Z.BQ.o.color||-1===c||(G.C2=c),G.IQ=X,G.DG()&&G.parse(),G.o["auto-fit"]&&(G.F=ZC._i_(Z.AD)),G.o[ZC._[7]]){case"inner":G.iX=u?a+g:a-G.I-g;break;case"ref-left":G.iX=_-G.I-g;break;case"ref-right":G.iX=_+g;break;case"ref-auto":!d||!d.S[e]||(d.S[e].setup(),d.S[e].iX<_)?G.iX=_+g:G.iX=_-G.I-g;break;default:G.iX=u?a-G.I-g:a+g}t?(I=Z.AR(e),G.iY=I-G.F/2-(Z.DE?Z.AD/2:0)):Z.AW?G.iY=Z.iY+Z.A9+l*Z.AD-G.F/2+(Z.DE?Z.AD/2:0):G.iY=Z.iY+Z.F-Z.A9-l*Z.AD-G.F/2-(Z.DE?Z.AD/2:0),ee=Z.N1(G,ee,"v"),Z.BQ.o["auto-align"]&&Z.BQ.AA%180!=0&&(i=u?1:-1,90===Z.BQ.AA||270===Z.BQ.AA?G.iX+=i*(G.I/2-G.F/2):ZC.DS(Z.BQ.AA,0,90)||ZC.DS(Z.BQ.AA,270,360)?(G.iX+=i*(G.I-G.I*ZC.EF(Z.BQ.AA))/2,G.iY-=i*G.I*ZC.EL(Z.BQ.AA)/2):ZC.DS(Z.BQ.AA,90,270)&&(G.iX+=i*(G.I+G.I*ZC.EF(Z.BQ.AA))/2,G.iY+=i*G.I*ZC.EL(Z.BQ.AA)/2));n=Z.X8(G,e,{items:le,lcoords:oe,lstep:m,tdim:ne,mdim:ae,dim:"w",html:re});ne=n.tdim,ae=n.mdim,Z.GU++}}}}),T0=(ZC.SZ=ZC.ZN.CD(SZ),{$i:function(e){this.b(e),this.CM=!0},parse:function(){this.b()},J6:function(){var e=this;e.A1===e.W?e.AD=e.I-e.A9-e.BU:e.AD=(e.I-e.A9-e.BU)/(e.A1-e.W+(e.DE?1:0))},AA0:function(e){this.b(e),this.J6()},zoomTo:function(e,t){this.b(e,t),this.J6()},clear:function(){},build:function(){this.b()},NI:function(e,t){var i=this,e=i.AW?(i.iX+i.I-i.A9-e)/(i.I-i.A9-i.BU):(e-i.iX-i.A9)/(i.I-i.A9-i.BU),e=i.B0+ZC._f_((i.BF-i.B0)*e);return e="log"===i.BS&&t?Math.pow(i.DY,e):e},AR:function(e){var t,i,n=this;return"lin"===n.BS||"log"===n.BS?(i=0==(i=n.BF-n.B0)?0:(n.I-n.A9-n.BU-(n.DE?n.AD:0))/i,"log"===n.BS&&(e=0===e?n.FQ:ZC.FU(e,n.DY)),n.AW?n.iX+n.I-n.A9-(e-n.B0)*i:n.iX+n.A9+(e-n.B0)*i):(t=ZC.evalFn(n.BS,window))&&t.valueToCoord?(i=t.valueToCoord.call(n,e,{type:n.AF,x:n.iX,y:n.iY,width:n.I,height:n.F,offsetStart:n.A9,offsetEnd:n.BU,inversed:n.CM,mirrored:n.AW,minValue:n.B0,maxValue:n.BF,minValue_:n.FQ,maxValue_:n.GW}),n.AW?n.iX+n.I-n.A9-i*(n.I-n.A9-n.BU):n.iX+n.A9+i*(n.I-n.A9-n.BU)):n.iX},paint:function(){var w,e,n,t,i,a,l,o,r,C,s=this;if(s.AP&&0!==s.V.length){s.b(),"hbubble"!==s.A.AF&&"hscatter"!==s.A.AF||1!==s.V.length||(s.A9=s.I/2);var A=s.A0Q(),S=0,P=1,O=1,N={};for(X=0,e=s.A.BO.length;X<e;X++)s.A.BO[X].BD.substring(0,7)===ZC._[51]&&s.A.BO[X].BA===s.BA&&S++,s.A.BO[X].BD.substring(0,7)===ZC._[51]&&("default"===s.A.BO[X].BA?(N[s.A.BO[X].BD]=P,P++):(N[s.A.BO[X].BD]=O,O++));var Z=N[s.BD],c="default"===s.BA;for(X=0,e=s.A.AY.A4.length;X<e;X++){var Q=s.A.AY.A4[X],h=Q.BW();if(-1!==ZC.AV(h,s.BD)){h=s.A.BM(Q.BW("k")[0]);h.AR(h.HC);break}}var p=8,u=(null!==ZC._n_(s.IV.o[ZC._[21]])&&(p=ZC._i_(s.IV.o[ZC._[21]])),4),_=(null!==ZC._n_(s.IG.o[ZC._[21]])&&(u=ZC._i_(s.IG.o[ZC._[21]])),ZC._i_(s.A.E[s.BD+"-distance"]||-1)),Z=(s.VG&&(_=0),"default"===s.BA?(E=ZC._i_(s.A.P.DW/S),n=s.iY+s.F+(Z-1)*E,-1!==_&&(n=s.iY+s.F+_)):(E=ZC._i_(s.A.P.EB/S),n=s.iY-(Z-1)*E,-1!==_&&(n=s.iY-_)),n);if(s.A.HY&&(s.A.HY.AP=!0,s.FQ===s.B0&&s.GW===s.BF&&(s.A.HY.AP=!1),s.A.HY.AP)&&0===s.A.HY.B2.BJ&&"default"===s.BA&&(n+=s.A.HY.B2.F+s.B1/2),s.E.iY=n,s.AP&&s.TF){for(var d=Math.ceil((s.A1-s.W)/(s.EJ-1)),f=Math.ceil((s.A1-s.W)/(s.M4-1)),k=s.iStepMultiplier,g=3;0<g;g--)s.iStepMultiplier>g&&s.A1-s.W<=g*s.iStepMultiplier&&(k=g);d*=k;var B=0,b=s.AD*(f*=k)/(s.FZ+1),E=s.G.usc()?s.G.mc():ZC.AL(s.A.K+"-scales-ml-0-c"),m=ZC.Q.EE(E,s.G.AB),z=s.G.usc()?s.G.mc():ZC.AL(s.A.K+"-scales-bl-0-c"),V=ZC.Q.EE(z,s.G.AB);if(s.TF||s.YK||null!==ZC._n_(s.A.o[s.BD])){"inherit"===s.o["line-color"]&&-1!==A&&(s.B9=A),s.A.AJ["3d"]?((i=ZC.DL.DD(s,s.A,s.iX-ZC.AM.E1,s.iX-ZC.AM.E1+s.I,n-ZC.AM.E2,n-ZC.AM.E2,-1,ZC.AM.FE+1,"x")).K=s.K+"-line",s.A.ES.true3d&&(0<s.A.ES[ZC._[28]]?i.MG=[1===s.L?-100:100,1,1]:i.MG=[1===s.L?100:-100,1,1]),s.A.CN.add(i)):(D=[[s.iX,Z],[s.iX+s.I,Z]],_=s.K,s.K+="-line",ZC.CO.paint(m,s,D),s.K=_);var D,v,F,T=[],H=0,J=0,R=0,U=[];if(s.TF||s.YK){if(0<s.V.length&&s.D8.AP){var K,I,x,y,W,Y,j=null===ZC._n_(s.D8.o["offset-start"])?0:ZC._i_(s.D8.o["offset-start"]),q=null===ZC._n_(s.D8.o["offset-end"])?0:ZC._i_(s.D8.o["offset-end"]);if(s.D8.o.items&&0<s.D8.o.items.length&&!s.A.AJ["3d"])for(s.GU=0,o=new ZC.HU(s),X=s.W;X<s.A1+(s.DE?1:0);X++)(s.KA=X)%f==0&&(x=X-s.W,l=s.GU%s.D8.o.items.length,o.append(s.D8.o.items[l]),o.K=s.K+"-guide-"+X,o.Z=z,o.parse(),K=s.AR(s.V[X]),I=s.AR(s.V[Math.min(X+f,s.V.length-1)]),s.DE&&K===I&&(I=s.AR(s.V[Math.min(X-f,s.V.length-1)]),I=K-Math.abs(K-I)),o.iX=s.AW?I:K,o.iY=s.iY+j,o.F=s.F-j-q,o.I=Math.abs(K-I),o.paint(),s.GU++);if(0<s.D8.B1)for(s.GU=0,X=s.W;X<=s.A1+(s.DE?1:0);X++)(s.KA=X)!==s.W&&X!==s.A1&&X%f!=0||((0<s.D8.E6.length||X===s.W||"log"===s.BS)&&((t=new ZC.CZ(s)).Z=t.C8=z,"log"!==s.BS||ZC.AQ._int_(ZC.FU(s.V[X],s.DY))?t.copy(s.D8):t.copy(s.G8),t.IQ=M,t.DG())&&t.parse(),D=[],x=X-s.W,y=s.iY+j,W=s.F-j-q,K=(s.BS,s.AR(s.V[X])),t.AP&&(s.A.AJ["3d"]?((Y=new ZC.CZ(s)).copy(t),null!==ZC._n_(s.o["scale-z"])&&null!==ZC._n_(w=s.o["scale-z"].guide)&&(Y.append(w),Y.parse()),Y.A0=Y.AE=Y.B9,i=ZC.DL.DD(Y,s.A,K-ZC.AM.E1-Y.B1/2,K-ZC.AM.E1+Y.B1/2,n-ZC.AM.E2,n-ZC.AM.E2,0,ZC.AM.FE,"z"),s.A.CN.add(i),t.A0=t.AE=t.B9,(i=ZC.DL.DD(t,s.A,K-ZC.AM.E1-t.B1/2,K-ZC.AM.E1+t.B1/2,y-ZC.AM.E2,y-ZC.AM.E2+W,ZC.AM.FE+2,ZC.AM.FE+2,"y")).K=s.K+"-guide-"+X,s.A.CN.add(i)):(D.push([K,y],[K,y+W]),t.K=s.K+"-guide-"+X,ZC.CO.paint(V,t,D))),s.GU++)}if(0<s.V.length&&s.G8.AP&&2<b&&!s.A.AJ["3d"]){if(s.G8.o.items&&0<s.G8.o.items.length)for(o=new ZC.HU(s),X=s.W;X<s.A1+(s.DE?1:0);X++)if((s.KA=X)%f==0)for(x=X-s.W,a=s.GU=0;a<=s.FZ;a++)l=s.GU%s.G8.o.items.length,o.append(s.G8.o.items[l]),o.K=s.K+"-guide-"+X+"-"+a,o.Z=s.G.usc()?s.G.mc():ZC.AL(s.A.K+"-scales-bl-0-c"),o.parse(),K=s.AW?s.iX+s.I-s.A9-x*s.AD-(a+1)*b:s.iX+s.A9+x*s.AD+a*b,o.iX=K,o.iY=s.iY,o.I=b,o.F=s.F,o.paint(),s.GU++;if(0<s.G8.B1&&"log"!==s.BS)for(X=s.W;X<s.A1+(s.DE?1:0);X++)if((s.KA=X)===s.W||X===s.A1||X%f==0)for(x=X-s.W,s.GU=0,a=1;a<=s.FZ;a++)D=[],(t=new ZC.CZ(s)).copy(s.G8),t.IQ=M,t.DG()&&t.parse(),K="log"===s.BS?s.AR(s.V[X]+a*(s.V[X+1]-s.V[X])/(s.FZ+1)):s.AR(s.V[X]+a*d*(s.V[X+1]-s.V[X])/(s.FZ+1)),ZC.DS(K,s.iX,s.iX+s.I)&&(D.push([K,s.iY],[K,s.iY+s.F]),t.AP)&&(t.K=s.K+"-minor-guide-"+a,ZC.CO.paint(V,t,D)),s.GU++}if(s.VL(V,A),0<s.V.length&&s.IV.AP){switch(s.IV.o[ZC._[7]]){case"inner":break;case"outer":B+=p;break;default:B+=p/2}for(s.GU=0,r=ZC.AV(s.V,0),X=s.W;X<=s.A1+(s.DE?1:0);X++){s.KA=X;var $=-1;if((X===s.W||X===s.A1||X%f==0||ZC._b_(s.o["show-zero"])&&X===r)&&(D=[],x=X-s.W,(0<s.IV.E6.length||X===s.W||"log"===s.BS)&&(t=new ZC.CZ(s),"log"!==s.BS||ZC.AQ._int_(ZC.FU(s.V[X],s.DY))?t.copy(s.IV):(t.copy(s.IG),$=p,p=u),"inherit"===s.IV.o["line-color"]&&-1!==A&&(t.B9=A),t.IQ=M,t.DG())&&t.parse(),K=(s.BS,s.AR(s.V[X])),ZC.DS(K,s.A.P.iX,s.A.P.iX+s.A.P.I))){switch(t.o[ZC._[7]]){case"inner":D.push([K,n-(c?p:-p)],[K,n]);break;case"outer":D.push([K,n],[K,n+(c?p:-p)]);break;default:D.push([K,n+p/2],[K,n-p/2])}if(-1!==$&&(p=$,$=-1),t.AP){for(v=ZC._i_(t.o["offset-x"]||"0"),F=ZC._i_(t.o["offset-y"]||"0"),L=0;L<D.length;L++)D[L][0]+=v,D[L][1]+=F;if(t.K=s.K+"-tick-"+X,s.A.AJ["3d"])if(s.A.ES.true3d){for(var ee,te=[],L=0;L<D.length;L++)ee=new ZC.CE(s.A,D[L][0]-ZC.AM.E1,D[L][1]-ZC.AM.E2,0),te.push([ee.EC[0],ee.EC[1]]);ZC.CO.paint(m,t,te)}else{var ie=this.A.ES.angle||45;for(L=0;L<D.length;L++)D[L][0]-=ZC.EF(ie)*ZC.AM.FE/2,D[L][1]+=ZC.EL(ie)*ZC.AM.FE/2;ZC.CO.paint(m,t,D)}else ZC.CO.paint(m,t,D)}s.GU++}}}if(0<s.V.length&&s.IG.AP&&0<s.FZ&&5<b&&!s.A.AJ["3d"]&&"log"!==s.BS)for(X=s.W;X<s.A1+(s.DE?1:0);X++)if((s.KA=X)===s.W||X===s.A1||X%f==0)for(x=X-s.W,s.GU=0,a=1;a<=s.FZ;a++){if(D=[],(t=new ZC.CZ(s)).copy(s.IG),"inherit"===s.IG.o["line-color"]&&-1!==A&&(t.B9=A),t.IQ=M,t.DG()&&t.parse(),K="log"===s.BS?s.AR(s.V[X]+a*(s.V[X+1]-s.V[X])/(s.FZ+1)):s.AR(s.V[X]+a*d*(s.V[X+1]-s.V[X])/(s.FZ+1)),ZC.DS(K,s.iX,s.iX+s.I)){switch(t.o[ZC._[7]]){case"inner":D.push([K,n-(c?u:-u)],[K,n]);break;default:D.push([K,n],[K,n+(c?u:-u)]);break;case"cross":D.push([K,n+u/2],[K,n-u/2])}if(t.AP){for(v=ZC._i_(t.o["offset-x"]||"0"),F=ZC._i_(t.o["offset-y"]||"0"),L=0;L<D.length;L++)D[L][0]+=v,D[L][1]+=F;t.K=s.K+"-minor-tick-"+X,ZC.CO.paint(m,t,D)}}s.GU++}s.XV();var ne=null,ae=s.CL,le=s.DV,G=function(e){var t,i;s.KA=e,x=e-s.W,(C=0<s.BQ.E6.length||e===s.W||!C||s.BQ.HZ?new ZC.DQ(s):C).copy(s.BQ),C.GN=s.K+"-item "+s.A.K+"-scale-item zc-scale-item",C.K=s.A.K+"-"+s.BD.replace(/\-/g,"_")+"-item_"+e,s.CL=ae,s.DV=le,s.Z5(M),i=("piano"===s.A.AF||s.Q3)&&s.BY.length?s.FT(e+s.B0-s.FQ):s.FT(e),s.BQ.HZ&&(t=s.A.H2(),ZC._cp_({index:e,cnt:x,text:i},t),s.H8(s.BQ,C,null,t,s.BQ.MN)),(null===ZC._n_(s.LW)||-1!==ZC.AV(s.LW,i))&&(C.AN=i,C.Z=C.C8=s.G.usc()?s.G.mc():ZC.AL(s.A.K+"-scales-ml-0-c"),C.IP=s.G.usc()?ZC.AL(s.G.K+"-main"):ZC.AL(s.G.K+"-text"),C.parse(),"inherit"!==s.BQ.o["font-color"]&&"inherit"!==s.BQ.o.color||-1===A||(C.C2=A),C.IQ=M,C.E6=s.BQ.E6,C.DG()&&C.parse(),"inner"===C.o[ZC._[7]]?C.iY=c?n-C.KG-p:n+p:C.iY=c?n+p:n-C.KG-p,"log"===s.BS?C.iX=s.AR(s.V[e])-C.I/2:C.iX=s.AR(s.V[e])-C.I/2-(s.AW?1:-1)*(s.DE?s.AD/2:0),ne=s.N1(C,ne,"h"),s.BQ.o["auto-align"]&&s.BQ.AA%180!=0&&(t=ZC.DS(s.BQ.AA,0,180)?c?1:-1:1===c?-1:1,C.iX+=t*C.I*ZC.EF(s.BQ.AA)/2,C.iY+=t*(C.I*ZC.EL(s.BQ.AA)/2-C.F*ZC.EL(s.BQ.AA)/2)),ZC.DS(C.iX+C.I/2,s.A.P.iX-1,s.A.P.iX+s.A.P.I+1)||s.A.AJ["3d"])&&(i=s.X8(C,e,{items:R,lcoords:T,lstep:d,tdim:H,mdim:J,dim:"h",html:U}),H=i.tdim,J=i.mdim,s.GU++)};if(0<s.V.length&&s.BQ.AP)if("log"===s.BS){for(var oe=[],X=s.W;X<=s.A1;X++)ZC.AQ._int_(ZC.FU(s.V[X],s.DY))&&(s.GU=X,G(X),oe.push(X));for(X=s.W;X<=s.A1;X++)-1===ZC.AV(oe,X)&&(s.GU=X,G(X))}else for(s.GU=0,G(s.W),s.GU=s.A1-s.W,G(s.A1),-1!==(r=ZC.AV(s.V,0))&&ZC._b_(s.o["show-zero"])&&(s.GU=r,G(r)),s.GU=1,X=s.W+1;X<s.A1;X++)X%d==0&&G(X)}if(s.M.AP&&s.M.AN&&""!==s.M.AN){(C=new ZC.DQ(s)).copy(s.M),C.K=s.A.K+"-"+s.BD.replace(/\-/g,"_")+"-item_title",C.GN=s.K+"-label "+s.A.K+"-scale-label zc-scale-label",C.AN=s.M.AN,C.Z=s.G.usc()?s.G.mc():ZC.AL(s.A.K+"-scales-ml-0-c"),C.IP=s.G.usc()?ZC.AL(s.G.K+"-main"):ZC.AL(s.G.K+"-text"),C.parse(),"inherit"!==s.M.o["font-color"]&&"inherit"!==s.M.o.color||-1===A||(C.C2=A);var re=s.iX+(s.AW?s.BU:s.A9),Ce=s.I-s.A9-s.BU;switch("chart"===C.o["center-point"]&&(re=s.A.iX,Ce=s.A.I),C.OF){case"left":C.iX=re;break;case"center":C.iX=re+Ce/2-C.I/2;break;case"right":C.iX=re+Ce-C.I}C.iY=c?n+B+J:n-J-C.F-B,s.M.iX=C.iX,s.M.iY=C.iY,C.AP&&(s.N1(C,null,"h"),C.paint(),C.EO(),null===ZC._n_(C.o.tooltip)&&C.KD||U.push(ZC.AO.OB(s.A.G.K,s.A.K,C)))}0<U.length&&ZC.AL(s.A.A.K+"-map")&&(ZC.AL(s.A.A.K+"-map").innerHTML+=U.join(""))}}}function M(e){return e=(e=(e=(e=(e=e.replace(/%scale-last-position/g,s.A1-s.W)).replace(/(%c)|(%scale-position)/g,s.GU)).replace(/(%i)|(%scale-index)/g,s.KA)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(s.V[s.KA])?s.V[s.KA]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(s.BY[s.KA])?s.BY[s.KA]:"")}}}),TB=(ZC.T0=ZC.WA.CD(T0),{$i:function(e){this.b(e);this.N4="",this.KV=1,this.H7=1,this.GM=0,this.GH=0,this.JU=.6},parse:function(){var e=this;e.b(),e.iX+=e.E0,e.iY+=e.EB,e.I-=e.E0+e.EA,e.F-=e.EB+e.DW,e.YD("layout","N4"),null!==ZC._n_(e.o["size-factor"])&&(e.JU=ZC._f_(ZC._p_(e.o["size-factor"])))},AA0:function(e){var t=this,e=(t.b(e),0===t.V.length&&(t.V=[""]),ZC.AQ.A2F(t.N4,t.V.length,!1));t.KV=e[0],t.H7=e[1],t.GM=t.I/t.H7,t.GH=t.F/t.KV},A5E:function(){this.b(),this.GM=this.I/this.H7,this.GH=this.F/this.KV},clear:function(){},build:function(){this.b()},paint:function(){var e,t,i,n,a,o=this;if(o.AP){if(o.b(),e=ZC.Q.EE(o.G.usc()?o.G.K+"-main-c":o.A.K+"-scales-ml-0-c",o.G.AB),t=ZC.Q.EE(o.G.usc()?o.G.K+"-main-c":o.A.K+"-scales-bl-0-c",o.G.AB),(i=[]).push([o.iX,o.iY],[o.iX+o.I,o.iY],[o.iX+o.I,o.iY+o.F],[o.iX,o.iY+o.F],[o.iX,o.iY]),ZC.CO.paint(e,o,i),o.D8.AP){if(o.D8.o.items&&0<o.D8.o.items.length)for(n=0,a=o.V.length;n<a;n++){var l=n%o.H7,r=Math.floor(n/o.H7),C=new ZC.HU(o),s=n%o.D8.o.items.length;C.o=o.D8.o.items[s],C.K=o.K+"-guide-"+n,C.Z=o.G.usc()?o.G.mc():ZC.AL(o.A.K+"-scales-bl-0-c"),C.parse(),C.iX=o.iX+l*o.GM,C.iY=o.iY+r*o.GH,C.I=o.GM,C.F=o.GH,C.paint()}if(0<o.D8.B1){for(i=[],n=0;n<=o.H7;n++)i.push([o.iX+n*o.GM,o.iY],[o.iX+n*o.GM,o.iY+o.F],null);for(n=0;n<=o.KV;n++)i.push([o.iX,o.iY+n*o.GH],[o.iX+o.I,o.iY+n*o.GH],null);ZC.CO.paint(t,o.D8,i)}}var A,Z=[];if(o.BQ.AP){for(n=0,a=o.V.length;n<a;n++)!function(t){(A=0<o.BQ.E6.length||0===t?new ZC.DQ(o):A).copy(o.BQ);var e=t%o.H7,i=Math.floor(t/o.H7),n=(A.GN=o.K+"-item "+o.A.K+"-scale-item zc-scale-item",A.K=o.A.K+"-"+o.BD.replace(/\-/g,"_")+"-item_"+t,o.FT(t));if((null===ZC._n_(o.LW)||-1!==ZC.AV(o.LW,n))&&(A.AN=n,A.Z=o.G.usc()?o.G.mc():ZC.AL(o.A.K+"-scales-ml-0-c"),A.parse(),A.IQ=function(e){return e=(e=(e=e.replace(/%i/g,t)).replace(/%v/g,null!==ZC._n_(o.V[t])?o.V[t]:"")).replace(/%l/g,null!==ZC._n_(o.BY[t])?o.BY[t]:"")},A.E6=o.BQ.E6,A.DG()&&A.parse(),A.AP)){var n="bottom",a=(null!==ZC._n_(o.BQ.o[ZC._[7]])&&(n=o.BQ.o[ZC._[7]]),o.iX+e*o.GM),l=o.iY+i*o.GH;switch(n){case"top-left":A.iX=a,A.iY=l;break;case"top-right":A.iX=a+o.GM-A.I,A.iY=l;break;case"bottom-left":A.iX=a,A.iY=l+o.GH-A.F;break;case"bottom-right":A.iX=a+o.GM-A.I,A.iY=l+o.GH-A.F;break;case"top":A.iX=a+o.GM/2-A.I/2,A.iY=l;break;case"right":A.iX=a+o.GM-A.I,A.iY=l+o.GH/2-A.F/2;break;case"left":A.iX=a,A.iY=l+o.GH/2-A.F/2;break;default:A.iX=a+o.GM/2-A.I/2,A.iY=l+o.GH-A.F}A.paint(),A.EO(),null===ZC._n_(o.o.tooltip)&&A.KD||Z.push(ZC.AO.OB(o.A.G.K,o.A.K,A))}}(n);0<Z.length&&ZC.AL(o.A.A.K+"-map")&&(ZC.AL(o.A.A.K+"-map").innerHTML+=Z.join(""))}}}}),A2B=(ZC.TB=ZC.ZN.CD(TB),{$i:function(e){this.b(e);this.DK=0,this.EM=360},parse:function(){var e;this.b(),null!==ZC._n_(e=this.o["ref-angle"])&&(this.DK=ZC._i_(e)%360),null!==ZC._n_(e=this.o.aperture)&&(this.EM=ZC._i_(e)%360,0===this.EM)&&(this.EM=360)}}),A5A=(ZC.A2B=ZC.ZN.CD(A2B),{$i:function(e){this.b(e)},parse:function(){this.b()},J6:function(){},AA0:function(e){this.b(e),this.J6()},clear:function(){this.b()},build:function(){this.b()},paint:function(){this.b()}}),ZP=(ZC.A5A=ZC.WA.CD(A5A),ZC.A86=ZC.A5A.CD({$i:function(e){this.b(e);this.DK=-90,this.EM=180,this.QG=null,this.IZ=null,this.CW="circle"},parse:function(){var e,t=this;t.b(),null!==ZC._n_(e=t.o["ref-angle"])&&(t.DK=ZC._i_(e)%360),null!==ZC._n_(e=t.o.aperture)&&(t.EM=ZC._i_(e)),null!==ZC._n_(e=t.o.center)&&(t.QG=new ZC.DT(t),t.QG.append(e),t.QG.parse()),null!==ZC._n_(e=t.o.ring)&&(t.IZ=new ZC.DT(t),t.G.B6.load(t.IZ.o,[t.A.AF+"."+t.BD+".ring"]),t.IZ.append(e),t.IZ.parse())},AA0:function(e){this.b(e)},clear:function(){},build:function(){this.b()},AR:function(e){var t=this,i=t.A.BM("scale"),n=i.iX+i.I/2,i=i.iY+i.F/2,a=(a=t.A.BM("scale-"+t.L))||t.A.BM("scale"),a=ZC.CY(a.GM/2,a.GH/2)*a.JU,l=t.BF-t.B0,l=t.EM/l;return ZC.AQ.BN(n,i,a,t.DK-t.EM/2+l*(e-t.B0))},II:function(e){return this.AR(this.V[e])},paintMarker:function(e){var t=this;if(e.FA){var i,n=(n=t.A.BM("scale-"+t.L))||t.A.BM("scale");if(e.AP){var a=t.A.K+"-scales-"+("top"===e.BA?"f":"b")+"l-0-c",l=(e.Z=e.C8=ZC.AL(t.G.usc()?n.G.K+"-main-c":a),i=ZC.Q.EE(e.Z,t.G.AB),ZC.CY(n.GM/2,n.GH/2)*n.JU),o=ZC.IO(e.o["offset-start"]||"0"),r=(0<o&&o<1&&(o*=l),ZC.IO(e.o["offset-end"]||"0"));0<r&&r<1&&(r*=l),e.M&&(e.M.Z=t.G.usc()?t.G.mc():ZC.AL(t.A.K+"-scales-ml-0-c"),e.M.K=e.A.A.K+"-"+e.A.BD.replace(/\-/g,"_")+"-marker_"+e.L,e.M.GN=e.A.K+"-marker-label "+e.A.A.K+"-scale-marker-label zc-scale-marker-label");for(var C=0;C<n.V.length;C++){var s,A,Z,c,h,p=C%n.H7,u=Math.floor(C/n.H7),_=n.iX+p*n.GM+n.GM/2+n.BK,d=n.iY+u*n.GH+n.GH/2+n.BJ;switch(e.AF){case"line":0<e.FA.length&&(s=A=t.DK-t.EM/2+t.EM*(e.FA[0]-t.B0)/(t.BF-t.B0),(Z=[]).push(ZC.AQ.BN(_,d,o,A)),Z.push(ZC.AQ.BN(_,d,l-r,A)),2===Z.length)&&(ZC.CO.setup(i,e),ZC.CO.paint(i,e,Z));break;case"area":1<e.FA.length&&(s=((A=t.DK-t.EM/2+t.EM*(e.FA[0]-t.B0)/(t.BF-t.B0))+(Z=t.DK-t.EM/2+t.EM*(e.FA[1]-t.B0)/(t.BF-t.B0)))/2,(c=new ZC.DT(e)).Z=e.Z,c.append(e.o),c.append({size:l-r,slice:o,type:"pie","angle-start":A,"angle-end":Z}),c.K=n.K+"-marker-"+e.L,c.iX=_,c.iY=d,c.parse(),c.paint())}e.M&&(null!==ZC._n_(p=e.M.o["offset-r"])?h=ZC._f_(ZC._p_(p)):h<1?h*=l-r-o:h=0,u=ZC.AQ.BN(_,d,(l-r-o)/2+h,s),e.M.iX=u[0]-e.M.I/2,e.M.iY=u[1]-e.M.F/2,e.M.paint())}}}},paint:function(){var e,t,i,n,a,l,o=this;if(o.AP&&0!==o.V.length){o.AW&&o.V.reverse();for(var r,C,s,A=ZC.Q.EE(o.G.usc()?o.G.K+"-main-c":o.A.K+"-scales-bl-0-c",o.G.AB),Z=ZC._i_(o.IV.o[ZC._[21]]||8),c=ZC._i_(o.IG.o[ZC._[21]]||4),h=0,p=ZC.BR(1,Math.ceil((o.A1-o.W)/(o.M4-1))),u=ZC.BR(1,Math.ceil((o.A1-o.W)/(o.EJ-1))),_=(_=o.A.BM("scale-"+o.L))||o.A.BM("scale"),d=ZC.CY(_.GM/2,_.GH/2)*_.JU,f=o.EM/(o.V.length-1),g=0;g<_.V.length;g++){var B=g%_.H7,b=Math.floor(g/_.H7),E=_.iX+B*_.GM+_.GM/2+_.BK,m=_.iY+b*_.GH+_.GH/2+_.BJ,D=new ZC.DT(o);if(D.Z=o.G.usc()?o.G.mc():ZC.AL(o.A.K+"-scales-bl-0-c"),D.copy(o),D.K=o.K+"-"+g,D.iX=E,D.iY=m,D.AI=d-.5,D.DH=360===o.EM?"circle":"pie",D.B4=o.DK-o.EM/2+360,D.BL=o.DK+o.EM/2+360,D.CP=0,D.parse(),D.paint(),o.D8.AP){if(o.D8.o.items&&0<o.D8.o.items.length)for(I=0;I<o.V.length-1;I++)D=new ZC.DT(o),n=I%o.D8.o.items.length,D.append(o.D8.o.items[n]),D.Z=o.G.usc()?o.G.mc():ZC.AL(o.A.K+"-scales-bl-0-c"),D.iX=E,D.iY=m,D.K=o.K+"-pie-"+I,D.o.type="pie",D.o[ZC._[21]]=d-o.BU,D.CP=o.A9,D.B4=o.DK-o.EM/2+I*f+360,D.BL=o.DK-o.EM/2+(I+1)*f+360,D.parse(),D.paint();if(0<o.D8.B1)for(I=0,x=o.V.length;I<x;I++)(r=new ZC.CZ(o)).copy(o.D8),r.IQ=y,r.E6=o.D8.E6,r.DG()&&r.parse(),(i=[]).push(ZC.AQ.BN(E,m,d-o.BU,o.DK-o.EM/2+I*f)),i.push(ZC.AQ.BN(E,m,o.A9,o.DK-o.EM/2+I*f)),ZC.CO.paint(A,r,i)}if(o.G8.AP&&0<o.G8.B1&&0<o.FZ)for(I=0,x=o.V.length;I<x-1;I++)for(a=o.DK-o.EM/2+I*f,C=f/(o.FZ+1),s=1;s<=o.FZ;s++)(r=new ZC.CZ(o)).copy(o.G8),r.IQ=y,r.E6=o.G8.E6,r.DG()&&r.parse(),(i=[]).push(ZC.AQ.BN(E,m,d-o.BU,o.DK-o.EM/2+I*f+s*C)),i.push(ZC.AQ.BN(E,m,o.A9,o.DK-o.EM/2+I*f+s*C)),ZC.CO.paint(A,r,i);if(o.XV(),o.G.ZY(),o.IZ&&((t=new ZC.DT(o)).append(o.IZ.o),t.Z=o.G.usc()?o.G.mc():ZC.AL(o.A.K+"-scales-bl-0-c"),t.K=o.K+"-ring",t.iX=E,t.iY=m,360!==o.EM?(t.o.type="pie",e=ZC._i_(t.o[ZC._[21]]),e=ZC.BR(1,ZC.CY(e,d)),t.CP=d-e,t.o[ZC._[21]]=d,t.B4=o.DK-o.EM/2+360,t.BL=o.DK+o.EM/2+360):(t.o.type="circle",e=ZC._i_(t.o[ZC._[21]]),e=ZC.BR(1,ZC.CY(e,d)),t.o[ZC._[21]]=d),t.parse(),t.AP&&0<e+t.AU&&(t.paint(),360===o.EM)&&(t.K=o.K+"-ring-inner",t.o[ZC._[21]]=d-e,t.parse(),t.paint()),o.IZ.o.items&&0<o.IZ.o.items.length||o.IZ.o.rules))for(I=0;I<o.V.length-1;I++)(t=new ZC.DT(o)).append(o.IZ.o),o.IZ.o.items&&(n=I%o.IZ.o.items.length,t.append(o.IZ.o.items[n])),t.Z=o.G.usc()?o.G.mc():ZC.AL(o.A.K+"-scales-bl-0-c"),t.K=o.K+"-ring-"+I,t.iX=E,t.iY=m,t.o.type="pie",e=ZC._i_(t.o[ZC._[21]]),e=ZC.BR(0,ZC.CY(e,d)),t.CP=d-e,t.o[ZC._[21]]=d,t.B4=o.DK-o.EM/2+I*f+360,t.BL=o.DK-o.EM/2+(I+1)*f+360+.25,t.parse(),t.IQ=y,t.E6=o.IZ.E6,t.DG()&&t.parse(),t.AP&&0<e+t.AU&&t.paint();if(o.IV.AP){for("outer"===o.IV.o[ZC._[7]]?h+=Z:h+=Z/2,i=[],I=0,x=o.V.length;I<x;I++)if(I===o.W||I===o.A1||I%p==0){switch(a=o.DK-o.EM/2+I*f,l=[0,0],o.IV.o[ZC._[7]]){case"inner":l=[-Z,0];break;case"outer":l=[0,Z];break;default:l=[-Z/2,Z/2]}i.push(ZC.AQ.BN(E,m,d+l[0],a),ZC.AQ.BN(E,m,d+l[1],a),null)}ZC.CO.paint(A,o.IV,i)}if(o.IG.AP&&0<o.FZ){for(i=[],I=0,x=o.V.length;I<x-1;I++)for(a=o.DK-o.EM/2+I*f,C=f/(o.FZ+1),s=1;s<=o.FZ;s++){switch(l=[0,0],o.IG.o[ZC._[7]]){case"inner":l=[-c,0];break;case"outer":l=[0,c];break;default:l=[-c/2,c/2]}i.push(ZC.AQ.BN(E,m,d+l[0],a+s*C),ZC.AQ.BN(E,m,d+l[1],a+s*C),null)}ZC.CO.paint(A,o.IG,i)}if(o.BQ.AP){for(var v,F,K=[],I=0,x=o.V.length;I<x;I++)I!==o.W&&I!==o.A1&&I%u!=0||((v=new ZC.DQ(o)).append(o.BQ.o),v.GN=o.K+"-item "+o.A.K+"-scale-item zc-scale-item",v.K=o.A.K+"-"+o.BD.replace(/\-/g,"_")+"-item_"+g+"_"+I,F=o.FT(I),v.AN=F,v.Z=v.C8=o.G.usc()?o.G.mc():ZC.AL(o.A.K+"-scales-ml-0-c"),v.parse(),"auto"===v.o.angle&&(v.AA=o.DK-o.EM/2+I*f+90),v.IQ=y,v.E6=o.BQ.E6,v.DG()&&v.parse(),v.AP&&(v.F=v.KG,F=1.15*v.DI,F="inner"===o.BQ.o[ZC._[7]]?ZC.AQ.BN(E,m,d+o.BQ.DX-F-5+h,o.DK-o.EM/2+I*f):ZC.AQ.BN(E,m,d+o.BQ.DX+F+h,o.DK-o.EM/2+I*f),v.VF="center",v.iX=F[0]-v.I/2,v.iY=F[1]-v.F/2,v.paint(),v.EO(),null===ZC._n_(o.o.tooltip)&&v.KD||(null!==ZC._n_(o.o.tooltip)&&(o.o.tooltip.text=o.o.tooltip.text||"%scale-value"),K.push(ZC.AO.OB(o.A.G.K,o.A.K,v)))));0<K.length&&ZC.AL(o.A.A.K+"-map")&&(ZC.AL(o.A.A.K+"-map").innerHTML+=K.join(""))}}}function y(e){return e=(e=(e=(e=e.replace(/%i/g,I)).replace(/%k/g,I)).replace(/%v/g,null!==ZC._n_(o.V[I])?o.V[I]:"")).replace(/%l/g,null!==ZC._n_(o.BY[I])?o.BY[I]:"")}},paint_:function(){for(var e=this,t=(t=e.A.BM("scale-"+e.L))||e.A.BM("scale"),i=0;i<t.V.length;i++){var n,a=i%t.H7,l=Math.floor(i/t.H7),a=t.iX+a*t.GM+t.GM/2+t.BK,l=t.iY+l*t.GH+t.GH/2+t.BJ;e.QG&&((n=new ZC.DT(e)).append(e.QG.o),n.Z=n.C8=e.G.usc()?e.G.mc("top"):ZC.AL(e.A.K+"-scales-ml-0-c"),n.K=e.K+"-"+i+"-center",n.iX=a,n.iY=l,n.o.type=n.o.type||"circle",n.parse(),n.AP)&&n.paint()}}}),{$i:function(e){this.b(e);this.DK=0,this.CW="star",this.DE=!1},parse:function(){this.b(),this.assign_a([["aspect","CW"],["ref-angle","DK","i"],["ranged","DE","b"]])},A8D:function(){var e=ZC.BR(this.V.length,this.BY.length);this.EJ=ZC.CY(30,e)},AA0:function(e){this.b(e)},clear:function(){},build:function(){this.b()},A7N:function(e,t,i){var n=this,a=n.A.BM("scale"),l=a.iX+a.I/2,a=a.iY+a.F/2,o=n.A.BM(ZC._[52]);return i?(i=n.DK+n.EM*(e-n.B0)/(n.BF-n.B0),ZC.AQ.BN(l,a,t+o.A9,i)):(i=n.EM/(n.V.length-(360===n.EM||n.DE?0:1)),ZC.AQ.BN(l,a,t+o.A9,n.DK+e*i))},II:function(e){var t=this.A.BM("scale"),t=ZC.CY(t.I/2,t.F/2)*t.JU;return this.A7N(e,t)},AR:function(e){var e=ZC.AV(this.V,e),t=(-1===e&&(e=0),this.A.BM("scale")),t=ZC.CY(t.I/2,t.F/2)*t.JU;return this.A7N(e,t)},paint:function(){var e,t,n=this;if(n.AP&&0!==n.V.length){n.b();var a,i=ZC.BR(1,Math.floor((n.A1-n.W)/(n.M4-1))),l=ZC.BR(1,Math.floor((n.A1-n.W)/(n.EJ-1))),o=ZC.Q.EE(n.G.usc()?n.G.K+"-main-c":n.A.K+"-scales-ml-0-c",n.G.AB),r=ZC.Q.EE(n.G.usc()?n.G.K+"-main-c":n.A.K+"-scales-bl-0-c",n.G.AB),C=ZC._i_(n.IV.o[ZC._[21]]||8),s=0,A=n.A.BM("scale"),Z=ZC.CY(A.I/2,A.F/2)*A.JU,c=n.A.BM(ZC._[52]),h=A.iX+A.I/2,p=A.iY+A.F/2,u=n.EM/(n.V.length-(360===n.EM||n.DE?0:1));if(n.D8.AP){if(n.D8.o.items&&0<n.D8.o.items.length)for(var _=0,d=0,f=n.V.length-(360===n.EM||n.DE?0:1);d<f;d+=i){var g,B,b,E=n.DK+d*u;("circle"===n.CW?(B=new ZC.DT(n),g=_%n.D8.o.items.length,B.append(n.D8.o.items[g]),B.Z=n.G.usc()?n.G.mc():ZC.AL(n.A.K+"-scales-bl-0-c"),B.iX=h,B.iY=p,B.o.type="pie",B.o[ZC._[21]]=Z,B.CP=c.A9,B.B4=E,B.BL=E+i*u,B.parse(),B):(B=new ZC.DT(n),g=_%n.D8.o.items.length,B.o=n.D8.o.items[g],B.Z=n.G.usc()?n.G.mc():ZC.AL(n.A.K+"-scales-bl-0-c"),B.B1=0,B.AU=0,B.EU=0,B.G3=0,(e=[]).push(ZC.AQ.BN(h,p,c.A9,E),ZC.AQ.BN(h,p,Z,E),ZC.AQ.BN(h,p,Z,E+i*u),ZC.AQ.BN(h,p,c.A9,E+i*u)),B.D=e,B.parse(),b=n.A.P,B.D2=[b.iX,b.iY,b.iX+b.I,b.iY+b.F],B)).paint(),_++}if(0<n.D8.B1)for(d=0,f=n.V.length+(n.DE?1:0);d<f;d+=i)E=n.DK+d*u,(t=new ZC.CZ(n)).copy(n.D8),t.K=n.K+"-guide-"+d,t.IQ=I,t.E6=n.D8.E6,t.DG()&&t.parse(),(e=[]).push(ZC.AQ.BN(h,p,Z,E),ZC.AQ.BN(h,p,c.A9,E)),ZC.CO.paint(r,t,e)}if(n.IV.AP){switch(n.IV.o[ZC._[7]]){case"inner":break;case"outer":s+=C;break;default:s+=C/2}for(e=[],d=0,f=n.V.length+(n.DE?1:0);d<f;d+=i){switch(E=n.DK+d*u,(t=new ZC.CZ(n)).copy(n.IV),t.o[ZC._[7]]){case"inner":e=[ZC.AQ.BN(h,p,Z-C,E),ZC.AQ.BN(h,p,Z,E)];break;case"outer":e=[ZC.AQ.BN(h,p,Z,E),ZC.AQ.BN(h,p,Z+C,E)];break;default:e=[ZC.AQ.BN(h,p,Z-C/2,E),ZC.AQ.BN(h,p,Z+C/2,E)]}for(var m=ZC._i_(t.o["offset-x"]||"0"),D=ZC._i_(t.o["offset-y"]||"0"),v=0;v<e.length;v++)e[v]&&(e[v][0]+=m,e[v][1]+=D);t.K=n.K+"-tick-"+d,ZC.CO.paint(o,t,e)}}var F,K=[];if(n.BQ.AP){for(d=0,f=n.V.length;d<f;d+=l)!function(t){(a=0<n.BQ.E6.length||0===t?new ZC.DQ(n):a).copy(n.BQ),a.GN=n.K+"-item "+n.A.K+"-scale-item zc-scale-item",a.K=n.A.K+"-"+n.BD.replace(/\-/g,"_")+"-item_"+t;var e,i=n.FT(t);null!==ZC._n_(n.LW)&&-1===ZC.AV(n.LW,i)||(a.AN=i,a.Z=a.C8=n.G.usc()?n.G.mc():ZC.AL(n.A.K+"-scales-ml-0-c"),a.parse(),a.IQ=function(e){return e=(e=(e=e.replace(/(%i)|(%scale-index)/g,t)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(n.V[t])?n.V[t]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(n.BY[t])?n.BY[t]:"")},a.E6=n.BQ.E6,a.DG()&&a.parse(),-1<(i=ZC.IO(a.DX,!0))&&i<1&&(i*=Z),E=n.DK+t*u+(n.DE?u/2:0),n.BQ.o["auto-align"]?(e=1.25,.7<1-ZC._a_(ZC.EF(E))&&(e=2.5*(1-ZC._a_(ZC.EF(E)))),e=(1-ZC._a_(ZC.EF(E)))*a.DI*e,F=ZC.AQ.BN(h,p,Z+i+s+e,E),0<ZC.EF(E)?a.iX=F[0]:a.iX=F[0]-a.I,a.iY=F[1]-a.F/2):n.BQ.o["auto-rotate"]?(F=ZC.AQ.BN(h,p,Z+i+s+a.F/2,E),a.iX=F[0]-a.I/2,a.iY=F[1]-a.F/2,a.AA=E+90):(F=ZC.AQ.BN(h,p,Z+i+s+ZC._a_(10*ZC.EL(E))+ZC._a_(a.I/2*ZC.EF(E)),E),a.iX=F[0]-a.I/2,a.iY=F[1]-a.F/2),a.AP&&(a.paint(),a.EO(),null===ZC._n_(n.o.tooltip)&&a.KD||(null!==ZC._n_(n.o.tooltip)&&(n.o.tooltip.text=n.o.tooltip.text||"%scale-value"),K.push(ZC.AO.OB(n.A.G.K,n.A.K,a)))))}(d);0<K.length&&ZC.AL(n.A.A.K+"-map")&&(ZC.AL(n.A.A.K+"-map").innerHTML+=K.join(""))}}function I(e){return e=(e=(e=e.replace(/(%i)|(%scale-index)/g,d)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(n.V[d])?n.V[d]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(n.BY[d])?n.BY[d]:"")}}}),ZO=(ZC.ZP=ZC.A2B.CD(ZP),{$i:function(e){this.b(e)},parse:function(){this.b()},J6:function(){var e=this.A.BM("scale"),e=ZC.CY(e.I/2,e.F/2)*e.JU;this.AD=(e-this.A9-this.BU)/(this.A1-this.W)},AA0:function(e){this.b(e),this.J6()},A8D:function(){var e=this.A.BM("scale"),e=ZC.CY(e.I/2,e.F/2)*e.JU;this.EJ=ZC.BR(2,ZC._i_((e-this.A9-this.BU)/20))},UC:function(e){var t=this.A.BM("scale"),t=ZC.CY(t.I/2,t.F/2)*t.JU,i=this.BF-this.B0,t=(t-this.A9-this.BU)/i;return(e-this.B0)*t},AR:function(e){var e=this.UC(e),t=this.A.BM("scale-k"),i=this.A.BM("scale"),n=i.iX+i.I/2+i.BK,i=i.iY+i.F/2+i.BJ;return ZC.AQ.BN(n,i,e,t.DK)},clear:function(){},build:function(){this.b()},paint:function(){var t,e,i,n,a,l=this;if(l.AP&&0!==l.V.length){l.b();var o,r,C=ZC.Q.EE(l.G.usc()?l.G.K+"-main-c":l.A.K+"-scales-ml-0-c",l.G.AB),s=ZC.Q.EE(l.G.usc()?l.G.K+"-main-c":l.A.K+"-scales-bl-0-c",l.G.AB),A=l.A.BM("scale-k"),Z=ZC._i_(l.IV.o[ZC._[21]]||8),c=Math.ceil((l.A1-l.W)/(l.EJ-1)),h=Math.ceil((l.A1-l.W)/(l.M4-1)),p=l.A.BM("scale"),u=ZC.CY(p.I/2,p.F/2)*p.JU,_=p.iX+p.I/2+p.BK,d=p.iY+p.F/2+p.BJ,f=A.EM/(A.V.length-(360===A.EM||A.DE?0:1));if(l.D8.AP){if(l.D8.o.items&&0<l.D8.o.items.length)for(t=0,e=l.V.length;t<e-1;t++){var g=t%l.D8.o.items.length;if("circle"===A.CW){var B=new ZC.DT(l);B.Z=l.G.usc()?l.G.mc():ZC.AL(l.A.K+"-scales-bl-0-c"),B.append(l.D8.o.items[g]),B.o.type="pie",B.o[ZC._[21]]=l.A9+(t+1)*l.AD,B.iX=_,B.iY=d,B.CP=l.A9+t*l.AD,360===A.EM?(B.B4=0,B.BL=360):(B.B4=A.DK,B.BL=A.DK+A.EM),B.parse(),B.paint()}else{B=new ZC.DT(l);for(B.append(l.D8.o.items[g]),B.Z=l.G.usc()?l.G.mc():ZC.AL(l.A.K+"-scales-bl-0-c"),a=[],i=0,n=A.V.length;i<n;i++)a.push(ZC.AQ.BN(_,d,l.A9+t*l.AD,A.DK+i*f));for(360===A.EM&&a.push(ZC.AQ.BN(_,d,l.A9+t*l.AD,A.DK),ZC.AQ.BN(_,d,l.A9+(t+1)*l.AD,A.DK)),i=A.V.length-1;0<=i;i--)a.push(ZC.AQ.BN(_,d,l.A9+(t+1)*l.AD,A.DK+i*f));B.D=a,B.parse(),B.B1=0,B.AU=0,B.EU=0,B.G3=0;g=l.A.P;B.D2=[g.iX,g.iY,g.iX+g.I,g.iY+g.F],B.paint()}}if(0<l.D8.B1)for(t=0,e=l.V.length;t<e;t++)if(t===l.W||t===l.A1||t%h==0)if("circle"===A.CW){var b=new ZC.DT(l),E=(b.Z=l.G.usc()?l.G.mc():ZC.AL(l.A.K+"-scales-bl-0-c"),b.append(l.D8.o),A.EM);360===E&&(E=359),b.append({type:"arc",size:l.A9+t*l.AD,angleStart:A.DK-.25,angleEnd:A.DK+E+.25}),b.K=l.K+"-guide-"+t,b.iX=_,b.iY=d,b.parse(),b.IQ=K,b.E6=l.D8.E6,b.DG()&&b.parse(),b.paint()}else{E=new ZC.CZ(l);for(E.copy(l.D8),E.K=l.K+"-guide-"+t,E.IQ=K,E.E6=l.D8.E6,E.DG()&&E.parse(),a=[],i=0,n=A.V.length-(360===A.EM||A.DE?0:1);i<n;i++)a.push(ZC.AQ.BN(_,d,l.A9+t*l.AD,A.DK+i*f),ZC.AQ.BN(_,d,l.A9+t*l.AD,A.DK+(i+1)*f));ZC.CO.paint(s,E,a)}}if(l.P5.AP&&0<l.P5.B1&&((a=[]).push(ZC.AQ.BN(_,d,l.A9,A.DK),ZC.AQ.BN(_,d,u-l.BU,A.DK)),ZC.CO.paint(C,l.P5,a)),l.IV.AP){switch(l.IV.o[ZC._[7]]){case"inner":break;case"outer":0;break;default:0}for(a=[],t=0,e=l.V.length;t<e;t++)if(t===l.W||t===l.A1||t%h==0){var m=ZC.AQ.BN(_,d,l.A9+t*l.AD,A.DK);switch(l.IV.o[ZC._[7]]){case"inner":a.push([m[0],m[1]]),A.DK%180==0?a.push([m[0],m[1]-Z]):a.push([m[0]-Z,m[1]]),a.push(null);break;case"outer":a.push([m[0],m[1]]),A.DK%180==0?a.push([m[0],m[1]+Z]):a.push([m[0]+Z,m[1]]),a.push(null);break;default:A.DK%180==0?a.push([m[0],m[1]-Z/2],[m[0],m[1]+Z/2]):a.push([m[0]-Z/2,m[1]],[m[0]+Z/2,m[1]]),a.push(null)}}for(var D=ZC._i_(l.IV.o["offset-x"]||"0"),v=ZC._i_(l.IV.o["offset-y"]||"0"),F=0;F<a.length;F++)a[F]&&(a[F][0]+=D,a[F][1]+=v);ZC.CO.paint(C,l.IV,a)}if(r=[],0<l.V.length&&l.BQ.AP)for(l.GU=0,x(l.W),l.GU=l.A1-l.W,x(l.A1),l.GU=1,t=l.W+1;t<l.A1;t++)t%c==0&&x(t);0<r.length&&ZC.AL(l.A.A.K+"-map")&&(ZC.AL(l.A.A.K+"-map").innerHTML+=r.join(""))}function K(e){return e=(e=(e=e.replace(/(%i)|(%scale-index)/g,t)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(l.V[t])?l.V[t]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(l.BY[t])?l.BY[t]:"")}function I(e){return e=(e=(e=(e=e.replace(/(%c)|(%scale-position)/g,l.GU)).replace(/(%i)|(%scale-index)/g,l.KA)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(l.V[l.KA])?l.V[l.KA]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(l.BY[l.KA])?l.BY[l.KA]:"")}function x(e){l.KA=e,(o=new ZC.DQ(l)).copy(l.BQ),o.K=l.A.K+"-"+l.BD.replace(/\-/g,"_")+"-item_"+e,o.GN=l.K+"-item "+l.A.K+"-scale-item zc-scale-item";var t=l.FT(e);if(o.AN=t,null===ZC._n_(l.LW)||-1!==ZC.AV(l.LW,t)){o.Z=o.C8=l.G.usc()?l.G.mc():ZC.AL(l.A.K+"-scales-fl-0-c"),o.parse(),o.IQ=I,o.DG()&&o.parse();t=ZC.AQ.BN(_,d,l.A9+e*l.AD,A.DK);switch(o.F=o.KG,o.I=o.NM,A.DK%180==0?(o.iX=t[0]-o.I/2,o.iY=t[1]):(o.iX=t[0],o.iY=t[1]-o.F/2),l.IV.o[ZC._[7]]){case"inner":break;case"outer":A.DK%180==0?o.iY+=Z:o.iX+=Z;break;default:A.DK%180==0?o.iY+=Z/2:o.iX+=Z/2}o.AP&&(o.paint(),o.EO(),null===ZC._n_(l.o.tooltip)&&o.KD||(null!==ZC._n_(l.o.tooltip)&&(l.o.tooltip.text=l.o.tooltip.text||"%scale-value"),r.push(ZC.AO.OB(l.A.G.K,l.A.K,o))))}}}}),A0N=(ZC.ZO=ZC.WA.CD(ZO),{$i:function(e){this.b(e);e=this;e.C5=.95,e.L=0,e.AF=null,e.M=null,e.FA=null,e.A64=!1,e.BA="bottom",e.A9=0,e.BU=0,e.MM="normal",e.O9="normal",e.KF=[5,5],e.A0C=[0,0],e.YQ=""},parse:function(){this.b();var e,t=this;t.assign_a([["type","AF"],["value-range","A64","b"],["offset-start","A9","i"],["offset-end","BU","i"],[ZC._[7],"BA"],["pair-scale","YQ"],["label-placement","MM"],["label-alignment","O9"],["range","FA"]]),null===ZC._n_(t.o.alpha)&&(t.o.alpha="area"===t.AF?.25:.95),null!==ZC._n_(e=t.o["label-tolerance"])&&("object"==typeof e&&e.length?(t.KF[0]=ZC._i_(e[0]||"5"),t.KF[1]=ZC._i_(e[1]||"5")):t.KF[0]=t.KF[1]=ZC._i_(e||"5")),t.assign_a([["alpha","C5","f",0,1]]),null===ZC._n_(e=t.o.label)&&null===ZC._n_(t.o.text)||(t.M=new ZC.DQ(t),t.A.A.A.B6.load(t.M.o,["("+t.A.AF+").SCALE.marker.label"]),null!==ZC._n_(t.o.text)&&t.M.append({text:t.o.text}),t.M.append(e),t.M.parse(),t.A0C=[t.M.BK,t.M.BJ])},paint:function(){var e,t,i,n,a,l,o,r=this;if(r.FA)if(-1!==r.A.BD.indexOf("scale-r"))r.A.paintMarker(r);else if(r.AP){var C,s,A,Z=r.A,c=r.A.A.P.AU,h=Z.A.K+"-scales-"+("top"===r.BA?"f":"b")+"l-0-c",p=(r.Z=r.C8=ZC.AL(Z.G.usc()?Z.G.K+"-main-c":h),D=ZC.Q.EE(r.Z,Z.G.AB),a=[],0),u=0,_=(-1<r.BK&&r.BK<1&&(r.BK=Math.ceil(r.BK*Z.AD)),-1<r.BJ&&r.BJ<1&&(r.BJ=Math.ceil(r.BJ*Z.AD)),r.M&&(r.M.Z=Z.G.usc()?Z.G.mc():ZC.AL(Z.A.K+"-scales-ml-0-c"),r.M.K=r.A.A.K+"-"+r.A.BD.replace(/\-/g,"_")+"-marker_"+r.L,r.M.GN=r.A.K+"-marker-label "+r.A.A.K+"-scale-marker-label zc-scale-marker-label"),r.A.A),d=function(e,t){var i=-1!==(t+"").indexOf("%")?(i=ZC._f_(t.replace("%","")),"k"===e.AF?ZC._i_(i*(e.DP-e.D4)/100):i*(e.GW-e.FQ)/100):t;return r.A64||"v"===e.AF?e.AR(i):e.II(i)};if("poly"===r.AF){var f,g,B,b,_=r.A.A;for("k"===Z.AF?(f=Z,g=""!==r.YQ&&_.BM(r.YQ)||_.BW("v")[0]):"v"===Z.AF&&(g=Z,f=""!==r.YQ&&_.BM(r.YQ)||_.BW("k")[0]),l=0,o=r.FA.length;l<o;l++)B=d(f,r.FA[l][0]),b=g.AR(r.FA[l][1]),a.push([B,b]),p+=B,u+=b;if(p/=a.length,u/=a.length,3<=a.length){if(a[0].join("/")!==a[a.length-1].join("/")&&a.push([a[0][0],a[0][1]]),Z.A.AJ["3d"])for(Z.A.O7(),t=0,i=a.length;t<i;t++)n=new ZC.CE(Z.A,a[t][0]-ZC.AM.E1,a[t][1]-ZC.AM.E2,ZC.AM.FE),a[t][0]=n.EC[0],a[t][1]=n.EC[1];(A=new ZC.DT(r.A)).K=Z.K+"-marker-"+r.L,A.Z=A.C8=Z.G.usc()?Z.G.mc():ZC.AL(h),"canvas"===Z.G.AB&&(e=A.Z.getContext("2d")),A.copy(r),A.B1=0,A.AU=0,A.EU=0,A.G3=0,A.D=a,A.parse(),"canvas"===Z.G.AB&&(e.save(),e.beginPath(),e.rect(_.P.iX-2,_.P.iY-2,_.P.I+4,_.P.F+4),e.clip()),A.paint(),"canvas"===Z.G.AB&&e.restore()}}else if("line"===r.AF){if((-1!==Z.BD.indexOf(ZC._[50])||-1!==Z.BD.indexOf(ZC._[51]))&&(1===r.FA.length?C=s=d(Z,r.FA[0]):2===r.FA.length&&(C=d(Z,r.FA[0]),s=d(Z,r.FA[1]))),-1!==Z.BD.indexOf(ZC._[50])&&Z.CM||-1!==Z.BD.indexOf(ZC._[51])&&!Z.CM){if(a.push([Z.iX+r.A9,C],[Z.iX+Z.I-r.BU,s]),r.o&&r.o.tooltip){_.o[ZC._[10]]=_.o[ZC._[10]]||[];for(var E=Z.BD.replace(/\-/g,"")+"marker"+this.L,m=0;m<_.o[ZC._[10]].length;m++)_.o[ZC._[10]][m].id&&_.o[ZC._[10]][m].id===E&&_.o[ZC._[10]].splice(m,1);_.o[ZC._[10]].push({id:E,cls:"zcScaleMarkerLabel",x:Z.iX,y:C-r.B1,width:Z.I,height:2*r.B1,alpha:0,tooltip:r.o.tooltip})}r.M&&("opposite"===r.MM?r.M.iX=Z.iX+Z.I-r.M.I-r.BU:r.M.iX=Z.iX+r.A9,"opposite"===r.MM?r.M.iY=s-(Z.AW?0:r.M.F):r.M.iY=C-(Z.AW?0:r.M.F))}else{if(a.push([C,Z.iY+Z.F-r.A9],[s,Z.iY+r.BU]),r.o&&r.o.tooltip){_.o[ZC._[10]]=_.o[ZC._[10]]||[];for(E=Z.BD.replace(/\-/g,"")+"marker"+this.L,m=0;m<_.o[ZC._[10]].length;m++)_.o[ZC._[10]][m].id&&_.o[ZC._[10]][m].id===E&&_.o[ZC._[10]].splice(m,1);_.o[ZC._[10]].push({id:E,cls:"zcScaleMarkerLabel",x:C-r.B1,y:Z.iY,width:2*r.B1,height:Z.F,alpha:0,tooltip:r.o.tooltip})}r.M&&("opposite"===r.MM?r.M.iX=s-(Z.AW?r.M.I:0):r.M.iX=C-(Z.AW?r.M.I:0),"opposite"===r.MM?r.M.iY=Z.iY+r.M.I-r.M.F+r.BU:r.M.iY=Z.iY+Z.F-r.M.F-r.A9)}if(Z.A.AJ["3d"])for(Z.A.O7(),t=0,i=a.length;t<i;t++)n=new ZC.CE(Z.A,a[t][0]-ZC.AM.E1,a[t][1]-ZC.AM.E2,ZC.AM.FE),a[t][0]=n.EC[0],a[t][1]=n.EC[1];2===a.length&&("canvas"===Z.G.AB&&(D.save(),D.beginPath(),D.rect(_.P.iX-2,_.P.iY-2,_.P.I+4,_.P.F+4),D.clip()),ZC.CO.setup(D,r),ZC.CO.paint(D,r,a),"canvas"===Z.G.AB)&&D.restore()}else if("area"===r.AF&&(-1!==Z.BD.indexOf(ZC._[50])?2===r.FA.length?(C=v=d(Z,r.FA[0]),s=F=d(Z,r.FA[1])):4===r.FA.length&&(C=d(Z,r.FA[0]),s=d(Z,r.FA[1]),v=d(Z,r.FA[2]),F=d(Z,r.FA[3])):-1!==Z.BD.indexOf(ZC._[51])&&(2===r.FA.length?(C=v=Z.AR(r.FA[0]),s=F=Z.AR(r.FA[1])):4===r.FA.length&&(C=Z.AR(r.FA[0]),s=Z.AR(r.FA[1]),v=Z.AR(r.FA[2]),F=Z.AR(r.FA[3]))),s=C===s?s+1:s,F=v===F?F+1:F,-1!==Z.BD.indexOf(ZC._[50])&&Z.CM||-1!==Z.BD.indexOf(ZC._[51])&&!Z.CM?(a.push([Z.iX+c,C],[Z.iX+Z.I-c,v],[Z.iX+Z.I-c,F],[Z.iX+c,s],[Z.iX+c,C]),r.M&&("opposite"===r.MM?r.M.iX=Z.iX+Z.I-r.M.I-r.BU:r.M.iX=Z.iX+r.A9,"opposite"===r.MM?r.M.iY=s-(Z.AW?0:r.M.F):r.M.iY=C-(Z.AW?0:r.M.F))):(a.push([C,Z.iY+Z.F-c],[v,Z.iY+c],[F,Z.iY+c],[s,Z.iY+Z.F-c],[C,Z.iY+Z.F-c]),r.M&&("opposite"===r.MM?r.M.iX=s-(Z.AW?r.M.I:0):r.M.iX=C-(Z.AW?r.M.I:0),"opposite"===r.MM?r.M.iY=Z.iY+r.M.I-r.M.F+r.BU:r.M.iY=Z.iY+Z.F-r.M.F-r.A9)),4<=a.length)){if(Z.A.AJ["3d"])for(Z.A.O7(),t=0,i=a.length;t<i;t++)n=new ZC.CE(Z.A,a[t][0]-ZC.AM.E1,a[t][1]-ZC.AM.E2,ZC.AM.FE),a[t][0]=n.EC[0],a[t][1]=n.EC[1];(A=new ZC.DT(r.A)).K=Z.K+"-marker-"+r.L,A.Z=A.C8=Z.G.usc()?Z.G.mc():ZC.AL(h),"canvas"===Z.G.AB&&(e=A.Z.getContext("2d")),A.copy(r),A.B1=0,A.AU=0,A.EU=0,A.G3=0,A.D=a,A.parse(),A.BK=r.BK,A.BJ=r.BJ,"canvas"===Z.G.AB&&(e.save(),e.beginPath(),e.rect(_.P.iX-2,_.P.iY-2,_.P.I+4,_.P.F+4),e.clip()),A.paint(),"canvas"===Z.G.AB&&e.restore()}var D=!0,v=Z.A.P,F=(2===a.length&&(-1!==Z.BD.indexOf(ZC._[50])&&Z.CM||-1!==Z.BD.indexOf(ZC._[51])&&!Z.CM?ZC.DS(a[0][1],v.iY-r.KF[1],v.iY+v.F+r.KF[1])&&ZC.DS(a[1][1],v.iY-r.KF[1],v.iY+v.F+r.KF[1])||(D=!1):ZC.DS(a[0][0],v.iX-r.KF[0],v.iX+v.I+r.KF[0])&&ZC.DS(a[1][0],v.iX-r.KF[0],v.iX+v.I+r.KF[0])||(D=!1)),r.O9);r.M&&D&&("poly"===r.AF?(r.M.iX=ZC._i_(p-r.M.I/2),r.M.iY=ZC._i_(u-r.M.F/2)):("auto"===r.O9&&(F=-1!==Z.BD.indexOf(ZC._[50])&&!Z.CM||-1!==Z.BD.indexOf(ZC._[51])&&Z.CM?C<Z.iX+Z.I/2?"normal":"opposite":C>Z.iY+Z.F/2?"normal":"opposite"),r.M.BK=r.M.BJ=0,(-1!==Z.BD.indexOf(ZC._[50])&&!Z.CM||-1!==Z.BD.indexOf(ZC._[51])&&Z.CM)&&null===ZC._n_(r.M.o.angle)&&(r.M.AA=270),-1!==Z.BD.indexOf(ZC._[50])&&!Z.CM||-1!==Z.BD.indexOf(ZC._[51])&&Z.CM?(r.M.AA%180==90&&(r.M.BK-=(Z.AW?-1:1)*(r.M.I/2-r.M.F/2),r.M.BJ-=r.M.I/2-r.M.F/2,"opposite"===r.MM&&(r.M.BJ=-r.M.I/2+r.M.F/2),"opposite"===F)&&(r.M.BK-=r.M.F),r.M.AA%180==0&&("opposite"===r.MM&&(r.M.BJ=-r.M.I+r.M.F),"opposite"===F)&&(r.M.BK-=r.M.I)):(r.M.AA%180==90&&(r.M.BK-=r.M.I/2-r.M.F/2,r.M.BJ-=(Z.AW?-1:1)*(r.M.I/2-r.M.F/2),"opposite"===r.MM&&(r.M.BK=r.M.I/2-r.M.F/2),"opposite"===F)&&(r.M.BJ+=r.M.I),r.M.AA%180==0&&"opposite"===F&&(r.M.BJ+=r.M.F)),r.M.BK+=r.A0C[0]+r.BK,r.M.BJ+=r.A0C[1]+r.BJ),Z.A.AJ["3d"]&&(n=new ZC.CE(Z.A,r.M.iX-ZC.AM.E1,r.M.iY-ZC.AM.E2,ZC.AM.FE),r.M.iX=n.EC[0],r.M.iY=n.EC[1]),ZC.DS(r.M.iX+r.M.I/2+r.M.BK,r.A.A.P.iX-r.KF[0],r.A.A.P.iX+r.A.A.P.I+r.KF[0]))&&ZC.DS(r.M.iY+r.M.F/2+r.M.BJ,r.A.A.P.iY-r.KF[1],r.A.A.P.iY+r.A.A.P.F+r.KF[1])&&(r.M.paint(),r.M.EO(),r.M.KD||"normal"!==zingchart.OBJECTMODE||(Z.E["marker_text_"+r.L]=r.M.AN,ZC.AL(_.A.K+"-map")&&(c=ZC.AO.OB(_.G.K,_.K,r.M),ZC.AL(_.A.K+"-map").innerHTML=ZC.AL(_.A.K+"-map").innerHTML+c)))}}}),VP=(ZC.A0N=ZC.DT.CD(A0N),{$i:function(e){this.LX=null,this.A4M=0,this.P2=[],this.BD=e,this.A3G=!0},add:function(e){this.P2.push(e),e.K7=this,e.LX=this.LX,e.BZ.TL=!0,e.X2=this.P2.length-1,this.A3G=!1}}),E8=(ZC.VP=ZC.C6.CD(VP),{$i:function(e,t,i,n,a,l){var o,r=this;for(o in r.LX=null,r.BZ=e,r.AX=null,r.A4N=0,r.HX=null,r.N=t||{},r.A4O=i||500,r.XC=n||-1,r.A0E=null,r.T9=null,(r.OI=null)!==ZC._n_(l)&&(r.T9=l),r.A4P=ZC.E8.linear,null!==ZC._n_(a)&&""!==a&&(r.A4P=a),r.ADJ={},r.C7={},r.ACK=[],r.RF=ZC._i_(r.A4O/ZC.PO.U5),100<r.RF&&(r.RF=100),(ZC.vml||ZC.mobile)&&(r.RF=ZC._i_(r.RF/4)),r.RF<5&&(r.RF=5),r.N)null!==ZC._n_(ZC.E8.GO[o])?r.C7[o]=r.BZ[ZC.E8.GO[o]]:r.C7[o]=r.BZ[o];r.Y=0,r.K7=null,r.X2=-1},status:function(){return this.Y+1>this.RF?0:1},step:function(){var e=this,t=1,i=e.LX.C.G.AB;if(e.Y++,e.Y>e.RF&&(e.Y===e.RF+1&&-1!==e.X2&&(e.K7.A4M++,e.K7.A4M===e.K7.P2.length)&&(e.K7.A3G=!0),t=0),t){var n,a={};if(e.Y===e.RF)a=e.N,e.A4N=1;else for(var l in e.A4N=e.A4P(e.Y,0,1,e.RF),e.N)switch(l){case"points":for(var o=[],r=0,C=e.N[l].length;r<C;r++)if(null!==ZC._n_(e.C7[l][r])){o[r]=[];for(var s=0,A=e.N[l][r].length;s<A;s++)o[r][s]=e.A4P(e.Y,e.C7[l][r][s],e.N[l][r][s]-e.C7[l][r][s],e.RF)}a[l]=o;break;case"lineColor":case"borderColor":case"backgroundColor1":case"backgroundColor2":var Z=e.C7[l].replace("#",""),c=ZC.AO.GD(e.N[l]).replace("#",""),h=ZC.R1(Z.slice(0,2)),p=ZC.R1(Z.slice(2,4)),Z=ZC.R1(Z.slice(4,6)),u=ZC.R1(c.slice(0,2)),_=ZC.R1(c.slice(2,4)),c=ZC.R1(c.slice(4,6)),u=ZC.OZ(ZC._i_(e.A4P(e.Y,h,u-h,e.RF))),h=(1===u.length&&(u="0"+u),ZC.OZ(ZC._i_(e.A4P(e.Y,p,_-p,e.RF)))),_=(1===h.length&&(h="0"+h),ZC.OZ(ZC._i_(e.A4P(e.Y,Z,c-Z,e.RF))));1===_.length&&(_="0"+_),a[l]="#"+u+h+_;break;default:a[l]=e.A4P(e.Y,e.C7[l],e.N[l]-e.C7[l],e.RF)}if(e.BZ.append(a),e.BZ.TL=!0,e.BZ.parse(),e.AX&&(null!==ZC._n_(n=e.BZ.E["bound-1"])&&(e.BZ.D2[1]=n),null!==ZC._n_(n=e.BZ.E["bound-3"])&&(e.BZ.D2[3]=n),"vml"===i&&1===e.Y&&(typeof e.AX.A.HS!==ZC._[31]?e.BZ.E.opacity2=e.AX.A.HS:e.BZ.E.opacity2=e.AX.A.C5),e.AX.G)&&(e.AX.G.E[e.AX.K+"-bounds"]=[e.AX.iX,e.AX.iY,e.AX.iX+e.AX.I,e.AX.iY+e.AX.F]),e.A0E)try{e.A0E(e.BZ,a)}catch(F){}e.AX&&(n={id:e.AX.G.K,graphid:e.AX.C.K,plotindex:e.AX.A.L,nodeindex:e.AX.L,stage:e.A4N,value:e.AX.AC*e.A4N},ZC.AO.C0("animation_step",e.AX.G,n))}if(e.AX){if(1===e.Y||"canvas"===i)(-1===ZC.AV(["svg","vml"],i)||0===ZC.A3("#"+e.BZ.K+"-path").length)&&e.paint();else if(e.Y<=e.RF){switch(i){case"svg":e.BZ.WZ(!0);break;case"vml":e.BZ.X0(null,!0)}e.BZ.WH&&e.BZ.WH(),"vml"===i&&/\-plotset\-plot-\d+\-node\-\d+\-area/.test(e.BZ.K)&&(e.BZ.B1=0),n=null,typeof e.BZ.DH!==ZC._[31]&&"box"===e.BZ.DH&&(n=e.BZ.B1,e.BZ.B1=e.BZ.AU);var d,f,g,B=!1,b=((B="svg"===i&&ZC.AL(e.BZ.K+"-path")&&"rect"===ZC.AL(e.BZ.K+"-path").tagName?!0:B)?(g=[],f=[]):(g=ZC.Q.A33(e.BZ.D,i,e.BZ,!1,!0),e.BZ.ME&&(d=ZC.Q._sh_(e.BZ.D,e.BZ),f=ZC.Q.A33(d,i,e.BZ,!1,!0))),null!==ZC._n_(n)&&(e.BZ.B1=n),e.BZ.C5),E=e.BZ.O3,m=e.BZ.T7,D=e.BZ.JZ,v=e.BZ.AI;switch(i){case"svg":ZC.A3("#"+e.BZ.K+"-path").attr("d",g.join(" ")).attr("stroke-opacity",E).attr("fill-opacity",b),e.BZ.ME&&ZC.A3("#"+e.BZ.K+"-sh-path").attr("d",f.join(" ")).attr("stroke-opacity",E*m).attr("fill-opacity",b*m),B&&(ZC.A3("#"+e.BZ.K+"-path").attr("x",e.BZ.iX).attr("y",e.BZ.iY).attr(ZC._[19],ZC.BR(0,e.BZ.I)).attr(ZC._[20],ZC.BR(0,e.BZ.F)),e.BZ.ME)&&ZC.A3("#"+e.BZ.K+"-sh-path").attr("x",e.BZ.iX+D*ZC.EF(e.BZ.ON)).attr("y",e.BZ.iY+D*ZC.EL(e.BZ.ON)).attr(ZC._[19],ZC.BR(0,e.BZ.I)).attr(ZC._[20],ZC.BR(0,e.BZ.F)),ZC.A3("#"+e.BZ.K+"-circle").attr("stroke-opacity",E).attr("cx",e.BZ.iX).attr("cy",e.BZ.iY).attr("r",v).attr("fill-opacity",b),e.BZ.ME&&ZC.A3("#"+e.BZ.K+"-sh-circle").attr("stroke-opacity",E*m).attr("cx",e.BZ.iX+D).attr("r",v).attr("cy",e.BZ.iY+D).attr("fill-opacity",b*m),""!==e.BZ.DC&&ZC.A3("#"+e.BZ.K+"-path-imgfill").attr("d",g.join(" ")).attr("stroke-opacity",E).attr("fill-opacity",b),ZC.A3("#"+e.BZ.K+"-goal-path").remove();break;case"vml":ZC.A3("#"+e.BZ.K+"-path").children().each(function(){this.v=g.join(" "),this.opacity=b}),e.BZ.ME&&ZC.A3("#"+e.BZ.K+"-sh-path").children().each(function(){this.v=f.join(" "),this.opacity=b*m}),ZC.A3("#"+e.BZ.K+"-circle").children().each(function(){this.opacity=b}),ZC.A3("#"+e.BZ.K+"-circle").each(function(){this.style.left=e.BZ.iX-v+"px",this.style.top=e.BZ.iY-v+"px",this.style.width=2*v+"px",this.style.height=2*v+"px"}),e.BZ.ME&&(ZC.A3("#"+e.BZ.K+"-sh-circle").children().each(function(){this.opacity=b*m}),ZC.A3("#"+e.BZ.K+"-sh-circle").each(function(){this.style.left=e.BZ.iX-v+D+"px",this.style.top=e.BZ.iY-v+D+"px",this.style.width=2*v+"px",this.style.height=2*v+"px"})),ZC.A3("#"+e.BZ.K+"-goal-path").remove()}}}else e.LX.C.Q8=!0,e.LX.C.A0P(),e.LX.C.KM();return e.Y===e.RF+1&&null!==ZC._n_(e.T9)&&e.T9(),t},paint:function(){if(null!==ZC._n_(this.HX)?ZC.CO.paint(this.HX,this.BZ,this.BZ.D):this.BZ.paint(),this.OI)try{1===this.A4N&&this.OI()}catch(e){}}});ZC.E8=ZC.C6.CD(E8),ZC.E8.GO={angleStart:"B4",angleEnd:"BL",slice:"CP",size:"AI",x:"iX",y:"iY",width:"I",height:"F",alpha:"C5",angle:"AA",fillAngle:"NB",points:"D",lineWidth:"B1",lineColor:"B9",borderWidth:"AU",borderColor:"BX",backgroundColor1:"A0",backgroundColor2:"AE"},ZC.E8.linear=function(e,t,i,n){return i*e/n+t},ZC.E8.backEaseOut=function(e,t,i,n){n=(e/=n)*e;return t+i*(4*(n*e)+-9*n+6*e)},ZC.E8.elasticEaseOut=function(e,t,i,n){var n=(e/=n)*e,a=n*e;return t+i*(37.045*a*n+-116.2825*n*n+134.08*a+-68.59*n+14.7475*e)},ZC.E8.bounceEaseOut=function(e,t,i,n){return(e/=n)<1/2.75?i*(7.5625*e*e)+t:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+t:i*(7.5625*(e-=2.625/2.75)*e+.984375)+t},ZC.E8.regularEaseOut=function(e,t,i,n){n=(e/=n)*e;return t+i*(n*e+-3*n+3*e)},ZC.E8.strongEaseOut=function(e,t,i,n){var n=(e/=n)*e,a=n*e;return t+i*(a*n+-5*n*n+10*a+-10*n+5*e)},ZC.E8.RN=[ZC.E8.linear,ZC.E8.backEaseOut,ZC.E8.elasticEaseOut,ZC.E8.bounceEaseOut,ZC.E8.strongEaseOut,ZC.E8.regularEaseOut],ZC.ANIMATION={SLOW:4e3,FAST:1e3,LINEAR:0,BACK_EASE_OUT:1,ELASTIC_EASE_OUT:2,BOUNCE_EASE_OUT:3,STRONG_EASE_OUT:4,REGULAR_EASE_OUT:5,NO_SEQUENCE:0,BY_PLOT:1,BY_NODE:2,BY_PLOT_AND_NODE:3,FADE_IN:1,EXPAND_VERTICAL:2,EXPAND_TOP:3,EXPAND_BOTTOM:4,EXPAND_LEFT:5,EXPAND_RIGHT:6,EXPAND_HORIZONTAL:7,SLIDE_LEFT:8,SLIDE_RIGHT:9,SLIDE_TOP:10,SLIDE_BOTTOM:11,UNFOLD_HORIZONTAL:12,UNFOLD_VERTICAL:13,EXPAND:2,GROW:3,FLY_IN:4,UNFOLD:5},ZC.PO=ZC.C6.CD({$i:function(e){this.C=e,this.RG=!1,this.C4=null,this.P2=[],this.PM={},this.onStop=null},AA7:function(e,t){var i=this;null!==ZC._n_(i.PM[e.BD])||((i.PM[e.BD]=e).LX=i).RG||(null!==ZC._n_(t)&&0<t?window.setTimeout(function(){i.start()},t+1):i.start())},add:function(e){var t=this;e.LX=t,0<e.XC?(t.P2.push(e),window.setTimeout(function(){e.BZ.TL=!0,t.RG||t.start()},e.XC+1)):(e.BZ.TL=!0,t.P2.push(e),t.RG||t.start())},start:function(){var e=this,t=(e.RG=!0,ZC.AO.C0("animation_start",e.C.A,{id:e.C.A.K,graphid:e.C.K}),!0);!function i(){t||e.step(),t=!1,e.RG&&(e.C4=window.requestAnimFrame(i))}()},step:function(){var e,t=this,i=0;if(t.RG){for(var n,a=0,l=t.P2.length;a<l;a++)i+=t.P2[a].status();if("canvas"===t.C.G.AB)if(t.C.G.KD)null!==ZC._n_(e=ZC.AL(t.C.K+"-plots-bl-c"))&&e.getContext("2d").clearRect(t.C.iX,t.C.iY,t.C.I,t.C.F);else for(a=0,l=t.C.AY.A4.length;a<l;a++)for(var o=0;o<t.C.AY.A4[a].SW;o++)null!==ZC._n_(e=ZC.AL(t.C.K+"-plot-"+a+"-bl-"+o+"-c"))&&e.getContext("2d").clearRect(t.C.iX,t.C.iY,t.C.I,t.C.F);for(a=0,l=t.P2.length;a<l;a++)0===t.P2[a].step()&&(t.P2[a].BZ.TL=!1);for(n in t.PM)for(t.PM[n].A3G||(i+=1),a=0,l=t.PM[n].P2.length;a<l;a++)t.PM[n].P2[a].X2===t.PM[n].A4M?0===t.PM[n].P2[a].step()&&(t.PM[n].P2[a].BZ.TL=!1):"canvas"===t.C.G.AB&&t.PM[n].P2[a].paint();0===i&&(t.PM={},t.P2=[],t.stop())}},stop:function(e){null===ZC._n_(e)&&(e=!1);var i,n=this;if(e&&(n.bDead=!0),window.clearAnimFrame(n.C4),n.C.A0P(),n.C.Q8=!1,ZC.AL(n.C.G.K)){n.C.KM(),window.setTimeout(function(){var e,t;(i=ZC.AL(n.C.A.K+"-map"))&&n.C.AY.H3&&(-1===ZC.AV(["bubble","mixed","vbullet","hbullet","radar"],n.C.AF)&&1!==zingchart.SORTTRACKERS||n.C.AY.H3.sort(function(e,t){return ZC.AO.NA(e)>ZC.AO.NA(t)?1:-1}),e='<area shape="rect" coords="0,0,1,1" id="mark'+n.C.L+'">',-1!==(t=i.innerHTML.indexOf(e))?i.innerHTML=i.innerHTML.substring(0,t+e.length)+n.C.a11y()+n.C.AY.H3.join("")+i.innerHTML.substring(t+e.length):i.innerHTML+=n.C.a11y()+n.C.AY.H3.join(""))},33),n.C.A71(),n.RG=!1;for(var t=0,a=n.P2.length;t<a;t++)n.P2[t].T9=null;if(n.P2=[],n.PM={},e||ZC.AO.C0("animation_end",n.C.A,{id:n.C.A.K,graphid:n.C.K}),null!==ZC._n_(n.onStop))try{n.onStop()}catch(l){}}}}),ZC.PO.U5=33,!function(){for(var e=["ms","moz","webkit","o"],t=0,i=e.length;t<i&&!window.requestAnimFrame;++t)window.requestAnimFrame=window.requestAnimationFrame||window[e[t]+"RequestAnimationFrame"],window.cancelAnimFrame=window.cancelAnimationFrame||window[e[t]+"CancelAnimationFrame"]||window[e[t]+"CancelRequestAnimationFrame"];window.requestAnimFrame||(window.requestAnimFrame=function(e){return window.setTimeout(e,ZC.PO.U5)}),window.clearAnimFrame||(window.clearAnimFrame=function(e){window.clearTimeout(e)})}(),zingchart.bind(null,"dataparse",function(a,e){for(var t,i=0,n=e[ZC._[16]].length;i<n;i++)if(e[ZC._[16]][i].type&&-1!==ZC.AV(["pie","line","vline","area","varea","bar","vbar","hbar","line3d","area3d","bar3d","vbar3d","hbar3d"],e[ZC._[16]][i].type)&&e[ZC._[16]][i].nav){var l,o=e[ZC._[16]][i],r=(ZC._todash_(o),o.nav||{}),C=(ZC._todash_(r),ZC.IO(r.threshold||"10%")),s=r.others||{text:"Others"},A=r.back||{},Z=r[ZC._[8]]||"0.3",c=o[ZC._[11]]||[],h=[];if("pie"===e[ZC._[16]][i].type){for(var p=0,u=0;u<c.length;u++)c[u][ZC._[5]]&&null!==ZC._n_(c[u][ZC._[5]][0])&&(p+=c[u][ZC._[5]][0]);0<C&&C<1&&(C*=p);var _=[].concat(c),d=0,f="",g=1;for(u=c.length-1;0<=u;u--)c[u][ZC._[5]]&&null!==ZC._n_(c[u][ZC._[5]][0])&&c[u][ZC._[5]][0]<C&&(d+=c[u][ZC._[5]][0],f+=(c[u].text||"Item no."+g)+":"+c[u][ZC._[5]][0]+"<br>",c[u][ZC._[8]]=Z,h.push(c[u]),c.splice(u,1),g++);0<d&&(2<g?(l={values:[d],detach:!1,"data-group":[1],"tooltip-text":f=f.substring(0,f.length-4)},ZC._cp_(s,l),c.push(l),zingchart.bind(a.id,"plot_click",function(e){if(e.xdata.group){var t=zingchart.getLoader(e.id);if(t){var i,n=zingchart.getGraph(t,e.graphid);for(i in n.getAttributes())"pie-sel-"===i.substring(0,8)&&n.setAttribute(i,null);zingchart.exec(a.id,"setseriesdata",{data:h}),window.setTimeout(function(){var e=zingchart.exec(a.id,"getobjectinfo",{object:"node",plotindex:0,nodeindex:0}),e={id:"navpie_btnback",x:e.x,y:e.y,text:"< Back",anchor:"c",cursor:"hand"};ZC._cp_(A,e),zingchart.exec(a.id,"addobject",{type:"label",data:e})},1)}}}),zingchart.bind(a.id,"label_click",function(e){if("navpie_btnback"===e.label.id){var t=zingchart.getLoader(e.id);if(t){var i,n=zingchart.getGraph(t,e.graphid);for(i in n.getAttributes())"pie-sel-"===i.substring(0,8)&&n.setAttribute(i,null);zingchart.exec(a.id,"removeobject",{type:"label",id:"navpie_btnback"}),zingchart.exec(a.id,"setseriesdata",{data:c})}}})):o[ZC._[11]]=[].concat(_))}else{var B=0,b=[];for(u=0;u<c.length;u++){if(b[u]=0,c[u][ZC._[5]]&&c[u][ZC._[5]].length)for(t=0;t<c[u][ZC._[5]].length;t++)b[u]+=ZC._a_(c[u][ZC._[5]][t]);B=ZC.BR(B,b[u])}0<C&&C<1&&(C*=B),_=[].concat(c);var E=[],m=[];for(u=c.length-(g=1);0<=u;u--)if(b[u]<C){if(c[u][ZC._[5]]&&c[u][ZC._[5]].length)for(t=0;t<c[u][ZC._[5]].length;t++)E[t]=ZC._f_(E[t]||"0"),E[t]+=c[u][ZC._[5]][t],m[t]=m[t]||"",m[t]+=(c[u].text||"Item no."+g)+":"+c[u][ZC._[5]][t]+"<br>";h.push(c[u]),c.splice(u,1),g++}if(E.length)if(2<g){for(t=0;t<m.length;t++)m[t]=m[t].substring(0,m[t].length-4);l={values:E,detach:!1,"data-group":[1],"data-tt-text":m,"tooltip-text":"%data-tt-text"},ZC._cp_(s,l),c.push(l),zingchart.bind(a.id,"plot_click",function(e){e.xdata.group&&zingchart.getLoader(e.id)&&(zingchart.exec(a.id,"setseriesdata",{data:h}),window.setTimeout(function(){var e=zingchart.exec(a.id,"getobjectinfo",{object:"plotarea"}),e={id:"navxy_btnback",x:e.x+e.width/2,y:e.y,text:"< Back",anchor:"c",cursor:"hand"};ZC._cp_(A,e),zingchart.exec(a.id,"addobject",{type:"label",data:e})},1))}),zingchart.bind(a.id,"label_click",function(e){"navxy_btnback"===e.label.id&&zingchart.getLoader(e.id)&&(zingchart.exec(a.id,"removeobject",{type:"label",id:"navxy_btnback"}),zingchart.exec(a.id,"setseriesdata",{data:c}))})}else o[ZC._[11]]=[].concat(_)}}return e});}